@sellable/mcp 0.1.627-phase111.20260720163146 → 0.1.629

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.
@@ -29,6 +29,8 @@ type RefillSendsCommandInput = {
29
29
  reportingContext?: RefillReportingContextV2;
30
30
  messageTemplateRevision?: MessageTemplateRevisionV1;
31
31
  agentKeywords?: string[];
32
+ /** Internal marker carried only by packaged workspace-wide continuations. */
33
+ workspaceCoordinator?: boolean;
32
34
  };
33
35
  type PaidInmailRefreshApprovalPacket = {
34
36
  approvalSource: "explicit_yolo_flag";
@@ -510,12 +512,724 @@ export declare const refillSendsToolDefinitions: {
510
512
  maxItems: number;
511
513
  description: string;
512
514
  };
515
+ workspaceCoordinator: {
516
+ type: string;
517
+ description: string;
518
+ };
519
+ };
520
+ required: never[];
521
+ additionalProperties: boolean;
522
+ };
523
+ }[];
524
+ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
525
+ targetDate: string | null;
526
+ untilDate: string | null;
527
+ horizonSendDays: number | null;
528
+ fillWindow: {
529
+ mode: string;
530
+ targetDate: string;
531
+ description: string;
532
+ untilDate?: undefined;
533
+ horizonSendDays?: undefined;
534
+ horizonHours?: undefined;
535
+ } | {
536
+ mode: string;
537
+ untilDate: string;
538
+ description: string;
539
+ targetDate?: undefined;
540
+ horizonSendDays?: undefined;
541
+ horizonHours?: undefined;
542
+ } | {
543
+ mode: string;
544
+ horizonSendDays: number | null;
545
+ horizonHours: number | null;
546
+ description: string;
547
+ targetDate?: undefined;
548
+ untilDate?: undefined;
549
+ };
550
+ approvalMode: RefillSendsApprovalMode;
551
+ campaignId: string | null;
552
+ tableId: string | null;
553
+ targetConfig: RefillTargetConfigV1 | null;
554
+ runHandle: RefillRunHandleV1 | null;
555
+ reportingContext: RefillReportingContextV2 | null;
556
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
557
+ senderScope: string;
558
+ senderSelectors: {
559
+ senders: string[];
560
+ senderIds: string[];
561
+ senderNames: string[];
562
+ };
563
+ firstOperationalSteps: string[];
564
+ approvalContract: string;
565
+ forbiddenActions: string[];
566
+ hostExamples: {
567
+ claude: string[];
568
+ codex: string[];
569
+ mcpTool: {
570
+ name: string;
571
+ arguments: {
572
+ workspaceCoordinator?: boolean | undefined;
573
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
574
+ reportingContext?: RefillReportingContextV2 | undefined;
575
+ targetConfig?: RefillTargetConfigV1 | undefined;
576
+ runHandle?: RefillRunHandleV1 | undefined;
577
+ fence?: number | undefined;
578
+ runId?: string | undefined;
579
+ expectedActionKey?: string | undefined;
580
+ expectedTargetShapeRevision?: string | undefined;
581
+ targetDate: string | null;
582
+ untilDate: string | null;
583
+ horizonSendDays: number | null;
584
+ campaignId: string | undefined;
585
+ tableId: string | undefined;
586
+ intent: RefillSendsIntent;
587
+ approvalMode: RefillSendsApprovalMode;
588
+ workspaceId: string | null;
589
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
590
+ yolo: boolean;
591
+ senders: string[];
592
+ senderIds: string[];
593
+ senderNames: string[];
594
+ };
595
+ };
596
+ };
597
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
598
+ command: string;
599
+ tool: string;
600
+ promptName: string;
601
+ workflowPromptName: string;
602
+ workflowAsset: {
603
+ subskillName: string;
604
+ assetPath: string;
605
+ };
606
+ yolo: boolean;
607
+ executionMode: RefillSendsExecutionMode;
608
+ workspaceId: string | null;
609
+ workspaceResolution: string;
610
+ intent: RefillSendsIntent;
611
+ };
612
+ type WorkspaceExactTarget = {
613
+ campaignId: string;
614
+ tableId: string;
615
+ senderIds: string[];
616
+ actionTypes: RefillSendsActionType[];
617
+ actionKey: string | null;
618
+ };
619
+ type RefillSenderSelectorMatch = {
620
+ selector: string;
621
+ senderId: string;
622
+ displayName: string;
623
+ matchType: "id" | "exact_name" | "unambiguous_prefix";
624
+ };
625
+ type RefillSenderSelectorMiss = {
626
+ selector: string;
627
+ reason: "no_match" | "ambiguous";
628
+ candidates: Array<{
629
+ senderId: string;
630
+ displayName: string;
631
+ }>;
632
+ };
633
+ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<import("./workspace-context.js").WorkspaceRequiredResult | {
634
+ ok: boolean;
635
+ code: string;
636
+ senderSelectorResolution: {
637
+ ok: false;
638
+ code: "sender_selector_unresolved";
639
+ workspaceId: string;
640
+ unresolvedSelectors: RefillSenderSelectorMiss[];
641
+ resolvedSelectors: RefillSenderSelectorMatch[];
642
+ availableSenders: Array<{
643
+ senderId: string;
644
+ displayName: string;
645
+ }>;
646
+ };
647
+ note: string;
648
+ targetDate: string | null;
649
+ untilDate: string | null;
650
+ horizonSendDays: number | null;
651
+ fillWindow: {
652
+ mode: string;
653
+ targetDate: string;
654
+ description: string;
655
+ untilDate?: undefined;
656
+ horizonSendDays?: undefined;
657
+ horizonHours?: undefined;
658
+ } | {
659
+ mode: string;
660
+ untilDate: string;
661
+ description: string;
662
+ targetDate?: undefined;
663
+ horizonSendDays?: undefined;
664
+ horizonHours?: undefined;
665
+ } | {
666
+ mode: string;
667
+ horizonSendDays: number | null;
668
+ horizonHours: number | null;
669
+ description: string;
670
+ targetDate?: undefined;
671
+ untilDate?: undefined;
672
+ };
673
+ approvalMode: RefillSendsApprovalMode;
674
+ campaignId: string | null;
675
+ tableId: string | null;
676
+ targetConfig: RefillTargetConfigV1 | null;
677
+ runHandle: RefillRunHandleV1 | null;
678
+ reportingContext: RefillReportingContextV2 | null;
679
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
680
+ senderScope: string;
681
+ senderSelectors: {
682
+ senders: string[];
683
+ senderIds: string[];
684
+ senderNames: string[];
685
+ };
686
+ firstOperationalSteps: string[];
687
+ approvalContract: string;
688
+ forbiddenActions: string[];
689
+ hostExamples: {
690
+ claude: string[];
691
+ codex: string[];
692
+ mcpTool: {
693
+ name: string;
694
+ arguments: {
695
+ workspaceCoordinator?: boolean | undefined;
696
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
697
+ reportingContext?: RefillReportingContextV2 | undefined;
698
+ targetConfig?: RefillTargetConfigV1 | undefined;
699
+ runHandle?: RefillRunHandleV1 | undefined;
700
+ fence?: number | undefined;
701
+ runId?: string | undefined;
702
+ expectedActionKey?: string | undefined;
703
+ expectedTargetShapeRevision?: string | undefined;
704
+ targetDate: string | null;
705
+ untilDate: string | null;
706
+ horizonSendDays: number | null;
707
+ campaignId: string | undefined;
708
+ tableId: string | undefined;
709
+ intent: RefillSendsIntent;
710
+ approvalMode: RefillSendsApprovalMode;
711
+ workspaceId: string | null;
712
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
713
+ yolo: boolean;
714
+ senders: string[];
715
+ senderIds: string[];
716
+ senderNames: string[];
717
+ };
718
+ };
719
+ };
720
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
721
+ command: string;
722
+ tool: string;
723
+ promptName: string;
724
+ workflowPromptName: string;
725
+ workflowAsset: {
726
+ subskillName: string;
727
+ assetPath: string;
728
+ };
729
+ yolo: boolean;
730
+ executionMode: RefillSendsExecutionMode;
731
+ workspaceId: string | null;
732
+ workspaceResolution: string;
733
+ intent: RefillSendsIntent;
734
+ } | {
735
+ status: "complete";
736
+ targetPlan: unknown;
737
+ orchestration: {
738
+ mode: string;
739
+ scope: string;
740
+ checkpointedFields: string[];
741
+ transportBudgetMs: number;
742
+ };
743
+ coordinator: {
744
+ scope: string;
745
+ status: string;
746
+ workspaceTargetPlan: unknown;
747
+ selectedTarget?: undefined;
748
+ completedTarget?: undefined;
749
+ exactRunResult?: undefined;
750
+ note?: undefined;
751
+ };
752
+ continuation: {
753
+ required: boolean;
754
+ userActionRequired: boolean;
755
+ kind?: undefined;
756
+ owner?: undefined;
757
+ tool?: undefined;
758
+ arguments?: undefined;
759
+ stopCondition?: undefined;
760
+ };
761
+ targetDate: string | null;
762
+ untilDate: string | null;
763
+ horizonSendDays: number | null;
764
+ fillWindow: {
765
+ mode: string;
766
+ targetDate: string;
767
+ description: string;
768
+ untilDate?: undefined;
769
+ horizonSendDays?: undefined;
770
+ horizonHours?: undefined;
771
+ } | {
772
+ mode: string;
773
+ untilDate: string;
774
+ description: string;
775
+ targetDate?: undefined;
776
+ horizonSendDays?: undefined;
777
+ horizonHours?: undefined;
778
+ } | {
779
+ mode: string;
780
+ horizonSendDays: number | null;
781
+ horizonHours: number | null;
782
+ description: string;
783
+ targetDate?: undefined;
784
+ untilDate?: undefined;
785
+ };
786
+ approvalMode: RefillSendsApprovalMode;
787
+ campaignId: string | null;
788
+ tableId: string | null;
789
+ targetConfig: RefillTargetConfigV1 | null;
790
+ runHandle: RefillRunHandleV1 | null;
791
+ reportingContext: RefillReportingContextV2 | null;
792
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
793
+ senderScope: string;
794
+ senderSelectors: {
795
+ senders: string[];
796
+ senderIds: string[];
797
+ senderNames: string[];
798
+ };
799
+ firstOperationalSteps: string[];
800
+ approvalContract: string;
801
+ forbiddenActions: string[];
802
+ hostExamples: {
803
+ claude: string[];
804
+ codex: string[];
805
+ mcpTool: {
806
+ name: string;
807
+ arguments: {
808
+ workspaceCoordinator?: boolean | undefined;
809
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
810
+ reportingContext?: RefillReportingContextV2 | undefined;
811
+ targetConfig?: RefillTargetConfigV1 | undefined;
812
+ runHandle?: RefillRunHandleV1 | undefined;
813
+ fence?: number | undefined;
814
+ runId?: string | undefined;
815
+ expectedActionKey?: string | undefined;
816
+ expectedTargetShapeRevision?: string | undefined;
817
+ targetDate: string | null;
818
+ untilDate: string | null;
819
+ horizonSendDays: number | null;
820
+ campaignId: string | undefined;
821
+ tableId: string | undefined;
822
+ intent: RefillSendsIntent;
823
+ approvalMode: RefillSendsApprovalMode;
824
+ workspaceId: string | null;
825
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
826
+ yolo: boolean;
827
+ senders: string[];
828
+ senderIds: string[];
829
+ senderNames: string[];
830
+ };
831
+ };
832
+ };
833
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
834
+ command: string;
835
+ tool: string;
836
+ promptName: string;
837
+ workflowPromptName: string;
838
+ workflowAsset: {
839
+ subskillName: string;
840
+ assetPath: string;
841
+ };
842
+ yolo: boolean;
843
+ executionMode: RefillSendsExecutionMode;
844
+ workspaceId: string | null;
845
+ workspaceResolution: string;
846
+ intent: RefillSendsIntent;
847
+ } | {
848
+ ok: boolean;
849
+ status: "blocked";
850
+ code: "workspace_exact_target_unavailable" | "exact_target_config_unavailable" | "exact_target_config_mismatch" | "exact_target_projection_mismatch";
851
+ blocker: "workspace_exact_target_unavailable" | "exact_target_config_unavailable" | "exact_target_config_mismatch" | "exact_target_projection_mismatch";
852
+ note: string;
853
+ targetPlan: unknown;
854
+ exactTargetPlan: {} | null;
855
+ coordinator: {
856
+ scope: string;
857
+ status: string;
858
+ selectedTarget: WorkspaceExactTarget | null;
859
+ workspaceTargetPlan?: undefined;
860
+ completedTarget?: undefined;
861
+ exactRunResult?: undefined;
862
+ note?: undefined;
863
+ };
864
+ continuation: {
865
+ required: boolean;
866
+ userActionRequired: boolean;
867
+ kind?: undefined;
868
+ owner?: undefined;
869
+ tool?: undefined;
870
+ arguments?: undefined;
871
+ stopCondition?: undefined;
872
+ };
873
+ targetDate: string | null;
874
+ untilDate: string | null;
875
+ horizonSendDays: number | null;
876
+ fillWindow: {
877
+ mode: string;
878
+ targetDate: string;
879
+ description: string;
880
+ untilDate?: undefined;
881
+ horizonSendDays?: undefined;
882
+ horizonHours?: undefined;
883
+ } | {
884
+ mode: string;
885
+ untilDate: string;
886
+ description: string;
887
+ targetDate?: undefined;
888
+ horizonSendDays?: undefined;
889
+ horizonHours?: undefined;
890
+ } | {
891
+ mode: string;
892
+ horizonSendDays: number | null;
893
+ horizonHours: number | null;
894
+ description: string;
895
+ targetDate?: undefined;
896
+ untilDate?: undefined;
897
+ };
898
+ approvalMode: RefillSendsApprovalMode;
899
+ campaignId: string | null;
900
+ tableId: string | null;
901
+ targetConfig: RefillTargetConfigV1 | null;
902
+ runHandle: RefillRunHandleV1 | null;
903
+ reportingContext: RefillReportingContextV2 | null;
904
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
905
+ senderScope: string;
906
+ senderSelectors: {
907
+ senders: string[];
908
+ senderIds: string[];
909
+ senderNames: string[];
910
+ };
911
+ firstOperationalSteps: string[];
912
+ approvalContract: string;
913
+ forbiddenActions: string[];
914
+ hostExamples: {
915
+ claude: string[];
916
+ codex: string[];
917
+ mcpTool: {
918
+ name: string;
919
+ arguments: {
920
+ workspaceCoordinator?: boolean | undefined;
921
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
922
+ reportingContext?: RefillReportingContextV2 | undefined;
923
+ targetConfig?: RefillTargetConfigV1 | undefined;
924
+ runHandle?: RefillRunHandleV1 | undefined;
925
+ fence?: number | undefined;
926
+ runId?: string | undefined;
927
+ expectedActionKey?: string | undefined;
928
+ expectedTargetShapeRevision?: string | undefined;
929
+ targetDate: string | null;
930
+ untilDate: string | null;
931
+ horizonSendDays: number | null;
932
+ campaignId: string | undefined;
933
+ tableId: string | undefined;
934
+ intent: RefillSendsIntent;
935
+ approvalMode: RefillSendsApprovalMode;
936
+ workspaceId: string | null;
937
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
938
+ yolo: boolean;
939
+ senders: string[];
940
+ senderIds: string[];
941
+ senderNames: string[];
942
+ };
943
+ };
944
+ };
945
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
946
+ command: string;
947
+ tool: string;
948
+ promptName: string;
949
+ workflowPromptName: string;
950
+ workflowAsset: {
951
+ subskillName: string;
952
+ assetPath: string;
953
+ };
954
+ yolo: boolean;
955
+ executionMode: RefillSendsExecutionMode;
956
+ workspaceId: string | null;
957
+ workspaceResolution: string;
958
+ intent: RefillSendsIntent;
959
+ } | {
960
+ ok: boolean;
961
+ code: string;
962
+ blocker: string;
963
+ targetPlan: unknown;
964
+ note: string;
965
+ targetDate: string | null;
966
+ untilDate: string | null;
967
+ horizonSendDays: number | null;
968
+ fillWindow: {
969
+ mode: string;
970
+ targetDate: string;
971
+ description: string;
972
+ untilDate?: undefined;
973
+ horizonSendDays?: undefined;
974
+ horizonHours?: undefined;
975
+ } | {
976
+ mode: string;
977
+ untilDate: string;
978
+ description: string;
979
+ targetDate?: undefined;
980
+ horizonSendDays?: undefined;
981
+ horizonHours?: undefined;
982
+ } | {
983
+ mode: string;
984
+ horizonSendDays: number | null;
985
+ horizonHours: number | null;
986
+ description: string;
987
+ targetDate?: undefined;
988
+ untilDate?: undefined;
989
+ };
990
+ approvalMode: RefillSendsApprovalMode;
991
+ campaignId: string | null;
992
+ tableId: string | null;
993
+ targetConfig: RefillTargetConfigV1 | null;
994
+ runHandle: RefillRunHandleV1 | null;
995
+ reportingContext: RefillReportingContextV2 | null;
996
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
997
+ senderScope: string;
998
+ senderSelectors: {
999
+ senders: string[];
1000
+ senderIds: string[];
1001
+ senderNames: string[];
1002
+ };
1003
+ firstOperationalSteps: string[];
1004
+ approvalContract: string;
1005
+ forbiddenActions: string[];
1006
+ hostExamples: {
1007
+ claude: string[];
1008
+ codex: string[];
1009
+ mcpTool: {
1010
+ name: string;
1011
+ arguments: {
1012
+ workspaceCoordinator?: boolean | undefined;
1013
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1014
+ reportingContext?: RefillReportingContextV2 | undefined;
1015
+ targetConfig?: RefillTargetConfigV1 | undefined;
1016
+ runHandle?: RefillRunHandleV1 | undefined;
1017
+ fence?: number | undefined;
1018
+ runId?: string | undefined;
1019
+ expectedActionKey?: string | undefined;
1020
+ expectedTargetShapeRevision?: string | undefined;
1021
+ targetDate: string | null;
1022
+ untilDate: string | null;
1023
+ horizonSendDays: number | null;
1024
+ campaignId: string | undefined;
1025
+ tableId: string | undefined;
1026
+ intent: RefillSendsIntent;
1027
+ approvalMode: RefillSendsApprovalMode;
1028
+ workspaceId: string | null;
1029
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1030
+ yolo: boolean;
1031
+ senders: string[];
1032
+ senderIds: string[];
1033
+ senderNames: string[];
1034
+ };
1035
+ };
1036
+ };
1037
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1038
+ command: string;
1039
+ tool: string;
1040
+ promptName: string;
1041
+ workflowPromptName: string;
1042
+ workflowAsset: {
1043
+ subskillName: string;
1044
+ assetPath: string;
1045
+ };
1046
+ yolo: boolean;
1047
+ executionMode: RefillSendsExecutionMode;
1048
+ workspaceId: string | null;
1049
+ workspaceResolution: string;
1050
+ intent: RefillSendsIntent;
1051
+ } | {
1052
+ targetPlan: unknown;
1053
+ orchestration: {
1054
+ mode: string;
1055
+ scope: string;
1056
+ checkpointedFields: string[];
1057
+ transportBudgetMs: number;
1058
+ };
1059
+ coordinator: {
1060
+ scope: string;
1061
+ status: string;
1062
+ completedTarget: WorkspaceExactTarget | null;
1063
+ workspaceTargetPlan: unknown;
1064
+ exactRunResult: {
1065
+ runSnapshot: unknown;
1066
+ readOnly: boolean;
1067
+ forbiddenActions: string[];
1068
+ boundedAuthority: string;
1069
+ status: "terminal";
1070
+ doneReason: string;
1071
+ report: Record<string, unknown>;
1072
+ runId: string;
1073
+ guidance?: string;
1074
+ journalPath?: string | null;
1075
+ targetConfig?: RefillTargetConfigV1;
1076
+ runHandle?: RefillRunHandleV1;
1077
+ refillReporting?: Record<string, unknown>;
1078
+ blocker?: undefined;
1079
+ conflicts?: undefined;
1080
+ };
1081
+ selectedTarget?: undefined;
1082
+ note?: undefined;
1083
+ };
1084
+ continuation: {
1085
+ required: boolean;
1086
+ userActionRequired: boolean;
1087
+ kind?: undefined;
1088
+ owner?: undefined;
1089
+ tool?: undefined;
1090
+ arguments?: undefined;
1091
+ stopCondition?: undefined;
1092
+ };
1093
+ runSnapshot: unknown;
1094
+ readOnly: boolean;
1095
+ forbiddenActions: string[];
1096
+ boundedAuthority: string;
1097
+ status: "terminal";
1098
+ doneReason: string;
1099
+ report: Record<string, unknown>;
1100
+ runId: string;
1101
+ guidance?: string;
1102
+ journalPath?: string | null;
1103
+ targetConfig: RefillTargetConfigV1 | null;
1104
+ runHandle: RefillRunHandleV1 | null;
1105
+ refillReporting?: Record<string, unknown>;
1106
+ blocker?: undefined;
1107
+ conflicts?: undefined;
1108
+ targetDate: string | null;
1109
+ untilDate: string | null;
1110
+ horizonSendDays: number | null;
1111
+ fillWindow: {
1112
+ mode: string;
1113
+ targetDate: string;
1114
+ description: string;
1115
+ untilDate?: undefined;
1116
+ horizonSendDays?: undefined;
1117
+ horizonHours?: undefined;
1118
+ } | {
1119
+ mode: string;
1120
+ untilDate: string;
1121
+ description: string;
1122
+ targetDate?: undefined;
1123
+ horizonSendDays?: undefined;
1124
+ horizonHours?: undefined;
1125
+ } | {
1126
+ mode: string;
1127
+ horizonSendDays: number | null;
1128
+ horizonHours: number | null;
1129
+ description: string;
1130
+ targetDate?: undefined;
1131
+ untilDate?: undefined;
1132
+ };
1133
+ approvalMode: RefillSendsApprovalMode;
1134
+ campaignId: string | null;
1135
+ tableId: string | null;
1136
+ reportingContext: RefillReportingContextV2 | null;
1137
+ messageTemplateRevision: MessageTemplateRevisionV1 | null;
1138
+ senderScope: string;
1139
+ senderSelectors: {
1140
+ senders: string[];
1141
+ senderIds: string[];
1142
+ senderNames: string[];
1143
+ };
1144
+ firstOperationalSteps: string[];
1145
+ approvalContract: string;
1146
+ hostExamples: {
1147
+ claude: string[];
1148
+ codex: string[];
1149
+ mcpTool: {
1150
+ name: string;
1151
+ arguments: {
1152
+ workspaceCoordinator?: boolean | undefined;
1153
+ messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1154
+ reportingContext?: RefillReportingContextV2 | undefined;
1155
+ targetConfig?: RefillTargetConfigV1 | undefined;
1156
+ runHandle?: RefillRunHandleV1 | undefined;
1157
+ fence?: number | undefined;
1158
+ runId?: string | undefined;
1159
+ expectedActionKey?: string | undefined;
1160
+ expectedTargetShapeRevision?: string | undefined;
1161
+ targetDate: string | null;
1162
+ untilDate: string | null;
1163
+ horizonSendDays: number | null;
1164
+ campaignId: string | undefined;
1165
+ tableId: string | undefined;
1166
+ intent: RefillSendsIntent;
1167
+ approvalMode: RefillSendsApprovalMode;
1168
+ workspaceId: string | null;
1169
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1170
+ yolo: boolean;
1171
+ senders: string[];
1172
+ senderIds: string[];
1173
+ senderNames: string[];
1174
+ };
513
1175
  };
514
- required: never[];
515
- additionalProperties: boolean;
516
1176
  };
517
- }[];
518
- export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
1177
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1178
+ command: string;
1179
+ tool: string;
1180
+ promptName: string;
1181
+ workflowPromptName: string;
1182
+ workflowAsset: {
1183
+ subskillName: string;
1184
+ assetPath: string;
1185
+ };
1186
+ yolo: boolean;
1187
+ executionMode: RefillSendsExecutionMode;
1188
+ workspaceId: string | null;
1189
+ workspaceResolution: string;
1190
+ intent: RefillSendsIntent;
1191
+ } | {
1192
+ ok: boolean;
1193
+ status: "blocked";
1194
+ code: "workspace_exact_target_unavailable" | "exact_target_config_unavailable" | "exact_target_config_mismatch" | "exact_target_projection_mismatch";
1195
+ blocker: "workspace_exact_target_unavailable" | "exact_target_config_unavailable" | "exact_target_config_mismatch" | "exact_target_projection_mismatch";
1196
+ note: string;
1197
+ targetPlan: unknown;
1198
+ exactTargetPlan: {} | null;
1199
+ coordinator: {
1200
+ scope: string;
1201
+ status: string;
1202
+ completedTarget: WorkspaceExactTarget | null;
1203
+ selectedTarget: WorkspaceExactTarget | null;
1204
+ exactRunResult: {
1205
+ runSnapshot: unknown;
1206
+ readOnly: boolean;
1207
+ forbiddenActions: string[];
1208
+ boundedAuthority: string;
1209
+ status: "terminal";
1210
+ doneReason: string;
1211
+ report: Record<string, unknown>;
1212
+ runId: string;
1213
+ guidance?: string;
1214
+ journalPath?: string | null;
1215
+ targetConfig?: RefillTargetConfigV1;
1216
+ runHandle?: RefillRunHandleV1;
1217
+ refillReporting?: Record<string, unknown>;
1218
+ blocker?: undefined;
1219
+ conflicts?: undefined;
1220
+ };
1221
+ workspaceTargetPlan?: undefined;
1222
+ note?: undefined;
1223
+ };
1224
+ continuation: {
1225
+ required: boolean;
1226
+ userActionRequired: boolean;
1227
+ kind?: undefined;
1228
+ owner?: undefined;
1229
+ tool?: undefined;
1230
+ arguments?: undefined;
1231
+ stopCondition?: undefined;
1232
+ };
519
1233
  targetDate: string | null;
520
1234
  untilDate: string | null;
521
1235
  horizonSendDays: number | null;
@@ -563,6 +1277,7 @@ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
563
1277
  mcpTool: {
564
1278
  name: string;
565
1279
  arguments: {
1280
+ workspaceCoordinator?: boolean | undefined;
566
1281
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
567
1282
  reportingContext?: RefillReportingContextV2 | undefined;
568
1283
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -601,36 +1316,64 @@ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
601
1316
  workspaceId: string | null;
602
1317
  workspaceResolution: string;
603
1318
  intent: RefillSendsIntent;
604
- };
605
- type RefillSenderSelectorMatch = {
606
- selector: string;
607
- senderId: string;
608
- displayName: string;
609
- matchType: "id" | "exact_name" | "unambiguous_prefix";
610
- };
611
- type RefillSenderSelectorMiss = {
612
- selector: string;
613
- reason: "no_match" | "ambiguous";
614
- candidates: Array<{
615
- senderId: string;
616
- displayName: string;
617
- }>;
618
- };
619
- export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<import("./workspace-context.js").WorkspaceRequiredResult | {
620
- ok: boolean;
621
- code: string;
622
- senderSelectorResolution: {
623
- ok: false;
624
- code: "sender_selector_unresolved";
625
- workspaceId: string;
626
- unresolvedSelectors: RefillSenderSelectorMiss[];
627
- resolvedSelectors: RefillSenderSelectorMatch[];
628
- availableSenders: Array<{
629
- senderId: string;
630
- displayName: string;
631
- }>;
1319
+ } | {
1320
+ targetPlan: unknown;
1321
+ exactTargetPlan: unknown;
1322
+ orchestration: {
1323
+ mode: string;
1324
+ scope: string;
1325
+ checkpointedFields: string[];
1326
+ transportBudgetMs: number;
632
1327
  };
633
- note: string;
1328
+ coordinator: {
1329
+ scope: string;
1330
+ status: string;
1331
+ completedTarget: WorkspaceExactTarget | null;
1332
+ selectedTarget: WorkspaceExactTarget;
1333
+ workspaceTargetPlan: unknown;
1334
+ exactRunResult: {
1335
+ runSnapshot: unknown;
1336
+ readOnly: boolean;
1337
+ forbiddenActions: string[];
1338
+ boundedAuthority: string;
1339
+ status: "terminal";
1340
+ doneReason: string;
1341
+ report: Record<string, unknown>;
1342
+ runId: string;
1343
+ guidance?: string;
1344
+ journalPath?: string | null;
1345
+ targetConfig?: RefillTargetConfigV1;
1346
+ runHandle?: RefillRunHandleV1;
1347
+ refillReporting?: Record<string, unknown>;
1348
+ blocker?: undefined;
1349
+ conflicts?: undefined;
1350
+ };
1351
+ note: string;
1352
+ };
1353
+ continuation: {
1354
+ required: boolean;
1355
+ userActionRequired: boolean;
1356
+ kind?: undefined;
1357
+ owner?: undefined;
1358
+ tool?: undefined;
1359
+ arguments?: undefined;
1360
+ stopCondition?: undefined;
1361
+ };
1362
+ runSnapshot: unknown;
1363
+ readOnly: boolean;
1364
+ forbiddenActions: string[];
1365
+ boundedAuthority: string;
1366
+ status: "terminal";
1367
+ doneReason: string;
1368
+ report: Record<string, unknown>;
1369
+ runId: string;
1370
+ guidance?: string;
1371
+ journalPath?: string | null;
1372
+ targetConfig: RefillTargetConfigV1 | null;
1373
+ runHandle: RefillRunHandleV1 | null;
1374
+ refillReporting?: Record<string, unknown>;
1375
+ blocker?: undefined;
1376
+ conflicts?: undefined;
634
1377
  targetDate: string | null;
635
1378
  untilDate: string | null;
636
1379
  horizonSendDays: number | null;
@@ -659,8 +1402,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
659
1402
  approvalMode: RefillSendsApprovalMode;
660
1403
  campaignId: string | null;
661
1404
  tableId: string | null;
662
- targetConfig: RefillTargetConfigV1 | null;
663
- runHandle: RefillRunHandleV1 | null;
664
1405
  reportingContext: RefillReportingContextV2 | null;
665
1406
  messageTemplateRevision: MessageTemplateRevisionV1 | null;
666
1407
  senderScope: string;
@@ -671,13 +1412,13 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
671
1412
  };
672
1413
  firstOperationalSteps: string[];
673
1414
  approvalContract: string;
674
- forbiddenActions: string[];
675
1415
  hostExamples: {
676
1416
  claude: string[];
677
1417
  codex: string[];
678
1418
  mcpTool: {
679
1419
  name: string;
680
1420
  arguments: {
1421
+ workspaceCoordinator?: boolean | undefined;
681
1422
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
682
1423
  reportingContext?: RefillReportingContextV2 | undefined;
683
1424
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -717,11 +1458,62 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
717
1458
  workspaceResolution: string;
718
1459
  intent: RefillSendsIntent;
719
1460
  } | {
720
- ok: boolean;
721
- code: string;
722
- blocker: string;
1461
+ status: "in_progress";
723
1462
  targetPlan: unknown;
724
- note: string;
1463
+ exactTargetPlan: unknown;
1464
+ orchestration: {
1465
+ mode: string;
1466
+ scope: string;
1467
+ checkpointedFields: string[];
1468
+ transportBudgetMs: number;
1469
+ };
1470
+ coordinator: {
1471
+ scope: string;
1472
+ status: string;
1473
+ completedTarget: WorkspaceExactTarget | null;
1474
+ selectedTarget: WorkspaceExactTarget;
1475
+ exactRunResult: {
1476
+ runSnapshot: unknown;
1477
+ readOnly: boolean;
1478
+ forbiddenActions: string[];
1479
+ boundedAuthority: string;
1480
+ status: "terminal";
1481
+ doneReason: string;
1482
+ report: Record<string, unknown>;
1483
+ runId: string;
1484
+ guidance?: string;
1485
+ journalPath?: string | null;
1486
+ targetConfig?: RefillTargetConfigV1;
1487
+ runHandle?: RefillRunHandleV1;
1488
+ refillReporting?: Record<string, unknown>;
1489
+ blocker?: undefined;
1490
+ conflicts?: undefined;
1491
+ };
1492
+ workspaceTargetPlan?: undefined;
1493
+ note?: undefined;
1494
+ };
1495
+ continuation: {
1496
+ required: boolean;
1497
+ kind: string;
1498
+ owner: string;
1499
+ userActionRequired: boolean;
1500
+ tool: string;
1501
+ arguments: {
1502
+ targetConfig: RefillTargetConfigV1;
1503
+ workspaceCoordinator?: boolean | undefined;
1504
+ approvalMode: RefillSendsApprovalMode;
1505
+ horizonSendDays?: number | undefined;
1506
+ untilDate?: string | undefined;
1507
+ targetDate?: string | undefined;
1508
+ actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1509
+ yolo: boolean;
1510
+ executionMode: "yolo";
1511
+ requireWorkspace: boolean;
1512
+ workspaceId: string;
1513
+ senderIds: string[];
1514
+ };
1515
+ stopCondition: string;
1516
+ };
725
1517
  targetDate: string | null;
726
1518
  untilDate: string | null;
727
1519
  horizonSendDays: number | null;
@@ -769,6 +1561,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
769
1561
  mcpTool: {
770
1562
  name: string;
771
1563
  arguments: {
1564
+ workspaceCoordinator?: boolean | undefined;
772
1565
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
773
1566
  reportingContext?: RefillReportingContextV2 | undefined;
774
1567
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -808,13 +1601,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
808
1601
  workspaceResolution: string;
809
1602
  intent: RefillSendsIntent;
810
1603
  } | {
811
- orchestration: {
812
- mode: string;
813
- checkpointedFields: string[];
814
- transportBudgetMs: number;
815
- };
816
1604
  continuation: {
817
1605
  required: boolean;
1606
+ kind: string;
818
1607
  owner: string;
819
1608
  userActionRequired: boolean;
820
1609
  tool: string;
@@ -822,19 +1611,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
822
1611
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
823
1612
  reportingContext?: RefillReportingContextV2 | undefined;
824
1613
  targetConfig?: RefillTargetConfigV1 | undefined;
825
- approvalMode: RefillSendsApprovalMode;
826
1614
  runId: string;
827
1615
  fence: number;
828
1616
  runHandle: {
829
1617
  runId: string;
830
1618
  fence: number;
831
1619
  };
1620
+ workspaceCoordinator?: boolean | undefined;
1621
+ approvalMode: RefillSendsApprovalMode;
832
1622
  horizonSendDays?: number | undefined;
833
1623
  untilDate?: string | undefined;
834
1624
  targetDate?: string | undefined;
835
1625
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
836
1626
  yolo: boolean;
837
- executionMode: string;
1627
+ executionMode: "yolo";
838
1628
  requireWorkspace: boolean;
839
1629
  workspaceId: string;
840
1630
  senderIds: string[];
@@ -843,11 +1633,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
843
1633
  } | {
844
1634
  required: boolean;
845
1635
  userActionRequired: boolean;
1636
+ kind?: undefined;
846
1637
  owner?: undefined;
847
1638
  tool?: undefined;
848
1639
  arguments?: undefined;
849
1640
  stopCondition?: undefined;
850
1641
  };
1642
+ coordinator?: {
1643
+ workspaceTargetPlan?: unknown;
1644
+ exactTargetPlan?: unknown;
1645
+ scope: string;
1646
+ status: string | undefined;
1647
+ selectedTarget: WorkspaceExactTarget | null;
1648
+ completedTarget?: undefined;
1649
+ exactRunResult?: undefined;
1650
+ note?: undefined;
1651
+ } | undefined;
1652
+ orchestration: {
1653
+ checkpointedFields: string[];
1654
+ transportBudgetMs: number;
1655
+ scope?: string | undefined;
1656
+ mode: string;
1657
+ };
851
1658
  status: "blocked";
852
1659
  blocker: string;
853
1660
  guidance: string;
@@ -902,6 +1709,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
902
1709
  mcpTool: {
903
1710
  name: string;
904
1711
  arguments: {
1712
+ workspaceCoordinator?: boolean | undefined;
905
1713
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
906
1714
  reportingContext?: RefillReportingContextV2 | undefined;
907
1715
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -941,13 +1749,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
941
1749
  workspaceResolution: string;
942
1750
  intent: RefillSendsIntent;
943
1751
  } | {
944
- orchestration: {
945
- mode: string;
946
- checkpointedFields: string[];
947
- transportBudgetMs: number;
948
- };
949
1752
  continuation: {
950
1753
  required: boolean;
1754
+ kind: string;
951
1755
  owner: string;
952
1756
  userActionRequired: boolean;
953
1757
  tool: string;
@@ -955,19 +1759,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
955
1759
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
956
1760
  reportingContext?: RefillReportingContextV2 | undefined;
957
1761
  targetConfig?: RefillTargetConfigV1 | undefined;
958
- approvalMode: RefillSendsApprovalMode;
959
1762
  runId: string;
960
1763
  fence: number;
961
1764
  runHandle: {
962
1765
  runId: string;
963
1766
  fence: number;
964
1767
  };
1768
+ workspaceCoordinator?: boolean | undefined;
1769
+ approvalMode: RefillSendsApprovalMode;
965
1770
  horizonSendDays?: number | undefined;
966
1771
  untilDate?: string | undefined;
967
1772
  targetDate?: string | undefined;
968
1773
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
969
1774
  yolo: boolean;
970
- executionMode: string;
1775
+ executionMode: "yolo";
971
1776
  requireWorkspace: boolean;
972
1777
  workspaceId: string;
973
1778
  senderIds: string[];
@@ -976,11 +1781,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
976
1781
  } | {
977
1782
  required: boolean;
978
1783
  userActionRequired: boolean;
1784
+ kind?: undefined;
979
1785
  owner?: undefined;
980
1786
  tool?: undefined;
981
1787
  arguments?: undefined;
982
1788
  stopCondition?: undefined;
983
1789
  };
1790
+ coordinator?: {
1791
+ workspaceTargetPlan?: unknown;
1792
+ exactTargetPlan?: unknown;
1793
+ scope: string;
1794
+ status: string | undefined;
1795
+ selectedTarget: WorkspaceExactTarget | null;
1796
+ completedTarget?: undefined;
1797
+ exactRunResult?: undefined;
1798
+ note?: undefined;
1799
+ } | undefined;
1800
+ orchestration: {
1801
+ checkpointedFields: string[];
1802
+ transportBudgetMs: number;
1803
+ scope?: string | undefined;
1804
+ mode: string;
1805
+ };
984
1806
  readOnly: boolean;
985
1807
  mode: string;
986
1808
  forbiddenActions: string[];
@@ -1041,6 +1863,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1041
1863
  mcpTool: {
1042
1864
  name: string;
1043
1865
  arguments: {
1866
+ workspaceCoordinator?: boolean | undefined;
1044
1867
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1045
1868
  reportingContext?: RefillReportingContextV2 | undefined;
1046
1869
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1078,13 +1901,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1078
1901
  executionMode: RefillSendsExecutionMode;
1079
1902
  intent: RefillSendsIntent;
1080
1903
  } | {
1081
- orchestration: {
1082
- mode: string;
1083
- checkpointedFields: string[];
1084
- transportBudgetMs: number;
1085
- };
1086
1904
  continuation: {
1087
1905
  required: boolean;
1906
+ kind: string;
1088
1907
  owner: string;
1089
1908
  userActionRequired: boolean;
1090
1909
  tool: string;
@@ -1092,19 +1911,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1092
1911
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1093
1912
  reportingContext?: RefillReportingContextV2 | undefined;
1094
1913
  targetConfig?: RefillTargetConfigV1 | undefined;
1095
- approvalMode: RefillSendsApprovalMode;
1096
1914
  runId: string;
1097
1915
  fence: number;
1098
1916
  runHandle: {
1099
1917
  runId: string;
1100
1918
  fence: number;
1101
1919
  };
1920
+ workspaceCoordinator?: boolean | undefined;
1921
+ approvalMode: RefillSendsApprovalMode;
1102
1922
  horizonSendDays?: number | undefined;
1103
1923
  untilDate?: string | undefined;
1104
1924
  targetDate?: string | undefined;
1105
1925
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1106
1926
  yolo: boolean;
1107
- executionMode: string;
1927
+ executionMode: "yolo";
1108
1928
  requireWorkspace: boolean;
1109
1929
  workspaceId: string;
1110
1930
  senderIds: string[];
@@ -1113,11 +1933,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1113
1933
  } | {
1114
1934
  required: boolean;
1115
1935
  userActionRequired: boolean;
1936
+ kind?: undefined;
1116
1937
  owner?: undefined;
1117
1938
  tool?: undefined;
1118
1939
  arguments?: undefined;
1119
1940
  stopCondition?: undefined;
1120
1941
  };
1942
+ coordinator?: {
1943
+ workspaceTargetPlan?: unknown;
1944
+ exactTargetPlan?: unknown;
1945
+ scope: string;
1946
+ status: string | undefined;
1947
+ selectedTarget: WorkspaceExactTarget | null;
1948
+ completedTarget?: undefined;
1949
+ exactRunResult?: undefined;
1950
+ note?: undefined;
1951
+ } | undefined;
1952
+ orchestration: {
1953
+ checkpointedFields: string[];
1954
+ transportBudgetMs: number;
1955
+ scope?: string | undefined;
1956
+ mode: string;
1957
+ };
1121
1958
  readOnly: boolean;
1122
1959
  mode: string;
1123
1960
  forbiddenActions: string[];
@@ -1178,6 +2015,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1178
2015
  mcpTool: {
1179
2016
  name: string;
1180
2017
  arguments: {
2018
+ workspaceCoordinator?: boolean | undefined;
1181
2019
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1182
2020
  reportingContext?: RefillReportingContextV2 | undefined;
1183
2021
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1215,13 +2053,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1215
2053
  executionMode: RefillSendsExecutionMode;
1216
2054
  intent: RefillSendsIntent;
1217
2055
  } | {
1218
- orchestration: {
1219
- mode: string;
1220
- checkpointedFields: string[];
1221
- transportBudgetMs: number;
1222
- };
1223
2056
  continuation: {
1224
2057
  required: boolean;
2058
+ kind: string;
1225
2059
  owner: string;
1226
2060
  userActionRequired: boolean;
1227
2061
  tool: string;
@@ -1229,19 +2063,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1229
2063
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1230
2064
  reportingContext?: RefillReportingContextV2 | undefined;
1231
2065
  targetConfig?: RefillTargetConfigV1 | undefined;
1232
- approvalMode: RefillSendsApprovalMode;
1233
2066
  runId: string;
1234
2067
  fence: number;
1235
2068
  runHandle: {
1236
2069
  runId: string;
1237
2070
  fence: number;
1238
2071
  };
2072
+ workspaceCoordinator?: boolean | undefined;
2073
+ approvalMode: RefillSendsApprovalMode;
1239
2074
  horizonSendDays?: number | undefined;
1240
2075
  untilDate?: string | undefined;
1241
2076
  targetDate?: string | undefined;
1242
2077
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1243
2078
  yolo: boolean;
1244
- executionMode: string;
2079
+ executionMode: "yolo";
1245
2080
  requireWorkspace: boolean;
1246
2081
  workspaceId: string;
1247
2082
  senderIds: string[];
@@ -1250,11 +2085,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1250
2085
  } | {
1251
2086
  required: boolean;
1252
2087
  userActionRequired: boolean;
2088
+ kind?: undefined;
1253
2089
  owner?: undefined;
1254
2090
  tool?: undefined;
1255
2091
  arguments?: undefined;
1256
2092
  stopCondition?: undefined;
1257
2093
  };
2094
+ coordinator?: {
2095
+ workspaceTargetPlan?: unknown;
2096
+ exactTargetPlan?: unknown;
2097
+ scope: string;
2098
+ status: string | undefined;
2099
+ selectedTarget: WorkspaceExactTarget | null;
2100
+ completedTarget?: undefined;
2101
+ exactRunResult?: undefined;
2102
+ note?: undefined;
2103
+ } | undefined;
2104
+ orchestration: {
2105
+ checkpointedFields: string[];
2106
+ transportBudgetMs: number;
2107
+ scope?: string | undefined;
2108
+ mode: string;
2109
+ };
1258
2110
  runSnapshot: unknown;
1259
2111
  readOnly: boolean;
1260
2112
  forbiddenActions: string[];
@@ -1311,6 +2163,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1311
2163
  mcpTool: {
1312
2164
  name: string;
1313
2165
  arguments: {
2166
+ workspaceCoordinator?: boolean | undefined;
1314
2167
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1315
2168
  reportingContext?: RefillReportingContextV2 | undefined;
1316
2169
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1350,13 +2203,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1350
2203
  workspaceResolution: string;
1351
2204
  intent: RefillSendsIntent;
1352
2205
  } | {
1353
- orchestration: {
1354
- mode: string;
1355
- checkpointedFields: string[];
1356
- transportBudgetMs: number;
1357
- };
1358
2206
  continuation: {
1359
2207
  required: boolean;
2208
+ kind: string;
1360
2209
  owner: string;
1361
2210
  userActionRequired: boolean;
1362
2211
  tool: string;
@@ -1364,19 +2213,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1364
2213
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1365
2214
  reportingContext?: RefillReportingContextV2 | undefined;
1366
2215
  targetConfig?: RefillTargetConfigV1 | undefined;
1367
- approvalMode: RefillSendsApprovalMode;
1368
2216
  runId: string;
1369
2217
  fence: number;
1370
2218
  runHandle: {
1371
2219
  runId: string;
1372
2220
  fence: number;
1373
2221
  };
2222
+ workspaceCoordinator?: boolean | undefined;
2223
+ approvalMode: RefillSendsApprovalMode;
1374
2224
  horizonSendDays?: number | undefined;
1375
2225
  untilDate?: string | undefined;
1376
2226
  targetDate?: string | undefined;
1377
2227
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1378
2228
  yolo: boolean;
1379
- executionMode: string;
2229
+ executionMode: "yolo";
1380
2230
  requireWorkspace: boolean;
1381
2231
  workspaceId: string;
1382
2232
  senderIds: string[];
@@ -1385,11 +2235,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1385
2235
  } | {
1386
2236
  required: boolean;
1387
2237
  userActionRequired: boolean;
2238
+ kind?: undefined;
1388
2239
  owner?: undefined;
1389
2240
  tool?: undefined;
1390
2241
  arguments?: undefined;
1391
2242
  stopCondition?: undefined;
1392
2243
  };
2244
+ coordinator?: {
2245
+ workspaceTargetPlan?: unknown;
2246
+ exactTargetPlan?: unknown;
2247
+ scope: string;
2248
+ status: string | undefined;
2249
+ selectedTarget: WorkspaceExactTarget | null;
2250
+ completedTarget?: undefined;
2251
+ exactRunResult?: undefined;
2252
+ note?: undefined;
2253
+ } | undefined;
2254
+ orchestration: {
2255
+ checkpointedFields: string[];
2256
+ transportBudgetMs: number;
2257
+ scope?: string | undefined;
2258
+ mode: string;
2259
+ };
1393
2260
  runSnapshot: unknown;
1394
2261
  readOnly: boolean;
1395
2262
  forbiddenActions: string[];
@@ -1449,6 +2316,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1449
2316
  mcpTool: {
1450
2317
  name: string;
1451
2318
  arguments: {
2319
+ workspaceCoordinator?: boolean | undefined;
1452
2320
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1453
2321
  reportingContext?: RefillReportingContextV2 | undefined;
1454
2322
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1488,13 +2356,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1488
2356
  workspaceResolution: string;
1489
2357
  intent: RefillSendsIntent;
1490
2358
  } | {
1491
- orchestration: {
1492
- mode: string;
1493
- checkpointedFields: string[];
1494
- transportBudgetMs: number;
1495
- };
1496
2359
  continuation: {
1497
2360
  required: boolean;
2361
+ kind: string;
1498
2362
  owner: string;
1499
2363
  userActionRequired: boolean;
1500
2364
  tool: string;
@@ -1502,19 +2366,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1502
2366
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1503
2367
  reportingContext?: RefillReportingContextV2 | undefined;
1504
2368
  targetConfig?: RefillTargetConfigV1 | undefined;
1505
- approvalMode: RefillSendsApprovalMode;
1506
2369
  runId: string;
1507
2370
  fence: number;
1508
2371
  runHandle: {
1509
2372
  runId: string;
1510
2373
  fence: number;
1511
2374
  };
2375
+ workspaceCoordinator?: boolean | undefined;
2376
+ approvalMode: RefillSendsApprovalMode;
1512
2377
  horizonSendDays?: number | undefined;
1513
2378
  untilDate?: string | undefined;
1514
2379
  targetDate?: string | undefined;
1515
2380
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1516
2381
  yolo: boolean;
1517
- executionMode: string;
2382
+ executionMode: "yolo";
1518
2383
  requireWorkspace: boolean;
1519
2384
  workspaceId: string;
1520
2385
  senderIds: string[];
@@ -1523,11 +2388,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1523
2388
  } | {
1524
2389
  required: boolean;
1525
2390
  userActionRequired: boolean;
2391
+ kind?: undefined;
1526
2392
  owner?: undefined;
1527
2393
  tool?: undefined;
1528
2394
  arguments?: undefined;
1529
2395
  stopCondition?: undefined;
1530
2396
  };
2397
+ coordinator?: {
2398
+ workspaceTargetPlan?: unknown;
2399
+ exactTargetPlan?: unknown;
2400
+ scope: string;
2401
+ status: string | undefined;
2402
+ selectedTarget: WorkspaceExactTarget | null;
2403
+ completedTarget?: undefined;
2404
+ exactRunResult?: undefined;
2405
+ note?: undefined;
2406
+ } | undefined;
2407
+ orchestration: {
2408
+ checkpointedFields: string[];
2409
+ transportBudgetMs: number;
2410
+ scope?: string | undefined;
2411
+ mode: string;
2412
+ };
1531
2413
  runSnapshot: unknown;
1532
2414
  readOnly: boolean;
1533
2415
  forbiddenActions: string[];
@@ -1589,6 +2471,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1589
2471
  mcpTool: {
1590
2472
  name: string;
1591
2473
  arguments: {
2474
+ workspaceCoordinator?: boolean | undefined;
1592
2475
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1593
2476
  reportingContext?: RefillReportingContextV2 | undefined;
1594
2477
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1628,13 +2511,9 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1628
2511
  workspaceResolution: string;
1629
2512
  intent: RefillSendsIntent;
1630
2513
  } | {
1631
- orchestration: {
1632
- mode: string;
1633
- checkpointedFields: string[];
1634
- transportBudgetMs: number;
1635
- };
1636
2514
  continuation: {
1637
2515
  required: boolean;
2516
+ kind: string;
1638
2517
  owner: string;
1639
2518
  userActionRequired: boolean;
1640
2519
  tool: string;
@@ -1642,19 +2521,20 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1642
2521
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1643
2522
  reportingContext?: RefillReportingContextV2 | undefined;
1644
2523
  targetConfig?: RefillTargetConfigV1 | undefined;
1645
- approvalMode: RefillSendsApprovalMode;
1646
2524
  runId: string;
1647
2525
  fence: number;
1648
2526
  runHandle: {
1649
2527
  runId: string;
1650
2528
  fence: number;
1651
2529
  };
2530
+ workspaceCoordinator?: boolean | undefined;
2531
+ approvalMode: RefillSendsApprovalMode;
1652
2532
  horizonSendDays?: number | undefined;
1653
2533
  untilDate?: string | undefined;
1654
2534
  targetDate?: string | undefined;
1655
2535
  actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
1656
2536
  yolo: boolean;
1657
- executionMode: string;
2537
+ executionMode: "yolo";
1658
2538
  requireWorkspace: boolean;
1659
2539
  workspaceId: string;
1660
2540
  senderIds: string[];
@@ -1663,11 +2543,28 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1663
2543
  } | {
1664
2544
  required: boolean;
1665
2545
  userActionRequired: boolean;
2546
+ kind?: undefined;
1666
2547
  owner?: undefined;
1667
2548
  tool?: undefined;
1668
2549
  arguments?: undefined;
1669
2550
  stopCondition?: undefined;
1670
2551
  };
2552
+ coordinator?: {
2553
+ workspaceTargetPlan?: unknown;
2554
+ exactTargetPlan?: unknown;
2555
+ scope: string;
2556
+ status: string | undefined;
2557
+ selectedTarget: WorkspaceExactTarget | null;
2558
+ completedTarget?: undefined;
2559
+ exactRunResult?: undefined;
2560
+ note?: undefined;
2561
+ } | undefined;
2562
+ orchestration: {
2563
+ checkpointedFields: string[];
2564
+ transportBudgetMs: number;
2565
+ scope?: string | undefined;
2566
+ mode: string;
2567
+ };
1671
2568
  runSnapshot: unknown;
1672
2569
  readOnly: boolean;
1673
2570
  forbiddenActions: string[];
@@ -1727,6 +2624,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1727
2624
  mcpTool: {
1728
2625
  name: string;
1729
2626
  arguments: {
2627
+ workspaceCoordinator?: boolean | undefined;
1730
2628
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1731
2629
  reportingContext?: RefillReportingContextV2 | undefined;
1732
2630
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1832,6 +2730,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1832
2730
  mcpTool: {
1833
2731
  name: string;
1834
2732
  arguments: {
2733
+ workspaceCoordinator?: boolean | undefined;
1835
2734
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1836
2735
  reportingContext?: RefillReportingContextV2 | undefined;
1837
2736
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -1950,6 +2849,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
1950
2849
  mcpTool: {
1951
2850
  name: string;
1952
2851
  arguments: {
2852
+ workspaceCoordinator?: boolean | undefined;
1953
2853
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
1954
2854
  reportingContext?: RefillReportingContextV2 | undefined;
1955
2855
  targetConfig?: RefillTargetConfigV1 | undefined;
@@ -2155,6 +3055,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
2155
3055
  mcpTool: {
2156
3056
  name: string;
2157
3057
  arguments: {
3058
+ workspaceCoordinator?: boolean | undefined;
2158
3059
  messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
2159
3060
  reportingContext?: RefillReportingContextV2 | undefined;
2160
3061
  targetConfig?: RefillTargetConfigV1 | undefined;