@treeseed/sdk 0.13.0-rc.89 → 0.13.0-rc.91

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.
@@ -16,8 +16,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
16
16
  minimumBytes: z.ZodNumber;
17
17
  maximumBytes: z.ZodNumber;
18
18
  }, "strict", z.ZodTypeAny, {
19
- id: string;
20
19
  kind: "secret" | "file";
20
+ id: string;
21
21
  label: string;
22
22
  prompt: string;
23
23
  suggestedPaths: string[];
@@ -25,8 +25,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
25
25
  minimumBytes: number;
26
26
  maximumBytes: number;
27
27
  }, {
28
- id: string;
29
28
  kind: "secret" | "file";
29
+ id: string;
30
30
  label: string;
31
31
  prompt: string;
32
32
  contentType: "application/json" | "text/plain";
@@ -34,8 +34,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
34
34
  maximumBytes: number;
35
35
  suggestedPaths?: string[] | undefined;
36
36
  }>, {
37
- id: string;
38
37
  kind: "secret" | "file";
38
+ id: string;
39
39
  label: string;
40
40
  prompt: string;
41
41
  suggestedPaths: string[];
@@ -43,8 +43,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
43
43
  minimumBytes: number;
44
44
  maximumBytes: number;
45
45
  }, {
46
- id: string;
47
46
  kind: "secret" | "file";
47
+ id: string;
48
48
  label: string;
49
49
  prompt: string;
50
50
  contentType: "application/json" | "text/plain";
@@ -66,8 +66,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
66
66
  schemaVersion: "treeseed.host-credential-initializer/v1";
67
67
  id: string;
68
68
  sources: {
69
- id: string;
70
69
  kind: "secret" | "file";
70
+ id: string;
71
71
  label: string;
72
72
  prompt: string;
73
73
  suggestedPaths: string[];
@@ -86,8 +86,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
86
86
  schemaVersion: "treeseed.host-credential-initializer/v1";
87
87
  id: string;
88
88
  sources: {
89
- id: string;
90
89
  kind: "secret" | "file";
90
+ id: string;
91
91
  label: string;
92
92
  prompt: string;
93
93
  contentType: "application/json" | "text/plain";
@@ -106,8 +106,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
106
106
  schemaVersion: "treeseed.host-credential-initializer/v1";
107
107
  id: string;
108
108
  sources: {
109
- id: string;
110
109
  kind: "secret" | "file";
110
+ id: string;
111
111
  label: string;
112
112
  prompt: string;
113
113
  suggestedPaths: string[];
@@ -126,8 +126,8 @@ export declare const hostCredentialInitializerSchema: z.ZodEffects<z.ZodObject<{
126
126
  schemaVersion: "treeseed.host-credential-initializer/v1";
127
127
  id: string;
128
128
  sources: {
129
- id: string;
130
129
  kind: "secret" | "file";
130
+ id: string;
131
131
  label: string;
132
132
  prompt: string;
133
133
  contentType: "application/json" | "text/plain";
@@ -214,8 +214,8 @@ export declare const hostConnectionBindingSchema: z.ZodEffects<z.ZodUnion<[z.Zod
214
214
  path?: string | undefined;
215
215
  }>;
216
216
  }, "strict", z.ZodTypeAny, {
217
- url: string;
218
217
  kind: "remote";
218
+ url: string;
219
219
  authentication: {
220
220
  mode: "none" | "application" | "mtls" | "bearer";
221
221
  secretRef?: string | undefined;
@@ -233,8 +233,8 @@ export declare const hostConnectionBindingSchema: z.ZodEffects<z.ZodUnion<[z.Zod
233
233
  path?: string | undefined;
234
234
  };
235
235
  }, {
236
- url: string;
237
236
  kind: "remote";
237
+ url: string;
238
238
  authentication: {
239
239
  mode: "none" | "application" | "mtls" | "bearer";
240
240
  secretRef?: string | undefined;
@@ -257,8 +257,8 @@ export declare const hostConnectionBindingSchema: z.ZodEffects<z.ZodUnion<[z.Zod
257
257
  serviceId: string;
258
258
  endpointId: string;
259
259
  } | {
260
- url: string;
261
260
  kind: "remote";
261
+ url: string;
262
262
  authentication: {
263
263
  mode: "none" | "application" | "mtls" | "bearer";
264
264
  secretRef?: string | undefined;
@@ -281,8 +281,8 @@ export declare const hostConnectionBindingSchema: z.ZodEffects<z.ZodUnion<[z.Zod
281
281
  serviceId: string;
282
282
  endpointId: string;
283
283
  } | {
284
- url: string;
285
284
  kind: "remote";
285
+ url: string;
286
286
  authentication: {
287
287
  mode: "none" | "application" | "mtls" | "bearer";
288
288
  secretRef?: string | undefined;
@@ -391,8 +391,8 @@ export declare const hostComponentSchema: z.ZodObject<{
391
391
  path?: string | undefined;
392
392
  }>;
393
393
  }, "strict", z.ZodTypeAny, {
394
- url: string;
395
394
  kind: "remote";
395
+ url: string;
396
396
  authentication: {
397
397
  mode: "none" | "application" | "mtls" | "bearer";
398
398
  secretRef?: string | undefined;
@@ -410,8 +410,8 @@ export declare const hostComponentSchema: z.ZodObject<{
410
410
  path?: string | undefined;
411
411
  };
412
412
  }, {
413
- url: string;
414
413
  kind: "remote";
414
+ url: string;
415
415
  authentication: {
416
416
  mode: "none" | "application" | "mtls" | "bearer";
417
417
  secretRef?: string | undefined;
@@ -434,8 +434,8 @@ export declare const hostComponentSchema: z.ZodObject<{
434
434
  serviceId: string;
435
435
  endpointId: string;
436
436
  } | {
437
- url: string;
438
437
  kind: "remote";
438
+ url: string;
439
439
  authentication: {
440
440
  mode: "none" | "application" | "mtls" | "bearer";
441
441
  secretRef?: string | undefined;
@@ -458,8 +458,8 @@ export declare const hostComponentSchema: z.ZodObject<{
458
458
  serviceId: string;
459
459
  endpointId: string;
460
460
  } | {
461
- url: string;
462
461
  kind: "remote";
462
+ url: string;
463
463
  authentication: {
464
464
  mode: "none" | "application" | "mtls" | "bearer";
465
465
  secretRef?: string | undefined;
@@ -494,8 +494,8 @@ export declare const hostComponentSchema: z.ZodObject<{
494
494
  serviceId: string;
495
495
  endpointId: string;
496
496
  } | {
497
- url: string;
498
497
  kind: "remote";
498
+ url: string;
499
499
  authentication: {
500
500
  mode: "none" | "application" | "mtls" | "bearer";
501
501
  secretRef?: string | undefined;
@@ -532,8 +532,8 @@ export declare const hostComponentSchema: z.ZodObject<{
532
532
  serviceId: string;
533
533
  endpointId: string;
534
534
  } | {
535
- url: string;
536
535
  kind: "remote";
536
+ url: string;
537
537
  authentication: {
538
538
  mode: "none" | "application" | "mtls" | "bearer";
539
539
  secretRef?: string | undefined;
@@ -747,8 +747,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
747
747
  path?: string | undefined;
748
748
  }>;
749
749
  }, "strict", z.ZodTypeAny, {
750
- url: string;
751
750
  kind: "remote";
751
+ url: string;
752
752
  authentication: {
753
753
  mode: "none" | "application" | "mtls" | "bearer";
754
754
  secretRef?: string | undefined;
@@ -766,8 +766,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
766
766
  path?: string | undefined;
767
767
  };
768
768
  }, {
769
- url: string;
770
769
  kind: "remote";
770
+ url: string;
771
771
  authentication: {
772
772
  mode: "none" | "application" | "mtls" | "bearer";
773
773
  secretRef?: string | undefined;
@@ -790,8 +790,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
790
790
  serviceId: string;
791
791
  endpointId: string;
792
792
  } | {
793
- url: string;
794
793
  kind: "remote";
794
+ url: string;
795
795
  authentication: {
796
796
  mode: "none" | "application" | "mtls" | "bearer";
797
797
  secretRef?: string | undefined;
@@ -814,8 +814,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
814
814
  serviceId: string;
815
815
  endpointId: string;
816
816
  } | {
817
- url: string;
818
817
  kind: "remote";
818
+ url: string;
819
819
  authentication: {
820
820
  mode: "none" | "application" | "mtls" | "bearer";
821
821
  secretRef?: string | undefined;
@@ -850,8 +850,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
850
850
  serviceId: string;
851
851
  endpointId: string;
852
852
  } | {
853
- url: string;
854
853
  kind: "remote";
854
+ url: string;
855
855
  authentication: {
856
856
  mode: "none" | "application" | "mtls" | "bearer";
857
857
  secretRef?: string | undefined;
@@ -888,8 +888,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
888
888
  serviceId: string;
889
889
  endpointId: string;
890
890
  } | {
891
- url: string;
892
891
  kind: "remote";
892
+ url: string;
893
893
  authentication: {
894
894
  mode: "none" | "application" | "mtls" | "bearer";
895
895
  secretRef?: string | undefined;
@@ -1013,8 +1013,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1013
1013
  path?: string | undefined;
1014
1014
  }>;
1015
1015
  }, "strict", z.ZodTypeAny, {
1016
- url: string;
1017
1016
  kind: "remote";
1017
+ url: string;
1018
1018
  authentication: {
1019
1019
  mode: "none" | "application" | "mtls" | "bearer";
1020
1020
  secretRef?: string | undefined;
@@ -1032,8 +1032,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1032
1032
  path?: string | undefined;
1033
1033
  };
1034
1034
  }, {
1035
- url: string;
1036
1035
  kind: "remote";
1036
+ url: string;
1037
1037
  authentication: {
1038
1038
  mode: "none" | "application" | "mtls" | "bearer";
1039
1039
  secretRef?: string | undefined;
@@ -1056,8 +1056,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1056
1056
  serviceId: string;
1057
1057
  endpointId: string;
1058
1058
  } | {
1059
- url: string;
1060
1059
  kind: "remote";
1060
+ url: string;
1061
1061
  authentication: {
1062
1062
  mode: "none" | "application" | "mtls" | "bearer";
1063
1063
  secretRef?: string | undefined;
@@ -1080,8 +1080,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1080
1080
  serviceId: string;
1081
1081
  endpointId: string;
1082
1082
  } | {
1083
- url: string;
1084
1083
  kind: "remote";
1084
+ url: string;
1085
1085
  authentication: {
1086
1086
  mode: "none" | "application" | "mtls" | "bearer";
1087
1087
  secretRef?: string | undefined;
@@ -1109,8 +1109,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1109
1109
  serviceId: string;
1110
1110
  endpointId: string;
1111
1111
  } | {
1112
- url: string;
1113
1112
  kind: "remote";
1113
+ url: string;
1114
1114
  authentication: {
1115
1115
  mode: "none" | "application" | "mtls" | "bearer";
1116
1116
  secretRef?: string | undefined;
@@ -1137,8 +1137,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1137
1137
  serviceId: string;
1138
1138
  endpointId: string;
1139
1139
  } | {
1140
- url: string;
1141
1140
  kind: "remote";
1141
+ url: string;
1142
1142
  authentication: {
1143
1143
  mode: "none" | "application" | "mtls" | "bearer";
1144
1144
  secretRef?: string | undefined;
@@ -1168,8 +1168,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1168
1168
  serviceId: string;
1169
1169
  endpointId: string;
1170
1170
  } | {
1171
- url: string;
1172
1171
  kind: "remote";
1172
+ url: string;
1173
1173
  authentication: {
1174
1174
  mode: "none" | "application" | "mtls" | "bearer";
1175
1175
  secretRef?: string | undefined;
@@ -1199,8 +1199,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1199
1199
  serviceId: string;
1200
1200
  endpointId: string;
1201
1201
  } | {
1202
- url: string;
1203
1202
  kind: "remote";
1203
+ url: string;
1204
1204
  authentication: {
1205
1205
  mode: "none" | "application" | "mtls" | "bearer";
1206
1206
  secretRef?: string | undefined;
@@ -1230,8 +1230,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1230
1230
  serviceId: string;
1231
1231
  endpointId: string;
1232
1232
  } | {
1233
- url: string;
1234
1233
  kind: "remote";
1234
+ url: string;
1235
1235
  authentication: {
1236
1236
  mode: "none" | "application" | "mtls" | "bearer";
1237
1237
  secretRef?: string | undefined;
@@ -1261,8 +1261,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1261
1261
  serviceId: string;
1262
1262
  endpointId: string;
1263
1263
  } | {
1264
- url: string;
1265
1264
  kind: "remote";
1265
+ url: string;
1266
1266
  authentication: {
1267
1267
  mode: "none" | "application" | "mtls" | "bearer";
1268
1268
  secretRef?: string | undefined;
@@ -1283,13 +1283,13 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1283
1283
  };
1284
1284
  }>;
1285
1285
  secrets: z.ZodRecord<z.ZodString, z.ZodObject<{
1286
- provider: z.ZodEnum<["file", "systemd-credential", "vault", "aws-secrets-manager"]>;
1286
+ provider: z.ZodEnum<["file", "systemd-credential"]>;
1287
1287
  reference: z.ZodString;
1288
1288
  }, "strict", z.ZodTypeAny, {
1289
- provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
1289
+ provider: "file" | "systemd-credential";
1290
1290
  reference: string;
1291
1291
  }, {
1292
- provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
1292
+ provider: "file" | "systemd-credential";
1293
1293
  reference: string;
1294
1294
  }>>;
1295
1295
  security: z.ZodOptional<z.ZodObject<{
@@ -1470,8 +1470,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1470
1470
  serviceId: string;
1471
1471
  endpointId: string;
1472
1472
  } | {
1473
- url: string;
1474
1473
  kind: "remote";
1474
+ url: string;
1475
1475
  authentication: {
1476
1476
  mode: "none" | "application" | "mtls" | "bearer";
1477
1477
  secretRef?: string | undefined;
@@ -1531,8 +1531,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1531
1531
  serviceId: string;
1532
1532
  endpointId: string;
1533
1533
  } | {
1534
- url: string;
1535
1534
  kind: "remote";
1535
+ url: string;
1536
1536
  authentication: {
1537
1537
  mode: "none" | "application" | "mtls" | "bearer";
1538
1538
  secretRef?: string | undefined;
@@ -1553,7 +1553,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1553
1553
  };
1554
1554
  };
1555
1555
  secrets: Record<string, {
1556
- provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
1556
+ provider: "file" | "systemd-credential";
1557
1557
  reference: string;
1558
1558
  }>;
1559
1559
  security?: {
@@ -1611,8 +1611,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1611
1611
  serviceId: string;
1612
1612
  endpointId: string;
1613
1613
  } | {
1614
- url: string;
1615
1614
  kind: "remote";
1615
+ url: string;
1616
1616
  authentication: {
1617
1617
  mode: "none" | "application" | "mtls" | "bearer";
1618
1618
  secretRef?: string | undefined;
@@ -1671,8 +1671,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1671
1671
  serviceId: string;
1672
1672
  endpointId: string;
1673
1673
  } | {
1674
- url: string;
1675
1674
  kind: "remote";
1675
+ url: string;
1676
1676
  authentication: {
1677
1677
  mode: "none" | "application" | "mtls" | "bearer";
1678
1678
  secretRef?: string | undefined;
@@ -1693,7 +1693,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1693
1693
  };
1694
1694
  };
1695
1695
  secrets: Record<string, {
1696
- provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
1696
+ provider: "file" | "systemd-credential";
1697
1697
  reference: string;
1698
1698
  }>;
1699
1699
  security?: {
@@ -134,7 +134,7 @@ const hostConfigurationSchema = z.object({
134
134
  if (fleet.receiptReporting.enabled && fleet.receiptReporting.connection?.kind !== "remote") context.addIssue({ code: z.ZodIssueCode.custom, path: ["receiptReporting", "connection"], message: "Enabled fleet receipt reporting requires an explicit remote connection." });
135
135
  }),
136
136
  secrets: z.record(identifier, z.object({
137
- provider: z.enum(["file", "systemd-credential", "vault", "aws-secrets-manager"]),
137
+ provider: z.enum(["file", "systemd-credential"]),
138
138
  reference: z.string().min(1)
139
139
  }).strict()),
140
140
  security: z.object({