@sellable/install 0.1.4 → 0.1.6

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.
@@ -9,7 +9,7 @@ import { createInterface } from "node:readline/promises";
9
9
  const DEFAULT_API_URL = "https://app.sellable.dev";
10
10
  const DEFAULT_SERVER_PACKAGE =
11
11
  process.env.SELLABLE_MCP_PACKAGE || "@sellable/mcp";
12
- const CODEX_PLUGIN_VERSION = "0.1.4";
12
+ const CODEX_PLUGIN_VERSION = "0.1.6";
13
13
  const INSTALL_PACKAGE_SPEC = `@sellable/install@${CODEX_PLUGIN_VERSION}`;
14
14
 
15
15
  function usage() {
@@ -395,18 +395,12 @@ function codexSkillOpenAiYaml(displayName, description) {
395
395
  return `interface:
396
396
  display_name: "${displayName.replaceAll('"', '\\"')}"
397
397
  short_description: "${description.replaceAll('"', '\\"')}"
398
-
399
- dependencies:
400
- tools:
401
- - type: "mcp"
402
- value: "sellable"
403
- description: "Sellable MCP server"
404
398
  `;
405
399
  }
406
400
 
407
401
  function createCampaignSkillMd() {
408
402
  return `---
409
- name: sellable:create-campaign
403
+ name: create-campaign
410
404
  description: Create a Sellable campaign through the approval-gated workflow.
411
405
  allowed-tools:
412
406
  ${allowedToolsYaml(CREATE_CAMPAIGN_ALLOWED_TOOLS)}
@@ -418,17 +412,9 @@ Use this as the customer-facing entrypoint for Sellable campaign creation.
418
412
 
419
413
  ## Bootstrap
420
414
 
421
- MCP tool access is required. First load the bootstrap tools in one tool-discovery
422
- pass:
423
-
424
- - \`ToolSearch("select:mcp__sellable__get_auth_status")\`
425
- - \`ToolSearch("select:mcp__sellable__bootstrap_create_campaign")\`
426
- - \`ToolSearch("select:mcp__sellable__get_subskill_prompt")\`
427
- - \`ToolSearch("select:mcp__sellable__search_subskill_prompts")\`
428
-
429
- Do not stop before attempting this ToolSearch preload. If the
430
- \`mcp__sellable__*\` tools are still not exposed after ToolSearch, stop and say
431
- this is a Codex install/reload problem, not a campaign problem. Tell the user to
415
+ MCP tool access is required. First call \`mcp__sellable__get_auth_status({})\`
416
+ directly. If that tool is unavailable, stop and say this is a Codex
417
+ install/reload problem, not a campaign problem. Tell the user to
432
418
  run \`npx -y ${INSTALL_PACKAGE_SPEC} --host all\` so the packaged MCP server,
433
419
  Codex Desktop plugin, and Sellable skill bundle are installed. If they want a
434
420
  CLI verification, tell them to run \`sellable --verify-only --host all\`. After
@@ -474,7 +460,7 @@ then retry \`get_subskill_prompt\`.
474
460
 
475
461
  function genericSellableSkillMd({ name, title, description }) {
476
462
  return `---
477
- name: sellable:${name}
463
+ name: ${name}
478
464
  description: ${description}
479
465
  allowed-tools:
480
466
  - mcp__sellable__get_auth_status
@@ -488,18 +474,12 @@ Use this as the customer-facing entrypoint for the Sellable \`${name}\` workflow
488
474
 
489
475
  ## Bootstrap
490
476
 
491
- MCP tool access is required. Do not inspect repo files, run shell commands, use
492
- \`npm\`, \`node\`, local harness scripts, or read local prompt files to emulate
493
- this workflow.
494
-
495
- Before giving up, try to load the required tools with ToolSearch:
496
-
497
- - \`ToolSearch("select:mcp__sellable__get_auth_status")\`
498
- - \`ToolSearch("select:mcp__sellable__get_subskill_prompt")\`
499
- - \`ToolSearch("select:mcp__sellable__search_subskill_prompts")\`
477
+ MCP tool access is required. First call \`mcp__sellable__get_auth_status({})\`
478
+ directly. Do not inspect repo files, run shell commands, use \`npm\`, \`node\`,
479
+ local harness scripts, or read local prompt files to emulate this workflow.
500
480
 
501
- If the \`mcp__sellable__*\` tools are still not exposed after ToolSearch, stop
502
- and say this is a Codex install/reload problem. Tell the user to run
481
+ If the Sellable MCP tool is unavailable, stop and say this is a Codex
482
+ install/reload problem. Tell the user to run
503
483
  \`npx -y ${INSTALL_PACKAGE_SPEC} --host all\`, fully quit and reopen Codex
504
484
  Desktop, then start a new thread.
505
485
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {