@treeseed/sdk 0.13.0-rc.60 → 0.13.0-rc.62

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 (35) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
  3. package/dist/capacity-provider/capability-ontology.d.ts +190 -190
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
  6. package/dist/capacity-provider/environment-catalog.d.ts +62 -62
  7. package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
  8. package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
  9. package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
  10. package/dist/content/validation/content-model-schemas.d.ts +435 -435
  11. package/dist/content/validation/portable-content-data.d.ts +53 -53
  12. package/dist/deployment/ai-mode.d.ts +46 -46
  13. package/dist/deployment/schemas.d.ts +648 -648
  14. package/dist/development/schemas.d.ts +290 -290
  15. package/dist/operator-contracts/canonical-command-tree.js +10 -0
  16. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
  17. package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
  18. package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
  19. package/dist/operator-contracts/communication/contracts.d.ts +228 -228
  20. package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
  21. package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
  22. package/dist/platform/contracts.d.ts +383 -0
  23. package/dist/platform/contracts.js +79 -0
  24. package/dist/platform/index.d.ts +5 -0
  25. package/dist/platform/index.js +5 -0
  26. package/dist/platform/inventory.d.ts +11 -0
  27. package/dist/platform/inventory.js +53 -0
  28. package/dist/platform/schemas.d.ts +806 -0
  29. package/dist/platform/schemas.js +68 -0
  30. package/dist/platform/verification.d.ts +9 -0
  31. package/dist/platform/verification.js +104 -0
  32. package/dist/platform/workset.d.ts +21 -0
  33. package/dist/platform/workset.js +102 -0
  34. package/dist/security/encrypted-envelope.d.ts +14 -14
  35. package/package.json +5 -1
@@ -316,30 +316,30 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
316
316
  authentication: z.ZodDefault<z.ZodEnum<["none", "application", "mtls"]>>;
317
317
  }, "strict", z.ZodTypeAny, {
318
318
  id: string;
319
+ visibility: "private" | "host" | "loopback";
319
320
  protocol: "http" | "tcp" | "https";
320
321
  port: number;
321
- visibility: "host" | "loopback" | "private";
322
322
  authentication: "none" | "application" | "mtls";
323
323
  canonicalAlias?: string | undefined;
324
324
  }, {
325
325
  id: string;
326
+ visibility: "private" | "host" | "loopback";
326
327
  protocol: "http" | "tcp" | "https";
327
328
  port: number;
328
- visibility: "host" | "loopback" | "private";
329
329
  canonicalAlias?: string | undefined;
330
330
  authentication?: "none" | "application" | "mtls" | undefined;
331
331
  }>, {
332
332
  id: string;
333
+ visibility: "private" | "host" | "loopback";
333
334
  protocol: "http" | "tcp" | "https";
334
335
  port: number;
335
- visibility: "host" | "loopback" | "private";
336
336
  authentication: "none" | "application" | "mtls";
337
337
  canonicalAlias?: string | undefined;
338
338
  }, {
339
339
  id: string;
340
+ visibility: "private" | "host" | "loopback";
340
341
  protocol: "http" | "tcp" | "https";
341
342
  port: number;
342
- visibility: "host" | "loopback" | "private";
343
343
  canonicalAlias?: string | undefined;
344
344
  authentication?: "none" | "application" | "mtls" | undefined;
345
345
  }>, "many">>;
@@ -352,7 +352,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
352
352
  }, "strict", z.ZodTypeAny, {
353
353
  id: string;
354
354
  target: string;
355
- locality: "local" | "remote" | "either";
355
+ locality: "remote" | "local" | "either";
356
356
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
357
357
  capability?: string | undefined;
358
358
  }, {
@@ -360,7 +360,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
360
360
  target: string;
361
361
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
362
362
  capability?: string | undefined;
363
- locality?: "local" | "remote" | "either" | undefined;
363
+ locality?: "remote" | "local" | "either" | undefined;
364
364
  }>, "many">>;
365
365
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
366
366
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -510,8 +510,13 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
510
510
  candidateRequiresVerification: true;
511
511
  }>;
512
512
  }, "strict", z.ZodTypeAny, {
513
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
513
+ resources: {
514
+ cpuCores?: number | undefined;
515
+ memoryBytes?: number | undefined;
516
+ diskBytes?: number | undefined;
517
+ };
514
518
  id: string;
519
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
515
520
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
516
521
  runtimeRequirements: string[];
517
522
  sourceRoots: string[];
@@ -591,20 +596,20 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
591
596
  }[];
592
597
  endpoints: {
593
598
  id: string;
599
+ visibility: "private" | "host" | "loopback";
594
600
  protocol: "http" | "tcp" | "https";
595
601
  port: number;
596
- visibility: "host" | "loopback" | "private";
597
602
  authentication: "none" | "application" | "mtls";
598
603
  canonicalAlias?: string | undefined;
599
604
  }[];
600
605
  dependencies: {
601
606
  id: string;
602
607
  target: string;
603
- locality: "local" | "remote" | "either";
608
+ locality: "remote" | "local" | "either";
604
609
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
605
610
  capability?: string | undefined;
606
611
  }[];
607
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
612
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
608
613
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
609
614
  secretRefs: Record<string, string>;
610
615
  shutdown: {
@@ -618,11 +623,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
618
623
  cwd?: string | undefined;
619
624
  } | undefined;
620
625
  };
621
- resources: {
622
- cpuCores?: number | undefined;
623
- memoryBytes?: number | undefined;
624
- diskBytes?: number | undefined;
625
- };
626
626
  logs: string[];
627
627
  forbiddenOperations: string[];
628
628
  promotion: {
@@ -648,8 +648,8 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
648
648
  }[];
649
649
  } | undefined;
650
650
  }, {
651
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
652
651
  id: string;
652
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
653
653
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
654
654
  sourceRoots: string[];
655
655
  operations: {
@@ -719,7 +719,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
719
719
  kind: "process";
720
720
  graceSeconds?: number | undefined;
721
721
  };
722
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
722
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
723
723
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
724
724
  shutdown: {
725
725
  graceSeconds?: number | undefined;
@@ -736,6 +736,11 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
736
736
  liveAdmissible: false;
737
737
  candidateRequiresVerification: true;
738
738
  };
739
+ resources?: {
740
+ cpuCores?: number | undefined;
741
+ memoryBytes?: number | undefined;
742
+ diskBytes?: number | undefined;
743
+ } | undefined;
739
744
  runtimeRequirements?: string[] | undefined;
740
745
  ignoredPaths?: string[] | undefined;
741
746
  outputs?: {
@@ -746,9 +751,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
746
751
  }[] | undefined;
747
752
  endpoints?: {
748
753
  id: string;
754
+ visibility: "private" | "host" | "loopback";
749
755
  protocol: "http" | "tcp" | "https";
750
756
  port: number;
751
- visibility: "host" | "loopback" | "private";
752
757
  canonicalAlias?: string | undefined;
753
758
  authentication?: "none" | "application" | "mtls" | undefined;
754
759
  }[] | undefined;
@@ -757,14 +762,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
757
762
  target: string;
758
763
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
759
764
  capability?: string | undefined;
760
- locality?: "local" | "remote" | "either" | undefined;
765
+ locality?: "remote" | "local" | "either" | undefined;
761
766
  }[] | undefined;
