@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124
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 +1392 -974
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
- 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 +1 -0
- 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 +1 -3
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
- 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 +227 -66
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
- package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
- package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/agent-capacity/validation/assignment-records.js +45 -0
- package/dist/capacity/agents/agent-capacity.d.ts +1 -0
- package/dist/capacity/agents/agent-capacity.js +1 -0
- package/dist/capacity-provider/capability-ontology.d.ts +102 -102
- package/dist/capacity-provider/client.d.ts +14 -7
- package/dist/capacity-provider/client.js +1 -4
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
- 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 +22 -22
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +4 -4
- package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
- package/dist/capacity-provider/source-workspace.d.ts +76 -76
- 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 +120 -118
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
- package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
- package/dist/content/validation/content-model-schemas.js +97 -87
- package/dist/content/validation/portable-content-data.d.ts +173 -168
- 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 +20 -20
- package/dist/deployment/ai-hosting.d.ts +12 -12
- package/dist/deployment/ai-instance.d.ts +12 -12
- package/dist/deployment/ai-mode.d.ts +34 -34
- package/dist/deployment/hosted-topology-template.d.ts +25 -25
- package/dist/deployment/hosted-topology.d.ts +146 -146
- package/dist/deployment/postgres/transfer.d.ts +2 -2
- package/dist/deployment/schemas.d.ts +504 -504
- package/dist/development/schemas.d.ts +325 -325
- 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/operator-contracts/canonical-command-tree.js +22 -8
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
- package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
- 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 +7 -6
- package/dist/operator-contracts/communication/contracts.d.ts +340 -198
- 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 +469 -442
- package/dist/operator-contracts/control-plane-operations.js +26 -10
- package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
- package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
- package/dist/operator-contracts/workday-lifecycle.js +108 -45
- package/dist/platform/agent-schema-verification.js +316 -33
- 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 +4 -0
- 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 +1 -1
- package/dist/secrets-capability/shared-resources.d.ts +30 -30
- package/dist/security/encrypted-envelope.d.ts +6 -6
- 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/dist/types/agents/agent-activity-profile.d.ts +1 -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 +10 -5
- 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
|
@@ -19,13 +19,13 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
20
|
id: string;
|
|
21
21
|
version: string;
|
|
22
|
-
digest: string;
|
|
23
22
|
capabilities: string[];
|
|
23
|
+
digest: string;
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
26
|
version: string;
|
|
27
|
-
digest: string;
|
|
28
27
|
capabilities: string[];
|
|
28
|
+
digest: string;
|
|
29
29
|
}>>;
|
|
30
30
|
guestImage: z.ZodString;
|
|
31
31
|
guestImageDigest: z.ZodString;
|
|
@@ -39,16 +39,16 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
39
39
|
processLimit: z.ZodNumber;
|
|
40
40
|
outputBytes: z.ZodNumber;
|
|
41
41
|
}, "strict", z.ZodTypeAny, {
|
|
42
|
-
durationSeconds: number;
|
|
43
42
|
cpuCores: number;
|
|
44
43
|
memoryBytes: number;
|
|
44
|
+
durationSeconds: number;
|
|
45
45
|
diskBytes: number;
|
|
46
46
|
processLimit: number;
|
|
47
47
|
outputBytes: number;
|
|
48
48
|
}, {
|
|
49
|
-
durationSeconds: number;
|
|
50
49
|
cpuCores: number;
|
|
51
50
|
memoryBytes: number;
|
|
51
|
+
durationSeconds: number;
|
|
52
52
|
diskBytes: number;
|
|
53
53
|
processLimit: number;
|
|
54
54
|
outputBytes: number;
|
|
@@ -162,14 +162,17 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
162
162
|
}>;
|
|
163
163
|
}, "strict", z.ZodTypeAny, {
|
|
164
164
|
schemaVersion: "treeseed.sandbox-assignment/v1";
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
processLimit: number;
|
|
171
|
-
outputBytes: number;
|
|
165
|
+
network: {
|
|
166
|
+
defaultDeny: true;
|
|
167
|
+
relayUrl: string;
|
|
168
|
+
allowedServices: string[];
|
|
169
|
+
connectedDevelopmentSessionId?: string | undefined;
|
|
172
170
|
};
|
|
171
|
+
leaseExpiresAt: string;
|
|
172
|
+
assignmentId: string;
|
|
173
|
+
teamId: string;
|
|
174
|
+
projectId: string;
|
|
175
|
+
providerId: string;
|
|
173
176
|
inputs: {
|
|
174
177
|
id: string;
|
|
175
178
|
digest: string;
|
|
@@ -178,17 +181,6 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
178
181
|
disposition: "read-only" | "copy-on-write";
|
|
179
182
|
targetPath: string;
|
|
180
183
|
}[];
|
|
181
|
-
projectId: string;
|
|
182
|
-
teamId: string;
|
|
183
|
-
providerId: string;
|
|
184
|
-
assignmentId: string;
|
|
185
|
-
network: {
|
|
186
|
-
defaultDeny: true;
|
|
187
|
-
relayUrl: string;
|
|
188
|
-
allowedServices: string[];
|
|
189
|
-
connectedDevelopmentSessionId?: string | undefined;
|
|
190
|
-
};
|
|
191
|
-
leaseExpiresAt: string;
|
|
192
184
|
outputs: {
|
|
193
185
|
path: string;
|
|
194
186
|
id: string;
|
|
@@ -200,8 +192,16 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
200
192
|
keyId: string;
|
|
201
193
|
algorithm: "Ed25519";
|
|
202
194
|
};
|
|
203
|
-
attempt: number;
|
|
204
195
|
profile: string;
|
|
196
|
+
attempt: number;
|
|
197
|
+
resources: {
|
|
198
|
+
cpuCores: number;
|
|
199
|
+
memoryBytes: number;
|
|
200
|
+
durationSeconds: number;
|
|
201
|
+
diskBytes: number;
|
|
202
|
+
processLimit: number;
|
|
203
|
+
outputBytes: number;
|
|
204
|
+
};
|
|
205
205
|
guestImage: string;
|
|
206
206
|
guestImageDigest: string;
|
|
207
207
|
runnerId: string;
|
|
@@ -225,19 +225,22 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
225
225
|
environmentContract?: {
|
|
226
226
|
id: string;
|
|
227
227
|
version: string;
|
|
228
|
-
digest: string;
|
|
229
228
|
capabilities: string[];
|
|
229
|
+
digest: string;
|
|
230
230
|
} | undefined;
|
|
231
231
|
}, {
|
|
232
232
|
schemaVersion: "treeseed.sandbox-assignment/v1";
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
processLimit: number;
|
|
239
|
-
outputBytes: number;
|
|
233
|
+
network: {
|
|
234
|
+
defaultDeny: true;
|
|
235
|
+
relayUrl: string;
|
|
236
|
+
allowedServices: string[];
|
|
237
|
+
connectedDevelopmentSessionId?: string | undefined;
|
|
240
238
|
};
|
|
239
|
+
leaseExpiresAt: string;
|
|
240
|
+
assignmentId: string;
|
|
241
|
+
teamId: string;
|
|
242
|
+
projectId: string;
|
|
243
|
+
providerId: string;
|
|
241
244
|
inputs: {
|
|
242
245
|
id: string;
|
|
243
246
|
digest: string;
|
|
@@ -246,17 +249,6 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
246
249
|
disposition: "read-only" | "copy-on-write";
|
|
247
250
|
targetPath: string;
|
|
248
251
|
}[];
|
|
249
|
-
projectId: string;
|
|
250
|
-
teamId: string;
|
|
251
|
-
providerId: string;
|
|
252
|
-
assignmentId: string;
|
|
253
|
-
network: {
|
|
254
|
-
defaultDeny: true;
|
|
255
|
-
relayUrl: string;
|
|
256
|
-
allowedServices: string[];
|
|
257
|
-
connectedDevelopmentSessionId?: string | undefined;
|
|
258
|
-
};
|
|
259
|
-
leaseExpiresAt: string;
|
|
260
252
|
outputs: {
|
|
261
253
|
path: string;
|
|
262
254
|
id: string;
|
|
@@ -268,8 +260,16 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
268
260
|
keyId: string;
|
|
269
261
|
algorithm: "Ed25519";
|
|
270
262
|
};
|
|
271
|
-
attempt: number;
|
|
272
263
|
profile: string;
|
|
264
|
+
attempt: number;
|
|
265
|
+
resources: {
|
|
266
|
+
cpuCores: number;
|
|
267
|
+
memoryBytes: number;
|
|
268
|
+
durationSeconds: number;
|
|
269
|
+
diskBytes: number;
|
|
270
|
+
processLimit: number;
|
|
271
|
+
outputBytes: number;
|
|
272
|
+
};
|
|
273
273
|
guestImage: string;
|
|
274
274
|
guestImageDigest: string;
|
|
275
275
|
runnerId: string;
|
|
@@ -293,8 +293,8 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
293
293
|
environmentContract?: {
|
|
294
294
|
id: string;
|
|
295
295
|
version: string;
|
|
296
|
-
digest: string;
|
|
297
296
|
capabilities: string[];
|
|
297
|
+
digest: string;
|
|
298
298
|
} | undefined;
|
|
299
299
|
}>;
|
|
300
300
|
export declare const sandboxEventSchema: z.ZodObject<{
|
|
@@ -345,11 +345,11 @@ export declare const sandboxLeaseRenewalSchema: z.ZodObject<{
|
|
|
345
345
|
}>;
|
|
346
346
|
}, "strict", z.ZodTypeAny, {
|
|
347
347
|
schemaVersion: "treeseed.sandbox-lease-renewal/v1";
|
|
348
|
+
leaseExpiresAt: string;
|
|
349
|
+
assignmentId: string;
|
|
348
350
|
teamId: string;
|
|
349
351
|
providerId: string;
|
|
350
352
|
issuedAt: string;
|
|
351
|
-
assignmentId: string;
|
|
352
|
-
leaseExpiresAt: string;
|
|
353
353
|
signature: {
|
|
354
354
|
value: string;
|
|
355
355
|
keyId: string;
|
|
@@ -358,11 +358,11 @@ export declare const sandboxLeaseRenewalSchema: z.ZodObject<{
|
|
|
358
358
|
sandboxId: string;
|
|
359
359
|
}, {
|
|
360
360
|
schemaVersion: "treeseed.sandbox-lease-renewal/v1";
|
|
361
|
+
leaseExpiresAt: string;
|
|
362
|
+
assignmentId: string;
|
|
361
363
|
teamId: string;
|
|
362
364
|
providerId: string;
|
|
363
365
|
issuedAt: string;
|
|
364
|
-
assignmentId: string;
|
|
365
|
-
leaseExpiresAt: string;
|
|
366
366
|
signature: {
|
|
367
367
|
value: string;
|
|
368
368
|
keyId: string;
|
|
@@ -442,10 +442,10 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
442
442
|
}, "strict", z.ZodTypeAny, {
|
|
443
443
|
status: "completed" | "failed" | "cancelled" | "expired";
|
|
444
444
|
schemaVersion: "treeseed.sandbox-result/v1";
|
|
445
|
-
assignmentId: string;
|
|
446
445
|
summary: string;
|
|
447
|
-
|
|
446
|
+
assignmentId: string;
|
|
448
447
|
usage: Record<string, unknown>;
|
|
448
|
+
diagnostics: Record<string, unknown>;
|
|
449
449
|
timingAwareness: {
|
|
450
450
|
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
451
451
|
requiredChecks: 2;
|
|
@@ -473,8 +473,8 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
473
473
|
}, {
|
|
474
474
|
status: "completed" | "failed" | "cancelled" | "expired";
|
|
475
475
|
schemaVersion: "treeseed.sandbox-result/v1";
|
|
476
|
-
assignmentId: string;
|
|
477
476
|
summary: string;
|
|
477
|
+
assignmentId: string;
|
|
478
478
|
timingAwareness: {
|
|
479
479
|
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
480
480
|
requiredChecks: 2;
|
|
@@ -498,8 +498,8 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
498
498
|
completedAt: string | null;
|
|
499
499
|
verified: boolean;
|
|
500
500
|
};
|
|
501
|
-
diagnostics?: Record<string, unknown> | undefined;
|
|
502
501
|
usage?: Record<string, unknown> | undefined;
|
|
502
|
+
diagnostics?: Record<string, unknown> | undefined;
|
|
503
503
|
responseMarkdown?: string | undefined;
|
|
504
504
|
}>;
|
|
505
505
|
export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
|
|
@@ -550,8 +550,8 @@ export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
|
|
|
550
550
|
}, "strict", z.ZodTypeAny, {
|
|
551
551
|
schemaVersion: "treeseed.provider-environment-receipt/v1";
|
|
552
552
|
createdAt: string;
|
|
553
|
-
providerId: string;
|
|
554
553
|
assignmentId: string;
|
|
554
|
+
providerId: string;
|
|
555
555
|
signature: {
|
|
556
556
|
value: string;
|
|
557
557
|
keyId: string;
|
|
@@ -573,8 +573,8 @@ export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
|
|
|
573
573
|
}, {
|
|
574
574
|
schemaVersion: "treeseed.provider-environment-receipt/v1";
|
|
575
575
|
createdAt: string;
|
|
576
|
-
providerId: string;
|
|
577
576
|
assignmentId: string;
|
|
577
|
+
providerId: string;
|
|
578
578
|
signature: {
|
|
579
579
|
value: string;
|
|
580
580
|
keyId: string;
|