@sellable/mcp 0.1.555 → 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.
Files changed (63) hide show
  1. package/README.md +13 -2
  2. package/agents/registry.json +2 -2
  3. package/dist/api.js +3 -6
  4. package/dist/auth.d.ts +0 -6
  5. package/dist/auth.js +2 -44
  6. package/dist/refill-run-client.d.ts +0 -5
  7. package/dist/refill-run-client.js +0 -15
  8. package/dist/refill-run-loop.d.ts +1 -12
  9. package/dist/refill-run-loop.js +13 -158
  10. package/dist/server.js +23 -0
  11. package/dist/tools/auth.d.ts +0 -5
  12. package/dist/tools/auth.js +12 -49
  13. package/dist/tools/campaign-message-preparation.d.ts +0 -62
  14. package/dist/tools/campaign-message-preparation.js +0 -41
  15. package/dist/tools/campaigns.js +2 -2
  16. package/dist/tools/csv-dnc.js +2 -2
  17. package/dist/tools/evergreen-refill-plan.d.ts +0 -3
  18. package/dist/tools/evergreen-refill-plan.js +7 -29
  19. package/dist/tools/find-leads-runs.d.ts +151 -0
  20. package/dist/tools/find-leads-runs.js +98 -0
  21. package/dist/tools/leads.d.ts +317 -32
  22. package/dist/tools/leads.js +171 -10
  23. package/dist/tools/model-quality.js +4 -6
  24. package/dist/tools/prompts.d.ts +3 -3
  25. package/dist/tools/prompts.js +7 -15
  26. package/dist/tools/provider-preflight.d.ts +65 -2
  27. package/dist/tools/provider-preflight.js +97 -10
  28. package/dist/tools/readiness.d.ts +89 -5
  29. package/dist/tools/readiness.js +66 -0
  30. package/dist/tools/refill-executors.d.ts +0 -38
  31. package/dist/tools/refill-executors.js +3 -222
  32. package/dist/tools/refill-sends-v2.d.ts +1 -112
  33. package/dist/tools/refill-sends-v2.js +2 -302
  34. package/dist/tools/refill-sends.d.ts +32 -678
  35. package/dist/tools/refill-sends.js +13 -274
  36. package/dist/tools/refill-target-plan.js +14 -486
  37. package/dist/tools/registry.d.ts +330 -115
  38. package/dist/tools/registry.js +7 -1
  39. package/dist/tools/scheduler-fill-capacity.js +1 -1
  40. package/dist/tools/scheduler-run.d.ts +0 -71
  41. package/dist/tools/scheduler-run.js +1 -203
  42. package/dist/tools/setup-evergreen-campaigns.js +1 -1
  43. package/dist/tools/workspace-context.d.ts +1 -1
  44. package/dist/tools/workspace-context.js +3 -8
  45. package/dist/tools/workspace-export.js +2 -2
  46. package/dist/tools/workspaces.d.ts +2 -48
  47. package/dist/tools/workspaces.js +5 -48
  48. package/package.json +1 -1
  49. package/skills/create-campaign/SKILL.md +3 -3
  50. package/skills/create-campaign-v2/SKILL.md +1 -1
  51. package/skills/create-evergreen-campaigns/SKILL.md +16 -16
  52. package/skills/find-leads/SKILL.md +48 -630
  53. package/skills/find-leads-v2/SKILL.md +70 -0
  54. package/skills/find-leads-v2/core/flow.v1.json +31 -0
  55. package/skills/refill-sends/SKILL.md +353 -91
  56. package/skills/refill-sends-v2/SKILL.md +6 -6
  57. package/skills/refill-sends-v2-workflow/SKILL.md +5 -5
  58. package/skills/refill-sends-v2-workflow/core/flow.v1.json +8 -8
  59. package/skills/refill-sends-workflow/SKILL.md +743 -100
  60. package/skills/refill-sends-workflow/core/flow.v1.json +1 -185
  61. package/dist/refill-contract.d.ts +0 -157
  62. package/dist/refill-contract.js +0 -487
  63. package/skills/refill-sends-workflow/core/contract.v2.json +0 -543
