@sellable/install 0.1.66 → 0.1.68

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.27";
43
+ const CODEX_PLUGIN_VERSION = "0.1.28";
44
44
  const CODEX_PLUGIN_COMPAT_VERSIONS = [
45
45
  "0.1.8",
46
46
  "0.1.9",
@@ -61,6 +61,7 @@ const CODEX_PLUGIN_COMPAT_VERSIONS = [
61
61
  "0.1.24",
62
62
  "0.1.25",
63
63
  "0.1.26",
64
+ "0.1.27",
64
65
  ];
65
66
  const INSTALL_PACKAGE_SPEC =
66
67
  process.env.SELLABLE_INSTALL_PACKAGE_SPEC || "@sellable/install@latest";
@@ -461,6 +462,7 @@ const CREATE_CAMPAIGN_ALLOWED_TOOLS = [
461
462
  "mcp__sellable__get_auth_status",
462
463
  "mcp__sellable__bootstrap_create_campaign",
463
464
  "mcp__sellable__get_subskill_prompt",
465
+ "mcp__sellable__get_subskill_asset",
464
466
  "mcp__sellable__search_subskill_prompts",
465
467
  "mcp__sellable__get_provider_prompt",
466
468
  "mcp__sellable__get_message_prompt",
@@ -829,19 +831,24 @@ updates.
829
831
 
830
832
  1. Load canonical prompt via
831
833
  \`mcp__sellable__get_subskill_prompt({ subskillName: "create-campaign-v2" })\`.
832
- 2. Follow that prompt exactly.
833
- 3. For message generation, load the full \`generate-messages\` prompt in the
834
+ 2. Load the canonical workflow config via
835
+ \`mcp__sellable__get_subskill_asset({ subskillName: "create-campaign-v2", assetPath: "core/flow.v2.json" })\`.
836
+ Treat the returned JSON as the active state machine. Do not read repo-local
837
+ copies of this file; packaged Claude Code and Codex runs must use the MCP
838
+ asset loader so they share the same config.
839
+ 3. Follow that prompt and workflow config exactly.
840
+ 4. For message generation, load the full \`generate-messages\` prompt in the
834
841
  same run with chunked
835
842
  \`mcp__sellable__get_subskill_prompt({ subskillName: "generate-messages", offset, limit })\`
836
843
  calls until \`hasMore\` is false. Do not synthesize
837
844
  \`message-validation.md\` from the brief, lead review, or general knowledge.
838
- 4. Treat message quality as the gate before minting. Do not create a campaign,
845
+ 5. Treat message quality as the gate before minting. Do not create a campaign,
839
846
  show a commit gate, or mint anything until \`message-validation.md\` proves
840
847
  the full generate-messages workflow ran and \`message-review.md\` recommends
841
848
  \`approve-message\` against the gold-standard rules.
842
- 5. Do not create or mutate the live campaign until the approval gate returns
849
+ 6. Do not create or mutate the live campaign until the approval gate returns
843
850
  \`approve\`.
844
- 6. Do not ask the user to run another command.
851
+ 7. Do not ask the user to run another command.
845
852
 
846
853
  ## Fallback
847
854
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {
@@ -8,6 +8,7 @@ allowed-tools:
8
8
  - mcp__sellable__wait_for_cli_login
9
9
  - mcp__sellable__bootstrap_create_campaign
10
10
  - mcp__sellable__get_subskill_prompt
11
+ - mcp__sellable__get_subskill_asset
11
12
  - mcp__sellable__search_subskill_prompts
12
13
  - mcp__sellable__get_provider_prompt
13
14
  - mcp__sellable__get_message_prompt
@@ -449,19 +450,24 @@ updates.
449
450
 
450
451
  1. Load canonical prompt via
451
452
  `mcp__sellable__get_subskill_prompt({ subskillName: "create-campaign-v2" })`.
452
- 2. Follow that prompt exactly.
453
- 3. For message generation, load the full `generate-messages` prompt in the
453
+ 2. Load the canonical workflow config via
454
+ `mcp__sellable__get_subskill_asset({ subskillName: "create-campaign-v2", assetPath: "core/flow.v2.json" })`.
455
+ Treat the returned JSON as the active state machine. Do not read repo-local
456
+ copies of this file; packaged Claude Code and Codex runs must use the MCP
457
+ asset loader so they share the same config.
458
+ 3. Follow that prompt and workflow config exactly.
459
+ 4. For message generation, load the full `generate-messages` prompt in the
454
460
  same run with chunked
455
461
  `mcp__sellable__get_subskill_prompt({ subskillName: "generate-messages", offset, limit })`
456
462
  calls until `hasMore` is false. Do not synthesize
457
463
  `message-validation.md` from the brief, lead review, or general knowledge.
458
- 4. Treat message quality as the gate before minting. Do not create a campaign,
464
+ 5. Treat message quality as the gate before minting. Do not create a campaign,
459
465
  show a commit gate, or mint anything until `message-validation.md` proves
460
466
  the full generate-messages workflow ran and `message-review.md` recommends
461
467
  `approve-message` against the gold-standard rules.
462
- 5. Do not create or mutate the live campaign until the approval gate returns
468
+ 6. Do not create or mutate the live campaign until the approval gate returns
463
469
  `approve`.
464
- 6. Do not ask the user to run another command.
470
+ 7. Do not ask the user to run another command.
465
471
 
466
472
  ## Fallback
467
473