@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124
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/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
- package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
- package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/agent-capacity/validation/assignment-records.js +45 -0
- package/dist/capacity/agents/agent-capacity.d.ts +1 -0
- package/dist/capacity/agents/agent-capacity.js +1 -0
- package/dist/capacity-provider/capability-ontology.d.ts +102 -102
- package/dist/capacity-provider/client.d.ts +14 -7
- package/dist/capacity-provider/client.js +1 -4
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +22 -22
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +4 -4
- package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
- package/dist/capacity-provider/source-workspace.d.ts +76 -76
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
- package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
- package/dist/content/validation/content-model-schemas.js +97 -87
- package/dist/content/validation/portable-content-data.d.ts +173 -168
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +20 -20
- package/dist/deployment/ai-hosting.d.ts +12 -12
- package/dist/deployment/ai-instance.d.ts +12 -12
- package/dist/deployment/ai-mode.d.ts +34 -34
- package/dist/deployment/hosted-topology-template.d.ts +25 -25
- package/dist/deployment/hosted-topology.d.ts +146 -146
- package/dist/deployment/postgres/transfer.d.ts +2 -2
- package/dist/deployment/schemas.d.ts +504 -504
- package/dist/development/schemas.d.ts +325 -325
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- package/dist/operator-contracts/canonical-command-tree.js +22 -8
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
- package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
- package/dist/operator-contracts/communication/contracts.d.ts +340 -198
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
- package/dist/operator-contracts/control-plane-operations.js +26 -10
- package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
- package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
- package/dist/operator-contracts/workday-lifecycle.js +108 -45
- package/dist/platform/agent-schema-verification.js +316 -33
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +4 -0
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +1 -1
- package/dist/secrets-capability/shared-resources.d.ts +30 -30
- package/dist/security/encrypted-envelope.d.ts +6 -6
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/dist/types/agents/agent-activity-profile.d.ts +1 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +10 -5
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
|
@@ -150,14 +150,14 @@ export declare const hostedArtifactSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
150
150
|
source: z.ZodString;
|
|
151
151
|
}, "strict", z.ZodTypeAny, {
|
|
152
152
|
kind: "archive";
|
|
153
|
-
digest: string;
|
|
154
|
-
source: string;
|
|
155
153
|
format: "tar+gzip";
|
|
154
|
+
source: string;
|
|
155
|
+
digest: string;
|
|
156
156
|
}, {
|
|
157
157
|
kind: "archive";
|
|
158
|
-
digest: string;
|
|
159
|
-
source: string;
|
|
160
158
|
format: "tar+gzip";
|
|
159
|
+
source: string;
|
|
160
|
+
digest: string;
|
|
161
161
|
}>, z.ZodObject<{
|
|
162
162
|
kind: z.ZodLiteral<"file">;
|
|
163
163
|
mediaType: z.ZodString;
|
|
@@ -165,13 +165,13 @@ export declare const hostedArtifactSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
165
165
|
source: z.ZodString;
|
|
166
166
|
}, "strict", z.ZodTypeAny, {
|
|
167
167
|
kind: "file";
|
|
168
|
-
digest: string;
|
|
169
168
|
source: string;
|
|
169
|
+
digest: string;
|
|
170
170
|
mediaType: string;
|
|
171
171
|
}, {
|
|
172
172
|
kind: "file";
|
|
173
|
-
digest: string;
|
|
174
173
|
source: string;
|
|
174
|
+
digest: string;
|
|
175
175
|
mediaType: string;
|
|
176
176
|
}>, z.ZodEffects<z.ZodObject<{
|
|
177
177
|
kind: z.ZodLiteral<"oci-image">;
|
|
@@ -325,11 +325,11 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
325
325
|
repository: z.ZodLiteral<"treeseed-ai/platform">;
|
|
326
326
|
commit: z.ZodString;
|
|
327
327
|
}, "strict", z.ZodTypeAny, {
|
|
328
|
-
repository: "treeseed-ai/platform";
|
|
329
328
|
commit: string;
|
|
330
|
-
}, {
|
|
331
329
|
repository: "treeseed-ai/platform";
|
|
330
|
+
}, {
|
|
332
331
|
commit: string;
|
|
332
|
+
repository: "treeseed-ai/platform";
|
|
333
333
|
}>;
|
|
334
334
|
stateBackend: z.ZodObject<{
|
|
335
335
|
connectionRef: z.ZodString;
|
|
@@ -352,14 +352,14 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
352
352
|
source: z.ZodString;
|
|
353
353
|
}, "strict", z.ZodTypeAny, {
|
|
354
354
|
kind: "archive";
|
|
355
|
-
digest: string;
|
|
356
|
-
source: string;
|
|
357
355
|
format: "tar+gzip";
|
|
356
|
+
source: string;
|
|
357
|
+
digest: string;
|
|
358
358
|
}, {
|
|
359
359
|
kind: "archive";
|
|
360
|
-
digest: string;
|
|
361
|
-
source: string;
|
|
362
360
|
format: "tar+gzip";
|
|
361
|
+
source: string;
|
|
362
|
+
digest: string;
|
|
363
363
|
}>, z.ZodObject<{
|
|
364
364
|
kind: z.ZodLiteral<"file">;
|
|
365
365
|
mediaType: z.ZodString;
|
|
@@ -367,13 +367,13 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
367
367
|
source: z.ZodString;
|
|
368
368
|
}, "strict", z.ZodTypeAny, {
|
|
369
369
|
kind: "file";
|
|
370
|
-
digest: string;
|
|
371
370
|
source: string;
|
|
371
|
+
digest: string;
|
|
372
372
|
mediaType: string;
|
|
373
373
|
}, {
|
|
374
374
|
kind: "file";
|
|
375
|
-
digest: string;
|
|
376
375
|
source: string;
|
|
376
|
+
digest: string;
|
|
377
377
|
mediaType: string;
|
|
378
378
|
}>, z.ZodEffects<z.ZodObject<{
|
|
379
379
|
kind: z.ZodLiteral<"oci-image">;
|
|
@@ -502,6 +502,12 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
502
502
|
}, "strict", z.ZodTypeAny, {
|
|
503
503
|
id: string;
|
|
504
504
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
505
|
+
teamId: string;
|
|
506
|
+
platform: {
|
|
507
|
+
commit: string;
|
|
508
|
+
repository: "treeseed-ai/platform";
|
|
509
|
+
};
|
|
510
|
+
environment: "staging" | "production";
|
|
505
511
|
resources: {
|
|
506
512
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
507
513
|
provider: "railway" | "cloudflare";
|
|
@@ -525,22 +531,16 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
525
531
|
externalIdInput?: string | undefined;
|
|
526
532
|
};
|
|
527
533
|
}[];
|
|
528
|
-
teamId: string;
|
|
529
|
-
platform: {
|
|
530
|
-
repository: "treeseed-ai/platform";
|
|
531
|
-
commit: string;
|
|
532
|
-
};
|
|
533
|
-
environment: "staging" | "production";
|
|
534
534
|
mutation: "agent-authorized";
|
|
535
535
|
artifacts: Record<string, {
|
|
536
536
|
kind: "archive";
|
|
537
|
-
digest: string;
|
|
538
|
-
source: string;
|
|
539
537
|
format: "tar+gzip";
|
|
538
|
+
source: string;
|
|
539
|
+
digest: string;
|
|
540
540
|
} | {
|
|
541
541
|
kind: "file";
|
|
542
|
-
digest: string;
|
|
543
542
|
source: string;
|
|
543
|
+
digest: string;
|
|
544
544
|
mediaType: string;
|
|
545
545
|
} | {
|
|
546
546
|
identity: string;
|
|
@@ -558,6 +558,12 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
558
558
|
}, {
|
|
559
559
|
id: string;
|
|
560
560
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
561
|
+
teamId: string;
|
|
562
|
+
platform: {
|
|
563
|
+
commit: string;
|
|
564
|
+
repository: "treeseed-ai/platform";
|
|
565
|
+
};
|
|
566
|
+
environment: "staging" | "production";
|
|
561
567
|
resources: {
|
|
562
568
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
563
569
|
provider: "railway" | "cloudflare";
|
|
@@ -581,22 +587,16 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
581
587
|
literal: string | number | boolean;
|
|
582
588
|
}> | undefined;
|
|
583
589
|
}[];
|
|
584
|
-
teamId: string;
|
|
585
|
-
platform: {
|
|
586
|
-
repository: "treeseed-ai/platform";
|
|
587
|
-
commit: string;
|
|
588
|
-
};
|
|
589
|
-
environment: "staging" | "production";
|
|
590
590
|
mutation: "agent-authorized";
|
|
591
591
|
artifacts: Record<string, {
|
|
592
592
|
kind: "archive";
|
|
593
|
-
digest: string;
|
|
594
|
-
source: string;
|
|
595
593
|
format: "tar+gzip";
|
|
594
|
+
source: string;
|
|
595
|
+
digest: string;
|
|
596
596
|
} | {
|
|
597
597
|
kind: "file";
|
|
598
|
-
digest: string;
|
|
599
598
|
source: string;
|
|
599
|
+
digest: string;
|
|
600
600
|
mediaType: string;
|
|
601
601
|
} | {
|
|
602
602
|
identity: string;
|
|
@@ -614,6 +614,12 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
614
614
|
}>, {
|
|
615
615
|
id: string;
|
|
616
616
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
617
|
+
teamId: string;
|
|
618
|
+
platform: {
|
|
619
|
+
commit: string;
|
|
620
|
+
repository: "treeseed-ai/platform";
|
|
621
|
+
};
|
|
622
|
+
environment: "staging" | "production";
|
|
617
623
|
resources: {
|
|
618
624
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
619
625
|
provider: "railway" | "cloudflare";
|
|
@@ -637,22 +643,16 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
637
643
|
externalIdInput?: string | undefined;
|
|
638
644
|
};
|
|
639
645
|
}[];
|
|
640
|
-
teamId: string;
|
|
641
|
-
platform: {
|
|
642
|
-
repository: "treeseed-ai/platform";
|
|
643
|
-
commit: string;
|
|
644
|
-
};
|
|
645
|
-
environment: "staging" | "production";
|
|
646
646
|
mutation: "agent-authorized";
|
|
647
647
|
artifacts: Record<string, {
|
|
648
648
|
kind: "archive";
|
|
649
|
-
digest: string;
|
|
650
|
-
source: string;
|
|
651
649
|
format: "tar+gzip";
|
|
650
|
+
source: string;
|
|
651
|
+
digest: string;
|
|
652
652
|
} | {
|
|
653
653
|
kind: "file";
|
|
654
|
-
digest: string;
|
|
655
654
|
source: string;
|
|
655
|
+
digest: string;
|
|
656
656
|
mediaType: string;
|
|
657
657
|
} | {
|
|
658
658
|
identity: string;
|
|
@@ -670,6 +670,12 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
670
670
|
}, {
|
|
671
671
|
id: string;
|
|
672
672
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
673
|
+
teamId: string;
|
|
674
|
+
platform: {
|
|
675
|
+
commit: string;
|
|
676
|
+
repository: "treeseed-ai/platform";
|
|
677
|
+
};
|
|
678
|
+
environment: "staging" | "production";
|
|
673
679
|
resources: {
|
|
674
680
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
675
681
|
provider: "railway" | "cloudflare";
|
|
@@ -693,22 +699,16 @@ export declare const hostedTopologyDeclarationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
693
699
|
literal: string | number | boolean;
|
|
694
700
|
}> | undefined;
|
|
695
701
|
}[];
|
|
696
|
-
teamId: string;
|
|
697
|
-
platform: {
|
|
698
|
-
repository: "treeseed-ai/platform";
|
|
699
|
-
commit: string;
|
|
700
|
-
};
|
|
701
|
-
environment: "staging" | "production";
|
|
702
702
|
mutation: "agent-authorized";
|
|
703
703
|
artifacts: Record<string, {
|
|
704
704
|
kind: "archive";
|
|
705
|
-
digest: string;
|
|
706
|
-
source: string;
|
|
707
705
|
format: "tar+gzip";
|
|
706
|
+
source: string;
|
|
707
|
+
digest: string;
|
|
708
708
|
} | {
|
|
709
709
|
kind: "file";
|
|
710
|
-
digest: string;
|
|
711
710
|
source: string;
|
|
711
|
+
digest: string;
|
|
712
712
|
mediaType: string;
|
|
713
713
|
} | {
|
|
714
714
|
identity: string;
|
|
@@ -736,7 +736,7 @@ export declare const hostedResourceObservationSchema: z.ZodObject<{
|
|
|
736
736
|
}, "strict", z.ZodTypeAny, {
|
|
737
737
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
738
738
|
provider: "railway" | "cloudflare";
|
|
739
|
-
state: "
|
|
739
|
+
state: "degraded" | "missing" | "healthy";
|
|
740
740
|
observedAt: string;
|
|
741
741
|
resourceId: string;
|
|
742
742
|
providerResourceId: string | null;
|
|
@@ -745,7 +745,7 @@ export declare const hostedResourceObservationSchema: z.ZodObject<{
|
|
|
745
745
|
}, {
|
|
746
746
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
747
747
|
provider: "railway" | "cloudflare";
|
|
748
|
-
state: "
|
|
748
|
+
state: "degraded" | "missing" | "healthy";
|
|
749
749
|
observedAt: string;
|
|
750
750
|
resourceId: string;
|
|
751
751
|
providerResourceId: string | null;
|
|
@@ -847,14 +847,14 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
847
847
|
source: z.ZodString;
|
|
848
848
|
}, "strict", z.ZodTypeAny, {
|
|
849
849
|
kind: "archive";
|
|
850
|
-
digest: string;
|
|
851
|
-
source: string;
|
|
852
850
|
format: "tar+gzip";
|
|
851
|
+
source: string;
|
|
852
|
+
digest: string;
|
|
853
853
|
}, {
|
|
854
854
|
kind: "archive";
|
|
855
|
-
digest: string;
|
|
856
|
-
source: string;
|
|
857
855
|
format: "tar+gzip";
|
|
856
|
+
source: string;
|
|
857
|
+
digest: string;
|
|
858
858
|
}>, z.ZodObject<{
|
|
859
859
|
kind: z.ZodLiteral<"file">;
|
|
860
860
|
mediaType: z.ZodString;
|
|
@@ -862,13 +862,13 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
862
|
source: z.ZodString;
|
|
863
863
|
}, "strict", z.ZodTypeAny, {
|
|
864
864
|
kind: "file";
|
|
865
|
-
digest: string;
|
|
866
865
|
source: string;
|
|
866
|
+
digest: string;
|
|
867
867
|
mediaType: string;
|
|
868
868
|
}, {
|
|
869
869
|
kind: "file";
|
|
870
|
-
digest: string;
|
|
871
870
|
source: string;
|
|
871
|
+
digest: string;
|
|
872
872
|
mediaType: string;
|
|
873
873
|
}>, z.ZodEffects<z.ZodObject<{
|
|
874
874
|
kind: z.ZodLiteral<"oci-image">;
|
|
@@ -1021,7 +1021,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1021
1021
|
}, "strict", z.ZodTypeAny, {
|
|
1022
1022
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1023
1023
|
provider: "railway" | "cloudflare";
|
|
1024
|
-
action: "
|
|
1024
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1025
1025
|
resourceId: string;
|
|
1026
1026
|
providerResourceId: string | null;
|
|
1027
1027
|
desiredResource: {
|
|
@@ -1052,7 +1052,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1052
1052
|
}, {
|
|
1053
1053
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1054
1054
|
provider: "railway" | "cloudflare";
|
|
1055
|
-
action: "
|
|
1055
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1056
1056
|
resourceId: string;
|
|
1057
1057
|
providerResourceId: string | null;
|
|
1058
1058
|
desiredResource: {
|
|
@@ -1098,6 +1098,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1098
1098
|
readonly executable: z.ZodLiteral<false>;
|
|
1099
1099
|
}, "strict", z.ZodTypeAny, {
|
|
1100
1100
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1101
|
+
teamId: string;
|
|
1102
|
+
environment: "staging" | "production";
|
|
1101
1103
|
blockers: {
|
|
1102
1104
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1103
1105
|
message: string;
|
|
@@ -1107,7 +1109,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1107
1109
|
actions: {
|
|
1108
1110
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1109
1111
|
provider: "railway" | "cloudflare";
|
|
1110
|
-
action: "
|
|
1112
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1111
1113
|
resourceId: string;
|
|
1112
1114
|
providerResourceId: string | null;
|
|
1113
1115
|
desiredResource: {
|
|
@@ -1136,18 +1138,16 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1136
1138
|
desiredDigest: string;
|
|
1137
1139
|
previousDigest: string | null;
|
|
1138
1140
|
}[];
|
|
1139
|
-
teamId: string;
|
|
1140
|
-
environment: "staging" | "production";
|
|
1141
1141
|
executable: false;
|
|
1142
1142
|
artifacts: Record<string, {
|
|
1143
1143
|
kind: "archive";
|
|
1144
|
-
digest: string;
|
|
1145
|
-
source: string;
|
|
1146
1144
|
format: "tar+gzip";
|
|
1145
|
+
source: string;
|
|
1146
|
+
digest: string;
|
|
1147
1147
|
} | {
|
|
1148
1148
|
kind: "file";
|
|
1149
|
-
digest: string;
|
|
1150
1149
|
source: string;
|
|
1150
|
+
digest: string;
|
|
1151
1151
|
mediaType: string;
|
|
1152
1152
|
} | {
|
|
1153
1153
|
identity: string;
|
|
@@ -1183,6 +1183,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1183
1183
|
authorization: "authenticated-agent";
|
|
1184
1184
|
}, {
|
|
1185
1185
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1186
|
+
teamId: string;
|
|
1187
|
+
environment: "staging" | "production";
|
|
1186
1188
|
blockers: {
|
|
1187
1189
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1188
1190
|
message: string;
|
|
@@ -1192,7 +1194,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1192
1194
|
actions: {
|
|
1193
1195
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1194
1196
|
provider: "railway" | "cloudflare";
|
|
1195
|
-
action: "
|
|
1197
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1196
1198
|
resourceId: string;
|
|
1197
1199
|
providerResourceId: string | null;
|
|
1198
1200
|
desiredResource: {
|
|
@@ -1221,18 +1223,16 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1221
1223
|
desiredDigest: string;
|
|
1222
1224
|
previousDigest: string | null;
|
|
1223
1225
|
}[];
|
|
1224
|
-
teamId: string;
|
|
1225
|
-
environment: "staging" | "production";
|
|
1226
1226
|
executable: false;
|
|
1227
1227
|
artifacts: Record<string, {
|
|
1228
1228
|
kind: "archive";
|
|
1229
|
-
digest: string;
|
|
1230
|
-
source: string;
|
|
1231
1229
|
format: "tar+gzip";
|
|
1230
|
+
source: string;
|
|
1231
|
+
digest: string;
|
|
1232
1232
|
} | {
|
|
1233
1233
|
kind: "file";
|
|
1234
|
-
digest: string;
|
|
1235
1234
|
source: string;
|
|
1235
|
+
digest: string;
|
|
1236
1236
|
mediaType: string;
|
|
1237
1237
|
} | {
|
|
1238
1238
|
identity: string;
|
|
@@ -1268,6 +1268,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1268
1268
|
authorization: "authenticated-agent";
|
|
1269
1269
|
}>, {
|
|
1270
1270
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1271
|
+
teamId: string;
|
|
1272
|
+
environment: "staging" | "production";
|
|
1271
1273
|
blockers: {
|
|
1272
1274
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1273
1275
|
message: string;
|
|
@@ -1277,7 +1279,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1277
1279
|
actions: {
|
|
1278
1280
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1279
1281
|
provider: "railway" | "cloudflare";
|
|
1280
|
-
action: "
|
|
1282
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1281
1283
|
resourceId: string;
|
|
1282
1284
|
providerResourceId: string | null;
|
|
1283
1285
|
desiredResource: {
|
|
@@ -1306,18 +1308,16 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1306
1308
|
desiredDigest: string;
|
|
1307
1309
|
previousDigest: string | null;
|
|
1308
1310
|
}[];
|
|
1309
|
-
teamId: string;
|
|
1310
|
-
environment: "staging" | "production";
|
|
1311
1311
|
executable: false;
|
|
1312
1312
|
artifacts: Record<string, {
|
|
1313
1313
|
kind: "archive";
|
|
1314
|
-
digest: string;
|
|
1315
|
-
source: string;
|
|
1316
1314
|
format: "tar+gzip";
|
|
1315
|
+
source: string;
|
|
1316
|
+
digest: string;
|
|
1317
1317
|
} | {
|
|
1318
1318
|
kind: "file";
|
|
1319
|
-
digest: string;
|
|
1320
1319
|
source: string;
|
|
1320
|
+
digest: string;
|
|
1321
1321
|
mediaType: string;
|
|
1322
1322
|
} | {
|
|
1323
1323
|
identity: string;
|
|
@@ -1353,6 +1353,8 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1353
1353
|
authorization: "authenticated-agent";
|
|
1354
1354
|
}, {
|
|
1355
1355
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1356
|
+
teamId: string;
|
|
1357
|
+
environment: "staging" | "production";
|
|
1356
1358
|
blockers: {
|
|
1357
1359
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1358
1360
|
message: string;
|
|
@@ -1362,7 +1364,7 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1362
1364
|
actions: {
|
|
1363
1365
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1364
1366
|
provider: "railway" | "cloudflare";
|
|
1365
|
-
action: "
|
|
1367
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1366
1368
|
resourceId: string;
|
|
1367
1369
|
providerResourceId: string | null;
|
|
1368
1370
|
desiredResource: {
|
|
@@ -1391,18 +1393,16 @@ export declare const hostedTopologyPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1391
1393
|
desiredDigest: string;
|
|
1392
1394
|
previousDigest: string | null;
|
|
1393
1395
|
}[];
|
|
1394
|
-
teamId: string;
|
|
1395
|
-
environment: "staging" | "production";
|
|
1396
1396
|
executable: false;
|
|
1397
1397
|
artifacts: Record<string, {
|
|
1398
1398
|
kind: "archive";
|
|
1399
|
-
digest: string;
|
|
1400
|
-
source: string;
|
|
1401
1399
|
format: "tar+gzip";
|
|
1400
|
+
source: string;
|
|
1401
|
+
digest: string;
|
|
1402
1402
|
} | {
|
|
1403
1403
|
kind: "file";
|
|
1404
|
-
digest: string;
|
|
1405
1404
|
source: string;
|
|
1405
|
+
digest: string;
|
|
1406
1406
|
mediaType: string;
|
|
1407
1407
|
} | {
|
|
1408
1408
|
identity: string;
|
|
@@ -1533,14 +1533,14 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1533
1533
|
source: z.ZodString;
|
|
1534
1534
|
}, "strict", z.ZodTypeAny, {
|
|
1535
1535
|
kind: "archive";
|
|
1536
|
-
digest: string;
|
|
1537
|
-
source: string;
|
|
1538
1536
|
format: "tar+gzip";
|
|
1537
|
+
source: string;
|
|
1538
|
+
digest: string;
|
|
1539
1539
|
}, {
|
|
1540
1540
|
kind: "archive";
|
|
1541
|
-
digest: string;
|
|
1542
|
-
source: string;
|
|
1543
1541
|
format: "tar+gzip";
|
|
1542
|
+
source: string;
|
|
1543
|
+
digest: string;
|
|
1544
1544
|
}>, z.ZodObject<{
|
|
1545
1545
|
kind: z.ZodLiteral<"file">;
|
|
1546
1546
|
mediaType: z.ZodString;
|
|
@@ -1548,13 +1548,13 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1548
1548
|
source: z.ZodString;
|
|
1549
1549
|
}, "strict", z.ZodTypeAny, {
|
|
1550
1550
|
kind: "file";
|
|
1551
|
-
digest: string;
|
|
1552
1551
|
source: string;
|
|
1552
|
+
digest: string;
|
|
1553
1553
|
mediaType: string;
|
|
1554
1554
|
}, {
|
|
1555
1555
|
kind: "file";
|
|
1556
|
-
digest: string;
|
|
1557
1556
|
source: string;
|
|
1557
|
+
digest: string;
|
|
1558
1558
|
mediaType: string;
|
|
1559
1559
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1560
1560
|
kind: z.ZodLiteral<"oci-image">;
|
|
@@ -1707,7 +1707,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1707
1707
|
}, "strict", z.ZodTypeAny, {
|
|
1708
1708
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1709
1709
|
provider: "railway" | "cloudflare";
|
|
1710
|
-
action: "
|
|
1710
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1711
1711
|
resourceId: string;
|
|
1712
1712
|
providerResourceId: string | null;
|
|
1713
1713
|
desiredResource: {
|
|
@@ -1738,7 +1738,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1738
1738
|
}, {
|
|
1739
1739
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1740
1740
|
provider: "railway" | "cloudflare";
|
|
1741
|
-
action: "
|
|
1741
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1742
1742
|
resourceId: string;
|
|
1743
1743
|
providerResourceId: string | null;
|
|
1744
1744
|
desiredResource: {
|
|
@@ -1783,6 +1783,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1783
1783
|
authorization: z.ZodLiteral<"authenticated-agent">;
|
|
1784
1784
|
}, "strict", z.ZodTypeAny, {
|
|
1785
1785
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1786
|
+
teamId: string;
|
|
1787
|
+
environment: "staging" | "production";
|
|
1786
1788
|
blockers: {
|
|
1787
1789
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1788
1790
|
message: string;
|
|
@@ -1792,7 +1794,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1792
1794
|
actions: {
|
|
1793
1795
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1794
1796
|
provider: "railway" | "cloudflare";
|
|
1795
|
-
action: "
|
|
1797
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1796
1798
|
resourceId: string;
|
|
1797
1799
|
providerResourceId: string | null;
|
|
1798
1800
|
desiredResource: {
|
|
@@ -1821,18 +1823,16 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1821
1823
|
desiredDigest: string;
|
|
1822
1824
|
previousDigest: string | null;
|
|
1823
1825
|
}[];
|
|
1824
|
-
teamId: string;
|
|
1825
|
-
environment: "staging" | "production";
|
|
1826
1826
|
executable: true;
|
|
1827
1827
|
artifacts: Record<string, {
|
|
1828
1828
|
kind: "archive";
|
|
1829
|
-
digest: string;
|
|
1830
|
-
source: string;
|
|
1831
1829
|
format: "tar+gzip";
|
|
1830
|
+
source: string;
|
|
1831
|
+
digest: string;
|
|
1832
1832
|
} | {
|
|
1833
1833
|
kind: "file";
|
|
1834
|
-
digest: string;
|
|
1835
1834
|
source: string;
|
|
1835
|
+
digest: string;
|
|
1836
1836
|
mediaType: string;
|
|
1837
1837
|
} | {
|
|
1838
1838
|
identity: string;
|
|
@@ -1868,6 +1868,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1868
1868
|
authorization: "authenticated-agent";
|
|
1869
1869
|
}, {
|
|
1870
1870
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1871
|
+
teamId: string;
|
|
1872
|
+
environment: "staging" | "production";
|
|
1871
1873
|
blockers: {
|
|
1872
1874
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1873
1875
|
message: string;
|
|
@@ -1877,7 +1879,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1877
1879
|
actions: {
|
|
1878
1880
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1879
1881
|
provider: "railway" | "cloudflare";
|
|
1880
|
-
action: "
|
|
1882
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1881
1883
|
resourceId: string;
|
|
1882
1884
|
providerResourceId: string | null;
|
|
1883
1885
|
desiredResource: {
|
|
@@ -1906,18 +1908,16 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1906
1908
|
desiredDigest: string;
|
|
1907
1909
|
previousDigest: string | null;
|
|
1908
1910
|
}[];
|
|
1909
|
-
teamId: string;
|
|
1910
|
-
environment: "staging" | "production";
|
|
1911
1911
|
executable: true;
|
|
1912
1912
|
artifacts: Record<string, {
|
|
1913
1913
|
kind: "archive";
|
|
1914
|
-
digest: string;
|
|
1915
|
-
source: string;
|
|
1916
1914
|
format: "tar+gzip";
|
|
1915
|
+
source: string;
|
|
1916
|
+
digest: string;
|
|
1917
1917
|
} | {
|
|
1918
1918
|
kind: "file";
|
|
1919
|
-
digest: string;
|
|
1920
1919
|
source: string;
|
|
1920
|
+
digest: string;
|
|
1921
1921
|
mediaType: string;
|
|
1922
1922
|
} | {
|
|
1923
1923
|
identity: string;
|
|
@@ -1953,6 +1953,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1953
1953
|
authorization: "authenticated-agent";
|
|
1954
1954
|
}>, {
|
|
1955
1955
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
1956
|
+
teamId: string;
|
|
1957
|
+
environment: "staging" | "production";
|
|
1956
1958
|
blockers: {
|
|
1957
1959
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
1958
1960
|
message: string;
|
|
@@ -1962,7 +1964,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1962
1964
|
actions: {
|
|
1963
1965
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
1964
1966
|
provider: "railway" | "cloudflare";
|
|
1965
|
-
action: "
|
|
1967
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
1966
1968
|
resourceId: string;
|
|
1967
1969
|
providerResourceId: string | null;
|
|
1968
1970
|
desiredResource: {
|
|
@@ -1991,18 +1993,16 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
1991
1993
|
desiredDigest: string;
|
|
1992
1994
|
previousDigest: string | null;
|
|
1993
1995
|
}[];
|
|
1994
|
-
teamId: string;
|
|
1995
|
-
environment: "staging" | "production";
|
|
1996
1996
|
executable: true;
|
|
1997
1997
|
artifacts: Record<string, {
|
|
1998
1998
|
kind: "archive";
|
|
1999
|
-
digest: string;
|
|
2000
|
-
source: string;
|
|
2001
1999
|
format: "tar+gzip";
|
|
2000
|
+
source: string;
|
|
2001
|
+
digest: string;
|
|
2002
2002
|
} | {
|
|
2003
2003
|
kind: "file";
|
|
2004
|
-
digest: string;
|
|
2005
2004
|
source: string;
|
|
2005
|
+
digest: string;
|
|
2006
2006
|
mediaType: string;
|
|
2007
2007
|
} | {
|
|
2008
2008
|
identity: string;
|
|
@@ -2038,6 +2038,8 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2038
2038
|
authorization: "authenticated-agent";
|
|
2039
2039
|
}, {
|
|
2040
2040
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
2041
|
+
teamId: string;
|
|
2042
|
+
environment: "staging" | "production";
|
|
2041
2043
|
blockers: {
|
|
2042
2044
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
2043
2045
|
message: string;
|
|
@@ -2047,7 +2049,7 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2047
2049
|
actions: {
|
|
2048
2050
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2049
2051
|
provider: "railway" | "cloudflare";
|
|
2050
|
-
action: "
|
|
2052
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
2051
2053
|
resourceId: string;
|
|
2052
2054
|
providerResourceId: string | null;
|
|
2053
2055
|
desiredResource: {
|
|
@@ -2076,18 +2078,16 @@ export declare const authorizedHostedTopologyPlanSchema: z.ZodEffects<z.ZodObjec
|
|
|
2076
2078
|
desiredDigest: string;
|
|
2077
2079
|
previousDigest: string | null;
|
|
2078
2080
|
}[];
|
|
2079
|
-
teamId: string;
|
|
2080
|
-
environment: "staging" | "production";
|
|
2081
2081
|
executable: true;
|
|
2082
2082
|
artifacts: Record<string, {
|
|
2083
2083
|
kind: "archive";
|
|
2084
|
-
digest: string;
|
|
2085
|
-
source: string;
|
|
2086
2084
|
format: "tar+gzip";
|
|
2085
|
+
source: string;
|
|
2086
|
+
digest: string;
|
|
2087
2087
|
} | {
|
|
2088
2088
|
kind: "file";
|
|
2089
|
-
digest: string;
|
|
2090
2089
|
source: string;
|
|
2090
|
+
digest: string;
|
|
2091
2091
|
mediaType: string;
|
|
2092
2092
|
} | {
|
|
2093
2093
|
identity: string;
|
|
@@ -2146,7 +2146,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2146
2146
|
}, "strict", z.ZodTypeAny, {
|
|
2147
2147
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2148
2148
|
provider: "railway" | "cloudflare";
|
|
2149
|
-
state: "
|
|
2149
|
+
state: "degraded" | "missing" | "healthy";
|
|
2150
2150
|
observedAt: string;
|
|
2151
2151
|
resourceId: string;
|
|
2152
2152
|
providerResourceId: string | null;
|
|
@@ -2155,7 +2155,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2155
2155
|
}, {
|
|
2156
2156
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2157
2157
|
provider: "railway" | "cloudflare";
|
|
2158
|
-
state: "
|
|
2158
|
+
state: "degraded" | "missing" | "healthy";
|
|
2159
2159
|
observedAt: string;
|
|
2160
2160
|
resourceId: string;
|
|
2161
2161
|
providerResourceId: string | null;
|
|
@@ -2174,7 +2174,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2174
2174
|
}, "strict", z.ZodTypeAny, {
|
|
2175
2175
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2176
2176
|
provider: "railway" | "cloudflare";
|
|
2177
|
-
state: "
|
|
2177
|
+
state: "degraded" | "missing" | "healthy";
|
|
2178
2178
|
observedAt: string;
|
|
2179
2179
|
resourceId: string;
|
|
2180
2180
|
providerResourceId: string | null;
|
|
@@ -2183,7 +2183,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2183
2183
|
}, {
|
|
2184
2184
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2185
2185
|
provider: "railway" | "cloudflare";
|
|
2186
|
-
state: "
|
|
2186
|
+
state: "degraded" | "missing" | "healthy";
|
|
2187
2187
|
observedAt: string;
|
|
2188
2188
|
resourceId: string;
|
|
2189
2189
|
providerResourceId: string | null;
|
|
@@ -2195,10 +2195,13 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2195
2195
|
}, "strict", z.ZodTypeAny, {
|
|
2196
2196
|
state: "known-good";
|
|
2197
2197
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
2198
|
+
teamId: string;
|
|
2199
|
+
environment: "staging" | "production";
|
|
2200
|
+
completedAt: string;
|
|
2198
2201
|
resources: {
|
|
2199
2202
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2200
2203
|
provider: "railway" | "cloudflare";
|
|
2201
|
-
state: "
|
|
2204
|
+
state: "degraded" | "missing" | "healthy";
|
|
2202
2205
|
observedAt: string;
|
|
2203
2206
|
resourceId: string;
|
|
2204
2207
|
providerResourceId: string | null;
|
|
@@ -2206,9 +2209,6 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2206
2209
|
observedDigest: string | null;
|
|
2207
2210
|
}[];
|
|
2208
2211
|
planDigest: string;
|
|
2209
|
-
teamId: string;
|
|
2210
|
-
environment: "staging" | "production";
|
|
2211
|
-
completedAt: string;
|
|
2212
2212
|
receiptId: string;
|
|
2213
2213
|
deploymentId: string;
|
|
2214
2214
|
stackId: string;
|
|
@@ -2219,7 +2219,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2219
2219
|
previousResources: {
|
|
2220
2220
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2221
2221
|
provider: "railway" | "cloudflare";
|
|
2222
|
-
state: "
|
|
2222
|
+
state: "degraded" | "missing" | "healthy";
|
|
2223
2223
|
observedAt: string;
|
|
2224
2224
|
resourceId: string;
|
|
2225
2225
|
providerResourceId: string | null;
|
|
@@ -2229,10 +2229,13 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2229
2229
|
}, {
|
|
2230
2230
|
state: "known-good";
|
|
2231
2231
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
2232
|
+
teamId: string;
|
|
2233
|
+
environment: "staging" | "production";
|
|
2234
|
+
completedAt: string;
|
|
2232
2235
|
resources: {
|
|
2233
2236
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2234
2237
|
provider: "railway" | "cloudflare";
|
|
2235
|
-
state: "
|
|
2238
|
+
state: "degraded" | "missing" | "healthy";
|
|
2236
2239
|
observedAt: string;
|
|
2237
2240
|
resourceId: string;
|
|
2238
2241
|
providerResourceId: string | null;
|
|
@@ -2240,9 +2243,6 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2240
2243
|
observedDigest: string | null;
|
|
2241
2244
|
}[];
|
|
2242
2245
|
planDigest: string;
|
|
2243
|
-
teamId: string;
|
|
2244
|
-
environment: "staging" | "production";
|
|
2245
|
-
completedAt: string;
|
|
2246
2246
|
receiptId: string;
|
|
2247
2247
|
deploymentId: string;
|
|
2248
2248
|
stackId: string;
|
|
@@ -2253,7 +2253,7 @@ export declare const hostedTopologyReceiptSchema: z.ZodObject<{
|
|
|
2253
2253
|
previousResources: {
|
|
2254
2254
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
2255
2255
|
provider: "railway" | "cloudflare";
|
|
2256
|
-
state: "
|
|
2256
|
+
state: "degraded" | "missing" | "healthy";
|
|
2257
2257
|
observedAt: string;
|
|
2258
2258
|
resourceId: string;
|
|
2259
2259
|
providerResourceId: string | null;
|
|
@@ -2290,13 +2290,13 @@ export declare const hostedTopologyRollbackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2290
2290
|
}, "strict", z.ZodTypeAny, {
|
|
2291
2291
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2292
2292
|
teamId: string;
|
|
2293
|
-
environment: "staging" | "production";
|
|
2294
2293
|
operations: {
|
|
2295
2294
|
action: "noop" | "restore" | "delete-created";
|
|
2296
2295
|
resourceId: string;
|
|
2297
2296
|
providerResourceId: string;
|
|
2298
2297
|
targetDigest: string | null;
|
|
2299
2298
|
}[];
|
|
2299
|
+
environment: "staging" | "production";
|
|
2300
2300
|
deploymentId: string;
|
|
2301
2301
|
stackId: string;
|
|
2302
2302
|
backendBindingDigest: string;
|
|
@@ -2306,13 +2306,13 @@ export declare const hostedTopologyRollbackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2306
2306
|
}, {
|
|
2307
2307
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2308
2308
|
teamId: string;
|
|
2309
|
-
environment: "staging" | "production";
|
|
2310
2309
|
operations: {
|
|
2311
2310
|
action: "noop" | "restore" | "delete-created";
|
|
2312
2311
|
resourceId: string;
|
|
2313
2312
|
providerResourceId: string;
|
|
2314
2313
|
targetDigest: string | null;
|
|
2315
2314
|
}[];
|
|
2315
|
+
environment: "staging" | "production";
|
|
2316
2316
|
deploymentId: string;
|
|
2317
2317
|
stackId: string;
|
|
2318
2318
|
backendBindingDigest: string;
|
|
@@ -2322,13 +2322,13 @@ export declare const hostedTopologyRollbackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2322
2322
|
}>, {
|
|
2323
2323
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2324
2324
|
teamId: string;
|
|
2325
|
-
environment: "staging" | "production";
|
|
2326
2325
|
operations: {
|
|
2327
2326
|
action: "noop" | "restore" | "delete-created";
|
|
2328
2327
|
resourceId: string;
|
|
2329
2328
|
providerResourceId: string;
|
|
2330
2329
|
targetDigest: string | null;
|
|
2331
2330
|
}[];
|
|
2331
|
+
environment: "staging" | "production";
|
|
2332
2332
|
deploymentId: string;
|
|
2333
2333
|
stackId: string;
|
|
2334
2334
|
backendBindingDigest: string;
|
|
@@ -2338,13 +2338,13 @@ export declare const hostedTopologyRollbackSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2338
2338
|
}, {
|
|
2339
2339
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2340
2340
|
teamId: string;
|
|
2341
|
-
environment: "staging" | "production";
|
|
2342
2341
|
operations: {
|
|
2343
2342
|
action: "noop" | "restore" | "delete-created";
|
|
2344
2343
|
resourceId: string;
|
|
2345
2344
|
providerResourceId: string;
|
|
2346
2345
|
targetDigest: string | null;
|
|
2347
2346
|
}[];
|
|
2347
|
+
environment: "staging" | "production";
|
|
2348
2348
|
deploymentId: string;
|
|
2349
2349
|
stackId: string;
|
|
2350
2350
|
backendBindingDigest: string;
|
|
@@ -2383,13 +2383,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2383
2383
|
}, "strict", z.ZodTypeAny, {
|
|
2384
2384
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2385
2385
|
teamId: string;
|
|
2386
|
-
environment: "staging" | "production";
|
|
2387
2386
|
operations: {
|
|
2388
2387
|
action: "noop" | "restore" | "delete-created";
|
|
2389
2388
|
resourceId: string;
|
|
2390
2389
|
providerResourceId: string;
|
|
2391
2390
|
targetDigest: string | null;
|
|
2392
2391
|
}[];
|
|
2392
|
+
environment: "staging" | "production";
|
|
2393
2393
|
deploymentId: string;
|
|
2394
2394
|
stackId: string;
|
|
2395
2395
|
backendBindingDigest: string;
|
|
@@ -2399,13 +2399,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2399
2399
|
}, {
|
|
2400
2400
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2401
2401
|
teamId: string;
|
|
2402
|
-
environment: "staging" | "production";
|
|
2403
2402
|
operations: {
|
|
2404
2403
|
action: "noop" | "restore" | "delete-created";
|
|
2405
2404
|
resourceId: string;
|
|
2406
2405
|
providerResourceId: string;
|
|
2407
2406
|
targetDigest: string | null;
|
|
2408
2407
|
}[];
|
|
2408
|
+
environment: "staging" | "production";
|
|
2409
2409
|
deploymentId: string;
|
|
2410
2410
|
stackId: string;
|
|
2411
2411
|
backendBindingDigest: string;
|
|
@@ -2415,13 +2415,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2415
2415
|
}>, {
|
|
2416
2416
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2417
2417
|
teamId: string;
|
|
2418
|
-
environment: "staging" | "production";
|
|
2419
2418
|
operations: {
|
|
2420
2419
|
action: "noop" | "restore" | "delete-created";
|
|
2421
2420
|
resourceId: string;
|
|
2422
2421
|
providerResourceId: string;
|
|
2423
2422
|
targetDigest: string | null;
|
|
2424
2423
|
}[];
|
|
2424
|
+
environment: "staging" | "production";
|
|
2425
2425
|
deploymentId: string;
|
|
2426
2426
|
stackId: string;
|
|
2427
2427
|
backendBindingDigest: string;
|
|
@@ -2431,13 +2431,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2431
2431
|
}, {
|
|
2432
2432
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2433
2433
|
teamId: string;
|
|
2434
|
-
environment: "staging" | "production";
|
|
2435
2434
|
operations: {
|
|
2436
2435
|
action: "noop" | "restore" | "delete-created";
|
|
2437
2436
|
resourceId: string;
|
|
2438
2437
|
providerResourceId: string;
|
|
2439
2438
|
targetDigest: string | null;
|
|
2440
2439
|
}[];
|
|
2440
|
+
environment: "staging" | "production";
|
|
2441
2441
|
deploymentId: string;
|
|
2442
2442
|
stackId: string;
|
|
2443
2443
|
backendBindingDigest: string;
|
|
@@ -2462,13 +2462,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2462
2462
|
rollback: {
|
|
2463
2463
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2464
2464
|
teamId: string;
|
|
2465
|
-
environment: "staging" | "production";
|
|
2466
2465
|
operations: {
|
|
2467
2466
|
action: "noop" | "restore" | "delete-created";
|
|
2468
2467
|
resourceId: string;
|
|
2469
2468
|
providerResourceId: string;
|
|
2470
2469
|
targetDigest: string | null;
|
|
2471
2470
|
}[];
|
|
2471
|
+
environment: "staging" | "production";
|
|
2472
2472
|
deploymentId: string;
|
|
2473
2473
|
stackId: string;
|
|
2474
2474
|
backendBindingDigest: string;
|
|
@@ -2491,13 +2491,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2491
2491
|
rollback: {
|
|
2492
2492
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2493
2493
|
teamId: string;
|
|
2494
|
-
environment: "staging" | "production";
|
|
2495
2494
|
operations: {
|
|
2496
2495
|
action: "noop" | "restore" | "delete-created";
|
|
2497
2496
|
resourceId: string;
|
|
2498
2497
|
providerResourceId: string;
|
|
2499
2498
|
targetDigest: string | null;
|
|
2500
2499
|
}[];
|
|
2500
|
+
environment: "staging" | "production";
|
|
2501
2501
|
deploymentId: string;
|
|
2502
2502
|
stackId: string;
|
|
2503
2503
|
backendBindingDigest: string;
|
|
@@ -2520,13 +2520,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2520
2520
|
rollback: {
|
|
2521
2521
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2522
2522
|
teamId: string;
|
|
2523
|
-
environment: "staging" | "production";
|
|
2524
2523
|
operations: {
|
|
2525
2524
|
action: "noop" | "restore" | "delete-created";
|
|
2526
2525
|
resourceId: string;
|
|
2527
2526
|
providerResourceId: string;
|
|
2528
2527
|
targetDigest: string | null;
|
|
2529
2528
|
}[];
|
|
2529
|
+
environment: "staging" | "production";
|
|
2530
2530
|
deploymentId: string;
|
|
2531
2531
|
stackId: string;
|
|
2532
2532
|
backendBindingDigest: string;
|
|
@@ -2549,13 +2549,13 @@ export declare const hostedTopologyRollbackExecutionSchema: z.ZodEffects<z.ZodOb
|
|
|
2549
2549
|
rollback: {
|
|
2550
2550
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2551
2551
|
teamId: string;
|
|
2552
|
-
environment: "staging" | "production";
|
|
2553
2552
|
operations: {
|
|
2554
2553
|
action: "noop" | "restore" | "delete-created";
|
|
2555
2554
|
resourceId: string;
|
|
2556
2555
|
providerResourceId: string;
|
|
2557
2556
|
targetDigest: string | null;
|
|
2558
2557
|
}[];
|
|
2558
|
+
environment: "staging" | "production";
|
|
2559
2559
|
deploymentId: string;
|
|
2560
2560
|
stackId: string;
|
|
2561
2561
|
backendBindingDigest: string;
|
|
@@ -2595,13 +2595,13 @@ export declare function verifyHostedTopologyReadback(input: {
|
|
|
2595
2595
|
export declare function planHostedTopologyRollback(receiptInput: HostedTopologyReceipt): {
|
|
2596
2596
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2597
2597
|
teamId: string;
|
|
2598
|
-
environment: "staging" | "production";
|
|
2599
2598
|
operations: {
|
|
2600
2599
|
action: "noop" | "restore" | "delete-created";
|
|
2601
2600
|
resourceId: string;
|
|
2602
2601
|
providerResourceId: string;
|
|
2603
2602
|
targetDigest: string | null;
|
|
2604
2603
|
}[];
|
|
2604
|
+
environment: "staging" | "production";
|
|
2605
2605
|
deploymentId: string;
|
|
2606
2606
|
stackId: string;
|
|
2607
2607
|
backendBindingDigest: string;
|
|
@@ -2613,13 +2613,13 @@ export declare function authorizeHostedTopologyRollback(rollbackInput: z.input<t
|
|
|
2613
2613
|
rollback: {
|
|
2614
2614
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2615
2615
|
teamId: string;
|
|
2616
|
-
environment: "staging" | "production";
|
|
2617
2616
|
operations: {
|
|
2618
2617
|
action: "noop" | "restore" | "delete-created";
|
|
2619
2618
|
resourceId: string;
|
|
2620
2619
|
providerResourceId: string;
|
|
2621
2620
|
targetDigest: string | null;
|
|
2622
2621
|
}[];
|
|
2622
|
+
environment: "staging" | "production";
|
|
2623
2623
|
deploymentId: string;
|
|
2624
2624
|
stackId: string;
|
|
2625
2625
|
backendBindingDigest: string;
|
|
@@ -2640,13 +2640,13 @@ export declare function planHostedTopologyRollbackExecution(input: {
|
|
|
2640
2640
|
rollback: {
|
|
2641
2641
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2642
2642
|
teamId: string;
|
|
2643
|
-
environment: "staging" | "production";
|
|
2644
2643
|
operations: {
|
|
2645
2644
|
action: "noop" | "restore" | "delete-created";
|
|
2646
2645
|
resourceId: string;
|
|
2647
2646
|
providerResourceId: string;
|
|
2648
2647
|
targetDigest: string | null;
|
|
2649
2648
|
}[];
|
|
2649
|
+
environment: "staging" | "production";
|
|
2650
2650
|
deploymentId: string;
|
|
2651
2651
|
stackId: string;
|
|
2652
2652
|
backendBindingDigest: string;
|
|
@@ -2671,13 +2671,13 @@ export declare function authorizeHostedTopologyRollbackExecution(executionInput:
|
|
|
2671
2671
|
rollback: {
|
|
2672
2672
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
2673
2673
|
teamId: string;
|
|
2674
|
-
environment: "staging" | "production";
|
|
2675
2674
|
operations: {
|
|
2676
2675
|
action: "noop" | "restore" | "delete-created";
|
|
2677
2676
|
resourceId: string;
|
|
2678
2677
|
providerResourceId: string;
|
|
2679
2678
|
targetDigest: string | null;
|
|
2680
2679
|
}[];
|
|
2680
|
+
environment: "staging" | "production";
|
|
2681
2681
|
deploymentId: string;
|
|
2682
2682
|
stackId: string;
|
|
2683
2683
|
backendBindingDigest: string;
|