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

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.
@@ -113,19 +113,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
113
113
  }, "strict", z.ZodTypeAny, {
114
114
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
115
115
  base: "staging" | "main";
116
- prefix?: string | undefined;
117
116
  target?: "staging" | "main" | undefined;
118
- branchNameTemplate?: string | undefined;
119
117
  worktree?: string | undefined;
118
+ prefix?: string | undefined;
119
+ branchNameTemplate?: string | undefined;
120
120
  updateBaseBeforeRun?: boolean | undefined;
121
121
  mergeTargetBeforeSave?: boolean | undefined;
122
122
  }, {
123
123
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
124
124
  base: "staging" | "main";
125
- prefix?: string | undefined;
126
125
  target?: "staging" | "main" | undefined;
127
- branchNameTemplate?: string | undefined;
128
126
  worktree?: string | undefined;
127
+ prefix?: string | undefined;
128
+ branchNameTemplate?: string | undefined;
129
129
  updateBaseBeforeRun?: boolean | undefined;
130
130
  mergeTargetBeforeSave?: boolean | undefined;
131
131
  }>;
@@ -232,10 +232,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
232
232
  deniedCommands?: string[] | undefined;
233
233
  }>>;
234
234
  }, "strict", z.ZodTypeAny, {
235
- network?: {
236
- allowWeb?: boolean | undefined;
237
- allowedDomains?: string[] | undefined;
238
- } | undefined;
239
235
  repository?: {
240
236
  allowCodeMutation?: boolean | undefined;
241
237
  readPaths?: string[] | undefined;
@@ -244,6 +240,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
244
240
  commit?: {
245
241
  allowed: boolean;
246
242
  } | undefined;
243
+ network?: {
244
+ allowWeb?: boolean | undefined;
245
+ allowedDomains?: string[] | undefined;
246
+ } | undefined;
247
247
  content?: Record<string, {
248
248
  operations: string[];
249
249
  filters?: Record<string, unknown> | undefined;
@@ -254,10 +254,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
254
254
  deniedCommands?: string[] | undefined;
255
255
  } | undefined;
256
256
  }, {
257
- network?: {
258
- allowWeb?: boolean | undefined;
259
- allowedDomains?: string[] | undefined;
260
- } | undefined;
261
257
  repository?: {
262
258
  allowCodeMutation?: boolean | undefined;
263
259
  readPaths?: string[] | undefined;
@@ -266,6 +262,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
266
262
  commit?: {
267
263
  allowed: boolean;
268
264
  } | undefined;
265
+ network?: {
266
+ allowWeb?: boolean | undefined;
267
+ allowedDomains?: string[] | undefined;
268
+ } | undefined;
269
269
  content?: Record<string, {
270
270
  operations: string[];
271
271
  filters?: Record<string, unknown> | undefined;
@@ -707,8 +707,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
707
707
  agentSlug: z.ZodOptional<z.ZodString>;
708
708
  }, "strict", z.ZodTypeAny, {
709
709
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
710
- teamId?: string | undefined;
711
710
  projectId?: string | undefined;
711
+ teamId?: string | undefined;
712
712
  agentSlug?: string | undefined;
713
713
  requiredRoles?: string[] | undefined;
714
714
  allowedRoles?: string[] | undefined;
@@ -718,8 +718,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
718
718
  teamMemberId?: string | undefined;
719
719
  }, {
720
720
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
721
- teamId?: string | undefined;
722
721
  projectId?: string | undefined;
722
+ teamId?: string | undefined;
723
723
  agentSlug?: string | undefined;
724
724
  requiredRoles?: string[] | undefined;
725
725
  allowedRoles?: string[] | undefined;
@@ -731,8 +731,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
731
731
  }, "strict", z.ZodTypeAny, {
732
732
  defaultAnswerPolicy?: {
733
733
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
734
- teamId?: string | undefined;
735
734
  projectId?: string | undefined;
735
+ teamId?: string | undefined;
736
736
  agentSlug?: string | undefined;
737
737
  requiredRoles?: string[] | undefined;
738
738
  allowedRoles?: string[] | undefined;
@@ -745,8 +745,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
745
745
  }, {
746
746
  defaultAnswerPolicy?: {
747
747
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
748
- teamId?: string | undefined;
749
748
  projectId?: string | undefined;
749
+ teamId?: string | undefined;
750
750
  agentSlug?: string | undefined;
751
751
  requiredRoles?: string[] | undefined;
752
752
  allowedRoles?: string[] | undefined;
@@ -830,6 +830,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
830
830
  forbiddenPaths?: string[] | undefined;
831
831
  }>>;
832
832
  }, "strict", z.ZodTypeAny, {
833
+ outputs: {
834
+ messageTypes: string[];
835
+ modelMutations: string[];
836
+ };
833
837
  enabled: boolean;
834
838
  prompt: {
835
839
  system: string;
@@ -839,22 +843,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
839
843
  branchPolicy: {
840
844
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
841
845
  base: "staging" | "main";
842
- prefix?: string | undefined;
843
846
  target?: "staging" | "main" | undefined;
844
- branchNameTemplate?: string | undefined;
845
847
  worktree?: string | undefined;
848
+ prefix?: string | undefined;
849
+ branchNameTemplate?: string | undefined;
846
850
  updateBaseBeforeRun?: boolean | undefined;
847
851
  mergeTargetBeforeSave?: boolean | undefined;
848
852
  };
849
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
853
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
850
854
  tools: {
851
855
  allowed: string[];
852
856
  denied?: string[] | undefined;
853
857
  };
854
- outputs: {
855
- messageTypes: string[];
856
- modelMutations: string[];
857
- };
858
858
  execution?: {
859
859
  requiredCapabilities?: string[] | undefined;
860
860
  preparationSeconds?: number | undefined;
@@ -891,10 +891,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
891
891
  revision: number;
892
892
  }[] | undefined;
893
893
  permissions?: {
894
- network?: {
895
- allowWeb?: boolean | undefined;
896
- allowedDomains?: string[] | undefined;
897
- } | undefined;
898
894
  repository?: {
899
895
  allowCodeMutation?: boolean | undefined;
900
896
  readPaths?: string[] | undefined;
@@ -903,6 +899,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
903
899
  commit?: {
904
900
  allowed: boolean;
905
901
  } | undefined;
902
+ network?: {
903
+ allowWeb?: boolean | undefined;
904
+ allowedDomains?: string[] | undefined;
905
+ } | undefined;
906
906
  content?: Record<string, {
907
907
  operations: string[];
908
908
  filters?: Record<string, unknown> | undefined;
@@ -990,8 +990,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
990
990
  questionPolicy?: {
991
991
  defaultAnswerPolicy?: {
992
992
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
993
- teamId?: string | undefined;
994
993
  projectId?: string | undefined;
994
+ teamId?: string | undefined;
995
995
  agentSlug?: string | undefined;
996
996
  requiredRoles?: string[] | undefined;
997
997
  allowedRoles?: string[] | undefined;
@@ -1003,6 +1003,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1003
1003
  blockExecutionWhenCreated?: boolean | undefined;
1004
1004
  } | undefined;
1005
1005
  }, {
1006
+ outputs: {
1007
+ messageTypes: string[];
1008
+ modelMutations: string[];
1009
+ };
1006
1010
  enabled: boolean;
1007
1011
  prompt: {
1008
1012
  system: string;
@@ -1012,22 +1016,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1012
1016
  branchPolicy: {
1013
1017
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1014
1018
  base: "staging" | "main";
1015
- prefix?: string | undefined;
1016
1019
  target?: "staging" | "main" | undefined;
1017
- branchNameTemplate?: string | undefined;
1018
1020
  worktree?: string | undefined;
1021
+ prefix?: string | undefined;
1022
+ branchNameTemplate?: string | undefined;
1019
1023
  updateBaseBeforeRun?: boolean | undefined;
1020
1024
  mergeTargetBeforeSave?: boolean | undefined;
1021
1025
  };
1022
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
1026
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
1023
1027
  tools: {
1024
1028
  allowed: string[];
1025
1029
  denied?: string[] | undefined;
1026
1030
  };
1027
- outputs: {
1028
- messageTypes: string[];
1029
- modelMutations: string[];
1030
- };
1031
1031
  execution?: {
1032
1032
  requiredCapabilities?: string[] | undefined;
1033
1033
  preparationSeconds?: number | undefined;
@@ -1064,10 +1064,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1064
1064
  revision: number;
1065
1065
  }[] | undefined;
1066
1066
  permissions?: {
1067
- network?: {
1068
- allowWeb?: boolean | undefined;
1069
- allowedDomains?: string[] | undefined;
1070
- } | undefined;
1071
1067
  repository?: {
1072
1068
  allowCodeMutation?: boolean | undefined;
1073
1069
  readPaths?: string[] | undefined;
@@ -1076,6 +1072,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1076
1072
  commit?: {
1077
1073
  allowed: boolean;
1078
1074
  } | undefined;
1075
+ network?: {
1076
+ allowWeb?: boolean | undefined;
1077
+ allowedDomains?: string[] | undefined;
1078
+ } | undefined;
1079
1079
  content?: Record<string, {
1080
1080
  operations: string[];
1081
1081
  filters?: Record<string, unknown> | undefined;
@@ -1163,8 +1163,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1163
1163
  questionPolicy?: {
1164
1164
  defaultAnswerPolicy?: {
1165
1165
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1166
- teamId?: string | undefined;
1167
1166
  projectId?: string | undefined;
1167
+ teamId?: string | undefined;
1168
1168
  agentSlug?: string | undefined;
1169
1169
  requiredRoles?: string[] | undefined;
1170
1170
  allowedRoles?: string[] | undefined;
@@ -1176,6 +1176,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1176
1176
  blockExecutionWhenCreated?: boolean | undefined;
1177
1177
  } | undefined;
1178
1178
  }>, {
1179
+ outputs: {
1180
+ messageTypes: string[];
1181
+ modelMutations: string[];
1182
+ };
1179
1183
  enabled: boolean;
1180
1184
  prompt: {
1181
1185
  system: string;
@@ -1185,22 +1189,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1185
1189
  branchPolicy: {
1186
1190
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1187
1191
  base: "staging" | "main";
1188
- prefix?: string | undefined;
1189
1192
  target?: "staging" | "main" | undefined;
1190
- branchNameTemplate?: string | undefined;
1191
1193
  worktree?: string | undefined;
1194
+ prefix?: string | undefined;
1195
+ branchNameTemplate?: string | undefined;
1192
1196
  updateBaseBeforeRun?: boolean | undefined;
1193
1197
  mergeTargetBeforeSave?: boolean | undefined;
1194
1198
  };
1195
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
1199
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
1196
1200
  tools: {
1197
1201
  allowed: string[];
1198
1202
  denied?: string[] | undefined;
1199
1203
  };
1200
- outputs: {
1201
- messageTypes: string[];
1202
- modelMutations: string[];
1203
- };
1204
1204
  execution?: {
1205
1205
  requiredCapabilities?: string[] | undefined;
1206
1206
  preparationSeconds?: number | undefined;
@@ -1237,10 +1237,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1237
1237
  revision: number;
1238
1238
  }[] | undefined;
1239
1239
  permissions?: {
1240
- network?: {
1241
- allowWeb?: boolean | undefined;
1242
- allowedDomains?: string[] | undefined;
1243
- } | undefined;
1244
1240
  repository?: {
1245
1241
  allowCodeMutation?: boolean | undefined;
1246
1242
  readPaths?: string[] | undefined;
@@ -1249,6 +1245,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1249
1245
  commit?: {
1250
1246
  allowed: boolean;
1251
1247
  } | undefined;
1248
+ network?: {
1249
+ allowWeb?: boolean | undefined;
1250
+ allowedDomains?: string[] | undefined;
1251
+ } | undefined;
1252
1252
  content?: Record<string, {
1253
1253
  operations: string[];
1254
1254
  filters?: Record<string, unknown> | undefined;
@@ -1336,8 +1336,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1336
1336
  questionPolicy?: {
1337
1337
  defaultAnswerPolicy?: {
1338
1338
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1339
- teamId?: string | undefined;
1340
1339
  projectId?: string | undefined;
1340
+ teamId?: string | undefined;
1341
1341
  agentSlug?: string | undefined;
1342
1342
  requiredRoles?: string[] | undefined;
1343
1343
  allowedRoles?: string[] | undefined;
@@ -1349,6 +1349,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1349
1349
  blockExecutionWhenCreated?: boolean | undefined;
1350
1350
  } | undefined;
1351
1351
  }, {
1352
+ outputs: {
1353
+ messageTypes: string[];
1354
+ modelMutations: string[];
1355
+ };
1352
1356
  enabled: boolean;
1353
1357
  prompt: {
1354
1358
  system: string;
@@ -1358,22 +1362,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1358
1362
  branchPolicy: {
1359
1363
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1360
1364
  base: "staging" | "main";
1361
- prefix?: string | undefined;
1362
1365
  target?: "staging" | "main" | undefined;
1363
- branchNameTemplate?: string | undefined;
1364
1366
  worktree?: string | undefined;
1367
+ prefix?: string | undefined;
1368
+ branchNameTemplate?: string | undefined;
1365
1369
  updateBaseBeforeRun?: boolean | undefined;
1366
1370
  mergeTargetBeforeSave?: boolean | undefined;
1367
1371
  };
1368
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
1372
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
1369
1373
  tools: {
1370
1374
  allowed: string[];
1371
1375
  denied?: string[] | undefined;
1372
1376
  };
1373
- outputs: {
1374
- messageTypes: string[];
1375
- modelMutations: string[];
1376
- };
1377
1377
  execution?: {
1378
1378
  requiredCapabilities?: string[] | undefined;
1379
1379
  preparationSeconds?: number | undefined;
@@ -1410,10 +1410,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1410
1410
  revision: number;
1411
1411
  }[] | undefined;
1412
1412
  permissions?: {
1413
- network?: {
1414
- allowWeb?: boolean | undefined;
1415
- allowedDomains?: string[] | undefined;
1416
- } | undefined;
1417
1413
  repository?: {
1418
1414
  allowCodeMutation?: boolean | undefined;
1419
1415
  readPaths?: string[] | undefined;
@@ -1422,6 +1418,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1422
1418
  commit?: {
1423
1419
  allowed: boolean;
1424
1420
  } | undefined;
1421
+ network?: {
1422
+ allowWeb?: boolean | undefined;
1423
+ allowedDomains?: string[] | undefined;
1424
+ } | undefined;
1425
1425
  content?: Record<string, {
1426
1426
  operations: string[];
1427
1427
  filters?: Record<string, unknown> | undefined;
@@ -1509,8 +1509,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1509
1509
  questionPolicy?: {
1510
1510
  defaultAnswerPolicy?: {
1511
1511
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1512
- teamId?: string | undefined;
1513
1512
  projectId?: string | undefined;
1513
+ teamId?: string | undefined;
1514
1514
  agentSlug?: string | undefined;
1515
1515
  requiredRoles?: string[] | undefined;
1516
1516
  allowedRoles?: string[] | undefined;
@@ -1635,19 +1635,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1635
1635
  }, "strict", z.ZodTypeAny, {
1636
1636
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1637
1637
  base: "staging" | "main";
1638
- prefix?: string | undefined;
1639
1638
  target?: "staging" | "main" | undefined;
1640
- branchNameTemplate?: string | undefined;
1641
1639
  worktree?: string | undefined;
1640
+ prefix?: string | undefined;
1641
+ branchNameTemplate?: string | undefined;
1642
1642
  updateBaseBeforeRun?: boolean | undefined;
1643
1643
  mergeTargetBeforeSave?: boolean | undefined;
1644
1644
  }, {
1645
1645
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1646
1646
  base: "staging" | "main";
1647
- prefix?: string | undefined;
1648
1647
  target?: "staging" | "main" | undefined;
1649
- branchNameTemplate?: string | undefined;
1650
1648
  worktree?: string | undefined;
1649
+ prefix?: string | undefined;
1650
+ branchNameTemplate?: string | undefined;
1651
1651
  updateBaseBeforeRun?: boolean | undefined;
1652
1652
  mergeTargetBeforeSave?: boolean | undefined;
1653
1653
  }>;
@@ -1754,10 +1754,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1754
1754
  deniedCommands?: string[] | undefined;
1755
1755
  }>>;
1756
1756
  }, "strict", z.ZodTypeAny, {
1757
- network?: {
1758
- allowWeb?: boolean | undefined;
1759
- allowedDomains?: string[] | undefined;
1760
- } | undefined;
1761
1757
  repository?: {
1762
1758
  allowCodeMutation?: boolean | undefined;
1763
1759
  readPaths?: string[] | undefined;
@@ -1766,6 +1762,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1766
1762
  commit?: {
1767
1763
  allowed: boolean;
1768
1764
  } | undefined;
1765
+ network?: {
1766
+ allowWeb?: boolean | undefined;
1767
+ allowedDomains?: string[] | undefined;
1768
+ } | undefined;
1769
1769
  content?: Record<string, {
1770
1770
  operations: string[];
1771
1771
  filters?: Record<string, unknown> | undefined;
@@ -1776,10 +1776,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1776
1776
  deniedCommands?: string[] | undefined;
1777
1777
  } | undefined;
1778
1778
  }, {
1779
- network?: {
1780
- allowWeb?: boolean | undefined;
1781
- allowedDomains?: string[] | undefined;
1782
- } | undefined;
1783
1779
  repository?: {
1784
1780
  allowCodeMutation?: boolean | undefined;
1785
1781
  readPaths?: string[] | undefined;
@@ -1788,6 +1784,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1788
1784
  commit?: {
1789
1785
  allowed: boolean;
1790
1786
  } | undefined;
1787
+ network?: {
1788
+ allowWeb?: boolean | undefined;
1789
+ allowedDomains?: string[] | undefined;
1790
+ } | undefined;
1791
1791
  content?: Record<string, {
1792
1792
  operations: string[];
1793
1793
  filters?: Record<string, unknown> | undefined;
@@ -2229,8 +2229,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2229
2229
  agentSlug: z.ZodOptional<z.ZodString>;
2230
2230
  }, "strict", z.ZodTypeAny, {
2231
2231
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2232
- teamId?: string | undefined;
2233
2232
  projectId?: string | undefined;
2233
+ teamId?: string | undefined;
2234
2234
  agentSlug?: string | undefined;
2235
2235
  requiredRoles?: string[] | undefined;
2236
2236
  allowedRoles?: string[] | undefined;
@@ -2240,8 +2240,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2240
2240
  teamMemberId?: string | undefined;
2241
2241
  }, {
2242
2242
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2243
- teamId?: string | undefined;
2244
2243
  projectId?: string | undefined;
2244
+ teamId?: string | undefined;
2245
2245
  agentSlug?: string | undefined;
2246
2246
  requiredRoles?: string[] | undefined;
2247
2247
  allowedRoles?: string[] | undefined;
@@ -2253,8 +2253,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2253
2253
  }, "strict", z.ZodTypeAny, {
2254
2254
  defaultAnswerPolicy?: {
2255
2255
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2256
- teamId?: string | undefined;
2257
2256
  projectId?: string | undefined;
2257
+ teamId?: string | undefined;
2258
2258
  agentSlug?: string | undefined;
2259
2259
  requiredRoles?: string[] | undefined;
2260
2260
  allowedRoles?: string[] | undefined;
@@ -2267,8 +2267,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2267
2267
  }, {
2268
2268
  defaultAnswerPolicy?: {
2269
2269
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2270
- teamId?: string | undefined;
2271
2270
  projectId?: string | undefined;
2271
+ teamId?: string | undefined;
2272
2272
  agentSlug?: string | undefined;
2273
2273
  requiredRoles?: string[] | undefined;
2274
2274
  allowedRoles?: string[] | undefined;
@@ -2352,6 +2352,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2352
2352
  forbiddenPaths?: string[] | undefined;
2353
2353
  }>>;
2354
2354
  }, "strict", z.ZodTypeAny, {
2355
+ outputs: {
2356
+ messageTypes: string[];
2357
+ modelMutations: string[];
2358
+ };
2355
2359
  enabled: boolean;
2356
2360
  prompt: {
2357
2361
  system: string;
@@ -2361,22 +2365,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2361
2365
  branchPolicy: {
2362
2366
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2363
2367
  base: "staging" | "main";
2364
- prefix?: string | undefined;
2365
2368
  target?: "staging" | "main" | undefined;
2366
- branchNameTemplate?: string | undefined;
2367
2369
  worktree?: string | undefined;
2370
+ prefix?: string | undefined;
2371
+ branchNameTemplate?: string | undefined;
2368
2372
  updateBaseBeforeRun?: boolean | undefined;
2369
2373
  mergeTargetBeforeSave?: boolean | undefined;
2370
2374
  };
2371
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
2375
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
2372
2376
  tools: {
2373
2377
  allowed: string[];
2374
2378
  denied?: string[] | undefined;
2375
2379
  };
2376
- outputs: {
2377
- messageTypes: string[];
2378
- modelMutations: string[];
2379
- };
2380
2380
  execution?: {
2381
2381
  requiredCapabilities?: string[] | undefined;
2382
2382
  preparationSeconds?: number | undefined;
@@ -2413,10 +2413,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2413
2413
  revision: number;
2414
2414
  }[] | undefined;
2415
2415
  permissions?: {
2416
- network?: {
2417
- allowWeb?: boolean | undefined;
2418
- allowedDomains?: string[] | undefined;
2419
- } | undefined;
2420
2416
  repository?: {
2421
2417
  allowCodeMutation?: boolean | undefined;
2422
2418
  readPaths?: string[] | undefined;
@@ -2425,6 +2421,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2425
2421
  commit?: {
2426
2422
  allowed: boolean;
2427
2423
  } | undefined;
2424
+ network?: {
2425
+ allowWeb?: boolean | undefined;
2426
+ allowedDomains?: string[] | undefined;
2427
+ } | undefined;
2428
2428
  content?: Record<string, {
2429
2429
  operations: string[];
2430
2430
  filters?: Record<string, unknown> | undefined;
@@ -2512,8 +2512,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2512
2512
  questionPolicy?: {
2513
2513
  defaultAnswerPolicy?: {
2514
2514
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2515
- teamId?: string | undefined;
2516
2515
  projectId?: string | undefined;
2516
+ teamId?: string | undefined;
2517
2517
  agentSlug?: string | undefined;
2518
2518
  requiredRoles?: string[] | undefined;
2519
2519
  allowedRoles?: string[] | undefined;
@@ -2525,6 +2525,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2525
2525
  blockExecutionWhenCreated?: boolean | undefined;
2526
2526
  } | undefined;
2527
2527
  }, {
2528
+ outputs: {
2529
+ messageTypes: string[];
2530
+ modelMutations: string[];
2531
+ };
2528
2532
  enabled: boolean;
2529
2533
  prompt: {
2530
2534
  system: string;
@@ -2534,22 +2538,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2534
2538
  branchPolicy: {
2535
2539
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2536
2540
  base: "staging" | "main";
2537
- prefix?: string | undefined;
2538
2541
  target?: "staging" | "main" | undefined;
2539
- branchNameTemplate?: string | undefined;
2540
2542
  worktree?: string | undefined;
2543
+ prefix?: string | undefined;
2544
+ branchNameTemplate?: string | undefined;
2541
2545
  updateBaseBeforeRun?: boolean | undefined;
2542
2546
  mergeTargetBeforeSave?: boolean | undefined;
2543
2547
  };
2544
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
2548
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
2545
2549
  tools: {
2546
2550
  allowed: string[];
2547
2551
  denied?: string[] | undefined;
2548
2552
  };
2549
- outputs: {
2550
- messageTypes: string[];
2551
- modelMutations: string[];
2552
- };
2553
2553
  execution?: {
2554
2554
  requiredCapabilities?: string[] | undefined;
2555
2555
  preparationSeconds?: number | undefined;
@@ -2586,10 +2586,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2586
2586
  revision: number;
2587
2587
  }[] | undefined;
2588
2588
  permissions?: {
2589
- network?: {
2590
- allowWeb?: boolean | undefined;
2591
- allowedDomains?: string[] | undefined;
2592
- } | undefined;
2593
2589
  repository?: {
2594
2590
  allowCodeMutation?: boolean | undefined;
2595
2591
  readPaths?: string[] | undefined;
@@ -2598,6 +2594,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2598
2594
  commit?: {
2599
2595
  allowed: boolean;
2600
2596
  } | undefined;
2597
+ network?: {
2598
+ allowWeb?: boolean | undefined;
2599
+ allowedDomains?: string[] | undefined;
2600
+ } | undefined;
2601
2601
  content?: Record<string, {
2602
2602
  operations: string[];
2603
2603
  filters?: Record<string, unknown> | undefined;
@@ -2685,8 +2685,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2685
2685
  questionPolicy?: {
2686
2686
  defaultAnswerPolicy?: {
2687
2687
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2688
- teamId?: string | undefined;
2689
2688
  projectId?: string | undefined;
2689
+ teamId?: string | undefined;
2690
2690
  agentSlug?: string | undefined;
2691
2691
  requiredRoles?: string[] | undefined;
2692
2692
  allowedRoles?: string[] | undefined;
@@ -2698,6 +2698,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2698
2698
  blockExecutionWhenCreated?: boolean | undefined;
2699
2699
  } | undefined;
2700
2700
  }>, {
2701
+ outputs: {
2702
+ messageTypes: string[];
2703
+ modelMutations: string[];
2704
+ };
2701
2705
  enabled: boolean;
2702
2706
  prompt: {
2703
2707
  system: string;
@@ -2707,22 +2711,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2707
2711
  branchPolicy: {
2708
2712
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2709
2713
  base: "staging" | "main";
2710
- prefix?: string | undefined;
2711
2714
  target?: "staging" | "main" | undefined;
2712
- branchNameTemplate?: string | undefined;
2713
2715
  worktree?: string | undefined;
2716
+ prefix?: string | undefined;
2717
+ branchNameTemplate?: string | undefined;
2714
2718
  updateBaseBeforeRun?: boolean | undefined;
2715
2719
  mergeTargetBeforeSave?: boolean | undefined;
2716
2720
  };
2717
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
2721
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
2718
2722
  tools: {
2719
2723
  allowed: string[];
2720
2724
  denied?: string[] | undefined;
2721
2725
  };
2722
- outputs: {
2723
- messageTypes: string[];
2724
- modelMutations: string[];
2725
- };
2726
2726
  execution?: {
2727
2727
  requiredCapabilities?: string[] | undefined;
2728
2728
  preparationSeconds?: number | undefined;
@@ -2759,10 +2759,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2759
2759
  revision: number;
2760
2760
  }[] | undefined;
2761
2761
  permissions?: {
2762
- network?: {
2763
- allowWeb?: boolean | undefined;
2764
- allowedDomains?: string[] | undefined;
2765
- } | undefined;
2766
2762
  repository?: {
2767
2763
  allowCodeMutation?: boolean | undefined;
2768
2764
  readPaths?: string[] | undefined;
@@ -2771,6 +2767,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2771
2767
  commit?: {
2772
2768
  allowed: boolean;
2773
2769
  } | undefined;
2770
+ network?: {
2771
+ allowWeb?: boolean | undefined;
2772
+ allowedDomains?: string[] | undefined;
2773
+ } | undefined;
2774
2774
  content?: Record<string, {
2775
2775
  operations: string[];
2776
2776
  filters?: Record<string, unknown> | undefined;
@@ -2858,8 +2858,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2858
2858
  questionPolicy?: {
2859
2859
  defaultAnswerPolicy?: {
2860
2860
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2861
- teamId?: string | undefined;
2862
2861
  projectId?: string | undefined;
2862
+ teamId?: string | undefined;
2863
2863
  agentSlug?: string | undefined;
2864
2864
  requiredRoles?: string[] | undefined;
2865
2865
  allowedRoles?: string[] | undefined;
@@ -2871,6 +2871,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2871
2871
  blockExecutionWhenCreated?: boolean | undefined;
2872
2872
  } | undefined;
2873
2873
  }, {
2874
+ outputs: {
2875
+ messageTypes: string[];
2876
+ modelMutations: string[];
2877
+ };
2874
2878
  enabled: boolean;
2875
2879
  prompt: {
2876
2880
  system: string;
@@ -2880,22 +2884,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2880
2884
  branchPolicy: {
2881
2885
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2882
2886
  base: "staging" | "main";
2883
- prefix?: string | undefined;
2884
2887
  target?: "staging" | "main" | undefined;
2885
- branchNameTemplate?: string | undefined;
2886
2888
  worktree?: string | undefined;
2889
+ prefix?: string | undefined;
2890
+ branchNameTemplate?: string | undefined;
2887
2891
  updateBaseBeforeRun?: boolean | undefined;
2888
2892
  mergeTargetBeforeSave?: boolean | undefined;
2889
2893
  };
2890
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
2894
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
2891
2895
  tools: {
2892
2896
  allowed: string[];
2893
2897
  denied?: string[] | undefined;
2894
2898
  };
2895
- outputs: {
2896
- messageTypes: string[];
2897
- modelMutations: string[];
2898
- };
2899
2899
  execution?: {
2900
2900
  requiredCapabilities?: string[] | undefined;
2901
2901
  preparationSeconds?: number | undefined;
@@ -2932,10 +2932,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2932
2932
  revision: number;
2933
2933
  }[] | undefined;
2934
2934
  permissions?: {
2935
- network?: {
2936
- allowWeb?: boolean | undefined;
2937
- allowedDomains?: string[] | undefined;
2938
- } | undefined;
2939
2935
  repository?: {
2940
2936
  allowCodeMutation?: boolean | undefined;
2941
2937
  readPaths?: string[] | undefined;
@@ -2944,6 +2940,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2944
2940
  commit?: {
2945
2941
  allowed: boolean;
2946
2942
  } | undefined;
2943
+ network?: {
2944
+ allowWeb?: boolean | undefined;
2945
+ allowedDomains?: string[] | undefined;
2946
+ } | undefined;
2947
2947
  content?: Record<string, {
2948
2948
  operations: string[];
2949
2949
  filters?: Record<string, unknown> | undefined;
@@ -3031,8 +3031,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3031
3031
  questionPolicy?: {
3032
3032
  defaultAnswerPolicy?: {
3033
3033
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3034
- teamId?: string | undefined;
3035
3034
  projectId?: string | undefined;
3035
+ teamId?: string | undefined;
3036
3036
  agentSlug?: string | undefined;
3037
3037
  requiredRoles?: string[] | undefined;
3038
3038
  allowedRoles?: string[] | undefined;
@@ -3157,19 +3157,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3157
3157
  }, "strict", z.ZodTypeAny, {
3158
3158
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3159
3159
  base: "staging" | "main";
3160
- prefix?: string | undefined;
3161
3160
  target?: "staging" | "main" | undefined;
3162
- branchNameTemplate?: string | undefined;
3163
3161
  worktree?: string | undefined;
3162
+ prefix?: string | undefined;
3163
+ branchNameTemplate?: string | undefined;
3164
3164
  updateBaseBeforeRun?: boolean | undefined;
3165
3165
  mergeTargetBeforeSave?: boolean | undefined;
3166
3166
  }, {
3167
3167
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3168
3168
  base: "staging" | "main";
3169
- prefix?: string | undefined;
3170
3169
  target?: "staging" | "main" | undefined;
3171
- branchNameTemplate?: string | undefined;
3172
3170
  worktree?: string | undefined;
3171
+ prefix?: string | undefined;
3172
+ branchNameTemplate?: string | undefined;
3173
3173
  updateBaseBeforeRun?: boolean | undefined;
3174
3174
  mergeTargetBeforeSave?: boolean | undefined;
3175
3175
  }>;
@@ -3276,10 +3276,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3276
3276
  deniedCommands?: string[] | undefined;
3277
3277
  }>>;
3278
3278
  }, "strict", z.ZodTypeAny, {
3279
- network?: {
3280
- allowWeb?: boolean | undefined;
3281
- allowedDomains?: string[] | undefined;
3282
- } | undefined;
3283
3279
  repository?: {
3284
3280
  allowCodeMutation?: boolean | undefined;
3285
3281
  readPaths?: string[] | undefined;
@@ -3288,6 +3284,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3288
3284
  commit?: {
3289
3285
  allowed: boolean;
3290
3286
  } | undefined;
3287
+ network?: {
3288
+ allowWeb?: boolean | undefined;
3289
+ allowedDomains?: string[] | undefined;
3290
+ } | undefined;
3291
3291
  content?: Record<string, {
3292
3292
  operations: string[];
3293
3293
  filters?: Record<string, unknown> | undefined;
@@ -3298,10 +3298,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3298
3298
  deniedCommands?: string[] | undefined;
3299
3299
  } | undefined;
3300
3300
  }, {
3301
- network?: {
3302
- allowWeb?: boolean | undefined;
3303
- allowedDomains?: string[] | undefined;
3304
- } | undefined;
3305
3301
  repository?: {
3306
3302
  allowCodeMutation?: boolean | undefined;
3307
3303
  readPaths?: string[] | undefined;
@@ -3310,6 +3306,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3310
3306
  commit?: {
3311
3307
  allowed: boolean;
3312
3308
  } | undefined;
3309
+ network?: {
3310
+ allowWeb?: boolean | undefined;
3311
+ allowedDomains?: string[] | undefined;
3312
+ } | undefined;
3313
3313
  content?: Record<string, {
3314
3314
  operations: string[];
3315
3315
  filters?: Record<string, unknown> | undefined;
@@ -3751,8 +3751,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3751
3751
  agentSlug: z.ZodOptional<z.ZodString>;
3752
3752
  }, "strict", z.ZodTypeAny, {
3753
3753
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3754
- teamId?: string | undefined;
3755
3754
  projectId?: string | undefined;
3755
+ teamId?: string | undefined;
3756
3756
  agentSlug?: string | undefined;
3757
3757
  requiredRoles?: string[] | undefined;
3758
3758
  allowedRoles?: string[] | undefined;
@@ -3762,8 +3762,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3762
3762
  teamMemberId?: string | undefined;
3763
3763
  }, {
3764
3764
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3765
- teamId?: string | undefined;
3766
3765
  projectId?: string | undefined;
3766
+ teamId?: string | undefined;
3767
3767
  agentSlug?: string | undefined;
3768
3768
  requiredRoles?: string[] | undefined;
3769
3769
  allowedRoles?: string[] | undefined;
@@ -3775,8 +3775,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3775
3775
  }, "strict", z.ZodTypeAny, {
3776
3776
  defaultAnswerPolicy?: {
3777
3777
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3778
- teamId?: string | undefined;
3779
3778
  projectId?: string | undefined;
3779
+ teamId?: string | undefined;
3780
3780
  agentSlug?: string | undefined;
3781
3781
  requiredRoles?: string[] | undefined;
3782
3782
  allowedRoles?: string[] | undefined;
@@ -3789,8 +3789,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3789
3789
  }, {
3790
3790
  defaultAnswerPolicy?: {
3791
3791
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3792
- teamId?: string | undefined;
3793
3792
  projectId?: string | undefined;
3793
+ teamId?: string | undefined;
3794
3794
  agentSlug?: string | undefined;
3795
3795
  requiredRoles?: string[] | undefined;
3796
3796
  allowedRoles?: string[] | undefined;
@@ -3874,6 +3874,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3874
3874
  forbiddenPaths?: string[] | undefined;
3875
3875
  }>>;
3876
3876
  }, "strict", z.ZodTypeAny, {
3877
+ outputs: {
3878
+ messageTypes: string[];
3879
+ modelMutations: string[];
3880
+ };
3877
3881
  enabled: boolean;
3878
3882
  prompt: {
3879
3883
  system: string;
@@ -3883,22 +3887,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3883
3887
  branchPolicy: {
3884
3888
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3885
3889
  base: "staging" | "main";
3886
- prefix?: string | undefined;
3887
3890
  target?: "staging" | "main" | undefined;
3888
- branchNameTemplate?: string | undefined;
3889
3891
  worktree?: string | undefined;
3892
+ prefix?: string | undefined;
3893
+ branchNameTemplate?: string | undefined;
3890
3894
  updateBaseBeforeRun?: boolean | undefined;
3891
3895
  mergeTargetBeforeSave?: boolean | undefined;
3892
3896
  };
3893
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
3897
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
3894
3898
  tools: {
3895
3899
  allowed: string[];
3896
3900
  denied?: string[] | undefined;
3897
3901
  };
3898
- outputs: {
3899
- messageTypes: string[];
3900
- modelMutations: string[];
3901
- };
3902
3902
  execution?: {
3903
3903
  requiredCapabilities?: string[] | undefined;
3904
3904
  preparationSeconds?: number | undefined;
@@ -3935,10 +3935,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3935
3935
  revision: number;
3936
3936
  }[] | undefined;
3937
3937
  permissions?: {
3938
- network?: {
3939
- allowWeb?: boolean | undefined;
3940
- allowedDomains?: string[] | undefined;
3941
- } | undefined;
3942
3938
  repository?: {
3943
3939
  allowCodeMutation?: boolean | undefined;
3944
3940
  readPaths?: string[] | undefined;
@@ -3947,6 +3943,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3947
3943
  commit?: {
3948
3944
  allowed: boolean;
3949
3945
  } | undefined;
3946
+ network?: {
3947
+ allowWeb?: boolean | undefined;
3948
+ allowedDomains?: string[] | undefined;
3949
+ } | undefined;
3950
3950
  content?: Record<string, {
3951
3951
  operations: string[];
3952
3952
  filters?: Record<string, unknown> | undefined;
@@ -4034,8 +4034,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4034
4034
  questionPolicy?: {
4035
4035
  defaultAnswerPolicy?: {
4036
4036
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4037
- teamId?: string | undefined;
4038
4037
  projectId?: string | undefined;
4038
+ teamId?: string | undefined;
4039
4039
  agentSlug?: string | undefined;
4040
4040
  requiredRoles?: string[] | undefined;
4041
4041
  allowedRoles?: string[] | undefined;
@@ -4047,6 +4047,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4047
4047
  blockExecutionWhenCreated?: boolean | undefined;
4048
4048
  } | undefined;
4049
4049
  }, {
4050
+ outputs: {
4051
+ messageTypes: string[];
4052
+ modelMutations: string[];
4053
+ };
4050
4054
  enabled: boolean;
4051
4055
  prompt: {
4052
4056
  system: string;
@@ -4056,22 +4060,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4056
4060
  branchPolicy: {
4057
4061
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4058
4062
  base: "staging" | "main";
4059
- prefix?: string | undefined;
4060
4063
  target?: "staging" | "main" | undefined;
4061
- branchNameTemplate?: string | undefined;
4062
4064
  worktree?: string | undefined;
4065
+ prefix?: string | undefined;
4066
+ branchNameTemplate?: string | undefined;
4063
4067
  updateBaseBeforeRun?: boolean | undefined;
4064
4068
  mergeTargetBeforeSave?: boolean | undefined;
4065
4069
  };
4066
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
4070
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
4067
4071
  tools: {
4068
4072
  allowed: string[];
4069
4073
  denied?: string[] | undefined;
4070
4074
  };
4071
- outputs: {
4072
- messageTypes: string[];
4073
- modelMutations: string[];
4074
- };
4075
4075
  execution?: {
4076
4076
  requiredCapabilities?: string[] | undefined;
4077
4077
  preparationSeconds?: number | undefined;
@@ -4108,10 +4108,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4108
4108
  revision: number;
4109
4109
  }[] | undefined;
4110
4110
  permissions?: {
4111
- network?: {
4112
- allowWeb?: boolean | undefined;
4113
- allowedDomains?: string[] | undefined;
4114
- } | undefined;
4115
4111
  repository?: {
4116
4112
  allowCodeMutation?: boolean | undefined;
4117
4113
  readPaths?: string[] | undefined;
@@ -4120,6 +4116,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4120
4116
  commit?: {
4121
4117
  allowed: boolean;
4122
4118
  } | undefined;
4119
+ network?: {
4120
+ allowWeb?: boolean | undefined;
4121
+ allowedDomains?: string[] | undefined;
4122
+ } | undefined;
4123
4123
  content?: Record<string, {
4124
4124
  operations: string[];
4125
4125
  filters?: Record<string, unknown> | undefined;
@@ -4207,8 +4207,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4207
4207
  questionPolicy?: {
4208
4208
  defaultAnswerPolicy?: {
4209
4209
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4210
- teamId?: string | undefined;
4211
4210
  projectId?: string | undefined;
4211
+ teamId?: string | undefined;
4212
4212
  agentSlug?: string | undefined;
4213
4213
  requiredRoles?: string[] | undefined;
4214
4214
  allowedRoles?: string[] | undefined;
@@ -4220,6 +4220,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4220
4220
  blockExecutionWhenCreated?: boolean | undefined;
4221
4221
  } | undefined;
4222
4222
  }>, {
4223
+ outputs: {
4224
+ messageTypes: string[];
4225
+ modelMutations: string[];
4226
+ };
4223
4227
  enabled: boolean;
4224
4228
  prompt: {
4225
4229
  system: string;
@@ -4229,22 +4233,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4229
4233
  branchPolicy: {
4230
4234
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4231
4235
  base: "staging" | "main";
4232
- prefix?: string | undefined;
4233
4236
  target?: "staging" | "main" | undefined;
4234
- branchNameTemplate?: string | undefined;
4235
4237
  worktree?: string | undefined;
4238
+ prefix?: string | undefined;
4239
+ branchNameTemplate?: string | undefined;
4236
4240
  updateBaseBeforeRun?: boolean | undefined;
4237
4241
  mergeTargetBeforeSave?: boolean | undefined;
4238
4242
  };
4239
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
4243
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
4240
4244
  tools: {
4241
4245
  allowed: string[];
4242
4246
  denied?: string[] | undefined;
4243
4247
  };
4244
- outputs: {
4245
- messageTypes: string[];
4246
- modelMutations: string[];
4247
- };
4248
4248
  execution?: {
4249
4249
  requiredCapabilities?: string[] | undefined;
4250
4250
  preparationSeconds?: number | undefined;
@@ -4281,10 +4281,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4281
4281
  revision: number;
4282
4282
  }[] | undefined;
4283
4283
  permissions?: {
4284
- network?: {
4285
- allowWeb?: boolean | undefined;
4286
- allowedDomains?: string[] | undefined;
4287
- } | undefined;
4288
4284
  repository?: {
4289
4285
  allowCodeMutation?: boolean | undefined;
4290
4286
  readPaths?: string[] | undefined;
@@ -4293,6 +4289,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4293
4289
  commit?: {
4294
4290
  allowed: boolean;
4295
4291
  } | undefined;
4292
+ network?: {
4293
+ allowWeb?: boolean | undefined;
4294
+ allowedDomains?: string[] | undefined;
4295
+ } | undefined;
4296
4296
  content?: Record<string, {
4297
4297
  operations: string[];
4298
4298
  filters?: Record<string, unknown> | undefined;
@@ -4380,8 +4380,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4380
4380
  questionPolicy?: {
4381
4381
  defaultAnswerPolicy?: {
4382
4382
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4383
- teamId?: string | undefined;
4384
4383
  projectId?: string | undefined;
4384
+ teamId?: string | undefined;
4385
4385
  agentSlug?: string | undefined;
4386
4386
  requiredRoles?: string[] | undefined;
4387
4387
  allowedRoles?: string[] | undefined;
@@ -4393,6 +4393,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4393
4393
  blockExecutionWhenCreated?: boolean | undefined;
4394
4394
  } | undefined;
4395
4395
  }, {
4396
+ outputs: {
4397
+ messageTypes: string[];
4398
+ modelMutations: string[];
4399
+ };
4396
4400
  enabled: boolean;
4397
4401
  prompt: {
4398
4402
  system: string;
@@ -4402,22 +4406,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4402
4406
  branchPolicy: {
4403
4407
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4404
4408
  base: "staging" | "main";
4405
- prefix?: string | undefined;
4406
4409
  target?: "staging" | "main" | undefined;
4407
- branchNameTemplate?: string | undefined;
4408
4410
  worktree?: string | undefined;
4411
+ prefix?: string | undefined;
4412
+ branchNameTemplate?: string | undefined;
4409
4413
  updateBaseBeforeRun?: boolean | undefined;
4410
4414
  mergeTargetBeforeSave?: boolean | undefined;
4411
4415
  };
4412
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
4416
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
4413
4417
  tools: {
4414
4418
  allowed: string[];
4415
4419
  denied?: string[] | undefined;
4416
4420
  };
4417
- outputs: {
4418
- messageTypes: string[];
4419
- modelMutations: string[];
4420
- };
4421
4421
  execution?: {
4422
4422
  requiredCapabilities?: string[] | undefined;
4423
4423
  preparationSeconds?: number | undefined;
@@ -4454,10 +4454,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4454
4454
  revision: number;
4455
4455
  }[] | undefined;
4456
4456
  permissions?: {
4457
- network?: {
4458
- allowWeb?: boolean | undefined;
4459
- allowedDomains?: string[] | undefined;
4460
- } | undefined;
4461
4457
  repository?: {
4462
4458
  allowCodeMutation?: boolean | undefined;
4463
4459
  readPaths?: string[] | undefined;
@@ -4466,6 +4462,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4466
4462
  commit?: {
4467
4463
  allowed: boolean;
4468
4464
  } | undefined;
4465
+ network?: {
4466
+ allowWeb?: boolean | undefined;
4467
+ allowedDomains?: string[] | undefined;
4468
+ } | undefined;
4469
4469
  content?: Record<string, {
4470
4470
  operations: string[];
4471
4471
  filters?: Record<string, unknown> | undefined;
@@ -4553,8 +4553,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4553
4553
  questionPolicy?: {
4554
4554
  defaultAnswerPolicy?: {
4555
4555
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4556
- teamId?: string | undefined;
4557
4556
  projectId?: string | undefined;
4557
+ teamId?: string | undefined;
4558
4558
  agentSlug?: string | undefined;
4559
4559
  requiredRoles?: string[] | undefined;
4560
4560
  allowedRoles?: string[] | undefined;
@@ -4679,19 +4679,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4679
4679
  }, "strict", z.ZodTypeAny, {
4680
4680
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4681
4681
  base: "staging" | "main";
4682
- prefix?: string | undefined;
4683
4682
  target?: "staging" | "main" | undefined;
4684
- branchNameTemplate?: string | undefined;
4685
4683
  worktree?: string | undefined;
4684
+ prefix?: string | undefined;
4685
+ branchNameTemplate?: string | undefined;
4686
4686
  updateBaseBeforeRun?: boolean | undefined;
4687
4687
  mergeTargetBeforeSave?: boolean | undefined;
4688
4688
  }, {
4689
4689
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4690
4690
  base: "staging" | "main";
4691
- prefix?: string | undefined;
4692
4691
  target?: "staging" | "main" | undefined;
4693
- branchNameTemplate?: string | undefined;
4694
4692
  worktree?: string | undefined;
4693
+ prefix?: string | undefined;
4694
+ branchNameTemplate?: string | undefined;
4695
4695
  updateBaseBeforeRun?: boolean | undefined;
4696
4696
  mergeTargetBeforeSave?: boolean | undefined;
4697
4697
  }>;
@@ -4798,10 +4798,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4798
4798
  deniedCommands?: string[] | undefined;
4799
4799
  }>>;
4800
4800
  }, "strict", z.ZodTypeAny, {
4801
- network?: {
4802
- allowWeb?: boolean | undefined;
4803
- allowedDomains?: string[] | undefined;
4804
- } | undefined;
4805
4801
  repository?: {
4806
4802
  allowCodeMutation?: boolean | undefined;
4807
4803
  readPaths?: string[] | undefined;
@@ -4810,6 +4806,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4810
4806
  commit?: {
4811
4807
  allowed: boolean;
4812
4808
  } | undefined;
4809
+ network?: {
4810
+ allowWeb?: boolean | undefined;
4811
+ allowedDomains?: string[] | undefined;
4812
+ } | undefined;
4813
4813
  content?: Record<string, {
4814
4814
  operations: string[];
4815
4815
  filters?: Record<string, unknown> | undefined;
@@ -4820,10 +4820,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4820
4820
  deniedCommands?: string[] | undefined;
4821
4821
  } | undefined;
4822
4822
  }, {
4823
- network?: {
4824
- allowWeb?: boolean | undefined;
4825
- allowedDomains?: string[] | undefined;
4826
- } | undefined;
4827
4823
  repository?: {
4828
4824
  allowCodeMutation?: boolean | undefined;
4829
4825
  readPaths?: string[] | undefined;
@@ -4832,6 +4828,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4832
4828
  commit?: {
4833
4829
  allowed: boolean;
4834
4830
  } | undefined;
4831
+ network?: {
4832
+ allowWeb?: boolean | undefined;
4833
+ allowedDomains?: string[] | undefined;
4834
+ } | undefined;
4835
4835
  content?: Record<string, {
4836
4836
  operations: string[];
4837
4837
  filters?: Record<string, unknown> | undefined;
@@ -5273,8 +5273,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5273
5273
  agentSlug: z.ZodOptional<z.ZodString>;
5274
5274
  }, "strict", z.ZodTypeAny, {
5275
5275
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5276
- teamId?: string | undefined;
5277
5276
  projectId?: string | undefined;
5277
+ teamId?: string | undefined;
5278
5278
  agentSlug?: string | undefined;
5279
5279
  requiredRoles?: string[] | undefined;
5280
5280
  allowedRoles?: string[] | undefined;
@@ -5284,8 +5284,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5284
5284
  teamMemberId?: string | undefined;
5285
5285
  }, {
5286
5286
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5287
- teamId?: string | undefined;
5288
5287
  projectId?: string | undefined;
5288
+ teamId?: string | undefined;
5289
5289
  agentSlug?: string | undefined;
5290
5290
  requiredRoles?: string[] | undefined;
5291
5291
  allowedRoles?: string[] | undefined;
@@ -5297,8 +5297,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5297
5297
  }, "strict", z.ZodTypeAny, {
5298
5298
  defaultAnswerPolicy?: {
5299
5299
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5300
- teamId?: string | undefined;
5301
5300
  projectId?: string | undefined;
5301
+ teamId?: string | undefined;
5302
5302
  agentSlug?: string | undefined;
5303
5303
  requiredRoles?: string[] | undefined;
5304
5304
  allowedRoles?: string[] | undefined;
@@ -5311,8 +5311,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5311
5311
  }, {
5312
5312
  defaultAnswerPolicy?: {
5313
5313
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5314
- teamId?: string | undefined;
5315
5314
  projectId?: string | undefined;
5315
+ teamId?: string | undefined;
5316
5316
  agentSlug?: string | undefined;
5317
5317
  requiredRoles?: string[] | undefined;
5318
5318
  allowedRoles?: string[] | undefined;
@@ -5396,6 +5396,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5396
5396
  forbiddenPaths?: string[] | undefined;
5397
5397
  }>>;
5398
5398
  }, "strict", z.ZodTypeAny, {
5399
+ outputs: {
5400
+ messageTypes: string[];
5401
+ modelMutations: string[];
5402
+ };
5399
5403
  enabled: boolean;
5400
5404
  prompt: {
5401
5405
  system: string;
@@ -5405,22 +5409,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5405
5409
  branchPolicy: {
5406
5410
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5407
5411
  base: "staging" | "main";
5408
- prefix?: string | undefined;
5409
5412
  target?: "staging" | "main" | undefined;
5410
- branchNameTemplate?: string | undefined;
5411
5413
  worktree?: string | undefined;
5414
+ prefix?: string | undefined;
5415
+ branchNameTemplate?: string | undefined;
5412
5416
  updateBaseBeforeRun?: boolean | undefined;
5413
5417
  mergeTargetBeforeSave?: boolean | undefined;
5414
5418
  };
5415
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
5419
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
5416
5420
  tools: {
5417
5421
  allowed: string[];
5418
5422
  denied?: string[] | undefined;
5419
5423
  };
5420
- outputs: {
5421
- messageTypes: string[];
5422
- modelMutations: string[];
5423
- };
5424
5424
  execution?: {
5425
5425
  requiredCapabilities?: string[] | undefined;
5426
5426
  preparationSeconds?: number | undefined;
@@ -5457,10 +5457,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5457
5457
  revision: number;
5458
5458
  }[] | undefined;
5459
5459
  permissions?: {
5460
- network?: {
5461
- allowWeb?: boolean | undefined;
5462
- allowedDomains?: string[] | undefined;
5463
- } | undefined;
5464
5460
  repository?: {
5465
5461
  allowCodeMutation?: boolean | undefined;
5466
5462
  readPaths?: string[] | undefined;
@@ -5469,6 +5465,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5469
5465
  commit?: {
5470
5466
  allowed: boolean;
5471
5467
  } | undefined;
5468
+ network?: {
5469
+ allowWeb?: boolean | undefined;
5470
+ allowedDomains?: string[] | undefined;
5471
+ } | undefined;
5472
5472
  content?: Record<string, {
5473
5473
  operations: string[];
5474
5474
  filters?: Record<string, unknown> | undefined;
@@ -5556,8 +5556,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5556
5556
  questionPolicy?: {
5557
5557
  defaultAnswerPolicy?: {
5558
5558
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5559
- teamId?: string | undefined;
5560
5559
  projectId?: string | undefined;
5560
+ teamId?: string | undefined;
5561
5561
  agentSlug?: string | undefined;
5562
5562
  requiredRoles?: string[] | undefined;
5563
5563
  allowedRoles?: string[] | undefined;
@@ -5569,6 +5569,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5569
5569
  blockExecutionWhenCreated?: boolean | undefined;
5570
5570
  } | undefined;
5571
5571
  }, {
5572
+ outputs: {
5573
+ messageTypes: string[];
5574
+ modelMutations: string[];
5575
+ };
5572
5576
  enabled: boolean;
5573
5577
  prompt: {
5574
5578
  system: string;
@@ -5578,22 +5582,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5578
5582
  branchPolicy: {
5579
5583
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5580
5584
  base: "staging" | "main";
5581
- prefix?: string | undefined;
5582
5585
  target?: "staging" | "main" | undefined;
5583
- branchNameTemplate?: string | undefined;
5584
5586
  worktree?: string | undefined;
5587
+ prefix?: string | undefined;
5588
+ branchNameTemplate?: string | undefined;
5585
5589
  updateBaseBeforeRun?: boolean | undefined;
5586
5590
  mergeTargetBeforeSave?: boolean | undefined;
5587
5591
  };
5588
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
5592
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
5589
5593
  tools: {
5590
5594
  allowed: string[];
5591
5595
  denied?: string[] | undefined;
5592
5596
  };
5593
- outputs: {
5594
- messageTypes: string[];
5595
- modelMutations: string[];
5596
- };
5597
5597
  execution?: {
5598
5598
  requiredCapabilities?: string[] | undefined;
5599
5599
  preparationSeconds?: number | undefined;
@@ -5630,10 +5630,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5630
5630
  revision: number;
5631
5631
  }[] | undefined;
5632
5632
  permissions?: {
5633
- network?: {
5634
- allowWeb?: boolean | undefined;
5635
- allowedDomains?: string[] | undefined;
5636
- } | undefined;
5637
5633
  repository?: {
5638
5634
  allowCodeMutation?: boolean | undefined;
5639
5635
  readPaths?: string[] | undefined;
@@ -5642,6 +5638,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5642
5638
  commit?: {
5643
5639
  allowed: boolean;
5644
5640
  } | undefined;
5641
+ network?: {
5642
+ allowWeb?: boolean | undefined;
5643
+ allowedDomains?: string[] | undefined;
5644
+ } | undefined;
5645
5645
  content?: Record<string, {
5646
5646
  operations: string[];
5647
5647
  filters?: Record<string, unknown> | undefined;
@@ -5729,8 +5729,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5729
5729
  questionPolicy?: {
5730
5730
  defaultAnswerPolicy?: {
5731
5731
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5732
- teamId?: string | undefined;
5733
5732
  projectId?: string | undefined;
5733
+ teamId?: string | undefined;
5734
5734
  agentSlug?: string | undefined;
5735
5735
  requiredRoles?: string[] | undefined;
5736
5736
  allowedRoles?: string[] | undefined;
@@ -5742,6 +5742,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5742
5742
  blockExecutionWhenCreated?: boolean | undefined;
5743
5743
  } | undefined;
5744
5744
  }>, {
5745
+ outputs: {
5746
+ messageTypes: string[];
5747
+ modelMutations: string[];
5748
+ };
5745
5749
  enabled: boolean;
5746
5750
  prompt: {
5747
5751
  system: string;
@@ -5751,22 +5755,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5751
5755
  branchPolicy: {
5752
5756
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5753
5757
  base: "staging" | "main";
5754
- prefix?: string | undefined;
5755
5758
  target?: "staging" | "main" | undefined;
5756
- branchNameTemplate?: string | undefined;
5757
5759
  worktree?: string | undefined;
5760
+ prefix?: string | undefined;
5761
+ branchNameTemplate?: string | undefined;
5758
5762
  updateBaseBeforeRun?: boolean | undefined;
5759
5763
  mergeTargetBeforeSave?: boolean | undefined;
5760
5764
  };
5761
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
5765
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
5762
5766
  tools: {
5763
5767
  allowed: string[];
5764
5768
  denied?: string[] | undefined;
5765
5769
  };
5766
- outputs: {
5767
- messageTypes: string[];
5768
- modelMutations: string[];
5769
- };
5770
5770
  execution?: {
5771
5771
  requiredCapabilities?: string[] | undefined;
5772
5772
  preparationSeconds?: number | undefined;
@@ -5803,10 +5803,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5803
5803
  revision: number;
5804
5804
  }[] | undefined;
5805
5805
  permissions?: {
5806
- network?: {
5807
- allowWeb?: boolean | undefined;
5808
- allowedDomains?: string[] | undefined;
5809
- } | undefined;
5810
5806
  repository?: {
5811
5807
  allowCodeMutation?: boolean | undefined;
5812
5808
  readPaths?: string[] | undefined;
@@ -5815,6 +5811,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5815
5811
  commit?: {
5816
5812
  allowed: boolean;
5817
5813
  } | undefined;
5814
+ network?: {
5815
+ allowWeb?: boolean | undefined;
5816
+ allowedDomains?: string[] | undefined;
5817
+ } | undefined;
5818
5818
  content?: Record<string, {
5819
5819
  operations: string[];
5820
5820
  filters?: Record<string, unknown> | undefined;
@@ -5902,8 +5902,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5902
5902
  questionPolicy?: {
5903
5903
  defaultAnswerPolicy?: {
5904
5904
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5905
- teamId?: string | undefined;
5906
5905
  projectId?: string | undefined;
5906
+ teamId?: string | undefined;
5907
5907
  agentSlug?: string | undefined;
5908
5908
  requiredRoles?: string[] | undefined;
5909
5909
  allowedRoles?: string[] | undefined;
@@ -5915,6 +5915,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5915
5915
  blockExecutionWhenCreated?: boolean | undefined;
5916
5916
  } | undefined;
5917
5917
  }, {
5918
+ outputs: {
5919
+ messageTypes: string[];
5920
+ modelMutations: string[];
5921
+ };
5918
5922
  enabled: boolean;
5919
5923
  prompt: {
5920
5924
  system: string;
@@ -5924,22 +5928,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5924
5928
  branchPolicy: {
5925
5929
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5926
5930
  base: "staging" | "main";
5931
+ target?: "staging" | "main" | undefined;
5932
+ worktree?: string | undefined;
5927
5933
  prefix?: string | undefined;
5928
- target?: "staging" | "main" | undefined;
5929
5934
  branchNameTemplate?: string | undefined;
5930
- worktree?: string | undefined;
5931
5935
  updateBaseBeforeRun?: boolean | undefined;
5932
5936
  mergeTargetBeforeSave?: boolean | undefined;
5933
5937
  };
5934
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
5938
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
5935
5939
  tools: {
5936
5940
  allowed: string[];
5937
5941
  denied?: string[] | undefined;
5938
5942
  };
5939
- outputs: {
5940
- messageTypes: string[];
5941
- modelMutations: string[];
5942
- };
5943
5943
  execution?: {
5944
5944
  requiredCapabilities?: string[] | undefined;
5945
5945
  preparationSeconds?: number | undefined;
@@ -5976,10 +5976,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5976
5976
  revision: number;
5977
5977
  }[] | undefined;
5978
5978
  permissions?: {
5979
- network?: {
5980
- allowWeb?: boolean | undefined;
5981
- allowedDomains?: string[] | undefined;
5982
- } | undefined;
5983
5979
  repository?: {
5984
5980
  allowCodeMutation?: boolean | undefined;
5985
5981
  readPaths?: string[] | undefined;
@@ -5988,6 +5984,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5988
5984
  commit?: {
5989
5985
  allowed: boolean;
5990
5986
  } | undefined;
5987
+ network?: {
5988
+ allowWeb?: boolean | undefined;
5989
+ allowedDomains?: string[] | undefined;
5990
+ } | undefined;
5991
5991
  content?: Record<string, {
5992
5992
  operations: string[];
5993
5993
  filters?: Record<string, unknown> | undefined;
@@ -6075,8 +6075,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6075
6075
  questionPolicy?: {
6076
6076
  defaultAnswerPolicy?: {
6077
6077
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6078
- teamId?: string | undefined;
6079
6078
  projectId?: string | undefined;
6079
+ teamId?: string | undefined;
6080
6080
  agentSlug?: string | undefined;
6081
6081
  requiredRoles?: string[] | undefined;
6082
6082
  allowedRoles?: string[] | undefined;
@@ -6201,19 +6201,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6201
6201
  }, "strict", z.ZodTypeAny, {
6202
6202
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6203
6203
  base: "staging" | "main";
6204
- prefix?: string | undefined;
6205
6204
  target?: "staging" | "main" | undefined;
6206
- branchNameTemplate?: string | undefined;
6207
6205
  worktree?: string | undefined;
6206
+ prefix?: string | undefined;
6207
+ branchNameTemplate?: string | undefined;
6208
6208
  updateBaseBeforeRun?: boolean | undefined;
6209
6209
  mergeTargetBeforeSave?: boolean | undefined;
6210
6210
  }, {
6211
6211
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6212
6212
  base: "staging" | "main";
6213
- prefix?: string | undefined;
6214
6213
  target?: "staging" | "main" | undefined;
6215
- branchNameTemplate?: string | undefined;
6216
6214
  worktree?: string | undefined;
6215
+ prefix?: string | undefined;
6216
+ branchNameTemplate?: string | undefined;
6217
6217
  updateBaseBeforeRun?: boolean | undefined;
6218
6218
  mergeTargetBeforeSave?: boolean | undefined;
6219
6219
  }>;
@@ -6320,10 +6320,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6320
6320
  deniedCommands?: string[] | undefined;
6321
6321
  }>>;
6322
6322
  }, "strict", z.ZodTypeAny, {
6323
- network?: {
6324
- allowWeb?: boolean | undefined;
6325
- allowedDomains?: string[] | undefined;
6326
- } | undefined;
6327
6323
  repository?: {
6328
6324
  allowCodeMutation?: boolean | undefined;
6329
6325
  readPaths?: string[] | undefined;
@@ -6332,6 +6328,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6332
6328
  commit?: {
6333
6329
  allowed: boolean;
6334
6330
  } | undefined;
6331
+ network?: {
6332
+ allowWeb?: boolean | undefined;
6333
+ allowedDomains?: string[] | undefined;
6334
+ } | undefined;
6335
6335
  content?: Record<string, {
6336
6336
  operations: string[];
6337
6337
  filters?: Record<string, unknown> | undefined;
@@ -6342,10 +6342,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6342
6342
  deniedCommands?: string[] | undefined;
6343
6343
  } | undefined;
6344
6344
  }, {
6345
- network?: {
6346
- allowWeb?: boolean | undefined;
6347
- allowedDomains?: string[] | undefined;
6348
- } | undefined;
6349
6345
  repository?: {
6350
6346
  allowCodeMutation?: boolean | undefined;
6351
6347
  readPaths?: string[] | undefined;
@@ -6354,6 +6350,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6354
6350
  commit?: {
6355
6351
  allowed: boolean;
6356
6352
  } | undefined;
6353
+ network?: {
6354
+ allowWeb?: boolean | undefined;
6355
+ allowedDomains?: string[] | undefined;
6356
+ } | undefined;
6357
6357
  content?: Record<string, {
6358
6358
  operations: string[];
6359
6359
  filters?: Record<string, unknown> | undefined;
@@ -6795,8 +6795,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6795
6795
  agentSlug: z.ZodOptional<z.ZodString>;
6796
6796
  }, "strict", z.ZodTypeAny, {
6797
6797
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6798
- teamId?: string | undefined;
6799
6798
  projectId?: string | undefined;
6799
+ teamId?: string | undefined;
6800
6800
  agentSlug?: string | undefined;
6801
6801
  requiredRoles?: string[] | undefined;
6802
6802
  allowedRoles?: string[] | undefined;
@@ -6806,8 +6806,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6806
6806
  teamMemberId?: string | undefined;
6807
6807
  }, {
6808
6808
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6809
- teamId?: string | undefined;
6810
6809
  projectId?: string | undefined;
6810
+ teamId?: string | undefined;
6811
6811
  agentSlug?: string | undefined;
6812
6812
  requiredRoles?: string[] | undefined;
6813
6813
  allowedRoles?: string[] | undefined;
@@ -6819,8 +6819,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6819
6819
  }, "strict", z.ZodTypeAny, {
6820
6820
  defaultAnswerPolicy?: {
6821
6821
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6822
- teamId?: string | undefined;
6823
6822
  projectId?: string | undefined;
6823
+ teamId?: string | undefined;
6824
6824
  agentSlug?: string | undefined;
6825
6825
  requiredRoles?: string[] | undefined;
6826
6826
  allowedRoles?: string[] | undefined;
@@ -6833,8 +6833,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6833
6833
  }, {
6834
6834
  defaultAnswerPolicy?: {
6835
6835
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6836
- teamId?: string | undefined;
6837
6836
  projectId?: string | undefined;
6837
+ teamId?: string | undefined;
6838
6838
  agentSlug?: string | undefined;
6839
6839
  requiredRoles?: string[] | undefined;
6840
6840
  allowedRoles?: string[] | undefined;
@@ -6918,6 +6918,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6918
6918
  forbiddenPaths?: string[] | undefined;
6919
6919
  }>>;
6920
6920
  }, "strict", z.ZodTypeAny, {
6921
+ outputs: {
6922
+ messageTypes: string[];
6923
+ modelMutations: string[];
6924
+ };
6921
6925
  enabled: boolean;
6922
6926
  prompt: {
6923
6927
  system: string;
@@ -6927,22 +6931,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6927
6931
  branchPolicy: {
6928
6932
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6929
6933
  base: "staging" | "main";
6930
- prefix?: string | undefined;
6931
6934
  target?: "staging" | "main" | undefined;
6932
- branchNameTemplate?: string | undefined;
6933
6935
  worktree?: string | undefined;
6936
+ prefix?: string | undefined;
6937
+ branchNameTemplate?: string | undefined;
6934
6938
  updateBaseBeforeRun?: boolean | undefined;
6935
6939
  mergeTargetBeforeSave?: boolean | undefined;
6936
6940
  };
6937
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
6941
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
6938
6942
  tools: {
6939
6943
  allowed: string[];
6940
6944
  denied?: string[] | undefined;
6941
6945
  };
6942
- outputs: {
6943
- messageTypes: string[];
6944
- modelMutations: string[];
6945
- };
6946
6946
  execution?: {
6947
6947
  requiredCapabilities?: string[] | undefined;
6948
6948
  preparationSeconds?: number | undefined;
@@ -6979,10 +6979,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6979
6979
  revision: number;
6980
6980
  }[] | undefined;
6981
6981
  permissions?: {
6982
- network?: {
6983
- allowWeb?: boolean | undefined;
6984
- allowedDomains?: string[] | undefined;
6985
- } | undefined;
6986
6982
  repository?: {
6987
6983
  allowCodeMutation?: boolean | undefined;
6988
6984
  readPaths?: string[] | undefined;
@@ -6991,6 +6987,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6991
6987
  commit?: {
6992
6988
  allowed: boolean;
6993
6989
  } | undefined;
6990
+ network?: {
6991
+ allowWeb?: boolean | undefined;
6992
+ allowedDomains?: string[] | undefined;
6993
+ } | undefined;
6994
6994
  content?: Record<string, {
6995
6995
  operations: string[];
6996
6996
  filters?: Record<string, unknown> | undefined;
@@ -7078,8 +7078,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7078
7078
  questionPolicy?: {
7079
7079
  defaultAnswerPolicy?: {
7080
7080
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7081
- teamId?: string | undefined;
7082
7081
  projectId?: string | undefined;
7082
+ teamId?: string | undefined;
7083
7083
  agentSlug?: string | undefined;
7084
7084
  requiredRoles?: string[] | undefined;
7085
7085
  allowedRoles?: string[] | undefined;
@@ -7091,6 +7091,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7091
7091
  blockExecutionWhenCreated?: boolean | undefined;
7092
7092
  } | undefined;
7093
7093
  }, {
7094
+ outputs: {
7095
+ messageTypes: string[];
7096
+ modelMutations: string[];
7097
+ };
7094
7098
  enabled: boolean;
7095
7099
  prompt: {
7096
7100
  system: string;
@@ -7100,22 +7104,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7100
7104
  branchPolicy: {
7101
7105
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7102
7106
  base: "staging" | "main";
7103
- prefix?: string | undefined;
7104
7107
  target?: "staging" | "main" | undefined;
7105
- branchNameTemplate?: string | undefined;
7106
7108
  worktree?: string | undefined;
7109
+ prefix?: string | undefined;
7110
+ branchNameTemplate?: string | undefined;
7107
7111
  updateBaseBeforeRun?: boolean | undefined;
7108
7112
  mergeTargetBeforeSave?: boolean | undefined;
7109
7113
  };
7110
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
7114
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
7111
7115
  tools: {
7112
7116
  allowed: string[];
7113
7117
  denied?: string[] | undefined;
7114
7118
  };
7115
- outputs: {
7116
- messageTypes: string[];
7117
- modelMutations: string[];
7118
- };
7119
7119
  execution?: {
7120
7120
  requiredCapabilities?: string[] | undefined;
7121
7121
  preparationSeconds?: number | undefined;
@@ -7152,10 +7152,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7152
7152
  revision: number;
7153
7153
  }[] | undefined;
7154
7154
  permissions?: {
7155
- network?: {
7156
- allowWeb?: boolean | undefined;
7157
- allowedDomains?: string[] | undefined;
7158
- } | undefined;
7159
7155
  repository?: {
7160
7156
  allowCodeMutation?: boolean | undefined;
7161
7157
  readPaths?: string[] | undefined;
@@ -7164,6 +7160,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7164
7160
  commit?: {
7165
7161
  allowed: boolean;
7166
7162
  } | undefined;
7163
+ network?: {
7164
+ allowWeb?: boolean | undefined;
7165
+ allowedDomains?: string[] | undefined;
7166
+ } | undefined;
7167
7167
  content?: Record<string, {
7168
7168
  operations: string[];
7169
7169
  filters?: Record<string, unknown> | undefined;
@@ -7251,8 +7251,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7251
7251
  questionPolicy?: {
7252
7252
  defaultAnswerPolicy?: {
7253
7253
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7254
- teamId?: string | undefined;
7255
7254
  projectId?: string | undefined;
7255
+ teamId?: string | undefined;
7256
7256
  agentSlug?: string | undefined;
7257
7257
  requiredRoles?: string[] | undefined;
7258
7258
  allowedRoles?: string[] | undefined;
@@ -7264,6 +7264,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7264
7264
  blockExecutionWhenCreated?: boolean | undefined;
7265
7265
  } | undefined;
7266
7266
  }>, {
7267
+ outputs: {
7268
+ messageTypes: string[];
7269
+ modelMutations: string[];
7270
+ };
7267
7271
  enabled: boolean;
7268
7272
  prompt: {
7269
7273
  system: string;
@@ -7273,22 +7277,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7273
7277
  branchPolicy: {
7274
7278
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7275
7279
  base: "staging" | "main";
7276
- prefix?: string | undefined;
7277
7280
  target?: "staging" | "main" | undefined;
7278
- branchNameTemplate?: string | undefined;
7279
7281
  worktree?: string | undefined;
7282
+ prefix?: string | undefined;
7283
+ branchNameTemplate?: string | undefined;
7280
7284
  updateBaseBeforeRun?: boolean | undefined;
7281
7285
  mergeTargetBeforeSave?: boolean | undefined;
7282
7286
  };
7283
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
7287
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
7284
7288
  tools: {
7285
7289
  allowed: string[];
7286
7290
  denied?: string[] | undefined;
7287
7291
  };
7288
- outputs: {
7289
- messageTypes: string[];
7290
- modelMutations: string[];
7291
- };
7292
7292
  execution?: {
7293
7293
  requiredCapabilities?: string[] | undefined;
7294
7294
  preparationSeconds?: number | undefined;
@@ -7325,10 +7325,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7325
7325
  revision: number;
7326
7326
  }[] | undefined;
7327
7327
  permissions?: {
7328
- network?: {
7329
- allowWeb?: boolean | undefined;
7330
- allowedDomains?: string[] | undefined;
7331
- } | undefined;
7332
7328
  repository?: {
7333
7329
  allowCodeMutation?: boolean | undefined;
7334
7330
  readPaths?: string[] | undefined;
@@ -7337,6 +7333,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7337
7333
  commit?: {
7338
7334
  allowed: boolean;
7339
7335
  } | undefined;
7336
+ network?: {
7337
+ allowWeb?: boolean | undefined;
7338
+ allowedDomains?: string[] | undefined;
7339
+ } | undefined;
7340
7340
  content?: Record<string, {
7341
7341
  operations: string[];
7342
7342
  filters?: Record<string, unknown> | undefined;
@@ -7424,8 +7424,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7424
7424
  questionPolicy?: {
7425
7425
  defaultAnswerPolicy?: {
7426
7426
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7427
- teamId?: string | undefined;
7428
7427
  projectId?: string | undefined;
7428
+ teamId?: string | undefined;
7429
7429
  agentSlug?: string | undefined;
7430
7430
  requiredRoles?: string[] | undefined;
7431
7431
  allowedRoles?: string[] | undefined;
@@ -7437,6 +7437,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7437
7437
  blockExecutionWhenCreated?: boolean | undefined;
7438
7438
  } | undefined;
7439
7439
  }, {
7440
+ outputs: {
7441
+ messageTypes: string[];
7442
+ modelMutations: string[];
7443
+ };
7440
7444
  enabled: boolean;
7441
7445
  prompt: {
7442
7446
  system: string;
@@ -7446,22 +7450,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7446
7450
  branchPolicy: {
7447
7451
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7448
7452
  base: "staging" | "main";
7449
- prefix?: string | undefined;
7450
7453
  target?: "staging" | "main" | undefined;
7451
- branchNameTemplate?: string | undefined;
7452
7454
  worktree?: string | undefined;
7455
+ prefix?: string | undefined;
7456
+ branchNameTemplate?: string | undefined;
7453
7457
  updateBaseBeforeRun?: boolean | undefined;
7454
7458
  mergeTargetBeforeSave?: boolean | undefined;
7455
7459
  };
7456
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
7460
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
7457
7461
  tools: {
7458
7462
  allowed: string[];
7459
7463
  denied?: string[] | undefined;
7460
7464
  };
7461
- outputs: {
7462
- messageTypes: string[];
7463
- modelMutations: string[];
7464
- };
7465
7465
  execution?: {
7466
7466
  requiredCapabilities?: string[] | undefined;
7467
7467
  preparationSeconds?: number | undefined;
@@ -7498,10 +7498,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7498
7498
  revision: number;
7499
7499
  }[] | undefined;
7500
7500
  permissions?: {
7501
- network?: {
7502
- allowWeb?: boolean | undefined;
7503
- allowedDomains?: string[] | undefined;
7504
- } | undefined;
7505
7501
  repository?: {
7506
7502
  allowCodeMutation?: boolean | undefined;
7507
7503
  readPaths?: string[] | undefined;
@@ -7510,6 +7506,10 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7510
7506
  commit?: {
7511
7507
  allowed: boolean;
7512
7508
  } | undefined;
7509
+ network?: {
7510
+ allowWeb?: boolean | undefined;
7511
+ allowedDomains?: string[] | undefined;
7512
+ } | undefined;
7513
7513
  content?: Record<string, {
7514
7514
  operations: string[];
7515
7515
  filters?: Record<string, unknown> | undefined;
@@ -7597,8 +7597,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7597
7597
  questionPolicy?: {
7598
7598
  defaultAnswerPolicy?: {
7599
7599
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7600
- teamId?: string | undefined;
7601
7600
  projectId?: string | undefined;
7601
+ teamId?: string | undefined;
7602
7602
  agentSlug?: string | undefined;
7603
7603
  requiredRoles?: string[] | undefined;
7604
7604
  allowedRoles?: string[] | undefined;
@@ -7727,19 +7727,19 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7727
7727
  }, "strict", z.ZodTypeAny, {
7728
7728
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7729
7729
  base: "staging" | "main";
7730
- prefix?: string | undefined;
7731
7730
  target?: "staging" | "main" | undefined;
7732
- branchNameTemplate?: string | undefined;
7733
7731
  worktree?: string | undefined;
7732
+ prefix?: string | undefined;
7733
+ branchNameTemplate?: string | undefined;
7734
7734
  updateBaseBeforeRun?: boolean | undefined;
7735
7735
  mergeTargetBeforeSave?: boolean | undefined;
7736
7736
  }, {
7737
7737
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7738
7738
  base: "staging" | "main";
7739
- prefix?: string | undefined;
7740
7739
  target?: "staging" | "main" | undefined;
7741
- branchNameTemplate?: string | undefined;
7742
7740
  worktree?: string | undefined;
7741
+ prefix?: string | undefined;
7742
+ branchNameTemplate?: string | undefined;
7743
7743
  updateBaseBeforeRun?: boolean | undefined;
7744
7744
  mergeTargetBeforeSave?: boolean | undefined;
7745
7745
  }>;
@@ -7846,10 +7846,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7846
7846
  deniedCommands?: string[] | undefined;
7847
7847
  }>>;
7848
7848
  }, "strict", z.ZodTypeAny, {
7849
- network?: {
7850
- allowWeb?: boolean | undefined;
7851
- allowedDomains?: string[] | undefined;
7852
- } | undefined;
7853
7849
  repository?: {
7854
7850
  allowCodeMutation?: boolean | undefined;
7855
7851
  readPaths?: string[] | undefined;
@@ -7858,6 +7854,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7858
7854
  commit?: {
7859
7855
  allowed: boolean;
7860
7856
  } | undefined;
7857
+ network?: {
7858
+ allowWeb?: boolean | undefined;
7859
+ allowedDomains?: string[] | undefined;
7860
+ } | undefined;
7861
7861
  content?: Record<string, {
7862
7862
  operations: string[];
7863
7863
  filters?: Record<string, unknown> | undefined;
@@ -7868,10 +7868,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7868
7868
  deniedCommands?: string[] | undefined;
7869
7869
  } | undefined;
7870
7870
  }, {
7871
- network?: {
7872
- allowWeb?: boolean | undefined;
7873
- allowedDomains?: string[] | undefined;
7874
- } | undefined;
7875
7871
  repository?: {
7876
7872
  allowCodeMutation?: boolean | undefined;
7877
7873
  readPaths?: string[] | undefined;
@@ -7880,6 +7876,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7880
7876
  commit?: {
7881
7877
  allowed: boolean;
7882
7878
  } | undefined;
7879
+ network?: {
7880
+ allowWeb?: boolean | undefined;
7881
+ allowedDomains?: string[] | undefined;
7882
+ } | undefined;
7883
7883
  content?: Record<string, {
7884
7884
  operations: string[];
7885
7885
  filters?: Record<string, unknown> | undefined;
@@ -8321,8 +8321,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8321
8321
  agentSlug: z.ZodOptional<z.ZodString>;
8322
8322
  }, "strict", z.ZodTypeAny, {
8323
8323
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8324
- teamId?: string | undefined;
8325
8324
  projectId?: string | undefined;
8325
+ teamId?: string | undefined;
8326
8326
  agentSlug?: string | undefined;
8327
8327
  requiredRoles?: string[] | undefined;
8328
8328
  allowedRoles?: string[] | undefined;
@@ -8332,8 +8332,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8332
8332
  teamMemberId?: string | undefined;
8333
8333
  }, {
8334
8334
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8335
- teamId?: string | undefined;
8336
8335
  projectId?: string | undefined;
8336
+ teamId?: string | undefined;
8337
8337
  agentSlug?: string | undefined;
8338
8338
  requiredRoles?: string[] | undefined;
8339
8339
  allowedRoles?: string[] | undefined;
@@ -8345,8 +8345,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8345
8345
  }, "strict", z.ZodTypeAny, {
8346
8346
  defaultAnswerPolicy?: {
8347
8347
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8348
- teamId?: string | undefined;
8349
8348
  projectId?: string | undefined;
8349
+ teamId?: string | undefined;
8350
8350
  agentSlug?: string | undefined;
8351
8351
  requiredRoles?: string[] | undefined;
8352
8352
  allowedRoles?: string[] | undefined;
@@ -8359,8 +8359,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8359
8359
  }, {
8360
8360
  defaultAnswerPolicy?: {
8361
8361
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8362
- teamId?: string | undefined;
8363
8362
  projectId?: string | undefined;
8363
+ teamId?: string | undefined;
8364
8364
  agentSlug?: string | undefined;
8365
8365
  requiredRoles?: string[] | undefined;
8366
8366
  allowedRoles?: string[] | undefined;
@@ -8444,6 +8444,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8444
8444
  forbiddenPaths?: string[] | undefined;
8445
8445
  }>>;
8446
8446
  }, "strict", z.ZodTypeAny, {
8447
+ outputs: {
8448
+ messageTypes: string[];
8449
+ modelMutations: string[];
8450
+ };
8447
8451
  enabled: boolean;
8448
8452
  prompt: {
8449
8453
  system: string;
@@ -8453,22 +8457,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8453
8457
  branchPolicy: {
8454
8458
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8455
8459
  base: "staging" | "main";
8456
- prefix?: string | undefined;
8457
8460
  target?: "staging" | "main" | undefined;
8458
- branchNameTemplate?: string | undefined;
8459
8461
  worktree?: string | undefined;
8462
+ prefix?: string | undefined;
8463
+ branchNameTemplate?: string | undefined;
8460
8464
  updateBaseBeforeRun?: boolean | undefined;
8461
8465
  mergeTargetBeforeSave?: boolean | undefined;
8462
8466
  };
8463
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
8467
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
8464
8468
  tools: {
8465
8469
  allowed: string[];
8466
8470
  denied?: string[] | undefined;
8467
8471
  };
8468
- outputs: {
8469
- messageTypes: string[];
8470
- modelMutations: string[];
8471
- };
8472
8472
  execution?: {
8473
8473
  requiredCapabilities?: string[] | undefined;
8474
8474
  preparationSeconds?: number | undefined;
@@ -8505,10 +8505,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8505
8505
  revision: number;
8506
8506
  }[] | undefined;
8507
8507
  permissions?: {
8508
- network?: {
8509
- allowWeb?: boolean | undefined;
8510
- allowedDomains?: string[] | undefined;
8511
- } | undefined;
8512
8508
  repository?: {
8513
8509
  allowCodeMutation?: boolean | undefined;
8514
8510
  readPaths?: string[] | undefined;
@@ -8517,6 +8513,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8517
8513
  commit?: {
8518
8514
  allowed: boolean;
8519
8515
  } | undefined;
8516
+ network?: {
8517
+ allowWeb?: boolean | undefined;
8518
+ allowedDomains?: string[] | undefined;
8519
+ } | undefined;
8520
8520
  content?: Record<string, {
8521
8521
  operations: string[];
8522
8522
  filters?: Record<string, unknown> | undefined;
@@ -8604,8 +8604,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8604
8604
  questionPolicy?: {
8605
8605
  defaultAnswerPolicy?: {
8606
8606
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8607
- teamId?: string | undefined;
8608
8607
  projectId?: string | undefined;
8608
+ teamId?: string | undefined;
8609
8609
  agentSlug?: string | undefined;
8610
8610
  requiredRoles?: string[] | undefined;
8611
8611
  allowedRoles?: string[] | undefined;
@@ -8617,6 +8617,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8617
8617
  blockExecutionWhenCreated?: boolean | undefined;
8618
8618
  } | undefined;
8619
8619
  }, {
8620
+ outputs: {
8621
+ messageTypes: string[];
8622
+ modelMutations: string[];
8623
+ };
8620
8624
  enabled: boolean;
8621
8625
  prompt: {
8622
8626
  system: string;
@@ -8626,22 +8630,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8626
8630
  branchPolicy: {
8627
8631
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8628
8632
  base: "staging" | "main";
8629
- prefix?: string | undefined;
8630
8633
  target?: "staging" | "main" | undefined;
8631
- branchNameTemplate?: string | undefined;
8632
8634
  worktree?: string | undefined;
8635
+ prefix?: string | undefined;
8636
+ branchNameTemplate?: string | undefined;
8633
8637
  updateBaseBeforeRun?: boolean | undefined;
8634
8638
  mergeTargetBeforeSave?: boolean | undefined;
8635
8639
  };
8636
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
8640
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
8637
8641
  tools: {
8638
8642
  allowed: string[];
8639
8643
  denied?: string[] | undefined;
8640
8644
  };
8641
- outputs: {
8642
- messageTypes: string[];
8643
- modelMutations: string[];
8644
- };
8645
8645
  execution?: {
8646
8646
  requiredCapabilities?: string[] | undefined;
8647
8647
  preparationSeconds?: number | undefined;
@@ -8678,10 +8678,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8678
8678
  revision: number;
8679
8679
  }[] | undefined;
8680
8680
  permissions?: {
8681
- network?: {
8682
- allowWeb?: boolean | undefined;
8683
- allowedDomains?: string[] | undefined;
8684
- } | undefined;
8685
8681
  repository?: {
8686
8682
  allowCodeMutation?: boolean | undefined;
8687
8683
  readPaths?: string[] | undefined;
@@ -8690,6 +8686,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8690
8686
  commit?: {
8691
8687
  allowed: boolean;
8692
8688
  } | undefined;
8689
+ network?: {
8690
+ allowWeb?: boolean | undefined;
8691
+ allowedDomains?: string[] | undefined;
8692
+ } | undefined;
8693
8693
  content?: Record<string, {
8694
8694
  operations: string[];
8695
8695
  filters?: Record<string, unknown> | undefined;
@@ -8777,8 +8777,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8777
8777
  questionPolicy?: {
8778
8778
  defaultAnswerPolicy?: {
8779
8779
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8780
- teamId?: string | undefined;
8781
8780
  projectId?: string | undefined;
8781
+ teamId?: string | undefined;
8782
8782
  agentSlug?: string | undefined;
8783
8783
  requiredRoles?: string[] | undefined;
8784
8784
  allowedRoles?: string[] | undefined;
@@ -8790,6 +8790,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8790
8790
  blockExecutionWhenCreated?: boolean | undefined;
8791
8791
  } | undefined;
8792
8792
  }>, {
8793
+ outputs: {
8794
+ messageTypes: string[];
8795
+ modelMutations: string[];
8796
+ };
8793
8797
  enabled: boolean;
8794
8798
  prompt: {
8795
8799
  system: string;
@@ -8799,22 +8803,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8799
8803
  branchPolicy: {
8800
8804
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8801
8805
  base: "staging" | "main";
8802
- prefix?: string | undefined;
8803
8806
  target?: "staging" | "main" | undefined;
8804
- branchNameTemplate?: string | undefined;
8805
8807
  worktree?: string | undefined;
8808
+ prefix?: string | undefined;
8809
+ branchNameTemplate?: string | undefined;
8806
8810
  updateBaseBeforeRun?: boolean | undefined;
8807
8811
  mergeTargetBeforeSave?: boolean | undefined;
8808
8812
  };
8809
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
8813
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
8810
8814
  tools: {
8811
8815
  allowed: string[];
8812
8816
  denied?: string[] | undefined;
8813
8817
  };
8814
- outputs: {
8815
- messageTypes: string[];
8816
- modelMutations: string[];
8817
- };
8818
8818
  execution?: {
8819
8819
  requiredCapabilities?: string[] | undefined;
8820
8820
  preparationSeconds?: number | undefined;
@@ -8851,10 +8851,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8851
8851
  revision: number;
8852
8852
  }[] | undefined;
8853
8853
  permissions?: {
8854
- network?: {
8855
- allowWeb?: boolean | undefined;
8856
- allowedDomains?: string[] | undefined;
8857
- } | undefined;
8858
8854
  repository?: {
8859
8855
  allowCodeMutation?: boolean | undefined;
8860
8856
  readPaths?: string[] | undefined;
@@ -8863,6 +8859,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8863
8859
  commit?: {
8864
8860
  allowed: boolean;
8865
8861
  } | undefined;
8862
+ network?: {
8863
+ allowWeb?: boolean | undefined;
8864
+ allowedDomains?: string[] | undefined;
8865
+ } | undefined;
8866
8866
  content?: Record<string, {
8867
8867
  operations: string[];
8868
8868
  filters?: Record<string, unknown> | undefined;
@@ -8950,8 +8950,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8950
8950
  questionPolicy?: {
8951
8951
  defaultAnswerPolicy?: {
8952
8952
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8953
- teamId?: string | undefined;
8954
8953
  projectId?: string | undefined;
8954
+ teamId?: string | undefined;
8955
8955
  agentSlug?: string | undefined;
8956
8956
  requiredRoles?: string[] | undefined;
8957
8957
  allowedRoles?: string[] | undefined;
@@ -8963,6 +8963,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8963
8963
  blockExecutionWhenCreated?: boolean | undefined;
8964
8964
  } | undefined;
8965
8965
  }, {
8966
+ outputs: {
8967
+ messageTypes: string[];
8968
+ modelMutations: string[];
8969
+ };
8966
8970
  enabled: boolean;
8967
8971
  prompt: {
8968
8972
  system: string;
@@ -8972,22 +8976,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8972
8976
  branchPolicy: {
8973
8977
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8974
8978
  base: "staging" | "main";
8975
- prefix?: string | undefined;
8976
8979
  target?: "staging" | "main" | undefined;
8977
- branchNameTemplate?: string | undefined;
8978
8980
  worktree?: string | undefined;
8981
+ prefix?: string | undefined;
8982
+ branchNameTemplate?: string | undefined;
8979
8983
  updateBaseBeforeRun?: boolean | undefined;
8980
8984
  mergeTargetBeforeSave?: boolean | undefined;
8981
8985
  };
8982
- handler: "writer" | "actor" | "estimate" | "releaser" | "reporter";
8986
+ handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
8983
8987
  tools: {
8984
8988
  allowed: string[];
8985
8989
  denied?: string[] | undefined;
8986
8990
  };
8987
- outputs: {
8988
- messageTypes: string[];
8989
- modelMutations: string[];
8990
- };
8991
8991
  execution?: {
8992
8992
  requiredCapabilities?: string[] | undefined;
8993
8993
  preparationSeconds?: number | undefined;
@@ -9024,10 +9024,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
9024
9024
  revision: number;
9025
9025
  }[] | undefined;
9026
9026
  permissions?: {
9027
- network?: {
9028
- allowWeb?: boolean | undefined;
9029
- allowedDomains?: string[] | undefined;
9030
- } | undefined;
9031
9027
  repository?: {
9032
9028
  allowCodeMutation?: boolean | undefined;
9033
9029
  readPaths?: string[] | undefined;
@@ -9036,6 +9032,10 @@ export declare function validateAgentDefinitionModel(value: unknown): {
9036
9032
  commit?: {
9037
9033
  allowed: boolean;
9038
9034
  } | undefined;
9035
+ network?: {
9036
+ allowWeb?: boolean | undefined;
9037
+ allowedDomains?: string[] | undefined;
9038
+ } | undefined;
9039
9039
  content?: Record<string, {
9040
9040
  operations: string[];
9041
9041
  filters?: Record<string, unknown> | undefined;
@@ -9123,8 +9123,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
9123
9123
  questionPolicy?: {
9124
9124
  defaultAnswerPolicy?: {
9125
9125
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
9126
- teamId?: string | undefined;
9127
9126
  projectId?: string | undefined;
9127
+ teamId?: string | undefined;
9128
9128
  agentSlug?: string | undefined;
9129
9129
  requiredRoles?: string[] | undefined;
9130
9130
  allowedRoles?: string[] | undefined;