762
767
  secretRefs?: Record<string, string> | undefined;
763
- resources?: {
764
- cpuCores?: number | undefined;
765
- memoryBytes?: number | undefined;
766
- diskBytes?: number | undefined;
767
- } | undefined;
768
768
  logs?: string[] | undefined;
769
769
  forbiddenOperations?: string[] | undefined;
770
770
  freeze?: {
@@ -786,8 +786,13 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
786
786
  }[] | undefined;
787
787
  } | undefined;
788
788
  }>, {
789
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
789
+ resources: {
790
+ cpuCores?: number | undefined;
791
+ memoryBytes?: number | undefined;
792
+ diskBytes?: number | undefined;
793
+ };
790
794
  id: string;
795
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
791
796
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
792
797
  runtimeRequirements: string[];
793
798
  sourceRoots: string[];
@@ -867,20 +872,20 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
867
872
  }[];
868
873
  endpoints: {
869
874
  id: string;
875
+ visibility: "private" | "host" | "loopback";
870
876
  protocol: "http" | "tcp" | "https";
871
877
  port: number;
872
- visibility: "host" | "loopback" | "private";
873
878
  authentication: "none" | "application" | "mtls";
874
879
  canonicalAlias?: string | undefined;
875
880
  }[];
876
881
  dependencies: {
877
882
  id: string;
878
883
  target: string;
879
- locality: "local" | "remote" | "either";
884
+ locality: "remote" | "local" | "either";
880
885
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
881
886
  capability?: string | undefined;
882
887
  }[];
883
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
888
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
884
889
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
885
890
  secretRefs: Record<string, string>;
886
891
  shutdown: {
@@ -894,11 +899,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
894
899
  cwd?: string | undefined;
895
900
  } | undefined;
896
901
  };
897
- resources: {
898
- cpuCores?: number | undefined;
899
- memoryBytes?: number | undefined;
900
- diskBytes?: number | undefined;
901
- };
902
902
  logs: string[];
903
903
  forbiddenOperations: string[];
904
904
  promotion: {
@@ -924,8 +924,8 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
924
924
  }[];
925
925
  } | undefined;
926
926
  }, {
927
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
928
927
  id: string;
928
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
929
929
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
930
930
  sourceRoots: string[];
931
931
  operations: {
@@ -995,7 +995,7 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
995
995
  kind: "process";
996
996
  graceSeconds?: number | undefined;
997
997
  };
998
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
998
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
999
999
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1000
1000
  shutdown: {
1001
1001
  graceSeconds?: number | undefined;
@@ -1012,6 +1012,11 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1012
1012
  liveAdmissible: false;
1013
1013
  candidateRequiresVerification: true;
1014
1014
  };
1015
+ resources?: {
1016
+ cpuCores?: number | undefined;
1017
+ memoryBytes?: number | undefined;
1018
+ diskBytes?: number | undefined;
1019
+ } | undefined;
1015
1020
  runtimeRequirements?: string[] | undefined;
1016
1021
  ignoredPaths?: string[] | undefined;
1017
1022
  outputs?: {
@@ -1022,9 +1027,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1022
1027
  }[] | undefined;
1023
1028
  endpoints?: {
1024
1029
  id: string;
1030
+ visibility: "private" | "host" | "loopback";
1025
1031
  protocol: "http" | "tcp" | "https";
1026
1032
  port: number;
1027
- visibility: "host" | "loopback" | "private";
1028
1033
  canonicalAlias?: string | undefined;
1029
1034
  authentication?: "none" | "application" | "mtls" | undefined;
1030
1035
  }[] | undefined;
@@ -1033,14 +1038,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1033
1038
  target: string;
1034
1039
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1035
1040
  capability?: string | undefined;
1036
- locality?: "local" | "remote" | "either" | undefined;
1041
+ locality?: "remote" | "local" | "either" | undefined;
1037
1042
  }[] | undefined;
1038
1043
  secretRefs?: Record<string, string> | undefined;
1039
- resources?: {
1040
- cpuCores?: number | undefined;
1041
- memoryBytes?: number | undefined;
1042
- diskBytes?: number | undefined;
1043
- } | undefined;
1044
1044
  logs?: string[] | undefined;
1045
1045
  forbiddenOperations?: string[] | undefined;
1046
1046
  freeze?: {
@@ -1397,30 +1397,30 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1397
1397
  authentication: z.ZodDefault<z.ZodEnum<["none", "application", "mtls"]>>;
1398
1398
  }, "strict", z.ZodTypeAny, {
1399
1399
  id: string;
1400
+ visibility: "private" | "host" | "loopback";
1400
1401
  protocol: "http" | "tcp" | "https";
1401
1402
  port: number;
1402
- visibility: "host" | "loopback" | "private";
1403
1403
  authentication: "none" | "application" | "mtls";
1404
1404
  canonicalAlias?: string | undefined;
1405
1405
  }, {
1406
1406
  id: string;
1407
+ visibility: "private" | "host" | "loopback";
1407
1408
  protocol: "http" | "tcp" | "https";
1408
1409
  port: number;
1409
- visibility: "host" | "loopback" | "private";
1410
1410
  canonicalAlias?: string | undefined;
1411
1411
  authentication?: "none" | "application" | "mtls" | undefined;
1412
1412
  }>, {
1413
1413
  id: string;
1414
+ visibility: "private" | "host" | "loopback";
1414
1415
  protocol: "http" | "tcp" | "https";
1415
1416
  port: number;
1416
- visibility: "host" | "loopback" | "private";
1417
1417
  authentication: "none" | "application" | "mtls";
1418
1418
  canonicalAlias?: string | undefined;
1419
1419
  }, {
1420
1420
  id: string;
1421
+ visibility: "private" | "host" | "loopback";
1421
1422
  protocol: "http" | "tcp" | "https";
1422
1423
  port: number;
1423
- visibility: "host" | "loopback" | "private";
1424
1424
  canonicalAlias?: string | undefined;
1425
1425
  authentication?: "none" | "application" | "mtls" | undefined;
1426
1426
  }>, "many">>;
@@ -1433,7 +1433,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1433
1433
  }, "strict", z.ZodTypeAny, {
1434
1434
  id: string;
1435
1435
  target: string;
1436
- locality: "local" | "remote" | "either";
1436
+ locality: "remote" | "local" | "either";
1437
1437
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1438
1438
  capability?: string | undefined;
1439
1439
  }, {
@@ -1441,7 +1441,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1441
1441
  target: string;
1442
1442
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1443
1443
  capability?: string | undefined;
1444
- locality?: "local" | "remote" | "either" | undefined;
1444
+ locality?: "remote" | "local" | "either" | undefined;
1445
1445
  }>, "many">>;
