@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
@@ -43,12 +43,12 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
43
43
  version: z.ZodLiteral<1>;
44
44
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
45
45
  }, "strict", z.ZodTypeAny, {
46
- id: "low_trust_review";
47
46
  version: 1;
47
+ id: "low_trust_review";
48
48
  rawOutputDisposition: "quarantine";
49
49
  }, {
50
- id: "low_trust_review";
51
50
  version: 1;
51
+ id: "low_trust_review";
52
52
  rawOutputDisposition: "quarantine";
53
53
  }>>;
54
54
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -74,8 +74,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
74
74
  mode: "low_trust_review";
75
75
  companyId?: string | undefined;
76
76
  projectIds?: string[] | undefined;
77
- issueIds?: string[] | undefined;
78
77
  rootIssueId?: string | undefined;
78
+ issueIds?: string[] | undefined;
79
79
  allowedAgentIds?: string[] | undefined;
80
80
  allowedSecretBindingIds?: string[] | undefined;
81
81
  allowedToolClasses?: string[] | undefined;
@@ -87,8 +87,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
87
87
  mode: "low_trust_review";
88
88
  companyId?: string | undefined;
89
89
  projectIds?: string[] | undefined;
90
- issueIds?: string[] | undefined;
91
90
  rootIssueId?: string | undefined;
91
+ issueIds?: string[] | undefined;
92
92
  allowedAgentIds?: string[] | undefined;
93
93
  allowedSecretBindingIds?: string[] | undefined;
94
94
  allowedToolClasses?: string[] | undefined;
@@ -130,12 +130,12 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
130
130
  version: z.ZodLiteral<1>;
131
131
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
132
132
  }, "strict", z.ZodTypeAny, {
133
- id: "low_trust_review";
134
133
  version: 1;
134
+ id: "low_trust_review";
135
135
  rawOutputDisposition: "quarantine";
136
136
  }, {
137
- id: "low_trust_review";
138
137
  version: 1;
138
+ id: "low_trust_review";
139
139
  rawOutputDisposition: "quarantine";
140
140
  }>>;
141
141
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -161,8 +161,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
161
161
  mode: "low_trust_review";
162
162
  companyId?: string | undefined;
163
163
  projectIds?: string[] | undefined;
164
- issueIds?: string[] | undefined;
165
164
  rootIssueId?: string | undefined;
165
+ issueIds?: string[] | undefined;
166
166
  allowedAgentIds?: string[] | undefined;
167
167
  allowedSecretBindingIds?: string[] | undefined;
168
168
  allowedToolClasses?: string[] | undefined;
@@ -174,8 +174,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
174
174
  mode: "low_trust_review";
175
175
  companyId?: string | undefined;
176
176
  projectIds?: string[] | undefined;
177
- issueIds?: string[] | undefined;
178
177
  rootIssueId?: string | undefined;
178
+ issueIds?: string[] | undefined;
179
179
  allowedAgentIds?: string[] | undefined;
180
180
  allowedSecretBindingIds?: string[] | undefined;
181
181
  allowedToolClasses?: string[] | undefined;
@@ -217,12 +217,12 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
217
217
  version: z.ZodLiteral<1>;
218
218
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
219
219
  }, "strict", z.ZodTypeAny, {
220
- id: "low_trust_review";
221
220
  version: 1;
221
+ id: "low_trust_review";
222
222
  rawOutputDisposition: "quarantine";
223
223
  }, {
224
- id: "low_trust_review";
225
224
  version: 1;
225
+ id: "low_trust_review";
226
226
  rawOutputDisposition: "quarantine";
227
227
  }>>;
228
228
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -248,8 +248,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
248
248
  mode: "low_trust_review";
249
249
  companyId?: string | undefined;
250
250
  projectIds?: string[] | undefined;
251
- issueIds?: string[] | undefined;
252
251
  rootIssueId?: string | undefined;
252
+ issueIds?: string[] | undefined;
253
253
  allowedAgentIds?: string[] | undefined;
254
254
  allowedSecretBindingIds?: string[] | undefined;
255
255
  allowedToolClasses?: string[] | undefined;
@@ -261,8 +261,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
261
261
  mode: "low_trust_review";
262
262
  companyId?: string | undefined;
263
263
  projectIds?: string[] | undefined;
264
- issueIds?: string[] | undefined;
265
264
  rootIssueId?: string | undefined;
265
+ issueIds?: string[] | undefined;
266
266
  allowedAgentIds?: string[] | undefined;
267
267
  allowedSecretBindingIds?: string[] | undefined;
268
268
  allowedToolClasses?: string[] | undefined;
@@ -300,18 +300,6 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
300
300
  }, z.ZodUnknown, "strip">>>>;
301
301
  }, "strict", z.ZodTypeAny, {
302
302
  enabled: boolean;
303
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
304
- environmentId?: string | null | undefined;
305
- workspaceStrategy?: {
306
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
307
- baseRef?: string | null | undefined;
308
- branchTemplate?: string | null | undefined;
309
- worktreeParentDir?: string | null | undefined;
310
- provisionCommand?: string | null | undefined;
311
- runtimeProvisionCommand?: string | null | undefined;
312
- teardownCommand?: string | null | undefined;
313
- } | null | undefined;
314
- workspaceRuntime?: Record<string, unknown> | null | undefined;
315
303
  authorizationPolicy?: z.objectOutputType<{
316
304
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
317
305
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -319,12 +307,12 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
319
307
  version: z.ZodLiteral<1>;
320
308
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
321
309
  }, "strict", z.ZodTypeAny, {
322
- id: "low_trust_review";
323
310
  version: 1;
311
+ id: "low_trust_review";
324
312
  rawOutputDisposition: "quarantine";
325
313
  }, {
326
- id: "low_trust_review";
327
314
  version: 1;
315
+ id: "low_trust_review";
328
316
  rawOutputDisposition: "quarantine";
329
317
  }>>;
330
318
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -350,8 +338,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
350
338
  mode: "low_trust_review";
351
339
  companyId?: string | undefined;
352
340
  projectIds?: string[] | undefined;
353
- issueIds?: string[] | undefined;
354
341
  rootIssueId?: string | undefined;
342
+ issueIds?: string[] | undefined;
355
343
  allowedAgentIds?: string[] | undefined;
356
344
  allowedSecretBindingIds?: string[] | undefined;
357
345
  allowedToolClasses?: string[] | undefined;
@@ -363,8 +351,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
363
351
  mode: "low_trust_review";
364
352
  companyId?: string | undefined;
365
353
  projectIds?: string[] | undefined;
366
- issueIds?: string[] | undefined;
367
354
  rootIssueId?: string | undefined;
355
+ issueIds?: string[] | undefined;
368
356
  allowedAgentIds?: string[] | undefined;
369
357
  allowedSecretBindingIds?: string[] | undefined;
370
358
  allowedToolClasses?: string[] | undefined;
@@ -400,17 +388,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
400
388
  approvalReason: z.ZodOptional<z.ZodString>;
401
389
  }, z.ZodUnknown, "strip">>>;
402
390
  }, z.ZodUnknown, "strip"> | null | undefined;
