@paperclipai/shared 2026.817.0 → 2026.818.0-beta.1

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 (185) hide show
  1. package/dist/adapter-auth-session.d.ts +16 -0
  2. package/dist/adapter-auth-session.d.ts.map +1 -0
  3. package/dist/adapter-auth-session.js +37 -0
  4. package/dist/adapter-auth-session.js.map +1 -0
  5. package/dist/company-import-transfer.d.ts +97 -0
  6. package/dist/company-import-transfer.d.ts.map +1 -0
  7. package/dist/company-import-transfer.js +50 -0
  8. package/dist/company-import-transfer.js.map +1 -0
  9. package/dist/constants.d.ts +19 -3
  10. package/dist/constants.d.ts.map +1 -1
  11. package/dist/constants.js +50 -3
  12. package/dist/constants.js.map +1 -1
  13. package/dist/environment-support.d.ts +16 -1
  14. package/dist/environment-support.d.ts.map +1 -1
  15. package/dist/environment-support.js +25 -2
  16. package/dist/environment-support.js.map +1 -1
  17. package/dist/environment-support.test.js +20 -0
  18. package/dist/environment-support.test.js.map +1 -1
  19. package/dist/feature-catalog.d.ts.map +1 -1
  20. package/dist/feature-catalog.js +10 -3
  21. package/dist/feature-catalog.js.map +1 -1
  22. package/dist/index.d.ts +13 -5
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +10 -3
  25. package/dist/index.js.map +1 -1
  26. package/dist/issue-thread-interactions.test.js +45 -1
  27. package/dist/issue-thread-interactions.test.js.map +1 -1
  28. package/dist/runtime-exposure/loopback-bind.d.ts +52 -0
  29. package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -0
  30. package/dist/runtime-exposure/loopback-bind.js +93 -0
  31. package/dist/runtime-exposure/loopback-bind.js.map +1 -0
  32. package/dist/runtime-exposure/loopback-bind.test.d.ts +2 -0
  33. package/dist/runtime-exposure/loopback-bind.test.d.ts.map +1 -0
  34. package/dist/runtime-exposure/loopback-bind.test.js +93 -0
  35. package/dist/runtime-exposure/loopback-bind.test.js.map +1 -0
  36. package/dist/runtime-exposure/ports.d.ts +61 -0
  37. package/dist/runtime-exposure/ports.d.ts.map +1 -0
  38. package/dist/runtime-exposure/ports.js +96 -0
  39. package/dist/runtime-exposure/ports.js.map +1 -0
  40. package/dist/runtime-exposure/ports.test.d.ts +2 -0
  41. package/dist/runtime-exposure/ports.test.d.ts.map +1 -0
  42. package/dist/runtime-exposure/ports.test.js +46 -0
  43. package/dist/runtime-exposure/ports.test.js.map +1 -0
  44. package/dist/summary-slot.test.js +10 -1
  45. package/dist/summary-slot.test.js.map +1 -1
  46. package/dist/telemetry/events.d.ts +5 -0
  47. package/dist/telemetry/events.d.ts.map +1 -1
  48. package/dist/telemetry/events.js +7 -0
  49. package/dist/telemetry/events.js.map +1 -1
  50. package/dist/telemetry/generated/paperclip-telemetry.d.ts +20 -2
  51. package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
  52. package/dist/telemetry/generated/paperclip-telemetry.js +12 -0
  53. package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
  54. package/dist/telemetry/index.d.ts +1 -1
  55. package/dist/telemetry/index.d.ts.map +1 -1
  56. package/dist/telemetry/index.js +1 -1
  57. package/dist/telemetry/index.js.map +1 -1
  58. package/dist/telemetry/retention.d.ts.map +1 -1
  59. package/dist/telemetry/retention.js +2 -0
  60. package/dist/telemetry/retention.js.map +1 -1
  61. package/dist/telemetry/retention.test.js +4 -0
  62. package/dist/telemetry/retention.test.js.map +1 -1
  63. package/dist/types/agent.adapter-auth-session.test.d.ts +2 -0
  64. package/dist/types/agent.adapter-auth-session.test.d.ts.map +1 -0
  65. package/dist/types/agent.adapter-auth-session.test.js +103 -0
  66. package/dist/types/agent.adapter-auth-session.test.js.map +1 -0
  67. package/dist/types/agent.d.ts +56 -0
  68. package/dist/types/agent.d.ts.map +1 -1
  69. package/dist/types/agent.js +50 -1
  70. package/dist/types/agent.js.map +1 -1
  71. package/dist/types/attention.d.ts +35 -0
  72. package/dist/types/attention.d.ts.map +1 -1
  73. package/dist/types/attention.js.map +1 -1
  74. package/dist/types/company-portability.d.ts +8 -0
  75. package/dist/types/company-portability.d.ts.map +1 -1
  76. package/dist/types/document-annotation.d.ts +17 -0
  77. package/dist/types/document-annotation.d.ts.map +1 -1
  78. package/dist/types/environment.d.ts +15 -12
  79. package/dist/types/environment.d.ts.map +1 -1
  80. package/dist/types/index.d.ts +7 -6
  81. package/dist/types/index.d.ts.map +1 -1
  82. package/dist/types/index.js +1 -0
  83. package/dist/types/index.js.map +1 -1
  84. package/dist/types/instance.d.ts +6 -1
  85. package/dist/types/instance.d.ts.map +1 -1
  86. package/dist/types/instance.js.map +1 -1
  87. package/dist/types/issue.d.ts +35 -7
  88. package/dist/types/issue.d.ts.map +1 -1
  89. package/dist/types/plugin.d.ts +46 -0
  90. package/dist/types/plugin.d.ts.map +1 -1
  91. package/dist/types/runtime-exposure.d.ts +74 -0
  92. package/dist/types/runtime-exposure.d.ts.map +1 -0
  93. package/dist/types/runtime-exposure.js +12 -0
  94. package/dist/types/runtime-exposure.js.map +1 -0
  95. package/dist/types/workspace-file-resource.d.ts +25 -0
  96. package/dist/types/workspace-file-resource.d.ts.map +1 -1
  97. package/dist/types/workspace-runtime.d.ts +9 -0
  98. package/dist/types/workspace-runtime.d.ts.map +1 -1
  99. package/dist/validators/access.d.ts +6 -6
  100. package/dist/validators/adapter-auth-session.d.ts +129 -0
  101. package/dist/validators/adapter-auth-session.d.ts.map +1 -0
  102. package/dist/validators/adapter-auth-session.js +34 -0
  103. package/dist/validators/adapter-auth-session.js.map +1 -0
  104. package/dist/validators/adapter-registry.d.ts +2 -2
  105. package/dist/validators/adapter-skills.d.ts +22 -22
  106. package/dist/validators/agent.d.ts +316 -298
  107. package/dist/validators/agent.d.ts.map +1 -1
  108. package/dist/validators/agent.js +9 -0
  109. package/dist/validators/agent.js.map +1 -1
  110. package/dist/validators/app-definition.d.ts +156 -156
  111. package/dist/validators/artifact.d.ts +64 -64
  112. package/dist/validators/claude-setup-token-session.d.ts +244 -0
  113. package/dist/validators/claude-setup-token-session.d.ts.map +1 -0
  114. package/dist/validators/claude-setup-token-session.js +128 -0
  115. package/dist/validators/claude-setup-token-session.js.map +1 -0
  116. package/dist/validators/claude-setup-token-session.test.d.ts +2 -0
  117. package/dist/validators/claude-setup-token-session.test.d.ts.map +1 -0
  118. package/dist/validators/claude-setup-token-session.test.js +107 -0
  119. package/dist/validators/claude-setup-token-session.test.js.map +1 -0
  120. package/dist/validators/company-portability.d.ts +342 -294
  121. package/dist/validators/company-portability.d.ts.map +1 -1
  122. package/dist/validators/company-portability.js +6 -0
  123. package/dist/validators/company-portability.js.map +1 -1
  124. package/dist/validators/company-skill.d.ts +386 -386
  125. package/dist/validators/company.d.ts +120 -120
  126. package/dist/validators/cost.d.ts +8 -8
  127. package/dist/validators/decision-queue.d.ts +6 -6
  128. package/dist/validators/decision.d.ts +124 -124
  129. package/dist/validators/environment-custom-images.d.ts +8 -8
  130. package/dist/validators/environment.d.ts +16 -16
  131. package/dist/validators/execution-workspace.d.ts +38 -38
  132. package/dist/validators/finance.d.ts +12 -12
  133. package/dist/validators/folder.d.ts +38 -38
  134. package/dist/validators/index.d.ts +4 -3
  135. package/dist/validators/index.d.ts.map +1 -1
  136. package/dist/validators/index.js +4 -3
  137. package/dist/validators/index.js.map +1 -1
  138. package/dist/validators/instance.d.ts +30 -16
  139. package/dist/validators/instance.d.ts.map +1 -1
  140. package/dist/validators/instance.js +2 -1
  141. package/dist/validators/instance.js.map +1 -1
  142. package/dist/validators/issue-tree-control.d.ts +4 -4
  143. package/dist/validators/issue.d.ts +1254 -1156
  144. package/dist/validators/issue.d.ts.map +1 -1
  145. package/dist/validators/issue.js +59 -5
  146. package/dist/validators/issue.js.map +1 -1
  147. package/dist/validators/onboarding-seed.d.ts +64 -0
  148. package/dist/validators/onboarding-seed.d.ts.map +1 -0
  149. package/dist/validators/onboarding-seed.js +33 -0
  150. package/dist/validators/onboarding-seed.js.map +1 -0
  151. package/dist/validators/pipeline.d.ts +96 -96
  152. package/dist/validators/plugin.d.ts +325 -184
  153. package/dist/validators/plugin.d.ts.map +1 -1
  154. package/dist/validators/plugin.js +14 -0
  155. package/dist/validators/plugin.js.map +1 -1
  156. package/dist/validators/plugin.test.js +80 -0
  157. package/dist/validators/plugin.test.js.map +1 -1
  158. package/dist/validators/project.d.ts +216 -216
  159. package/dist/validators/routine.d.ts +148 -148
  160. package/dist/validators/runtime-exposure.d.ts +149 -0
  161. package/dist/validators/runtime-exposure.d.ts.map +1 -0
  162. package/dist/validators/runtime-exposure.js +138 -0
  163. package/dist/validators/runtime-exposure.js.map +1 -0
  164. package/dist/validators/runtime-exposure.test.d.ts +2 -0
  165. package/dist/validators/runtime-exposure.test.d.ts.map +1 -0
  166. package/dist/validators/runtime-exposure.test.js +112 -0
  167. package/dist/validators/runtime-exposure.test.js.map +1 -0
  168. package/dist/validators/search.d.ts +13 -13
  169. package/dist/validators/secret.d.ts +53 -53
  170. package/dist/validators/status-card.d.ts +34 -34
  171. package/dist/validators/summary-slot.d.ts +6 -6
  172. package/dist/validators/summary-slot.d.ts.map +1 -1
  173. package/dist/validators/teams-catalog.d.ts +30 -30
  174. package/dist/validators/tool-access.d.ts +179 -179
  175. package/dist/validators/trust-policy.d.ts +18 -18
  176. package/dist/validators/work-product.d.ts +21 -21
  177. package/dist/validators/workspace-file-resource.d.ts +430 -16
  178. package/dist/validators/workspace-file-resource.d.ts.map +1 -1
  179. package/dist/validators/workspace-file-resource.js +19 -0
  180. package/dist/validators/workspace-file-resource.js.map +1 -1
  181. package/dist/workspace-file-resource.test.d.ts +2 -0
  182. package/dist/workspace-file-resource.test.d.ts.map +1 -0
  183. package/dist/workspace-file-resource.test.js +52 -0
  184. package/dist/workspace-file-resource.test.js.map +1 -0
  185. package/package.json +1 -1
@@ -10,12 +10,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
10
10
  version: z.ZodLiteral<1>;
11
11
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
12
12
  }, "strict", z.ZodTypeAny, {
13
- id: "low_trust_review";
14
13
  version: 1;
14
+ id: "low_trust_review";
15
15
  rawOutputDisposition: "quarantine";
16
16
  }, {
17
- id: "low_trust_review";
18
17
  version: 1;
18
+ id: "low_trust_review";
19
19
  rawOutputDisposition: "quarantine";
20
20
  }>>;
21
21
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -41,8 +41,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
41
41
  mode: "low_trust_review";
42
42
  companyId?: string | undefined;
43
43
  projectIds?: string[] | undefined;
44
- issueIds?: string[] | undefined;
45
44
  rootIssueId?: string | undefined;
45
+ issueIds?: string[] | undefined;
46
46
  allowedAgentIds?: string[] | undefined;
47
47
  allowedSecretBindingIds?: string[] | undefined;
48
48
  allowedToolClasses?: string[] | undefined;
@@ -54,8 +54,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
54
54
  mode: "low_trust_review";
55
55
  companyId?: string | undefined;
56
56
  projectIds?: string[] | undefined;
57
- issueIds?: string[] | undefined;
58
57
  rootIssueId?: string | undefined;
58
+ issueIds?: string[] | undefined;
59
59
  allowedAgentIds?: string[] | undefined;
60
60
  allowedSecretBindingIds?: string[] | undefined;
61
61
  allowedToolClasses?: string[] | undefined;
@@ -97,12 +97,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
97
97
  version: z.ZodLiteral<1>;
98
98
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
99
99
  }, "strict", z.ZodTypeAny, {
100
- id: "low_trust_review";
101
100
  version: 1;
101
+ id: "low_trust_review";
102
102
  rawOutputDisposition: "quarantine";
103
103
  }, {
104
- id: "low_trust_review";
105
104
  version: 1;
105
+ id: "low_trust_review";
106
106
  rawOutputDisposition: "quarantine";
107
107
  }>>;
108
108
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -128,8 +128,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
128
128
  mode: "low_trust_review";
129
129
  companyId?: string | undefined;
130
130
  projectIds?: string[] | undefined;
131
- issueIds?: string[] | undefined;
132
131
  rootIssueId?: string | undefined;
132
+ issueIds?: string[] | undefined;
133
133
  allowedAgentIds?: string[] | undefined;
