@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
|
@@ -178,20 +178,20 @@ export declare const hostedArtifactSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
178
178
|
digest: z.ZodString;
|
|
179
179
|
identity: z.ZodString;
|
|
180
180
|
}, "strict", z.ZodTypeAny, {
|
|
181
|
-
kind: "oci-image";
|
|
182
181
|
identity: string;
|
|
182
|
+
kind: "oci-image";
|
|
183
183
|
digest: string;
|
|
184
184
|
}, {
|
|
185
|
-
kind: "oci-image";
|
|
186
185
|
identity: string;
|
|
186
|
+
kind: "oci-image";
|
|
187
187
|
digest: string;
|
|
188
188
|
}>, {
|
|
189
|
-
kind: "oci-image";
|
|
190
189
|
identity: string;
|
|
190
|
+
kind: "oci-image";
|
|
191
191
|
digest: string;
|
|
192
192
|
}, {
|
|
193
|
-
kind: "oci-image";
|
|
194
193
|
identity: string;
|
|
194
|
+
kind: "oci-image";
|
|
195
195
|
digest: string;
|
|
196
196
|
}>]>;
|
|
197
197
|
declare const hostedConnectionSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -380,20 +380,20 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
380
380
|
digest: z.ZodString;
|
|
381
381
|
identity: z.ZodString;
|
|
382
382
|
}, "strict", z.ZodTypeAny, {
|
|
383
|
-
kind: "oci-image";
|
|
384
383
|
identity: string;
|
|
384
|
+
kind: "oci-image";
|
|
385
385
|
digest: string;
|
|
386
386
|
}, {
|
|
387
|
-
kind: "oci-image";
|
|
388
387
|
identity: string;
|
|
388
|
+
kind: "oci-image";
|
|
389
389
|
digest: string;
|
|
390
390
|
}>, {
|
|
391
|
-
kind: "oci-image";
|
|
392
391
|
identity: string;
|
|
392
|
+
kind: "oci-image";
|
|
393
393
|
digest: string;
|
|
394
394
|
}, {
|
|
395
|
-
kind: "oci-image";
|
|
396
395
|
identity: string;
|
|
396
|
+
kind: "oci-image";
|
|
397
397
|
digest: string;
|
|
398
398
|
}>]>>;
|
|
399
399
|
resources: z.ZodArray<z.ZodObject<{
|
|
@@ -543,8 +543,8 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
543
543
|
source: string;
|
|
544
544
|
mediaType: string;
|
|
545
545
|
} | {
|
|
546
|
-
kind: "oci-image";
|
|
547
546
|
identity: string;
|
|
547
|
+
kind: "oci-image";
|
|
548
548
|
digest: string;
|
|
549
549
|
}>;
|
|
550
550
|
deploymentId: string;
|
|
@@ -599,8 +599,8 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
599
599
|
source: string;
|
|
600
600
|
mediaType: string;
|
|
601
601
|
} | {
|
|
602
|
-
kind: "oci-image";
|
|
603
602
|
identity: string;
|
|
603
|
+
kind: "oci-image";
|
|
604
604
|
digest: string;
|
|
605
605
|
}>;
|
|
606
606
|
deploymentId: string;
|
|
@@ -655,8 +655,8 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
655
655
|
source: string;
|
|
656
656
|
mediaType: string;
|
|
657
657
|
} | {
|
|
658
|
-
kind: "oci-image";
|
|
659
658
|
identity: string;
|
|
659
|
+
kind: "oci-image";
|
|
660
660
|
digest: string;
|
|
661
661
|
}>;
|
|
662
662
|
deploymentId: string;
|
|
@@ -711,8 +711,8 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
711
711
|
source: string;
|
|
712
712
|
mediaType: string;
|
|
713
713
|
} | {
|
|
714
|
-
kind: "oci-image";
|
|
715
714
|
identity: string;
|
|
715
|
+
kind: "oci-image";
|
|
716
716
|
digest: string;
|
|
717
717
|
}>;
|
|
718
718
|
deploymentId: string;
|
|
@@ -875,20 +875,20 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
875
875
|
digest: z.ZodString;
|
|
876
876
|
identity: z.ZodString;
|
|
877
877
|
}, "strict", z.ZodTypeAny, {
|
|
878
|
-
kind: "oci-image";
|
|
879
878
|
identity: string;
|
|
879
|
+
kind: "oci-image";
|
|
880
880
|
digest: string;
|
|
881
881
|
}, {
|
|
882
|
-
kind: "oci-image";
|
|
883
882
|
identity: string;
|
|
883
|
+
kind: "oci-image";
|
|
884
884
|
digest: string;
|
|
885
885
|
}>, {
|
|
886
|
-
kind: "oci-image";
|
|
887
886
|
identity: string;
|
|
887
|
+
kind: "oci-image";
|
|
888
888
|
digest: string;
|
|
889
889
|
}, {
|
|
890
|
-
kind: "oci-image";
|
|
891
890
|
identity: string;
|
|
891
|
+
kind: "oci-image";
|
|
892
892
|
digest: string;
|
|
893
893
|
}>]>>;
|
|
894
894
|
readonly providerConnections: z.ZodRecord<z.ZodEnum<["cloudflare", "railway"]>, z.ZodEffects<z.ZodObject<{
|
|
@@ -1150,8 +1150,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1150
1150
|
source: string;
|
|
1151
1151
|
mediaType: string;
|
|
1152
1152
|
} | {
|
|
1153
|
-
kind: "oci-image";
|
|
1154
1153
|
identity: string;
|
|
1154
|
+
kind: "oci-image";
|
|
1155
1155
|
digest: string;
|
|
1156
1156
|
}>;
|
|
1157
1157
|
planId: string;
|
|
@@ -1235,8 +1235,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1235
1235
|
source: string;
|
|
1236
1236
|
mediaType: string;
|
|
1237
1237
|
} | {
|
|
1238
|
-
kind: "oci-image";
|
|
1239
1238
|
identity: string;
|
|
1239
|
+
kind: "oci-image";
|
|
1240
1240
|
digest: string;
|
|
1241
1241
|
}>;
|
|
1242
1242
|
planId: string;
|
|
@@ -1320,8 +1320,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1320
1320
|
source: string;
|
|
1321
1321
|
mediaType: string;
|
|
1322
1322
|
} | {
|
|
1323
|
-
kind: "oci-image";
|
|
1324
1323
|
identity: string;
|
|
1324
|
+
kind: "oci-image";
|
|
1325
1325
|
digest: string;
|
|
1326
1326
|
}>;
|
|
1327
1327
|
planId: string;
|
|
@@ -1405,8 +1405,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1405
1405
|
source: string;
|
|
1406
1406
|
mediaType: string;
|
|
1407
1407
|
} | {
|
|
1408
|
-
kind: "oci-image";
|
|
1409
1408
|
identity: string;
|
|
1409
|
+
kind: "oci-image";
|
|
1410
1410
|
digest: string;
|
|
1411
1411
|
}>;
|
|
1412
1412
|
planId: string;
|
|
@@ -1561,20 +1561,20 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1561
1561
|
digest: z.ZodString;
|
|
1562
1562
|
identity: z.ZodString;
|
|
1563
1563
|
}, "strict", z.ZodTypeAny, {
|
|
1564
|
-
kind: "oci-image";
|
|
1565
1564
|
identity: string;
|
|
1565
|
+
kind: "oci-image";
|
|
1566
1566
|
digest: string;
|
|
1567
1567
|
}, {
|
|
1568
|
-
kind: "oci-image";
|
|
1569
1568
|
identity: string;
|
|
1569
|
+
kind: "oci-image";
|
|
1570
1570
|
digest: string;
|
|
1571
1571
|
}>, {
|
|
1572
|
-
kind: "oci-image";
|
|
1573
1572
|
identity: string;
|
|
1573
|
+
kind: "oci-image";
|
|
1574
1574
|
digest: string;
|
|
1575
1575
|
}, {
|
|
1576
|
-
kind: "oci-image";
|
|
1577
1576
|
identity: string;
|
|
1577
|
+
kind: "oci-image";
|
|
1578
1578
|
digest: string;
|
|
1579
1579
|
}>]>>;
|
|
1580
1580
|
providerConnections: z.ZodRecord<z.ZodEnum<["cloudflare", "railway"]>, z.ZodEffects<z.ZodObject<{
|
|
@@ -1835,8 +1835,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1835
1835
|
source: string;
|
|
1836
1836
|
mediaType: string;
|
|
1837
1837
|
} | {
|
|
1838
|
-
kind: "oci-image";
|
|
1839
1838
|
identity: string;
|
|
1839
|
+
kind: "oci-image";
|
|
1840
1840
|
digest: string;
|
|
1841
1841
|
}>;
|
|
1842
1842
|
planId: string;
|
|
@@ -1920,8 +1920,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1920
1920
|
source: string;
|
|
1921
1921
|
mediaType: string;
|
|
1922
1922
|
} | {
|
|
1923
|
-
kind: "oci-image";
|
|
1924
1923
|
identity: string;
|
|
1924
|
+
kind: "oci-image";
|
|
1925
1925
|
digest: string;
|
|
1926
1926
|
}>;
|
|
1927
1927
|
planId: string;
|
|
@@ -2005,8 +2005,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2005
2005
|
source: string;
|
|
2006
2006
|
mediaType: string;
|
|
2007
2007
|
} | {
|
|
2008
|
-
kind: "oci-image";
|
|
2009
2008
|
identity: string;
|
|
2009
|
+
kind: "oci-image";
|
|
2010
2010
|
digest: string;
|
|
2011
2011
|
}>;
|
|
2012
2012
|
planId: string;
|
|
@@ -2090,8 +2090,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2090
2090
|
source: string;
|
|
2091
2091
|
mediaType: string;
|
|
2092
2092
|
} | {
|
|
2093
|
-
kind: "oci-image";
|
|
2094
2093
|
identity: string;
|
|
2094
|
+
kind: "oci-image";
|
|
2095
2095
|
digest: string;
|
|
2096
2096
|
}>;
|
|
2097
2097
|
planId: string;
|
|
@@ -2193,6 +2193,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2193
2193
|
state: z.ZodLiteral<"known-good">;
|
|
2194
2194
|
completedAt: z.ZodString;
|
|
2195
2195
|
}, "strict", z.ZodTypeAny, {
|
|
2196
|
+
state: "known-good";
|
|
2196
2197
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
2197
2198
|
resources: {
|
|
2198
2199
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
@@ -2206,7 +2207,6 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2206
2207
|
}[];
|
|
2207
2208
|
planDigest: string;
|
|
2208
2209
|
teamId: string;
|
|
2209
|
-
state: "known-good";
|
|
2210
2210
|
environment: "production" | "staging";
|
|
2211
2211
|
completedAt: string;
|
|
2212
2212
|
receiptId: string;
|
|
@@ -2227,6 +2227,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2227
2227
|
observedAt: string;
|
|
2228
2228
|
}[];
|
|
2229
2229
|
}, {
|
|
2230
|
+
state: "known-good";
|
|
2230
2231
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
2231
2232
|
resources: {
|
|
2232
2233
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
@@ -2240,7 +2241,6 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2240
2241
|
}[];
|
|
2241
2242
|
planDigest: string;
|
|
2242
2243
|
teamId: string;
|
|
2243
|
-
state: "known-good";
|
|
2244
2244
|
environment: "production" | "staging";
|
|
2245
2245
|
completedAt: string;
|
|
2246
2246
|
receiptId: string;
|
|
@@ -8222,6 +8222,7 @@ export declare const hostUpdateSchema: z.ZodObject<{
|
|
|
8222
8222
|
}>;
|
|
8223
8223
|
state: z.ZodEnum<["planned", "draining", "applying", "healthy", "failed", "rolled-back"]>;
|
|
8224
8224
|
}, "strict", z.ZodTypeAny, {
|
|
8225
|
+
state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
|
|
8225
8226
|
schemaVersion: "treeseed.host-update/v1";
|
|
8226
8227
|
components: {
|
|
8227
8228
|
from: string | null;
|
|
@@ -8229,7 +8230,6 @@ export declare const hostUpdateSchema: z.ZodObject<{
|
|
|
8229
8230
|
componentId: string;
|
|
8230
8231
|
imageDigests: string[];
|
|
8231
8232
|
}[];
|
|
8232
|
-
state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
|
|
8233
8233
|
activation: {
|
|
8234
8234
|
policy: "maintenance-window" | "continuous";
|
|
8235
8235
|
eligibleAt: string;
|
|
@@ -8240,6 +8240,7 @@ export declare const hostUpdateSchema: z.ZodObject<{
|
|
|
8240
8240
|
fromCatalogDigest: string;
|
|
8241
8241
|
toCatalogDigest: string;
|
|
8242
8242
|
}, {
|
|
8243
|
+
state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
|
|
8243
8244
|
schemaVersion: "treeseed.host-update/v1";
|
|
8244
8245
|
components: {
|
|
8245
8246
|
from: string | null;
|
|
@@ -8247,7 +8248,6 @@ export declare const hostUpdateSchema: z.ZodObject<{
|
|
|
8247
8248
|
componentId: string;
|
|
8248
8249
|
imageDigests: string[];
|
|
8249
8250
|
}[];
|
|
8250
|
-
state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
|
|
8251
8251
|
activation: {
|
|
8252
8252
|
policy: "maintenance-window" | "continuous";
|
|
8253
8253
|
eligibleAt: string;
|
|
@@ -8321,9 +8321,9 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
8321
8321
|
}>, "many">;
|
|
8322
8322
|
completedAt: z.ZodString;
|
|
8323
8323
|
}, "strict", z.ZodTypeAny, {
|
|
8324
|
+
state: "degraded" | "rolled-back" | "known-good";
|
|
8324
8325
|
role: string;
|
|
8325
8326
|
schemaVersion: "treeseed.host-receipt/v1";
|
|
8326
|
-
state: "degraded" | "rolled-back" | "known-good";
|
|
8327
8327
|
packages: {
|
|
8328
8328
|
version: string;
|
|
8329
8329
|
name: string;
|
|
@@ -8351,9 +8351,9 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
8351
8351
|
runtimeDigest: string;
|
|
8352
8352
|
}[];
|
|
8353
8353
|
}, {
|
|
8354
|
+
state: "degraded" | "rolled-back" | "known-good";
|
|
8354
8355
|
role: string;
|
|
8355
8356
|
schemaVersion: "treeseed.host-receipt/v1";
|
|
8356
|
-
state: "degraded" | "rolled-back" | "known-good";
|
|
8357
8357
|
packages: {
|
|
8358
8358
|
version: string;
|
|
8359
8359
|
name: string;
|
|
@@ -8406,8 +8406,8 @@ export declare const hostBackupSchema: z.ZodObject<{
|
|
|
8406
8406
|
createdAt: z.ZodString;
|
|
8407
8407
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
8408
8408
|
}, "strict", z.ZodTypeAny, {
|
|
8409
|
-
schemaVersion: "treeseed.host-backup/v1";
|
|
8410
8409
|
state: "pending" | "failed" | "complete" | "verified";
|
|
8410
|
+
schemaVersion: "treeseed.host-backup/v1";
|
|
8411
8411
|
createdAt: string;
|
|
8412
8412
|
artifacts: {
|
|
8413
8413
|
digest: string;
|
|
@@ -8420,8 +8420,8 @@ export declare const hostBackupSchema: z.ZodObject<{
|
|
|
8420
8420
|
backupId: string;
|
|
8421
8421
|
verifiedAt: string | null;
|
|
8422
8422
|
}, {
|
|
8423
|
-
schemaVersion: "treeseed.host-backup/v1";
|
|
8424
8423
|
state: "pending" | "failed" | "complete" | "verified";
|
|
8424
|
+
schemaVersion: "treeseed.host-backup/v1";
|
|
8425
8425
|
createdAt: string;
|
|
8426
8426
|
artifacts: {
|
|
8427
8427
|
digest: string;
|
|
@@ -8446,8 +8446,8 @@ export declare const hostMigrationSchema: z.ZodObject<{
|
|
|
8446
8446
|
sourceWritersStopped: z.ZodBoolean;
|
|
8447
8447
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
8448
8448
|
}, "strict", z.ZodTypeAny, {
|
|
8449
|
-
schemaVersion: "treeseed.host-migration/v1";
|
|
8450
8449
|
state: "pending" | "failed" | "rolled-back" | "verified" | "quiesced" | "copied" | "activated";
|
|
8450
|
+
schemaVersion: "treeseed.host-migration/v1";
|
|
8451
8451
|
operation: string;
|
|
8452
8452
|
completedAt: string | null;
|
|
8453
8453
|
componentId: string;
|
|
@@ -8457,8 +8457,8 @@ export declare const hostMigrationSchema: z.ZodObject<{
|
|
|
8457
8457
|
toGeneration: number;
|
|
8458
8458
|
sourceWritersStopped: boolean;
|
|
8459
8459
|
}, {
|
|
8460
|
-
schemaVersion: "treeseed.host-migration/v1";
|
|
8461
8460
|
state: "pending" | "failed" | "rolled-back" | "verified" | "quiesced" | "copied" | "activated";
|
|
8461
|
+
schemaVersion: "treeseed.host-migration/v1";
|
|
8462
8462
|
operation: string;
|
|
8463
8463
|
completedAt: string | null;
|
|
8464
8464
|
componentId: string;
|
|
@@ -8480,9 +8480,9 @@ export declare const hostRecoverySchema: z.ZodObject<{
|
|
|
8480
8480
|
backupId: z.ZodNullable<z.ZodString>;
|
|
8481
8481
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
8482
8482
|
}, "strict", z.ZodTypeAny, {
|
|
8483
|
+
state: "pending" | "failed" | "running" | "healthy";
|
|
8483
8484
|
schemaVersion: "treeseed.host-recovery/v1";
|
|
8484
8485
|
action: "rollback" | "retry" | "restore";
|
|
8485
|
-
state: "pending" | "failed" | "running" | "healthy";
|
|
8486
8486
|
completedAt: string | null;
|
|
8487
8487
|
componentId: string | null;
|
|
8488
8488
|
receiptId: string;
|
|
@@ -8491,9 +8491,9 @@ export declare const hostRecoverySchema: z.ZodObject<{
|
|
|
8491
8491
|
trigger: "operator" | "health-gate" | "boot" | "interrupted-update";
|
|
8492
8492
|
targetGeneration: number;
|
|
8493
8493
|
}, {
|
|
8494
|
+
state: "pending" | "failed" | "running" | "healthy";
|
|
8494
8495
|
schemaVersion: "treeseed.host-recovery/v1";
|
|
8495
8496
|
action: "rollback" | "retry" | "restore";
|
|
8496
|
-
state: "pending" | "failed" | "running" | "healthy";
|
|
8497
8497
|
completedAt: string | null;
|
|
8498
8498
|
componentId: string | null;
|
|
8499
8499
|
receiptId: string;
|
|
@@ -8580,8 +8580,8 @@ export declare const hostSecurityReceiptSchema: z.ZodObject<{
|
|
|
8580
8580
|
activeDiagnosticsVersion: number;
|
|
8581
8581
|
recoveryBundleVerified: boolean;
|
|
8582
8582
|
};
|
|
8583
|
-
schemaVersion: "treeseed.host-security-receipt/v1";
|
|
8584
8583
|
state: "blocked" | "planned" | "known-good" | "migrating";
|
|
8584
|
+
schemaVersion: "treeseed.host-security-receipt/v1";
|
|
8585
8585
|
hostId: string;
|
|
8586
8586
|
completedAt: string;
|
|
8587
8587
|
sandbox: {
|
|
@@ -8604,8 +8604,8 @@ export declare const hostSecurityReceiptSchema: z.ZodObject<{
|
|
|
8604
8604
|
activeDiagnosticsVersion: number;
|
|
8605
8605
|
recoveryBundleVerified: boolean;
|
|
8606
8606
|
};
|
|
8607
|
-
schemaVersion: "treeseed.host-security-receipt/v1";
|
|
8608
8607
|
state: "blocked" | "planned" | "known-good" | "migrating";
|
|
8608
|
+
schemaVersion: "treeseed.host-security-receipt/v1";
|
|
8609
8609
|
hostId: string;
|
|
8610
8610
|
completedAt: string;
|
|
8611
8611
|
sandbox: {
|
|
@@ -3115,15 +3115,15 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3115
3115
|
digest: z.ZodString;
|
|
3116
3116
|
integrity: z.ZodOptional<z.ZodString>;
|
|
3117
3117
|
}, "strict", z.ZodTypeAny, {
|
|
3118
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3119
3118
|
identity: string;
|
|
3119
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3120
3120
|
digest: string;
|
|
3121
3121
|
projectId: string;
|
|
3122
3122
|
targetId: string;
|
|
3123
3123
|
integrity?: string | undefined;
|
|
3124
3124
|
}, {
|
|
3125
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3126
3125
|
identity: string;
|
|
3126
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3127
3127
|
digest: string;
|
|
3128
3128
|
projectId: string;
|
|
3129
3129
|
targetId: string;
|
|
@@ -3175,8 +3175,8 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3175
3175
|
recipeDigest: string;
|
|
3176
3176
|
}[];
|
|
3177
3177
|
artifacts: {
|
|
3178
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3179
3178
|
identity: string;
|
|
3179
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3180
3180
|
digest: string;
|
|
3181
3181
|
projectId: string;
|
|
3182
3182
|
targetId: string;
|
|
@@ -3212,8 +3212,8 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3212
3212
|
recipeDigest: string;
|
|
3213
3213
|
}[];
|
|
3214
3214
|
artifacts: {
|
|
3215
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3216
3215
|
identity: string;
|
|
3216
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3217
3217
|
digest: string;
|
|
3218
3218
|
projectId: string;
|
|
3219
3219
|
targetId: string;
|
|
@@ -3249,8 +3249,8 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3249
3249
|
recipeDigest: string;
|
|
3250
3250
|
}[];
|
|
3251
3251
|
artifacts: {
|
|
3252
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3253
3252
|
identity: string;
|
|
3253
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3254
3254
|
digest: string;
|
|
3255
3255
|
projectId: string;
|
|
3256
3256
|
targetId: string;
|
|
@@ -3286,8 +3286,8 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3286
3286
|
recipeDigest: string;
|
|
3287
3287
|
}[];
|
|
3288
3288
|
artifacts: {
|
|
3289
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3290
3289
|
identity: string;
|
|
3290
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
|
|
3291
3291
|
digest: string;
|
|
3292
3292
|
projectId: string;
|
|
3293
3293
|
targetId: string;
|
|
@@ -3359,15 +3359,15 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3359
3359
|
mediaType: z.ZodString;
|
|
3360
3360
|
size: z.ZodOptional<z.ZodNumber>;
|
|
3361
3361
|
}, "strict", z.ZodTypeAny, {
|
|
3362
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3363
3362
|
identity: string;
|
|
3363
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3364
3364
|
id: string;
|
|
3365
3365
|
digest: string;
|
|
3366
3366
|
mediaType: string;
|
|
3367
3367
|
size?: number | undefined;
|
|
3368
3368
|
}, {
|
|
3369
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3370
3369
|
identity: string;
|
|
3370
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3371
3371
|
id: string;
|
|
3372
3372
|
digest: string;
|
|
3373
3373
|
mediaType: string;
|
|
@@ -3429,8 +3429,8 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3429
3429
|
workflowRunId: string;
|
|
3430
3430
|
};
|
|
3431
3431
|
artifacts: {
|
|
3432
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3433
3432
|
identity: string;
|
|
3433
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3434
3434
|
id: string;
|
|
3435
3435
|
digest: string;
|
|
3436
3436
|
mediaType: string;
|
|
@@ -3468,8 +3468,8 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3468
3468
|
workflowRunId: string;
|
|
3469
3469
|
};
|
|
3470
3470
|
artifacts: {
|
|
3471
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3472
3471
|
identity: string;
|
|
3472
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3473
3473
|
id: string;
|
|
3474
3474
|
digest: string;
|
|
3475
3475
|
mediaType: string;
|
|
@@ -3507,8 +3507,8 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3507
3507
|
workflowRunId: string;
|
|
3508
3508
|
};
|
|
3509
3509
|
artifacts: {
|
|
3510
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3511
3510
|
identity: string;
|
|
3511
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3512
3512
|
id: string;
|
|
3513
3513
|
digest: string;
|
|
3514
3514
|
mediaType: string;
|
|
@@ -3546,8 +3546,8 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3546
3546
|
workflowRunId: string;
|
|
3547
3547
|
};
|
|
3548
3548
|
artifacts: {
|
|
3549
|
-
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3550
3549
|
identity: string;
|
|
3550
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3551
3551
|
id: string;
|
|
3552
3552
|
digest: string;
|
|
3553
3553
|
mediaType: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ControlPlaneOperationBinding, ControlPlaneOperationBody, ControlPlaneOperationOutput, ControlPlaneOperationPath, ControlPlaneOperationQuery, OAuthScope } from '../../operator-contracts/control-plane-operation.js';
|
|
2
2
|
import type { ApiPrincipal } from '../../operator-contracts/oauth.js';
|
|
3
3
|
import type { InputRequired } from '../../operator-contracts/mcp.js';
|
|
4
|
+
import type { PublicClientSessionBinding } from '../../identity/contracts.js';
|
|
4
5
|
export declare const DEFAULT_CONTROL_PLANE_BASE_URL = "http://127.0.0.1:3002";
|
|
5
6
|
export declare const CONTROL_PLANE_BASE_URL_ENV = "TREESEED_API_BASE_URL";
|
|
6
7
|
export interface ControlPlaneServerProfile {
|
|
@@ -8,7 +9,7 @@ export interface ControlPlaneServerProfile {
|
|
|
8
9
|
label: string;
|
|
9
10
|
baseUrl: string;
|
|
10
11
|
}
|
|
11
|
-
export interface ControlPlaneServerSession {
|
|
12
|
+
export interface ControlPlaneServerSession extends PublicClientSessionBinding {
|
|
12
13
|
serverId: string;
|
|
13
14
|
audience: string;
|
|
14
15
|
accessToken: string;
|