@sellable/install 0.1.296 → 0.1.297
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/bin/sellable-install.mjs
CHANGED
|
@@ -2000,7 +2000,7 @@ Desktop, then start a new thread.
|
|
|
2000
2000
|
|
|
2001
2001
|
1. Call \`mcp__sellable__get_auth_status({})\`.
|
|
2002
2002
|
2. Normalize invocation arguments with \`mcp__sellable__refill_sends({ yolo, senders, senderIds, senderNames, targetDate, untilDate })\` when the host exposes typed MCP tools.
|
|
2003
|
-
3. Call \`mcp__sellable__get_refill_target_plan({ senders, senderIds, senderNames, targetDate, untilDate })\` before any mutation. Render \`target.eligibleSenderLedger\`, \`target.senderRefillPlans[]\`, and \`target.globalActionQueue\` as the structured packet. Preserve the labels \`Need to prepare\`, \`Goal\`, \`Already sent\`, \`Scheduled\`, \`Ready and waiting to be scheduled\`, and \`Still need\`. In \`--yolo\`,
|
|
2003
|
+
3. Call \`mcp__sellable__get_refill_target_plan({ senders, senderIds, senderNames, targetDate, untilDate })\` before any mutation. Render \`target.eligibleSenderLedger\`, \`target.senderRefillPlans[]\`, and \`target.globalActionQueue\` as the structured packet. Preserve the labels \`Need to prepare\`, \`Goal\`, \`Already sent\`, \`Scheduled\`, \`Ready and waiting to be scheduled\`, and \`Still need\`. In \`--yolo\`, \`mcp__sellable__refill_sends\` maintains a run-local \`refreshedPaidInmailSenderIds\` set, refreshes stale/missing paid InMail facts for each selected paid-InMail sender at most once, reruns \`get_refill_target_plan\`, and returns \`autoPaidInmailRefresh\` plus the post-refresh \`targetPlan\` before choosing the next prep/approval/start action. Do not present paid-credit refresh as the next operator action after \`refill_sends\` returns that post-refresh plan. For exact-date proof, \`mcp__sellable__get_scheduler_fill_capacity\` is read-only and tells how many cells the scheduler will try to place for a sender/action/date. If the returned target is already complete, stop with the no-op receipt. If ready rows cover the target but scheduled rows do not, keep the run open in the read-only scheduler wait/re-read loop until projected coverage fills, a concrete non-scheduler blocker appears, or Christian explicitly stops/statuses the run.
|
|
2004
2004
|
4. Load the canonical prompt via
|
|
2005
2005
|
\`mcp__sellable__get_subskill_prompt({ subskillName: "refill-sends" })\`,
|
|
2006
2006
|
then load \`mcp__sellable__get_subskill_prompt({ subskillName: "refill-sends-workflow" })\`.
|
package/package.json
CHANGED
|
@@ -161,11 +161,14 @@ Structured planner packet:
|
|
|
161
161
|
- `manualAlternates` are not yolo actions. Threshold lowering and campaign
|
|
162
162
|
creation are manual continuations only.
|
|
163
163
|
|
|
164
|
-
Run-local paid-credit guard:
|
|
165
|
-
|
|
166
|
-
command call
|
|
167
|
-
|
|
168
|
-
|
|
164
|
+
Run-local paid-credit guard: in `--yolo`, the `refill_sends` MCP command
|
|
165
|
+
automatically maintains a `refreshedPaidInmailSenderIds` set for the current
|
|
166
|
+
command call. If its first target plan has stale/missing paid-InMail credit
|
|
167
|
+
facts, it refreshes each selected sender at most once, reruns
|
|
168
|
+
`get_refill_target_plan`, and returns the post-refresh `targetPlan` before
|
|
169
|
+
choosing the next prep/approval/start action. If fresh facts are still below
|
|
170
|
+
threshold, below-threshold paid-InMail facts fall back to an existing connection
|
|
171
|
+
lane or a manual continuation.
|
|
169
172
|
|
|
170
173
|
Compact refill lessons: sender-level target plan is final truth; trust
|
|
171
174
|
`schedulerGate.sendable` and scheduler gate blockers, not raw
|
|
@@ -190,14 +193,14 @@ interval, until projected coverage fills the target, a concrete non-scheduler
|
|
|
190
193
|
blocker appears, or Christian explicitly asks to stop or only receive a status
|
|
191
194
|
report. Treat `awaiting_scheduler_after_ready_buffer` as an in-progress wait
|
|
192
195
|
state, not a close-out condition.
|
|
193
|
-
If paid InMail credit facts are stale or missing and the target plan
|
|
194
|
-
`refresh_paid_inmail_credits
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
196
|
+
If paid InMail credit facts are stale or missing and the first target plan
|
|
197
|
+
contains `refresh_paid_inmail_credits`, do not present that as the operator's
|
|
198
|
+
next action in `--yolo`. Trust `refill_sends.autoPaidInmailRefresh`: it should
|
|
199
|
+
show the exact sender ids refreshed once, sender-credit-cache write receipts,
|
|
200
|
+
and a returned post-refresh `targetPlan`. Continue from that post-refresh packet.
|
|
201
|
+
If paid InMail is below threshold after the fresh credit read, report the exact
|
|
202
|
+
campaign/table/column threshold action or connection fallback; `--yolo` does not
|
|
203
|
+
lower paid-InMail thresholds or create campaigns.
|
|
201
204
|
|
|
202
205
|
If the plain route's managed waterfall targets are stale, for example skipped
|
|
203
206
|
targets show archived/completed shared slots or the returned targets do not cover
|