@treeseed/sdk 0.13.0-rc.85 → 0.13.0-rc.87
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/configuration/secrets-capability.d.ts +2 -2
- package/dist/configuration/secrets-capability.js +2 -2
- package/dist/content/validation/content-model-schemas.d.ts +1 -1
- package/dist/deployment/hosted-topology-template.d.ts +6 -6
- package/dist/deployment/hosted-topology-template.js +1 -1
- package/dist/deployment/hosted-topology.d.ts +73 -214
- package/dist/deployment/hosted-topology.js +30 -64
- package/dist/operator-contracts/canonical-command-tree.js +2 -2
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +4 -31
- package/dist/operator-contracts/catalog/hosted-topology-operations.js +7 -12
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +62 -0
- package/dist/operator-contracts/catalog/services/secret-operations.js +51 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +61 -48
- package/dist/operator-contracts/control-plane-operations.js +3 -4
- package/dist/secrets-capability/github-actions-encryption.d.ts +2 -0
- package/dist/secrets-capability/github-actions-encryption.js +11 -0
- package/dist/secrets-capability/provider-operation-contracts.d.ts +1 -1
- package/dist/secrets-capability/secret-contracts.d.ts +33 -0
- package/dist/secrets-capability/secret-contracts.js +49 -0
- package/dist/secrets-capability/service-provider-contracts.d.ts +2 -2
- package/dist/secrets-capability/service-provider-contracts.js +15 -31
- package/package.json +1 -1
- package/dist/operator-contracts/catalog/services/service-vault-operations.d.ts +0 -17
- package/dist/operator-contracts/catalog/services/service-vault-operations.js +0 -158
- package/dist/secrets-capability/service-vault-contracts.d.ts +0 -108
- package/dist/secrets-capability/service-vault-contracts.js +0 -74
- package/dist/secrets-capability/service-vault-crypto.d.ts +0 -20
- package/dist/secrets-capability/service-vault-crypto.js +0 -210
|
@@ -1 +1 @@
|
|
|
1
|
-
{"completedAt":"2026-09-
|
|
1
|
+
{"completedAt":"2026-09-05T03:40:21.329Z"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '../secrets-capability/service-provider-contracts.js';
|
|
2
2
|
export * from '../secrets-capability/provider-operation-contracts.js';
|
|
3
3
|
export * from '../secrets-capability/workflow-operation-contracts.js';
|
|
4
|
-
export * from '../secrets-capability/
|
|
5
|
-
export * from '../secrets-capability/
|
|
4
|
+
export * from '../secrets-capability/secret-contracts.js';
|
|
5
|
+
export * from '../secrets-capability/github-actions-encryption.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "../secrets-capability/service-provider-contracts.js";
|
|
2
2
|
export * from "../secrets-capability/provider-operation-contracts.js";
|
|
3
3
|
export * from "../secrets-capability/workflow-operation-contracts.js";
|
|
4
|
-
export * from "../secrets-capability/
|
|
5
|
-
export * from "../secrets-capability/
|
|
4
|
+
export * from "../secrets-capability/secret-contracts.js";
|
|
5
|
+
export * from "../secrets-capability/github-actions-encryption.js";
|
|
@@ -21917,7 +21917,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
21917
21917
|
}>;
|
|
21918
21918
|
/** A JSON-safe description derived directly from the canonical validation schema. */
|
|
21919
21919
|
export declare function describeContentFrontmatterContract(model: PortableContentModel): {
|
|
21920
|
-
model: "knowledge" | "
|
|
21920
|
+
model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "proposal" | "question" | "group" | "discussion" | "page" | "person" | "note" | "book" | "discussion_message" | "discussion_event" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
|
|
21921
21921
|
fields: {
|
|
21922
21922
|
[k: string]: Record<string, unknown>;
|
|
21923
21923
|
};
|
|
@@ -6,7 +6,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6
6
|
deploymentId: z.ZodString;
|
|
7
7
|
stackId: z.ZodString;
|
|
8
8
|
environment: z.ZodEnum<["staging", "production"]>;
|
|
9
|
-
mutation: z.ZodLiteral<"
|
|
9
|
+
mutation: z.ZodLiteral<"agent-authorized">;
|
|
10
10
|
stateBackend: z.ZodObject<{
|
|
11
11
|
connectionRef: z.ZodString;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -160,7 +160,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
160
|
};
|
|
161
161
|
}[];
|
|
162
162
|
id: string;
|
|
163
|
-
mutation: "
|
|
163
|
+
mutation: "agent-authorized";
|
|
164
164
|
environment: "production" | "staging";
|
|
165
165
|
deploymentId: string;
|
|
166
166
|
stackId: string;
|
|
@@ -200,7 +200,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
200
200
|
}> | undefined;
|
|
201
201
|
}[];
|
|
202
202
|
id: string;
|
|
203
|
-
mutation: "
|
|
203
|
+
mutation: "agent-authorized";
|
|
204
204
|
environment: "production" | "staging";
|
|
205
205
|
deploymentId: string;
|
|
206
206
|
stackId: string;
|
|
@@ -240,7 +240,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
240
240
|
};
|
|
241
241
|
}[];
|
|
242
242
|
id: string;
|
|
243
|
-
mutation: "
|
|
243
|
+
mutation: "agent-authorized";
|
|
244
244
|
environment: "production" | "staging";
|
|
245
245
|
deploymentId: string;
|
|
246
246
|
stackId: string;
|
|
@@ -280,7 +280,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
280
280
|
}> | undefined;
|
|
281
281
|
}[];
|
|
282
282
|
id: string;
|
|
283
|
-
mutation: "
|
|
283
|
+
mutation: "agent-authorized";
|
|
284
284
|
environment: "production" | "staging";
|
|
285
285
|
deploymentId: string;
|
|
286
286
|
stackId: string;
|
|
@@ -421,7 +421,7 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
421
421
|
repository: "treeseed-ai/platform";
|
|
422
422
|
commit: string;
|
|
423
423
|
};
|
|
424
|
-
mutation: "
|
|
424
|
+
mutation: "agent-authorized";
|
|
425
425
|
environment: "production" | "staging";
|
|
426
426
|
artifacts: Record<string, {
|
|
427
427
|
digest: string;
|
|
@@ -9,7 +9,7 @@ const hostedTopologyTemplateSchema = z.object({
|
|
|
9
9
|
deploymentId: custodyIdentifier,
|
|
10
10
|
stackId: custodyIdentifier,
|
|
11
11
|
environment: z.enum(["staging", "production"]),
|
|
12
|
-
mutation: z.literal("
|
|
12
|
+
mutation: z.literal("agent-authorized"),
|
|
13
13
|
stateBackend: z.object({ connectionRef: identifier }).strict(),
|
|
14
14
|
providerConnections: z.record(hostedProviderSchema, z.object({ connectionRef: identifier }).strict()),
|
|
15
15
|
artifactBindings: z.record(identifier, z.object({ input: identifier, kind: z.enum(["archive", "file", "oci-image"]) }).strict()),
|
|
@@ -320,7 +320,7 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
320
320
|
deploymentId: z.ZodString;
|
|
321
321
|
stackId: z.ZodString;
|
|
322
322
|
environment: z.ZodEnum<["staging", "production"]>;
|
|
323
|
-
mutation: z.ZodLiteral<"
|
|
323
|
+
mutation: z.ZodLiteral<"agent-authorized">;
|
|
324
324
|
platform: z.ZodObject<{
|
|
325
325
|
repository: z.ZodLiteral<"treeseed-ai/platform">;
|
|
326
326
|
commit: z.ZodString;
|
|
@@ -530,7 +530,7 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
530
530
|
repository: "treeseed-ai/platform";
|
|
531
531
|
commit: string;
|
|
532
532
|
};
|
|
533
|
-
mutation: "
|
|
533
|
+
mutation: "agent-authorized";
|
|
534
534
|
environment: "production" | "staging";
|
|
535
535
|
artifacts: Record<string, {
|
|
536
536
|
digest: string;
|
|
@@ -586,7 +586,7 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
586
|
repository: "treeseed-ai/platform";
|
|
587
587
|
commit: string;
|
|
588
588
|
};
|
|
589
|
-
mutation: "
|
|
589
|
+
mutation: "agent-authorized";
|
|
590
590
|
environment: "production" | "staging";
|
|
591
591
|
artifacts: Record<string, {
|
|
592
592
|
digest: string;
|
|
@@ -642,7 +642,7 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
642
642
|
repository: "treeseed-ai/platform";
|
|
643
643
|
commit: string;
|
|
644
644
|
};
|
|
645
|
-
mutation: "
|
|
645
|
+
mutation: "agent-authorized";
|
|
646
646
|
environment: "production" | "staging";
|
|
647
647
|
artifacts: Record<string, {
|
|
648
648
|
digest: string;
|
|
@@ -698,7 +698,7 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
698
698
|
repository: "treeseed-ai/platform";
|
|
699
699
|
commit: string;
|
|
700
700
|
};
|
|
701
|
-
mutation: "
|
|
701
|
+
mutation: "agent-authorized";
|
|
702
702
|
environment: "production" | "staging";
|
|
703
703
|
artifacts: Record<string, {
|
|
704
704
|
digest: string;
|
|
@@ -1094,7 +1094,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1094
1094
|
message: string;
|
|
1095
1095
|
resourceId?: string | undefined;
|
|
1096
1096
|
}>, "many">;
|
|
1097
|
-
readonly
|
|
1097
|
+
readonly authorization: z.ZodLiteral<"authenticated-agent">;
|
|
1098
1098
|
readonly executable: z.ZodLiteral<false>;
|
|
1099
1099
|
}, "strict", z.ZodTypeAny, {
|
|
1100
1100
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
@@ -1180,7 +1180,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
1180
|
declarationDigest: string;
|
|
1181
1181
|
topologyId: string;
|
|
1182
1182
|
platformCommit: string;
|
|
1183
|
-
|
|
1183
|
+
authorization: "authenticated-agent";
|
|
1184
1184
|
}, {
|
|
1185
1185
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1186
1186
|
blockers: {
|
|
@@ -1265,7 +1265,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1265
1265
|
declarationDigest: string;
|
|
1266
1266
|
topologyId: string;
|
|
1267
1267
|
platformCommit: string;
|
|
1268
|
-
|
|
1268
|
+
authorization: "authenticated-agent";
|
|
1269
1269
|
}>, {
|
|
1270
1270
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1271
1271
|
blockers: {
|
|
@@ -1350,7 +1350,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1350
1350
|
declarationDigest: string;
|
|
1351
1351
|
topologyId: string;
|
|
1352
1352
|
platformCommit: string;
|
|
1353
|
-
|
|
1353
|
+
authorization: "authenticated-agent";
|
|
1354
1354
|
}, {
|
|
1355
1355
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1356
1356
|
blockers: {
|
|
@@ -1435,78 +1435,10 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1435
1435
|
declarationDigest: string;
|
|
1436
1436
|
topologyId: string;
|
|
1437
1437
|
platformCommit: string;
|
|
1438
|
-
|
|
1438
|
+
authorization: "authenticated-agent";
|
|
1439
1439
|
}>;
|
|
1440
|
-
export declare const
|
|
1441
|
-
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-approval/v1">;
|
|
1442
|
-
planDigest: z.ZodString;
|
|
1443
|
-
teamId: z.ZodString;
|
|
1444
|
-
deploymentId: z.ZodString;
|
|
1445
|
-
stackId: z.ZodString;
|
|
1446
|
-
environment: z.ZodEnum<["staging", "production"]>;
|
|
1447
|
-
backendBindingDigest: z.ZodString;
|
|
1448
|
-
decision: z.ZodLiteral<"approved">;
|
|
1449
|
-
approvedBy: z.ZodString;
|
|
1450
|
-
approvedAt: z.ZodString;
|
|
1451
|
-
}, "strict", z.ZodTypeAny, {
|
|
1452
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
1453
|
-
planDigest: string;
|
|
1454
|
-
teamId: string;
|
|
1455
|
-
environment: "production" | "staging";
|
|
1456
|
-
deploymentId: string;
|
|
1457
|
-
stackId: string;
|
|
1458
|
-
backendBindingDigest: string;
|
|
1459
|
-
decision: "approved";
|
|
1460
|
-
approvedBy: string;
|
|
1461
|
-
approvedAt: string;
|
|
1462
|
-
}, {
|
|
1463
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
1464
|
-
planDigest: string;
|
|
1465
|
-
teamId: string;
|
|
1466
|
-
environment: "production" | "staging";
|
|
1467
|
-
deploymentId: string;
|
|
1468
|
-
stackId: string;
|
|
1469
|
-
backendBindingDigest: string;
|
|
1470
|
-
decision: "approved";
|
|
1471
|
-
approvedBy: string;
|
|
1472
|
-
approvedAt: string;
|
|
1473
|
-
}>;
|
|
1474
|
-
export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
1440
|
+
export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
1475
1441
|
executable: z.ZodLiteral<true>;
|
|
1476
|
-
approval: z.ZodNullable<z.ZodObject<{
|
|
1477
|
-
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-approval/v1">;
|
|
1478
|
-
planDigest: z.ZodString;
|
|
1479
|
-
teamId: z.ZodString;
|
|
1480
|
-
deploymentId: z.ZodString;
|
|
1481
|
-
stackId: z.ZodString;
|
|
1482
|
-
environment: z.ZodEnum<["staging", "production"]>;
|
|
1483
|
-
backendBindingDigest: z.ZodString;
|
|
1484
|
-
decision: z.ZodLiteral<"approved">;
|
|
1485
|
-
approvedBy: z.ZodString;
|
|
1486
|
-
approvedAt: z.ZodString;
|
|
1487
|
-
}, "strict", z.ZodTypeAny, {
|
|
1488
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
1489
|
-
planDigest: string;
|
|
1490
|
-
teamId: string;
|
|
1491
|
-
environment: "production" | "staging";
|
|
1492
|
-
deploymentId: string;
|
|
1493
|
-
stackId: string;
|
|
1494
|
-
backendBindingDigest: string;
|
|
1495
|
-
decision: "approved";
|
|
1496
|
-
approvedBy: string;
|
|
1497
|
-
approvedAt: string;
|
|
1498
|
-
}, {
|
|
1499
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
1500
|
-
planDigest: string;
|
|
1501
|
-
teamId: string;
|
|
1502
|
-
environment: "production" | "staging";
|
|
1503
|
-
deploymentId: string;
|
|
1504
|
-
stackId: string;
|
|
1505
|
-
backendBindingDigest: string;
|
|
1506
|
-
decision: "approved";
|
|
1507
|
-
approvedBy: string;
|
|
1508
|
-
approvedAt: string;
|
|
1509
|
-
}>>;
|
|
1510
1442
|
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-plan/v1">;
|
|
1511
1443
|
planId: z.ZodString;
|
|
1512
1444
|
planDigest: z.ZodString;
|
|
@@ -1848,8 +1780,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1848
1780
|
message: string;
|
|
1849
1781
|
resourceId?: string | undefined;
|
|
1850
1782
|
}>, "many">;
|
|
1851
|
-
|
|
1852
|
-
}, "
|
|
1783
|
+
authorization: z.ZodLiteral<"authenticated-agent">;
|
|
1784
|
+
}, "strict", z.ZodTypeAny, {
|
|
1853
1785
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1854
1786
|
blockers: {
|
|
1855
1787
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
@@ -1933,18 +1865,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1933
1865
|
declarationDigest: string;
|
|
1934
1866
|
topologyId: string;
|
|
1935
1867
|
platformCommit: string;
|
|
1936
|
-
|
|
1937
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
1938
|
-
planDigest: string;
|
|
1939
|
-
teamId: string;
|
|
1940
|
-
environment: "production" | "staging";
|
|
1941
|
-
deploymentId: string;
|
|
1942
|
-
stackId: string;
|
|
1943
|
-
backendBindingDigest: string;
|
|
1944
|
-
decision: "approved";
|
|
1945
|
-
approvedBy: string;
|
|
1946
|
-
approvedAt: string;
|
|
1947
|
-
} | null;
|
|
1868
|
+
authorization: "authenticated-agent";
|
|
1948
1869
|
}, {
|
|
1949
1870
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1950
1871
|
blockers: {
|
|
@@ -2029,18 +1950,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2029
1950
|
declarationDigest: string;
|
|
2030
1951
|
topologyId: string;
|
|
2031
1952
|
platformCommit: string;
|
|
2032
|
-
|
|
2033
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
2034
|
-
planDigest: string;
|
|
2035
|
-
teamId: string;
|
|
2036
|
-
environment: "production" | "staging";
|
|
2037
|
-
deploymentId: string;
|
|
2038
|
-
stackId: string;
|
|
2039
|
-
backendBindingDigest: string;
|
|
2040
|
-
decision: "approved";
|
|
2041
|
-
approvedBy: string;
|
|
2042
|
-
approvedAt: string;
|
|
2043
|
-
} | null;
|
|
1953
|
+
authorization: "authenticated-agent";
|
|
2044
1954
|
}>, {
|
|
2045
1955
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
2046
1956
|
blockers: {
|
|
@@ -2125,18 +2035,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2125
2035
|
declarationDigest: string;
|
|
2126
2036
|
topologyId: string;
|
|
2127
2037
|
platformCommit: string;
|
|
2128
|
-
|
|
2129
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
2130
|
-
planDigest: string;
|
|
2131
|
-
teamId: string;
|
|
2132
|
-
environment: "production" | "staging";
|
|
2133
|
-
deploymentId: string;
|
|
2134
|
-
stackId: string;
|
|
2135
|
-
backendBindingDigest: string;
|
|
2136
|
-
decision: "approved";
|
|
2137
|
-
approvedBy: string;
|
|
2138
|
-
approvedAt: string;
|
|
2139
|
-
} | null;
|
|
2038
|
+
authorization: "authenticated-agent";
|
|
2140
2039
|
}, {
|
|
2141
2040
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
2142
2041
|
blockers: {
|
|
@@ -2221,18 +2120,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2221
2120
|
declarationDigest: string;
|
|
2222
2121
|
topologyId: string;
|
|
2223
2122
|
platformCommit: string;
|
|
2224
|
-
|
|
2225
|
-
schemaVersion: "treeseed.hosted-topology-approval/v1";
|
|
2226
|
-
planDigest: string;
|
|
2227
|
-
teamId: string;
|
|
2228
|
-
environment: "production" | "staging";
|
|
2229
|
-
deploymentId: string;
|
|
2230
|
-
stackId: string;
|
|
2231
|
-
backendBindingDigest: string;
|
|
2232
|
-
decision: "approved";
|
|
2233
|
-
approvedBy: string;
|
|
2234
|
-
approvedAt: string;
|
|
2235
|
-
} | null;
|
|
2123
|
+
authorization: "authenticated-agent";
|
|
2236
2124
|
}>;
|
|
2237
2125
|
export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
2238
2126
|
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-receipt/v1">;
|
|
@@ -2373,7 +2261,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2373
2261
|
observedAt: string;
|
|
2374
2262
|
}[];
|
|
2375
2263
|
}>;
|
|
2376
|
-
export declare const hostedTopologyRollbackSchema: z.ZodObject<{
|
|
2264
|
+
export declare const hostedTopologyRollbackSchema: z.ZodEffects<z.ZodObject<{
|
|
2377
2265
|
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-rollback/v1">;
|
|
2378
2266
|
rollbackId: z.ZodString;
|
|
2379
2267
|
sourceReceiptId: z.ZodString;
|
|
@@ -2431,44 +2319,42 @@ export declare const hostedTopologyRollbackSchema: z.ZodObject<{
|
|
|
2431
2319
|
rollbackId: string;
|
|
2432
2320
|
sourceReceiptId: string;
|
|
2433
2321
|
rollbackDigest: string;
|
|
2434
|
-
}
|
|
2435
|
-
|
|
2436
|
-
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-rollback-approval/v1">;
|
|
2437
|
-
rollbackDigest: z.ZodString;
|
|
2438
|
-
teamId: z.ZodString;
|
|
2439
|
-
deploymentId: z.ZodString;
|
|
2440
|
-
stackId: z.ZodString;
|
|
2441
|
-
environment: z.ZodEnum<["staging", "production"]>;
|
|
2442
|
-
backendBindingDigest: z.ZodString;
|
|
2443
|
-
decision: z.ZodLiteral<"approved">;
|
|
2444
|
-
approvedBy: z.ZodString;
|
|
2445
|
-
approvedAt: z.ZodString;
|
|
2446
|
-
}, "strict", z.ZodTypeAny, {
|
|
2447
|
-
schemaVersion: "treeseed.hosted-topology-rollback-approval/v1";
|
|
2322
|
+
}>, {
|
|
2323
|
+
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2448
2324
|
teamId: string;
|
|
2449
2325
|
environment: "production" | "staging";
|
|
2326
|
+
operations: {
|
|
2327
|
+
action: "noop" | "restore" | "delete-created";
|
|
2328
|
+
resourceId: string;
|
|
2329
|
+
providerResourceId: string;
|
|
2330
|
+
targetDigest: string | null;
|
|
2331
|
+
}[];
|
|
2450
2332
|
deploymentId: string;
|
|
2451
2333
|
stackId: string;
|
|
2452
2334
|
backendBindingDigest: string;
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
approvedAt: string;
|
|
2335
|
+
rollbackId: string;
|
|
2336
|
+
sourceReceiptId: string;
|
|
2456
2337
|
rollbackDigest: string;
|
|
2457
2338
|
}, {
|
|
2458
|
-
schemaVersion: "treeseed.hosted-topology-rollback
|
|
2339
|
+
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2459
2340
|
teamId: string;
|
|
2460
2341
|
environment: "production" | "staging";
|
|
2342
|
+
operations: {
|
|
2343
|
+
action: "noop" | "restore" | "delete-created";
|
|
2344
|
+
resourceId: string;
|
|
2345
|
+
providerResourceId: string;
|
|
2346
|
+
targetDigest: string | null;
|
|
2347
|
+
}[];
|
|
2461
2348
|
deploymentId: string;
|
|
2462
2349
|
stackId: string;
|
|
2463
2350
|
backendBindingDigest: string;
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
approvedAt: string;
|
|
2351
|
+
rollbackId: string;
|
|
2352
|
+
sourceReceiptId: string;
|
|
2467
2353
|
rollbackDigest: string;
|
|
2468
2354
|
}>;
|
|
2469
2355
|
export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
2470
2356
|
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-rollback-execution/v1">;
|
|
2471
|
-
rollback: z.ZodObject<{
|
|
2357
|
+
rollback: z.ZodEffects<z.ZodObject<{
|
|
2472
2358
|
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-rollback/v1">;
|
|
2473
2359
|
rollbackId: z.ZodString;
|
|
2474
2360
|
sourceReceiptId: z.ZodString;
|
|
@@ -2526,6 +2412,38 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2526
2412
|
rollbackId: string;
|
|
2527
2413
|
sourceReceiptId: string;
|
|
2528
2414
|
rollbackDigest: string;
|
|
2415
|
+
}>, {
|
|
2416
|
+
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2417
|
+
teamId: string;
|
|
2418
|
+
environment: "production" | "staging";
|
|
2419
|
+
operations: {
|
|
2420
|
+
action: "noop" | "restore" | "delete-created";
|
|
2421
|
+
resourceId: string;
|
|
2422
|
+
providerResourceId: string;
|
|
2423
|
+
targetDigest: string | null;
|
|
2424
|
+
}[];
|
|
2425
|
+
deploymentId: string;
|
|
2426
|
+
stackId: string;
|
|
2427
|
+
backendBindingDigest: string;
|
|
2428
|
+
rollbackId: string;
|
|
2429
|
+
sourceReceiptId: string;
|
|
2430
|
+
rollbackDigest: string;
|
|
2431
|
+
}, {
|
|
2432
|
+
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2433
|
+
teamId: string;
|
|
2434
|
+
environment: "production" | "staging";
|
|
2435
|
+
operations: {
|
|
2436
|
+
action: "noop" | "restore" | "delete-created";
|
|
2437
|
+
resourceId: string;
|
|
2438
|
+
providerResourceId: string;
|
|
2439
|
+
targetDigest: string | null;
|
|
2440
|
+
}[];
|
|
2441
|
+
deploymentId: string;
|
|
2442
|
+
stackId: string;
|
|
2443
|
+
backendBindingDigest: string;
|
|
2444
|
+
rollbackId: string;
|
|
2445
|
+
sourceReceiptId: string;
|
|
2446
|
+
rollbackDigest: string;
|
|
2529
2447
|
}>;
|
|
2530
2448
|
sourceReceiptId: z.ZodString;
|
|
2531
2449
|
topologyId: z.ZodString;
|
|
@@ -2654,45 +2572,10 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2654
2572
|
targetPlanDigest: string;
|
|
2655
2573
|
executionDigest: string;
|
|
2656
2574
|
}>;
|
|
2657
|
-
export declare const hostedTopologyRollbackExecutionApprovalSchema: z.ZodObject<{
|
|
2658
|
-
schemaVersion: z.ZodLiteral<"treeseed.hosted-topology-rollback-execution-approval/v1">;
|
|
2659
|
-
executionDigest: z.ZodString;
|
|
2660
|
-
teamId: z.ZodString;
|
|
2661
|
-
deploymentId: z.ZodString;
|
|
2662
|
-
stackId: z.ZodString;
|
|
2663
|
-
environment: z.ZodEnum<["staging", "production"]>;
|
|
2664
|
-
backendBindingDigest: z.ZodString;
|
|
2665
|
-
decision: z.ZodLiteral<"approved">;
|
|
2666
|
-
approvedBy: z.ZodString;
|
|
2667
|
-
approvedAt: z.ZodString;
|
|
2668
|
-
}, "strict", z.ZodTypeAny, {
|
|
2669
|
-
schemaVersion: "treeseed.hosted-topology-rollback-execution-approval/v1";
|
|
2670
|
-
teamId: string;
|
|
2671
|
-
environment: "production" | "staging";
|
|
2672
|
-
deploymentId: string;
|
|
2673
|
-
stackId: string;
|
|
2674
|
-
backendBindingDigest: string;
|
|
2675
|
-
decision: "approved";
|
|
2676
|
-
approvedBy: string;
|
|
2677
|
-
approvedAt: string;
|
|
2678
|
-
executionDigest: string;
|
|
2679
|
-
}, {
|
|
2680
|
-
schemaVersion: "treeseed.hosted-topology-rollback-execution-approval/v1";
|
|
2681
|
-
teamId: string;
|
|
2682
|
-
environment: "production" | "staging";
|
|
2683
|
-
deploymentId: string;
|
|
2684
|
-
stackId: string;
|
|
2685
|
-
backendBindingDigest: string;
|
|
2686
|
-
decision: "approved";
|
|
2687
|
-
approvedBy: string;
|
|
2688
|
-
approvedAt: string;
|
|
2689
|
-
executionDigest: string;
|
|
2690
|
-
}>;
|
|
2691
2575
|
export type HostedTopologyDeclaration = z.infer<typeof hostedTopologyDeclarationSchema>;
|
|
2692
2576
|
export type HostedStateBackend = z.infer<typeof hostedStateBackendSchema>;
|
|
2693
2577
|
export type HostedResourceObservation = z.infer<typeof hostedResourceObservationSchema>;
|
|
2694
2578
|
export type HostedTopologyPlan = z.infer<typeof hostedTopologyPlanSchema>;
|
|
2695
|
-
export type HostedTopologyApproval = z.infer<typeof hostedTopologyApprovalSchema>;
|
|
2696
2579
|
export type AuthorizedHostedTopologyPlan = z.infer<typeof authorizedHostedTopologyPlanSchema>;
|
|
2697
2580
|
export type HostedTopologyReceipt = z.infer<typeof hostedTopologyReceiptSchema>;
|
|
2698
2581
|
export type HostedTopologyRollbackExecution = z.infer<typeof hostedTopologyRollbackExecutionSchema>;
|
|
@@ -2702,7 +2585,7 @@ export declare function planHostedTopology(input: {
|
|
|
2702
2585
|
connections: Partial<Record<z.infer<typeof hostedProviderSchema>, z.input<typeof hostedConnectionSnapshotSchema>>>;
|
|
2703
2586
|
stateBackend?: z.input<typeof hostedStateBackendSchema>;
|
|
2704
2587
|
}): HostedTopologyPlan;
|
|
2705
|
-
export declare function authorizeHostedTopologyPlan(planInput: HostedTopologyPlan
|
|
2588
|
+
export declare function authorizeHostedTopologyPlan(planInput: HostedTopologyPlan): AuthorizedHostedTopologyPlan;
|
|
2706
2589
|
export declare function verifyHostedTopologyReadback(input: {
|
|
2707
2590
|
plan: AuthorizedHostedTopologyPlan;
|
|
2708
2591
|
previousResources: HostedResourceObservation[];
|
|
@@ -2726,7 +2609,7 @@ export declare function planHostedTopologyRollback(receiptInput: HostedTopologyR
|
|
|
2726
2609
|
sourceReceiptId: string;
|
|
2727
2610
|
rollbackDigest: string;
|
|
2728
2611
|
};
|
|
2729
|
-
export declare function authorizeHostedTopologyRollback(rollbackInput: z.input<typeof hostedTopologyRollbackSchema
|
|
2612
|
+
export declare function authorizeHostedTopologyRollback(rollbackInput: z.input<typeof hostedTopologyRollbackSchema>): {
|
|
2730
2613
|
rollback: {
|
|
2731
2614
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2732
2615
|
teamId: string;
|
|
@@ -2744,18 +2627,6 @@ export declare function authorizeHostedTopologyRollback(rollbackInput: z.input<t
|
|
|
2744
2627
|
sourceReceiptId: string;
|
|
2745
2628
|
rollbackDigest: string;
|
|
2746
2629
|
};
|
|
2747
|
-
approval: {
|
|
2748
|
-
schemaVersion: "treeseed.hosted-topology-rollback-approval/v1";
|
|
2749
|
-
teamId: string;
|
|
2750
|
-
environment: "production" | "staging";
|
|
2751
|
-
deploymentId: string;
|
|
2752
|
-
stackId: string;
|
|
2753
|
-
backendBindingDigest: string;
|
|
2754
|
-
decision: "approved";
|
|
2755
|
-
approvedBy: string;
|
|
2756
|
-
approvedAt: string;
|
|
2757
|
-
rollbackDigest: string;
|
|
2758
|
-
};
|
|
2759
2630
|
};
|
|
2760
2631
|
export declare function planHostedTopologyRollbackExecution(input: {
|
|
2761
2632
|
rollback: z.input<typeof hostedTopologyRollbackSchema>;
|
|
@@ -2792,7 +2663,7 @@ export declare function planHostedTopologyRollbackExecution(input: {
|
|
|
2792
2663
|
targetPlanDigest: string;
|
|
2793
2664
|
executionDigest: string;
|
|
2794
2665
|
};
|
|
2795
|
-
export declare function authorizeHostedTopologyRollbackExecution(executionInput: z.input<typeof hostedTopologyRollbackExecutionSchema
|
|
2666
|
+
export declare function authorizeHostedTopologyRollbackExecution(executionInput: z.input<typeof hostedTopologyRollbackExecutionSchema>): {
|
|
2796
2667
|
execution: {
|
|
2797
2668
|
schemaVersion: "treeseed.hosted-topology-rollback-execution/v1";
|
|
2798
2669
|
teamId: string;
|
|
@@ -2823,17 +2694,5 @@ export declare function authorizeHostedTopologyRollbackExecution(executionInput:
|
|
|
2823
2694
|
targetPlanDigest: string;
|
|
2824
2695
|
executionDigest: string;
|
|
2825
2696
|
};
|
|
2826
|
-
approval: {
|
|
2827
|
-
schemaVersion: "treeseed.hosted-topology-rollback-execution-approval/v1";
|
|
2828
|
-
teamId: string;
|
|
2829
|
-
environment: "production" | "staging";
|
|
2830
|
-
deploymentId: string;
|
|
2831
|
-
stackId: string;
|
|
2832
|
-
backendBindingDigest: string;
|
|
2833
|
-
decision: "approved";
|
|
2834
|
-
approvedBy: string;
|
|
2835
|
-
approvedAt: string;
|
|
2836
|
-
executionDigest: string;
|
|
2837
|
-
};
|
|
2838
2697
|
};
|
|
2839
2698
|
export {};
|