@treeseed/sdk 0.13.0-rc.52 → 0.13.0-rc.54

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 (25) hide show
  1. package/README.md +4 -0
  2. package/dist/agent-capacity/authority/agent-authority-presets.js +2 -1
  3. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +2 -2
  4. package/dist/capacity-provider/client.d.ts +15 -0
  5. package/dist/capacity-provider/client.js +6 -0
  6. package/dist/content/validation/agent-operational-content-schemas.d.ts +14 -14
  7. package/dist/content/validation/auxiliary-content-schemas.d.ts +4 -4
  8. package/dist/content/validation/content-model-schemas.d.ts +28 -28
  9. package/dist/content/validation/portable-content-data.d.ts +5 -5
  10. package/dist/deployment/schemas.js +1 -1
  11. package/dist/operator-contracts/canonical-command-tree.js +26 -5
  12. package/dist/operator-contracts/catalog/communication-operations.d.ts +286 -19
  13. package/dist/operator-contracts/catalog/communication-operations.js +56 -2
  14. package/dist/operator-contracts/catalog/inbox-operations.d.ts +261 -0
  15. package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
  16. package/dist/operator-contracts/communication/contracts.d.ts +1223 -33
  17. package/dist/operator-contracts/communication/contracts.js +99 -7
  18. package/dist/operator-contracts/control-plane-operations.d.ts +577 -51
  19. package/dist/operator-contracts/control-plane-operations.js +4 -1
  20. package/dist/operator-contracts/inbox/contracts.d.ts +1099 -0
  21. package/dist/operator-contracts/inbox/contracts.js +134 -0
  22. package/dist/operator-contracts/index.d.ts +1 -0
  23. package/dist/operator-contracts/index.js +1 -0
  24. package/dist/operator-contracts/mcp.js +1 -1
  25. package/package.json +1 -1
@@ -1,5 +1,266 @@
1
1
  import { type ControlPlaneOperationBinding, type ControlPlaneOperationDescriptor } from './control-plane-operation.js';