1446
1446
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
1447
1447
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -1591,8 +1591,13 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1591
1591
  candidateRequiresVerification: true;
1592
1592
  }>;
1593
1593
  }, "strict", z.ZodTypeAny, {
1594
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1594
+ resources: {
1595
+ cpuCores?: number | undefined;
1596
+ memoryBytes?: number | undefined;
1597
+ diskBytes?: number | undefined;
1598
+ };
1595
1599
  id: string;
1600
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1596
1601
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1597
1602
  runtimeRequirements: string[];
1598
1603
  sourceRoots: string[];
@@ -1672,20 +1677,20 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1672
1677
  }[];
1673
1678
  endpoints: {
1674
1679
  id: string;
1680
+ visibility: "private" | "host" | "loopback";
1675
1681
  protocol: "http" | "tcp" | "https";
1676
1682
  port: number;
1677
- visibility: "host" | "loopback" | "private";
1678
1683
  authentication: "none" | "application" | "mtls";
1679
1684
  canonicalAlias?: string | undefined;
1680
1685
  }[];
1681
1686
  dependencies: {
1682
1687
  id: string;
1683
1688
  target: string;
1684
- locality: "local" | "remote" | "either";
1689
+ locality: "remote" | "local" | "either";
1685
1690
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1686
1691
  capability?: string | undefined;
1687
1692
  }[];
1688
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
1693
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1689
1694
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1690
1695
  secretRefs: Record<string, string>;
1691
1696
  shutdown: {
@@ -1699,11 +1704,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1699
1704
  cwd?: string | undefined;
1700
1705
  } | undefined;
1701
1706
  };
1702
- resources: {
1703
- cpuCores?: number | undefined;
1704
- memoryBytes?: number | undefined;
1705
- diskBytes?: number | undefined;
1706
- };
1707
1707
  logs: string[];
1708
1708
  forbiddenOperations: string[];
1709
1709
  promotion: {
@@ -1729,8 +1729,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1729
1729
  }[];
1730
1730
  } | undefined;
1731
1731
  }, {
1732
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1733
1732
  id: string;
1733
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1734
1734
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1735
1735
  sourceRoots: string[];
1736
1736
  operations: {
@@ -1800,7 +1800,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1800
1800
  kind: "process";
1801
1801
  graceSeconds?: number | undefined;
1802
1802
  };
1803
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
1803
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1804
1804
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1805
1805
  shutdown: {
1806
1806
  graceSeconds?: number | undefined;
@@ -1817,6 +1817,11 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1817
1817
  liveAdmissible: false;
1818
1818
  candidateRequiresVerification: true;
1819
1819
  };
1820
+ resources?: {
1821
+ cpuCores?: number | undefined;
1822
+ memoryBytes?: number | undefined;
1823
+ diskBytes?: number | undefined;
1824
+ } | undefined;
1820
1825
  runtimeRequirements?: string[] | undefined;
1821
1826
  ignoredPaths?: string[] | undefined;
1822
1827
  outputs?: {
@@ -1827,9 +1832,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1827
1832
  }[] | undefined;
1828
1833
  endpoints?: {
1829
1834
  id: string;
1835
+ visibility: "private" | "host" | "loopback";
1830
1836
  protocol: "http" | "tcp" | "https";
1831
1837
  port: number;
1832
- visibility: "host" | "loopback" | "private";
1833
1838
  canonicalAlias?: string | undefined;
1834
1839
  authentication?: "none" | "application" | "mtls" | undefined;
1835
1840
  }[] | undefined;
@@ -1838,14 +1843,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1838
1843
  target: string;
1839
1844
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1840
1845
  capability?: string | undefined;
1841
- locality?: "local" | "remote" | "either" | undefined;
1846
+ locality?: "remote" | "local" | "either" | undefined;
1842
1847
  }[] | undefined;
1843
1848
  secretRefs?: Record<string, string> | undefined;
1844
- resources?: {
1845
- cpuCores?: number | undefined;
1846
- memoryBytes?: number | undefined;
1847
- diskBytes?: number | undefined;
1848
- } | undefined;
1849
1849
  logs?: string[] | undefined;
1850
1850
  forbiddenOperations?: string[] | undefined;
1851
1851
  freeze?: {
@@ -1867,8 +1867,13 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1867
1867
  }[] | undefined;
1868
1868
  } | undefined;
1869
1869
  }>, {
1870
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1870
+ resources: {
1871
+ cpuCores?: number | undefined;
1872
+ memoryBytes?: number | undefined;
1873
+ diskBytes?: number | undefined;
1874
+ };
1871
1875
  id: string;
1876
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1872
1877
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1873
1878
  runtimeRequirements: string[];
1874
1879
  sourceRoots: string[];
@@ -1948,20 +1953,20 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1948
1953
  }[];
1949
1954
  endpoints: {
1950
1955
  id: string;
1956
+ visibility: "private" | "host" | "loopback";
1951
1957
  protocol: "http" | "tcp" | "https";
1952
1958
  port: number;
1953
- visibility: "host" | "loopback" | "private";
1954
1959
  authentication: "none" | "application" | "mtls";
1955
1960
  canonicalAlias?: string | undefined;
1956
1961
  }[];
1957
1962
  dependencies: {
1958
1963
  id: string;
1959
1964
  target: string;
1960
- locality: "local" | "remote" | "either";
1965
+ locality: "remote" | "local" | "either";
1961
1966
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1962
1967
  capability?: string | undefined;
1963
1968
  }[];
1964
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
1969
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1965
1970
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1966
1971
  secretRefs: Record<string, string>;
1967
1972
  shutdown: {
@@ -1975,11 +1980,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
1975
1980
  cwd?: string | undefined;
1976
1981
  } | undefined;
1977
1982
  };
1978
- resources: {
1979
- cpuCores?: number | undefined;
1980
- memoryBytes?: number | undefined;
1981
- diskBytes?: number | undefined;
1982
- };
1983
1983
  logs: string[];
1984
1984
  forbiddenOperations: string[];
1985
1985
  promotion: {
@@ -2005,8 +2005,8 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2005
2005
  }[];
2006
2006
  } | undefined;