@@ -1,8 +1,6 @@
1
1
  type RefillSendsIntent = "plain" | "active" | "evergreen";
2
2
  type RefillSendsApprovalMode = "approve" | "mark_ready";
3
3
  type RefillSendsExecutionMode = "manual" | "scheduled" | "yolo";
4
- declare const REFILL_SEND_ACTION_TYPES: readonly ["send_invite", "send_inmail_closed"];
5
- type RefillSendsActionType = (typeof REFILL_SEND_ACTION_TYPES)[number];
6
4
  type RefillSendsCommandInput = {
7
5
  yolo?: boolean;
8
6
  executionMode?: RefillSendsExecutionMode;
@@ -18,17 +16,6 @@ type RefillSendsCommandInput = {
18
16
  tableId?: string;
19
17
  intent?: RefillSendsIntent;
20
18
  approvalMode?: RefillSendsApprovalMode;
21
- actionTypes?: RefillSendsActionType[];
22
- expectedTargetShapeRevision?: string;
23
- expectedActionKey?: string;
24
- runId?: string;
25
- fence?: number;
26
- scopeHash?: string;
27
- targetShapeRevision?: string;
28
- actionFingerprint?: string;
29
- expectedTargetsHash?: string;
30
- approvalExpiresAt?: string;
31
- approvalFingerprint?: string;
32
19
  };
33
20
  type PaidInmailRefreshApprovalPacket = {
34
21
  approvalSource: "explicit_yolo_flag";
@@ -87,14 +74,6 @@ export declare const refillSendsToolDefinitions: {
87
74
  };
88
75
  description: string;
89
76
  };
90
- actionTypes: {
91
- type: string;
92
- items: {
93
- type: string;
94
- enum: string[];
95
- };
96
- description: string;
97
- };
98
77
  horizonSendDays: {
99
78
  type: string;
100
79
  minimum: number;
@@ -129,106 +108,12 @@ export declare const refillSendsToolDefinitions: {
129
108
  enum: string[];
130
109
  description: string;
131
110
  };
132
- expectedTargetShapeRevision: {
133
- type: string;
134
- description: string;
135
- };
136
- expectedActionKey: {
137
- type: string;
138
- description: string;
139
- };
140
- runId: {
141
- type: string;
142
- };
143
- fence: {
144
- type: string;
145
- };
146
- scopeHash: {
147
- type: string;
148
- };
149
- targetShapeRevision: {
150
- type: string;
151
- };
152
- actionFingerprint: {
153
- type: string;
154
- };
155
- expectedTargetsHash: {
156
- type: string;
157
- };
158
- approvalExpiresAt: {
159
- type: string;
160
- };
161
- approvalFingerprint: {
162
- type: string;
163
- };
164
111
  };
165
112
  required: never[];
166
113
  additionalProperties: boolean;
167
114
  };
168
115
  }[];
169
116
  export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
170
- targetDate: string | null;
171
- untilDate: string | null;
172
- horizonSendDays: number | null;
173
- fillWindow: {
174
- mode: string;
175
- targetDate: string;
176
- description: string;
177
- untilDate?: undefined;
178
- horizonSendDays?: undefined;
179
- horizonHours?: undefined;
180
- } | {
181
- mode: string;
182
- untilDate: string;
183
- description: string;
184
- targetDate?: undefined;
185
- horizonSendDays?: undefined;
186
- horizonHours?: undefined;
187
- } | {
188
- mode: string;
189
- horizonSendDays: number | null;
190
- horizonHours: number | null;
191
- description: string;
192
- targetDate?: undefined;
193
- untilDate?: undefined;
194
- };
195
- approvalMode: RefillSendsApprovalMode;
196
- campaignId: string | null;
197
- tableId: string | null;
198
- senderScope: string;
199
- senderSelectors: {
200
- senders: string[];
201
- senderIds: string[];
202
- senderNames: string[];
203
- };
204
- firstOperationalSteps: string[];
205
- approvalContract: string;
206
- forbiddenActions: string[];
207
- hostExamples: {
208
- claude: string[];
209
- codex: string[];
210
- mcpTool: {
211
- name: string;
212
- arguments: {
213
- expectedActionKey?: string | undefined;
214
- expectedTargetShapeRevision?: string | undefined;
215
- targetDate: string | null;
216
- untilDate: string | null;
217
- horizonSendDays: number | null;
218
- campaignId: string | undefined;
219
- tableId: string | undefined;
220
- intent: RefillSendsIntent;
221
- approvalMode: RefillSendsApprovalMode;
222
- workspaceId: string | null;
223
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
224
- yolo: boolean;
225
- senders: string[];
226
- senderIds: string[];
227
- senderNames: string[];
228
- };
229
- };
230
- };
231
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
232
117
  command: string;
