@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
|
@@ -102,7 +102,7 @@ function verifySandboxEnvironmentCatalog(value, publicJwk) {
|
|
|
102
102
|
const catalog = sandboxEnvironmentCatalogSchema.parse(value);
|
|
103
103
|
const { catalogDigest, signature: _signature, ...material } = catalog;
|
|
104
104
|
if (sandboxEnvironmentCatalogDigest(material) !== catalogDigest) throw new Error("Sandbox environment catalog digest does not match its canonical content.");
|
|
105
|
-
if (!verify(null, sandboxEnvironmentCatalogSigningBytes(catalog), createPublicKey({ key: publicJwk, format: "jwk" }), Buffer.from(catalog.signature.value, "base64url"))) throw new Error("Sandbox environment catalog signature is invalid.");
|
|
105
|
+
if (!verify(null, sandboxEnvironmentCatalogSigningBytes(catalog), createPublicKey({ key: { ...publicJwk }, format: "jwk" }), Buffer.from(catalog.signature.value, "base64url"))) throw new Error("Sandbox environment catalog signature is invalid.");
|
|
106
106
|
return catalog;
|
|
107
107
|
}
|
|
108
108
|
export {
|
|
@@ -18,21 +18,21 @@ export declare const capacityInstallConfigurationSchema: z.ZodObject<{
|
|
|
18
18
|
}>;
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
20
|
schemaVersion: "treeseed.capacity-install-configuration/v1";
|
|
21
|
+
teamId: string;
|
|
21
22
|
inputs: {
|
|
22
23
|
controlPlaneUrl: string;
|
|
23
24
|
teamRegistrationCode: string;
|
|
24
25
|
};
|
|
25
|
-
teamId: string;
|
|
26
26
|
profile: "capacity-provider";
|
|
27
27
|
generatedAt: string;
|
|
28
28
|
registrationGeneration: number;
|
|
29
29
|
}, {
|
|
30
30
|
schemaVersion: "treeseed.capacity-install-configuration/v1";
|
|
31
|
+
teamId: string;
|
|
31
32
|
inputs: {
|
|
32
33
|
controlPlaneUrl: string;
|
|
33
34
|
teamRegistrationCode: string;
|
|
34
35
|
};
|
|
35
|
-
teamId: string;
|
|
36
36
|
profile: "capacity-provider";
|
|
37
37
|
generatedAt: string;
|
|
38
38
|
registrationGeneration: number;
|
|
@@ -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;
|
|
@@ -41,15 +41,15 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
41
41
|
}, "strict", z.ZodTypeAny, {
|
|
42
42
|
cpuCores: number;
|
|
43
43
|
memoryBytes: number;
|
|
44
|
-
diskBytes: number;
|
|
45
44
|
durationSeconds: number;
|
|
45
|
+
diskBytes: number;
|
|
46
46
|
processLimit: number;
|
|
47
47
|
outputBytes: number;
|
|
48
48
|
}, {
|
|
49
49
|
cpuCores: number;
|
|
50
50
|
memoryBytes: number;
|
|
51
|
-
diskBytes: number;
|
|
52
51
|
durationSeconds: number;
|
|
52
|
+
diskBytes: number;
|
|
53
53
|
processLimit: number;
|
|
54
54
|
outputBytes: number;
|
|
55
55
|
}>;
|
|
@@ -63,15 +63,15 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
63
63
|
}, "strict", z.ZodTypeAny, {
|
|
64
64
|
id: string;
|
|
65
65
|
digest: string;
|
|
66
|
-
mediaType: string;
|
|
67
66
|
bytes: number;
|
|
67
|
+
mediaType: string;
|
|
68
68
|
disposition: "read-only" | "copy-on-write";
|
|
69
69
|
targetPath: string;
|
|
70
70
|
}, {
|
|
71
71
|
id: string;
|
|
72
72
|
digest: string;
|
|
73
|
-
mediaType: string;
|
|
74
73
|
bytes: number;
|
|
74
|
+
mediaType: string;
|
|
75
75
|
disposition: "read-only" | "copy-on-write";
|
|
76
76
|
targetPath: string;
|
|
77
77
|
}>, "many">;
|
|
@@ -153,58 +153,58 @@ export declare const sandboxAssignmentSchema: z.ZodObject<{
|
|
|
153
153
|
value: z.ZodString;
|
|
154
154
|
}, "strict", z.ZodTypeAny, {
|
|
155
155
|
value: string;
|
|
156
|
-
algorithm: "Ed25519";
|
|
157
156
|
keyId: string;
|
|
157
|
+
algorithm: "Ed25519";
|
|
158
158
|
}, {
|
|
159
159
|
value: string;
|
|
160
|
-
algorithm: "Ed25519";
|
|
161
160
|
keyId: string;
|
|
161
|
+
algorithm: "Ed25519";
|
|
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;
|
|
176
|
-
mediaType: string;
|
|
177
179
|
bytes: number;
|
|
180
|
+
mediaType: string;
|
|
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
|
-
profile: string;
|
|
192
184
|
outputs: {
|
|
193
185
|
path: string;
|
|
194
186
|
id: string;
|
|
195
187
|
mediaType: string;
|
|
196
188
|
maxBytes: number;
|
|
197
189
|
}[];
|
|
198
|
-
guestImage: string;
|
|
199
|
-
guestImageDigest: string;
|
|
200
190
|
signature: {
|
|
201
191
|
value: string;
|
|
202
|
-
algorithm: "Ed25519";
|
|
203
192
|
keyId: string;
|
|
193
|
+
algorithm: "Ed25519";
|
|
204
194
|
};
|
|
205
|
-
|
|
206
|
-
leaseExpiresAt: string;
|
|
195
|
+
profile: string;
|
|
207
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
|
+
guestImage: string;
|
|
206
|
+
guestImageDigest: string;
|
|
207
|
+
runnerId: string;
|
|
208
208
|
identityManifestDigest: string;
|
|
209
209
|
contextManifestDigest: string;
|
|
210
210
|
modelPolicy: {
|
|
@@ -225,54 +225,54 @@ 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;
|
|
244
|
-
mediaType: string;
|
|
245
247
|
bytes: number;
|
|
248
|
+
mediaType: string;
|
|
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
|
-
profile: string;
|
|
260
252
|
outputs: {
|
|
261
253
|
path: string;
|
|
262
254
|
id: string;
|
|
263
255
|
mediaType: string;
|
|
264
256
|
maxBytes: number;
|
|
265
257
|
}[];
|
|
266
|
-
guestImage: string;
|
|
267
|
-
guestImageDigest: string;
|
|
268
258
|
signature: {
|
|
269
259
|
value: string;
|
|
270
|
-
algorithm: "Ed25519";
|
|
271
260
|
keyId: string;
|
|
261
|
+
algorithm: "Ed25519";
|
|
272
262
|
};
|
|
273
|
-
|
|
274
|
-
leaseExpiresAt: string;
|
|
263
|
+
profile: string;
|
|
275
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
|
+
guestImage: string;
|
|
274
|
+
guestImageDigest: string;
|
|
275
|
+
runnerId: string;
|
|
276
276
|
identityManifestDigest: string;
|
|
277
277
|
contextManifestDigest: string;
|
|
278
278
|
modelPolicy: {
|
|
@@ -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<{
|
|
@@ -336,38 +336,38 @@ export declare const sandboxLeaseRenewalSchema: z.ZodObject<{
|
|
|
336
336
|
value: z.ZodString;
|
|
337
337
|
}, "strict", z.ZodTypeAny, {
|
|
338
338
|
value: string;
|
|
339
|
-
algorithm: "Ed25519";
|
|
340
339
|
keyId: string;
|
|
340
|
+
algorithm: "Ed25519";
|
|
341
341
|
}, {
|
|
342
342
|
value: string;
|
|
343
|
-
algorithm: "Ed25519";
|
|
344
343
|
keyId: string;
|
|
344
|
+
algorithm: "Ed25519";
|
|
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
353
|
signature: {
|
|
353
354
|
value: string;
|
|
354
|
-
algorithm: "Ed25519";
|
|
355
355
|
keyId: string;
|
|
356
|
+
algorithm: "Ed25519";
|
|
356
357
|
};
|
|
357
|
-
leaseExpiresAt: string;
|
|
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
366
|
signature: {
|
|
366
367
|
value: string;
|
|
367
|
-
algorithm: "Ed25519";
|
|
368
368
|
keyId: string;
|
|
369
|
+
algorithm: "Ed25519";
|
|
369
370
|
};
|
|
370
|
-
leaseExpiresAt: string;
|
|
371
371
|
sandboxId: string;
|
|
372
372
|
}>;
|
|
373
373
|
export declare const sandboxResultSchema: z.ZodObject<{
|
|
@@ -387,14 +387,14 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
387
387
|
path: string;
|
|
388
388
|
id: string;
|
|
389
389
|
digest: string;
|
|
390
|
-
mediaType: string;
|
|
391
390
|
bytes: number;
|
|
391
|
+
mediaType: string;
|
|
392
392
|
}, {
|
|
393
393
|
path: string;
|
|
394
394
|
id: string;
|
|
395
395
|
digest: string;
|
|
396
|
-
mediaType: string;
|
|
397
396
|
bytes: number;
|
|
397
|
+
mediaType: string;
|
|
398
398
|
}>, "many">;
|
|
399
399
|
timingAwareness: z.ZodObject<{
|
|
400
400
|
schemaVersion: z.ZodLiteral<"treeseed.assignment-timing-awareness/v1">;
|
|
@@ -440,17 +440,10 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
440
440
|
verified: boolean;
|
|
441
441
|
}>;
|
|
442
442
|
}, "strict", z.ZodTypeAny, {
|
|
443
|
-
status: "
|
|
443
|
+
status: "completed" | "failed" | "cancelled" | "expired";
|
|
444
444
|
schemaVersion: "treeseed.sandbox-result/v1";
|
|
445
|
-
assignmentId: string;
|
|
446
|
-
artifacts: {
|
|
447
|
-
path: string;
|
|
448
|
-
id: string;
|
|
449
|
-
digest: string;
|
|
450
|
-
mediaType: string;
|
|
451
|
-
bytes: number;
|
|
452
|
-
}[];
|
|
453
445
|
summary: string;
|
|
446
|
+
assignmentId: string;
|
|
454
447
|
usage: Record<string, unknown>;
|
|
455
448
|
diagnostics: Record<string, unknown>;
|
|
456
449
|
timingAwareness: {
|
|
@@ -464,6 +457,13 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
464
457
|
firstToolCompliant: true;
|
|
465
458
|
finalToolCompliant: true;
|
|
466
459
|
};
|
|
460
|
+
artifacts: {
|
|
461
|
+
path: string;
|
|
462
|
+
id: string;
|
|
463
|
+
digest: string;
|
|
464
|
+
bytes: number;
|
|
465
|
+
mediaType: string;
|
|
466
|
+
}[];
|
|
467
467
|
sandboxId: string;
|
|
468
468
|
teardown: {
|
|
469
469
|
completedAt: string | null;
|
|
@@ -471,17 +471,10 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
471
471
|
};
|
|
472
472
|
responseMarkdown?: string | undefined;
|
|
473
473
|
}, {
|
|
474
|
-
status: "
|
|
474
|
+
status: "completed" | "failed" | "cancelled" | "expired";
|
|
475
475
|
schemaVersion: "treeseed.sandbox-result/v1";
|
|
476
|
-
assignmentId: string;
|
|
477
|
-
artifacts: {
|
|
478
|
-
path: string;
|
|
479
|
-
id: string;
|
|
480
|
-
digest: string;
|
|
481
|
-
mediaType: string;
|
|
482
|
-
bytes: number;
|
|
483
|
-
}[];
|
|
484
476
|
summary: string;
|
|
477
|
+
assignmentId: string;
|
|
485
478
|
timingAwareness: {
|
|
486
479
|
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
487
480
|
requiredChecks: 2;
|
|
@@ -493,6 +486,13 @@ export declare const sandboxResultSchema: z.ZodObject<{
|
|
|
493
486
|
firstToolCompliant: true;
|
|
494
487
|
finalToolCompliant: true;
|
|
495
488
|
};
|
|
489
|
+
artifacts: {
|
|
490
|
+
path: string;
|
|
491
|
+
id: string;
|
|
492
|
+
digest: string;
|
|
493
|
+
bytes: number;
|
|
494
|
+
mediaType: string;
|
|
495
|
+
}[];
|
|
496
496
|
sandboxId: string;
|
|
497
497
|
teardown: {
|
|
498
498
|
completedAt: string | null;
|
|
@@ -540,22 +540,22 @@ export declare const providerEnvironmentReceiptSchema: z.ZodObject<{
|
|
|
540
540
|
value: z.ZodString;
|
|
541
541
|
}, "strict", z.ZodTypeAny, {
|
|
542
542
|
value: string;
|
|
543
|
-
algorithm: "Ed25519";
|
|
544
543
|
keyId: string;
|
|
544
|
+
algorithm: "Ed25519";
|
|
545
545
|
}, {
|
|
546
546
|
value: string;
|
|
547
|
-
algorithm: "Ed25519";
|
|
548
547
|
keyId: string;
|
|
548
|
+
algorithm: "Ed25519";
|
|
549
549
|
}>;
|
|
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
|
-
algorithm: "Ed25519";
|
|
558
557
|
keyId: string;
|
|
558
|
+
algorithm: "Ed25519";
|
|
559
559
|
};
|
|
560
560
|
offerId: string;
|
|
561
561
|
teardown: {
|
|
@@ -573,12 +573,12 @@ 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
|
-
algorithm: "Ed25519";
|
|
581
580
|
keyId: string;
|
|
581
|
+
algorithm: "Ed25519";
|
|
582
582
|
};
|
|
583
583
|
offerId: string;
|
|
584
584
|
teardown: {
|