2007
2007
  }, {
2008
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2009
2008
  id: string;
2009
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2010
2010
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2011
2011
  sourceRoots: string[];
2012
2012
  operations: {
@@ -2076,7 +2076,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2076
2076
  kind: "process";
2077
2077
  graceSeconds?: number | undefined;
2078
2078
  };
2079
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
2079
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2080
2080
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2081
2081
  shutdown: {
2082
2082
  graceSeconds?: number | undefined;
@@ -2093,6 +2093,11 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2093
2093
  liveAdmissible: false;
2094
2094
  candidateRequiresVerification: true;
2095
2095
  };
2096
+ resources?: {
2097
+ cpuCores?: number | undefined;
2098
+ memoryBytes?: number | undefined;
2099
+ diskBytes?: number | undefined;
2100
+ } | undefined;
2096
2101
  runtimeRequirements?: string[] | undefined;
2097
2102
  ignoredPaths?: string[] | undefined;
2098
2103
  outputs?: {
@@ -2103,9 +2108,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2103
2108
  }[] | undefined;
2104
2109
  endpoints?: {
2105
2110
  id: string;
2111
+ visibility: "private" | "host" | "loopback";
2106
2112
  protocol: "http" | "tcp" | "https";
2107
2113
  port: number;
2108
- visibility: "host" | "loopback" | "private";
2109
2114
  canonicalAlias?: string | undefined;
2110
2115
  authentication?: "none" | "application" | "mtls" | undefined;
2111
2116
  }[] | undefined;
@@ -2114,14 +2119,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2114
2119
  target: string;
2115
2120
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2116
2121
  capability?: string | undefined;
2117
- locality?: "local" | "remote" | "either" | undefined;
2122
+ locality?: "remote" | "local" | "either" | undefined;
2118
2123
  }[] | undefined;
2119
2124
  secretRefs?: Record<string, string> | undefined;
2120
- resources?: {
2121
- cpuCores?: number | undefined;
2122
- memoryBytes?: number | undefined;
2123
- diskBytes?: number | undefined;
2124
- } | undefined;
2125
2125
  logs?: string[] | undefined;
2126
2126
  forbiddenOperations?: string[] | undefined;
2127
2127
  freeze?: {
@@ -2144,18 +2144,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2144
2144
  } | undefined;
2145
2145
  }>, "many">;
2146
2146
  }, "strict", z.ZodTypeAny, {
2147
- schemaVersion: "treeseed.development-runtime/v1";
2148
2147
  project: {
2149
2148
  id: string;
2150
2149
  repository: string;
2151
2150
  };
2152
- defaults: {
2153
- leaseSeconds: number;
2154
- restoreOnFailure: boolean;
2155
- };
2151
+ schemaVersion: "treeseed.development-runtime/v1";
2156
2152
  targets: {
2157
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2153
+ resources: {
2154
+ cpuCores?: number | undefined;
2155
+ memoryBytes?: number | undefined;
2156
+ diskBytes?: number | undefined;
2157
+ };
2158
2158
  id: string;
2159
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2159
2160
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2160
2161
  runtimeRequirements: string[];
2161
2162
  sourceRoots: string[];
@@ -2235,20 +2236,20 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2235
2236
  }[];
2236
2237
  endpoints: {
2237
2238
  id: string;
2239
+ visibility: "private" | "host" | "loopback";
2238
2240
  protocol: "http" | "tcp" | "https";
2239
2241
  port: number;
2240
- visibility: "host" | "loopback" | "private";
2241
2242
  authentication: "none" | "application" | "mtls";
2242
2243
  canonicalAlias?: string | undefined;
2243
2244
  }[];
2244
2245
  dependencies: {
2245
2246
  id: string;
2246
2247
  target: string;
2247
- locality: "local" | "remote" | "either";
2248
+ locality: "remote" | "local" | "either";
2248
2249
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2249
2250
  capability?: string | undefined;
2250
2251
  }[];
2251
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
2252
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2252
2253
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2253
2254
  secretRefs: Record<string, string>;
2254
2255
  shutdown: {
@@ -2262,11 +2263,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2262
2263
  cwd?: string | undefined;
2263
2264
  } | undefined;
2264
2265
  };
2265
- resources: {
2266
- cpuCores?: number | undefined;
2267
- memoryBytes?: number | undefined;
2268
- diskBytes?: number | undefined;
2269
- };
2270
2266
  logs: string[];
2271
2267
  forbiddenOperations: string[];
2272
2268
  promotion: {
@@ -2292,19 +2288,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2292
2288
  }[];
2293
2289
  } | undefined;
2294
2290
  }[];
2291
+ defaults: {
2292
+ leaseSeconds: number;
2293
+ restoreOnFailure: boolean;
2294
+ };
2295
2295
  }, {
2296
- schemaVersion: "treeseed.development-runtime/v1";
2297
2296
  project: {
2298
2297
  id: string;
2299
2298
  repository: string;
2300
2299
  };
2301
- defaults: {
2302
- leaseSeconds?: number | undefined;
2303
- restoreOnFailure?: boolean | undefined;
2304
- };
2300
+ schemaVersion: "treeseed.development-runtime/v1";
2305
2301
  targets: {
2306
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2307
2302
  id: string;
2303
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2308
2304
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2309
2305
  sourceRoots: string[];
2310
2306
  operations: {
@@ -2374,7 +2370,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2374
2370
  kind: "process";
2375
2371
  graceSeconds?: number | undefined;
2376
2372
  };
2377
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
2373
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2378
2374
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2379
2375
  shutdown: {
2380
2376
  graceSeconds?: number | undefined;
@@ -2391,6 +2387,11 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2391
2387
  liveAdmissible: false;
2392
2388
  candidateRequiresVerification: true;
2393
2389
  };
2390
+ resources?: {
2391
+ cpuCores?: number | undefined;
2392
+ memoryBytes?: number | undefined;
2393
+ diskBytes?: number | undefined;
2394
+ } | undefined;
2394
2395
  runtimeRequirements?: string[] | undefined;
2395
2396
  ignoredPaths?: string[] | undefined;
2396
2397
  outputs?: {
@@ -2401,9 +2402,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2401
2402
  }[] | undefined;
2402
2403
  endpoints?: {
2403
2404
  id: string;
2405
+ visibility: "private" | "host" | "loopback";
2404
2406
  protocol: "http" | "tcp" | "https";
2405
2407
  port: number;
2406
- visibility: "host" | "loopback" | "private";
2407
2408
  canonicalAlias?: string | undefined;
2408
2409
  authentication?: "none" | "application" | "mtls" | undefined;
2409
2410
  }[] | undefined;
@@ -2412,14 +2413,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2412
2413
  target: string;
2413
2414
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2414
2415
  capability?: string | undefined;
2415
- locality?: "local" | "remote" | "either" | undefined;
2416
+ locality?: "remote" | "local" | "either" | undefined;
2416
2417
  }[] | undefined;
2417
2418
  secretRefs?: Record<string, string> | undefined;
2418
- resources?: {
2419
- cpuCores?: number | undefined;
2420
- memoryBytes?: number | undefined;
2421
- diskBytes?: number | undefined;
2422
- } | undefined;
2423
2419
  logs?: string[] | undefined;
2424
2420
  forbiddenOperations?: string[] | undefined;
2425
2421
  freeze?: {
@@ -2441,19 +2437,24 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2441
2437
  }[] | undefined;
2442
2438
  } | undefined;
2443
2439
  }[];
