(draft) feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming#519
Open
sunghajung43 wants to merge 1 commit into
Open
(draft) feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming#519sunghajung43 wants to merge 1 commit into
sunghajung43 wants to merge 1 commit into
Conversation
…tool naming - rename package from chatbotx-cli to chatbotx (v0.1.1), add files field, remove dotenv-cli dep - support 3-level command hierarchy (group:subgroup:action) for nested CLI subcommands - refactor openapi-loader command naming from group:verb-noun to group:noun:verb pattern - add POST_VERB_OVERRIDES and ACTION_SUBPATHS to handle block/unblock and send verbs - strip _workspace_token_api suffix from MCP tool names - add SKILL.md agent documentation for MCP server - update README docs for both cli and mcp-server with new command structure
f439407 to
5b453d0
Compare
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.
Summary
chatbotx-clitochatbotx(v0.1.1) so users install withnpm install -g chatbotxgroup subgroup action) enabling ergonomic subcommands likecontacts tags list,contacts tag add,contacts message sendgroup:verb-nountogroup:noun:verbpattern; addPOST_VERB_OVERRIDESandACTION_SUBPATHSfor block/unblock/send_workspace_token_apisuffix from MCP tool names for cleaner AI tool discoverySKILL.mdagent documentation for the MCP serverChanges
apps/cli/package.json— rename package, bump to 0.1.1, addfilesfield, renamepublish→release, removedotenv-cliapps/cli/src/index.ts—GroupEntrywithactions+subgroups;registerActionsOnClihelper;toolsToCommandsparses 3-part command namesapps/cli/src/openapi-loader.ts—noun:verbnaming scheme,POST_VERB_OVERRIDES,ACTION_SUBPATHSapps/mcp-server/src/openapi-loader.ts— strip_workspace_token_apisuffixapps/mcp-server/SKILL.md— new agent skill file with full CLI + MCP referenceapps/cli/README.md/apps/mcp-server/README.md— updated to match new command structureTest plan
pnpm lintpnpm --filter chatbotx check-typespnpm --filter chatbotx-mcp-server check-typeschatbotx contacts tags list <contactId>routes to subgroup handlerchatbotx contacts block <contactId>works as top-level action_workspace_token_apisuffix