@crescenthq/moon
v0.0.4
Published
CLI Tool for sharing your agent sesh with Moon!
Readme
moon
Tool for sharing your coding agent (Claude Code) sessions with Moon.
Installation
npm install -g @crescenthq/moonOr use directly with npx
npx @crescenthq/moon shareCommands
moon share
Share a session.
# Interactive: pick a session from a list
moon share
# Share a specific session
moon share --sessionId abc123
# Non-interactive with JSON output (for scripts)
moon share --jsonOptions:
| Option | Description |
|--------|-------------|
| --sessionId <id> | Share a specific session |
| --title <title> | Custom title |
| --visibility <v> | public, unlisted, or private |
| --quiet | Skip prompts (uses defaults) |
| --json | Output JSON |
moon share status <sessionId>
Check if a session is being shared.
moon share status abc123 --json
# {"sharing":true,"url":"https://..."}moon login
Authenticate with Moon.
moon config
Manage CLI configuration.
# Get a value
moon config get sharing.mode
# Set a value
moon config set sharing.mode autoSharing modes:
| Mode | Behavior |
|------|----------|
| off | Manual sharing only (default) |
| prompt | Remind to use /share on session start |
| auto | Automatically share all sessions |
Files
Configuration and state are stored in ~/.config/moon/:
config.json— User preferencessync-state.json— Session sync tracking
