Skip to content

One command for everything: npm run dearbyte -- <command> - #36

Merged
rick-mingyu-liu merged 1 commit into
agent-imessagefrom
dearbyte-command
Sep 27, 2026
Merged

rick-mingyu-liu merged 1 commit into
agent-imessagefrom
dearbyte-command

Conversation

@rick-mingyu-liu

Copy link
Copy Markdown
Collaborator

Stacked on #35 (iMessage), which is stacked on #34 (WeChat agent). Merge in order: #34, #35, then this one.

What

  • npm run dearbyte -- <command> runs the agent, for example status, chat, watch, wechat, imessage -m or help.
  • npm run dearbyte with no command, or only flags (--draft, --chat 张三…), still runs 小拜 the companion, unchanged.
  • An unknown command gets a clear error. It doesn't start WeChat.
  • src/main.ts routes by the first argument, using src/commands.ts, which the agent also checks.
  • npm run agent -- <command> still works as an old name.
  • All docs, the usage text and in-app hints (Telegram, calendar, wallet, watchlist messages) now say npm run dearbyte -- ….
  • The README has a new Commands section listing every agent command, the companion's flags and the other scripts.

Tests

tsc is clean and 319 tests pass. npm run dearbyte -- help, -- status and an unknown command were each checked by hand.

🤖 Generated with Claude Code

`npm run dearbyte -- status|chat|watch|wechat|imessage|…` now runs the
agent; with no command, or only flags, it still runs 小拜 the companion
in WeChat. src/main.ts routes by the first argument, using the command
list in src/commands.ts that the agent also checks. `npm run agent`
stays as an old name. Docs, usage text and in-app hints say
`npm run dearbyte -- <command>`, and the README gains a Commands section
listing every one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rick-mingyu-liu
rick-mingyu-liu merged commit 6567ecc into agent-imessage Sep 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant