@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.
- package/dist/refill-contract.d.ts +157 -0
- package/dist/refill-contract.js +487 -0
- package/dist/refill-run-client.d.ts +5 -0
- package/dist/refill-run-client.js +15 -0
- package/dist/refill-run-loop.d.ts +12 -1
- package/dist/refill-run-loop.js +158 -13
- package/dist/tools/campaign-message-preparation.d.ts +62 -0
- package/dist/tools/campaign-message-preparation.js +41 -0
- package/dist/tools/evergreen-refill-plan.d.ts +3 -0
- package/dist/tools/evergreen-refill-plan.js +29 -7
- package/dist/tools/prompts.js +9 -0
- package/dist/tools/refill-executors.d.ts +9 -1
- package/dist/tools/refill-executors.js +101 -8
- package/dist/tools/refill-sends-v2.d.ts +112 -1
- package/dist/tools/refill-sends-v2.js +302 -2
- package/dist/tools/refill-sends.d.ts +506 -2
- package/dist/tools/refill-sends.js +134 -1
- package/dist/tools/refill-target-plan.js +317 -23
- package/dist/tools/registry.d.ts +94 -33
- package/dist/tools/registry.js +1 -3
- package/dist/tools/scheduler-run.d.ts +61 -0
- package/dist/tools/scheduler-run.js +183 -1
- package/package.json +1 -1
- package/skills/refill-sends/SKILL.md +91 -388
- 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 +100 -781
- package/skills/refill-sends-workflow/core/contract.v2.json +543 -0
- package/skills/refill-sends-workflow/core/flow.v1.json +122 -0
|
@@ -21,6 +21,14 @@ type RefillSendsCommandInput = {
|
|
|
21
21
|
actionTypes?: RefillSendsActionType[];
|
|
22
22
|
expectedTargetShapeRevision?: string;
|
|
23
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;
|
|
24
32
|
};
|
|
25
33
|
type PaidInmailRefreshApprovalPacket = {
|
|
26
34
|
approvalSource: "explicit_yolo_flag";
|
|
@@ -129,6 +137,30 @@ export declare const refillSendsToolDefinitions: {
|
|
|
129
137
|
type: string;
|
|
130
138
|
description: string;
|
|
131
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
|
+
};
|
|
132
164
|
};
|
|
133
165
|
required: never[];
|
|
134
166
|
additionalProperties: boolean;
|
|
@@ -217,18 +249,19 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
217
249
|
status: string;
|
|
218
250
|
refreshedPaidInmailSenderIds: never[];
|
|
219
251
|
failedPaidInmailRefreshes: never[];
|
|
252
|
+
refreshReceipts: never[];
|
|
220
253
|
note: string;
|
|
221
254
|
attemptedSenderIds?: undefined;
|
|
222
255
|
targetPlanReread?: undefined;
|
|
223
256
|
workspaceId?: undefined;
|
|
224
257
|
workspaceResolution?: undefined;
|
|
225
|
-
refreshReceipts?: undefined;
|
|
226
258
|
};
|
|
227
259
|
yoloExecution: {
|
|
228
260
|
enabled: false;
|
|
229
261
|
status: "not_run_without_yolo";
|
|
230
262
|
selectedAction: null;
|
|
231
263
|
targetPlanReread: false;
|
|
264
|
+
blocker?: undefined;
|
|
232
265
|
result?: undefined;
|
|
233
266
|
refusalReason?: undefined;
|
|
234
267
|
postActionFirstAction?: undefined;
|
|
@@ -314,18 +347,19 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
314
347
|
status: string;
|
|
315
348
|
refreshedPaidInmailSenderIds: never[];
|
|
316
349
|
failedPaidInmailRefreshes: never[];
|
|
350
|
+
refreshReceipts: never[];
|
|
317
351
|
attemptedSenderIds: never[];
|
|
318
352
|
targetPlanReread: boolean;
|
|
319
353
|
workspaceId: string | null;
|
|
320
354
|
workspaceResolution: string;
|
|
321
355
|
note: string;
|
|
322
|
-
refreshReceipts?: undefined;
|
|
323
356
|
};
|
|
324
357
|
yoloExecution: {
|
|
325
358
|
enabled: boolean;
|
|
326
359
|
status: string;
|
|
327
360
|
selectedAction: Record<string, unknown> | null;
|
|
328
361
|
targetPlanReread: boolean;
|
|
362
|
+
blocker?: undefined;
|
|
329
363
|
result?: undefined;
|
|
330
364
|
refusalReason?: undefined;
|
|
331
365
|
postActionFirstAction?: undefined;
|
|
@@ -417,6 +451,473 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
417
451
|
workspaceId: string | null;
|
|
418
452
|
workspaceResolution: string;
|
|
419
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;
|
|
536
|
+
autoPaidInmailRefresh: {
|
|
537
|
+
enabled: boolean;
|
|
538
|
+
status: string;
|
|
539
|
+
refreshedPaidInmailSenderIds: never[];
|
|
540
|
+
failedPaidInmailRefreshes: never[];
|
|
541
|
+
refreshReceipts: never[];
|
|
542
|
+
attemptedSenderIds: never[];
|
|
543
|
+
targetPlanReread: boolean;
|
|
544
|
+
workspaceId: string;
|
|
545
|
+
workspaceResolution: string;
|
|
546
|
+
note: string;
|
|
547
|
+
};
|
|
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
|
+
yoloExecution: {
|
|
627
|
+
enabled: boolean;
|
|
628
|
+
status: string;
|
|
629
|
+
blocker: string;
|
|
630
|
+
selectedAction: Record<string, unknown> | null;
|
|
631
|
+
targetPlanReread: boolean;
|
|
632
|
+
result?: undefined;
|
|
633
|
+
refusalReason?: undefined;
|
|
634
|
+
postActionFirstAction?: undefined;
|
|
635
|
+
};
|
|
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
|
+
command: string;
|
|
714
|
+
tool: string;
|
|
715
|
+
promptName: string;
|
|
716
|
+
workflowPromptName: string;
|
|
717
|
+
workflowAsset: {
|
|
718
|
+
subskillName: string;
|
|
719
|
+
assetPath: string;
|
|
720
|
+
};
|
|
721
|
+
yolo: boolean;
|
|
722
|
+
executionMode: RefillSendsExecutionMode;
|
|
723
|
+
workspaceId: string | null;
|
|
724
|
+
workspaceResolution: string;
|
|
725
|
+
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
|
+
targetDate: string | null;
|
|
847
|
+
untilDate: string | null;
|
|
848
|
+
horizonSendDays: number | null;
|
|
849
|
+
fillWindow: {
|
|
850
|
+
mode: string;
|
|
851
|
+
targetDate: string;
|
|
852
|
+
description: string;
|
|
853
|
+
untilDate?: undefined;
|
|
854
|
+
horizonSendDays?: undefined;
|
|
855
|
+
horizonHours?: undefined;
|
|
856
|
+
} | {
|
|
857
|
+
mode: string;
|
|
858
|
+
untilDate: string;
|
|
859
|
+
description: string;
|
|
860
|
+
targetDate?: undefined;
|
|
861
|
+
horizonSendDays?: undefined;
|
|
862
|
+
horizonHours?: undefined;
|
|
863
|
+
} | {
|
|
864
|
+
mode: string;
|
|
865
|
+
horizonSendDays: number | null;
|
|
866
|
+
horizonHours: number | null;
|
|
867
|
+
description: string;
|
|
868
|
+
targetDate?: undefined;
|
|
869
|
+
untilDate?: undefined;
|
|
870
|
+
};
|
|
871
|
+
approvalMode: RefillSendsApprovalMode;
|
|
872
|
+
campaignId: string | null;
|
|
873
|
+
tableId: string | null;
|
|
874
|
+
senderScope: string;
|
|
875
|
+
senderSelectors: {
|
|
876
|
+
senders: string[];
|
|
877
|
+
senderIds: string[];
|
|
878
|
+
senderNames: string[];
|
|
879
|
+
};
|
|
880
|
+
firstOperationalSteps: string[];
|
|
881
|
+
approvalContract: string;
|
|
882
|
+
forbiddenActions: string[];
|
|
883
|
+
hostExamples: {
|
|
884
|
+
claude: string[];
|
|
885
|
+
codex: string[];
|
|
886
|
+
mcpTool: {
|
|
887
|
+
name: string;
|
|
888
|
+
arguments: {
|
|
889
|
+
expectedActionKey?: string | undefined;
|
|
890
|
+
expectedTargetShapeRevision?: string | undefined;
|
|
891
|
+
targetDate: string | null;
|
|
892
|
+
untilDate: string | null;
|
|
893
|
+
horizonSendDays: number | null;
|
|
894
|
+
campaignId: string | undefined;
|
|
895
|
+
tableId: string | undefined;
|
|
896
|
+
intent: RefillSendsIntent;
|
|
897
|
+
approvalMode: RefillSendsApprovalMode;
|
|
898
|
+
workspaceId: string | null;
|
|
899
|
+
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
900
|
+
yolo: boolean;
|
|
901
|
+
senders: string[];
|
|
902
|
+
senderIds: string[];
|
|
903
|
+
senderNames: string[];
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
};
|
|
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;
|
|
420
921
|
} | {
|
|
421
922
|
targetPlan: unknown;
|
|
422
923
|
targetPlanBeforePaidRefresh: unknown;
|
|
@@ -455,6 +956,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
455
956
|
status: "not_run_without_yolo";
|
|
456
957
|
selectedAction: null;
|
|
457
958
|
targetPlanReread: false;
|
|
959
|
+
blocker?: undefined;
|
|
458
960
|
result?: undefined;
|
|
459
961
|
refusalReason?: undefined;
|
|
460
962
|
postActionFirstAction?: undefined;
|
|
@@ -463,6 +965,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
463
965
|
status: "skipped_after_paid_refresh";
|
|
464
966
|
selectedAction: null;
|
|
465
967
|
targetPlanReread: true;
|
|
968
|
+
blocker?: undefined;
|
|
466
969
|
result?: undefined;
|
|
467
970
|
refusalReason?: undefined;
|
|
468
971
|
postActionFirstAction?: undefined;
|
|
@@ -474,6 +977,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
474
977
|
targetPlanReread: boolean;
|
|
475
978
|
refusalReason: string | undefined;
|
|
476
979
|
postActionFirstAction: Record<string, unknown> | null;
|
|
980
|
+
blocker?: undefined;
|
|
477
981
|
};
|
|
478
982
|
targetDate: string | null;
|
|
479
983
|
untilDate: string | null;
|