Skip to content

(draft) feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming#519

Open
sunghajung43 wants to merge 1 commit into
mainfrom
feat/update-cli-mcp-2
Open

(draft) feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming#519
sunghajung43 wants to merge 1 commit into
mainfrom
feat/update-cli-mcp-2

Conversation

@sunghajung43
Copy link
Copy Markdown
Collaborator

Summary

  • Rename the CLI npm package from chatbotx-cli to chatbotx (v0.1.1) so users install with npm install -g chatbotx
  • Add support for 3-level nested command hierarchy (group subgroup action) enabling ergonomic subcommands like contacts tags list, contacts tag add, contacts message send
  • Refactor OpenAPI → CLI command name mapping from group:verb-noun to group:noun:verb pattern; add POST_VERB_OVERRIDES and ACTION_SUBPATHS for block/unblock/send
  • Strip _workspace_token_api suffix from MCP tool names for cleaner AI tool discovery
  • Add SKILL.md agent documentation for the MCP server

Changes

  • apps/cli/package.json — rename package, bump to 0.1.1, add files field, rename publishrelease, remove dotenv-cli
  • apps/cli/src/index.tsGroupEntry with actions + subgroups; registerActionsOnCli helper; toolsToCommands parses 3-part command names
  • apps/cli/src/openapi-loader.tsnoun:verb naming scheme, POST_VERB_OVERRIDES, ACTION_SUBPATHS
  • apps/mcp-server/src/openapi-loader.ts — strip _workspace_token_api suffix
  • apps/mcp-server/SKILL.md — new agent skill file with full CLI + MCP reference
  • apps/cli/README.md / apps/mcp-server/README.md — updated to match new command structure

Test plan

  • pnpm lint
  • pnpm --filter chatbotx check-types
  • pnpm --filter chatbotx-mcp-server check-types
  • chatbotx contacts tags list <contactId> routes to subgroup handler
  • chatbotx contacts block <contactId> works as top-level action
  • MCP tools no longer have _workspace_token_api suffix

@github-actions github-actions Bot added the feature New feature or request label Jun 4, 2026
@sunghajung43 sunghajung43 changed the title feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming (draft) feat(cli): rename to chatbotx, add nested command groups, update MCP tool naming Jun 4, 2026
…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
@sunghajung43 sunghajung43 force-pushed the feat/update-cli-mcp-2 branch from f439407 to 5b453d0 Compare June 4, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant