Repository navigation
One command for everything: npm run dearbyte -- <command> - #36
Merged
Merged
Conversation
`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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 examplestatus,chat,watch,wechat,imessage -morhelp.npm run dearbytewith no command, or only flags (--draft,--chat 张三…), still runs 小拜 the companion, unchanged.src/main.tsroutes by the first argument, usingsrc/commands.ts, which the agent also checks.npm run agent -- <command>still works as an old name.npm run dearbyte -- ….Tests
tscis clean and 319 tests pass.npm run dearbyte -- help,-- statusand an unknown command were each checked by hand.🤖 Generated with Claude Code