@sellable/mcp 0.1.34 → 0.1.35

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/dist/server.js +9 -12
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -481,22 +481,19 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
481
481
  }
482
482
  });
483
483
  // List available prompts (skills)
484
+ //
485
+ // Public slash commands take NO arguments. The `offset/limit` chunked-read
486
+ // pattern was leaking into this surface from the internal
487
+ // `get_subskill_prompt` tool — Claude Code's UI treats any declared
488
+ // arguments as gating input and prevents the user from invoking the slash
489
+ // command. Returning an empty arguments list keeps the slash command
490
+ // directly invokable. Internal chunked reads stay on the
491
+ // `get_subskill_prompt` MCP tool, where they belong.
484
492
  server.setRequestHandler(ListPromptsRequestSchema, async () => ({
485
493
  prompts: listSkills("public").map((skill) => ({
486
494
  name: skill.name,
487
495
  description: skill.description,
488
- arguments: [
489
- {
490
- name: "offset",
491
- description: "Optional character offset for chunked prompt reads.",
492
- required: false,
493
- },
494
- {
495
- name: "limit",
496
- description: "Optional max characters to return for chunked prompt reads.",
497
- required: false,
498
- },
499
- ],
496
+ arguments: [],
500
497
  })),
501
498
  }));
502
499
  // Get prompt content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",