2440
+ defaults: {
2441
+ leaseSeconds?: number | undefined;
2442
+ restoreOnFailure?: boolean | undefined;
2443
+ };
2444
2444
  }>, {
2445
- schemaVersion: "treeseed.development-runtime/v1";
2446
2445
  project: {
2447
2446
  id: string;
2448
2447
  repository: string;
2449
2448
  };
2450
- defaults: {
2451
- leaseSeconds: number;
2452
- restoreOnFailure: boolean;
2453
- };
2449
+ schemaVersion: "treeseed.development-runtime/v1";
2454
2450
  targets: {
2455
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2451
+ resources: {
2452
+ cpuCores?: number | undefined;
2453
+ memoryBytes?: number | undefined;
2454
+ diskBytes?: number | undefined;
2455
+ };
2456
2456
  id: string;
2457
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2457
2458
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2458
2459
  runtimeRequirements: string[];
2459
2460
  sourceRoots: string[];
@@ -2533,20 +2534,20 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2533
2534
  }[];
2534
2535
  endpoints: {
2535
2536
  id: string;
2537
+ visibility: "private" | "host" | "loopback";
2536
2538
  protocol: "http" | "tcp" | "https";
2537
2539
  port: number;
2538
- visibility: "host" | "loopback" | "private";
2539
2540
  authentication: "none" | "application" | "mtls";
2540
2541
  canonicalAlias?: string | undefined;
2541
2542
  }[];
2542
2543
  dependencies: {
2543
2544
  id: string;
2544
2545
  target: string;
2545
- locality: "local" | "remote" | "either";
2546
+ locality: "remote" | "local" | "either";
2546
2547
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2547
2548
  capability?: string | undefined;
2548
2549
  }[];
2549
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
2550
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2550
2551
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2551
2552
  secretRefs: Record<string, string>;
2552
2553
  shutdown: {
@@ -2560,11 +2561,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2560
2561
  cwd?: string | undefined;
2561
2562
  } | undefined;
2562
2563
  };
2563
- resources: {
2564
- cpuCores?: number | undefined;
2565
- memoryBytes?: number | undefined;
2566
- diskBytes?: number | undefined;
2567
- };
2568
2564
  logs: string[];
2569
2565
  forbiddenOperations: string[];
2570
2566
  promotion: {
@@ -2590,19 +2586,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2590
2586
  }[];
2591
2587
  } | undefined;
2592
2588
  }[];
2589
+ defaults: {
2590
+ leaseSeconds: number;
2591
+ restoreOnFailure: boolean;
2592
+ };
2593
2593
  }, {
2594
- schemaVersion: "treeseed.development-runtime/v1";
2595
2594
  project: {
2596
2595
  id: string;
2597
2596
  repository: string;
2598
2597
  };
2599
- defaults: {
2600
- leaseSeconds?: number | undefined;
2601
- restoreOnFailure?: boolean | undefined;
2602
- };
2598
+ schemaVersion: "treeseed.development-runtime/v1";
2603
2599
  targets: {
2604
- kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2605
2600
  id: string;
2601
+ kind: "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2606
2602
  platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2607
2603
  sourceRoots: string[];
2608
2604
  operations: {
@@ -2672,7 +2668,7 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2672
2668
  kind: "process";
2673
2669
  graceSeconds?: number | undefined;
2674
2670
  };
2675
- statePolicy: "stateless" | "ephemeral" | "clone" | "shared-compatible";
2671
+ statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2676
2672
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2677
2673
  shutdown: {
2678
2674
  graceSeconds?: number | undefined;
@@ -2689,6 +2685,11 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2689
2685
  liveAdmissible: false;
2690
2686
  candidateRequiresVerification: true;
2691
2687
  };
2688
+ resources?: {
2689
+ cpuCores?: number | undefined;
2690
+ memoryBytes?: number | undefined;
2691
+ diskBytes?: number | undefined;
2692
+ } | undefined;
2692
2693
  runtimeRequirements?: string[] | undefined;
2693
2694
  ignoredPaths?: string[] | undefined;
2694
2695
  outputs?: {
@@ -2699,9 +2700,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2699
2700
  }[] | undefined;
2700
2701
  endpoints?: {
2701
2702
  id: string;
2703
+ visibility: "private" | "host" | "loopback";
2702
2704
  protocol: "http" | "tcp" | "https";
2703
2705
  port: number;
2704
- visibility: "host" | "loopback" | "private";
2705
2706
  canonicalAlias?: string | undefined;
2706
2707
  authentication?: "none" | "application" | "mtls" | undefined;
2707
2708
  }[] | undefined;
@@ -2710,14 +2711,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2710
2711
  target: string;
2711
2712
  reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2712
2713
  capability?: string | undefined;
2713
- locality?: "local" | "remote" | "either" | undefined;
2714
+ locality?: "remote" | "local" | "either" | undefined;
2714
2715
  }[] | undefined;
2715
2716
  secretRefs?: Record<string, string> | undefined;
2716
- resources?: {
2717
- cpuCores?: number | undefined;
2718
- memoryBytes?: number | undefined;
2719
- diskBytes?: number | undefined;
2720
- } | undefined;
2721
2717
  logs?: string[] | undefined;
2722
2718
  forbiddenOperations?: string[] | undefined;
2723
2719
  freeze?: {
@@ -2739,6 +2735,10 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodObject<{
2739
2735
  }[] | undefined;
2740
2736
  } | undefined;
2741
2737
  }[];
2738
+ defaults: {
2739
+ leaseSeconds?: number | undefined;
2740
+ restoreOnFailure?: boolean | undefined;
2741
+ };
2742
2742
  }>;
