@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
|
@@ -65,7 +65,7 @@ export interface SdkModelDefinition {
|
|
|
65
65
|
}
|
|
66
66
|
export type SdkModelRegistry = Record<string, SdkModelDefinition>;
|
|
67
67
|
export type SdkGraphNodeType = 'File' | 'Section' | 'Agent' | 'Objective' | 'Question' | 'Note' | 'Proposal' | 'Decision' | 'Knowledge' | 'Book' | 'Page' | 'Person' | 'Group' | 'Series' | 'Reference' | 'Entity';
|
|
68
|
-
export type SdkGraphEdgeType = 'HAS_SECTION' | 'BELONGS_TO_FILE' | 'PARENT_SECTION' | 'CHILD_SECTION' | 'NEXT_SECTION' | 'PREV_SECTION' | 'LINKS_TO' | 'REFERENCES' | 'MENTIONS' | 'HAS_GROUP' | 'EFFECTIVE_GROUP' | 'GROUP_RELATION' | 'IN_SERIES' | 'SAME_DIRECTORY' | 'SAME_COLLECTION' | 'DEFINES' | 'DEFINED_BY' | 'RELATES_TO' | 'DEPENDS_ON' | 'IMPLEMENTS' | 'EXTENDS' | 'SUPERSEDES' | 'BELONGS_TO' | 'ABOUT' | 'USED_BY' | 'GENERATED_FROM';
|
|
68
|
+
export type SdkGraphEdgeType = 'HAS_SECTION' | 'BELONGS_TO_FILE' | 'PARENT_SECTION' | 'CHILD_SECTION' | 'NEXT_SECTION' | 'PREV_SECTION' | 'LINKS_TO' | 'REFERENCES' | 'MENTIONS' | 'HAS_GROUP' | 'EFFECTIVE_GROUP' | 'GROUP_RELATION' | 'IN_SERIES' | 'SAME_DIRECTORY' | 'SAME_COLLECTION' | 'DEFINES' | 'DEFINED_BY' | 'RELATES_TO' | 'DEPENDS_ON' | 'IMPLEMENTS' | 'EXTENDS' | 'SUPERSEDES' | 'BELONGS_TO' | 'ABOUT' | 'USED_BY' | 'GENERATED_FROM' | 'PARENT_OF' | 'DERIVED_FROM' | 'GROUP_SOURCE' | 'GROUP_TARGET' | 'GUIDED_BY';
|
|
69
69
|
export interface SdkGraphReferenceFieldConfig {
|
|
70
70
|
field: string;
|
|
71
71
|
edgeType?: Exclude<SdkGraphEdgeType, 'HAS_SECTION' | 'BELONGS_TO_FILE' | 'PARENT_SECTION' | 'CHILD_SECTION' | 'NEXT_SECTION' | 'PREV_SECTION' | 'LINKS_TO' | 'MENTIONS' | 'SAME_DIRECTORY' | 'SAME_COLLECTION' | 'DEFINES' | 'DEFINED_BY'>;
|
|
@@ -73,7 +73,7 @@ export interface SdkGraphReferenceFieldConfig {
|
|
|
73
73
|
multiple?: boolean;
|
|
74
74
|
}
|
|
75
75
|
export interface SdkGraphModelConfig {
|
|
76
|
-
entityType?:
|
|
76
|
+
entityType?: string;
|
|
77
77
|
referenceFields?: SdkGraphReferenceFieldConfig[];
|
|
78
78
|
groupField?: string;
|
|
79
79
|
seriesField?: string;
|
|
@@ -8,14 +8,14 @@ export declare const secretScopeSchema: z.ZodObject<{
|
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
9
|
name: string;
|
|
10
10
|
project: string;
|
|
11
|
-
team: string;
|
|
12
11
|
purpose: string;
|
|
12
|
+
team: string;
|
|
13
13
|
environment: string;
|
|
14
14
|
}, {
|
|
15
15
|
name: string;
|
|
16
16
|
project: string;
|
|
17
|
-
team: string;
|
|
18
17
|
purpose: string;
|
|
18
|
+
team: string;
|
|
19
19
|
environment: string;
|
|
20
20
|
}>;
|
|
21
21
|
export type SecretScope = z.infer<typeof secretScopeSchema>;
|
|
@@ -41,11 +41,11 @@ export declare function selectServiceBinding(request: BindingSelection, pinned:
|
|
|
41
41
|
}): {
|
|
42
42
|
id: string;
|
|
43
43
|
version: number;
|
|
44
|
-
projectId: string;
|
|
45
44
|
teamId: string;
|
|
46
|
-
|
|
45
|
+
projectId: string;
|
|
46
|
+
grantId: string | null;
|
|
47
47
|
capability: string;
|
|
48
|
+
environment: "staging" | "production" | "shared";
|
|
48
49
|
connectionId: string;
|
|
49
|
-
grantId: string | null;
|
|
50
50
|
ownerTeamId: string;
|
|
51
51
|
};
|
|
@@ -51,7 +51,7 @@ export declare const organizationTeamInvitationSchema: z.ZodObject<{
|
|
|
51
51
|
status: z.ZodEnum<["pending", "accepted", "rejected", "revoked", "expired"]>;
|
|
52
52
|
version: z.ZodNumber;
|
|
53
53
|
}, "strict", z.ZodTypeAny, {
|
|
54
|
-
status: "
|
|
54
|
+
status: "pending" | "accepted" | "revoked" | "expired" | "rejected";
|
|
55
55
|
id: string;
|
|
56
56
|
version: number;
|
|
57
57
|
expiresAt: string;
|
|
@@ -60,7 +60,7 @@ export declare const organizationTeamInvitationSchema: z.ZodObject<{
|
|
|
60
60
|
organizationAuthorizedBy: string;
|
|
61
61
|
teamAuthorizedBy: string | null;
|
|
62
62
|
}, {
|
|
63
|
-
status: "
|
|
63
|
+
status: "pending" | "accepted" | "revoked" | "expired" | "rejected";
|
|
64
64
|
id: string;
|
|
65
65
|
version: number;
|
|
66
66
|
expiresAt: string;
|
|
@@ -150,14 +150,14 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
150
150
|
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
151
151
|
assignmentIds: z.ZodArray<z.ZodString, "many">;
|
|
152
152
|
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
environment: "
|
|
154
|
-
assignmentIds: string[];
|
|
153
|
+
environment: "staging" | "production" | "shared";
|
|
155
154
|
projectIds: string[];
|
|
155
|
+
assignmentIds: string[];
|
|
156
156
|
resourceIds: string[];
|
|
157
157
|
}, {
|
|
158
|
-
environment: "
|
|
159
|
-
assignmentIds: string[];
|
|
158
|
+
environment: "staging" | "production" | "shared";
|
|
160
159
|
projectIds: string[];
|
|
160
|
+
assignmentIds: string[];
|
|
161
161
|
resourceIds: string[];
|
|
162
162
|
}>;
|
|
163
163
|
limits: z.ZodObject<{
|
|
@@ -190,10 +190,16 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
190
190
|
id: string;
|
|
191
191
|
version: number;
|
|
192
192
|
expiresAt: string | null;
|
|
193
|
+
limits: {
|
|
194
|
+
maxConcurrentOperations: number;
|
|
195
|
+
maxOperationsPerWindow: number;
|
|
196
|
+
windowSeconds: number;
|
|
197
|
+
};
|
|
198
|
+
permissions: string[];
|
|
193
199
|
scope: {
|
|
194
|
-
environment: "
|
|
195
|
-
assignmentIds: string[];
|
|
200
|
+
environment: "staging" | "production" | "shared";
|
|
196
201
|
projectIds: string[];
|
|
202
|
+
assignmentIds: string[];
|
|
197
203
|
resourceIds: string[];
|
|
198
204
|
};
|
|
199
205
|
origin: "explicit" | "default-policy";
|
|
@@ -204,12 +210,6 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
204
210
|
kind: "deployment";
|
|
205
211
|
audiencePolicyId: string;
|
|
206
212
|
};
|
|
207
|
-
limits: {
|
|
208
|
-
maxConcurrentOperations: number;
|
|
209
|
-
maxOperationsPerWindow: number;
|
|
210
|
-
windowSeconds: number;
|
|
211
|
-
};
|
|
212
|
-
permissions: string[];
|
|
213
213
|
recipientTeamId: string;
|
|
214
214
|
defaultPolicyId: string | null;
|
|
215
215
|
}, {
|
|
@@ -226,10 +226,16 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
226
226
|
id: string;
|
|
227
227
|
version: number;
|
|
228
228
|
expiresAt: string | null;
|
|
229
|
+
limits: {
|
|
230
|
+
maxConcurrentOperations: number;
|
|
231
|
+
maxOperationsPerWindow: number;
|
|
232
|
+
windowSeconds: number;
|
|
233
|
+
};
|
|
234
|
+
permissions: string[];
|
|
229
235
|
scope: {
|
|
230
|
-
environment: "
|
|
231
|
-
assignmentIds: string[];
|
|
236
|
+
environment: "staging" | "production" | "shared";
|
|
232
237
|
projectIds: string[];
|
|
238
|
+
assignmentIds: string[];
|
|
233
239
|
resourceIds: string[];
|
|
234
240
|
};
|
|
235
241
|
origin: "explicit" | "default-policy";
|
|
@@ -240,12 +246,6 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
240
246
|
kind: "deployment";
|
|
241
247
|
audiencePolicyId: string;
|
|
242
248
|
};
|
|
243
|
-
limits: {
|
|
244
|
-
maxConcurrentOperations: number;
|
|
245
|
-
maxOperationsPerWindow: number;
|
|
246
|
-
windowSeconds: number;
|
|
247
|
-
};
|
|
248
|
-
permissions: string[];
|
|
249
249
|
recipientTeamId: string;
|
|
250
250
|
defaultPolicyId: string | null;
|
|
251
251
|
}>, {
|
|
@@ -262,10 +262,16 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
262
262
|
id: string;
|
|
263
263
|
version: number;
|
|
264
264
|
expiresAt: string | null;
|
|
265
|
+
limits: {
|
|
266
|
+
maxConcurrentOperations: number;
|
|
267
|
+
maxOperationsPerWindow: number;
|
|
268
|
+
windowSeconds: number;
|
|
269
|
+
};
|
|
270
|
+
permissions: string[];
|
|
265
271
|
scope: {
|
|
266
|
-
environment: "
|
|
267
|
-
assignmentIds: string[];
|
|
272
|
+
environment: "staging" | "production" | "shared";
|
|
268
273
|
projectIds: string[];
|
|
274
|
+
assignmentIds: string[];
|
|
269
275
|
resourceIds: string[];
|
|
270
276
|
};
|
|
271
277
|
origin: "explicit" | "default-policy";
|
|
@@ -276,12 +282,6 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
282
|
kind: "deployment";
|
|
277
283
|
audiencePolicyId: string;
|
|
278
284
|
};
|
|
279
|
-
limits: {
|
|
280
|
-
maxConcurrentOperations: number;
|
|
281
|
-
maxOperationsPerWindow: number;
|
|
282
|
-
windowSeconds: number;
|
|
283
|
-
};
|
|
284
|
-
permissions: string[];
|
|
285
285
|
recipientTeamId: string;
|
|
286
286
|
defaultPolicyId: string | null;
|
|
287
287
|
}, {
|
|
@@ -298,10 +298,16 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
298
298
|
id: string;
|
|
299
299
|
version: number;
|
|
300
300
|
expiresAt: string | null;
|
|
301
|
+
limits: {
|
|
302
|
+
maxConcurrentOperations: number;
|
|
303
|
+
maxOperationsPerWindow: number;
|
|
304
|
+
windowSeconds: number;
|
|
305
|
+
};
|
|
306
|
+
permissions: string[];
|
|
301
307
|
scope: {
|
|
302
|
-
environment: "
|
|
303
|
-
assignmentIds: string[];
|
|
308
|
+
environment: "staging" | "production" | "shared";
|
|
304
309
|
projectIds: string[];
|
|
310
|
+
assignmentIds: string[];
|
|
305
311
|
resourceIds: string[];
|
|
306
312
|
};
|
|
307
313
|
origin: "explicit" | "default-policy";
|
|
@@ -312,12 +318,6 @@ export declare const sharedResourceGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
312
318
|
kind: "deployment";
|
|
313
319
|
audiencePolicyId: string;
|
|
314
320
|
};
|
|
315
|
-
limits: {
|
|
316
|
-
maxConcurrentOperations: number;
|
|
317
|
-
maxOperationsPerWindow: number;
|
|
318
|
-
windowSeconds: number;
|
|
319
|
-
};
|
|
320
|
-
permissions: string[];
|
|
321
321
|
recipientTeamId: string;
|
|
322
322
|
defaultPolicyId: string | null;
|
|
323
323
|
}>;
|
|
@@ -335,42 +335,42 @@ export declare const serviceBindingSchema: z.ZodEffects<z.ZodObject<{
|
|
|
335
335
|
}, "strict", z.ZodTypeAny, {
|
|
336
336
|
id: string;
|
|
337
337
|
version: number;
|
|
338
|
-
projectId: string;
|
|
339
338
|
teamId: string;
|
|
340
|
-
|
|
339
|
+
projectId: string;
|
|
340
|
+
grantId: string | null;
|
|
341
341
|
capability: string;
|
|
342
|
+
environment: "staging" | "production" | "shared";
|
|
342
343
|
connectionId: string;
|
|
343
|
-
grantId: string | null;
|
|
344
344
|
ownerTeamId: string;
|
|
345
345
|
}, {
|
|
346
346
|
id: string;
|
|
347
347
|
version: number;
|
|
348
|
-
projectId: string;
|
|
349
348
|
teamId: string;
|
|
350
|
-
|
|
349
|
+
projectId: string;
|
|
350
|
+
grantId: string | null;
|
|
351
351
|
capability: string;
|
|
352
|
+
environment: "staging" | "production" | "shared";
|
|
352
353
|
connectionId: string;
|
|
353
|
-
grantId: string | null;
|
|
354
354
|
ownerTeamId: string;
|
|
355
355
|
}>, {
|
|
356
356
|
id: string;
|
|
357
357
|
version: number;
|
|
358
|
-
projectId: string;
|
|
359
358
|
teamId: string;
|
|
360
|
-
|
|
359
|
+
projectId: string;
|
|
360
|
+
grantId: string | null;
|
|
361
361
|
capability: string;
|
|
362
|
+
environment: "staging" | "production" | "shared";
|
|
362
363
|
connectionId: string;
|
|
363
|
-
grantId: string | null;
|
|
364
364
|
ownerTeamId: string;
|
|
365
365
|
}, {
|
|
366
366
|
id: string;
|
|
367
367
|
version: number;
|
|
368
|
-
projectId: string;
|
|
369
368
|
teamId: string;
|
|
370
|
-
|
|
369
|
+
projectId: string;
|
|
370
|
+
grantId: string | null;
|
|
371
371
|
capability: string;
|
|
372
|
+
environment: "staging" | "production" | "shared";
|
|
372
373
|
connectionId: string;
|
|
373
|
-
grantId: string | null;
|
|
374
374
|
ownerTeamId: string;
|
|
375
375
|
}>;
|
|
376
376
|
export type ServiceBinding = z.infer<typeof serviceBindingSchema>;
|
|
@@ -80,16 +80,16 @@ export declare const vaultAllocationSchema: z.ZodObject<{
|
|
|
80
80
|
teamId: string;
|
|
81
81
|
grantId: string | null;
|
|
82
82
|
permissions: ("read" | "write" | "delete")[];
|
|
83
|
-
vaultId: string;
|
|
84
83
|
pathPrefix: string;
|
|
84
|
+
vaultId: string;
|
|
85
85
|
}, {
|
|
86
86
|
id: string;
|
|
87
87
|
version: number;
|
|
88
88
|
teamId: string;
|
|
89
89
|
grantId: string | null;
|
|
90
90
|
permissions: ("read" | "write" | "delete")[];
|
|
91
|
-
vaultId: string;
|
|
92
91
|
pathPrefix: string;
|
|
92
|
+
vaultId: string;
|
|
93
93
|
}>;
|
|
94
94
|
export declare const vaultCredentialReferenceSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
95
95
|
mode: z.ZodLiteral<"managed">;
|
|
@@ -16,24 +16,24 @@ export declare const encryptedEnvelopeAadSchema: z.ZodObject<{
|
|
|
16
16
|
purpose: string;
|
|
17
17
|
resourceType: string;
|
|
18
18
|
resourceId: string;
|
|
19
|
-
teamId?: string | undefined;
|
|
20
19
|
assignmentId?: string | undefined;
|
|
20
|
+
teamId?: string | undefined;
|
|
21
|
+
sequence?: number | undefined;
|
|
21
22
|
topicId?: string | undefined;
|
|
22
23
|
sendId?: string | undefined;
|
|
23
24
|
invocationId?: string | undefined;
|
|
24
|
-
sequence?: number | undefined;
|
|
25
25
|
eventType?: string | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
schemaVersion: string;
|
|
28
28
|
purpose: string;
|
|
29
29
|
resourceType: string;
|
|
30
30
|
resourceId: string;
|
|
31
|
-
teamId?: string | undefined;
|
|
32
31
|
assignmentId?: string | undefined;
|
|
32
|
+
teamId?: string | undefined;
|
|
33
|
+
sequence?: number | undefined;
|
|
33
34
|
topicId?: string | undefined;
|
|
34
35
|
sendId?: string | undefined;
|
|
35
36
|
invocationId?: string | undefined;
|
|
36
|
-
sequence?: number | undefined;
|
|
37
37
|
eventType?: string | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
@@ -85,24 +85,24 @@ export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
|
85
85
|
purpose: string;
|
|
86
86
|
resourceType: string;
|
|
87
87
|
resourceId: string;
|
|
88
|
-
teamId?: string | undefined;
|
|
89
88
|
assignmentId?: string | undefined;
|
|
89
|
+
teamId?: string | undefined;
|
|
90
|
+
sequence?: number | undefined;
|
|
90
91
|
topicId?: string | undefined;
|
|
91
92
|
sendId?: string | undefined;
|
|
92
93
|
invocationId?: string | undefined;
|
|
93
|
-
sequence?: number | undefined;
|
|
94
94
|
eventType?: string | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
schemaVersion: string;
|
|
97
97
|
purpose: string;
|
|
98
98
|
resourceType: string;
|
|
99
99
|
resourceId: string;
|
|
100
|
-
teamId?: string | undefined;
|
|
101
100
|
assignmentId?: string | undefined;
|
|
101
|
+
teamId?: string | undefined;
|
|
102
|
+
sequence?: number | undefined;
|
|
102
103
|
topicId?: string | undefined;
|
|
103
104
|
sendId?: string | undefined;
|
|
104
105
|
invocationId?: string | undefined;
|
|
105
|
-
sequence?: number | undefined;
|
|
106
106
|
eventType?: string | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
aadDigest: z.ZodString;
|
|
@@ -111,9 +111,9 @@ export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
|
111
111
|
}, "strict", z.ZodTypeAny, {
|
|
112
112
|
schemaVersion: "treeseed.encrypted-envelope/v1";
|
|
113
113
|
createdAt: string;
|
|
114
|
+
keyId: string;
|
|
114
115
|
algorithm: "aes-256-gcm";
|
|
115
116
|
keyProvider: string;
|
|
116
|
-
keyId: string;
|
|
117
117
|
keyVersion: number;
|
|
118
118
|
wrappedDek: {
|
|
119
119
|
nonce: string;
|
|
@@ -130,12 +130,12 @@ export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
|
130
130
|
purpose: string;
|
|
131
131
|
resourceType: string;
|
|
132
132
|
resourceId: string;
|
|
133
|
-
teamId?: string | undefined;
|
|
134
133
|
assignmentId?: string | undefined;
|
|
134
|
+
teamId?: string | undefined;
|
|
135
|
+
sequence?: number | undefined;
|
|
135
136
|
topicId?: string | undefined;
|
|
136
137
|
sendId?: string | undefined;
|
|
137
138
|
invocationId?: string | undefined;
|
|
138
|
-
sequence?: number | undefined;
|
|
139
139
|
eventType?: string | undefined;
|
|
140
140
|
};
|
|
141
141
|
aadDigest: string;
|
|
@@ -143,9 +143,9 @@ export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
|
143
143
|
}, {
|
|
144
144
|
schemaVersion: "treeseed.encrypted-envelope/v1";
|
|
145
145
|
createdAt: string;
|
|
146
|
+
keyId: string;
|
|
146
147
|
algorithm: "aes-256-gcm";
|
|
147
148
|
keyProvider: string;
|
|
148
|
-
keyId: string;
|
|
149
149
|
keyVersion: number;
|
|
150
150
|
wrappedDek: {
|
|
151
151
|
nonce: string;
|
|
@@ -162,12 +162,12 @@ export declare const encryptedEnvelopeSchema: z.ZodObject<{
|
|
|
162
162
|
purpose: string;
|
|
163
163
|
resourceType: string;
|
|
164
164
|
resourceId: string;
|
|
165
|
-
teamId?: string | undefined;
|
|
166
165
|
assignmentId?: string | undefined;
|
|
166
|
+
teamId?: string | undefined;
|
|
167
|
+
sequence?: number | undefined;
|
|
167
168
|
topicId?: string | undefined;
|
|
168
169
|
sendId?: string | undefined;
|
|
169
170
|
invocationId?: string | undefined;
|
|
170
|
-
sequence?: number | undefined;
|
|
171
171
|
eventType?: string | undefined;
|
|
172
172
|
};
|
|
173
173
|
aadDigest: string;
|
package/dist/treedx/client.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import type { ControlPlaneClient, ControlPlaneInvocation, ControlPlaneOperationC
|
|
|
3
3
|
export declare const TREESEED_TREEDX_OPERATIONS: {
|
|
4
4
|
readonly library: ControlPlaneOperationBinding<{
|
|
5
5
|
projectId: string;
|
|
6
|
-
}, {},
|
|
6
|
+
}, {}, unknown, Record<string, unknown>>;
|
|
7
7
|
readonly bindLibrary: ControlPlaneOperationBinding<{
|
|
8
8
|
projectId: string;
|
|
9
|
-
}, {},
|
|
9
|
+
}, {}, unknown, Record<string, unknown>>;
|
|
10
10
|
readonly serviceContract: ControlPlaneOperationBinding<{
|
|
11
11
|
projectId: string;
|
|
12
12
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
@@ -305,10 +305,10 @@ export declare class TreeSeedTreeDxClient {
|
|
|
305
305
|
readonly operations: {
|
|
306
306
|
readonly library: ControlPlaneOperationBinding<{
|
|
307
307
|
projectId: string;
|
|
308
|
-
}, {},
|
|
308
|
+
}, {}, unknown, Record<string, unknown>>;
|
|
309
309
|
readonly bindLibrary: ControlPlaneOperationBinding<{
|
|
310
310
|
projectId: string;
|
|
311
|
-
}, {},
|
|
311
|
+
}, {}, unknown, Record<string, unknown>>;
|
|
312
312
|
readonly serviceContract: ControlPlaneOperationBinding<{
|
|
313
313
|
projectId: string;
|
|
314
314
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
package/dist/treedx/index.d.ts
CHANGED
package/dist/treedx/index.js
CHANGED