@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
- package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +4 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +2 -4
- package/dist/capacity/agents/agent-capacity.js +1 -3
- package/dist/capacity-provider/capability-ontology.d.ts +138 -138
- package/dist/capacity-provider/client.d.ts +1 -2
- package/dist/capacity-provider/client.js +0 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
- package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
- package/dist/capacity-provider/environment-catalog.d.ts +166 -166
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
- package/dist/capacity-provider/source-workspace.d.ts +102 -4
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
- package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
- package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
- package/dist/content/validation/content-model-schemas.js +116 -48
- package/dist/content/validation/portable-content-data.d.ts +351 -181
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/deployment/ai/storage.d.ts +14 -14
- package/dist/deployment/ai-hosting.d.ts +10 -10
- package/dist/deployment/ai-instance.d.ts +14 -14
- package/dist/deployment/ai-mode.d.ts +82 -82
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +219 -219
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +780 -780
- package/dist/development/schemas.d.ts +439 -439
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +3 -1
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
- package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +273 -273
- package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
- package/dist/operator-contracts/control-plane-operations.js +0 -2
- package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +94 -0
- package/dist/platform/verification.js +6 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/secrets-capability/shared-access.d.ts +2 -2
- package/dist/secrets-capability/shared-resources.d.ts +46 -46
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +8 -8
- package/package.json +3 -2
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -17,16 +17,16 @@ export declare const communicationSendRequestSchema: z.ZodObject<{
|
|
|
17
17
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
}, "strict", z.ZodTypeAny, {
|
|
19
19
|
message: string;
|
|
20
|
+
parentWorkdayId?: string | undefined;
|
|
20
21
|
timeoutSeconds?: number | undefined;
|
|
21
22
|
recipients?: string[] | undefined;
|
|
22
23
|
proposalId?: string | undefined;
|
|
23
|
-
parentWorkdayId?: string | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
message: string;
|
|
26
|
+
parentWorkdayId?: string | undefined;
|
|
26
27
|
timeoutSeconds?: number | undefined;
|
|
27
28
|
recipients?: string[] | undefined;
|
|
28
29
|
proposalId?: string | undefined;
|
|
29
|
-
parentWorkdayId?: string | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
export declare const communicationTopicEventTypeSchema: z.ZodEnum<["message.posted", "mention.acknowledged", "response_lease.accepted", "agent.progress", "agent.response", "agent.abstained", "agent.failed"]>;
|
|
32
32
|
export declare const communicationTopicEventSchema: z.ZodObject<{
|
|
@@ -45,11 +45,11 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
|
|
|
45
45
|
id: z.ZodString;
|
|
46
46
|
handle: z.ZodNullable<z.ZodString>;
|
|
47
47
|
}, "strict", z.ZodTypeAny, {
|
|
48
|
-
kind: "provider" | "agent" | "
|
|
48
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
49
49
|
id: string;
|
|
50
50
|
handle: string | null;
|
|
51
51
|
}, {
|
|
52
|
-
kind: "provider" | "agent" | "
|
|
52
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
53
53
|
id: string;
|
|
54
54
|
handle: string | null;
|
|
55
55
|
}>;
|
|
@@ -58,37 +58,37 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
|
|
|
58
58
|
}, "strict", z.ZodTypeAny, {
|
|
59
59
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
60
60
|
actor: {
|
|
61
|
-
kind: "provider" | "agent" | "
|
|
61
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
62
62
|
id: string;
|
|
63
63
|
handle: string | null;
|
|
64
64
|
};
|
|
65
65
|
id: string;
|
|
66
66
|
teamId: string;
|
|
67
67
|
assignmentId: string | null;
|
|
68
|
+
summary: string;
|
|
69
|
+
sequence: number;
|
|
68
70
|
topicId: string;
|
|
69
71
|
sendId: string | null;
|
|
70
72
|
invocationId: string | null;
|
|
71
|
-
sequence: number;
|
|
72
73
|
payload: Record<string, unknown>;
|
|
73
|
-
summary: string;
|
|
74
74
|
channel: string;
|
|
75
75
|
occurredAt: string;
|
|
76
76
|
}, {
|
|
77
77
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
78
78
|
actor: {
|
|
79
|
-
kind: "provider" | "agent" | "
|
|
79
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
80
80
|
id: string;
|
|
81
81
|
handle: string | null;
|
|
82
82
|
};
|
|
83
83
|
id: string;
|
|
84
84
|
teamId: string;
|
|
85
85
|
assignmentId: string | null;
|
|
86
|
+
summary: string;
|
|
87
|
+
sequence: number;
|
|
86
88
|
topicId: string;
|
|
87
89
|
sendId: string | null;
|
|
88
90
|
invocationId: string | null;
|
|
89
|
-
sequence: number;
|
|
90
91
|
payload: Record<string, unknown>;
|
|
91
|
-
summary: string;
|
|
92
92
|
channel: string;
|
|
93
93
|
occurredAt: string;
|
|
94
94
|
}>;
|
|
@@ -140,9 +140,9 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
|
|
|
140
140
|
model: string | null;
|
|
141
141
|
parameters: Record<string, unknown>;
|
|
142
142
|
};
|
|
143
|
-
reason: string | null;
|
|
144
143
|
usage: Record<string, unknown>[];
|
|
145
|
-
|
|
144
|
+
reason: string | null;
|
|
145
|
+
availability: "available" | "partial" | "unavailable";
|
|
146
146
|
identityManifest: Record<string, unknown>;
|
|
147
147
|
contextManifest: Record<string, unknown>[];
|
|
148
148
|
timing: Record<string, unknown>;
|
|
@@ -160,9 +160,9 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
|
|
|
160
160
|
model: string | null;
|
|
161
161
|
parameters: Record<string, unknown>;
|
|
162
162
|
};
|
|
163
|
-
reason: string | null;
|
|
164
163
|
usage: Record<string, unknown>[];
|
|
165
|
-
|
|
164
|
+
reason: string | null;
|
|
165
|
+
availability: "available" | "partial" | "unavailable";
|
|
166
166
|
identityManifest: Record<string, unknown>;
|
|
167
167
|
contextManifest: Record<string, unknown>[];
|
|
168
168
|
timing: Record<string, unknown>;
|
|
@@ -225,24 +225,24 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
225
225
|
status: string | null;
|
|
226
226
|
providerId: string | null;
|
|
227
227
|
assignmentId: string | null;
|
|
228
|
-
|
|
228
|
+
claimedAt: string | null;
|
|
229
229
|
executionProviderId: string | null;
|
|
230
|
+
completedAt: string | null;
|
|
230
231
|
laneId: string | null;
|
|
231
232
|
lanePurpose: string | null;
|
|
232
233
|
assignedAt: string | null;
|
|
233
|
-
claimedAt: string | null;
|
|
234
234
|
returnedAt: string | null;
|
|
235
235
|
failedAt: string | null;
|
|
236
236
|
}, {
|
|
237
237
|
status: string | null;
|
|
238
238
|
providerId: string | null;
|
|
239
239
|
assignmentId: string | null;
|
|
240
|
-
|
|
240
|
+
claimedAt: string | null;
|
|
241
241
|
executionProviderId: string | null;
|
|
242
|
+
completedAt: string | null;
|
|
242
243
|
laneId: string | null;
|
|
243
244
|
lanePurpose: string | null;
|
|
244
245
|
assignedAt: string | null;
|
|
245
|
-
claimedAt: string | null;
|
|
246
246
|
returnedAt: string | null;
|
|
247
247
|
failedAt: string | null;
|
|
248
248
|
}>;
|
|
@@ -296,9 +296,9 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
296
296
|
model: string | null;
|
|
297
297
|
parameters: Record<string, unknown>;
|
|
298
298
|
};
|
|
299
|
-
reason: string | null;
|
|
300
299
|
usage: Record<string, unknown>[];
|
|
301
|
-
|
|
300
|
+
reason: string | null;
|
|
301
|
+
availability: "available" | "partial" | "unavailable";
|
|
302
302
|
identityManifest: Record<string, unknown>;
|
|
303
303
|
contextManifest: Record<string, unknown>[];
|
|
304
304
|
timing: Record<string, unknown>;
|
|
@@ -316,9 +316,9 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
316
316
|
model: string | null;
|
|
317
317
|
parameters: Record<string, unknown>;
|
|
318
318
|
};
|
|
319
|
-
reason: string | null;
|
|
320
319
|
usage: Record<string, unknown>[];
|
|
321
|
-
|
|
320
|
+
reason: string | null;
|
|
321
|
+
availability: "available" | "partial" | "unavailable";
|
|
322
322
|
identityManifest: Record<string, unknown>;
|
|
323
323
|
contextManifest: Record<string, unknown>[];
|
|
324
324
|
timing: Record<string, unknown>;
|
|
@@ -328,23 +328,10 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
328
328
|
}, "strict", z.ZodTypeAny, {
|
|
329
329
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
330
330
|
projectId: string;
|
|
331
|
-
|
|
332
|
-
completedAt: string | null;
|
|
333
|
-
requirement: "required" | "optional";
|
|
331
|
+
updatedAt: string;
|
|
334
332
|
agentSlug: string;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
providerId: string | null;
|
|
338
|
-
assignmentId: string | null;
|
|
339
|
-
completedAt: string | null;
|
|
340
|
-
executionProviderId: string | null;
|
|
341
|
-
laneId: string | null;
|
|
342
|
-
lanePurpose: string | null;
|
|
343
|
-
assignedAt: string | null;
|
|
344
|
-
claimedAt: string | null;
|
|
345
|
-
returnedAt: string | null;
|
|
346
|
-
failedAt: string | null;
|
|
347
|
-
};
|
|
333
|
+
requirement: "required" | "optional";
|
|
334
|
+
depth: number;
|
|
348
335
|
diagnostics: {
|
|
349
336
|
provider: {
|
|
350
337
|
providerId: string | null;
|
|
@@ -357,15 +344,30 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
357
344
|
model: string | null;
|
|
358
345
|
parameters: Record<string, unknown>;
|
|
359
346
|
};
|
|
360
|
-
reason: string | null;
|
|
361
347
|
usage: Record<string, unknown>[];
|
|
362
|
-
|
|
348
|
+
reason: string | null;
|
|
349
|
+
availability: "available" | "partial" | "unavailable";
|
|
363
350
|
identityManifest: Record<string, unknown>;
|
|
364
351
|
contextManifest: Record<string, unknown>[];
|
|
365
352
|
timing: Record<string, unknown>;
|
|
366
353
|
traceEvents: Record<string, unknown>[];
|
|
367
354
|
fullPayload?: Record<string, unknown> | undefined;
|
|
368
355
|
};
|
|
356
|
+
completedAt: string | null;
|
|
357
|
+
invocationId: string | null;
|
|
358
|
+
capacity: {
|
|
359
|
+
status: string | null;
|
|
360
|
+
providerId: string | null;
|
|
361
|
+
assignmentId: string | null;
|
|
362
|
+
claimedAt: string | null;
|
|
363
|
+
executionProviderId: string | null;
|
|
364
|
+
completedAt: string | null;
|
|
365
|
+
laneId: string | null;
|
|
366
|
+
lanePurpose: string | null;
|
|
367
|
+
assignedAt: string | null;
|
|
368
|
+
returnedAt: string | null;
|
|
369
|
+
failedAt: string | null;
|
|
370
|
+
};
|
|
369
371
|
projectSlug: string;
|
|
370
372
|
definitionRevision: string;
|
|
371
373
|
revisions: {
|
|
@@ -375,9 +377,7 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
375
377
|
chatProfile: string;
|
|
376
378
|
};
|
|
377
379
|
parentInvocationId: string | null;
|
|
378
|
-
depth: number;
|
|
379
380
|
requestedAt: string;
|
|
380
|
-
updatedAt: string;
|
|
381
381
|
failure: {
|
|
382
382
|
code: string;
|
|
383
383
|
message: string | null;
|
|
@@ -387,23 +387,10 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
387
387
|
}, {
|
|
388
388
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
389
389
|
projectId: string;
|
|
390
|
-
|
|
391
|
-
completedAt: string | null;
|
|
392
|
-
requirement: "required" | "optional";
|
|
390
|
+
updatedAt: string;
|
|
393
391
|
agentSlug: string;
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
providerId: string | null;
|
|
397
|
-
assignmentId: string | null;
|
|
398
|
-
completedAt: string | null;
|
|
399
|
-
executionProviderId: string | null;
|
|
400
|
-
laneId: string | null;
|
|
401
|
-
lanePurpose: string | null;
|
|
402
|
-
assignedAt: string | null;
|
|
403
|
-
claimedAt: string | null;
|
|
404
|
-
returnedAt: string | null;
|
|
405
|
-
failedAt: string | null;
|
|
406
|
-
};
|
|
392
|
+
requirement: "required" | "optional";
|
|
393
|
+
depth: number;
|
|
407
394
|
diagnostics: {
|
|
408
395
|
provider: {
|
|
409
396
|
providerId: string | null;
|
|
@@ -416,15 +403,30 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
416
403
|
model: string | null;
|
|
417
404
|
parameters: Record<string, unknown>;
|
|
418
405
|
};
|
|
419
|
-
reason: string | null;
|
|
420
406
|
usage: Record<string, unknown>[];
|
|
421
|
-
|
|
407
|
+
reason: string | null;
|
|
408
|
+
availability: "available" | "partial" | "unavailable";
|
|
422
409
|
identityManifest: Record<string, unknown>;
|
|
423
410
|
contextManifest: Record<string, unknown>[];
|
|
424
411
|
timing: Record<string, unknown>;
|
|
425
412
|
traceEvents: Record<string, unknown>[];
|
|
426
413
|
fullPayload?: Record<string, unknown> | undefined;
|
|
427
414
|
};
|
|
415
|
+
completedAt: string | null;
|
|
416
|
+
invocationId: string | null;
|
|
417
|
+
capacity: {
|
|
418
|
+
status: string | null;
|
|
419
|
+
providerId: string | null;
|
|
420
|
+
assignmentId: string | null;
|
|
421
|
+
claimedAt: string | null;
|
|
422
|
+
executionProviderId: string | null;
|
|
423
|
+
completedAt: string | null;
|
|
424
|
+
laneId: string | null;
|
|
425
|
+
lanePurpose: string | null;
|
|
426
|
+
assignedAt: string | null;
|
|
427
|
+
returnedAt: string | null;
|
|
428
|
+
failedAt: string | null;
|
|
429
|
+
};
|
|
428
430
|
projectSlug: string;
|
|
429
431
|
definitionRevision: string;
|
|
430
432
|
revisions: {
|
|
@@ -434,9 +436,7 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
434
436
|
chatProfile: string;
|
|
435
437
|
};
|
|
436
438
|
parentInvocationId: string | null;
|
|
437
|
-
depth: number;
|
|
438
439
|
requestedAt: string;
|
|
439
|
-
updatedAt: string;
|
|
440
440
|
failure: {
|
|
441
441
|
code: string;
|
|
442
442
|
message: string | null;
|
|
@@ -461,9 +461,9 @@ export declare const communicationResponseSchema: z.ZodObject<{
|
|
|
461
461
|
projectId: string;
|
|
462
462
|
createdAt: string;
|
|
463
463
|
assignmentId: string | null;
|
|
464
|
-
invocationId: string;
|
|
465
|
-
requirement: "required" | "optional";
|
|
466
464
|
agentSlug: string;
|
|
465
|
+
requirement: "required" | "optional";
|
|
466
|
+
invocationId: string;
|
|
467
467
|
projectSlug: string;
|
|
468
468
|
messageRef: string;
|
|
469
469
|
markdown: string;
|
|
@@ -472,9 +472,9 @@ export declare const communicationResponseSchema: z.ZodObject<{
|
|
|
472
472
|
projectId: string;
|
|
473
473
|
createdAt: string;
|
|
474
474
|
assignmentId: string | null;
|
|
475
|
-
invocationId: string;
|
|
476
|
-
requirement: "required" | "optional";
|
|
477
475
|
agentSlug: string;
|
|
476
|
+
requirement: "required" | "optional";
|
|
477
|
+
invocationId: string;
|
|
478
478
|
projectSlug: string;
|
|
479
479
|
messageRef: string;
|
|
480
480
|
markdown: string;
|
|
@@ -503,15 +503,15 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
503
503
|
}, "strict", z.ZodTypeAny, {
|
|
504
504
|
id: string;
|
|
505
505
|
projectId: string;
|
|
506
|
+
discussionId: string;
|
|
506
507
|
projectSlug: string;
|
|
507
508
|
messageRef: string;
|
|
508
|
-
discussionId: string;
|
|
509
509
|
}, {
|
|
510
510
|
id: string;
|
|
511
511
|
projectId: string;
|
|
512
|
+
discussionId: string;
|
|
512
513
|
projectSlug: string;
|
|
513
514
|
messageRef: string;
|
|
514
|
-
discussionId: string;
|
|
515
515
|
}>, "many">;
|
|
516
516
|
status: z.ZodEnum<["queued", "running", "complete", "partial", "failed"]>;
|
|
517
517
|
targets: z.ZodArray<z.ZodObject<{
|
|
@@ -570,24 +570,24 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
570
570
|
status: string | null;
|
|
571
571
|
providerId: string | null;
|
|
572
572
|
assignmentId: string | null;
|
|
573
|
-
|
|
573
|
+
claimedAt: string | null;
|
|
574
574
|
executionProviderId: string | null;
|
|
575
|
+
completedAt: string | null;
|
|
575
576
|
laneId: string | null;
|
|
576
577
|
lanePurpose: string | null;
|
|
577
578
|
assignedAt: string | null;
|
|
578
|
-
claimedAt: string | null;
|
|
579
579
|
returnedAt: string | null;
|
|
580
580
|
failedAt: string | null;
|
|
581
581
|
}, {
|
|
582
582
|
status: string | null;
|
|
583
583
|
providerId: string | null;
|
|
584
584
|
assignmentId: string | null;
|
|
585
|
-
|
|
585
|
+
claimedAt: string | null;
|
|
586
586
|
executionProviderId: string | null;
|
|
587
|
+
completedAt: string | null;
|
|
587
588
|
laneId: string | null;
|
|
588
589
|
lanePurpose: string | null;
|
|
589
590
|
assignedAt: string | null;
|
|
590
|
-
claimedAt: string | null;
|
|
591
591
|
returnedAt: string | null;
|
|
592
592
|
failedAt: string | null;
|
|
593
593
|
}>;
|
|
@@ -641,9 +641,9 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
641
641
|
model: string | null;
|
|
642
642
|
parameters: Record<string, unknown>;
|
|
643
643
|
};
|
|
644
|
-
reason: string | null;
|
|
645
644
|
usage: Record<string, unknown>[];
|
|
646
|
-
|
|
645
|
+
reason: string | null;
|
|
646
|
+
availability: "available" | "partial" | "unavailable";
|
|
647
647
|
identityManifest: Record<string, unknown>;
|
|
648
648
|
contextManifest: Record<string, unknown>[];
|
|
649
649
|
timing: Record<string, unknown>;
|
|
@@ -661,9 +661,9 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
661
661
|
model: string | null;
|
|
662
662
|
parameters: Record<string, unknown>;
|
|
663
663
|
};
|
|
664
|
-
reason: string | null;
|
|
665
664
|
usage: Record<string, unknown>[];
|
|
666
|
-
|
|
665
|
+
reason: string | null;
|
|
666
|
+
availability: "available" | "partial" | "unavailable";
|
|
667
667
|
identityManifest: Record<string, unknown>;
|
|
668
668
|
contextManifest: Record<string, unknown>[];
|
|
669
669
|
timing: Record<string, unknown>;
|
|
@@ -673,23 +673,10 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
673
673
|
}, "strict", z.ZodTypeAny, {
|
|
674
674
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
675
675
|
projectId: string;
|
|
676
|
-
|
|
677
|
-
completedAt: string | null;
|
|
678
|
-
requirement: "required" | "optional";
|
|
676
|
+
updatedAt: string;
|
|
679
677
|
agentSlug: string;
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
providerId: string | null;
|
|
683
|
-
assignmentId: string | null;
|
|
684
|
-
completedAt: string | null;
|
|
685
|
-
executionProviderId: string | null;
|
|
686
|
-
laneId: string | null;
|
|
687
|
-
lanePurpose: string | null;
|
|
688
|
-
assignedAt: string | null;
|
|
689
|
-
claimedAt: string | null;
|
|
690
|
-
returnedAt: string | null;
|
|
691
|
-
failedAt: string | null;
|
|
692
|
-
};
|
|
678
|
+
requirement: "required" | "optional";
|
|
679
|
+
depth: number;
|
|
693
680
|
diagnostics: {
|
|
694
681
|
provider: {
|
|
695
682
|
providerId: string | null;
|
|
@@ -702,15 +689,30 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
702
689
|
model: string | null;
|
|
703
690
|
parameters: Record<string, unknown>;
|
|
704
691
|
};
|
|
705
|
-
reason: string | null;
|
|
706
692
|
usage: Record<string, unknown>[];
|
|
707
|
-
|
|
693
|
+
reason: string | null;
|
|
694
|
+
availability: "available" | "partial" | "unavailable";
|
|
708
695
|
identityManifest: Record<string, unknown>;
|
|
709
696
|
contextManifest: Record<string, unknown>[];
|
|
710
697
|
timing: Record<string, unknown>;
|
|
711
698
|
traceEvents: Record<string, unknown>[];
|
|
712
699
|
fullPayload?: Record<string, unknown> | undefined;
|
|
713
700
|
};
|
|
701
|
+
completedAt: string | null;
|
|
702
|
+
invocationId: string | null;
|
|
703
|
+
capacity: {
|
|
704
|
+
status: string | null;
|
|
705
|
+
providerId: string | null;
|
|
706
|
+
assignmentId: string | null;
|
|
707
|
+
claimedAt: string | null;
|
|
708
|
+
executionProviderId: string | null;
|
|
709
|
+
completedAt: string | null;
|
|
710
|
+
laneId: string | null;
|
|
711
|
+
lanePurpose: string | null;
|
|
712
|
+
assignedAt: string | null;
|
|
713
|
+
returnedAt: string | null;
|
|
714
|
+
failedAt: string | null;
|
|
715
|
+
};
|
|
714
716
|
projectSlug: string;
|
|
715
717
|
definitionRevision: string;
|
|
716
718
|
revisions: {
|
|
@@ -720,9 +722,7 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
720
722
|
chatProfile: string;
|
|
721
723
|
};
|
|
722
724
|
parentInvocationId: string | null;
|
|
723
|
-
depth: number;
|
|
724
725
|
requestedAt: string;
|
|
725
|
-
updatedAt: string;
|
|
726
726
|
failure: {
|
|
727
727
|
code: string;
|
|
728
728
|
message: string | null;
|
|
@@ -732,23 +732,10 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
732
732
|
}, {
|
|
733
733
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
734
734
|
projectId: string;
|
|
735
|
-
|
|
736
|
-
completedAt: string | null;
|
|
737
|
-
requirement: "required" | "optional";
|
|
735
|
+
updatedAt: string;
|
|
738
736
|
agentSlug: string;
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
providerId: string | null;
|
|
742
|
-
assignmentId: string | null;
|
|
743
|
-
completedAt: string | null;
|
|
744
|
-
executionProviderId: string | null;
|
|
745
|
-
laneId: string | null;
|
|
746
|
-
lanePurpose: string | null;
|
|
747
|
-
assignedAt: string | null;
|
|
748
|
-
claimedAt: string | null;
|
|
749
|
-
returnedAt: string | null;
|
|
750
|
-
failedAt: string | null;
|
|
751
|
-
};
|
|
737
|
+
requirement: "required" | "optional";
|
|
738
|
+
depth: number;
|
|
752
739
|
diagnostics: {
|
|
753
740
|
provider: {
|
|
754
741
|
providerId: string | null;
|
|
@@ -761,15 +748,30 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
761
748
|
model: string | null;
|
|
762
749
|
parameters: Record<string, unknown>;
|
|
763
750
|
};
|
|
764
|
-
reason: string | null;
|
|
765
751
|
usage: Record<string, unknown>[];
|
|
766
|
-
|
|
752
|
+
reason: string | null;
|
|
753
|
+
availability: "available" | "partial" | "unavailable";
|
|
767
754
|
identityManifest: Record<string, unknown>;
|
|
768
755
|
contextManifest: Record<string, unknown>[];
|
|
769
756
|
timing: Record<string, unknown>;
|
|
770
757
|
traceEvents: Record<string, unknown>[];
|
|
771
758
|
fullPayload?: Record<string, unknown> | undefined;
|
|
772
759
|
};
|
|
760
|
+
completedAt: string | null;
|
|
761
|
+
invocationId: string | null;
|
|
762
|
+
capacity: {
|
|
763
|
+
status: string | null;
|
|
764
|
+
providerId: string | null;
|
|
765
|
+
assignmentId: string | null;
|
|
766
|
+
claimedAt: string | null;
|
|
767
|
+
executionProviderId: string | null;
|
|
768
|
+
completedAt: string | null;
|
|
769
|
+
laneId: string | null;
|
|
770
|
+
lanePurpose: string | null;
|
|
771
|
+
assignedAt: string | null;
|
|
772
|
+
returnedAt: string | null;
|
|
773
|
+
failedAt: string | null;
|
|
774
|
+
};
|
|
773
775
|
projectSlug: string;
|
|
774
776
|
definitionRevision: string;
|
|
775
777
|
revisions: {
|
|
@@ -779,9 +781,7 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
779
781
|
chatProfile: string;
|
|
780
782
|
};
|
|
781
783
|
parentInvocationId: string | null;
|
|
782
|
-
depth: number;
|
|
783
784
|
requestedAt: string;
|
|
784
|
-
updatedAt: string;
|
|
785
785
|
failure: {
|
|
786
786
|
code: string;
|
|
787
787
|
message: string | null;
|
|
@@ -806,9 +806,9 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
806
806
|
projectId: string;
|
|
807
807
|
createdAt: string;
|
|
808
808
|
assignmentId: string | null;
|
|
809
|
-
invocationId: string;
|
|
810
|
-
requirement: "required" | "optional";
|
|
811
809
|
agentSlug: string;
|
|
810
|
+
requirement: "required" | "optional";
|
|
811
|
+
invocationId: string;
|
|
812
812
|
projectSlug: string;
|
|
813
813
|
messageRef: string;
|
|
814
814
|
markdown: string;
|
|
@@ -817,9 +817,9 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
817
817
|
projectId: string;
|
|
818
818
|
createdAt: string;
|
|
819
819
|
assignmentId: string | null;
|
|
820
|
-
invocationId: string;
|
|
821
|
-
requirement: "required" | "optional";
|
|
822
820
|
agentSlug: string;
|
|
821
|
+
requirement: "required" | "optional";
|
|
822
|
+
invocationId: string;
|
|
823
823
|
projectSlug: string;
|
|
824
824
|
messageRef: string;
|
|
825
825
|
markdown: string;
|
|
@@ -840,11 +840,11 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
840
840
|
id: z.ZodString;
|
|
841
841
|
handle: z.ZodNullable<z.ZodString>;
|
|
842
842
|
}, "strict", z.ZodTypeAny, {
|
|
843
|
-
kind: "provider" | "agent" | "
|
|
843
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
844
844
|
id: string;
|
|
845
845
|
handle: string | null;
|
|
846
846
|
}, {
|
|
847
|
-
kind: "provider" | "agent" | "
|
|
847
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
848
848
|
id: string;
|
|
849
849
|
handle: string | null;
|
|
850
850
|
}>;
|
|
@@ -853,37 +853,37 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
853
853
|
}, "strict", z.ZodTypeAny, {
|
|
854
854
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
855
855
|
actor: {
|
|
856
|
-
kind: "provider" | "agent" | "
|
|
856
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
857
857
|
id: string;
|
|
858
858
|
handle: string | null;
|
|
859
859
|
};
|
|
860
860
|
id: string;
|
|
861
861
|
teamId: string;
|
|
862
862
|
assignmentId: string | null;
|
|
863
|
+
summary: string;
|
|
864
|
+
sequence: number;
|
|
863
865
|
topicId: string;
|
|
864
866
|
sendId: string | null;
|
|
865
867
|
invocationId: string | null;
|
|
866
|
-
sequence: number;
|
|
867
868
|
payload: Record<string, unknown>;
|
|
868
|
-
summary: string;
|
|
869
869
|
channel: string;
|
|
870
870
|
occurredAt: string;
|
|
871
871
|
}, {
|
|
872
872
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
873
873
|
actor: {
|
|
874
|
-
kind: "provider" | "agent" | "
|
|
874
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
875
875
|
id: string;
|
|
876
876
|
handle: string | null;
|
|
877
877
|
};
|
|
878
878
|
id: string;
|
|
879
879
|
teamId: string;
|
|
880
880
|
assignmentId: string | null;
|
|
881
|
+
summary: string;
|
|
882
|
+
sequence: number;
|
|
881
883
|
topicId: string;
|
|
882
884
|
sendId: string | null;
|
|
883
885
|
invocationId: string | null;
|
|
884
|
-
sequence: number;
|
|
885
886
|
payload: Record<string, unknown>;
|
|
886
|
-
summary: string;
|
|
887
887
|
channel: string;
|
|
888
888
|
occurredAt: string;
|
|
889
889
|
}>, "many">;
|
|
@@ -891,28 +891,15 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
891
891
|
updatedAt: z.ZodString;
|
|
892
892
|
replayed: z.ZodBoolean;
|
|
893
893
|
}, "strict", z.ZodTypeAny, {
|
|
894
|
-
status: "failed" | "running" | "partial" | "
|
|
894
|
+
status: "failed" | "running" | "partial" | "queued" | "complete";
|
|
895
895
|
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
896
896
|
targets: {
|
|
897
897
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
898
898
|
projectId: string;
|
|
899
|
-
|
|
900
|
-
completedAt: string | null;
|
|
901
|
-
requirement: "required" | "optional";
|
|
899
|
+
updatedAt: string;
|
|
902
900
|
agentSlug: string;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
providerId: string | null;
|
|
906
|
-
assignmentId: string | null;
|
|
907
|
-
completedAt: string | null;
|
|
908
|
-
executionProviderId: string | null;
|
|
909
|
-
laneId: string | null;
|
|
910
|
-
lanePurpose: string | null;
|
|
911
|
-
assignedAt: string | null;
|
|
912
|
-
claimedAt: string | null;
|
|
913
|
-
returnedAt: string | null;
|
|
914
|
-
failedAt: string | null;
|
|
915
|
-
};
|
|
901
|
+
requirement: "required" | "optional";
|
|
902
|
+
depth: number;
|
|
916
903
|
diagnostics: {
|
|
917
904
|
provider: {
|
|
918
905
|
providerId: string | null;
|
|
@@ -925,15 +912,30 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
925
912
|
model: string | null;
|
|
926
913
|
parameters: Record<string, unknown>;
|
|
927
914
|
};
|
|
928
|
-
reason: string | null;
|
|
929
915
|
usage: Record<string, unknown>[];
|
|
930
|
-
|
|
916
|
+
reason: string | null;
|
|
917
|
+
availability: "available" | "partial" | "unavailable";
|
|
931
918
|
identityManifest: Record<string, unknown>;
|
|
932
919
|
contextManifest: Record<string, unknown>[];
|
|
933
920
|
timing: Record<string, unknown>;
|
|
934
921
|
traceEvents: Record<string, unknown>[];
|
|
935
922
|
fullPayload?: Record<string, unknown> | undefined;
|
|
936
923
|
};
|
|
924
|
+
completedAt: string | null;
|
|
925
|
+
invocationId: string | null;
|
|
926
|
+
capacity: {
|
|
927
|
+
status: string | null;
|
|
928
|
+
providerId: string | null;
|
|
929
|
+
assignmentId: string | null;
|
|
930
|
+
claimedAt: string | null;
|
|
931
|
+
executionProviderId: string | null;
|
|
932
|
+
completedAt: string | null;
|
|
933
|
+
laneId: string | null;
|
|
934
|
+
lanePurpose: string | null;
|
|
935
|
+
assignedAt: string | null;
|
|
936
|
+
returnedAt: string | null;
|
|
937
|
+
failedAt: string | null;
|
|
938
|
+
};
|
|
937
939
|
projectSlug: string;
|
|
938
940
|
definitionRevision: string;
|
|
939
941
|
revisions: {
|
|
@@ -943,9 +945,7 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
943
945
|
chatProfile: string;
|
|
944
946
|
};
|
|
945
947
|
parentInvocationId: string | null;
|
|
946
|
-
depth: number;
|
|
947
948
|
requestedAt: string;
|
|
948
|
-
updatedAt: string;
|
|
949
949
|
failure: {
|
|
950
950
|
code: string;
|
|
951
951
|
message: string | null;
|
|
@@ -955,75 +955,62 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
955
955
|
}[];
|
|
956
956
|
teamId: string;
|
|
957
957
|
createdAt: string;
|
|
958
|
-
|
|
958
|
+
updatedAt: string;
|
|
959
959
|
responses: {
|
|
960
960
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
961
961
|
projectId: string;
|
|
962
962
|
createdAt: string;
|
|
963
963
|
assignmentId: string | null;
|
|
964
|
-
invocationId: string;
|
|
965
|
-
requirement: "required" | "optional";
|
|
966
964
|
agentSlug: string;
|
|
965
|
+
requirement: "required" | "optional";
|
|
966
|
+
invocationId: string;
|
|
967
967
|
projectSlug: string;
|
|
968
968
|
messageRef: string;
|
|
969
969
|
markdown: string;
|
|
970
970
|
}[];
|
|
971
|
-
channel: string;
|
|
972
|
-
topic: {
|
|
973
|
-
id: string;
|
|
974
|
-
slug: string;
|
|
975
|
-
};
|
|
976
971
|
events: {
|
|
977
972
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
978
973
|
actor: {
|
|
979
|
-
kind: "provider" | "agent" | "
|
|
974
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
980
975
|
id: string;
|
|
981
976
|
handle: string | null;
|
|
982
977
|
};
|
|
983
978
|
id: string;
|
|
984
979
|
teamId: string;
|
|
985
980
|
assignmentId: string | null;
|
|
981
|
+
summary: string;
|
|
982
|
+
sequence: number;
|
|
986
983
|
topicId: string;
|
|
987
984
|
sendId: string | null;
|
|
988
985
|
invocationId: string | null;
|
|
989
|
-
sequence: number;
|
|
990
986
|
payload: Record<string, unknown>;
|
|
991
|
-
summary: string;
|
|
992
987
|
channel: string;
|
|
993
988
|
occurredAt: string;
|
|
994
989
|
}[];
|
|
995
|
-
|
|
990
|
+
topic: {
|
|
991
|
+
id: string;
|
|
992
|
+
slug: string;
|
|
993
|
+
};
|
|
994
|
+
sendId: string;
|
|
995
|
+
channel: string;
|
|
996
996
|
projectStreams: {
|
|
997
997
|
id: string;
|
|
998
998
|
projectId: string;
|
|
999
|
+
discussionId: string;
|
|
999
1000
|
projectSlug: string;
|
|
1000
1001
|
messageRef: string;
|
|
1001
|
-
discussionId: string;
|
|
1002
1002
|
}[];
|
|
1003
1003
|
replayed: boolean;
|
|
1004
1004
|
}, {
|
|
1005
|
-
status: "failed" | "running" | "partial" | "
|
|
1005
|
+
status: "failed" | "running" | "partial" | "queued" | "complete";
|
|
1006
1006
|
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
1007
1007
|
targets: {
|
|
1008
1008
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
1009
1009
|
projectId: string;
|
|
1010
|
-
|
|
1011
|
-
completedAt: string | null;
|
|
1012
|
-
requirement: "required" | "optional";
|
|
1010
|
+
updatedAt: string;
|
|
1013
1011
|
agentSlug: string;
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
providerId: string | null;
|
|
1017
|
-
assignmentId: string | null;
|
|
1018
|
-
completedAt: string | null;
|
|
1019
|
-
executionProviderId: string | null;
|
|
1020
|
-
laneId: string | null;
|
|
1021
|
-
lanePurpose: string | null;
|
|
1022
|
-
assignedAt: string | null;
|
|
1023
|
-
claimedAt: string | null;
|
|
1024
|
-
returnedAt: string | null;
|
|
1025
|
-
failedAt: string | null;
|
|
1026
|
-
};
|
|
1012
|
+
requirement: "required" | "optional";
|
|
1013
|
+
depth: number;
|
|
1027
1014
|
diagnostics: {
|
|
1028
1015
|
provider: {
|
|
1029
1016
|
providerId: string | null;
|
|
@@ -1036,15 +1023,30 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
1036
1023
|
model: string | null;
|
|
1037
1024
|
parameters: Record<string, unknown>;
|
|
1038
1025
|
};
|
|
1039
|
-
reason: string | null;
|
|
1040
1026
|
usage: Record<string, unknown>[];
|
|
1041
|
-
|
|
1027
|
+
reason: string | null;
|
|
1028
|
+
availability: "available" | "partial" | "unavailable";
|
|
1042
1029
|
identityManifest: Record<string, unknown>;
|
|
1043
1030
|
contextManifest: Record<string, unknown>[];
|
|
1044
1031
|
timing: Record<string, unknown>;
|
|
1045
1032
|
traceEvents: Record<string, unknown>[];
|
|
1046
1033
|
fullPayload?: Record<string, unknown> | undefined;
|
|
1047
1034
|
};
|
|
1035
|
+
completedAt: string | null;
|
|
1036
|
+
invocationId: string | null;
|
|
1037
|
+
capacity: {
|
|
1038
|
+
status: string | null;
|
|
1039
|
+
providerId: string | null;
|
|
1040
|
+
assignmentId: string | null;
|
|
1041
|
+
claimedAt: string | null;
|
|
1042
|
+
executionProviderId: string | null;
|
|
1043
|
+
completedAt: string | null;
|
|
1044
|
+
laneId: string | null;
|
|
1045
|
+
lanePurpose: string | null;
|
|
1046
|
+
assignedAt: string | null;
|
|
1047
|
+
returnedAt: string | null;
|
|
1048
|
+
failedAt: string | null;
|
|
1049
|
+
};
|
|
1048
1050
|
projectSlug: string;
|
|
1049
1051
|
definitionRevision: string;
|
|
1050
1052
|
revisions: {
|
|
@@ -1054,9 +1056,7 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
1054
1056
|
chatProfile: string;
|
|
1055
1057
|
};
|
|
1056
1058
|
parentInvocationId: string | null;
|
|
1057
|
-
depth: number;
|
|
1058
1059
|
requestedAt: string;
|
|
1059
|
-
updatedAt: string;
|
|
1060
1060
|
failure: {
|
|
1061
1061
|
code: string;
|
|
1062
1062
|
message: string | null;
|
|
@@ -1066,50 +1066,50 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
1066
1066
|
}[];
|
|
1067
1067
|
teamId: string;
|
|
1068
1068
|
createdAt: string;
|
|
1069
|
-
|
|
1069
|
+
updatedAt: string;
|
|
1070
1070
|
responses: {
|
|
1071
1071
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
1072
1072
|
projectId: string;
|
|
1073
1073
|
createdAt: string;
|
|
1074
1074
|
assignmentId: string | null;
|
|
1075
|
-
invocationId: string;
|
|
1076
|
-
requirement: "required" | "optional";
|
|
1077
1075
|
agentSlug: string;
|
|
1076
|
+
requirement: "required" | "optional";
|
|
1077
|
+
invocationId: string;
|
|
1078
1078
|
projectSlug: string;
|
|
1079
1079
|
messageRef: string;
|
|
1080
1080
|
markdown: string;
|
|
1081
1081
|
}[];
|
|
1082
|
-
channel: string;
|
|
1083
|
-
topic: {
|
|
1084
|
-
id: string;
|
|
1085
|
-
slug: string;
|
|
1086
|
-
};
|
|
1087
1082
|
events: {
|
|
1088
1083
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1089
1084
|
actor: {
|
|
1090
|
-
kind: "provider" | "agent" | "
|
|
1085
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1091
1086
|
id: string;
|
|
1092
1087
|
handle: string | null;
|
|
1093
1088
|
};
|
|
1094
1089
|
id: string;
|
|
1095
1090
|
teamId: string;
|
|
1096
1091
|
assignmentId: string | null;
|
|
1092
|
+
summary: string;
|
|
1093
|
+
sequence: number;
|
|
1097
1094
|
topicId: string;
|
|
1098
1095
|
sendId: string | null;
|
|
1099
1096
|
invocationId: string | null;
|
|
1100
|
-
sequence: number;
|
|
1101
1097
|
payload: Record<string, unknown>;
|
|
1102
|
-
summary: string;
|
|
1103
1098
|
channel: string;
|
|
1104
1099
|
occurredAt: string;
|
|
1105
1100
|
}[];
|
|
1106
|
-
|
|
1101
|
+
topic: {
|
|
1102
|
+
id: string;
|
|
1103
|
+
slug: string;
|
|
1104
|
+
};
|
|
1105
|
+
sendId: string;
|
|
1106
|
+
channel: string;
|
|
1107
1107
|
projectStreams: {
|
|
1108
1108
|
id: string;
|
|
1109
1109
|
projectId: string;
|
|
1110
|
+
discussionId: string;
|
|
1110
1111
|
projectSlug: string;
|
|
1111
1112
|
messageRef: string;
|
|
1112
|
-
discussionId: string;
|
|
1113
1113
|
}[];
|
|
1114
1114
|
replayed: boolean;
|
|
1115
1115
|
}>;
|
|
@@ -1127,18 +1127,18 @@ export declare const communicationTopicListenerSchema: z.ZodObject<{
|
|
|
1127
1127
|
status: "active" | "removed";
|
|
1128
1128
|
projectId: string;
|
|
1129
1129
|
source: "seed" | "operator" | "mention";
|
|
1130
|
+
updatedAt: string;
|
|
1130
1131
|
agentSlug: string;
|
|
1131
1132
|
projectSlug: string;
|
|
1132
|
-
updatedAt: string;
|
|
1133
1133
|
agentHandle: string;
|
|
1134
1134
|
subscribedAt: string;
|
|
1135
1135
|
}, {
|
|
1136
1136
|
status: "active" | "removed";
|
|
1137
1137
|
projectId: string;
|
|
1138
1138
|
source: "seed" | "operator" | "mention";
|
|
1139
|
+
updatedAt: string;
|
|
1139
1140
|
agentSlug: string;
|
|
1140
1141
|
projectSlug: string;
|
|
1141
|
-
updatedAt: string;
|
|
1142
1142
|
agentHandle: string;
|
|
1143
1143
|
subscribedAt: string;
|
|
1144
1144
|
}>;
|
|
@@ -1157,13 +1157,13 @@ export declare const communicationTopicSchema: z.ZodObject<{
|
|
|
1157
1157
|
}, "strict", z.ZodTypeAny, {
|
|
1158
1158
|
id: string;
|
|
1159
1159
|
projectId: string;
|
|
1160
|
-
projectSlug: string;
|
|
1161
1160
|
discussionId: string;
|
|
1161
|
+
projectSlug: string;
|
|
1162
1162
|
}, {
|
|
1163
1163
|
id: string;
|
|
1164
1164
|
projectId: string;
|
|
1165
|
-
projectSlug: string;
|
|
1166
1165
|
discussionId: string;
|
|
1166
|
+
projectSlug: string;
|
|
1167
1167
|
}>, "many">;
|
|
1168
1168
|
listeners: z.ZodArray<z.ZodObject<{
|
|
1169
1169
|
projectId: z.ZodString;
|
|
@@ -1179,18 +1179,18 @@ export declare const communicationTopicSchema: z.ZodObject<{
|
|
|
1179
1179
|
status: "active" | "removed";
|
|
1180
1180
|
projectId: string;
|
|
1181
1181
|
source: "seed" | "operator" | "mention";
|
|
1182
|
+
updatedAt: string;
|
|
1182
1183
|
agentSlug: string;
|
|
1183
1184
|
projectSlug: string;
|
|
1184
|
-
updatedAt: string;
|
|
1185
1185
|
agentHandle: string;
|
|
1186
1186
|
subscribedAt: string;
|
|
1187
1187
|
}, {
|
|
1188
1188
|
status: "active" | "removed";
|
|
1189
1189
|
projectId: string;
|
|
1190
1190
|
source: "seed" | "operator" | "mention";
|
|
1191
|
+
updatedAt: string;
|
|
1191
1192
|
agentSlug: string;
|
|
1192
1193
|
projectSlug: string;
|
|
1193
|
-
updatedAt: string;
|
|
1194
1194
|
agentHandle: string;
|
|
1195
1195
|
subscribedAt: string;
|
|
1196
1196
|
}>, "many">;
|
|
@@ -1204,16 +1204,16 @@ export declare const communicationTopicSchema: z.ZodObject<{
|
|
|
1204
1204
|
streams: {
|
|
1205
1205
|
id: string;
|
|
1206
1206
|
projectId: string;
|
|
1207
|
-
projectSlug: string;
|
|
1208
1207
|
discussionId: string;
|
|
1208
|
+
projectSlug: string;
|
|
1209
1209
|
}[];
|
|
1210
1210
|
listeners: {
|
|
1211
1211
|
status: "active" | "removed";
|
|
1212
1212
|
projectId: string;
|
|
1213
1213
|
source: "seed" | "operator" | "mention";
|
|
1214
|
+
updatedAt: string;
|
|
1214
1215
|
agentSlug: string;
|
|
1215
1216
|
projectSlug: string;
|
|
1216
|
-
updatedAt: string;
|
|
1217
1217
|
agentHandle: string;
|
|
1218
1218
|
subscribedAt: string;
|
|
1219
1219
|
}[];
|
|
@@ -1227,16 +1227,16 @@ export declare const communicationTopicSchema: z.ZodObject<{
|
|
|
1227
1227
|
streams: {
|
|
1228
1228
|
id: string;
|
|
1229
1229
|
projectId: string;
|
|
1230
|
-
projectSlug: string;
|
|
1231
1230
|
discussionId: string;
|
|
1231
|
+
projectSlug: string;
|
|
1232
1232
|
}[];
|
|
1233
1233
|
listeners: {
|
|
1234
1234
|
status: "active" | "removed";
|
|
1235
1235
|
projectId: string;
|
|
1236
1236
|
source: "seed" | "operator" | "mention";
|
|
1237
|
+
updatedAt: string;
|
|
1237
1238
|
agentSlug: string;
|
|
1238
1239
|
projectSlug: string;
|
|
1239
|
-
updatedAt: string;
|
|
1240
1240
|
agentHandle: string;
|
|
1241
1241
|
subscribedAt: string;
|
|
1242
1242
|
}[];
|
|
@@ -1257,13 +1257,13 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1257
1257
|
}, "strict", z.ZodTypeAny, {
|
|
1258
1258
|
id: string;
|
|
1259
1259
|
projectId: string;
|
|
1260
|
-
projectSlug: string;
|
|
1261
1260
|
discussionId: string;
|
|
1261
|
+
projectSlug: string;
|
|
1262
1262
|
}, {
|
|
1263
1263
|
id: string;
|
|
1264
1264
|
projectId: string;
|
|
1265
|
-
projectSlug: string;
|
|
1266
1265
|
discussionId: string;
|
|
1266
|
+
projectSlug: string;
|
|
1267
1267
|
}>, "many">;
|
|
1268
1268
|
listeners: z.ZodArray<z.ZodObject<{
|
|
1269
1269
|
projectId: z.ZodString;
|
|
@@ -1279,18 +1279,18 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1279
1279
|
status: "active" | "removed";
|
|
1280
1280
|
projectId: string;
|
|
1281
1281
|
source: "seed" | "operator" | "mention";
|
|
1282
|
+
updatedAt: string;
|
|
1282
1283
|
agentSlug: string;
|
|
1283
1284
|
projectSlug: string;
|
|
1284
|
-
updatedAt: string;
|
|
1285
1285
|
agentHandle: string;
|
|
1286
1286
|
subscribedAt: string;
|
|
1287
1287
|
}, {
|
|
1288
1288
|
status: "active" | "removed";
|
|
1289
1289
|
projectId: string;
|
|
1290
1290
|
source: "seed" | "operator" | "mention";
|
|
1291
|
+
updatedAt: string;
|
|
1291
1292
|
agentSlug: string;
|
|
1292
1293
|
projectSlug: string;
|
|
1293
|
-
updatedAt: string;
|
|
1294
1294
|
agentHandle: string;
|
|
1295
1295
|
subscribedAt: string;
|
|
1296
1296
|
}>, "many">;
|
|
@@ -1304,16 +1304,16 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1304
1304
|
streams: {
|
|
1305
1305
|
id: string;
|
|
1306
1306
|
projectId: string;
|
|
1307
|
-
projectSlug: string;
|
|
1308
1307
|
discussionId: string;
|
|
1308
|
+
projectSlug: string;
|
|
1309
1309
|
}[];
|
|
1310
1310
|
listeners: {
|
|
1311
1311
|
status: "active" | "removed";
|
|
1312
1312
|
projectId: string;
|
|
1313
1313
|
source: "seed" | "operator" | "mention";
|
|
1314
|
+
updatedAt: string;
|
|
1314
1315
|
agentSlug: string;
|
|
1315
1316
|
projectSlug: string;
|
|
1316
|
-
updatedAt: string;
|
|
1317
1317
|
agentHandle: string;
|
|
1318
1318
|
subscribedAt: string;
|
|
1319
1319
|
}[];
|
|
@@ -1327,16 +1327,16 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1327
1327
|
streams: {
|
|
1328
1328
|
id: string;
|
|
1329
1329
|
projectId: string;
|
|
1330
|
-
projectSlug: string;
|
|
1331
1330
|
discussionId: string;
|
|
1331
|
+
projectSlug: string;
|
|
1332
1332
|
}[];
|
|
1333
1333
|
listeners: {
|
|
1334
1334
|
status: "active" | "removed";
|
|
1335
1335
|
projectId: string;
|
|
1336
1336
|
source: "seed" | "operator" | "mention";
|
|
1337
|
+
updatedAt: string;
|
|
1337
1338
|
agentSlug: string;
|
|
1338
1339
|
projectSlug: string;
|
|
1339
|
-
updatedAt: string;
|
|
1340
1340
|
agentHandle: string;
|
|
1341
1341
|
subscribedAt: string;
|
|
1342
1342
|
}[];
|
|
@@ -1353,16 +1353,16 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1353
1353
|
streams: {
|
|
1354
1354
|
id: string;
|
|
1355
1355
|
projectId: string;
|
|
1356
|
-
projectSlug: string;
|
|
1357
1356
|
discussionId: string;
|
|
1357
|
+
projectSlug: string;
|
|
1358
1358
|
}[];
|
|
1359
1359
|
listeners: {
|
|
1360
1360
|
status: "active" | "removed";
|
|
1361
1361
|
projectId: string;
|
|
1362
1362
|
source: "seed" | "operator" | "mention";
|
|
1363
|
+
updatedAt: string;
|
|
1363
1364
|
agentSlug: string;
|
|
1364
1365
|
projectSlug: string;
|
|
1365
|
-
updatedAt: string;
|
|
1366
1366
|
agentHandle: string;
|
|
1367
1367
|
subscribedAt: string;
|
|
1368
1368
|
}[];
|
|
@@ -1379,16 +1379,16 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
|
|
|
1379
1379
|
streams: {
|
|
1380
1380
|
id: string;
|
|
1381
1381
|
projectId: string;
|
|
1382
|
-
projectSlug: string;
|
|
1383
1382
|
discussionId: string;
|
|
1383
|
+
projectSlug: string;
|
|
1384
1384
|
}[];
|
|
1385
1385
|
listeners: {
|
|
1386
1386
|
status: "active" | "removed";
|
|
1387
1387
|
projectId: string;
|
|
1388
1388
|
source: "seed" | "operator" | "mention";
|
|
1389
|
+
updatedAt: string;
|
|
1389
1390
|
agentSlug: string;
|
|
1390
1391
|
projectSlug: string;
|
|
1391
|
-
updatedAt: string;
|
|
1392
1392
|
agentHandle: string;
|
|
1393
1393
|
subscribedAt: string;
|
|
1394
1394
|
}[];
|
|
@@ -1411,13 +1411,13 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1411
1411
|
}, "strict", z.ZodTypeAny, {
|
|
1412
1412
|
id: string;
|
|
1413
1413
|
projectId: string;
|
|
1414
|
-
projectSlug: string;
|
|
1415
1414
|
discussionId: string;
|
|
1415
|
+
projectSlug: string;
|
|
1416
1416
|
}, {
|
|
1417
1417
|
id: string;
|
|
1418
1418
|
projectId: string;
|
|
1419
|
-
projectSlug: string;
|
|
1420
1419
|
discussionId: string;
|
|
1420
|
+
projectSlug: string;
|
|
1421
1421
|
}>, "many">;
|
|
1422
1422
|
listeners: z.ZodArray<z.ZodObject<{
|
|
1423
1423
|
projectId: z.ZodString;
|
|
@@ -1433,18 +1433,18 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1433
1433
|
status: "active" | "removed";
|
|
1434
1434
|
projectId: string;
|
|
1435
1435
|
source: "seed" | "operator" | "mention";
|
|
1436
|
+
updatedAt: string;
|
|
1436
1437
|
agentSlug: string;
|
|
1437
1438
|
projectSlug: string;
|
|
1438
|
-
updatedAt: string;
|
|
1439
1439
|
agentHandle: string;
|
|
1440
1440
|
subscribedAt: string;
|
|
1441
1441
|
}, {
|
|
1442
1442
|
status: "active" | "removed";
|
|
1443
1443
|
projectId: string;
|
|
1444
1444
|
source: "seed" | "operator" | "mention";
|
|
1445
|
+
updatedAt: string;
|
|
1445
1446
|
agentSlug: string;
|
|
1446
1447
|
projectSlug: string;
|
|
1447
|
-
updatedAt: string;
|
|
1448
1448
|
agentHandle: string;
|
|
1449
1449
|
subscribedAt: string;
|
|
1450
1450
|
}>, "many">;
|
|
@@ -1458,16 +1458,16 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1458
1458
|
streams: {
|
|
1459
1459
|
id: string;
|
|
1460
1460
|
projectId: string;
|
|
1461
|
-
projectSlug: string;
|
|
1462
1461
|
discussionId: string;
|
|
1462
|
+
projectSlug: string;
|
|
1463
1463
|
}[];
|
|
1464
1464
|
listeners: {
|
|
1465
1465
|
status: "active" | "removed";
|
|
1466
1466
|
projectId: string;
|
|
1467
1467
|
source: "seed" | "operator" | "mention";
|
|
1468
|
+
updatedAt: string;
|
|
1468
1469
|
agentSlug: string;
|
|
1469
1470
|
projectSlug: string;
|
|
1470
|
-
updatedAt: string;
|
|
1471
1471
|
agentHandle: string;
|
|
1472
1472
|
subscribedAt: string;
|
|
1473
1473
|
}[];
|
|
@@ -1481,16 +1481,16 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1481
1481
|
streams: {
|
|
1482
1482
|
id: string;
|
|
1483
1483
|
projectId: string;
|
|
1484
|
-
projectSlug: string;
|
|
1485
1484
|
discussionId: string;
|
|
1485
|
+
projectSlug: string;
|
|
1486
1486
|
}[];
|
|
1487
1487
|
listeners: {
|
|
1488
1488
|
status: "active" | "removed";
|
|
1489
1489
|
projectId: string;
|
|
1490
1490
|
source: "seed" | "operator" | "mention";
|
|
1491
|
+
updatedAt: string;
|
|
1491
1492
|
agentSlug: string;
|
|
1492
1493
|
projectSlug: string;
|
|
1493
|
-
updatedAt: string;
|
|
1494
1494
|
agentHandle: string;
|
|
1495
1495
|
subscribedAt: string;
|
|
1496
1496
|
}[];
|
|
@@ -1511,11 +1511,11 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1511
1511
|
id: z.ZodString;
|
|
1512
1512
|
handle: z.ZodNullable<z.ZodString>;
|
|
1513
1513
|
}, "strict", z.ZodTypeAny, {
|
|
1514
|
-
kind: "provider" | "agent" | "
|
|
1514
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1515
1515
|
id: string;
|
|
1516
1516
|
handle: string | null;
|
|
1517
1517
|
}, {
|
|
1518
|
-
kind: "provider" | "agent" | "
|
|
1518
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1519
1519
|
id: string;
|
|
1520
1520
|
handle: string | null;
|
|
1521
1521
|
}>;
|
|
@@ -1524,43 +1524,61 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1524
1524
|
}, "strict", z.ZodTypeAny, {
|
|
1525
1525
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1526
1526
|
actor: {
|
|
1527
|
-
kind: "provider" | "agent" | "
|
|
1527
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1528
1528
|
id: string;
|
|
1529
1529
|
handle: string | null;
|
|
1530
1530
|
};
|
|
1531
1531
|
id: string;
|
|
1532
1532
|
teamId: string;
|
|
1533
1533
|
assignmentId: string | null;
|
|
1534
|
+
summary: string;
|
|
1535
|
+
sequence: number;
|
|
1534
1536
|
topicId: string;
|
|
1535
1537
|
sendId: string | null;
|
|
1536
1538
|
invocationId: string | null;
|
|
1537
|
-
sequence: number;
|
|
1538
1539
|
payload: Record<string, unknown>;
|
|
1539
|
-
summary: string;
|
|
1540
1540
|
channel: string;
|
|
1541
1541
|
occurredAt: string;
|
|
1542
1542
|
}, {
|
|
1543
1543
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1544
1544
|
actor: {
|
|
1545
|
-
kind: "provider" | "agent" | "
|
|
1545
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1546
1546
|
id: string;
|
|
1547
1547
|
handle: string | null;
|
|
1548
1548
|
};
|
|
1549
1549
|
id: string;
|
|
1550
1550
|
teamId: string;
|
|
1551
1551
|
assignmentId: string | null;
|
|
1552
|
+
summary: string;
|
|
1553
|
+
sequence: number;
|
|
1552
1554
|
topicId: string;
|
|
1553
1555
|
sendId: string | null;
|
|
1554
1556
|
invocationId: string | null;
|
|
1555
|
-
sequence: number;
|
|
1556
1557
|
payload: Record<string, unknown>;
|
|
1557
|
-
summary: string;
|
|
1558
1558
|
channel: string;
|
|
1559
1559
|
occurredAt: string;
|
|
1560
1560
|
}>, "many">;
|
|
1561
1561
|
cursor: z.ZodNullable<z.ZodString>;
|
|
1562
1562
|
}, "strict", z.ZodTypeAny, {
|
|
1563
|
-
|
|
1563
|
+
events: {
|
|
1564
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1565
|
+
actor: {
|
|
1566
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1567
|
+
id: string;
|
|
1568
|
+
handle: string | null;
|
|
1569
|
+
};
|
|
1570
|
+
id: string;
|
|
1571
|
+
teamId: string;
|
|
1572
|
+
assignmentId: string | null;
|
|
1573
|
+
summary: string;
|
|
1574
|
+
sequence: number;
|
|
1575
|
+
topicId: string;
|
|
1576
|
+
sendId: string | null;
|
|
1577
|
+
invocationId: string | null;
|
|
1578
|
+
payload: Record<string, unknown>;
|
|
1579
|
+
channel: string;
|
|
1580
|
+
occurredAt: string;
|
|
1581
|
+
}[];
|
|
1564
1582
|
topic: {
|
|
1565
1583
|
status: "active" | "archived";
|
|
1566
1584
|
id: string;
|
|
@@ -1571,41 +1589,41 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1571
1589
|
streams: {
|
|
1572
1590
|
id: string;
|
|
1573
1591
|
projectId: string;
|
|
1574
|
-
projectSlug: string;
|
|
1575
1592
|
discussionId: string;
|
|
1593
|
+
projectSlug: string;
|
|
1576
1594
|
}[];
|
|
1577
1595
|
listeners: {
|
|
1578
1596
|
status: "active" | "removed";
|
|
1579
1597
|
projectId: string;
|
|
1580
1598
|
source: "seed" | "operator" | "mention";
|
|
1599
|
+
updatedAt: string;
|
|
1581
1600
|
agentSlug: string;
|
|
1582
1601
|
projectSlug: string;
|
|
1583
|
-
updatedAt: string;
|
|
1584
1602
|
agentHandle: string;
|
|
1585
1603
|
subscribedAt: string;
|
|
1586
1604
|
}[];
|
|
1587
1605
|
};
|
|
1606
|
+
cursor: string | null;
|
|
1607
|
+
}, {
|
|
1588
1608
|
events: {
|
|
1589
1609
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1590
1610
|
actor: {
|
|
1591
|
-
kind: "provider" | "agent" | "
|
|
1611
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
1592
1612
|
id: string;
|
|
1593
1613
|
handle: string | null;
|
|
1594
1614
|
};
|
|
1595
1615
|
id: string;
|
|
1596
1616
|
teamId: string;
|
|
1597
1617
|
assignmentId: string | null;
|
|
1618
|
+
summary: string;
|
|
1619
|
+
sequence: number;
|
|
1598
1620
|
topicId: string;
|
|
1599
1621
|
sendId: string | null;
|
|
1600
1622
|
invocationId: string | null;
|
|
1601
|
-
sequence: number;
|
|
1602
1623
|
payload: Record<string, unknown>;
|
|
1603
|
-
summary: string;
|
|
1604
1624
|
channel: string;
|
|
1605
1625
|
occurredAt: string;
|
|
1606
1626
|
}[];
|
|
1607
|
-
}, {
|
|
1608
|
-
cursor: string | null;
|
|
1609
1627
|
topic: {
|
|
1610
1628
|
status: "active" | "archived";
|
|
1611
1629
|
id: string;
|
|
@@ -1616,39 +1634,21 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
|
|
|
1616
1634
|
streams: {
|
|
1617
1635
|
id: string;
|
|
1618
1636
|
projectId: string;
|
|
1619
|
-
projectSlug: string;
|
|
1620
1637
|
discussionId: string;
|
|
1638
|
+
projectSlug: string;
|
|
1621
1639
|
}[];
|
|
1622
1640
|
listeners: {
|
|
1623
1641
|
status: "active" | "removed";
|
|
1624
1642
|
projectId: string;
|
|
1625
1643
|
source: "seed" | "operator" | "mention";
|
|
1644
|
+
updatedAt: string;
|
|
1626
1645
|
agentSlug: string;
|
|
1627
1646
|
projectSlug: string;
|
|
1628
|
-
updatedAt: string;
|
|
1629
1647
|
agentHandle: string;
|
|
1630
1648
|
subscribedAt: string;
|
|
1631
1649
|
}[];
|
|
1632
1650
|
};
|
|
1633
|
-
|
|
1634
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
1635
|
-
actor: {
|
|
1636
|
-
kind: "provider" | "agent" | "control-plane" | "user";
|
|
1637
|
-
id: string;
|
|
1638
|
-
handle: string | null;
|
|
1639
|
-
};
|
|
1640
|
-
id: string;
|
|
1641
|
-
teamId: string;
|
|
1642
|
-
assignmentId: string | null;
|
|
1643
|
-
topicId: string;
|
|
1644
|
-
sendId: string | null;
|
|
1645
|
-
invocationId: string | null;
|
|
1646
|
-
sequence: number;
|
|
1647
|
-
payload: Record<string, unknown>;
|
|
1648
|
-
summary: string;
|
|
1649
|
-
channel: string;
|
|
1650
|
-
occurredAt: string;
|
|
1651
|
-
}[];
|
|
1651
|
+
cursor: string | null;
|
|
1652
1652
|
}>;
|
|
1653
1653
|
export declare const communicationTopicSubscriptionRequestSchema: z.ZodObject<{
|
|
1654
1654
|
agent: z.ZodString;
|
|
@@ -1673,18 +1673,18 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
|
|
|
1673
1673
|
status: "active" | "removed";
|
|
1674
1674
|
projectId: string;
|
|
1675
1675
|
source: "seed" | "operator" | "mention";
|
|
1676
|
+
updatedAt: string;
|
|
1676
1677
|
agentSlug: string;
|
|
1677
1678
|
projectSlug: string;
|
|
1678
|
-
updatedAt: string;
|
|
1679
1679
|
agentHandle: string;
|
|
1680
1680
|
subscribedAt: string;
|
|
1681
1681
|
}, {
|
|
1682
1682
|
status: "active" | "removed";
|
|
1683
1683
|
projectId: string;
|
|
1684
1684
|
source: "seed" | "operator" | "mention";
|
|
1685
|
+
updatedAt: string;
|
|
1685
1686
|
agentSlug: string;
|
|
1686
1687
|
projectSlug: string;
|
|
1687
|
-
updatedAt: string;
|
|
1688
1688
|
agentHandle: string;
|
|
1689
1689
|
subscribedAt: string;
|
|
1690
1690
|
}>;
|
|
@@ -1696,9 +1696,9 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
|
|
|
1696
1696
|
status: "active" | "removed";
|
|
1697
1697
|
projectId: string;
|
|
1698
1698
|
source: "seed" | "operator" | "mention";
|
|
1699
|
+
updatedAt: string;
|
|
1699
1700
|
agentSlug: string;
|
|
1700
1701
|
projectSlug: string;
|
|
1701
|
-
updatedAt: string;
|
|
1702
1702
|
agentHandle: string;
|
|
1703
1703
|
subscribedAt: string;
|
|
1704
1704
|
};
|
|
@@ -1709,9 +1709,9 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
|
|
|
1709
1709
|
status: "active" | "removed";
|
|
1710
1710
|
projectId: string;
|
|
1711
1711
|
source: "seed" | "operator" | "mention";
|
|
1712
|
+
updatedAt: string;
|
|
1712
1713
|
agentSlug: string;
|
|
1713
1714
|
projectSlug: string;
|
|
1714
|
-
updatedAt: string;
|
|
1715
1715
|
agentHandle: string;
|
|
1716
1716
|
subscribedAt: string;
|
|
1717
1717
|
};
|
|
@@ -1740,18 +1740,18 @@ export declare const providerCommunicationTraceEventRequestSchema: z.ZodObject<{
|
|
|
1740
1740
|
protectedPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1741
1741
|
}, "strict", z.ZodTypeAny, {
|
|
1742
1742
|
type: string;
|
|
1743
|
+
summary: string;
|
|
1743
1744
|
sequence: number;
|
|
1744
1745
|
payload: Record<string, unknown>;
|
|
1745
|
-
summary: string;
|
|
1746
1746
|
occurredAt: string;
|
|
1747
1747
|
runnerId: string;
|
|
1748
1748
|
leaseToken: string;
|
|
1749
1749
|
protectedPayload?: Record<string, unknown> | undefined;
|
|
1750
1750
|
}, {
|
|
1751
1751
|
type: string;
|
|
1752
|
+
summary: string;
|
|
1752
1753
|
sequence: number;
|
|
1753
1754
|
payload: Record<string, unknown>;
|
|
1754
|
-
summary: string;
|
|
1755
1755
|
occurredAt: string;
|
|
1756
1756
|
runnerId: string;
|
|
1757
1757
|
leaseToken: string;
|
|
@@ -1765,9 +1765,9 @@ export declare const providerDiscussionResponseRequestSchema: z.ZodEffects<z.Zod
|
|
|
1765
1765
|
summary: z.ZodOptional<z.ZodString>;
|
|
1766
1766
|
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1767
1767
|
}, "strict", z.ZodTypeAny, {
|
|
1768
|
+
outcome: "responded" | "abstained";
|
|
1768
1769
|
runnerId: string;
|
|
1769
1770
|
leaseToken: string;
|
|
1770
|
-
outcome: "responded" | "abstained";
|
|
1771
1771
|
summary?: string | undefined;
|
|
1772
1772
|
usage?: Record<string, unknown> | undefined;
|
|
1773
1773
|
markdown?: string | undefined;
|
|
@@ -1776,12 +1776,12 @@ export declare const providerDiscussionResponseRequestSchema: z.ZodEffects<z.Zod
|
|
|
1776
1776
|
leaseToken: string;
|
|
1777
1777
|
summary?: string | undefined;
|
|
1778
1778
|
usage?: Record<string, unknown> | undefined;
|
|
1779
|
-
markdown?: string | undefined;
|
|
1780
1779
|
outcome?: "responded" | "abstained" | undefined;
|
|
1780
|
+
markdown?: string | undefined;
|
|
1781
1781
|
}>, {
|
|
1782
|
+
outcome: "responded" | "abstained";
|
|
1782
1783
|
runnerId: string;
|
|
1783
1784
|
leaseToken: string;
|
|
1784
|
-
outcome: "responded" | "abstained";
|
|
1785
1785
|
summary?: string | undefined;
|
|
1786
1786
|
usage?: Record<string, unknown> | undefined;
|
|
1787
1787
|
markdown?: string | undefined;
|
|
@@ -1790,8 +1790,8 @@ export declare const providerDiscussionResponseRequestSchema: z.ZodEffects<z.Zod
|
|
|
1790
1790
|
leaseToken: string;
|
|
1791
1791
|
summary?: string | undefined;
|
|
1792
1792
|
usage?: Record<string, unknown> | undefined;
|
|
1793
|
-
markdown?: string | undefined;
|
|
1794
1793
|
outcome?: "responded" | "abstained" | undefined;
|
|
1794
|
+
markdown?: string | undefined;
|
|
1795
1795
|
}>;
|
|
1796
1796
|
export declare const providerDiscussionResponseReceiptSchema: z.ZodObject<{
|
|
1797
1797
|
schemaVersion: z.ZodLiteral<"treeseed.provider-discussion-response-receipt/v1">;
|