233
118
  tool: string;
234
119
  promptName: string;
@@ -242,30 +127,6 @@ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
242
127
  workspaceId: string | null;
243
128
  workspaceResolution: string;
244
129
  intent: RefillSendsIntent;
245
- };
246
- export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<import("./workspace-context.js").WorkspaceRequiredResult | {
247
- autoPaidInmailRefresh: {
248
- enabled: boolean;
249
- status: string;
250
- refreshedPaidInmailSenderIds: never[];
251
- failedPaidInmailRefreshes: never[];
252
- refreshReceipts: never[];
253
- note: string;
254
- attemptedSenderIds?: undefined;
255
- targetPlanReread?: undefined;
256
- workspaceId?: undefined;
257
- workspaceResolution?: undefined;
258
- };
259
- yoloExecution: {
260
- enabled: false;
261
- status: "not_run_without_yolo";
262
- selectedAction: null;
263
- targetPlanReread: false;
264
- blocker?: undefined;
265
- result?: undefined;
266
- refusalReason?: undefined;
267
- postActionFirstAction?: undefined;
268
- };
269
130
  targetDate: string | null;
270
131
  untilDate: string | null;
271
132
  horizonSendDays: number | null;
@@ -309,118 +170,10 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
309
170
  mcpTool: {
310
171
  name: string;
311
172
  arguments: {
312
- expectedActionKey?: string | undefined;
313
- expectedTargetShapeRevision?: string | undefined;
314
- targetDate: string | null;
315
- untilDate: string | null;
316
- horizonSendDays: number | null;
317
- campaignId: string | undefined;
318
- tableId: string | undefined;
319
- intent: RefillSendsIntent;
320
- approvalMode: RefillSendsApprovalMode;
321
- workspaceId: string | null;
322
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
323
173
  yolo: boolean;
324
174
  senders: string[];
325
175
  senderIds: string[];
326
176
  senderNames: string[];
327
- };
328
- };
329
- };
330
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
331
- command: string;
332
- tool: string;
333
- promptName: string;
334
- workflowPromptName: string;
335
- workflowAsset: {
336
- subskillName: string;
337
- assetPath: string;
338
- };
339
- yolo: boolean;
340
- executionMode: RefillSendsExecutionMode;
341
- workspaceId: string | null;
342
- workspaceResolution: string;
343
- intent: RefillSendsIntent;
344
- } | {
345
- autoPaidInmailRefresh: {
346
- enabled: boolean;
347
- status: string;
348
- refreshedPaidInmailSenderIds: never[];
349
- failedPaidInmailRefreshes: never[];
350
- refreshReceipts: never[];
351
- attemptedSenderIds: never[];
352
- targetPlanReread: boolean;
353
- workspaceId: string | null;
354
- workspaceResolution: string;
355
- note: string;
356
- };
357
- yoloExecution: {
358
- enabled: boolean;
359
- status: string;
360
- selectedAction: Record<string, unknown> | null;
361
- targetPlanReread: boolean;
362
- blocker?: undefined;
363
- result?: undefined;
364
- refusalReason?: undefined;
365
- postActionFirstAction?: undefined;
366
- };
367
- changed: boolean;
368
- expectedTargetShapeRevision: string | null;
369
- actualTargetShapeRevision: string | null;
370
- expectedActionKey: string | null;
371
- actualActionKey: string | null;
372
- shapeChanged: boolean;
373
- actionChanged: boolean;
374
- ok: boolean;
375
- code: string;
376
- targetPlan: unknown;
377
- targetPlanBeforePaidRefresh: null;
378
- targetPlanBeforeYoloPrimitive: null;
379
- targetDate: string | null;
380
- untilDate: string | null;
381
- horizonSendDays: number | null;
382
- fillWindow: {
383
- mode: string;
384
- targetDate: string;
385
- description: string;
386
- untilDate?: undefined;
387
- horizonSendDays?: undefined;
388
- horizonHours?: undefined;
389
- } | {
390
- mode: string;
391
- untilDate: string;
392
- description: string;
393
- targetDate?: undefined;
394
- horizonSendDays?: undefined;
395
- horizonHours?: undefined;
396
- } | {
397
- mode: string;
398
- horizonSendDays: number | null;
399
- horizonHours: number | null;
400
- description: string;
401
- targetDate?: undefined;
402
- untilDate?: undefined;
403
- };
404
- approvalMode: RefillSendsApprovalMode;
405
- campaignId: string | null;
406
- tableId: string | null;
407
- senderScope: string;
408
- senderSelectors: {
409
- senders: string[];
410
- senderIds: string[];
411
- senderNames: string[];
412
- };
413
- firstOperationalSteps: string[];
414
- approvalContract: string;
415
- forbiddenActions: string[];
416
- hostExamples: {
417
- claude: string[];
418
- codex: string[];
419
- mcpTool: {
420
- name: string;
421
- arguments: {
422
- expectedActionKey?: string | undefined;
423
- expectedTargetShapeRevision?: string | undefined;
424
177
  targetDate: string | null;
425
178
  untilDate: string | null;
426
179
  horizonSendDays: number | null;
@@ -429,287 +182,32 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
429
182
  intent: RefillSendsIntent;
430
183
  approvalMode: RefillSendsApprovalMode;
431
184
  workspaceId: string | null;
432
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
433
- yolo: boolean;
434
- senders: string[];
435
- senderIds: string[];
436
- senderNames: string[];
437
185
  };
438
186
  };
439
187
  };
440
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
441
- command: string;
442
- tool: string;
443
- promptName: string;
444
- workflowPromptName: string;
445
- workflowAsset: {
446
- subskillName: string;
447
- assetPath: string;
448
- };
449
- yolo: boolean;
450
- executionMode: RefillSendsExecutionMode;
451
- workspaceId: string | null;
452
- workspaceResolution: string;
453
- intent: RefillSendsIntent;
454
- } | {
455
- yoloExecution: {
456
- selectedAction: Record<string, unknown> | null;
457
- targetPlanReread: boolean;
458
- status: "blocked";
459
- blocker: string;
460
- response: unknown;
461
- enabled: boolean;
462
- result?: undefined;
463
- refusalReason?: undefined;
464
- postActionFirstAction?: undefined;
465
- } | {
466
- selectedAction: Record<string, unknown> | null;
467
- targetPlanReread: boolean;
468
- status: "awaiting_approval";
469
- runId: string;
470
- fence: number;
471
- scope: Record<string, unknown> | {
472
- version: 2;
473
- workspaceId: string;
474
- intent: "active" | "plain" | "evergreen" | "auto";
475
- senderIds: string[];
476
- campaignIds: string[];
477
- tableIds: string[];
478
- actionIds: string[];
479
- approvalMode: "mark_ready" | "approve";
480
- dateSelector: {
481
- kind: "target_date";
482
- targetDate: string;
483
- untilDate?: undefined;
484
- horizonSendDays?: undefined;
485
- } | {
486
- kind: "until_date";
487
- untilDate: string;
488
- targetDate?: undefined;
489
- horizonSendDays?: undefined;
490
- } | {
491
- kind: "horizon_send_days";
492
- horizonSendDays: number;
493
- targetDate?: undefined;
494
- untilDate?: undefined;
495
- } | {
496
- kind: "scheduler_default";
497
- targetDate?: undefined;
498
- untilDate?: undefined;
499
- horizonSendDays?: undefined;
500
- };
501
- senderTimezones: {
502
- [k: string]: string;
503
- };
504
- expectedTargetsHash: string;
505
- maxPlacements: number;
506
- contract: {
507
- version: "2.0.0";
508
- hash: string;
509
- cacheKey: "refill-contract-v1";
510
- };
511
- installed: {
512
- mcpVersion: "phase98-local";
513
- installVersion: "phase98-local";
514
- pluginVersion: "phase98-local";
515
- cacheIdentity: "phase98-local-plugin-cache";
516
- };
517
- };
518
- approvalFingerprint: string;
519
- scopeHash: string;
520
- targetShapeRevision: string;
521
- actionFingerprint: string;
522
- expectedTargetsHash: string;
523
- sideEffectEnvelope: string[];
524
- maxPlacements: number;
525
- approvalExpiresAt: string;
526
- blocker?: undefined;
527
- response?: undefined;
528
- enabled: boolean;
529
- result?: undefined;
530
- refusalReason?: undefined;
531
- postActionFirstAction?: undefined;
532
- };
533
- targetPlan: unknown;
534
- targetPlanBeforePaidRefresh: null;
535
- targetPlanBeforeYoloPrimitive: unknown;
188
+ };
189
+ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<import("./workspace-context.js").WorkspaceRequiredResult | {
536
190
  autoPaidInmailRefresh: {
537
191
  enabled: boolean;
538
192
  status: string;
539
193
  refreshedPaidInmailSenderIds: never[];
540
194
  failedPaidInmailRefreshes: never[];
541
- refreshReceipts: never[];
542
- attemptedSenderIds: never[];
543
- targetPlanReread: boolean;
544
- workspaceId: string;
545
- workspaceResolution: string;
546
195
  note: string;
196
+ refreshReceipts?: undefined;
197
+ attemptedSenderIds?: undefined;
198
+ targetPlanReread?: undefined;
199
+ workspaceId?: undefined;
200
+ workspaceResolution?: undefined;
547
201
  };
548
- targetDate: string | null;
549
- untilDate: string | null;
550
- horizonSendDays: number | null;
551
- fillWindow: {
552
- mode: string;
553
- targetDate: string;
554
- description: string;
555
- untilDate?: undefined;
556
- horizonSendDays?: undefined;
557
- horizonHours?: undefined;
558
- } | {
559
- mode: string;
560
- untilDate: string;
561
- description: string;
562
- targetDate?: undefined;
563
- horizonSendDays?: undefined;
564
- horizonHours?: undefined;
565
- } | {
566
- mode: string;
567
- horizonSendDays: number | null;
568
- horizonHours: number | null;
569
- description: string;
570
- targetDate?: undefined;
571
- untilDate?: undefined;
572
- };
573
- approvalMode: RefillSendsApprovalMode;
574
- campaignId: string | null;
575
- tableId: string | null;
576
- senderScope: string;
577
- senderSelectors: {
578
- senders: string[];
579
- senderIds: string[];
580
- senderNames: string[];
581
- };
582
- firstOperationalSteps: string[];
583
- approvalContract: string;
584
- forbiddenActions: string[];
585
- hostExamples: {
586
- claude: string[];
587
- codex: string[];
588
- mcpTool: {
589
- name: string;
590
- arguments: {
591
- expectedActionKey?: string | undefined;
592
- expectedTargetShapeRevision?: string | undefined;
593
- targetDate: string | null;
594
- untilDate: string | null;
595
- horizonSendDays: number | null;
596
- campaignId: string | undefined;
597
- tableId: string | undefined;
598
- intent: RefillSendsIntent;
599
- approvalMode: RefillSendsApprovalMode;
600
- workspaceId: string | null;
601
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
602
- yolo: boolean;
603
- senders: string[];
604
- senderIds: string[];
605
- senderNames: string[];
606
- };
607
- };
608
- };
609
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
610
- command: string;
611
- tool: string;
612
- promptName: string;
613
- workflowPromptName: string;
614
- workflowAsset: {
615
- subskillName: string;
616
- assetPath: string;
617
- };
618
- yolo: boolean;
619
- executionMode: RefillSendsExecutionMode;
620
- workspaceId: string | null;
621
- workspaceResolution: string;
622
- intent: RefillSendsIntent;
623
- } | {
624
- ok: boolean;
625
- code: string;
626
202
  yoloExecution: {
627
- enabled: boolean;
628
- status: string;
629
- blocker: string;
630
- selectedAction: Record<string, unknown> | null;
631
- targetPlanReread: boolean;
203
+ enabled: false;
204
+ status: "not_run_without_yolo";
205
+ selectedAction: null;
206
+ targetPlanReread: false;
632
207
  result?: undefined;
633
208
  refusalReason?: undefined;
634
209
  postActionFirstAction?: undefined;
635
210
  };
636
- targetPlan: unknown;
637
- targetPlanBeforePaidRefresh: null;
638
- targetPlanBeforeYoloPrimitive: unknown;
639
- autoPaidInmailRefresh: {
640
- enabled: boolean;
641
- status: string;
642
- refreshedPaidInmailSenderIds: never[];
643
- failedPaidInmailRefreshes: never[];
644
- refreshReceipts: never[];
645
- attemptedSenderIds: never[];
646
- targetPlanReread: boolean;
647
- workspaceId: string;
648
- workspaceResolution: string;
649
- note: string;
650
- };
651
- targetDate: string | null;
652
- untilDate: string | null;
653
- horizonSendDays: number | null;
654
- fillWindow: {
655
- mode: string;
656
- targetDate: string;
657
- description: string;
658
- untilDate?: undefined;
659
- horizonSendDays?: undefined;
660
- horizonHours?: undefined;
661
- } | {
662
- mode: string;
663
- untilDate: string;
664
- description: string;
665
- targetDate?: undefined;
666
- horizonSendDays?: undefined;
667
- horizonHours?: undefined;
668
- } | {
669
- mode: string;
670
- horizonSendDays: number | null;
671
- horizonHours: number | null;
672
- description: string;
673
- targetDate?: undefined;
674
- untilDate?: undefined;
675
- };
676
- approvalMode: RefillSendsApprovalMode;
677
- campaignId: string | null;
678
- tableId: string | null;
679
- senderScope: string;
680
- senderSelectors: {
681
- senders: string[];
682
- senderIds: string[];
683
- senderNames: string[];
684
- };
685
- firstOperationalSteps: string[];
686
- approvalContract: string;
687
- forbiddenActions: string[];
688
- hostExamples: {
689
- claude: string[];
690
- codex: string[];
691
- mcpTool: {
692
- name: string;
693
- arguments: {
694
- expectedActionKey?: string | undefined;
695
- expectedTargetShapeRevision?: string | undefined;
696
- targetDate: string | null;
697
- untilDate: string | null;
698
- horizonSendDays: number | null;
699
- campaignId: string | undefined;
700
- tableId: string | undefined;
701
- intent: RefillSendsIntent;
702
- approvalMode: RefillSendsApprovalMode;
703
- workspaceId: string | null;
704
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
705
- yolo: boolean;
706
- senders: string[];
707
- senderIds: string[];
708
- senderNames: string[];
709
- };
710
- };
711
- };
712
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
713
211
  command: string;
714
212
  tool: string;
715
213
  promptName: string;
@@ -723,126 +221,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
723
221
  workspaceId: string | null;
724
222
  workspaceResolution: string;
725
223
  intent: RefillSendsIntent;
726
- } | {
727
- yoloExecution: {
728
- selectedAction: Record<string, unknown> | null;
729
- targetPlanReread: boolean;
730
- readOnly: boolean;
731
- mode: string;
732
- forbiddenActions: string[];
733
- boundedAuthority: string;
734
- blocker: string;
735
- workspaceId: string;
736
- guidance: string;
737
- warnings: string[];
738
- journalPath: string | null;
739
- text: string;
740
- workspaceResolution: string;
741
- enabled: boolean;
742
- status?: undefined;
743
- result?: undefined;
744
- refusalReason?: undefined;
745
- postActionFirstAction?: undefined;
746
- } | {
747
- selectedAction: Record<string, unknown> | null;
748
- targetPlanReread: boolean;
749
- readOnly: boolean;
750
- mode: string;
751
- forbiddenActions: string[];
752
- boundedAuthority: string;
753
- warnings: any[];
754
- journalPath: string | null;
755
- text: string;
756
- workspaceId: string;
757
- workspaceResolution: string;
758
- blocker?: undefined;
759
- guidance?: undefined;
760
- enabled: boolean;
761
- status?: undefined;
762
- result?: undefined;
763
- refusalReason?: undefined;
764
- postActionFirstAction?: undefined;
765
- } | {
766
- selectedAction: Record<string, unknown> | null;
767
- targetPlanReread: boolean;
768
- readOnly: boolean;
769
- forbiddenActions: string[];
770
- boundedAuthority: string;
771
- status: "dry_run";
772
- plan: Record<string, unknown>;
773
- enabled: boolean;
774
- blocker?: undefined;
775
- result?: undefined;
776
- refusalReason?: undefined;
777
- postActionFirstAction?: undefined;
778
- } | {
779
- selectedAction: Record<string, unknown> | null;
780
- targetPlanReread: boolean;
781
- readOnly: boolean;
782
- forbiddenActions: string[];
783
- boundedAuthority: string;
784
- status: "in_progress";
785
- runId: string;
786
- fence: number;
787
- gate: import("../refill-run-loop.js").RefillLoopGate;
788
- guidance: string;
789
- journalPath?: string | null;
790
- enabled: boolean;
791
- blocker?: undefined;
792
- result?: undefined;
793
- refusalReason?: undefined;
794
- postActionFirstAction?: undefined;
795
- } | {
796
- selectedAction: Record<string, unknown> | null;
797
- targetPlanReread: boolean;
798
- readOnly: boolean;
799
- forbiddenActions: string[];
800
- boundedAuthority: string;
801
- status: "blocked";
802
- blocker: string;
803
- runId?: string;
804
- fence?: number;
805
- gate?: import("../refill-run-loop.js").RefillLoopGate;
806
- guidance: string;
807
- holderRunId?: string;
808
- report?: Record<string, unknown>;
809
- journalPath?: string | null;
810
- enabled: boolean;
811
- result?: undefined;
812
- refusalReason?: undefined;
813
- postActionFirstAction?: undefined;
814
- } | {
815
- selectedAction: Record<string, unknown> | null;
816
- targetPlanReread: boolean;
817
- readOnly: boolean;
818
- forbiddenActions: string[];
819
- boundedAuthority: string;
820
- status: "terminal";
821
- doneReason: string;
822
- report: Record<string, unknown>;
823
- runId: string;
824
- journalPath?: string | null;
825
- enabled: boolean;
826
- blocker?: undefined;
827
- result?: undefined;
828
- refusalReason?: undefined;
829
- postActionFirstAction?: undefined;
830
- };
831
- targetPlan: unknown;
832
- targetPlanBeforePaidRefresh: null;
833
- targetPlanBeforeYoloPrimitive: unknown;
834
- autoPaidInmailRefresh: {
835
- enabled: boolean;
836
- status: string;
837
- refreshedPaidInmailSenderIds: never[];
838
- failedPaidInmailRefreshes: never[];
839
- refreshReceipts: never[];
840
- attemptedSenderIds: never[];
841
- targetPlanReread: boolean;
842
- workspaceId: string;
843
- workspaceResolution: string;
844
- note: string;
845
- };
846
224
  targetDate: string | null;
847
225
  untilDate: string | null;
848
226
  horizonSendDays: number | null;
@@ -886,8 +264,10 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
886
264
  mcpTool: {
887
265
  name: string;
888
266
  arguments: {
889
- expectedActionKey?: string | undefined;
890
- expectedTargetShapeRevision?: string | undefined;
267
+ yolo: boolean;
268
+ senders: string[];
269
+ senderIds: string[];
270
+ senderNames: string[];
891
271
  targetDate: string | null;
892
272
  untilDate: string | null;
893
273
  horizonSendDays: number | null;
@@ -896,28 +276,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
896
276
  intent: RefillSendsIntent;
897
277
  approvalMode: RefillSendsApprovalMode;
898
278
  workspaceId: string | null;
899
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
900
- yolo: boolean;
901
- senders: string[];
902
- senderIds: string[];
903
- senderNames: string[];
904
279
  };
905
280
  };
906
281
  };
