@treeseed/sdk 0.13.0-rc.91 → 0.13.0-rc.92
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/index.d.ts +1 -0
- package/dist/capacity-provider/index.js +1 -0
- package/dist/capacity-provider/install-configuration.d.ts +39 -0
- package/dist/capacity-provider/install-configuration.js +18 -0
- package/dist/configuration/secrets-capability.d.ts +3 -0
- package/dist/configuration/secrets-capability.js +3 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +12 -12
- package/dist/content/validation/content-model-schemas.d.ts +13 -13
- package/dist/content/validation/portable-content-data.d.ts +1 -1
- package/dist/deployment/ai-hosting.d.ts +297 -0
- package/dist/deployment/ai-hosting.js +63 -0
- package/dist/deployment/ai-instance.d.ts +48 -0
- package/dist/deployment/ai-instance.js +23 -0
- package/dist/deployment/index.d.ts +2 -0
- package/dist/deployment/index.js +2 -0
- package/dist/operator-contracts/canonical-command-tree.js +3 -10
- package/dist/operator-contracts/catalog/communication-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +29 -0
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +18 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
- package/dist/operator-contracts/communication/contracts.d.ts +18 -18
- package/dist/operator-contracts/control-plane-operations.d.ts +31 -2
- package/dist/operator-contracts/control-plane-operations.js +3 -17
- package/dist/operator-contracts/operation-builder.d.ts +1 -0
- package/dist/operator-contracts/operation-builder.js +17 -0
- package/dist/secrets-capability/github-actions-encryption.js +1 -1
- package/dist/secrets-capability/provider-operation-contracts.d.ts +14 -0
- package/dist/secrets-capability/service-provider-contracts.d.ts +4 -2
- package/dist/secrets-capability/service-provider-contracts.js +41 -27
- package/dist/secrets-capability/shared-access.d.ts +51 -0
- package/dist/secrets-capability/shared-access.js +36 -0
- package/dist/secrets-capability/shared-resources.d.ts +376 -0
- package/dist/secrets-capability/shared-resources.js +91 -0
- package/dist/secrets-capability/vault-contracts.d.ts +132 -0
- package/dist/secrets-capability/vault-contracts.js +56 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"completedAt":"2026-09-
|
|
1
|
+
{"completedAt":"2026-09-07T03:10:48.219Z"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Portable enrollment inputs only. Never embed a host identity or administrator session. */
|
|
3
|
+
export declare const capacityInstallConfigurationSchema: z.ZodObject<{
|
|
4
|
+
schemaVersion: z.ZodLiteral<"treeseed.capacity-install-configuration/v1">;
|
|
5
|
+
profile: z.ZodLiteral<"capacity-provider">;
|
|
6
|
+
teamId: z.ZodString;
|
|
7
|
+
registrationGeneration: z.ZodNumber;
|
|
8
|
+
generatedAt: z.ZodString;
|
|
9
|
+
inputs: z.ZodObject<{
|
|
10
|
+
controlPlaneUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
11
|
+
teamRegistrationCode: z.ZodString;
|
|
12
|
+
}, "strict", z.ZodTypeAny, {
|
|
13
|
+
controlPlaneUrl: string;
|
|
14
|
+
teamRegistrationCode: string;
|
|
15
|
+
}, {
|
|
16
|
+
controlPlaneUrl: string;
|
|
17
|
+
teamRegistrationCode: string;
|
|
18
|
+
}>;
|
|
19
|
+
}, "strict", z.ZodTypeAny, {
|
|
20
|
+
schemaVersion: "treeseed.capacity-install-configuration/v1";
|
|
21
|
+
inputs: {
|
|
22
|
+
controlPlaneUrl: string;
|
|
23
|
+
teamRegistrationCode: string;
|
|
24
|
+
};
|
|
25
|
+
teamId: string;
|
|
26
|
+
profile: "capacity-provider";
|
|
27
|
+
generatedAt: string;
|
|
28
|
+
registrationGeneration: number;
|
|
29
|
+
}, {
|
|
30
|
+
schemaVersion: "treeseed.capacity-install-configuration/v1";
|
|
31
|
+
inputs: {
|
|
32
|
+
controlPlaneUrl: string;
|
|
33
|
+
teamRegistrationCode: string;
|
|
34
|
+
};
|
|
35
|
+
teamId: string;
|
|
36
|
+
profile: "capacity-provider";
|
|
37
|
+
generatedAt: string;
|
|
38
|
+
registrationGeneration: number;
|
|
39
|
+
}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const capacityInstallConfigurationSchema = z.object({
|
|
3
|
+
schemaVersion: z.literal("treeseed.capacity-install-configuration/v1"),
|
|
4
|
+
profile: z.literal("capacity-provider"),
|
|
5
|
+
teamId: z.string().min(1).max(256),
|
|
6
|
+
registrationGeneration: z.number().int().positive(),
|
|
7
|
+
generatedAt: z.string().datetime(),
|
|
8
|
+
inputs: z.object({
|
|
9
|
+
controlPlaneUrl: z.string().url().refine((value) => {
|
|
10
|
+
const url = new URL(value);
|
|
11
|
+
return url.protocol === "https:" && !url.username && !url.password && !url.search && !url.hash;
|
|
12
|
+
}, "Use a trusted HTTPS control-plane URL without credentials, query or fragment."),
|
|
13
|
+
teamRegistrationCode: z.string().min(16).max(16384).regex(/^[^\s]+$/u)
|
|
14
|
+
}).strict()
|
|
15
|
+
}).strict();
|
|
16
|
+
export {
|
|
17
|
+
capacityInstallConfigurationSchema
|
|
18
|
+
};
|
|
@@ -3,3 +3,6 @@ export * from '../secrets-capability/provider-operation-contracts.js';
|
|
|
3
3
|
export * from '../secrets-capability/workflow-operation-contracts.js';
|
|
4
4
|
export * from '../secrets-capability/secret-contracts.js';
|
|
5
5
|
export * from '../secrets-capability/github-actions-encryption.js';
|
|
6
|
+
export * from '../secrets-capability/shared-resources.js';
|
|
7
|
+
export * from '../secrets-capability/vault-contracts.js';
|
|
8
|
+
export * from '../secrets-capability/shared-access.js';
|
|
@@ -3,3 +3,6 @@ export * from "../secrets-capability/provider-operation-contracts.js";
|
|
|
3
3
|
export * from "../secrets-capability/workflow-operation-contracts.js";
|
|
4
4
|
export * from "../secrets-capability/secret-contracts.js";
|
|
5
5
|
export * from "../secrets-capability/github-actions-encryption.js";
|
|
6
|
+
export * from "../secrets-capability/shared-resources.js";
|
|
7
|
+
export * from "../secrets-capability/vault-contracts.js";
|
|
8
|
+
export * from "../secrets-capability/shared-access.js";
|
|
@@ -13,12 +13,12 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13
13
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
14
14
|
}, "strict", z.ZodTypeAny, {
|
|
15
15
|
kind: "code" | "content" | "graph" | "mixed";
|
|
16
|
-
paths?: string[] | undefined;
|
|
17
16
|
models?: string[] | undefined;
|
|
17
|
+
paths?: string[] | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20
|
-
paths?: string[] | undefined;
|
|
21
20
|
models?: string[] | undefined;
|
|
21
|
+
paths?: string[] | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
scope: z.ZodOptional<z.ZodString>;
|
|
24
24
|
codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -98,8 +98,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
98
98
|
purpose: string;
|
|
99
99
|
target: {
|
|
100
100
|
kind: "code" | "content" | "graph" | "mixed";
|
|
101
|
-
paths?: string[] | undefined;
|
|
102
101
|
models?: string[] | undefined;
|
|
102
|
+
paths?: string[] | undefined;
|
|
103
103
|
};
|
|
104
104
|
description: string;
|
|
105
105
|
revision: number;
|
|
@@ -128,8 +128,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
128
128
|
purpose: string;
|
|
129
129
|
target: {
|
|
130
130
|
kind: "code" | "content" | "graph" | "mixed";
|
|
131
|
-
paths?: string[] | undefined;
|
|
132
131
|
models?: string[] | undefined;
|
|
132
|
+
paths?: string[] | undefined;
|
|
133
133
|
};
|
|
134
134
|
description: string;
|
|
135
135
|
revision: number;
|
|
@@ -184,8 +184,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
purpose: string;
|
|
185
185
|
target: {
|
|
186
186
|
kind: "code" | "content" | "graph" | "mixed";
|
|
187
|
-
paths?: string[] | undefined;
|
|
188
187
|
models?: string[] | undefined;
|
|
188
|
+
paths?: string[] | undefined;
|
|
189
189
|
};
|
|
190
190
|
description: string;
|
|
191
191
|
revision: number;
|
|
@@ -214,8 +214,8 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
214
214
|
purpose: string;
|
|
215
215
|
target: {
|
|
216
216
|
kind: "code" | "content" | "graph" | "mixed";
|
|
217
|
-
paths?: string[] | undefined;
|
|
218
217
|
models?: string[] | undefined;
|
|
218
|
+
paths?: string[] | undefined;
|
|
219
219
|
};
|
|
220
220
|
description: string;
|
|
221
221
|
revision: number;
|
|
@@ -844,12 +844,12 @@ export declare const agentOperationalContentSchemas: {
|
|
|
844
844
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
845
845
|
}, "strict", z.ZodTypeAny, {
|
|
846
846
|
kind: "code" | "content" | "graph" | "mixed";
|
|
847
|
-
paths?: string[] | undefined;
|
|
848
847
|
models?: string[] | undefined;
|
|
848
|
+
paths?: string[] | undefined;
|
|
849
849
|
}, {
|
|
850
850
|
kind: "code" | "content" | "graph" | "mixed";
|
|
851
|
-
paths?: string[] | undefined;
|
|
852
851
|
models?: string[] | undefined;
|
|
852
|
+
paths?: string[] | undefined;
|
|
853
853
|
}>;
|
|
854
854
|
scope: z.ZodOptional<z.ZodString>;
|
|
855
855
|
codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -929,8 +929,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
929
929
|
purpose: string;
|
|
930
930
|
target: {
|
|
931
931
|
kind: "code" | "content" | "graph" | "mixed";
|
|
932
|
-
paths?: string[] | undefined;
|
|
933
932
|
models?: string[] | undefined;
|
|
933
|
+
paths?: string[] | undefined;
|
|
934
934
|
};
|
|
935
935
|
description: string;
|
|
936
936
|
revision: number;
|
|
@@ -959,8 +959,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
959
959
|
purpose: string;
|
|
960
960
|
target: {
|
|
961
961
|
kind: "code" | "content" | "graph" | "mixed";
|
|
962
|
-
paths?: string[] | undefined;
|
|
963
962
|
models?: string[] | undefined;
|
|
963
|
+
paths?: string[] | undefined;
|
|
964
964
|
};
|
|
965
965
|
description: string;
|
|
966
966
|
revision: number;
|
|
@@ -1015,8 +1015,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1015
1015
|
purpose: string;
|
|
1016
1016
|
target: {
|
|
1017
1017
|
kind: "code" | "content" | "graph" | "mixed";
|
|
1018
|
-
paths?: string[] | undefined;
|
|
1019
1018
|
models?: string[] | undefined;
|
|
1019
|
+
paths?: string[] | undefined;
|
|
1020
1020
|
};
|
|
1021
1021
|
description: string;
|
|
1022
1022
|
revision: number;
|
|
@@ -1045,8 +1045,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1045
1045
|
purpose: string;
|
|
1046
1046
|
target: {
|
|
1047
1047
|
kind: "code" | "content" | "graph" | "mixed";
|
|
1048
|
-
paths?: string[] | undefined;
|
|
1049
1048
|
models?: string[] | undefined;
|
|
1049
|
+
paths?: string[] | undefined;
|
|
1050
1050
|
};
|
|
1051
1051
|
description: string;
|
|
1052
1052
|
revision: number;
|
|
@@ -16,12 +16,12 @@ declare const schemas: {
|
|
|
16
16
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
18
|
kind: "code" | "content" | "graph" | "mixed";
|
|
19
|
-
paths?: string[] | undefined;
|
|
20
19
|
models?: string[] | undefined;
|
|
20
|
+
paths?: string[] | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
kind: "code" | "content" | "graph" | "mixed";
|
|
23
|
-
paths?: string[] | undefined;
|
|
24
23
|
models?: string[] | undefined;
|
|
24
|
+
paths?: string[] | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
scope: z.ZodOptional<z.ZodString>;
|
|
27
27
|
codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -101,8 +101,8 @@ declare const schemas: {
|
|
|
101
101
|
purpose: string;
|
|
102
102
|
target: {
|
|
103
103
|
kind: "code" | "content" | "graph" | "mixed";
|
|
104
|
-
paths?: string[] | undefined;
|
|
105
104
|
models?: string[] | undefined;
|
|
105
|
+
paths?: string[] | undefined;
|
|
106
106
|
};
|
|
107
107
|
description: string;
|
|
108
108
|
revision: number;
|
|
@@ -131,8 +131,8 @@ declare const schemas: {
|
|
|
131
131
|
purpose: string;
|
|
132
132
|
target: {
|
|
133
133
|
kind: "code" | "content" | "graph" | "mixed";
|
|
134
|
-
paths?: string[] | undefined;
|
|
135
134
|
models?: string[] | undefined;
|
|
135
|
+
paths?: string[] | undefined;
|
|
136
136
|
};
|
|
137
137
|
description: string;
|
|
138
138
|
revision: number;
|
|
@@ -187,8 +187,8 @@ declare const schemas: {
|
|
|
187
187
|
purpose: string;
|
|
188
188
|
target: {
|
|
189
189
|
kind: "code" | "content" | "graph" | "mixed";
|
|
190
|
-
paths?: string[] | undefined;
|
|
191
190
|
models?: string[] | undefined;
|
|
191
|
+
paths?: string[] | undefined;
|
|
192
192
|
};
|
|
193
193
|
description: string;
|
|
194
194
|
revision: number;
|
|
@@ -217,8 +217,8 @@ declare const schemas: {
|
|
|
217
217
|
purpose: string;
|
|
218
218
|
target: {
|
|
219
219
|
kind: "code" | "content" | "graph" | "mixed";
|
|
220
|
-
paths?: string[] | undefined;
|
|
221
220
|
models?: string[] | undefined;
|
|
221
|
+
paths?: string[] | undefined;
|
|
222
222
|
};
|
|
223
223
|
description: string;
|
|
224
224
|
revision: number;
|
|
@@ -11624,8 +11624,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11624
11624
|
purpose: string;
|
|
11625
11625
|
target: {
|
|
11626
11626
|
kind: "code" | "content" | "graph" | "mixed";
|
|
11627
|
-
paths?: string[] | undefined;
|
|
11628
11627
|
models?: string[] | undefined;
|
|
11628
|
+
paths?: string[] | undefined;
|
|
11629
11629
|
};
|
|
11630
11630
|
description: string;
|
|
11631
11631
|
revision: number;
|
|
@@ -20425,12 +20425,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20425
20425
|
paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
20426
20426
|
}, "strict", z.ZodTypeAny, {
|
|
20427
20427
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20428
|
-
paths?: string[] | undefined;
|
|
20429
20428
|
models?: string[] | undefined;
|
|
20429
|
+
paths?: string[] | undefined;
|
|
20430
20430
|
}, {
|
|
20431
20431
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20432
|
-
paths?: string[] | undefined;
|
|
20433
20432
|
models?: string[] | undefined;
|
|
20433
|
+
paths?: string[] | undefined;
|
|
20434
20434
|
}>;
|
|
20435
20435
|
scope: z.ZodOptional<z.ZodString>;
|
|
20436
20436
|
codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -20510,8 +20510,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20510
20510
|
purpose: string;
|
|
20511
20511
|
target: {
|
|
20512
20512
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20513
|
-
paths?: string[] | undefined;
|
|
20514
20513
|
models?: string[] | undefined;
|
|
20514
|
+
paths?: string[] | undefined;
|
|
20515
20515
|
};
|
|
20516
20516
|
description: string;
|
|
20517
20517
|
revision: number;
|
|
@@ -20540,8 +20540,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20540
20540
|
purpose: string;
|
|
20541
20541
|
target: {
|
|
20542
20542
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20543
|
-
paths?: string[] | undefined;
|
|
20544
20543
|
models?: string[] | undefined;
|
|
20544
|
+
paths?: string[] | undefined;
|
|
20545
20545
|
};
|
|
20546
20546
|
description: string;
|
|
20547
20547
|
revision: number;
|
|
@@ -20596,8 +20596,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20596
20596
|
purpose: string;
|
|
20597
20597
|
target: {
|
|
20598
20598
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20599
|
-
paths?: string[] | undefined;
|
|
20600
20599
|
models?: string[] | undefined;
|
|
20600
|
+
paths?: string[] | undefined;
|
|
20601
20601
|
};
|
|
20602
20602
|
description: string;
|
|
20603
20603
|
revision: number;
|
|
@@ -20626,8 +20626,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20626
20626
|
purpose: string;
|
|
20627
20627
|
target: {
|
|
20628
20628
|
kind: "code" | "content" | "graph" | "mixed";
|
|
20629
|
-
paths?: string[] | undefined;
|
|
20630
20629
|
models?: string[] | undefined;
|
|
20630
|
+
paths?: string[] | undefined;
|
|
20631
20631
|
};
|
|
20632
20632
|
description: string;
|
|
20633
20633
|
revision: number;
|
|
@@ -1710,8 +1710,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1710
1710
|
purpose: string;
|
|
1711
1711
|
target: {
|
|
1712
1712
|
kind: "code" | "content" | "graph" | "mixed";
|
|
1713
|
-
paths?: string[] | undefined;
|
|
1714
1713
|
models?: string[] | undefined;
|
|
1714
|
+
paths?: string[] | undefined;
|
|
1715
1715
|
};
|
|
1716
1716
|
description: string;
|
|
1717
1717
|
revision: number;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Public intent only: credentials are resolved at execution, never serialized here. */
|
|
3
|
+
export declare const aiHostingScheduleSchema: z.ZodEffects<z.ZodObject<{
|
|
4
|
+
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
+
weekdays: z.ZodArray<z.ZodNumber, "many">;
|
|
6
|
+
start: z.ZodString;
|
|
7
|
+
end: z.ZodString;
|
|
8
|
+
startupLeadMinutes: z.ZodNumber;
|
|
9
|
+
idleAction: z.ZodLiteral<"hibernate">;
|
|
10
|
+
activeWorkPolicy: z.ZodLiteral<"drain-and-checkpoint">;
|
|
11
|
+
}, "strict", z.ZodTypeAny, {
|
|
12
|
+
start: string;
|
|
13
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
14
|
+
timeZone: string;
|
|
15
|
+
weekdays: number[];
|
|
16
|
+
end: string;
|
|
17
|
+
startupLeadMinutes: number;
|
|
18
|
+
idleAction: "hibernate";
|
|
19
|
+
}, {
|
|
20
|
+
start: string;
|
|
21
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
22
|
+
timeZone: string;
|
|
23
|
+
weekdays: number[];
|
|
24
|
+
end: string;
|
|
25
|
+
startupLeadMinutes: number;
|
|
26
|
+
idleAction: "hibernate";
|
|
27
|
+
}>, {
|
|
28
|
+
start: string;
|
|
29
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
30
|
+
timeZone: string;
|
|
31
|
+
weekdays: number[];
|
|
32
|
+
end: string;
|
|
33
|
+
startupLeadMinutes: number;
|
|
34
|
+
idleAction: "hibernate";
|
|
35
|
+
}, {
|
|
36
|
+
start: string;
|
|
37
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
38
|
+
timeZone: string;
|
|
39
|
+
weekdays: number[];
|
|
40
|
+
end: string;
|
|
41
|
+
startupLeadMinutes: number;
|
|
42
|
+
idleAction: "hibernate";
|
|
43
|
+
}>;
|
|
44
|
+
export declare const aiHostingDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
45
|
+
schemaVersion: z.ZodLiteral<"treeseed.ai-hosting-deployment/v1">;
|
|
46
|
+
teamId: z.ZodString;
|
|
47
|
+
projectId: z.ZodString;
|
|
48
|
+
deploymentId: z.ZodString;
|
|
49
|
+
environment: z.ZodEnum<["staging", "production"]>;
|
|
50
|
+
provider: z.ZodLiteral<"hyperstack">;
|
|
51
|
+
hostingBindingId: z.ZodString;
|
|
52
|
+
components: z.ZodArray<z.ZodObject<{
|
|
53
|
+
componentId: z.ZodEnum<["ai-inference", "ai-training"]>;
|
|
54
|
+
releaseDigest: z.ZodString;
|
|
55
|
+
}, "strict", z.ZodTypeAny, {
|
|
56
|
+
componentId: "ai-inference" | "ai-training";
|
|
57
|
+
releaseDigest: string;
|
|
58
|
+
}, {
|
|
59
|
+
componentId: "ai-inference" | "ai-training";
|
|
60
|
+
releaseDigest: string;
|
|
61
|
+
}>, "many">;
|
|
62
|
+
machine: z.ZodObject<{
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
environmentName: z.ZodString;
|
|
65
|
+
flavorName: z.ZodString;
|
|
66
|
+
imageName: z.ZodString;
|
|
67
|
+
keypairName: z.ZodString;
|
|
68
|
+
volumeName: z.ZodString;
|
|
69
|
+
}, "strict", z.ZodTypeAny, {
|
|
70
|
+
name: string;
|
|
71
|
+
environmentName: string;
|
|
72
|
+
flavorName: string;
|
|
73
|
+
imageName: string;
|
|
74
|
+
keypairName: string;
|
|
75
|
+
volumeName: string;
|
|
76
|
+
}, {
|
|
77
|
+
name: string;
|
|
78
|
+
environmentName: string;
|
|
79
|
+
flavorName: string;
|
|
80
|
+
imageName: string;
|
|
81
|
+
keypairName: string;
|
|
82
|
+
volumeName: string;
|
|
83
|
+
}>;
|
|
84
|
+
gpuAdmission: z.ZodLiteral<"exclusive-engine">;
|
|
85
|
+
storage: z.ZodArray<z.ZodObject<{
|
|
86
|
+
bindingId: z.ZodString;
|
|
87
|
+
purpose: z.ZodEnum<["datasets", "models", "checkpoints", "artifacts"]>;
|
|
88
|
+
access: z.ZodEnum<["read", "write"]>;
|
|
89
|
+
}, "strict", z.ZodTypeAny, {
|
|
90
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
91
|
+
bindingId: string;
|
|
92
|
+
access: "read" | "write";
|
|
93
|
+
}, {
|
|
94
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
95
|
+
bindingId: string;
|
|
96
|
+
access: "read" | "write";
|
|
97
|
+
}>, "many">;
|
|
98
|
+
schedule: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
99
|
+
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
100
|
+
weekdays: z.ZodArray<z.ZodNumber, "many">;
|
|
101
|
+
start: z.ZodString;
|
|
102
|
+
end: z.ZodString;
|
|
103
|
+
startupLeadMinutes: z.ZodNumber;
|
|
104
|
+
idleAction: z.ZodLiteral<"hibernate">;
|
|
105
|
+
activeWorkPolicy: z.ZodLiteral<"drain-and-checkpoint">;
|
|
106
|
+
}, "strict", z.ZodTypeAny, {
|
|
107
|
+
start: string;
|
|
108
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
109
|
+
timeZone: string;
|
|
110
|
+
weekdays: number[];
|
|
111
|
+
end: string;
|
|
112
|
+
startupLeadMinutes: number;
|
|
113
|
+
idleAction: "hibernate";
|
|
114
|
+
}, {
|
|
115
|
+
start: string;
|
|
116
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
117
|
+
timeZone: string;
|
|
118
|
+
weekdays: number[];
|
|
119
|
+
end: string;
|
|
120
|
+
startupLeadMinutes: number;
|
|
121
|
+
idleAction: "hibernate";
|
|
122
|
+
}>, {
|
|
123
|
+
start: string;
|
|
124
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
125
|
+
timeZone: string;
|
|
126
|
+
weekdays: number[];
|
|
127
|
+
end: string;
|
|
128
|
+
startupLeadMinutes: number;
|
|
129
|
+
idleAction: "hibernate";
|
|
130
|
+
}, {
|
|
131
|
+
start: string;
|
|
132
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
133
|
+
timeZone: string;
|
|
134
|
+
weekdays: number[];
|
|
135
|
+
end: string;
|
|
136
|
+
startupLeadMinutes: number;
|
|
137
|
+
idleAction: "hibernate";
|
|
138
|
+
}>>;
|
|
139
|
+
}, "strict", z.ZodTypeAny, {
|
|
140
|
+
schemaVersion: "treeseed.ai-hosting-deployment/v1";
|
|
141
|
+
components: {
|
|
142
|
+
componentId: "ai-inference" | "ai-training";
|
|
143
|
+
releaseDigest: string;
|
|
144
|
+
}[];
|
|
145
|
+
projectId: string;
|
|
146
|
+
teamId: string;
|
|
147
|
+
environment: "production" | "staging";
|
|
148
|
+
provider: "hyperstack";
|
|
149
|
+
deploymentId: string;
|
|
150
|
+
hostingBindingId: string;
|
|
151
|
+
machine: {
|
|
152
|
+
name: string;
|
|
153
|
+
environmentName: string;
|
|
154
|
+
flavorName: string;
|
|
155
|
+
imageName: string;
|
|
156
|
+
keypairName: string;
|
|
157
|
+
volumeName: string;
|
|
158
|
+
};
|
|
159
|
+
gpuAdmission: "exclusive-engine";
|
|
160
|
+
storage: {
|
|
161
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
162
|
+
bindingId: string;
|
|
163
|
+
access: "read" | "write";
|
|
164
|
+
}[];
|
|
165
|
+
schedule?: {
|
|
166
|
+
start: string;
|
|
167
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
168
|
+
timeZone: string;
|
|
169
|
+
weekdays: number[];
|
|
170
|
+
end: string;
|
|
171
|
+
startupLeadMinutes: number;
|
|
172
|
+
idleAction: "hibernate";
|
|
173
|
+
} | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
schemaVersion: "treeseed.ai-hosting-deployment/v1";
|
|
176
|
+
components: {
|
|
177
|
+
componentId: "ai-inference" | "ai-training";
|
|
178
|
+
releaseDigest: string;
|
|
179
|
+
}[];
|
|
180
|
+
projectId: string;
|
|
181
|
+
teamId: string;
|
|
182
|
+
environment: "production" | "staging";
|
|
183
|
+
provider: "hyperstack";
|
|
184
|
+
deploymentId: string;
|
|
185
|
+
hostingBindingId: string;
|
|
186
|
+
machine: {
|
|
187
|
+
name: string;
|
|
188
|
+
environmentName: string;
|
|
189
|
+
flavorName: string;
|
|
190
|
+
imageName: string;
|
|
191
|
+
keypairName: string;
|
|
192
|
+
volumeName: string;
|
|
193
|
+
};
|
|
194
|
+
gpuAdmission: "exclusive-engine";
|
|
195
|
+
storage: {
|
|
196
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
197
|
+
bindingId: string;
|
|
198
|
+
access: "read" | "write";
|
|
199
|
+
}[];
|
|
200
|
+
schedule?: {
|
|
201
|
+
start: string;
|
|
202
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
203
|
+
timeZone: string;
|
|
204
|
+
weekdays: number[];
|
|
205
|
+
end: string;
|
|
206
|
+
startupLeadMinutes: number;
|
|
207
|
+
idleAction: "hibernate";
|
|
208
|
+
} | undefined;
|
|
209
|
+
}>, {
|
|
210
|
+
schemaVersion: "treeseed.ai-hosting-deployment/v1";
|
|
211
|
+
components: {
|
|
212
|
+
componentId: "ai-inference" | "ai-training";
|
|
213
|
+
releaseDigest: string;
|
|
214
|
+
}[];
|
|
215
|
+
projectId: string;
|
|
216
|
+
teamId: string;
|
|
217
|
+
environment: "production" | "staging";
|
|
218
|
+
provider: "hyperstack";
|
|
219
|
+
deploymentId: string;
|
|
220
|
+
hostingBindingId: string;
|
|
221
|
+
machine: {
|
|
222
|
+
name: string;
|
|
223
|
+
environmentName: string;
|
|
224
|
+
flavorName: string;
|
|
225
|
+
imageName: string;
|
|
226
|
+
keypairName: string;
|
|
227
|
+
volumeName: string;
|
|
228
|
+
};
|
|
229
|
+
gpuAdmission: "exclusive-engine";
|
|
230
|
+
storage: {
|
|
231
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
232
|
+
bindingId: string;
|
|
233
|
+
access: "read" | "write";
|
|
234
|
+
}[];
|
|
235
|
+
schedule?: {
|
|
236
|
+
start: string;
|
|
237
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
238
|
+
timeZone: string;
|
|
239
|
+
weekdays: number[];
|
|
240
|
+
end: string;
|
|
241
|
+
startupLeadMinutes: number;
|
|
242
|
+
idleAction: "hibernate";
|
|
243
|
+
} | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
schemaVersion: "treeseed.ai-hosting-deployment/v1";
|
|
246
|
+
components: {
|
|
247
|
+
componentId: "ai-inference" | "ai-training";
|
|
248
|
+
releaseDigest: string;
|
|
249
|
+
}[];
|
|
250
|
+
projectId: string;
|
|
251
|
+
teamId: string;
|
|
252
|
+
environment: "production" | "staging";
|
|
253
|
+
provider: "hyperstack";
|
|
254
|
+
deploymentId: string;
|
|
255
|
+
hostingBindingId: string;
|
|
256
|
+
machine: {
|
|
257
|
+
name: string;
|
|
258
|
+
environmentName: string;
|
|
259
|
+
flavorName: string;
|
|
260
|
+
imageName: string;
|
|
261
|
+
keypairName: string;
|
|
262
|
+
volumeName: string;
|
|
263
|
+
};
|
|
264
|
+
gpuAdmission: "exclusive-engine";
|
|
265
|
+
storage: {
|
|
266
|
+
purpose: "artifacts" | "datasets" | "models" | "checkpoints";
|
|
267
|
+
bindingId: string;
|
|
268
|
+
access: "read" | "write";
|
|
269
|
+
}[];
|
|
270
|
+
schedule?: {
|
|
271
|
+
start: string;
|
|
272
|
+
activeWorkPolicy: "drain-and-checkpoint";
|
|
273
|
+
timeZone: string;
|
|
274
|
+
weekdays: number[];
|
|
275
|
+
end: string;
|
|
276
|
+
startupLeadMinutes: number;
|
|
277
|
+
idleAction: "hibernate";
|
|
278
|
+
} | undefined;
|
|
279
|
+
}>;
|
|
280
|
+
export type AiHostingDeployment = z.infer<typeof aiHostingDeploymentSchema>;
|
|
281
|
+
export type AiHostingSchedule = z.infer<typeof aiHostingScheduleSchema>;
|
|
282
|
+
/** Engine selection is independent from the infrastructure provider or credentials. */
|
|
283
|
+
export declare const AI_HOSTING_TARGETS: readonly [{
|
|
284
|
+
readonly id: "ai-inference";
|
|
285
|
+
readonly project: "ai";
|
|
286
|
+
readonly engine: "vllm";
|
|
287
|
+
readonly capability: "ai-inference-hosting";
|
|
288
|
+
readonly runtimeOwner: "ai";
|
|
289
|
+
readonly infrastructureOwner: "deployment";
|
|
290
|
+
}, {
|
|
291
|
+
readonly id: "ai-training";
|
|
292
|
+
readonly project: "ai";
|
|
293
|
+
readonly engine: "axolotl";
|
|
294
|
+
readonly capability: "ai-training-hosting";
|
|
295
|
+
readonly runtimeOwner: "ai";
|
|
296
|
+
readonly infrastructureOwner: "deployment";
|
|
297
|
+
}];
|