2
2
  export declare const CONTROL_PLANE_OPERATIONS: {
3
+ readonly inbox: {
4
+ list: ControlPlaneOperationBinding<{
5
+ teamId: string;
6
+ }, {
7
+ kind?: "all" | "proposal" | "question" | undefined;
8
+ projectId?: string | undefined;
9
+ state?: "all" | "outstanding" | undefined;
10
+ cursor?: string | undefined;
11
+ limit?: number | undefined;
12
+ }, undefined, {
13
+ schemaVersion: "treeseed.inbox-page/v1";
14
+ items: {
15
+ status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
16
+ kind: "proposal" | "question";
17
+ id: string;
18
+ projectId: string;
19
+ createdAt: string;
20
+ version: number;
21
+ teamId: string;
22
+ projectSlug: string;
23
+ updatedAt: string;
24
+ authorId: string;
25
+ authorLabel: string;
26
+ title: string;
27
+ etag: string;
28
+ }[];
29
+ cursor: string | null;
30
+ }>;
31
+ show: ControlPlaneOperationBinding<{
32
+ teamId: string;
33
+ itemId: string;
34
+ }, {}, undefined, {
35
+ status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
36
+ kind: "proposal" | "question";
37
+ id: string;
38
+ schemaVersion: "treeseed.inbox-item/v1";
39
+ projectId: string;
40
+ createdAt: string;
41
+ provenance: {
42
+ digest: string | null;
43
+ repositoryId: string | null;
44
+ contentPath: string | null;
45
+ commitSha: string | null;
46
+ };
47
+ version: number;
48
+ teamId: string;
49
+ projectSlug: string;
50
+ updatedAt: string;
51
+ markdown: string;
52
+ discussionId: string | null;
53
+ authorId: string;
54
+ authorLabel: string;
55
+ title: string;
56
+ availableActions: {
57
+ reason: string | null;
58
+ enabled: boolean;
59
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
60
+ confirmation: "never" | "input_required";
61
+ label: string;
62
+ requiresFeedback: boolean;
63
+ }[];
64
+ comments: {
65
+ kind: "comment" | "answer" | "reply";
66
+ id: string;
67
+ createdAt: string;
68
+ provenance: {
69
+ digest: string | null;
70
+ repositoryId: string | null;
71
+ contentPath: string | null;
72
+ commitSha: string | null;
73
+ };
74
+ markdown: string;
75
+ parentId: string | null;
76
+ authorId: string;
77
+ authorLabel: string;
78
+ }[];
79
+ etag: string;
80
+ }>;
81
+ events: ControlPlaneOperationBinding<{
82
+ teamId: string;
83
+ }, {
84
+ limit?: number | undefined;
85
+ after?: string | undefined;
86
+ waitSeconds?: number | undefined;
87
+ }, undefined, {
88
+ cursor: string;
89
+ events: {
90
+ type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
91
+ id: string;
92
+ schemaVersion: "treeseed.inbox-event/v1";
93
+ summary: string;
94
+ teamId: string;
95
+ sequence: string;
96
+ occurredAt: string;
97
+ payload: Record<string, unknown>;
98
+ itemId: string | null;
99
+ actorId: string;
100
+ }[];
101
+ }>;
102
+ createQuestion: ControlPlaneOperationBinding<{
103
+ teamId: string;
104
+ }, {}, {
105
+ projectId: string;
106
+ markdown: string;
107
+ title: string;
108
+ recipients?: string[] | undefined;
109
+ relatedObjectives?: string[] | undefined;
110
+ }, {
111
+ schemaVersion: "treeseed.inbox-mutation-receipt/v1";
112
+ replayed: boolean;
113
+ item: {
114
+ status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
115
+ kind: "proposal" | "question";
116
+ id: string;
117
+ schemaVersion: "treeseed.inbox-item/v1";
118
+ projectId: string;
119
+ createdAt: string;
120
+ provenance: {
121
+ digest: string | null;
122
+ repositoryId: string | null;
123
+ contentPath: string | null;
124
+ commitSha: string | null;
125
+ };
126
+ version: number;
127
+ teamId: string;
128
+ projectSlug: string;
129
+ updatedAt: string;
130
+ markdown: string;
131
+ discussionId: string | null;
132
+ authorId: string;
133
+ authorLabel: string;
134
+ title: string;
135
+ availableActions: {
136
+ reason: string | null;
137
+ enabled: boolean;
138
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
139
+ confirmation: "never" | "input_required";
140
+ label: string;
141
+ requiresFeedback: boolean;
142
+ }[];
143
+ comments: {
144
+ kind: "comment" | "answer" | "reply";
145
+ id: string;
146
+ createdAt: string;
147
+ provenance: {
148
+ digest: string | null;
149
+ repositoryId: string | null;
150
+ contentPath: string | null;
151
+ commitSha: string | null;
152
+ };
153
+ markdown: string;
154
+ parentId: string | null;
155
+ authorId: string;
156
+ authorLabel: string;
157
+ }[];
158
+ etag: string;
159
+ };
160
+ action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
161
+ receipts?: Record<string, unknown>[] | undefined;
162
+ }>;
163
+ getDraft: ControlPlaneOperationBinding<{
164
+ teamId: string;
165
+ itemId: string;
166
+ purpose: "feedback" | "proposal_revision";
167
+ }, {}, undefined, {
168
+ schemaVersion: "treeseed.inbox-draft/v1";
169
+ revision: number;
170
+ updatedAt: string;
171
+ markdown: string;
172
+ etag: string;
173
+ itemId: string;
174
+ purpose: "feedback" | "proposal_revision";
175
+ baseVersion: number;
176
+ } | null>;
177
+ putDraft: ControlPlaneOperationBinding<{
178
+ teamId: string;
179
+ itemId: string;
180
+ purpose: "feedback" | "proposal_revision";
181
+ }, {}, {
182
+ markdown: string;
183
+ baseVersion: number;
184
+ }, {
185
+ schemaVersion: "treeseed.inbox-draft/v1";
186
+ revision: number;
187
+ updatedAt: string;
188
+ markdown: string;
189
+ etag: string;
190
+ itemId: string;
191
+ purpose: "feedback" | "proposal_revision";
192
+ baseVersion: number;
193
+ }>;
194
+ deleteDraft: ControlPlaneOperationBinding<{
195
+ teamId: string;
196
+ itemId: string;
197
+ purpose: "feedback" | "proposal_revision";
198
+ }, {}, {}, {
199
+ deleted: boolean;
200
+ }>;
201
+ action: ControlPlaneOperationBinding<{
202
+ teamId: string;
203
+ itemId: string;
204
+ }, {}, {
205
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
206
+ markdown?: string | undefined;
207
+ parentId?: string | undefined;
208
+ changeReason?: string | undefined;
209
+ draftRevision?: number | undefined;
210
+ }, {
211
+ schemaVersion: "treeseed.inbox-mutation-receipt/v1";
212
+ replayed: boolean;
213
+ item: {
214
+ status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
215
+ kind: "proposal" | "question";
216
+ id: string;
217
+ schemaVersion: "treeseed.inbox-item/v1";
218
+ projectId: string;
219
+ createdAt: string;
220
+ provenance: {
221
+ digest: string | null;
222
+ repositoryId: string | null;
223
+ contentPath: string | null;
224
+ commitSha: string | null;
225
+ };
226
+ version: number;
227
+ teamId: string;
228
+ projectSlug: string;
229
+ updatedAt: string;
230
+ markdown: string;
231
+ discussionId: string | null;
232
+ authorId: string;
233
+ authorLabel: string;
234
+ title: string;
235
+ availableActions: {
236
+ reason: string | null;
237
+ enabled: boolean;
238
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
239
+ confirmation: "never" | "input_required";
240
+ label: string;
241
+ requiresFeedback: boolean;
242
+ }[];
243
+ comments: {
244
+ kind: "comment" | "answer" | "reply";
245
+ id: string;
246
+ createdAt: string;
247
+ provenance: {
248
+ digest: string | null;
249
+ repositoryId: string | null;
250
+ contentPath: string | null;
251
+ commitSha: string | null;
252
+ };
253
+ markdown: string;
254
+ parentId: string | null;
255
+ authorId: string;
256
+ authorLabel: string;
257
+ }[];
258
+ etag: string;
259
+ };
260
+ action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
261
+ receipts?: Record<string, unknown>[] | undefined;
262
+ }>;
263
+ };
3
264
  readonly treeai: Readonly<Record<string, ControlPlaneOperationBinding<any, any, any, any>>>;
4
265
  readonly status: {
5
266
  readonly show: ControlPlaneOperationBinding<{}, {}, undefined, Record<string, unknown>>;
@@ -499,12 +760,11 @@ export declare const CONTROL_PLANE_OPERATIONS: {
499
760
  channel: string;
500
761
  }, {}, {
501
762
  message: string;
502
- projectId: string;
503
763
  timeoutSeconds?: number | undefined;
504
764
  recipients?: string[] | undefined;
505
765
  }, {
506
766
  status: "failed" | "running" | "partial" | "complete" | "queued";
507
- schemaVersion: "treeseed.communication-send-receipt/v2";
767
+ schemaVersion: "treeseed.communication-send-receipt/v4";
508
768
  targets: {
509
769
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
510
770
  projectId: string;
@@ -523,6 +783,28 @@ export declare const CONTROL_PLANE_OPERATIONS: {
523
783
  returnedAt: string | null;
524
784
  failedAt: string | null;
525
785
  };
786
+ diagnostics: {
787
+ resources: Record<string, unknown>;
788
+ reason: string | null;
789
+ provider: {
790
+ providerId: string | null;
791
+ executionProviderId: string | null;
792
+ runtimeVersion: string | null;
793
+ };
794
+ selection: {
795
+ parameters: Record<string, unknown>;
796
+ capabilities: string[];
797
+ model: string | null;
798
+ };
799
+ usage: Record<string, unknown>[];
800
+ availability: "available" | "unavailable" | "partial";
801
+ identityManifest: Record<string, unknown>;
802
+ contextManifest: Record<string, unknown>[];
803
+ timing: Record<string, unknown>;
804
+ traceEvents: Record<string, unknown>[];
805
+ fullPayload?: Record<string, unknown> | undefined;
806
+ };
807
+ invocationId: string | null;
526
808
  projectSlug: string;
527
809
  definitionRevision: string;
528
810
  revisions: {
@@ -531,7 +813,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
531
813
  agentDefinition: string;
532
814
  chatProfile: string;
533
815
  };
534
- invocationId: string | null;
535
816
  requirement: "required" | "optional";
536
817
  parentInvocationId: string | null;
537
818
  depth: number;
@@ -541,6 +822,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
541
822
  code: string;
542
823
  message: string | null;
543
824
  } | null;
825
+ acknowledgedAt: string | null;
826
+ leaseAcceptedAt: string | null;
544
827
  }[];
545
828
  createdAt: string;
546
829
  responses: {
@@ -550,34 +833,55 @@ export declare const CONTROL_PLANE_OPERATIONS: {
550
833
  agentSlug: string;
551
834
  assignmentId: string | null;
552
835
  invocationId: string;
836
+ projectSlug: string;
553
837
  requirement: "required" | "optional";
554
838
  messageRef: string;
555
839
  markdown: string;
556
840
  }[];
557
841
  teamId: string;
558
842
  channel: string;
559
- updatedAt: string;
560
- messageRef: string;
561
- sendId: string;
562
843
  topic: {
563
844
  id: string;
564
845
  slug: string;
565
846
  };
566
- projectStream: {
847
+ events: {
848
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
849
+ id: string;
850
+ actor: {
851
+ kind: "control-plane" | "provider" | "agent" | "user";
852
+ id: string;
853
+ handle: string | null;
854
+ };
855
+ summary: string;
856
+ teamId: string;
857
+ channel: string;
858
+ assignmentId: string | null;
859
+ sequence: number;
860
+ topicId: string;
861
+ occurredAt: string;
862
+ sendId: string | null;
863
+ invocationId: string | null;
864
+ payload: Record<string, unknown>;
865
+ }[];
866
+ sendId: string;
867
+ updatedAt: string;
868
+ projectStreams: {
567
869
  id: string;
568
870
  projectId: string;
569
871
  projectSlug: string;
570
- };
571
- discussionId: string;
572
- sourceMessage: string;
872
+ messageRef: string;
873
+ discussionId: string;
874
+ }[];
573
875
  replayed: boolean;
574
876
  }>;
575
877
  readonly sendStatus: ControlPlaneOperationBinding<{
576
878
  teamId: string;
577
879
  sendId: string;
578
- }, {}, undefined, {
880
+ }, {
881
+ diagnostics?: "metadata" | "full" | undefined;
882
+ }, undefined, {
579
883
  status: "failed" | "running" | "partial" | "complete" | "queued";
580
- schemaVersion: "treeseed.communication-send-receipt/v2";
884
+ schemaVersion: "treeseed.communication-send-receipt/v4";
581
885
  targets: {
582
886
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
583
887
  projectId: string;
@@ -596,6 +900,28 @@ export declare const CONTROL_PLANE_OPERATIONS: {
596
900
  returnedAt: string | null;
597
901
  failedAt: string | null;
598
902
  };
903
+ diagnostics: {
904
+ resources: Record<string, unknown>;
905
+ reason: string | null;
906
+ provider: {
907
+ providerId: string | null;
908
+ executionProviderId: string | null;
909
+ runtimeVersion: string | null;
910
+ };
911
+ selection: {
912
+ parameters: Record<string, unknown>;
913
+ capabilities: string[];
914
+ model: string | null;
915
+ };
916
+ usage: Record<string, unknown>[];
917
+ availability: "available" | "unavailable" | "partial";
918
+ identityManifest: Record<string, unknown>;
919
+ contextManifest: Record<string, unknown>[];
920
+ timing: Record<string, unknown>;
921
+ traceEvents: Record<string, unknown>[];
922
+ fullPayload?: Record<string, unknown> | undefined;
923
+ };
924
+ invocationId: string | null;
599
925
  projectSlug: string;
600
926
  definitionRevision: string;
601
927
  revisions: {
@@ -604,7 +930,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
604
930
  agentDefinition: string;
605
931
  chatProfile: string;
606
932
  };
607
- invocationId: string | null;
608
933
  requirement: "required" | "optional";
609
934
  parentInvocationId: string | null;
610
935
  depth: number;
@@ -614,6 +939,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
614
939
  code: string;
615
940
  message: string | null;
616
941
  } | null;
942
+ acknowledgedAt: string | null;
943
+ leaseAcceptedAt: string | null;
617
944
  }[];
618
945
  createdAt: string;
619
946
  responses: {
@@ -623,27 +950,198 @@ export declare const CONTROL_PLANE_OPERATIONS: {
623
950
  agentSlug: string;
624
951
  assignmentId: string | null;
625
952
  invocationId: string;
953
+ projectSlug: string;
626
954
  requirement: "required" | "optional";
627
955
  messageRef: string;
628
956
  markdown: string;
629
957
  }[];
630
958
  teamId: string;
631
959
  channel: string;
632
- updatedAt: string;
633
- messageRef: string;
960
+ topic: {
961
+ id: string;
962
+ slug: string;
963
+ };
964
+ events: {
965
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
966
+ id: string;
967
+ actor: {
968
+ kind: "control-plane" | "provider" | "agent" | "user";
969
+ id: string;
970
+ handle: string | null;
971
+ };
972
+ summary: string;
973
+ teamId: string;
974
+ channel: string;
975
+ assignmentId: string | null;
976
+ sequence: number;
977
+ topicId: string;
978
+ occurredAt: string;
979
+ sendId: string | null;
980
+ invocationId: string | null;
981
+ payload: Record<string, unknown>;
982
+ }[];
634
983
  sendId: string;
984
+ updatedAt: string;
985
+ projectStreams: {
986
+ id: string;
987
+ projectId: string;
988
+ projectSlug: string;
989
+ messageRef: string;
990
+ discussionId: string;
991
+ }[];
992
+ replayed: boolean;
993
+ }>;
994
+ readonly topicsList: ControlPlaneOperationBinding<{
995
+ teamId: string;
996
+ }, {
997
+ status?: "active" | "archived" | undefined;
998
+ cursor?: string | undefined;
999
+ limit?: number | undefined;
1000
+ }, undefined, {
1001
+ items: {
1002
+ status: "active" | "archived";
1003
+ id: string;
1004
+ createdAt: string;
1005
+ teamId: string;
1006
+ updatedAt: string;
1007
+ slug: string;
1008
+ streams: {
1009
+ id: string;
1010
+ projectId: string;
1011
+ projectSlug: string;
1012
+ discussionId: string;
1013
+ }[];
1014
+ listeners: {
1015
+ status: "active" | "removed";
1016
+ projectId: string;
1017
+ source: "operator" | "seed" | "mention";
1018
+ agentSlug: string;
1019
+ projectSlug: string;
1020
+ updatedAt: string;
1021
+ agentHandle: string;
1022
+ subscribedAt: string;
1023
+ }[];
1024
+ }[];
1025
+ cursor: string | null;
1026
+ }>;
1027
+ readonly topicsShow: ControlPlaneOperationBinding<{
1028
+ teamId: string;
1029
+ channel: string;
1030
+ }, {}, undefined, {
1031
+ status: "active" | "archived";
1032
+ id: string;
1033
+ createdAt: string;
1034
+ teamId: string;
1035
+ updatedAt: string;
1036
+ slug: string;
1037
+ streams: {
1038
+ id: string;
1039
+ projectId: string;
1040
+ projectSlug: string;
1041
+ discussionId: string;
1042
+ }[];
1043
+ listeners: {
1044
+ status: "active" | "removed";
1045
+ projectId: string;
1046
+ source: "operator" | "seed" | "mention";
1047
+ agentSlug: string;
1048
+ projectSlug: string;
1049
+ updatedAt: string;
1050
+ agentHandle: string;
1051
+ subscribedAt: string;
1052
+ }[];
1053
+ }>;
1054
+ readonly topicsTimeline: ControlPlaneOperationBinding<{
1055
+ teamId: string;
1056
+ channel: string;
1057
+ }, {
1058
+ limit?: number | undefined;
1059
+ diagnostics?: "metadata" | "full" | undefined;
1060
+ after?: string | undefined;
1061
+ waitSeconds?: number | undefined;
1062
+ }, undefined, {
1063
+ cursor: string | null;
635
1064
  topic: {
1065
+ status: "active" | "archived";
636
1066
  id: string;
1067
+ createdAt: string;
1068
+ teamId: string;
1069
+ updatedAt: string;
637
1070
  slug: string;
1071
+ streams: {
1072
+ id: string;
1073
+ projectId: string;
1074
+ projectSlug: string;
1075
+ discussionId: string;
1076
+ }[];
1077
+ listeners: {
1078
+ status: "active" | "removed";
1079
+ projectId: string;
1080
+ source: "operator" | "seed" | "mention";
1081
+ agentSlug: string;
1082
+ projectSlug: string;
1083
+ updatedAt: string;
1084
+ agentHandle: string;
1085
+ subscribedAt: string;
1086
+ }[];
638
1087
  };
639
- projectStream: {
1088
+ events: {
1089
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
640
1090
  id: string;
1091
+ actor: {
1092
+ kind: "control-plane" | "provider" | "agent" | "user";
1093
+ id: string;
1094
+ handle: string | null;
1095
+ };
1096
+ summary: string;
1097
+ teamId: string;
1098
+ channel: string;
1099
+ assignmentId: string | null;
1100
+ sequence: number;
1101
+ topicId: string;
1102
+ occurredAt: string;
1103
+ sendId: string | null;
1104
+ invocationId: string | null;
1105
+ payload: Record<string, unknown>;
1106
+ }[];
1107
+ }>;
1108
+ readonly topicsSubscribe: ControlPlaneOperationBinding<{
1109
+ teamId: string;
1110
+ channel: string;
1111
+ }, {}, {
1112
+ agent: string;
1113
+ }, {
1114
+ topicId: string;
1115
+ replayed: boolean;
1116
+ listener: {
1117
+ status: "active" | "removed";
641
1118
  projectId: string;
1119
+ source: "operator" | "seed" | "mention";
1120
+ agentSlug: string;
642
1121
  projectSlug: string;
1122
+ updatedAt: string;
1123
+ agentHandle: string;
1124
+ subscribedAt: string;
643
1125
  };
644
- discussionId: string;
645
- sourceMessage: string;
1126
+ }>;
1127
+ readonly topicsUnsubscribe: ControlPlaneOperationBinding<{
1128
+ teamId: string;
1129
+ channel: string;
1130
+ }, {}, {
1131
+ agent: string;
1132
+ }, {
1133
+ topicId: string;
646
1134
  replayed: boolean;
1135
+ listener: {
1136
+ status: "active" | "removed";
1137
+ projectId: string;
1138
+ source: "operator" | "seed" | "mention";
1139
+ agentSlug: string;
1140
+ projectSlug: string;
1141
+ updatedAt: string;
1142
+ agentHandle: string;
1143
+ subscribedAt: string;
1144
+ };
647
1145
  }>;
648
1146
  };
649
1147
  readonly capacity: {
@@ -1087,6 +1585,66 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1087
1585
  };
1088
1586
  };
1089
1587
  readonly providers: {
1588
+ readonly returnAssignment: ControlPlaneOperationBinding<{
1589
+ assignmentId: string;
1590
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1591
+ readonly completeAssignment: ControlPlaneOperationBinding<{
1592
+ assignmentId: string;
1593
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1594
+ readonly failAssignment: ControlPlaneOperationBinding<{
1595
+ assignmentId: string;
1596
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1597
+ readonly reportUsage: ControlPlaneOperationBinding<{
1598
+ assignmentId: string;
1599
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1600
+ readonly settleAssignment: ControlPlaneOperationBinding<{
1601
+ assignmentId: string;
1602
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1603
+ readonly createModeRun: ControlPlaneOperationBinding<{
1604
+ assignmentId: string;
1605
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1606
+ readonly createEvent: ControlPlaneOperationBinding<{
1607
+ assignmentId: string;
1608
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1609
+ readonly publishSignal: ControlPlaneOperationBinding<{
1610
+ assignmentId: string;
1611
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1612
+ readonly dispatchWorkflow: ControlPlaneOperationBinding<{
1613
+ operationId: string;
1614
+ assignmentId: string;
1615
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1616
+ readonly workflowRun: ControlPlaneOperationBinding<{
1617
+ runId: string;
1618
+ assignmentId: string;
1619
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1620
+ readonly notificationAcknowledge: ControlPlaneOperationBinding<{
1621
+ assignmentId: string;
1622
+ }, {}, {
1623
+ providerId: string;
1624
+ runnerId: string;
1625
+ observedAt: string;
1626
+ }, {
1627
+ assignmentId: string;
1628
+ acknowledgedAt: string;
1629
+ replayed: boolean;
1630
+ }>;
1631
+ readonly traceEvent: ControlPlaneOperationBinding<{
1632
+ assignmentId: string;
1633
+ }, {}, {
1634
+ type: string;
1635
+ summary: string;
1636
+ sequence: number;
1637
+ occurredAt: string;
1638
+ payload: Record<string, unknown>;
1639
+ runnerId: string;
1640
+ leaseToken: string;
1641
+ protectedPayload?: Record<string, unknown> | undefined;
1642
+ }, {
1643
+ assignmentId: string;
1644
+ sequence: number;
1645
+ replayed: boolean;
1646
+ acceptedAt: string;
1647
+ }>;
1090
1648
  readonly list: ControlPlaneOperationBinding<{
1091
1649
  teamId: string;
1092
1650
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
@@ -1180,8 +1738,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1180
1738
  readonly discussionResponse: ControlPlaneOperationBinding<{
1181
1739
  assignmentId: string;
1182
1740
  }, {}, {
1183
- leaseToken: string;
1184
1741
  runnerId: string;
1742
+ leaseToken: string;
1185
1743
  summary?: string | undefined;
1186
1744
  usage?: Record<string, unknown> | undefined;
1187
1745
  markdown?: string | undefined;
@@ -1194,38 +1752,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1194
1752
  messageRef: string;
1195
1753
  settledAt: string;
1196
1754
  }>;
1197
- readonly returnAssignment: ControlPlaneOperationBinding<{
1198
- assignmentId: string;
1199
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1200
- readonly completeAssignment: ControlPlaneOperationBinding<{
1201
- assignmentId: string;
1202
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1203
- readonly failAssignment: ControlPlaneOperationBinding<{
1204
- assignmentId: string;
1205
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1206
- readonly reportUsage: ControlPlaneOperationBinding<{
1207
- assignmentId: string;
1208
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1209
- readonly settleAssignment: ControlPlaneOperationBinding<{
1210
- assignmentId: string;
1211
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1212
- readonly createModeRun: ControlPlaneOperationBinding<{
1213
- assignmentId: string;
1214
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1215
- readonly createEvent: ControlPlaneOperationBinding<{
1216
- assignmentId: string;
1217
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1218
- readonly publishSignal: ControlPlaneOperationBinding<{
1219
- assignmentId: string;
1220
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1221
- readonly dispatchWorkflow: ControlPlaneOperationBinding<{
1222
- operationId: string;
1223
- assignmentId: string;
1224
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1225
- readonly workflowRun: ControlPlaneOperationBinding<{
1226
- runId: string;
1227
- assignmentId: string;
1228
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1229
1755
  };
1230
1756
  };
1231
1757
  export declare const CONTROL_PLANE_OPERATION_LIST: readonly ControlPlaneOperationBinding<any, any, any, any>[];