@treeseed/sdk 0.13.0-rc.37 → 0.13.0-rc.39

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 (31) hide show
  1. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +36 -36
  2. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +8 -8
  3. package/dist/capacity-provider/client.d.ts +1 -1
  4. package/dist/content/validation/agent-operational-content-schemas.d.ts +8 -8
  5. package/dist/content/validation/auxiliary-content-schemas.d.ts +36 -36
  6. package/dist/content/validation/content-model-schemas.d.ts +128 -128
  7. package/dist/content/validation/portable-content-data.d.ts +15 -15
  8. package/dist/entrypoints/clients/control-plane-client.d.ts +5 -0
  9. package/dist/guarantees/index.d.ts +96 -0
  10. package/dist/guarantees/index.js +41 -0
  11. package/dist/operator-contracts/canonical-command-tree.js +6 -2
  12. package/dist/operator-contracts/catalog/communication-operations.d.ts +95 -15
  13. package/dist/operator-contracts/catalog/communication-operations.js +1 -1
  14. package/dist/operator-contracts/communication/addressing.d.ts +8 -0
  15. package/dist/operator-contracts/communication/addressing.js +57 -0
  16. package/dist/operator-contracts/communication/contracts.d.ts +418 -40
  17. package/dist/operator-contracts/communication/contracts.js +43 -11
  18. package/dist/operator-contracts/control-plane-operations.d.ts +95 -15
  19. package/dist/operator-contracts/index.d.ts +1 -0
  20. package/dist/operator-contracts/index.js +1 -0
  21. package/dist/operator-contracts/oauth.d.ts +35 -0
  22. package/dist/operator-contracts/oauth.js +7 -0
  23. package/dist/site-contracts/catalog.d.ts +16 -0
  24. package/dist/site-contracts/catalog.js +19 -0
  25. package/dist/site-contracts/cloudflare.d.ts +48 -0
  26. package/dist/site-contracts/cloudflare.js +0 -0
  27. package/dist/site-contracts/platform.d.ts +94 -0
  28. package/dist/site-contracts/platform.js +0 -0
  29. package/dist/site-contracts/plugin.d.ts +63 -0
  30. package/dist/site-contracts/plugin.js +26 -0
  31. package/package.json +25 -1
