@sellable/mcp 0.1.511 → 0.1.512
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/dist/refill-journal.d.ts +49 -0
- package/dist/refill-journal.js +134 -0
- package/dist/refill-local-state.d.ts +31 -0
- package/dist/refill-local-state.js +96 -0
- package/dist/server.js +8 -0
- package/dist/tools/evergreen-refill-plan.d.ts +49 -0
- package/dist/tools/evergreen-refill-plan.js +196 -0
- package/dist/tools/leads.d.ts +40 -0
- package/dist/tools/leads.js +86 -31
- package/dist/tools/prompts.d.ts +3 -3
- package/dist/tools/prompts.js +2 -0
- package/dist/tools/refill-sends-evergreen.d.ts +28 -0
- package/dist/tools/refill-sends-evergreen.js +47 -0
- package/dist/tools/registry.d.ts +32 -92
- package/dist/tools/registry.js +4 -0
- package/package.json +1 -1
- package/skills/refill-sends-evergreen/SKILL.md +84 -0
- package/skills/refill-sends-evergreen-workflow/SKILL.md +107 -0
- package/skills/refill-sends-evergreen-workflow/core/flow.v1.json +247 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "v1.0",
|
|
3
|
+
"workflow": "refill-sends-evergreen-workflow",
|
|
4
|
+
"principle": "Plan evergreen waterfall refill as a read-only dry-run with zero mutations.",
|
|
5
|
+
"enumeratedRungs": [
|
|
6
|
+
"start_campaign",
|
|
7
|
+
"approve_messages",
|
|
8
|
+
"wait_for_active_work",
|
|
9
|
+
"enrich_more",
|
|
10
|
+
"reconcile_source_copy",
|
|
11
|
+
"add_leads_same_source",
|
|
12
|
+
"paid_lane_fallback",
|
|
13
|
+
"next_campaign",
|
|
14
|
+
"wait_for_scheduler",
|
|
15
|
+
"done"
|
|
16
|
+
],
|
|
17
|
+
"requiredBootstrap": [
|
|
18
|
+
{
|
|
19
|
+
"tool": "get_auth_status",
|
|
20
|
+
"purpose": "Confirm MCP auth before reading workspace or plan facts."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"tool": "get_active_workspace",
|
|
24
|
+
"purpose": "Resolve explicit workspace evidence when the request did not provide workspaceId."
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"tool": "refill_sends_evergreen",
|
|
28
|
+
"requiredValues": {
|
|
29
|
+
"workspaceId": "{workspaceId}"
|
|
30
|
+
},
|
|
31
|
+
"requiredOutput": [
|
|
32
|
+
"readOnly true",
|
|
33
|
+
"approvalContract says Phase 85 is plan-only"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tool": "get_subskill_prompt",
|
|
38
|
+
"requiredValues": {
|
|
39
|
+
"subskillName": "refill-sends-evergreen-workflow"
|
|
40
|
+
},
|
|
41
|
+
"mustReadUntil": {
|
|
42
|
+
"hasMore": false
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tool": "get_subskill_asset",
|
|
47
|
+
"requiredValues": {
|
|
48
|
+
"subskillName": "refill-sends-evergreen-workflow",
|
|
49
|
+
"assetPath": "core/flow.v1.json"
|
|
50
|
+
},
|
|
51
|
+
"mustReadUntil": {
|
|
52
|
+
"hasMore": false
|
|
53
|
+
},
|
|
54
|
+
"validation": {
|
|
55
|
+
"workflow": "refill-sends-evergreen-workflow",
|
|
56
|
+
"versionPrefix": "v1",
|
|
57
|
+
"requiredTopLevelKeys": [
|
|
58
|
+
"states",
|
|
59
|
+
"gateOrder",
|
|
60
|
+
"enumeratedRungs",
|
|
61
|
+
"verification"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"tool": "get_evergreen_refill_plan",
|
|
67
|
+
"requiredValues": {
|
|
68
|
+
"workspaceId": "{workspaceId}"
|
|
69
|
+
},
|
|
70
|
+
"requiredOutput": [
|
|
71
|
+
"planRevision",
|
|
72
|
+
"stateRevision",
|
|
73
|
+
"packet",
|
|
74
|
+
"journalPath",
|
|
75
|
+
"sideEffects"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"gateOrder": ["bootstrap", "plan", "report"],
|
|
80
|
+
"states": [
|
|
81
|
+
{
|
|
82
|
+
"id": "bootstrap",
|
|
83
|
+
"description": "Load the read-only command contract, workflow prompt, flow asset, and workspace facts.",
|
|
84
|
+
"allowedTools": [
|
|
85
|
+
"get_auth_status",
|
|
86
|
+
"get_active_workspace",
|
|
87
|
+
"list_workspaces",
|
|
88
|
+
"get_workspace",
|
|
89
|
+
"refill_sends_evergreen",
|
|
90
|
+
"get_subskill_prompt",
|
|
91
|
+
"get_subskill_asset",
|
|
92
|
+
"get_evergreen_refill_plan"
|
|
93
|
+
],
|
|
94
|
+
"onEnter": [
|
|
95
|
+
{
|
|
96
|
+
"tool": "get_auth_status"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"tool": "refill_sends_evergreen",
|
|
100
|
+
"requiredFields": ["workspaceId"]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"tool": "get_subskill_prompt",
|
|
104
|
+
"requiredValues": {
|
|
105
|
+
"subskillName": "refill-sends-evergreen-workflow"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"tool": "get_subskill_asset",
|
|
110
|
+
"requiredValues": {
|
|
111
|
+
"subskillName": "refill-sends-evergreen-workflow",
|
|
112
|
+
"assetPath": "core/flow.v1.json"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"transitions": {
|
|
117
|
+
"contract_loaded": "plan"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "plan",
|
|
122
|
+
"description": "Call the dry-run evergreen refill planner exactly once for this invocation.",
|
|
123
|
+
"allowedTools": ["get_evergreen_refill_plan"],
|
|
124
|
+
"onEnter": [
|
|
125
|
+
{
|
|
126
|
+
"tool": "get_evergreen_refill_plan",
|
|
127
|
+
"requiredFields": ["workspaceId"],
|
|
128
|
+
"optionalFields": ["senderIds", "runState", "journal", "journalNote"]
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"requiredOutput": [
|
|
132
|
+
"sideEffects all false",
|
|
133
|
+
"planRevision starts with pr1:",
|
|
134
|
+
"journalPath reported",
|
|
135
|
+
"chosen evergreenRung is in enumeratedRungs"
|
|
136
|
+
],
|
|
137
|
+
"allowedRungsSource": "enumeratedRungs",
|
|
138
|
+
"doNotAllow": [
|
|
139
|
+
"add_column",
|
|
140
|
+
"add_on_demand_leads",
|
|
141
|
+
"add_rubric_item",
|
|
142
|
+
"add_teammate",
|
|
143
|
+
"add_to_comment_campaign",
|
|
144
|
+
"add_to_connection_campaign",
|
|
145
|
+
"add_to_inmail_campaign",
|
|
146
|
+
"archive_campaign",
|
|
147
|
+
"attach_recommended_sequence",
|
|
148
|
+
"attach_sequence",
|
|
149
|
+
"bulk_enrich_with_prospeo",
|
|
150
|
+
"cancel_campaign_message_preparation",
|
|
151
|
+
"cancel_lead_import",
|
|
152
|
+
"capture_post_idea",
|
|
153
|
+
"check_rubric",
|
|
154
|
+
"commit_blueprint",
|
|
155
|
+
"confirm_harvest_job_companies",
|
|
156
|
+
"confirm_lead_list",
|
|
157
|
+
"confirm_prospeo_company_accounts",
|
|
158
|
+
"copy_sender_config",
|
|
159
|
+
"create_campaign",
|
|
160
|
+
"create_on_demand_campaign",
|
|
161
|
+
"create_on_demand_table",
|
|
162
|
+
"create_workspace",
|
|
163
|
+
"create_workflow_table",
|
|
164
|
+
"delete_column",
|
|
165
|
+
"delete_rubric_item",
|
|
166
|
+
"duplicate_campaign",
|
|
167
|
+
"enrich_with_prospeo",
|
|
168
|
+
"fill_campaign_horizon",
|
|
169
|
+
"get_or_create_direct_campaign_table",
|
|
170
|
+
"import_leads",
|
|
171
|
+
"load_csv_dnc_entries",
|
|
172
|
+
"load_csv_domains",
|
|
173
|
+
"load_csv_linkedin_leads",
|
|
174
|
+
"mark_post_published",
|
|
175
|
+
"migrate_flat_configs",
|
|
176
|
+
"pause_campaign",
|
|
177
|
+
"pause_direct_campaign",
|
|
178
|
+
"pause_on_demand_campaign",
|
|
179
|
+
"prepare_campaign_ab_test",
|
|
180
|
+
"queue_campaign_cells",
|
|
181
|
+
"queue_cells",
|
|
182
|
+
"record_campaign_review_batch",
|
|
183
|
+
"record_engage_proven_search",
|
|
184
|
+
"refill_sends",
|
|
185
|
+
"refresh_paid_inmail_credits",
|
|
186
|
+
"revise_message_template_and_rerun",
|
|
187
|
+
"save_domain_filters",
|
|
188
|
+
"save_hook_research",
|
|
189
|
+
"save_post_draft",
|
|
190
|
+
"save_rubrics",
|
|
191
|
+
"send_inbox_draft",
|
|
192
|
+
"send_inbox_manual_reply",
|
|
193
|
+
"set_active_workspace",
|
|
194
|
+
"set_campaign_waterfall_order",
|
|
195
|
+
"set_company_info",
|
|
196
|
+
"set_engage_state",
|
|
197
|
+
"set_engage_style_guide",
|
|
198
|
+
"set_headline_icp_criteria",
|
|
199
|
+
"set_sender_routing",
|
|
200
|
+
"setup_evergreen_campaigns",
|
|
201
|
+
"start_campaign",
|
|
202
|
+
"start_campaign_message_preparation",
|
|
203
|
+
"start_direct_campaign",
|
|
204
|
+
"start_on_demand_campaign",
|
|
205
|
+
"update_campaign",
|
|
206
|
+
"update_campaign_brief",
|
|
207
|
+
"update_cell",
|
|
208
|
+
"update_column",
|
|
209
|
+
"update_inbox_draft",
|
|
210
|
+
"update_post_draft",
|
|
211
|
+
"update_published_post_metrics",
|
|
212
|
+
"update_rubric_item",
|
|
213
|
+
"upsert_engage_tracked_person",
|
|
214
|
+
"upsert_rubric"
|
|
215
|
+
],
|
|
216
|
+
"transitions": {
|
|
217
|
+
"packet_returned": "report"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "report",
|
|
222
|
+
"description": "Present packet, itinerary, warnings, blockers, plan revision, and journal path; then stop.",
|
|
223
|
+
"allowedTools": [],
|
|
224
|
+
"onEnter": [
|
|
225
|
+
{
|
|
226
|
+
"action": "present_packet_itinerary_and_journal_path"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"terminal": true
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"verification": {
|
|
233
|
+
"requiredProof": [
|
|
234
|
+
"sideEffects all false in get_evergreen_refill_plan response",
|
|
235
|
+
"planRevision has pr1: prefix",
|
|
236
|
+
"journalPath reported or journalWriteFailed warning surfaced",
|
|
237
|
+
"chosen evergreenRung belongs to enumeratedRungs",
|
|
238
|
+
"packet reviewed with itinerary and blockers"
|
|
239
|
+
],
|
|
240
|
+
"notCompletionProof": [
|
|
241
|
+
"called get_evergreen_refill_plan alone",
|
|
242
|
+
"action queue exists",
|
|
243
|
+
"ready rows alone",
|
|
244
|
+
"operator wants execution"
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
}
|