@sellable/install 0.1.4 → 0.1.5
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/bin/sellable-install.mjs +9 -29
- package/package.json +1 -1
package/bin/sellable-install.mjs
CHANGED
|
@@ -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.
|
|
12
|
+
const CODEX_PLUGIN_VERSION = "0.1.5";
|
|
13
13
|
const INSTALL_PACKAGE_SPEC = `@sellable/install@${CODEX_PLUGIN_VERSION}`;
|
|
14
14
|
|
|
15
15
|
function usage() {
|
|
@@ -395,12 +395,6 @@ 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
|
|
|
@@ -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
|
|
422
|
-
|
|
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
|
|
@@ -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.
|
|
492
|
-
|
|
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
|
|
502
|
-
|
|
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
|
|