2743
2743
  export declare const developmentSessionSchema: z.ZodObject<{
2744
2744
  schemaVersion: z.ZodLiteral<"treeseed.development-session/v1">;
@@ -2760,19 +2760,19 @@ export declare const developmentSessionSchema: z.ZodObject<{
2760
2760
  }, "strict", z.ZodTypeAny, {
2761
2761
  dirty: boolean;
2762
2762
  repository: string;
2763
+ branch: string | null;
2764
+ commit: string;
2763
2765
  projectId: string;
2764
2766
  worktree: string;
2765
- commit: string;
2766
- branch: string | null;
2767
2767
  dirtyDigest: string | null;
2768
2768
  recipeDigest: string;
2769
2769
  }, {
2770
2770
  dirty: boolean;
2771
2771
  repository: string;
2772
+ branch: string | null;
2773
+ commit: string;
2772
2774
  projectId: string;
2773
2775
  worktree: string;
2774
- commit: string;
2775
- branch: string | null;
2776
2776
  dirtyDigest: string | null;
2777
2777
  recipeDigest: string;
2778
2778
  }>, "many">;
@@ -2785,15 +2785,15 @@ export declare const developmentSessionSchema: z.ZodObject<{
2785
2785
  reaction: z.ZodOptional<z.ZodEnum<["reload", "restart", "rebuild", "stale", "manual", "none"]>>;
2786
2786
  }, "strict", z.ZodTypeAny, {
2787
2787
  projectId: string;
2788
- targetId: string;
2789
2788
  mode: "released" | "candidate" | "live";
2789
+ targetId: string;
2790
2790
  generation: number;
2791
2791
  health: "ready" | "degraded" | "stopped" | "pending";
2792
2792
  reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
2793
2793
  }, {
2794
2794
  projectId: string;
2795
- targetId: string;
2796
2795
  mode: "released" | "candidate" | "live";
2796
+ targetId: string;
2797
2797
  generation: number;
2798
2798
  health: "ready" | "degraded" | "stopped" | "pending";
2799
2799
  reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
@@ -2804,13 +2804,13 @@ export declare const developmentSessionSchema: z.ZodObject<{
2804
2804
  acquiredAt: z.ZodString;
2805
2805
  expiresAt: z.ZodString;
2806
2806
  }, "strict", z.ZodTypeAny, {
2807
- kind: "alias" | "component" | "state" | "secret";
2808
2807
  expiresAt: string;
2808
+ kind: "state" | "alias" | "component" | "secret";
2809
2809
  resource: string;
2810
2810
  acquiredAt: string;
2811
2811
  }, {
2812
- kind: "alias" | "component" | "state" | "secret";
2813
2812
  expiresAt: string;
2813
+ kind: "state" | "alias" | "component" | "secret";
2814
2814
  resource: string;
2815
2815
  acquiredAt: string;
2816
2816
  }>, "many">;
@@ -2829,81 +2829,81 @@ export declare const developmentSessionSchema: z.ZodObject<{
2829
2829
  targetId?: string | undefined;
2830
2830
  }>, "many">;
2831
2831
  }, "strict", z.ZodTypeAny, {
2832
- schemaVersion: "treeseed.development-session/v1";
2833
2832
  status: "planning" | "active" | "degraded" | "restoring" | "stopped" | "expired";
2834
- createdAt: string;
2833
+ schemaVersion: "treeseed.development-session/v1";
2834
+ repositories: {
2835
+ dirty: boolean;
2836
+ repository: string;
2837
+ branch: string | null;
2838
+ commit: string;
2839
+ projectId: string;
2840
+ worktree: string;
2841
+ dirtyDigest: string | null;
2842
+ recipeDigest: string;
2843
+ }[];
2835
2844
  targets: {
2836
2845
  projectId: string;
2837
- targetId: string;
2838
2846
  mode: "released" | "candidate" | "live";
2847
+ targetId: string;
2839
2848
  generation: number;
2840
2849
  health: "ready" | "degraded" | "stopped" | "pending";
2841
2850
  reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
2842
2851
  }[];
2852
+ blockers: {
2853
+ code: string;
2854
+ message: string;
2855
+ targetId?: string | undefined;
2856
+ }[];
2857
+ createdAt: string;
2858
+ expiresAt: string;
2843
2859
  sessionId: string;
2844
2860
  actor: string;
2845
2861
  hostId: string;
2846
- expiresAt: string;
2847
- repositories: {
2848
- dirty: boolean;
2849
- repository: string;
2850
- projectId: string;
2851
- worktree: string;
2852
- commit: string;
2853
- branch: string | null;
2854
- dirtyDigest: string | null;
2855
- recipeDigest: string;
2856
- }[];
2857
2862
  leases: {
2858
- kind: "alias" | "component" | "state" | "secret";
2859
2863
  expiresAt: string;
2864
+ kind: "state" | "alias" | "component" | "secret";
2860
2865
  resource: string;
2861
2866
  acquiredAt: string;
2862
2867
  }[];
2863
2868
  restoredReceiptId: string | null;
2864
- blockers: {
2865
- code: string;
2866
- message: string;
2867
- targetId?: string | undefined;
2868
- }[];
2869
2869
  }, {
2870
- schemaVersion: "treeseed.development-session/v1";
2871
2870
  status: "planning" | "active" | "degraded" | "restoring" | "stopped" | "expired";
2872
- createdAt: string;
2871
+ schemaVersion: "treeseed.development-session/v1";
2872
+ repositories: {
2873
+ dirty: boolean;
2874
+ repository: string;
2875
+ branch: string | null;
2876
+ commit: string;
2877
+ projectId: string;
2878
+ worktree: string;
2879
+ dirtyDigest: string | null;
2880
+ recipeDigest: string;
2881
+ }[];
2873
2882
  targets: {
2874
2883
  projectId: string;
2875
- targetId: string;
2876
2884
  mode: "released" | "candidate" | "live";
2885
+ targetId: string;
2877
2886
  generation: number;
2878
2887
  health: "ready" | "degraded" | "stopped" | "pending";
2879
2888
  reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
2880
2889
  }[];
2890
+ blockers: {
2891
+ code: string;
2892
+ message: string;
2893
+ targetId?: string | undefined;
2894
+ }[];
2895
+ createdAt: string;
2896
+ expiresAt: string;
2881
2897
  sessionId: string;
2882
2898
  actor: string;
2883
2899
  hostId: string;
2884
- expiresAt: string;
2885
- repositories: {
2886
- dirty: boolean;
2887
- repository: string;
2888
- projectId: string;
2889
- worktree: string;
2890
- commit: string;
2891
- branch: string | null;
2892
- dirtyDigest: string | null;
2893
- recipeDigest: string;
2894
- }[];
2895
2900
  leases: {
2896
- kind: "alias" | "component" | "state" | "secret";
2897
2901
  expiresAt: string;
2902
+ kind: "state" | "alias" | "component" | "secret";
2898
2903
  resource: string;
2899
2904
  acquiredAt: string;
2900
2905
  }[];
2901
2906
  restoredReceiptId: string | null;
2902
- blockers: {
2903
- code: string;
2904
- message: string;
2905
- targetId?: string | undefined;
2906
- }[];
2907
2907
  }>;
2908
2908
  export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
2909
2909
  schemaVersion: z.ZodLiteral<"treeseed.development-candidate/v1">;
@@ -2922,19 +2922,19 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
2922
2922
  }, "strict", z.ZodTypeAny, {
2923
2923
  dirty: boolean;
2924
2924
  repository: string;
2925
+ branch: string | null;
2926
+ commit: string;
2925
2927
  projectId: string;
2926
2928
  worktree: string;
2927
- commit: string;
2928
- branch: string | null;
2929
2929
  dirtyDigest: string | null;
2930
2930
  recipeDigest: string;
2931
2931
  }, {
2932
2932
  dirty: boolean;
2933
2933
  repository: string;
2934
+ branch: string | null;
2935
+ commit: string;
2934
2936
  projectId: string;
2935
2937
  worktree: string;
2936
- commit: string;
2937
- branch: string | null;
2938
2938
  dirtyDigest: string | null;
2939
2939
  recipeDigest: string;
2940
2940
  }>, "many">;
@@ -2946,18 +2946,18 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
2946
2946
  digest: z.ZodString;
