@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.
Files changed (126) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
  18. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
  19. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  20. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
  21. package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
  22. package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
  24. package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  26. package/dist/agent-capacity/validation/assignment-records.js +45 -0
  27. package/dist/capacity/agents/agent-capacity.d.ts +1 -0
  28. package/dist/capacity/agents/agent-capacity.js +1 -0
  29. package/dist/capacity-provider/capability-ontology.d.ts +102 -102
  30. package/dist/capacity-provider/client.d.ts +14 -7
  31. package/dist/capacity-provider/client.js +1 -4
  32. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  33. package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
  34. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  35. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  36. package/dist/capacity-provider/contracts/index.js +2 -0
  37. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  38. package/dist/capacity-provider/environment-catalog.d.ts +22 -22
  39. package/dist/capacity-provider/environment-catalog.js +1 -1
  40. package/dist/capacity-provider/install-configuration.d.ts +4 -4
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
  42. package/dist/capacity-provider/source-workspace.d.ts +76 -76
  43. package/dist/capacity-provider/validation.d.ts +10 -2
  44. package/dist/capacity-provider/validation.js +52 -22
  45. package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
  46. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  47. package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
  48. package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
  49. package/dist/content/validation/content-model-schemas.js +97 -87
  50. package/dist/content/validation/portable-content-data.d.ts +173 -168
  51. package/dist/content/validation/schema-constraints.d.ts +78 -0
  52. package/dist/content/validation/schema-constraints.js +149 -0
  53. package/dist/deployment/ai/storage.d.ts +20 -20
  54. package/dist/deployment/ai-hosting.d.ts +12 -12
  55. package/dist/deployment/ai-instance.d.ts +12 -12
  56. package/dist/deployment/ai-mode.d.ts +34 -34
  57. package/dist/deployment/hosted-topology-template.d.ts +25 -25
  58. package/dist/deployment/hosted-topology.d.ts +146 -146
  59. package/dist/deployment/postgres/transfer.d.ts +2 -2
  60. package/dist/deployment/schemas.d.ts +504 -504
  61. package/dist/development/schemas.d.ts +325 -325
  62. package/dist/graph/context-query-contracts.js +1 -1
  63. package/dist/guarantees/index.d.ts +26 -2
  64. package/dist/identity/contracts.js +6 -1
  65. package/dist/operator-contracts/canonical-command-tree.js +22 -8
  66. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
  67. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
  68. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
  69. package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
  70. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
  71. package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
  72. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
  73. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  74. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
  75. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  76. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  77. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  78. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  79. package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
  80. package/dist/operator-contracts/communication/contracts.d.ts +340 -198
  81. package/dist/operator-contracts/communication/contracts.js +6 -1
  82. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  83. package/dist/operator-contracts/control-plane-operation.js +6 -0
  84. package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
  85. package/dist/operator-contracts/control-plane-operations.js +26 -10
  86. package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
  87. package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
  88. package/dist/operator-contracts/mcp.js +4 -3
  89. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
  90. package/dist/operator-contracts/workday-lifecycle.js +108 -45
  91. package/dist/platform/agent-schema-verification.js +316 -33
  92. package/dist/platform/contracts.d.ts +72 -72
  93. package/dist/platform/schemas.d.ts +144 -36
  94. package/dist/platform/schemas.js +26 -0
  95. package/dist/platform/verification.js +4 -0
  96. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  97. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  98. package/dist/secrets-capability/shared-access.d.ts +1 -1
  99. package/dist/secrets-capability/shared-resources.d.ts +30 -30
  100. package/dist/security/encrypted-envelope.d.ts +6 -6
  101. package/dist/treedx/client.d.ts +4 -4
  102. package/dist/treedx/index.d.ts +1 -1
  103. package/dist/treedx/index.js +1 -0
  104. package/dist/treedx/types.d.ts +286 -0
  105. package/dist/treedx/types.js +44 -0
  106. package/dist/types/agents/agent-activity-profile.d.ts +1 -0
  107. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  108. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  109. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  110. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  111. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  112. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  113. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  114. package/package.json +10 -5
  115. package/tests/acceptance/golden-product.test.ts +205 -0
  116. package/tests/acceptance/golden-product.ts +404 -0
  117. package/tests/acceptance/product/base-red.ts +73 -0
  118. package/tests/acceptance/product/documentation-examples.ts +68 -0
  119. package/tests/acceptance/product/intent-runtime.ts +145 -0
  120. package/tests/acceptance/product/release-output.ts +160 -0
  121. package/tests/acceptance/product/research-artifact.ts +87 -0
  122. package/tests/acceptance/product/research-revision.ts +82 -0
  123. package/tests/acceptance/product/research-source.ts +91 -0
  124. package/tests/acceptance/product/test-chain.ts +192 -0
  125. package/treeseed.package.yaml +147 -0
  126. package/dist/.treeseed-build-complete.json +0 -1
@@ -147,21 +147,21 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
147
147
  timeoutSeconds?: number | undefined;
148
148
  }>>;