134
134
  allowedSecretBindingIds?: string[] | undefined;
135
135
  allowedToolClasses?: string[] | undefined;
@@ -141,8 +141,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
141
141
  mode: "low_trust_review";
142
142
  companyId?: string | undefined;
143
143
  projectIds?: string[] | undefined;
144
- issueIds?: string[] | undefined;
145
144
  rootIssueId?: string | undefined;
145
+ issueIds?: string[] | undefined;
146
146
  allowedAgentIds?: string[] | undefined;
147
147
  allowedSecretBindingIds?: string[] | undefined;
148
148
  allowedToolClasses?: string[] | undefined;
@@ -184,12 +184,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
184
184
  version: z.ZodLiteral<1>;
185
185
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
186
186
  }, "strict", z.ZodTypeAny, {
187
- id: "low_trust_review";
188
187
  version: 1;
188
+ id: "low_trust_review";
189
189
  rawOutputDisposition: "quarantine";
190
190
  }, {
191
- id: "low_trust_review";
192
191
  version: 1;
192
+ id: "low_trust_review";
193
193
  rawOutputDisposition: "quarantine";
194
194
  }>>;
195
195
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -215,8 +215,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
215
215
  mode: "low_trust_review";
216
216
  companyId?: string | undefined;
217
217
  projectIds?: string[] | undefined;
218
- issueIds?: string[] | undefined;
219
218
  rootIssueId?: string | undefined;
219
+ issueIds?: string[] | undefined;
220
220
  allowedAgentIds?: string[] | undefined;
221
221
  allowedSecretBindingIds?: string[] | undefined;
222
222
  allowedToolClasses?: string[] | undefined;
@@ -228,8 +228,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
228
228
  mode: "low_trust_review";
229
229
  companyId?: string | undefined;
230
230
  projectIds?: string[] | undefined;
231
- issueIds?: string[] | undefined;
232
231
  rootIssueId?: string | undefined;
232
+ issueIds?: string[] | undefined;
233
233
  allowedAgentIds?: string[] | undefined;
234
234
  allowedSecretBindingIds?: string[] | undefined;
235
235
  allowedToolClasses?: string[] | undefined;
@@ -276,12 +276,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
276
276
  version: z.ZodLiteral<1>;
277
277
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
278
278
  }, "strict", z.ZodTypeAny, {
279
- id: "low_trust_review";
280
279
  version: 1;
280
+ id: "low_trust_review";
281
281
  rawOutputDisposition: "quarantine";
282
282
  }, {
283
- id: "low_trust_review";
284
283
  version: 1;
284
+ id: "low_trust_review";
285
285
  rawOutputDisposition: "quarantine";
286
286
  }>>;
287
287
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -307,8 +307,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
307
307
  mode: "low_trust_review";
308
308
  companyId?: string | undefined;
309
309
  projectIds?: string[] | undefined;
310
- issueIds?: string[] | undefined;
311
310
  rootIssueId?: string | undefined;
311
+ issueIds?: string[] | undefined;
312
312
  allowedAgentIds?: string[] | undefined;
313
313
  allowedSecretBindingIds?: string[] | undefined;
314
314
  allowedToolClasses?: string[] | undefined;
@@ -320,8 +320,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
320
320
  mode: "low_trust_review";
321
321
  companyId?: string | undefined;
322
322
  projectIds?: string[] | undefined;
323
- issueIds?: string[] | undefined;
324
323
  rootIssueId?: string | undefined;
324
+ issueIds?: string[] | undefined;
325
325
  allowedAgentIds?: string[] | undefined;
326
326
  allowedSecretBindingIds?: string[] | undefined;
327
327
  allowedToolClasses?: string[] | undefined;
@@ -363,12 +363,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
363
363
  version: z.ZodLiteral<1>;
364
364
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
365
365
  }, "strict", z.ZodTypeAny, {
366
- id: "low_trust_review";
367
366
  version: 1;
367
+ id: "low_trust_review";
368
368
  rawOutputDisposition: "quarantine";
369
369
  }, {
370
- id: "low_trust_review";
371
370
  version: 1;
371
+ id: "low_trust_review";
372
372
  rawOutputDisposition: "quarantine";
373
373
  }>>;
374
374
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -394,8 +394,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
394
394
  mode: "low_trust_review";
395
395
  companyId?: string | undefined;
396
396
  projectIds?: string[] | undefined;
397
- issueIds?: string[] | undefined;
398
397
  rootIssueId?: string | undefined;
398
+ issueIds?: string[] | undefined;
399
399
  allowedAgentIds?: string[] | undefined;
400
400
  allowedSecretBindingIds?: string[] | undefined;
401
401
  allowedToolClasses?: string[] | undefined;
@@ -407,8 +407,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
407
407
  mode: "low_trust_review";
408
408
  companyId?: string | undefined;
409
409
  projectIds?: string[] | undefined;
410
- issueIds?: string[] | undefined;
411
410
  rootIssueId?: string | undefined;
411
+ issueIds?: string[] | undefined;
412
412
  allowedAgentIds?: string[] | undefined;
413
413
  allowedSecretBindingIds?: string[] | undefined;
414
414
  allowedToolClasses?: string[] | undefined;
@@ -450,12 +450,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
450
450
  version: z.ZodLiteral<1>;
451
451
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
452
452
  }, "strict", z.ZodTypeAny, {
453
- id: "low_trust_review";
454
453
  version: 1;
454
+ id: "low_trust_review";
455
455
  rawOutputDisposition: "quarantine";
456
456
  }, {
457
- id: "low_trust_review";
458
457
  version: 1;
458
+ id: "low_trust_review";
459
459
  rawOutputDisposition: "quarantine";
460
460
  }>>;
461
461
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -481,8 +481,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
481
481
  mode: "low_trust_review";
482
482
  companyId?: string | undefined;
483
483
  projectIds?: string[] | undefined;
484
- issueIds?: string[] | undefined;
485
484
  rootIssueId?: string | undefined;
485
+ issueIds?: string[] | undefined;
486
486
  allowedAgentIds?: string[] | undefined;
487
487
  allowedSecretBindingIds?: string[] | undefined;
488
488
  allowedToolClasses?: string[] | undefined;
@@ -494,8 +494,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
494
494
  mode: "low_trust_review";
495
495
  companyId?: string | undefined;
496
496
  projectIds?: string[] | undefined;
497
- issueIds?: string[] | undefined;
498
497
  rootIssueId?: string | undefined;
498
+ issueIds?: string[] | undefined;
499
499
  allowedAgentIds?: string[] | undefined;
500
500
  allowedSecretBindingIds?: string[] | undefined;
501
501
  allowedToolClasses?: string[] | undefined;
@@ -542,12 +542,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
542
542
  version: z.ZodLiteral<1>;
543
543
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
544
544
  }, "strict", z.ZodTypeAny, {
545
- id: "low_trust_review";
546
545
  version: 1;
546
+ id: "low_trust_review";
547
547
  rawOutputDisposition: "quarantine";
548
548
  }, {
549
- id: "low_trust_review";
550
549
  version: 1;
550
+ id: "low_trust_review";
551
551
  rawOutputDisposition: "quarantine";
552
552
  }>>;
553
553
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -573,8 +573,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
573
573
  mode: "low_trust_review";
574
574
  companyId?: string | undefined;
575
575
  projectIds?: string[] | undefined;
576
- issueIds?: string[] | undefined;
577
576
  rootIssueId?: string | undefined;
577
+ issueIds?: string[] | undefined;
578
578
  allowedAgentIds?: string[] | undefined;
579
579
  allowedSecretBindingIds?: string[] | undefined;
580
580
  allowedToolClasses?: string[] | undefined;
@@ -586,8 +586,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
586
586
  mode: "low_trust_review";
587
587
  companyId?: string | undefined;
588
588
  projectIds?: string[] | undefined;
589
- issueIds?: string[] | undefined;
590
589
  rootIssueId?: string | undefined;
590
+ issueIds?: string[] | undefined;
591
591
  allowedAgentIds?: string[] | undefined;
592
592
  allowedSecretBindingIds?: string[] | undefined;
593
593
  allowedToolClasses?: string[] | undefined;
@@ -629,12 +629,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
629
629
  version: z.ZodLiteral<1>;
630
630
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
631
631
  }, "strict", z.ZodTypeAny, {
632
- id: "low_trust_review";
633
632
  version: 1;
633
+ id: "low_trust_review";
634
634
  rawOutputDisposition: "quarantine";
635
635
  }, {
636
- id: "low_trust_review";
637
636
  version: 1;
637
+ id: "low_trust_review";
638
638
  rawOutputDisposition: "quarantine";
639
639
  }>>;
640
640
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -660,8 +660,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
660
660
  mode: "low_trust_review";
661
661
  companyId?: string | undefined;
662
662
  projectIds?: string[] | undefined;
663
- issueIds?: string[] | undefined;
664
663
  rootIssueId?: string | undefined;
664
+ issueIds?: string[] | undefined;
665
665
  allowedAgentIds?: string[] | undefined;
666
666
  allowedSecretBindingIds?: string[] | undefined;
667
667
  allowedToolClasses?: string[] | undefined;
@@ -673,8 +673,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
673
673
  mode: "low_trust_review";
674
674
  companyId?: string | undefined;
675
675
  projectIds?: string[] | undefined;
676
- issueIds?: string[] | undefined;
677
676
  rootIssueId?: string | undefined;
677
+ issueIds?: string[] | undefined;
678
678
  allowedAgentIds?: string[] | undefined;
679
679
  allowedSecretBindingIds?: string[] | undefined;
680
680
  allowedToolClasses?: string[] | undefined;
@@ -716,12 +716,12 @@ export declare const agentPermissionsSchema: z.ZodObject<{
716
716
  version: z.ZodLiteral<1>;
717
717
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
718
718
  }, "strict", z.ZodTypeAny, {
719
- id: "low_trust_review";
720
719
  version: 1;
720
+ id: "low_trust_review";
721
721
  rawOutputDisposition: "quarantine";
722
722
  }, {
723
- id: "low_trust_review";
724
723
  version: 1;
724
+ id: "low_trust_review";
725
725
  rawOutputDisposition: "quarantine";
726
726
  }>>;
727
727
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -747,8 +747,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
747
747
  mode: "low_trust_review";
748
748
  companyId?: string | undefined;
749
749
  projectIds?: string[] | undefined;
750
- issueIds?: string[] | undefined;
751
750
  rootIssueId?: string | undefined;
751
+ issueIds?: string[] | undefined;
752
752
  allowedAgentIds?: string[] | undefined;
753
753
  allowedSecretBindingIds?: string[] | undefined;
754
754
  allowedToolClasses?: string[] | undefined;