907
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
908
- command: string;
909
- tool: string;
910
- promptName: string;
911
- workflowPromptName: string;
912
- workflowAsset: {
913
- subskillName: string;
914
- assetPath: string;
915
- };
916
- yolo: boolean;
917
- executionMode: RefillSendsExecutionMode;
918
- workspaceId: string | null;
919
- workspaceResolution: string;
920
- intent: RefillSendsIntent;
921
282
  } | {
922
283
  targetPlan: unknown;
923
284
  targetPlanBeforePaidRefresh: unknown;
@@ -956,7 +317,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
956
317
  status: "not_run_without_yolo";
957
318
  selectedAction: null;
958
319
  targetPlanReread: false;
959
- blocker?: undefined;
960
320
  result?: undefined;
961
321
  refusalReason?: undefined;
962
322
  postActionFirstAction?: undefined;
@@ -965,7 +325,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
965
325
  status: "skipped_after_paid_refresh";
966
326
  selectedAction: null;
967
327
  targetPlanReread: true;
968
- blocker?: undefined;
969
328
  result?: undefined;
970
329
  refusalReason?: undefined;
971
330
  postActionFirstAction?: undefined;
@@ -977,8 +336,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
977
336
  targetPlanReread: boolean;
978
337
  refusalReason: string | undefined;
979
338
  postActionFirstAction: Record<string, unknown> | null;
980
- blocker?: undefined;
981
339
  };
