@sellable/mcp 0.1.556 → 0.1.557
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/README.md +13 -2
- package/agents/registry.json +2 -2
- package/dist/api.js +3 -6
- package/dist/auth.d.ts +0 -6
- package/dist/auth.js +2 -44
- package/dist/refill-run-client.d.ts +0 -5
- package/dist/refill-run-client.js +0 -15
- package/dist/refill-run-loop.d.ts +1 -12
- package/dist/refill-run-loop.js +13 -158
- package/dist/server.js +23 -0
- package/dist/tools/auth.d.ts +0 -5
- package/dist/tools/auth.js +12 -49
- package/dist/tools/campaign-message-preparation.d.ts +0 -62
- package/dist/tools/campaign-message-preparation.js +0 -41
- package/dist/tools/campaigns.js +2 -2
- package/dist/tools/csv-dnc.js +2 -2
- package/dist/tools/evergreen-refill-plan.d.ts +0 -3
- package/dist/tools/evergreen-refill-plan.js +7 -29
- package/dist/tools/find-leads-runs.d.ts +151 -0
- package/dist/tools/find-leads-runs.js +98 -0
- package/dist/tools/leads.d.ts +317 -32
- package/dist/tools/leads.js +171 -10
- package/dist/tools/model-quality.js +4 -6
- package/dist/tools/prompts.d.ts +3 -3
- package/dist/tools/prompts.js +7 -15
- package/dist/tools/provider-preflight.d.ts +65 -2
- package/dist/tools/provider-preflight.js +97 -10
- package/dist/tools/readiness.d.ts +89 -5
- package/dist/tools/readiness.js +66 -0
- package/dist/tools/refill-executors.d.ts +0 -38
- package/dist/tools/refill-executors.js +3 -222
- package/dist/tools/refill-sends-v2.d.ts +1 -118
- package/dist/tools/refill-sends-v2.js +2 -310
- package/dist/tools/refill-sends.d.ts +32 -678
- package/dist/tools/refill-sends.js +13 -274
- package/dist/tools/refill-target-plan.js +14 -486
- package/dist/tools/registry.d.ts +330 -115
- package/dist/tools/registry.js +7 -1
- package/dist/tools/scheduler-fill-capacity.js +1 -1
- package/dist/tools/scheduler-run.d.ts +0 -71
- package/dist/tools/scheduler-run.js +1 -203
- package/dist/tools/setup-evergreen-campaigns.js +1 -1
- package/dist/tools/workspace-context.d.ts +1 -1
- package/dist/tools/workspace-context.js +3 -8
- package/dist/tools/workspace-export.js +2 -2
- package/dist/tools/workspaces.d.ts +2 -48
- package/dist/tools/workspaces.js +5 -48
- package/package.json +1 -1
- package/skills/create-campaign/SKILL.md +3 -3
- package/skills/create-campaign-v2/SKILL.md +1 -1
- package/skills/create-evergreen-campaigns/SKILL.md +16 -16
- package/skills/find-leads/SKILL.md +48 -630
- package/skills/find-leads-v2/SKILL.md +70 -0
- package/skills/find-leads-v2/core/flow.v1.json +31 -0
- package/skills/refill-sends/SKILL.md +353 -91
- package/skills/refill-sends-v2/SKILL.md +6 -6
- package/skills/refill-sends-v2-workflow/SKILL.md +5 -5
- package/skills/refill-sends-v2-workflow/core/flow.v1.json +8 -8
- package/skills/refill-sends-workflow/SKILL.md +743 -100
- package/skills/refill-sends-workflow/core/flow.v1.json +1 -185
- package/dist/refill-contract.d.ts +0 -157
- package/dist/refill-contract.js +0 -487
- package/skills/refill-sends-workflow/core/contract.v2.json +0 -543
|
@@ -3,7 +3,7 @@ name: refill-sends-v2-workflow
|
|
|
3
3
|
description: Internal execution workflow for refill sends v2 fenced runs.
|
|
4
4
|
visibility: internal
|
|
5
5
|
allowed-tools:
|
|
6
|
-
-
|
|
6
|
+
- mcp__sellable__refill_sends_v2
|
|
7
7
|
- mcp__sellable__get_refill_plan_v2
|
|
8
8
|
- mcp__sellable__get_subskill_prompt
|
|
9
9
|
- mcp__sellable__get_subskill_asset
|
|
@@ -16,7 +16,7 @@ allowed-tools:
|
|
|
16
16
|
# Refill Sends V2 Workflow
|
|
17
17
|
|
|
18
18
|
This internal workflow mirrors the run-record gates enforced by
|
|
19
|
-
`
|
|
19
|
+
`refill_sends_v2`: bootstrap, plan, execute, verify, and report. Dry runs stay
|
|
20
20
|
read-only. Real runs execute only packet-named bounded work under a fenced run
|
|
21
21
|
lease and return terminal, blocked, or in-progress results.
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ Runtime flow asset: after loading this prompt, load
|
|
|
25
25
|
through MCP, continue chunks until `hasMore:false`, parse the JSON, and verify
|
|
26
26
|
`workflow:"refill-sends-v2-workflow"` with a `v1` version before driving the
|
|
27
27
|
loop. If the asset cannot load or parse, stop with
|
|
28
|
-
`blocked:
|
|
28
|
+
`blocked:refill_sends_v2_workflow_asset_unavailable`; do not emulate it from
|
|
29
29
|
local files or memory.
|
|
30
30
|
|
|
31
31
|
## G0 Bootstrap
|
|
@@ -36,7 +36,7 @@ Scheduled or autonomous runs must not rely on implicit workspace state.
|
|
|
36
36
|
Start or resume the execution loop:
|
|
37
37
|
|
|
38
38
|
```text
|
|
39
|
-
|
|
39
|
+
refill_sends_v2({ workspaceId, intent:"auto", senderIds?, approvalMode?, runId?, fence? })
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Use `dryRun:true` only when the user asked for read-only inspection. A dry run
|
|
@@ -121,7 +121,7 @@ outcome, then verifies before replanning.
|
|
|
121
121
|
- Capped scheduler capacity is complete.
|
|
122
122
|
|
|
123
123
|
Scheduler wait is cross-invocation. If the tool returns `in_progress` with
|
|
124
|
-
sweep guidance, re-invoke `
|
|
124
|
+
sweep guidance, re-invoke `refill_sends_v2` with `{runId, fence}`. The scheduler
|
|
125
125
|
budget is cumulative at the run level. Zero pickup after a confirmed sweep is
|
|
126
126
|
debugged from `pipelineDiagnosis`; it is not waited out forever.
|
|
127
127
|
Scheduler-run receipt interpretation still applies to terminal progress:
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"purpose": "Resolve explicit workspace evidence when the request did not provide workspaceId."
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"tool": "
|
|
68
|
+
"tool": "refill_sends_v2",
|
|
69
69
|
"requiredValues": {
|
|
70
70
|
"workspaceId": "{workspaceId}"
|
|
71
71
|
},
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"get_active_workspace",
|
|
134
134
|
"list_workspaces",
|
|
135
135
|
"get_workspace",
|
|
136
|
-
"
|
|
136
|
+
"refill_sends_v2",
|
|
137
137
|
"get_subskill_prompt",
|
|
138
138
|
"get_subskill_asset",
|
|
139
139
|
"get_refill_plan_v2"
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"tool": "get_auth_status"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"tool": "
|
|
146
|
+
"tool": "refill_sends_v2",
|
|
147
147
|
"requiredFields": ["workspaceId"]
|
|
148
148
|
},
|
|
149
149
|
{
|
|
@@ -281,9 +281,9 @@
|
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
283
|
"id": "execute",
|
|
284
|
-
"description": "Execute exactly the packet head action through
|
|
284
|
+
"description": "Execute exactly the packet head action through refill_sends_v2 internals. Bounded approvals, message preparation, same-source copies, rerun_errored_cells, saved signal continuations, paid-credit refreshes, and pinned-lane starts are allowed only when named by the packet. Execute only the fingerprint captured at the last plan gate; stale packets refuse and return to plan.",
|
|
285
285
|
"allowedTools": [
|
|
286
|
-
"
|
|
286
|
+
"refill_sends_v2",
|
|
287
287
|
"start_campaign_message_preparation",
|
|
288
288
|
"confirm_lead_list",
|
|
289
289
|
"import_leads",
|
|
@@ -313,11 +313,11 @@
|
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
315
|
"id": "verify",
|
|
316
|
-
"description": "Verify whole-row outcomes before another plan read. Reattach to an own active prep job by requestSource/requestHash; never re-dispatch prep while a matching job is active. Foreign prep waits until clear or blocks foreign_prep_active. wait_for_active_work and wait_for_source_import reread the plan on bounded cadence. wait_for_scheduler is cross-invocation: each tool call polls briefly under the host guard, heartbeats the lease, and returns in_progress sweep guidance so the agent re-invokes
|
|
317
|
-
"allowedTools": ["
|
|
316
|
+
"description": "Verify whole-row outcomes before another plan read. Reattach to an own active prep job by requestSource/requestHash; never re-dispatch prep while a matching job is active. Foreign prep waits until clear or blocks foreign_prep_active. wait_for_active_work and wait_for_source_import reread the plan on bounded cadence. wait_for_scheduler is cross-invocation: each tool call polls briefly under the host guard, heartbeats the lease, and returns in_progress sweep guidance so the agent re-invokes refill_sends_v2 with {runId,fence}. The approximately five minute scheduler budget is cumulative at the run level.",
|
|
317
|
+
"allowedTools": ["refill_sends_v2", "get_refill_plan_v2"],
|
|
318
318
|
"onEnter": [
|
|
319
319
|
{
|
|
320
|
-
"tool": "
|
|
320
|
+
"tool": "refill_sends_v2",
|
|
321
321
|
"requiredFields": ["workspaceId", "runId", "fence"]
|
|
322
322
|
}
|
|
323
323
|
],
|