@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123
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/capacity/assignments/agent-execution.d.ts +2365 -1275
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- 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 +55 -55
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- 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 +496 -292
- package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -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 +1178 -1152
- package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
- 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 +49 -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 +3 -4
- package/dist/capacity/agents/agent-capacity.js +2 -3
- package/dist/capacity-provider/capability-ontology.d.ts +150 -150
- package/dist/capacity-provider/client.d.ts +15 -9
- package/dist/capacity-provider/client.js +1 -10
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +188 -188
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
- package/dist/capacity-provider/source-workspace.d.ts +166 -68
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
- package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
- package/dist/content/validation/content-model-schemas.js +192 -115
- package/dist/content/validation/portable-content-data.d.ts +411 -238
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +24 -24
- package/dist/deployment/ai-hosting.d.ts +18 -18
- package/dist/deployment/ai-instance.d.ts +16 -16
- package/dist/deployment/ai-mode.d.ts +92 -92
- package/dist/deployment/hosted-topology-template.d.ts +44 -44
- package/dist/deployment/hosted-topology.d.ts +335 -335
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +6 -6
- package/dist/deployment/schemas.d.ts +1114 -1114
- package/dist/development/schemas.d.ts +633 -633
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- 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 +25 -9
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
- package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
- package/dist/operator-contracts/communication/contracts.d.ts +537 -395
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
- package/dist/operator-contracts/control-plane-operations.js +26 -12
- package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
- package/dist/operator-contracts/workday-lifecycle.js +109 -45
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +377 -0
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +10 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +3 -3
- package/dist/secrets-capability/shared-resources.d.ts +50 -50
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +14 -14
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +9 -3
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
- 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
|
@@ -4,39 +4,61 @@ export declare function communicationOperations(): {
|
|
|
4
4
|
channel: string;
|
|
5
5
|
}, {}, {
|
|
6
6
|
message: string;
|
|
7
|
+
parentWorkdayId?: string | undefined;
|
|
7
8
|
timeoutSeconds?: number | undefined;
|
|
8
9
|
recipients?: string[] | undefined;
|
|
9
10
|
proposalId?: string | undefined;
|
|
10
|
-
parentWorkdayId?: string | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
status: "failed" | "running" | "partial" | "
|
|
12
|
+
status: "failed" | "running" | "partial" | "queued" | "complete";
|
|
13
13
|
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
teamId: string;
|
|
17
|
+
responses: {
|
|
18
|
+
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
19
|
+
createdAt: string;
|
|
20
|
+
agentSlug: string;
|
|
21
|
+
assignmentId: string | null;
|
|
22
|
+
projectId: string;
|
|
23
|
+
requirement: "required" | "optional";
|
|
24
|
+
invocationId: string;
|
|
25
|
+
projectSlug: string;
|
|
26
|
+
messageRef: string;
|
|
27
|
+
markdown: string;
|
|
28
|
+
}[];
|
|
29
|
+
events: {
|
|
30
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
31
|
+
actor: {
|
|
32
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
33
|
+
id: string;
|
|
34
|
+
handle: string | null;
|
|
35
|
+
};
|
|
36
|
+
id: string;
|
|
37
|
+
summary: string;
|
|
38
|
+
assignmentId: string | null;
|
|
39
|
+
teamId: string;
|
|
40
|
+
sequence: number;
|
|
41
|
+
topicId: string;
|
|
42
|
+
sendId: string | null;
|
|
43
|
+
invocationId: string | null;
|
|
44
|
+
payload: Record<string, unknown>;
|
|
45
|
+
channel: string;
|
|
46
|
+
occurredAt: string;
|
|
47
|
+
}[];
|
|
14
48
|
targets: {
|
|
15
49
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
50
|
+
updatedAt: string;
|
|
51
|
+
agentSlug: string;
|
|
16
52
|
projectId: string;
|
|
17
|
-
invocationId: string | null;
|
|
18
|
-
completedAt: string | null;
|
|
19
53
|
requirement: "required" | "optional";
|
|
20
|
-
|
|
21
|
-
capacity: {
|
|
22
|
-
status: string | null;
|
|
23
|
-
providerId: string | null;
|
|
24
|
-
assignmentId: string | null;
|
|
25
|
-
completedAt: string | null;
|
|
26
|
-
executionProviderId: string | null;
|
|
27
|
-
laneId: string | null;
|
|
28
|
-
lanePurpose: string | null;
|
|
29
|
-
assignedAt: string | null;
|
|
30
|
-
claimedAt: string | null;
|
|
31
|
-
returnedAt: string | null;
|
|
32
|
-
failedAt: string | null;
|
|
33
|
-
};
|
|
54
|
+
depth: number;
|
|
34
55
|
diagnostics: {
|
|
35
56
|
provider: {
|
|
36
57
|
providerId: string | null;
|
|
37
58
|
executionProviderId: string | null;
|
|
38
59
|
runtimeVersion: string | null;
|
|
39
60
|
};
|
|
61
|
+
usage: Record<string, unknown>[];
|
|
40
62
|
resources: Record<string, unknown>;
|
|
41
63
|
selection: {
|
|
42
64
|
capabilities: string[];
|
|
@@ -44,14 +66,28 @@ export declare function communicationOperations(): {
|
|
|
44
66
|
parameters: Record<string, unknown>;
|
|
45
67
|
};
|
|
46
68
|
reason: string | null;
|
|
47
|
-
|
|
48
|
-
availability: "available" | "unavailable" | "partial";
|
|
69
|
+
availability: "partial" | "unavailable" | "available";
|
|
49
70
|
identityManifest: Record<string, unknown>;
|
|
50
71
|
contextManifest: Record<string, unknown>[];
|
|
51
72
|
timing: Record<string, unknown>;
|
|
52
73
|
traceEvents: Record<string, unknown>[];
|
|
53
74
|
fullPayload?: Record<string, unknown> | undefined;
|
|
54
75
|
};
|
|
76
|
+
completedAt: string | null;
|
|
77
|
+
invocationId: string | null;
|
|
78
|
+
capacity: {
|
|
79
|
+
status: string | null;
|
|
80
|
+
claimedAt: string | null;
|
|
81
|
+
assignmentId: string | null;
|
|
82
|
+
providerId: string | null;
|
|
83
|
+
executionProviderId: string | null;
|
|
84
|
+
completedAt: string | null;
|
|
85
|
+
laneId: string | null;
|
|
86
|
+
lanePurpose: string | null;
|
|
87
|
+
assignedAt: string | null;
|
|
88
|
+
returnedAt: string | null;
|
|
89
|
+
failedAt: string | null;
|
|
90
|
+
};
|
|
55
91
|
projectSlug: string;
|
|
56
92
|
definitionRevision: string;
|
|
57
93
|
revisions: {
|
|
@@ -61,9 +97,7 @@ export declare function communicationOperations(): {
|
|
|
61
97
|
chatProfile: string;
|
|
62
98
|
};
|
|
63
99
|
parentInvocationId: string | null;
|
|
64
|
-
depth: number;
|
|
65
100
|
requestedAt: string;
|
|
66
|
-
updatedAt: string;
|
|
67
101
|
failure: {
|
|
68
102
|
code: string;
|
|
69
103
|
message: string | null;
|
|
@@ -71,89 +105,77 @@ export declare function communicationOperations(): {
|
|
|
71
105
|
acknowledgedAt: string | null;
|
|
72
106
|
leaseAcceptedAt: string | null;
|
|
73
107
|
}[];
|
|
108
|
+
topic: {
|
|
109
|
+
id: string;
|
|
110
|
+
slug: string;
|
|
111
|
+
};
|
|
112
|
+
sendId: string;
|
|
113
|
+
channel: string;
|
|
114
|
+
projectStreams: {
|
|
115
|
+
id: string;
|
|
116
|
+
projectId: string;
|
|
117
|
+
discussionId: string;
|
|
118
|
+
projectSlug: string;
|
|
119
|
+
messageRef: string;
|
|
120
|
+
}[];
|
|
121
|
+
replayed: boolean;
|
|
122
|
+
}>;
|
|
123
|
+
sendStatus: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
74
124
|
teamId: string;
|
|
75
|
-
createdAt: string;
|
|
76
125
|
sendId: string;
|
|
126
|
+
}, {
|
|
127
|
+
diagnostics?: "metadata" | "full" | undefined;
|
|
128
|
+
}, undefined, {
|
|
129
|
+
status: "failed" | "running" | "partial" | "queued" | "complete";
|
|
130
|
+
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
131
|
+
createdAt: string;
|
|
132
|
+
updatedAt: string;
|
|
133
|
+
teamId: string;
|
|
77
134
|
responses: {
|
|
78
135
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
79
|
-
projectId: string;
|
|
80
136
|
createdAt: string;
|
|
137
|
+
agentSlug: string;
|
|
81
138
|
assignmentId: string | null;
|
|
82
|
-
|
|
139
|
+
projectId: string;
|
|
83
140
|
requirement: "required" | "optional";
|
|
84
|
-
|
|
141
|
+
invocationId: string;
|
|
85
142
|
projectSlug: string;
|
|
86
143
|
messageRef: string;
|
|
87
144
|
markdown: string;
|
|
88
145
|
}[];
|
|
89
|
-
channel: string;
|
|
90
|
-
topic: {
|
|
91
|
-
id: string;
|
|
92
|
-
slug: string;
|
|
93
|
-
};
|
|
94
146
|
events: {
|
|
95
147
|
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
96
148
|
actor: {
|
|
97
|
-
kind: "provider" | "agent" | "
|
|
149
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
98
150
|
id: string;
|
|
99
151
|
handle: string | null;
|
|
100
152
|
};
|
|
101
153
|
id: string;
|
|
102
|
-
|
|
154
|
+
summary: string;
|
|
103
155
|
assignmentId: string | null;
|
|
156
|
+
teamId: string;
|
|
157
|
+
sequence: number;
|
|
104
158
|
topicId: string;
|
|
105
159
|
sendId: string | null;
|
|
106
160
|
invocationId: string | null;
|
|
107
|
-
sequence: number;
|
|
108
161
|
payload: Record<string, unknown>;
|
|
109
|
-
summary: string;
|
|
110
162
|
channel: string;
|
|
111
163
|
occurredAt: string;
|
|
112
164
|
}[];
|
|
113
|
-
updatedAt: string;
|
|
114
|
-
projectStreams: {
|
|
115
|
-
id: string;
|
|
116
|
-
projectId: string;
|
|
117
|
-
projectSlug: string;
|
|
118
|
-
messageRef: string;
|
|
119
|
-
discussionId: string;
|
|
120
|
-
}[];
|
|
121
|
-
replayed: boolean;
|
|
122
|
-
}>;
|
|
123
|
-
sendStatus: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
124
|
-
teamId: string;
|
|
125
|
-
sendId: string;
|
|
126
|
-
}, {
|
|
127
|
-
diagnostics?: "metadata" | "full" | undefined;
|
|
128
|
-
}, undefined, {
|
|
129
|
-
status: "failed" | "running" | "partial" | "complete" | "queued";
|
|
130
|
-
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
131
165
|
targets: {
|
|
132
166
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
167
|
+
updatedAt: string;
|
|
168
|
+
agentSlug: string;
|
|
133
169
|
projectId: string;
|
|
134
|
-
invocationId: string | null;
|
|
135
|
-
completedAt: string | null;
|
|
136
170
|
requirement: "required" | "optional";
|
|
137
|
-
|
|
138
|
-
capacity: {
|
|
139
|
-
status: string | null;
|
|
140
|
-
providerId: string | null;
|
|
141
|
-
assignmentId: string | null;
|
|
142
|
-
completedAt: string | null;
|
|
143
|
-
executionProviderId: string | null;
|
|
144
|
-
laneId: string | null;
|
|
145
|
-
lanePurpose: string | null;
|
|
146
|
-
assignedAt: string | null;
|
|
147
|
-
claimedAt: string | null;
|
|
148
|
-
returnedAt: string | null;
|
|
149
|
-
failedAt: string | null;
|
|
150
|
-
};
|
|
171
|
+
depth: number;
|
|
151
172
|
diagnostics: {
|
|
152
173
|
provider: {
|
|
153
174
|
providerId: string | null;
|
|
154
175
|
executionProviderId: string | null;
|
|
155
176
|
runtimeVersion: string | null;
|
|
156
177
|
};
|
|
178
|
+
usage: Record<string, unknown>[];
|
|
157
179
|
resources: Record<string, unknown>;
|
|
158
180
|
selection: {
|
|
159
181
|
capabilities: string[];
|
|
@@ -161,14 +183,28 @@ export declare function communicationOperations(): {
|
|
|
161
183
|
parameters: Record<string, unknown>;
|
|
162
184
|
};
|
|
163
185
|
reason: string | null;
|
|
164
|
-
|
|
165
|
-
availability: "available" | "unavailable" | "partial";
|
|
186
|
+
availability: "partial" | "unavailable" | "available";
|
|
166
187
|
identityManifest: Record<string, unknown>;
|
|
167
188
|
contextManifest: Record<string, unknown>[];
|
|
168
189
|
timing: Record<string, unknown>;
|
|
169
190
|
traceEvents: Record<string, unknown>[];
|
|
170
191
|
fullPayload?: Record<string, unknown> | undefined;
|
|
171
192
|
};
|
|
193
|
+
completedAt: string | null;
|
|
194
|
+
invocationId: string | null;
|
|
195
|
+
capacity: {
|
|
196
|
+
status: string | null;
|
|
197
|
+
claimedAt: string | null;
|
|
198
|
+
assignmentId: string | null;
|
|
199
|
+
providerId: string | null;
|
|
200
|
+
executionProviderId: string | null;
|
|
201
|
+
completedAt: string | null;
|
|
202
|
+
laneId: string | null;
|
|
203
|
+
lanePurpose: string | null;
|
|
204
|
+
assignedAt: string | null;
|
|
205
|
+
returnedAt: string | null;
|
|
206
|
+
failedAt: string | null;
|
|
207
|
+
};
|
|
172
208
|
projectSlug: string;
|
|
173
209
|
definitionRevision: string;
|
|
174
210
|
revisions: {
|
|
@@ -178,9 +214,7 @@ export declare function communicationOperations(): {
|
|
|
178
214
|
chatProfile: string;
|
|
179
215
|
};
|
|
180
216
|
parentInvocationId: string | null;
|
|
181
|
-
depth: number;
|
|
182
217
|
requestedAt: string;
|
|
183
|
-
updatedAt: string;
|
|
184
218
|
failure: {
|
|
185
219
|
code: string;
|
|
186
220
|
message: string | null;
|
|
@@ -188,52 +222,18 @@ export declare function communicationOperations(): {
|
|
|
188
222
|
acknowledgedAt: string | null;
|
|
189
223
|
leaseAcceptedAt: string | null;
|
|
190
224
|
}[];
|
|
191
|
-
teamId: string;
|
|
192
|
-
createdAt: string;
|
|
193
|
-
sendId: string;
|
|
194
|
-
responses: {
|
|
195
|
-
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
196
|
-
projectId: string;
|
|
197
|
-
createdAt: string;
|
|
198
|
-
assignmentId: string | null;
|
|
199
|
-
invocationId: string;
|
|
200
|
-
requirement: "required" | "optional";
|
|
201
|
-
agentSlug: string;
|
|
202
|
-
projectSlug: string;
|
|
203
|
-
messageRef: string;
|
|
204
|
-
markdown: string;
|
|
205
|
-
}[];
|
|
206
|
-
channel: string;
|
|
207
225
|
topic: {
|
|
208
226
|
id: string;
|
|
209
227
|
slug: string;
|
|
210
228
|
};
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
actor: {
|
|
214
|
-
kind: "provider" | "agent" | "control-plane" | "user";
|
|
215
|
-
id: string;
|
|
216
|
-
handle: string | null;
|
|
217
|
-
};
|
|
218
|
-
id: string;
|
|
219
|
-
teamId: string;
|
|
220
|
-
assignmentId: string | null;
|
|
221
|
-
topicId: string;
|
|
222
|
-
sendId: string | null;
|
|
223
|
-
invocationId: string | null;
|
|
224
|
-
sequence: number;
|
|
225
|
-
payload: Record<string, unknown>;
|
|
226
|
-
summary: string;
|
|
227
|
-
channel: string;
|
|
228
|
-
occurredAt: string;
|
|
229
|
-
}[];
|
|
230
|
-
updatedAt: string;
|
|
229
|
+
sendId: string;
|
|
230
|
+
channel: string;
|
|
231
231
|
projectStreams: {
|
|
232
232
|
id: string;
|
|
233
233
|
projectId: string;
|
|
234
|
+
discussionId: string;
|
|
234
235
|
projectSlug: string;
|
|
235
236
|
messageRef: string;
|
|
236
|
-
discussionId: string;
|
|
237
237
|
}[];
|
|
238
238
|
replayed: boolean;
|
|
239
239
|
}>;
|
|
@@ -247,23 +247,23 @@ export declare function communicationOperations(): {
|
|
|
247
247
|
items: {
|
|
248
248
|
status: "active" | "archived";
|
|
249
249
|
id: string;
|
|
250
|
-
slug: string;
|
|
251
|
-
teamId: string;
|
|
252
250
|
createdAt: string;
|
|
253
251
|
updatedAt: string;
|
|
252
|
+
slug: string;
|
|
253
|
+
teamId: string;
|
|
254
254
|
streams: {
|
|
255
255
|
id: string;
|
|
256
256
|
projectId: string;
|
|
257
|
-
projectSlug: string;
|
|
258
257
|
discussionId: string;
|
|
258
|
+
projectSlug: string;
|
|
259
259
|
}[];
|
|
260
260
|
listeners: {
|
|
261
261
|
status: "active" | "removed";
|
|
262
|
-
|
|
263
|
-
source: "seed" | "operator" | "mention";
|
|
262
|
+
updatedAt: string;
|
|
264
263
|
agentSlug: string;
|
|
264
|
+
source: "seed" | "operator" | "mention";
|
|
265
|
+
projectId: string;
|
|
265
266
|
projectSlug: string;
|
|
266
|
-
updatedAt: string;
|
|
267
267
|
agentHandle: string;
|
|
268
268
|
subscribedAt: string;
|
|
269
269
|
}[];
|
|
@@ -276,23 +276,23 @@ export declare function communicationOperations(): {
|
|
|
276
276
|
}, {}, undefined, {
|
|
277
277
|
status: "active" | "archived";
|
|
278
278
|
id: string;
|
|
279
|
-
slug: string;
|
|
280
|
-
teamId: string;
|
|
281
279
|
createdAt: string;
|
|
282
280
|
updatedAt: string;
|
|
281
|
+
slug: string;
|
|
282
|
+
teamId: string;
|
|
283
283
|
streams: {
|
|
284
284
|
id: string;
|
|
285
285
|
projectId: string;
|
|
286
|
-
projectSlug: string;
|
|
287
286
|
discussionId: string;
|
|
287
|
+
projectSlug: string;
|
|
288
288
|
}[];
|
|
289
289
|
listeners: {
|
|
290
290
|
status: "active" | "removed";
|
|
291
|
-
|
|
292
|
-
source: "seed" | "operator" | "mention";
|
|
291
|
+
updatedAt: string;
|
|
293
292
|
agentSlug: string;
|
|
293
|
+
source: "seed" | "operator" | "mention";
|
|
294
|
+
projectId: string;
|
|
294
295
|
projectSlug: string;
|
|
295
|
-
updatedAt: string;
|
|
296
296
|
agentHandle: string;
|
|
297
297
|
subscribedAt: string;
|
|
298
298
|
}[];
|
|
@@ -301,55 +301,55 @@ export declare function communicationOperations(): {
|
|
|
301
301
|
teamId: string;
|
|
302
302
|
channel: string;
|
|
303
303
|
}, {
|
|
304
|
+
diagnostics?: "metadata" | "full" | undefined;
|
|
304
305
|
limit?: number | undefined;
|
|
305
306
|
waitSeconds?: number | undefined;
|
|
306
|
-
diagnostics?: "metadata" | "full" | undefined;
|
|
307
307
|
after?: string | undefined;
|
|
308
308
|
}, undefined, {
|
|
309
|
-
|
|
309
|
+
events: {
|
|
310
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
311
|
+
actor: {
|
|
312
|
+
kind: "provider" | "agent" | "user" | "control-plane";
|
|
313
|
+
id: string;
|
|
314
|
+
handle: string | null;
|
|
315
|
+
};
|
|
316
|
+
id: string;
|
|
317
|
+
summary: string;
|
|
318
|
+
assignmentId: string | null;
|
|
319
|
+
teamId: string;
|
|
320
|
+
sequence: number;
|
|
321
|
+
topicId: string;
|
|
322
|
+
sendId: string | null;
|
|
323
|
+
invocationId: string | null;
|
|
324
|
+
payload: Record<string, unknown>;
|
|
325
|
+
channel: string;
|
|
326
|
+
occurredAt: string;
|
|
327
|
+
}[];
|
|
310
328
|
topic: {
|
|
311
329
|
status: "active" | "archived";
|
|
312
330
|
id: string;
|
|
313
|
-
slug: string;
|
|
314
|
-
teamId: string;
|
|
315
331
|
createdAt: string;
|
|
316
332
|
updatedAt: string;
|
|
333
|
+
slug: string;
|
|
334
|
+
teamId: string;
|
|
317
335
|
streams: {
|
|
318
336
|
id: string;
|
|
319
337
|
projectId: string;
|
|
320
|
-
projectSlug: string;
|
|
321
338
|
discussionId: string;
|
|
339
|
+
projectSlug: string;
|
|
322
340
|
}[];
|
|
323
341
|
listeners: {
|
|
324
342
|
status: "active" | "removed";
|
|
325
|
-
|
|
326
|
-
source: "seed" | "operator" | "mention";
|
|
343
|
+
updatedAt: string;
|
|
327
344
|
agentSlug: string;
|
|
345
|
+
source: "seed" | "operator" | "mention";
|
|
346
|
+
projectId: string;
|
|
328
347
|
projectSlug: string;
|
|
329
|
-
updatedAt: string;
|
|
330
348
|
agentHandle: string;
|
|
331
349
|
subscribedAt: string;
|
|
332
350
|
}[];
|
|
333
351
|
};
|
|
334
|
-
|
|
335
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
336
|
-
actor: {
|
|
337
|
-
kind: "provider" | "agent" | "control-plane" | "user";
|
|
338
|
-
id: string;
|
|
339
|
-
handle: string | null;
|
|
340
|
-
};
|
|
341
|
-
id: string;
|
|
342
|
-
teamId: string;
|
|
343
|
-
assignmentId: string | null;
|
|
344
|
-
topicId: string;
|
|
345
|
-
sendId: string | null;
|
|
346
|
-
invocationId: string | null;
|
|
347
|
-
sequence: number;
|
|
348
|
-
payload: Record<string, unknown>;
|
|
349
|
-
summary: string;
|
|
350
|
-
channel: string;
|
|
351
|
-
occurredAt: string;
|
|
352
|
-
}[];
|
|
352
|
+
cursor: string | null;
|
|
353
353
|
}>;
|
|
354
354
|
topicsSubscribe: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
355
355
|
teamId: string;
|
|
@@ -361,11 +361,11 @@ export declare function communicationOperations(): {
|
|
|
361
361
|
replayed: boolean;
|
|
362
362
|
listener: {
|
|
363
363
|
status: "active" | "removed";
|
|
364
|
-
|
|
365
|
-
source: "seed" | "operator" | "mention";
|
|
364
|
+
updatedAt: string;
|
|
366
365
|
agentSlug: string;
|
|
366
|
+
source: "seed" | "operator" | "mention";
|
|
367
|
+
projectId: string;
|
|
367
368
|
projectSlug: string;
|
|
368
|
-
updatedAt: string;
|
|
369
369
|
agentHandle: string;
|
|
370
370
|
subscribedAt: string;
|
|
371
371
|
};
|
|
@@ -380,11 +380,11 @@ export declare function communicationOperations(): {
|
|
|
380
380
|
replayed: boolean;
|
|
381
381
|
listener: {
|
|
382
382
|
status: "active" | "removed";
|
|
383
|
-
|
|
384
|
-
source: "seed" | "operator" | "mention";
|
|
383
|
+
updatedAt: string;
|
|
385
384
|
agentSlug: string;
|
|
385
|
+
source: "seed" | "operator" | "mention";
|
|
386
|
+
projectId: string;
|
|
386
387
|
projectSlug: string;
|
|
387
|
-
updatedAt: string;
|
|
388
388
|
agentHandle: string;
|
|
389
389
|
subscribedAt: string;
|
|
390
390
|
};
|
|
@@ -397,15 +397,33 @@ export declare function providerDiscussionResponseOperation(): import("../contro
|
|
|
397
397
|
leaseToken: string;
|
|
398
398
|
summary?: string | undefined;
|
|
399
399
|
usage?: Record<string, unknown> | undefined;
|
|
400
|
-
markdown?: string | undefined;
|
|
401
400
|
outcome?: "responded" | "abstained" | undefined;
|
|
401
|
+
markdown?: string | undefined;
|
|
402
402
|
}, {
|
|
403
403
|
status: "responded" | "abstained";
|
|
404
404
|
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
405
405
|
assignmentId: string;
|
|
406
|
+
settledAt: string;
|
|
406
407
|
invocationId: string;
|
|
408
|
+
reference: {
|
|
409
|
+
kind: "git";
|
|
410
|
+
commit: string;
|
|
411
|
+
repository: string;
|
|
412
|
+
path?: string | undefined;
|
|
413
|
+
branch?: string | undefined;
|
|
414
|
+
} | {
|
|
415
|
+
path: string;
|
|
416
|
+
kind: "treedx";
|
|
417
|
+
commit: string;
|
|
418
|
+
repository: string;
|
|
419
|
+
projectId: string;
|
|
420
|
+
workspaceId?: string | undefined;
|
|
421
|
+
} | {
|
|
422
|
+
kind: "url";
|
|
423
|
+
url: string;
|
|
424
|
+
digest?: string | undefined;
|
|
425
|
+
};
|
|
407
426
|
messageRef: string;
|
|
408
|
-
settledAt: string;
|
|
409
427
|
}>;
|
|
410
428
|
export declare function providerCommunicationLifecycleOperations(): {
|
|
411
429
|
notificationAcknowledge: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
@@ -423,9 +441,9 @@ export declare function providerCommunicationLifecycleOperations(): {
|
|
|
423
441
|
assignmentId: string;
|
|
424
442
|
}, {}, {
|
|
425
443
|
type: string;
|
|
444
|
+
summary: string;
|
|
426
445
|
sequence: number;
|
|
427
446
|
payload: Record<string, unknown>;
|
|
428
|
-
summary: string;
|
|
429
447
|
occurredAt: string;
|
|
430
448
|
runnerId: string;
|
|
431
449
|
leaseToken: string;
|