@sellable/mcp 0.1.553 → 0.1.555

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.
@@ -0,0 +1,543 @@
1
+ {
2
+ "contractVersion": "2.0.0",
3
+ "cacheVersion": "refill-contract-v1",
4
+ "supportedMajor": 2,
5
+ "semantics": {
6
+ "scope": [
7
+ {
8
+ "id": "workspace_id"
9
+ },
10
+ {
11
+ "id": "target_date"
12
+ },
13
+ {
14
+ "id": "sender_selectors"
15
+ },
16
+ {
17
+ "id": "campaign_selectors"
18
+ },
19
+ {
20
+ "id": "approval_mode"
21
+ },
22
+ {
23
+ "id": "contract_identity"
24
+ },
25
+ {
26
+ "id": "installed_identity"
27
+ }
28
+ ],
29
+ "gates": [
30
+ {
31
+ "id": "workspace_access"
32
+ },
33
+ {
34
+ "id": "approval_packet"
35
+ },
36
+ {
37
+ "id": "source_family"
38
+ },
39
+ {
40
+ "id": "threshold"
41
+ },
42
+ {
43
+ "id": "scheduler"
44
+ },
45
+ {
46
+ "id": "campaign_lifecycle"
47
+ },
48
+ {
49
+ "id": "send_time"
50
+ },
51
+ {
52
+ "id": "no_direct_send"
53
+ },
54
+ {
55
+ "id": "one_primitive"
56
+ },
57
+ {
58
+ "id": "fresh_reread"
59
+ },
60
+ {
61
+ "id": "normalized_accounting"
62
+ },
63
+ {
64
+ "id": "prep_circuit"
65
+ },
66
+ {
67
+ "id": "terminal_truth"
68
+ }
69
+ ],
70
+ "states": [
71
+ {
72
+ "id": "planning"
73
+ },
74
+ {
75
+ "id": "awaiting_approval"
76
+ },
77
+ {
78
+ "id": "executing"
79
+ },
80
+ {
81
+ "id": "settling"
82
+ },
83
+ {
84
+ "id": "replanning"
85
+ },
86
+ {
87
+ "id": "terminal"
88
+ }
89
+ ],
90
+ "actions": [
91
+ {
92
+ "id": "prepare_messages",
93
+ "sideEffectClass": "message_preparation"
94
+ },
95
+ {
96
+ "id": "approve_messages",
97
+ "sideEffectClass": "message_approval"
98
+ },
99
+ {
100
+ "id": "rerun_errored_cells",
101
+ "sideEffectClass": "message_preparation"
102
+ },
103
+ {
104
+ "id": "start_paused_campaign",
105
+ "sideEffectClass": "campaign_start"
106
+ },
107
+ {
108
+ "id": "run_scheduler_sweep",
109
+ "sideEffectClass": "scheduler_placement"
110
+ },
111
+ {
112
+ "id": "scheduler_first_settle",
113
+ "sideEffectClass": "read_only"
114
+ },
115
+ {
116
+ "id": "wait_for_scheduler",
117
+ "sideEffectClass": "read_only"
118
+ },
119
+ {
120
+ "id": "wait_for_active_work",
121
+ "sideEffectClass": "read_only"
122
+ },
123
+ {
124
+ "id": "wait_for_source_import",
125
+ "sideEffectClass": "read_only"
126
+ },
127
+ {
128
+ "id": "copy_selected_source_rows",
129
+ "sideEffectClass": "source_replenishment"
130
+ },
131
+ {
132
+ "id": "continue_signal_discovery_source",
133
+ "sideEffectClass": "source_replenishment"
134
+ },
135
+ {
136
+ "id": "continue_sales_nav_source",
137
+ "sideEffectClass": "source_replenishment"
138
+ },
139
+ {
140
+ "id": "continue_prospeo_source",
141
+ "sideEffectClass": "source_replenishment"
142
+ },
143
+ {
144
+ "id": "manual_source_replenishment",
145
+ "sideEffectClass": "source_replenishment"
146
+ },
147
+ {
148
+ "id": "refresh_paid_inmail_credits",
149
+ "sideEffectClass": "credit_refresh"
150
+ },
151
+ {
152
+ "id": "lower_paid_inmail_threshold",
153
+ "sideEffectClass": "read_only"
154
+ },
155
+ {
156
+ "id": "switch_to_connection_lane",
157
+ "sideEffectClass": "read_only"
158
+ },
159
+ {
160
+ "id": "create_connection_campaign",
161
+ "sideEffectClass": "read_only"
162
+ },
163
+ {
164
+ "id": "next_campaign",
165
+ "sideEffectClass": "read_only"
166
+ },
167
+ {
168
+ "id": "done",
169
+ "sideEffectClass": "read_only"
170
+ }
171
+ ],
172
+ "receipts": [
173
+ {
174
+ "id": "target_plan_receipt",
175
+ "requiredFields": [
176
+ "refillLaneKey",
177
+ "branchMetrics",
178
+ "ledger",
179
+ "targetDate",
180
+ "actionKey",
181
+ "targetShapeRevision",
182
+ "stateRevision"
183
+ ]
184
+ },
185
+ {
186
+ "id": "preparation_receipt",
187
+ "requiredFields": [
188
+ "dependency",
189
+ "circuit",
190
+ "batchCalibration",
191
+ "cooperativeStop"
192
+ ]
193
+ },
194
+ {
195
+ "id": "scheduler_receipt",
196
+ "requiredFields": [
197
+ "receiptVersion",
198
+ "diagnosticsVersion",
199
+ "status",
200
+ "trigger",
201
+ "workspaceId",
202
+ "runId",
203
+ "leaseFence",
204
+ "expectedTargetsHash",
205
+ "maxPlacements",
206
+ "readyCellsFound",
207
+ "cellsConsidered",
208
+ "cellsScheduled",
209
+ "cellsSkipped",
210
+ "cellsDeferred",
211
+ "campaignScopeSummary",
212
+ "expectedTargetSummary",
213
+ "changedCounts",
214
+ "summary",
215
+ "nextAction",
216
+ "errorCount",
217
+ "error"
218
+ ]
219
+ },
220
+ {
221
+ "id": "run_receipt",
222
+ "requiredFields": [
223
+ "runId",
224
+ "fence",
225
+ "gate",
226
+ "gateSeq",
227
+ "events",
228
+ "doneReason"
229
+ ]
230
+ }
231
+ ],
232
+ "sideEffectClasses": [
233
+ {
234
+ "id": "read_only"
235
+ },
236
+ {
237
+ "id": "message_preparation"
238
+ },
239
+ {
240
+ "id": "message_approval"
241
+ },
242
+ {
243
+ "id": "source_replenishment"
244
+ },
245
+ {
246
+ "id": "credit_refresh"
247
+ },
248
+ {
249
+ "id": "campaign_start"
250
+ },
251
+ {
252
+ "id": "scheduler_placement"
253
+ }
254
+ ],
255
+ "forbiddenActions": [
256
+ {
257
+ "id": "direct_send"
258
+ },
259
+ {
260
+ "id": "raw_scheduler_write"
261
+ },
262
+ {
263
+ "id": "campaign_create"
264
+ },
265
+ {
266
+ "id": "campaign_archive_delete"
267
+ },
268
+ {
269
+ "id": "threshold_lowering"
270
+ },
271
+ {
272
+ "id": "unselected_source_mutation"
273
+ },
274
+ {
275
+ "id": "unapproved_campaign_start"
276
+ },
277
+ {
278
+ "id": "sender_config_write"
279
+ }
280
+ ],
281
+ "terminalReasons": [
282
+ {
283
+ "id": "projected_full",
284
+ "terminalKind": "complete"
285
+ },
286
+ {
287
+ "id": "concrete_blocker",
288
+ "terminalKind": "stopped"
289
+ },
290
+ {
291
+ "id": "deadline_reached",
292
+ "terminalKind": "stopped"
293
+ },
294
+ {
295
+ "id": "iteration_limit",
296
+ "terminalKind": "stopped"
297
+ },
298
+ {
299
+ "id": "operator_stopped",
300
+ "terminalKind": "stopped"
301
+ },
302
+ {
303
+ "id": "capped_by_scheduler",
304
+ "terminalKind": "stopped"
305
+ },
306
+ {
307
+ "id": "loaded_awaiting_scheduler",
308
+ "terminalKind": "stopped"
309
+ },
310
+ {
311
+ "id": "lanes_exhausted",
312
+ "terminalKind": "stopped"
313
+ },
314
+ {
315
+ "id": "not_an_evergreen_workspace",
316
+ "terminalKind": "stopped"
317
+ },
318
+ {
319
+ "id": "no_refillable_campaigns",
320
+ "terminalKind": "stopped"
321
+ }
322
+ ],
323
+ "transitions": [
324
+ {
325
+ "from": "planning",
326
+ "to": "awaiting_approval"
327
+ },
328
+ {
329
+ "from": "awaiting_approval",
330
+ "to": "executing"
331
+ },
332
+ {
333
+ "from": "executing",
334
+ "to": "settling"
335
+ },
336
+ {
337
+ "from": "settling",
338
+ "to": "replanning"
339
+ },
340
+ {
341
+ "from": "replanning",
342
+ "to": "executing"
343
+ },
344
+ {
345
+ "from": "replanning",
346
+ "to": "terminal"
347
+ }
348
+ ]
349
+ },
350
+ "backendBindings": {
351
+ "planner": {
352
+ "actions": [
353
+ "prepare_messages",
354
+ "approve_messages",
355
+ "rerun_errored_cells",
356
+ "start_paused_campaign",
357
+ "run_scheduler_sweep",
358
+ "scheduler_first_settle",
359
+ "wait_for_scheduler",
360
+ "wait_for_active_work",
361
+ "wait_for_source_import",
362
+ "copy_selected_source_rows",
363
+ "continue_signal_discovery_source",
364
+ "continue_sales_nav_source",
365
+ "continue_prospeo_source",
366
+ "manual_source_replenishment",
367
+ "refresh_paid_inmail_credits",
368
+ "lower_paid_inmail_threshold",
369
+ "switch_to_connection_lane",
370
+ "create_connection_campaign",
371
+ "next_campaign",
372
+ "done"
373
+ ],
374
+ "receiptFields": [
375
+ "refillLaneKey",
376
+ "branchMetrics",
377
+ "ledger",
378
+ "targetDate",
379
+ "actionKey",
380
+ "targetShapeRevision",
381
+ "stateRevision"
382
+ ]
383
+ },
384
+ "preparation": {
385
+ "dependencyClasses": [
386
+ "active",
387
+ "transient",
388
+ "permanent",
389
+ "changed",
390
+ "exhausted"
391
+ ],
392
+ "dependencyReasons": [
393
+ "active_cells",
394
+ "dependency_timeout",
395
+ "rate_limited",
396
+ "provider_unavailable",
397
+ "authentication_failed",
398
+ "validation_failed",
399
+ "schema_invalid",
400
+ "config_epoch_changed",
401
+ "source_epoch_changed",
402
+ "frontier_exhausted",
403
+ "unknown_dependency"
404
+ ],
405
+ "circuitStates": [
406
+ "closed",
407
+ "open",
408
+ "half_open",
409
+ "reset"
410
+ ],
411
+ "cooperativeStopReasons": [
412
+ "target_satisfied_during_prep"
413
+ ],
414
+ "receiptFields": [
415
+ "dependency",
416
+ "circuit",
417
+ "batchCalibration",
418
+ "cooperativeStop"
419
+ ]
420
+ },
421
+ "scheduler": {
422
+ "targetOutcomes": [
423
+ "included",
424
+ "omitted"
425
+ ],
426
+ "omissionReasons": [
427
+ "no_ready_cells",
428
+ "not_scheduler_eligible",
429
+ "sender_mismatch",
430
+ "capacity_prefiltered",
431
+ "outside_target_date",
432
+ "receipt_error"
433
+ ],
434
+ "runStatuses": [
435
+ "ran",
436
+ "window_closed_noop",
437
+ "failed"
438
+ ],
439
+ "nextActions": [
440
+ "refresh_paid_inmail_credits_then_rerun",
441
+ "wait_for_capacity_or_window",
442
+ "inspect_sender_mismatch",
443
+ "no_ready_cells_continue_refill_prep",
444
+ "scheduled_cells",
445
+ "investigate_deferred_reasons",
446
+ "investigate_scheduler_failure"
447
+ ],
448
+ "receiptFields": [
449
+ "receiptVersion",
450
+ "diagnosticsVersion",
451
+ "status",
452
+ "trigger",
453
+ "workspaceId",
454
+ "runId",
455
+ "leaseFence",
456
+ "expectedTargetsHash",
457
+ "maxPlacements",
458
+ "readyCellsFound",
459
+ "cellsConsidered",
460
+ "cellsScheduled",
461
+ "cellsSkipped",
462
+ "cellsDeferred",
463
+ "campaignScopeSummary",
464
+ "expectedTargetSummary",
465
+ "changedCounts",
466
+ "summary",
467
+ "nextAction",
468
+ "errorCount",
469
+ "error"
470
+ ]
471
+ },
472
+ "run": {
473
+ "gates": [
474
+ "g0_bootstrap",
475
+ "g1_plan",
476
+ "g2_execute",
477
+ "g3_verify",
478
+ "g4_terminal"
479
+ ],
480
+ "states": [
481
+ "planning",
482
+ "awaiting_approval",
483
+ "executing",
484
+ "settling",
485
+ "replanning",
486
+ "terminal"
487
+ ],
488
+ "resultKinds": [
489
+ "started",
490
+ "awaiting_approval",
491
+ "active_run_in_progress",
492
+ "resumed",
493
+ "lease_lost",
494
+ "scope_drift",
495
+ "approval_expired",
496
+ "approval_fingerprint_mismatch"
497
+ ],
498
+ "terminalReasons": [
499
+ "complete",
500
+ "capped_by_scheduler",
501
+ "loaded_awaiting_scheduler",
502
+ "lanes_exhausted",
503
+ "blocked",
504
+ "not_an_evergreen_workspace",
505
+ "no_refillable_campaigns"
506
+ ],
507
+ "refusals": [
508
+ "scope_drift",
509
+ "approval_expired",
510
+ "approval_fingerprint_mismatch",
511
+ "legacy_read_only",
512
+ "expected_target_overflow",
513
+ "scheduler_receipt_incomplete"
514
+ ],
515
+ "scopeFields": [
516
+ "workspaceId",
517
+ "intent",
518
+ "senderIds",
519
+ "campaignIds",
520
+ "tableIds",
521
+ "actionIds",
522
+ "approvalMode",
523
+ "dateSelector",
524
+ "senderTimezones",
525
+ "expectedTargetsHash",
526
+ "maxPlacements",
527
+ "contract",
528
+ "installed"
529
+ ],
530
+ "approvalFields": [
531
+ "scopeHash",
532
+ "targetShapeRevision",
533
+ "actionFingerprint",
534
+ "expectedTargetsHash",
535
+ "sideEffectEnvelope",
536
+ "maxPlacements",
537
+ "approvalExpiresAt",
538
+ "approvalFingerprint"
539
+ ]
540
+ }
541
+ },
542
+ "contractHash": "e54ba0f80bc534fd70fd8c10c1caab109fe9a91c205cfc423f5f6735cd53fdc1"
543
+ }
@@ -30,6 +30,22 @@
30
30
  "yoloMode"