149
149
  }, "strict", z.ZodTypeAny, {
150
- setup?: {
150
+ build?: {
151
151
  environment: Record<string, string>;
152
152
  command: string;
153
153
  args: string[];
154
154
  timeoutSeconds: number;
155
155
  cwd?: string | undefined;
156
156
  } | undefined;
157
- watch?: {
157
+ setup?: {
158
158
  environment: Record<string, string>;
159
159
  command: string;
160
160
  args: string[];
161
161
  timeoutSeconds: number;
162
162
  cwd?: string | undefined;
163
163
  } | undefined;
164
- build?: {
164
+ watch?: {
165
165
  environment: Record<string, string>;
166
166
  command: string;
167
167
  args: string[];
@@ -197,21 +197,21 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
197
197
  cwd?: string | undefined;
198
198
  } | undefined;
199
199
  }, {
200
- setup?: {
200
+ build?: {
201
201
  command: string;
202
202
  environment?: Record<string, string> | undefined;
203
203
  args?: string[] | undefined;
204
204
  cwd?: string | undefined;
205
205
  timeoutSeconds?: number | undefined;
206
206
  } | undefined;
207
- watch?: {
207
+ setup?: {
208
208
  command: string;
209
209
  environment?: Record<string, string> | undefined;
210
210
  args?: string[] | undefined;
211
211
  cwd?: string | undefined;
212
212
  timeoutSeconds?: number | undefined;
213
213
  } | undefined;
214
- build?: {
214
+ watch?: {
215
215
  command: string;
216
216
  environment?: Record<string, string> | undefined;
217
217
  args?: string[] | undefined;
@@ -354,7 +354,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
354
354
  }, "strict", z.ZodTypeAny, {
355
355
  id: string;
356
356
  target: string;
357
- locality: "remote" | "local" | "either";
357
+ locality: "local" | "remote" | "either";
358
358
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
359
359
  capability?: string | undefined;
360
360
  }, {
@@ -362,7 +362,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
362
362
  target: string;
363
363
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
364
364
  capability?: string | undefined;
365
- locality?: "remote" | "local" | "either" | undefined;
365
+ locality?: "local" | "remote" | "either" | undefined;
366
366
  }>, "many">>;
367
367
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
368
368
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -467,7 +467,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
467
467
  timeoutSeconds?: number | undefined;
468
468
  }>, "many">>;
469
469
  }, "strict", z.ZodTypeAny, {
470
- kind: "npm-package" | "oci-image" | "archive" | "executable";
470
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
471
471
  operation: {
472
472
  environment: Record<string, string>;
473
473
  command: string;
@@ -484,7 +484,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
484
484
  cwd?: string | undefined;
485
485
  }[];
486
486
  }, {
487
- kind: "npm-package" | "oci-image" | "archive" | "executable";
487
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
488
488
  operation: {
489
489
  command: string;
490
490
  environment?: Record<string, string> | undefined;
@@ -514,11 +514,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
514
514
  }, "strict", z.ZodTypeAny, {
515
515
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
516
516
  id: string;
517
- resources: {
518
- cpuCores?: number | undefined;
519
- memoryBytes?: number | undefined;
520
- diskBytes?: number | undefined;
521
- };
522
517
  ready: {
523
518
  path: string;
524
519
  kind: "marker";
@@ -541,34 +536,22 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
541
536
  digestAlgorithm: "sha256";
542
537
  completionMarker?: string | undefined;
543
538
  }[];
544
- dependencies: {
545
- id: string;
546
- target: string;
547
- locality: "remote" | "local" | "either";
548
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
549
- capability?: string | undefined;
550
- }[];
551
- executionCustody: "caller" | "manager";
552
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
553
- runtimeRequirements: string[];
554
- sourceRoots: string[];
555
- ignoredPaths: string[];
556
539
  operations: {
557
- setup?: {
540
+ build?: {
558
541
  environment: Record<string, string>;
559
542
  command: string;
560
543
  args: string[];
561
544
  timeoutSeconds: number;
562
545
  cwd?: string | undefined;
563
546
  } | undefined;
564
- watch?: {
547
+ setup?: {
565
548
  environment: Record<string, string>;
566
549
  command: string;
567
550
  args: string[];
568
551
  timeoutSeconds: number;
569
552
  cwd?: string | undefined;
570
553
  } | undefined;
571
- build?: {
554
+ watch?: {
572
555
  environment: Record<string, string>;
573
556
  command: string;
574
557
  args: string[];
@@ -604,6 +587,23 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
604
587
  cwd?: string | undefined;
605
588
  } | undefined;
606
589
  };
590
+ resources: {
591
+ cpuCores?: number | undefined;
592
+ memoryBytes?: number | undefined;
593
+ diskBytes?: number | undefined;
594
+ };
595
+ dependencies: {
596
+ id: string;
597
+ target: string;
598
+ locality: "local" | "remote" | "either";
599
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
600
+ capability?: string | undefined;
601
+ }[];
602
+ executionCustody: "caller" | "manager";
603
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
604
+ runtimeRequirements: string[];
605
+ sourceRoots: string[];
606
+ ignoredPaths: string[];
607
607
  endpoints: {
608
608
  id: string;
609
609
  visibility: "private" | "host" | "loopback";
@@ -633,7 +633,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
633
633
  candidateRequiresVerification: true;
634
634
  };
635
635
  freeze?: {
636
- kind: "npm-package" | "oci-image" | "archive" | "executable";
636
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
637
637
  operation: {
638
638
  environment: Record<string, string>;
639
639
  command: string;
@@ -669,24 +669,22 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
669
669
  kind: "process";
670
670
  graceSeconds?: number | undefined;
671
671
  };
672
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
673
- sourceRoots: string[];
674
672
  operations: {
675
- setup?: {
673
+ build?: {
676
674
  command: string;
677
675
  environment?: Record<string, string> | undefined;
678
676
  args?: string[] | undefined;
679
677
  cwd?: string | undefined;
680
678
  timeoutSeconds?: number | undefined;
681
679
  } | undefined;
682
- watch?: {
680
+ setup?: {
683
681
  command: string;
684
682
  environment?: Record<string, string> | undefined;
685
683
  args?: string[] | undefined;
686
684
  cwd?: string | undefined;
687
685
  timeoutSeconds?: number | undefined;
688
686
  } | undefined;
689
- build?: {
687
+ watch?: {
690
688
  command: string;
691
689
  environment?: Record<string, string> | undefined;
692
690
  args?: string[] | undefined;
@@ -722,6 +720,8 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
722
720
  timeoutSeconds?: number | undefined;
723
721
  } | undefined;
724
722
  };
723
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
724
+ sourceRoots: string[];
725
725
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
726
726
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
727
727
  shutdown: {
@@ -739,23 +739,23 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
739
739
  liveAdmissible: false;
740
740
  candidateRequiresVerification: true;
741
741
  };
742
- resources?: {
743
- cpuCores?: number | undefined;
744
- memoryBytes?: number | undefined;
745
- diskBytes?: number | undefined;
746
- } | undefined;
747
742
  outputs?: {
748
743
  path: string;
749
744
  mediaType: string;
750
745
  completionMarker?: string | undefined;
751
746
  digestAlgorithm?: "sha256" | undefined;
752
747
  }[] | undefined;
748
+ resources?: {
749
+ cpuCores?: number | undefined;
750
+ memoryBytes?: number | undefined;
751
+ diskBytes?: number | undefined;
752
+ } | undefined;
753
753
  dependencies?: {
754
754
  id: string;
755
755
  target: string;
756
756
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
757
757
  capability?: string | undefined;
758
- locality?: "remote" | "local" | "either" | undefined;
758
+ locality?: "local" | "remote" | "either" | undefined;
759
759
  }[] | undefined;
760
760
  executionCustody?: "caller" | "manager" | undefined;
761
761
  runtimeRequirements?: string[] | undefined;
@@ -772,7 +772,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
772
772
  logs?: string[] | undefined;
773
773
  forbiddenOperations?: string[] | undefined;
774
774
  freeze?: {
775
- kind: "npm-package" | "oci-image" | "archive" | "executable";
775
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
776
776
  operation: {
777
777
  command: string;
778
778
  environment?: Record<string, string> | undefined;
@@ -792,11 +792,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
792
792
  }>, {
793
793
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
794
794
  id: string;
795
- resources: {
796
- cpuCores?: number | undefined;
797
- memoryBytes?: number | undefined;
798
- diskBytes?: number | undefined;
799
- };
800
795
  ready: {
801
796
  path: string;
802
797
  kind: "marker";
@@ -819,34 +814,22 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
819
814
  digestAlgorithm: "sha256";
820
815
  completionMarker?: string | undefined;
821
816
  }[];
822
- dependencies: {
823
- id: string;
824
- target: string;
825
- locality: "remote" | "local" | "either";
826
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
827
- capability?: string | undefined;
828
- }[];
829
- executionCustody: "caller" | "manager";
830
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
831
- runtimeRequirements: string[];
832
- sourceRoots: string[];
833
- ignoredPaths: string[];
834
817
  operations: {
835
- setup?: {
818
+ build?: {
836
819
  environment: Record<string, string>;
837
820
  command: string;
838
821
  args: string[];
839
822
  timeoutSeconds: number;
840
823
  cwd?: string | undefined;
841
824
  } | undefined;
842
- watch?: {
825
+ setup?: {
843
826
  environment: Record<string, string>;
844
827
  command: string;
845
828
  args: string[];
846
829
  timeoutSeconds: number;
847
830
  cwd?: string | undefined;
848
831
  } | undefined;
849
- build?: {
832
+ watch?: {
850
833
  environment: Record<string, string>;
851
834
  command: string;
852
835
  args: string[];
@@ -882,6 +865,23 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
882
865
  cwd?: string | undefined;
883
866
  } | undefined;
884
867
  };
868
+ resources: {
869
+ cpuCores?: number | undefined;
870
+ memoryBytes?: number | undefined;
871
+ diskBytes?: number | undefined;
872
+ };
873
+ dependencies: {
874
+ id: string;
875
+ target: string;
876
+ locality: "local" | "remote" | "either";
877
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
878
+ capability?: string | undefined;
879
+ }[];
880
+ executionCustody: "caller" | "manager";
881
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
882
+ runtimeRequirements: string[];
883
+ sourceRoots: string[];
884
+ ignoredPaths: string[];
885
885
  endpoints: {
886
886
  id: string;
887
887
  visibility: "private" | "host" | "loopback";
@@ -911,7 +911,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
911
911
  candidateRequiresVerification: true;
912
912
  };
913
913
  freeze?: {
914
- kind: "npm-package" | "oci-image" | "archive" | "executable";
914
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
915
915
  operation: {
916
916
  environment: Record<string, string>;
917
917
  command: string;
@@ -947,24 +947,22 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
947
947
  kind: "process";
948
948
  graceSeconds?: number | undefined;
949
949
  };
950
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
951
- sourceRoots: string[];
952
950
  operations: {
953
- setup?: {
951
+ build?: {
954
952
  command: string;
955
953
  environment?: Record<string, string> | undefined;
956
954
  args?: string[] | undefined;
957
955
  cwd?: string | undefined;
958
956
  timeoutSeconds?: number | undefined;
959
957
  } | undefined;
960
- watch?: {
958
+ setup?: {
961
959
  command: string;
962
960
  environment?: Record<string, string> | undefined;
963
961
  args?: string[] | undefined;
964
962
  cwd?: string | undefined;
965
963
  timeoutSeconds?: number | undefined;
966
964
  } | undefined;
967
- build?: {
965
+ watch?: {
968
966
  command: string;
969
967
  environment?: Record<string, string> | undefined;
970
968
  args?: string[] | undefined;
@@ -1000,6 +998,8 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1000
998
  timeoutSeconds?: number | undefined;
1001
999
  } | undefined;
1002
1000
  };
1001
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1002
+ sourceRoots: string[];
1003
1003
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1004
1004
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1005
1005
  shutdown: {
@@ -1017,23 +1017,23 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1017
1017
  liveAdmissible: false;
1018
1018
  candidateRequiresVerification: true;
1019
1019
  };
1020
- resources?: {
1021
- cpuCores?: number | undefined;
1022
- memoryBytes?: number | undefined;
1023
- diskBytes?: number | undefined;
1024
- } | undefined;
1025
1020
  outputs?: {
1026
1021
  path: string;
1027
1022
  mediaType: string;
1028
1023
  completionMarker?: string | undefined;
1029
1024
  digestAlgorithm?: "sha256" | undefined;
1030
1025
  }[] | undefined;
1026
+ resources?: {
1027
+ cpuCores?: number | undefined;
1028
+ memoryBytes?: number | undefined;
1029
+ diskBytes?: number | undefined;
1030
+ } | undefined;
1031
1031
  dependencies?: {
1032
1032
  id: string;
1033
1033
  target: string;
1034
1034
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1035
1035
  capability?: string | undefined;
1036
- locality?: "remote" | "local" | "either" | undefined;
1036
+ locality?: "local" | "remote" | "either" | undefined;
1037
1037
  }[] | undefined;
1038
1038
  executionCustody?: "caller" | "manager" | undefined;
1039
1039
  runtimeRequirements?: string[] | undefined;
@@ -1050,7 +1050,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1050
1050
  logs?: string[] | undefined;
1051
1051
  forbiddenOperations?: string[] | undefined;
1052
1052
  freeze?: {
1053
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1053
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1054
1054
  operation: {
1055
1055
  command: string;
1056
1056
  environment?: Record<string, string> | undefined;
@@ -1230,21 +1230,21 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1230
1230
  timeoutSeconds?: number | undefined;
1231
1231
  }>>;
1232
1232
  }, "strict", z.ZodTypeAny, {
1233
- setup?: {
1233
+ build?: {
1234
1234
  environment: Record<string, string>;
1235
1235
  command: string;
1236
1236
  args: string[];
1237
1237
  timeoutSeconds: number;
1238
1238
  cwd?: string | undefined;
1239
1239
  } | undefined;
1240
- watch?: {
1240
+ setup?: {
1241
1241
  environment: Record<string, string>;
1242
1242
  command: string;
1243
1243
  args: string[];
1244
1244
  timeoutSeconds: number;
1245
1245
  cwd?: string | undefined;
1246
1246
  } | undefined;
1247
- build?: {
1247
+ watch?: {
1248
1248
  environment: Record<string, string>;
1249
1249
  command: string;
1250
1250
  args: string[];
@@ -1280,21 +1280,21 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1280
1280
  cwd?: string | undefined;
1281
1281
  } | undefined;
1282
1282
  }, {
1283
- setup?: {
1283
+ build?: {
1284
1284
  command: string;
1285
1285
  environment?: Record<string, string> | undefined;
1286
1286
  args?: string[] | undefined;
1287
1287
  cwd?: string | undefined;
1288
1288
  timeoutSeconds?: number | undefined;
1289
1289
  } | undefined;
1290
- watch?: {
1290
+ setup?: {
1291
1291
  command: string;
1292
1292
  environment?: Record<string, string> | undefined;
1293
1293
  args?: string[] | undefined;
1294
1294
  cwd?: string | undefined;
1295
1295
  timeoutSeconds?: number | undefined;
1296
1296
  } | undefined;
1297
- build?: {
1297
+ watch?: {
1298
1298
  command: string;
1299
1299
  environment?: Record<string, string> | undefined;
1300
1300
  args?: string[] | undefined;
@@ -1437,7 +1437,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1437
1437
  }, "strict", z.ZodTypeAny, {
1438
1438
  id: string;
1439
1439
  target: string;
1440
- locality: "remote" | "local" | "either";
1440
+ locality: "local" | "remote" | "either";
1441
1441
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1442
1442
  capability?: string | undefined;
1443
1443
  }, {
@@ -1445,7 +1445,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1445
1445
  target: string;
1446
1446
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1447
1447
  capability?: string | undefined;
1448
- locality?: "remote" | "local" | "either" | undefined;
1448
+ locality?: "local" | "remote" | "either" | undefined;
1449
1449
  }>, "many">>;
1450
1450
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
1451
1451
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -1550,7 +1550,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1550
1550
  timeoutSeconds?: number | undefined;
1551
1551
  }>, "many">>;
1552
1552
  }, "strict", z.ZodTypeAny, {
1553
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1553
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1554
1554
  operation: {
1555
1555
  environment: Record<string, string>;
1556
1556
  command: string;
@@ -1567,7 +1567,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1567
1567
  cwd?: string | undefined;
1568
1568
  }[];
1569
1569
  }, {
1570
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1570
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1571
1571
  operation: {
1572
1572
  command: string;
1573
1573
  environment?: Record<string, string> | undefined;
@@ -1597,11 +1597,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1597
1597
  }, "strict", z.ZodTypeAny, {
1598
1598
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1599
1599
  id: string;
1600
- resources: {
1601
- cpuCores?: number | undefined;
1602
- memoryBytes?: number | undefined;
1603
- diskBytes?: number | undefined;
1604
- };
1605
1600
  ready: {
1606
1601
  path: string;
1607
1602
  kind: "marker";
@@ -1624,34 +1619,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1624
1619
  digestAlgorithm: "sha256";
1625
1620
  completionMarker?: string | undefined;
1626
1621
  }[];
1627
- dependencies: {
1628
- id: string;
1629
- target: string;
1630
- locality: "remote" | "local" | "either";
1631
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1632
- capability?: string | undefined;
1633
- }[];
1634
- executionCustody: "caller" | "manager";
1635
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1636
- runtimeRequirements: string[];
1637
- sourceRoots: string[];
1638
- ignoredPaths: string[];
1639
1622
  operations: {
1640
- setup?: {
1623
+ build?: {
1641
1624
  environment: Record<string, string>;
1642
1625
  command: string;
1643
1626
  args: string[];
1644
1627
  timeoutSeconds: number;
1645
1628
  cwd?: string | undefined;
1646
1629
  } | undefined;
1647
- watch?: {
1630
+ setup?: {
1648
1631
  environment: Record<string, string>;
1649
1632
  command: string;
1650
1633
  args: string[];
1651
1634
  timeoutSeconds: number;
1652
1635
  cwd?: string | undefined;
1653
1636
  } | undefined;
1654
- build?: {
1637
+ watch?: {
1655
1638
  environment: Record<string, string>;
1656
1639
  command: string;
1657
1640
  args: string[];
@@ -1687,6 +1670,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1687
1670
  cwd?: string | undefined;
1688
1671
  } | undefined;
1689
1672
  };
1673
+ resources: {
1674
+ cpuCores?: number | undefined;
1675
+ memoryBytes?: number | undefined;
1676
+ diskBytes?: number | undefined;
1677
+ };
1678
+ dependencies: {
1679
+ id: string;
1680
+ target: string;
1681
+ locality: "local" | "remote" | "either";
1682
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1683
+ capability?: string | undefined;
1684
+ }[];
1685
+ executionCustody: "caller" | "manager";
1686
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1687
+ runtimeRequirements: string[];
1688
+ sourceRoots: string[];
1689
+ ignoredPaths: string[];
1690
1690
  endpoints: {
1691
1691
  id: string;
1692
1692
  visibility: "private" | "host" | "loopback";
@@ -1716,7 +1716,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1716
1716
  candidateRequiresVerification: true;
1717
1717
  };
1718
1718
  freeze?: {
1719
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1719
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1720
1720
  operation: {
1721
1721
  environment: Record<string, string>;
1722
1722
  command: string;
@@ -1752,24 +1752,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1752
1752
  kind: "process";
1753
1753
  graceSeconds?: number | undefined;
1754
1754
  };
1755
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1756
- sourceRoots: string[];
1757
1755
  operations: {
1758
- setup?: {
1756
+ build?: {
1759
1757
  command: string;
1760
1758
  environment?: Record<string, string> | undefined;
1761
1759
  args?: string[] | undefined;
1762
1760
  cwd?: string | undefined;
1763
1761
  timeoutSeconds?: number | undefined;
1764
1762
  } | undefined;
1765
- watch?: {
1763
+ setup?: {
1766
1764
  command: string;
1767
1765
  environment?: Record<string, string> | undefined;
1768
1766
  args?: string[] | undefined;
1769
1767
  cwd?: string | undefined;
1770
1768
  timeoutSeconds?: number | undefined;
1771
1769
  } | undefined;
1772
- build?: {
1770
+ watch?: {
1773
1771
  command: string;
1774
1772
  environment?: Record<string, string> | undefined;
1775
1773
  args?: string[] | undefined;
@@ -1805,6 +1803,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1805
1803
  timeoutSeconds?: number | undefined;
1806
1804
  } | undefined;
1807
1805
  };
1806
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1807
+ sourceRoots: string[];
1808
1808
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1809
1809
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1810
1810
  shutdown: {
@@ -1822,23 +1822,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1822
1822
  liveAdmissible: false;
1823
1823
  candidateRequiresVerification: true;
1824
1824
  };
1825
- resources?: {
1826
- cpuCores?: number | undefined;
1827
- memoryBytes?: number | undefined;
1828
- diskBytes?: number | undefined;
1829
- } | undefined;
1830
1825
  outputs?: {
1831
1826
  path: string;
1832
1827
  mediaType: string;
1833
1828
  completionMarker?: string | undefined;
1834
1829
  digestAlgorithm?: "sha256" | undefined;
1835
1830
  }[] | undefined;
1831
+ resources?: {
1832
+ cpuCores?: number | undefined;
1833
+ memoryBytes?: number | undefined;
1834
+ diskBytes?: number | undefined;
1835
+ } | undefined;
1836
1836
  dependencies?: {
1837
1837
  id: string;
1838
1838
  target: string;
1839
1839
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1840
1840
  capability?: string | undefined;
1841
- locality?: "remote" | "local" | "either" | undefined;
1841
+ locality?: "local" | "remote" | "either" | undefined;
1842
1842
  }[] | undefined;
1843
1843
  executionCustody?: "caller" | "manager" | undefined;
1844
1844
  runtimeRequirements?: string[] | undefined;
@@ -1855,7 +1855,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1855
1855
  logs?: string[] | undefined;
1856
1856
  forbiddenOperations?: string[] | undefined;
1857
1857
  freeze?: {
1858
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1858
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1859
1859
  operation: {
1860
1860
  command: string;
1861
1861
  environment?: Record<string, string> | undefined;
@@ -1875,11 +1875,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1875
1875
  }>, {
1876
1876
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1877
1877
  id: string;
1878
- resources: {
1879
- cpuCores?: number | undefined;
1880
- memoryBytes?: number | undefined;
1881
- diskBytes?: number | undefined;
1882
- };
1883
1878
  ready: {
1884
1879
  path: string;
1885
1880
  kind: "marker";
@@ -1902,34 +1897,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1902
1897
  digestAlgorithm: "sha256";
1903
1898
  completionMarker?: string | undefined;
1904
1899
  }[];
1905
- dependencies: {
1906
- id: string;
1907
- target: string;
1908
- locality: "remote" | "local" | "either";
1909
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1910
- capability?: string | undefined;
1911
- }[];
1912
- executionCustody: "caller" | "manager";
1913
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1914
- runtimeRequirements: string[];
1915
- sourceRoots: string[];
1916
- ignoredPaths: string[];
1917
1900
  operations: {
1918
- setup?: {
1901
+ build?: {
1919
1902
  environment: Record<string, string>;
1920
1903
  command: string;
1921
1904
  args: string[];
1922
1905
  timeoutSeconds: number;
1923
1906
  cwd?: string | undefined;
1924
1907
  } | undefined;
1925
- watch?: {
1908
+ setup?: {
1926
1909
  environment: Record<string, string>;
1927
1910
  command: string;
1928
1911
  args: string[];
1929
1912
  timeoutSeconds: number;
1930
1913
  cwd?: string | undefined;
1931
1914
  } | undefined;
1932
- build?: {
1915
+ watch?: {
1933
1916
  environment: Record<string, string>;
1934
1917
  command: string;
1935
1918
  args: string[];
@@ -1965,6 +1948,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1965
1948
  cwd?: string | undefined;
1966
1949
  } | undefined;
1967
1950
  };
1951
+ resources: {
1952
+ cpuCores?: number | undefined;
1953
+ memoryBytes?: number | undefined;
1954
+ diskBytes?: number | undefined;
1955
+ };
1956
+ dependencies: {
1957
+ id: string;
1958
+ target: string;
1959
+ locality: "local" | "remote" | "either";
1960
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1961
+ capability?: string | undefined;
1962
+ }[];
1963
+ executionCustody: "caller" | "manager";
1964
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1965
+ runtimeRequirements: string[];
1966
+ sourceRoots: string[];
1967
+ ignoredPaths: string[];
1968
1968
  endpoints: {
1969
1969
  id: string;
1970
1970
  visibility: "private" | "host" | "loopback";
@@ -1994,7 +1994,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1994
1994
  candidateRequiresVerification: true;
1995
1995
  };
1996
1996
  freeze?: {
1997
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1997
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1998
1998
  operation: {
1999
1999
  environment: Record<string, string>;
2000
2000
  command: string;
@@ -2030,24 +2030,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2030
2030
  kind: "process";
2031
2031
  graceSeconds?: number | undefined;
2032
2032
  };
2033
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2034
- sourceRoots: string[];
2035
2033
  operations: {
2036
- setup?: {
2034
+ build?: {
2037
2035
  command: string;
2038
2036
  environment?: Record<string, string> | undefined;
2039
2037
  args?: string[] | undefined;
2040
2038
  cwd?: string | undefined;
2041
2039
  timeoutSeconds?: number | undefined;
2042
2040
  } | undefined;
2043
- watch?: {
2041
+ setup?: {
2044
2042
  command: string;
2045
2043
  environment?: Record<string, string> | undefined;
2046
2044
  args?: string[] | undefined;
2047
2045
  cwd?: string | undefined;
2048
2046
  timeoutSeconds?: number | undefined;
2049
2047
  } | undefined;
2050
- build?: {
2048
+ watch?: {
2051
2049
  command: string;
2052
2050
  environment?: Record<string, string> | undefined;
2053
2051
  args?: string[] | undefined;
@@ -2083,6 +2081,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2083
2081
  timeoutSeconds?: number | undefined;
2084
2082
  } | undefined;
2085
2083
  };
2084
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2085
+ sourceRoots: string[];
2086
2086
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2087
2087
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2088
2088
  shutdown: {
@@ -2100,23 +2100,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2100
2100
  liveAdmissible: false;
2101
2101
  candidateRequiresVerification: true;
2102
2102
  };
2103
- resources?: {
2104
- cpuCores?: number | undefined;
2105
- memoryBytes?: number | undefined;
2106
- diskBytes?: number | undefined;
2107
- } | undefined;
2108
2103
  outputs?: {
2109
2104
  path: string;
2110
2105
  mediaType: string;
2111
2106
  completionMarker?: string | undefined;
2112
2107
  digestAlgorithm?: "sha256" | undefined;
2113
2108
  }[] | undefined;
2109
+ resources?: {
2110
+ cpuCores?: number | undefined;
2111
+ memoryBytes?: number | undefined;
2112
+ diskBytes?: number | undefined;
2113
+ } | undefined;
2114
2114
  dependencies?: {
2115
2115
  id: string;
2116
2116
  target: string;
2117
2117
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2118
2118
  capability?: string | undefined;
2119
- locality?: "remote" | "local" | "either" | undefined;
2119
+ locality?: "local" | "remote" | "either" | undefined;
2120
2120
  }[] | undefined;
2121
2121
  executionCustody?: "caller" | "manager" | undefined;
2122
2122
  runtimeRequirements?: string[] | undefined;
@@ -2133,7 +2133,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2133
2133
  logs?: string[] | undefined;
2134
2134
  forbiddenOperations?: string[] | undefined;
2135
2135
  freeze?: {
2136
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2136
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2137
2137
  operation: {
2138
2138
  command: string;
2139
2139
  environment?: Record<string, string> | undefined;
@@ -2160,11 +2160,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2160
2160
  targets: {
2161
2161
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2162
2162
  id: string;
2163
- resources: {
2164
- cpuCores?: number | undefined;
2165
- memoryBytes?: number | undefined;
2166
- diskBytes?: number | undefined;
2167
- };
2168
2163
  ready: {
2169
2164
  path: string;
2170
2165
  kind: "marker";
@@ -2187,34 +2182,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2187
2182
  digestAlgorithm: "sha256";
2188
2183
  completionMarker?: string | undefined;
2189
2184
  }[];
2190
- dependencies: {
2191
- id: string;
2192
- target: string;
2193
- locality: "remote" | "local" | "either";
2194
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2195
- capability?: string | undefined;
2196
- }[];
2197
- executionCustody: "caller" | "manager";
2198
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2199
- runtimeRequirements: string[];
2200
- sourceRoots: string[];
2201
- ignoredPaths: string[];
2202
2185
  operations: {
2203
- setup?: {
2186
+ build?: {
2204
2187
  environment: Record<string, string>;
2205
2188
  command: string;
2206
2189
  args: string[];
2207
2190
  timeoutSeconds: number;
2208
2191
  cwd?: string | undefined;
2209
2192
  } | undefined;
2210
- watch?: {
2193
+ setup?: {
2211
2194
  environment: Record<string, string>;
2212
2195
  command: string;
2213
2196
  args: string[];
2214
2197
  timeoutSeconds: number;
2215
2198
  cwd?: string | undefined;
2216
2199
  } | undefined;
2217
- build?: {
2200
+ watch?: {
2218
2201
  environment: Record<string, string>;
2219
2202
  command: string;
2220
2203
  args: string[];
@@ -2250,6 +2233,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2250
2233
  cwd?: string | undefined;
2251
2234
  } | undefined;
2252
2235
  };
2236
+ resources: {
2237
+ cpuCores?: number | undefined;
2238
+ memoryBytes?: number | undefined;
2239
+ diskBytes?: number | undefined;
2240
+ };
2241
+ dependencies: {
2242
+ id: string;
2243
+ target: string;
2244
+ locality: "local" | "remote" | "either";
2245
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2246
+ capability?: string | undefined;
2247
+ }[];
2248
+ executionCustody: "caller" | "manager";
2249
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2250
+ runtimeRequirements: string[];
2251
+ sourceRoots: string[];
2252
+ ignoredPaths: string[];
2253
2253
  endpoints: {
2254
2254
  id: string;
2255
2255
  visibility: "private" | "host" | "loopback";
@@ -2279,7 +2279,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2279
2279
  candidateRequiresVerification: true;
2280
2280
  };
2281
2281
  freeze?: {
2282
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2282
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2283
2283
  operation: {
2284
2284
  environment: Record<string, string>;
2285
2285
  command: string;
@@ -2325,24 +2325,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2325
2325
  kind: "process";
2326
2326
  graceSeconds?: number | undefined;
2327
2327
  };
2328
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2329
- sourceRoots: string[];
2330
2328
  operations: {
2331
- setup?: {
2329
+ build?: {
2332
2330
  command: string;
2333
2331
  environment?: Record<string, string> | undefined;
2334
2332
  args?: string[] | undefined;
2335
2333
  cwd?: string | undefined;
2336
2334
  timeoutSeconds?: number | undefined;
2337
2335
  } | undefined;
2338
- watch?: {
2336
+ setup?: {
2339
2337
  command: string;
2340
2338
  environment?: Record<string, string> | undefined;
2341
2339
  args?: string[] | undefined;
2342
2340
  cwd?: string | undefined;
2343
2341
  timeoutSeconds?: number | undefined;
2344
2342
  } | undefined;
2345
- build?: {
2343
+ watch?: {
2346
2344
  command: string;
2347
2345
  environment?: Record<string, string> | undefined;
2348
2346
  args?: string[] | undefined;
@@ -2378,6 +2376,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2378
2376
  timeoutSeconds?: number | undefined;
2379
2377
  } | undefined;
2380
2378
  };
2379
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2380
+ sourceRoots: string[];
2381
2381
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2382
2382
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2383
2383
  shutdown: {
@@ -2395,23 +2395,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2395
2395
  liveAdmissible: false;
2396
2396
  candidateRequiresVerification: true;
2397
2397
  };
2398
- resources?: {
2399
- cpuCores?: number | undefined;
2400
- memoryBytes?: number | undefined;
2401
- diskBytes?: number | undefined;
2402
- } | undefined;
2403
2398
  outputs?: {
2404
2399
  path: string;
2405
2400
  mediaType: string;
2406
2401
  completionMarker?: string | undefined;
2407
2402
  digestAlgorithm?: "sha256" | undefined;
2408
2403
  }[] | undefined;
2404
+ resources?: {
2405
+ cpuCores?: number | undefined;
2406
+ memoryBytes?: number | undefined;
2407
+ diskBytes?: number | undefined;
2408
+ } | undefined;
2409
2409
  dependencies?: {
2410
2410
  id: string;
2411
2411
  target: string;
2412
2412
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2413
2413
  capability?: string | undefined;
2414
- locality?: "remote" | "local" | "either" | undefined;
2414
+ locality?: "local" | "remote" | "either" | undefined;
2415
2415
  }[] | undefined;
2416
2416
  executionCustody?: "caller" | "manager" | undefined;
2417
2417
  runtimeRequirements?: string[] | undefined;
@@ -2428,7 +2428,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2428
2428
  logs?: string[] | undefined;
2429
2429
  forbiddenOperations?: string[] | undefined;
2430
2430
  freeze?: {
2431
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2431
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2432
2432
  operation: {
2433
2433
  command: string;
2434
2434
  environment?: Record<string, string> | undefined;
@@ -2458,11 +2458,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2458
2458
  targets: {
2459
2459
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2460
2460
  id: string;
2461
- resources: {
2462
- cpuCores?: number | undefined;
2463
- memoryBytes?: number | undefined;
2464
- diskBytes?: number | undefined;
2465
- };
2466
2461
  ready: {
2467
2462
  path: string;
2468
2463
  kind: "marker";
@@ -2485,34 +2480,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2485
2480
  digestAlgorithm: "sha256";
2486
2481
  completionMarker?: string | undefined;
2487
2482
  }[];
2488
- dependencies: {
2489
- id: string;
2490
- target: string;
2491
- locality: "remote" | "local" | "either";
2492
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2493
- capability?: string | undefined;
2494
- }[];
2495
- executionCustody: "caller" | "manager";
2496
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2497
- runtimeRequirements: string[];
2498
- sourceRoots: string[];
2499
- ignoredPaths: string[];
2500
2483
  operations: {
2501
- setup?: {
2484
+ build?: {
2502
2485
  environment: Record<string, string>;
2503
2486
  command: string;
2504
2487
  args: string[];
2505
2488
  timeoutSeconds: number;
2506
2489
  cwd?: string | undefined;
2507
2490
  } | undefined;
2508
- watch?: {
2491
+ setup?: {
2509
2492
  environment: Record<string, string>;
2510
2493
  command: string;
2511
2494
  args: string[];
2512
2495
  timeoutSeconds: number;
2513
2496
  cwd?: string | undefined;
2514
2497
  } | undefined;
2515
- build?: {
2498
+ watch?: {
2516
2499
  environment: Record<string, string>;
2517
2500
  command: string;
2518
2501
  args: string[];
@@ -2548,6 +2531,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2548
2531
  cwd?: string | undefined;
2549
2532
  } | undefined;
2550
2533
  };
2534
+ resources: {
2535
+ cpuCores?: number | undefined;
2536
+ memoryBytes?: number | undefined;
2537
+ diskBytes?: number | undefined;
2538
+ };
2539
+ dependencies: {
2540
+ id: string;
2541
+ target: string;
2542
+ locality: "local" | "remote" | "either";
2543
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2544
+ capability?: string | undefined;
2545
+ }[];
2546
+ executionCustody: "caller" | "manager";
2547
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2548
+ runtimeRequirements: string[];
2549
+ sourceRoots: string[];
2550
+ ignoredPaths: string[];
2551
2551
  endpoints: {
2552
2552
  id: string;
2553
2553
  visibility: "private" | "host" | "loopback";
@@ -2577,7 +2577,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2577
2577
  candidateRequiresVerification: true;
2578
2578
  };
2579
2579
  freeze?: {
2580
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2580
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2581
2581
  operation: {
2582
2582
  environment: Record<string, string>;
2583
2583
  command: string;
@@ -2623,24 +2623,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2623
2623
  kind: "process";
2624
2624
  graceSeconds?: number | undefined;
2625
2625
  };
2626
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2627
- sourceRoots: string[];
2628
2626
  operations: {
2629
- setup?: {
2627
+ build?: {
2630
2628
  command: string;
2631
2629
  environment?: Record<string, string> | undefined;
2632
2630
  args?: string[] | undefined;
2633
2631
  cwd?: string | undefined;
2634
2632
  timeoutSeconds?: number | undefined;
2635
2633
  } | undefined;
2636
- watch?: {
2634
+ setup?: {
2637
2635
  command: string;
2638
2636
  environment?: Record<string, string> | undefined;
2639
2637
  args?: string[] | undefined;
2640
2638
  cwd?: string | undefined;
2641
2639
  timeoutSeconds?: number | undefined;
2642
2640
  } | undefined;
2643
- build?: {
2641
+ watch?: {
2644
2642
  command: string;
2645
2643
  environment?: Record<string, string> | undefined;
2646
2644
  args?: string[] | undefined;
@@ -2676,6 +2674,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2676
2674
  timeoutSeconds?: number | undefined;
2677
2675
  } | undefined;
2678
2676
  };
2677
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2678
+ sourceRoots: string[];
2679
2679
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2680
2680
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2681
2681
  shutdown: {
@@ -2693,23 +2693,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2693
2693
  liveAdmissible: false;
2694
2694
  candidateRequiresVerification: true;
2695
2695
  };
2696
- resources?: {
2697
- cpuCores?: number | undefined;
2698
- memoryBytes?: number | undefined;
2699
- diskBytes?: number | undefined;
2700
- } | undefined;
2701
2696
  outputs?: {
2702
2697
  path: string;
2703
2698
  mediaType: string;
2704
2699
  completionMarker?: string | undefined;
2705
2700
  digestAlgorithm?: "sha256" | undefined;
2706
2701
  }[] | undefined;
2702
+ resources?: {
2703
+ cpuCores?: number | undefined;
2704
+ memoryBytes?: number | undefined;
2705
+ diskBytes?: number | undefined;
2706
+ } | undefined;
2707
2707
  dependencies?: {
2708
2708
  id: string;
2709
2709
  target: string;
2710
2710
  reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2711
2711
  capability?: string | undefined;
2712
- locality?: "remote" | "local" | "either" | undefined;
2712
+ locality?: "local" | "remote" | "either" | undefined;
2713
2713
  }[] | undefined;
2714
2714
  executionCustody?: "caller" | "manager" | undefined;
2715
2715
  runtimeRequirements?: string[] | undefined;
@@ -2726,7 +2726,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2726
2726
  logs?: string[] | undefined;
2727
2727
  forbiddenOperations?: string[] | undefined;
2728
2728
  freeze?: {
2729
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2729
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2730
2730
  operation: {
2731
2731
  command: string;
2732
2732
  environment?: Record<string, string> | undefined;
@@ -2756,11 +2756,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2756
2756
  targets: {
2757
2757
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2758
2758
  id: string;
2759
- resources: {
2760
- cpuCores?: number | undefined;
2761
- memoryBytes?: number | undefined;
2762
- diskBytes?: number | undefined;
2763
- };
2764
2759
  ready: {
2765
2760
  path: string;
2766
2761
  kind: "marker";
@@ -2783,34 +2778,22 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2783
2778
  digestAlgorithm: "sha256";
2784
2779
  completionMarker?: string | undefined;
2785
2780
  }[];
2786
- dependencies: {
2787
- id: string;
2788
- target: string;
2789
- locality: "remote" | "local" | "either";
2790
- reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2791
- capability?: string | undefined;
2792
- }[];
2793
- executionCustody: "caller" | "manager";
2794
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2795
- runtimeRequirements: string[];
2796
- sourceRoots: string[];
2797
- ignoredPaths: string[];
2798
2781
  operations: {
2799
- setup?: {
2782
+ build?: {
2800
2783
  environment: Record<string, string>;
2801
2784
  command: string;
2802
2785
  args: string[];
2803
2786
  timeoutSeconds: number;
2804
2787
  cwd?: string | undefined;
2805
2788
  } | undefined;
2806
- watch?: {
2789
+ setup?: {
2807
2790
  environment: Record<string, string>;
2808
2791
  command: string;
2809
2792
  args: string[];
2810
2793
  timeoutSeconds: number;
2811
2794
  cwd?: string | undefined;
2812
2795
  } | undefined;
2813
- build?: {
2796
+ watch?: {
2814
2797
  environment: Record<string, string>;
2815
2798
  command: string;
2816
2799
  args: string[];
@@ -2846,6 +2829,23 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2846
2829
  cwd?: string | undefined;
2847
2830
  } | undefined;
2848
2831
  };
2832
+ resources: {
2833
+ cpuCores?: number | undefined;
2834
+ memoryBytes?: number | undefined;
2835
+ diskBytes?: number | undefined;
2836
+ };
2837
+ dependencies: {
2838
+ id: string;
2839
+ target: string;
2840
+ locality: "local" | "remote" | "either";
2841
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2842
+ capability?: string | undefined;
2843
+ }[];
2844
+ executionCustody: "caller" | "manager";
2845
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2846
+ runtimeRequirements: string[];
2847
+ sourceRoots: string[];
2848
+ ignoredPaths: string[];
2849
2849
  endpoints: {
2850
2850
  id: string;
2851
2851
  visibility: "private" | "host" | "loopback";
@@ -2875,7 +2875,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2875
2875
  candidateRequiresVerification: true;
2876
2876
  };
2877
2877
  freeze?: {
2878
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2878
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2879
2879
  operation: {
2880
2880
  environment: Record<string, string>;
2881
2881
  command: string;
@@ -2915,18 +2915,18 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2915
2915
  recipeDigest: z.ZodString;
2916
2916
  }, "strict", z.ZodTypeAny, {
2917
2917
  dirty: boolean;
2918
- repository: string;
2919
2918
  branch: string | null;
2920
2919
  commit: string;
2920
+ repository: string;
2921
2921
  projectId: string;
2922
2922
  worktree: string;
2923
2923
  dirtyDigest: string | null;
2924
2924
  recipeDigest: string;
2925
2925
  }, {
2926
2926
  dirty: boolean;
2927
- repository: string;
2928
2927
  branch: string | null;
2929
2928
  commit: string;
2929
+ repository: string;
2930
2930
  projectId: string;
2931
2931
  worktree: string;
2932
2932
  dirtyDigest: string | null;
@@ -2941,17 +2941,17 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2941
2941
  reaction: z.ZodOptional<z.ZodEnum<["reload", "restart", "rebuild", "stale", "manual", "none"]>>;
2942
2942
  }, "strict", z.ZodTypeAny, {
2943
2943
  projectId: string;
2944
- mode: "released" | "live" | "candidate";
2945
2944
  generation: number;
2945
+ mode: "released" | "live" | "candidate";
2946
2946
  targetId: string;
2947
- health: "ready" | "pending" | "degraded" | "stopped";
2947
+ health: "pending" | "degraded" | "ready" | "stopped";
2948
2948
  reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
2949
2949
  }, {
2950
2950
  projectId: string;
2951
- mode: "released" | "live" | "candidate";
2952
2951
  generation: number;
2952
+ mode: "released" | "live" | "candidate";
2953
2953
  targetId: string;
2954
- health: "ready" | "pending" | "degraded" | "stopped";
2954
+ health: "pending" | "degraded" | "ready" | "stopped";
2955
2955
  reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
2956
2956
  }>, "many">;
2957
2957
  leases: z.ZodArray<z.ZodObject<{
@@ -2985,11 +2985,12 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2985
2985
  status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
2986
2986
  actor: string;
2987
2987
  schemaVersion: "treeseed.development-session/v2";
2988
+ createdAt: string;
2988
2989
  repositories: {
2989
2990
  dirty: boolean;
2990
- repository: string;
2991
2991
  branch: string | null;
2992
2992
  commit: string;
2993
+ repository: string;
2993
2994
  projectId: string;
2994
2995
  worktree: string;
2995
2996
  dirtyDigest: string | null;
@@ -2997,10 +2998,10 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2997
2998
  }[];
2998
2999
  targets: {
2999
3000
  projectId: string;
3000
- mode: "released" | "live" | "candidate";
3001
3001
  generation: number;
3002
+ mode: "released" | "live" | "candidate";
3002
3003
  targetId: string;
3003
- health: "ready" | "pending" | "degraded" | "stopped";
3004
+ health: "pending" | "degraded" | "ready" | "stopped";
3004
3005
  reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3005
3006
  }[];
3006
3007
  blockers: {
@@ -3008,7 +3009,6 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3008
3009
  message: string;
3009
3010
  targetId?: string | undefined;
3010
3011
  }[];
3011
- createdAt: string;
3012
3012
  leases: {
3013
3013
  resource: string;
3014
3014
  kind: "state" | "secret" | "alias" | "component";
@@ -3021,11 +3021,12 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3021
3021
  status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
3022
3022
  actor: string;
3023
3023
  schemaVersion: "treeseed.development-session/v2";
3024
+ createdAt: string;
3024
3025
  repositories: {
3025
3026
  dirty: boolean;
3026
- repository: string;
3027
3027
  branch: string | null;
3028
3028
  commit: string;
3029
+ repository: string;
3029
3030
  projectId: string;
3030
3031
  worktree: string;
3031
3032
  dirtyDigest: string | null;
@@ -3033,10 +3034,10 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3033
3034
  }[];
3034
3035
  targets: {
3035
3036
  projectId: string;
3036
- mode: "released" | "live" | "candidate";
3037
3037
  generation: number;
3038
+ mode: "released" | "live" | "candidate";
3038
3039
  targetId: string;
3039
- health: "ready" | "pending" | "degraded" | "stopped";
3040
+ health: "pending" | "degraded" | "ready" | "stopped";
3040
3041
  reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3041
3042
  }[];
3042
3043
  blockers: {
@@ -3044,7 +3045,6 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3044
3045
  message: string;
3045
3046
  targetId?: string | undefined;
3046
3047
  }[];
3047
- createdAt: string;
3048
3048
  leases: {
3049
3049
  resource: string;
3050
3050
  kind: "state" | "secret" | "alias" | "component";
@@ -3057,11 +3057,12 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3057
3057
  status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
3058
3058
  actor: string;
3059
3059
  schemaVersion: "treeseed.development-session/v2";
3060
+ createdAt: string;
3060
3061
  repositories: {
3061
3062
  dirty: boolean;
3062
- repository: string;
3063
3063
  branch: string | null;
3064
3064
  commit: string;
3065
+ repository: string;
3065
3066
  projectId: string;
3066
3067
  worktree: string;
3067
3068
  dirtyDigest: string | null;
@@ -3069,10 +3070,10 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3069
3070
  }[];
3070
3071
  targets: {
3071
3072
  projectId: string;
3072
- mode: "released" | "live" | "candidate";
3073
3073
  generation: number;
3074
+ mode: "released" | "live" | "candidate";
3074
3075
  targetId: string;
3075
- health: "ready" | "pending" | "degraded" | "stopped";
3076
+ health: "pending" | "degraded" | "ready" | "stopped";
3076
3077
  reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3077
3078
  }[];
3078
3079
  blockers: {
@@ -3080,7 +3081,6 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3080
3081
  message: string;
3081
3082
  targetId?: string | undefined;
3082
3083
  }[];
3083
- createdAt: string;
3084
3084
  leases: {
3085
3085
  resource: string;
3086
3086
  kind: "state" | "secret" | "alias" | "component";
@@ -3106,18 +3106,18 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3106
3106
  recipeDigest: z.ZodString;
3107
3107
  }, "strict", z.ZodTypeAny, {
3108
3108
  dirty: boolean;
3109
- repository: string;
3110
3109
  branch: string | null;
3111
3110
  commit: string;
3111
+ repository: string;
3112
3112
  projectId: string;
3113
3113
  worktree: string;
3114
3114
  dirtyDigest: string | null;
3115
3115
  recipeDigest: string;
3116
3116
  }, {
3117
3117
  dirty: boolean;
3118
- repository: string;
3119
3118
  branch: string | null;
3120
3119
  commit: string;
3120
+ repository: string;
3121
3121
  projectId: string;
3122
3122
  worktree: string;
3123
3123
  dirtyDigest: string | null;
@@ -3132,16 +3132,16 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3132
3132
  integrity: z.ZodOptional<z.ZodString>;
3133
3133
  }, "strict", z.ZodTypeAny, {
3134
3134
  identity: string;
3135
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3136
- digest: string;
3135
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3137
3136
  projectId: string;
3137
+ digest: string;
3138
3138
  targetId: string;
3139
3139
  integrity?: string | undefined;
3140
3140
  }, {
3141
3141
  identity: string;
3142
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3143
- digest: string;
3142
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3144
3143
  projectId: string;
3144
+ digest: string;
3145
3145
  targetId: string;
3146
3146
  integrity?: string | undefined;
3147
3147
  }>, "many">;
@@ -3169,37 +3169,37 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3169
3169
  completedAt: z.ZodNullable<z.ZodString>;
3170
3170
  }, "strict", z.ZodTypeAny, {
3171
3171
  status: "pending" | "failed" | "passed";
3172
- completedAt: string | null;
3173
3172
  operations: string[];
3173
+ completedAt: string | null;
3174
3174
  }, {
3175
3175
  status: "pending" | "failed" | "passed";
3176
- completedAt: string | null;
3177
3176
  operations: string[];
3177
+ completedAt: string | null;
3178
3178
  }>;
3179
3179
  promotable: z.ZodBoolean;
3180
3180
  }, "strict", z.ZodTypeAny, {
3181
3181
  schemaVersion: "treeseed.development-candidate/v1";
3182
+ verification: {
3183
+ status: "pending" | "failed" | "passed";
3184
+ operations: string[];
3185
+ completedAt: string | null;
3186
+ };
3182
3187
  createdAt: string;
3183
3188
  source: {
3184
3189
  dirty: boolean;
3185
- repository: string;
3186
3190
  branch: string | null;
3187
3191
  commit: string;
3192
+ repository: string;
3188
3193
  projectId: string;
3189
3194
  worktree: string;
3190
3195
  dirtyDigest: string | null;
3191
3196
  recipeDigest: string;
3192
3197
  }[];
3193
- verification: {
3194
- status: "pending" | "failed" | "passed";
3195
- completedAt: string | null;
3196
- operations: string[];
3197
- };
3198
3198
  artifacts: {
3199
3199
  identity: string;
3200
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3201
- digest: string;
3200
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3202
3201
  projectId: string;
3202
+ digest: string;
3203
3203
  targetId: string;
3204
3204
  integrity?: string | undefined;
3205
3205
  }[];
@@ -3216,27 +3216,27 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3216
3216
  promotable: boolean;
3217
3217
  }, {
3218
3218
  schemaVersion: "treeseed.development-candidate/v1";
3219
+ verification: {
3220
+ status: "pending" | "failed" | "passed";
3221
+ operations: string[];
3222
+ completedAt: string | null;
3223
+ };
3219
3224
  createdAt: string;
3220
3225
  source: {
3221
3226
  dirty: boolean;
3222
- repository: string;
3223
3227
  branch: string | null;
3224
3228
  commit: string;
3229
+ repository: string;
3225
3230
  projectId: string;
3226
3231
  worktree: string;
3227
3232
  dirtyDigest: string | null;
3228
3233
  recipeDigest: string;
3229
3234
  }[];
3230
- verification: {
3231
- status: "pending" | "failed" | "passed";
3232
- completedAt: string | null;
3233
- operations: string[];
3234
- };
3235
3235
  artifacts: {
3236
3236
  identity: string;
3237
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3238
- digest: string;
3237
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3239
3238
  projectId: string;
3239
+ digest: string;
3240
3240
  targetId: string;
3241
3241
  integrity?: string | undefined;
3242
3242
  }[];
@@ -3253,27 +3253,27 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3253
3253
  promotable: boolean;
3254
3254
  }>, {
3255
3255
  schemaVersion: "treeseed.development-candidate/v1";
3256
+ verification: {
3257
+ status: "pending" | "failed" | "passed";
3258
+ operations: string[];
3259
+ completedAt: string | null;
3260
+ };
3256
3261
  createdAt: string;
3257
3262
  source: {
3258
3263
  dirty: boolean;
3259
- repository: string;
3260
3264
  branch: string | null;
3261
3265
  commit: string;
3266
+ repository: string;
3262
3267
  projectId: string;
3263
3268
  worktree: string;
3264
3269
  dirtyDigest: string | null;
3265
3270
  recipeDigest: string;
3266
3271
  }[];
3267
- verification: {
3268
- status: "pending" | "failed" | "passed";
3269
- completedAt: string | null;
3270
- operations: string[];
3271
- };
3272
3272
  artifacts: {
3273
3273
  identity: string;
3274
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3275
- digest: string;
3274
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3276
3275
  projectId: string;
3276
+ digest: string;
3277
3277
  targetId: string;
3278
3278
  integrity?: string | undefined;
3279
3279
  }[];
@@ -3290,27 +3290,27 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3290
3290
  promotable: boolean;
3291
3291
  }, {
3292
3292
  schemaVersion: "treeseed.development-candidate/v1";
3293
+ verification: {
3294
+ status: "pending" | "failed" | "passed";
3295
+ operations: string[];
3296
+ completedAt: string | null;
3297
+ };
3293
3298
  createdAt: string;
3294
3299
  source: {
3295
3300
  dirty: boolean;
3296
- repository: string;
3297
3301
  branch: string | null;
3298
3302
  commit: string;
3303
+ repository: string;
3299
3304
  projectId: string;
3300
3305
  worktree: string;
3301
3306
  dirtyDigest: string | null;
3302
3307
  recipeDigest: string;
3303
3308
  }[];
3304
- verification: {
3305
- status: "pending" | "failed" | "passed";
3306
- completedAt: string | null;
3307
- operations: string[];
3308
- };
3309
3309
  artifacts: {
3310
3310
  identity: string;
3311
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3312
- digest: string;
3311
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3313
3312
  projectId: string;
3313
+ digest: string;
3314
3314
  targetId: string;
3315
3315
  integrity?: string | undefined;
3316
3316
  }[];
@@ -3376,14 +3376,14 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3376
3376
  size: z.ZodOptional<z.ZodNumber>;
3377
3377
  }, "strict", z.ZodTypeAny, {
3378
3378
  identity: string;
3379
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3379
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3380
3380
  id: string;
3381
3381
  digest: string;
3382
3382
  mediaType: string;
3383
3383
  size?: number | undefined;
3384
3384
  }, {
3385
3385
  identity: string;
3386
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3386
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3387
3387
  id: string;
3388
3388
  digest: string;
3389
3389
  mediaType: string;
@@ -3421,26 +3421,26 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3421
3421
  completedAt: z.ZodString;
3422
3422
  }, "strict", z.ZodTypeAny, {
3423
3423
  status: "passed";
3424
- completedAt: string;
3425
3424
  operations: string[];
3425
+ completedAt: string;
3426
3426
  }, {
3427
3427
  status: "passed";
3428
- completedAt: string;
3429
3428
  operations: string[];
3429
+ completedAt: string;
3430
3430
  }>;
3431
3431
  }, "strict", z.ZodTypeAny, {
3432
3432
  schemaVersion: "treeseed.release-evidence/v1";
3433
+ verification: {
3434
+ status: "passed";
3435
+ operations: string[];
3436
+ completedAt: string;
3437
+ };
3433
3438
  packages: {
3434
3439
  version: string;
3435
3440
  name: string;
3436
3441
  projectId: string;
3437
3442
  minimumBump: "none" | "patch" | "minor" | "major";
3438
3443
  }[];
3439
- verification: {
3440
- status: "passed";
3441
- completedAt: string;
3442
- operations: string[];
3443
- };
3444
3444
  candidate: {
3445
3445
  id: string;
3446
3446
  createdAt: string;
@@ -3451,7 +3451,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3451
3451
  };
3452
3452
  artifacts: {
3453
3453
  identity: string;
3454
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3454
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3455
3455
  id: string;
3456
3456
  digest: string;
3457
3457
  mediaType: string;
@@ -3469,17 +3469,17 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3469
3469
  }[];
3470
3470
  }, {
3471
3471
  schemaVersion: "treeseed.release-evidence/v1";
3472
+ verification: {
3473
+ status: "passed";
3474
+ operations: string[];
3475
+ completedAt: string;
3476
+ };
3472
3477
  packages: {
3473
3478
  version: string;
3474
3479
  name: string;
3475
3480
  projectId: string;
3476
3481
  minimumBump: "none" | "patch" | "minor" | "major";
3477
3482
  }[];
3478
- verification: {
3479
- status: "passed";
3480
- completedAt: string;
3481
- operations: string[];
3482
- };
3483
3483
  candidate: {
3484
3484
  id: string;
3485
3485
  createdAt: string;
@@ -3490,7 +3490,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3490
3490
  };
3491
3491
  artifacts: {
3492
3492
  identity: string;
3493
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3493
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3494
3494
  id: string;
3495
3495
  digest: string;
3496
3496
  mediaType: string;
@@ -3508,17 +3508,17 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3508
3508
  }[] | undefined;
3509
3509
  }>, {
3510
3510
  schemaVersion: "treeseed.release-evidence/v1";
3511
+ verification: {
3512
+ status: "passed";
3513
+ operations: string[];
3514
+ completedAt: string;
3515
+ };
3511
3516
  packages: {
3512
3517
  version: string;
3513
3518
  name: string;
3514
3519
  projectId: string;
3515
3520
  minimumBump: "none" | "patch" | "minor" | "major";
3516
3521
  }[];
3517
- verification: {
3518
- status: "passed";
3519
- completedAt: string;
3520
- operations: string[];
3521
- };
3522
3522
  candidate: {
3523
3523
  id: string;
3524
3524
  createdAt: string;
@@ -3529,7 +3529,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3529
3529
  };
3530
3530
  artifacts: {
3531
3531
  identity: string;
3532
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3532
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3533
3533
  id: string;
3534
3534
  digest: string;
3535
3535
  mediaType: string;
@@ -3547,17 +3547,17 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3547
3547
  }[];
3548
3548
  }, {
3549
3549
  schemaVersion: "treeseed.release-evidence/v1";
3550
+ verification: {
3551
+ status: "passed";
3552
+ operations: string[];
3553
+ completedAt: string;
3554
+ };
3550
3555
  packages: {
3551
3556
  version: string;
3552
3557
  name: string;
3553
3558
  projectId: string;
3554
3559
  minimumBump: "none" | "patch" | "minor" | "major";
3555
3560
  }[];
3556
- verification: {
3557
- status: "passed";
3558
- completedAt: string;
3559
- operations: string[];
3560
- };
3561
3561
  candidate: {
3562
3562
  id: string;
3563
3563
  createdAt: string;
@@ -3568,7 +3568,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3568
3568
  };
3569
3569
  artifacts: {
3570
3570
  identity: string;
3571
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3571
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3572
3572
  id: string;
3573
3573
  digest: string;
3574
3574
  mediaType: string;