@sellable/install 0.1.72 → 0.1.73

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.
@@ -40,7 +40,7 @@ function getMcpVersion() {
40
40
  } catch {}
41
41
  return "latest";
42
42
  }
43
- const CODEX_PLUGIN_VERSION = "0.1.28";
43
+ const CODEX_PLUGIN_VERSION = "0.1.29";
44
44
  const CODEX_PLUGIN_COMPAT_VERSIONS = [
45
45
  "0.1.8",
46
46
  "0.1.9",
@@ -62,6 +62,7 @@ const CODEX_PLUGIN_COMPAT_VERSIONS = [
62
62
  "0.1.25",
63
63
  "0.1.26",
64
64
  "0.1.27",
65
+ "0.1.28",
65
66
  ];
66
67
  const INSTALL_PACKAGE_SPEC =
67
68
  process.env.SELLABLE_INSTALL_PACKAGE_SPEC || "@sellable/install@latest";
@@ -632,11 +633,44 @@ gates. Never use it to collect open text input like LinkedIn URLs, company
632
633
  domains, notes, pasted context, campaign ideas, or feedback. For open text, ask
633
634
  in normal chat and wait for the user to paste the value.
634
635
 
636
+ For campaign setup, every structured question is single-choice in both Claude
637
+ Code and Codex. Use mutually exclusive options, set or assume
638
+ \`multiSelect: false\`, and do not use checkbox or multi-select wording. If the
639
+ user needs a blended/custom answer, route them through \`Other / custom\` or a
640
+ free-text follow-up in normal chat.
641
+
635
642
  Customer-facing language must call this "a couple setup choices" during normal
636
643
  campaign progress. Use "quick question panel" only when explaining a missing
637
644
  Codex/Claude setup capability. Do not tell customers about \`request_user_input\`,
638
645
  Default mode, plugin caches, prompt loading, or skill file versions.
639
646
 
647
+ ## Host Runtime Functions
648
+
649
+ Treat host capabilities as concrete functions, not prose conventions:
650
+
651
+ - \`ask_user\`: Claude Code uses \`AskUserQuestion\`; Codex uses
652
+ \`request_user_input\`. Use this for multiple-choice intake, campaign-focus
653
+ choices, source decisions, and approvals. Campaign setup questions are
654
+ single-choice only; do not use multi-select or checkbox variants. Never
655
+ render numbered plain-chat choices in an interactive session when the
656
+ structured question function is exposed.
657
+ - \`load_subprompt\`: call
658
+ \`mcp__sellable__get_subskill_prompt({ subskillName, offset?, limit? })\` and
659
+ continue chunks until \`hasMore\` is false.
660
+ - \`load_subprompt_asset\`: call
661
+ \`mcp__sellable__get_subskill_asset({ subskillName, assetPath, offset?, limit? })\`
662
+ and continue chunks until \`hasMore\` is false.
663
+ - \`load_source_scout_registry\`: call
664
+ \`mcp__sellable__get_source_scout_registry({})\` before any scout dispatch.
665
+ - \`launch_source_scout\`: Claude Code uses \`Task\` with \`subagent_type\` equal to
666
+ the registry \`name\`; Codex uses named custom agents such as
667
+ \`source-scout-linkedin-engagement\`, \`source-scout-sales-nav\`, and
668
+ \`source-scout-prospeo-contact\` when subagents are available.
669
+
670
+ If a required interactive host function is missing, stop and explain the
671
+ Sellable install/reload problem. Do not silently simulate structured choices,
672
+ subprompt loading, or source-scout dispatch with local scripts.
673
+
640
674
  Never narrate local draft housekeeping to the user. If you create directories,
641
675
  save drafts, write artifacts, or persist intermediate state, translate it into
642
676
  the campaign benefit: consistent brief, approved lead source, reviewed message,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.72",
3
+ "version": "0.1.73",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {
@@ -161,11 +161,44 @@ gates. Never use it to collect open text input like LinkedIn URLs, company
161
161
  domains, notes, pasted context, campaign ideas, or feedback. For open text, ask
162
162
  in normal chat and wait for the user to paste the value.
163
163
 
164
+ For campaign setup, every structured question is single-choice in both Claude
165
+ Code and Codex. Use mutually exclusive options, set or assume
166
+ `multiSelect: false`, and do not use checkbox or multi-select wording. If the
167
+ user needs a blended/custom answer, route them through `Other / custom` or a
168
+ free-text follow-up in normal chat.
169
+
164
170
  Customer-facing language must call this "a couple setup choices" during normal
165
171
  campaign progress. Use "quick question panel" only when explaining a missing
166
172
  Codex/Claude setup capability. Do not tell customers about `request_user_input`,
167
173
  Default mode, plugin caches, prompt loading, or skill file versions.
168
174
 
175
+ ## Host Runtime Functions
176
+
177
+ Treat host capabilities as concrete functions, not prose conventions:
178
+
179
+ - `ask_user`: Claude Code uses `AskUserQuestion`; Codex uses
180
+ `request_user_input`. Use this for multiple-choice intake, campaign-focus
181
+ choices, source decisions, and approvals. Campaign setup questions are
182
+ single-choice only; do not use multi-select or checkbox variants. Never
183
+ render numbered plain-chat choices in an interactive session when the
184
+ structured question function is exposed.
185
+ - `load_subprompt`: call
186
+ `mcp__sellable__get_subskill_prompt({ subskillName, offset?, limit? })` and
187
+ continue chunks until `hasMore` is false.
188
+ - `load_subprompt_asset`: call
189
+ `mcp__sellable__get_subskill_asset({ subskillName, assetPath, offset?, limit? })`
190
+ and continue chunks until `hasMore` is false.
191
+ - `load_source_scout_registry`: call
192
+ `mcp__sellable__get_source_scout_registry({})` before any scout dispatch.
193
+ - `launch_source_scout`: Claude Code uses `Task` with `subagent_type` equal to
194
+ the registry `name`; Codex uses named custom agents such as
195
+ `source-scout-linkedin-engagement`, `source-scout-sales-nav`, and
196
+ `source-scout-prospeo-contact` when subagents are available.
197
+
198
+ If a required interactive host function is missing, stop and explain the
199
+ Sellable install/reload problem. Do not silently simulate structured choices,
200
+ subprompt loading, or source-scout dispatch with local scripts.
201
+
169
202
  Never narrate local draft housekeeping to the user. If you create directories,
170
203
  save drafts, write artifacts, or persist intermediate state, translate it into
171
204
  the campaign benefit: consistent brief, approved lead source, reviewed message,