@sellable/install 0.1.91 → 0.1.92

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.
@@ -1524,8 +1524,17 @@ exec npx -y ${INSTALL_PACKAGE_SPEC} "$@"
1524
1524
  writeFile(binPath, shim, opts, 0o755);
1525
1525
  }
1526
1526
 
1527
+ const WATCH_MODE_DRIVER_ENV = {
1528
+ claude: "SELLABLE_WATCH_MODE_DRIVER=claude",
1529
+ codex: "SELLABLE_WATCH_MODE_DRIVER=codex",
1530
+ };
1531
+
1527
1532
  function withWatchModeDriver(command, args, driver) {
1528
- return ["env", [`SELLABLE_WATCH_MODE_DRIVER=${driver}`, command, ...args]];
1533
+ const envArg = WATCH_MODE_DRIVER_ENV[driver];
1534
+ if (!envArg) {
1535
+ throw new Error(`Unknown watch mode driver: ${driver}`);
1536
+ }
1537
+ return ["env", [envArg, command, ...args]];
1529
1538
  }
1530
1539
 
1531
1540
  function mcpCommand(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {
@@ -191,6 +191,11 @@ a fresh watch link once with `create_campaign({ campaignId })` or `get_campaign`
191
191
  and print that link. Do not claim the browser was opened, inspected, or
192
192
  synchronized.
193
193
 
194
+ Never print a placeholder watch link such as "Open campaign" or "link will
195
+ update once the shell is created." If the shell is not created yet, call
196
+ `create_campaign` first. If `create_campaign` does not return `watchUrl`, stop
197
+ and surface the missing watch-link error before lead sourcing.
198
+
194
199
  After every `update_campaign({ campaignId, currentStep })`, use
195
200
  `get_campaign_navigation_state` when available as a compact orientation check:
196
201
  match the saved campaign state to the expected watch-link step, explain the
@@ -565,6 +570,8 @@ updates.
565
570
  `message-validation.md` proves the message-review safety-gate workflow ran,
566
571
  `message-review.md` approves the template, rubrics are saved, and the
567
572
  approved message set is synced into the campaign brief.
573
+ Do not ask the user to approve the brief before shell creation unless they
574
+ explicitly requested a no-write draft; the shell itself is the review surface.
568
575
  6. The main thread owns watch navigation. Call
569
576
  `mcp__sellable__update_campaign({ campaignId, currentStep })` before major
570
577
  visible work so the user can watch progress in the app: `create-offer` for