@zibby/mcp-cli 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +11 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -202,16 +202,17 @@ const server = new McpServer({
202
202
  version: '0.3.0',
203
203
  });
204
204
 
205
- // ── Dual-register helper (product-noun migration: "workflow" → "agent") ──
206
- // The product UI now calls deployed automations "Agents". We expose every
207
- // workflow-related tool under BOTH its historical `*_workflow*` name AND a
208
- // new `*_agent*` name, pointing at the SAME schema + handler. Old names keep
209
- // working (additive alias, never removed); the agent-named ones are the new
210
- // primary. Internal CLI verbs / API routes / package names are untouched
211
- // only the MCP-facing tool name + description prose change.
212
- function toolWithAlias(canonicalName, aliasName, description, schema, handler) {
213
- server.tool(canonicalName, description, schema, handler);
214
- server.tool(aliasName, description, schema, handler);
205
+ // ── Agent-named tool registration (product-noun migration: "workflow" → "agent") ──
206
+ // The product UI now calls deployed automations "Agents". Unlike the CLI —
207
+ // where `agent` is an additive ALIAS and `workflow` stays for muscle memory /
208
+ // scripts MCP tool names are LLM-facing and surfaced wholesale via
209
+ // tools/list. Registering both `*_workflow*` and `*_agent*` would put 6 exact
210
+ // duplicate pairs in front of the model, cluttering the list and muddying tool
211
+ // selection. So MCP exposes ONLY the agent-named tool. The legacy `*_workflow*`
212
+ // name (first arg) is kept in the call signature for traceability but is no
213
+ // longer registered. Internal CLI verbs / API routes / package names unchanged.
214
+ function toolWithAlias(_legacyWorkflowName, agentName, description, schema, handler) {
215
+ server.tool(agentName, description, schema, handler);
215
216
  }
216
217
 
217
218
  // ── Tool: login ─────────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zibby/mcp-cli",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Zibby local-essential MCP Server — local workflow scaffold/validate/run + deploy/download (bundles local files). Pure-API tools live in the Zibby Remote MCP (api-prod.zibby.app/mcp).",
5
5
  "type": "module",
6
6
  "main": "index.js",