@ocis/mycoder-cli
v0.0.2
Published
AFS MyCoder CLI
Readme
AFS MyCoder CLI
The AFS MyCoder CLI (mycoder) is a customizable command line coding agent.

Installation
npm i -g @ocis/mycoder-cliUsage
mycoderHeadless Mode
mycoder -p "Generate a conventional commit name for the current git changes."Session Management
The CLI automatically saves your chat history for each terminal session. You can resume where you left off:
# Resume the last session in this terminal
mycoder --resume
# List recent sessions and choose one to resume
mycoder ls
# List sessions in JSON format (for scripting)
mycoder ls --jsonCommand Line Options
-p: Run in headless mode (no TUI)--config <path>: Specify agent configuration path--resume: Resume the last session for this terminal<prompt>: Optional prompt to start with
Commands
mycoder: Start an interactive chat sessionmycoder ls: List recent sessions with TUI selector to choose one to resumemycoder remote: Launch a remote instancemycoder serve: Start HTTP server mode
Session Listing (mycoder ls)
Shows recent sessions, limited by screen height to ensure it fits on your terminal.
--json: Output in JSON format for scripting (always shows 10 sessions)
