@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
|
@@ -12,11 +12,11 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12
12
|
models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
13
13
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
14
14
|
}, "strict", z.ZodTypeAny, {
|
|
15
|
-
kind: "code" | "content" | "
|
|
15
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
16
16
|
models?: string[] | undefined;
|
|
17
17
|
paths?: string[] | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
kind: "code" | "content" | "
|
|
19
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
20
20
|
models?: string[] | undefined;
|
|
21
21
|
paths?: string[] | undefined;
|
|
22
22
|
}>;
|
|
@@ -82,6 +82,19 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
82
82
|
filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
83
|
}, "strict", z.ZodTypeAny, {
|
|
84
84
|
id: string;
|
|
85
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
86
|
+
title: string;
|
|
87
|
+
description: string;
|
|
88
|
+
target: {
|
|
89
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
90
|
+
models?: string[] | undefined;
|
|
91
|
+
paths?: string[] | undefined;
|
|
92
|
+
};
|
|
93
|
+
query: string;
|
|
94
|
+
revision: number;
|
|
95
|
+
purpose: string;
|
|
96
|
+
priority: number;
|
|
97
|
+
requirement: "required" | "preferred";
|
|
85
98
|
sources: ({
|
|
86
99
|
scope: "current-project";
|
|
87
100
|
} | {
|
|
@@ -95,20 +108,7 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
95
108
|
scope: "shared-team";
|
|
96
109
|
projectIds: string[];
|
|
97
110
|
})[];
|
|
98
|
-
purpose: string;
|
|
99
|
-
target: {
|
|
100
|
-
kind: "code" | "content" | "graph" | "mixed";
|
|
101
|
-
models?: string[] | undefined;
|
|
102
|
-
paths?: string[] | undefined;
|
|
103
|
-
};
|
|
104
|
-
description: string;
|
|
105
|
-
revision: number;
|
|
106
|
-
requirement: "required" | "preferred";
|
|
107
|
-
format: "map" | "sources" | "list" | "summary" | "full" | "brief";
|
|
108
|
-
query: string;
|
|
109
111
|
depth: number;
|
|
110
|
-
title: string;
|
|
111
|
-
priority: number;
|
|
112
112
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
113
113
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
114
114
|
resultLimit: number;
|
|
@@ -125,16 +125,16 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
125
|
maximumBudget?: number | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
id: string;
|
|
128
|
-
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
129
130
|
target: {
|
|
130
|
-
kind: "code" | "content" | "
|
|
131
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
131
132
|
models?: string[] | undefined;
|
|
132
133
|
paths?: string[] | undefined;
|
|
133
134
|
};
|
|
134
|
-
description: string;
|
|
135
|
-
revision: number;
|
|
136
135
|
query: string;
|
|
137
|
-
|
|
136
|
+
revision: number;
|
|
137
|
+
purpose: string;
|
|
138
138
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
139
139
|
resultLimit: number;
|
|
140
140
|
contextBudget: {
|
|
@@ -142,6 +142,9 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
142
142
|
maxCharacters?: number | undefined;
|
|
143
143
|
};
|
|
144
144
|
tokenBudget: number;
|
|
145
|
+
format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
|
|
146
|
+
priority?: number | undefined;
|
|
147
|
+
requirement?: "required" | "preferred" | undefined;
|
|
145
148
|
sources?: ({
|
|
146
149
|
scope: "current-project";
|
|
147
150
|
} | {
|
|
@@ -155,11 +158,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
155
158
|
scope: "shared-team";
|
|
156
159
|
projectIds?: string[] | undefined;
|
|
157
160
|
})[] | undefined;
|
|
158
|
-
scope?: string | undefined;
|
|
159
|
-
requirement?: "required" | "preferred" | undefined;
|
|
160
|
-
format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
|
|
161
161
|
depth?: number | undefined;
|
|
162
|
-
|
|
162
|
+
scope?: string | undefined;
|
|
163
163
|
codeScopes?: string[] | undefined;
|
|
164
164
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
165
165
|
minimumBudget?: number | undefined;
|
|
@@ -168,6 +168,19 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
168
168
|
filters?: Record<string, unknown> | undefined;
|
|
169
169
|
}>, {
|
|
170
170
|
id: string;
|
|
171
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
172
|
+
title: string;
|
|
173
|
+
description: string;
|
|
174
|
+
target: {
|
|
175
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
176
|
+
models?: string[] | undefined;
|
|
177
|
+
paths?: string[] | undefined;
|
|
178
|
+
};
|
|
179
|
+
query: string;
|
|
180
|
+
revision: number;
|
|
181
|
+
purpose: string;
|
|
182
|
+
priority: number;
|
|
183
|
+
requirement: "required" | "preferred";
|
|
171
184
|
sources: ({
|
|
172
185
|
scope: "current-project";
|
|
173
186
|
} | {
|
|
@@ -181,20 +194,7 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
181
194
|
scope: "shared-team";
|
|
182
195
|
projectIds: string[];
|
|
183
196
|
})[];
|
|
184
|
-
purpose: string;
|
|
185
|
-
target: {
|
|
186
|
-
kind: "code" | "content" | "graph" | "mixed";
|
|
187
|
-
models?: string[] | undefined;
|
|
188
|
-
paths?: string[] | undefined;
|
|
189
|
-
};
|
|
190
|
-
description: string;
|
|
191
|
-
revision: number;
|
|
192
|
-
requirement: "required" | "preferred";
|
|
193
|
-
format: "map" | "sources" | "list" | "summary" | "full" | "brief";
|
|
194
|
-
query: string;
|
|
195
197
|
depth: number;
|
|
196
|
-
title: string;
|
|
197
|
-
priority: number;
|
|
198
198
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
199
199
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
200
200
|
resultLimit: number;
|
|
@@ -211,16 +211,16 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
211
211
|
maximumBudget?: number | undefined;
|
|
212
212
|
}, {
|
|
213
213
|
id: string;
|
|
214
|
-
|
|
214
|
+
title: string;
|
|
215
|
+
description: string;
|
|
215
216
|
target: {
|
|
216
|
-
kind: "code" | "content" | "
|
|
217
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
217
218
|
models?: string[] | undefined;
|
|
218
219
|
paths?: string[] | undefined;
|
|
219
220
|
};
|
|
220
|
-
description: string;
|
|
221
|
-
revision: number;
|
|
222
221
|
query: string;
|
|
223
|
-
|
|
222
|
+
revision: number;
|
|
223
|
+
purpose: string;
|
|
224
224
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
225
225
|
resultLimit: number;
|
|
226
226
|
contextBudget: {
|
|
@@ -228,6 +228,9 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
228
228
|
maxCharacters?: number | undefined;
|
|
229
229
|
};
|
|
230
230
|
tokenBudget: number;
|
|
231
|
+
format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
|
|
232
|
+
priority?: number | undefined;
|
|
233
|
+
requirement?: "required" | "preferred" | undefined;
|
|
231
234
|
sources?: ({
|
|
232
235
|
scope: "current-project";
|
|
233
236
|
} | {
|
|
@@ -241,11 +244,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
241
244
|
scope: "shared-team";
|
|
242
245
|
projectIds?: string[] | undefined;
|
|
243
246
|
})[] | undefined;
|
|
244
|
-
scope?: string | undefined;
|
|
245
|
-
requirement?: "required" | "preferred" | undefined;
|
|
246
|
-
format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
|
|
247
247
|
depth?: number | undefined;
|
|
248
|
-
|
|
248
|
+
scope?: string | undefined;
|
|
249
249
|
codeScopes?: string[] | undefined;
|
|
250
250
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
251
251
|
minimumBudget?: number | undefined;
|
|
@@ -271,9 +271,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
|
|
|
271
271
|
mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
|
|
272
272
|
}, "strict", z.ZodTypeAny, {
|
|
273
273
|
id: string;
|
|
274
|
+
title: string;
|
|
274
275
|
description: string;
|
|
275
276
|
revision: number;
|
|
276
|
-
title: string;
|
|
277
277
|
queryRefs: {
|
|
278
278
|
id: string;
|
|
279
279
|
revision: number;
|
|
@@ -281,9 +281,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
|
|
|
281
281
|
mergePolicy: "replace" | "append";
|
|
282
282
|
}, {
|
|
283
283
|
id: string;
|
|
284
|
+
title: string;
|
|
284
285
|
description: string;
|
|
285
286
|
revision: number;
|
|
286
|
-
title: string;
|
|
287
287
|
queryRefs: {
|
|
288
288
|
id: string;
|
|
289
289
|
revision: number;
|
|
@@ -303,19 +303,19 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
|
|
|
303
303
|
}, "strict", z.ZodTypeAny, {
|
|
304
304
|
kind: "message" | "status" | "summary" | "plan";
|
|
305
305
|
id: string;
|
|
306
|
-
|
|
306
|
+
title: string;
|
|
307
307
|
description: string;
|
|
308
308
|
revision: number;
|
|
309
|
-
|
|
309
|
+
variables: string[];
|
|
310
310
|
instructions: string;
|
|
311
311
|
appliesToProfiles: string[];
|
|
312
312
|
outputSkeleton?: string | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
kind: "message" | "status" | "summary" | "plan";
|
|
315
315
|
id: string;
|
|
316
|
+
title: string;
|
|
316
317
|
description: string;
|
|
317
318
|
revision: number;
|
|
318
|
-
title: string;
|
|
319
319
|
instructions: string;
|
|
320
320
|
variables?: string[] | undefined;
|
|
321
321
|
outputSkeleton?: string | undefined;
|
|
@@ -332,16 +332,16 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
|
|
|
332
332
|
}, "strict", z.ZodTypeAny, {
|
|
333
333
|
status: "active" | "archived";
|
|
334
334
|
id: string;
|
|
335
|
-
slug: string;
|
|
336
|
-
description: string;
|
|
337
335
|
title: string;
|
|
336
|
+
description: string;
|
|
337
|
+
slug: string;
|
|
338
338
|
groupIds: string[];
|
|
339
339
|
parentTopicId?: string | undefined;
|
|
340
340
|
}, {
|
|
341
341
|
id: string;
|
|
342
|
-
slug: string;
|
|
343
|
-
description: string;
|
|
344
342
|
title: string;
|
|
343
|
+
description: string;
|
|
344
|
+
slug: string;
|
|
345
345
|
groupIds: string[];
|
|
346
346
|
status?: "active" | "archived" | undefined;
|
|
347
347
|
parentTopicId?: string | undefined;
|
|
@@ -409,23 +409,22 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
|
|
|
409
409
|
notes: z.ZodOptional<z.ZodString>;
|
|
410
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
411
|
id: string;
|
|
412
|
-
outcome: "
|
|
412
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
413
413
|
evidenceRefs: string[];
|
|
414
414
|
notes?: string | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
id: string;
|
|
417
|
-
outcome: "
|
|
418
|
-
notes?: string | undefined;
|
|
417
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
419
418
|
evidenceRefs?: string[] | undefined;
|
|
419
|
+
notes?: string | undefined;
|
|
420
420
|
}>, "many">;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
422
|
status: string;
|
|
423
423
|
id: string;
|
|
424
|
-
projectId: string;
|
|
425
|
-
teamId: string;
|
|
426
|
-
createdAt: Date;
|
|
427
|
-
outcome: "passed" | "failed" | "needs-revision";
|
|
428
424
|
title: string;
|
|
425
|
+
createdAt: Date;
|
|
426
|
+
teamId: string;
|
|
427
|
+
projectId: string;
|
|
429
428
|
agentId: string;
|
|
430
429
|
contextQueryRefs: {
|
|
431
430
|
id: string;
|
|
@@ -445,25 +444,25 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
|
|
|
445
444
|
revision: number;
|
|
446
445
|
}[];
|
|
447
446
|
evaluatorId: string;
|
|
447
|
+
outcome: "failed" | "passed" | "needs-revision";
|
|
448
448
|
criteria: {
|
|
449
449
|
id: string;
|
|
450
|
-
outcome: "
|
|
450
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
451
451
|
evidenceRefs: string[];
|
|
452
452
|
notes?: string | undefined;
|
|
453
453
|
}[];
|
|
454
|
-
assignmentId?: string | undefined;
|
|
455
454
|
description?: string | undefined;
|
|
456
455
|
updatedAt?: Date | undefined;
|
|
456
|
+
assignmentId?: string | undefined;
|
|
457
457
|
workdayId?: string | undefined;
|
|
458
458
|
score?: number | undefined;
|
|
459
459
|
}, {
|
|
460
460
|
status: string;
|
|
461
461
|
id: string;
|
|
462
|
-
projectId: string;
|
|
463
|
-
teamId: string;
|
|
464
|
-
createdAt: Date;
|
|
465
|
-
outcome: "passed" | "failed" | "needs-revision";
|
|
466
462
|
title: string;
|
|
463
|
+
createdAt: Date;
|
|
464
|
+
teamId: string;
|
|
465
|
+
projectId: string;
|
|
467
466
|
agentId: string;
|
|
468
467
|
agentDefinitionRef: {
|
|
469
468
|
id: string;
|
|
@@ -471,15 +470,16 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
|
|
|
471
470
|
};
|
|
472
471
|
activityProfile: string;
|
|
473
472
|
evaluatorId: string;
|
|
473
|
+
outcome: "failed" | "passed" | "needs-revision";
|
|
474
474
|
criteria: {
|
|
475
475
|
id: string;
|
|
476
|
-
outcome: "
|
|
477
|
-
notes?: string | undefined;
|
|
476
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
478
477
|
evidenceRefs?: string[] | undefined;
|
|
478
|
+
notes?: string | undefined;
|
|
479
479
|
}[];
|
|
480
|
-
assignmentId?: string | undefined;
|
|
481
480
|
description?: string | undefined;
|
|
482
481
|
updatedAt?: Date | undefined;
|
|
482
|
+
assignmentId?: string | undefined;
|
|
483
483
|
workdayId?: string | undefined;
|
|
484
484
|
contextQueryRefs?: {
|
|
485
485
|
id: string;
|
|
@@ -509,11 +509,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
509
509
|
models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
510
510
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
511
511
|
}, "strict", z.ZodTypeAny, {
|
|
512
|
-
kind: "code" | "content" | "
|
|
512
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
513
513
|
models?: string[] | undefined;
|
|
514
514
|
paths?: string[] | undefined;
|
|
515
515
|
}, {
|
|
516
|
-
kind: "code" | "content" | "
|
|
516
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
517
517
|
models?: string[] | undefined;
|
|
518
518
|
paths?: string[] | undefined;
|
|
519
519
|
}>;
|
|
@@ -579,6 +579,19 @@ export declare const agentOperationalContentSchemas: {
|
|
|
579
579
|
filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
580
580
|
}, "strict", z.ZodTypeAny, {
|
|
581
581
|
id: string;
|
|
582
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
583
|
+
title: string;
|
|
584
|
+
description: string;
|
|
585
|
+
target: {
|
|
586
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
587
|
+
models?: string[] | undefined;
|
|
588
|
+
paths?: string[] | undefined;
|
|
589
|
+
};
|
|
590
|
+
query: string;
|
|
591
|
+
revision: number;
|
|
592
|
+
purpose: string;
|
|
593
|
+
priority: number;
|
|
594
|
+
requirement: "required" | "preferred";
|
|
582
595
|
sources: ({
|
|
583
596
|
scope: "current-project";
|
|
584
597
|
} | {
|
|
@@ -592,20 +605,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
592
605
|
scope: "shared-team";
|
|
593
606
|
projectIds: string[];
|
|
594
607
|
})[];
|
|
595
|
-
purpose: string;
|
|
596
|
-
target: {
|
|
597
|
-
kind: "code" | "content" | "graph" | "mixed";
|
|
598
|
-
models?: string[] | undefined;
|
|
599
|
-
paths?: string[] | undefined;
|
|
600
|
-
};
|
|
601
|
-
description: string;
|
|
602
|
-
revision: number;
|
|
603
|
-
requirement: "required" | "preferred";
|
|
604
|
-
format: "map" | "sources" | "list" | "summary" | "full" | "brief";
|
|
605
|
-
query: string;
|
|
606
608
|
depth: number;
|
|
607
|
-
title: string;
|
|
608
|
-
priority: number;
|
|
609
609
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
610
610
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
611
611
|
resultLimit: number;
|
|
@@ -622,16 +622,16 @@ export declare const agentOperationalContentSchemas: {
|
|
|
622
622
|
maximumBudget?: number | undefined;
|
|
623
623
|
}, {
|
|
624
624
|
id: string;
|
|
625
|
-
|
|
625
|
+
title: string;
|
|
626
|
+
description: string;
|
|
626
627
|
target: {
|
|
627
|
-
kind: "code" | "content" | "
|
|
628
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
628
629
|
models?: string[] | undefined;
|
|
629
630
|
paths?: string[] | undefined;
|
|
630
631
|
};
|
|
631
|
-
description: string;
|
|
632
|
-
revision: number;
|
|
633
632
|
query: string;
|
|
634
|
-
|
|
633
|
+
revision: number;
|
|
634
|
+
purpose: string;
|
|
635
635
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
636
636
|
resultLimit: number;
|
|
637
637
|
contextBudget: {
|
|
@@ -639,6 +639,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
639
639
|
maxCharacters?: number | undefined;
|
|
640
640
|
};
|
|
641
641
|
tokenBudget: number;
|
|
642
|
+
format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
|
|
643
|
+
priority?: number | undefined;
|
|
644
|
+
requirement?: "required" | "preferred" | undefined;
|
|
642
645
|
sources?: ({
|
|
643
646
|
scope: "current-project";
|
|
644
647
|
} | {
|
|
@@ -652,11 +655,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
652
655
|
scope: "shared-team";
|
|
653
656
|
projectIds?: string[] | undefined;
|
|
654
657
|
})[] | undefined;
|
|
655
|
-
scope?: string | undefined;
|
|
656
|
-
requirement?: "required" | "preferred" | undefined;
|
|
657
|
-
format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
|
|
658
658
|
depth?: number | undefined;
|
|
659
|
-
|
|
659
|
+
scope?: string | undefined;
|
|
660
660
|
codeScopes?: string[] | undefined;
|
|
661
661
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
662
662
|
minimumBudget?: number | undefined;
|
|
@@ -665,6 +665,19 @@ export declare const agentOperationalContentSchemas: {
|
|
|
665
665
|
filters?: Record<string, unknown> | undefined;
|
|
666
666
|
}>, {
|
|
667
667
|
id: string;
|
|
668
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
669
|
+
title: string;
|
|
670
|
+
description: string;
|
|
671
|
+
target: {
|
|
672
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
673
|
+
models?: string[] | undefined;
|
|
674
|
+
paths?: string[] | undefined;
|
|
675
|
+
};
|
|
676
|
+
query: string;
|
|
677
|
+
revision: number;
|
|
678
|
+
purpose: string;
|
|
679
|
+
priority: number;
|
|
680
|
+
requirement: "required" | "preferred";
|
|
668
681
|
sources: ({
|
|
669
682
|
scope: "current-project";
|
|
670
683
|
} | {
|
|
@@ -678,20 +691,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
678
691
|
scope: "shared-team";
|
|
679
692
|
projectIds: string[];
|
|
680
693
|
})[];
|
|
681
|
-
purpose: string;
|
|
682
|
-
target: {
|
|
683
|
-
kind: "code" | "content" | "graph" | "mixed";
|
|
684
|
-
models?: string[] | undefined;
|
|
685
|
-
paths?: string[] | undefined;
|
|
686
|
-
};
|
|
687
|
-
description: string;
|
|
688
|
-
revision: number;
|
|
689
|
-
requirement: "required" | "preferred";
|
|
690
|
-
format: "map" | "sources" | "list" | "summary" | "full" | "brief";
|
|
691
|
-
query: string;
|
|
692
694
|
depth: number;
|
|
693
|
-
title: string;
|
|
694
|
-
priority: number;
|
|
695
695
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
696
696
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
697
697
|
resultLimit: number;
|
|
@@ -708,16 +708,16 @@ export declare const agentOperationalContentSchemas: {
|
|
|
708
708
|
maximumBudget?: number | undefined;
|
|
709
709
|
}, {
|
|
710
710
|
id: string;
|
|
711
|
-
|
|
711
|
+
title: string;
|
|
712
|
+
description: string;
|
|
712
713
|
target: {
|
|
713
|
-
kind: "code" | "content" | "
|
|
714
|
+
kind: "code" | "content" | "mixed" | "graph";
|
|
714
715
|
models?: string[] | undefined;
|
|
715
716
|
paths?: string[] | undefined;
|
|
716
717
|
};
|
|
717
|
-
description: string;
|
|
718
|
-
revision: number;
|
|
719
718
|
query: string;
|
|
720
|
-
|
|
719
|
+
revision: number;
|
|
720
|
+
purpose: string;
|
|
721
721
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
722
722
|
resultLimit: number;
|
|
723
723
|
contextBudget: {
|
|
@@ -725,6 +725,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
725
725
|
maxCharacters?: number | undefined;
|
|
726
726
|
};
|
|
727
727
|
tokenBudget: number;
|
|
728
|
+
format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
|
|
729
|
+
priority?: number | undefined;
|
|
730
|
+
requirement?: "required" | "preferred" | undefined;
|
|
728
731
|
sources?: ({
|
|
729
732
|
scope: "current-project";
|
|
730
733
|
} | {
|
|
@@ -738,11 +741,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
738
741
|
scope: "shared-team";
|
|
739
742
|
projectIds?: string[] | undefined;
|
|
740
743
|
})[] | undefined;
|
|
741
|
-
scope?: string | undefined;
|
|
742
|
-
requirement?: "required" | "preferred" | undefined;
|
|
743
|
-
format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
|
|
744
744
|
depth?: number | undefined;
|
|
745
|
-
|
|
745
|
+
scope?: string | undefined;
|
|
746
746
|
codeScopes?: string[] | undefined;
|
|
747
747
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
748
748
|
minimumBudget?: number | undefined;
|
|
@@ -768,9 +768,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
768
768
|
mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
|
|
769
769
|
}, "strict", z.ZodTypeAny, {
|
|
770
770
|
id: string;
|
|
771
|
+
title: string;
|
|
771
772
|
description: string;
|
|
772
773
|
revision: number;
|
|
773
|
-
title: string;
|
|
774
774
|
queryRefs: {
|
|
775
775
|
id: string;
|
|
776
776
|
revision: number;
|
|
@@ -778,9 +778,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
778
778
|
mergePolicy: "replace" | "append";
|
|
779
779
|
}, {
|
|
780
780
|
id: string;
|
|
781
|
+
title: string;
|
|
781
782
|
description: string;
|
|
782
783
|
revision: number;
|
|
783
|
-
title: string;
|
|
784
784
|
queryRefs: {
|
|
785
785
|
id: string;
|
|
786
786
|
revision: number;
|
|
@@ -800,19 +800,19 @@ export declare const agentOperationalContentSchemas: {
|
|
|
800
800
|
}, "strict", z.ZodTypeAny, {
|
|
801
801
|
kind: "message" | "status" | "summary" | "plan";
|
|
802
802
|
id: string;
|
|
803
|
-
|
|
803
|
+
title: string;
|
|
804
804
|
description: string;
|
|
805
805
|
revision: number;
|
|
806
|
-
|
|
806
|
+
variables: string[];
|
|
807
807
|
instructions: string;
|
|
808
808
|
appliesToProfiles: string[];
|
|
809
809
|
outputSkeleton?: string | undefined;
|
|
810
810
|
}, {
|
|
811
811
|
kind: "message" | "status" | "summary" | "plan";
|
|
812
812
|
id: string;
|
|
813
|
+
title: string;
|
|
813
814
|
description: string;
|
|
814
815
|
revision: number;
|
|
815
|
-
title: string;
|
|
816
816
|
instructions: string;
|
|
817
817
|
variables?: string[] | undefined;
|
|
818
818
|
outputSkeleton?: string | undefined;
|
|
@@ -829,16 +829,16 @@ export declare const agentOperationalContentSchemas: {
|
|
|
829
829
|
}, "strict", z.ZodTypeAny, {
|
|
830
830
|
status: "active" | "archived";
|
|
831
831
|
id: string;
|
|
832
|
-
slug: string;
|
|
833
|
-
description: string;
|
|
834
832
|
title: string;
|
|
833
|
+
description: string;
|
|
834
|
+
slug: string;
|
|
835
835
|
groupIds: string[];
|
|
836
836
|
parentTopicId?: string | undefined;
|
|
837
837
|
}, {
|
|
838
838
|
id: string;
|
|
839
|
-
slug: string;
|
|
840
|
-
description: string;
|
|
841
839
|
title: string;
|
|
840
|
+
description: string;
|
|
841
|
+
slug: string;
|
|
842
842
|
groupIds: string[];
|
|
843
843
|
status?: "active" | "archived" | undefined;
|
|
844
844
|
parentTopicId?: string | undefined;
|
|
@@ -906,23 +906,22 @@ export declare const agentOperationalContentSchemas: {
|
|
|
906
906
|
notes: z.ZodOptional<z.ZodString>;
|
|
907
907
|
}, "strict", z.ZodTypeAny, {
|
|
908
908
|
id: string;
|
|
909
|
-
outcome: "
|
|
909
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
910
910
|
evidenceRefs: string[];
|
|
911
911
|
notes?: string | undefined;
|
|
912
912
|
}, {
|
|
913
913
|
id: string;
|
|
914
|
-
outcome: "
|
|
915
|
-
notes?: string | undefined;
|
|
914
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
916
915
|
evidenceRefs?: string[] | undefined;
|
|
916
|
+
notes?: string | undefined;
|
|
917
917
|
}>, "many">;
|
|
918
918
|
}, "strip", z.ZodTypeAny, {
|
|
919
919
|
status: string;
|
|
920
920
|
id: string;
|
|
921
|
-
projectId: string;
|
|
922
|
-
teamId: string;
|
|
923
|
-
createdAt: Date;
|
|
924
|
-
outcome: "passed" | "failed" | "needs-revision";
|
|
925
921
|
title: string;
|
|
922
|
+
createdAt: Date;
|
|
923
|
+
teamId: string;
|
|
924
|
+
projectId: string;
|
|
926
925
|
agentId: string;
|
|
927
926
|
contextQueryRefs: {
|
|
928
927
|
id: string;
|
|
@@ -942,25 +941,25 @@ export declare const agentOperationalContentSchemas: {
|
|
|
942
941
|
revision: number;
|
|
943
942
|
}[];
|
|
944
943
|
evaluatorId: string;
|
|
944
|
+
outcome: "failed" | "passed" | "needs-revision";
|
|
945
945
|
criteria: {
|
|
946
946
|
id: string;
|
|
947
|
-
outcome: "
|
|
947
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
948
948
|
evidenceRefs: string[];
|
|
949
949
|
notes?: string | undefined;
|
|
950
950
|
}[];
|
|
951
|
-
assignmentId?: string | undefined;
|
|
952
951
|
description?: string | undefined;
|
|
953
952
|
updatedAt?: Date | undefined;
|
|
953
|
+
assignmentId?: string | undefined;
|
|
954
954
|
workdayId?: string | undefined;
|
|
955
955
|
score?: number | undefined;
|
|
956
956
|
}, {
|
|
957
957
|
status: string;
|
|
958
958
|
id: string;
|
|
959
|
-
projectId: string;
|
|
960
|
-
teamId: string;
|
|
961
|
-
createdAt: Date;
|
|
962
|
-
outcome: "passed" | "failed" | "needs-revision";
|
|
963
959
|
title: string;
|
|
960
|
+
createdAt: Date;
|
|
961
|
+
teamId: string;
|
|
962
|
+
projectId: string;
|
|
964
963
|
agentId: string;
|
|
965
964
|
agentDefinitionRef: {
|
|
966
965
|
id: string;
|
|
@@ -968,15 +967,16 @@ export declare const agentOperationalContentSchemas: {
|
|
|
968
967
|
};
|
|
969
968
|
activityProfile: string;
|
|
970
969
|
evaluatorId: string;
|
|
970
|
+
outcome: "failed" | "passed" | "needs-revision";
|
|
971
971
|
criteria: {
|
|
972
972
|
id: string;
|
|
973
|
-
outcome: "
|
|
974
|
-
notes?: string | undefined;
|
|
973
|
+
outcome: "failed" | "passed" | "not-applicable";
|
|
975
974
|
evidenceRefs?: string[] | undefined;
|
|
975
|
+
notes?: string | undefined;
|
|
976
976
|
}[];
|
|
977
|
-
assignmentId?: string | undefined;
|
|
978
977
|
description?: string | undefined;
|
|
979
978
|
updatedAt?: Date | undefined;
|
|
979
|
+
assignmentId?: string | undefined;
|
|
980
980
|
workdayId?: string | undefined;
|
|
981
981
|
contextQueryRefs?: {
|
|
982
982
|
id: string;
|
|
@@ -994,6 +994,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
994
994
|
}>;
|
|
995
995
|
};
|
|
996
996
|
export declare const AGENT_OPERATIONAL_CONTENT_COLLECTIONS: {
|
|
997
|
+
readonly note: "notes";
|
|
998
|
+
readonly decision: "decisions";
|
|
997
999
|
readonly agent_context_query: "agent-context-queries";
|
|
998
1000
|
readonly agent_context_query_set: "agent-context-query-sets";
|
|
999
1001
|
readonly agent_instruction_template: "agent-instruction-templates";
|
|
@@ -101,6 +101,8 @@ const agentOperationalContentSchemas = {
|
|
|
101
101
|
agent_evaluation: agentEvaluationContentSchema
|
|
102
102
|
};
|
|
103
103
|
const AGENT_OPERATIONAL_CONTENT_COLLECTIONS = {
|
|
104
|
+
note: "notes",
|
|
105
|
+
decision: "decisions",
|
|
104
106
|
agent_context_query: "agent-context-queries",
|
|
105
107
|
agent_context_query_set: "agent-context-query-sets",
|
|
106
108
|
agent_instruction_template: "agent-instruction-templates",
|