403
- defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
404
- allowIssueOverride?: boolean | undefined;
405
- defaultProjectWorkspaceId?: string | null | undefined;
406
- branchPolicy?: Record<string, unknown> | null | undefined;
407
- pullRequestPolicy?: Record<string, unknown> | null | undefined;
408
- runtimePolicy?: Record<string, unknown> | null | undefined;
409
- cleanupPolicy?: Record<string, unknown> | null | undefined;
410
- }, {
411
- enabled: boolean;
412
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
413
391
  environmentId?: string | null | undefined;
392
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
414
393
  workspaceStrategy?: {
415
394
  type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
416
395
  baseRef?: string | null | undefined;
@@ -421,6 +400,15 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
421
400
  teardownCommand?: string | null | undefined;
422
401
  } | null | undefined;
423
402
  workspaceRuntime?: Record<string, unknown> | null | undefined;
403
+ defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
404
+ allowIssueOverride?: boolean | undefined;
405
+ defaultProjectWorkspaceId?: string | null | undefined;
406
+ branchPolicy?: Record<string, unknown> | null | undefined;
407
+ pullRequestPolicy?: Record<string, unknown> | null | undefined;
408
+ runtimePolicy?: Record<string, unknown> | null | undefined;
409
+ cleanupPolicy?: Record<string, unknown> | null | undefined;
410
+ }, {
411
+ enabled: boolean;
424
412
  authorizationPolicy?: z.objectInputType<{
425
413
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
426
414
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -428,12 +416,12 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
428
416
  version: z.ZodLiteral<1>;
429
417
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
430
418
  }, "strict", z.ZodTypeAny, {
431
- id: "low_trust_review";
432
419
  version: 1;
420
+ id: "low_trust_review";
433
421
  rawOutputDisposition: "quarantine";
434
422
  }, {
435
- id: "low_trust_review";
436
423
  version: 1;
424
+ id: "low_trust_review";
437
425
  rawOutputDisposition: "quarantine";
438
426
  }>>;
439
427
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -459,8 +447,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
459
447
  mode: "low_trust_review";
460
448
  companyId?: string | undefined;
461
449
  projectIds?: string[] | undefined;
462
- issueIds?: string[] | undefined;
463
450
  rootIssueId?: string | undefined;
451
+ issueIds?: string[] | undefined;
464
452
  allowedAgentIds?: string[] | undefined;
465
453
  allowedSecretBindingIds?: string[] | undefined;
466
454
  allowedToolClasses?: string[] | undefined;
@@ -472,8 +460,8 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
472
460
  mode: "low_trust_review";
473
461
  companyId?: string | undefined;
474
462
  projectIds?: string[] | undefined;
475
- issueIds?: string[] | undefined;
476
463
  rootIssueId?: string | undefined;
464
+ issueIds?: string[] | undefined;
477
465
  allowedAgentIds?: string[] | undefined;
478
466
  allowedSecretBindingIds?: string[] | undefined;
479
467
  allowedToolClasses?: string[] | undefined;
@@ -509,6 +497,18 @@ export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
509
497
  approvalReason: z.ZodOptional<z.ZodString>;
510
498
  }, z.ZodUnknown, "strip">>>;
511
499
  }, z.ZodUnknown, "strip"> | null | undefined;
500
+ environmentId?: string | null | undefined;
501
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
502
+ workspaceStrategy?: {
503
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
504
+ baseRef?: string | null | undefined;
505
+ branchTemplate?: string | null | undefined;
506
+ worktreeParentDir?: string | null | undefined;
507
+ provisionCommand?: string | null | undefined;
508
+ runtimeProvisionCommand?: string | null | undefined;
509
+ teardownCommand?: string | null | undefined;
510
+ } | null | undefined;
511
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
512
512
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
513
513
  allowIssueOverride?: boolean | undefined;
