@treeseed/sdk 0.13.0-rc.25 → 0.13.0-rc.26

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.
@@ -252,10 +252,10 @@ export declare function validatePortableContentData(model: string, value: unknow
252
252
  deniedCommands?: string[] | undefined;
253
253
  }>>;
254
254
  }, "strict", import("zod").ZodTypeAny, {
255
- content?: Record<string, {
256
- operations: string[];
257
- filters?: Record<string, unknown> | undefined;
258
- }> | undefined;
255
+ network?: {
256
+ allowWeb?: boolean | undefined;
257
+ allowedDomains?: string[] | undefined;
258
+ } | undefined;
259
259
  repository?: {
260
260
  allowCodeMutation?: boolean | undefined;
261
261
  readPaths?: string[] | undefined;
@@ -264,20 +264,20 @@ export declare function validatePortableContentData(model: string, value: unknow
264
264
  commit?: {
265
265
  allowed: boolean;
266
266
  } | undefined;
267
- network?: {
268
- allowWeb?: boolean | undefined;
269
- allowedDomains?: string[] | undefined;
270
- } | undefined;
267
+ content?: Record<string, {
268
+ operations: string[];
269
+ filters?: Record<string, unknown> | undefined;
270
+ }> | undefined;
271
271
  shell?: {
272
272
  allowCommands?: boolean | undefined;
273
273
  allowedCommands?: string[] | undefined;
274
274
  deniedCommands?: string[] | undefined;
275
275
  } | undefined;
276
276
  }, {
277
- content?: Record<string, {
278
- operations: string[];
279
- filters?: Record<string, unknown> | undefined;
280
- }> | undefined;
277
+ network?: {
278
+ allowWeb?: boolean | undefined;
279
+ allowedDomains?: string[] | undefined;
280
+ } | undefined;
281
281
  repository?: {
282
282
  allowCodeMutation?: boolean | undefined;
283
283
  readPaths?: string[] | undefined;
@@ -286,10 +286,10 @@ export declare function validatePortableContentData(model: string, value: unknow
286
286
  commit?: {
287
287
  allowed: boolean;
288
288
  } | undefined;
289
- network?: {
290
- allowWeb?: boolean | undefined;
291
- allowedDomains?: string[] | undefined;
292
- } | undefined;
289
+ content?: Record<string, {
290
+ operations: string[];
291
+ filters?: Record<string, unknown> | undefined;
292
+ }> | undefined;
293
293
  shell?: {
294
294
  allowCommands?: boolean | undefined;
295
295
  allowedCommands?: string[] | undefined;
@@ -352,22 +352,22 @@ export declare function validatePortableContentData(model: string, value: unknow
352
352
  maxTotalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
353
353
  maxCostAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
354
354
  }, "strict", import("zod").ZodTypeAny, {
355
+ requiredCapabilities?: string[] | undefined;
355
356
  instructionTemplateRefs?: {
356
357
  id: string;
357
358
  revision: number;
358
359
  }[] | undefined;
359
- requiredCapabilities?: string[] | undefined;
360
360
  maxRuntimeSeconds?: number | undefined;
361
361
  maxTotalTokens?: number | undefined;
362
362
  maxCostAmount?: number | undefined;
363
363
  disallowedProviderIds?: string[] | undefined;
364
364
  promptRef?: string | undefined;
365
365
  }, {
366
+ requiredCapabilities?: string[] | undefined;
366
367
  instructionTemplateRefs?: {
367
368
  id: string;
368
369
  revision: number;
369
370
  }[] | undefined;
370
- requiredCapabilities?: string[] | undefined;
371
371
  maxRuntimeSeconds?: number | undefined;
372
372
  maxTotalTokens?: number | undefined;
373
373
  maxCostAmount?: number | undefined;
@@ -807,11 +807,11 @@ export declare function validatePortableContentData(model: string, value: unknow
807
807
  allowedPaths: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
808
808
  forbiddenPaths: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
809
809
  }, "strict", import("zod").ZodTypeAny, {
810
+ requiredCapabilities?: string[] | undefined;
810
811
  preparationSeconds?: number | undefined;
811
812
  closeoutSeconds?: number | undefined;
812
813
  closeoutWarningSeconds?: number | undefined;
813
814
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
814
- requiredCapabilities?: string[] | undefined;
815
815
  maxRuntimeSeconds?: number | undefined;
816
816
  maxRetries?: number | undefined;
817
817
  verificationRequired?: boolean | undefined;
@@ -828,11 +828,11 @@ export declare function validatePortableContentData(model: string, value: unknow
828
828
  allowedPaths?: string[] | undefined;
829
829
  forbiddenPaths?: string[] | undefined;
830
830
  }, {
831
+ requiredCapabilities?: string[] | undefined;
831
832
  preparationSeconds?: number | undefined;
832
833
  closeoutSeconds?: number | undefined;
833
834
  closeoutWarningSeconds?: number | undefined;
834
835
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
835
- requiredCapabilities?: string[] | undefined;
836
836
  maxRuntimeSeconds?: number | undefined;
837
837
  maxRetries?: number | undefined;
838
838
  verificationRequired?: boolean | undefined;
@@ -876,11 +876,11 @@ export declare function validatePortableContentData(model: string, value: unknow
876
876
  modelMutations: string[];
877
877
  };
878
878
  execution?: {
879
+ requiredCapabilities?: string[] | undefined;
879
880
  preparationSeconds?: number | undefined;
880
881
  closeoutSeconds?: number | undefined;
881
882
  closeoutWarningSeconds?: number | undefined;
882
883
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
883
- requiredCapabilities?: string[] | undefined;
884
884
  maxRuntimeSeconds?: number | undefined;
885
885
  maxRetries?: number | undefined;
886
886
  verificationRequired?: boolean | undefined;
@@ -911,10 +911,10 @@ export declare function validatePortableContentData(model: string, value: unknow
911
911
  revision: number;
912
912
  }[] | undefined;
913
913
  permissions?: {
914
- content?: Record<string, {
915
- operations: string[];
916
- filters?: Record<string, unknown> | undefined;
917
- }> | undefined;
914
+ network?: {
915
+ allowWeb?: boolean | undefined;
916
+ allowedDomains?: string[] | undefined;
917
+ } | undefined;
918
918
  repository?: {
919
919
  allowCodeMutation?: boolean | undefined;
920
920
  readPaths?: string[] | undefined;
@@ -923,10 +923,10 @@ export declare function validatePortableContentData(model: string, value: unknow
923
923
  commit?: {
924
924
  allowed: boolean;
925
925
  } | undefined;
926
- network?: {
927
- allowWeb?: boolean | undefined;
928
- allowedDomains?: string[] | undefined;
929
- } | undefined;
926
+ content?: Record<string, {
927
+ operations: string[];
928
+ filters?: Record<string, unknown> | undefined;
929
+ }> | undefined;
930
930
  shell?: {
931
931
  allowCommands?: boolean | undefined;
932
932
  allowedCommands?: string[] | undefined;
@@ -946,11 +946,11 @@ export declare function validatePortableContentData(model: string, value: unknow
946
946
  blockOnOpenQuestions?: boolean | undefined;
947
947
  } | undefined;
948
948
  providerOverrides?: {
949
+ requiredCapabilities?: string[] | undefined;
949
950
  instructionTemplateRefs?: {
950
951
  id: string;
951
952
  revision: number;
952
953
  }[] | undefined;
953
- requiredCapabilities?: string[] | undefined;
954
954
  maxRuntimeSeconds?: number | undefined;
955
955
  maxTotalTokens?: number | undefined;
956
956
  maxCostAmount?: number | undefined;
@@ -1049,11 +1049,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1049
1049
  modelMutations: string[];
1050
1050
  };
1051
1051
  execution?: {
1052
+ requiredCapabilities?: string[] | undefined;
1052
1053
  preparationSeconds?: number | undefined;
1053
1054
  closeoutSeconds?: number | undefined;
1054
1055
  closeoutWarningSeconds?: number | undefined;
1055
1056
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
1056
- requiredCapabilities?: string[] | undefined;
1057
1057
  maxRuntimeSeconds?: number | undefined;
1058
1058
  maxRetries?: number | undefined;
1059
1059
  verificationRequired?: boolean | undefined;
@@ -1084,10 +1084,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1084
1084
  revision: number;
1085
1085
  }[] | undefined;
1086
1086
  permissions?: {
1087
- content?: Record<string, {
1088
- operations: string[];
1089
- filters?: Record<string, unknown> | undefined;
1090
- }> | undefined;
1087
+ network?: {
1088
+ allowWeb?: boolean | undefined;
1089
+ allowedDomains?: string[] | undefined;
1090
+ } | undefined;
1091
1091
  repository?: {
1092
1092
  allowCodeMutation?: boolean | undefined;
1093
1093
  readPaths?: string[] | undefined;
@@ -1096,10 +1096,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1096
1096
  commit?: {
1097
1097
  allowed: boolean;
1098
1098
  } | undefined;
1099
- network?: {
1100
- allowWeb?: boolean | undefined;
1101
- allowedDomains?: string[] | undefined;
1102
- } | undefined;
1099
+ content?: Record<string, {
1100
+ operations: string[];
1101
+ filters?: Record<string, unknown> | undefined;
1102
+ }> | undefined;
1103
1103
  shell?: {
1104
1104
  allowCommands?: boolean | undefined;
1105
1105
  allowedCommands?: string[] | undefined;
@@ -1119,11 +1119,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1119
1119
  blockOnOpenQuestions?: boolean | undefined;
1120
1120
  } | undefined;
1121
1121
  providerOverrides?: {
1122
+ requiredCapabilities?: string[] | undefined;
1122
1123
  instructionTemplateRefs?: {
1123
1124
  id: string;
1124
1125
  revision: number;
1125
1126
  }[] | undefined;
1126
- requiredCapabilities?: string[] | undefined;
1127
1127
  maxRuntimeSeconds?: number | undefined;
1128
1128
  maxTotalTokens?: number | undefined;
1129
1129
  maxCostAmount?: number | undefined;
@@ -1222,11 +1222,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1222
1222
  modelMutations: string[];
1223
1223
  };
1224
1224
  execution?: {
1225
+ requiredCapabilities?: string[] | undefined;
1225
1226
  preparationSeconds?: number | undefined;
1226
1227
  closeoutSeconds?: number | undefined;
1227
1228
  closeoutWarningSeconds?: number | undefined;
1228
1229
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
1229
- requiredCapabilities?: string[] | undefined;
1230
1230
  maxRuntimeSeconds?: number | undefined;
1231
1231
  maxRetries?: number | undefined;
1232
1232
  verificationRequired?: boolean | undefined;
@@ -1257,10 +1257,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1257
1257
  revision: number;
1258
1258
  }[] | undefined;
1259
1259
  permissions?: {
1260
- content?: Record<string, {
1261
- operations: string[];
1262
- filters?: Record<string, unknown> | undefined;
1263
- }> | undefined;
1260
+ network?: {
1261
+ allowWeb?: boolean | undefined;
1262
+ allowedDomains?: string[] | undefined;
1263
+ } | undefined;
1264
1264
  repository?: {
1265
1265
  allowCodeMutation?: boolean | undefined;
1266
1266
  readPaths?: string[] | undefined;
@@ -1269,10 +1269,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1269
1269
  commit?: {
1270
1270
  allowed: boolean;
1271
1271
  } | undefined;
1272
- network?: {
1273
- allowWeb?: boolean | undefined;
1274
- allowedDomains?: string[] | undefined;
1275
- } | undefined;
1272
+ content?: Record<string, {
1273
+ operations: string[];
1274
+ filters?: Record<string, unknown> | undefined;
1275
+ }> | undefined;
1276
1276
  shell?: {
1277
1277
  allowCommands?: boolean | undefined;
1278
1278
  allowedCommands?: string[] | undefined;
@@ -1292,11 +1292,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1292
1292
  blockOnOpenQuestions?: boolean | undefined;
1293
1293
  } | undefined;
1294
1294
  providerOverrides?: {
1295
+ requiredCapabilities?: string[] | undefined;
1295
1296
  instructionTemplateRefs?: {
1296
1297
  id: string;
1297
1298
  revision: number;
1298
1299
  }[] | undefined;
1299
- requiredCapabilities?: string[] | undefined;
1300
1300
  maxRuntimeSeconds?: number | undefined;
1301
1301
  maxTotalTokens?: number | undefined;
1302
1302
  maxCostAmount?: number | undefined;
@@ -1395,11 +1395,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1395
1395
  modelMutations: string[];
1396
1396
  };
1397
1397
  execution?: {
1398
+ requiredCapabilities?: string[] | undefined;
1398
1399
  preparationSeconds?: number | undefined;
1399
1400
  closeoutSeconds?: number | undefined;
1400
1401
  closeoutWarningSeconds?: number | undefined;
1401
1402
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
1402
- requiredCapabilities?: string[] | undefined;
1403
1403
  maxRuntimeSeconds?: number | undefined;
1404
1404
  maxRetries?: number | undefined;
1405
1405
  verificationRequired?: boolean | undefined;
@@ -1430,10 +1430,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1430
1430
  revision: number;
1431
1431
  }[] | undefined;
1432
1432
  permissions?: {
1433
- content?: Record<string, {
1434
- operations: string[];
1435
- filters?: Record<string, unknown> | undefined;
1436
- }> | undefined;
1433
+ network?: {
1434
+ allowWeb?: boolean | undefined;
1435
+ allowedDomains?: string[] | undefined;
1436
+ } | undefined;
1437
1437
  repository?: {
1438
1438
  allowCodeMutation?: boolean | undefined;
1439
1439
  readPaths?: string[] | undefined;
@@ -1442,10 +1442,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1442
1442
  commit?: {
1443
1443
  allowed: boolean;
1444
1444
  } | undefined;
1445
- network?: {
1446
- allowWeb?: boolean | undefined;
1447
- allowedDomains?: string[] | undefined;
1448
- } | undefined;
1445
+ content?: Record<string, {
1446
+ operations: string[];
1447
+ filters?: Record<string, unknown> | undefined;
1448
+ }> | undefined;
1449
1449
  shell?: {
1450
1450
  allowCommands?: boolean | undefined;
1451
1451
  allowedCommands?: string[] | undefined;
@@ -1465,11 +1465,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1465
1465
  blockOnOpenQuestions?: boolean | undefined;
1466
1466
  } | undefined;
1467
1467
  providerOverrides?: {
1468
+ requiredCapabilities?: string[] | undefined;
1468
1469
  instructionTemplateRefs?: {
1469
1470
  id: string;
1470
1471
  revision: number;
1471
1472
  }[] | undefined;
1472
- requiredCapabilities?: string[] | undefined;
1473
1473
  maxRuntimeSeconds?: number | undefined;
1474
1474
  maxTotalTokens?: number | undefined;
1475
1475
  maxCostAmount?: number | undefined;
@@ -1543,15 +1543,15 @@ export declare function validatePortableContentData(model: string, value: unknow
1543
1543
  } | undefined;
1544
1544
  }>>;
1545
1545
  }, import("zod").ZodTypeAny, "passthrough"> | {
1546
- summary: string;
1547
1546
  status: string;
1547
+ visibility: "private" | "team" | "public" | "authenticated";
1548
+ summary: string;
1548
1549
  projectId: string;
1549
1550
  title: string;
1550
1551
  startedAt: Date;
1551
1552
  slug: string;
1552
1553
  metadata: Record<string, unknown>;
1553
1554
  environment: string;
1554
- visibility: "team" | "public" | "private" | "authenticated";
1555
1555
  changedFiles: string[];
1556
1556
  workDayId: string;
1557
1557
  reportVersion: string;
@@ -1582,12 +1582,12 @@ export declare function validatePortableContentData(model: string, value: unknow
1582
1582
  id: string;
1583
1583
  changedFiles: string[];
1584
1584
  type?: string | undefined;
1585
- completedAt?: Date | undefined;
1586
1585
  createdAt?: Date | undefined;
1586
+ state?: string | undefined;
1587
+ completedAt?: Date | undefined;
1587
1588
  priority?: number | undefined;
1588
1589
  startedAt?: Date | undefined;
1589
1590
  agentId?: string | undefined;
1590
- state?: string | undefined;
1591
1591
  idempotencyKey?: string | undefined;
1592
1592
  lastErrorCode?: string | null | undefined;
1593
1593
  lastErrorMessage?: string | null | undefined;
@@ -1607,14 +1607,14 @@ export declare function validatePortableContentData(model: string, value: unknow
1607
1607
  }[];
1608
1608
  scaleDecision: Record<string, unknown>;
1609
1609
  scaleResult: Record<string, unknown>;
1610
- teamId?: string | undefined;
1611
1610
  createdAt?: Date | undefined;
1611
+ teamId?: string | undefined;
1612
1612
  endedAt?: Date | null | undefined;
1613
1613
  prioritySnapshotId?: string | null | undefined;
1614
1614
  } | {
1615
+ status: "archived" | "draft" | "live";
1615
1616
  description: string;
1616
1617
  summary: string;
1617
- status: "archived" | "draft" | "live";
1618
1618
  title: string;
1619
1619
  audience: string[];
1620
1620
  slug: string;
@@ -1652,7 +1652,7 @@ export declare function validatePortableContentData(model: string, value: unknow
1652
1652
  supportsReconcile: boolean;
1653
1653
  };
1654
1654
  offer: {
1655
- priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
1655
+ priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1656
1656
  support?: string | undefined;
1657
1657
  license?: string | undefined;
1658
1658
  };
@@ -1663,11 +1663,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1663
1663
  sourceRef?: string | undefined;
1664
1664
  } | {
1665
1665
  id: string;
1666
+ trigger: Record<string, unknown>;
1666
1667
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1667
1668
  agent: string;
1668
1669
  contextQueryRefs: string[];
1669
1670
  groupIds: string[];
1670
- trigger: Record<string, unknown>;
1671
1671
  expect: {
1672
1672
  semanticArtifacts?: {
1673
1673
  id: string;
@@ -1743,7 +1743,7 @@ export declare function validatePortableContentData(model: string, value: unknow
1743
1743
  mergePolicy: "replace" | "append";
1744
1744
  } | {
1745
1745
  id: string;
1746
- kind: "message" | "summary" | "status" | "plan";
1746
+ kind: "message" | "status" | "summary" | "plan";
1747
1747
  description: string;
1748
1748
  title: string;
1749
1749
  revision: number;
@@ -1752,16 +1752,17 @@ export declare function validatePortableContentData(model: string, value: unknow
1752
1752
  appliesToProfiles: string[];
1753
1753
  outputSkeleton?: string | undefined;
1754
1754
  } | {
1755
+ status: "active" | "archived";
1755
1756
  id: string;
1756
1757
  description: string;
1757
- status: "active" | "archived";
1758
1758
  title: string;
1759
1759
  slug: string;
1760
1760
  groupIds: string[];
1761
1761
  parentTopicId?: string | undefined;
1762
1762
  } | {
1763
- id: string;
1764
1763
  status: "active" | "completed" | "ready" | "superseded" | "draft";
1764
+ id: string;
1765
+ createdAt: Date;
1765
1766
  teamId: string;
1766
1767
  projectId: string;
1767
1768
  objective: string;
@@ -1770,7 +1771,6 @@ export declare function validatePortableContentData(model: string, value: unknow
1770
1771
  description: string;
1771
1772
  title: string;
1772
1773
  }[];
1773
- createdAt: Date;
1774
1774
  title: string;
1775
1775
  revision: number;
1776
1776
  remaining: {
@@ -1795,11 +1795,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1795
1795
  contextRefs: string[];
1796
1796
  } | undefined;
1797
1797
  } | {
1798
+ status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
1798
1799
  id: string;
1799
- status: "completed" | "cancelled" | "failed" | "running" | "admitted" | "suspended" | "pending" | "waiting" | "leased";
1800
+ createdAt: Date;
1800
1801
  teamId: string;
1801
1802
  projectId: string;
1802
- createdAt: Date;
1803
1803
  title: string;
1804
1804
  sequence: number;
1805
1805
  phase: string;
@@ -1814,13 +1814,13 @@ export declare function validatePortableContentData(model: string, value: unknow
1814
1814
  } | undefined;
1815
1815
  progress?: number | undefined;
1816
1816
  } | {
1817
+ status: "failed" | "completed" | "cancelled" | "suspended";
1817
1818
  id: string;
1818
- summary: string;
1819
- status: "completed" | "cancelled" | "failed" | "suspended";
1819
+ createdAt: Date;
1820
1820
  blockers: string[];
1821
+ summary: string;
1821
1822
  teamId: string;
1822
1823
  projectId: string;
1823
- createdAt: Date;
1824
1824
  title: string;
1825
1825
  artifactRefs: string[];
1826
1826
  lessons: string[];
@@ -1839,11 +1839,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1839
1839
  contextRefs: string[];
1840
1840
  } | undefined;
1841
1841
  } | {
1842
- id: string;
1843
1842
  status: string;
1843
+ id: string;
1844
+ createdAt: Date;
1844
1845
  teamId: string;
1845
1846
  projectId: string;
1846
- createdAt: Date;
1847
1847
  title: string;
1848
1848
  contextQueryRefs: {
1849
1849
  id: string;
@@ -1878,9 +1878,9 @@ export declare function validatePortableContentData(model: string, value: unknow
1878
1878
  score?: number | undefined;
1879
1879
  } | {
1880
1880
  title: string;
1881
+ status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1881
1882
  description?: string | undefined;
1882
1883
  summary?: string | undefined;
1883
- status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1884
1884
  stage?: string | undefined;
1885
1885
  audience?: string[] | undefined;
1886
1886
  updated_at?: Date | undefined;
@@ -1888,10 +1888,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1888
1888
  page_layout?: "article" | "bridge" | undefined;
1889
1889
  } | {
1890
1890
  title: string;
1891
- description?: string | undefined;
1892
- summary?: string | undefined;
1893
1891
  status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1894
1892
  date?: Date | undefined;
1893
+ description?: string | undefined;
1894
+ summary?: string | undefined;
1895
1895
  draft?: boolean | undefined;
1896
1896
  author?: string | undefined;
1897
1897
  feedback_kind?: "support" | "question" | "concern" | "response" | undefined;
@@ -1909,10 +1909,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1909
1909
  related_books?: string[] | undefined;
1910
1910
  } | {
1911
1911
  title: string;
1912
- description?: string | undefined;
1913
- summary?: string | undefined;
1914
1912
  status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1915
1913
  date?: Date | undefined;
1914
+ description?: string | undefined;
1915
+ summary?: string | undefined;
1916
1916
  draft?: boolean | undefined;
1917
1917
  entity_refs?: {
1918
1918
  id: string;
@@ -1931,10 +1931,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1931
1931
  primary_contributor?: string | undefined;
1932
1932
  } | {
1933
1933
  title: string;
1934
- description?: string | undefined;
1935
- summary?: string | undefined;
1936
1934
  status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1937
1935
  date?: Date | undefined;
1936
+ description?: string | undefined;
1937
+ summary?: string | undefined;
1938
1938
  draft?: boolean | undefined;
1939
1939
  group_ids?: string[] | undefined;
1940
1940
  related_objectives?: string[] | undefined;
@@ -1946,10 +1946,10 @@ export declare function validatePortableContentData(model: string, value: unknow
1946
1946
  primary_contributor?: string | undefined;
1947
1947
  time_horizon?: "near-term" | "mid-term" | "long-term" | undefined;
1948
1948
  } | {
1949
- description: string;
1950
- summary: string;
1951
1949
  status: "planned" | "live" | "in progress" | "exploratory" | "speculative";
1952
1950
  date: Date;
1951
+ description: string;
1952
+ summary: string;
1953
1953
  title: string;
1954
1954
  motivation: string;
1955
1955
  primary_contributor: string;
@@ -1983,11 +1983,11 @@ export declare function validatePortableContentData(model: string, value: unknow
1983
1983
  }[] | undefined;
1984
1984
  } | {
1985
1985
  title: string;
1986
+ status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1987
+ date?: Date | undefined;
1986
1988
  description?: string | undefined;
1987
1989
  summary?: string | undefined;
1988
1990
  authority?: string | undefined;
1989
- status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
1990
- date?: Date | undefined;
1991
1991
  draft?: boolean | undefined;
1992
1992
  group_ids?: string[] | undefined;
1993
1993
  related_objectives?: string[] | undefined;
@@ -2000,36 +2000,36 @@ export declare function validatePortableContentData(model: string, value: unknow
2000
2000
  decision_type?: "approved" | "rejected" | "deferred" | "superseded" | "request_changes" | undefined;
2001
2001
  rationale?: string | undefined;
2002
2002
  } | {
2003
+ status: "archived" | "review" | "draft" | "published";
2003
2004
  schemaVersion: "treeseed.book/v2";
2004
2005
  id: string;
2006
+ visibility: "team" | "project" | "public" | "authenticated" | "admin";
2007
+ order: number;
2005
2008
  summary: string;
2006
- status: "archived" | "review" | "draft" | "published";
2007
2009
  title: string;
2008
2010
  slug: string;
2009
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
2010
- order: number;
2011
2011
  description?: string | undefined;
2012
2012
  audience?: string[] | undefined;
2013
2013
  groupIds?: string[] | undefined;
2014
2014
  relatedBookIds?: string[] | undefined;
2015
2015
  } | {
2016
+ status: "archived" | "review" | "draft" | "published";
2016
2017
  schemaVersion: "treeseed.knowledge-page/v1";
2017
2018
  id: string;
2019
+ visibility: "team" | "project" | "public" | "authenticated" | "admin";
2018
2020
  summary: string;
2019
- status: "archived" | "review" | "draft" | "published";
2020
2021
  title: string;
2021
2022
  slug: string;
2022
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
2023
2023
  bookId: string;
2024
+ order?: number | undefined;
2024
2025
  description?: string | undefined;
2025
2026
  groupIds?: string[] | undefined;
2026
- order?: number | undefined;
2027
2027
  } | {
2028
2028
  name: string;
2029
- description?: string | undefined;
2030
- summary?: string | undefined;
2031
2029
  status?: "planned" | "live" | "in progress" | "exploratory" | "speculative" | undefined;
2032
2030
  role?: string | undefined;
2031
+ description?: string | undefined;
2032
+ summary?: string | undefined;
2033
2033
  group_ids?: string[] | undefined;
2034
2034
  related_objectives?: string[] | undefined;
2035
2035
  related_questions?: string[] | undefined;
@@ -2073,8 +2073,8 @@ export declare function validatePortableContentData(model: string, value: unknow
2073
2073
  refs?: string[] | undefined;
2074
2074
  } | {
2075
2075
  id: string;
2076
- classification: string;
2077
2076
  name: string;
2077
+ classification: string;
2078
2078
  description: string;
2079
2079
  slug: string;
2080
2080
  contract: "treeseed.group/v1";
@@ -0,0 +1,2 @@
1
+ export declare function canonicalDeploymentJson(value: unknown): string;
2
+ export declare function deploymentDigest(value: unknown): string;
@@ -0,0 +1,17 @@
1
+ import { createHash } from "node:crypto";
2
+ function normalized(value) {
3
+ if (Array.isArray(value)) return value.map(normalized);
4
+ if (!value || typeof value !== "object") return value;
5
+ return Object.fromEntries(Object.entries(value).sort(([left], [right]) => left.localeCompare(right)).map(([key, entry]) => [key, normalized(entry)]));
6
+ }
7
+ function canonicalDeploymentJson(value) {
8
+ return `${JSON.stringify(normalized(value))}
9
+ `;
10
+ }
11
+ function deploymentDigest(value) {
12
+ return `sha256:${createHash("sha256").update(canonicalDeploymentJson(value)).digest("hex")}`;
13
+ }
14
+ export {
15
+ canonicalDeploymentJson,
16
+ deploymentDigest
17
+ };
@@ -0,0 +1,16 @@
1
+ import { type ComponentRelease, type HostConfiguration, type ReleaseCatalog } from './schemas.js';
2
+ export interface MixedTrackResolution {
3
+ components: ComponentRelease[];
4
+ warnings: string[];
5
+ }
6
+ export declare function resolveMixedTrackCatalog(input: {
7
+ host: HostConfiguration;
8
+ stable: ReleaseCatalog;
9
+ development?: ReleaseCatalog;
10
+ }): MixedTrackResolution;
11
+ export declare function collectHostAliases(components: readonly ComponentRelease[], overrides?: Record<string, string>): Map<string, {
12
+ componentId: string;
13
+ serviceId: string;
14
+ endpointId: string;
15
+ port: number;
16
+ }>;