@treeseed/sdk 0.13.0-rc.105 → 0.13.0-rc.107
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/capacity-provider/capability-ontology.d.ts +6 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +4 -4
- package/dist/deployment/ai/storage.d.ts +10 -10
- package/dist/deployment/ai-mode.d.ts +10 -10
- package/dist/deployment/hosted-topology-template.d.ts +7 -7
- package/dist/deployment/hosted-topology.d.ts +30 -30
- package/dist/deployment/schemas.d.ts +12 -12
- package/dist/development/schemas.d.ts +12 -12
- package/dist/entrypoints/clients/control-plane-client.d.ts +2 -1
- package/dist/identity/browser-session.d.ts +233 -0
- package/dist/identity/browser-session.js +51 -0
- package/dist/identity/contracts.d.ts +35 -4
- package/dist/identity/contracts.js +6 -0
- package/dist/identity/index.d.ts +1 -0
- package/dist/identity/index.js +1 -0
- package/dist/operator-contracts/canonical-command-tree.js +3 -8
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +1 -1
- package/dist/operator-contracts/catalog/services/identity-commands.d.ts +2 -0
- package/dist/operator-contracts/catalog/services/identity-commands.js +12 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +6 -6
- package/dist/operator-contracts/knowledge/contracts.d.ts +2 -2
- package/dist/platform/contracts.d.ts +6 -6
- package/dist/secrets-capability/shared-resources.d.ts +6 -6
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"completedAt":"2026-09-
|
|
1
|
+
{"completedAt":"2026-09-09T10:44:07.411Z"}
|
|
@@ -816,10 +816,10 @@ export declare const capabilityConformanceSchema: z.ZodObject<{
|
|
|
816
816
|
}>;
|
|
817
817
|
}, "strict", z.ZodTypeAny, {
|
|
818
818
|
status: "revoked" | "passed" | "failed";
|
|
819
|
+
expiresAt: string | null;
|
|
819
820
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
820
821
|
providerId: string;
|
|
821
822
|
issuedAt: string;
|
|
822
|
-
expiresAt: string | null;
|
|
823
823
|
capability: {
|
|
824
824
|
id: string;
|
|
825
825
|
version: string;
|
|
@@ -838,10 +838,10 @@ export declare const capabilityConformanceSchema: z.ZodObject<{
|
|
|
838
838
|
evidenceDigest: string;
|
|
839
839
|
}, {
|
|
840
840
|
status: "revoked" | "passed" | "failed";
|
|
841
|
+
expiresAt: string | null;
|
|
841
842
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
842
843
|
providerId: string;
|
|
843
844
|
issuedAt: string;
|
|
844
|
-
expiresAt: string | null;
|
|
845
845
|
capability: {
|
|
846
846
|
id: string;
|
|
847
847
|
version: string;
|
|
@@ -1089,10 +1089,10 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1089
1089
|
}>;
|
|
1090
1090
|
}, "strict", z.ZodTypeAny, {
|
|
1091
1091
|
status: "revoked" | "passed" | "failed";
|
|
1092
|
+
expiresAt: string | null;
|
|
1092
1093
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1093
1094
|
providerId: string;
|
|
1094
1095
|
issuedAt: string;
|
|
1095
|
-
expiresAt: string | null;
|
|
1096
1096
|
capability: {
|
|
1097
1097
|
id: string;
|
|
1098
1098
|
version: string;
|
|
@@ -1111,10 +1111,10 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1111
1111
|
evidenceDigest: string;
|
|
1112
1112
|
}, {
|
|
1113
1113
|
status: "revoked" | "passed" | "failed";
|
|
1114
|
+
expiresAt: string | null;
|
|
1114
1115
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1115
1116
|
providerId: string;
|
|
1116
1117
|
issuedAt: string;
|
|
1117
|
-
expiresAt: string | null;
|
|
1118
1118
|
capability: {
|
|
1119
1119
|
id: string;
|
|
1120
1120
|
version: string;
|
|
@@ -1300,10 +1300,10 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1300
1300
|
}>;
|
|
1301
1301
|
conformance: {
|
|
1302
1302
|
status: "revoked" | "passed" | "failed";
|
|
1303
|
+
expiresAt: string | null;
|
|
1303
1304
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1304
1305
|
providerId: string;
|
|
1305
1306
|
issuedAt: string;
|
|
1306
|
-
expiresAt: string | null;
|
|
1307
1307
|
capability: {
|
|
1308
1308
|
id: string;
|
|
1309
1309
|
version: string;
|
|
@@ -1381,10 +1381,10 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1381
1381
|
}>;
|
|
1382
1382
|
conformance: {
|
|
1383
1383
|
status: "revoked" | "passed" | "failed";
|
|
1384
|
+
expiresAt: string | null;
|
|
1384
1385
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1385
1386
|
providerId: string;
|
|
1386
1387
|
issuedAt: string;
|
|
1387
|
-
expiresAt: string | null;
|
|
1388
1388
|
capability: {
|
|
1389
1389
|
id: string;
|
|
1390
1390
|
version: string;
|
|
@@ -156,12 +156,12 @@ export declare const assignmentEnvironmentGrantSchema: z.ZodEffects<z.ZodObject<
|
|
|
156
156
|
issuedAt: z.ZodString;
|
|
157
157
|
expiresAt: z.ZodString;
|
|
158
158
|
}, "strict", z.ZodTypeAny, {
|
|
159
|
+
expiresAt: string;
|
|
159
160
|
schemaVersion: "treeseed.assignment-environment-grant/v1";
|
|
160
161
|
projectId: string;
|
|
161
162
|
teamId: string;
|
|
162
163
|
providerId: string;
|
|
163
164
|
issuedAt: string;
|
|
164
|
-
expiresAt: string;
|
|
165
165
|
variables: string[];
|
|
166
166
|
assignmentId: string;
|
|
167
167
|
profileId: string;
|
|
@@ -179,12 +179,12 @@ export declare const assignmentEnvironmentGrantSchema: z.ZodEffects<z.ZodObject<
|
|
|
179
179
|
};
|
|
180
180
|
grantId: string;
|
|
181
181
|
}, {
|
|
182
|
+
expiresAt: string;
|
|
182
183
|
schemaVersion: "treeseed.assignment-environment-grant/v1";
|
|
183
184
|
projectId: string;
|
|
184
185
|
teamId: string;
|
|
185
186
|
providerId: string;
|
|
186
187
|
issuedAt: string;
|
|
187
|
-
expiresAt: string;
|
|
188
188
|
variables: string[];
|
|
189
189
|
assignmentId: string;
|
|
190
190
|
profileId: string;
|
|
@@ -202,12 +202,12 @@ export declare const assignmentEnvironmentGrantSchema: z.ZodEffects<z.ZodObject<
|
|
|
202
202
|
};
|
|
203
203
|
grantId: string;
|
|
204
204
|
}>, {
|
|
205
|
+
expiresAt: string;
|
|
205
206
|
schemaVersion: "treeseed.assignment-environment-grant/v1";
|
|
206
207
|
projectId: string;
|
|
207
208
|
teamId: string;
|
|
208
209
|
providerId: string;
|
|
209
210
|
issuedAt: string;
|
|
210
|
-
expiresAt: string;
|
|
211
211
|
variables: string[];
|
|
212
212
|
assignmentId: string;
|
|
213
213
|
profileId: string;
|
|
@@ -225,12 +225,12 @@ export declare const assignmentEnvironmentGrantSchema: z.ZodEffects<z.ZodObject<
|
|
|
225
225
|
};
|
|
226
226
|
grantId: string;
|
|
227
227
|
}, {
|
|
228
|
+
expiresAt: string;
|
|
228
229
|
schemaVersion: "treeseed.assignment-environment-grant/v1";
|
|
229
230
|
projectId: string;
|
|
230
231
|
teamId: string;
|
|
231
232
|
providerId: string;
|
|
232
233
|
issuedAt: string;
|
|
233
|
-
expiresAt: string;
|
|
234
234
|
variables: string[];
|
|
235
235
|
assignmentId: string;
|
|
236
236
|
profileId: string;
|
|
@@ -23,46 +23,46 @@ export declare const aiStorageProofSchema: z.ZodEffects<z.ZodObject<{
|
|
|
23
23
|
nonce: z.ZodString;
|
|
24
24
|
}, "strict", z.ZodTypeAny, {
|
|
25
25
|
service: "inference" | "training" | "lab";
|
|
26
|
+
nonce: string;
|
|
26
27
|
key: string;
|
|
27
28
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
28
29
|
action: "read" | "write" | "list" | "delete";
|
|
29
30
|
projectId: string;
|
|
30
31
|
teamId: string;
|
|
31
32
|
issuedAt: number;
|
|
32
|
-
nonce: string;
|
|
33
33
|
nodeId: string;
|
|
34
34
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
35
35
|
}, {
|
|
36
36
|
service: "inference" | "training" | "lab";
|
|
37
|
+
nonce: string;
|
|
37
38
|
key: string;
|
|
38
39
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
39
40
|
action: "read" | "write" | "list" | "delete";
|
|
40
41
|
projectId: string;
|
|
41
42
|
teamId: string;
|
|
42
43
|
issuedAt: number;
|
|
43
|
-
nonce: string;
|
|
44
44
|
nodeId: string;
|
|
45
45
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
46
46
|
}>, {
|
|
47
47
|
service: "inference" | "training" | "lab";
|
|
48
|
+
nonce: string;
|
|
48
49
|
key: string;
|
|
49
50
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
50
51
|
action: "read" | "write" | "list" | "delete";
|
|
51
52
|
projectId: string;
|
|
52
53
|
teamId: string;
|
|
53
54
|
issuedAt: number;
|
|
54
|
-
nonce: string;
|
|
55
55
|
nodeId: string;
|
|
56
56
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
57
57
|
}, {
|
|
58
58
|
service: "inference" | "training" | "lab";
|
|
59
|
+
nonce: string;
|
|
59
60
|
key: string;
|
|
60
61
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
61
62
|
action: "read" | "write" | "list" | "delete";
|
|
62
63
|
projectId: string;
|
|
63
64
|
teamId: string;
|
|
64
65
|
issuedAt: number;
|
|
65
|
-
nonce: string;
|
|
66
66
|
nodeId: string;
|
|
67
67
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
68
68
|
}>;
|
|
@@ -81,46 +81,46 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
81
81
|
nonce: z.ZodString;
|
|
82
82
|
}, "strict", z.ZodTypeAny, {
|
|
83
83
|
service: "inference" | "training" | "lab";
|
|
84
|
+
nonce: string;
|
|
84
85
|
key: string;
|
|
85
86
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
86
87
|
action: "read" | "write" | "list" | "delete";
|
|
87
88
|
projectId: string;
|
|
88
89
|
teamId: string;
|
|
89
90
|
issuedAt: number;
|
|
90
|
-
nonce: string;
|
|
91
91
|
nodeId: string;
|
|
92
92
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
93
93
|
}, {
|
|
94
94
|
service: "inference" | "training" | "lab";
|
|
95
|
+
nonce: string;
|
|
95
96
|
key: string;
|
|
96
97
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
97
98
|
action: "read" | "write" | "list" | "delete";
|
|
98
99
|
projectId: string;
|
|
99
100
|
teamId: string;
|
|
100
101
|
issuedAt: number;
|
|
101
|
-
nonce: string;
|
|
102
102
|
nodeId: string;
|
|
103
103
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
104
104
|
}>, {
|
|
105
105
|
service: "inference" | "training" | "lab";
|
|
106
|
+
nonce: string;
|
|
106
107
|
key: string;
|
|
107
108
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
108
109
|
action: "read" | "write" | "list" | "delete";
|
|
109
110
|
projectId: string;
|
|
110
111
|
teamId: string;
|
|
111
112
|
issuedAt: number;
|
|
112
|
-
nonce: string;
|
|
113
113
|
nodeId: string;
|
|
114
114
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
115
115
|
}, {
|
|
116
116
|
service: "inference" | "training" | "lab";
|
|
117
|
+
nonce: string;
|
|
117
118
|
key: string;
|
|
118
119
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
119
120
|
action: "read" | "write" | "list" | "delete";
|
|
120
121
|
projectId: string;
|
|
121
122
|
teamId: string;
|
|
122
123
|
issuedAt: number;
|
|
123
|
-
nonce: string;
|
|
124
124
|
nodeId: string;
|
|
125
125
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
126
126
|
}>;
|
|
@@ -128,13 +128,13 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
128
128
|
}, "strict", z.ZodTypeAny, {
|
|
129
129
|
proof: {
|
|
130
130
|
service: "inference" | "training" | "lab";
|
|
131
|
+
nonce: string;
|
|
131
132
|
key: string;
|
|
132
133
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
133
134
|
action: "read" | "write" | "list" | "delete";
|
|
134
135
|
projectId: string;
|
|
135
136
|
teamId: string;
|
|
136
137
|
issuedAt: number;
|
|
137
|
-
nonce: string;
|
|
138
138
|
nodeId: string;
|
|
139
139
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
140
140
|
};
|
|
@@ -142,13 +142,13 @@ export declare const aiStorageRequestSchema: z.ZodObject<{
|
|
|
142
142
|
}, {
|
|
143
143
|
proof: {
|
|
144
144
|
service: "inference" | "training" | "lab";
|
|
145
|
+
nonce: string;
|
|
145
146
|
key: string;
|
|
146
147
|
schemaVersion: "treeseed.ai-storage-proof/v1";
|
|
147
148
|
action: "read" | "write" | "list" | "delete";
|
|
148
149
|
projectId: string;
|
|
149
150
|
teamId: string;
|
|
150
151
|
issuedAt: number;
|
|
151
|
-
nonce: string;
|
|
152
152
|
nodeId: string;
|
|
153
153
|
storeId: "managed-inference" | "managed-training" | "managed-lab";
|
|
154
154
|
};
|
|
@@ -79,13 +79,13 @@ export declare const aiModeTransitionReceiptSchema: z.ZodObject<{
|
|
|
79
79
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
80
80
|
}, "strict", z.ZodTypeAny, {
|
|
81
81
|
resource: "ai-gpu";
|
|
82
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
82
83
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
83
84
|
steps: {
|
|
84
85
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
85
86
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
86
87
|
completedAt: string | null;
|
|
87
88
|
}[];
|
|
88
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
89
89
|
completedAt: string | null;
|
|
90
90
|
idempotencyKey: string;
|
|
91
91
|
transitionId: string;
|
|
@@ -100,13 +100,13 @@ export declare const aiModeTransitionReceiptSchema: z.ZodObject<{
|
|
|
100
100
|
startedAt: string;
|
|
101
101
|
}, {
|
|
102
102
|
resource: "ai-gpu";
|
|
103
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
103
104
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
104
105
|
steps: {
|
|
105
106
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
106
107
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
107
108
|
completedAt: string | null;
|
|
108
109
|
}[];
|
|
109
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
110
110
|
completedAt: string | null;
|
|
111
111
|
idempotencyKey: string;
|
|
112
112
|
transitionId: string;
|
|
@@ -172,13 +172,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
172
172
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
173
173
|
}, "strict", z.ZodTypeAny, {
|
|
174
174
|
resource: "ai-gpu";
|
|
175
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
175
176
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
176
177
|
steps: {
|
|
177
178
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
178
179
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
179
180
|
completedAt: string | null;
|
|
180
181
|
}[];
|
|
181
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
182
182
|
completedAt: string | null;
|
|
183
183
|
idempotencyKey: string;
|
|
184
184
|
transitionId: string;
|
|
@@ -193,13 +193,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
193
193
|
startedAt: string;
|
|
194
194
|
}, {
|
|
195
195
|
resource: "ai-gpu";
|
|
196
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
196
197
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
197
198
|
steps: {
|
|
198
199
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
199
200
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
200
201
|
completedAt: string | null;
|
|
201
202
|
}[];
|
|
202
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
203
203
|
completedAt: string | null;
|
|
204
204
|
idempotencyKey: string;
|
|
205
205
|
transitionId: string;
|
|
@@ -250,13 +250,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
250
250
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
251
251
|
}, "strict", z.ZodTypeAny, {
|
|
252
252
|
resource: "ai-gpu";
|
|
253
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
253
254
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
254
255
|
steps: {
|
|
255
256
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
256
257
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
257
258
|
completedAt: string | null;
|
|
258
259
|
}[];
|
|
259
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
260
260
|
completedAt: string | null;
|
|
261
261
|
idempotencyKey: string;
|
|
262
262
|
transitionId: string;
|
|
@@ -271,13 +271,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
271
271
|
startedAt: string;
|
|
272
272
|
}, {
|
|
273
273
|
resource: "ai-gpu";
|
|
274
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
274
275
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
275
276
|
steps: {
|
|
276
277
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
277
278
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
278
279
|
completedAt: string | null;
|
|
279
280
|
}[];
|
|
280
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
281
281
|
completedAt: string | null;
|
|
282
282
|
idempotencyKey: string;
|
|
283
283
|
transitionId: string;
|
|
@@ -302,13 +302,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
302
302
|
} | null;
|
|
303
303
|
activeTransition: {
|
|
304
304
|
resource: "ai-gpu";
|
|
305
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
305
306
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
306
307
|
steps: {
|
|
307
308
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
308
309
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
309
310
|
completedAt: string | null;
|
|
310
311
|
}[];
|
|
311
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
312
312
|
completedAt: string | null;
|
|
313
313
|
idempotencyKey: string;
|
|
314
314
|
transitionId: string;
|
|
@@ -324,13 +324,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
324
324
|
} | null;
|
|
325
325
|
lastReceipt: {
|
|
326
326
|
resource: "ai-gpu";
|
|
327
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
327
328
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
328
329
|
steps: {
|
|
329
330
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
330
331
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
331
332
|
completedAt: string | null;
|
|
332
333
|
}[];
|
|
333
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
334
334
|
completedAt: string | null;
|
|
335
335
|
idempotencyKey: string;
|
|
336
336
|
transitionId: string;
|
|
@@ -355,13 +355,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
355
355
|
} | null;
|
|
356
356
|
activeTransition: {
|
|
357
357
|
resource: "ai-gpu";
|
|
358
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
358
359
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
359
360
|
steps: {
|
|
360
361
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
361
362
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
362
363
|
completedAt: string | null;
|
|
363
364
|
}[];
|
|
364
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
365
365
|
completedAt: string | null;
|
|
366
366
|
idempotencyKey: string;
|
|
367
367
|
transitionId: string;
|
|
@@ -377,13 +377,13 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
377
377
|
} | null;
|
|
378
378
|
lastReceipt: {
|
|
379
379
|
resource: "ai-gpu";
|
|
380
|
+
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
380
381
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
381
382
|
steps: {
|
|
382
383
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
383
384
|
state: "pending" | "failed" | "running" | "succeeded" | "skipped";
|
|
384
385
|
completedAt: string | null;
|
|
385
386
|
}[];
|
|
386
|
-
state: "degraded" | "running" | "succeeded" | "planned" | "postponed" | "rolled-back";
|
|
387
387
|
completedAt: string | null;
|
|
388
388
|
idempotencyKey: string;
|
|
389
389
|
transitionId: string;
|
|
@@ -333,20 +333,20 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
333
333
|
digest: z.ZodString;
|
|
334
334
|
identity: z.ZodString;
|
|
335
335
|
}, "strict", z.ZodTypeAny, {
|
|
336
|
-
kind: "oci-image";
|
|
337
336
|
identity: string;
|
|
337
|
+
kind: "oci-image";
|
|
338
338
|
digest: string;
|
|
339
339
|
}, {
|
|
340
|
-
kind: "oci-image";
|
|
341
340
|
identity: string;
|
|
341
|
+
kind: "oci-image";
|
|
342
342
|
digest: string;
|
|
343
343
|
}>, {
|
|
344
|
-
kind: "oci-image";
|
|
345
344
|
identity: string;
|
|
345
|
+
kind: "oci-image";
|
|
346
346
|
digest: string;
|
|
347
347
|
}, {
|
|
348
|
-
kind: "oci-image";
|
|
349
348
|
identity: string;
|
|
349
|
+
kind: "oci-image";
|
|
350
350
|
digest: string;
|
|
351
351
|
}>]>>;
|
|
352
352
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -362,8 +362,8 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
362
362
|
source: string;
|
|
363
363
|
mediaType: string;
|
|
364
364
|
} | {
|
|
365
|
-
kind: "oci-image";
|
|
366
365
|
identity: string;
|
|
366
|
+
kind: "oci-image";
|
|
367
367
|
digest: string;
|
|
368
368
|
}>;
|
|
369
369
|
}, {
|
|
@@ -379,8 +379,8 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
379
379
|
source: string;
|
|
380
380
|
mediaType: string;
|
|
381
381
|
} | {
|
|
382
|
-
kind: "oci-image";
|
|
383
382
|
identity: string;
|
|
383
|
+
kind: "oci-image";
|
|
384
384
|
digest: string;
|
|
385
385
|
}>;
|
|
386
386
|
}>;
|
|
@@ -434,8 +434,8 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
434
434
|
source: string;
|
|
435
435
|
mediaType: string;
|
|
436
436
|
} | {
|
|
437
|
-
kind: "oci-image";
|
|
438
437
|
identity: string;
|
|
438
|
+
kind: "oci-image";
|
|
439
439
|
digest: string;
|
|
440
440
|
}>;
|
|
441
441
|
deploymentId: string;
|