@@ -48,6 +48,7 @@ declare const schemas: {
48
48
  revision: number;
49
49
  description: string;
50
50
  query: string;
51
+ depth: number;
51
52
  title: string;
52
53
  filters: Record<string, unknown>;
53
54
  target: {
@@ -55,7 +56,6 @@ declare const schemas: {
55
56
  paths?: string[] | undefined;
56
57
  models?: string[] | undefined;
57
58
  };
58
- depth: number;
59
59
  purpose: string;
60
60
  maturity: "draft" | "validated" | "simulated" | "proven";
61
61
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
@@ -88,9 +88,9 @@ declare const schemas: {
88
88
  };
89
89
  tokenBudget: number;
90
90
  required?: boolean | undefined;
91
+ depth?: number | undefined;
91
92
  scope?: string | undefined;
92
93
  filters?: Record<string, unknown> | undefined;
93
- depth?: number | undefined;
94
94
  codeScopes?: string[] | undefined;
95
95
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
96
96
  format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
@@ -600,6 +600,7 @@ declare const schemas: {
600
600
  createdAt: Date;
601
601
  teamId: string;
602
602
  projectId: string;
603
+ outcome: "failed" | "passed" | "needs-revision";
603
604
  title: string;
604
605
  contextQueryRefs: {
605
606
  id: string;
@@ -614,7 +615,6 @@ declare const schemas: {
614
615
  revision: number;
615
616
  }[];
616
617
  agentId: string;
617
- outcome: "failed" | "passed" | "needs-revision";
618
618
  agentDefinitionRef: {
619
619
  id: string;
620
620
  revision: number;
@@ -638,9 +638,9 @@ declare const schemas: {
638
638
  createdAt: Date;
639
639
  teamId: string;
640
640
  projectId: string;
641
+ outcome: "failed" | "passed" | "needs-revision";
641
642
  title: string;
642
643
  agentId: string;
643
- outcome: "failed" | "passed" | "needs-revision";
644
644
  agentDefinitionRef: {
645
645
  id: string;
646
646
  revision: number;
@@ -814,7 +814,7 @@ declare const schemas: {
814
814
  }>>;
815
815
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
816
816
  }, "strip", z.ZodTypeAny, {
817
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
817
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
818
818
  id: string;
819
819
  trigger: Record<string, unknown>;
820
820
  agent: string;
@@ -858,7 +858,7 @@ declare const schemas: {
858
858
  } | undefined;
859
859
  maxLatencyMs?: number | undefined;
860
860
  }, {
861
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
861
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
862
862
  id: string;
863
863
  agent: string;
864
864
  trigger?: Record<string, unknown> | undefined;
@@ -918,7 +918,7 @@ declare const schemas: {
918
918
  } | undefined;
919
919
  maxLatencyMs?: number | undefined;
920
920
  }>, {
921
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
921
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
922
922
  id: string;
923
923
  trigger: Record<string, unknown>;
924
924
  agent: string;
@@ -962,7 +962,7 @@ declare const schemas: {
962
962
  } | undefined;
963
963
  maxLatencyMs?: number | undefined;
964
964
  }, {
965
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
965
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
966
966
  id: string;
967
967
  agent: string;
968
968
  trigger?: Record<string, unknown> | undefined;
@@ -1100,8 +1100,8 @@ declare const schemas: {
1100
1100
  createdAt?: Date | undefined;
1101
1101
  state?: string | undefined;
1102
1102
  completedAt?: Date | undefined;
1103
- priority?: number | undefined;
1104
1103
  startedAt?: Date | undefined;
1104
+ priority?: number | undefined;
1105
1105
  agentId?: string | undefined;
1106
1106
  idempotencyKey?: string | undefined;
1107
1107
  lastErrorCode?: string | null | undefined;
@@ -1114,8 +1114,8 @@ declare const schemas: {
1114
1114
  createdAt?: Date | undefined;
1115
1115
  state?: string | undefined;
1116
1116
  completedAt?: Date | undefined;
1117
- priority?: number | undefined;
1118
1117
  startedAt?: Date | undefined;
1118
+ priority?: number | undefined;
1119
1119
  agentId?: string | undefined;
1120
1120
  idempotencyKey?: string | undefined;
1121
1121
  lastErrorCode?: string | null | undefined;
@@ -1140,8 +1140,8 @@ declare const schemas: {
1140
1140
  deploymentKind: string;
1141
1141
  id?: string | undefined;
1142
1142
  createdAt?: Date | undefined;
1143
- commitSha?: string | null | undefined;
1144
1143
  startedAt?: Date | undefined;
1144
+ commitSha?: string | null | undefined;
1145
1145
  finishedAt?: Date | undefined;
1146
1146
  releaseTag?: string | null | undefined;
1147
1147
  sourceRef?: string | null | undefined;
@@ -1150,8 +1150,8 @@ declare const schemas: {
1150
1150
  deploymentKind: string;
1151
1151
  id?: string | undefined;
1152
1152
  createdAt?: Date | undefined;
1153
- commitSha?: string | null | undefined;
1154
1153
  startedAt?: Date | undefined;
1154
+ commitSha?: string | null | undefined;
1155
1155
  finishedAt?: Date | undefined;
1156
1156
  releaseTag?: string | null | undefined;
1157
1157
  sourceRef?: string | null | undefined;
@@ -1167,8 +1167,8 @@ declare const schemas: {
1167
1167
  projectId: string;
1168
1168
  slug: string;
1169
1169
  metadata: Record<string, unknown>;
1170
- title: string;
1171
1170
  startedAt: Date;
1171
+ title: string;
1172
1172
  changedFiles: string[];
1173
1173
  workDayId: string;
1174
1174
  reportVersion: string;
@@ -1202,8 +1202,8 @@ declare const schemas: {
1202
1202
  createdAt?: Date | undefined;
1203
1203
  state?: string | undefined;
1204
1204
  completedAt?: Date | undefined;
1205
- priority?: number | undefined;
1206
1205
  startedAt?: Date | undefined;
1206
+ priority?: number | undefined;
1207
1207
  agentId?: string | undefined;
1208
1208
  idempotencyKey?: string | undefined;
1209
1209
  lastErrorCode?: string | null | undefined;
@@ -1216,8 +1216,8 @@ declare const schemas: {
1216
1216
  deploymentKind: string;
1217
1217
  id?: string | undefined;
1218
1218
  createdAt?: Date | undefined;
1219
- commitSha?: string | null | undefined;
1220
1219
  startedAt?: Date | undefined;
1220
+ commitSha?: string | null | undefined;
1221
1221
  finishedAt?: Date | undefined;
1222
1222
  releaseTag?: string | null | undefined;
1223
1223
  sourceRef?: string | null | undefined;
@@ -1233,8 +1233,8 @@ declare const schemas: {
1233
1233
  summary: string;
1234
1234
  projectId: string;
1235
1235
  slug: string;
1236
- title: string;
1237
1236
  startedAt: Date;
1237
+ title: string;
1238
1238
  workDayId: string;
1239
1239
  reportVersion: string;
1240
1240
  workdayState: string;
@@ -1274,8 +1274,8 @@ declare const schemas: {
1274
1274
  createdAt?: Date | undefined;
1275
1275
  state?: string | undefined;
1276
1276
  completedAt?: Date | undefined;
1277
- priority?: number | undefined;
1278
1277
  startedAt?: Date | undefined;
1278
+ priority?: number | undefined;
1279
1279
  agentId?: string | undefined;
1280
1280
  idempotencyKey?: string | undefined;
1281
1281
  lastErrorCode?: string | null | undefined;
@@ -1289,8 +1289,8 @@ declare const schemas: {
1289
1289
  deploymentKind: string;
1290
1290
  id?: string | undefined;
1291
1291
  createdAt?: Date | undefined;
1292
- commitSha?: string | null | undefined;
1293
1292
  startedAt?: Date | undefined;
1293
+ commitSha?: string | null | undefined;
1294
1294
  finishedAt?: Date | undefined;
1295
1295
  releaseTag?: string | null | undefined;
1296
1296
  sourceRef?: string | null | undefined;
@@ -1415,12 +1415,12 @@ declare const schemas: {
1415
1415
  license: z.ZodOptional<z.ZodString>;
1416
1416
  support: z.ZodOptional<z.ZodString>;
1417
1417
  }, "strip", z.ZodTypeAny, {
1418
- priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1418
+ priceModel: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1419
1419
  support?: string | undefined;
1420
1420
  license?: string | undefined;
1421
1421
  }, {
1422
1422
  support?: string | undefined;
1423
- priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1423
+ priceModel?: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1424
1424
  license?: string | undefined;
1425
1425
  }>>;
1426
1426
  relatedBooks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1467,7 +1467,7 @@ declare const schemas: {
1467
1467
  supportsReconcile: boolean;
1468
1468
  };
1469
1469
  offer: {
1470
- priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1470
+ priceModel: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1471
1471
  support?: string | undefined;
1472
1472
  license?: string | undefined;
1473
1473
  };
@@ -1520,7 +1520,7 @@ declare const schemas: {
1520
1520
  publisherVerified?: boolean | undefined;
1521
1521
  offer?: {
1522
1522
  support?: string | undefined;
1523
- priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1523
+ priceModel?: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1524
1524
  license?: string | undefined;
1525
1525
  } | undefined;
1526
1526
  relatedBooks?: string[] | undefined;
@@ -1967,7 +1967,7 @@ declare const schemas: {
1967
1967
  status: "review" | "archived" | "draft" | "published";
1968
1968
  schemaVersion: "treeseed.book/v2";
1969
1969
  id: string;
1970
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
1970
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
1971
1971
  order: number;
1972
1972
  summary: string;
1973
1973
  slug: string;
@@ -1980,7 +1980,7 @@ declare const schemas: {
1980
1980
  status: "review" | "archived" | "draft" | "published";
1981
1981
  schemaVersion: "treeseed.book/v2";
1982
1982
  id: string;
1983
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
1983
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
1984
1984
  order: number;
1985
1985
  summary: string;
1986
1986
  slug: string;
@@ -2006,7 +2006,7 @@ declare const schemas: {
2006
2006
  status: "review" | "archived" | "draft" | "published";
2007
2007
  schemaVersion: "treeseed.knowledge-page/v1";
2008
2008
  id: string;
2009
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
2009
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
2010
2010
  summary: string;
2011
2011
  slug: string;
2012
2012
  title: string;
@@ -2018,7 +2018,7 @@ declare const schemas: {
2018
2018
  status: "review" | "archived" | "draft" | "published";
2019
2019
  schemaVersion: "treeseed.knowledge-page/v1";
2020
2020
  id: string;
2021
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
2021
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
2022
2022
  summary: string;
2023
2023
  slug: string;
2024
2024
  title: string;
@@ -2152,12 +2152,12 @@ declare const schemas: {
2152
2152
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2153
2153
  }, "strict", z.ZodTypeAny, {
2154
2154
  system: string;
2155
- task?: string | undefined;
2156
2155
  templates?: Record<string, string> | undefined;
2156
+ task?: string | undefined;
2157
2157
  }, {
2158
2158
  system: string;
2159
- task?: string | undefined;
2160
2159
  templates?: Record<string, string> | undefined;
2160
+ task?: string | undefined;
2161
2161
  }>;
2162
2162
  branchPolicy: z.ZodObject<{
2163
2163
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -2891,8 +2891,8 @@ declare const schemas: {
2891
2891
  enabled: boolean;
2892
2892
  prompt: {
2893
2893
  system: string;
2894
- task?: string | undefined;
2895
2894
  templates?: Record<string, string> | undefined;
2895
+ task?: string | undefined;
2896
2896
  };
2897
2897
  branchPolicy: {
2898
2898
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -3064,8 +3064,8 @@ declare const schemas: {
3064
3064
  enabled: boolean;
3065
3065
  prompt: {
3066
3066
  system: string;
3067
- task?: string | undefined;
3068
3067
  templates?: Record<string, string> | undefined;
3068
+ task?: string | undefined;
3069
3069
  };
3070
3070
  branchPolicy: {
3071
3071
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -3237,8 +3237,8 @@ declare const schemas: {
3237
3237
  enabled: boolean;
3238
3238
  prompt: {
3239
3239
  system: string;
3240
- task?: string | undefined;
3241
3240
  templates?: Record<string, string> | undefined;
3241
+ task?: string | undefined;
3242
3242
  };
3243
3243
  branchPolicy: {
3244
3244
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -3410,8 +3410,8 @@ declare const schemas: {
3410
3410
  enabled: boolean;
3411
3411
  prompt: {
3412
3412
  system: string;
3413
- task?: string | undefined;
3414
3413
  templates?: Record<string, string> | undefined;
3414
+ task?: string | undefined;
3415
3415
  };
3416
3416
  branchPolicy: {
3417
3417
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -3674,12 +3674,12 @@ declare const schemas: {
3674
3674
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3675
3675
  }, "strict", z.ZodTypeAny, {
3676
3676
  system: string;
3677
- task?: string | undefined;
3678
3677
  templates?: Record<string, string> | undefined;
3678
+ task?: string | undefined;
3679
3679
  }, {
3680
3680
  system: string;
3681
- task?: string | undefined;
3682
3681
  templates?: Record<string, string> | undefined;
3682
+ task?: string | undefined;
3683
3683
  }>;
3684
3684
  branchPolicy: z.ZodObject<{
3685
3685
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -4413,8 +4413,8 @@ declare const schemas: {
4413
4413
  enabled: boolean;
4414
4414
  prompt: {
4415
4415
  system: string;
4416
- task?: string | undefined;
4417
4416
  templates?: Record<string, string> | undefined;
4417
+ task?: string | undefined;
4418
4418
  };
4419
4419
  branchPolicy: {
4420
4420
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4586,8 +4586,8 @@ declare const schemas: {
4586
4586
  enabled: boolean;
4587
4587
  prompt: {
4588
4588
  system: string;
4589
- task?: string | undefined;
4590
4589
  templates?: Record<string, string> | undefined;
4590
+ task?: string | undefined;
4591
4591
  };
4592
4592
  branchPolicy: {
4593
4593
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4759,8 +4759,8 @@ declare const schemas: {
4759
4759
  enabled: boolean;
4760
4760
  prompt: {
4761
4761
  system: string;
4762
- task?: string | undefined;
4763
4762
  templates?: Record<string, string> | undefined;
4763
+ task?: string | undefined;
4764
4764
  };
4765
4765
  branchPolicy: {
4766
4766
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -4932,8 +4932,8 @@ declare const schemas: {
4932
4932
  enabled: boolean;
4933
4933
  prompt: {
4934
4934
  system: string;
4935
- task?: string | undefined;
4936
4935
  templates?: Record<string, string> | undefined;
4936
+ task?: string | undefined;
4937
4937
  };
4938
4938
  branchPolicy: {
4939
4939
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -5196,12 +5196,12 @@ declare const schemas: {
5196
5196
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5197
5197
  }, "strict", z.ZodTypeAny, {
5198
5198
  system: string;
5199
- task?: string | undefined;
5200
5199
  templates?: Record<string, string> | undefined;
5200
+ task?: string | undefined;
5201
5201
  }, {
5202
5202
  system: string;
5203
- task?: string | undefined;
5204
5203
  templates?: Record<string, string> | undefined;
5204
+ task?: string | undefined;
5205
5205
  }>;
5206
5206
  branchPolicy: z.ZodObject<{
5207
5207
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -5935,8 +5935,8 @@ declare const schemas: {
5935
5935
  enabled: boolean;
5936
5936
  prompt: {
5937
5937
  system: string;
5938
- task?: string | undefined;
5939
5938
  templates?: Record<string, string> | undefined;
5939
+ task?: string | undefined;
5940
5940
  };
5941
5941
  branchPolicy: {
5942
5942
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -6108,8 +6108,8 @@ declare const schemas: {
6108
6108
  enabled: boolean;
6109
6109
  prompt: {
6110
6110
  system: string;
6111
- task?: string | undefined;
6112
6111
  templates?: Record<string, string> | undefined;
6112
+ task?: string | undefined;
6113
6113
  };
6114
6114
  branchPolicy: {
6115
6115
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -6281,8 +6281,8 @@ declare const schemas: {
6281
6281
  enabled: boolean;
6282
6282
  prompt: {
6283
6283
  system: string;
6284
- task?: string | undefined;
6285
6284
  templates?: Record<string, string> | undefined;
6285
+ task?: string | undefined;
6286
6286
  };
6287
6287
  branchPolicy: {
6288
6288
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -6454,8 +6454,8 @@ declare const schemas: {
6454
6454
  enabled: boolean;
6455
6455
  prompt: {
6456
6456
  system: string;
6457
- task?: string | undefined;
6458
6457
  templates?: Record<string, string> | undefined;
6458
+ task?: string | undefined;
6459
6459
  };
6460
6460
  branchPolicy: {
6461
6461
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -6718,12 +6718,12 @@ declare const schemas: {
6718
6718
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6719
6719
  }, "strict", z.ZodTypeAny, {
6720
6720
  system: string;
6721
- task?: string | undefined;
6722
6721
  templates?: Record<string, string> | undefined;
6722
+ task?: string | undefined;
6723
6723
  }, {
6724
6724
  system: string;
6725
- task?: string | undefined;
6726
6725
  templates?: Record<string, string> | undefined;
6726
+ task?: string | undefined;
6727
6727
  }>;
6728
6728
  branchPolicy: z.ZodObject<{
6729
6729
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -7457,8 +7457,8 @@ declare const schemas: {
7457
7457
  enabled: boolean;
7458
7458
  prompt: {
7459
7459
  system: string;
7460
- task?: string | undefined;
7461
7460
  templates?: Record<string, string> | undefined;
7461
+ task?: string | undefined;
7462
7462
  };
7463
7463
  branchPolicy: {
7464
7464
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7630,8 +7630,8 @@ declare const schemas: {
7630
7630
  enabled: boolean;
7631
7631
  prompt: {
7632
7632
  system: string;
7633
- task?: string | undefined;
7634
7633
  templates?: Record<string, string> | undefined;
7634
+ task?: string | undefined;
7635
7635
  };
7636
7636
  branchPolicy: {
7637
7637
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7803,8 +7803,8 @@ declare const schemas: {
7803
7803
  enabled: boolean;
7804
7804
  prompt: {
7805
7805
  system: string;
7806
- task?: string | undefined;
7807
7806
  templates?: Record<string, string> | undefined;
7807
+ task?: string | undefined;
7808
7808
  };
7809
7809
  branchPolicy: {
7810
7810
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -7976,8 +7976,8 @@ declare const schemas: {
7976
7976
  enabled: boolean;
7977
7977
  prompt: {
7978
7978
  system: string;
7979
- task?: string | undefined;
7980
7979
  templates?: Record<string, string> | undefined;
7980
+ task?: string | undefined;
7981
7981
  };
7982
7982
  branchPolicy: {
7983
7983
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -8240,12 +8240,12 @@ declare const schemas: {
8240
8240
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8241
8241
  }, "strict", z.ZodTypeAny, {
8242
8242
  system: string;
8243
- task?: string | undefined;
8244
8243
  templates?: Record<string, string> | undefined;
8244
+ task?: string | undefined;
8245
8245
  }, {
8246
8246
  system: string;
8247
- task?: string | undefined;
8248
8247
  templates?: Record<string, string> | undefined;
8248
+ task?: string | undefined;
8249
8249
  }>;
8250
8250
  branchPolicy: z.ZodObject<{
8251
8251
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -8979,8 +8979,8 @@ declare const schemas: {
8979
8979
  enabled: boolean;
8980
8980
  prompt: {
8981
8981
  system: string;
8982
- task?: string | undefined;
8983
8982
  templates?: Record<string, string> | undefined;
8983
+ task?: string | undefined;
8984
8984
  };
8985
8985
  branchPolicy: {
8986
8986
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -9152,8 +9152,8 @@ declare const schemas: {
9152
9152
  enabled: boolean;
9153
9153
  prompt: {
9154
9154
  system: string;
9155
- task?: string | undefined;
9156
9155
  templates?: Record<string, string> | undefined;
9156
+ task?: string | undefined;
9157
9157
  };
9158
9158
  branchPolicy: {
9159
9159
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -9325,8 +9325,8 @@ declare const schemas: {
9325
9325
  enabled: boolean;
9326
9326
  prompt: {
9327
9327
  system: string;
9328
- task?: string | undefined;
9329
9328
  templates?: Record<string, string> | undefined;
9329
+ task?: string | undefined;
9330
9330
  };
9331
9331
  branchPolicy: {
9332
9332
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -9498,8 +9498,8 @@ declare const schemas: {
9498
9498
  enabled: boolean;
9499
9499
  prompt: {
9500
9500
  system: string;
9501
- task?: string | undefined;
9502
9501
  templates?: Record<string, string> | undefined;
9502
+ task?: string | undefined;
9503
9503
  };
9504
9504
  branchPolicy: {
9505
9505
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -9932,12 +9932,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
9932
9932
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9933
9933
  }, "strict", z.ZodTypeAny, {
9934
9934
  system: string;
9935
- task?: string | undefined;
9936
9935
  templates?: Record<string, string> | undefined;
9936
+ task?: string | undefined;
9937
9937
  }, {
9938
9938
  system: string;
9939
- task?: string | undefined;
9940
9939
  templates?: Record<string, string> | undefined;
9940
+ task?: string | undefined;
9941
9941
  }>;
9942
9942
  branchPolicy: z.ZodObject<{
9943
9943
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -10671,8 +10671,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10671
10671
  enabled: boolean;
10672
10672
  prompt: {
10673
10673
  system: string;
10674
- task?: string | undefined;
10675
10674
  templates?: Record<string, string> | undefined;
10675
+ task?: string | undefined;
10676
10676
  };
10677
10677
  branchPolicy: {
10678
10678
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -10844,8 +10844,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10844
10844
  enabled: boolean;
10845
10845
  prompt: {
10846
10846
  system: string;
10847
- task?: string | undefined;
10848
10847
  templates?: Record<string, string> | undefined;
10848
+ task?: string | undefined;
10849
10849
  };
10850
10850
  branchPolicy: {
10851
10851
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -11017,8 +11017,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11017
11017
  enabled: boolean;
11018
11018
  prompt: {
11019
11019
  system: string;
11020
- task?: string | undefined;
11021
11020
  templates?: Record<string, string> | undefined;
11021
+ task?: string | undefined;
11022
11022
  };
11023
11023
  branchPolicy: {
11024
11024
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -11190,8 +11190,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11190
11190
  enabled: boolean;
11191
11191
  prompt: {
11192
11192
  system: string;
11193
- task?: string | undefined;
11194
11193
  templates?: Record<string, string> | undefined;
11194
+ task?: string | undefined;
11195
11195
  };
11196
11196
  branchPolicy: {
11197
11197
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -11368,8 +11368,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11368
11368
  projectId: string;
11369
11369
  slug: string;
11370
11370
  metadata: Record<string, unknown>;
11371
- title: string;
11372
11371
  startedAt: Date;
11372
+ title: string;
11373
11373
  changedFiles: string[];
11374
11374
  workDayId: string;
11375
11375
  reportVersion: string;
@@ -11403,8 +11403,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11403
11403
  createdAt?: Date | undefined;
11404
11404
  state?: string | undefined;
11405
11405
  completedAt?: Date | undefined;
11406
- priority?: number | undefined;
11407
11406
  startedAt?: Date | undefined;
11407
+ priority?: number | undefined;
11408
11408
  agentId?: string | undefined;
11409
11409
  idempotencyKey?: string | undefined;
11410
11410
  lastErrorCode?: string | null | undefined;
@@ -11417,8 +11417,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11417
11417
  deploymentKind: string;
11418
11418
  id?: string | undefined;
11419
11419
  createdAt?: Date | undefined;
11420
- commitSha?: string | null | undefined;
11421
11420
  startedAt?: Date | undefined;
11421
+ commitSha?: string | null | undefined;
11422
11422
  finishedAt?: Date | undefined;
11423
11423
  releaseTag?: string | null | undefined;
11424
11424
  sourceRef?: string | null | undefined;
@@ -11470,7 +11470,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11470
11470
  supportsReconcile: boolean;
11471
11471
  };
11472
11472
  offer: {
11473
- priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
11473
+ priceModel: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
11474
11474
  support?: string | undefined;
11475
11475
  license?: string | undefined;
11476
11476
  };
@@ -11480,7 +11480,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11480
11480
  teamId?: string | undefined;
11481
11481
  sourceRef?: string | undefined;
11482
11482
  } | {
11483
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
11483
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
11484
11484
  id: string;
11485
11485
  trigger: Record<string, unknown>;
11486
11486
  agent: string;
@@ -11529,6 +11529,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11529
11529
  revision: number;
11530
11530
  description: string;
11531
11531
  query: string;
11532
+ depth: number;
11532
11533
  title: string;
11533
11534
  filters: Record<string, unknown>;
11534
11535
  target: {
@@ -11536,7 +11537,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11536
11537
  paths?: string[] | undefined;
11537
11538
  models?: string[] | undefined;
11538
11539
  };
11539
- depth: number;
11540
11540
  purpose: string;
11541
11541
  maturity: "draft" | "validated" | "simulated" | "proven";
11542
11542
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
@@ -11662,6 +11662,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11662
11662
  createdAt: Date;
11663
11663
  teamId: string;
11664
11664
  projectId: string;
11665
+ outcome: "failed" | "passed" | "needs-revision";
11665
11666
  title: string;
11666
11667
  contextQueryRefs: {
11667
11668
  id: string;
@@ -11676,7 +11677,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11676
11677
  revision: number;
11677
11678
  }[];
11678
11679
  agentId: string;
11679
- outcome: "failed" | "passed" | "needs-revision";
11680
11680
  agentDefinitionRef: {
11681
11681
  id: string;
11682
11682
  revision: number;
@@ -11821,7 +11821,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11821
11821
  status: "review" | "archived" | "draft" | "published";
11822
11822
  schemaVersion: "treeseed.book/v2";
11823
11823
  id: string;
11824
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
11824
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
11825
11825
  order: number;
11826
11826
  summary: string;
11827
11827
  slug: string;
@@ -11834,7 +11834,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11834
11834
  status: "review" | "archived" | "draft" | "published";
11835
11835
  schemaVersion: "treeseed.knowledge-page/v1";
11836
11836
  id: string;
11837
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
11837
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
11838
11838
  summary: string;
11839
11839
  slug: string;
11840
11840
  title: string;
@@ -12007,12 +12007,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12007
12007
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12008
12008
  }, "strict", z.ZodTypeAny, {
12009
12009
  system: string;
12010
- task?: string | undefined;
12011
12010
  templates?: Record<string, string> | undefined;
12011
+ task?: string | undefined;
12012
12012
  }, {
12013
12013
  system: string;
12014
- task?: string | undefined;
12015
12014
  templates?: Record<string, string> | undefined;
12015
+ task?: string | undefined;
12016
12016
  }>;
12017
12017
  branchPolicy: z.ZodObject<{
12018
12018
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -12746,8 +12746,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12746
12746
  enabled: boolean;
12747
12747
  prompt: {
12748
12748
  system: string;
12749
- task?: string | undefined;
12750
12749
  templates?: Record<string, string> | undefined;
12750
+ task?: string | undefined;
12751
12751
  };
12752
12752
  branchPolicy: {
12753
12753
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -12919,8 +12919,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12919
12919
  enabled: boolean;
12920
12920
  prompt: {
12921
12921
  system: string;
12922
- task?: string | undefined;
12923
12922
  templates?: Record<string, string> | undefined;
12923
+ task?: string | undefined;
12924
12924
  };
12925
12925
  branchPolicy: {
12926
12926
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -13092,8 +13092,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13092
13092
  enabled: boolean;
13093
13093
  prompt: {
13094
13094
  system: string;
13095
- task?: string | undefined;
13096
13095
  templates?: Record<string, string> | undefined;
13096
+ task?: string | undefined;
13097
13097
  };
13098
13098
  branchPolicy: {
13099
13099
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -13265,8 +13265,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13265
13265
  enabled: boolean;
13266
13266
  prompt: {
13267
13267
  system: string;
13268
- task?: string | undefined;
13269
13268
  templates?: Record<string, string> | undefined;
13269
+ task?: string | undefined;
13270
13270
  };
13271
13271
  branchPolicy: {
13272
13272
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -13529,12 +13529,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13529
13529
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13530
13530
  }, "strict", z.ZodTypeAny, {
13531
13531
  system: string;
13532
- task?: string | undefined;
13533
13532
  templates?: Record<string, string> | undefined;
13533
+ task?: string | undefined;
13534
13534
  }, {
13535
13535
  system: string;
13536
- task?: string | undefined;
13537
13536
  templates?: Record<string, string> | undefined;
13537
+ task?: string | undefined;
13538
13538
  }>;
13539
13539
  branchPolicy: z.ZodObject<{
13540
13540
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -14268,8 +14268,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14268
14268
  enabled: boolean;
14269
14269
  prompt: {
14270
14270
  system: string;
14271
- task?: string | undefined;
14272
14271
  templates?: Record<string, string> | undefined;
14272
+ task?: string | undefined;
14273
14273
  };
14274
14274
  branchPolicy: {
14275
14275
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -14441,8 +14441,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14441
14441
  enabled: boolean;
14442
14442
  prompt: {
14443
14443
  system: string;
14444
- task?: string | undefined;
14445
14444
  templates?: Record<string, string> | undefined;
14445
+ task?: string | undefined;
14446
14446
  };
14447
14447
  branchPolicy: {
14448
14448
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -14614,8 +14614,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14614
14614
  enabled: boolean;
14615
14615
  prompt: {
14616
14616
  system: string;
14617
- task?: string | undefined;
14618
14617
  templates?: Record<string, string> | undefined;
14618
+ task?: string | undefined;
14619
14619
  };
14620
14620
  branchPolicy: {
14621
14621
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -14787,8 +14787,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14787
14787
  enabled: boolean;
14788
14788
  prompt: {
14789
14789
  system: string;
14790
- task?: string | undefined;
14791
14790
  templates?: Record<string, string> | undefined;
14791
+ task?: string | undefined;
14792
14792
  };
14793
14793
  branchPolicy: {
14794
14794
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -15051,12 +15051,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15051
15051
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15052
15052
  }, "strict", z.ZodTypeAny, {
15053
15053
  system: string;
15054
- task?: string | undefined;
15055
15054
  templates?: Record<string, string> | undefined;
15055
+ task?: string | undefined;
15056
15056
  }, {
15057
15057
  system: string;
15058
- task?: string | undefined;
15059
15058
  templates?: Record<string, string> | undefined;
15059
+ task?: string | undefined;
15060
15060
  }>;
15061
15061
  branchPolicy: z.ZodObject<{
15062
15062
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -15790,8 +15790,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15790
15790
  enabled: boolean;
15791
15791
  prompt: {
15792
15792
  system: string;
15793
- task?: string | undefined;
15794
15793
  templates?: Record<string, string> | undefined;
15794
+ task?: string | undefined;
15795
15795
  };
15796
15796
  branchPolicy: {
15797
15797
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -15963,8 +15963,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15963
15963
  enabled: boolean;
15964
15964
  prompt: {
15965
15965
  system: string;
15966
- task?: string | undefined;
15967
15966
  templates?: Record<string, string> | undefined;
15967
+ task?: string | undefined;
15968
15968
  };
15969
15969
  branchPolicy: {
15970
15970
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -16136,8 +16136,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16136
16136
  enabled: boolean;
16137
16137
  prompt: {
16138
16138
  system: string;
16139
- task?: string | undefined;
16140
16139
  templates?: Record<string, string> | undefined;
16140
+ task?: string | undefined;
16141
16141
  };
16142
16142
  branchPolicy: {
16143
16143
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -16309,8 +16309,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16309
16309
  enabled: boolean;
16310
16310
  prompt: {
16311
16311
  system: string;
16312
- task?: string | undefined;
16313
16312
  templates?: Record<string, string> | undefined;
16313
+ task?: string | undefined;
16314
16314
  };
16315
16315
  branchPolicy: {
16316
16316
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -16573,12 +16573,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16573
16573
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16574
16574
  }, "strict", z.ZodTypeAny, {
16575
16575
  system: string;
16576
- task?: string | undefined;
16577
16576
  templates?: Record<string, string> | undefined;
16577
+ task?: string | undefined;
16578
16578
  }, {
16579
16579
  system: string;
16580
- task?: string | undefined;
16581
16580
  templates?: Record<string, string> | undefined;
16581
+ task?: string | undefined;
16582
16582
  }>;
16583
16583
  branchPolicy: z.ZodObject<{
16584
16584
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -17312,8 +17312,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17312
17312
  enabled: boolean;
17313
17313
  prompt: {
17314
17314
  system: string;
17315
- task?: string | undefined;
17316
17315
  templates?: Record<string, string> | undefined;
17316
+ task?: string | undefined;
17317
17317
  };
17318
17318
  branchPolicy: {
17319
17319
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -17485,8 +17485,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17485
17485
  enabled: boolean;
17486
17486
  prompt: {
17487
17487
  system: string;
17488
- task?: string | undefined;
17489
17488
  templates?: Record<string, string> | undefined;
17489
+ task?: string | undefined;
17490
17490
  };
17491
17491
  branchPolicy: {
17492
17492
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -17658,8 +17658,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17658
17658
  enabled: boolean;
17659
17659
  prompt: {
17660
17660
  system: string;
17661
- task?: string | undefined;
17662
17661
  templates?: Record<string, string> | undefined;
17662
+ task?: string | undefined;
17663
17663
  };
17664
17664
  branchPolicy: {
17665
17665
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -17831,8 +17831,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17831
17831
  enabled: boolean;
17832
17832
  prompt: {
17833
17833
  system: string;
17834
- task?: string | undefined;
17835
17834
  templates?: Record<string, string> | undefined;
17835
+ task?: string | undefined;
17836
17836
  };
17837
17837
  branchPolicy: {
17838
17838
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -18095,12 +18095,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18095
18095
  templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18096
18096
  }, "strict", z.ZodTypeAny, {
18097
18097
  system: string;
18098
- task?: string | undefined;
18099
18098
  templates?: Record<string, string> | undefined;
18099
+ task?: string | undefined;
18100
18100
  }, {
18101
18101
  system: string;
18102
- task?: string | undefined;
18103
18102
  templates?: Record<string, string> | undefined;
18103
+ task?: string | undefined;
18104
18104
  }>;
18105
18105
  branchPolicy: z.ZodObject<{
18106
18106
  kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
@@ -18834,8 +18834,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18834
18834
  enabled: boolean;
18835
18835
  prompt: {
18836
18836
  system: string;
18837
- task?: string | undefined;
18838
18837
  templates?: Record<string, string> | undefined;
18838
+ task?: string | undefined;
18839
18839
  };
18840
18840
  branchPolicy: {
18841
18841
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -19007,8 +19007,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19007
19007
  enabled: boolean;
19008
19008
  prompt: {
19009
19009
  system: string;
19010
- task?: string | undefined;
19011
19010
  templates?: Record<string, string> | undefined;
19011
+ task?: string | undefined;
19012
19012
  };
19013
19013
  branchPolicy: {
19014
19014
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -19180,8 +19180,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19180
19180
  enabled: boolean;
19181
19181
  prompt: {
19182
19182
  system: string;
19183
- task?: string | undefined;
19184
19183
  templates?: Record<string, string> | undefined;
19184
+ task?: string | undefined;
19185
19185
  };
19186
19186
  branchPolicy: {
19187
19187
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -19353,8 +19353,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19353
19353
  enabled: boolean;
19354
19354
  prompt: {
19355
19355
  system: string;
19356
- task?: string | undefined;
19357
19356
  templates?: Record<string, string> | undefined;
19357
+ task?: string | undefined;
19358
19358
  };
19359
19359
  branchPolicy: {
19360
19360
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
@@ -19601,8 +19601,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19601
19601
  createdAt?: Date | undefined;
19602
19602
  state?: string | undefined;
19603
19603
  completedAt?: Date | undefined;
19604
- priority?: number | undefined;
19605
19604
  startedAt?: Date | undefined;
19605
+ priority?: number | undefined;
19606
19606
  agentId?: string | undefined;
19607
19607
  idempotencyKey?: string | undefined;
19608
19608
  lastErrorCode?: string | null | undefined;
@@ -19615,8 +19615,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19615
19615
  createdAt?: Date | undefined;
19616
19616
  state?: string | undefined;
19617
19617
  completedAt?: Date | undefined;
19618
- priority?: number | undefined;
19619
19618
  startedAt?: Date | undefined;
19619
+ priority?: number | undefined;
19620
19620
  agentId?: string | undefined;
19621
19621
  idempotencyKey?: string | undefined;
19622
19622
  lastErrorCode?: string | null | undefined;
@@ -19641,8 +19641,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19641
19641
  deploymentKind: string;
19642
19642
  id?: string | undefined;
19643
19643
  createdAt?: Date | undefined;
19644
- commitSha?: string | null | undefined;
19645
19644
  startedAt?: Date | undefined;
19645
+ commitSha?: string | null | undefined;
19646
19646
  finishedAt?: Date | undefined;
19647
19647
  releaseTag?: string | null | undefined;
19648
19648
  sourceRef?: string | null | undefined;
@@ -19651,8 +19651,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19651
19651
  deploymentKind: string;
19652
19652
  id?: string | undefined;
19653
19653
  createdAt?: Date | undefined;
19654
- commitSha?: string | null | undefined;
19655
19654
  startedAt?: Date | undefined;
19655
+ commitSha?: string | null | undefined;
19656
19656
  finishedAt?: Date | undefined;
19657
19657
  releaseTag?: string | null | undefined;
19658
19658
  sourceRef?: string | null | undefined;
@@ -19668,8 +19668,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19668
19668
  projectId: string;
19669
19669
  slug: string;
19670
19670
  metadata: Record<string, unknown>;
19671
- title: string;
19672
19671
  startedAt: Date;
19672
+ title: string;
19673
19673
  changedFiles: string[];
19674
19674
  workDayId: string;
19675
19675
  reportVersion: string;
@@ -19703,8 +19703,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19703
19703
  createdAt?: Date | undefined;
19704
19704
  state?: string | undefined;
19705
19705
  completedAt?: Date | undefined;
19706
- priority?: number | undefined;
19707
19706
  startedAt?: Date | undefined;
19707
+ priority?: number | undefined;
19708
19708
  agentId?: string | undefined;
19709
19709
  idempotencyKey?: string | undefined;
19710
19710
  lastErrorCode?: string | null | undefined;
@@ -19717,8 +19717,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19717
19717
  deploymentKind: string;
19718
19718
  id?: string | undefined;
19719
19719
  createdAt?: Date | undefined;
19720
- commitSha?: string | null | undefined;
19721
19720
  startedAt?: Date | undefined;
19721
+ commitSha?: string | null | undefined;
19722
19722
  finishedAt?: Date | undefined;
19723
19723
  releaseTag?: string | null | undefined;
19724
19724
  sourceRef?: string | null | undefined;
@@ -19734,8 +19734,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19734
19734
  summary: string;
19735
19735
  projectId: string;
19736
19736
  slug: string;
19737
- title: string;
19738
19737
  startedAt: Date;
19738
+ title: string;
19739
19739
  workDayId: string;
19740
19740
  reportVersion: string;
19741
19741
  workdayState: string;
@@ -19775,8 +19775,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19775
19775
  createdAt?: Date | undefined;
19776
19776
  state?: string | undefined;
19777
19777
  completedAt?: Date | undefined;
19778
- priority?: number | undefined;
19779
19778
  startedAt?: Date | undefined;
19779
+ priority?: number | undefined;
19780
19780
  agentId?: string | undefined;
19781
19781
  idempotencyKey?: string | undefined;
19782
19782
  lastErrorCode?: string | null | undefined;
@@ -19790,8 +19790,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19790
19790
  deploymentKind: string;
19791
19791
  id?: string | undefined;
19792
19792
  createdAt?: Date | undefined;
19793
- commitSha?: string | null | undefined;
19794
19793
  startedAt?: Date | undefined;
19794
+ commitSha?: string | null | undefined;
19795
19795
  finishedAt?: Date | undefined;
19796
19796
  releaseTag?: string | null | undefined;
19797
19797
  sourceRef?: string | null | undefined;
@@ -19915,12 +19915,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19915
19915
  license: z.ZodOptional<z.ZodString>;
19916
19916
  support: z.ZodOptional<z.ZodString>;
19917
19917
  }, "strip", z.ZodTypeAny, {
19918
- priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
19918
+ priceModel: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
19919
19919
  support?: string | undefined;
19920
19920
  license?: string | undefined;
19921
19921
  }, {
19922
19922
  support?: string | undefined;
19923
- priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
19923
+ priceModel?: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
19924
19924
  license?: string | undefined;
19925
19925
  }>>;
19926
19926
  relatedBooks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -19967,7 +19967,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19967
19967
  supportsReconcile: boolean;
19968
19968
  };
19969
19969
  offer: {
19970
- priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
19970
+ priceModel: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract";
19971
19971
  support?: string | undefined;
19972
19972
  license?: string | undefined;
19973
19973
  };
@@ -20020,7 +20020,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20020
20020
  publisherVerified?: boolean | undefined;
20021
20021
  offer?: {
20022
20022
  support?: string | undefined;
20023
- priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
20023
+ priceModel?: "external" | "private" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
20024
20024
  license?: string | undefined;
20025
20025
  } | undefined;
20026
20026
  relatedBooks?: string[] | undefined;
@@ -20169,7 +20169,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20169
20169
  }>>;
20170
20170
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
20171
20171
  }, "strip", z.ZodTypeAny, {
20172
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
20172
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
20173
20173
  id: string;
20174
20174
  trigger: Record<string, unknown>;
20175
20175
  agent: string;
@@ -20213,7 +20213,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20213
20213
  } | undefined;
20214
20214
  maxLatencyMs?: number | undefined;
20215
20215
  }, {
20216
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
20216
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
20217
20217
  id: string;
20218
20218
  agent: string;
20219
20219
  trigger?: Record<string, unknown> | undefined;
@@ -20273,7 +20273,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20273
20273
  } | undefined;
20274
20274
  maxLatencyMs?: number | undefined;
20275
20275
  }>, {
20276
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
20276
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
20277
20277
  id: string;
20278
20278
  trigger: Record<string, unknown>;
20279
20279
  agent: string;
@@ -20317,7 +20317,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20317
20317
  } | undefined;
20318
20318
  maxLatencyMs?: number | undefined;
20319
20319
  }, {
20320
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
20320
+ kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
20321
20321
  id: string;
20322
20322
  agent: string;
20323
20323
  trigger?: Record<string, unknown> | undefined;
@@ -20422,6 +20422,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20422
20422
  revision: number;
20423
20423
  description: string;
20424
20424
  query: string;
20425
+ depth: number;
20425
20426
  title: string;
20426
20427
  filters: Record<string, unknown>;
20427
20428
  target: {
@@ -20429,7 +20430,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20429
20430
  paths?: string[] | undefined;
20430
20431
  models?: string[] | undefined;
20431
20432
  };
20432
- depth: number;
20433
20433
  purpose: string;
20434
20434
  maturity: "draft" | "validated" | "simulated" | "proven";
20435
20435
  relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
@@ -20462,9 +20462,9 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20462
20462
  };
20463
20463
  tokenBudget: number;
20464
20464
  required?: boolean | undefined;
20465
+ depth?: number | undefined;
20465
20466
  scope?: string | undefined;
20466
20467
  filters?: Record<string, unknown> | undefined;
20467
- depth?: number | undefined;
20468
20468
  codeScopes?: string[] | undefined;
20469
20469
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
20470
20470
  format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
@@ -20967,6 +20967,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20967
20967
  createdAt: Date;
20968
20968
  teamId: string;
20969
20969
  projectId: string;
20970
+ outcome: "failed" | "passed" | "needs-revision";
20970
20971
  title: string;
20971
20972
  contextQueryRefs: {
20972
20973
  id: string;
@@ -20981,7 +20982,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20981
20982
  revision: number;
20982
20983
  }[];
20983
20984
  agentId: string;
20984
- outcome: "failed" | "passed" | "needs-revision";
20985
20985
  agentDefinitionRef: {
20986
20986
  id: string;
20987
20987
  revision: number;
@@ -21005,9 +21005,9 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21005
21005
  createdAt: Date;
21006
21006
  teamId: string;
21007
21007
  projectId: string;
21008
+ outcome: "failed" | "passed" | "needs-revision";
21008
21009
  title: string;
21009
21010
  agentId: string;
21010
- outcome: "failed" | "passed" | "needs-revision";
21011
21011
  agentDefinitionRef: {
21012
21012
  id: string;
21013
21013
  revision: number;
@@ -21471,7 +21471,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21471
21471
  status: "review" | "archived" | "draft" | "published";
21472
21472
  schemaVersion: "treeseed.book/v2";
21473
21473
  id: string;
21474
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
21474
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
21475
21475
  order: number;
21476
21476
  summary: string;
21477
21477
  slug: string;
@@ -21484,7 +21484,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21484
21484
  status: "review" | "archived" | "draft" | "published";
21485
21485
  schemaVersion: "treeseed.book/v2";
21486
21486
  id: string;
21487
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
21487
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
21488
21488
  order: number;
21489
21489
  summary: string;
21490
21490
  slug: string;
@@ -21509,7 +21509,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21509
21509
  status: "review" | "archived" | "draft" | "published";
21510
21510
  schemaVersion: "treeseed.knowledge-page/v1";
21511
21511
  id: string;
21512
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
21512
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
21513
21513
  summary: string;
21514
21514
  slug: string;
21515
21515
  title: string;
@@ -21521,7 +21521,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21521
21521
  status: "review" | "archived" | "draft" | "published";
21522
21522
  schemaVersion: "treeseed.knowledge-page/v1";
21523
21523
  id: string;
21524
- visibility: "team" | "project" | "public" | "authenticated" | "admin";
21524
+ visibility: "team" | "project" | "public" | "admin" | "authenticated";
21525
21525
  summary: string;
21526
21526
  slug: string;
21527
21527
  title: string;
@@ -21721,7 +21721,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21721
21721
  }>;
21722
21722
  /** A JSON-safe description derived directly from the canonical validation schema. */
21723
21723
  export declare function describeContentFrontmatterContract(model: PortableContentModel): {
21724
- model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "discussion" | "person" | "page" | "note" | "question" | "proposal" | "book" | "discussion_message" | "discussion_event" | "group" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
21724
+ model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "discussion" | "page" | "person" | "note" | "question" | "proposal" | "book" | "discussion_message" | "discussion_event" | "group" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
21725
21725
  fields: {
21726
21726
  [k: string]: Record<string, unknown>;
21727
21727
  };