@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
@@ -3,11 +3,11 @@ export declare const envBindingPlainSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"plain">;
4
4
  value: z.ZodString;
5
5
  }, "strip", z.ZodTypeAny, {
6
- type: "plain";
7
6
  value: string;
8
- }, {
9
7
  type: "plain";
8
+ }, {
10
9
  value: string;
10
+ type: "plain";
11
11
  }>;
12
12
  export declare const envBindingSecretRefSchema: z.ZodObject<{
13
13
  type: z.ZodLiteral<"secret_ref">;
@@ -51,11 +51,11 @@ export declare const envBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
51
51
  type: z.ZodLiteral<"plain">;
52
52
  value: z.ZodString;
53
53
  }, "strip", z.ZodTypeAny, {
54
- type: "plain";
55
54
  value: string;
56
- }, {
57
55
  type: "plain";
56
+ }, {
58
57
  value: string;
58
+ type: "plain";
59
59
  }>, z.ZodObject<{
60
60
  type: z.ZodLiteral<"secret_ref">;
61
61
  secretId: z.ZodString;
@@ -97,11 +97,11 @@ export declare const envConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zod
97
97
  type: z.ZodLiteral<"plain">;
98
98
  value: z.ZodString;
99
99
  }, "strip", z.ZodTypeAny, {
100
- type: "plain";
101
100
  value: string;
102
- }, {
103
101
  type: "plain";
102
+ }, {
104
103
  value: string;
104
+ type: "plain";
105
105
  }>, z.ZodObject<{
106
106
  type: z.ZodLiteral<"secret_ref">;
107
107
  secretId: z.ZodString;
@@ -155,10 +155,10 @@ export declare const createSecretSchema: z.ZodEffects<z.ZodObject<{
155
155
  description?: string | null | undefined;
156
156
  key?: string | undefined;
157
157
  value?: string | null | undefined;
158
- externalRef?: string | null | undefined;
159
158
  provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
160
159
  providerConfigId?: string | null | undefined;
161
160
  managedMode?: "paperclip_managed" | "external_reference" | undefined;
161
+ externalRef?: string | null | undefined;
162
162
  providerMetadata?: Record<string, unknown> | null | undefined;
163
163
  providerVersionRef?: string | null | undefined;
164
164
  }, {
@@ -166,10 +166,10 @@ export declare const createSecretSchema: z.ZodEffects<z.ZodObject<{
166
166
  description?: string | null | undefined;
167
167
  key?: string | undefined;
168
168
  value?: string | null | undefined;
169
- externalRef?: string | null | undefined;
170
169
  provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
171
170
  providerConfigId?: string | null | undefined;
172
171
  managedMode?: "paperclip_managed" | "external_reference" | undefined;
172
+ externalRef?: string | null | undefined;
173
173
  providerMetadata?: Record<string, unknown> | null | undefined;
174
174
  providerVersionRef?: string | null | undefined;
175
175
  }>, {
@@ -177,10 +177,10 @@ export declare const createSecretSchema: z.ZodEffects<z.ZodObject<{
177
177
  description?: string | null | undefined;
178
178
  key?: string | undefined;
179
179
  value?: string | null | undefined;
180
- externalRef?: string | null | undefined;
181
180
  provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
182
181
  providerConfigId?: string | null | undefined;
183
182
  managedMode?: "paperclip_managed" | "external_reference" | undefined;
183
+ externalRef?: string | null | undefined;
184
184
  providerMetadata?: Record<string, unknown> | null | undefined;
185
185
  providerVersionRef?: string | null | undefined;
186
186
  }, {
@@ -188,10 +188,10 @@ export declare const createSecretSchema: z.ZodEffects<z.ZodObject<{
188
188
  description?: string | null | undefined;
189
189
  key?: string | undefined;
190
190
  value?: string | null | undefined;
191
- externalRef?: string | null | undefined;
192
191
  provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
193
192
  providerConfigId?: string | null | undefined;
194
193
  managedMode?: "paperclip_managed" | "external_reference" | undefined;
194
+ externalRef?: string | null | undefined;
195
195
  providerMetadata?: Record<string, unknown> | null | undefined;
196
196
  providerVersionRef?: string | null | undefined;
197
197
  }>;
@@ -203,23 +203,23 @@ export declare const rotateSecretSchema: z.ZodEffects<z.ZodObject<{
203
203
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  value?: string | null | undefined;
206
- externalRef?: string | null | undefined;
207
206
  providerConfigId?: string | null | undefined;
207
+ externalRef?: string | null | undefined;
208
208
  providerVersionRef?: string | null | undefined;
209
209
  }, {
210
210
  value?: string | null | undefined;
211
- externalRef?: string | null | undefined;
212
211
  providerConfigId?: string | null | undefined;
212
+ externalRef?: string | null | undefined;
213
213
  providerVersionRef?: string | null | undefined;
214
214
  }>, {
215
215
  value?: string | null | undefined;
216
- externalRef?: string | null | undefined;
217
216
  providerConfigId?: string | null | undefined;
217
+ externalRef?: string | null | undefined;
218
218
  providerVersionRef?: string | null | undefined;
219
219
  }, {
220
220
  value?: string | null | undefined;
221
- externalRef?: string | null | undefined;
222
221
  providerConfigId?: string | null | undefined;
222
+ externalRef?: string | null | undefined;
223
223
  providerVersionRef?: string | null | undefined;
224
224
  }>;
225
225
  export type RotateSecret = z.infer<typeof rotateSecretSchema>;
@@ -236,16 +236,16 @@ export declare const updateSecretSchema: z.ZodObject<{
236
236
  key?: string | undefined;
237
237
  status?: "active" | "archived" | "disabled" | "deleted" | undefined;
238
238
  name?: string | undefined;
239
- externalRef?: string | null | undefined;
240
239
  providerConfigId?: string | null | undefined;
240
+ externalRef?: string | null | undefined;
241
241
  providerMetadata?: Record<string, unknown> | null | undefined;
242
242
  }, {
243
243
  description?: string | null | undefined;
244
244
  key?: string | undefined;
245
245
  status?: "active" | "archived" | "disabled" | "deleted" | undefined;
246
246
  name?: string | undefined;
247
- externalRef?: string | null | undefined;
248
247
  providerConfigId?: string | null | undefined;
248
+ externalRef?: string | null | undefined;
249
249
  providerMetadata?: Record<string, unknown> | null | undefined;
250
250
  }>;
251
251
  export type UpdateSecret = z.infer<typeof updateSecretSchema>;
@@ -280,19 +280,19 @@ export declare const createSecretBindingSchema: z.ZodObject<{
280
280
  targetId: string;
281
281
  configPath: string;
282
282
  versionSelector: number | "latest";
283
- label?: string | null | undefined;
284
283
  projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
285
284
  projectionAllowlistKey?: string | null | undefined;
285
+ label?: string | null | undefined;
286
286
  }, {
287
287
  secretId: string;
288
288
  targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
289
289
  targetId: string;
290
290
  configPath: string;
291
291
  required?: boolean | undefined;
292
- label?: string | null | undefined;
293
292
  projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
294
293
  projectionAllowlistKey?: string | null | undefined;
295
294
  versionSelector?: number | "latest" | undefined;
295
+ label?: string | null | undefined;
296
296
  }>;
297
297
  export type CreateSecretBinding = z.infer<typeof createSecretBindingSchema>;
298
298
  export declare const createUserSecretDefinitionSchema: z.ZodObject<{
@@ -359,29 +359,29 @@ export declare const createUserSecretValueSchema: z.ZodEffects<z.ZodObject<{
359
359
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
360
360
  }, "strip", z.ZodTypeAny, {
361
361
  value?: string | null | undefined;
362
- externalRef?: string | null | undefined;
363
362
  providerConfigId?: string | null | undefined;
363
+ externalRef?: string | null | undefined;
364
364
  providerVersionRef?: string | null | undefined;
365
365
  definitionKey?: string | undefined;
366
366
  definitionId?: string | undefined;
367
367
  }, {
368
368
  value?: string | null | undefined;
369
- externalRef?: string | null | undefined;
370
369
  providerConfigId?: string | null | undefined;
370
+ externalRef?: string | null | undefined;
371
371
  providerVersionRef?: string | null | undefined;
372
372
  definitionKey?: string | undefined;
373
373
  definitionId?: string | undefined;
374
374
  }>, {
375
375
  value?: string | null | undefined;
376
- externalRef?: string | null | undefined;
377
376
  providerConfigId?: string | null | undefined;
377
+ externalRef?: string | null | undefined;
378
378
  providerVersionRef?: string | null | undefined;
379
379
  definitionKey?: string | undefined;
380
380
  definitionId?: string | undefined;
381
381
  }, {
382
382
  value?: string | null | undefined;
383
- externalRef?: string | null | undefined;
384
383
  providerConfigId?: string | null | undefined;
384
+ externalRef?: string | null | undefined;
385
385
  providerVersionRef?: string | null | undefined;
386
386
  definitionKey?: string | undefined;
387
387
  definitionId?: string | undefined;
@@ -396,14 +396,14 @@ export declare const updateUserSecretValueSchema: z.ZodObject<{
396
396
  }, "strip", z.ZodTypeAny, {
397
397
  status?: "active" | "archived" | "disabled" | "deleted" | undefined;
398
398
  value?: string | null | undefined;
399
- externalRef?: string | null | undefined;
400
399
  providerConfigId?: string | null | undefined;
400
+ externalRef?: string | null | undefined;
401
401
  providerVersionRef?: string | null | undefined;
402
402
  }, {
403
403
  status?: "active" | "archived" | "disabled" | "deleted" | undefined;
404
404
  value?: string | null | undefined;
405
- externalRef?: string | null | undefined;
406
405
  providerConfigId?: string | null | undefined;
406
+ externalRef?: string | null | undefined;
407
407
  providerVersionRef?: string | null | undefined;
408
408
  }>;
409
409
  export type UpdateUserSecretValue = z.infer<typeof updateUserSecretValueSchema>;
@@ -414,23 +414,23 @@ export declare const rotateUserSecretValueSchema: z.ZodEffects<z.ZodObject<{
414
414
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
415
415
  }, "strip", z.ZodTypeAny, {
416
416
  value?: string | null | undefined;
417
- externalRef?: string | null | undefined;
418
417
  providerConfigId?: string | null | undefined;
418
+ externalRef?: string | null | undefined;
419
419
  providerVersionRef?: string | null | undefined;
420
420
  }, {
421
421
  value?: string | null | undefined;
422
- externalRef?: string | null | undefined;
423
422
  providerConfigId?: string | null | undefined;
423
+ externalRef?: string | null | undefined;
424
424
  providerVersionRef?: string | null | undefined;
425
425
  }>, {
426
426
  value?: string | null | undefined;
427
- externalRef?: string | null | undefined;
428
427
  providerConfigId?: string | null | undefined;
428
+ externalRef?: string | null | undefined;
429
429
  providerVersionRef?: string | null | undefined;
430
430
  }, {
431
431
  value?: string | null | undefined;
432
- externalRef?: string | null | undefined;
433
432
  providerConfigId?: string | null | undefined;
433
+ externalRef?: string | null | undefined;
434
434
  providerVersionRef?: string | null | undefined;
435
435
  }>;
436
436
  export type RotateUserSecretValue = z.infer<typeof rotateUserSecretValueSchema>;
@@ -462,9 +462,9 @@ export declare const createUserSecretDeclarationSchema: z.ZodObject<{
462
462
  definitionKey: string;
463
463
  envKey: string;
464
464
  required?: boolean | undefined;
465
- label?: string | null | undefined;
466
465
  allowMissingOverride?: boolean | undefined;
467
466
  versionSelector?: number | "latest" | undefined;
467
+ label?: string | null | undefined;
468
468
  }>;
469
469
  export type CreateUserSecretDeclaration = z.infer<typeof createUserSecretDeclarationSchema>;
470
470
  export declare const localEncryptedProviderConfigSchema: z.ZodObject<{
@@ -502,14 +502,14 @@ export declare const gcpSecretManagerProviderConfigSchema: z.ZodObject<{
502
502
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
503
503
  secretNamePrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
504
504
  }, "strict", z.ZodTypeAny, {
505
- projectId?: string | null | undefined;
506
505
  namespace?: string | null | undefined;
507
506
  secretNamePrefix?: string | null | undefined;
507
+ projectId?: string | null | undefined;
508
508
  location?: string | null | undefined;
509
509
  }, {
510
- projectId?: string | null | undefined;
511
510
  namespace?: string | null | undefined;
512
511
  secretNamePrefix?: string | null | undefined;
512
+ projectId?: string | null | undefined;
513
513
  location?: string | null | undefined;
514
514
  }>;
515
515
  export declare const vaultProviderConfigSchema: z.ZodObject<{
@@ -518,13 +518,13 @@ export declare const vaultProviderConfigSchema: z.ZodObject<{
518
518
  mountPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
519
  secretPathPrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
520
520
  }, "strict", z.ZodTypeAny, {
521
- address?: string | null | undefined;
522
521
  namespace?: string | null | undefined;
522
+ address?: string | null | undefined;
523
523
  mountPath?: string | null | undefined;
524
524
  secretPathPrefix?: string | null | undefined;
525
525
  }, {
526
- address?: unknown;
527
526
  namespace?: string | null | undefined;
527
+ address?: unknown;
528
528
  mountPath?: string | null | undefined;
529
529
  secretPathPrefix?: string | null | undefined;
530
530
  }>;
@@ -538,15 +538,15 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
538
538
  backupReminderAcknowledged?: boolean | undefined;
539
539
  }>;
540
540
  }, "strip", z.ZodTypeAny, {
541
+ provider: "local_encrypted";
541
542
  config: {
542
543
  backupReminderAcknowledged?: boolean | undefined;
543
544
  };
544
- provider: "local_encrypted";
545
545
  }, {
546
+ provider: "local_encrypted";
546
547
  config: {
547
548
  backupReminderAcknowledged?: boolean | undefined;
548
549
  };
549
- provider: "local_encrypted";
550
550
  }>, z.ZodObject<{
551
551
  provider: z.ZodLiteral<"aws_secrets_manager">;
552
552
  config: z.ZodObject<{
@@ -572,6 +572,7 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
572
572
  environmentTag?: string | null | undefined;
573
573
  }>;
574
574
  }, "strip", z.ZodTypeAny, {
575
+ provider: "aws_secrets_manager";
575
576
  config: {
576
577
  region: string;
577
578
  namespace?: string | null | undefined;
@@ -580,8 +581,8 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
580
581
  ownerTag?: string | null | undefined;
581
582
  environmentTag?: string | null | undefined;
582
583
  };
583
- provider: "aws_secrets_manager";
584
584
  }, {
585
+ provider: "aws_secrets_manager";
585
586
  config: {
586
587
  region: string;
587
588
  namespace?: string | null | undefined;
@@ -590,7 +591,6 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
590
591
  ownerTag?: string | null | undefined;
591
592
  environmentTag?: string | null | undefined;
592
593
  };
593
- provider: "aws_secrets_manager";
594
594
  }>, z.ZodObject<{
595
595
  provider: z.ZodLiteral<"gcp_secret_manager">;
596
596
  config: z.ZodObject<{
@@ -599,32 +599,32 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
599
599
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
600
600
  secretNamePrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
601
601
  }, "strict", z.ZodTypeAny, {
602
- projectId?: string | null | undefined;
603
602
  namespace?: string | null | undefined;
604
603
  secretNamePrefix?: string | null | undefined;
604
+ projectId?: string | null | undefined;
605
605
  location?: string | null | undefined;
606
606
  }, {
607
- projectId?: string | null | undefined;
608
607
  namespace?: string | null | undefined;
609
608
  secretNamePrefix?: string | null | undefined;
609
+ projectId?: string | null | undefined;
610
610
  location?: string | null | undefined;
611
611
  }>;
612
612
  }, "strip", z.ZodTypeAny, {
613
+ provider: "gcp_secret_manager";
613
614
  config: {
614
- projectId?: string | null | undefined;
615
615
  namespace?: string | null | undefined;
616
616
  secretNamePrefix?: string | null | undefined;
617
+ projectId?: string | null | undefined;
617
618
  location?: string | null | undefined;
618
619
  };
619
- provider: "gcp_secret_manager";
620
620
  }, {
621
+ provider: "gcp_secret_manager";
621
622
  config: {
622
- projectId?: string | null | undefined;
623
623
  namespace?: string | null | undefined;
624
624
  secretNamePrefix?: string | null | undefined;
625
+ projectId?: string | null | undefined;
625
626
  location?: string | null | undefined;
626
627
  };
627
- provider: "gcp_secret_manager";
628
628
  }>, z.ZodObject<{
629
629
  provider: z.ZodLiteral<"vault">;
630
630
  config: z.ZodObject<{
@@ -633,32 +633,32 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
633
633
  mountPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
634
634
  secretPathPrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
635
  }, "strict", z.ZodTypeAny, {
636
- address?: string | null | undefined;
637
636
  namespace?: string | null | undefined;
637
+ address?: string | null | undefined;
638
638
  mountPath?: string | null | undefined;
639
639
  secretPathPrefix?: string | null | undefined;
640
640
  }, {
641
- address?: unknown;
642
641
  namespace?: string | null | undefined;
642
+ address?: unknown;
643
643
  mountPath?: string | null | undefined;
644
644
  secretPathPrefix?: string | null | undefined;
645
645
  }>;
646
646
  }, "strip", z.ZodTypeAny, {
647
+ provider: "vault";
647
648
  config: {
648
- address?: string | null | undefined;
649
649
  namespace?: string | null | undefined;
650
+ address?: string | null | undefined;
650
651
  mountPath?: string | null | undefined;
651
652
  secretPathPrefix?: string | null | undefined;
652
653
  };
653
- provider: "vault";
654
654
  }, {
655
+ provider: "vault";
655
656
  config: {
656
- address?: unknown;
657
657
  namespace?: string | null | undefined;
658
+ address?: unknown;
658
659
  mountPath?: string | null | undefined;
659
660
  secretPathPrefix?: string | null | undefined;
660
661
  };
661
- provider: "vault";
662
662
  }>]>;
663
663
  export declare const createSecretProviderConfigSchema: z.ZodEffects<z.ZodObject<{
664
664
  provider: z.ZodEnum<["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"]>;
@@ -667,8 +667,8 @@ export declare const createSecretProviderConfigSchema: z.ZodEffects<z.ZodObject<
667
667
  isDefault: z.ZodOptional<z.ZodBoolean>;
668
668
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
669
669
  }, "strip", z.ZodTypeAny, {
670
- config: Record<string, unknown>;
671
670
  provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
671
+ config: Record<string, unknown>;
672
672
  displayName: string;
673
673
  status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
674
674
  isDefault?: boolean | undefined;
@@ -679,8 +679,8 @@ export declare const createSecretProviderConfigSchema: z.ZodEffects<z.ZodObject<
679
679
  config?: Record<string, unknown> | undefined;
680
680
  isDefault?: boolean | undefined;
681
681
  }>, {
682
- config: Record<string, unknown>;
683
682
  provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
683
+ config: Record<string, unknown>;
684
684
  displayName: string;
685
685
  status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
686
686
  isDefault?: boolean | undefined;
@@ -743,8 +743,8 @@ export declare const secretProviderConfigDiscoveryPreviewSchema: z.ZodEffects<z.
743
743
  nextToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
744
744
  pageSize: z.ZodOptional<z.ZodNumber>;
745
745
  }, "strip", z.ZodTypeAny, {
746
- config: Record<string, unknown>;
747
746
  provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
747
+ config: Record<string, unknown>;
748
748
  query?: string | null | undefined;
749
749
  nextToken?: string | null | undefined;
750
750
  pageSize?: number | undefined;
@@ -755,8 +755,8 @@ export declare const secretProviderConfigDiscoveryPreviewSchema: z.ZodEffects<z.
755
755
  nextToken?: string | null | undefined;
756
756
  pageSize?: number | undefined;
757
757
  }>, {
758
- config: Record<string, unknown>;
759
758
  provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
759
+ config: Record<string, unknown>;
760
760
  query?: string | null | undefined;
761
761
  nextToken?: string | null | undefined;
762
762
  pageSize?: number | undefined;
@@ -204,30 +204,30 @@ export declare const statusCardSchema: z.ZodObject<{
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  status: ("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[];
206
206
  sort: "priority" | "relevance" | "updated" | "created";
207
- priority: ("critical" | "high" | "medium" | "low")[];
208
207
  offset: number;
209
- q: string;
210
208
  scope: "projects" | "agents" | "issues" | "all" | "comments" | "documents" | "artifacts";
209
+ priority: ("critical" | "high" | "medium" | "low")[];
210
+ q: string;
211
211
  limit: number;
212
+ projectId?: string | undefined;
212
213
  assigneeAgentId?: string | null | undefined;
213
214
  assigneeUserId?: string | undefined;
214
- projectId?: string | undefined;
215
215
  labelId?: string | undefined;
216
216
  updatedWithin?: string | undefined;
217
217
  updatedAfter?: string | undefined;
218
218
  }, {
219
219
  status?: unknown;
220
220
  sort?: unknown;
221
+ projectId?: unknown;
222
+ offset?: unknown;
223
+ scope?: unknown;
221
224
  assigneeAgentId?: unknown;
222
225
  assigneeUserId?: unknown;
223
- projectId?: unknown;
224
226
  priority?: unknown;
225
- offset?: unknown;
226
227
  labelId?: unknown;
227
228
  updatedWithin?: unknown;
228
229
  updatedAfter?: unknown;
229
230
  q?: unknown;
230
- scope?: unknown;
231
231
  limit?: unknown;
232
232
  }>, "many">;
233
233
  queryVersion: z.ZodNumber;
@@ -402,8 +402,9 @@ export declare const statusCardSchema: z.ZodObject<{
402
402
  latestHumanCommentAt?: string | null | undefined;
403
403
  }> | null;
404
404
  title: string | null;
405
- id: string;
406
405
  companyId: string;
406
+ id: string;
407
+ state: "active" | "error" | "compiling" | "paused_budget" | "paused_hours";
407
408
  agentId: string | null;
408
409
  createdByAgentId: string | null;
409
410
  createdByUserId: string | null;
@@ -417,14 +418,14 @@ export declare const statusCardSchema: z.ZodObject<{
417
418
  queries: {
418
419
  status: ("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[];
419
420
  sort: "priority" | "relevance" | "updated" | "created";
420
- priority: ("critical" | "high" | "medium" | "low")[];
421
421
  offset: number;
422
- q: string;
423
422
  scope: "projects" | "agents" | "issues" | "all" | "comments" | "documents" | "artifacts";
423
+ priority: ("critical" | "high" | "medium" | "low")[];
424
+ q: string;
424
425
  limit: number;
426
+ projectId?: string | undefined;
425
427
  assigneeAgentId?: string | null | undefined;
426
428
  assigneeUserId?: string | undefined;
427
- projectId?: string | undefined;
428
429
  labelId?: string | undefined;
429
430
  updatedWithin?: string | undefined;
430
431
  updatedAfter?: string | undefined;
@@ -451,7 +452,6 @@ export declare const statusCardSchema: z.ZodObject<{
451
452
  } | undefined;
452
453
  dailyTokenCap?: number | undefined;
453
454
  };
454
- state: "active" | "error" | "compiling" | "paused_budget" | "paused_hours";
455
455
  pendingChangeCount: number;
456
456
  lastChangeAt: string | null;
457
457
  fingerprintAt: string | null;
@@ -478,8 +478,9 @@ export declare const statusCardSchema: z.ZodObject<{
478
478
  latestHumanCommentAt?: string | null | undefined;
479
479
  }> | null;
480
480
  title: string | null;
481
- id: string;
482
481
  companyId: string;
482
+ id: string;
483
+ state: "active" | "error" | "compiling" | "paused_budget" | "paused_hours";
483
484
  agentId: string | null;
484
485
  createdByAgentId: string | null;
485
486
  createdByUserId: string | null;
@@ -493,16 +494,16 @@ export declare const statusCardSchema: z.ZodObject<{
493
494
  queries: {
494
495
  status?: unknown;
495
496
  sort?: unknown;
497
+ projectId?: unknown;
498
+ offset?: unknown;
499
+ scope?: unknown;
496
500
  assigneeAgentId?: unknown;
497
501
  assigneeUserId?: unknown;
498
- projectId?: unknown;
499
502
  priority?: unknown;
500
- offset?: unknown;
501
503
  labelId?: unknown;
502
504
  updatedWithin?: unknown;
503
505
  updatedAfter?: unknown;
504
506
  q?: unknown;
505
- scope?: unknown;
506
507
  limit?: unknown;
507
508
  }[];
508
509
  queryVersion: number;
@@ -527,7 +528,6 @@ export declare const statusCardSchema: z.ZodObject<{
527
528
  } | undefined;
528
529
  dailyTokenCap?: number | undefined;
529
530
  };
530
- state: "active" | "error" | "compiling" | "paused_budget" | "paused_hours";
531
531
  pendingChangeCount: number;
532
532
  lastChangeAt: string | null;
533
533
  fingerprintAt: string | null;
@@ -552,14 +552,14 @@ export declare const statusCardUpdateChangeSchema: z.ZodObject<{
552
552
  changeKind: z.ZodString;
553
553
  }, "strip", z.ZodTypeAny, {
554
554
  to: string | null;
555
- identifier: string;
556
555
  issueId: string;
556
+ identifier: string;
557
557
  from: string | null;
558
558
  changeKind: string;
559
559
  }, {
560
560
  to: string | null;
561
- identifier: string;
562
561
  issueId: string;
562
+ identifier: string;
563
563
  from: string | null;
564
564
  changeKind: string;
565
565
  }>;
@@ -578,14 +578,14 @@ export declare const statusCardUpdateSchema: z.ZodObject<{
578
578
  changeKind: z.ZodString;
579
579
  }, "strip", z.ZodTypeAny, {
580
580
  to: string | null;
581
- identifier: string;
582
581
  issueId: string;
582
+ identifier: string;
583
583
  from: string | null;
584
584
  changeKind: string;
585
585
  }, {
586
586
  to: string | null;
587
- identifier: string;
588
587
  issueId: string;
588
+ identifier: string;
589
589
  from: string | null;
590
590
  changeKind: string;
591
591
  }>, "many">;
@@ -603,8 +603,8 @@ export declare const statusCardUpdateSchema: z.ZodObject<{
603
603
  error: string | null;
604
604
  changes: {
605
605
  to: string | null;
606
- identifier: string;
607
606
  issueId: string;
607
+ identifier: string;
608
608
  from: string | null;
609
609
  changeKind: string;
610
610
  }[];
@@ -627,8 +627,8 @@ export declare const statusCardUpdateSchema: z.ZodObject<{
627
627
  error: string | null;
628
628
  changes: {
629
629
  to: string | null;
630
- identifier: string;
631
630
  issueId: string;
631
+ identifier: string;
632
632
  from: string | null;
633
633
  changeKind: string;
634
634
  }[];
@@ -1085,30 +1085,30 @@ export declare const writeStatusCardQuerySchema: z.ZodObject<{
1085
1085
  }, "strip", z.ZodTypeAny, {
1086
1086
  status: ("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[];
1087
1087
  sort: "priority" | "relevance" | "updated" | "created";
1088
- priority: ("critical" | "high" | "medium" | "low")[];
1089
1088
  offset: number;
1090
- q: string;
1091
1089
  scope: "projects" | "agents" | "issues" | "all" | "comments" | "documents" | "artifacts";
1090
+ priority: ("critical" | "high" | "medium" | "low")[];
1091
+ q: string;
1092
1092
  limit: number;
1093
+ projectId?: string | undefined;
1093
1094
  assigneeAgentId?: string | null | undefined;
1094
1095
  assigneeUserId?: string | undefined;
1095
- projectId?: string | undefined;
1096
1096
  labelId?: string | undefined;
1097
1097
  updatedWithin?: string | undefined;
1098
1098
  updatedAfter?: string | undefined;
1099
1099
  }, {
1100
1100
  status?: unknown;
1101
1101
  sort?: unknown;
1102
+ projectId?: unknown;
1103
+ offset?: unknown;
1104
+ scope?: unknown;
1102
1105
  assigneeAgentId?: unknown;
1103
1106
  assigneeUserId?: unknown;
1104
- projectId?: unknown;
1105
1107
  priority?: unknown;
1106
- offset?: unknown;
1107
1108
  labelId?: unknown;
1108
1109
  updatedWithin?: unknown;
1109
1110
  updatedAfter?: unknown;
1110
1111
  q?: unknown;
1111
- scope?: unknown;
1112
1112
  limit?: unknown;
1113
1113
  }>, "many">;
1114
1114
  title: z.ZodString;
@@ -1119,14 +1119,14 @@ export declare const writeStatusCardQuerySchema: z.ZodObject<{
1119
1119
  queries: {
1120
1120
  status: ("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[];
1121
1121
  sort: "priority" | "relevance" | "updated" | "created";
1122
- priority: ("critical" | "high" | "medium" | "low")[];
1123
1122
  offset: number;
1124
- q: string;
1125
1123
  scope: "projects" | "agents" | "issues" | "all" | "comments" | "documents" | "artifacts";
1124
+ priority: ("critical" | "high" | "medium" | "low")[];
1125
+ q: string;
1126
1126
  limit: number;
1127
+ projectId?: string | undefined;
1127
1128
  assigneeAgentId?: string | null | undefined;
1128
1129
  assigneeUserId?: string | undefined;
1129
- projectId?: string | undefined;
1130
1130
  labelId?: string | undefined;
1131
1131
  updatedWithin?: string | undefined;
1132
1132
  updatedAfter?: string | undefined;
@@ -1138,16 +1138,16 @@ export declare const writeStatusCardQuerySchema: z.ZodObject<{
1138
1138
  queries: {
1139
1139
  status?: unknown;
1140
1140
  sort?: unknown;
1141
+ projectId?: unknown;
1142
+ offset?: unknown;
1143
+ scope?: unknown;
1141
1144
  assigneeAgentId?: unknown;
1142
1145
  assigneeUserId?: unknown;
1143
- projectId?: unknown;
1144
1146
  priority?: unknown;
1145
- offset?: unknown;
1146
1147
  labelId?: unknown;
1147
1148
  updatedWithin?: unknown;
1148
1149
  updatedAfter?: unknown;
1149
1150
  q?: unknown;
1150
- scope?: unknown;
1151
1151
  limit?: unknown;
1152
1152
  }[];
1153
1153
  generationIssueId: string;