@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
- 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 +8 -8
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
- 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 +176 -176
- package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -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 +1042 -1042
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- 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 +4 -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 +2 -4
- package/dist/capacity/agents/agent-capacity.js +1 -3
- package/dist/capacity-provider/capability-ontology.d.ts +138 -138
- package/dist/capacity-provider/client.d.ts +1 -2
- package/dist/capacity-provider/client.js +0 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
- package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
- package/dist/capacity-provider/environment-catalog.d.ts +166 -166
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
- package/dist/capacity-provider/source-workspace.d.ts +102 -4
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
- package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
- package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
- package/dist/content/validation/content-model-schemas.js +116 -48
- package/dist/content/validation/portable-content-data.d.ts +351 -181
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/deployment/ai/storage.d.ts +14 -14
- package/dist/deployment/ai-hosting.d.ts +10 -10
- package/dist/deployment/ai-instance.d.ts +14 -14
- package/dist/deployment/ai-mode.d.ts +82 -82
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +219 -219
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +780 -780
- package/dist/development/schemas.d.ts +439 -439
- 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 +3 -1
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
- package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +273 -273
- package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
- package/dist/operator-contracts/control-plane-operations.js +0 -2
- package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +94 -0
- package/dist/platform/verification.js +6 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/secrets-capability/shared-access.d.ts +2 -2
- package/dist/secrets-capability/shared-resources.d.ts +46 -46
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +8 -8
- package/package.json +3 -2
- 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
|
@@ -13,7 +13,12 @@ const registryIndependentModels = /* @__PURE__ */ new Set([
|
|
|
13
13
|
"proposal",
|
|
14
14
|
"decision",
|
|
15
15
|
"question",
|
|
16
|
-
"note"
|
|
16
|
+
"note",
|
|
17
|
+
"book",
|
|
18
|
+
"knowledge",
|
|
19
|
+
"objective",
|
|
20
|
+
"discussion",
|
|
21
|
+
"discussion_message"
|
|
17
22
|
]);
|
|
18
23
|
class PortableContentValidationError extends Error {
|
|
19
24
|
constructor(details) {
|
|
@@ -4,11 +4,11 @@ export declare const aiStorageBindingSchema: z.ZodObject<{
|
|
|
4
4
|
connectionId: z.ZodString;
|
|
5
5
|
bucket: z.ZodString;
|
|
6
6
|
}, "strict", z.ZodTypeAny, {
|
|
7
|
-
connectionId: string;
|
|
8
7
|
bucket: string;
|
|
9
|
-
}, {
|
|
10
8
|
connectionId: string;
|
|
9
|
+
}, {
|
|
11
10
|
bucket: string;
|
|
11
|
+
connectionId: string;
|
|
12
12
|
}>;
|
|
13
13
|
export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
14
14
|
schemaVersion: z.ZodLiteral<"treeseed.ai-storage-proof/v1">;
|
|
@@ -26,7 +26,7 @@ export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
|
26
26
|
nonce: string;
|
|
27
27
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
28
28
|
key: string;
|
|
29
|
-
action: "read" | "
|
|
29
|
+
action: "read" | "list" | "write" | "delete";
|
|
30
30
|
projectId: string;
|
|
31
31
|
teamId: string;
|
|
32
32
|
issuedAt: number;
|
|
@@ -37,7 +37,7 @@ export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
|
37
37
|
nonce: string;
|
|
38
38
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
39
39
|
key: string;
|
|
40
|
-
action: "read" | "
|
|
40
|
+
action: "read" | "list" | "write" | "delete";
|
|
41
41
|
projectId: string;
|
|
42
42
|
teamId: string;
|
|
43
43
|
issuedAt: number;
|
|
@@ -48,7 +48,7 @@ export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48
48
|
nonce: string;
|
|
49
49
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
50
50
|
key: string;
|
|
51
|
-
action: "read" | "
|
|
51
|
+
action: "read" | "list" | "write" | "delete";
|
|
52
52
|
projectId: string;
|
|
53
53
|
teamId: string;
|
|
54
54
|
issuedAt: number;
|
|
@@ -59,7 +59,7 @@ export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
|
59
59
|
nonce: string;
|
|
60
60
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
61
61
|
key: string;
|
|
62
|
-
action: "read" | "
|
|
62
|
+
action: "read" | "list" | "write" | "delete";
|
|
63
63
|
projectId: string;
|
|
64
64
|
teamId: string;
|
|
65
65
|
issuedAt: number;
|
|
@@ -84,7 +84,7 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
84
84
|
nonce: string;
|
|
85
85
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
86
86
|
key: string;
|
|
87
|
-
action: "read" | "
|
|
87
|
+
action: "read" | "list" | "write" | "delete";
|
|
88
88
|
projectId: string;
|
|
89
89
|
teamId: string;
|
|
90
90
|
issuedAt: number;
|
|
@@ -95,7 +95,7 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
95
95
|
nonce: string;
|
|
96
96
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
97
97
|
key: string;
|
|
98
|
-
action: "read" | "
|
|
98
|
+
action: "read" | "list" | "write" | "delete";
|
|
99
99
|
projectId: string;
|
|
100
100
|
teamId: string;
|
|
101
101
|
issuedAt: number;
|
|
@@ -106,7 +106,7 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
106
106
|
nonce: string;
|
|
107
107
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
108
108
|
key: string;
|
|
109
|
-
action: "read" | "
|
|
109
|
+
action: "read" | "list" | "write" | "delete";
|
|
110
110
|
projectId: string;
|
|
111
111
|
teamId: string;
|
|
112
112
|
issuedAt: number;
|
|
@@ -117,7 +117,7 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
117
117
|
nonce: string;
|
|
118
118
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
119
119
|
key: string;
|
|
120
|
-
action: "read" | "
|
|
120
|
+
action: "read" | "list" | "write" | "delete";
|
|
121
121
|
projectId: string;
|
|
122
122
|
teamId: string;
|
|
123
123
|
issuedAt: number;
|
|
@@ -126,33 +126,33 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
126
126
|
}>;
|
|
127
127
|
signature: z.ZodString;
|
|
128
128
|
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
signature: string;
|
|
129
130
|
proof: {
|
|
130
131
|
service: "inference" | "training" | "lab";
|
|
131
132
|
nonce: string;
|
|
132
133
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
133
134
|
key: string;
|
|
134
|
-
action: "read" | "
|
|
135
|
+
action: "read" | "list" | "write" | "delete";
|
|
135
136
|
projectId: string;
|
|
136
137
|
teamId: string;
|
|
137
138
|
issuedAt: number;
|
|
138
139
|
nodeId: string;
|
|
139
140
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
140
141
|
};
|
|
141
|
-
signature: string;
|
|
142
142
|
}, {
|
|
143
|
+
signature: string;
|
|
143
144
|
proof: {
|
|
144
145
|
service: "inference" | "training" | "lab";
|
|
145
146
|
nonce: string;
|
|
146
147
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
147
148
|
key: string;
|
|
148
|
-
action: "read" | "
|
|
149
|
+
action: "read" | "list" | "write" | "delete";
|
|
149
150
|
projectId: string;
|
|
150
151
|
teamId: string;
|
|
151
152
|
issuedAt: number;
|
|
152
153
|
nodeId: string;
|
|
153
154
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
154
155
|
};
|
|
155
|
-
signature: string;
|
|
156
156
|
}>;
|
|
157
157
|
/** Domain-separated, deterministic bytes signed by a Deployment-owned Ed25519 identity. */
|
|
158
158
|
export declare function aiStorageProofMessage(input: AiStorageProof): string;
|
|
@@ -87,11 +87,11 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
87
87
|
purpose: z.ZodEnum<["datasets", "models", "checkpoints", "artifacts"]>;
|
|
88
88
|
access: z.ZodEnum<["read", "write"]>;
|
|
89
89
|
}, "strict", z.ZodTypeAny, {
|
|
90
|
-
purpose: "
|
|
90
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
91
91
|
bindingId: string;
|
|
92
92
|
access: "read" | "write";
|
|
93
93
|
}, {
|
|
94
|
-
purpose: "
|
|
94
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
95
95
|
bindingId: string;
|
|
96
96
|
access: "read" | "write";
|
|
97
97
|
}>, "many">;
|
|
@@ -145,7 +145,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
145
145
|
}[];
|
|
146
146
|
projectId: string;
|
|
147
147
|
teamId: string;
|
|
148
|
-
environment: "
|
|
148
|
+
environment: "staging" | "production";
|
|
149
149
|
deploymentId: string;
|
|
150
150
|
hostingBindingId: string;
|
|
151
151
|
machine: {
|
|
@@ -158,7 +158,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
158
158
|
};
|
|
159
159
|
gpuAdmission: "exclusive-engine";
|
|
160
160
|
storage: {
|
|
161
|
-
purpose: "
|
|
161
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
162
162
|
bindingId: string;
|
|
163
163
|
access: "read" | "write";
|
|
164
164
|
}[];
|
|
@@ -180,7 +180,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
180
180
|
}[];
|
|
181
181
|
projectId: string;
|
|
182
182
|
teamId: string;
|
|
183
|
-
environment: "
|
|
183
|
+
environment: "staging" | "production";
|
|
184
184
|
deploymentId: string;
|
|
185
185
|
hostingBindingId: string;
|
|
186
186
|
machine: {
|
|
@@ -193,7 +193,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
193
193
|
};
|
|
194
194
|
gpuAdmission: "exclusive-engine";
|
|
195
195
|
storage: {
|
|
196
|
-
purpose: "
|
|
196
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
197
197
|
bindingId: string;
|
|
198
198
|
access: "read" | "write";
|
|
199
199
|
}[];
|
|
@@ -215,7 +215,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
215
215
|
}[];
|
|
216
216
|
projectId: string;
|
|
217
217
|
teamId: string;
|
|
218
|
-
environment: "
|
|
218
|
+
environment: "staging" | "production";
|
|
219
219
|
deploymentId: string;
|
|
220
220
|
hostingBindingId: string;
|
|
221
221
|
machine: {
|
|
@@ -228,7 +228,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
228
228
|
};
|
|
229
229
|
gpuAdmission: "exclusive-engine";
|
|
230
230
|
storage: {
|
|
231
|
-
purpose: "
|
|
231
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
232
232
|
bindingId: string;
|
|
233
233
|
access: "read" | "write";
|
|
234
234
|
}[];
|
|
@@ -250,7 +250,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
250
250
|
}[];
|
|
251
251
|
projectId: string;
|
|
252
252
|
teamId: string;
|
|
253
|
-
environment: "
|
|
253
|
+
environment: "staging" | "production";
|
|
254
254
|
deploymentId: string;
|
|
255
255
|
hostingBindingId: string;
|
|
256
256
|
machine: {
|
|
@@ -263,7 +263,7 @@ export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
263
263
|
};
|
|
264
264
|
gpuAdmission: "exclusive-engine";
|
|
265
265
|
storage: {
|
|
266
|
-
purpose: "
|
|
266
|
+
purpose: "models" | "artifacts" | "datasets" | "checkpoints";
|
|
267
267
|
bindingId: string;
|
|
268
268
|
access: "read" | "write";
|
|
269
269
|
}[];
|
|
@@ -11,39 +11,39 @@ export declare const aiInstanceDraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11
11
|
}, "strict", z.ZodTypeAny, {
|
|
12
12
|
name: string;
|
|
13
13
|
projectId: string;
|
|
14
|
-
|
|
14
|
+
schedule: "always" | "weekdays";
|
|
15
|
+
purpose: "both" | "inference" | "training";
|
|
16
|
+
model: string;
|
|
15
17
|
timeZone: string;
|
|
16
|
-
schedule: "weekdays" | "always";
|
|
17
18
|
hostingConnectionId: string;
|
|
18
19
|
storageConnectionId: string | null;
|
|
19
|
-
model: string;
|
|
20
20
|
}, {
|
|
21
21
|
name: string;
|
|
22
22
|
projectId: string;
|
|
23
|
-
|
|
23
|
+
schedule: "always" | "weekdays";
|
|
24
|
+
purpose: "both" | "inference" | "training";
|
|
25
|
+
model: string;
|
|
24
26
|
timeZone: string;
|
|
25
|
-
schedule: "weekdays" | "always";
|
|
26
27
|
hostingConnectionId: string;
|
|
27
28
|
storageConnectionId: string | null;
|
|
28
|
-
model: string;
|
|
29
29
|
}>, {
|
|
30
30
|
name: string;
|
|
31
31
|
projectId: string;
|
|
32
|
-
|
|
32
|
+
schedule: "always" | "weekdays";
|
|
33
|
+
purpose: "both" | "inference" | "training";
|
|
34
|
+
model: string;
|
|
33
35
|
timeZone: string;
|
|
34
|
-
schedule: "weekdays" | "always";
|
|
35
36
|
hostingConnectionId: string;
|
|
36
37
|
storageConnectionId: string | null;
|
|
37
|
-
model: string;
|
|
38
38
|
}, {
|
|
39
39
|
name: string;
|
|
40
40
|
projectId: string;
|
|
41
|
-
|
|
41
|
+
schedule: "always" | "weekdays";
|
|
42
|
+
purpose: "both" | "inference" | "training";
|
|
43
|
+
model: string;
|
|
42
44
|
timeZone: string;
|
|
43
|
-
schedule: "weekdays" | "always";
|
|
44
45
|
hostingConnectionId: string;
|
|
45
46
|
storageConnectionId: string | null;
|
|
46
|
-
model: string;
|
|
47
47
|
}>;
|
|
48
48
|
export type AiInstanceDraft = z.infer<typeof aiInstanceDraftSchema>;
|
|
49
49
|
/** Registration adopts an already managed local runtime; it never provisions a cloud machine. */
|
|
@@ -55,11 +55,11 @@ export declare const aiNodeRegistrationSchema: z.ZodObject<{
|
|
|
55
55
|
}, "strict", z.ZodTypeAny, {
|
|
56
56
|
name: string;
|
|
57
57
|
projectId: string;
|
|
58
|
-
purpose: "
|
|
58
|
+
purpose: "both" | "inference" | "training";
|
|
59
59
|
model: string;
|
|
60
60
|
}, {
|
|
61
61
|
name: string;
|
|
62
62
|
projectId: string;
|
|
63
|
-
purpose: "
|
|
63
|
+
purpose: "both" | "inference" | "training";
|
|
64
64
|
model: string;
|
|
65
65
|
}>;
|