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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
  3. package/dist/capacity-provider/capability-ontology.d.ts +190 -190
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
  6. package/dist/capacity-provider/environment-catalog.d.ts +62 -62
  7. package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
  8. package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
  9. package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
  10. package/dist/content/validation/content-model-schemas.d.ts +435 -435
  11. package/dist/content/validation/portable-content-data.d.ts +53 -53
  12. package/dist/deployment/ai-mode.d.ts +46 -46
  13. package/dist/deployment/schemas.d.ts +648 -648
  14. package/dist/development/schemas.d.ts +290 -290
  15. package/dist/operator-contracts/canonical-command-tree.js +10 -0
  16. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
  17. package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
  18. package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
  19. package/dist/operator-contracts/communication/contracts.d.ts +228 -228
  20. package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
  21. package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
  22. package/dist/platform/contracts.d.ts +383 -0
  23. package/dist/platform/contracts.js +79 -0
  24. package/dist/platform/index.d.ts +5 -0
  25. package/dist/platform/index.js +5 -0
  26. package/dist/platform/inventory.d.ts +11 -0
  27. package/dist/platform/inventory.js +53 -0
  28. package/dist/platform/schemas.d.ts +806 -0
  29. package/dist/platform/schemas.js +68 -0
  30. package/dist/platform/verification.d.ts +9 -0
  31. package/dist/platform/verification.js +104 -0
  32. package/dist/platform/workset.d.ts +21 -0
  33. package/dist/platform/workset.js +102 -0
  34. package/dist/security/encrypted-envelope.d.ts +14 -14
  35. package/package.json +5 -1
