@sellable/mcp 0.1.400 → 0.1.401

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.400",
3
+ "version": "0.1.401",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -316,6 +316,19 @@ Short form: Do not use naked `*.json` globs under zsh; no `no matches found` dia
316
316
  Short form: Do not embed `<<'WORKER_PROMPT'` heredocs inside a quoted `/bin/bash -lc` command string.
317
317
  Short form: Multi-worker launchers write prompt files and run `codex ... - < "$worker_prompt_file"`.
318
318
  After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
319
+ Before any campaign shell creation, the parent must dispatch every selected lane
320
+ worker from the current plan and record the visible thread id or
321
+ `receiptArtifactPath` for each selected actionId. The parent must not call
322
+ `create_campaign`, `import_leads`, `confirm_lead_list`, sequence tools, message
323
+ preparation tools, or `setup_evergreen_campaigns` with `mode:"apply"` or any
324
+ other mutating setup mode. In this wrapper, `setup_evergreen_campaigns` is
325
+ plan/verify authority only; customer-visible creation belongs inside lane
326
+ workers through `$sellable:create-campaign`. If a campaign/table id appears for
327
+ a create lane before that lane has a recorded worker runtime and fresh receipt
328
+ path/thread id, stop with `blocked: parent_mutated_before_worker_receipt` and
329
+ do not continue setup in the parent.
330
+ Short form: dispatch every selected lane worker before shell creation.
331
+ Short form: do not call `setup_evergreen_campaigns` with `mode:"apply"` from the parent.
319
332
  Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
320
333
  original planRevision, parent postEngagerSenderIds, parent sharedSenderIds,
321
334
  receiptArtifactPath, workspace id, sender ids, side-effect caps, and the
@@ -323,6 +336,11 @@ instruction to load packaged prompts through MCP.
323
336
  Do not paste the entire wrapper skill into worker prompts. If the parent cannot
324
337
  launch at least one visible/durable worker immediately after directory setup,
325
338
  stop with `blocked: worker_dispatch_stalled` before any mutation.
339
+ After launching workers, poll only the expected current-run receipt paths from
340
+ `workerDispatch.receiptArtifactHint`. If no worker receipt file appears within a
341
+ bounded wait, for example 10 minutes in automation, stop with
342
+ `blocked: worker_receipt_timeout`, include the worker ids/final-file paths/stderr
343
+ if available, and do not create or repair campaign shells in the parent.
326
344
  Use only the repo-local `workerDispatch.receiptArtifactHint` returned by the
327
345
  current lane packet for receipt paths.
328
346
  Do not hardcode machine-specific paths, workspace ids, campaign ids, sender ids, or UAT/phase artifact paths in this MCP prompt or any worker prompt.