@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
@@ -110,11 +110,11 @@ export declare const portabilityLabelManifestEntrySchema: z.ZodObject<{
110
110
  name: z.ZodString;
111
111
  color: z.ZodString;
112
112
  }, "strip", z.ZodTypeAny, {
113
- color: string;
114
113
  name: string;
115
- }, {
116
114
  color: string;
115
+ }, {
117
116
  name: string;
117
+ color: string;
118
118
  }>;
119
119
  export declare const portabilityBlobManifestEntrySchema: z.ZodObject<{
120
120
  sha256: z.ZodString;
@@ -158,17 +158,17 @@ export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  title: string | null;
160
160
  path: string;
161
- icon: string | null;
162
- slug: string;
163
161
  name: string;
164
- metadata: Record<string, unknown> | null;
162
+ adapterType: string;
165
163
  adapterConfig: Record<string, unknown>;
166
164
  role: string;
165
+ icon: string | null;
167
166
  capabilities: string | null;
168
- adapterType: string;
169
167
  runtimeConfig: Record<string, unknown>;
170
- permissions: Record<string, unknown>;
171
168
  budgetMonthlyCents: number;
169
+ permissions: Record<string, unknown>;
170
+ metadata: Record<string, unknown> | null;
171
+ slug: string;
172
172
  skills: string[];
173
173
  reportsToSlug: string | null;
174
174
  permissionGrants: {
@@ -178,17 +178,17 @@ export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
178
178
  }, {
179
179
  title: string | null;
180
180
  path: string;
181
- icon: string | null;
182
- slug: string;
183
181
  name: string;
184
- metadata: Record<string, unknown> | null;
182
+ adapterType: string;
185
183
  adapterConfig: Record<string, unknown>;
186
184
  role: string;
185
+ icon: string | null;
187
186
  capabilities: string | null;
188
- adapterType: string;
189
187
  runtimeConfig: Record<string, unknown>;
190
- permissions: Record<string, unknown>;
191
188
  budgetMonthlyCents: number;
189
+ permissions: Record<string, unknown>;
190
+ metadata: Record<string, unknown> | null;
191
+ slug: string;
192
192
  reportsToSlug: string | null;
193
193
  skills?: string[] | undefined;
194
194
  permissionGrants?: {
@@ -222,9 +222,9 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
222
222
  description: string | null;
223
223
  key: string;
224
224
  path: string;
225
- slug: string;
226
225
  name: string;
227
226
  metadata: Record<string, unknown> | null;
227
+ slug: string;
228
228
  sourceType: string;
229
229
  sourceLocator: string | null;
230
230
  sourceRef: string | null;
@@ -238,9 +238,9 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
238
238
  description: string | null;
239
239
  key: string;
240
240
  path: string;
241
- slug: string;
242
241
  name: string;
243
242
  metadata: Record<string, unknown> | null;
243
+ slug: string;
244
244
  sourceType: string;
245
245
  sourceLocator: string | null;
246
246
  sourceRef: string | null;
@@ -317,10 +317,10 @@ export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
317
317
  }[];
318
318
  status: string | null;
319
319
  path: string;
320
- color: string | null;
321
- slug: string;
322
320
  name: string;
323
321
  metadata: Record<string, unknown> | null;
322
+ color: string | null;
323
+ slug: string;
324
324
  ownerAgentSlug: string | null;
325
325
  leadAgentSlug: string | null;
326
326
  targetDate: string | null;
@@ -329,10 +329,10 @@ export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
329
329
  description: string | null;
330
330
  status: string | null;
331
331
  path: string;
332
- color: string | null;
333
- slug: string;
334
332
  name: string;
335
333
  metadata: Record<string, unknown> | null;
334
+ color: string | null;
335
+ slug: string;
336
336
  ownerAgentSlug: string | null;
337
337
  leadAgentSlug: string | null;
338
338
  targetDate: string | null;
@@ -361,16 +361,16 @@ export declare const portabilityIssueRoutineTriggerManifestEntrySchema: z.ZodObj
361
361
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
362
362
  }, "strip", z.ZodTypeAny, {
363
363
  label: string | null;
364
- kind: string;
365
364
  enabled: boolean;
365
+ kind: string;
366
366
  cronExpression: string | null;
367
367
  timezone: string | null;
368
368
  signingMode: string | null;
369
369
  replayWindowSec: number | null;
370
370
  }, {
371
371
  label: string | null;
372
- kind: string;
373
372
  enabled: boolean;
373
+ kind: string;
374
374
  cronExpression: string | null;
375
375
  timezone: string | null;
376
376
  signingMode: string | null;
@@ -388,30 +388,30 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
388
388
  options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
389
389
  }, "strip", z.ZodTypeAny, {
390
390
  required: boolean;
391
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
392
391
  options: string[];
392
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
393
393
  name: string;
394
394
  label?: string | null | undefined;
395
395
  defaultValue?: string | number | boolean | null | undefined;
396
396
  }, {
397
397
  name: string;
398
398
  required?: boolean | undefined;
399
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
400
399
  options?: string[] | undefined;
400
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
401
401
  label?: string | null | undefined;
402
402
  defaultValue?: string | number | boolean | null | undefined;
403
403
  }>, {
404
404
  required: boolean;
405
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
406
405
  options: string[];
406
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
407
407
  name: string;
408
408
  label?: string | null | undefined;
409
409
  defaultValue?: string | number | boolean | null | undefined;
410
410
  }, {
411
411
  name: string;
412
412
  required?: boolean | undefined;
413
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
414
413
  options?: string[] | undefined;
414
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
415
415
  label?: string | null | undefined;
416
416
  defaultValue?: string | number | boolean | null | undefined;
417
417
  }>, "many">>>;
@@ -425,16 +425,16 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
425
425
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
426
426
  }, "strip", z.ZodTypeAny, {
427
427
  label: string | null;
428
- kind: string;
429
428
  enabled: boolean;
429
+ kind: string;
430
430
  cronExpression: string | null;
431
431
  timezone: string | null;
432
432
  signingMode: string | null;
433
433
  replayWindowSec: number | null;
434
434
  }, {
435
435
  label: string | null;
436
- kind: string;
437
436
  enabled: boolean;
437
+ kind: string;
438
438
  cronExpression: string | null;
439
439
  timezone: string | null;
440
440
  signingMode: string | null;
@@ -443,8 +443,8 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
443
443
  }, "strip", z.ZodTypeAny, {
444
444
  triggers: {
445
445
  label: string | null;
446
- kind: string;
447
446
  enabled: boolean;
447
+ kind: string;
448
448
  cronExpression: string | null;
449
449
  timezone: string | null;
450
450
  signingMode: string | null;
@@ -454,8 +454,8 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
454
454
  catchUpPolicy: string | null;
455
455
  variables?: {
456
456
  required: boolean;
457
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
458
457
  options: string[];
458
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
459
459
  name: string;
460
460
  label?: string | null | undefined;
461
461
  defaultValue?: string | number | boolean | null | undefined;
@@ -466,15 +466,15 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
466
466
  variables?: {
467
467
  name: string;
468
468
  required?: boolean | undefined;
469
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
470
469
  options?: string[] | undefined;
470
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
471
471
  label?: string | null | undefined;
472
472
  defaultValue?: string | number | boolean | null | undefined;
473
473
  }[] | null | undefined;
474
474
  triggers?: {
475
475
  label: string | null;
476
- kind: string;
477
476
  enabled: boolean;
477
+ kind: string;
478
478
  cronExpression: string | null;
479
479
  timezone: string | null;
480
480
  signingMode: string | null;
@@ -545,12 +545,12 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
545
545
  label: z.ZodString;
546
546
  value: z.ZodString;
547
547
  }, "strict", z.ZodTypeAny, {
548
- type: "key_value";
549
548
  value: string;
549
+ type: "key_value";
550
550
  label: string;
551
551
  }, {
552
- type: "key_value";
553
552
  value: string;
553
+ type: "key_value";
554
554
  label: string;
555
555
  }>, z.ZodObject<{
556
556
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -563,14 +563,14 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
563
563
  type: "issue_link";
564
564
  title?: string | null | undefined;
565
565
  label?: string | null | undefined;
566
- identifier?: string | null | undefined;
567
566
  issueId?: string | null | undefined;
567
+ identifier?: string | null | undefined;
568
568
  }, {
569
569
  type: "issue_link";
570
570
  title?: string | null | undefined;
571
571
  label?: string | null | undefined;
572
- identifier?: string | null | undefined;
573
572
  issueId?: string | null | undefined;
573
+ identifier?: string | null | undefined;
574
574
  }>, z.ZodObject<{
575
575
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
576
  } & {
@@ -580,13 +580,13 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
580
580
  }, "strict", z.ZodTypeAny, {
581
581
  type: "agent_link";
582
582
  agentId: string;
583
- label?: string | null | undefined;
584
583
  name?: string | null | undefined;
584
+ label?: string | null | undefined;
585
585
  }, {
586
586
  type: "agent_link";
587
587
  agentId: string;
588
- label?: string | null | undefined;
589
588
  name?: string | null | undefined;
589
+ label?: string | null | undefined;
590
590
  }>, z.ZodObject<{
591
591
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
592
  } & {
@@ -616,20 +616,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
616
616
  label?: string | null | undefined;
617
617
  language?: string | null | undefined;
618
618
  } | {
619
- type: "key_value";
620
619
  value: string;
620
+ type: "key_value";
621
621
  label: string;
622
622
  } | {
623
623
  type: "issue_link";
624
624
  title?: string | null | undefined;
625
625
  label?: string | null | undefined;
626
- identifier?: string | null | undefined;
627
626
  issueId?: string | null | undefined;
627
+ identifier?: string | null | undefined;
628
628
  } | {
629
629
  type: "agent_link";
630
630
  agentId: string;
631
- label?: string | null | undefined;
632
631
  name?: string | null | undefined;
632
+ label?: string | null | undefined;
633
633
  } | {
634
634
  type: "run_link";
635
635
  runId: string;
@@ -646,20 +646,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
646
646
  label?: string | null | undefined;
647
647
  language?: string | null | undefined;
648
648
  } | {
649
- type: "key_value";
650
649
  value: string;
650
+ type: "key_value";
651
651
  label: string;
652
652
  } | {
653
653
  type: "issue_link";
654
654
  title?: string | null | undefined;
655
655
  label?: string | null | undefined;
656
- identifier?: string | null | undefined;
657
656
  issueId?: string | null | undefined;
657
+ identifier?: string | null | undefined;
658
658
  } | {
659
659
  type: "agent_link";
660
660
  agentId: string;
661
- label?: string | null | undefined;
662
661
  name?: string | null | undefined;
662
+ label?: string | null | undefined;
663
663
  } | {
664
664
  type: "run_link";
665
665
  runId: string;
@@ -678,20 +678,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
678
678
  label?: string | null | undefined;
679
679
  language?: string | null | undefined;
680
680
  } | {
681
- type: "key_value";
682
681
  value: string;
682
+ type: "key_value";
683
683
  label: string;
684
684
  } | {
685
685
  type: "issue_link";
686
686
  title?: string | null | undefined;
687
687
  label?: string | null | undefined;
688
- identifier?: string | null | undefined;
689
688
  issueId?: string | null | undefined;
689
+ identifier?: string | null | undefined;
690
690
  } | {
691
691
  type: "agent_link";
692
692
  agentId: string;
693
- label?: string | null | undefined;
694
693
  name?: string | null | undefined;
694
+ label?: string | null | undefined;
695
695
  } | {
696
696
  type: "run_link";
697
697
  runId: string;
@@ -711,20 +711,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
711
711
  label?: string | null | undefined;
712
712
  language?: string | null | undefined;
713
713
  } | {
714
- type: "key_value";
715
714
  value: string;
715
+ type: "key_value";
716
716
  label: string;
717
717
  } | {
718
718
  type: "issue_link";
719
719
  title?: string | null | undefined;
720
720
  label?: string | null | undefined;
721
- identifier?: string | null | undefined;
722
721
  issueId?: string | null | undefined;
722
+ identifier?: string | null | undefined;
723
723
  } | {
724
724
  type: "agent_link";
725
725
  agentId: string;
726
- label?: string | null | undefined;
727
726
  name?: string | null | undefined;
727
+ label?: string | null | undefined;
728
728
  } | {
729
729
  type: "run_link";
730
730
  runId: string;
@@ -747,20 +747,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
747
747
  label?: string | null | undefined;
748
748
  language?: string | null | undefined;
749
749
  } | {
750
- type: "key_value";
751
750
  value: string;
751
+ type: "key_value";
752
752
  label: string;
753
753
  } | {
754
754
  type: "issue_link";
755
755
  title?: string | null | undefined;
756
756
  label?: string | null | undefined;
757
- identifier?: string | null | undefined;
758
757
  issueId?: string | null | undefined;
758
+ identifier?: string | null | undefined;
759
759
  } | {
760
760
  type: "agent_link";
761
761
  agentId: string;
762
- label?: string | null | undefined;
763
762
  name?: string | null | undefined;
763
+ label?: string | null | undefined;
764
764
  } | {
765
765
  type: "run_link";
766
766
  runId: string;
@@ -785,20 +785,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
785
785
  label?: string | null | undefined;
786
786
  language?: string | null | undefined;
787
787
  } | {
788
- type: "key_value";
789
788
  value: string;
789
+ type: "key_value";
790
790
  label: string;
791
791
  } | {
792
792
  type: "issue_link";
793
793
  title?: string | null | undefined;
794
794
  label?: string | null | undefined;
795
- identifier?: string | null | undefined;
796
795
  issueId?: string | null | undefined;
796
+ identifier?: string | null | undefined;
797
797
  } | {
798
798
  type: "agent_link";
799
799
  agentId: string;
800
- label?: string | null | undefined;
801
800
  name?: string | null | undefined;
801
+ label?: string | null | undefined;
802
802
  } | {
803
803
  type: "run_link";
804
804
  runId: string;
@@ -813,8 +813,6 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
813
813
  }>>;
814
814
  createdAt: z.ZodNullable<z.ZodString>;
815
815
  }, "strip", z.ZodTypeAny, {
816
- createdAt: string | null;
817
- body: string;
818
816
  metadata: {
819
817
  version: 1;
820
818
  sections: {
@@ -828,20 +826,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
828
826
  label?: string | null | undefined;
829
827
  language?: string | null | undefined;
830
828
  } | {
831
- type: "key_value";
832
829
  value: string;
830
+ type: "key_value";
833
831
  label: string;
834
832
  } | {
835
833
  type: "issue_link";
836
834
  title?: string | null | undefined;
837
835
  label?: string | null | undefined;
838
- identifier?: string | null | undefined;
839
836
  issueId?: string | null | undefined;
837
+ identifier?: string | null | undefined;
840
838
  } | {
841
839
  type: "agent_link";
842
840
  agentId: string;
843
- label?: string | null | undefined;
844
841
  name?: string | null | undefined;
842
+ label?: string | null | undefined;
845
843
  } | {
846
844
  type: "run_link";
847
845
  runId: string;
@@ -854,6 +852,8 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
854
852
  sourceRunId?: string | null | undefined;
855
853
  authorizationReason?: string | null | undefined;
856
854
  } | null;
855
+ createdAt: string | null;
856
+ body: string;
857
857
  authorType: "user" | "agent" | "system";
858
858
  presentation: {
859
859
  kind: "message" | "system_notice";
@@ -865,8 +865,6 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
865
865
  authorUserId: string | null;
866
866
  authorAgentSlug: string | null;
867
867
  }, {
868
- createdAt: string | null;
869
- body: string;
870
868
  metadata: {
871
869
  version: 1;
872
870
  sections: {
@@ -880,20 +878,20 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
880
878
  label?: string | null | undefined;
881
879
  language?: string | null | undefined;
882
880
  } | {
883
- type: "key_value";
884
881
  value: string;
882
+ type: "key_value";
885
883
  label: string;
886
884
  } | {
887
885
  type: "issue_link";
888
886
  title?: string | null | undefined;
889
887
  label?: string | null | undefined;
890
- identifier?: string | null | undefined;
891
888
  issueId?: string | null | undefined;
889
+ identifier?: string | null | undefined;
892
890
  } | {
893
891
  type: "agent_link";
894
892
  agentId: string;
895
- label?: string | null | undefined;
896
893
  name?: string | null | undefined;
894
+ label?: string | null | undefined;
897
895
  } | {
898
896
  type: "run_link";
899
897
  runId: string;
@@ -906,6 +904,8 @@ export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
906
904
  sourceRunId?: string | null | undefined;
907
905
  authorizationReason?: string | null | undefined;
908
906
  } | null;
907
+ createdAt: string | null;
908
+ body: string;
909
909
  authorType: "user" | "agent" | "system";
910
910
  presentation: {
911
911
  title?: string | null | undefined;
@@ -947,25 +947,25 @@ export declare const portabilityIssueWorkProductManifestEntrySchema: z.ZodObject
947
947
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
948
948
  }, "strip", z.ZodTypeAny, {
949
949
  title: string;
950
- type: string;
951
950
  status: string;
951
+ type: string;
952
+ provider: string;
953
+ url: string | null;
954
+ metadata: Record<string, unknown> | null;
952
955
  healthStatus: string;
953
956
  summary: string | null;
954
- metadata: Record<string, unknown> | null;
955
- url: string | null;
956
- provider: string;
957
957
  externalId: string | null;
958
958
  isPrimary: boolean;
959
959
  reviewState: string;
960
960
  }, {
961
961
  title: string;
962
- type: string;
963
962
  status: string;
963
+ type: string;
964
+ provider: string;
965
+ url: string | null;
966
+ metadata: Record<string, unknown> | null;
964
967
  healthStatus: string;
965
968
  summary: string | null;
966
- metadata: Record<string, unknown> | null;
967
- url: string | null;
968
- provider: string;
969
969
  externalId: string | null;
970
970
  reviewState: string;
971
971
  isPrimary?: boolean | undefined;
@@ -1024,30 +1024,30 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1024
1024
  options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1025
1025
  }, "strip", z.ZodTypeAny, {
1026
1026
  required: boolean;
1027
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1028
1027
  options: string[];
1028
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1029
1029
  name: string;
1030
1030
  label?: string | null | undefined;
1031
1031
  defaultValue?: string | number | boolean | null | undefined;
1032
1032
  }, {
1033
1033
  name: string;
1034
1034
  required?: boolean | undefined;
1035
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1036
1035
  options?: string[] | undefined;
1036
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1037
1037
  label?: string | null | undefined;
1038
1038
  defaultValue?: string | number | boolean | null | undefined;
1039
1039
  }>, {
1040
1040
  required: boolean;
1041
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1042
1041
  options: string[];
1042
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1043
1043
  name: string;
1044
1044
  label?: string | null | undefined;
1045
1045
  defaultValue?: string | number | boolean | null | undefined;
1046
1046
  }, {
1047
1047
  name: string;
1048
1048
  required?: boolean | undefined;
1049
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1050
1049
  options?: string[] | undefined;
1050
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1051
1051
  label?: string | null | undefined;
1052
1052
  defaultValue?: string | number | boolean | null | undefined;
1053
1053
  }>, "many">>>;
@@ -1061,16 +1061,16 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1061
1061
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
1062
1062
  }, "strip", z.ZodTypeAny, {
1063
1063
  label: string | null;
1064
- kind: string;
1065
1064
  enabled: boolean;
1065
+ kind: string;
1066
1066
  cronExpression: string | null;
1067
1067
  timezone: string | null;
1068
1068
  signingMode: string | null;
1069
1069
  replayWindowSec: number | null;
1070
1070
  }, {
1071
1071
  label: string | null;
1072
- kind: string;
1073
1072
  enabled: boolean;
1073
+ kind: string;
1074
1074
  cronExpression: string | null;
1075
1075
  timezone: string | null;
1076
1076
  signingMode: string | null;
@@ -1079,8 +1079,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1079
1079
  }, "strip", z.ZodTypeAny, {
1080
1080
  triggers: {
1081
1081
  label: string | null;
1082
- kind: string;
1083
1082
  enabled: boolean;
1083
+ kind: string;
1084
1084
  cronExpression: string | null;
1085
1085
  timezone: string | null;
1086
1086
  signingMode: string | null;
@@ -1090,8 +1090,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1090
1090
  catchUpPolicy: string | null;
1091
1091
  variables?: {
1092
1092
  required: boolean;
1093
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1094
1093
  options: string[];
1094
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1095
1095
  name: string;
1096
1096
  label?: string | null | undefined;
1097
1097
  defaultValue?: string | number | boolean | null | undefined;
@@ -1102,15 +1102,15 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1102
1102
  variables?: {
1103
1103
  name: string;
1104
1104
  required?: boolean | undefined;
1105
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1106
1105
  options?: string[] | undefined;
1106
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1107
1107
  label?: string | null | undefined;
1108
1108
  defaultValue?: string | number | boolean | null | undefined;
1109
1109
  }[] | null | undefined;
1110
1110
  triggers?: {
1111
1111
  label: string | null;
1112
- kind: string;
1113
1112
  enabled: boolean;
1113
+ kind: string;
1114
1114
  cronExpression: string | null;
1115
1115
  timezone: string | null;
1116
1116
  signingMode: string | null;
@@ -1189,12 +1189,12 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1189
1189
  label: z.ZodString;
1190
1190
  value: z.ZodString;
1191
1191
  }, "strict", z.ZodTypeAny, {
1192
- type: "key_value";
1193
1192
  value: string;
1193
+ type: "key_value";
1194
1194
  label: string;
1195
1195
  }, {
1196
- type: "key_value";
1197
1196
  value: string;
1197
+ type: "key_value";
1198
1198
  label: string;
1199
1199
  }>, z.ZodObject<{
1200
1200
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1207,14 +1207,14 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1207
1207
  type: "issue_link";
1208
1208
  title?: string | null | undefined;
1209
1209
  label?: string | null | undefined;
1210
- identifier?: string | null | undefined;
1211
1210
  issueId?: string | null | undefined;
1211
+ identifier?: string | null | undefined;
1212
1212
  }, {
1213
1213
  type: "issue_link";
1214
1214
  title?: string | null | undefined;
1215
1215
  label?: string | null | undefined;
1216
- identifier?: string | null | undefined;
1217
1216
  issueId?: string | null | undefined;
1217
+ identifier?: string | null | undefined;
1218
1218
  }>, z.ZodObject<{
1219
1219
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
1220
  } & {
@@ -1224,13 +1224,13 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1224
1224
  }, "strict", z.ZodTypeAny, {
1225
1225
  type: "agent_link";
1226
1226
  agentId: string;
1227
- label?: string | null | undefined;
1228
1227
  name?: string | null | undefined;
1228
+ label?: string | null | undefined;
1229
1229
  }, {
1230
1230
  type: "agent_link";
1231
1231
  agentId: string;
1232
- label?: string | null | undefined;
1233
1232
  name?: string | null | undefined;
1233
+ label?: string | null | undefined;
1234
1234
  }>, z.ZodObject<{
1235
1235
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1236
1236
  } & {
@@ -1260,20 +1260,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1260
1260
  label?: string | null | undefined;
1261
1261
  language?: string | null | undefined;
1262
1262
  } | {
1263
- type: "key_value";
1264
1263
  value: string;
1264
+ type: "key_value";
1265
1265
  label: string;
1266
1266
  } | {
1267
1267
  type: "issue_link";
1268
1268
  title?: string | null | undefined;
1269
1269
  label?: string | null | undefined;
1270
- identifier?: string | null | undefined;
1271
1270
  issueId?: string | null | undefined;
1271
+ identifier?: string | null | undefined;
1272
1272
  } | {
1273
1273
  type: "agent_link";
1274
1274
  agentId: string;
1275
- label?: string | null | undefined;
1276
1275
  name?: string | null | undefined;
1276
+ label?: string | null | undefined;
1277
1277
  } | {
1278
1278
  type: "run_link";
1279
1279
  runId: string;
@@ -1290,20 +1290,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1290
1290
  label?: string | null | undefined;
1291
1291
  language?: string | null | undefined;
1292
1292
  } | {
1293
- type: "key_value";
1294
1293
  value: string;
1294
+ type: "key_value";
1295
1295
  label: string;
1296
1296
  } | {
1297
1297
  type: "issue_link";
1298
1298
  title?: string | null | undefined;
1299
1299
  label?: string | null | undefined;
1300
- identifier?: string | null | undefined;
1301
1300
  issueId?: string | null | undefined;
1301
+ identifier?: string | null | undefined;
1302
1302
  } | {
1303
1303
  type: "agent_link";
1304
1304
  agentId: string;
1305
- label?: string | null | undefined;
1306
1305
  name?: string | null | undefined;
1306
+ label?: string | null | undefined;
1307
1307
  } | {
1308
1308
  type: "run_link";
1309
1309
  runId: string;
@@ -1322,20 +1322,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1322
1322
  label?: string | null | undefined;
1323
1323
  language?: string | null | undefined;
1324
1324
  } | {
1325
- type: "key_value";
1326
1325
  value: string;
1326
+ type: "key_value";
1327
1327
  label: string;
1328
1328
  } | {
1329
1329
  type: "issue_link";
1330
1330
  title?: string | null | undefined;
1331
1331
  label?: string | null | undefined;
1332
- identifier?: string | null | undefined;
1333
1332
  issueId?: string | null | undefined;
1333
+ identifier?: string | null | undefined;
1334
1334
  } | {
1335
1335
  type: "agent_link";
1336
1336
  agentId: string;
1337
- label?: string | null | undefined;
1338
1337
  name?: string | null | undefined;
1338
+ label?: string | null | undefined;
1339
1339
  } | {
1340
1340
  type: "run_link";
1341
1341
  runId: string;
@@ -1355,20 +1355,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1355
1355
  label?: string | null | undefined;
1356
1356
  language?: string | null | undefined;
1357
1357
  } | {
1358
- type: "key_value";
1359
1358
  value: string;
1359
+ type: "key_value";
1360
1360
  label: string;
1361
1361
  } | {
1362
1362
  type: "issue_link";
1363
1363
  title?: string | null | undefined;
1364
1364
  label?: string | null | undefined;
1365
- identifier?: string | null | undefined;
1366
1365
  issueId?: string | null | undefined;
1366
+ identifier?: string | null | undefined;
1367
1367
  } | {
1368
1368
  type: "agent_link";
1369
1369
  agentId: string;
1370
- label?: string | null | undefined;
1371
1370
  name?: string | null | undefined;
1371
+ label?: string | null | undefined;
1372
1372
  } | {
1373
1373
  type: "run_link";
1374
1374
  runId: string;
@@ -1391,20 +1391,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1391
1391
  label?: string | null | undefined;
1392
1392
  language?: string | null | undefined;
1393
1393
  } | {
1394
- type: "key_value";
1395
1394
  value: string;
1395
+ type: "key_value";
1396
1396
  label: string;
1397
1397
  } | {
1398
1398
  type: "issue_link";
1399
1399
  title?: string | null | undefined;
1400
1400
  label?: string | null | undefined;
1401
- identifier?: string | null | undefined;
1402
1401
  issueId?: string | null | undefined;
1402
+ identifier?: string | null | undefined;
1403
1403
  } | {
1404
1404
  type: "agent_link";
1405
1405
  agentId: string;
1406
- label?: string | null | undefined;
1407
1406
  name?: string | null | undefined;
1407
+ label?: string | null | undefined;
1408
1408
  } | {
1409
1409
  type: "run_link";
1410
1410
  runId: string;
@@ -1429,20 +1429,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1429
1429
  label?: string | null | undefined;
1430
1430
  language?: string | null | undefined;
1431
1431
  } | {
1432
- type: "key_value";
1433
1432
  value: string;
1433
+ type: "key_value";
1434
1434
  label: string;
1435
1435
  } | {
1436
1436
  type: "issue_link";
1437
1437
  title?: string | null | undefined;
1438
1438
  label?: string | null | undefined;
1439
- identifier?: string | null | undefined;
1440
1439
  issueId?: string | null | undefined;
1440
+ identifier?: string | null | undefined;
1441
1441
  } | {
1442
1442
  type: "agent_link";
1443
1443
  agentId: string;
1444
- label?: string | null | undefined;
1445
1444
  name?: string | null | undefined;
1445
+ label?: string | null | undefined;
1446
1446
  } | {
1447
1447
  type: "run_link";
1448
1448
  runId: string;
@@ -1457,8 +1457,6 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1457
1457
  }>>;
1458
1458
  createdAt: z.ZodNullable<z.ZodString>;
1459
1459
  }, "strip", z.ZodTypeAny, {
1460
- createdAt: string | null;
1461
- body: string;
1462
1460
  metadata: {
1463
1461
  version: 1;
1464
1462
  sections: {
@@ -1472,20 +1470,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1472
1470
  label?: string | null | undefined;
1473
1471
  language?: string | null | undefined;
1474
1472
  } | {
1475
- type: "key_value";
1476
1473
  value: string;
1474
+ type: "key_value";
1477
1475
  label: string;
1478
1476
  } | {
1479
1477
  type: "issue_link";
1480
1478
  title?: string | null | undefined;
1481
1479
  label?: string | null | undefined;
1482
- identifier?: string | null | undefined;
1483
1480
  issueId?: string | null | undefined;
1481
+ identifier?: string | null | undefined;
1484
1482
  } | {
1485
1483
  type: "agent_link";
1486
1484
  agentId: string;
1487
- label?: string | null | undefined;
1488
1485
  name?: string | null | undefined;
1486
+ label?: string | null | undefined;
1489
1487
  } | {
1490
1488
  type: "run_link";
1491
1489
  runId: string;
@@ -1498,6 +1496,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1498
1496
  sourceRunId?: string | null | undefined;
1499
1497
  authorizationReason?: string | null | undefined;
1500
1498
  } | null;
1499
+ createdAt: string | null;
1500
+ body: string;
1501
1501
  authorType: "user" | "agent" | "system";
1502
1502
  presentation: {
1503
1503
  kind: "message" | "system_notice";
@@ -1509,8 +1509,6 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1509
1509
  authorUserId: string | null;
1510
1510
  authorAgentSlug: string | null;
1511
1511
  }, {
1512
- createdAt: string | null;
1513
- body: string;
1514
1512
  metadata: {
1515
1513
  version: 1;
1516
1514
  sections: {
@@ -1524,20 +1522,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1524
1522
  label?: string | null | undefined;
1525
1523
  language?: string | null | undefined;
1526
1524
  } | {
1527
- type: "key_value";
1528
1525
  value: string;
1526
+ type: "key_value";
1529
1527
  label: string;
1530
1528
  } | {
1531
1529
  type: "issue_link";
1532
1530
  title?: string | null | undefined;
1533
1531
  label?: string | null | undefined;
1534
- identifier?: string | null | undefined;
1535
1532
  issueId?: string | null | undefined;
1533
+ identifier?: string | null | undefined;
1536
1534
  } | {
1537
1535
  type: "agent_link";
1538
1536
  agentId: string;
1539
- label?: string | null | undefined;
1540
1537
  name?: string | null | undefined;
1538
+ label?: string | null | undefined;
1541
1539
  } | {
1542
1540
  type: "run_link";
1543
1541
  runId: string;
@@ -1550,6 +1548,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1550
1548
  sourceRunId?: string | null | undefined;
1551
1549
  authorizationReason?: string | null | undefined;
1552
1550
  } | null;
1551
+ createdAt: string | null;
1552
+ body: string;
1553
1553
  authorType: "user" | "agent" | "system";
1554
1554
  presentation: {
1555
1555
  title?: string | null | undefined;
@@ -1592,25 +1592,25 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1592
1592
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1593
1593
  }, "strip", z.ZodTypeAny, {
1594
1594
  title: string;
1595
- type: string;
1596
1595
  status: string;
1596
+ type: string;
1597
+ provider: string;
1598
+ url: string | null;
1599
+ metadata: Record<string, unknown> | null;
1597
1600
  healthStatus: string;
1598
1601
  summary: string | null;
1599
- metadata: Record<string, unknown> | null;
1600
- url: string | null;
1601
- provider: string;
1602
1602
  externalId: string | null;
1603
1603
  isPrimary: boolean;
1604
1604
  reviewState: string;
1605
1605
  }, {
1606
1606
  title: string;
1607
- type: string;
1608
1607
  status: string;
1608
+ type: string;
1609
+ provider: string;
1610
+ url: string | null;
1611
+ metadata: Record<string, unknown> | null;
1609
1612
  healthStatus: string;
1610
1613
  summary: string | null;
1611
- metadata: Record<string, unknown> | null;
1612
- url: string | null;
1613
- provider: string;
1614
1614
  externalId: string | null;
1615
1615
  reviewState: string;
1616
1616
  isPrimary?: boolean | undefined;
@@ -1647,6 +1647,12 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1647
1647
  originalFilename: string | null;
1648
1648
  commentIndex?: number | null | undefined;
1649
1649
  }>, "many">>;
1650
+ parentSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1651
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1652
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1653
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1654
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1655
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1650
1656
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1651
1657
  }, "strip", z.ZodTypeAny, {
1652
1658
  title: string;
@@ -1654,8 +1660,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1654
1660
  routine: {
1655
1661
  triggers: {
1656
1662
  label: string | null;
1657
- kind: string;
1658
1663
  enabled: boolean;
1664
+ kind: string;
1659
1665
  cronExpression: string | null;
1660
1666
  timezone: string | null;
1661
1667
  signingMode: string | null;
@@ -1665,8 +1671,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1665
1671
  catchUpPolicy: string | null;
1666
1672
  variables?: {
1667
1673
  required: boolean;
1668
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1669
1674
  options: string[];
1675
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1670
1676
  name: string;
1671
1677
  label?: string | null | undefined;
1672
1678
  defaultValue?: string | number | boolean | null | undefined;
@@ -1674,6 +1680,7 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1674
1680
  } | null;
1675
1681
  status: string | null;
1676
1682
  path: string;
1683
+ metadata: Record<string, unknown> | null;
1677
1684
  slug: string;
1678
1685
  monitor: {
1679
1686
  notes: string | null;
@@ -1689,21 +1696,18 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1689
1696
  blockedBy: string[];
1690
1697
  workProducts: {
1691
1698
  title: string;
1692
- type: string;
1693
1699
  status: string;
1700
+ type: string;
1701
+ provider: string;
1702
+ url: string | null;
1703
+ metadata: Record<string, unknown> | null;
1694
1704
  healthStatus: string;
1695
1705
  summary: string | null;
1696
- metadata: Record<string, unknown> | null;
1697
- url: string | null;
1698
- provider: string;
1699
1706
  externalId: string | null;
1700
1707
  isPrimary: boolean;
1701
1708
  reviewState: string;
1702
1709
  }[];
1703
- metadata: Record<string, unknown> | null;
1704
1710
  comments: {
1705
- createdAt: string | null;
1706
- body: string;
1707
1711
  metadata: {
1708
1712
  version: 1;
1709
1713
  sections: {
@@ -1717,20 +1721,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1717
1721
  label?: string | null | undefined;
1718
1722
  language?: string | null | undefined;
1719
1723
  } | {
1720
- type: "key_value";
1721
1724
  value: string;
1725
+ type: "key_value";
1722
1726
  label: string;
1723
1727
  } | {
1724
1728
  type: "issue_link";
1725
1729
  title?: string | null | undefined;
1726
1730
  label?: string | null | undefined;
1727
- identifier?: string | null | undefined;
1728
1731
  issueId?: string | null | undefined;
1732
+ identifier?: string | null | undefined;
1729
1733
  } | {
1730
1734
  type: "agent_link";
1731
1735
  agentId: string;
1732
- label?: string | null | undefined;
1733
1736
  name?: string | null | undefined;
1737
+ label?: string | null | undefined;
1734
1738
  } | {
1735
1739
  type: "run_link";
1736
1740
  runId: string;
@@ -1743,6 +1747,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1743
1747
  sourceRunId?: string | null | undefined;
1744
1748
  authorizationReason?: string | null | undefined;
1745
1749
  } | null;
1750
+ createdAt: string | null;
1751
+ body: string;
1746
1752
  authorType: "user" | "agent" | "system";
1747
1753
  presentation: {
1748
1754
  kind: "message" | "system_notice";
@@ -1773,6 +1779,12 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1773
1779
  originalFilename: string | null;
1774
1780
  commentIndex: number | null;
1775
1781
  }[];
1782
+ startedAt?: string | null | undefined;
1783
+ completedAt?: string | null | undefined;
1784
+ cancelledAt?: string | null | undefined;
1785
+ createdAt?: string | null | undefined;
1786
+ updatedAt?: string | null | undefined;
1787
+ parentSlug?: string | null | undefined;
1776
1788
  }, {
1777
1789
  title: string;
1778
1790
  description: string | null;
@@ -1782,15 +1794,15 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1782
1794
  variables?: {
1783
1795
  name: string;
1784
1796
  required?: boolean | undefined;
1785
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1786
1797
  options?: string[] | undefined;
1798
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1787
1799
  label?: string | null | undefined;
1788
1800
  defaultValue?: string | number | boolean | null | undefined;
1789
1801
  }[] | null | undefined;
1790
1802
  triggers?: {
1791
1803
  label: string | null;
1792
- kind: string;
1793
1804
  enabled: boolean;
1805
+ kind: string;
1794
1806
  cronExpression: string | null;
1795
1807
  timezone: string | null;
1796
1808
  signingMode: string | null;
@@ -1799,13 +1811,13 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1799
1811
  } | null;
1800
1812
  status: string | null;
1801
1813
  path: string;
1814
+ metadata: Record<string, unknown> | null;
1802
1815
  slug: string;
1803
1816
  priority: string | null;
1804
1817
  identifier: string | null;
1805
1818
  billingCode: string | null;
1806
1819
  assigneeAdapterOverrides: Record<string, unknown> | null;
1807
1820
  executionWorkspaceSettings: Record<string, unknown> | null;
1808
- metadata: Record<string, unknown> | null;
1809
1821
  projectSlug: string | null;
1810
1822
  projectWorkspaceKey: string | null;
1811
1823
  assigneeAgentSlug: string | null;
@@ -1815,24 +1827,27 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1815
1827
  scheduledBy: string | null;
1816
1828
  hadSchedule?: boolean | undefined;
1817
1829
  } | null | undefined;
1830
+ startedAt?: string | null | undefined;
1831
+ completedAt?: string | null | undefined;
1832
+ cancelledAt?: string | null | undefined;
1833
+ createdAt?: string | null | undefined;
1834
+ updatedAt?: string | null | undefined;
1818
1835
  labelIds?: string[] | undefined;
1819
1836
  blockedBy?: string[] | undefined;
1820
1837
  workProducts?: {
1821
1838
  title: string;
1822
- type: string;
1823
1839
  status: string;
1840
+ type: string;
1841
+ provider: string;
1842
+ url: string | null;
1843
+ metadata: Record<string, unknown> | null;
1824
1844
  healthStatus: string;
1825
1845
  summary: string | null;
1826
- metadata: Record<string, unknown> | null;
1827
- url: string | null;
1828
- provider: string;
1829
1846
  externalId: string | null;
1830
1847
  reviewState: string;
1831
1848
  isPrimary?: boolean | undefined;
1832
1849
  }[] | undefined;
1833
1850
  comments?: {
1834
- createdAt: string | null;
1835
- body: string;
1836
1851
  metadata: {
1837
1852
  version: 1;
1838
1853
  sections: {
@@ -1846,20 +1861,20 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1846
1861
  label?: string | null | undefined;
1847
1862
  language?: string | null | undefined;
1848
1863
  } | {
1849
- type: "key_value";
1850
1864
  value: string;
1865
+ type: "key_value";
1851
1866
  label: string;
1852
1867
  } | {
1853
1868
  type: "issue_link";
1854
1869
  title?: string | null | undefined;
1855
1870
  label?: string | null | undefined;
1856
- identifier?: string | null | undefined;
1857
1871
  issueId?: string | null | undefined;
1872
+ identifier?: string | null | undefined;
1858
1873
  } | {
1859
1874
  type: "agent_link";
1860
1875
  agentId: string;
1861
- label?: string | null | undefined;
1862
1876
  name?: string | null | undefined;
1877
+ label?: string | null | undefined;
1863
1878
  } | {
1864
1879
  type: "run_link";
1865
1880
  runId: string;
@@ -1872,6 +1887,8 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1872
1887
  sourceRunId?: string | null | undefined;
1873
1888
  authorizationReason?: string | null | undefined;
1874
1889
  } | null;
1890
+ createdAt: string | null;
1891
+ body: string;
1875
1892
  authorType: "user" | "agent" | "system";
1876
1893
  presentation: {
1877
1894
  title?: string | null | undefined;
@@ -1898,6 +1915,7 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1898
1915
  originalFilename: string | null;
1899
1916
  commentIndex?: number | null | undefined;
1900
1917
  }[] | undefined;
1918
+ parentSlug?: string | null | undefined;
1901
1919
  }>;
1902
1920
  export declare const portabilityManifestSchema: z.ZodObject<{
1903
1921
  schemaVersion: z.ZodNumber;
@@ -1982,11 +2000,11 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1982
2000
  name: z.ZodString;
1983
2001
  color: z.ZodString;
1984
2002
  }, "strip", z.ZodTypeAny, {
1985
- color: string;
1986
2003
  name: string;
1987
- }, {
1988
2004
  color: string;
2005
+ }, {
1989
2006
  name: string;
2007
+ color: string;
1990
2008
  }>, "many">>;
1991
2009
  blobs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1992
2010
  sha256: z.ZodString;
@@ -2030,17 +2048,17 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2030
2048
  }, "strip", z.ZodTypeAny, {
2031
2049
  title: string | null;
2032
2050
  path: string;
2033
- icon: string | null;
2034
- slug: string;
2035
2051
  name: string;
2036
- metadata: Record<string, unknown> | null;
2052
+ adapterType: string;
2037
2053
  adapterConfig: Record<string, unknown>;
2038
2054
  role: string;
2055
+ icon: string | null;
2039
2056
  capabilities: string | null;
2040
- adapterType: string;
2041
2057
  runtimeConfig: Record<string, unknown>;
2042
- permissions: Record<string, unknown>;
2043
2058
  budgetMonthlyCents: number;
2059
+ permissions: Record<string, unknown>;
2060
+ metadata: Record<string, unknown> | null;
2061
+ slug: string;
2044
2062
  skills: string[];
2045
2063
  reportsToSlug: string | null;
2046
2064
  permissionGrants: {
@@ -2050,17 +2068,17 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2050
2068
  }, {
2051
2069
  title: string | null;
2052
2070
  path: string;
2053
- icon: string | null;
2054
- slug: string;
2055
2071
  name: string;
2056
- metadata: Record<string, unknown> | null;
2072
+ adapterType: string;
2057
2073
  adapterConfig: Record<string, unknown>;
2058
2074
  role: string;
2075
+ icon: string | null;
2059
2076
  capabilities: string | null;
2060
- adapterType: string;
2061
2077
  runtimeConfig: Record<string, unknown>;
2062
- permissions: Record<string, unknown>;
2063
2078
  budgetMonthlyCents: number;
2079
+ permissions: Record<string, unknown>;
2080
+ metadata: Record<string, unknown> | null;
2081
+ slug: string;
2064
2082
  reportsToSlug: string | null;
2065
2083
  skills?: string[] | undefined;
2066
2084
  permissionGrants?: {
@@ -2094,9 +2112,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2094
2112
  description: string | null;
2095
2113
  key: string;
2096
2114
  path: string;
2097
- slug: string;
2098
2115
  name: string;
2099
2116
  metadata: Record<string, unknown> | null;
2117
+ slug: string;
2100
2118
  sourceType: string;
2101
2119
  sourceLocator: string | null;
2102
2120
  sourceRef: string | null;
@@ -2110,9 +2128,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2110
2128
  description: string | null;
2111
2129
  key: string;
2112
2130
  path: string;
2113
- slug: string;
2114
2131
  name: string;
2115
2132
  metadata: Record<string, unknown> | null;
2133
+ slug: string;
2116
2134
  sourceType: string;
2117
2135
  sourceLocator: string | null;
2118
2136
  sourceRef: string | null;
@@ -2189,10 +2207,10 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2189
2207
  }[];
2190
2208
  status: string | null;
2191
2209
  path: string;
2192
- color: string | null;
2193
- slug: string;
2194
2210
  name: string;
2195
2211
  metadata: Record<string, unknown> | null;
2212
+ color: string | null;
2213
+ slug: string;
2196
2214
  ownerAgentSlug: string | null;
2197
2215
  leadAgentSlug: string | null;
2198
2216
  targetDate: string | null;
@@ -2201,10 +2219,10 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2201
2219
  description: string | null;
2202
2220
  status: string | null;
2203
2221
  path: string;
2204
- color: string | null;
2205
- slug: string;
2206
2222
  name: string;
2207
2223
  metadata: Record<string, unknown> | null;
2224
+ color: string | null;
2225
+ slug: string;
2208
2226
  ownerAgentSlug: string | null;
2209
2227
  leadAgentSlug: string | null;
2210
2228
  targetDate: string | null;
@@ -2245,30 +2263,30 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2245
2263
  options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2246
2264
  }, "strip", z.ZodTypeAny, {
2247
2265
  required: boolean;
2248
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2249
2266
  options: string[];
2267
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2250
2268
  name: string;
2251
2269
  label?: string | null | undefined;
2252
2270
  defaultValue?: string | number | boolean | null | undefined;
2253
2271
  }, {
2254
2272
  name: string;
2255
2273
  required?: boolean | undefined;
2256
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2257
2274
  options?: string[] | undefined;
2275
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2258
2276
  label?: string | null | undefined;
2259
2277
  defaultValue?: string | number | boolean | null | undefined;
2260
2278
  }>, {
2261
2279
  required: boolean;
2262
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2263
2280
  options: string[];
2281
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2264
2282
  name: string;
2265
2283
  label?: string | null | undefined;
2266
2284
  defaultValue?: string | number | boolean | null | undefined;
2267
2285
  }, {
2268
2286
  name: string;
2269
2287
  required?: boolean | undefined;
2270
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2271
2288
  options?: string[] | undefined;
2289
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2272
2290
  label?: string | null | undefined;
2273
2291
  defaultValue?: string | number | boolean | null | undefined;
2274
2292
  }>, "many">>>;
@@ -2282,16 +2300,16 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2282
2300
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
2283
2301
  }, "strip", z.ZodTypeAny, {
2284
2302
  label: string | null;
2285
- kind: string;
2286
2303
  enabled: boolean;
2304
+ kind: string;
2287
2305
  cronExpression: string | null;
2288
2306
  timezone: string | null;
2289
2307
  signingMode: string | null;
2290
2308
  replayWindowSec: number | null;
2291
2309
  }, {
2292
2310
  label: string | null;
2293
- kind: string;
2294
2311
  enabled: boolean;
2312
+ kind: string;
2295
2313
  cronExpression: string | null;
2296
2314
  timezone: string | null;
2297
2315
  signingMode: string | null;
@@ -2300,8 +2318,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2300
2318
  }, "strip", z.ZodTypeAny, {
2301
2319
  triggers: {
2302
2320
  label: string | null;
2303
- kind: string;
2304
2321
  enabled: boolean;
2322
+ kind: string;
2305
2323
  cronExpression: string | null;
2306
2324
  timezone: string | null;
2307
2325
  signingMode: string | null;
@@ -2311,8 +2329,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2311
2329
  catchUpPolicy: string | null;
2312
2330
  variables?: {
2313
2331
  required: boolean;
2314
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2315
2332
  options: string[];
2333
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2316
2334
  name: string;
2317
2335
  label?: string | null | undefined;
2318
2336
  defaultValue?: string | number | boolean | null | undefined;
@@ -2323,15 +2341,15 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2323
2341
  variables?: {
2324
2342
  name: string;
2325
2343
  required?: boolean | undefined;
2326
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2327
2344
  options?: string[] | undefined;
2345
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2328
2346
  label?: string | null | undefined;
2329
2347
  defaultValue?: string | number | boolean | null | undefined;
2330
2348
  }[] | null | undefined;
2331
2349
  triggers?: {
2332
2350
  label: string | null;
2333
- kind: string;
2334
2351
  enabled: boolean;
2352
+ kind: string;
2335
2353
  cronExpression: string | null;
2336
2354
  timezone: string | null;
2337
2355
  signingMode: string | null;
@@ -2410,12 +2428,12 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2410
2428
  label: z.ZodString;
2411
2429
  value: z.ZodString;
2412
2430
  }, "strict", z.ZodTypeAny, {
2413
- type: "key_value";
2414
2431
  value: string;
2432
+ type: "key_value";
2415
2433
  label: string;
2416
2434
  }, {
2417
- type: "key_value";
2418
2435
  value: string;
2436
+ type: "key_value";
2419
2437
  label: string;
2420
2438
  }>, z.ZodObject<{
2421
2439
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2428,14 +2446,14 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2428
2446
  type: "issue_link";
2429
2447
  title?: string | null | undefined;
2430
2448
  label?: string | null | undefined;
2431
- identifier?: string | null | undefined;
2432
2449
  issueId?: string | null | undefined;
2450
+ identifier?: string | null | undefined;
2433
2451
  }, {
2434
2452
  type: "issue_link";
2435
2453
  title?: string | null | undefined;
2436
2454
  label?: string | null | undefined;
2437
- identifier?: string | null | undefined;
2438
2455
  issueId?: string | null | undefined;
2456
+ identifier?: string | null | undefined;
2439
2457
  }>, z.ZodObject<{
2440
2458
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2441
2459
  } & {
@@ -2445,13 +2463,13 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2445
2463
  }, "strict", z.ZodTypeAny, {
2446
2464
  type: "agent_link";
2447
2465
  agentId: string;
2448
- label?: string | null | undefined;
2449
2466
  name?: string | null | undefined;
2467
+ label?: string | null | undefined;
2450
2468
  }, {
2451
2469
  type: "agent_link";
2452
2470
  agentId: string;
2453
- label?: string | null | undefined;
2454
2471
  name?: string | null | undefined;
2472
+ label?: string | null | undefined;
2455
2473
  }>, z.ZodObject<{
2456
2474
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2457
2475
  } & {
@@ -2481,20 +2499,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2481
2499
  label?: string | null | undefined;
2482
2500
  language?: string | null | undefined;
2483
2501
  } | {
2484
- type: "key_value";
2485
2502
  value: string;
2503
+ type: "key_value";
2486
2504
  label: string;
2487
2505
  } | {
2488
2506
  type: "issue_link";
2489
2507
  title?: string | null | undefined;
2490
2508
  label?: string | null | undefined;
2491
- identifier?: string | null | undefined;
2492
2509
  issueId?: string | null | undefined;
2510
+ identifier?: string | null | undefined;
2493
2511
  } | {
2494
2512
  type: "agent_link";
2495
2513
  agentId: string;
2496
- label?: string | null | undefined;
2497
2514
  name?: string | null | undefined;
2515
+ label?: string | null | undefined;
2498
2516
  } | {
2499
2517
  type: "run_link";
2500
2518
  runId: string;
@@ -2511,20 +2529,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2511
2529
  label?: string | null | undefined;
2512
2530
  language?: string | null | undefined;
2513
2531
  } | {
2514
- type: "key_value";
2515
2532
  value: string;
2533
+ type: "key_value";
2516
2534
  label: string;
2517
2535
  } | {
2518
2536
  type: "issue_link";
2519
2537
  title?: string | null | undefined;
2520
2538
  label?: string | null | undefined;
2521
- identifier?: string | null | undefined;
2522
2539
  issueId?: string | null | undefined;
2540
+ identifier?: string | null | undefined;
2523
2541
  } | {
2524
2542
  type: "agent_link";
2525
2543
  agentId: string;
2526
- label?: string | null | undefined;
2527
2544
  name?: string | null | undefined;
2545
+ label?: string | null | undefined;
2528
2546
  } | {
2529
2547
  type: "run_link";
2530
2548
  runId: string;
@@ -2543,20 +2561,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2543
2561
  label?: string | null | undefined;
2544
2562
  language?: string | null | undefined;
2545
2563
  } | {
2546
- type: "key_value";
2547
2564
  value: string;
2565
+ type: "key_value";
2548
2566
  label: string;
2549
2567
  } | {
2550
2568
  type: "issue_link";
2551
2569
  title?: string | null | undefined;
2552
2570
  label?: string | null | undefined;
2553
- identifier?: string | null | undefined;
2554
2571
  issueId?: string | null | undefined;
2572
+ identifier?: string | null | undefined;
2555
2573
  } | {
2556
2574
  type: "agent_link";
2557
2575
  agentId: string;
2558
- label?: string | null | undefined;
2559
2576
  name?: string | null | undefined;
2577
+ label?: string | null | undefined;
2560
2578
  } | {
2561
2579
  type: "run_link";
2562
2580
  runId: string;
@@ -2576,20 +2594,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2576
2594
  label?: string | null | undefined;
2577
2595
  language?: string | null | undefined;
2578
2596
  } | {
2579
- type: "key_value";
2580
2597
  value: string;
2598
+ type: "key_value";
2581
2599
  label: string;
2582
2600
  } | {
2583
2601
  type: "issue_link";
2584
2602
  title?: string | null | undefined;
2585
2603
  label?: string | null | undefined;
2586
- identifier?: string | null | undefined;
2587
2604
  issueId?: string | null | undefined;
2605
+ identifier?: string | null | undefined;
2588
2606
  } | {
2589
2607
  type: "agent_link";
2590
2608
  agentId: string;
2591
- label?: string | null | undefined;
2592
2609
  name?: string | null | undefined;
2610
+ label?: string | null | undefined;
2593
2611
  } | {
2594
2612
  type: "run_link";
2595
2613
  runId: string;
@@ -2612,20 +2630,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2612
2630
  label?: string | null | undefined;
2613
2631
  language?: string | null | undefined;
2614
2632
  } | {
2615
- type: "key_value";
2616
2633
  value: string;
2634
+ type: "key_value";
2617
2635
  label: string;
2618
2636
  } | {
2619
2637
  type: "issue_link";
2620
2638
  title?: string | null | undefined;
2621
2639
  label?: string | null | undefined;
2622
- identifier?: string | null | undefined;
2623
2640
  issueId?: string | null | undefined;
2641
+ identifier?: string | null | undefined;
2624
2642
  } | {
2625
2643
  type: "agent_link";
2626
2644
  agentId: string;
2627
- label?: string | null | undefined;
2628
2645
  name?: string | null | undefined;
2646
+ label?: string | null | undefined;
2629
2647
  } | {
2630
2648
  type: "run_link";
2631
2649
  runId: string;
@@ -2650,20 +2668,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2650
2668
  label?: string | null | undefined;
2651
2669
  language?: string | null | undefined;
2652
2670
  } | {
2653
- type: "key_value";
2654
2671
  value: string;
2672
+ type: "key_value";
2655
2673
  label: string;
2656
2674
  } | {
2657
2675
  type: "issue_link";
2658
2676
  title?: string | null | undefined;
2659
2677
  label?: string | null | undefined;
2660
- identifier?: string | null | undefined;
2661
2678
  issueId?: string | null | undefined;
2679
+ identifier?: string | null | undefined;
2662
2680
  } | {
2663
2681
  type: "agent_link";
2664
2682
  agentId: string;
2665
- label?: string | null | undefined;
2666
2683
  name?: string | null | undefined;
2684
+ label?: string | null | undefined;
2667
2685
  } | {
2668
2686
  type: "run_link";
2669
2687
  runId: string;
@@ -2678,8 +2696,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2678
2696
  }>>;
2679
2697
  createdAt: z.ZodNullable<z.ZodString>;
2680
2698
  }, "strip", z.ZodTypeAny, {
2681
- createdAt: string | null;
2682
- body: string;
2683
2699
  metadata: {
2684
2700
  version: 1;
2685
2701
  sections: {
@@ -2693,20 +2709,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2693
2709
  label?: string | null | undefined;
2694
2710
  language?: string | null | undefined;
2695
2711
  } | {
2696
- type: "key_value";
2697
2712
  value: string;
2713
+ type: "key_value";
2698
2714
  label: string;
2699
2715
  } | {
2700
2716
  type: "issue_link";
2701
2717
  title?: string | null | undefined;
2702
2718
  label?: string | null | undefined;
2703
- identifier?: string | null | undefined;
2704
2719
  issueId?: string | null | undefined;
2720
+ identifier?: string | null | undefined;
2705
2721
  } | {
2706
2722
  type: "agent_link";
2707
2723
  agentId: string;
2708
- label?: string | null | undefined;
2709
2724
  name?: string | null | undefined;
2725
+ label?: string | null | undefined;
2710
2726
  } | {
2711
2727
  type: "run_link";
2712
2728
  runId: string;
@@ -2719,6 +2735,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2719
2735
  sourceRunId?: string | null | undefined;
2720
2736
  authorizationReason?: string | null | undefined;
2721
2737
  } | null;
2738
+ createdAt: string | null;
2739
+ body: string;
2722
2740
  authorType: "user" | "agent" | "system";
2723
2741
  presentation: {
2724
2742
  kind: "message" | "system_notice";
@@ -2730,8 +2748,6 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2730
2748
  authorUserId: string | null;
2731
2749
  authorAgentSlug: string | null;
2732
2750
  }, {
2733
- createdAt: string | null;
2734
- body: string;
2735
2751
  metadata: {
2736
2752
  version: 1;
2737
2753
  sections: {
@@ -2745,20 +2761,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2745
2761
  label?: string | null | undefined;
2746
2762
  language?: string | null | undefined;
2747
2763
  } | {
2748
- type: "key_value";
2749
2764
  value: string;
2765
+ type: "key_value";
2750
2766
  label: string;
2751
2767
  } | {
2752
2768
  type: "issue_link";
2753
2769
  title?: string | null | undefined;
2754
2770
  label?: string | null | undefined;
2755
- identifier?: string | null | undefined;
2756
2771
  issueId?: string | null | undefined;
2772
+ identifier?: string | null | undefined;
2757
2773
  } | {
2758
2774
  type: "agent_link";
2759
2775
  agentId: string;
2760
- label?: string | null | undefined;
2761
2776
  name?: string | null | undefined;
2777
+ label?: string | null | undefined;
2762
2778
  } | {
2763
2779
  type: "run_link";
2764
2780
  runId: string;
@@ -2771,6 +2787,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2771
2787
  sourceRunId?: string | null | undefined;
2772
2788
  authorizationReason?: string | null | undefined;
2773
2789
  } | null;
2790
+ createdAt: string | null;
2791
+ body: string;
2774
2792
  authorType: "user" | "agent" | "system";
2775
2793
  presentation: {
2776
2794
  title?: string | null | undefined;
@@ -2813,25 +2831,25 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2813
2831
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2814
2832
  }, "strip", z.ZodTypeAny, {
2815
2833
  title: string;
2816
- type: string;
2817
2834
  status: string;
2835
+ type: string;
2836
+ provider: string;
2837
+ url: string | null;
2838
+ metadata: Record<string, unknown> | null;
2818
2839
  healthStatus: string;
2819
2840
  summary: string | null;
2820
- metadata: Record<string, unknown> | null;
2821
- url: string | null;
2822
- provider: string;
2823
2841
  externalId: string | null;
2824
2842
  isPrimary: boolean;
2825
2843
  reviewState: string;
2826
2844
  }, {
2827
2845
  title: string;
2828
- type: string;
2829
2846
  status: string;
2847
+ type: string;
2848
+ provider: string;
2849
+ url: string | null;
2850
+ metadata: Record<string, unknown> | null;
2830
2851
  healthStatus: string;
2831
2852
  summary: string | null;
2832
- metadata: Record<string, unknown> | null;
2833
- url: string | null;
2834
- provider: string;
2835
2853
  externalId: string | null;
2836
2854
  reviewState: string;
2837
2855
  isPrimary?: boolean | undefined;
@@ -2868,6 +2886,12 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2868
2886
  originalFilename: string | null;
2869
2887
  commentIndex?: number | null | undefined;
2870
2888
  }>, "many">>;
2889
+ parentSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2890
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2891
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2892
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2893
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2894
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2871
2895
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2872
2896
  }, "strip", z.ZodTypeAny, {
2873
2897
  title: string;
@@ -2875,8 +2899,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2875
2899
  routine: {
2876
2900
  triggers: {
2877
2901
  label: string | null;
2878
- kind: string;
2879
2902
  enabled: boolean;
2903
+ kind: string;
2880
2904
  cronExpression: string | null;
2881
2905
  timezone: string | null;
2882
2906
  signingMode: string | null;
@@ -2886,8 +2910,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2886
2910
  catchUpPolicy: string | null;
2887
2911
  variables?: {
2888
2912
  required: boolean;
2889
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2890
2913
  options: string[];
2914
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2891
2915
  name: string;
2892
2916
  label?: string | null | undefined;
2893
2917
  defaultValue?: string | number | boolean | null | undefined;
@@ -2895,6 +2919,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2895
2919
  } | null;
2896
2920
  status: string | null;
2897
2921
  path: string;
2922
+ metadata: Record<string, unknown> | null;
2898
2923
  slug: string;
2899
2924
  monitor: {
2900
2925
  notes: string | null;
@@ -2910,21 +2935,18 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2910
2935
  blockedBy: string[];
2911
2936
  workProducts: {
2912
2937
  title: string;
2913
- type: string;
2914
2938
  status: string;
2939
+ type: string;
2940
+ provider: string;
2941
+ url: string | null;
2942
+ metadata: Record<string, unknown> | null;
2915
2943
  healthStatus: string;
2916
2944
  summary: string | null;
2917
- metadata: Record<string, unknown> | null;
2918
- url: string | null;
2919
- provider: string;
2920
2945
  externalId: string | null;
2921
2946
  isPrimary: boolean;
2922
2947
  reviewState: string;
2923
2948
  }[];
2924
- metadata: Record<string, unknown> | null;
2925
2949
  comments: {
2926
- createdAt: string | null;
2927
- body: string;
2928
2950
  metadata: {
2929
2951
  version: 1;
2930
2952
  sections: {
@@ -2938,20 +2960,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2938
2960
  label?: string | null | undefined;
2939
2961
  language?: string | null | undefined;
2940
2962
  } | {
2941
- type: "key_value";
2942
2963
  value: string;
2964
+ type: "key_value";
2943
2965
  label: string;
2944
2966
  } | {
2945
2967
  type: "issue_link";
2946
2968
  title?: string | null | undefined;
2947
2969
  label?: string | null | undefined;
2948
- identifier?: string | null | undefined;
2949
2970
  issueId?: string | null | undefined;
2971
+ identifier?: string | null | undefined;
2950
2972
  } | {
2951
2973
  type: "agent_link";
2952
2974
  agentId: string;
2953
- label?: string | null | undefined;
2954
2975
  name?: string | null | undefined;
2976
+ label?: string | null | undefined;
2955
2977
  } | {
2956
2978
  type: "run_link";
2957
2979
  runId: string;
@@ -2964,6 +2986,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2964
2986
  sourceRunId?: string | null | undefined;
2965
2987
  authorizationReason?: string | null | undefined;
2966
2988
  } | null;
2989
+ createdAt: string | null;
2990
+ body: string;
2967
2991
  authorType: "user" | "agent" | "system";
2968
2992
  presentation: {
2969
2993
  kind: "message" | "system_notice";
@@ -2994,6 +3018,12 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2994
3018
  originalFilename: string | null;
2995
3019
  commentIndex: number | null;
2996
3020
  }[];
3021
+ startedAt?: string | null | undefined;
3022
+ completedAt?: string | null | undefined;
3023
+ cancelledAt?: string | null | undefined;
3024
+ createdAt?: string | null | undefined;
3025
+ updatedAt?: string | null | undefined;
3026
+ parentSlug?: string | null | undefined;
2997
3027
  }, {
2998
3028
  title: string;
2999
3029
  description: string | null;
@@ -3003,15 +3033,15 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3003
3033
  variables?: {
3004
3034
  name: string;
3005
3035
  required?: boolean | undefined;
3006
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3007
3036
  options?: string[] | undefined;
3037
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3008
3038
  label?: string | null | undefined;
3009
3039
  defaultValue?: string | number | boolean | null | undefined;
3010
3040
  }[] | null | undefined;
3011
3041
  triggers?: {
3012
3042
  label: string | null;
3013
- kind: string;
3014
3043
  enabled: boolean;
3044
+ kind: string;
3015
3045
  cronExpression: string | null;
3016
3046
  timezone: string | null;
3017
3047
  signingMode: string | null;
@@ -3020,13 +3050,13 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3020
3050
  } | null;
3021
3051
  status: string | null;
3022
3052
  path: string;
3053
+ metadata: Record<string, unknown> | null;
3023
3054
  slug: string;
3024
3055
  priority: string | null;
3025
3056
  identifier: string | null;
3026
3057
  billingCode: string | null;
3027
3058
  assigneeAdapterOverrides: Record<string, unknown> | null;
3028
3059
  executionWorkspaceSettings: Record<string, unknown> | null;
3029
- metadata: Record<string, unknown> | null;
3030
3060
  projectSlug: string | null;
3031
3061
  projectWorkspaceKey: string | null;
3032
3062
  assigneeAgentSlug: string | null;
@@ -3036,24 +3066,27 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3036
3066
  scheduledBy: string | null;
3037
3067
  hadSchedule?: boolean | undefined;
3038
3068
  } | null | undefined;
3069
+ startedAt?: string | null | undefined;
3070
+ completedAt?: string | null | undefined;
3071
+ cancelledAt?: string | null | undefined;
3072
+ createdAt?: string | null | undefined;
3073
+ updatedAt?: string | null | undefined;
3039
3074
  labelIds?: string[] | undefined;
3040
3075
  blockedBy?: string[] | undefined;
3041
3076
  workProducts?: {
3042
3077
  title: string;
3043
- type: string;
3044
3078
  status: string;
3079
+ type: string;
3080
+ provider: string;
3081
+ url: string | null;
3082
+ metadata: Record<string, unknown> | null;
3045
3083
  healthStatus: string;
3046
3084
  summary: string | null;
3047
- metadata: Record<string, unknown> | null;
3048
- url: string | null;
3049
- provider: string;
3050
3085
  externalId: string | null;
3051
3086
  reviewState: string;
3052
3087
  isPrimary?: boolean | undefined;
3053
3088
  }[] | undefined;
3054
3089
  comments?: {
3055
- createdAt: string | null;
3056
- body: string;
3057
3090
  metadata: {
3058
3091
  version: 1;
3059
3092
  sections: {
@@ -3067,20 +3100,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3067
3100
  label?: string | null | undefined;
3068
3101
  language?: string | null | undefined;
3069
3102
  } | {
3070
- type: "key_value";
3071
3103
  value: string;
3104
+ type: "key_value";
3072
3105
  label: string;
3073
3106
  } | {
3074
3107
  type: "issue_link";
3075
3108
  title?: string | null | undefined;
3076
3109
  label?: string | null | undefined;
3077
- identifier?: string | null | undefined;
3078
3110
  issueId?: string | null | undefined;
3111
+ identifier?: string | null | undefined;
3079
3112
  } | {
3080
3113
  type: "agent_link";
3081
3114
  agentId: string;
3082
- label?: string | null | undefined;
3083
3115
  name?: string | null | undefined;
3116
+ label?: string | null | undefined;
3084
3117
  } | {
3085
3118
  type: "run_link";
3086
3119
  runId: string;
@@ -3093,6 +3126,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3093
3126
  sourceRunId?: string | null | undefined;
3094
3127
  authorizationReason?: string | null | undefined;
3095
3128
  } | null;
3129
+ createdAt: string | null;
3130
+ body: string;
3096
3131
  authorType: "user" | "agent" | "system";
3097
3132
  presentation: {
3098
3133
  title?: string | null | undefined;
@@ -3119,6 +3154,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3119
3154
  originalFilename: string | null;
3120
3155
  commentIndex?: number | null | undefined;
3121
3156
  }[] | undefined;
3157
+ parentSlug?: string | null | undefined;
3122
3158
  }>, "many">>;
3123
3159
  envInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3124
3160
  key: z.ZodString;
@@ -3179,10 +3215,10 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3179
3215
  }[];
3180
3216
  status: string | null;
3181
3217
  path: string;
3182
- color: string | null;
3183
- slug: string;
3184
3218
  name: string;
3185
3219
  metadata: Record<string, unknown> | null;
3220
+ color: string | null;
3221
+ slug: string;
3186
3222
  ownerAgentSlug: string | null;
3187
3223
  leadAgentSlug: string | null;
3188
3224
  targetDate: string | null;
@@ -3191,17 +3227,17 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3191
3227
  agents: {
3192
3228
  title: string | null;
3193
3229
  path: string;
3194
- icon: string | null;
3195
- slug: string;
3196
3230
  name: string;
3197
- metadata: Record<string, unknown> | null;
3231
+ adapterType: string;
3198
3232
  adapterConfig: Record<string, unknown>;
3199
3233
  role: string;
3234
+ icon: string | null;
3200
3235
  capabilities: string | null;
3201
- adapterType: string;
3202
3236
  runtimeConfig: Record<string, unknown>;
3203
- permissions: Record<string, unknown>;
3204
3237
  budgetMonthlyCents: number;
3238
+ permissions: Record<string, unknown>;
3239
+ metadata: Record<string, unknown> | null;
3240
+ slug: string;
3205
3241
  skills: string[];
3206
3242
  reportsToSlug: string | null;
3207
3243
  permissionGrants: {
@@ -3215,8 +3251,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3215
3251
  routine: {
3216
3252
  triggers: {
3217
3253
  label: string | null;
3218
- kind: string;
3219
3254
  enabled: boolean;
3255
+ kind: string;
3220
3256
  cronExpression: string | null;
3221
3257
  timezone: string | null;
3222
3258
  signingMode: string | null;
@@ -3226,8 +3262,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3226
3262
  catchUpPolicy: string | null;
3227
3263
  variables?: {
3228
3264
  required: boolean;
3229
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
3230
3265
  options: string[];
3266
+ type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
3231
3267
  name: string;
3232
3268
  label?: string | null | undefined;
3233
3269
  defaultValue?: string | number | boolean | null | undefined;
@@ -3235,6 +3271,7 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3235
3271
  } | null;
3236
3272
  status: string | null;
3237
3273
  path: string;
3274
+ metadata: Record<string, unknown> | null;
3238
3275
  slug: string;
3239
3276
  monitor: {
3240
3277
  notes: string | null;
@@ -3250,21 +3287,18 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3250
3287
  blockedBy: string[];
3251
3288
  workProducts: {
3252
3289
  title: string;
3253
- type: string;
3254
3290
  status: string;
3291
+ type: string;
3292
+ provider: string;
3293
+ url: string | null;
3294
+ metadata: Record<string, unknown> | null;
3255
3295
  healthStatus: string;
3256
3296
  summary: string | null;
3257
- metadata: Record<string, unknown> | null;
3258
- url: string | null;
3259
- provider: string;
3260
3297
  externalId: string | null;
3261
3298
  isPrimary: boolean;
3262
3299
  reviewState: string;
3263
3300
  }[];
3264
- metadata: Record<string, unknown> | null;
3265
3301
  comments: {
3266
- createdAt: string | null;
3267
- body: string;
3268
3302
  metadata: {
3269
3303
  version: 1;
3270
3304
  sections: {
@@ -3278,20 +3312,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3278
3312
  label?: string | null | undefined;
3279
3313
  language?: string | null | undefined;
3280
3314
  } | {
3281
- type: "key_value";
3282
3315
  value: string;
3316
+ type: "key_value";
3283
3317
  label: string;
3284
3318
  } | {
3285
3319
  type: "issue_link";
3286
3320
  title?: string | null | undefined;
3287
3321
  label?: string | null | undefined;
3288
- identifier?: string | null | undefined;
3289
3322
  issueId?: string | null | undefined;
3323
+ identifier?: string | null | undefined;
3290
3324
  } | {
3291
3325
  type: "agent_link";
3292
3326
  agentId: string;
3293
- label?: string | null | undefined;
3294
3327
  name?: string | null | undefined;
3328
+ label?: string | null | undefined;
3295
3329
  } | {
3296
3330
  type: "run_link";
3297
3331
  runId: string;
@@ -3304,6 +3338,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3304
3338
  sourceRunId?: string | null | undefined;
3305
3339
  authorizationReason?: string | null | undefined;
3306
3340
  } | null;
3341
+ createdAt: string | null;
3342
+ body: string;
3307
3343
  authorType: "user" | "agent" | "system";
3308
3344
  presentation: {
3309
3345
  kind: "message" | "system_notice";
@@ -3334,6 +3370,12 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3334
3370
  originalFilename: string | null;
3335
3371
  commentIndex: number | null;
3336
3372
  }[];
3373
+ startedAt?: string | null | undefined;
3374
+ completedAt?: string | null | undefined;
3375
+ cancelledAt?: string | null | undefined;
3376
+ createdAt?: string | null | undefined;
3377
+ updatedAt?: string | null | undefined;
3378
+ parentSlug?: string | null | undefined;
3337
3379
  }[];
3338
3380
  sidebar: {
3339
3381
  projects: string[];
@@ -3351,16 +3393,16 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3351
3393
  companyName: string;
3352
3394
  } | null;
3353
3395
  labels: {
3354
- color: string;
3355
3396
  name: string;
3397
+ color: string;
3356
3398
  }[];
3357
3399
  skills: {
3358
3400
  description: string | null;
3359
3401
  key: string;
3360
3402
  path: string;
3361
- slug: string;
3362
3403
  name: string;
3363
3404
  metadata: Record<string, unknown> | null;
3405
+ slug: string;
3364
3406
  sourceType: string;
3365
3407
  sourceLocator: string | null;
3366
3408
  sourceRef: string | null;
@@ -3405,17 +3447,17 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3405
3447
  agents: {
3406
3448
  title: string | null;
3407
3449
  path: string;
3408
- icon: string | null;
3409
- slug: string;
3410
3450
  name: string;
3411
- metadata: Record<string, unknown> | null;
3451
+ adapterType: string;
3412
3452
  adapterConfig: Record<string, unknown>;
3413
3453
  role: string;
3454
+ icon: string | null;
3414
3455
  capabilities: string | null;
3415
- adapterType: string;
3416
3456
  runtimeConfig: Record<string, unknown>;
3417
- permissions: Record<string, unknown>;
3418
3457
  budgetMonthlyCents: number;
3458
+ permissions: Record<string, unknown>;
3459
+ metadata: Record<string, unknown> | null;
3460
+ slug: string;
3419
3461
  reportsToSlug: string | null;
3420
3462
  skills?: string[] | undefined;
3421
3463
  permissionGrants?: {
@@ -3444,10 +3486,10 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3444
3486
  description: string | null;
3445
3487
  status: string | null;
3446
3488
  path: string;
3447
- color: string | null;
3448
- slug: string;
3449
3489
  name: string;
3450
3490
  metadata: Record<string, unknown> | null;
3491
+ color: string | null;
3492
+ slug: string;
3451
3493
  ownerAgentSlug: string | null;
3452
3494
  leadAgentSlug: string | null;
3453
3495
  targetDate: string | null;
@@ -3475,15 +3517,15 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3475
3517
  variables?: {
3476
3518
  name: string;
3477
3519
  required?: boolean | undefined;
3478
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3479
3520
  options?: string[] | undefined;
3521
+ type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3480
3522
  label?: string | null | undefined;
3481
3523
  defaultValue?: string | number | boolean | null | undefined;
3482
3524
  }[] | null | undefined;
3483
3525
  triggers?: {
3484
3526
  label: string | null;
3485
- kind: string;
3486
3527
  enabled: boolean;
3528
+ kind: string;
3487
3529
  cronExpression: string | null;
3488
3530
  timezone: string | null;
3489
3531
  signingMode: string | null;
@@ -3492,13 +3534,13 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3492
3534
  } | null;
3493
3535
  status: string | null;
3494
3536
  path: string;
3537
+ metadata: Record<string, unknown> | null;
3495
3538
  slug: string;
3496
3539
  priority: string | null;
3497
3540
  identifier: string | null;
3498
3541
  billingCode: string | null;
3499
3542
  assigneeAdapterOverrides: Record<string, unknown> | null;
3500
3543
  executionWorkspaceSettings: Record<string, unknown> | null;
3501
- metadata: Record<string, unknown> | null;
3502
3544
  projectSlug: string | null;
3503
3545
  projectWorkspaceKey: string | null;
3504
3546
  assigneeAgentSlug: string | null;
@@ -3508,24 +3550,27 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3508
3550
  scheduledBy: string | null;
3509
3551
  hadSchedule?: boolean | undefined;
3510
3552
  } | null | undefined;
3553
+ startedAt?: string | null | undefined;
3554
+ completedAt?: string | null | undefined;
3555
+ cancelledAt?: string | null | undefined;
3556
+ createdAt?: string | null | undefined;
3557
+ updatedAt?: string | null | undefined;
3511
3558
  labelIds?: string[] | undefined;
3512
3559
  blockedBy?: string[] | undefined;
3513
3560
  workProducts?: {
3514
3561
  title: string;
3515
- type: string;
3516
3562
  status: string;
3563
+ type: string;
3564
+ provider: string;
3565
+ url: string | null;
3566
+ metadata: Record<string, unknown> | null;
3517
3567
  healthStatus: string;
3518
3568
  summary: string | null;
3519
- metadata: Record<string, unknown> | null;
3520
- url: string | null;
3521
- provider: string;
3522
3569
  externalId: string | null;
3523
3570
  reviewState: string;
3524
3571
  isPrimary?: boolean | undefined;
3525
3572
  }[] | undefined;
3526
3573
  comments?: {
3527
- createdAt: string | null;
3528
- body: string;
3529
3574
  metadata: {
3530
3575
  version: 1;
3531
3576
  sections: {
@@ -3539,20 +3584,20 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3539
3584
  label?: string | null | undefined;
3540
3585
  language?: string | null | undefined;
3541
3586
  } | {
3542
- type: "key_value";
3543
3587
  value: string;
3588
+ type: "key_value";
3544
3589
  label: string;
3545
3590
  } | {
3546
3591
  type: "issue_link";
3547
3592
  title?: string | null | undefined;
3548
3593
  label?: string | null | undefined;
3549
- identifier?: string | null | undefined;
3550
3594
  issueId?: string | null | undefined;
3595
+ identifier?: string | null | undefined;
3551
3596
  } | {
3552
3597
  type: "agent_link";
3553
3598
  agentId: string;
3554
- label?: string | null | undefined;
3555
3599
  name?: string | null | undefined;
3600
+ label?: string | null | undefined;
3556
3601
  } | {
3557
3602
  type: "run_link";
3558
3603
  runId: string;
@@ -3565,6 +3610,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3565
3610
  sourceRunId?: string | null | undefined;
3566
3611
  authorizationReason?: string | null | undefined;
3567
3612
  } | null;
3613
+ createdAt: string | null;
3614
+ body: string;
3568
3615
  authorType: "user" | "agent" | "system";
3569
3616
  presentation: {
3570
3617
  title?: string | null | undefined;
@@ -3591,18 +3638,19 @@ export declare const portabilityManifestSchema: z.ZodObject<{
3591
3638
  originalFilename: string | null;
3592
3639
  commentIndex?: number | null | undefined;
3593
3640
  }[] | undefined;
3641
+ parentSlug?: string | null | undefined;
3594
3642
  }[] | undefined;
3595
3643
  labels?: {
3596
- color: string;
3597
3644
  name: string;
3645
+ color: string;
3598
3646
  }[] | undefined;
3599
3647
  skills?: {
3600
3648
  description: string | null;
3601
3649
  key: string;
3602
3650
  path: string;
3603
- slug: string;
3604
3651
  name: string;
3605
3652
  metadata: Record<string, unknown> | null;
3653
+ slug: string;
3606
3654
  sourceType: string;
3607
3655
  sourceLocator: string | null;
3608
3656
  sourceRef: string | null;
@@ -3687,11 +3735,11 @@ export declare const portabilityTargetSchema: z.ZodDiscriminatedUnion<"mode", [z
3687
3735
  mode: z.ZodLiteral<"existing_company">;
3688
3736
  companyId: z.ZodString;
3689
3737
  }, "strip", z.ZodTypeAny, {
3690
- companyId: string;
3691
3738
  mode: "existing_company";
3692
- }, {
3693
3739
  companyId: string;
3740
+ }, {
3694
3741
  mode: "existing_company";
3742
+ companyId: string;
3695
3743
  }>]>;
3696
3744
  export declare const portabilityAgentSelectionSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>;
3697
3745
  export declare const portabilityCollisionStrategySchema: z.ZodEnum<["rename", "skip", "replace"]>;
@@ -3850,11 +3898,11 @@ export declare const companyPortabilityPreviewSchema: z.ZodObject<{
3850
3898
  mode: z.ZodLiteral<"existing_company">;
3851
3899
  companyId: z.ZodString;
3852
3900
  }, "strip", z.ZodTypeAny, {
3853
- companyId: string;
3854
3901
  mode: "existing_company";
3855
- }, {
3856
3902
  companyId: string;
3903
+ }, {
3857
3904
  mode: "existing_company";
3905
+ companyId: string;
3858
3906
  }>]>;
3859
3907
  agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
3860
3908
  collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
@@ -3865,8 +3913,8 @@ export declare const companyPortabilityPreviewSchema: z.ZodObject<{
3865
3913
  mode: "new_company";
3866
3914
  newCompanyName?: string | null | undefined;
3867
3915
  } | {
3868
- companyId: string;
3869
3916
  mode: "existing_company";
3917
+ companyId: string;
3870
3918
  };
3871
3919
  source: {
3872
3920
  type: "inline";
@@ -3897,8 +3945,8 @@ export declare const companyPortabilityPreviewSchema: z.ZodObject<{
3897
3945
  mode: "new_company";
3898
3946
  newCompanyName?: string | null | undefined;
3899
3947
  } | {
3900
- companyId: string;
3901
3948
  mode: "existing_company";
3949
+ companyId: string;
3902
3950
  };
3903
3951
  source: {
3904
3952
  type: "inline";
@@ -4014,11 +4062,11 @@ export declare const companyPortabilityImportSchema: z.ZodObject<{
4014
4062
  mode: z.ZodLiteral<"existing_company">;
4015
4063
  companyId: z.ZodString;
4016
4064
  }, "strip", z.ZodTypeAny, {
4017
- companyId: string;
4018
4065
  mode: "existing_company";
4019
- }, {
4020
4066
  companyId: string;
4067
+ }, {
4021
4068
  mode: "existing_company";
4069
+ companyId: string;
4022
4070
  }>]>;
4023
4071
  agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
4024
4072
  collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
@@ -4042,8 +4090,8 @@ export declare const companyPortabilityImportSchema: z.ZodObject<{
4042
4090
  mode: "new_company";
4043
4091
  newCompanyName?: string | null | undefined;
4044
4092
  } | {
4045
- companyId: string;
4046
4093
  mode: "existing_company";
4094
+ companyId: string;
4047
4095
  };
4048
4096
  source: {
4049
4097
  type: "inline";
@@ -4080,8 +4128,8 @@ export declare const companyPortabilityImportSchema: z.ZodObject<{
4080
4128
  mode: "new_company";
4081
4129
  newCompanyName?: string | null | undefined;
4082
4130
  } | {
4083
- companyId: string;
4084
4131
  mode: "existing_company";
4132
+ companyId: string;
4085
4133
  };
4086
4134
  source: {
4087
4135
  type: "inline";