2947
2947
  integrity: z.ZodOptional<z.ZodString>;
2948
2948
  }, "strict", z.ZodTypeAny, {
2949
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
2949
+ digest: string;
2950
2950
  projectId: string;
2951
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
2951
2952
  targetId: string;
2952
2953
  identity: string;
2953
- digest: string;
2954
2954
  integrity?: string | undefined;
2955
2955
  }, {
2956
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
2956
+ digest: string;
2957
2957
  projectId: string;
2958
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
2958
2959
  targetId: string;
2959
2960
  identity: string;
2960
- digest: string;
2961
2961
  integrity?: string | undefined;
2962
2962
  }>, "many">;
2963
2963
  configurationDigest: z.ZodString;
@@ -2995,26 +2995,26 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
2995
2995
  }, "strict", z.ZodTypeAny, {
2996
2996
  schemaVersion: "treeseed.development-candidate/v1";
2997
2997
  createdAt: string;
2998
- artifacts: {
2999
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3000
- projectId: string;
3001
- targetId: string;
3002
- identity: string;
3003
- digest: string;
3004
- integrity?: string | undefined;
3005
- }[];
3006
- sessionId: string;
3007
- candidateId: string;
3008
2998
  source: {
3009
2999
  dirty: boolean;
3010
3000
  repository: string;
3001
+ branch: string | null;
3002
+ commit: string;
3011
3003
  projectId: string;
3012
3004
  worktree: string;
3013
- commit: string;
3014
- branch: string | null;
3015
3005
  dirtyDigest: string | null;
3016
3006
  recipeDigest: string;
3017
3007
  }[];
3008
+ artifacts: {
3009
+ digest: string;
3010
+ projectId: string;
3011
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3012
+ targetId: string;
3013
+ identity: string;
3014
+ integrity?: string | undefined;
3015
+ }[];
3016
+ sessionId: string;
3017
+ candidateId: string;
3018
3018
  configurationDigest: string;
3019
3019
  dependencyGenerations: Record<string, number>;
3020
3020
  compatibilityAttestations: {
@@ -3032,26 +3032,26 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3032
3032
  }, {
3033
3033
  schemaVersion: "treeseed.development-candidate/v1";
3034
3034
  createdAt: string;
3035
- artifacts: {
3036
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3037
- projectId: string;
3038
- targetId: string;
3039
- identity: string;
3040
- digest: string;
3041
- integrity?: string | undefined;
3042
- }[];
3043
- sessionId: string;
3044
- candidateId: string;
3045
3035
  source: {
3046
3036
  dirty: boolean;
3047
3037
  repository: string;
3038
+ branch: string | null;
3039
+ commit: string;
3048
3040
  projectId: string;
3049
3041
  worktree: string;
3050
- commit: string;
3051
- branch: string | null;
3052
3042
  dirtyDigest: string | null;
3053
3043
  recipeDigest: string;
3054
3044
  }[];
3045
+ artifacts: {
3046
+ digest: string;
3047
+ projectId: string;
3048
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3049
+ targetId: string;
3050
+ identity: string;
3051
+ integrity?: string | undefined;
3052
+ }[];
3053
+ sessionId: string;
3054
+ candidateId: string;
3055
3055
  configurationDigest: string;
3056
3056
  dependencyGenerations: Record<string, number>;
3057
3057
  compatibilityAttestations: {
@@ -3069,26 +3069,26 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3069
3069
  }>, {
3070
3070
  schemaVersion: "treeseed.development-candidate/v1";
3071
3071
  createdAt: string;
3072
- artifacts: {
3073
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3074
- projectId: string;
3075
- targetId: string;
3076
- identity: string;
3077
- digest: string;
3078
- integrity?: string | undefined;
3079
- }[];
3080
- sessionId: string;
3081
- candidateId: string;
3082
3072
  source: {
3083
3073
  dirty: boolean;
3084
3074
  repository: string;
3075
+ branch: string | null;
3076
+ commit: string;
3085
3077
  projectId: string;
3086
3078
  worktree: string;
3087
- commit: string;
3088
- branch: string | null;
3089
3079
  dirtyDigest: string | null;
3090
3080
  recipeDigest: string;
3091
3081
  }[];
3082
+ artifacts: {
3083
+ digest: string;
3084
+ projectId: string;
3085
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3086
+ targetId: string;
3087
+ identity: string;
3088
+ integrity?: string | undefined;
3089
+ }[];
3090
+ sessionId: string;
3091
+ candidateId: string;
3092
3092
  configurationDigest: string;
3093
3093
  dependencyGenerations: Record<string, number>;
3094
3094
  compatibilityAttestations: {
@@ -3106,26 +3106,26 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3106
3106
  }, {
3107
3107
  schemaVersion: "treeseed.development-candidate/v1";
3108
3108
  createdAt: string;
3109
- artifacts: {
3110
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3111
- projectId: string;
3112
- targetId: string;
3113
- identity: string;
3114
- digest: string;
3115
- integrity?: string | undefined;
3116
- }[];
3117
- sessionId: string;
3118
- candidateId: string;
3119
3109
  source: {
3120
3110
  dirty: boolean;
3121
3111
  repository: string;
3112
+ branch: string | null;
3113
+ commit: string;
3122
3114
  projectId: string;
3123
3115
  worktree: string;
3124
- commit: string;
3125
- branch: string | null;
3126
3116
  dirtyDigest: string | null;
3127
3117
  recipeDigest: string;
3128
3118
  }[];
3119
+ artifacts: {
3120
+ digest: string;
3121
+ projectId: string;
3122
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3123
+ targetId: string;
3124
+ identity: string;
3125
+ integrity?: string | undefined;
3126
+ }[];
3127
+ sessionId: string;
3128
+ candidateId: string;
3129
3129
  configurationDigest: string;
3130
3130
  dependencyGenerations: Record<string, number>;
3131
3131
  compatibilityAttestations: {
@@ -3152,15 +3152,15 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3152
3152
  workflowRunId: z.ZodString;
3153
3153
  createdAt: z.ZodString;
3154
3154
  }, "strict", z.ZodTypeAny, {
3155
- createdAt: string;
3156
3155
  id: string;
3156
+ createdAt: string;
3157
3157
  receiptDigest: string;
3158
3158
  sourceCommit: string;
3159
3159
  stagingRef: string;
3160
3160
  workflowRunId: string;
3161
3161
  }, {
3162
- createdAt: string;
3163
3162
  id: string;
3163
+ createdAt: string;
3164
3164
  receiptDigest: string;
3165
3165
  sourceCommit: string;
3166
3166
  stagingRef: string;
@@ -3172,15 +3172,15 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3172
3172
  version: z.ZodString;
3173
3173
  minimumBump: z.ZodEnum<["none", "patch", "minor", "major"]>;
3174
3174
  }, "strict", z.ZodTypeAny, {
3175
+ version: string;
3176
+ name: string;
3175
3177
  projectId: string;
3176
3178
  minimumBump: "none" | "patch" | "minor" | "major";
3177
- name: string;
3178
- version: string;
3179
3179
  }, {
3180
+ version: string;
3181
+ name: string;
3180
3182
  projectId: string;
3181
3183
  minimumBump: "none" | "patch" | "minor" | "major";
3182
- name: string;
3183
- version: string;
3184
3184
  }>, "many">;
3185
3185
  artifacts: z.ZodArray<z.ZodObject<{
3186
3186
  id: z.ZodString;
@@ -3190,18 +3190,18 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3190
3190
  mediaType: z.ZodString;
3191
3191
  size: z.ZodOptional<z.ZodNumber>;
3192
3192
  }, "strict", z.ZodTypeAny, {
3193
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3194
3193
  id: string;
3194
+ digest: string;
3195
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3195
3196
  mediaType: string;
3196
3197
  identity: string;
3197
- digest: string;
3198
3198
  size?: number | undefined;
3199
3199
  }, {
3200
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3201
3200
  id: string;
3201
+ digest: string;
3202
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3202
3203
  mediaType: string;
3203
3204
  identity: string;
3204
- digest: string;
3205
3205
  size?: number | undefined;
3206
3206
  }>, "many">;
3207
3207
  contractBundles: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3245,20 +3245,26 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3245
3245
  }>;
3246
3246
  }, "strict", z.ZodTypeAny, {
3247
3247
  schemaVersion: "treeseed.release-evidence/v1";
3248
+ packages: {
3249
+ version: string;
3250
+ name: string;
3251
+ projectId: string;
3252
+ minimumBump: "none" | "patch" | "minor" | "major";
3253
+ }[];
3248
3254
  candidate: {
3249
- createdAt: string;
3250
3255
  id: string;
3256
+ createdAt: string;
3251
3257
  receiptDigest: string;
3252
3258
  sourceCommit: string;
3253
3259
  stagingRef: string;
3254
3260
  workflowRunId: string;
3255
3261
  };
3256
3262
  artifacts: {
3257
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3258
3263
  id: string;
3264
+ digest: string;
3265
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3259
3266
  mediaType: string;
3260
3267
  identity: string;
3261
- digest: string;
3262
3268
  size?: number | undefined;
3263
3269
  }[];
3264
3270
  compatibilityAttestations: {
@@ -3272,32 +3278,32 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3272
3278
  operations: string[];
3273
3279
  completedAt: string;
3274
3280
  };
3275
- packages: {
3276
- projectId: string;
3277
- minimumBump: "none" | "patch" | "minor" | "major";
3278
- name: string;
3279
- version: string;
3280
- }[];
3281
3281
  contractBundles: {
3282
3282
  id: string;
3283
3283
  digest: string;
3284
3284
  }[];
3285
3285
  }, {
3286
3286
  schemaVersion: "treeseed.release-evidence/v1";
3287
+ packages: {
3288
+ version: string;
3289
+ name: string;
3290
+ projectId: string;
3291
+ minimumBump: "none" | "patch" | "minor" | "major";
3292
+ }[];
3287
3293
  candidate: {
3288
- createdAt: string;
3289
3294
  id: string;
3295
+ createdAt: string;
3290
3296
  receiptDigest: string;
3291
3297
  sourceCommit: string;
3292
3298
  stagingRef: string;
3293
3299
  workflowRunId: string;
3294
3300
  };
3295
3301
  artifacts: {
3296
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3297
3302
  id: string;
3303
+ digest: string;
3304
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3298
3305
  mediaType: string;
3299
3306
  identity: string;
3300
- digest: string;
3301
3307
  size?: number | undefined;
3302
3308
  }[];
3303
3309
  verification: {
@@ -3305,12 +3311,6 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3305
3311
  operations: string[];
3306
3312
  completedAt: string;
3307
3313
  };
3308
- packages: {
3309
- projectId: string;
3310
- minimumBump: "none" | "patch" | "minor" | "major";
3311
- name: string;
3312
- version: string;
3313
- }[];
3314
3314
  compatibilityAttestations?: {
3315
3315
  digest: string;
3316
3316
  contractId: string;
@@ -3323,20 +3323,26 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3323
3323
  }[] | undefined;
3324
3324
  }>, {
3325
3325
  schemaVersion: "treeseed.release-evidence/v1";
3326
+ packages: {
3327
+ version: string;
3328
+ name: string;
3329
+ projectId: string;
3330
+ minimumBump: "none" | "patch" | "minor" | "major";
3331
+ }[];
3326
3332
  candidate: {
3327
- createdAt: string;
3328
3333
  id: string;
3334
+ createdAt: string;
3329
3335
  receiptDigest: string;
3330
3336
  sourceCommit: string;
3331
3337
  stagingRef: string;
3332
3338
  workflowRunId: string;
3333
3339
  };
3334
3340
  artifacts: {
3335
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3336
3341
  id: string;
3342
+ digest: string;
3343
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3337
3344
  mediaType: string;
3338
3345
  identity: string;
3339
- digest: string;
3340
3346
  size?: number | undefined;
3341
3347
  }[];
3342
3348
  compatibilityAttestations: {
@@ -3350,32 +3356,32 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3350
3356
  operations: string[];
3351
3357
  completedAt: string;
3352
3358
  };
3353
- packages: {
3354
- projectId: string;
3355
- minimumBump: "none" | "patch" | "minor" | "major";
3356
- name: string;
3357
- version: string;
3358
- }[];
3359
3359
  contractBundles: {
3360
3360
  id: string;
3361
3361
  digest: string;
3362
3362
  }[];
3363
3363
  }, {
3364
3364
  schemaVersion: "treeseed.release-evidence/v1";
3365
+ packages: {
3366
+ version: string;
3367
+ name: string;
3368
+ projectId: string;
3369
+ minimumBump: "none" | "patch" | "minor" | "major";
3370
+ }[];
3365
3371
  candidate: {
3366
- createdAt: string;
3367
3372
  id: string;
3373
+ createdAt: string;
3368
3374
  receiptDigest: string;
3369
3375
  sourceCommit: string;
3370
3376
  stagingRef: string;
3371
3377
  workflowRunId: string;
3372
3378
  };
3373
3379
  artifacts: {
3374
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3375
3380
  id: string;
3381
+ digest: string;
3382
+ kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3376
3383
  mediaType: string;
3377
3384
  identity: string;
3378
- digest: string;
3379
3385
  size?: number | undefined;
3380
3386
  }[];
3381
3387
  verification: {
@@ -3383,12 +3389,6 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3383
3389
  operations: string[];
3384
3390
  completedAt: string;
3385
3391
  };
3386
- packages: {
3387
- projectId: string;
3388
- minimumBump: "none" | "patch" | "minor" | "major";
3389
- name: string;
3390
- version: string;
3391
- }[];
3392
3392
  compatibilityAttestations?: {
3393
3393
  digest: string;
3394
3394
  contractId: string;