340
+ command: string;
341
+ tool: string;
342
+ promptName: string;
343
+ workflowPromptName: string;
344
+ workflowAsset: {
345
+ subskillName: string;
346
+ assetPath: string;
347
+ };
348
+ yolo: boolean;
349
+ executionMode: RefillSendsExecutionMode;
350
+ workspaceId: string | null;
351
+ workspaceResolution: string;
352
+ intent: RefillSendsIntent;
982
353
  targetDate: string | null;
983
354
  untilDate: string | null;
984
355
  horizonSendDays: number | null;
@@ -1022,8 +393,10 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1022
393
  mcpTool: {
1023
394
  name: string;
1024
395
  arguments: {
1025
- expectedActionKey?: string | undefined;
1026
- expectedTargetShapeRevision?: string | undefined;
396
+ yolo: boolean;
397
+ senders: string[];
398
+ senderIds: string[];
399
+ senderNames: string[];
1027
400
  targetDate: string | null;
1028
401
  untilDate: string | null;
1029
402
  horizonSendDays: number | null;
@@ -1032,27 +405,8 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1032
405
  intent: RefillSendsIntent;
1033
406
  approvalMode: RefillSendsApprovalMode;
1034
407
  workspaceId: string | null;
1035
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1036
- yolo: boolean;
1037
- senders: string[];
1038
- senderIds: string[];
1039
- senderNames: string[];
1040
408
  };
1041
409
  };
1042
410
  };
1043
- actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1044
- command: string;
1045
- tool: string;
1046
- promptName: string;
1047
- workflowPromptName: string;
1048
- workflowAsset: {
1049
- subskillName: string;
1050
- assetPath: string;
1051
- };
1052
- yolo: boolean;
1053
- executionMode: RefillSendsExecutionMode;
1054
- workspaceId: string | null;
1055
- workspaceResolution: string;
1056
- intent: RefillSendsIntent;
1057
411
  }>;
1058
412
  export {};