@sellable/install 0.1.242 → 0.1.243
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
|
@@ -274,6 +274,18 @@ CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
|
274
274
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
275
275
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
276
276
|
pass exactly one lane packet per worker.
|
|
277
|
+
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
278
|
+
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
279
|
+
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
280
|
+
zsh treats it as read-only; use `exit_code` or `rc` instead. Receipt polling
|
|
281
|
+
must use `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print` or an
|
|
282
|
+
explicit nullglob-safe equivalent. Do not use naked `*.json` globs under zsh,
|
|
283
|
+
and keep zero-receipt polls quiet with no `no matches found` diagnostics.
|
|
284
|
+
Short form: run the wrapper with `/bin/bash -lc`.
|
|
285
|
+
Short form: Do not rely on zsh-specific behavior.
|
|
286
|
+
Short form: Do not use `status` as a shell variable; use `exit_code` or `rc`.
|
|
287
|
+
Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print`.
|
|
288
|
+
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
277
289
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
278
290
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
279
291
|
original planRevision, parent postEngagerSenderIds, parent sharedSenderIds,
|
|
@@ -661,6 +673,19 @@ path itself in the worker thread:
|
|
|
661
673
|
exactly one semantic Approved cell through `select_campaign_cells` and
|
|
662
674
|
`update_cell`.
|
|
663
675
|
Approval shorthand: approve exactly one semantic Approved cell.
|
|
676
|
+
In this message-drafting path, `update_cell` is allowed only for the semantic
|
|
677
|
+
Approved checkbox. Do not use `update_cell` or any row/cell write to edit
|
|
678
|
+
generated message text, sample copy, or final message bodies in automation.
|
|
679
|
+
If generated copy fails review, update the campaign brief/message template
|
|
680
|
+
with `update_campaign_brief` or `revise_message_template_and_rerun`, then
|
|
681
|
+
rerun Generate Message and review current-revision generated output. Receipt
|
|
682
|
+
`sampleMessages` must come from generated current-revision cells after the
|
|
683
|
+
brief/template rerun, not from hand-edited message cell overrides. If a lane
|
|
684
|
+
used a generated-message body override, report
|
|
685
|
+
`blocked: generated_message_cell_override` instead of success.
|
|
686
|
+
Short form: `update_cell` is allowed only for the semantic Approved checkbox.
|
|
687
|
+
Short form: Do not use `update_cell` to edit generated message text.
|
|
688
|
+
Short form: Bad copy requires brief/template revision plus Generate Message rerun.
|
|
664
689
|
4. Poll `get_campaign_message_preparation_status` until no queued/active cells
|
|
665
690
|
remain or a bounded stop reason is returned.
|
|
666
691
|
5. Use `get_campaign_messages_preview` or `select_campaign_cells` to inspect
|
|
@@ -687,6 +712,26 @@ The only accepted statusSource values are exactly `branch` and
|
|
|
687
712
|
`packaged-generate-messages-worker`; descriptive aliases such as
|
|
688
713
|
`package-readback-local-thread` are rejected.
|
|
689
714
|
|
|
715
|
+
Before any provider-specific source mutation for a newly created campaign,
|
|
716
|
+
reread `get_campaign_navigation_state({ campaignId })` and use that product
|
|
717
|
+
navigation state as the source-step authority. Do not jump from a shell directly
|
|
718
|
+
into `contact-search`, and do not jump from a shell directly into
|
|
719
|
+
`signal-discovery`. Advance through the product-visible source-selection step
|
|
720
|
+
first, then load the provider prompt and write only the provider/source fields
|
|
721
|
+
accepted for that current step. Never include sender reassignment fields in
|
|
722
|
+
source-step updates, never include custom narration fields in source-step
|
|
723
|
+
updates, and do not use guessed `currentStep` or watched narration payloads to
|
|
724
|
+
force the flow forward. If `update_campaign` rejects the source transition
|
|
725
|
+
twice, reread navigation/campaign state once; if the campaign is not already on
|
|
726
|
+
the intended source step, stop the lane with
|
|
727
|
+
`blocked: watched_source_transition_blocked` and include the rejected tool
|
|
728
|
+
result plus the readback. Do not loop on rejected `update_campaign` transitions.
|
|
729
|
+
Short form: do not jump from a shell directly into `contact-search`.
|
|
730
|
+
Short form: do not jump from a shell directly into `signal-discovery`.
|
|
731
|
+
Short form: never include sender reassignment fields in source-step updates.
|
|
732
|
+
Short form: never include custom narration fields in source-step updates.
|
|
733
|
+
Short form: do not loop on rejected `update_campaign` transitions.
|
|
734
|
+
|
|
690
735
|
One lane may produce exactly one CampaignOffer/campaign id and one current
|
|
691
736
|
workflow table id. For `intent:"create"`, the first successful
|
|
692
737
|
`create_campaign` result establishes the lane's only allowed campaign/table
|
|
@@ -978,6 +1023,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
978
1023
|
6. **Interactive polish mode only: prove the template on one real row.** For ONE campaign that has at least one lead row (add one via `add_on_demand_leads` if every lane is empty and the user provides/approves a test lead), generate a message for exactly one row (`queue_campaign_cells` with `columnRole: "generateMessage"`, `rowSelector: { type: "reviewBatch", limit: 1 }` or the single row's ID), wait for it, then show the user the generated message next to the template — AND show how it would split if paragraph-per-message sending is enabled (list each paragraph as `msg 1:`, `msg 2:`, …) so the user confirms each one reads like a real typed message. Check alignment: tone, structure, no internal vocabulary, correct token substitution, no letter punctuation. Do NOT approve the row or generate for more rows — one sample only.
|
|
979
1024
|
7. **Automation mode template/config audit**: inspect existing send-lane briefs for a `Delivery format:` line and chat-native warm template. If a send lane is missing the line and the prompt allows cleanup, update only the campaign brief metadata with the safest default for that lane (`Delivery format: single message (LinkedIn DM; line breaks remain inside one generated message; no follow-up until reply)`). If cleanup is not allowed, flag it. Do not generate a sample row in automation mode unless the invocation explicitly asks for sample proof. In structure-only automation, do not generate a sample row unless the invocation explicitly asks for sample proof. In customer-visible completion, follow the Customer-Visible Completion Contract instead.
|
|
980
1025
|
8. **Final customer-facing completion must include sample messaging**: after customer-visible verify and the idempotency rerun pass, add a `Sample Messaging Review` section to the final answer. For every completed lane, show at least one full generated first message for every completed lane with campaign name, campaign id, row id, and verdict. Extract samples from nested `createCampaignStepReceipt.messageDraftingReceipt.sampleMessages`, not from top-level summaries; extract samples from nested `createCampaignStepReceipt.messageDraftingReceipt.sampleMessages` when building the final answer. Prefer the approved route-proof row when it is quality-valid; otherwise use the best reviewed generated row from the verified receipt. A final `passed` sample must have `issues:[]`; if every reviewed sample has issues, report the lane as needing message revision instead of presenting a passed sample. Do not summarize the sample into a copy theme. Show the actual message text so the user can inspect tone and specificity. If any sample is not quite right, tell the user they can ask the AI to update the campaign brief/message template and rerun Generate Message before launch. Never suggest launching, scheduling, or sending as the next step from this command.
|
|
1026
|
+
If the `Sample Messaging Review` section is omitted, the command is incomplete even when the structural campaign setup succeeded.
|
|
981
1027
|
9. **Report the reconcile plan and result** — every slot tagged `reused`, `created`, `repaired`, `flagged`, or `blocked`, plus template/sample details only when that mode ran:
|
|
982
1028
|
|
|
983
1029
|
```
|