@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
|
@@ -14,8 +14,8 @@ export declare const sourceWorkspaceKeySchema: z.ZodEffects<z.ZodObject<{
|
|
|
14
14
|
profile: z.ZodLiteral<"source-only">;
|
|
15
15
|
}, "strict", z.ZodTypeAny, {
|
|
16
16
|
commit: string;
|
|
17
|
-
projectId: string;
|
|
18
17
|
teamId: string;
|
|
18
|
+
projectId: string;
|
|
19
19
|
profile: "source-only";
|
|
20
20
|
repositoryId: string;
|
|
21
21
|
controlPlaneId: string;
|
|
@@ -23,8 +23,8 @@ export declare const sourceWorkspaceKeySchema: z.ZodEffects<z.ZodObject<{
|
|
|
23
23
|
additionalCommits?: string[] | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
commit: string;
|
|
26
|
-
projectId: string;
|
|
27
26
|
teamId: string;
|
|
27
|
+
projectId: string;
|
|
28
28
|
profile: "source-only";
|
|
29
29
|
repositoryId: string;
|
|
30
30
|
controlPlaneId: string;
|
|
@@ -32,8 +32,8 @@ export declare const sourceWorkspaceKeySchema: z.ZodEffects<z.ZodObject<{
|
|
|
32
32
|
additionalCommits?: string[] | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
commit: string;
|
|
35
|
-
projectId: string;
|
|
36
35
|
teamId: string;
|
|
36
|
+
projectId: string;
|
|
37
37
|
profile: "source-only";
|
|
38
38
|
repositoryId: string;
|
|
39
39
|
controlPlaneId: string;
|
|
@@ -41,8 +41,8 @@ export declare const sourceWorkspaceKeySchema: z.ZodEffects<z.ZodObject<{
|
|
|
41
41
|
additionalCommits?: string[] | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
commit: string;
|
|
44
|
-
projectId: string;
|
|
45
44
|
teamId: string;
|
|
45
|
+
projectId: string;
|
|
46
46
|
profile: "source-only";
|
|
47
47
|
repositoryId: string;
|
|
48
48
|
controlPlaneId: string;
|
|
@@ -67,8 +67,8 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
67
67
|
profile: z.ZodLiteral<"source-only">;
|
|
68
68
|
}, "strict", z.ZodTypeAny, {
|
|
69
69
|
commit: string;
|
|
70
|
-
projectId: string;
|
|
71
70
|
teamId: string;
|
|
71
|
+
projectId: string;
|
|
72
72
|
profile: "source-only";
|
|
73
73
|
repositoryId: string;
|
|
74
74
|
controlPlaneId: string;
|
|
@@ -76,8 +76,8 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
76
76
|
additionalCommits?: string[] | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
commit: string;
|
|
79
|
-
projectId: string;
|
|
80
79
|
teamId: string;
|
|
80
|
+
projectId: string;
|
|
81
81
|
profile: "source-only";
|
|
82
82
|
repositoryId: string;
|
|
83
83
|
controlPlaneId: string;
|
|
@@ -85,8 +85,8 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
85
85
|
additionalCommits?: string[] | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
commit: string;
|
|
88
|
-
projectId: string;
|
|
89
88
|
teamId: string;
|
|
89
|
+
projectId: string;
|
|
90
90
|
profile: "source-only";
|
|
91
91
|
repositoryId: string;
|
|
92
92
|
controlPlaneId: string;
|
|
@@ -94,8 +94,8 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
94
94
|
additionalCommits?: string[] | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
commit: string;
|
|
97
|
-
projectId: string;
|
|
98
97
|
teamId: string;
|
|
98
|
+
projectId: string;
|
|
99
99
|
profile: "source-only";
|
|
100
100
|
repositoryId: string;
|
|
101
101
|
controlPlaneId: string;
|
|
@@ -113,19 +113,19 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
113
113
|
id: string;
|
|
114
114
|
expiresAt: string;
|
|
115
115
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
116
|
-
providerId: string;
|
|
117
|
-
issuedAt: string;
|
|
118
|
-
assignmentId: string;
|
|
119
116
|
source: {
|
|
120
117
|
commit: string;
|
|
121
|
-
projectId: string;
|
|
122
118
|
teamId: string;
|
|
119
|
+
projectId: string;
|
|
123
120
|
profile: "source-only";
|
|
124
121
|
repositoryId: string;
|
|
125
122
|
controlPlaneId: string;
|
|
126
123
|
formatVersion: 1;
|
|
127
124
|
additionalCommits?: string[] | undefined;
|
|
128
125
|
};
|
|
126
|
+
assignmentId: string;
|
|
127
|
+
providerId: string;
|
|
128
|
+
issuedAt: string;
|
|
129
129
|
mode: "analysis" | "work";
|
|
130
130
|
attempt: number;
|
|
131
131
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -136,19 +136,19 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
136
136
|
id: string;
|
|
137
137
|
expiresAt: string;
|
|
138
138
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
139
|
-
providerId: string;
|
|
140
|
-
issuedAt: string;
|
|
141
|
-
assignmentId: string;
|
|
142
139
|
source: {
|
|
143
140
|
commit: string;
|
|
144
|
-
projectId: string;
|
|
145
141
|
teamId: string;
|
|
142
|
+
projectId: string;
|
|
146
143
|
profile: "source-only";
|
|
147
144
|
repositoryId: string;
|
|
148
145
|
controlPlaneId: string;
|
|
149
146
|
formatVersion: 1;
|
|
150
147
|
additionalCommits?: string[] | undefined;
|
|
151
148
|
};
|
|
149
|
+
assignmentId: string;
|
|
150
|
+
providerId: string;
|
|
151
|
+
issuedAt: string;
|
|
152
152
|
mode: "analysis" | "work";
|
|
153
153
|
attempt: number;
|
|
154
154
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -159,19 +159,19 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
159
159
|
id: string;
|
|
160
160
|
expiresAt: string;
|
|
161
161
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
162
|
-
providerId: string;
|
|
163
|
-
issuedAt: string;
|
|
164
|
-
assignmentId: string;
|
|
165
162
|
source: {
|
|
166
163
|
commit: string;
|
|
167
|
-
projectId: string;
|
|
168
164
|
teamId: string;
|
|
165
|
+
projectId: string;
|
|
169
166
|
profile: "source-only";
|
|
170
167
|
repositoryId: string;
|
|
171
168
|
controlPlaneId: string;
|
|
172
169
|
formatVersion: 1;
|
|
173
170
|
additionalCommits?: string[] | undefined;
|
|
174
171
|
};
|
|
172
|
+
assignmentId: string;
|
|
173
|
+
providerId: string;
|
|
174
|
+
issuedAt: string;
|
|
175
175
|
mode: "analysis" | "work";
|
|
176
176
|
attempt: number;
|
|
177
177
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -182,19 +182,19 @@ export declare const sourceWorkspaceAuthorizationSchema: z.ZodEffects<z.ZodObjec
|
|
|
182
182
|
id: string;
|
|
183
183
|
expiresAt: string;
|
|
184
184
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
185
|
-
providerId: string;
|
|
186
|
-
issuedAt: string;
|
|
187
|
-
assignmentId: string;
|
|
188
185
|
source: {
|
|
189
186
|
commit: string;
|
|
190
|
-
projectId: string;
|
|
191
187
|
teamId: string;
|
|
188
|
+
projectId: string;
|
|
192
189
|
profile: "source-only";
|
|
193
190
|
repositoryId: string;
|
|
194
191
|
controlPlaneId: string;
|
|
195
192
|
formatVersion: 1;
|
|
196
193
|
additionalCommits?: string[] | undefined;
|
|
197
194
|
};
|
|
195
|
+
assignmentId: string;
|
|
196
|
+
providerId: string;
|
|
197
|
+
issuedAt: string;
|
|
198
198
|
mode: "analysis" | "work";
|
|
199
199
|
attempt: number;
|
|
200
200
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -220,8 +220,8 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
220
220
|
profile: z.ZodLiteral<"source-only">;
|
|
221
221
|
}, "strict", z.ZodTypeAny, {
|
|
222
222
|
commit: string;
|
|
223
|
-
projectId: string;
|
|
224
223
|
teamId: string;
|
|
224
|
+
projectId: string;
|
|
225
225
|
profile: "source-only";
|
|
226
226
|
repositoryId: string;
|
|
227
227
|
controlPlaneId: string;
|
|
@@ -229,8 +229,8 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
229
229
|
additionalCommits?: string[] | undefined;
|
|
230
230
|
}, {
|
|
231
231
|
commit: string;
|
|
232
|
-
projectId: string;
|
|
233
232
|
teamId: string;
|
|
233
|
+
projectId: string;
|
|
234
234
|
profile: "source-only";
|
|
235
235
|
repositoryId: string;
|
|
236
236
|
controlPlaneId: string;
|
|
@@ -238,8 +238,8 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
238
238
|
additionalCommits?: string[] | undefined;
|
|
239
239
|
}>, {
|
|
240
240
|
commit: string;
|
|
241
|
-
projectId: string;
|
|
242
241
|
teamId: string;
|
|
242
|
+
projectId: string;
|
|
243
243
|
profile: "source-only";
|
|
244
244
|
repositoryId: string;
|
|
245
245
|
controlPlaneId: string;
|
|
@@ -247,8 +247,8 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
247
247
|
additionalCommits?: string[] | undefined;
|
|
248
248
|
}, {
|
|
249
249
|
commit: string;
|
|
250
|
-
projectId: string;
|
|
251
250
|
teamId: string;
|
|
251
|
+
projectId: string;
|
|
252
252
|
profile: "source-only";
|
|
253
253
|
repositoryId: string;
|
|
254
254
|
controlPlaneId: string;
|
|
@@ -268,18 +268,18 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
268
268
|
expiresAt: string;
|
|
269
269
|
schemaVersion: "treeseed.source-workspace-lease/v1";
|
|
270
270
|
createdAt: string;
|
|
271
|
-
providerId: string;
|
|
272
|
-
assignmentId: string;
|
|
273
271
|
source: {
|
|
274
272
|
commit: string;
|
|
275
|
-
projectId: string;
|
|
276
273
|
teamId: string;
|
|
274
|
+
projectId: string;
|
|
277
275
|
profile: "source-only";
|
|
278
276
|
repositoryId: string;
|
|
279
277
|
controlPlaneId: string;
|
|
280
278
|
formatVersion: 1;
|
|
281
279
|
additionalCommits?: string[] | undefined;
|
|
282
280
|
};
|
|
281
|
+
assignmentId: string;
|
|
282
|
+
providerId: string;
|
|
283
283
|
mode: "analysis" | "work";
|
|
284
284
|
attempt: number;
|
|
285
285
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -292,18 +292,18 @@ export declare const sourceWorkspaceLeaseSchema: z.ZodObject<{
|
|
|
292
292
|
expiresAt: string;
|
|
293
293
|
schemaVersion: "treeseed.source-workspace-lease/v1";
|
|
294
294
|
createdAt: string;
|
|
295
|
-
providerId: string;
|
|
296
|
-
assignmentId: string;
|
|
297
295
|
source: {
|
|
298
296
|
commit: string;
|
|
299
|
-
projectId: string;
|
|
300
297
|
teamId: string;
|
|
298
|
+
projectId: string;
|
|
301
299
|
profile: "source-only";
|
|
302
300
|
repositoryId: string;
|
|
303
301
|
controlPlaneId: string;
|
|
304
302
|
formatVersion: 1;
|
|
305
303
|
additionalCommits?: string[] | undefined;
|
|
306
304
|
};
|
|
305
|
+
assignmentId: string;
|
|
306
|
+
providerId: string;
|
|
307
307
|
mode: "analysis" | "work";
|
|
308
308
|
attempt: number;
|
|
309
309
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -377,8 +377,8 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
377
377
|
profile: z.ZodLiteral<"source-only">;
|
|
378
378
|
}, "strict", z.ZodTypeAny, {
|
|
379
379
|
commit: string;
|
|
380
|
-
projectId: string;
|
|
381
380
|
teamId: string;
|
|
381
|
+
projectId: string;
|
|
382
382
|
profile: "source-only";
|
|
383
383
|
repositoryId: string;
|
|
384
384
|
controlPlaneId: string;
|
|
@@ -386,8 +386,8 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
386
386
|
additionalCommits?: string[] | undefined;
|
|
387
387
|
}, {
|
|
388
388
|
commit: string;
|
|
389
|
-
projectId: string;
|
|
390
389
|
teamId: string;
|
|
390
|
+
projectId: string;
|
|
391
391
|
profile: "source-only";
|
|
392
392
|
repositoryId: string;
|
|
393
393
|
controlPlaneId: string;
|
|
@@ -395,8 +395,8 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
395
395
|
additionalCommits?: string[] | undefined;
|
|
396
396
|
}>, {
|
|
397
397
|
commit: string;
|
|
398
|
-
projectId: string;
|
|
399
398
|
teamId: string;
|
|
399
|
+
projectId: string;
|
|
400
400
|
profile: "source-only";
|
|
401
401
|
repositoryId: string;
|
|
402
402
|
controlPlaneId: string;
|
|
@@ -404,8 +404,8 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
404
404
|
additionalCommits?: string[] | undefined;
|
|
405
405
|
}, {
|
|
406
406
|
commit: string;
|
|
407
|
-
projectId: string;
|
|
408
407
|
teamId: string;
|
|
408
|
+
projectId: string;
|
|
409
409
|
profile: "source-only";
|
|
410
410
|
repositoryId: string;
|
|
411
411
|
controlPlaneId: string;
|
|
@@ -423,19 +423,19 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
423
423
|
id: string;
|
|
424
424
|
expiresAt: string;
|
|
425
425
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
426
|
-
providerId: string;
|
|
427
|
-
issuedAt: string;
|
|
428
|
-
assignmentId: string;
|
|
429
426
|
source: {
|
|
430
427
|
commit: string;
|
|
431
|
-
projectId: string;
|
|
432
428
|
teamId: string;
|
|
429
|
+
projectId: string;
|
|
433
430
|
profile: "source-only";
|
|
434
431
|
repositoryId: string;
|
|
435
432
|
controlPlaneId: string;
|
|
436
433
|
formatVersion: 1;
|
|
437
434
|
additionalCommits?: string[] | undefined;
|
|
438
435
|
};
|
|
436
|
+
assignmentId: string;
|
|
437
|
+
providerId: string;
|
|
438
|
+
issuedAt: string;
|
|
439
439
|
mode: "analysis" | "work";
|
|
440
440
|
attempt: number;
|
|
441
441
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -446,19 +446,19 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
446
446
|
id: string;
|
|
447
447
|
expiresAt: string;
|
|
448
448
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
449
|
-
providerId: string;
|
|
450
|
-
issuedAt: string;
|
|
451
|
-
assignmentId: string;
|
|
452
449
|
source: {
|
|
453
450
|
commit: string;
|
|
454
|
-
projectId: string;
|
|
455
451
|
teamId: string;
|
|
452
|
+
projectId: string;
|
|
456
453
|
profile: "source-only";
|
|
457
454
|
repositoryId: string;
|
|
458
455
|
controlPlaneId: string;
|
|
459
456
|
formatVersion: 1;
|
|
460
457
|
additionalCommits?: string[] | undefined;
|
|
461
458
|
};
|
|
459
|
+
assignmentId: string;
|
|
460
|
+
providerId: string;
|
|
461
|
+
issuedAt: string;
|
|
462
462
|
mode: "analysis" | "work";
|
|
463
463
|
attempt: number;
|
|
464
464
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -469,19 +469,19 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
469
469
|
id: string;
|
|
470
470
|
expiresAt: string;
|
|
471
471
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
472
|
-
providerId: string;
|
|
473
|
-
issuedAt: string;
|
|
474
|
-
assignmentId: string;
|
|
475
472
|
source: {
|
|
476
473
|
commit: string;
|
|
477
|
-
projectId: string;
|
|
478
474
|
teamId: string;
|
|
475
|
+
projectId: string;
|
|
479
476
|
profile: "source-only";
|
|
480
477
|
repositoryId: string;
|
|
481
478
|
controlPlaneId: string;
|
|
482
479
|
formatVersion: 1;
|
|
483
480
|
additionalCommits?: string[] | undefined;
|
|
484
481
|
};
|
|
482
|
+
assignmentId: string;
|
|
483
|
+
providerId: string;
|
|
484
|
+
issuedAt: string;
|
|
485
485
|
mode: "analysis" | "work";
|
|
486
486
|
attempt: number;
|
|
487
487
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -492,19 +492,19 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
492
492
|
id: string;
|
|
493
493
|
expiresAt: string;
|
|
494
494
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
495
|
-
providerId: string;
|
|
496
|
-
issuedAt: string;
|
|
497
|
-
assignmentId: string;
|
|
498
495
|
source: {
|
|
499
496
|
commit: string;
|
|
500
|
-
projectId: string;
|
|
501
497
|
teamId: string;
|
|
498
|
+
projectId: string;
|
|
502
499
|
profile: "source-only";
|
|
503
500
|
repositoryId: string;
|
|
504
501
|
controlPlaneId: string;
|
|
505
502
|
formatVersion: 1;
|
|
506
503
|
additionalCommits?: string[] | undefined;
|
|
507
504
|
};
|
|
505
|
+
assignmentId: string;
|
|
506
|
+
providerId: string;
|
|
507
|
+
issuedAt: string;
|
|
508
508
|
mode: "analysis" | "work";
|
|
509
509
|
attempt: number;
|
|
510
510
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -521,14 +521,14 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
521
|
}, "strict", z.ZodTypeAny, {
|
|
522
522
|
provider: "github";
|
|
523
523
|
name: string;
|
|
524
|
-
owner: string;
|
|
525
524
|
ref: string;
|
|
525
|
+
owner: string;
|
|
526
526
|
cloneUrl: string;
|
|
527
527
|
}, {
|
|
528
528
|
provider: "github";
|
|
529
529
|
name: string;
|
|
530
|
-
owner: string;
|
|
531
530
|
ref: string;
|
|
531
|
+
owner: string;
|
|
532
532
|
cloneUrl: string;
|
|
533
533
|
}>;
|
|
534
534
|
credential: z.ZodNullable<z.ZodObject<{
|
|
@@ -566,27 +566,27 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
566
566
|
repository: {
|
|
567
567
|
provider: "github";
|
|
568
568
|
name: string;
|
|
569
|
-
owner: string;
|
|
570
569
|
ref: string;
|
|
570
|
+
owner: string;
|
|
571
571
|
cloneUrl: string;
|
|
572
572
|
};
|
|
573
573
|
authorization: {
|
|
574
574
|
id: string;
|
|
575
575
|
expiresAt: string;
|
|
576
576
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
577
|
-
providerId: string;
|
|
578
|
-
issuedAt: string;
|
|
579
|
-
assignmentId: string;
|
|
580
577
|
source: {
|
|
581
578
|
commit: string;
|
|
582
|
-
projectId: string;
|
|
583
579
|
teamId: string;
|
|
580
|
+
projectId: string;
|
|
584
581
|
profile: "source-only";
|
|
585
582
|
repositoryId: string;
|
|
586
583
|
controlPlaneId: string;
|
|
587
584
|
formatVersion: 1;
|
|
588
585
|
additionalCommits?: string[] | undefined;
|
|
589
586
|
};
|
|
587
|
+
assignmentId: string;
|
|
588
|
+
providerId: string;
|
|
589
|
+
issuedAt: string;
|
|
590
590
|
mode: "analysis" | "work";
|
|
591
591
|
attempt: number;
|
|
592
592
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -609,27 +609,27 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
609
609
|
repository: {
|
|
610
610
|
provider: "github";
|
|
611
611
|
name: string;
|
|
612
|
-
owner: string;
|
|
613
612
|
ref: string;
|
|
613
|
+
owner: string;
|
|
614
614
|
cloneUrl: string;
|
|
615
615
|
};
|
|
616
616
|
authorization: {
|
|
617
617
|
id: string;
|
|
618
618
|
expiresAt: string;
|
|
619
619
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
620
|
-
providerId: string;
|
|
621
|
-
issuedAt: string;
|
|
622
|
-
assignmentId: string;
|
|
623
620
|
source: {
|
|
624
621
|
commit: string;
|
|
625
|
-
projectId: string;
|
|
626
622
|
teamId: string;
|
|
623
|
+
projectId: string;
|
|
627
624
|
profile: "source-only";
|
|
628
625
|
repositoryId: string;
|
|
629
626
|
controlPlaneId: string;
|
|
630
627
|
formatVersion: 1;
|
|
631
628
|
additionalCommits?: string[] | undefined;
|
|
632
629
|
};
|
|
630
|
+
assignmentId: string;
|
|
631
|
+
providerId: string;
|
|
632
|
+
issuedAt: string;
|
|
633
633
|
mode: "analysis" | "work";
|
|
634
634
|
attempt: number;
|
|
635
635
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -652,27 +652,27 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
652
652
|
repository: {
|
|
653
653
|
provider: "github";
|
|
654
654
|
name: string;
|
|
655
|
-
owner: string;
|
|
656
655
|
ref: string;
|
|
656
|
+
owner: string;
|
|
657
657
|
cloneUrl: string;
|
|
658
658
|
};
|
|
659
659
|
authorization: {
|
|
660
660
|
id: string;
|
|
661
661
|
expiresAt: string;
|
|
662
662
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
663
|
-
providerId: string;
|
|
664
|
-
issuedAt: string;
|
|
665
|
-
assignmentId: string;
|
|
666
663
|
source: {
|
|
667
664
|
commit: string;
|
|
668
|
-
projectId: string;
|
|
669
665
|
teamId: string;
|
|
666
|
+
projectId: string;
|
|
670
667
|
profile: "source-only";
|
|
671
668
|
repositoryId: string;
|
|
672
669
|
controlPlaneId: string;
|
|
673
670
|
formatVersion: 1;
|
|
674
671
|
additionalCommits?: string[] | undefined;
|
|
675
672
|
};
|
|
673
|
+
assignmentId: string;
|
|
674
|
+
providerId: string;
|
|
675
|
+
issuedAt: string;
|
|
676
676
|
mode: "analysis" | "work";
|
|
677
677
|
attempt: number;
|
|
678
678
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -695,27 +695,27 @@ export declare const sourceWorkspaceResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
695
695
|
repository: {
|
|
696
696
|
provider: "github";
|
|
697
697
|
name: string;
|
|
698
|
-
owner: string;
|
|
699
698
|
ref: string;
|
|
699
|
+
owner: string;
|
|
700
700
|
cloneUrl: string;
|
|
701
701
|
};
|
|
702
702
|
authorization: {
|
|
703
703
|
id: string;
|
|
704
704
|
expiresAt: string;
|
|
705
705
|
schemaVersion: "treeseed.source-workspace-authorization/v1";
|
|
706
|
-
providerId: string;
|
|
707
|
-
issuedAt: string;
|
|
708
|
-
assignmentId: string;
|
|
709
706
|
source: {
|
|
710
707
|
commit: string;
|
|
711
|
-
projectId: string;
|
|
712
708
|
teamId: string;
|
|
709
|
+
projectId: string;
|
|
713
710
|
profile: "source-only";
|
|
714
711
|
repositoryId: string;
|
|
715
712
|
controlPlaneId: string;
|
|
716
713
|
formatVersion: 1;
|
|
717
714
|
additionalCommits?: string[] | undefined;
|
|
718
715
|
};
|
|
716
|
+
assignmentId: string;
|
|
717
|
+
providerId: string;
|
|
718
|
+
issuedAt: string;
|
|
719
719
|
mode: "analysis" | "work";
|
|
720
720
|
attempt: number;
|
|
721
721
|
publication: "denied" | "assignment-branch" | "simulation-branch";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type CapacityProviderManifestV5, type CapacityProviderProofPayload, type CapacityProviderPublicJwk
|
|
1
|
+
import { type CapacityProviderManifestV5, type CapacityProviderProofPayload, type CapacityProviderPublicJwk } from './contracts/governance.js';
|
|
2
|
+
import { type CapabilityDefinition } from './capability-ontology.js';
|
|
2
3
|
export interface CapacityProviderContractDiagnostic {
|
|
3
4
|
code: string;
|
|
4
5
|
path: string;
|
|
@@ -11,6 +12,13 @@ export interface CapacityProviderContractValidation {
|
|
|
11
12
|
export declare function result(diagnostics: CapacityProviderContractDiagnostic[]): CapacityProviderContractValidation;
|
|
12
13
|
export declare function add(diagnostics: CapacityProviderContractDiagnostic[], code: string, path: string, message: string): void;
|
|
13
14
|
export declare function nonEmpty(value: unknown): value is string;
|
|
15
|
+
/** Qualification semantics shared by advertisement and admission. Signature
|
|
16
|
+
* verification still belongs to the registered-identity publication boundary. */
|
|
17
|
+
export declare function validateCapabilityOfferQualification(value: unknown, options?: {
|
|
18
|
+
now?: Date;
|
|
19
|
+
providerId?: string;
|
|
20
|
+
definitions?: readonly CapabilityDefinition[];
|
|
21
|
+
}): CapacityProviderContractValidation;
|
|
14
22
|
export declare function validateCapacityProviderPublicJwk(jwk: CapacityProviderPublicJwk): CapacityProviderContractValidation;
|
|
15
23
|
export declare function validateCapacityProviderProofPayload(payload: CapacityProviderProofPayload, options?: {
|
|
16
24
|
now?: Date;
|
|
@@ -18,7 +26,7 @@ export declare function validateCapacityProviderProofPayload(payload: CapacityPr
|
|
|
18
26
|
expectedPath?: string;
|
|
19
27
|
expectedAudience?: string;
|
|
20
28
|
}): CapacityProviderContractValidation;
|
|
21
|
-
export declare function validateProviderSupplyOffer(offer:
|
|
29
|
+
export declare function validateProviderSupplyOffer(offer: unknown, path?: string): CapacityProviderContractValidation;
|
|
22
30
|
export declare function validateCapacityProviderManifestV5(manifest: CapacityProviderManifestV5): CapacityProviderContractValidation;
|
|
23
31
|
export declare function capacityProviderSecurityDefaults(): {
|
|
24
32
|
proofTtlSeconds: number;
|