@@ -112,8 +112,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
112
112
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
113
113
  }, "strict", z.ZodTypeAny, {
114
114
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
115
- base: "staging" | "main";
116
- target?: "staging" | "main" | undefined;
115
+ base: "main" | "staging";
116
+ target?: "main" | "staging" | undefined;
117
117
  worktree?: string | undefined;
118
118
  prefix?: string | undefined;
119
119
  branchNameTemplate?: string | undefined;
@@ -121,8 +121,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
121
121
  mergeTargetBeforeSave?: boolean | undefined;
122
122
  }, {
123
123
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
124
- base: "staging" | "main";
125
- target?: "staging" | "main" | undefined;
124
+ base: "main" | "staging";
125
+ target?: "main" | "staging" | undefined;
126
126
  worktree?: string | undefined;
127
127
  prefix?: string | undefined;
128
128
  branchNameTemplate?: string | undefined;
@@ -698,8 +698,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
698
698
  agentSlug: z.ZodOptional<z.ZodString>;
699
699
  }, "strict", z.ZodTypeAny, {
700
700
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
701
- teamId?: string | undefined;
702
701
  projectId?: string | undefined;
702
+ teamId?: string | undefined;
703
703
  agentSlug?: string | undefined;
704
704
  requiredRoles?: string[] | undefined;
705
705
  allowedRoles?: string[] | undefined;
@@ -709,8 +709,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
709
709
  teamMemberId?: string | undefined;
710
710
  }, {
711
711
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
712
- teamId?: string | undefined;
713
712
  projectId?: string | undefined;
713
+ teamId?: string | undefined;
714
714
  agentSlug?: string | undefined;
715
715
  requiredRoles?: string[] | undefined;
716
716
  allowedRoles?: string[] | undefined;
@@ -722,8 +722,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
722
722
  }, "strict", z.ZodTypeAny, {
723
723
  defaultAnswerPolicy?: {
724
724
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
725
- teamId?: string | undefined;
726
725
  projectId?: string | undefined;
726
+ teamId?: string | undefined;
727
727
  agentSlug?: string | undefined;
728
728
  requiredRoles?: string[] | undefined;
729
729
  allowedRoles?: string[] | undefined;
@@ -736,8 +736,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
736
736
  }, {
737
737
  defaultAnswerPolicy?: {
738
738
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
739
- teamId?: string | undefined;
740
739
  projectId?: string | undefined;
740
+ teamId?: string | undefined;
741
741
  agentSlug?: string | undefined;
742
742
  requiredRoles?: string[] | undefined;
743
743
  allowedRoles?: string[] | undefined;
@@ -833,8 +833,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
833
833
  enabled: boolean;
834
834
  branchPolicy: {
835
835
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
836
- base: "staging" | "main";
837
- target?: "staging" | "main" | undefined;
836
+ base: "main" | "staging";
837
+ target?: "main" | "staging" | undefined;
838
838
  worktree?: string | undefined;
839
839
  prefix?: string | undefined;
840
840
  branchNameTemplate?: string | undefined;
@@ -980,8 +980,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
980
980
  questionPolicy?: {
981
981
  defaultAnswerPolicy?: {
982
982
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
983
- teamId?: string | undefined;
984
983
  projectId?: string | undefined;
984
+ teamId?: string | undefined;
985
985
  agentSlug?: string | undefined;
986
986
  requiredRoles?: string[] | undefined;
987
987
  allowedRoles?: string[] | undefined;
@@ -1005,8 +1005,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1005
1005
  enabled: boolean;
1006
1006
  branchPolicy: {
1007
1007
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1008
- base: "staging" | "main";
1009
- target?: "staging" | "main" | undefined;
1008
+ base: "main" | "staging";
1009
+ target?: "main" | "staging" | undefined;
1010
1010
  worktree?: string | undefined;
1011
1011
  prefix?: string | undefined;
1012
1012
  branchNameTemplate?: string | undefined;
@@ -1152,8 +1152,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1152
1152
  questionPolicy?: {
1153
1153
  defaultAnswerPolicy?: {
1154
1154
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1155
- teamId?: string | undefined;
1156
1155
  projectId?: string | undefined;
1156
+ teamId?: string | undefined;
1157
1157
  agentSlug?: string | undefined;
1158
1158
  requiredRoles?: string[] | undefined;
1159
1159
  allowedRoles?: string[] | undefined;
@@ -1177,8 +1177,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1177
1177
  enabled: boolean;
1178
1178
  branchPolicy: {
1179
1179
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1180
- base: "staging" | "main";
1181
- target?: "staging" | "main" | undefined;
1180
+ base: "main" | "staging";
1181
+ target?: "main" | "staging" | undefined;
1182
1182
  worktree?: string | undefined;
1183
1183
  prefix?: string | undefined;
1184
1184
  branchNameTemplate?: string | undefined;
@@ -1324,8 +1324,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1324
1324
  questionPolicy?: {
1325
1325
  defaultAnswerPolicy?: {
1326
1326
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1327
- teamId?: string | undefined;
1328
1327
  projectId?: string | undefined;
1328
+ teamId?: string | undefined;
1329
1329
  agentSlug?: string | undefined;
1330
1330
  requiredRoles?: string[] | undefined;
1331
1331
  allowedRoles?: string[] | undefined;
@@ -1349,8 +1349,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1349
1349
  enabled: boolean;
1350
1350
  branchPolicy: {
1351
1351
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1352
- base: "staging" | "main";
1353
- target?: "staging" | "main" | undefined;
1352
+ base: "main" | "staging";
1353
+ target?: "main" | "staging" | undefined;
1354
1354
  worktree?: string | undefined;
1355
1355
  prefix?: string | undefined;
1356
1356
  branchNameTemplate?: string | undefined;
@@ -1496,8 +1496,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1496
1496
  questionPolicy?: {
1497
1497
  defaultAnswerPolicy?: {
1498
1498
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
1499
- teamId?: string | undefined;
1500
1499
  projectId?: string | undefined;
1500
+ teamId?: string | undefined;
1501
1501
  agentSlug?: string | undefined;
1502
1502
  requiredRoles?: string[] | undefined;
1503
1503
  allowedRoles?: string[] | undefined;
@@ -1621,8 +1621,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1621
1621
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
1622
1622
  }, "strict", z.ZodTypeAny, {
1623
1623
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1624
- base: "staging" | "main";
1625
- target?: "staging" | "main" | undefined;
1624
+ base: "main" | "staging";
1625
+ target?: "main" | "staging" | undefined;
1626
1626
  worktree?: string | undefined;
1627
1627
  prefix?: string | undefined;
1628
1628
  branchNameTemplate?: string | undefined;
@@ -1630,8 +1630,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1630
1630
  mergeTargetBeforeSave?: boolean | undefined;
1631
1631
  }, {
1632
1632
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
1633
- base: "staging" | "main";
1634
- target?: "staging" | "main" | undefined;
1633
+ base: "main" | "staging";
1634
+ target?: "main" | "staging" | undefined;
1635
1635
  worktree?: string | undefined;
1636
1636
  prefix?: string | undefined;
1637
1637
  branchNameTemplate?: string | undefined;
@@ -2207,8 +2207,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2207
2207
  agentSlug: z.ZodOptional<z.ZodString>;
2208
2208
  }, "strict", z.ZodTypeAny, {
2209
2209
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2210
- teamId?: string | undefined;
2211
2210
  projectId?: string | undefined;
2211
+ teamId?: string | undefined;
2212
2212
  agentSlug?: string | undefined;
2213
2213
  requiredRoles?: string[] | undefined;
2214
2214
  allowedRoles?: string[] | undefined;
@@ -2218,8 +2218,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2218
2218
  teamMemberId?: string | undefined;
2219
2219
  }, {
2220
2220
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2221
- teamId?: string | undefined;
2222
2221
  projectId?: string | undefined;
2222
+ teamId?: string | undefined;
2223
2223
  agentSlug?: string | undefined;
2224
2224
  requiredRoles?: string[] | undefined;
2225
2225
  allowedRoles?: string[] | undefined;
@@ -2231,8 +2231,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2231
2231
  }, "strict", z.ZodTypeAny, {
2232
2232
  defaultAnswerPolicy?: {
2233
2233
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2234
- teamId?: string | undefined;
2235
2234
  projectId?: string | undefined;
2235
+ teamId?: string | undefined;
2236
2236
  agentSlug?: string | undefined;
2237
2237
  requiredRoles?: string[] | undefined;
2238
2238
  allowedRoles?: string[] | undefined;
@@ -2245,8 +2245,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2245
2245
  }, {
2246
2246
  defaultAnswerPolicy?: {
2247
2247
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2248
- teamId?: string | undefined;
2249
2248
  projectId?: string | undefined;
2249
+ teamId?: string | undefined;
2250
2250
  agentSlug?: string | undefined;
2251
2251
  requiredRoles?: string[] | undefined;
2252
2252
  allowedRoles?: string[] | undefined;
@@ -2342,8 +2342,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2342
2342
  enabled: boolean;
2343
2343
  branchPolicy: {
2344
2344
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2345
- base: "staging" | "main";
2346
- target?: "staging" | "main" | undefined;
2345
+ base: "main" | "staging";
2346
+ target?: "main" | "staging" | undefined;
2347
2347
  worktree?: string | undefined;
2348
2348
  prefix?: string | undefined;
2349
2349
  branchNameTemplate?: string | undefined;
@@ -2489,8 +2489,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2489
2489
  questionPolicy?: {
2490
2490
  defaultAnswerPolicy?: {
2491
2491
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2492
- teamId?: string | undefined;
2493
2492
  projectId?: string | undefined;
2493
+ teamId?: string | undefined;
2494
2494
  agentSlug?: string | undefined;
2495
2495
  requiredRoles?: string[] | undefined;
2496
2496
  allowedRoles?: string[] | undefined;
@@ -2514,8 +2514,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2514
2514
  enabled: boolean;
2515
2515
  branchPolicy: {
2516
2516
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2517
- base: "staging" | "main";
2518
- target?: "staging" | "main" | undefined;
2517
+ base: "main" | "staging";
2518
+ target?: "main" | "staging" | undefined;
2519
2519
  worktree?: string | undefined;
2520
2520
  prefix?: string | undefined;
2521
2521
  branchNameTemplate?: string | undefined;
@@ -2661,8 +2661,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2661
2661
  questionPolicy?: {
2662
2662
  defaultAnswerPolicy?: {
2663
2663
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2664
- teamId?: string | undefined;
2665
2664
  projectId?: string | undefined;
2665
+ teamId?: string | undefined;
2666
2666
  agentSlug?: string | undefined;
2667
2667
  requiredRoles?: string[] | undefined;
2668
2668
  allowedRoles?: string[] | undefined;
@@ -2686,8 +2686,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2686
2686
  enabled: boolean;
2687
2687
  branchPolicy: {
2688
2688
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2689
- base: "staging" | "main";
2690
- target?: "staging" | "main" | undefined;
2689
+ base: "main" | "staging";
2690
+ target?: "main" | "staging" | undefined;
2691
2691
  worktree?: string | undefined;
2692
2692
  prefix?: string | undefined;
2693
2693
  branchNameTemplate?: string | undefined;
@@ -2833,8 +2833,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2833
2833
  questionPolicy?: {
2834
2834
  defaultAnswerPolicy?: {
2835
2835
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
2836
- teamId?: string | undefined;
2837
2836
  projectId?: string | undefined;
2837
+ teamId?: string | undefined;
2838
2838
  agentSlug?: string | undefined;
2839
2839
  requiredRoles?: string[] | undefined;
2840
2840
  allowedRoles?: string[] | undefined;
@@ -2858,8 +2858,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2858
2858
  enabled: boolean;
2859
2859
  branchPolicy: {
2860
2860
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2861
- base: "staging" | "main";
2862
- target?: "staging" | "main" | undefined;
2861
+ base: "main" | "staging";
2862
+ target?: "main" | "staging" | undefined;
2863
2863
  worktree?: string | undefined;
2864
2864
  prefix?: string | undefined;
2865
2865
  branchNameTemplate?: string | undefined;
@@ -3005,8 +3005,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3005
3005
  questionPolicy?: {
3006
3006
  defaultAnswerPolicy?: {
3007
3007
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3008
- teamId?: string | undefined;
3009
3008
  projectId?: string | undefined;
3009
+ teamId?: string | undefined;
3010
3010
  agentSlug?: string | undefined;
3011
3011
  requiredRoles?: string[] | undefined;
3012
3012
  allowedRoles?: string[] | undefined;
@@ -3130,8 +3130,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3130
3130
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
3131
3131
  }, "strict", z.ZodTypeAny, {
3132
3132
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3133
- base: "staging" | "main";
3134
- target?: "staging" | "main" | undefined;
3133
+ base: "main" | "staging";
3134
+ target?: "main" | "staging" | undefined;
3135
3135
  worktree?: string | undefined;
3136
3136
  prefix?: string | undefined;
3137
3137
  branchNameTemplate?: string | undefined;
@@ -3139,8 +3139,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3139
3139
  mergeTargetBeforeSave?: boolean | undefined;
3140
3140
  }, {
3141
3141
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3142
- base: "staging" | "main";
3143
- target?: "staging" | "main" | undefined;
3142
+ base: "main" | "staging";
3143
+ target?: "main" | "staging" | undefined;
3144
3144
  worktree?: string | undefined;
3145
3145
  prefix?: string | undefined;
3146
3146
  branchNameTemplate?: string | undefined;
@@ -3716,8 +3716,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3716
3716
  agentSlug: z.ZodOptional<z.ZodString>;
3717
3717
  }, "strict", z.ZodTypeAny, {
3718
3718
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3719
- teamId?: string | undefined;
3720
3719
  projectId?: string | undefined;
3720
+ teamId?: string | undefined;
3721
3721
  agentSlug?: string | undefined;
3722
3722
  requiredRoles?: string[] | undefined;
3723
3723
  allowedRoles?: string[] | undefined;
@@ -3727,8 +3727,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3727
3727
  teamMemberId?: string | undefined;
3728
3728
  }, {
3729
3729
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3730
- teamId?: string | undefined;
3731
3730
  projectId?: string | undefined;
3731
+ teamId?: string | undefined;
3732
3732
  agentSlug?: string | undefined;
3733
3733
  requiredRoles?: string[] | undefined;
3734
3734
  allowedRoles?: string[] | undefined;
@@ -3740,8 +3740,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3740
3740
  }, "strict", z.ZodTypeAny, {
3741
3741
  defaultAnswerPolicy?: {
3742
3742
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3743
- teamId?: string | undefined;
3744
3743
  projectId?: string | undefined;
3744
+ teamId?: string | undefined;
3745
3745
  agentSlug?: string | undefined;
3746
3746
  requiredRoles?: string[] | undefined;
3747
3747
  allowedRoles?: string[] | undefined;
@@ -3754,8 +3754,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3754
3754
  }, {
3755
3755
  defaultAnswerPolicy?: {
3756
3756
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
3757
- teamId?: string | undefined;
3758
3757
  projectId?: string | undefined;
3758
+ teamId?: string | undefined;
3759
3759
  agentSlug?: string | undefined;
3760
3760
  requiredRoles?: string[] | undefined;
3761
3761
  allowedRoles?: string[] | undefined;
@@ -3851,8 +3851,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3851
3851
  enabled: boolean;
3852
3852
  branchPolicy: {
3853
3853
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3854
- base: "staging" | "main";
3855
- target?: "staging" | "main" | undefined;
3854
+ base: "main" | "staging";
3855
+ target?: "main" | "staging" | undefined;
3856
3856
  worktree?: string | undefined;
3857
3857
  prefix?: string | undefined;
3858
3858
  branchNameTemplate?: string | undefined;
@@ -3998,8 +3998,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3998
3998
  questionPolicy?: {
3999
3999
  defaultAnswerPolicy?: {
4000
4000
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4001
- teamId?: string | undefined;
4002
4001
  projectId?: string | undefined;
4002
+ teamId?: string | undefined;
4003
4003
  agentSlug?: string | undefined;
4004
4004
  requiredRoles?: string[] | undefined;
4005
4005
  allowedRoles?: string[] | undefined;
@@ -4023,8 +4023,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4023
4023
  enabled: boolean;
4024
4024
  branchPolicy: {
4025
4025
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4026
- base: "staging" | "main";
4027
- target?: "staging" | "main" | undefined;
4026
+ base: "main" | "staging";
4027
+ target?: "main" | "staging" | undefined;
4028
4028
  worktree?: string | undefined;
4029
4029
  prefix?: string | undefined;
4030
4030
  branchNameTemplate?: string | undefined;
@@ -4170,8 +4170,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4170
4170
  questionPolicy?: {
4171
4171
  defaultAnswerPolicy?: {
4172
4172
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4173
- teamId?: string | undefined;
4174
4173
  projectId?: string | undefined;
4174
+ teamId?: string | undefined;
4175
4175
  agentSlug?: string | undefined;
4176
4176
  requiredRoles?: string[] | undefined;
4177
4177
  allowedRoles?: string[] | undefined;
@@ -4195,8 +4195,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4195
4195
  enabled: boolean;
4196
4196
  branchPolicy: {
4197
4197
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4198
- base: "staging" | "main";
4199
- target?: "staging" | "main" | undefined;
4198
+ base: "main" | "staging";
4199
+ target?: "main" | "staging" | undefined;
4200
4200
  worktree?: string | undefined;
4201
4201
  prefix?: string | undefined;
4202
4202
  branchNameTemplate?: string | undefined;
@@ -4342,8 +4342,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4342
4342
  questionPolicy?: {
4343
4343
  defaultAnswerPolicy?: {
4344
4344
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4345
- teamId?: string | undefined;
4346
4345
  projectId?: string | undefined;
4346
+ teamId?: string | undefined;
4347
4347
  agentSlug?: string | undefined;
4348
4348
  requiredRoles?: string[] | undefined;
4349
4349
  allowedRoles?: string[] | undefined;
@@ -4367,8 +4367,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4367
4367
  enabled: boolean;
4368
4368
  branchPolicy: {
4369
4369
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4370
- base: "staging" | "main";
4371
- target?: "staging" | "main" | undefined;
4370
+ base: "main" | "staging";
4371
+ target?: "main" | "staging" | undefined;
4372
4372
  worktree?: string | undefined;
4373
4373
  prefix?: string | undefined;
4374
4374
  branchNameTemplate?: string | undefined;
@@ -4514,8 +4514,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4514
4514
  questionPolicy?: {
4515
4515
  defaultAnswerPolicy?: {
4516
4516
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
4517
- teamId?: string | undefined;
4518
4517
  projectId?: string | undefined;
4518
+ teamId?: string | undefined;
4519
4519
  agentSlug?: string | undefined;
4520
4520
  requiredRoles?: string[] | undefined;
4521
4521
  allowedRoles?: string[] | undefined;
@@ -4639,8 +4639,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4639
4639
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
4640
4640
  }, "strict", z.ZodTypeAny, {
4641
4641
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4642
- base: "staging" | "main";
4643
- target?: "staging" | "main" | undefined;
4642
+ base: "main" | "staging";
4643
+ target?: "main" | "staging" | undefined;
4644
4644
  worktree?: string | undefined;
4645
4645
  prefix?: string | undefined;
4646
4646
  branchNameTemplate?: string | undefined;
@@ -4648,8 +4648,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4648
4648
  mergeTargetBeforeSave?: boolean | undefined;
4649
4649
  }, {
4650
4650
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4651
- base: "staging" | "main";
4652
- target?: "staging" | "main" | undefined;
4651
+ base: "main" | "staging";
4652
+ target?: "main" | "staging" | undefined;
4653
4653
  worktree?: string | undefined;
4654
4654
  prefix?: string | undefined;
4655
4655
  branchNameTemplate?: string | undefined;
@@ -5225,8 +5225,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5225
5225
  agentSlug: z.ZodOptional<z.ZodString>;
5226
5226
  }, "strict", z.ZodTypeAny, {
5227
5227
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5228
- teamId?: string | undefined;
5229
5228
  projectId?: string | undefined;
5229
+ teamId?: string | undefined;
5230
5230
  agentSlug?: string | undefined;
5231
5231
  requiredRoles?: string[] | undefined;
5232
5232
  allowedRoles?: string[] | undefined;
@@ -5236,8 +5236,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5236
5236
  teamMemberId?: string | undefined;
5237
5237
  }, {
5238
5238
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5239
- teamId?: string | undefined;
5240
5239
  projectId?: string | undefined;
5240
+ teamId?: string | undefined;
5241
5241
  agentSlug?: string | undefined;
5242
5242
  requiredRoles?: string[] | undefined;
5243
5243
  allowedRoles?: string[] | undefined;
@@ -5249,8 +5249,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5249
5249
  }, "strict", z.ZodTypeAny, {
5250
5250
  defaultAnswerPolicy?: {
5251
5251
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5252
- teamId?: string | undefined;
5253
5252
  projectId?: string | undefined;
5253
+ teamId?: string | undefined;
5254
5254
  agentSlug?: string | undefined;
5255
5255
  requiredRoles?: string[] | undefined;
5256
5256
  allowedRoles?: string[] | undefined;
@@ -5263,8 +5263,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5263
5263
  }, {
5264
5264
  defaultAnswerPolicy?: {
5265
5265
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5266
- teamId?: string | undefined;
5267
5266
  projectId?: string | undefined;
5267
+ teamId?: string | undefined;
5268
5268
  agentSlug?: string | undefined;
5269
5269
  requiredRoles?: string[] | undefined;
5270
5270
  allowedRoles?: string[] | undefined;
@@ -5360,8 +5360,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5360
5360
  enabled: boolean;
5361
5361
  branchPolicy: {
5362
5362
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5363
- base: "staging" | "main";
5364
- target?: "staging" | "main" | undefined;
5363
+ base: "main" | "staging";
5364
+ target?: "main" | "staging" | undefined;
5365
5365
  worktree?: string | undefined;
5366
5366
  prefix?: string | undefined;
5367
5367
  branchNameTemplate?: string | undefined;
@@ -5507,8 +5507,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5507
5507
  questionPolicy?: {
5508
5508
  defaultAnswerPolicy?: {
5509
5509
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5510
- teamId?: string | undefined;
5511
5510
  projectId?: string | undefined;
5511
+ teamId?: string | undefined;
5512
5512
  agentSlug?: string | undefined;
5513
5513
  requiredRoles?: string[] | undefined;
5514
5514
  allowedRoles?: string[] | undefined;
@@ -5532,8 +5532,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5532
5532
  enabled: boolean;
5533
5533
  branchPolicy: {
5534
5534
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5535
- base: "staging" | "main";
5536
- target?: "staging" | "main" | undefined;
5535
+ base: "main" | "staging";
5536
+ target?: "main" | "staging" | undefined;
5537
5537
  worktree?: string | undefined;
5538
5538
  prefix?: string | undefined;
5539
5539
  branchNameTemplate?: string | undefined;
@@ -5679,8 +5679,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5679
5679
  questionPolicy?: {
5680
5680
  defaultAnswerPolicy?: {
5681
5681
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5682
- teamId?: string | undefined;
5683
5682
  projectId?: string | undefined;
5683
+ teamId?: string | undefined;
5684
5684
  agentSlug?: string | undefined;
5685
5685
  requiredRoles?: string[] | undefined;
5686
5686
  allowedRoles?: string[] | undefined;
@@ -5704,8 +5704,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5704
5704
  enabled: boolean;
5705
5705
  branchPolicy: {
5706
5706
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5707
- base: "staging" | "main";
5708
- target?: "staging" | "main" | undefined;
5707
+ base: "main" | "staging";
5708
+ target?: "main" | "staging" | undefined;
5709
5709
  worktree?: string | undefined;
5710
5710
  prefix?: string | undefined;
5711
5711
  branchNameTemplate?: string | undefined;
@@ -5851,8 +5851,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5851
5851
  questionPolicy?: {
5852
5852
  defaultAnswerPolicy?: {
5853
5853
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
5854
- teamId?: string | undefined;
5855
5854
  projectId?: string | undefined;
5855
+ teamId?: string | undefined;
5856
5856
  agentSlug?: string | undefined;
5857
5857
  requiredRoles?: string[] | undefined;
5858
5858
  allowedRoles?: string[] | undefined;
@@ -5876,8 +5876,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5876
5876
  enabled: boolean;
5877
5877
  branchPolicy: {
5878
5878
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5879
- base: "staging" | "main";
5880
- target?: "staging" | "main" | undefined;
5879
+ base: "main" | "staging";
5880
+ target?: "main" | "staging" | undefined;
5881
5881
  worktree?: string | undefined;
5882
5882
  prefix?: string | undefined;
5883
5883
  branchNameTemplate?: string | undefined;
@@ -6023,8 +6023,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6023
6023
  questionPolicy?: {
6024
6024
  defaultAnswerPolicy?: {
6025
6025
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6026
- teamId?: string | undefined;
6027
6026
  projectId?: string | undefined;
6027
+ teamId?: string | undefined;
6028
6028
  agentSlug?: string | undefined;
6029
6029
  requiredRoles?: string[] | undefined;
6030
6030
  allowedRoles?: string[] | undefined;
@@ -6148,8 +6148,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6148
6148
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
6149
6149
  }, "strict", z.ZodTypeAny, {
6150
6150
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6151
- base: "staging" | "main";
6152
- target?: "staging" | "main" | undefined;
6151
+ base: "main" | "staging";
6152
+ target?: "main" | "staging" | undefined;
6153
6153
  worktree?: string | undefined;
6154
6154
  prefix?: string | undefined;
6155
6155
  branchNameTemplate?: string | undefined;
@@ -6157,8 +6157,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6157
6157
  mergeTargetBeforeSave?: boolean | undefined;
6158
6158
  }, {
6159
6159
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6160
- base: "staging" | "main";
6161
- target?: "staging" | "main" | undefined;
6160
+ base: "main" | "staging";
6161
+ target?: "main" | "staging" | undefined;
6162
6162
  worktree?: string | undefined;
6163
6163
  prefix?: string | undefined;
6164
6164
  branchNameTemplate?: string | undefined;
@@ -6734,8 +6734,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6734
6734
  agentSlug: z.ZodOptional<z.ZodString>;
6735
6735
  }, "strict", z.ZodTypeAny, {
6736
6736
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6737
- teamId?: string | undefined;
6738
6737
  projectId?: string | undefined;
6738
+ teamId?: string | undefined;
6739
6739
  agentSlug?: string | undefined;
6740
6740
  requiredRoles?: string[] | undefined;
6741
6741
  allowedRoles?: string[] | undefined;
@@ -6745,8 +6745,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6745
6745
  teamMemberId?: string | undefined;
6746
6746
  }, {
6747
6747
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6748
- teamId?: string | undefined;
6749
6748
  projectId?: string | undefined;
6749
+ teamId?: string | undefined;
6750
6750
  agentSlug?: string | undefined;
6751
6751
  requiredRoles?: string[] | undefined;
6752
6752
  allowedRoles?: string[] | undefined;
@@ -6758,8 +6758,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6758
6758
  }, "strict", z.ZodTypeAny, {
6759
6759
  defaultAnswerPolicy?: {
6760
6760
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6761
- teamId?: string | undefined;
6762
6761
  projectId?: string | undefined;
6762
+ teamId?: string | undefined;
6763
6763
  agentSlug?: string | undefined;
6764
6764
  requiredRoles?: string[] | undefined;
6765
6765
  allowedRoles?: string[] | undefined;
@@ -6772,8 +6772,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6772
6772
  }, {
6773
6773
  defaultAnswerPolicy?: {
6774
6774
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
6775
- teamId?: string | undefined;
6776
6775
  projectId?: string | undefined;
6776
+ teamId?: string | undefined;
6777
6777
  agentSlug?: string | undefined;
6778
6778
  requiredRoles?: string[] | undefined;
6779
6779
  allowedRoles?: string[] | undefined;
@@ -6869,8 +6869,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6869
6869
  enabled: boolean;
6870
6870
  branchPolicy: {
6871
6871
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6872
- base: "staging" | "main";
6873
- target?: "staging" | "main" | undefined;
6872
+ base: "main" | "staging";
6873
+ target?: "main" | "staging" | undefined;
6874
6874
  worktree?: string | undefined;
6875
6875
  prefix?: string | undefined;
6876
6876
  branchNameTemplate?: string | undefined;
@@ -7016,8 +7016,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7016
7016
  questionPolicy?: {
7017
7017
  defaultAnswerPolicy?: {
7018
7018
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7019
- teamId?: string | undefined;
7020
7019
  projectId?: string | undefined;
7020
+ teamId?: string | undefined;
7021
7021
  agentSlug?: string | undefined;
7022
7022
  requiredRoles?: string[] | undefined;
7023
7023
  allowedRoles?: string[] | undefined;
@@ -7041,8 +7041,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7041
7041
  enabled: boolean;
7042
7042
  branchPolicy: {
7043
7043
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7044
- base: "staging" | "main";
7045
- target?: "staging" | "main" | undefined;
7044
+ base: "main" | "staging";
7045
+ target?: "main" | "staging" | undefined;
7046
7046
  worktree?: string | undefined;
7047
7047
  prefix?: string | undefined;
7048
7048
  branchNameTemplate?: string | undefined;
@@ -7188,8 +7188,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7188
7188
  questionPolicy?: {
7189
7189
  defaultAnswerPolicy?: {
7190
7190
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7191
- teamId?: string | undefined;
7192
7191
  projectId?: string | undefined;
7192
+ teamId?: string | undefined;
7193
7193
  agentSlug?: string | undefined;
7194
7194
  requiredRoles?: string[] | undefined;
7195
7195
  allowedRoles?: string[] | undefined;
@@ -7213,8 +7213,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7213
7213
  enabled: boolean;
7214
7214
  branchPolicy: {
7215
7215
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7216
- base: "staging" | "main";
7217
- target?: "staging" | "main" | undefined;
7216
+ base: "main" | "staging";
7217
+ target?: "main" | "staging" | undefined;
7218
7218
  worktree?: string | undefined;
7219
7219
  prefix?: string | undefined;
7220
7220
  branchNameTemplate?: string | undefined;
@@ -7360,8 +7360,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7360
7360
  questionPolicy?: {
7361
7361
  defaultAnswerPolicy?: {
7362
7362
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7363
- teamId?: string | undefined;
7364
7363
  projectId?: string | undefined;
7364
+ teamId?: string | undefined;
7365
7365
  agentSlug?: string | undefined;
7366
7366
  requiredRoles?: string[] | undefined;
7367
7367
  allowedRoles?: string[] | undefined;
@@ -7385,8 +7385,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7385
7385
  enabled: boolean;
7386
7386
  branchPolicy: {
7387
7387
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7388
- base: "staging" | "main";
7389
- target?: "staging" | "main" | undefined;
7388
+ base: "main" | "staging";
7389
+ target?: "main" | "staging" | undefined;
7390
7390
  worktree?: string | undefined;
7391
7391
  prefix?: string | undefined;
7392
7392
  branchNameTemplate?: string | undefined;
@@ -7532,8 +7532,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7532
7532
  questionPolicy?: {
7533
7533
  defaultAnswerPolicy?: {
7534
7534
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
7535
- teamId?: string | undefined;
7536
7535
  projectId?: string | undefined;
7536
+ teamId?: string | undefined;
7537
7537
  agentSlug?: string | undefined;
7538
7538
  requiredRoles?: string[] | undefined;
7539
7539
  allowedRoles?: string[] | undefined;
@@ -7661,8 +7661,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7661
7661
  mergeTargetBeforeSave: z.ZodOptional<z.ZodBoolean>;
7662
7662
  }, "strict", z.ZodTypeAny, {
7663
7663
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7664
- base: "staging" | "main";
7665
- target?: "staging" | "main" | undefined;
7664
+ base: "main" | "staging";
7665
+ target?: "main" | "staging" | undefined;
7666
7666
  worktree?: string | undefined;
7667
7667
  prefix?: string | undefined;
7668
7668
  branchNameTemplate?: string | undefined;
@@ -7670,8 +7670,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
7670
7670
  mergeTargetBeforeSave?: boolean | undefined;
7671
7671
  }, {
7672
7672
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7673
- base: "staging" | "main";
7674
- target?: "staging" | "main" | undefined;
7673
+ base: "main" | "staging";
7674
+ target?: "main" | "staging" | undefined;
7675
7675
  worktree?: string | undefined;
7676
7676
  prefix?: string | undefined;
7677
7677
  branchNameTemplate?: string | undefined;
@@ -8247,8 +8247,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8247
8247
  agentSlug: z.ZodOptional<z.ZodString>;
8248
8248
  }, "strict", z.ZodTypeAny, {
8249
8249
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8250
- teamId?: string | undefined;
8251
8250
  projectId?: string | undefined;
8251
+ teamId?: string | undefined;
8252
8252
  agentSlug?: string | undefined;
8253
8253
  requiredRoles?: string[] | undefined;
8254
8254
  allowedRoles?: string[] | undefined;
@@ -8258,8 +8258,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8258
8258
  teamMemberId?: string | undefined;
8259
8259
  }, {
8260
8260
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8261
- teamId?: string | undefined;
8262
8261
  projectId?: string | undefined;
8262
+ teamId?: string | undefined;
8263
8263
  agentSlug?: string | undefined;
8264
8264
  requiredRoles?: string[] | undefined;
8265
8265
  allowedRoles?: string[] | undefined;
@@ -8271,8 +8271,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8271
8271
  }, "strict", z.ZodTypeAny, {
8272
8272
  defaultAnswerPolicy?: {
8273
8273
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8274
- teamId?: string | undefined;
8275
8274
  projectId?: string | undefined;
8275
+ teamId?: string | undefined;
8276
8276
  agentSlug?: string | undefined;
8277
8277
  requiredRoles?: string[] | undefined;
8278
8278
  allowedRoles?: string[] | undefined;
@@ -8285,8 +8285,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8285
8285
  }, {
8286
8286
  defaultAnswerPolicy?: {
8287
8287
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8288
- teamId?: string | undefined;
8289
8288
  projectId?: string | undefined;
8289
+ teamId?: string | undefined;
8290
8290
  agentSlug?: string | undefined;
8291
8291
  requiredRoles?: string[] | undefined;
8292
8292
  allowedRoles?: string[] | undefined;
@@ -8382,8 +8382,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8382
8382
  enabled: boolean;
8383
8383
  branchPolicy: {
8384
8384
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8385
- base: "staging" | "main";
8386
- target?: "staging" | "main" | undefined;
8385
+ base: "main" | "staging";
8386
+ target?: "main" | "staging" | undefined;
8387
8387
  worktree?: string | undefined;
8388
8388
  prefix?: string | undefined;
8389
8389
  branchNameTemplate?: string | undefined;
@@ -8529,8 +8529,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8529
8529
  questionPolicy?: {
8530
8530
  defaultAnswerPolicy?: {
8531
8531
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8532
- teamId?: string | undefined;
8533
8532
  projectId?: string | undefined;
8533
+ teamId?: string | undefined;
8534
8534
  agentSlug?: string | undefined;
8535
8535
  requiredRoles?: string[] | undefined;
8536
8536
  allowedRoles?: string[] | undefined;
@@ -8554,8 +8554,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8554
8554
  enabled: boolean;
8555
8555
  branchPolicy: {
8556
8556
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8557
- base: "staging" | "main";
8558
- target?: "staging" | "main" | undefined;
8557
+ base: "main" | "staging";
8558
+ target?: "main" | "staging" | undefined;
8559
8559
  worktree?: string | undefined;
8560
8560
  prefix?: string | undefined;
8561
8561
  branchNameTemplate?: string | undefined;
@@ -8701,8 +8701,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8701
8701
  questionPolicy?: {
8702
8702
  defaultAnswerPolicy?: {
8703
8703
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8704
- teamId?: string | undefined;
8705
8704
  projectId?: string | undefined;
8705
+ teamId?: string | undefined;
8706
8706
  agentSlug?: string | undefined;
8707
8707
  requiredRoles?: string[] | undefined;
8708
8708
  allowedRoles?: string[] | undefined;
@@ -8726,8 +8726,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8726
8726
  enabled: boolean;
8727
8727
  branchPolicy: {
8728
8728
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8729
- base: "staging" | "main";
8730
- target?: "staging" | "main" | undefined;
8729
+ base: "main" | "staging";
8730
+ target?: "main" | "staging" | undefined;
8731
8731
  worktree?: string | undefined;
8732
8732
  prefix?: string | undefined;
8733
8733
  branchNameTemplate?: string | undefined;
@@ -8873,8 +8873,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8873
8873
  questionPolicy?: {
8874
8874
  defaultAnswerPolicy?: {
8875
8875
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
8876
- teamId?: string | undefined;
8877
8876
  projectId?: string | undefined;
8877
+ teamId?: string | undefined;
8878
8878
  agentSlug?: string | undefined;
8879
8879
  requiredRoles?: string[] | undefined;
8880
8880
  allowedRoles?: string[] | undefined;
@@ -8898,8 +8898,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8898
8898
  enabled: boolean;
8899
8899
  branchPolicy: {
8900
8900
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8901
- base: "staging" | "main";
8902
- target?: "staging" | "main" | undefined;
8901
+ base: "main" | "staging";
8902
+ target?: "main" | "staging" | undefined;
8903
8903
  worktree?: string | undefined;
8904
8904
  prefix?: string | undefined;
8905
8905
  branchNameTemplate?: string | undefined;
@@ -9045,8 +9045,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
9045
9045
  questionPolicy?: {
9046
9046
  defaultAnswerPolicy?: {
9047
9047
  kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
9048
- teamId?: string | undefined;
9049
9048
  projectId?: string | undefined;
9049
+ teamId?: string | undefined;
9050
9050
  agentSlug?: string | undefined;
9051
9051
  requiredRoles?: string[] | undefined;
9052
9052
  allowedRoles?: string[] | undefined;