514
514
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -562,12 +562,12 @@ export declare const createProjectWorkspaceSchema: z.ZodEffects<z.ZodObject<{
562
562
  isPrimary: boolean;
563
563
  cwd?: string | null | undefined;
564
564
  name?: string | undefined;
565
- metadata?: Record<string, unknown> | null | undefined;
566
565
  runtimeConfig?: {
567
566
  workspaceRuntime?: Record<string, unknown> | null | undefined;
568
567
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
569
568
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
570
569
  } | null | undefined;
570
+ metadata?: Record<string, unknown> | null | undefined;
571
571
  cleanupCommand?: string | null | undefined;
572
572
  repoUrl?: string | null | undefined;
573
573
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -581,12 +581,12 @@ export declare const createProjectWorkspaceSchema: z.ZodEffects<z.ZodObject<{
581
581
  }, {
582
582
  cwd?: string | null | undefined;
583
583
  name?: string | undefined;
584
- metadata?: Record<string, unknown> | null | undefined;
585
584
  runtimeConfig?: {
586
585
  workspaceRuntime?: Record<string, unknown> | null | undefined;
587
586
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
588
587
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
589
588
  } | null | undefined;
589
+ metadata?: Record<string, unknown> | null | undefined;
590
590
  cleanupCommand?: string | null | undefined;
591
591
  repoUrl?: string | null | undefined;
592
592
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -602,12 +602,12 @@ export declare const createProjectWorkspaceSchema: z.ZodEffects<z.ZodObject<{
602
602
  isPrimary: boolean;
603
603
  cwd?: string | null | undefined;
604
604
  name?: string | undefined;
605
- metadata?: Record<string, unknown> | null | undefined;
606
605
  runtimeConfig?: {
607
606
  workspaceRuntime?: Record<string, unknown> | null | undefined;
608
607
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
609
608
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
610
609
  } | null | undefined;
610
+ metadata?: Record<string, unknown> | null | undefined;
611
611
  cleanupCommand?: string | null | undefined;
612
612
  repoUrl?: string | null | undefined;
613
613
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -621,12 +621,12 @@ export declare const createProjectWorkspaceSchema: z.ZodEffects<z.ZodObject<{
621
621
  }, {
622
622
  cwd?: string | null | undefined;
623
623
  name?: string | undefined;
624
- metadata?: Record<string, unknown> | null | undefined;
625
624
  runtimeConfig?: {
626
625
  workspaceRuntime?: Record<string, unknown> | null | undefined;
627
626
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
628
627
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
629
628
  } | null | undefined;
629
+ metadata?: Record<string, unknown> | null | undefined;
630
630
  cleanupCommand?: string | null | undefined;
631
631
  repoUrl?: string | null | undefined;
632
632
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -671,12 +671,12 @@ export declare const updateProjectWorkspaceSchema: z.ZodObject<{
671
671
  }, "strip", z.ZodTypeAny, {
672
672
  cwd?: string | null | undefined;
673
673
  name?: string | undefined;
674
- metadata?: Record<string, unknown> | null | undefined;
675
674
  runtimeConfig?: {
676
675
  workspaceRuntime?: Record<string, unknown> | null | undefined;
677
676
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
678
677
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
679
678
  } | null | undefined;
679
+ metadata?: Record<string, unknown> | null | undefined;
680
680
  cleanupCommand?: string | null | undefined;
681
681
  repoUrl?: string | null | undefined;
682
682
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -691,12 +691,12 @@ export declare const updateProjectWorkspaceSchema: z.ZodObject<{
691
691
  }, {
692
692
  cwd?: string | null | undefined;
693
693
  name?: string | undefined;
694
- metadata?: Record<string, unknown> | null | undefined;
695
694
  runtimeConfig?: {
696
695
  workspaceRuntime?: Record<string, unknown> | null | undefined;
697
696
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
698
697
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
699
698
  } | null | undefined;
699
+ metadata?: Record<string, unknown> | null | undefined;
700
700
  cleanupCommand?: string | null | undefined;
701
701
  repoUrl?: string | null | undefined;
702
702
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -743,12 +743,12 @@ export declare const createProjectSchema: z.ZodObject<{
743
743
  isPrimary: boolean;
744
744
  cwd?: string | null | undefined;
745
745
  name?: string | undefined;
746
- metadata?: Record<string, unknown> | null | undefined;
747
746
  runtimeConfig?: {
748
747
  workspaceRuntime?: Record<string, unknown> | null | undefined;
749
748
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
750
749
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
751
750
  } | null | undefined;
751
+ metadata?: Record<string, unknown> | null | undefined;
752
752
  cleanupCommand?: string | null | undefined;
753
753
  repoUrl?: string | null | undefined;
754
754
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -762,12 +762,12 @@ export declare const createProjectSchema: z.ZodObject<{
762
762
  }, {
763
763
  cwd?: string | null | undefined;
764
764
  name?: string | undefined;
765
- metadata?: Record<string, unknown> | null | undefined;
766
765
  runtimeConfig?: {
767
766
  workspaceRuntime?: Record<string, unknown> | null | undefined;
768
767
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
769
768
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
770
769
  } | null | undefined;
770
+ metadata?: Record<string, unknown> | null | undefined;
771
771
  cleanupCommand?: string | null | undefined;
772
772
  repoUrl?: string | null | undefined;
773
773
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -783,12 +783,12 @@ export declare const createProjectSchema: z.ZodObject<{
783
783
  isPrimary: boolean;
784
784
  cwd?: string | null | undefined;
785
785
  name?: string | undefined;
786
- metadata?: Record<string, unknown> | null | undefined;
787
786
  runtimeConfig?: {
788
787
  workspaceRuntime?: Record<string, unknown> | null | undefined;
789
788
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
790
789
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
791
790
  } | null | undefined;
791
+ metadata?: Record<string, unknown> | null | undefined;
792
792
  cleanupCommand?: string | null | undefined;
793
793
  repoUrl?: string | null | undefined;
794
794
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -802,12 +802,12 @@ export declare const createProjectSchema: z.ZodObject<{
802
802
  }, {
803
803
  cwd?: string | null | undefined;
804
804
  name?: string | undefined;
805
- metadata?: Record<string, unknown> | null | undefined;
806
805
  runtimeConfig?: {
807
806
  workspaceRuntime?: Record<string, unknown> | null | undefined;
808
807
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
809
808
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
810
809
  } | null | undefined;
810
+ metadata?: Record<string, unknown> | null | undefined;
811
811
  cleanupCommand?: string | null | undefined;
812
812
  repoUrl?: string | null | undefined;
813
813
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -834,11 +834,11 @@ export declare const createProjectSchema: z.ZodObject<{
834
834
  type: z.ZodLiteral<"plain">;
835
835
  value: z.ZodString;
836
836
  }, "strip", z.ZodTypeAny, {
837
- type: "plain";
838
837
  value: string;
839
- }, {
840
838
  type: "plain";
839
+ }, {
841
840
  value: string;
841
+ type: "plain";
842
842
  }>, z.ZodObject<{
843
843
  type: z.ZodLiteral<"secret_ref">;
844
844
  secretId: z.ZodString;
@@ -920,12 +920,12 @@ export declare const createProjectSchema: z.ZodObject<{
920
920
  version: z.ZodLiteral<1>;
921
921
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
922
922
  }, "strict", z.ZodTypeAny, {
923
- id: "low_trust_review";
924
923
  version: 1;
924
+ id: "low_trust_review";
925
925
  rawOutputDisposition: "quarantine";
926
926
  }, {
927
- id: "low_trust_review";
928
927
  version: 1;
928
+ id: "low_trust_review";
929
929
  rawOutputDisposition: "quarantine";
930
930
  }>>;
931
931
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -951,8 +951,8 @@ export declare const createProjectSchema: z.ZodObject<{
951
951
  mode: "low_trust_review";
952
952
  companyId?: string | undefined;
953
953
  projectIds?: string[] | undefined;
954
- issueIds?: string[] | undefined;
955
954
  rootIssueId?: string | undefined;
955
+ issueIds?: string[] | undefined;
956
956
  allowedAgentIds?: string[] | undefined;
957
957
  allowedSecretBindingIds?: string[] | undefined;
958
958
  allowedToolClasses?: string[] | undefined;
@@ -964,8 +964,8 @@ export declare const createProjectSchema: z.ZodObject<{
964
964
  mode: "low_trust_review";
965
965
  companyId?: string | undefined;
966
966
  projectIds?: string[] | undefined;
967
- issueIds?: string[] | undefined;
968
967
  rootIssueId?: string | undefined;
968
+ issueIds?: string[] | undefined;
969
969
  allowedAgentIds?: string[] | undefined;
970
970
  allowedSecretBindingIds?: string[] | undefined;
971
971
  allowedToolClasses?: string[] | undefined;
@@ -1007,12 +1007,12 @@ export declare const createProjectSchema: z.ZodObject<{
1007
1007
  version: z.ZodLiteral<1>;
1008
1008
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1009
1009
  }, "strict", z.ZodTypeAny, {
1010
- id: "low_trust_review";
1011
1010
  version: 1;
1011
+ id: "low_trust_review";
1012
1012
  rawOutputDisposition: "quarantine";
1013
1013
  }, {
1014
- id: "low_trust_review";
1015
1014
  version: 1;
1015
+ id: "low_trust_review";
1016
1016
  rawOutputDisposition: "quarantine";
1017
1017
  }>>;
1018
1018
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1038,8 +1038,8 @@ export declare const createProjectSchema: z.ZodObject<{
1038
1038
  mode: "low_trust_review";
1039
1039
  companyId?: string | undefined;
1040
1040
  projectIds?: string[] | undefined;
1041
- issueIds?: string[] | undefined;
1042
1041
  rootIssueId?: string | undefined;
1042
+ issueIds?: string[] | undefined;
1043
1043
  allowedAgentIds?: string[] | undefined;
1044
1044
  allowedSecretBindingIds?: string[] | undefined;
1045
1045
  allowedToolClasses?: string[] | undefined;
@@ -1051,8 +1051,8 @@ export declare const createProjectSchema: z.ZodObject<{
1051
1051
  mode: "low_trust_review";
1052
1052
  companyId?: string | undefined;
1053
1053
  projectIds?: string[] | undefined;
1054
- issueIds?: string[] | undefined;
1055
1054
  rootIssueId?: string | undefined;
1055
+ issueIds?: string[] | undefined;
1056
1056
  allowedAgentIds?: string[] | undefined;
1057
1057
  allowedSecretBindingIds?: string[] | undefined;
1058
1058
  allowedToolClasses?: string[] | undefined;
@@ -1094,12 +1094,12 @@ export declare const createProjectSchema: z.ZodObject<{
1094
1094
  version: z.ZodLiteral<1>;
1095
1095
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1096
1096
  }, "strict", z.ZodTypeAny, {
1097
- id: "low_trust_review";
1098
1097
  version: 1;
1098
+ id: "low_trust_review";
1099
1099
  rawOutputDisposition: "quarantine";
1100
1100
  }, {
1101
- id: "low_trust_review";
1102
1101
  version: 1;
1102
+ id: "low_trust_review";
1103
1103
  rawOutputDisposition: "quarantine";
1104
1104
  }>>;
1105
1105
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1125,8 +1125,8 @@ export declare const createProjectSchema: z.ZodObject<{
1125
1125
  mode: "low_trust_review";
1126
1126
  companyId?: string | undefined;
1127
1127
  projectIds?: string[] | undefined;
1128
- issueIds?: string[] | undefined;
1129
1128
  rootIssueId?: string | undefined;
1129
+ issueIds?: string[] | undefined;
1130
1130
  allowedAgentIds?: string[] | undefined;
1131
1131
  allowedSecretBindingIds?: string[] | undefined;
1132
1132
  allowedToolClasses?: string[] | undefined;
@@ -1138,8 +1138,8 @@ export declare const createProjectSchema: z.ZodObject<{
1138
1138
  mode: "low_trust_review";
1139
1139
  companyId?: string | undefined;
1140
1140
  projectIds?: string[] | undefined;
1141
- issueIds?: string[] | undefined;
1142
1141
  rootIssueId?: string | undefined;
1142
+ issueIds?: string[] | undefined;
1143
1143
  allowedAgentIds?: string[] | undefined;
1144
1144
  allowedSecretBindingIds?: string[] | undefined;
1145
1145
  allowedToolClasses?: string[] | undefined;
@@ -1177,18 +1177,6 @@ export declare const createProjectSchema: z.ZodObject<{
1177
1177
  }, z.ZodUnknown, "strip">>>>;
1178
1178
  }, "strict", z.ZodTypeAny, {
1179
1179
  enabled: boolean;
1180
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1181
- environmentId?: string | null | undefined;
1182
- workspaceStrategy?: {
1183
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1184
- baseRef?: string | null | undefined;
1185
- branchTemplate?: string | null | undefined;
1186
- worktreeParentDir?: string | null | undefined;
1187
- provisionCommand?: string | null | undefined;
1188
- runtimeProvisionCommand?: string | null | undefined;
1189
- teardownCommand?: string | null | undefined;
1190
- } | null | undefined;
1191
- workspaceRuntime?: Record<string, unknown> | null | undefined;
1192
1180
  authorizationPolicy?: z.objectOutputType<{
1193
1181
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
1194
1182
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -1196,12 +1184,12 @@ export declare const createProjectSchema: z.ZodObject<{
1196
1184
  version: z.ZodLiteral<1>;
1197
1185
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1198
1186
  }, "strict", z.ZodTypeAny, {
1199
- id: "low_trust_review";
1200
1187
  version: 1;
1188
+ id: "low_trust_review";
1201
1189
  rawOutputDisposition: "quarantine";
1202
1190
  }, {
1203
- id: "low_trust_review";
1204
1191
  version: 1;
1192
+ id: "low_trust_review";
1205
1193
  rawOutputDisposition: "quarantine";
1206
1194
  }>>;
1207
1195
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1227,8 +1215,8 @@ export declare const createProjectSchema: z.ZodObject<{
1227
1215
  mode: "low_trust_review";
1228
1216
  companyId?: string | undefined;
1229
1217
  projectIds?: string[] | undefined;
1230
- issueIds?: string[] | undefined;
1231
1218
  rootIssueId?: string | undefined;
1219
+ issueIds?: string[] | undefined;
1232
1220
  allowedAgentIds?: string[] | undefined;
1233
1221
  allowedSecretBindingIds?: string[] | undefined;
1234
1222
  allowedToolClasses?: string[] | undefined;
@@ -1240,8 +1228,8 @@ export declare const createProjectSchema: z.ZodObject<{
1240
1228
  mode: "low_trust_review";
1241
1229
  companyId?: string | undefined;
1242
1230
  projectIds?: string[] | undefined;
1243
- issueIds?: string[] | undefined;
1244
1231
  rootIssueId?: string | undefined;
1232
+ issueIds?: string[] | undefined;
1245
1233
  allowedAgentIds?: string[] | undefined;
1246
1234
  allowedSecretBindingIds?: string[] | undefined;
1247
1235
  allowedToolClasses?: string[] | undefined;
@@ -1277,17 +1265,8 @@ export declare const createProjectSchema: z.ZodObject<{
1277
1265
  approvalReason: z.ZodOptional<z.ZodString>;
1278
1266
  }, z.ZodUnknown, "strip">>>;
1279
1267
  }, z.ZodUnknown, "strip"> | null | undefined;
1280
- defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
1281
- allowIssueOverride?: boolean | undefined;
1282
- defaultProjectWorkspaceId?: string | null | undefined;
1283
- branchPolicy?: Record<string, unknown> | null | undefined;
1284
- pullRequestPolicy?: Record<string, unknown> | null | undefined;
1285
- runtimePolicy?: Record<string, unknown> | null | undefined;
1286
- cleanupPolicy?: Record<string, unknown> | null | undefined;
1287
- }, {
1288
- enabled: boolean;
1289
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1290
1268
  environmentId?: string | null | undefined;
1269
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1291
1270
  workspaceStrategy?: {
1292
1271
  type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1293
1272
  baseRef?: string | null | undefined;
@@ -1298,6 +1277,15 @@ export declare const createProjectSchema: z.ZodObject<{
1298
1277
  teardownCommand?: string | null | undefined;
1299
1278
  } | null | undefined;
1300
1279
  workspaceRuntime?: Record<string, unknown> | null | undefined;
1280
+ defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
1281
+ allowIssueOverride?: boolean | undefined;
1282
+ defaultProjectWorkspaceId?: string | null | undefined;
1283
+ branchPolicy?: Record<string, unknown> | null | undefined;
1284
+ pullRequestPolicy?: Record<string, unknown> | null | undefined;
1285
+ runtimePolicy?: Record<string, unknown> | null | undefined;
1286
+ cleanupPolicy?: Record<string, unknown> | null | undefined;
1287
+ }, {
1288
+ enabled: boolean;
1301
1289
  authorizationPolicy?: z.objectInputType<{
1302
1290
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
1303
1291
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -1305,12 +1293,12 @@ export declare const createProjectSchema: z.ZodObject<{
1305
1293
  version: z.ZodLiteral<1>;
1306
1294
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1307
1295
  }, "strict", z.ZodTypeAny, {
1308
- id: "low_trust_review";
1309
1296
  version: 1;
1297
+ id: "low_trust_review";
1310
1298
  rawOutputDisposition: "quarantine";
1311
1299
  }, {
1312
- id: "low_trust_review";
1313
1300
  version: 1;
1301
+ id: "low_trust_review";
1314
1302
  rawOutputDisposition: "quarantine";
1315
1303
  }>>;
1316
1304
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1336,8 +1324,8 @@ export declare const createProjectSchema: z.ZodObject<{
1336
1324
  mode: "low_trust_review";
1337
1325
  companyId?: string | undefined;
1338
1326
  projectIds?: string[] | undefined;
1339
- issueIds?: string[] | undefined;
1340
1327
  rootIssueId?: string | undefined;
1328
+ issueIds?: string[] | undefined;
1341
1329
  allowedAgentIds?: string[] | undefined;
1342
1330
  allowedSecretBindingIds?: string[] | undefined;
1343
1331
  allowedToolClasses?: string[] | undefined;
@@ -1349,8 +1337,8 @@ export declare const createProjectSchema: z.ZodObject<{
1349
1337
  mode: "low_trust_review";
1350
1338
  companyId?: string | undefined;
1351
1339
  projectIds?: string[] | undefined;
1352
- issueIds?: string[] | undefined;
1353
1340
  rootIssueId?: string | undefined;
1341
+ issueIds?: string[] | undefined;
1354
1342
  allowedAgentIds?: string[] | undefined;
1355
1343
  allowedSecretBindingIds?: string[] | undefined;
1356
1344
  allowedToolClasses?: string[] | undefined;
@@ -1386,6 +1374,18 @@ export declare const createProjectSchema: z.ZodObject<{
1386
1374
  approvalReason: z.ZodOptional<z.ZodString>;
1387
1375
  }, z.ZodUnknown, "strip">>>;
1388
1376
  }, z.ZodUnknown, "strip"> | null | undefined;
1377
+ environmentId?: string | null | undefined;
1378
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1379
+ workspaceStrategy?: {
1380
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1381
+ baseRef?: string | null | undefined;
1382
+ branchTemplate?: string | null | undefined;
1383
+ worktreeParentDir?: string | null | undefined;
1384
+ provisionCommand?: string | null | undefined;
1385
+ runtimeProvisionCommand?: string | null | undefined;
1386
+ teardownCommand?: string | null | undefined;
1387
+ } | null | undefined;
1388
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
1389
1389
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
1390
1390
  allowIssueOverride?: boolean | undefined;
1391
1391
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -1399,8 +1399,8 @@ export declare const createProjectSchema: z.ZodObject<{
1399
1399
  status: "backlog" | "in_progress" | "cancelled" | "completed" | "planned";
1400
1400
  name: string;
1401
1401
  env?: Record<string, string | {
1402
- type: "plain";
1403
1402
  value: string;
1403
+ type: "plain";
1404
1404
  } | {
1405
1405
  type: "secret_ref";
1406
1406
  secretId: string;
@@ -1419,12 +1419,12 @@ export declare const createProjectSchema: z.ZodObject<{
1419
1419
  isPrimary: boolean;
1420
1420
  cwd?: string | null | undefined;
1421
1421
  name?: string | undefined;
1422
- metadata?: Record<string, unknown> | null | undefined;
1423
1422
  runtimeConfig?: {
1424
1423
  workspaceRuntime?: Record<string, unknown> | null | undefined;
1425
1424
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
1426
1425
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
1427
1426
  } | null | undefined;
1427
+ metadata?: Record<string, unknown> | null | undefined;
1428
1428
  cleanupCommand?: string | null | undefined;
1429
1429
  repoUrl?: string | null | undefined;
1430
1430
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -1436,25 +1436,13 @@ export declare const createProjectSchema: z.ZodObject<{
1436
1436
  remoteProvider?: string | null | undefined;
1437
1437
  sharedWorkspaceKey?: string | null | undefined;
1438
1438
  } | undefined;
1439
+ icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
1439
1440
  goalId?: string | null | undefined;
1440
1441
  color?: string | null | undefined;
1441
- icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
1442
1442
  archivedAt?: string | null | undefined;
1443
1443
  targetDate?: string | null | undefined;
1444
1444
  executionWorkspacePolicy?: {
1445
1445
  enabled: boolean;
1446
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1447
- environmentId?: string | null | undefined;
1448
- workspaceStrategy?: {
1449
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1450
- baseRef?: string | null | undefined;
1451
- branchTemplate?: string | null | undefined;
1452
- worktreeParentDir?: string | null | undefined;
1453
- provisionCommand?: string | null | undefined;
1454
- runtimeProvisionCommand?: string | null | undefined;
1455
- teardownCommand?: string | null | undefined;
1456
- } | null | undefined;
1457
- workspaceRuntime?: Record<string, unknown> | null | undefined;
1458
1446
  authorizationPolicy?: z.objectOutputType<{
1459
1447
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
1460
1448
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -1462,12 +1450,12 @@ export declare const createProjectSchema: z.ZodObject<{
1462
1450
  version: z.ZodLiteral<1>;
1463
1451
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1464
1452
  }, "strict", z.ZodTypeAny, {
1465
- id: "low_trust_review";
1466
1453
  version: 1;
1454
+ id: "low_trust_review";
1467
1455
  rawOutputDisposition: "quarantine";
1468
1456
  }, {
1469
- id: "low_trust_review";
1470
1457
  version: 1;
1458
+ id: "low_trust_review";
1471
1459
  rawOutputDisposition: "quarantine";
1472
1460
  }>>;
1473
1461
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1493,8 +1481,8 @@ export declare const createProjectSchema: z.ZodObject<{
1493
1481
  mode: "low_trust_review";
1494
1482
  companyId?: string | undefined;
1495
1483
  projectIds?: string[] | undefined;
1496
- issueIds?: string[] | undefined;
1497
1484
  rootIssueId?: string | undefined;
1485
+ issueIds?: string[] | undefined;
1498
1486
  allowedAgentIds?: string[] | undefined;
1499
1487
  allowedSecretBindingIds?: string[] | undefined;
1500
1488
  allowedToolClasses?: string[] | undefined;
@@ -1506,8 +1494,8 @@ export declare const createProjectSchema: z.ZodObject<{
1506
1494
  mode: "low_trust_review";
1507
1495
  companyId?: string | undefined;
1508
1496
  projectIds?: string[] | undefined;
1509
- issueIds?: string[] | undefined;
1510
1497
  rootIssueId?: string | undefined;
1498
+ issueIds?: string[] | undefined;
1511
1499
  allowedAgentIds?: string[] | undefined;
1512
1500
  allowedSecretBindingIds?: string[] | undefined;
1513
1501
  allowedToolClasses?: string[] | undefined;
@@ -1543,6 +1531,18 @@ export declare const createProjectSchema: z.ZodObject<{
1543
1531
  approvalReason: z.ZodOptional<z.ZodString>;
1544
1532
  }, z.ZodUnknown, "strip">>>;
1545
1533
  }, z.ZodUnknown, "strip"> | null | undefined;
1534
+ environmentId?: string | null | undefined;
1535
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1536
+ workspaceStrategy?: {
1537
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1538
+ baseRef?: string | null | undefined;
1539
+ branchTemplate?: string | null | undefined;
1540
+ worktreeParentDir?: string | null | undefined;
1541
+ provisionCommand?: string | null | undefined;
1542
+ runtimeProvisionCommand?: string | null | undefined;
1543
+ teardownCommand?: string | null | undefined;
1544
+ } | null | undefined;
1545
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
1546
1546
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
1547
1547
  allowIssueOverride?: boolean | undefined;
1548
1548
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -1556,8 +1556,8 @@ export declare const createProjectSchema: z.ZodObject<{
1556
1556
  }, {
1557
1557
  name: string;
1558
1558
  env?: Record<string, string | {
1559
- type: "plain";
1560
1559
  value: string;
1560
+ type: "plain";
1561
1561
  } | {
1562
1562
  type: "secret_ref";
1563
1563
  secretId: string;
@@ -1575,12 +1575,12 @@ export declare const createProjectSchema: z.ZodObject<{
1575
1575
  workspace?: {
1576
1576
  cwd?: string | null | undefined;
1577
1577
  name?: string | undefined;
1578
- metadata?: Record<string, unknown> | null | undefined;
1579
1578
  runtimeConfig?: {
1580
1579
  workspaceRuntime?: Record<string, unknown> | null | undefined;
1581
1580
  desiredState?: "running" | "manual" | "stopped" | null | undefined;
1582
1581
  serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
1583
1582
  } | null | undefined;
1583
+ metadata?: Record<string, unknown> | null | undefined;
1584
1584
  cleanupCommand?: string | null | undefined;
1585
1585
  repoUrl?: string | null | undefined;
1586
1586
  sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
@@ -1594,25 +1594,13 @@ export declare const createProjectSchema: z.ZodObject<{
1594
1594
  sharedWorkspaceKey?: string | null | undefined;
1595
1595
  } | undefined;
1596
1596
  status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined;
1597
+ icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
1597
1598
  goalId?: string | null | undefined;
1598
1599
  color?: string | null | undefined;
1599
- icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
1600
1600
  archivedAt?: string | null | undefined;
1601
1601
  targetDate?: string | null | undefined;
1602
1602
  executionWorkspacePolicy?: {
1603
1603
  enabled: boolean;
1604
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1605
- environmentId?: string | null | undefined;
1606
- workspaceStrategy?: {
1607
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1608
- baseRef?: string | null | undefined;
1609
- branchTemplate?: string | null | undefined;
1610
- worktreeParentDir?: string | null | undefined;
1611
- provisionCommand?: string | null | undefined;
1612
- runtimeProvisionCommand?: string | null | undefined;
1613
- teardownCommand?: string | null | undefined;
1614
- } | null | undefined;
1615
- workspaceRuntime?: Record<string, unknown> | null | undefined;
1616
1604
  authorizationPolicy?: z.objectInputType<{
1617
1605
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
1618
1606
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -1620,12 +1608,12 @@ export declare const createProjectSchema: z.ZodObject<{
1620
1608
  version: z.ZodLiteral<1>;
1621
1609
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1622
1610
  }, "strict", z.ZodTypeAny, {
1623
- id: "low_trust_review";
1624
1611
  version: 1;
1612
+ id: "low_trust_review";
1625
1613
  rawOutputDisposition: "quarantine";
1626
1614
  }, {
1627
- id: "low_trust_review";
1628
1615
  version: 1;
1616
+ id: "low_trust_review";
1629
1617
  rawOutputDisposition: "quarantine";
1630
1618
  }>>;
1631
1619
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1651,8 +1639,8 @@ export declare const createProjectSchema: z.ZodObject<{
1651
1639
  mode: "low_trust_review";
1652
1640
  companyId?: string | undefined;
1653
1641
  projectIds?: string[] | undefined;
1654
- issueIds?: string[] | undefined;
1655
1642
  rootIssueId?: string | undefined;
1643
+ issueIds?: string[] | undefined;
1656
1644
  allowedAgentIds?: string[] | undefined;
1657
1645
  allowedSecretBindingIds?: string[] | undefined;
1658
1646
  allowedToolClasses?: string[] | undefined;
@@ -1664,8 +1652,8 @@ export declare const createProjectSchema: z.ZodObject<{
1664
1652
  mode: "low_trust_review";
1665
1653
  companyId?: string | undefined;
1666
1654
  projectIds?: string[] | undefined;
1667
- issueIds?: string[] | undefined;
1668
1655
  rootIssueId?: string | undefined;
1656
+ issueIds?: string[] | undefined;
1669
1657
  allowedAgentIds?: string[] | undefined;
1670
1658
  allowedSecretBindingIds?: string[] | undefined;
1671
1659
  allowedToolClasses?: string[] | undefined;
@@ -1701,6 +1689,18 @@ export declare const createProjectSchema: z.ZodObject<{
1701
1689
  approvalReason: z.ZodOptional<z.ZodString>;
1702
1690
  }, z.ZodUnknown, "strip">>>;
1703
1691
  }, z.ZodUnknown, "strip"> | null | undefined;
1692
+ environmentId?: string | null | undefined;
1693
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
1694
+ workspaceStrategy?: {
1695
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
1696
+ baseRef?: string | null | undefined;
1697
+ branchTemplate?: string | null | undefined;
1698
+ worktreeParentDir?: string | null | undefined;
1699
+ provisionCommand?: string | null | undefined;
1700
+ runtimeProvisionCommand?: string | null | undefined;
1701
+ teardownCommand?: string | null | undefined;
1702
+ } | null | undefined;
1703
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
1704
1704
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
1705
1705
  allowIssueOverride?: boolean | undefined;
1706
1706
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -1727,11 +1727,11 @@ export declare const updateProjectSchema: z.ZodObject<{
1727
1727
  type: z.ZodLiteral<"plain">;
1728
1728
  value: z.ZodString;
1729
1729
  }, "strip", z.ZodTypeAny, {
1730
- type: "plain";
1731
1730
  value: string;
1732
- }, {
1733
1731
  type: "plain";
1732
+ }, {
1734
1733
  value: string;
1734
+ type: "plain";
1735
1735
  }>, z.ZodObject<{
1736
1736
  type: z.ZodLiteral<"secret_ref">;
1737
1737
  secretId: z.ZodString;
@@ -1813,12 +1813,12 @@ export declare const updateProjectSchema: z.ZodObject<{
1813
1813
  version: z.ZodLiteral<1>;
1814
1814
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1815
1815
  }, "strict", z.ZodTypeAny, {
1816
- id: "low_trust_review";
1817
1816
  version: 1;
1817
+ id: "low_trust_review";
1818
1818
  rawOutputDisposition: "quarantine";
1819
1819
  }, {
1820
- id: "low_trust_review";
1821
1820
  version: 1;
1821
+ id: "low_trust_review";
1822
1822
  rawOutputDisposition: "quarantine";
1823
1823
  }>>;
1824
1824
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1844,8 +1844,8 @@ export declare const updateProjectSchema: z.ZodObject<{
1844
1844
  mode: "low_trust_review";
1845
1845
  companyId?: string | undefined;
1846
1846
  projectIds?: string[] | undefined;
1847
- issueIds?: string[] | undefined;
1848
1847
  rootIssueId?: string | undefined;
1848
+ issueIds?: string[] | undefined;
1849
1849
  allowedAgentIds?: string[] | undefined;
1850
1850
  allowedSecretBindingIds?: string[] | undefined;
1851
1851
  allowedToolClasses?: string[] | undefined;
@@ -1857,8 +1857,8 @@ export declare const updateProjectSchema: z.ZodObject<{
1857
1857
  mode: "low_trust_review";
1858
1858
  companyId?: string | undefined;
1859
1859
  projectIds?: string[] | undefined;
1860
- issueIds?: string[] | undefined;
1861
1860
  rootIssueId?: string | undefined;
1861
+ issueIds?: string[] | undefined;
1862
1862
  allowedAgentIds?: string[] | undefined;
1863
1863
  allowedSecretBindingIds?: string[] | undefined;
1864
1864
  allowedToolClasses?: string[] | undefined;
@@ -1900,12 +1900,12 @@ export declare const updateProjectSchema: z.ZodObject<{
1900
1900
  version: z.ZodLiteral<1>;
1901
1901
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1902
1902
  }, "strict", z.ZodTypeAny, {
1903
- id: "low_trust_review";
1904
1903
  version: 1;
1904
+ id: "low_trust_review";
1905
1905
  rawOutputDisposition: "quarantine";
1906
1906
  }, {
1907
- id: "low_trust_review";
1908
1907
  version: 1;
1908
+ id: "low_trust_review";
1909
1909
  rawOutputDisposition: "quarantine";
1910
1910
  }>>;
1911
1911
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -1931,8 +1931,8 @@ export declare const updateProjectSchema: z.ZodObject<{
1931
1931
  mode: "low_trust_review";
1932
1932
  companyId?: string | undefined;
1933
1933
  projectIds?: string[] | undefined;
1934
- issueIds?: string[] | undefined;
1935
1934
  rootIssueId?: string | undefined;
1935
+ issueIds?: string[] | undefined;
1936
1936
  allowedAgentIds?: string[] | undefined;
1937
1937
  allowedSecretBindingIds?: string[] | undefined;
1938
1938
  allowedToolClasses?: string[] | undefined;
@@ -1944,8 +1944,8 @@ export declare const updateProjectSchema: z.ZodObject<{
1944
1944
  mode: "low_trust_review";
1945
1945
  companyId?: string | undefined;
1946
1946
  projectIds?: string[] | undefined;
1947
- issueIds?: string[] | undefined;
1948
1947
  rootIssueId?: string | undefined;
1948
+ issueIds?: string[] | undefined;
1949
1949
  allowedAgentIds?: string[] | undefined;
1950
1950
  allowedSecretBindingIds?: string[] | undefined;
1951
1951
  allowedToolClasses?: string[] | undefined;
@@ -1987,12 +1987,12 @@ export declare const updateProjectSchema: z.ZodObject<{
1987
1987
  version: z.ZodLiteral<1>;
1988
1988
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
1989
1989
  }, "strict", z.ZodTypeAny, {
1990
- id: "low_trust_review";
1991
1990
  version: 1;
1991
+ id: "low_trust_review";
1992
1992
  rawOutputDisposition: "quarantine";
1993
1993
  }, {
1994
- id: "low_trust_review";
1995
1994
  version: 1;
1995
+ id: "low_trust_review";
1996
1996
  rawOutputDisposition: "quarantine";
1997
1997
  }>>;
1998
1998
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2018,8 +2018,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2018
2018
  mode: "low_trust_review";
2019
2019
  companyId?: string | undefined;
2020
2020
  projectIds?: string[] | undefined;
2021
- issueIds?: string[] | undefined;
2022
2021
  rootIssueId?: string | undefined;
2022
+ issueIds?: string[] | undefined;
2023
2023
  allowedAgentIds?: string[] | undefined;
2024
2024
  allowedSecretBindingIds?: string[] | undefined;
2025
2025
  allowedToolClasses?: string[] | undefined;
@@ -2031,8 +2031,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2031
2031
  mode: "low_trust_review";
2032
2032
  companyId?: string | undefined;
2033
2033
  projectIds?: string[] | undefined;
2034
- issueIds?: string[] | undefined;
2035
2034
  rootIssueId?: string | undefined;
2035
+ issueIds?: string[] | undefined;
2036
2036
  allowedAgentIds?: string[] | undefined;
2037
2037
  allowedSecretBindingIds?: string[] | undefined;
2038
2038
  allowedToolClasses?: string[] | undefined;
@@ -2070,18 +2070,6 @@ export declare const updateProjectSchema: z.ZodObject<{
2070
2070
  }, z.ZodUnknown, "strip">>>>;
2071
2071
  }, "strict", z.ZodTypeAny, {
2072
2072
  enabled: boolean;
2073
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2074
- environmentId?: string | null | undefined;
2075
- workspaceStrategy?: {
2076
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2077
- baseRef?: string | null | undefined;
2078
- branchTemplate?: string | null | undefined;
2079
- worktreeParentDir?: string | null | undefined;
2080
- provisionCommand?: string | null | undefined;
2081
- runtimeProvisionCommand?: string | null | undefined;
2082
- teardownCommand?: string | null | undefined;
2083
- } | null | undefined;
2084
- workspaceRuntime?: Record<string, unknown> | null | undefined;
2085
2073
  authorizationPolicy?: z.objectOutputType<{
2086
2074
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
2087
2075
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -2089,12 +2077,12 @@ export declare const updateProjectSchema: z.ZodObject<{
2089
2077
  version: z.ZodLiteral<1>;
2090
2078
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2091
2079
  }, "strict", z.ZodTypeAny, {
2092
- id: "low_trust_review";
2093
2080
  version: 1;
2081
+ id: "low_trust_review";
2094
2082
  rawOutputDisposition: "quarantine";
2095
2083
  }, {
2096
- id: "low_trust_review";
2097
2084
  version: 1;
2085
+ id: "low_trust_review";
2098
2086
  rawOutputDisposition: "quarantine";
2099
2087
  }>>;
2100
2088
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2120,8 +2108,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2120
2108
  mode: "low_trust_review";
2121
2109
  companyId?: string | undefined;
2122
2110
  projectIds?: string[] | undefined;
2123
- issueIds?: string[] | undefined;
2124
2111
  rootIssueId?: string | undefined;
2112
+ issueIds?: string[] | undefined;
2125
2113
  allowedAgentIds?: string[] | undefined;
2126
2114
  allowedSecretBindingIds?: string[] | undefined;
2127
2115
  allowedToolClasses?: string[] | undefined;
@@ -2133,8 +2121,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2133
2121
  mode: "low_trust_review";
2134
2122
  companyId?: string | undefined;
2135
2123
  projectIds?: string[] | undefined;
2136
- issueIds?: string[] | undefined;
2137
2124
  rootIssueId?: string | undefined;
2125
+ issueIds?: string[] | undefined;
2138
2126
  allowedAgentIds?: string[] | undefined;
2139
2127
  allowedSecretBindingIds?: string[] | undefined;
2140
2128
  allowedToolClasses?: string[] | undefined;
@@ -2170,17 +2158,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2170
2158
  approvalReason: z.ZodOptional<z.ZodString>;
2171
2159
  }, z.ZodUnknown, "strip">>>;
2172
2160
  }, z.ZodUnknown, "strip"> | null | undefined;
2173
- defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
2174
- allowIssueOverride?: boolean | undefined;
2175
- defaultProjectWorkspaceId?: string | null | undefined;
2176
- branchPolicy?: Record<string, unknown> | null | undefined;
2177
- pullRequestPolicy?: Record<string, unknown> | null | undefined;
2178
- runtimePolicy?: Record<string, unknown> | null | undefined;
2179
- cleanupPolicy?: Record<string, unknown> | null | undefined;
2180
- }, {
2181
- enabled: boolean;
2182
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2183
2161
  environmentId?: string | null | undefined;
2162
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2184
2163
  workspaceStrategy?: {
2185
2164
  type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2186
2165
  baseRef?: string | null | undefined;
@@ -2191,6 +2170,15 @@ export declare const updateProjectSchema: z.ZodObject<{
2191
2170
  teardownCommand?: string | null | undefined;
2192
2171
  } | null | undefined;
2193
2172
  workspaceRuntime?: Record<string, unknown> | null | undefined;
2173
+ defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
2174
+ allowIssueOverride?: boolean | undefined;
2175
+ defaultProjectWorkspaceId?: string | null | undefined;
2176
+ branchPolicy?: Record<string, unknown> | null | undefined;
2177
+ pullRequestPolicy?: Record<string, unknown> | null | undefined;
2178
+ runtimePolicy?: Record<string, unknown> | null | undefined;
2179
+ cleanupPolicy?: Record<string, unknown> | null | undefined;
2180
+ }, {
2181
+ enabled: boolean;
2194
2182
  authorizationPolicy?: z.objectInputType<{
2195
2183
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
2196
2184
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -2198,12 +2186,12 @@ export declare const updateProjectSchema: z.ZodObject<{
2198
2186
  version: z.ZodLiteral<1>;
2199
2187
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2200
2188
  }, "strict", z.ZodTypeAny, {
2201
- id: "low_trust_review";
2202
2189
  version: 1;
2190
+ id: "low_trust_review";
2203
2191
  rawOutputDisposition: "quarantine";
2204
2192
  }, {
2205
- id: "low_trust_review";
2206
2193
  version: 1;
2194
+ id: "low_trust_review";
2207
2195
  rawOutputDisposition: "quarantine";
2208
2196
  }>>;
2209
2197
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2229,8 +2217,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2229
2217
  mode: "low_trust_review";
2230
2218
  companyId?: string | undefined;
2231
2219
  projectIds?: string[] | undefined;
2232
- issueIds?: string[] | undefined;
2233
2220
  rootIssueId?: string | undefined;
2221
+ issueIds?: string[] | undefined;
2234
2222
  allowedAgentIds?: string[] | undefined;
2235
2223
  allowedSecretBindingIds?: string[] | undefined;
2236
2224
  allowedToolClasses?: string[] | undefined;
@@ -2242,8 +2230,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2242
2230
  mode: "low_trust_review";
2243
2231
  companyId?: string | undefined;
2244
2232
  projectIds?: string[] | undefined;
2245
- issueIds?: string[] | undefined;
2246
2233
  rootIssueId?: string | undefined;
2234
+ issueIds?: string[] | undefined;
2247
2235
  allowedAgentIds?: string[] | undefined;
2248
2236
  allowedSecretBindingIds?: string[] | undefined;
2249
2237
  allowedToolClasses?: string[] | undefined;
@@ -2279,6 +2267,18 @@ export declare const updateProjectSchema: z.ZodObject<{
2279
2267
  approvalReason: z.ZodOptional<z.ZodString>;
2280
2268
  }, z.ZodUnknown, "strip">>>;
2281
2269
  }, z.ZodUnknown, "strip"> | null | undefined;
2270
+ environmentId?: string | null | undefined;
2271
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2272
+ workspaceStrategy?: {
2273
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2274
+ baseRef?: string | null | undefined;
2275
+ branchTemplate?: string | null | undefined;
2276
+ worktreeParentDir?: string | null | undefined;
2277
+ provisionCommand?: string | null | undefined;
2278
+ runtimeProvisionCommand?: string | null | undefined;
2279
+ teardownCommand?: string | null | undefined;
2280
+ } | null | undefined;
2281
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
2282
2282
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
2283
2283
  allowIssueOverride?: boolean | undefined;
2284
2284
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -2290,8 +2290,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2290
2290
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2291
2291
  }, "strip", z.ZodTypeAny, {
2292
2292
  env?: Record<string, string | {
2293
- type: "plain";
2294
2293
  value: string;
2294
+ type: "plain";
2295
2295
  } | {
2296
2296
  type: "secret_ref";
2297
2297
  secretId: string;
@@ -2307,26 +2307,14 @@ export declare const updateProjectSchema: z.ZodObject<{
2307
2307
  }> | null | undefined;
2308
2308
  description?: string | null | undefined;
2309
2309
  status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined;
2310
+ name?: string | undefined;
2311
+ icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
2310
2312
  goalId?: string | null | undefined;
2311
2313
  color?: string | null | undefined;
2312
- icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
2313
- name?: string | undefined;
2314
2314
  archivedAt?: string | null | undefined;
2315
2315
  targetDate?: string | null | undefined;
2316
2316
  executionWorkspacePolicy?: {
2317
2317
  enabled: boolean;
2318
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2319
- environmentId?: string | null | undefined;
2320
- workspaceStrategy?: {
2321
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2322
- baseRef?: string | null | undefined;
2323
- branchTemplate?: string | null | undefined;
2324
- worktreeParentDir?: string | null | undefined;
2325
- provisionCommand?: string | null | undefined;
2326
- runtimeProvisionCommand?: string | null | undefined;
2327
- teardownCommand?: string | null | undefined;
2328
- } | null | undefined;
2329
- workspaceRuntime?: Record<string, unknown> | null | undefined;
2330
2318
  authorizationPolicy?: z.objectOutputType<{
2331
2319
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
2332
2320
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -2334,12 +2322,12 @@ export declare const updateProjectSchema: z.ZodObject<{
2334
2322
  version: z.ZodLiteral<1>;
2335
2323
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2336
2324
  }, "strict", z.ZodTypeAny, {
2337
- id: "low_trust_review";
2338
2325
  version: 1;
2326
+ id: "low_trust_review";
2339
2327
  rawOutputDisposition: "quarantine";
2340
2328
  }, {
2341
- id: "low_trust_review";
2342
2329
  version: 1;
2330
+ id: "low_trust_review";
2343
2331
  rawOutputDisposition: "quarantine";
2344
2332
  }>>;
2345
2333
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2365,8 +2353,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2365
2353
  mode: "low_trust_review";
2366
2354
  companyId?: string | undefined;
2367
2355
  projectIds?: string[] | undefined;
2368
- issueIds?: string[] | undefined;
2369
2356
  rootIssueId?: string | undefined;
2357
+ issueIds?: string[] | undefined;
2370
2358
  allowedAgentIds?: string[] | undefined;
2371
2359
  allowedSecretBindingIds?: string[] | undefined;
2372
2360
  allowedToolClasses?: string[] | undefined;
@@ -2378,8 +2366,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2378
2366
  mode: "low_trust_review";
2379
2367
  companyId?: string | undefined;
2380
2368
  projectIds?: string[] | undefined;
2381
- issueIds?: string[] | undefined;
2382
2369
  rootIssueId?: string | undefined;
2370
+ issueIds?: string[] | undefined;
2383
2371
  allowedAgentIds?: string[] | undefined;
2384
2372
  allowedSecretBindingIds?: string[] | undefined;
2385
2373
  allowedToolClasses?: string[] | undefined;
@@ -2415,6 +2403,18 @@ export declare const updateProjectSchema: z.ZodObject<{
2415
2403
  approvalReason: z.ZodOptional<z.ZodString>;
2416
2404
  }, z.ZodUnknown, "strip">>>;
2417
2405
  }, z.ZodUnknown, "strip"> | null | undefined;
2406
+ environmentId?: string | null | undefined;
2407
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2408
+ workspaceStrategy?: {
2409
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2410
+ baseRef?: string | null | undefined;
2411
+ branchTemplate?: string | null | undefined;
2412
+ worktreeParentDir?: string | null | undefined;
2413
+ provisionCommand?: string | null | undefined;
2414
+ runtimeProvisionCommand?: string | null | undefined;
2415
+ teardownCommand?: string | null | undefined;
2416
+ } | null | undefined;
2417
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
2418
2418
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
2419
2419
  allowIssueOverride?: boolean | undefined;
2420
2420
  defaultProjectWorkspaceId?: string | null | undefined;
@@ -2427,8 +2427,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2427
2427
  leadAgentId?: string | null | undefined;
2428
2428
  }, {
2429
2429
  env?: Record<string, string | {
2430
- type: "plain";
2431
2430
  value: string;
2431
+ type: "plain";
2432
2432
  } | {
2433
2433
  type: "secret_ref";
2434
2434
  secretId: string;
@@ -2444,26 +2444,14 @@ export declare const updateProjectSchema: z.ZodObject<{
2444
2444
  }> | null | undefined;
2445
2445
  description?: string | null | undefined;
2446
2446
  status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined;
2447
+ name?: string | undefined;
2448
+ icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
2447
2449
  goalId?: string | null | undefined;
2448
2450
  color?: string | null | undefined;
2449
- icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined;
2450
- name?: string | undefined;
2451
2451
  archivedAt?: string | null | undefined;
2452
2452
  targetDate?: string | null | undefined;
2453
2453
  executionWorkspacePolicy?: {
2454
2454
  enabled: boolean;
2455
- sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2456
- environmentId?: string | null | undefined;
2457
- workspaceStrategy?: {
2458
- type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2459
- baseRef?: string | null | undefined;
2460
- branchTemplate?: string | null | undefined;
2461
- worktreeParentDir?: string | null | undefined;
2462
- provisionCommand?: string | null | undefined;
2463
- runtimeProvisionCommand?: string | null | undefined;
2464
- teardownCommand?: string | null | undefined;
2465
- } | null | undefined;
2466
- workspaceRuntime?: Record<string, unknown> | null | undefined;
2467
2455
  authorizationPolicy?: z.objectInputType<{
2468
2456
  trustPreset: z.ZodOptional<z.ZodEnum<["standard", "low_trust_review"]>>;
2469
2457
  reviewPreset: z.ZodOptional<z.ZodObject<{
@@ -2471,12 +2459,12 @@ export declare const updateProjectSchema: z.ZodObject<{
2471
2459
  version: z.ZodLiteral<1>;
2472
2460
  rawOutputDisposition: z.ZodLiteral<"quarantine">;
2473
2461
  }, "strict", z.ZodTypeAny, {
2474
- id: "low_trust_review";
2475
2462
  version: 1;
2463
+ id: "low_trust_review";
2476
2464
  rawOutputDisposition: "quarantine";
2477
2465
  }, {
2478
- id: "low_trust_review";
2479
2466
  version: 1;
2467
+ id: "low_trust_review";
2480
2468
  rawOutputDisposition: "quarantine";
2481
2469
  }>>;
2482
2470
  trustBoundary: z.ZodOptional<z.ZodObject<{
@@ -2502,8 +2490,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2502
2490
  mode: "low_trust_review";
2503
2491
  companyId?: string | undefined;
2504
2492
  projectIds?: string[] | undefined;
2505
- issueIds?: string[] | undefined;
2506
2493
  rootIssueId?: string | undefined;
2494
+ issueIds?: string[] | undefined;
2507
2495
  allowedAgentIds?: string[] | undefined;
2508
2496
  allowedSecretBindingIds?: string[] | undefined;
2509
2497
  allowedToolClasses?: string[] | undefined;
@@ -2515,8 +2503,8 @@ export declare const updateProjectSchema: z.ZodObject<{
2515
2503
  mode: "low_trust_review";
2516
2504
  companyId?: string | undefined;
2517
2505
  projectIds?: string[] | undefined;
2518
- issueIds?: string[] | undefined;
2519
2506
  rootIssueId?: string | undefined;
2507
+ issueIds?: string[] | undefined;
2520
2508
  allowedAgentIds?: string[] | undefined;
2521
2509
  allowedSecretBindingIds?: string[] | undefined;
2522
2510
  allowedToolClasses?: string[] | undefined;
@@ -2552,6 +2540,18 @@ export declare const updateProjectSchema: z.ZodObject<{
2552
2540
  approvalReason: z.ZodOptional<z.ZodString>;
2553
2541
  }, z.ZodUnknown, "strip">>>;
2554
2542
  }, z.ZodUnknown, "strip"> | null | undefined;
2543
+ environmentId?: string | null | undefined;
2544
+ sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
2545
+ workspaceStrategy?: {
2546
+ type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
2547
+ baseRef?: string | null | undefined;
2548
+ branchTemplate?: string | null | undefined;
2549
+ worktreeParentDir?: string | null | undefined;
2550
+ provisionCommand?: string | null | undefined;
2551
+ runtimeProvisionCommand?: string | null | undefined;
2552
+ teardownCommand?: string | null | undefined;
2553
+ } | null | undefined;
2554
+ workspaceRuntime?: Record<string, unknown> | null | undefined;
2555
2555
  defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined;
2556
2556
  allowIssueOverride?: boolean | undefined;
2557
2557
  defaultProjectWorkspaceId?: string | null | undefined;