@sellable/install 0.1.257 → 0.1.258
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
|
@@ -21,7 +21,14 @@ long-form contract below:
|
|
|
21
21
|
|
|
22
22
|
1. Resolve the active workspace and explicit sender scopes, then call
|
|
23
23
|
`setup_evergreen_campaigns({ mode:"plan", yolo:true, postEngagerSenderIds,
|
|
24
|
-
sharedSenderIds })`.
|
|
24
|
+
sharedSenderIds })`. If the user did not name senders but
|
|
25
|
+
`get_campaign_waterfall` returns an active managed evergreen/prod waterfall
|
|
26
|
+
for the workspace, derive exact sender scopes from the waterfall `senderRefs`
|
|
27
|
+
and canonical Post Engagers/shared slots before the first setup plan. Match
|
|
28
|
+
`senderRefs` to `list_senders` by LinkedIn public identifier, display name,
|
|
29
|
+
or obvious handle/name alias; record the mapping in the plan notes. Do not
|
|
30
|
+
call setup with empty sender arrays when product-visible waterfall evidence
|
|
31
|
+
identifies the evergreen sender scope.
|
|
25
32
|
2. If the plan is not current, lacks lane packets, or has
|
|
26
33
|
`autoExecutable:false`, return the exact blocker before mutation.
|
|
27
34
|
3. Choose the worker runtime immediately. When running under Codex CLI or on VPS,
|
|
@@ -92,14 +99,24 @@ connected senders", "every connected sender", "all seats", or names an
|
|
|
92
99
|
equivalent all-sender scope. If the user says "all 4 campaigns", "the four
|
|
93
100
|
evergreen campaigns", or names specific senders, resolve those exact senders
|
|
94
101
|
and pass explicit `postEngagerSenderIds` plus `sharedSenderIds`; do not broaden
|
|
95
|
-
the plan to every connected sender.
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
the plan to every connected sender. If the prompt does not name senders but the
|
|
103
|
+
active workspace has a product-visible managed evergreen/prod waterfall, derive
|
|
104
|
+
the exact scope from that waterfall instead of using all connected senders:
|
|
105
|
+
Post Engagers sender scope is the senderRefs that own person-specific
|
|
106
|
+
Post Engagers slots; shared sender scope is the union of senderRefs on the
|
|
107
|
+
shared Signal Discovery and Shared Cold Fallback waterfall slots. If the
|
|
108
|
+
waterfall has one clear production evergreen program for the workspace, this is
|
|
109
|
+
not ambiguous even when `list_senders` returns additional connected senders.
|
|
110
|
+
In non-interactive or `--yolo` mode, when more than two connected senders exist
|
|
111
|
+
and neither the prompt nor product-visible waterfall evidence identifies exact
|
|
112
|
+
evergreen sender scope, stop before mutation with
|
|
98
113
|
`blocked: ambiguous_post_engager_sender_scope` and report the sender ids/names
|
|
99
114
|
needed for approval. Never let "workspace default" silently create Post
|
|
100
115
|
Engagers lanes for extra senders.
|
|
101
116
|
Short form: Do not pass `allConnectedSenders:true` unless the prompt explicitly says all/every connected sender.
|
|
102
117
|
Short form: "all 4 campaigns" means explicit sender scope plus two shared lanes, not all connected senders.
|
|
118
|
+
Short form: Product-visible managed evergreen/prod waterfall senderRefs are exact sender scope.
|
|
119
|
+
Short form: Do not report `no_senders` while waterfall senderRefs can be mapped to list_senders.
|
|
103
120
|
Short form: In `--yolo`, ambiguous multi-sender scope blocks before mutation.
|
|
104
121
|
</inputs>
|
|
105
122
|
|
|
@@ -114,6 +131,13 @@ error, or does not return a current `planRevision` with lane packets, stop
|
|
|
114
131
|
immediately with `blocked: setup_evergreen_campaigns_unavailable`. Do not fall
|
|
115
132
|
back to ad hoc create-campaign calls, inventory-only guesses, or direct shell
|
|
116
133
|
creation when the command-backed plan is missing.
|
|
134
|
+
Exception: if an initial unscoped plan returns only `blocked:no_senders`, and
|
|
135
|
+
the parent has already read `list_senders` plus a product-visible managed
|
|
136
|
+
evergreen/prod waterfall with mappable `senderRefs`, immediately re-run the
|
|
137
|
+
plan once with explicit derived `postEngagerSenderIds` and `sharedSenderIds`.
|
|
138
|
+
Do not report `no_senders` to the user until that scoped plan has also failed.
|
|
139
|
+
If senderRef mapping is partial, stop with
|
|
140
|
+
`blocked: ambiguous_post_engager_sender_scope` and include the unmapped refs.
|
|
117
141
|
|
|
118
142
|
MCP/product-visible proof only: every success claim must be observable through
|
|
119
143
|
the installed Sellable MCP tools and product-visible readbacks a normal user or
|