@treeseed/sdk 0.13.0-rc.54 → 0.13.0-rc.55
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/agent-capacity/contracts/configuration/configuration.js +1 -1
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +240 -240
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/capacity-provider/client.d.ts +3 -3
- package/dist/capacity-provider/contracts/governance.d.ts +28 -1
- package/dist/capacity-provider/index.d.ts +1 -0
- package/dist/capacity-provider/index.js +1 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +422 -0
- package/dist/capacity-provider/sandbox-contracts.js +71 -0
- package/dist/capacity-provider/validation.d.ts +2 -1
- package/dist/capacity-provider/validation.js +23 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +76 -76
- package/dist/content/validation/auxiliary-content-schemas.d.ts +16 -16
- package/dist/content/validation/content-model-schemas.d.ts +559 -559
- package/dist/content/validation/portable-content-data.d.ts +59 -59
- package/dist/deployment/ai-mode.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +418 -100
- package/dist/deployment/schemas.js +23 -1
- package/dist/development/schemas.d.ts +22 -22
- package/dist/operator-contracts/canonical-command-tree.js +39 -0
- package/dist/operator-contracts/catalog/communication-operations.d.ts +50 -50
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +25 -25
- package/dist/operator-contracts/communication/contracts.d.ts +139 -139
- package/dist/operator-contracts/control-plane-operations.d.ts +78 -78
- package/dist/operator-contracts/inbox/contracts.d.ts +77 -77
- package/dist/security/encrypted-envelope.d.ts +177 -0
- package/dist/security/encrypted-envelope.js +34 -0
- package/dist/security/envelope-codec.d.ts +38 -0
- package/dist/security/envelope-codec.js +96 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +2 -0
- package/package.json +5 -1
|
@@ -12,13 +12,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
12
12
|
}, undefined, {
|
|
13
13
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
14
14
|
items: {
|
|
15
|
+
teamId: string;
|
|
15
16
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
17
|
+
createdAt: string;
|
|
16
18
|
kind: "proposal" | "question";
|
|
17
19
|
id: string;
|
|
18
20
|
projectId: string;
|
|
19
|
-
createdAt: string;
|
|
20
21
|
version: number;
|
|
21
|
-
teamId: string;
|
|
22
22
|
projectSlug: string;
|
|
23
23
|
updatedAt: string;
|
|
24
24
|
authorId: string;
|
|
@@ -32,12 +32,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
32
32
|
teamId: string;
|
|
33
33
|
itemId: string;
|
|
34
34
|
}, {}, undefined, {
|
|
35
|
+
teamId: string;
|
|
36
|
+
schemaVersion: "treeseed.inbox-item/v1";
|
|
35
37
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
38
|
+
createdAt: string;
|
|
36
39
|
kind: "proposal" | "question";
|
|
37
40
|
id: string;
|
|
38
|
-
schemaVersion: "treeseed.inbox-item/v1";
|
|
39
41
|
projectId: string;
|
|
40
|
-
createdAt: string;
|
|
41
42
|
provenance: {
|
|
42
43
|
digest: string | null;
|
|
43
44
|
repositoryId: string | null;
|
|
@@ -45,7 +46,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
45
46
|
commitSha: string | null;
|
|
46
47
|
};
|
|
47
48
|
version: number;
|
|
48
|
-
teamId: string;
|
|
49
49
|
projectSlug: string;
|
|
50
50
|
updatedAt: string;
|
|
51
51
|
markdown: string;
|
|
@@ -62,9 +62,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
62
62
|
requiresFeedback: boolean;
|
|
63
63
|
}[];
|
|
64
64
|
comments: {
|
|
65
|
+
createdAt: string;
|
|
65
66
|
kind: "comment" | "answer" | "reply";
|
|
66
67
|
id: string;
|
|
67
|
-
createdAt: string;
|
|
68
68
|
provenance: {
|
|
69
69
|
digest: string | null;
|
|
70
70
|
repositoryId: string | null;
|
|
@@ -87,14 +87,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
87
87
|
}, undefined, {
|
|
88
88
|
cursor: string;
|
|
89
89
|
events: {
|
|
90
|
+
teamId: string;
|
|
91
|
+
sequence: string;
|
|
92
|
+
schemaVersion: "treeseed.inbox-event/v1";
|
|
90
93
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
94
|
+
payload: Record<string, unknown>;
|
|
91
95
|
id: string;
|
|
92
|
-
schemaVersion: "treeseed.inbox-event/v1";
|
|
93
96
|
summary: string;
|
|
94
|
-
teamId: string;
|
|
95
|
-
sequence: string;
|
|
96
97
|
occurredAt: string;
|
|
97
|
-
payload: Record<string, unknown>;
|
|
98
98
|
itemId: string | null;
|
|
99
99
|
actorId: string;
|
|
100
100
|
}[];
|
|
@@ -109,14 +109,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
109
109
|
relatedObjectives?: string[] | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
112
|
-
replayed: boolean;
|
|
113
112
|
item: {
|
|
113
|
+
teamId: string;
|
|
114
|
+
schemaVersion: "treeseed.inbox-item/v1";
|
|
114
115
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
116
|
+
createdAt: string;
|
|
115
117
|
kind: "proposal" | "question";
|
|
116
118
|
id: string;
|
|
117
|
-
schemaVersion: "treeseed.inbox-item/v1";
|
|
118
119
|
projectId: string;
|
|
119
|
-
createdAt: string;
|
|
120
120
|
provenance: {
|
|
121
121
|
digest: string | null;
|
|
122
122
|
repositoryId: string | null;
|
|
@@ -124,7 +124,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
124
124
|
commitSha: string | null;
|
|
125
125
|
};
|
|
126
126
|
version: number;
|
|
127
|
-
teamId: string;
|
|
128
127
|
projectSlug: string;
|
|
129
128
|
updatedAt: string;
|
|
130
129
|
markdown: string;
|
|
@@ -141,9 +140,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
141
140
|
requiresFeedback: boolean;
|
|
142
141
|
}[];
|
|
143
142
|
comments: {
|
|
143
|
+
createdAt: string;
|
|
144
144
|
kind: "comment" | "answer" | "reply";
|
|
145
145
|
id: string;
|
|
146
|
-
createdAt: string;
|
|
147
146
|
provenance: {
|
|
148
147
|
digest: string | null;
|
|
149
148
|
repositoryId: string | null;
|
|
@@ -157,44 +156,45 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
157
156
|
}[];
|
|
158
157
|
etag: string;
|
|
159
158
|
};
|
|
159
|
+
replayed: boolean;
|
|
160
160
|
action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
|
|
161
161
|
receipts?: Record<string, unknown>[] | undefined;
|
|
162
162
|
}>;
|
|
163
163
|
getDraft: ControlPlaneOperationBinding<{
|
|
164
|
+
purpose: "feedback" | "proposal_revision";
|
|
164
165
|
teamId: string;
|
|
165
166
|
itemId: string;
|
|
166
|
-
purpose: "feedback" | "proposal_revision";
|
|
167
167
|
}, {}, undefined, {
|
|
168
|
+
purpose: "feedback" | "proposal_revision";
|
|
168
169
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
169
170
|
revision: number;
|
|
170
171
|
updatedAt: string;
|
|
171
172
|
markdown: string;
|
|
172
173
|
etag: string;
|
|
173
174
|
itemId: string;
|
|
174
|
-
purpose: "feedback" | "proposal_revision";
|
|
175
175
|
baseVersion: number;
|
|
176
176
|
} | null>;
|
|
177
177
|
putDraft: ControlPlaneOperationBinding<{
|
|
178
|
+
purpose: "feedback" | "proposal_revision";
|
|
178
179
|
teamId: string;
|
|
179
180
|
itemId: string;
|
|
180
|
-
purpose: "feedback" | "proposal_revision";
|
|
181
181
|
}, {}, {
|
|
182
182
|
markdown: string;
|
|
183
183
|
baseVersion: number;
|
|
184
184
|
}, {
|
|
185
|
+
purpose: "feedback" | "proposal_revision";
|
|
185
186
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
186
187
|
revision: number;
|
|
187
188
|
updatedAt: string;
|
|
188
189
|
markdown: string;
|
|
189
190
|
etag: string;
|
|
190
191
|
itemId: string;
|
|
191
|
-
purpose: "feedback" | "proposal_revision";
|
|
192
192
|
baseVersion: number;
|
|
193
193
|
}>;
|
|
194
194
|
deleteDraft: ControlPlaneOperationBinding<{
|
|
195
|
+
purpose: "feedback" | "proposal_revision";
|
|
195
196
|
teamId: string;
|
|
196
197
|
itemId: string;
|
|
197
|
-
purpose: "feedback" | "proposal_revision";
|
|
198
198
|
}, {}, {}, {
|
|
199
199
|
deleted: boolean;
|
|
200
200
|
}>;
|
|
@@ -209,14 +209,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
209
209
|
draftRevision?: number | undefined;
|
|
210
210
|
}, {
|
|
211
211
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
212
|
-
replayed: boolean;
|
|
213
212
|
item: {
|
|
213
|
+
teamId: string;
|
|
214
|
+
schemaVersion: "treeseed.inbox-item/v1";
|
|
214
215
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
216
|
+
createdAt: string;
|
|
215
217
|
kind: "proposal" | "question";
|
|
216
218
|
id: string;
|
|
217
|
-
schemaVersion: "treeseed.inbox-item/v1";
|
|
218
219
|
projectId: string;
|
|
219
|
-
createdAt: string;
|
|
220
220
|
provenance: {
|
|
221
221
|
digest: string | null;
|
|
222
222
|
repositoryId: string | null;
|
|
@@ -224,7 +224,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
224
224
|
commitSha: string | null;
|
|
225
225
|
};
|
|
226
226
|
version: number;
|
|
227
|
-
teamId: string;
|
|
228
227
|
projectSlug: string;
|
|
229
228
|
updatedAt: string;
|
|
230
229
|
markdown: string;
|
|
@@ -241,9 +240,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
241
240
|
requiresFeedback: boolean;
|
|
242
241
|
}[];
|
|
243
242
|
comments: {
|
|
243
|
+
createdAt: string;
|
|
244
244
|
kind: "comment" | "answer" | "reply";
|
|
245
245
|
id: string;
|
|
246
|
-
createdAt: string;
|
|
247
246
|
provenance: {
|
|
248
247
|
digest: string | null;
|
|
249
248
|
repositoryId: string | null;
|
|
@@ -257,6 +256,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
257
256
|
}[];
|
|
258
257
|
etag: string;
|
|
259
258
|
};
|
|
259
|
+
replayed: boolean;
|
|
260
260
|
action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
|
|
261
261
|
receipts?: Record<string, unknown>[] | undefined;
|
|
262
262
|
}>;
|
|
@@ -271,8 +271,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
271
271
|
};
|
|
272
272
|
readonly projects: {
|
|
273
273
|
readonly list: ControlPlaneOperationBinding<{}, {
|
|
274
|
-
cursor?: string | undefined;
|
|
275
274
|
teamId?: string | undefined;
|
|
275
|
+
cursor?: string | undefined;
|
|
276
276
|
limit?: number | undefined;
|
|
277
277
|
}, undefined, Record<string, unknown>>;
|
|
278
278
|
readonly show: ControlPlaneOperationBinding<{
|
|
@@ -763,18 +763,22 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
763
763
|
timeoutSeconds?: number | undefined;
|
|
764
764
|
recipients?: string[] | undefined;
|
|
765
765
|
}, {
|
|
766
|
-
|
|
766
|
+
teamId: string;
|
|
767
|
+
sendId: string;
|
|
767
768
|
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
769
|
+
status: "failed" | "running" | "partial" | "complete" | "queued";
|
|
770
|
+
createdAt: string;
|
|
768
771
|
targets: {
|
|
772
|
+
invocationId: string | null;
|
|
769
773
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
770
774
|
projectId: string;
|
|
771
775
|
completedAt: string | null;
|
|
772
776
|
agentSlug: string;
|
|
773
777
|
capacity: {
|
|
778
|
+
assignmentId: string | null;
|
|
774
779
|
status: string | null;
|
|
775
780
|
completedAt: string | null;
|
|
776
781
|
providerId: string | null;
|
|
777
|
-
assignmentId: string | null;
|
|
778
782
|
executionProviderId: string | null;
|
|
779
783
|
laneId: string | null;
|
|
780
784
|
lanePurpose: string | null;
|
|
@@ -804,7 +808,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
804
808
|
traceEvents: Record<string, unknown>[];
|
|
805
809
|
fullPayload?: Record<string, unknown> | undefined;
|
|
806
810
|
};
|
|
807
|
-
invocationId: string | null;
|
|
808
811
|
projectSlug: string;
|
|
809
812
|
definitionRevision: string;
|
|
810
813
|
revisions: {
|
|
@@ -825,27 +828,32 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
825
828
|
acknowledgedAt: string | null;
|
|
826
829
|
leaseAcceptedAt: string | null;
|
|
827
830
|
}[];
|
|
828
|
-
createdAt: string;
|
|
829
831
|
responses: {
|
|
832
|
+
invocationId: string;
|
|
833
|
+
assignmentId: string | null;
|
|
830
834
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
831
|
-
projectId: string;
|
|
832
835
|
createdAt: string;
|
|
836
|
+
projectId: string;
|
|
833
837
|
agentSlug: string;
|
|
834
|
-
assignmentId: string | null;
|
|
835
|
-
invocationId: string;
|
|
836
838
|
projectSlug: string;
|
|
837
839
|
requirement: "required" | "optional";
|
|
838
840
|
messageRef: string;
|
|
839
841
|
markdown: string;
|
|
840
842
|
}[];
|
|
841
|
-
teamId: string;
|
|
842
843
|
channel: string;
|
|
843
844
|
topic: {
|
|
844
845
|
id: string;
|
|
845
846
|
slug: string;
|
|
846
847
|
};
|
|
847
848
|
events: {
|
|
849
|
+
teamId: string;
|
|
850
|
+
topicId: string;
|
|
851
|
+
sendId: string | null;
|
|
852
|
+
invocationId: string | null;
|
|
853
|
+
assignmentId: string | null;
|
|
854
|
+
sequence: number;
|
|
848
855
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
856
|
+
payload: Record<string, unknown>;
|
|
849
857
|
id: string;
|
|
850
858
|
actor: {
|
|
851
859
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
@@ -853,17 +861,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
853
861
|
handle: string | null;
|
|
854
862
|
};
|
|
855
863
|
summary: string;
|
|
856
|
-
teamId: string;
|
|
857
864
|
channel: string;
|
|
858
|
-
assignmentId: string | null;
|
|
859
|
-
sequence: number;
|
|
860
|
-
topicId: string;
|
|
861
865
|
occurredAt: string;
|
|
862
|
-
sendId: string | null;
|
|
863
|
-
invocationId: string | null;
|
|
864
|
-
payload: Record<string, unknown>;
|
|
865
866
|
}[];
|
|
866
|
-
sendId: string;
|
|
867
867
|
updatedAt: string;
|
|
868
868
|
projectStreams: {
|
|
869
869
|
id: string;
|
|
@@ -880,18 +880,22 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
880
880
|
}, {
|
|
881
881
|
diagnostics?: "metadata" | "full" | undefined;
|
|
882
882
|
}, undefined, {
|
|
883
|
-
|
|
883
|
+
teamId: string;
|
|
884
|
+
sendId: string;
|
|
884
885
|
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
886
|
+
status: "failed" | "running" | "partial" | "complete" | "queued";
|
|
887
|
+
createdAt: string;
|
|
885
888
|
targets: {
|
|
889
|
+
invocationId: string | null;
|
|
886
890
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
887
891
|
projectId: string;
|
|
888
892
|
completedAt: string | null;
|
|
889
893
|
agentSlug: string;
|
|
890
894
|
capacity: {
|
|
895
|
+
assignmentId: string | null;
|
|
891
896
|
status: string | null;
|
|
892
897
|
completedAt: string | null;
|
|
893
898
|
providerId: string | null;
|
|
894
|
-
assignmentId: string | null;
|
|
895
899
|
executionProviderId: string | null;
|
|
896
900
|
laneId: string | null;
|
|
897
901
|
lanePurpose: string | null;
|
|
@@ -921,7 +925,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
921
925
|
traceEvents: Record<string, unknown>[];
|
|
922
926
|
fullPayload?: Record<string, unknown> | undefined;
|
|
923
927
|
};
|
|
924
|
-
invocationId: string | null;
|
|
925
928
|
projectSlug: string;
|
|
926
929
|
definitionRevision: string;
|
|
927
930
|
revisions: {
|
|
@@ -942,27 +945,32 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
942
945
|
acknowledgedAt: string | null;
|
|
943
946
|
leaseAcceptedAt: string | null;
|
|
944
947
|
}[];
|
|
945
|
-
createdAt: string;
|
|
946
948
|
responses: {
|
|
949
|
+
invocationId: string;
|
|
950
|
+
assignmentId: string | null;
|
|
947
951
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
948
|
-
projectId: string;
|
|
949
952
|
createdAt: string;
|
|
953
|
+
projectId: string;
|
|
950
954
|
agentSlug: string;
|
|
951
|
-
assignmentId: string | null;
|
|
952
|
-
invocationId: string;
|
|
953
955
|
projectSlug: string;
|
|
954
956
|
requirement: "required" | "optional";
|
|
955
957
|
messageRef: string;
|
|
956
958
|
markdown: string;
|
|
957
959
|
}[];
|
|
958
|
-
teamId: string;
|
|
959
960
|
channel: string;
|
|
960
961
|
topic: {
|
|
961
962
|
id: string;
|
|
962
963
|
slug: string;
|
|
963
964
|
};
|
|
964
965
|
events: {
|
|
966
|
+
teamId: string;
|
|
967
|
+
topicId: string;
|
|
968
|
+
sendId: string | null;
|
|
969
|
+
invocationId: string | null;
|
|
970
|
+
assignmentId: string | null;
|
|
971
|
+
sequence: number;
|
|
965
972
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
973
|
+
payload: Record<string, unknown>;
|
|
966
974
|
id: string;
|
|
967
975
|
actor: {
|
|
968
976
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
@@ -970,17 +978,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
970
978
|
handle: string | null;
|
|
971
979
|
};
|
|
972
980
|
summary: string;
|
|
973
|
-
teamId: string;
|
|
974
981
|
channel: string;
|
|
975
|
-
assignmentId: string | null;
|
|
976
|
-
sequence: number;
|
|
977
|
-
topicId: string;
|
|
978
982
|
occurredAt: string;
|
|
979
|
-
sendId: string | null;
|
|
980
|
-
invocationId: string | null;
|
|
981
|
-
payload: Record<string, unknown>;
|
|
982
983
|
}[];
|
|
983
|
-
sendId: string;
|
|
984
984
|
updatedAt: string;
|
|
985
985
|
projectStreams: {
|
|
986
986
|
id: string;
|
|
@@ -999,10 +999,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
999
999
|
limit?: number | undefined;
|
|
1000
1000
|
}, undefined, {
|
|
1001
1001
|
items: {
|
|
1002
|
+
teamId: string;
|
|
1002
1003
|
status: "active" | "archived";
|
|
1003
|
-
id: string;
|
|
1004
1004
|
createdAt: string;
|
|
1005
|
-
|
|
1005
|
+
id: string;
|
|
1006
1006
|
updatedAt: string;
|
|
1007
1007
|
slug: string;
|
|
1008
1008
|
streams: {
|
|
@@ -1028,10 +1028,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1028
1028
|
teamId: string;
|
|
1029
1029
|
channel: string;
|
|
1030
1030
|
}, {}, undefined, {
|
|
1031
|
+
teamId: string;
|
|
1031
1032
|
status: "active" | "archived";
|
|
1032
|
-
id: string;
|
|
1033
1033
|
createdAt: string;
|
|
1034
|
-
|
|
1034
|
+
id: string;
|
|
1035
1035
|
updatedAt: string;
|
|
1036
1036
|
slug: string;
|
|
1037
1037
|
streams: {
|
|
@@ -1062,10 +1062,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1062
1062
|
}, undefined, {
|
|
1063
1063
|
cursor: string | null;
|
|
1064
1064
|
topic: {
|
|
1065
|
+
teamId: string;
|
|
1065
1066
|
status: "active" | "archived";
|
|
1066
|
-
id: string;
|
|
1067
1067
|
createdAt: string;
|
|
1068
|
-
|
|
1068
|
+
id: string;
|
|
1069
1069
|
updatedAt: string;
|
|
1070
1070
|
slug: string;
|
|
1071
1071
|
streams: {
|
|
@@ -1086,7 +1086,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1086
1086
|
}[];
|
|
1087
1087
|
};
|
|
1088
1088
|
events: {
|
|
1089
|
+
teamId: string;
|
|
1090
|
+
topicId: string;
|
|
1091
|
+
sendId: string | null;
|
|
1092
|
+
invocationId: string | null;
|
|
1093
|
+
assignmentId: string | null;
|
|
1094
|
+
sequence: number;
|
|
1089
1095
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1096
|
+
payload: Record<string, unknown>;
|
|
1090
1097
|
id: string;
|
|
1091
1098
|
actor: {
|
|
1092
1099
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
@@ -1094,15 +1101,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1094
1101
|
handle: string | null;
|
|
1095
1102
|
};
|
|
1096
1103
|
summary: string;
|
|
1097
|
-
teamId: string;
|
|
1098
1104
|
channel: string;
|
|
1099
|
-
assignmentId: string | null;
|
|
1100
|
-
sequence: number;
|
|
1101
|
-
topicId: string;
|
|
1102
1105
|
occurredAt: string;
|
|
1103
|
-
sendId: string | null;
|
|
1104
|
-
invocationId: string | null;
|
|
1105
|
-
payload: Record<string, unknown>;
|
|
1106
1106
|
}[];
|
|
1107
1107
|
}>;
|
|
1108
1108
|
readonly topicsSubscribe: ControlPlaneOperationBinding<{
|
|
@@ -1610,12 +1610,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1610
1610
|
assignmentId: string;
|
|
1611
1611
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
1612
1612
|
readonly dispatchWorkflow: ControlPlaneOperationBinding<{
|
|
1613
|
-
operationId: string;
|
|
1614
1613
|
assignmentId: string;
|
|
1614
|
+
operationId: string;
|
|
1615
1615
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
1616
1616
|
readonly workflowRun: ControlPlaneOperationBinding<{
|
|
1617
|
-
runId: string;
|
|
1618
1617
|
assignmentId: string;
|
|
1618
|
+
runId: string;
|
|
1619
1619
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
1620
1620
|
readonly notificationAcknowledge: ControlPlaneOperationBinding<{
|
|
1621
1621
|
assignmentId: string;
|
|
@@ -1631,11 +1631,11 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1631
1631
|
readonly traceEvent: ControlPlaneOperationBinding<{
|
|
1632
1632
|
assignmentId: string;
|
|
1633
1633
|
}, {}, {
|
|
1634
|
+
sequence: number;
|
|
1634
1635
|
type: string;
|
|
1636
|
+
payload: Record<string, unknown>;
|
|
1635
1637
|
summary: string;
|
|
1636
|
-
sequence: number;
|
|
1637
1638
|
occurredAt: string;
|
|
1638
|
-
payload: Record<string, unknown>;
|
|
1639
1639
|
runnerId: string;
|
|
1640
1640
|
leaseToken: string;
|
|
1641
1641
|
protectedPayload?: Record<string, unknown> | undefined;
|
|
@@ -1745,10 +1745,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1745
1745
|
markdown?: string | undefined;
|
|
1746
1746
|
outcome?: "responded" | "abstained" | undefined;
|
|
1747
1747
|
}, {
|
|
1748
|
-
status: "responded" | "abstained";
|
|
1749
|
-
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
1750
|
-
assignmentId: string;
|
|
1751
1748
|
invocationId: string;
|
|
1749
|
+
assignmentId: string;
|
|
1750
|
+
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
1751
|
+
status: "responded" | "abstained";
|
|
1752
1752
|
messageRef: string;
|
|
1753
1753
|
settledAt: string;
|
|
1754
1754
|
}>;
|