31
31
  ]
32
32
  }
33
+ },
34
+ {
35
+ "tool": "get_subskill_asset",
36
+ "requiredValues": {
37
+ "subskillName": "refill-sends-workflow",
38
+ "assetPath": "core/contract.v2.json"
39
+ },
40
+ "mustReadUntil": {
41
+ "hasMore": false
42
+ },
43
+ "validation": {
44
+ "supportedMajor": 2,
45
+ "contractVersion": "2.0.0",
46
+ "cacheVersion": "refill-contract-v1",
47
+ "contractHash": "e54ba0f80bc534fd70fd8c10c1caab109fe9a91c205cfc423f5f6735cd53fdc1"
48
+ }
33
49
  }
34
50
  ],
35
51
  "gateOrder": [
@@ -344,5 +360,111 @@
344
360
  "ready-to-schedule rows alone",
345
361
  "awaiting_scheduler_after_ready_buffer"
346
362
  ]
363
+ },
364
+ "refillContract": {
365
+ "contractVersion": "2.0.0",
366
+ "cacheVersion": "refill-contract-v1",
367
+ "contractHash": "e54ba0f80bc534fd70fd8c10c1caab109fe9a91c205cfc423f5f6735cd53fdc1",
368
+ "semanticIds": {
369
+ "scope": [
370
+ "workspace_id",
371
+ "target_date",
372
+ "sender_selectors",
373
+ "campaign_selectors",
374
+ "approval_mode",
375
+ "contract_identity",
376
+ "installed_identity"
377
+ ],
378
+ "gates": [
379
+ "workspace_access",
380
+ "approval_packet",
381
+ "source_family",
382
+ "threshold",
383
+ "scheduler",
384
+ "campaign_lifecycle",
385
+ "send_time",
386
+ "no_direct_send",
387
+ "one_primitive",
388
+ "fresh_reread",
389
+ "normalized_accounting",
390
+ "prep_circuit",
391
+ "terminal_truth"
392
+ ],
393
+ "states": [
394
+ "planning",
395
+ "awaiting_approval",
396
+ "executing",
397
+ "settling",
398
+ "replanning",
399
+ "terminal"
400
+ ],
401
+ "actions": [
402
+ "prepare_messages",
403
+ "approve_messages",
404
+ "rerun_errored_cells",
405
+ "start_paused_campaign",
406
+ "run_scheduler_sweep",
407
+ "scheduler_first_settle",
408
+ "wait_for_scheduler",
409
+ "wait_for_active_work",
410
+ "wait_for_source_import",
411
+ "copy_selected_source_rows",
412
+ "continue_signal_discovery_source",
413
+ "continue_sales_nav_source",
414
+ "continue_prospeo_source",
415
+ "manual_source_replenishment",
416
+ "refresh_paid_inmail_credits",
417
+ "lower_paid_inmail_threshold",
418
+ "switch_to_connection_lane",
419
+ "create_connection_campaign",
420
+ "next_campaign",
421
+ "done"
422
+ ],
423
+ "receipts": [
424
+ "target_plan_receipt",
425
+ "preparation_receipt",
426
+ "scheduler_receipt",
427
+ "run_receipt"
428
+ ],
429
+ "sideEffectClasses": [
430
+ "read_only",
431
+ "message_preparation",
432
+ "message_approval",
433
+ "source_replenishment",
434
+ "credit_refresh",
435
+ "campaign_start",
436
+ "scheduler_placement"
437
+ ],
438
+ "forbiddenActions": [
439
+ "direct_send",
440
+ "raw_scheduler_write",
441
+ "campaign_create",
442
+ "campaign_archive_delete",
443
+ "threshold_lowering",
444
+ "unselected_source_mutation",
445
+ "unapproved_campaign_start",
446
+ "sender_config_write"
447
+ ],
448
+ "terminalReasons": [
449
+ "projected_full",
450
+ "concrete_blocker",
451
+ "deadline_reached",
452
+ "iteration_limit",
453
+ "operator_stopped",
454
+ "capped_by_scheduler",
455
+ "loaded_awaiting_scheduler",
456
+ "lanes_exhausted",
457
+ "not_an_evergreen_workspace",
458
+ "no_refillable_campaigns"
459
+ ],
460
+ "transitions": [
461
+ "",
462
+ "",
463
+ "",
464
+ "",
465
+ "",
466
+ ""
467
+ ]
468
+ }
347
469
  }
348
470
  }