@@ -760,8 +760,8 @@ export declare const agentPermissionsSchema: z.ZodObject<{
760
760
  mode: "low_trust_review";
761
761
  companyId?: string | undefined;
762
762
  projectIds?: string[] | undefined;
763
- issueIds?: string[] | undefined;
764
763
  rootIssueId?: string | undefined;
764
+ issueIds?: string[] | undefined;
765
765
  allowedAgentIds?: string[] | undefined;
766
766
  allowedSecretBindingIds?: string[] | undefined;
767
767
  allowedToolClasses?: string[] | undefined;
@@ -807,12 +807,12 @@ export declare const updateAgentInstructionsBundleSchema: z.ZodObject<{
807
807
  }, "strip", z.ZodTypeAny, {
808
808
  clearLegacyPromptTemplate: boolean;
809
809
  mode?: "managed" | "external" | undefined;
810
- entryFile?: string | undefined;
811
810
  rootPath?: string | null | undefined;
811
+ entryFile?: string | undefined;
812
812
  }, {
813
813
  mode?: "managed" | "external" | undefined;
814
- entryFile?: string | undefined;
815
814
  rootPath?: string | null | undefined;
815
+ entryFile?: string | undefined;
816
816
  clearLegacyPromptTemplate?: boolean | undefined;
817
817
  }>;
818
818
  export type UpdateAgentInstructionsBundle = z.infer<typeof updateAgentInstructionsBundleSchema>;
@@ -822,8 +822,8 @@ export declare const upsertAgentInstructionsFileSchema: z.ZodObject<{
822
822
  clearLegacyPromptTemplate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
823
823
  }, "strip", z.ZodTypeAny, {
824
824
  path: string;
825
- content: string;
826
825
  clearLegacyPromptTemplate: boolean;
826
+ content: string;
827
827
  }, {
828
828
  path: string;
829
829
  content: string;
@@ -1052,12 +1052,12 @@ export declare const createAgentSchema: z.ZodObject<{
1052
1052
  version: z.ZodLiteral<1>;
1053
1053
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1054
1054
  }, "strict", z.ZodTypeAny, {
1055
- id: "low_trust_review";
1056
1055
  version: 1;
1056
+ id: "low_trust_review";
1057
1057
  rawOutputDisposition: "quarantine";
1058
1058
  }, {
1059
- id: "low_trust_review";
1060
1059
  version: 1;
1060
+ id: "low_trust_review";
1061
1061
  rawOutputDisposition: "quarantine";
1062
1062
  }>>;
1063
1063
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1083,8 +1083,8 @@ export declare const createAgentSchema: z.ZodObject<{
1083
1083
  mode: "low_trust_review";
1084
1084
  companyId?: string | undefined;
1085
1085
  projectIds?: string[] | undefined;
1086
- issueIds?: string[] | undefined;
1087
1086
  rootIssueId?: string | undefined;
1087
+ issueIds?: string[] | undefined;
1088
1088
  allowedAgentIds?: string[] | undefined;
1089
1089
  allowedSecretBindingIds?: string[] | undefined;
1090
1090
  allowedToolClasses?: string[] | undefined;
@@ -1096,8 +1096,8 @@ export declare const createAgentSchema: z.ZodObject<{
1096
1096
  mode: "low_trust_review";
1097
1097
  companyId?: string | undefined;
1098
1098
  projectIds?: string[] | undefined;
1099
- issueIds?: string[] | undefined;
1100
1099
  rootIssueId?: string | undefined;
1100
+ issueIds?: string[] | undefined;
1101
1101
  allowedAgentIds?: string[] | undefined;
1102
1102
  allowedSecretBindingIds?: string[] | undefined;
1103
1103
  allowedToolClasses?: string[] | undefined;
@@ -1139,12 +1139,12 @@ export declare const createAgentSchema: z.ZodObject<{
1139
1139
  version: z.ZodLiteral<1>;
1140
1140
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1141
1141
  }, "strict", z.ZodTypeAny, {
1142
- id: "low_trust_review";
1143
1142
  version: 1;
1143
+ id: "low_trust_review";
1144
1144
  rawOutputDisposition: "quarantine";
1145
1145
  }, {
1146
- id: "low_trust_review";
1147
1146
  version: 1;
1147
+ id: "low_trust_review";
1148
1148
  rawOutputDisposition: "quarantine";
1149
1149
  }>>;
1150
1150
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1170,8 +1170,8 @@ export declare const createAgentSchema: z.ZodObject<{
1170
1170
  mode: "low_trust_review";
1171
1171
  companyId?: string | undefined;
1172
1172
  projectIds?: string[] | undefined;
1173
- issueIds?: string[] | undefined;
1174
1173
  rootIssueId?: string | undefined;
1174
+ issueIds?: string[] | undefined;
1175
1175
  allowedAgentIds?: string[] | undefined;
1176
1176
  allowedSecretBindingIds?: string[] | undefined;
1177
1177
  allowedToolClasses?: string[] | undefined;
@@ -1183,8 +1183,8 @@ export declare const createAgentSchema: z.ZodObject<{
1183
1183
  mode: "low_trust_review";
1184
1184
  companyId?: string | undefined;
1185
1185
  projectIds?: string[] | undefined;
1186
- issueIds?: string[] | undefined;
1187
1186
  rootIssueId?: string | undefined;
1187
+ issueIds?: string[] | undefined;
1188
1188
  allowedAgentIds?: string[] | undefined;
1189
1189
  allowedSecretBindingIds?: string[] | undefined;
1190
1190
  allowedToolClasses?: string[] | undefined;
@@ -1226,12 +1226,12 @@ export declare const createAgentSchema: z.ZodObject<{
1226
1226
  version: z.ZodLiteral<1>;
1227
1227
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1228
1228
  }, "strict", z.ZodTypeAny, {
1229
- id: "low_trust_review";
1230
1229
  version: 1;
1230
+ id: "low_trust_review";
1231
1231
  rawOutputDisposition: "quarantine";
1232
1232
  }, {
1233
- id: "low_trust_review";
1234
1233
  version: 1;
1234
+ id: "low_trust_review";
1235
1235
  rawOutputDisposition: "quarantine";
1236
1236
  }>>;
1237
1237
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1257,8 +1257,8 @@ export declare const createAgentSchema: z.ZodObject<{
1257
1257
  mode: "low_trust_review";
1258
1258
  companyId?: string | undefined;
1259
1259
  projectIds?: string[] | undefined;
1260
- issueIds?: string[] | undefined;
1261
1260
  rootIssueId?: string | undefined;
1261
+ issueIds?: string[] | undefined;
1262
1262
  allowedAgentIds?: string[] | undefined;
1263
1263
  allowedSecretBindingIds?: string[] | undefined;
1264
1264
  allowedToolClasses?: string[] | undefined;
@@ -1270,8 +1270,8 @@ export declare const createAgentSchema: z.ZodObject<{
1270
1270
  mode: "low_trust_review";
1271
1271
  companyId?: string | undefined;
1272
1272
  projectIds?: string[] | undefined;
1273
- issueIds?: string[] | undefined;
1274
1273
  rootIssueId?: string | undefined;
1274
+ issueIds?: string[] | undefined;
1275
1275
  allowedAgentIds?: string[] | undefined;
1276
1276
  allowedSecretBindingIds?: string[] | undefined;
1277
1277
  allowedToolClasses?: string[] | undefined;
@@ -1318,12 +1318,12 @@ export declare const createAgentSchema: z.ZodObject<{
1318
1318
  version: z.ZodLiteral<1>;
1319
1319
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1320
1320
  }, "strict", z.ZodTypeAny, {
1321
- id: "low_trust_review";
1322
1321
  version: 1;
1322
+ id: "low_trust_review";
1323
1323
  rawOutputDisposition: "quarantine";
1324
1324
  }, {
1325
- id: "low_trust_review";
1326
1325
  version: 1;
1326
+ id: "low_trust_review";
1327
1327
  rawOutputDisposition: "quarantine";
1328
1328
  }>>;
1329
1329
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1349,8 +1349,8 @@ export declare const createAgentSchema: z.ZodObject<{
1349
1349
  mode: "low_trust_review";
1350
1350
  companyId?: string | undefined;
1351
1351
  projectIds?: string[] | undefined;
1352
- issueIds?: string[] | undefined;
1353
1352
  rootIssueId?: string | undefined;
1353
+ issueIds?: string[] | undefined;
1354
1354
  allowedAgentIds?: string[] | undefined;
1355
1355
  allowedSecretBindingIds?: string[] | undefined;
1356
1356
  allowedToolClasses?: string[] | undefined;
@@ -1362,8 +1362,8 @@ export declare const createAgentSchema: z.ZodObject<{
1362
1362
  mode: "low_trust_review";
1363
1363
  companyId?: string | undefined;
1364
1364
  projectIds?: string[] | undefined;
1365
- issueIds?: string[] | undefined;
1366
1365
  rootIssueId?: string | undefined;
1366
+ issueIds?: string[] | undefined;
1367
1367
  allowedAgentIds?: string[] | undefined;
1368
1368
  allowedSecretBindingIds?: string[] | undefined;
1369
1369
  allowedToolClasses?: string[] | undefined;
@@ -1405,12 +1405,12 @@ export declare const createAgentSchema: z.ZodObject<{
1405
1405
  version: z.ZodLiteral<1>;
1406
1406
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1407
1407
  }, "strict", z.ZodTypeAny, {
1408
- id: "low_trust_review";
1409
1408
  version: 1;
1409
+ id: "low_trust_review";
1410
1410
  rawOutputDisposition: "quarantine";
1411
1411
  }, {
1412
- id: "low_trust_review";
1413
1412
  version: 1;
1413
+ id: "low_trust_review";
1414
1414
  rawOutputDisposition: "quarantine";
1415
1415
  }>>;
1416
1416
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1436,8 +1436,8 @@ export declare const createAgentSchema: z.ZodObject<{
1436
1436
  mode: "low_trust_review";
1437
1437
  companyId?: string | undefined;
1438
1438
  projectIds?: string[] | undefined;
1439
- issueIds?: string[] | undefined;
1440
1439
  rootIssueId?: string | undefined;
1440
+ issueIds?: string[] | undefined;
1441
1441
  allowedAgentIds?: string[] | undefined;
1442
1442
  allowedSecretBindingIds?: string[] | undefined;
1443
1443
  allowedToolClasses?: string[] | undefined;
@@ -1449,8 +1449,8 @@ export declare const createAgentSchema: z.ZodObject<{
1449
1449
  mode: "low_trust_review";
1450
1450
  companyId?: string | undefined;
1451
1451
  projectIds?: string[] | undefined;
1452
- issueIds?: string[] | undefined;
1453
1452
  rootIssueId?: string | undefined;
1453
+ issueIds?: string[] | undefined;
1454
1454
  allowedAgentIds?: string[] | undefined;
1455
1455
  allowedSecretBindingIds?: string[] | undefined;
1456
1456
  allowedToolClasses?: string[] | undefined;
@@ -1492,12 +1492,12 @@ export declare const createAgentSchema: z.ZodObject<{
1492
1492
  version: z.ZodLiteral<1>;
1493
1493
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1494
1494
  }, "strict", z.ZodTypeAny, {
1495
- id: "low_trust_review";
1496
1495
  version: 1;
1496
+ id: "low_trust_review";
1497
1497
  rawOutputDisposition: "quarantine";
1498
1498
  }, {
1499
- id: "low_trust_review";
1500
1499
  version: 1;
1500
+ id: "low_trust_review";
1501
1501
  rawOutputDisposition: "quarantine";
1502
1502
  }>>;
1503
1503
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1523,8 +1523,8 @@ export declare const createAgentSchema: z.ZodObject<{
1523
1523
  mode: "low_trust_review";
1524
1524
  companyId?: string | undefined;
1525
1525
  projectIds?: string[] | undefined;
1526
- issueIds?: string[] | undefined;
1527
1526
  rootIssueId?: string | undefined;
1527
+ issueIds?: string[] | undefined;
1528
1528
  allowedAgentIds?: string[] | undefined;
1529
1529
  allowedSecretBindingIds?: string[] | undefined;
1530
1530
  allowedToolClasses?: string[] | undefined;
@@ -1536,8 +1536,8 @@ export declare const createAgentSchema: z.ZodObject<{
1536
1536
  mode: "low_trust_review";
1537
1537
  companyId?: string | undefined;
1538
1538
  projectIds?: string[] | undefined;
1539
- issueIds?: string[] | undefined;
1540
1539
  rootIssueId?: string | undefined;
1540
+ issueIds?: string[] | undefined;
1541
1541
  allowedAgentIds?: string[] | undefined;
1542
1542
  allowedSecretBindingIds?: string[] | undefined;
1543
1543
  allowedToolClasses?: string[] | undefined;
@@ -1584,12 +1584,12 @@ export declare const createAgentSchema: z.ZodObject<{
1584
1584
  version: z.ZodLiteral<1>;
1585
1585
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1586
1586
  }, "strict", z.ZodTypeAny, {
1587
- id: "low_trust_review";
1588
1587
  version: 1;
1588
+ id: "low_trust_review";
1589
1589
  rawOutputDisposition: "quarantine";
1590
1590
  }, {
1591
- id: "low_trust_review";
1592
1591
  version: 1;
1592
+ id: "low_trust_review";
1593
1593
  rawOutputDisposition: "quarantine";
1594
1594
  }>>;
1595
1595
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1615,8 +1615,8 @@ export declare const createAgentSchema: z.ZodObject<{
1615
1615
  mode: "low_trust_review";
1616
1616
  companyId?: string | undefined;
1617
1617
  projectIds?: string[] | undefined;
1618
- issueIds?: string[] | undefined;
1619
1618
  rootIssueId?: string | undefined;
1619
+ issueIds?: string[] | undefined;
1620
1620
  allowedAgentIds?: string[] | undefined;
1621
1621
  allowedSecretBindingIds?: string[] | undefined;
1622
1622
  allowedToolClasses?: string[] | undefined;
@@ -1628,8 +1628,8 @@ export declare const createAgentSchema: z.ZodObject<{
1628
1628
  mode: "low_trust_review";
1629
1629
  companyId?: string | undefined;
1630
1630
  projectIds?: string[] | undefined;
1631
- issueIds?: string[] | undefined;
1632
1631
  rootIssueId?: string | undefined;
1632
+ issueIds?: string[] | undefined;
1633
1633
  allowedAgentIds?: string[] | undefined;
1634
1634
  allowedSecretBindingIds?: string[] | undefined;
1635
1635
  allowedToolClasses?: string[] | undefined;
@@ -1671,12 +1671,12 @@ export declare const createAgentSchema: z.ZodObject<{
1671
1671
  version: z.ZodLiteral<1>;
1672
1672
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1673
1673
  }, "strict", z.ZodTypeAny, {
1674
- id: "low_trust_review";
1675
1674
  version: 1;
1675
+ id: "low_trust_review";
1676
1676
  rawOutputDisposition: "quarantine";
1677
1677
  }, {
1678
- id: "low_trust_review";
1679
1678
  version: 1;
1679
+ id: "low_trust_review";
1680
1680
  rawOutputDisposition: "quarantine";
1681
1681
  }>>;
1682
1682
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1702,8 +1702,8 @@ export declare const createAgentSchema: z.ZodObject<{
1702
1702
  mode: "low_trust_review";
1703
1703
  companyId?: string | undefined;
1704
1704
  projectIds?: string[] | undefined;
1705
- issueIds?: string[] | undefined;
1706
1705
  rootIssueId?: string | undefined;
1706
+ issueIds?: string[] | undefined;
1707
1707
  allowedAgentIds?: string[] | undefined;
1708
1708
  allowedSecretBindingIds?: string[] | undefined;
1709
1709
  allowedToolClasses?: string[] | undefined;
@@ -1715,8 +1715,8 @@ export declare const createAgentSchema: z.ZodObject<{
1715
1715
  mode: "low_trust_review";
1716
1716
  companyId?: string | undefined;
1717
1717
  projectIds?: string[] | undefined;
1718
- issueIds?: string[] | undefined;
1719
1718
  rootIssueId?: string | undefined;
1719
+ issueIds?: string[] | undefined;
1720
1720
  allowedAgentIds?: string[] | undefined;
1721
1721
  allowedSecretBindingIds?: string[] | undefined;
1722
1722
  allowedToolClasses?: string[] | undefined;
@@ -1758,12 +1758,12 @@ export declare const createAgentSchema: z.ZodObject<{
1758
1758
  version: z.ZodLiteral<1>;
1759
1759
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1760
1760
  }, "strict", z.ZodTypeAny, {
1761
- id: "low_trust_review";
1762
1761
  version: 1;
1762
+ id: "low_trust_review";
1763
1763
  rawOutputDisposition: "quarantine";
1764
1764
  }, {
1765
- id: "low_trust_review";
1766
1765
  version: 1;
1766
+ id: "low_trust_review";
1767
1767
  rawOutputDisposition: "quarantine";
1768
1768
  }>>;
1769
1769
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1789,8 +1789,8 @@ export declare const createAgentSchema: z.ZodObject<{
1789
1789
  mode: "low_trust_review";
1790
1790
  companyId?: string | undefined;
1791
1791
  projectIds?: string[] | undefined;
1792
- issueIds?: string[] | undefined;
1793
1792
  rootIssueId?: string | undefined;
1793
+ issueIds?: string[] | undefined;
1794
1794
  allowedAgentIds?: string[] | undefined;
1795
1795
  allowedSecretBindingIds?: string[] | undefined;
1796
1796
  allowedToolClasses?: string[] | undefined;
@@ -1802,8 +1802,8 @@ export declare const createAgentSchema: z.ZodObject<{
1802
1802
  mode: "low_trust_review";
1803
1803
  companyId?: string | undefined;
1804
1804
  projectIds?: string[] | undefined;
1805
- issueIds?: string[] | undefined;
1806
1805
  rootIssueId?: string | undefined;
1806
+ issueIds?: string[] | undefined;
1807
1807
  allowedAgentIds?: string[] | undefined;
1808
1808
  allowedSecretBindingIds?: string[] | undefined;
1809
1809
  allowedToolClasses?: string[] | undefined;
@@ -1841,11 +1841,13 @@ export declare const createAgentSchema: z.ZodObject<{
1841
1841
  }, z.ZodUnknown, "strip">>>;
1842
1842
  }, z.ZodUnknown, "strip">>>;
1843
1843
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1844
+ storedSessionId: z.ZodOptional<z.ZodString>;
1845
+ applyStoredClaudeLogin: z.ZodOptional<z.ZodBoolean>;
1844
1846
  }, "strip", z.ZodTypeAny, {
1845
1847
  name: string;
1848
+ adapterType: string;
1846
1849
  adapterConfig: Record<string, unknown>;
1847
1850
  role: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general";
1848
- adapterType: string;
1849
1851
  runtimeConfig: {
1850
1852
  modelProfiles?: {
1851
1853
  cheap?: {
@@ -1859,9 +1861,18 @@ export declare const createAgentSchema: z.ZodObject<{
1859
1861
  };
1860
1862
  budgetMonthlyCents: number;
1861
1863
  title?: string | null | undefined;
1864
+ desiredSkills?: (string | {
1865
+ key: string;
1866
+ versionId: string | null;
1867
+ })[] | undefined;
1862
1868
  icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
1863
- metadata?: Record<string, unknown> | null | undefined;
1869
+ reportsTo?: string | null | undefined;
1864
1870
  capabilities?: string | null | undefined;
1871
+ instructionsBundle?: {
1872
+ files: Record<string, string>;
1873
+ entryFile?: string | undefined;
1874
+ } | undefined;
1875
+ defaultEnvironmentId?: string | null | undefined;
1865
1876
  permissions?: z.objectOutputType<{
1866
1877
  canCreateAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1867
1878
  canCreateSkills: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -1873,12 +1884,12 @@ export declare const createAgentSchema: z.ZodObject<{
1873
1884
  version: z.ZodLiteral<1>;
1874
1885
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1875
1886
  }, "strict", z.ZodTypeAny, {
1876
- id: "low_trust_review";
1877
1887
  version: 1;
1888
+ id: "low_trust_review";
1878
1889
  rawOutputDisposition: "quarantine";
1879
1890
  }, {
1880
- id: "low_trust_review";
1881
1891
  version: 1;
1892
+ id: "low_trust_review";
1882
1893
  rawOutputDisposition: "quarantine";
1883
1894
  }>>;
1884
1895
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1904,8 +1915,8 @@ export declare const createAgentSchema: z.ZodObject<{
1904
1915
  mode: "low_trust_review";
1905
1916
  companyId?: string | undefined;
1906
1917
  projectIds?: string[] | undefined;
1907
- issueIds?: string[] | undefined;
1908
1918
  rootIssueId?: string | undefined;
1919
+ issueIds?: string[] | undefined;
1909
1920
  allowedAgentIds?: string[] | undefined;
1910
1921
  allowedSecretBindingIds?: string[] | undefined;
1911
1922
  allowedToolClasses?: string[] | undefined;
@@ -1917,8 +1928,8 @@ export declare const createAgentSchema: z.ZodObject<{
1917
1928
  mode: "low_trust_review";
1918
1929
  companyId?: string | undefined;
1919
1930
  projectIds?: string[] | undefined;
1920
- issueIds?: string[] | undefined;
1921
1931
  rootIssueId?: string | undefined;
1932
+ issueIds?: string[] | undefined;
1922
1933
  allowedAgentIds?: string[] | undefined;
1923
1934
  allowedSecretBindingIds?: string[] | undefined;
1924
1935
  allowedToolClasses?: string[] | undefined;
@@ -1960,12 +1971,12 @@ export declare const createAgentSchema: z.ZodObject<{
1960
1971
  version: z.ZodLiteral<1>;
1961
1972
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1962
1973
  }, "strict", z.ZodTypeAny, {
1963
- id: "low_trust_review";
1964
1974
  version: 1;
1975
+ id: "low_trust_review";
1965
1976
  rawOutputDisposition: "quarantine";
1966
1977
  }, {
1967
- id: "low_trust_review";
1968
1978
  version: 1;
1979
+ id: "low_trust_review";
1969
1980
  rawOutputDisposition: "quarantine";
1970
1981
  }>>;
1971
1982
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1991,8 +2002,8 @@ export declare const createAgentSchema: z.ZodObject<{
1991
2002
  mode: "low_trust_review";
1992
2003
  companyId?: string | undefined;
1993
2004
  projectIds?: string[] | undefined;
1994
- issueIds?: string[] | undefined;
1995
2005
  rootIssueId?: string | undefined;
2006
+ issueIds?: string[] | undefined;
1996
2007
  allowedAgentIds?: string[] | undefined;
1997
2008
  allowedSecretBindingIds?: string[] | undefined;
1998
2009
  allowedToolClasses?: string[] | undefined;
@@ -2004,8 +2015,8 @@ export declare const createAgentSchema: z.ZodObject<{
2004
2015
  mode: "low_trust_review";
2005
2016
  companyId?: string | undefined;
2006
2017
  projectIds?: string[] | undefined;
2007
- issueIds?: string[] | undefined;
2008
2018
  rootIssueId?: string | undefined;
2019
+ issueIds?: string[] | undefined;
2009
2020
  allowedAgentIds?: string[] | undefined;
2010
2021
  allowedSecretBindingIds?: string[] | undefined;
2011
2022
  allowedToolClasses?: string[] | undefined;
@@ -2047,12 +2058,12 @@ export declare const createAgentSchema: z.ZodObject<{
2047
2058
  version: z.ZodLiteral<1>;
2048
2059
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2049
2060
  }, "strict", z.ZodTypeAny, {
2050
- id: "low_trust_review";
2051
2061
  version: 1;
2062
+ id: "low_trust_review";
2052
2063
  rawOutputDisposition: "quarantine";
2053
2064
  }, {
2054
- id: "low_trust_review";
2055
2065
  version: 1;
2066
+ id: "low_trust_review";
2056
2067
  rawOutputDisposition: "quarantine";
2057
2068
  }>>;
2058
2069
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2078,8 +2089,8 @@ export declare const createAgentSchema: z.ZodObject<{
2078
2089
  mode: "low_trust_review";
2079
2090
  companyId?: string | undefined;
2080
2091
  projectIds?: string[] | undefined;
2081
- issueIds?: string[] | undefined;
2082
2092
  rootIssueId?: string | undefined;
2093
+ issueIds?: string[] | undefined;
2083
2094
  allowedAgentIds?: string[] | undefined;
2084
2095
  allowedSecretBindingIds?: string[] | undefined;
2085
2096
  allowedToolClasses?: string[] | undefined;
@@ -2091,8 +2102,8 @@ export declare const createAgentSchema: z.ZodObject<{
2091
2102
  mode: "low_trust_review";
2092
2103
  companyId?: string | undefined;
2093
2104
  projectIds?: string[] | undefined;
2094
- issueIds?: string[] | undefined;
2095
2105
  rootIssueId?: string | undefined;
2106
+ issueIds?: string[] | undefined;
2096
2107
  allowedAgentIds?: string[] | undefined;
2097
2108
  allowedSecretBindingIds?: string[] | undefined;
2098
2109
  allowedToolClasses?: string[] | undefined;
@@ -2129,25 +2140,26 @@ export declare const createAgentSchema: z.ZodObject<{
2129
2140
  }, z.ZodUnknown, "strip">>>;
2130
2141
  }, z.ZodUnknown, "strip">>>;
2131
2142
  }, z.ZodUnknown, "strip"> | undefined;
2143
+ metadata?: Record<string, unknown> | null | undefined;
2144
+ storedSessionId?: string | undefined;
2145
+ applyStoredClaudeLogin?: boolean | undefined;
2146
+ }, {
2147
+ name: string;
2148
+ title?: string | null | undefined;
2149
+ adapterType?: string | undefined;
2132
2150
  desiredSkills?: (string | {
2133
2151
  key: string;
2134
2152
  versionId: string | null;
2135
2153
  })[] | undefined;
2154
+ adapterConfig?: Record<string, unknown> | undefined;
2155
+ role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
2156
+ icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
2136
2157
  reportsTo?: string | null | undefined;
2158
+ capabilities?: string | null | undefined;
2137
2159
  instructionsBundle?: {
2138
2160
  files: Record<string, string>;
2139
2161
  entryFile?: string | undefined;
2140
2162
  } | undefined;
2141
- defaultEnvironmentId?: string | null | undefined;
2142
- }, {
2143
- name: string;
2144
- title?: string | null | undefined;
2145
- icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
2146
- metadata?: Record<string, unknown> | null | undefined;
2147
- adapterConfig?: Record<string, unknown> | undefined;
2148
- role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
2149
- capabilities?: string | null | undefined;
2150
- adapterType?: string | undefined;
2151
2163
  runtimeConfig?: z.objectInputType<{
2152
2164
  modelProfiles: z.ZodOptional<z.ZodObject<{
2153
2165
  cheap: z.ZodOptional<z.ZodObject<{
@@ -2177,6 +2189,8 @@ export declare const createAgentSchema: z.ZodObject<{
2177
2189
  } | undefined;
2178
2190
  }>>;
2179
2191
  }, z.ZodUnknown, "strip"> | undefined;
2192
+ defaultEnvironmentId?: string | null | undefined;
2193
+ budgetMonthlyCents?: number | undefined;
2180
2194
  permissions?: z.objectInputType<{
2181
2195
  canCreateAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2182
2196
  canCreateSkills: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -2188,12 +2202,12 @@ export declare const createAgentSchema: z.ZodObject<{
2188
2202
  version: z.ZodLiteral<1>;
2189
2203
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2190
2204
  }, "strict", z.ZodTypeAny, {
2191
- id: "low_trust_review";
2192
2205
  version: 1;
2206
+ id: "low_trust_review";
2193
2207
  rawOutputDisposition: "quarantine";
2194
2208
  }, {
2195
- id: "low_trust_review";
2196
2209
  version: 1;
2210
+ id: "low_trust_review";
2197
2211
  rawOutputDisposition: "quarantine";
2198
2212
  }>>;
2199
2213
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2219,8 +2233,8 @@ export declare const createAgentSchema: z.ZodObject<{
2219
2233
  mode: "low_trust_review";
2220
2234
  companyId?: string | undefined;
2221
2235
  projectIds?: string[] | undefined;
2222
- issueIds?: string[] | undefined;
2223
2236
  rootIssueId?: string | undefined;
2237
+ issueIds?: string[] | undefined;
2224
2238
  allowedAgentIds?: string[] | undefined;
2225
2239
  allowedSecretBindingIds?: string[] | undefined;
2226
2240
  allowedToolClasses?: string[] | undefined;
@@ -2232,8 +2246,8 @@ export declare const createAgentSchema: z.ZodObject<{
2232
2246
  mode: "low_trust_review";
2233
2247
  companyId?: string | undefined;
2234
2248
  projectIds?: string[] | undefined;
2235
- issueIds?: string[] | undefined;
2236
2249
  rootIssueId?: string | undefined;
2250
+ issueIds?: string[] | undefined;
2237
2251
  allowedAgentIds?: string[] | undefined;
2238
2252
  allowedSecretBindingIds?: string[] | undefined;
2239
2253
  allowedToolClasses?: string[] | undefined;
@@ -2275,12 +2289,12 @@ export declare const createAgentSchema: z.ZodObject<{
2275
2289
  version: z.ZodLiteral<1>;
2276
2290
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2277
2291
  }, "strict", z.ZodTypeAny, {
2278
- id: "low_trust_review";
2279
2292
  version: 1;
2293
+ id: "low_trust_review";
2280
2294
  rawOutputDisposition: "quarantine";
2281
2295
  }, {
2282
- id: "low_trust_review";
2283
2296
  version: 1;
2297
+ id: "low_trust_review";
2284
2298
  rawOutputDisposition: "quarantine";
2285
2299
  }>>;
2286
2300
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2306,8 +2320,8 @@ export declare const createAgentSchema: z.ZodObject<{
2306
2320
  mode: "low_trust_review";
2307
2321
  companyId?: string | undefined;
2308
2322
  projectIds?: string[] | undefined;
2309
- issueIds?: string[] | undefined;
2310
2323
  rootIssueId?: string | undefined;
2324
+ issueIds?: string[] | undefined;
2311
2325
  allowedAgentIds?: string[] | undefined;
2312
2326
  allowedSecretBindingIds?: string[] | undefined;
2313
2327
  allowedToolClasses?: string[] | undefined;
@@ -2319,8 +2333,8 @@ export declare const createAgentSchema: z.ZodObject<{
2319
2333
  mode: "low_trust_review";
2320
2334
  companyId?: string | undefined;
2321
2335
  projectIds?: string[] | undefined;
2322
- issueIds?: string[] | undefined;
2323
2336
  rootIssueId?: string | undefined;
2337
+ issueIds?: string[] | undefined;
2324
2338
  allowedAgentIds?: string[] | undefined;
2325
2339
  allowedSecretBindingIds?: string[] | undefined;
2326
2340
  allowedToolClasses?: string[] | undefined;
@@ -2362,12 +2376,12 @@ export declare const createAgentSchema: z.ZodObject<{
2362
2376
  version: z.ZodLiteral<1>;
2363
2377
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2364
2378
  }, "strict", z.ZodTypeAny, {
2365
- id: "low_trust_review";
2366
2379
  version: 1;
2380
+ id: "low_trust_review";
2367
2381
  rawOutputDisposition: "quarantine";
2368
2382
  }, {
2369
- id: "low_trust_review";
2370
2383
  version: 1;
2384
+ id: "low_trust_review";
2371
2385
  rawOutputDisposition: "quarantine";
2372
2386
  }>>;
2373
2387
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2393,8 +2407,8 @@ export declare const createAgentSchema: z.ZodObject<{
2393
2407
  mode: "low_trust_review";
2394
2408
  companyId?: string | undefined;
2395
2409
  projectIds?: string[] | undefined;
2396
- issueIds?: string[] | undefined;
2397
2410
  rootIssueId?: string | undefined;
2411
+ issueIds?: string[] | undefined;
2398
2412
  allowedAgentIds?: string[] | undefined;
2399
2413
  allowedSecretBindingIds?: string[] | undefined;
2400
2414
  allowedToolClasses?: string[] | undefined;
@@ -2406,8 +2420,8 @@ export declare const createAgentSchema: z.ZodObject<{
2406
2420
  mode: "low_trust_review";
2407
2421
  companyId?: string | undefined;
2408
2422
  projectIds?: string[] | undefined;
2409
- issueIds?: string[] | undefined;
2410
2423
  rootIssueId?: string | undefined;
2424
+ issueIds?: string[] | undefined;
2411
2425
  allowedAgentIds?: string[] | undefined;
2412
2426
  allowedSecretBindingIds?: string[] | undefined;
2413
2427
  allowedToolClasses?: string[] | undefined;
@@ -2444,17 +2458,9 @@ export declare const createAgentSchema: z.ZodObject<{
2444
2458
  }, z.ZodUnknown, "strip">>>;
2445
2459
  }, z.ZodUnknown, "strip">>>;
2446
2460
  }, z.ZodUnknown, "strip"> | undefined;
2447
- budgetMonthlyCents?: number | undefined;
2448
- desiredSkills?: (string | {
2449
- key: string;
2450
- versionId: string | null;
2451
- })[] | undefined;
2452
- reportsTo?: string | null | undefined;
2453
- instructionsBundle?: {
2454
- files: Record<string, string>;
2455
- entryFile?: string | undefined;
2456
- } | undefined;
2457
- defaultEnvironmentId?: string | null | undefined;
2461
+ metadata?: Record<string, unknown> | null | undefined;
2462
+ storedSessionId?: string | undefined;
2463
+ applyStoredClaudeLogin?: boolean | undefined;
2458
2464
  }>;
2459
2465
  export type CreateAgent = z.infer<typeof createAgentSchema>;
2460
2466
  export declare const builtInAgentProvisionSchema: z.ZodObject<{
@@ -2462,12 +2468,12 @@ export declare const builtInAgentProvisionSchema: z.ZodObject<{
2462
2468
  adapterConfig: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
2463
2469
  budgetMonthlyCents: z.ZodOptional<z.ZodNumber>;
2464
2470
  }, "strict", z.ZodTypeAny, {
2465
- adapterConfig?: Record<string, unknown> | undefined;
2466
2471
  adapterType?: string | undefined;
2472
+ adapterConfig?: Record<string, unknown> | undefined;
2467
2473
  budgetMonthlyCents?: number | undefined;
2468
2474
  }, {
2469
- adapterConfig?: Record<string, unknown> | undefined;
2470
2475
  adapterType?: string | undefined;
2476
+ adapterConfig?: Record<string, unknown> | undefined;
2471
2477
  budgetMonthlyCents?: number | undefined;
2472
2478
  }>;
2473
2479
  export type BuiltInAgentProvision = z.infer<typeof builtInAgentProvisionSchema>;
@@ -2608,12 +2614,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
2608
2614
  version: z.ZodLiteral<1>;
2609
2615
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2610
2616
  }, "strict", z.ZodTypeAny, {
2611
- id: "low_trust_review";
2612
2617
  version: 1;
2618
+ id: "low_trust_review";
2613
2619
  rawOutputDisposition: "quarantine";
2614
2620
  }, {
2615
- id: "low_trust_review";
2616
2621
  version: 1;
2622
+ id: "low_trust_review";
2617
2623
  rawOutputDisposition: "quarantine";
2618
2624
  }>>;
2619
2625
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2639,8 +2645,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2639
2645
  mode: "low_trust_review";
2640
2646
  companyId?: string | undefined;
2641
2647
  projectIds?: string[] | undefined;
2642
- issueIds?: string[] | undefined;
2643
2648
  rootIssueId?: string | undefined;
2649
+ issueIds?: string[] | undefined;
2644
2650
  allowedAgentIds?: string[] | undefined;
2645
2651
  allowedSecretBindingIds?: string[] | undefined;
2646
2652
  allowedToolClasses?: string[] | undefined;
@@ -2652,8 +2658,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2652
2658
  mode: "low_trust_review";
2653
2659
  companyId?: string | undefined;
2654
2660
  projectIds?: string[] | undefined;
2655
- issueIds?: string[] | undefined;
2656
2661
  rootIssueId?: string | undefined;
2662
+ issueIds?: string[] | undefined;
2657
2663
  allowedAgentIds?: string[] | undefined;
2658
2664
  allowedSecretBindingIds?: string[] | undefined;
2659
2665
  allowedToolClasses?: string[] | undefined;
@@ -2695,12 +2701,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
2695
2701
  version: z.ZodLiteral<1>;
2696
2702
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2697
2703
  }, "strict", z.ZodTypeAny, {
2698
- id: "low_trust_review";
2699
2704
  version: 1;
2705
+ id: "low_trust_review";
2700
2706
  rawOutputDisposition: "quarantine";
2701
2707
  }, {
2702
- id: "low_trust_review";
2703
2708
  version: 1;
2709
+ id: "low_trust_review";
2704
2710
  rawOutputDisposition: "quarantine";
2705
2711
  }>>;
2706
2712
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2726,8 +2732,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2726
2732
  mode: "low_trust_review";
2727
2733
  companyId?: string | undefined;
2728
2734
  projectIds?: string[] | undefined;
2729
- issueIds?: string[] | undefined;
2730
2735
  rootIssueId?: string | undefined;
2736
+ issueIds?: string[] | undefined;
2731
2737
  allowedAgentIds?: string[] | undefined;
2732
2738
  allowedSecretBindingIds?: string[] | undefined;
2733
2739
  allowedToolClasses?: string[] | undefined;
@@ -2739,8 +2745,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2739
2745
  mode: "low_trust_review";
2740
2746
  companyId?: string | undefined;
2741
2747
  projectIds?: string[] | undefined;
2742
- issueIds?: string[] | undefined;
2743
2748
  rootIssueId?: string | undefined;
2749
+ issueIds?: string[] | undefined;
2744
2750
  allowedAgentIds?: string[] | undefined;
2745
2751
  allowedSecretBindingIds?: string[] | undefined;
2746
2752
  allowedToolClasses?: string[] | undefined;
@@ -2782,12 +2788,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
2782
2788
  version: z.ZodLiteral<1>;
2783
2789
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2784
2790
  }, "strict", z.ZodTypeAny, {
2785
- id: "low_trust_review";
2786
2791
  version: 1;
2792
+ id: "low_trust_review";
2787
2793
  rawOutputDisposition: "quarantine";
2788
2794
  }, {
2789
- id: "low_trust_review";
2790
2795
  version: 1;
2796
+ id: "low_trust_review";
2791
2797
  rawOutputDisposition: "quarantine";
2792
2798
  }>>;
2793
2799
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2813,8 +2819,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2813
2819
  mode: "low_trust_review";
2814
2820
  companyId?: string | undefined;
2815
2821
  projectIds?: string[] | undefined;
2816
- issueIds?: string[] | undefined;
2817
2822
  rootIssueId?: string | undefined;
2823
+ issueIds?: string[] | undefined;
2818
2824
  allowedAgentIds?: string[] | undefined;
2819
2825
  allowedSecretBindingIds?: string[] | undefined;
2820
2826
  allowedToolClasses?: string[] | undefined;
@@ -2826,8 +2832,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2826
2832
  mode: "low_trust_review";
2827
2833
  companyId?: string | undefined;
2828
2834
  projectIds?: string[] | undefined;
2829
- issueIds?: string[] | undefined;
2830
2835
  rootIssueId?: string | undefined;
2836
+ issueIds?: string[] | undefined;
2831
2837
  allowedAgentIds?: string[] | undefined;
2832
2838
  allowedSecretBindingIds?: string[] | undefined;
2833
2839
  allowedToolClasses?: string[] | undefined;
@@ -2874,12 +2880,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
2874
2880
  version: z.ZodLiteral<1>;
2875
2881
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2876
2882
  }, "strict", z.ZodTypeAny, {
2877
- id: "low_trust_review";
2878
2883
  version: 1;
2884
+ id: "low_trust_review";
2879
2885
  rawOutputDisposition: "quarantine";
2880
2886
  }, {
2881
- id: "low_trust_review";
2882
2887
  version: 1;
2888
+ id: "low_trust_review";
2883
2889
  rawOutputDisposition: "quarantine";
2884
2890
  }>>;
2885
2891
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2905,8 +2911,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2905
2911
  mode: "low_trust_review";
2906
2912
  companyId?: string | undefined;
2907
2913
  projectIds?: string[] | undefined;
2908
- issueIds?: string[] | undefined;
2909
2914
  rootIssueId?: string | undefined;
2915
+ issueIds?: string[] | undefined;
2910
2916
  allowedAgentIds?: string[] | undefined;
2911
2917
  allowedSecretBindingIds?: string[] | undefined;
2912
2918
  allowedToolClasses?: string[] | undefined;
@@ -2918,8 +2924,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2918
2924
  mode: "low_trust_review";
2919
2925
  companyId?: string | undefined;
2920
2926
  projectIds?: string[] | undefined;
2921
- issueIds?: string[] | undefined;
2922
2927
  rootIssueId?: string | undefined;
2928
+ issueIds?: string[] | undefined;
2923
2929
  allowedAgentIds?: string[] | undefined;
2924
2930
  allowedSecretBindingIds?: string[] | undefined;
2925
2931
  allowedToolClasses?: string[] | undefined;
@@ -2961,12 +2967,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
2961
2967
  version: z.ZodLiteral<1>;
2962
2968
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2963
2969
  }, "strict", z.ZodTypeAny, {
2964
- id: "low_trust_review";
2965
2970
  version: 1;
2971
+ id: "low_trust_review";
2966
2972
  rawOutputDisposition: "quarantine";
2967
2973
  }, {
2968
- id: "low_trust_review";
2969
2974
  version: 1;
2975
+ id: "low_trust_review";
2970
2976
  rawOutputDisposition: "quarantine";
2971
2977
  }>>;
2972
2978
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2992,8 +2998,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
2992
2998
  mode: "low_trust_review";
2993
2999
  companyId?: string | undefined;
2994
3000
  projectIds?: string[] | undefined;
2995
- issueIds?: string[] | undefined;
2996
3001
  rootIssueId?: string | undefined;
3002
+ issueIds?: string[] | undefined;
2997
3003
  allowedAgentIds?: string[] | undefined;
2998
3004
  allowedSecretBindingIds?: string[] | undefined;
2999
3005
  allowedToolClasses?: string[] | undefined;
@@ -3005,8 +3011,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3005
3011
  mode: "low_trust_review";
3006
3012
  companyId?: string | undefined;
3007
3013
  projectIds?: string[] | undefined;
3008
- issueIds?: string[] | undefined;
3009
3014
  rootIssueId?: string | undefined;
3015
+ issueIds?: string[] | undefined;
3010
3016
  allowedAgentIds?: string[] | undefined;
3011
3017
  allowedSecretBindingIds?: string[] | undefined;
3012
3018
  allowedToolClasses?: string[] | undefined;
@@ -3048,12 +3054,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3048
3054
  version: z.ZodLiteral<1>;
3049
3055
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3050
3056
  }, "strict", z.ZodTypeAny, {
3051
- id: "low_trust_review";
3052
3057
  version: 1;
3058
+ id: "low_trust_review";
3053
3059
  rawOutputDisposition: "quarantine";
3054
3060
  }, {
3055
- id: "low_trust_review";
3056
3061
  version: 1;
3062
+ id: "low_trust_review";
3057
3063
  rawOutputDisposition: "quarantine";
3058
3064
  }>>;
3059
3065
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3079,8 +3085,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3079
3085
  mode: "low_trust_review";
3080
3086
  companyId?: string | undefined;
3081
3087
  projectIds?: string[] | undefined;
3082
- issueIds?: string[] | undefined;
3083
3088
  rootIssueId?: string | undefined;
3089
+ issueIds?: string[] | undefined;
3084
3090
  allowedAgentIds?: string[] | undefined;
3085
3091
  allowedSecretBindingIds?: string[] | undefined;
3086
3092
  allowedToolClasses?: string[] | undefined;
@@ -3092,8 +3098,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3092
3098
  mode: "low_trust_review";
3093
3099
  companyId?: string | undefined;
3094
3100
  projectIds?: string[] | undefined;
3095
- issueIds?: string[] | undefined;
3096
3101
  rootIssueId?: string | undefined;
3102
+ issueIds?: string[] | undefined;
3097
3103
  allowedAgentIds?: string[] | undefined;
3098
3104
  allowedSecretBindingIds?: string[] | undefined;
3099
3105
  allowedToolClasses?: string[] | undefined;
@@ -3140,12 +3146,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3140
3146
  version: z.ZodLiteral<1>;
3141
3147
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3142
3148
  }, "strict", z.ZodTypeAny, {
3143
- id: "low_trust_review";
3144
3149
  version: 1;
3150
+ id: "low_trust_review";
3145
3151
  rawOutputDisposition: "quarantine";
3146
3152
  }, {
3147
- id: "low_trust_review";
3148
3153
  version: 1;
3154
+ id: "low_trust_review";
3149
3155
  rawOutputDisposition: "quarantine";
3150
3156
  }>>;
3151
3157
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3171,8 +3177,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3171
3177
  mode: "low_trust_review";
3172
3178
  companyId?: string | undefined;
3173
3179
  projectIds?: string[] | undefined;
3174
- issueIds?: string[] | undefined;
3175
3180
  rootIssueId?: string | undefined;
3181
+ issueIds?: string[] | undefined;
3176
3182
  allowedAgentIds?: string[] | undefined;
3177
3183
  allowedSecretBindingIds?: string[] | undefined;
3178
3184
  allowedToolClasses?: string[] | undefined;
@@ -3184,8 +3190,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3184
3190
  mode: "low_trust_review";
3185
3191
  companyId?: string | undefined;
3186
3192
  projectIds?: string[] | undefined;
3187
- issueIds?: string[] | undefined;
3188
3193
  rootIssueId?: string | undefined;
3194
+ issueIds?: string[] | undefined;
3189
3195
  allowedAgentIds?: string[] | undefined;
3190
3196
  allowedSecretBindingIds?: string[] | undefined;
3191
3197
  allowedToolClasses?: string[] | undefined;
@@ -3227,12 +3233,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3227
3233
  version: z.ZodLiteral<1>;
3228
3234
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3229
3235
  }, "strict", z.ZodTypeAny, {
3230
- id: "low_trust_review";
3231
3236
  version: 1;
3237
+ id: "low_trust_review";
3232
3238
  rawOutputDisposition: "quarantine";
3233
3239
  }, {
3234
- id: "low_trust_review";
3235
3240
  version: 1;
3241
+ id: "low_trust_review";
3236
3242
  rawOutputDisposition: "quarantine";
3237
3243
  }>>;
3238
3244
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3258,8 +3264,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3258
3264
  mode: "low_trust_review";
3259
3265
  companyId?: string | undefined;
3260
3266
  projectIds?: string[] | undefined;
3261
- issueIds?: string[] | undefined;
3262
3267
  rootIssueId?: string | undefined;
3268
+ issueIds?: string[] | undefined;
3263
3269
  allowedAgentIds?: string[] | undefined;
3264
3270
  allowedSecretBindingIds?: string[] | undefined;
3265
3271
  allowedToolClasses?: string[] | undefined;
@@ -3271,8 +3277,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3271
3277
  mode: "low_trust_review";
3272
3278
  companyId?: string | undefined;
3273
3279
  projectIds?: string[] | undefined;
3274
- issueIds?: string[] | undefined;
3275
3280
  rootIssueId?: string | undefined;
3281
+ issueIds?: string[] | undefined;
3276
3282
  allowedAgentIds?: string[] | undefined;
3277
3283
  allowedSecretBindingIds?: string[] | undefined;
3278
3284
  allowedToolClasses?: string[] | undefined;
@@ -3314,12 +3320,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3314
3320
  version: z.ZodLiteral<1>;
3315
3321
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3316
3322
  }, "strict", z.ZodTypeAny, {
3317
- id: "low_trust_review";
3318
3323
  version: 1;
3324
+ id: "low_trust_review";
3319
3325
  rawOutputDisposition: "quarantine";
3320
3326
  }, {
3321
- id: "low_trust_review";
3322
3327
  version: 1;
3328
+ id: "low_trust_review";
3323
3329
  rawOutputDisposition: "quarantine";
3324
3330
  }>>;
3325
3331
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3345,8 +3351,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3345
3351
  mode: "low_trust_review";
3346
3352
  companyId?: string | undefined;
3347
3353
  projectIds?: string[] | undefined;
3348
- issueIds?: string[] | undefined;
3349
3354
  rootIssueId?: string | undefined;
3355
+ issueIds?: string[] | undefined;
3350
3356
  allowedAgentIds?: string[] | undefined;
3351
3357
  allowedSecretBindingIds?: string[] | undefined;
3352
3358
  allowedToolClasses?: string[] | undefined;
@@ -3358,8 +3364,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3358
3364
  mode: "low_trust_review";
3359
3365
  companyId?: string | undefined;
3360
3366
  projectIds?: string[] | undefined;
3361
- issueIds?: string[] | undefined;
3362
3367
  rootIssueId?: string | undefined;
3368
+ issueIds?: string[] | undefined;
3363
3369
  allowedAgentIds?: string[] | undefined;
3364
3370
  allowedSecretBindingIds?: string[] | undefined;
3365
3371
  allowedToolClasses?: string[] | undefined;
@@ -3397,14 +3403,16 @@ export declare const createAgentHireSchema: z.ZodObject<{
3397
3403
  }, z.ZodUnknown, "strip">>>;
3398
3404
  }, z.ZodUnknown, "strip">>>;
3399
3405
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3406
+ storedSessionId: z.ZodOptional<z.ZodString>;
3407
+ applyStoredClaudeLogin: z.ZodOptional<z.ZodBoolean>;
3400
3408
  } & {
3401
3409
  sourceIssueId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3402
3410
  sourceIssueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3403
3411
  }, "strip", z.ZodTypeAny, {
3404
3412
  name: string;
3413
+ adapterType: string;
3405
3414
  adapterConfig: Record<string, unknown>;
3406
3415
  role: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general";
3407
- adapterType: string;
3408
3416
  runtimeConfig: {
3409
3417
  modelProfiles?: {
3410
3418
  cheap?: {
@@ -3418,10 +3426,19 @@ export declare const createAgentHireSchema: z.ZodObject<{
3418
3426
  };
3419
3427
  budgetMonthlyCents: number;
3420
3428
  title?: string | null | undefined;
3421
- icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
3422
- metadata?: Record<string, unknown> | null | undefined;
3423
3429
  sourceIssueId?: string | null | undefined;
3430
+ desiredSkills?: (string | {
3431
+ key: string;
3432
+ versionId: string | null;
3433
+ })[] | undefined;
3434
+ icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
3435
+ reportsTo?: string | null | undefined;
3424
3436
  capabilities?: string | null | undefined;
3437
+ instructionsBundle?: {
3438
+ files: Record<string, string>;
3439
+ entryFile?: string | undefined;
3440
+ } | undefined;
3441
+ defaultEnvironmentId?: string | null | undefined;
3425
3442
  permissions?: z.objectOutputType<{
3426
3443
  canCreateAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3427
3444
  canCreateSkills: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -3433,12 +3450,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3433
3450
  version: z.ZodLiteral<1>;
3434
3451
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3435
3452
  }, "strict", z.ZodTypeAny, {
3436
- id: "low_trust_review";
3437
3453
  version: 1;
3454
+ id: "low_trust_review";
3438
3455
  rawOutputDisposition: "quarantine";
3439
3456
  }, {
3440
- id: "low_trust_review";
3441
3457
  version: 1;
3458
+ id: "low_trust_review";
3442
3459
  rawOutputDisposition: "quarantine";
3443
3460
  }>>;
3444
3461
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3464,8 +3481,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3464
3481
  mode: "low_trust_review";
3465
3482
  companyId?: string | undefined;
3466
3483
  projectIds?: string[] | undefined;
3467
- issueIds?: string[] | undefined;
3468
3484
  rootIssueId?: string | undefined;
3485
+ issueIds?: string[] | undefined;
3469
3486
  allowedAgentIds?: string[] | undefined;
3470
3487
  allowedSecretBindingIds?: string[] | undefined;
3471
3488
  allowedToolClasses?: string[] | undefined;
@@ -3477,8 +3494,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3477
3494
  mode: "low_trust_review";
3478
3495
  companyId?: string | undefined;
3479
3496
  projectIds?: string[] | undefined;
3480
- issueIds?: string[] | undefined;
3481
3497
  rootIssueId?: string | undefined;
3498
+ issueIds?: string[] | undefined;
3482
3499
  allowedAgentIds?: string[] | undefined;
3483
3500
  allowedSecretBindingIds?: string[] | undefined;
3484
3501
  allowedToolClasses?: string[] | undefined;
@@ -3520,12 +3537,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3520
3537
  version: z.ZodLiteral<1>;
3521
3538
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3522
3539
  }, "strict", z.ZodTypeAny, {
3523
- id: "low_trust_review";
3524
3540
  version: 1;
3541
+ id: "low_trust_review";
3525
3542
  rawOutputDisposition: "quarantine";
3526
3543
  }, {
3527
- id: "low_trust_review";
3528
3544
  version: 1;
3545
+ id: "low_trust_review";
3529
3546
  rawOutputDisposition: "quarantine";
3530
3547
  }>>;
3531
3548
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3551,8 +3568,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3551
3568
  mode: "low_trust_review";
3552
3569
  companyId?: string | undefined;
3553
3570
  projectIds?: string[] | undefined;
3554
- issueIds?: string[] | undefined;
3555
3571
  rootIssueId?: string | undefined;
3572
+ issueIds?: string[] | undefined;
3556
3573
  allowedAgentIds?: string[] | undefined;
3557
3574
  allowedSecretBindingIds?: string[] | undefined;
3558
3575
  allowedToolClasses?: string[] | undefined;
@@ -3564,8 +3581,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3564
3581
  mode: "low_trust_review";
3565
3582
  companyId?: string | undefined;
3566
3583
  projectIds?: string[] | undefined;
3567
- issueIds?: string[] | undefined;
3568
3584
  rootIssueId?: string | undefined;
3585
+ issueIds?: string[] | undefined;
3569
3586
  allowedAgentIds?: string[] | undefined;
3570
3587
  allowedSecretBindingIds?: string[] | undefined;
3571
3588
  allowedToolClasses?: string[] | undefined;
@@ -3607,12 +3624,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3607
3624
  version: z.ZodLiteral<1>;
3608
3625
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3609
3626
  }, "strict", z.ZodTypeAny, {
3610
- id: "low_trust_review";
3611
3627
  version: 1;
3628
+ id: "low_trust_review";
3612
3629
  rawOutputDisposition: "quarantine";
3613
3630
  }, {
3614
- id: "low_trust_review";
3615
3631
  version: 1;
3632
+ id: "low_trust_review";
3616
3633
  rawOutputDisposition: "quarantine";
3617
3634
  }>>;
3618
3635
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3638,8 +3655,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3638
3655
  mode: "low_trust_review";
3639
3656
  companyId?: string | undefined;
3640
3657
  projectIds?: string[] | undefined;
3641
- issueIds?: string[] | undefined;
3642
3658
  rootIssueId?: string | undefined;
3659
+ issueIds?: string[] | undefined;
3643
3660
  allowedAgentIds?: string[] | undefined;
3644
3661
  allowedSecretBindingIds?: string[] | undefined;
3645
3662
  allowedToolClasses?: string[] | undefined;
@@ -3651,8 +3668,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3651
3668
  mode: "low_trust_review";
3652
3669
  companyId?: string | undefined;
3653
3670
  projectIds?: string[] | undefined;
3654
- issueIds?: string[] | undefined;
3655
3671
  rootIssueId?: string | undefined;
3672
+ issueIds?: string[] | undefined;
3656
3673
  allowedAgentIds?: string[] | undefined;
3657
3674
  allowedSecretBindingIds?: string[] | undefined;
3658
3675
  allowedToolClasses?: string[] | undefined;
@@ -3689,27 +3706,28 @@ export declare const createAgentHireSchema: z.ZodObject<{
3689
3706
  }, z.ZodUnknown, "strip">>>;
3690
3707
  }, z.ZodUnknown, "strip">>>;
3691
3708
  }, z.ZodUnknown, "strip"> | undefined;
3709
+ metadata?: Record<string, unknown> | null | undefined;
3710
+ storedSessionId?: string | undefined;
3711
+ applyStoredClaudeLogin?: boolean | undefined;
3712
+ sourceIssueIds?: string[] | undefined;
3713
+ }, {
3714
+ name: string;
3715
+ title?: string | null | undefined;
3716
+ sourceIssueId?: string | null | undefined;
3717
+ adapterType?: string | undefined;
3692
3718
  desiredSkills?: (string | {
3693
3719
  key: string;
3694
3720
  versionId: string | null;
3695
3721
  })[] | undefined;
3722
+ adapterConfig?: Record<string, unknown> | undefined;
3723
+ role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
3724
+ icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
3696
3725
  reportsTo?: string | null | undefined;
3726
+ capabilities?: string | null | undefined;
3697
3727
  instructionsBundle?: {
3698
3728
  files: Record<string, string>;
3699
3729
  entryFile?: string | undefined;
3700
3730
  } | undefined;
3701
- defaultEnvironmentId?: string | null | undefined;
3702
- sourceIssueIds?: string[] | undefined;
3703
- }, {
3704
- name: string;
3705
- title?: string | null | undefined;
3706
- icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
3707
- metadata?: Record<string, unknown> | null | undefined;
3708
- sourceIssueId?: string | null | undefined;
3709
- adapterConfig?: Record<string, unknown> | undefined;
3710
- role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
3711
- capabilities?: string | null | undefined;
3712
- adapterType?: string | undefined;
3713
3731
  runtimeConfig?: z.objectInputType<{
3714
3732
  modelProfiles: z.ZodOptional<z.ZodObject<{
3715
3733
  cheap: z.ZodOptional<z.ZodObject<{
@@ -3739,6 +3757,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3739
3757
  } | undefined;
3740
3758
  }>>;
3741
3759
  }, z.ZodUnknown, "strip"> | undefined;
3760
+ defaultEnvironmentId?: string | null | undefined;
3761
+ budgetMonthlyCents?: number | undefined;
3742
3762
  permissions?: z.objectInputType<{
3743
3763
  canCreateAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3744
3764
  canCreateSkills: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -3750,12 +3770,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3750
3770
  version: z.ZodLiteral<1>;
3751
3771
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3752
3772
  }, "strict", z.ZodTypeAny, {
3753
- id: "low_trust_review";
3754
3773
  version: 1;
3774
+ id: "low_trust_review";
3755
3775
  rawOutputDisposition: "quarantine";
3756
3776
  }, {
3757
- id: "low_trust_review";
3758
3777
  version: 1;
3778
+ id: "low_trust_review";
3759
3779
  rawOutputDisposition: "quarantine";
3760
3780
  }>>;
3761
3781
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3781,8 +3801,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3781
3801
  mode: "low_trust_review";
3782
3802
  companyId?: string | undefined;
3783
3803
  projectIds?: string[] | undefined;
3784
- issueIds?: string[] | undefined;
3785
3804
  rootIssueId?: string | undefined;
3805
+ issueIds?: string[] | undefined;
3786
3806
  allowedAgentIds?: string[] | undefined;
3787
3807
  allowedSecretBindingIds?: string[] | undefined;
3788
3808
  allowedToolClasses?: string[] | undefined;
@@ -3794,8 +3814,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3794
3814
  mode: "low_trust_review";
3795
3815
  companyId?: string | undefined;
3796
3816
  projectIds?: string[] | undefined;
3797
- issueIds?: string[] | undefined;
3798
3817
  rootIssueId?: string | undefined;
3818
+ issueIds?: string[] | undefined;
3799
3819
  allowedAgentIds?: string[] | undefined;
3800
3820
  allowedSecretBindingIds?: string[] | undefined;
3801
3821
  allowedToolClasses?: string[] | undefined;
@@ -3837,12 +3857,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3837
3857
  version: z.ZodLiteral<1>;
3838
3858
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3839
3859
  }, "strict", z.ZodTypeAny, {
3840
- id: "low_trust_review";
3841
3860
  version: 1;
3861
+ id: "low_trust_review";
3842
3862
  rawOutputDisposition: "quarantine";
3843
3863
  }, {
3844
- id: "low_trust_review";
3845
3864
  version: 1;
3865
+ id: "low_trust_review";
3846
3866
  rawOutputDisposition: "quarantine";
3847
3867
  }>>;
3848
3868
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3868,8 +3888,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3868
3888
  mode: "low_trust_review";
3869
3889
  companyId?: string | undefined;
3870
3890
  projectIds?: string[] | undefined;
3871
- issueIds?: string[] | undefined;
3872
3891
  rootIssueId?: string | undefined;
3892
+ issueIds?: string[] | undefined;
3873
3893
  allowedAgentIds?: string[] | undefined;
3874
3894
  allowedSecretBindingIds?: string[] | undefined;
3875
3895
  allowedToolClasses?: string[] | undefined;
@@ -3881,8 +3901,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3881
3901
  mode: "low_trust_review";
3882
3902
  companyId?: string | undefined;
3883
3903
  projectIds?: string[] | undefined;
3884
- issueIds?: string[] | undefined;
3885
3904
  rootIssueId?: string | undefined;
3905
+ issueIds?: string[] | undefined;
3886
3906
  allowedAgentIds?: string[] | undefined;
3887
3907
  allowedSecretBindingIds?: string[] | undefined;
3888
3908
  allowedToolClasses?: string[] | undefined;
@@ -3924,12 +3944,12 @@ export declare const createAgentHireSchema: z.ZodObject<{
3924
3944
  version: z.ZodLiteral<1>;
3925
3945
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
3926
3946
  }, "strict", z.ZodTypeAny, {
3927
- id: "low_trust_review";
3928
3947
  version: 1;
3948
+ id: "low_trust_review";
3929
3949
  rawOutputDisposition: "quarantine";
3930
3950
  }, {
3931
- id: "low_trust_review";
3932
3951
  version: 1;
3952
+ id: "low_trust_review";
3933
3953
  rawOutputDisposition: "quarantine";
3934
3954
  }>>;
3935
3955
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -3955,8 +3975,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3955
3975
  mode: "low_trust_review";
3956
3976
  companyId?: string | undefined;
3957
3977
  projectIds?: string[] | undefined;
3958
- issueIds?: string[] | undefined;
3959
3978
  rootIssueId?: string | undefined;
3979
+ issueIds?: string[] | undefined;
3960
3980
  allowedAgentIds?: string[] | undefined;
3961
3981
  allowedSecretBindingIds?: string[] | undefined;
3962
3982
  allowedToolClasses?: string[] | undefined;
@@ -3968,8 +3988,8 @@ export declare const createAgentHireSchema: z.ZodObject<{
3968
3988
  mode: "low_trust_review";
3969
3989
  companyId?: string | undefined;
3970
3990
  projectIds?: string[] | undefined;
3971
- issueIds?: string[] | undefined;
3972
3991
  rootIssueId?: string | undefined;
3992
+ issueIds?: string[] | undefined;
3973
3993
  allowedAgentIds?: string[] | undefined;
3974
3994
  allowedSecretBindingIds?: string[] | undefined;
3975
3995
  allowedToolClasses?: string[] | undefined;
@@ -4006,29 +4026,41 @@ export declare const createAgentHireSchema: z.ZodObject<{
4006
4026
  }, z.ZodUnknown, "strip">>>;
4007
4027
  }, z.ZodUnknown, "strip">>>;
4008
4028
  }, z.ZodUnknown, "strip"> | undefined;
4009
- budgetMonthlyCents?: number | undefined;
4010
- desiredSkills?: (string | {
4011
- key: string;
4012
- versionId: string | null;
4013
- })[] | undefined;
4014
- reportsTo?: string | null | undefined;
4015
- instructionsBundle?: {
4016
- files: Record<string, string>;
4017
- entryFile?: string | undefined;
4018
- } | undefined;
4019
- defaultEnvironmentId?: string | null | undefined;
4029
+ metadata?: Record<string, unknown> | null | undefined;
4030
+ storedSessionId?: string | undefined;
4031
+ applyStoredClaudeLogin?: boolean | undefined;
4020
4032
  sourceIssueIds?: string[] | undefined;
4021
4033
  }>;
4022
4034
  export type CreateAgentHire = z.infer<typeof createAgentHireSchema>;
4023
4035
  export declare const updateAgentSchema: z.ZodObject<{
4024
4036
  title: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
4025
- icon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["bot", "cpu", "brain", "zap", "rocket", "code", "terminal", "shield", "eye", "search", "wrench", "hammer", "lightbulb", "sparkles", "star", "heart", "flame", "bug", "cog", "database", "globe", "lock", "mail", "message-square", "file-code", "git-branch", "package", "puzzle", "target", "wand", "atom", "circuit-board", "radar", "swords", "telescope", "microscope", "crown", "gem", "hexagon", "pentagon", "fingerprint"]>>>>;
4026
4037
  name: z.ZodOptional<z.ZodString>;
4027
- metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
4038
+ adapterType: z.ZodOptional<z.ZodDefault<z.ZodString>>;
4039
+ desiredSkills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
4040
+ key: z.ZodString;
4041
+ versionId: z.ZodNullable<z.ZodString>;
4042
+ }, "strip", z.ZodTypeAny, {
4043
+ key: string;
4044
+ versionId: string | null;
4045
+ }, {
4046
+ key: string;
4047
+ versionId: string | null;
4048
+ }>]>, "many">>>;
4028
4049
  adapterConfig: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>>;
4029
4050
  role: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["ceo", "cto", "cmo", "cfo", "security", "engineer", "designer", "pm", "qa", "devops", "researcher", "general"]>>>>;
4051
+ icon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["bot", "cpu", "brain", "zap", "rocket", "code", "terminal", "shield", "eye", "search", "wrench", "hammer", "lightbulb", "sparkles", "star", "heart", "flame", "bug", "cog", "database", "globe", "lock", "mail", "message-square", "file-code", "git-branch", "package", "puzzle", "target", "wand", "atom", "circuit-board", "radar", "swords", "telescope", "microscope", "crown", "gem", "hexagon", "pentagon", "fingerprint"]>>>>;
4052
+ reportsTo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
4030
4053
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
4031
- adapterType: z.ZodOptional<z.ZodDefault<z.ZodString>>;
4054
+ instructionsBundle: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4055
+ entryFile: z.ZodOptional<z.ZodString>;
4056
+ files: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
4057
+ }, "strip", z.ZodTypeAny, {
4058
+ files: Record<string, string>;
4059
+ entryFile?: string | undefined;
4060
+ }, {
4061
+ files: Record<string, string>;
4062
+ entryFile?: string | undefined;
4063
+ }>>>;
4032
4064
  runtimeConfig: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
4033
4065
  modelProfiles: z.ZodOptional<z.ZodObject<{
4034
4066
  cheap: z.ZodOptional<z.ZodObject<{
@@ -4114,29 +4146,11 @@ export declare const updateAgentSchema: z.ZodObject<{
4114
4146
  } | undefined;
4115
4147
  }>>;
4116
4148
  }, z.ZodUnknown, "strip">>>>>;
4117
- budgetMonthlyCents: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
4118
- desiredSkills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
4119
- key: z.ZodString;
4120
- versionId: z.ZodNullable<z.ZodString>;
4121
- }, "strip", z.ZodTypeAny, {
4122
- key: string;
4123
- versionId: string | null;
4124
- }, {
4125
- key: string;
4126
- versionId: string | null;
4127
- }>]>, "many">>>;
4128
- reportsTo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
4129
- instructionsBundle: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4130
- entryFile: z.ZodOptional<z.ZodString>;
4131
- files: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
4132
- }, "strip", z.ZodTypeAny, {
4133
- files: Record<string, string>;
4134
- entryFile?: string | undefined;
4135
- }, {
4136
- files: Record<string, string>;
4137
- entryFile?: string | undefined;
4138
- }>>>;
4139
4149
  defaultEnvironmentId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
4150
+ budgetMonthlyCents: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
4151
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
4152
+ storedSessionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4153
+ applyStoredClaudeLogin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4140
4154
  } & {
4141
4155
  permissions: z.ZodOptional<z.ZodNever>;
4142
4156
  replaceAdapterConfig: z.ZodOptional<z.ZodBoolean>;
@@ -4145,13 +4159,21 @@ export declare const updateAgentSchema: z.ZodObject<{
4145
4159
  }, "strip", z.ZodTypeAny, {
4146
4160
  title?: string | null | undefined;
4147
4161
  status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
4148
- icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
4149
4162
  name?: string | undefined;
4150
- metadata?: Record<string, unknown> | null | undefined;
4163
+ adapterType?: string | undefined;
4164
+ desiredSkills?: (string | {
4165
+ key: string;
4166
+ versionId: string | null;
4167
+ })[] | undefined;
4151
4168
  adapterConfig?: Record<string, unknown> | undefined;
4152
4169
  role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
4170
+ icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
4171
+ reportsTo?: string | null | undefined;
4153
4172
  capabilities?: string | null | undefined;
4154
- adapterType?: string | undefined;
4173
+ instructionsBundle?: {
4174
+ files: Record<string, string>;
4175
+ entryFile?: string | undefined;
4176
+ } | undefined;
4155
4177
  runtimeConfig?: z.objectOutputType<{
4156
4178
  modelProfiles: z.ZodOptional<z.ZodObject<{
4157
4179
  cheap: z.ZodOptional<z.ZodObject<{
@@ -4181,30 +4203,32 @@ export declare const updateAgentSchema: z.ZodObject<{
4181
4203
  } | undefined;
4182
4204
  }>>;
4183
4205
  }, z.ZodUnknown, "strip"> | undefined;
4184
- permissions?: undefined;
4185
- budgetMonthlyCents?: number | undefined;
4186
- desiredSkills?: (string | {
4187
- key: string;
4188
- versionId: string | null;
4189
- })[] | undefined;
4190
- reportsTo?: string | null | undefined;
4191
- instructionsBundle?: {
4192
- files: Record<string, string>;
4193
- entryFile?: string | undefined;
4194
- } | undefined;
4195
4206
  defaultEnvironmentId?: string | null | undefined;
4207
+ budgetMonthlyCents?: number | undefined;
4208
+ permissions?: undefined;
4209
+ metadata?: Record<string, unknown> | null | undefined;
4210
+ storedSessionId?: string | undefined;
4211
+ applyStoredClaudeLogin?: boolean | undefined;
4196
4212
  replaceAdapterConfig?: boolean | undefined;
4197
4213
  spentMonthlyCents?: number | undefined;
4198
4214
  }, {
4199
4215
  title?: string | null | undefined;
4200
4216
  status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
4201
- icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
4202
4217
  name?: string | undefined;
4203
- metadata?: Record<string, unknown> | null | undefined;
4218
+ adapterType?: string | undefined;
4219
+ desiredSkills?: (string | {
4220
+ key: string;
4221
+ versionId: string | null;
4222
+ })[] | undefined;
4204
4223
  adapterConfig?: Record<string, unknown> | undefined;
4205
4224
  role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
4225
+ icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined;
4226
+ reportsTo?: string | null | undefined;
4206
4227
  capabilities?: string | null | undefined;
4207
- adapterType?: string | undefined;
4228
+ instructionsBundle?: {
4229
+ files: Record<string, string>;
4230
+ entryFile?: string | undefined;
4231
+ } | undefined;
4208
4232
  runtimeConfig?: z.objectInputType<{
4209
4233
  modelProfiles: z.ZodOptional<z.ZodObject<{
4210
4234
  cheap: z.ZodOptional<z.ZodObject<{
@@ -4234,18 +4258,12 @@ export declare const updateAgentSchema: z.ZodObject<{
4234
4258
  } | undefined;
4235
4259
  }>>;
4236
4260
  }, z.ZodUnknown, "strip"> | undefined;
4237
- permissions?: undefined;
4238
- budgetMonthlyCents?: number | undefined;
4239
- desiredSkills?: (string | {
4240
- key: string;
4241
- versionId: string | null;
4242
- })[] | undefined;
4243
- reportsTo?: string | null | undefined;
4244
- instructionsBundle?: {
4245
- files: Record<string, string>;
4246
- entryFile?: string | undefined;
4247
- } | undefined;
4248
4261
  defaultEnvironmentId?: string | null | undefined;
4262
+ budgetMonthlyCents?: number | undefined;
4263
+ permissions?: undefined;
4264
+ metadata?: Record<string, unknown> | null | undefined;
4265
+ storedSessionId?: string | undefined;
4266
+ applyStoredClaudeLogin?: boolean | undefined;
4249
4267
  replaceAdapterConfig?: boolean | undefined;
4250
4268
  spentMonthlyCents?: number | undefined;
4251
4269
  }>;
@@ -4308,11 +4326,11 @@ export declare const skillTestAgentKeyScopeSchema: z.ZodObject<{
4308
4326
  kind: z.ZodLiteral<"skill_test">;
4309
4327
  issueId: z.ZodString;
4310
4328
  }, "strict", z.ZodTypeAny, {
4311
- kind: "skill_test";
4312
4329
  issueId: string;
4313
- }, {
4314
4330
  kind: "skill_test";
4331
+ }, {
4315
4332
  issueId: string;
4333
+ kind: "skill_test";
4316
4334
  }>;
4317
4335
  export declare const agentApiKeyScopeSchema: z.ZodUnion<[z.ZodObject<{
4318
4336
  kind: z.ZodLiteral<"standard">;
@@ -4359,11 +4377,11 @@ export declare const agentApiKeyScopeSchema: z.ZodUnion<[z.ZodObject<{
4359
4377
  kind: z.ZodLiteral<"skill_test">;
4360
4378
  issueId: z.ZodString;
4361
4379
  }, "strict", z.ZodTypeAny, {
4362
- kind: "skill_test";
4363
4380
  issueId: string;
4364
- }, {
4365
4381
  kind: "skill_test";
4382
+ }, {
4366
4383
  issueId: string;
4384
+ kind: "skill_test";
4367
4385
  }>]>;
4368
4386
  export type AgentApiKeyScope = z.infer<typeof agentApiKeyScopeSchema>;
4369
4387
  export type TaskBridgeAgentKeyScope = z.infer<typeof taskBridgeAgentKeyScopeSchema>;
@@ -4416,11 +4434,11 @@ export declare const createAgentKeySchema: z.ZodObject<{
4416
4434
  kind: z.ZodLiteral<"skill_test">;
4417
4435
  issueId: z.ZodString;
4418
4436
  }, "strict", z.ZodTypeAny, {
4419
- kind: "skill_test";
4420
4437
  issueId: string;
4421
- }, {
4422
4438
  kind: "skill_test";
4439
+ }, {
4423
4440
  issueId: string;
4441
+ kind: "skill_test";
4424
4442
  }>]>>>;
4425
4443
  }, "strip", z.ZodTypeAny, {
4426
4444
  name: string;
@@ -4434,8 +4452,8 @@ export declare const createAgentKeySchema: z.ZodObject<{
4434
4452
  } | {
4435
4453
  kind: "standard";
4436
4454
  } | {
4437
- kind: "skill_test";
4438
4455
  issueId: string;
4456
+ kind: "skill_test";
4439
4457
  };
4440
4458
  }, {
4441
4459
  name?: string | undefined;
@@ -4449,8 +4467,8 @@ export declare const createAgentKeySchema: z.ZodObject<{
4449
4467
  } | {
4450
4468
  kind: "standard";
4451
4469
  } | {
4452
- kind: "skill_test";
4453
4470
  issueId: string;
4471
+ kind: "skill_test";
4454
4472
  } | undefined;
4455
4473
  }>;
4456
4474
  export type CreateAgentKey = z.infer<typeof createAgentKeySchema>;
@@ -4475,16 +4493,16 @@ export declare const wakeAgentSchema: z.ZodObject<{
4475
4493
  }, "strip", z.ZodTypeAny, {
4476
4494
  source: "timer" | "assignment" | "on_demand" | "automation";
4477
4495
  forceFreshSession: boolean;
4478
- idempotencyKey?: string | null | undefined;
4496
+ triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined;
4479
4497
  reason?: string | null | undefined;
4480
4498
  payload?: Record<string, unknown> | null | undefined;
4481
- triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined;
4499
+ idempotencyKey?: string | null | undefined;
4482
4500
  }, {
4483
4501
  source?: "timer" | "assignment" | "on_demand" | "automation" | undefined;
4484
- idempotencyKey?: string | null | undefined;
4502
+ triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined;
4485
4503
  reason?: string | null | undefined;
4486
4504
  payload?: Record<string, unknown> | null | undefined;
4487
- triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined;
4505
+ idempotencyKey?: string | null | undefined;
4488
4506
  forceFreshSession?: unknown;
4489
4507
  }>;
4490
4508
  export type WakeAgent = z.infer<typeof wakeAgentSchema>;
@@ -4509,8 +4527,8 @@ export declare const testAdapterEnvironmentSchema: z.ZodObject<{
4509
4527
  adapterConfig: Record<string, unknown>;
4510
4528
  environmentId?: string | null | undefined;
4511
4529
  }, {
4512
- environmentId?: string | null | undefined;
4513
4530
  adapterConfig?: Record<string, unknown> | undefined;
4531
+ environmentId?: string | null | undefined;
4514
4532
  }>;
4515
4533
  export type TestAdapterEnvironment = z.infer<typeof testAdapterEnvironmentSchema>;
4516
4534
  export declare const updateAgentPermissionsSchema: z.ZodObject<{
@@ -4525,12 +4543,12 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4525
4543
  version: z.ZodLiteral<1>;
4526
4544
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
4527
4545
  }, "strict", z.ZodTypeAny, {
4528
- id: "low_trust_review";
4529
4546
  version: 1;
4547
+ id: "low_trust_review";
4530
4548
  rawOutputDisposition: "quarantine";
4531
4549
  }, {
4532
- id: "low_trust_review";
4533
4550
  version: 1;
4551
+ id: "low_trust_review";
4534
4552
  rawOutputDisposition: "quarantine";
4535
4553
  }>>;
4536
4554
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -4556,8 +4574,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4556
4574
  mode: "low_trust_review";
4557
4575
  companyId?: string | undefined;
4558
4576
  projectIds?: string[] | undefined;
4559
- issueIds?: string[] | undefined;
4560
4577
  rootIssueId?: string | undefined;
4578
+ issueIds?: string[] | undefined;
4561
4579
  allowedAgentIds?: string[] | undefined;
4562
4580
  allowedSecretBindingIds?: string[] | undefined;
4563
4581
  allowedToolClasses?: string[] | undefined;
@@ -4569,8 +4587,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4569
4587
  mode: "low_trust_review";
4570
4588
  companyId?: string | undefined;
4571
4589
  projectIds?: string[] | undefined;
4572
- issueIds?: string[] | undefined;
4573
4590
  rootIssueId?: string | undefined;
4591
+ issueIds?: string[] | undefined;
4574
4592
  allowedAgentIds?: string[] | undefined;
4575
4593
  allowedSecretBindingIds?: string[] | undefined;
4576
4594
  allowedToolClasses?: string[] | undefined;
@@ -4612,12 +4630,12 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4612
4630
  version: z.ZodLiteral<1>;
4613
4631
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
4614
4632
  }, "strict", z.ZodTypeAny, {
4615
- id: "low_trust_review";
4616
4633
  version: 1;
4634
+ id: "low_trust_review";
4617
4635
  rawOutputDisposition: "quarantine";
4618
4636
  }, {
4619
- id: "low_trust_review";
4620
4637
  version: 1;
4638
+ id: "low_trust_review";
4621
4639
  rawOutputDisposition: "quarantine";
4622
4640
  }>>;
4623
4641
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -4643,8 +4661,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4643
4661
  mode: "low_trust_review";
4644
4662
  companyId?: string | undefined;
4645
4663
  projectIds?: string[] | undefined;
4646
- issueIds?: string[] | undefined;
4647
4664
  rootIssueId?: string | undefined;
4665
+ issueIds?: string[] | undefined;
4648
4666
  allowedAgentIds?: string[] | undefined;
4649
4667
  allowedSecretBindingIds?: string[] | undefined;
4650
4668
  allowedToolClasses?: string[] | undefined;
@@ -4656,8 +4674,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4656
4674
  mode: "low_trust_review";
4657
4675
  companyId?: string | undefined;
4658
4676
  projectIds?: string[] | undefined;
4659
- issueIds?: string[] | undefined;
4660
4677
  rootIssueId?: string | undefined;
4678
+ issueIds?: string[] | undefined;
4661
4679
  allowedAgentIds?: string[] | undefined;
4662
4680
  allowedSecretBindingIds?: string[] | undefined;
4663
4681
  allowedToolClasses?: string[] | undefined;
@@ -4699,12 +4717,12 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4699
4717
  version: z.ZodLiteral<1>;
4700
4718
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
4701
4719
  }, "strict", z.ZodTypeAny, {
4702
- id: "low_trust_review";
4703
4720
  version: 1;
4721
+ id: "low_trust_review";
4704
4722
  rawOutputDisposition: "quarantine";
4705
4723
  }, {
4706
- id: "low_trust_review";
4707
4724
  version: 1;
4725
+ id: "low_trust_review";
4708
4726
  rawOutputDisposition: "quarantine";
4709
4727
  }>>;
4710
4728
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -4730,8 +4748,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4730
4748
  mode: "low_trust_review";
4731
4749
  companyId?: string | undefined;
4732
4750
  projectIds?: string[] | undefined;
4733
- issueIds?: string[] | undefined;
4734
4751
  rootIssueId?: string | undefined;
4752
+ issueIds?: string[] | undefined;
4735
4753
  allowedAgentIds?: string[] | undefined;
4736
4754
  allowedSecretBindingIds?: string[] | undefined;
4737
4755
  allowedToolClasses?: string[] | undefined;
@@ -4743,8 +4761,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4743
4761
  mode: "low_trust_review";
4744
4762
  companyId?: string | undefined;
4745
4763
  projectIds?: string[] | undefined;
4746
- issueIds?: string[] | undefined;
4747
4764
  rootIssueId?: string | undefined;
4765
+ issueIds?: string[] | undefined;
4748
4766
  allowedAgentIds?: string[] | undefined;
4749
4767
  allowedSecretBindingIds?: string[] | undefined;
4750
4768
  allowedToolClasses?: string[] | undefined;
@@ -4784,6 +4802,7 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4784
4802
  canCreateAgents: boolean;
4785
4803
  canAssignTasks: boolean;
4786
4804
  trustPreset?: "standard" | "low_trust_review" | undefined;
4805
+ canCreateSkills?: boolean | undefined;
4787
4806
  authorizationPolicy?: z.objectOutputType<{
4788
4807
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
4789
4808
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -4791,12 +4810,12 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4791
4810
  version: z.ZodLiteral<1>;
4792
4811
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
4793
4812
  }, "strict", z.ZodTypeAny, {
4794
- id: "low_trust_review";
4795
4813
  version: 1;
4814
+ id: "low_trust_review";
4796
4815
  rawOutputDisposition: "quarantine";
4797
4816
  }, {
4798
- id: "low_trust_review";
4799
4817
  version: 1;
4818
+ id: "low_trust_review";
4800
4819
  rawOutputDisposition: "quarantine";
4801
4820
  }>>;
4802
4821
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -4822,8 +4841,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4822
4841
  mode: "low_trust_review";
4823
4842
  companyId?: string | undefined;
4824
4843
  projectIds?: string[] | undefined;
4825
- issueIds?: string[] | undefined;
4826
4844
  rootIssueId?: string | undefined;
4845
+ issueIds?: string[] | undefined;
4827
4846
  allowedAgentIds?: string[] | undefined;
4828
4847
  allowedSecretBindingIds?: string[] | undefined;
4829
4848
  allowedToolClasses?: string[] | undefined;
@@ -4835,8 +4854,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4835
4854
  mode: "low_trust_review";
4836
4855
  companyId?: string | undefined;
4837
4856
  projectIds?: string[] | undefined;
4838
- issueIds?: string[] | undefined;
4839
4857
  rootIssueId?: string | undefined;
4858
+ issueIds?: string[] | undefined;
4840
4859
  allowedAgentIds?: string[] | undefined;
4841
4860
  allowedSecretBindingIds?: string[] | undefined;
4842
4861
  allowedToolClasses?: string[] | undefined;
@@ -4872,11 +4891,11 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4872
4891
  approvalReason: z.ZodOptional<z.ZodString>;
4873
4892
  }, z.ZodUnknown, "strip">>>;
4874
4893
  }, z.ZodUnknown, "strip"> | undefined;
4875
- canCreateSkills?: boolean | undefined;
4876
4894
  }, {
4877
4895
  canCreateAgents: boolean;
4878
4896
  canAssignTasks: boolean;
4879
4897
  trustPreset?: "standard" | "low_trust_review" | undefined;
4898
+ canCreateSkills?: boolean | undefined;
4880
4899
  authorizationPolicy?: z.objectInputType<{
4881
4900
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
4882
4901
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -4884,12 +4903,12 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4884
4903
  version: z.ZodLiteral<1>;
4885
4904
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
4886
4905
  }, "strict", z.ZodTypeAny, {
4887
- id: "low_trust_review";
4888
4906
  version: 1;
4907
+ id: "low_trust_review";
4889
4908
  rawOutputDisposition: "quarantine";
4890
4909
  }, {
4891
- id: "low_trust_review";
4892
4910
  version: 1;
4911
+ id: "low_trust_review";
4893
4912
  rawOutputDisposition: "quarantine";
4894
4913
  }>>;
4895
4914
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -4915,8 +4934,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4915
4934
  mode: "low_trust_review";
4916
4935
  companyId?: string | undefined;
4917
4936
  projectIds?: string[] | undefined;
4918
- issueIds?: string[] | undefined;
4919
4937
  rootIssueId?: string | undefined;
4938
+ issueIds?: string[] | undefined;
4920
4939
  allowedAgentIds?: string[] | undefined;
4921
4940
  allowedSecretBindingIds?: string[] | undefined;
4922
4941
  allowedToolClasses?: string[] | undefined;
@@ -4928,8 +4947,8 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4928
4947
  mode: "low_trust_review";
4929
4948
  companyId?: string | undefined;
4930
4949
  projectIds?: string[] | undefined;
4931
- issueIds?: string[] | undefined;
4932
4950
  rootIssueId?: string | undefined;
4951
+ issueIds?: string[] | undefined;
4933
4952
  allowedAgentIds?: string[] | undefined;
4934
4953
  allowedSecretBindingIds?: string[] | undefined;
4935
4954
  allowedToolClasses?: string[] | undefined;
@@ -4965,7 +4984,6 @@ export declare const updateAgentPermissionsSchema: z.ZodObject<{
4965
4984
  approvalReason: z.ZodOptional<z.ZodString>;
4966
4985
  }, z.ZodUnknown, "strip">>>;
4967
4986
  }, z.ZodUnknown, "strip"> | undefined;
4968
- canCreateSkills?: boolean | undefined;
4969
4987
  }>;
4970
4988
  export type UpdateAgentPermissions = z.infer<typeof updateAgentPermissionsSchema>;
4971
4989
  //# sourceMappingURL=agent.d.ts.map