@koda-sl/baker-cli 0.361.0-dev.5e38b7534 → 0.361.0-dev.abddfd7be

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.
package/dist/cli.js CHANGED
@@ -61796,7 +61796,7 @@ A tool or platform the user names that is NOT listed anywhere here is simply not
61796
61796
  );
61797
61797
  }
61798
61798
  hints2.push(
61799
- "Not listed anywhere = not connected. Managed app (Slack, Attio, \u2026) or platform (HubSpot, Google Ads, GA4, \u2026) \u2192 the user connects it in the dashboard: Brain \u2192 Integrations \u2192 Tools. Custom HTTPS MCP endpoint \u2192 `baker mcp add`."
61799
+ 'Not listed anywhere = not connected. Ask for it in the chat with the `request_connection` tool: { app: "Google Sheets", reason } for an app (Slack, Attio, Gmail, \u2026), { platform, reason } for a platform (HubSpot, Google Ads, GA4, \u2026), { server, url?, headerName?, reason } for a custom tool server \u2014 the user connects it on the card, key included. Never send them to the dashboard, and never ask for a key in chat.'
61800
61800
  );
61801
61801
  writeJson({
61802
61802
  ok: true,
@@ -61836,10 +61836,10 @@ var listCommand16 = defineCommand183({
61836
61836
  }
61837
61837
  }
61838
61838
  });
61839
- var HEADER_DESCRIPTION = 'Extra request header "Key: Value" (repeatable). Never a key, token or password: never ask the user for one in chat \u2014 a server that needs a key is added by the user in the dashboard (Brain \u2192 Integrations \u2192 MCPs \u2192 Add custom server).';
61839
+ var HEADER_DESCRIPTION = 'Extra request header "Key: Value" (repeatable). Never a key, token or password: never ask the user for one in chat \u2014 a server that needs a key is added by the user on the `request_connection` card ({ server, url, headerName, reason }).';
61840
61840
  registerSchema({
61841
61841
  command: "mcp.add",
61842
- description: "Register a custom MCP server. Tools appear as mcp__<name>__* on the next message. URL must be HTTPS. Scope: company (default, all chats) | org (org admin key) | user (only the current sender).",
61842
+ description: "Register a custom MCP server. To connect one FOR the user, call the `request_connection` tool with { server, url?, headerName?, reason } instead \u2014 they add it on the card, key included. Tools appear as mcp__<name>__* on the next message. URL must be HTTPS. Scope: company (default, all chats) | org (org admin key) | user (only the current sender).",
61843
61843
  args: {
61844
61844
  name: { type: "string", description: "Server name \u2192 tools appear as mcp__<name>__*", required: true },
61845
61845
  url: {
@@ -61856,6 +61856,9 @@ var addCommand2 = defineCommand183({
61856
61856
  name: "add",
61857
61857
  description: `Register a custom MCP server. Tools appear as mcp__<name>__* on the NEXT message.
61858
61858
 
61859
+ To connect a server FOR the user, call the \`request_connection\` tool with { server, url?, headerName?, reason }
61860
+ instead: they add it on the card in the chat, key included, and you never see the key.
61861
+
61859
61862
  Scope: company (default \u2014 every chat in the company) | org (all companies in the org; needs an admin key) | user (only the current message sender).
61860
61863
 
61861
61864
  Examples: