@paperclipai/shared 2026.824.0 → 2026.825.0-beta.0

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 (276) hide show
  1. package/dist/adapter-auth-check-code.d.ts +13 -0
  2. package/dist/adapter-auth-check-code.d.ts.map +1 -0
  3. package/dist/adapter-auth-check-code.js +13 -0
  4. package/dist/adapter-auth-check-code.js.map +1 -0
  5. package/dist/adapter-auth-check-code.test.d.ts +2 -0
  6. package/dist/adapter-auth-check-code.test.d.ts.map +1 -0
  7. package/dist/adapter-auth-check-code.test.js +8 -0
  8. package/dist/adapter-auth-check-code.test.js.map +1 -0
  9. package/dist/company-import-transfer.d.ts +3 -37
  10. package/dist/company-import-transfer.d.ts.map +1 -1
  11. package/dist/config-schema.d.ts +130 -1570
  12. package/dist/config-schema.d.ts.map +1 -1
  13. package/dist/config-schema.js +3 -7
  14. package/dist/config-schema.js.map +1 -1
  15. package/dist/constants.d.ts +3 -2
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +3 -0
  18. package/dist/constants.js.map +1 -1
  19. package/dist/environment-support.d.ts +1 -1
  20. package/dist/environment-support.d.ts.map +1 -1
  21. package/dist/environment-support.js +3 -2
  22. package/dist/environment-support.js.map +1 -1
  23. package/dist/environment-support.test.js +19 -0
  24. package/dist/environment-support.test.js.map +1 -1
  25. package/dist/feature-catalog.d.ts +7 -17
  26. package/dist/feature-catalog.d.ts.map +1 -1
  27. package/dist/feature-catalog.js +9 -2
  28. package/dist/feature-catalog.js.map +1 -1
  29. package/dist/frontmatter.d.ts +3 -13
  30. package/dist/frontmatter.d.ts.map +1 -1
  31. package/dist/frontmatter.js +2 -2
  32. package/dist/frontmatter.js.map +1 -1
  33. package/dist/index.d.ts +7 -3
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +6 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/markdown-work-products.d.ts +26 -0
  38. package/dist/markdown-work-products.d.ts.map +1 -0
  39. package/dist/markdown-work-products.js +70 -0
  40. package/dist/markdown-work-products.js.map +1 -0
  41. package/dist/markdown-work-products.test.d.ts +2 -0
  42. package/dist/markdown-work-products.test.d.ts.map +1 -0
  43. package/dist/markdown-work-products.test.js +122 -0
  44. package/dist/markdown-work-products.test.js.map +1 -0
  45. package/dist/node-version.d.ts +6 -0
  46. package/dist/node-version.d.ts.map +1 -0
  47. package/dist/node-version.js +46 -0
  48. package/dist/node-version.js.map +1 -0
  49. package/dist/runtime-exposure/loopback-bind.d.ts +2 -2
  50. package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -1
  51. package/dist/runtime-exposure/loopback-bind.js +3 -3
  52. package/dist/runtime-exposure/loopback-bind.js.map +1 -1
  53. package/dist/runtime-exposure/loopback-bind.test.js +11 -10
  54. package/dist/runtime-exposure/loopback-bind.test.js.map +1 -1
  55. package/dist/settings-visibility.d.ts +62 -0
  56. package/dist/settings-visibility.d.ts.map +1 -0
  57. package/dist/settings-visibility.js +102 -0
  58. package/dist/settings-visibility.js.map +1 -0
  59. package/dist/settings-visibility.test.d.ts +2 -0
  60. package/dist/settings-visibility.test.d.ts.map +1 -0
  61. package/dist/settings-visibility.test.js +51 -0
  62. package/dist/settings-visibility.test.js.map +1 -0
  63. package/dist/telemetry/generated/paperclip-telemetry.d.ts +4 -2
  64. package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
  65. package/dist/telemetry/generated/paperclip-telemetry.js +2 -0
  66. package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
  67. package/dist/types/environment.d.ts +20 -0
  68. package/dist/types/environment.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +5 -3
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/types/index.js +1 -0
  72. package/dist/types/index.js.map +1 -1
  73. package/dist/types/instance.d.ts +7 -0
  74. package/dist/types/instance.d.ts.map +1 -1
  75. package/dist/types/instance.js.map +1 -1
  76. package/dist/types/issue.d.ts +19 -0
  77. package/dist/types/issue.d.ts.map +1 -1
  78. package/dist/types/plugin.d.ts +34 -4
  79. package/dist/types/plugin.d.ts.map +1 -1
  80. package/dist/types/workspace-operation.d.ts +1 -1
  81. package/dist/types/workspace-operation.d.ts.map +1 -1
  82. package/dist/types/workspace-readiness.d.ts +62 -0
  83. package/dist/types/workspace-readiness.d.ts.map +1 -0
  84. package/dist/types/workspace-readiness.js +28 -0
  85. package/dist/types/workspace-readiness.js.map +1 -0
  86. package/dist/types/workspace-runtime.d.ts +6 -8
  87. package/dist/types/workspace-runtime.d.ts.map +1 -1
  88. package/dist/validators/access.d.ts +143 -277
  89. package/dist/validators/access.d.ts.map +1 -1
  90. package/dist/validators/access.js +5 -5
  91. package/dist/validators/adapter-auth-session.d.ts +50 -97
  92. package/dist/validators/adapter-auth-session.d.ts.map +1 -1
  93. package/dist/validators/adapter-auth-session.js +3 -3
  94. package/dist/validators/adapter-registry.d.ts +8 -40
  95. package/dist/validators/adapter-registry.d.ts.map +1 -1
  96. package/dist/validators/adapter-registry.js +1 -1
  97. package/dist/validators/adapter-registry.js.map +1 -1
  98. package/dist/validators/adapter-skills.d.ts +71 -170
  99. package/dist/validators/adapter-skills.d.ts.map +1 -1
  100. package/dist/validators/adapter-skills.js +3 -3
  101. package/dist/validators/agent.d.ts +412 -4798
  102. package/dist/validators/agent.d.ts.map +1 -1
  103. package/dist/validators/agent.js +13 -13
  104. package/dist/validators/agent.js.map +1 -1
  105. package/dist/validators/app-definition.d.ts +270 -2315
  106. package/dist/validators/app-definition.d.ts.map +1 -1
  107. package/dist/validators/approval.d.ts +15 -36
  108. package/dist/validators/approval.d.ts.map +1 -1
  109. package/dist/validators/approval.js +2 -2
  110. package/dist/validators/artifact.d.ts +162 -893
  111. package/dist/validators/artifact.d.ts.map +1 -1
  112. package/dist/validators/artifact.js +6 -6
  113. package/dist/validators/asset.d.ts +1 -5
  114. package/dist/validators/asset.d.ts.map +1 -1
  115. package/dist/validators/budget.d.ts +19 -43
  116. package/dist/validators/budget.d.ts.map +1 -1
  117. package/dist/validators/budget.js +1 -1
  118. package/dist/validators/claude-setup-token-session.d.ts +61 -181
  119. package/dist/validators/claude-setup-token-session.d.ts.map +1 -1
  120. package/dist/validators/claude-setup-token-session.js +4 -4
  121. package/dist/validators/company-portability.d.ts +318 -3616
  122. package/dist/validators/company-portability.d.ts.map +1 -1
  123. package/dist/validators/company-portability.js +2 -2
  124. package/dist/validators/company-skill.d.ts +722 -2934
  125. package/dist/validators/company-skill.d.ts.map +1 -1
  126. package/dist/validators/company-skill.js +63 -63
  127. package/dist/validators/company.d.ts +162 -289
  128. package/dist/validators/company.d.ts.map +1 -1
  129. package/dist/validators/company.js +4 -3
  130. package/dist/validators/company.js.map +1 -1
  131. package/dist/validators/cost.d.ts +29 -57
  132. package/dist/validators/cost.d.ts.map +1 -1
  133. package/dist/validators/cost.js +5 -5
  134. package/dist/validators/decision-queue.d.ts +60 -108
  135. package/dist/validators/decision-queue.d.ts.map +1 -1
  136. package/dist/validators/decision.d.ts +230 -1884
  137. package/dist/validators/decision.d.ts.map +1 -1
  138. package/dist/validators/decision.js +9 -9
  139. package/dist/validators/document-annotation.d.ts +37 -203
  140. package/dist/validators/document-annotation.d.ts.map +1 -1
  141. package/dist/validators/document-annotation.js +3 -3
  142. package/dist/validators/environment-custom-images.d.ts +79 -173
  143. package/dist/validators/environment-custom-images.d.ts.map +1 -1
  144. package/dist/validators/environment-custom-images.js +14 -11
  145. package/dist/validators/environment-custom-images.js.map +1 -1
  146. package/dist/validators/environment.d.ts +82 -259
  147. package/dist/validators/environment.d.ts.map +1 -1
  148. package/dist/validators/execution-workspace.d.ts +173 -513
  149. package/dist/validators/execution-workspace.d.ts.map +1 -1
  150. package/dist/validators/execution-workspace.js +13 -13
  151. package/dist/validators/execution-workspace.js.map +1 -1
  152. package/dist/validators/external-object.d.ts +55 -27
  153. package/dist/validators/external-object.d.ts.map +1 -1
  154. package/dist/validators/external-object.js +1 -1
  155. package/dist/validators/external-object.js.map +1 -1
  156. package/dist/validators/feedback.d.ts +28 -19
  157. package/dist/validators/feedback.d.ts.map +1 -1
  158. package/dist/validators/feedback.js +1 -1
  159. package/dist/validators/finance.d.ts +69 -74
  160. package/dist/validators/finance.d.ts.map +1 -1
  161. package/dist/validators/finance.js +6 -6
  162. package/dist/validators/folder.d.ts +44 -205
  163. package/dist/validators/folder.d.ts.map +1 -1
  164. package/dist/validators/folder.js +7 -7
  165. package/dist/validators/goal.d.ts +26 -34
  166. package/dist/validators/goal.d.ts.map +1 -1
  167. package/dist/validators/goal.js +4 -3
  168. package/dist/validators/goal.js.map +1 -1
  169. package/dist/validators/inbox-agent-policy.d.ts +12 -16
  170. package/dist/validators/inbox-agent-policy.d.ts.map +1 -1
  171. package/dist/validators/inbox-agent-policy.js +1 -1
  172. package/dist/validators/index.d.ts +2 -2
  173. package/dist/validators/index.d.ts.map +1 -1
  174. package/dist/validators/index.js +2 -2
  175. package/dist/validators/index.js.map +1 -1
  176. package/dist/validators/instance.d.ts +50 -563
  177. package/dist/validators/instance.d.ts.map +1 -1
  178. package/dist/validators/instance.js +16 -6
  179. package/dist/validators/instance.js.map +1 -1
  180. package/dist/validators/instance.test.js +13 -0
  181. package/dist/validators/instance.test.js.map +1 -1
  182. package/dist/validators/issue-tree-control.d.ts +41 -80
  183. package/dist/validators/issue-tree-control.d.ts.map +1 -1
  184. package/dist/validators/issue.d.ts +1772 -12251
  185. package/dist/validators/issue.d.ts.map +1 -1
  186. package/dist/validators/issue.js +150 -84
  187. package/dist/validators/issue.js.map +1 -1
  188. package/dist/validators/onboarding-seed.d.ts +3 -37
  189. package/dist/validators/onboarding-seed.d.ts.map +1 -1
  190. package/dist/validators/partial.d.ts +4 -0
  191. package/dist/validators/partial.d.ts.map +1 -0
  192. package/dist/validators/partial.js +35 -0
  193. package/dist/validators/partial.js.map +1 -0
  194. package/dist/validators/pipeline.d.ts +218 -3882
  195. package/dist/validators/pipeline.d.ts.map +1 -1
  196. package/dist/validators/pipeline.js +11 -11
  197. package/dist/validators/plugin.d.ts +725 -2597
  198. package/dist/validators/plugin.d.ts.map +1 -1
  199. package/dist/validators/plugin.js +38 -6
  200. package/dist/validators/plugin.js.map +1 -1
  201. package/dist/validators/plugin.test.js +54 -10
  202. package/dist/validators/plugin.test.js.map +1 -1
  203. package/dist/validators/project.d.ts +345 -2406
  204. package/dist/validators/project.d.ts.map +1 -1
  205. package/dist/validators/project.js +8 -7
  206. package/dist/validators/project.js.map +1 -1
  207. package/dist/validators/resource-memberships.d.ts +11 -27
  208. package/dist/validators/resource-memberships.d.ts.map +1 -1
  209. package/dist/validators/routine.d.ts +362 -1297
  210. package/dist/validators/routine.d.ts.map +1 -1
  211. package/dist/validators/routine.js +21 -20
  212. package/dist/validators/routine.js.map +1 -1
  213. package/dist/validators/runtime-exposure.d.ts +31 -80
  214. package/dist/validators/runtime-exposure.d.ts.map +1 -1
  215. package/dist/validators/search.d.ts +25 -93
  216. package/dist/validators/search.d.ts.map +1 -1
  217. package/dist/validators/secret.d.ts +174 -655
  218. package/dist/validators/secret.d.ts.map +1 -1
  219. package/dist/validators/secret.js +14 -14
  220. package/dist/validators/secret.js.map +1 -1
  221. package/dist/validators/sidebar-preferences.d.ts +5 -15
  222. package/dist/validators/sidebar-preferences.d.ts.map +1 -1
  223. package/dist/validators/sidebar-preferences.js +1 -1
  224. package/dist/validators/skill-policy.d.ts +184 -561
  225. package/dist/validators/skill-policy.d.ts.map +1 -1
  226. package/dist/validators/skill-policy.js +4 -4
  227. package/dist/validators/smoke-lab.d.ts +53 -37
  228. package/dist/validators/smoke-lab.d.ts.map +1 -1
  229. package/dist/validators/status-card.d.ts +139 -994
  230. package/dist/validators/status-card.d.ts.map +1 -1
  231. package/dist/validators/status-card.js +21 -21
  232. package/dist/validators/status-card.js.map +1 -1
  233. package/dist/validators/summary-slot.d.ts +28 -50
  234. package/dist/validators/summary-slot.d.ts.map +1 -1
  235. package/dist/validators/summary-slot.js +3 -3
  236. package/dist/validators/teams-catalog.d.ts +209 -472
  237. package/dist/validators/teams-catalog.d.ts.map +1 -1
  238. package/dist/validators/text.d.ts +1 -1
  239. package/dist/validators/text.d.ts.map +1 -1
  240. package/dist/validators/tool-access.d.ts +1088 -4670
  241. package/dist/validators/tool-access.d.ts.map +1 -1
  242. package/dist/validators/tool-access.js +96 -95
  243. package/dist/validators/tool-access.js.map +1 -1
  244. package/dist/validators/trust-policy.d.ts +62 -358
  245. package/dist/validators/trust-policy.d.ts.map +1 -1
  246. package/dist/validators/trust-policy.js +12 -12
  247. package/dist/validators/work-product.d.ts +110 -536
  248. package/dist/validators/work-product.d.ts.map +1 -1
  249. package/dist/validators/work-product.js +7 -6
  250. package/dist/validators/work-product.js.map +1 -1
  251. package/dist/validators/workspace-file-resource.d.ts +163 -618
  252. package/dist/validators/workspace-file-resource.d.ts.map +1 -1
  253. package/dist/validators/workspace-file-resource.js +11 -11
  254. package/dist/workspace-commands.d.ts +4 -2
  255. package/dist/workspace-commands.d.ts.map +1 -1
  256. package/dist/workspace-commands.js +9 -1
  257. package/dist/workspace-commands.js.map +1 -1
  258. package/dist/workspace-commands.test.js +45 -0
  259. package/dist/workspace-commands.test.js.map +1 -1
  260. package/dist/worktree-port-registry.d.ts +5 -0
  261. package/dist/worktree-port-registry.d.ts.map +1 -0
  262. package/dist/worktree-port-registry.js +382 -0
  263. package/dist/worktree-port-registry.js.map +1 -0
  264. package/dist/worktree-port-registry.test.d.ts +2 -0
  265. package/dist/worktree-port-registry.test.d.ts.map +1 -0
  266. package/dist/worktree-port-registry.test.js +118 -0
  267. package/dist/worktree-port-registry.test.js.map +1 -0
  268. package/dist/worktree-seed-source.d.ts +43 -0
  269. package/dist/worktree-seed-source.d.ts.map +1 -0
  270. package/dist/worktree-seed-source.js +180 -0
  271. package/dist/worktree-seed-source.js.map +1 -0
  272. package/dist/worktree-seed-source.test.d.ts +2 -0
  273. package/dist/worktree-seed-source.test.d.ts.map +1 -0
  274. package/dist/worktree-seed-source.test.js +166 -0
  275. package/dist/worktree-seed-source.test.js.map +1 -0
  276. package/package.json +6 -3
@@ -5,60 +5,31 @@ export declare const portabilityIncludeSchema: z.ZodObject<{
5
5
  projects: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6
6
  issues: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
7
7
  skills: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
8
- }, "strip", z.ZodTypeAny, {
9
- company?: boolean | undefined;
10
- projects?: boolean | undefined;
11
- agents?: boolean | undefined;
12
- issues?: boolean | undefined;
13
- skills?: boolean | undefined;
14
- }, {
15
- company?: boolean | undefined;
16
- projects?: boolean | undefined;
17
- agents?: boolean | undefined;
18
- issues?: boolean | undefined;
19
- skills?: boolean | undefined;
20
- }>;
8
+ }, z.core.$strip>;
21
9
  export declare const portabilityEnvInputSchema: z.ZodObject<{
22
10
  key: z.ZodString;
23
11
  description: z.ZodNullable<z.ZodString>;
24
12
  agentSlug: z.ZodNullable<z.ZodString>;
25
13
  projectSlug: z.ZodNullable<z.ZodString>;
26
- kind: z.ZodEnum<["secret", "plain"]>;
27
- requirement: z.ZodEnum<["required", "optional"]>;
14
+ kind: z.ZodEnum<{
15
+ plain: "plain";
16
+ secret: "secret";
17
+ }>;
18
+ requirement: z.ZodEnum<{
19
+ required: "required";
20
+ optional: "optional";
21
+ }>;
28
22
  defaultValue: z.ZodNullable<z.ZodString>;
29
- portability: z.ZodEnum<["portable", "system_dependent"]>;
30
- }, "strip", z.ZodTypeAny, {
31
- description: string | null;
32
- key: string;
33
- kind: "plain" | "secret";
34
- defaultValue: string | null;
35
- agentSlug: string | null;
36
- projectSlug: string | null;
37
- requirement: "required" | "optional";
38
- portability: "portable" | "system_dependent";
39
- }, {
40
- description: string | null;
41
- key: string;
42
- kind: "plain" | "secret";
43
- defaultValue: string | null;
44
- agentSlug: string | null;
45
- projectSlug: string | null;
46
- requirement: "required" | "optional";
47
- portability: "portable" | "system_dependent";
48
- }>;
49
- export declare const portabilityFileEntrySchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
23
+ portability: z.ZodEnum<{
24
+ portable: "portable";
25
+ system_dependent: "system_dependent";
26
+ }>;
27
+ }, z.core.$strip>;
28
+ export declare const portabilityFileEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
50
29
  encoding: z.ZodLiteral<"base64">;
51
30
  data: z.ZodString;
52
31
  contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
- }, "strip", z.ZodTypeAny, {
54
- data: string;
55
- encoding: "base64";
56
- contentType?: string | null | undefined;
57
- }, {
58
- data: string;
59
- encoding: "base64";
60
- contentType?: string | null | undefined;
61
- }>]>;
32
+ }, z.core.$strip>]>;
62
33
  export declare const portabilityCompanyManifestEntrySchema: z.ZodObject<{
63
34
  path: z.ZodString;
64
35
  name: z.ZodString;
@@ -71,69 +42,25 @@ export declare const portabilityCompanyManifestEntrySchema: z.ZodObject<{
71
42
  feedbackDataSharingConsentAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
72
43
  feedbackDataSharingConsentByUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
73
44
  feedbackDataSharingTermsVersion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
74
- }, "strip", z.ZodTypeAny, {
75
- description: string | null;
76
- path: string;
77
- name: string;
78
- attachmentMaxBytes: number | null;
79
- requireBoardApprovalForNewAgents: boolean;
80
- feedbackDataSharingEnabled: boolean;
81
- feedbackDataSharingConsentAt: string | null;
82
- feedbackDataSharingConsentByUserId: string | null;
83
- feedbackDataSharingTermsVersion: string | null;
84
- brandColor: string | null;
85
- logoPath: string | null;
86
- }, {
87
- description: string | null;
88
- path: string;
89
- name: string;
90
- requireBoardApprovalForNewAgents: boolean;
91
- brandColor: string | null;
92
- logoPath: string | null;
93
- attachmentMaxBytes?: number | null | undefined;
94
- feedbackDataSharingEnabled?: boolean | undefined;
95
- feedbackDataSharingConsentAt?: string | null | undefined;
96
- feedbackDataSharingConsentByUserId?: string | null | undefined;
97
- feedbackDataSharingTermsVersion?: string | null | undefined;
98
- }>;
45
+ }, z.core.$strip>;
99
46
  export declare const portabilitySidebarOrderSchema: z.ZodObject<{
100
- agents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
101
- projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
102
- }, "strip", z.ZodTypeAny, {
103
- projects: string[];
104
- agents: string[];
105
- }, {
106
- projects?: string[] | undefined;
107
- agents?: string[] | undefined;
108
- }>;
47
+ agents: z.ZodDefault<z.ZodArray<z.ZodString>>;
48
+ projects: z.ZodDefault<z.ZodArray<z.ZodString>>;
49
+ }, z.core.$strip>;
109
50
  export declare const portabilityLabelManifestEntrySchema: z.ZodObject<{
110
51
  name: z.ZodString;
111
52
  color: z.ZodString;
112
- }, "strip", z.ZodTypeAny, {
113
- name: string;
114
- color: string;
115
- }, {
116
- name: string;
117
- color: string;
118
- }>;
53
+ }, z.core.$strip>;
119
54
  export declare const portabilityBlobManifestEntrySchema: z.ZodObject<{
120
55
  sha256: z.ZodString;
121
56
  byteSize: z.ZodNumber;
122
57
  contentType: z.ZodString;
123
- }, "strip", z.ZodTypeAny, {
124
- sha256: string;
125
- contentType: string;
126
- byteSize: number;
127
- }, {
128
- sha256: string;
129
- contentType: string;
130
- byteSize: number;
131
- }>;
58
+ }, z.core.$strip>;
132
59
  export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
133
60
  slug: z.ZodString;
134
61
  name: z.ZodString;
135
62
  path: z.ZodString;
136
- skills: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
63
+ skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
137
64
  role: z.ZodString;
138
65
  title: z.ZodNullable<z.ZodString>;
139
66
  icon: z.ZodNullable<z.ZodString>;
@@ -144,58 +71,34 @@ export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{
144
71
  runtimeConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
145
72
  permissions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
146
73
  permissionGrants: z.ZodDefault<z.ZodArray<z.ZodObject<{
147
- permissionKey: z.ZodEnum<["agents:create", "agents:configure", "agents:suggest-changes", "skills:create", "skills:suggest-changes", "environments:manage", "tools:admin", "tools:manage_connections", "tools:manage_profiles", "tools:view_audit", "audit:view_agent_actions", "tools:use", "tools:manage_runtime", "inbox:manage", "users:invite", "users:manage_permissions", "tasks:assign", "tasks:assign_scope", "tasks:manage_active_checkouts", "pipelines:write", "joins:approve"]>;
74
+ permissionKey: z.ZodEnum<{
75
+ "agents:create": "agents:create";
76
+ "agents:configure": "agents:configure";
77
+ "agents:suggest-changes": "agents:suggest-changes";
78
+ "skills:create": "skills:create";
79
+ "skills:suggest-changes": "skills:suggest-changes";
80
+ "environments:manage": "environments:manage";
81
+ "tools:admin": "tools:admin";
82
+ "tools:manage_connections": "tools:manage_connections";
83
+ "tools:manage_profiles": "tools:manage_profiles";
84
+ "tools:view_audit": "tools:view_audit";
85
+ "audit:view_agent_actions": "audit:view_agent_actions";
86
+ "tools:use": "tools:use";
87
+ "tools:manage_runtime": "tools:manage_runtime";
88
+ "inbox:manage": "inbox:manage";
89
+ "users:invite": "users:invite";
90
+ "users:manage_permissions": "users:manage_permissions";
91
+ "tasks:assign": "tasks:assign";
92
+ "tasks:assign_scope": "tasks:assign_scope";
93
+ "tasks:manage_active_checkouts": "tasks:manage_active_checkouts";
94
+ "pipelines:write": "pipelines:write";
95
+ "joins:approve": "joins:approve";
96
+ }>;
148
97
  scope: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
149
- }, "strip", z.ZodTypeAny, {
150
- scope: Record<string, unknown> | null;
151
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
152
- }, {
153
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
154
- scope?: Record<string, unknown> | null | undefined;
155
- }>, "many">>;
98
+ }, z.core.$strip>>>;
156
99
  budgetMonthlyCents: z.ZodNumber;
157
100
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
158
- }, "strip", z.ZodTypeAny, {
159
- title: string | null;
160
- path: string;
161
- name: string;
162
- adapterType: string;
163
- adapterConfig: Record<string, unknown>;
164
- role: string;
165
- icon: string | null;
166
- capabilities: string | null;
167
- runtimeConfig: Record<string, unknown>;
168
- budgetMonthlyCents: number;
169
- permissions: Record<string, unknown>;
170
- metadata: Record<string, unknown> | null;
171
- slug: string;
172
- skills: string[];
173
- reportsToSlug: string | null;
174
- permissionGrants: {
175
- scope: Record<string, unknown> | null;
176
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
177
- }[];
178
- }, {
179
- title: string | null;
180
- path: string;
181
- name: string;
182
- adapterType: string;
183
- adapterConfig: Record<string, unknown>;
184
- role: string;
185
- icon: string | null;
186
- capabilities: string | null;
187
- runtimeConfig: Record<string, unknown>;
188
- budgetMonthlyCents: number;
189
- permissions: Record<string, unknown>;
190
- metadata: Record<string, unknown> | null;
191
- slug: string;
192
- reportsToSlug: string | null;
193
- skills?: string[] | undefined;
194
- permissionGrants?: {
195
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
196
- scope?: Record<string, unknown> | null | undefined;
197
- }[] | undefined;
198
- }>;
101
+ }, z.core.$strip>;
199
102
  export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
200
103
  key: z.ZodString;
201
104
  slug: z.ZodString;
@@ -211,46 +114,8 @@ export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{
211
114
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
212
115
  path: z.ZodString;
213
116
  kind: z.ZodString;
214
- }, "strip", z.ZodTypeAny, {
215
- path: string;
216
- kind: string;
217
- }, {
218
- path: string;
219
- kind: string;
220
- }>, "many">>;
221
- }, "strip", z.ZodTypeAny, {
222
- description: string | null;
223
- key: string;
224
- path: string;
225
- name: string;
226
- metadata: Record<string, unknown> | null;
227
- slug: string;
228
- sourceType: string;
229
- sourceLocator: string | null;
230
- sourceRef: string | null;
231
- trustLevel: string | null;
232
- compatibility: string | null;
233
- fileInventory: {
234
- path: string;
235
- kind: string;
236
- }[];
237
- }, {
238
- description: string | null;
239
- key: string;
240
- path: string;
241
- name: string;
242
- metadata: Record<string, unknown> | null;
243
- slug: string;
244
- sourceType: string;
245
- sourceLocator: string | null;
246
- sourceRef: string | null;
247
- trustLevel: string | null;
248
- compatibility: string | null;
249
- fileInventory?: {
250
- path: string;
251
- kind: string;
252
- }[] | undefined;
253
- }>;
117
+ }, z.core.$strip>>>;
118
+ }, z.core.$strip>;
254
119
  export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
255
120
  slug: z.ZodString;
256
121
  name: z.ZodString;
@@ -274,83 +139,9 @@ export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{
274
139
  cleanupCommand: z.ZodNullable<z.ZodString>;
275
140
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
276
141
  isPrimary: z.ZodBoolean;
277
- }, "strip", z.ZodTypeAny, {
278
- key: string;
279
- name: string;
280
- metadata: Record<string, unknown> | null;
281
- cleanupCommand: string | null;
282
- repoUrl: string | null;
283
- sourceType: string | null;
284
- repoRef: string | null;
285
- defaultRef: string | null;
286
- visibility: string | null;
287
- setupCommand: string | null;
288
- isPrimary: boolean;
289
- }, {
290
- key: string;
291
- name: string;
292
- metadata: Record<string, unknown> | null;
293
- cleanupCommand: string | null;
294
- repoUrl: string | null;
295
- sourceType: string | null;
296
- repoRef: string | null;
297
- defaultRef: string | null;
298
- visibility: string | null;
299
- setupCommand: string | null;
300
- isPrimary: boolean;
301
- }>, "many">>;
142
+ }, z.core.$strip>>>;
302
143
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
303
- }, "strip", z.ZodTypeAny, {
304
- description: string | null;
305
- workspaces: {
306
- key: string;
307
- name: string;
308
- metadata: Record<string, unknown> | null;
309
- cleanupCommand: string | null;
310
- repoUrl: string | null;
311
- sourceType: string | null;
312
- repoRef: string | null;
313
- defaultRef: string | null;
314
- visibility: string | null;
315
- setupCommand: string | null;
316
- isPrimary: boolean;
317
- }[];
318
- status: string | null;
319
- path: string;
320
- name: string;
321
- metadata: Record<string, unknown> | null;
322
- color: string | null;
323
- slug: string;
324
- ownerAgentSlug: string | null;
325
- leadAgentSlug: string | null;
326
- targetDate: string | null;
327
- executionWorkspacePolicy: Record<string, unknown> | null;
328
- }, {
329
- description: string | null;
330
- status: string | null;
331
- path: string;
332
- name: string;
333
- metadata: Record<string, unknown> | null;
334
- color: string | null;
335
- slug: string;
336
- ownerAgentSlug: string | null;
337
- leadAgentSlug: string | null;
338
- targetDate: string | null;
339
- executionWorkspacePolicy: Record<string, unknown> | null;
340
- workspaces?: {
341
- key: string;
342
- name: string;
343
- metadata: Record<string, unknown> | null;
344
- cleanupCommand: string | null;
345
- repoUrl: string | null;
346
- sourceType: string | null;
347
- repoRef: string | null;
348
- defaultRef: string | null;
349
- visibility: string | null;
350
- setupCommand: string | null;
351
- isPrimary: boolean;
352
- }[] | undefined;
353
- }>;
144
+ }, z.core.$strip>;
354
145
  export declare const portabilityIssueRoutineTriggerManifestEntrySchema: z.ZodObject<{
355
146
  kind: z.ZodString;
356
147
  label: z.ZodNullable<z.ZodString>;
@@ -359,62 +150,25 @@ export declare const portabilityIssueRoutineTriggerManifestEntrySchema: z.ZodObj
359
150
  timezone: z.ZodNullable<z.ZodString>;
360
151
  signingMode: z.ZodNullable<z.ZodString>;
361
152
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
362
- }, "strip", z.ZodTypeAny, {
363
- label: string | null;
364
- enabled: boolean;
365
- kind: string;
366
- cronExpression: string | null;
367
- timezone: string | null;
368
- signingMode: string | null;
369
- replayWindowSec: number | null;
370
- }, {
371
- label: string | null;
372
- enabled: boolean;
373
- kind: string;
374
- cronExpression: string | null;
375
- timezone: string | null;
376
- signingMode: string | null;
377
- replayWindowSec: number | null;
378
- }>;
153
+ }, z.core.$strip>;
379
154
  export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
380
155
  concurrencyPolicy: z.ZodNullable<z.ZodString>;
381
156
  catchUpPolicy: z.ZodNullable<z.ZodString>;
382
- variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
157
+ variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
383
158
  name: z.ZodString;
384
159
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
385
- type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["text", "textarea", "number", "boolean", "select", "date"]>>>;
386
- defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
160
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
161
+ number: "number";
162
+ boolean: "boolean";
163
+ text: "text";
164
+ textarea: "textarea";
165
+ select: "select";
166
+ date: "date";
167
+ }>>>;
168
+ defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
387
169
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
388
- options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
389
- }, "strip", z.ZodTypeAny, {
390
- required: boolean;
391
- options: string[];
392
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
393
- name: string;
394
- label?: string | null | undefined;
395
- defaultValue?: string | number | boolean | null | undefined;
396
- }, {
397
- name: string;
398
- required?: boolean | undefined;
399
- options?: string[] | undefined;
400
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
401
- label?: string | null | undefined;
402
- defaultValue?: string | number | boolean | null | undefined;
403
- }>, {
404
- required: boolean;
405
- options: string[];
406
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
407
- name: string;
408
- label?: string | null | undefined;
409
- defaultValue?: string | number | boolean | null | undefined;
410
- }, {
411
- name: string;
412
- required?: boolean | undefined;
413
- options?: string[] | undefined;
414
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
415
- label?: string | null | undefined;
416
- defaultValue?: string | number | boolean | null | undefined;
417
- }>, "many">>>;
170
+ options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
171
+ }, z.core.$strip>>>>;
418
172
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
419
173
  kind: z.ZodString;
420
174
  label: z.ZodNullable<z.ZodString>;
@@ -423,516 +177,82 @@ export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{
423
177
  timezone: z.ZodNullable<z.ZodString>;
424
178
  signingMode: z.ZodNullable<z.ZodString>;
425
179
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
426
- }, "strip", z.ZodTypeAny, {
427
- label: string | null;
428
- enabled: boolean;
429
- kind: string;
430
- cronExpression: string | null;
431
- timezone: string | null;
432
- signingMode: string | null;
433
- replayWindowSec: number | null;
434
- }, {
435
- label: string | null;
436
- enabled: boolean;
437
- kind: string;
438
- cronExpression: string | null;
439
- timezone: string | null;
440
- signingMode: string | null;
441
- replayWindowSec: number | null;
442
- }>, "many">>;
443
- }, "strip", z.ZodTypeAny, {
444
- triggers: {
445
- label: string | null;
446
- enabled: boolean;
447
- kind: string;
448
- cronExpression: string | null;
449
- timezone: string | null;
450
- signingMode: string | null;
451
- replayWindowSec: number | null;
452
- }[];
453
- concurrencyPolicy: string | null;
454
- catchUpPolicy: string | null;
455
- variables?: {
456
- required: boolean;
457
- options: string[];
458
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
459
- name: string;
460
- label?: string | null | undefined;
461
- defaultValue?: string | number | boolean | null | undefined;
462
- }[] | null | undefined;
463
- }, {
464
- concurrencyPolicy: string | null;
465
- catchUpPolicy: string | null;
466
- variables?: {
467
- name: string;
468
- required?: boolean | undefined;
469
- options?: string[] | undefined;
470
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
471
- label?: string | null | undefined;
472
- defaultValue?: string | number | boolean | null | undefined;
473
- }[] | null | undefined;
474
- triggers?: {
475
- label: string | null;
476
- enabled: boolean;
477
- kind: string;
478
- cronExpression: string | null;
479
- timezone: string | null;
480
- signingMode: string | null;
481
- replayWindowSec: number | null;
482
- }[] | undefined;
483
- }>;
180
+ }, z.core.$strip>>>;
181
+ }, z.core.$strip>;
484
182
  export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{
485
183
  body: z.ZodString;
486
- authorType: z.ZodEnum<["user", "agent", "system"]>;
184
+ authorType: z.ZodEnum<{
185
+ user: "user";
186
+ agent: "agent";
187
+ system: "system";
188
+ }>;
487
189
  authorAgentSlug: z.ZodNullable<z.ZodString>;
488
190
  authorUserId: z.ZodNullable<z.ZodString>;
489
191
  presentation: z.ZodNullable<z.ZodObject<{
490
- kind: z.ZodDefault<z.ZodEnum<["message", "system_notice"]>>;
491
- tone: z.ZodDefault<z.ZodEnum<["neutral", "info", "success", "warning", "danger"]>>;
192
+ kind: z.ZodDefault<z.ZodEnum<{
193
+ message: "message";
194
+ system_notice: "system_notice";
195
+ }>>;
196
+ tone: z.ZodDefault<z.ZodEnum<{
197
+ neutral: "neutral";
198
+ info: "info";
199
+ success: "success";
200
+ warning: "warning";
201
+ danger: "danger";
202
+ }>>;
492
203
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
204
  detailsDefaultOpen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
494
- density: z.ZodOptional<z.ZodEnum<["compact"]>>;
495
- }, "strict", z.ZodTypeAny, {
496
- kind: "message" | "system_notice";
497
- tone: "neutral" | "info" | "success" | "warning" | "danger";
498
- detailsDefaultOpen: boolean;
499
- title?: string | null | undefined;
500
- density?: "compact" | undefined;
501
- }, {
502
- title?: string | null | undefined;
503
- kind?: "message" | "system_notice" | undefined;
504
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
505
- detailsDefaultOpen?: boolean | undefined;
506
- density?: "compact" | undefined;
507
- }>>;
205
+ density: z.ZodOptional<z.ZodEnum<{
206
+ compact: "compact";
207
+ }>>;
208
+ }, z.core.$strict>>;
508
209
  metadata: z.ZodNullable<z.ZodObject<{
509
210
  version: z.ZodLiteral<1>;
510
211
  sourceRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
212
  authorizationReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
213
  sections: z.ZodArray<z.ZodObject<{
513
214
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
514
- rows: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
215
+ rows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
515
216
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
- } & {
517
217
  type: z.ZodLiteral<"text">;
518
218
  text: z.ZodString;
519
- }, "strict", z.ZodTypeAny, {
520
- text: string;
521
- type: "text";
522
- label?: string | null | undefined;
523
- }, {
524
- text: string;
525
- type: "text";
526
- label?: string | null | undefined;
527
- }>, z.ZodObject<{
219
+ }, z.core.$strict>, z.ZodObject<{
528
220
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
529
- } & {
530
221
  type: z.ZodLiteral<"code">;
531
222
  code: z.ZodString;
532
223
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
533
- }, "strict", z.ZodTypeAny, {
534
- code: string;
535
- type: "code";
536
- label?: string | null | undefined;
537
- language?: string | null | undefined;
538
- }, {
539
- code: string;
540
- type: "code";
541
- label?: string | null | undefined;
542
- language?: string | null | undefined;
543
- }>, z.ZodObject<{} & {
224
+ }, z.core.$strict>, z.ZodObject<{
544
225
  type: z.ZodLiteral<"key_value">;
545
226
  label: z.ZodString;
546
227
  value: z.ZodString;
547
- }, "strict", z.ZodTypeAny, {
548
- value: string;
549
- type: "key_value";
550
- label: string;
551
- }, {
552
- value: string;
553
- type: "key_value";
554
- label: string;
555
- }>, z.ZodObject<{
228
+ }, z.core.$strict>, z.ZodObject<{
556
229
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
557
- } & {
558
230
  type: z.ZodLiteral<"issue_link">;
559
231
  issueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
560
232
  identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
233
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
- }, "strict", z.ZodTypeAny, {
563
- type: "issue_link";
564
- title?: string | null | undefined;
565
- label?: string | null | undefined;
566
- issueId?: string | null | undefined;
567
- identifier?: string | null | undefined;
568
- }, {
569
- type: "issue_link";
570
- title?: string | null | undefined;
571
- label?: string | null | undefined;
572
- issueId?: string | null | undefined;
573
- identifier?: string | null | undefined;
574
- }>, z.ZodObject<{
234
+ }, z.core.$strict>, z.ZodObject<{
575
235
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
- } & {
577
236
  type: z.ZodLiteral<"agent_link">;
578
237
  agentId: z.ZodString;
579
238
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
580
- }, "strict", z.ZodTypeAny, {
581
- type: "agent_link";
582
- agentId: string;
583
- name?: string | null | undefined;
584
- label?: string | null | undefined;
585
- }, {
586
- type: "agent_link";
587
- agentId: string;
588
- name?: string | null | undefined;
589
- label?: string | null | undefined;
590
- }>, z.ZodObject<{
239
+ }, z.core.$strict>, z.ZodObject<{
591
240
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
- } & {
593
241
  type: z.ZodLiteral<"run_link">;
594
242
  runId: z.ZodString;
595
243
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
596
244
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
- }, "strict", z.ZodTypeAny, {
598
- type: "run_link";
599
- runId: string;
600
- title?: string | null | undefined;
601
- label?: string | null | undefined;
602
- agentId?: string | null | undefined;
603
- }, {
604
- type: "run_link";
605
- runId: string;
606
- title?: string | null | undefined;
607
- label?: string | null | undefined;
608
- agentId?: string | null | undefined;
609
- }>]>, {
610
- text: string;
611
- type: "text";
612
- label?: string | null | undefined;
613
- } | {
614
- code: string;
615
- type: "code";
616
- label?: string | null | undefined;
617
- language?: string | null | undefined;
618
- } | {
619
- value: string;
620
- type: "key_value";
621
- label: string;
622
- } | {
623
- type: "issue_link";
624
- title?: string | null | undefined;
625
- label?: string | null | undefined;
626
- issueId?: string | null | undefined;
627
- identifier?: string | null | undefined;
628
- } | {
629
- type: "agent_link";
630
- agentId: string;
631
- name?: string | null | undefined;
632
- label?: string | null | undefined;
633
- } | {
634
- type: "run_link";
635
- runId: string;
636
- title?: string | null | undefined;
637
- label?: string | null | undefined;
638
- agentId?: string | null | undefined;
639
- }, {
640
- text: string;
641
- type: "text";
642
- label?: string | null | undefined;
643
- } | {
644
- code: string;
645
- type: "code";
646
- label?: string | null | undefined;
647
- language?: string | null | undefined;
648
- } | {
649
- value: string;
650
- type: "key_value";
651
- label: string;
652
- } | {
653
- type: "issue_link";
654
- title?: string | null | undefined;
655
- label?: string | null | undefined;
656
- issueId?: string | null | undefined;
657
- identifier?: string | null | undefined;
658
- } | {
659
- type: "agent_link";
660
- agentId: string;
661
- name?: string | null | undefined;
662
- label?: string | null | undefined;
663
- } | {
664
- type: "run_link";
665
- runId: string;
666
- title?: string | null | undefined;
667
- label?: string | null | undefined;
668
- agentId?: string | null | undefined;
669
- }>, "many">;
670
- }, "strict", z.ZodTypeAny, {
671
- rows: ({
672
- text: string;
673
- type: "text";
674
- label?: string | null | undefined;
675
- } | {
676
- code: string;
677
- type: "code";
678
- label?: string | null | undefined;
679
- language?: string | null | undefined;
680
- } | {
681
- value: string;
682
- type: "key_value";
683
- label: string;
684
- } | {
685
- type: "issue_link";
686
- title?: string | null | undefined;
687
- label?: string | null | undefined;
688
- issueId?: string | null | undefined;
689
- identifier?: string | null | undefined;
690
- } | {
691
- type: "agent_link";
692
- agentId: string;
693
- name?: string | null | undefined;
694
- label?: string | null | undefined;
695
- } | {
696
- type: "run_link";
697
- runId: string;
698
- title?: string | null | undefined;
699
- label?: string | null | undefined;
700
- agentId?: string | null | undefined;
701
- })[];
702
- title?: string | null | undefined;
703
- }, {
704
- rows: ({
705
- text: string;
706
- type: "text";
707
- label?: string | null | undefined;
708
- } | {
709
- code: string;
710
- type: "code";
711
- label?: string | null | undefined;
712
- language?: string | null | undefined;
713
- } | {
714
- value: string;
715
- type: "key_value";
716
- label: string;
717
- } | {
718
- type: "issue_link";
719
- title?: string | null | undefined;
720
- label?: string | null | undefined;
721
- issueId?: string | null | undefined;
722
- identifier?: string | null | undefined;
723
- } | {
724
- type: "agent_link";
725
- agentId: string;
726
- name?: string | null | undefined;
727
- label?: string | null | undefined;
728
- } | {
729
- type: "run_link";
730
- runId: string;
731
- title?: string | null | undefined;
732
- label?: string | null | undefined;
733
- agentId?: string | null | undefined;
734
- })[];
735
- title?: string | null | undefined;
736
- }>, "many">;
737
- }, "strict", z.ZodTypeAny, {
738
- version: 1;
739
- sections: {
740
- rows: ({
741
- text: string;
742
- type: "text";
743
- label?: string | null | undefined;
744
- } | {
745
- code: string;
746
- type: "code";
747
- label?: string | null | undefined;
748
- language?: string | null | undefined;
749
- } | {
750
- value: string;
751
- type: "key_value";
752
- label: string;
753
- } | {
754
- type: "issue_link";
755
- title?: string | null | undefined;
756
- label?: string | null | undefined;
757
- issueId?: string | null | undefined;
758
- identifier?: string | null | undefined;
759
- } | {
760
- type: "agent_link";
761
- agentId: string;
762
- name?: string | null | undefined;
763
- label?: string | null | undefined;
764
- } | {
765
- type: "run_link";
766
- runId: string;
767
- title?: string | null | undefined;
768
- label?: string | null | undefined;
769
- agentId?: string | null | undefined;
770
- })[];
771
- title?: string | null | undefined;
772
- }[];
773
- sourceRunId?: string | null | undefined;
774
- authorizationReason?: string | null | undefined;
775
- }, {
776
- version: 1;
777
- sections: {
778
- rows: ({
779
- text: string;
780
- type: "text";
781
- label?: string | null | undefined;
782
- } | {
783
- code: string;
784
- type: "code";
785
- label?: string | null | undefined;
786
- language?: string | null | undefined;
787
- } | {
788
- value: string;
789
- type: "key_value";
790
- label: string;
791
- } | {
792
- type: "issue_link";
793
- title?: string | null | undefined;
794
- label?: string | null | undefined;
795
- issueId?: string | null | undefined;
796
- identifier?: string | null | undefined;
797
- } | {
798
- type: "agent_link";
799
- agentId: string;
800
- name?: string | null | undefined;
801
- label?: string | null | undefined;
802
- } | {
803
- type: "run_link";
804
- runId: string;
805
- title?: string | null | undefined;
806
- label?: string | null | undefined;
807
- agentId?: string | null | undefined;
808
- })[];
809
- title?: string | null | undefined;
810
- }[];
811
- sourceRunId?: string | null | undefined;
812
- authorizationReason?: string | null | undefined;
813
- }>>;
245
+ }, z.core.$strict>], "type">>;
246
+ }, z.core.$strict>>;
247
+ }, z.core.$strict>>;
814
248
  createdAt: z.ZodNullable<z.ZodString>;
815
- }, "strip", z.ZodTypeAny, {
816
- metadata: {
817
- version: 1;
818
- sections: {
819
- rows: ({
820
- text: string;
821
- type: "text";
822
- label?: string | null | undefined;
823
- } | {
824
- code: string;
825
- type: "code";
826
- label?: string | null | undefined;
827
- language?: string | null | undefined;
828
- } | {
829
- value: string;
830
- type: "key_value";
831
- label: string;
832
- } | {
833
- type: "issue_link";
834
- title?: string | null | undefined;
835
- label?: string | null | undefined;
836
- issueId?: string | null | undefined;
837
- identifier?: string | null | undefined;
838
- } | {
839
- type: "agent_link";
840
- agentId: string;
841
- name?: string | null | undefined;
842
- label?: string | null | undefined;
843
- } | {
844
- type: "run_link";
845
- runId: string;
846
- title?: string | null | undefined;
847
- label?: string | null | undefined;
848
- agentId?: string | null | undefined;
849
- })[];
850
- title?: string | null | undefined;
851
- }[];
852
- sourceRunId?: string | null | undefined;
853
- authorizationReason?: string | null | undefined;
854
- } | null;
855
- createdAt: string | null;
856
- body: string;
857
- authorType: "user" | "agent" | "system";
858
- presentation: {
859
- kind: "message" | "system_notice";
860
- tone: "neutral" | "info" | "success" | "warning" | "danger";
861
- detailsDefaultOpen: boolean;
862
- title?: string | null | undefined;
863
- density?: "compact" | undefined;
864
- } | null;
865
- authorUserId: string | null;
866
- authorAgentSlug: string | null;
867
- }, {
868
- metadata: {
869
- version: 1;
870
- sections: {
871
- rows: ({
872
- text: string;
873
- type: "text";
874
- label?: string | null | undefined;
875
- } | {
876
- code: string;
877
- type: "code";
878
- label?: string | null | undefined;
879
- language?: string | null | undefined;
880
- } | {
881
- value: string;
882
- type: "key_value";
883
- label: string;
884
- } | {
885
- type: "issue_link";
886
- title?: string | null | undefined;
887
- label?: string | null | undefined;
888
- issueId?: string | null | undefined;
889
- identifier?: string | null | undefined;
890
- } | {
891
- type: "agent_link";
892
- agentId: string;
893
- name?: string | null | undefined;
894
- label?: string | null | undefined;
895
- } | {
896
- type: "run_link";
897
- runId: string;
898
- title?: string | null | undefined;
899
- label?: string | null | undefined;
900
- agentId?: string | null | undefined;
901
- })[];
902
- title?: string | null | undefined;
903
- }[];
904
- sourceRunId?: string | null | undefined;
905
- authorizationReason?: string | null | undefined;
906
- } | null;
907
- createdAt: string | null;
908
- body: string;
909
- authorType: "user" | "agent" | "system";
910
- presentation: {
911
- title?: string | null | undefined;
912
- kind?: "message" | "system_notice" | undefined;
913
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
914
- detailsDefaultOpen?: boolean | undefined;
915
- density?: "compact" | undefined;
916
- } | null;
917
- authorUserId: string | null;
918
- authorAgentSlug: string | null;
919
- }>;
249
+ }, z.core.$strip>;
920
250
  export declare const portabilityIssueDocumentManifestEntrySchema: z.ZodObject<{
921
251
  key: z.ZodString;
922
252
  title: z.ZodNullable<z.ZodString>;
923
253
  format: z.ZodString;
924
254
  path: z.ZodString;
925
- }, "strip", z.ZodTypeAny, {
926
- title: string | null;
927
- key: string;
928
- path: string;
929
- format: string;
930
- }, {
931
- title: string | null;
932
- key: string;
933
- path: string;
934
- format: string;
935
- }>;
255
+ }, z.core.$strip>;
936
256
  export declare const portabilityIssueWorkProductManifestEntrySchema: z.ZodObject<{
937
257
  type: z.ZodString;
938
258
  provider: z.ZodString;
@@ -945,63 +265,19 @@ export declare const portabilityIssueWorkProductManifestEntrySchema: z.ZodObject
945
265
  healthStatus: z.ZodString;
946
266
  summary: z.ZodNullable<z.ZodString>;
947
267
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
948
- }, "strip", z.ZodTypeAny, {
949
- title: string;
950
- status: string;
951
- type: string;
952
- provider: string;
953
- url: string | null;
954
- metadata: Record<string, unknown> | null;
955
- healthStatus: string;
956
- summary: string | null;
957
- externalId: string | null;
958
- isPrimary: boolean;
959
- reviewState: string;
960
- }, {
961
- title: string;
962
- status: string;
963
- type: string;
964
- provider: string;
965
- url: string | null;
966
- metadata: Record<string, unknown> | null;
967
- healthStatus: string;
968
- summary: string | null;
969
- externalId: string | null;
970
- reviewState: string;
971
- isPrimary?: boolean | undefined;
972
- }>;
268
+ }, z.core.$strip>;
973
269
  export declare const portabilityIssueMonitorManifestEntrySchema: z.ZodObject<{
974
270
  notes: z.ZodNullable<z.ZodString>;
975
271
  scheduledBy: z.ZodNullable<z.ZodString>;
976
272
  hadSchedule: z.ZodDefault<z.ZodBoolean>;
977
- }, "strip", z.ZodTypeAny, {
978
- notes: string | null;
979
- scheduledBy: string | null;
980
- hadSchedule: boolean;
981
- }, {
982
- notes: string | null;
983
- scheduledBy: string | null;
984
- hadSchedule?: boolean | undefined;
985
- }>;
273
+ }, z.core.$strip>;
986
274
  export declare const portabilityIssueAttachmentManifestEntrySchema: z.ZodObject<{
987
275
  sha256: z.ZodString;
988
276
  contentType: z.ZodString;
989
277
  originalFilename: z.ZodNullable<z.ZodString>;
990
278
  byteSize: z.ZodNumber;
991
279
  commentIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
992
- }, "strip", z.ZodTypeAny, {
993
- sha256: string;
994
- contentType: string;
995
- byteSize: number;
996
- originalFilename: string | null;
997
- commentIndex: number | null;
998
- }, {
999
- sha256: string;
1000
- contentType: string;
1001
- byteSize: number;
1002
- originalFilename: string | null;
1003
- commentIndex?: number | null | undefined;
1004
- }>;
280
+ }, z.core.$strip>;
1005
281
  export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1006
282
  slug: z.ZodString;
1007
283
  identifier: z.ZodNullable<z.ZodString>;
@@ -1015,42 +291,21 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1015
291
  routine: z.ZodNullable<z.ZodObject<{
1016
292
  concurrencyPolicy: z.ZodNullable<z.ZodString>;
1017
293
  catchUpPolicy: z.ZodNullable<z.ZodString>;
1018
- variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
294
+ variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1019
295
  name: z.ZodString;
1020
296
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
- type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["text", "textarea", "number", "boolean", "select", "date"]>>>;
1022
- defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
297
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
298
+ number: "number";
299
+ boolean: "boolean";
300
+ text: "text";
301
+ textarea: "textarea";
302
+ select: "select";
303
+ date: "date";
304
+ }>>>;
305
+ defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1023
306
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1024
- options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1025
- }, "strip", z.ZodTypeAny, {
1026
- required: boolean;
1027
- options: string[];
1028
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1029
- name: string;
1030
- label?: string | null | undefined;
1031
- defaultValue?: string | number | boolean | null | undefined;
1032
- }, {
1033
- name: string;
1034
- required?: boolean | undefined;
1035
- options?: string[] | undefined;
1036
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1037
- label?: string | null | undefined;
1038
- defaultValue?: string | number | boolean | null | undefined;
1039
- }>, {
1040
- required: boolean;
1041
- options: string[];
1042
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1043
- name: string;
1044
- label?: string | null | undefined;
1045
- defaultValue?: string | number | boolean | null | undefined;
1046
- }, {
1047
- name: string;
1048
- required?: boolean | undefined;
1049
- options?: string[] | undefined;
1050
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1051
- label?: string | null | undefined;
1052
- defaultValue?: string | number | boolean | null | undefined;
1053
- }>, "many">>>;
307
+ options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
308
+ }, z.core.$strip>>>>;
1054
309
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
1055
310
  kind: z.ZodString;
1056
311
  label: z.ZodNullable<z.ZodString>;
@@ -1059,525 +314,91 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1059
314
  timezone: z.ZodNullable<z.ZodString>;
1060
315
  signingMode: z.ZodNullable<z.ZodString>;
1061
316
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
1062
- }, "strip", z.ZodTypeAny, {
1063
- label: string | null;
1064
- enabled: boolean;
1065
- kind: string;
1066
- cronExpression: string | null;
1067
- timezone: string | null;
1068
- signingMode: string | null;
1069
- replayWindowSec: number | null;
1070
- }, {
1071
- label: string | null;
1072
- enabled: boolean;
1073
- kind: string;
1074
- cronExpression: string | null;
1075
- timezone: string | null;
1076
- signingMode: string | null;
1077
- replayWindowSec: number | null;
1078
- }>, "many">>;
1079
- }, "strip", z.ZodTypeAny, {
1080
- triggers: {
1081
- label: string | null;
1082
- enabled: boolean;
1083
- kind: string;
1084
- cronExpression: string | null;
1085
- timezone: string | null;
1086
- signingMode: string | null;
1087
- replayWindowSec: number | null;
1088
- }[];
1089
- concurrencyPolicy: string | null;
1090
- catchUpPolicy: string | null;
1091
- variables?: {
1092
- required: boolean;
1093
- options: string[];
1094
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1095
- name: string;
1096
- label?: string | null | undefined;
1097
- defaultValue?: string | number | boolean | null | undefined;
1098
- }[] | null | undefined;
1099
- }, {
1100
- concurrencyPolicy: string | null;
1101
- catchUpPolicy: string | null;
1102
- variables?: {
1103
- name: string;
1104
- required?: boolean | undefined;
1105
- options?: string[] | undefined;
1106
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1107
- label?: string | null | undefined;
1108
- defaultValue?: string | number | boolean | null | undefined;
1109
- }[] | null | undefined;
1110
- triggers?: {
1111
- label: string | null;
1112
- enabled: boolean;
1113
- kind: string;
1114
- cronExpression: string | null;
1115
- timezone: string | null;
1116
- signingMode: string | null;
1117
- replayWindowSec: number | null;
1118
- }[] | undefined;
1119
- }>>;
317
+ }, z.core.$strip>>>;
318
+ }, z.core.$strip>>;
1120
319
  legacyRecurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1121
320
  status: z.ZodNullable<z.ZodString>;
1122
321
  priority: z.ZodNullable<z.ZodString>;
1123
- labelIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1124
- labelNames: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
322
+ labelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
323
+ labelNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
1125
324
  billingCode: z.ZodNullable<z.ZodString>;
1126
325
  executionWorkspaceSettings: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1127
326
  assigneeAdapterOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1128
327
  comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1129
328
  body: z.ZodString;
1130
- authorType: z.ZodEnum<["user", "agent", "system"]>;
329
+ authorType: z.ZodEnum<{
330
+ user: "user";
331
+ agent: "agent";
332
+ system: "system";
333
+ }>;
1131
334
  authorAgentSlug: z.ZodNullable<z.ZodString>;
1132
335
  authorUserId: z.ZodNullable<z.ZodString>;
1133
336
  presentation: z.ZodNullable<z.ZodObject<{
1134
- kind: z.ZodDefault<z.ZodEnum<["message", "system_notice"]>>;
1135
- tone: z.ZodDefault<z.ZodEnum<["neutral", "info", "success", "warning", "danger"]>>;
337
+ kind: z.ZodDefault<z.ZodEnum<{
338
+ message: "message";
339
+ system_notice: "system_notice";
340
+ }>>;
341
+ tone: z.ZodDefault<z.ZodEnum<{
342
+ neutral: "neutral";
343
+ info: "info";
344
+ success: "success";
345
+ warning: "warning";
346
+ danger: "danger";
347
+ }>>;
1136
348
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1137
349
  detailsDefaultOpen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1138
- density: z.ZodOptional<z.ZodEnum<["compact"]>>;
1139
- }, "strict", z.ZodTypeAny, {
1140
- kind: "message" | "system_notice";
1141
- tone: "neutral" | "info" | "success" | "warning" | "danger";
1142
- detailsDefaultOpen: boolean;
1143
- title?: string | null | undefined;
1144
- density?: "compact" | undefined;
1145
- }, {
1146
- title?: string | null | undefined;
1147
- kind?: "message" | "system_notice" | undefined;
1148
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
1149
- detailsDefaultOpen?: boolean | undefined;
1150
- density?: "compact" | undefined;
1151
- }>>;
350
+ density: z.ZodOptional<z.ZodEnum<{
351
+ compact: "compact";
352
+ }>>;
353
+ }, z.core.$strict>>;
1152
354
  metadata: z.ZodNullable<z.ZodObject<{
1153
355
  version: z.ZodLiteral<1>;
1154
356
  sourceRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
357
  authorizationReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
358
  sections: z.ZodArray<z.ZodObject<{
1157
359
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
- rows: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
360
+ rows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1159
361
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
- } & {
1161
362
  type: z.ZodLiteral<"text">;
1162
363
  text: z.ZodString;
1163
- }, "strict", z.ZodTypeAny, {
1164
- text: string;
1165
- type: "text";
1166
- label?: string | null | undefined;
1167
- }, {
1168
- text: string;
1169
- type: "text";
1170
- label?: string | null | undefined;
1171
- }>, z.ZodObject<{
364
+ }, z.core.$strict>, z.ZodObject<{
1172
365
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
- } & {
1174
366
  type: z.ZodLiteral<"code">;
1175
367
  code: z.ZodString;
1176
368
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1177
- }, "strict", z.ZodTypeAny, {
1178
- code: string;
1179
- type: "code";
1180
- label?: string | null | undefined;
1181
- language?: string | null | undefined;
1182
- }, {
1183
- code: string;
1184
- type: "code";
1185
- label?: string | null | undefined;
1186
- language?: string | null | undefined;
1187
- }>, z.ZodObject<{} & {
369
+ }, z.core.$strict>, z.ZodObject<{
1188
370
  type: z.ZodLiteral<"key_value">;
1189
371
  label: z.ZodString;
1190
372
  value: z.ZodString;
1191
- }, "strict", z.ZodTypeAny, {
1192
- value: string;
1193
- type: "key_value";
1194
- label: string;
1195
- }, {
1196
- value: string;
1197
- type: "key_value";
1198
- label: string;
1199
- }>, z.ZodObject<{
373
+ }, z.core.$strict>, z.ZodObject<{
1200
374
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
- } & {
1202
375
  type: z.ZodLiteral<"issue_link">;
1203
376
  issueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1204
377
  identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
378
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
- }, "strict", z.ZodTypeAny, {
1207
- type: "issue_link";
1208
- title?: string | null | undefined;
1209
- label?: string | null | undefined;
1210
- issueId?: string | null | undefined;
1211
- identifier?: string | null | undefined;
1212
- }, {
1213
- type: "issue_link";
1214
- title?: string | null | undefined;
1215
- label?: string | null | undefined;
1216
- issueId?: string | null | undefined;
1217
- identifier?: string | null | undefined;
1218
- }>, z.ZodObject<{
379
+ }, z.core.$strict>, z.ZodObject<{
1219
380
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
- } & {
1221
381
  type: z.ZodLiteral<"agent_link">;
1222
382
  agentId: z.ZodString;
1223
383
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1224
- }, "strict", z.ZodTypeAny, {
1225
- type: "agent_link";
1226
- agentId: string;
1227
- name?: string | null | undefined;
1228
- label?: string | null | undefined;
1229
- }, {
1230
- type: "agent_link";
1231
- agentId: string;
1232
- name?: string | null | undefined;
1233
- label?: string | null | undefined;
1234
- }>, z.ZodObject<{
384
+ }, z.core.$strict>, z.ZodObject<{
1235
385
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1236
- } & {
1237
386
  type: z.ZodLiteral<"run_link">;
1238
387
  runId: z.ZodString;
1239
388
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1240
389
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1241
- }, "strict", z.ZodTypeAny, {
1242
- type: "run_link";
1243
- runId: string;
1244
- title?: string | null | undefined;
1245
- label?: string | null | undefined;
1246
- agentId?: string | null | undefined;
1247
- }, {
1248
- type: "run_link";
1249
- runId: string;
1250
- title?: string | null | undefined;
1251
- label?: string | null | undefined;
1252
- agentId?: string | null | undefined;
1253
- }>]>, {
1254
- text: string;
1255
- type: "text";
1256
- label?: string | null | undefined;
1257
- } | {
1258
- code: string;
1259
- type: "code";
1260
- label?: string | null | undefined;
1261
- language?: string | null | undefined;
1262
- } | {
1263
- value: string;
1264
- type: "key_value";
1265
- label: string;
1266
- } | {
1267
- type: "issue_link";
1268
- title?: string | null | undefined;
1269
- label?: string | null | undefined;
1270
- issueId?: string | null | undefined;
1271
- identifier?: string | null | undefined;
1272
- } | {
1273
- type: "agent_link";
1274
- agentId: string;
1275
- name?: string | null | undefined;
1276
- label?: string | null | undefined;
1277
- } | {
1278
- type: "run_link";
1279
- runId: string;
1280
- title?: string | null | undefined;
1281
- label?: string | null | undefined;
1282
- agentId?: string | null | undefined;
1283
- }, {
1284
- text: string;
1285
- type: "text";
1286
- label?: string | null | undefined;
1287
- } | {
1288
- code: string;
1289
- type: "code";
1290
- label?: string | null | undefined;
1291
- language?: string | null | undefined;
1292
- } | {
1293
- value: string;
1294
- type: "key_value";
1295
- label: string;
1296
- } | {
1297
- type: "issue_link";
1298
- title?: string | null | undefined;
1299
- label?: string | null | undefined;
1300
- issueId?: string | null | undefined;
1301
- identifier?: string | null | undefined;
1302
- } | {
1303
- type: "agent_link";
1304
- agentId: string;
1305
- name?: string | null | undefined;
1306
- label?: string | null | undefined;
1307
- } | {
1308
- type: "run_link";
1309
- runId: string;
1310
- title?: string | null | undefined;
1311
- label?: string | null | undefined;
1312
- agentId?: string | null | undefined;
1313
- }>, "many">;
1314
- }, "strict", z.ZodTypeAny, {
1315
- rows: ({
1316
- text: string;
1317
- type: "text";
1318
- label?: string | null | undefined;
1319
- } | {
1320
- code: string;
1321
- type: "code";
1322
- label?: string | null | undefined;
1323
- language?: string | null | undefined;
1324
- } | {
1325
- value: string;
1326
- type: "key_value";
1327
- label: string;
1328
- } | {
1329
- type: "issue_link";
1330
- title?: string | null | undefined;
1331
- label?: string | null | undefined;
1332
- issueId?: string | null | undefined;
1333
- identifier?: string | null | undefined;
1334
- } | {
1335
- type: "agent_link";
1336
- agentId: string;
1337
- name?: string | null | undefined;
1338
- label?: string | null | undefined;
1339
- } | {
1340
- type: "run_link";
1341
- runId: string;
1342
- title?: string | null | undefined;
1343
- label?: string | null | undefined;
1344
- agentId?: string | null | undefined;
1345
- })[];
1346
- title?: string | null | undefined;
1347
- }, {
1348
- rows: ({
1349
- text: string;
1350
- type: "text";
1351
- label?: string | null | undefined;
1352
- } | {
1353
- code: string;
1354
- type: "code";
1355
- label?: string | null | undefined;
1356
- language?: string | null | undefined;
1357
- } | {
1358
- value: string;
1359
- type: "key_value";
1360
- label: string;
1361
- } | {
1362
- type: "issue_link";
1363
- title?: string | null | undefined;
1364
- label?: string | null | undefined;
1365
- issueId?: string | null | undefined;
1366
- identifier?: string | null | undefined;
1367
- } | {
1368
- type: "agent_link";
1369
- agentId: string;
1370
- name?: string | null | undefined;
1371
- label?: string | null | undefined;
1372
- } | {
1373
- type: "run_link";
1374
- runId: string;
1375
- title?: string | null | undefined;
1376
- label?: string | null | undefined;
1377
- agentId?: string | null | undefined;
1378
- })[];
1379
- title?: string | null | undefined;
1380
- }>, "many">;
1381
- }, "strict", z.ZodTypeAny, {
1382
- version: 1;
1383
- sections: {
1384
- rows: ({
1385
- text: string;
1386
- type: "text";
1387
- label?: string | null | undefined;
1388
- } | {
1389
- code: string;
1390
- type: "code";
1391
- label?: string | null | undefined;
1392
- language?: string | null | undefined;
1393
- } | {
1394
- value: string;
1395
- type: "key_value";
1396
- label: string;
1397
- } | {
1398
- type: "issue_link";
1399
- title?: string | null | undefined;
1400
- label?: string | null | undefined;
1401
- issueId?: string | null | undefined;
1402
- identifier?: string | null | undefined;
1403
- } | {
1404
- type: "agent_link";
1405
- agentId: string;
1406
- name?: string | null | undefined;
1407
- label?: string | null | undefined;
1408
- } | {
1409
- type: "run_link";
1410
- runId: string;
1411
- title?: string | null | undefined;
1412
- label?: string | null | undefined;
1413
- agentId?: string | null | undefined;
1414
- })[];
1415
- title?: string | null | undefined;
1416
- }[];
1417
- sourceRunId?: string | null | undefined;
1418
- authorizationReason?: string | null | undefined;
1419
- }, {
1420
- version: 1;
1421
- sections: {
1422
- rows: ({
1423
- text: string;
1424
- type: "text";
1425
- label?: string | null | undefined;
1426
- } | {
1427
- code: string;
1428
- type: "code";
1429
- label?: string | null | undefined;
1430
- language?: string | null | undefined;
1431
- } | {
1432
- value: string;
1433
- type: "key_value";
1434
- label: string;
1435
- } | {
1436
- type: "issue_link";
1437
- title?: string | null | undefined;
1438
- label?: string | null | undefined;
1439
- issueId?: string | null | undefined;
1440
- identifier?: string | null | undefined;
1441
- } | {
1442
- type: "agent_link";
1443
- agentId: string;
1444
- name?: string | null | undefined;
1445
- label?: string | null | undefined;
1446
- } | {
1447
- type: "run_link";
1448
- runId: string;
1449
- title?: string | null | undefined;
1450
- label?: string | null | undefined;
1451
- agentId?: string | null | undefined;
1452
- })[];
1453
- title?: string | null | undefined;
1454
- }[];
1455
- sourceRunId?: string | null | undefined;
1456
- authorizationReason?: string | null | undefined;
1457
- }>>;
390
+ }, z.core.$strict>], "type">>;
391
+ }, z.core.$strict>>;
392
+ }, z.core.$strict>>;
1458
393
  createdAt: z.ZodNullable<z.ZodString>;
1459
- }, "strip", z.ZodTypeAny, {
1460
- metadata: {
1461
- version: 1;
1462
- sections: {
1463
- rows: ({
1464
- text: string;
1465
- type: "text";
1466
- label?: string | null | undefined;
1467
- } | {
1468
- code: string;
1469
- type: "code";
1470
- label?: string | null | undefined;
1471
- language?: string | null | undefined;
1472
- } | {
1473
- value: string;
1474
- type: "key_value";
1475
- label: string;
1476
- } | {
1477
- type: "issue_link";
1478
- title?: string | null | undefined;
1479
- label?: string | null | undefined;
1480
- issueId?: string | null | undefined;
1481
- identifier?: string | null | undefined;
1482
- } | {
1483
- type: "agent_link";
1484
- agentId: string;
1485
- name?: string | null | undefined;
1486
- label?: string | null | undefined;
1487
- } | {
1488
- type: "run_link";
1489
- runId: string;
1490
- title?: string | null | undefined;
1491
- label?: string | null | undefined;
1492
- agentId?: string | null | undefined;
1493
- })[];
1494
- title?: string | null | undefined;
1495
- }[];
1496
- sourceRunId?: string | null | undefined;
1497
- authorizationReason?: string | null | undefined;
1498
- } | null;
1499
- createdAt: string | null;
1500
- body: string;
1501
- authorType: "user" | "agent" | "system";
1502
- presentation: {
1503
- kind: "message" | "system_notice";
1504
- tone: "neutral" | "info" | "success" | "warning" | "danger";
1505
- detailsDefaultOpen: boolean;
1506
- title?: string | null | undefined;
1507
- density?: "compact" | undefined;
1508
- } | null;
1509
- authorUserId: string | null;
1510
- authorAgentSlug: string | null;
1511
- }, {
1512
- metadata: {
1513
- version: 1;
1514
- sections: {
1515
- rows: ({
1516
- text: string;
1517
- type: "text";
1518
- label?: string | null | undefined;
1519
- } | {
1520
- code: string;
1521
- type: "code";
1522
- label?: string | null | undefined;
1523
- language?: string | null | undefined;
1524
- } | {
1525
- value: string;
1526
- type: "key_value";
1527
- label: string;
1528
- } | {
1529
- type: "issue_link";
1530
- title?: string | null | undefined;
1531
- label?: string | null | undefined;
1532
- issueId?: string | null | undefined;
1533
- identifier?: string | null | undefined;
1534
- } | {
1535
- type: "agent_link";
1536
- agentId: string;
1537
- name?: string | null | undefined;
1538
- label?: string | null | undefined;
1539
- } | {
1540
- type: "run_link";
1541
- runId: string;
1542
- title?: string | null | undefined;
1543
- label?: string | null | undefined;
1544
- agentId?: string | null | undefined;
1545
- })[];
1546
- title?: string | null | undefined;
1547
- }[];
1548
- sourceRunId?: string | null | undefined;
1549
- authorizationReason?: string | null | undefined;
1550
- } | null;
1551
- createdAt: string | null;
1552
- body: string;
1553
- authorType: "user" | "agent" | "system";
1554
- presentation: {
1555
- title?: string | null | undefined;
1556
- kind?: "message" | "system_notice" | undefined;
1557
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
1558
- detailsDefaultOpen?: boolean | undefined;
1559
- density?: "compact" | undefined;
1560
- } | null;
1561
- authorUserId: string | null;
1562
- authorAgentSlug: string | null;
1563
- }>, "many">>;
1564
- blockedBy: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
394
+ }, z.core.$strip>>>;
395
+ blockedBy: z.ZodDefault<z.ZodArray<z.ZodString>>;
1565
396
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
1566
397
  key: z.ZodString;
1567
398
  title: z.ZodNullable<z.ZodString>;
1568
399
  format: z.ZodString;
1569
400
  path: z.ZodString;
1570
- }, "strip", z.ZodTypeAny, {
1571
- title: string | null;
1572
- key: string;
1573
- path: string;
1574
- format: string;
1575
- }, {
1576
- title: string | null;
1577
- key: string;
1578
- path: string;
1579
- format: string;
1580
- }>, "many">>;
401
+ }, z.core.$strip>>>;
1581
402
  workProducts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1582
403
  type: z.ZodString;
1583
404
  provider: z.ZodString;
@@ -1590,63 +411,19 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1590
411
  healthStatus: z.ZodString;
1591
412
  summary: z.ZodNullable<z.ZodString>;
1592
413
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1593
- }, "strip", z.ZodTypeAny, {
1594
- title: string;
1595
- status: string;
1596
- type: string;
1597
- provider: string;
1598
- url: string | null;
1599
- metadata: Record<string, unknown> | null;
1600
- healthStatus: string;
1601
- summary: string | null;
1602
- externalId: string | null;
1603
- isPrimary: boolean;
1604
- reviewState: string;
1605
- }, {
1606
- title: string;
1607
- status: string;
1608
- type: string;
1609
- provider: string;
1610
- url: string | null;
1611
- metadata: Record<string, unknown> | null;
1612
- healthStatus: string;
1613
- summary: string | null;
1614
- externalId: string | null;
1615
- reviewState: string;
1616
- isPrimary?: boolean | undefined;
1617
- }>, "many">>;
414
+ }, z.core.$strip>>>;
1618
415
  monitor: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1619
416
  notes: z.ZodNullable<z.ZodString>;
1620
417
  scheduledBy: z.ZodNullable<z.ZodString>;
1621
418
  hadSchedule: z.ZodDefault<z.ZodBoolean>;
1622
- }, "strip", z.ZodTypeAny, {
1623
- notes: string | null;
1624
- scheduledBy: string | null;
1625
- hadSchedule: boolean;
1626
- }, {
1627
- notes: string | null;
1628
- scheduledBy: string | null;
1629
- hadSchedule?: boolean | undefined;
1630
- }>>>;
419
+ }, z.core.$strip>>>;
1631
420
  attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1632
421
  sha256: z.ZodString;
1633
422
  contentType: z.ZodString;
1634
423
  originalFilename: z.ZodNullable<z.ZodString>;
1635
424
  byteSize: z.ZodNumber;
1636
425
  commentIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1637
- }, "strip", z.ZodTypeAny, {
1638
- sha256: string;
1639
- contentType: string;
1640
- byteSize: number;
1641
- originalFilename: string | null;
1642
- commentIndex: number | null;
1643
- }, {
1644
- sha256: string;
1645
- contentType: string;
1646
- byteSize: number;
1647
- originalFilename: string | null;
1648
- commentIndex?: number | null | undefined;
1649
- }>, "many">>;
426
+ }, z.core.$strip>>>;
1650
427
  parentSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1651
428
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1652
429
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1654,301 +431,21 @@ export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{
1654
431
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1655
432
  cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1656
433
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- title: string;
1659
- description: string | null;
1660
- routine: {
1661
- triggers: {
1662
- label: string | null;
1663
- enabled: boolean;
1664
- kind: string;
1665
- cronExpression: string | null;
1666
- timezone: string | null;
1667
- signingMode: string | null;
1668
- replayWindowSec: number | null;
1669
- }[];
1670
- concurrencyPolicy: string | null;
1671
- catchUpPolicy: string | null;
1672
- variables?: {
1673
- required: boolean;
1674
- options: string[];
1675
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
1676
- name: string;
1677
- label?: string | null | undefined;
1678
- defaultValue?: string | number | boolean | null | undefined;
1679
- }[] | null | undefined;
1680
- } | null;
1681
- status: string | null;
1682
- path: string;
1683
- metadata: Record<string, unknown> | null;
1684
- slug: string;
1685
- monitor: {
1686
- notes: string | null;
1687
- scheduledBy: string | null;
1688
- hadSchedule: boolean;
1689
- } | null;
1690
- priority: string | null;
1691
- identifier: string | null;
1692
- billingCode: string | null;
1693
- assigneeAdapterOverrides: Record<string, unknown> | null;
1694
- executionWorkspaceSettings: Record<string, unknown> | null;
1695
- labelIds: string[];
1696
- blockedBy: string[];
1697
- workProducts: {
1698
- title: string;
1699
- status: string;
1700
- type: string;
1701
- provider: string;
1702
- url: string | null;
1703
- metadata: Record<string, unknown> | null;
1704
- healthStatus: string;
1705
- summary: string | null;
1706
- externalId: string | null;
1707
- isPrimary: boolean;
1708
- reviewState: string;
1709
- }[];
1710
- comments: {
1711
- metadata: {
1712
- version: 1;
1713
- sections: {
1714
- rows: ({
1715
- text: string;
1716
- type: "text";
1717
- label?: string | null | undefined;
1718
- } | {
1719
- code: string;
1720
- type: "code";
1721
- label?: string | null | undefined;
1722
- language?: string | null | undefined;
1723
- } | {
1724
- value: string;
1725
- type: "key_value";
1726
- label: string;
1727
- } | {
1728
- type: "issue_link";
1729
- title?: string | null | undefined;
1730
- label?: string | null | undefined;
1731
- issueId?: string | null | undefined;
1732
- identifier?: string | null | undefined;
1733
- } | {
1734
- type: "agent_link";
1735
- agentId: string;
1736
- name?: string | null | undefined;
1737
- label?: string | null | undefined;
1738
- } | {
1739
- type: "run_link";
1740
- runId: string;
1741
- title?: string | null | undefined;
1742
- label?: string | null | undefined;
1743
- agentId?: string | null | undefined;
1744
- })[];
1745
- title?: string | null | undefined;
1746
- }[];
1747
- sourceRunId?: string | null | undefined;
1748
- authorizationReason?: string | null | undefined;
1749
- } | null;
1750
- createdAt: string | null;
1751
- body: string;
1752
- authorType: "user" | "agent" | "system";
1753
- presentation: {
1754
- kind: "message" | "system_notice";
1755
- tone: "neutral" | "info" | "success" | "warning" | "danger";
1756
- detailsDefaultOpen: boolean;
1757
- title?: string | null | undefined;
1758
- density?: "compact" | undefined;
1759
- } | null;
1760
- authorUserId: string | null;
1761
- authorAgentSlug: string | null;
1762
- }[];
1763
- documents: {
1764
- title: string | null;
1765
- key: string;
1766
- path: string;
1767
- format: string;
1768
- }[];
1769
- projectSlug: string | null;
1770
- projectWorkspaceKey: string | null;
1771
- assigneeAgentSlug: string | null;
1772
- recurring: boolean;
1773
- legacyRecurrence: Record<string, unknown> | null;
1774
- labelNames: string[];
1775
- attachments: {
1776
- sha256: string;
1777
- contentType: string;
1778
- byteSize: number;
1779
- originalFilename: string | null;
1780
- commentIndex: number | null;
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;
1788
- }, {
1789
- title: string;
1790
- description: string | null;
1791
- routine: {
1792
- concurrencyPolicy: string | null;
1793
- catchUpPolicy: string | null;
1794
- variables?: {
1795
- name: string;
1796
- required?: boolean | undefined;
1797
- options?: string[] | undefined;
1798
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
1799
- label?: string | null | undefined;
1800
- defaultValue?: string | number | boolean | null | undefined;
1801
- }[] | null | undefined;
1802
- triggers?: {
1803
- label: string | null;
1804
- enabled: boolean;
1805
- kind: string;
1806
- cronExpression: string | null;
1807
- timezone: string | null;
1808
- signingMode: string | null;
1809
- replayWindowSec: number | null;
1810
- }[] | undefined;
1811
- } | null;
1812
- status: string | null;
1813
- path: string;
1814
- metadata: Record<string, unknown> | null;
1815
- slug: string;
1816
- priority: string | null;
1817
- identifier: string | null;
1818
- billingCode: string | null;
1819
- assigneeAdapterOverrides: Record<string, unknown> | null;
1820
- executionWorkspaceSettings: Record<string, unknown> | null;
1821
- projectSlug: string | null;
1822
- projectWorkspaceKey: string | null;
1823
- assigneeAgentSlug: string | null;
1824
- legacyRecurrence: Record<string, unknown> | null;
1825
- monitor?: {
1826
- notes: string | null;
1827
- scheduledBy: string | null;
1828
- hadSchedule?: boolean | undefined;
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;
1835
- labelIds?: string[] | undefined;
1836
- blockedBy?: string[] | undefined;
1837
- workProducts?: {
1838
- title: string;
1839
- status: string;
1840
- type: string;
1841
- provider: string;
1842
- url: string | null;
1843
- metadata: Record<string, unknown> | null;
1844
- healthStatus: string;
1845
- summary: string | null;
1846
- externalId: string | null;
1847
- reviewState: string;
1848
- isPrimary?: boolean | undefined;
1849
- }[] | undefined;
1850
- comments?: {
1851
- metadata: {
1852
- version: 1;
1853
- sections: {
1854
- rows: ({
1855
- text: string;
1856
- type: "text";
1857
- label?: string | null | undefined;
1858
- } | {
1859
- code: string;
1860
- type: "code";
1861
- label?: string | null | undefined;
1862
- language?: string | null | undefined;
1863
- } | {
1864
- value: string;
1865
- type: "key_value";
1866
- label: string;
1867
- } | {
1868
- type: "issue_link";
1869
- title?: string | null | undefined;
1870
- label?: string | null | undefined;
1871
- issueId?: string | null | undefined;
1872
- identifier?: string | null | undefined;
1873
- } | {
1874
- type: "agent_link";
1875
- agentId: string;
1876
- name?: string | null | undefined;
1877
- label?: string | null | undefined;
1878
- } | {
1879
- type: "run_link";
1880
- runId: string;
1881
- title?: string | null | undefined;
1882
- label?: string | null | undefined;
1883
- agentId?: string | null | undefined;
1884
- })[];
1885
- title?: string | null | undefined;
1886
- }[];
1887
- sourceRunId?: string | null | undefined;
1888
- authorizationReason?: string | null | undefined;
1889
- } | null;
1890
- createdAt: string | null;
1891
- body: string;
1892
- authorType: "user" | "agent" | "system";
1893
- presentation: {
1894
- title?: string | null | undefined;
1895
- kind?: "message" | "system_notice" | undefined;
1896
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
1897
- detailsDefaultOpen?: boolean | undefined;
1898
- density?: "compact" | undefined;
1899
- } | null;
1900
- authorUserId: string | null;
1901
- authorAgentSlug: string | null;
1902
- }[] | undefined;
1903
- documents?: {
1904
- title: string | null;
1905
- key: string;
1906
- path: string;
1907
- format: string;
1908
- }[] | undefined;
1909
- recurring?: boolean | undefined;
1910
- labelNames?: string[] | undefined;
1911
- attachments?: {
1912
- sha256: string;
1913
- contentType: string;
1914
- byteSize: number;
1915
- originalFilename: string | null;
1916
- commentIndex?: number | null | undefined;
1917
- }[] | undefined;
1918
- parentSlug?: string | null | undefined;
1919
- }>;
434
+ }, z.core.$strip>;
1920
435
  export declare const portabilityManifestSchema: z.ZodObject<{
1921
436
  schemaVersion: z.ZodNumber;
1922
437
  generatedAt: z.ZodString;
1923
438
  source: z.ZodNullable<z.ZodObject<{
1924
439
  companyId: z.ZodString;
1925
440
  companyName: z.ZodString;
1926
- }, "strip", z.ZodTypeAny, {
1927
- companyId: string;
1928
- companyName: string;
1929
- }, {
1930
- companyId: string;
1931
- companyName: string;
1932
- }>>;
441
+ }, z.core.$strip>>;
1933
442
  includes: z.ZodObject<{
1934
443
  company: z.ZodBoolean;
1935
444
  agents: z.ZodBoolean;
1936
445
  projects: z.ZodBoolean;
1937
446
  issues: z.ZodBoolean;
1938
447
  skills: z.ZodBoolean;
1939
- }, "strip", z.ZodTypeAny, {
1940
- company: boolean;
1941
- projects: boolean;
1942
- agents: boolean;
1943
- issues: boolean;
1944
- skills: boolean;
1945
- }, {
1946
- company: boolean;
1947
- projects: boolean;
1948
- agents: boolean;
1949
- issues: boolean;
1950
- skills: boolean;
1951
- }>;
448
+ }, z.core.$strip>;
1952
449
  company: z.ZodNullable<z.ZodObject<{
1953
450
  path: z.ZodString;
1954
451
  name: z.ZodString;
@@ -1961,69 +458,25 @@ export declare const portabilityManifestSchema: z.ZodObject<{
1961
458
  feedbackDataSharingConsentAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1962
459
  feedbackDataSharingConsentByUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1963
460
  feedbackDataSharingTermsVersion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1964
- }, "strip", z.ZodTypeAny, {
1965
- description: string | null;
1966
- path: string;
1967
- name: string;
1968
- attachmentMaxBytes: number | null;
1969
- requireBoardApprovalForNewAgents: boolean;
1970
- feedbackDataSharingEnabled: boolean;
1971
- feedbackDataSharingConsentAt: string | null;
1972
- feedbackDataSharingConsentByUserId: string | null;
1973
- feedbackDataSharingTermsVersion: string | null;
1974
- brandColor: string | null;
1975
- logoPath: string | null;
1976
- }, {
1977
- description: string | null;
1978
- path: string;
1979
- name: string;
1980
- requireBoardApprovalForNewAgents: boolean;
1981
- brandColor: string | null;
1982
- logoPath: string | null;
1983
- attachmentMaxBytes?: number | null | undefined;
1984
- feedbackDataSharingEnabled?: boolean | undefined;
1985
- feedbackDataSharingConsentAt?: string | null | undefined;
1986
- feedbackDataSharingConsentByUserId?: string | null | undefined;
1987
- feedbackDataSharingTermsVersion?: string | null | undefined;
1988
- }>>;
461
+ }, z.core.$strip>>;
1989
462
  sidebar: z.ZodNullable<z.ZodObject<{
1990
- agents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1991
- projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1992
- }, "strip", z.ZodTypeAny, {
1993
- projects: string[];
1994
- agents: string[];
1995
- }, {
1996
- projects?: string[] | undefined;
1997
- agents?: string[] | undefined;
1998
- }>>;
463
+ agents: z.ZodDefault<z.ZodArray<z.ZodString>>;
464
+ projects: z.ZodDefault<z.ZodArray<z.ZodString>>;
465
+ }, z.core.$strip>>;
1999
466
  labels: z.ZodDefault<z.ZodArray<z.ZodObject<{
2000
467
  name: z.ZodString;
2001
468
  color: z.ZodString;
2002
- }, "strip", z.ZodTypeAny, {
2003
- name: string;
2004
- color: string;
2005
- }, {
2006
- name: string;
2007
- color: string;
2008
- }>, "many">>;
469
+ }, z.core.$strip>>>;
2009
470
  blobs: z.ZodDefault<z.ZodArray<z.ZodObject<{
2010
471
  sha256: z.ZodString;
2011
472
  byteSize: z.ZodNumber;
2012
473
  contentType: z.ZodString;
2013
- }, "strip", z.ZodTypeAny, {
2014
- sha256: string;
2015
- contentType: string;
2016
- byteSize: number;
2017
- }, {
2018
- sha256: string;
2019
- contentType: string;
2020
- byteSize: number;
2021
- }>, "many">>;
474
+ }, z.core.$strip>>>;
2022
475
  agents: z.ZodArray<z.ZodObject<{
2023
476
  slug: z.ZodString;
2024
477
  name: z.ZodString;
2025
478
  path: z.ZodString;
2026
- skills: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
479
+ skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
2027
480
  role: z.ZodString;
2028
481
  title: z.ZodNullable<z.ZodString>;
2029
482
  icon: z.ZodNullable<z.ZodString>;
@@ -2034,58 +487,34 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2034
487
  runtimeConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2035
488
  permissions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2036
489
  permissionGrants: z.ZodDefault<z.ZodArray<z.ZodObject<{
2037
- permissionKey: z.ZodEnum<["agents:create", "agents:configure", "agents:suggest-changes", "skills:create", "skills:suggest-changes", "environments:manage", "tools:admin", "tools:manage_connections", "tools:manage_profiles", "tools:view_audit", "audit:view_agent_actions", "tools:use", "tools:manage_runtime", "inbox:manage", "users:invite", "users:manage_permissions", "tasks:assign", "tasks:assign_scope", "tasks:manage_active_checkouts", "pipelines:write", "joins:approve"]>;
490
+ permissionKey: z.ZodEnum<{
491
+ "agents:create": "agents:create";
492
+ "agents:configure": "agents:configure";
493
+ "agents:suggest-changes": "agents:suggest-changes";
494
+ "skills:create": "skills:create";
495
+ "skills:suggest-changes": "skills:suggest-changes";
496
+ "environments:manage": "environments:manage";
497
+ "tools:admin": "tools:admin";
498
+ "tools:manage_connections": "tools:manage_connections";
499
+ "tools:manage_profiles": "tools:manage_profiles";
500
+ "tools:view_audit": "tools:view_audit";
501
+ "audit:view_agent_actions": "audit:view_agent_actions";
502
+ "tools:use": "tools:use";
503
+ "tools:manage_runtime": "tools:manage_runtime";
504
+ "inbox:manage": "inbox:manage";
505
+ "users:invite": "users:invite";
506
+ "users:manage_permissions": "users:manage_permissions";
507
+ "tasks:assign": "tasks:assign";
508
+ "tasks:assign_scope": "tasks:assign_scope";
509
+ "tasks:manage_active_checkouts": "tasks:manage_active_checkouts";
510
+ "pipelines:write": "pipelines:write";
511
+ "joins:approve": "joins:approve";
512
+ }>;
2038
513
  scope: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2039
- }, "strip", z.ZodTypeAny, {
2040
- scope: Record<string, unknown> | null;
2041
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
2042
- }, {
2043
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
2044
- scope?: Record<string, unknown> | null | undefined;
2045
- }>, "many">>;
514
+ }, z.core.$strip>>>;
2046
515
  budgetMonthlyCents: z.ZodNumber;
2047
516
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2048
- }, "strip", z.ZodTypeAny, {
2049
- title: string | null;
2050
- path: string;
2051
- name: string;
2052
- adapterType: string;
2053
- adapterConfig: Record<string, unknown>;
2054
- role: string;
2055
- icon: string | null;
2056
- capabilities: string | null;
2057
- runtimeConfig: Record<string, unknown>;
2058
- budgetMonthlyCents: number;
2059
- permissions: Record<string, unknown>;
2060
- metadata: Record<string, unknown> | null;
2061
- slug: string;
2062
- skills: string[];
2063
- reportsToSlug: string | null;
2064
- permissionGrants: {
2065
- scope: Record<string, unknown> | null;
2066
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
2067
- }[];
2068
- }, {
2069
- title: string | null;
2070
- path: string;
2071
- name: string;
2072
- adapterType: string;
2073
- adapterConfig: Record<string, unknown>;
2074
- role: string;
2075
- icon: string | null;
2076
- capabilities: string | null;
2077
- runtimeConfig: Record<string, unknown>;
2078
- budgetMonthlyCents: number;
2079
- permissions: Record<string, unknown>;
2080
- metadata: Record<string, unknown> | null;
2081
- slug: string;
2082
- reportsToSlug: string | null;
2083
- skills?: string[] | undefined;
2084
- permissionGrants?: {
2085
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
2086
- scope?: Record<string, unknown> | null | undefined;
2087
- }[] | undefined;
2088
- }>, "many">;
517
+ }, z.core.$strip>>;
2089
518
  skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
2090
519
  key: z.ZodString;
2091
520
  slug: z.ZodString;
@@ -2101,46 +530,8 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2101
530
  fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
2102
531
  path: z.ZodString;
2103
532
  kind: z.ZodString;
2104
- }, "strip", z.ZodTypeAny, {
2105
- path: string;
2106
- kind: string;
2107
- }, {
2108
- path: string;
2109
- kind: string;
2110
- }>, "many">>;
2111
- }, "strip", z.ZodTypeAny, {
2112
- description: string | null;
2113
- key: string;
2114
- path: string;
2115
- name: string;
2116
- metadata: Record<string, unknown> | null;
2117
- slug: string;
2118
- sourceType: string;
2119
- sourceLocator: string | null;
2120
- sourceRef: string | null;
2121
- trustLevel: string | null;
2122
- compatibility: string | null;
2123
- fileInventory: {
2124
- path: string;
2125
- kind: string;
2126
- }[];
2127
- }, {
2128
- description: string | null;
2129
- key: string;
2130
- path: string;
2131
- name: string;
2132
- metadata: Record<string, unknown> | null;
2133
- slug: string;
2134
- sourceType: string;
2135
- sourceLocator: string | null;
2136
- sourceRef: string | null;
2137
- trustLevel: string | null;
2138
- compatibility: string | null;
2139
- fileInventory?: {
2140
- path: string;
2141
- kind: string;
2142
- }[] | undefined;
2143
- }>, "many">>;
533
+ }, z.core.$strip>>>;
534
+ }, z.core.$strip>>>;
2144
535
  projects: z.ZodDefault<z.ZodArray<z.ZodObject<{
2145
536
  slug: z.ZodString;
2146
537
  name: z.ZodString;
@@ -2164,83 +555,9 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2164
555
  cleanupCommand: z.ZodNullable<z.ZodString>;
2165
556
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2166
557
  isPrimary: z.ZodBoolean;
2167
- }, "strip", z.ZodTypeAny, {
2168
- key: string;
2169
- name: string;
2170
- metadata: Record<string, unknown> | null;
2171
- cleanupCommand: string | null;
2172
- repoUrl: string | null;
2173
- sourceType: string | null;
2174
- repoRef: string | null;
2175
- defaultRef: string | null;
2176
- visibility: string | null;
2177
- setupCommand: string | null;
2178
- isPrimary: boolean;
2179
- }, {
2180
- key: string;
2181
- name: string;
2182
- metadata: Record<string, unknown> | null;
2183
- cleanupCommand: string | null;
2184
- repoUrl: string | null;
2185
- sourceType: string | null;
2186
- repoRef: string | null;
2187
- defaultRef: string | null;
2188
- visibility: string | null;
2189
- setupCommand: string | null;
2190
- isPrimary: boolean;
2191
- }>, "many">>;
558
+ }, z.core.$strip>>>;
2192
559
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2193
- }, "strip", z.ZodTypeAny, {
2194
- description: string | null;
2195
- workspaces: {
2196
- key: string;
2197
- name: string;
2198
- metadata: Record<string, unknown> | null;
2199
- cleanupCommand: string | null;
2200
- repoUrl: string | null;
2201
- sourceType: string | null;
2202
- repoRef: string | null;
2203
- defaultRef: string | null;
2204
- visibility: string | null;
2205
- setupCommand: string | null;
2206
- isPrimary: boolean;
2207
- }[];
2208
- status: string | null;
2209
- path: string;
2210
- name: string;
2211
- metadata: Record<string, unknown> | null;
2212
- color: string | null;
2213
- slug: string;
2214
- ownerAgentSlug: string | null;
2215
- leadAgentSlug: string | null;
2216
- targetDate: string | null;
2217
- executionWorkspacePolicy: Record<string, unknown> | null;
2218
- }, {
2219
- description: string | null;
2220
- status: string | null;
2221
- path: string;
2222
- name: string;
2223
- metadata: Record<string, unknown> | null;
2224
- color: string | null;
2225
- slug: string;
2226
- ownerAgentSlug: string | null;
2227
- leadAgentSlug: string | null;
2228
- targetDate: string | null;
2229
- executionWorkspacePolicy: Record<string, unknown> | null;
2230
- workspaces?: {
2231
- key: string;
2232
- name: string;
2233
- metadata: Record<string, unknown> | null;
2234
- cleanupCommand: string | null;
2235
- repoUrl: string | null;
2236
- sourceType: string | null;
2237
- repoRef: string | null;
2238
- defaultRef: string | null;
2239
- visibility: string | null;
2240
- setupCommand: string | null;
2241
- isPrimary: boolean;
2242
- }[] | undefined;
2243
- }>, "many">>;
560
+ }, z.core.$strip>>>;
2244
561
  issues: z.ZodDefault<z.ZodArray<z.ZodObject<{
2245
562
  slug: z.ZodString;
2246
563
  identifier: z.ZodNullable<z.ZodString>;
@@ -2254,42 +571,21 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2254
571
  routine: z.ZodNullable<z.ZodObject<{
2255
572
  concurrencyPolicy: z.ZodNullable<z.ZodString>;
2256
573
  catchUpPolicy: z.ZodNullable<z.ZodString>;
2257
- variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
574
+ variables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2258
575
  name: z.ZodString;
2259
576
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2260
- type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["text", "textarea", "number", "boolean", "select", "date"]>>>;
2261
- defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
577
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
578
+ number: "number";
579
+ boolean: "boolean";
580
+ text: "text";
581
+ textarea: "textarea";
582
+ select: "select";
583
+ date: "date";
584
+ }>>>;
585
+ defaultValue: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2262
586
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2263
- options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2264
- }, "strip", z.ZodTypeAny, {
2265
- required: boolean;
2266
- options: string[];
2267
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2268
- name: string;
2269
- label?: string | null | undefined;
2270
- defaultValue?: string | number | boolean | null | undefined;
2271
- }, {
2272
- name: string;
2273
- required?: boolean | undefined;
2274
- options?: string[] | undefined;
2275
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2276
- label?: string | null | undefined;
2277
- defaultValue?: string | number | boolean | null | undefined;
2278
- }>, {
2279
- required: boolean;
2280
- options: string[];
2281
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2282
- name: string;
2283
- label?: string | null | undefined;
2284
- defaultValue?: string | number | boolean | null | undefined;
2285
- }, {
2286
- name: string;
2287
- required?: boolean | undefined;
2288
- options?: string[] | undefined;
2289
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2290
- label?: string | null | undefined;
2291
- defaultValue?: string | number | boolean | null | undefined;
2292
- }>, "many">>>;
587
+ options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
588
+ }, z.core.$strip>>>>;
2293
589
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
2294
590
  kind: z.ZodString;
2295
591
  label: z.ZodNullable<z.ZodString>;
@@ -2298,525 +594,91 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2298
594
  timezone: z.ZodNullable<z.ZodString>;
2299
595
  signingMode: z.ZodNullable<z.ZodString>;
2300
596
  replayWindowSec: z.ZodNullable<z.ZodNumber>;
2301
- }, "strip", z.ZodTypeAny, {
2302
- label: string | null;
2303
- enabled: boolean;
2304
- kind: string;
2305
- cronExpression: string | null;
2306
- timezone: string | null;
2307
- signingMode: string | null;
2308
- replayWindowSec: number | null;
2309
- }, {
2310
- label: string | null;
2311
- enabled: boolean;
2312
- kind: string;
2313
- cronExpression: string | null;
2314
- timezone: string | null;
2315
- signingMode: string | null;
2316
- replayWindowSec: number | null;
2317
- }>, "many">>;
2318
- }, "strip", z.ZodTypeAny, {
2319
- triggers: {
2320
- label: string | null;
2321
- enabled: boolean;
2322
- kind: string;
2323
- cronExpression: string | null;
2324
- timezone: string | null;
2325
- signingMode: string | null;
2326
- replayWindowSec: number | null;
2327
- }[];
2328
- concurrencyPolicy: string | null;
2329
- catchUpPolicy: string | null;
2330
- variables?: {
2331
- required: boolean;
2332
- options: string[];
2333
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2334
- name: string;
2335
- label?: string | null | undefined;
2336
- defaultValue?: string | number | boolean | null | undefined;
2337
- }[] | null | undefined;
2338
- }, {
2339
- concurrencyPolicy: string | null;
2340
- catchUpPolicy: string | null;
2341
- variables?: {
2342
- name: string;
2343
- required?: boolean | undefined;
2344
- options?: string[] | undefined;
2345
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
2346
- label?: string | null | undefined;
2347
- defaultValue?: string | number | boolean | null | undefined;
2348
- }[] | null | undefined;
2349
- triggers?: {
2350
- label: string | null;
2351
- enabled: boolean;
2352
- kind: string;
2353
- cronExpression: string | null;
2354
- timezone: string | null;
2355
- signingMode: string | null;
2356
- replayWindowSec: number | null;
2357
- }[] | undefined;
2358
- }>>;
597
+ }, z.core.$strip>>>;
598
+ }, z.core.$strip>>;
2359
599
  legacyRecurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2360
600
  status: z.ZodNullable<z.ZodString>;
2361
601
  priority: z.ZodNullable<z.ZodString>;
2362
- labelIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2363
- labelNames: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
602
+ labelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
603
+ labelNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
2364
604
  billingCode: z.ZodNullable<z.ZodString>;
2365
605
  executionWorkspaceSettings: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2366
606
  assigneeAdapterOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2367
607
  comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2368
608
  body: z.ZodString;
2369
- authorType: z.ZodEnum<["user", "agent", "system"]>;
609
+ authorType: z.ZodEnum<{
610
+ user: "user";
611
+ agent: "agent";
612
+ system: "system";
613
+ }>;
2370
614
  authorAgentSlug: z.ZodNullable<z.ZodString>;
2371
615
  authorUserId: z.ZodNullable<z.ZodString>;
2372
616
  presentation: z.ZodNullable<z.ZodObject<{
2373
- kind: z.ZodDefault<z.ZodEnum<["message", "system_notice"]>>;
2374
- tone: z.ZodDefault<z.ZodEnum<["neutral", "info", "success", "warning", "danger"]>>;
617
+ kind: z.ZodDefault<z.ZodEnum<{
618
+ message: "message";
619
+ system_notice: "system_notice";
620
+ }>>;
621
+ tone: z.ZodDefault<z.ZodEnum<{
622
+ neutral: "neutral";
623
+ info: "info";
624
+ success: "success";
625
+ warning: "warning";
626
+ danger: "danger";
627
+ }>>;
2375
628
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2376
629
  detailsDefaultOpen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2377
- density: z.ZodOptional<z.ZodEnum<["compact"]>>;
2378
- }, "strict", z.ZodTypeAny, {
2379
- kind: "message" | "system_notice";
2380
- tone: "neutral" | "info" | "success" | "warning" | "danger";
2381
- detailsDefaultOpen: boolean;
2382
- title?: string | null | undefined;
2383
- density?: "compact" | undefined;
2384
- }, {
2385
- title?: string | null | undefined;
2386
- kind?: "message" | "system_notice" | undefined;
2387
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
2388
- detailsDefaultOpen?: boolean | undefined;
2389
- density?: "compact" | undefined;
2390
- }>>;
630
+ density: z.ZodOptional<z.ZodEnum<{
631
+ compact: "compact";
632
+ }>>;
633
+ }, z.core.$strict>>;
2391
634
  metadata: z.ZodNullable<z.ZodObject<{
2392
635
  version: z.ZodLiteral<1>;
2393
636
  sourceRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2394
637
  authorizationReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2395
638
  sections: z.ZodArray<z.ZodObject<{
2396
639
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2397
- rows: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
640
+ rows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2398
641
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2399
- } & {
2400
642
  type: z.ZodLiteral<"text">;
2401
643
  text: z.ZodString;
2402
- }, "strict", z.ZodTypeAny, {
2403
- text: string;
2404
- type: "text";
2405
- label?: string | null | undefined;
2406
- }, {
2407
- text: string;
2408
- type: "text";
2409
- label?: string | null | undefined;
2410
- }>, z.ZodObject<{
644
+ }, z.core.$strict>, z.ZodObject<{
2411
645
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2412
- } & {
2413
646
  type: z.ZodLiteral<"code">;
2414
647
  code: z.ZodString;
2415
648
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2416
- }, "strict", z.ZodTypeAny, {
2417
- code: string;
2418
- type: "code";
2419
- label?: string | null | undefined;
2420
- language?: string | null | undefined;
2421
- }, {
2422
- code: string;
2423
- type: "code";
2424
- label?: string | null | undefined;
2425
- language?: string | null | undefined;
2426
- }>, z.ZodObject<{} & {
649
+ }, z.core.$strict>, z.ZodObject<{
2427
650
  type: z.ZodLiteral<"key_value">;
2428
651
  label: z.ZodString;
2429
652
  value: z.ZodString;
2430
- }, "strict", z.ZodTypeAny, {
2431
- value: string;
2432
- type: "key_value";
2433
- label: string;
2434
- }, {
2435
- value: string;
2436
- type: "key_value";
2437
- label: string;
2438
- }>, z.ZodObject<{
653
+ }, z.core.$strict>, z.ZodObject<{
2439
654
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2440
- } & {
2441
655
  type: z.ZodLiteral<"issue_link">;
2442
656
  issueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
657
  identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2444
658
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2445
- }, "strict", z.ZodTypeAny, {
2446
- type: "issue_link";
2447
- title?: string | null | undefined;
2448
- label?: string | null | undefined;
2449
- issueId?: string | null | undefined;
2450
- identifier?: string | null | undefined;
2451
- }, {
2452
- type: "issue_link";
2453
- title?: string | null | undefined;
2454
- label?: string | null | undefined;
2455
- issueId?: string | null | undefined;
2456
- identifier?: string | null | undefined;
2457
- }>, z.ZodObject<{
659
+ }, z.core.$strict>, z.ZodObject<{
2458
660
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2459
- } & {
2460
661
  type: z.ZodLiteral<"agent_link">;
2461
662
  agentId: z.ZodString;
2462
663
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2463
- }, "strict", z.ZodTypeAny, {
2464
- type: "agent_link";
2465
- agentId: string;
2466
- name?: string | null | undefined;
2467
- label?: string | null | undefined;
2468
- }, {
2469
- type: "agent_link";
2470
- agentId: string;
2471
- name?: string | null | undefined;
2472
- label?: string | null | undefined;
2473
- }>, z.ZodObject<{
664
+ }, z.core.$strict>, z.ZodObject<{
2474
665
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2475
- } & {
2476
666
  type: z.ZodLiteral<"run_link">;
2477
667
  runId: z.ZodString;
2478
668
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2479
669
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
- }, "strict", z.ZodTypeAny, {
2481
- type: "run_link";
2482
- runId: string;
2483
- title?: string | null | undefined;
2484
- label?: string | null | undefined;
2485
- agentId?: string | null | undefined;
2486
- }, {
2487
- type: "run_link";
2488
- runId: string;
2489
- title?: string | null | undefined;
2490
- label?: string | null | undefined;
2491
- agentId?: string | null | undefined;
2492
- }>]>, {
2493
- text: string;
2494
- type: "text";
2495
- label?: string | null | undefined;
2496
- } | {
2497
- code: string;
2498
- type: "code";
2499
- label?: string | null | undefined;
2500
- language?: string | null | undefined;
2501
- } | {
2502
- value: string;
2503
- type: "key_value";
2504
- label: string;
2505
- } | {
2506
- type: "issue_link";
2507
- title?: string | null | undefined;
2508
- label?: string | null | undefined;
2509
- issueId?: string | null | undefined;
2510
- identifier?: string | null | undefined;
2511
- } | {
2512
- type: "agent_link";
2513
- agentId: string;
2514
- name?: string | null | undefined;
2515
- label?: string | null | undefined;
2516
- } | {
2517
- type: "run_link";
2518
- runId: string;
2519
- title?: string | null | undefined;
2520
- label?: string | null | undefined;
2521
- agentId?: string | null | undefined;
2522
- }, {
2523
- text: string;
2524
- type: "text";
2525
- label?: string | null | undefined;
2526
- } | {
2527
- code: string;
2528
- type: "code";
2529
- label?: string | null | undefined;
2530
- language?: string | null | undefined;
2531
- } | {
2532
- value: string;
2533
- type: "key_value";
2534
- label: string;
2535
- } | {
2536
- type: "issue_link";
2537
- title?: string | null | undefined;
2538
- label?: string | null | undefined;
2539
- issueId?: string | null | undefined;
2540
- identifier?: string | null | undefined;
2541
- } | {
2542
- type: "agent_link";
2543
- agentId: string;
2544
- name?: string | null | undefined;
2545
- label?: string | null | undefined;
2546
- } | {
2547
- type: "run_link";
2548
- runId: string;
2549
- title?: string | null | undefined;
2550
- label?: string | null | undefined;
2551
- agentId?: string | null | undefined;
2552
- }>, "many">;
2553
- }, "strict", z.ZodTypeAny, {
2554
- rows: ({
2555
- text: string;
2556
- type: "text";
2557
- label?: string | null | undefined;
2558
- } | {
2559
- code: string;
2560
- type: "code";
2561
- label?: string | null | undefined;
2562
- language?: string | null | undefined;
2563
- } | {
2564
- value: string;
2565
- type: "key_value";
2566
- label: string;
2567
- } | {
2568
- type: "issue_link";
2569
- title?: string | null | undefined;
2570
- label?: string | null | undefined;
2571
- issueId?: string | null | undefined;
2572
- identifier?: string | null | undefined;
2573
- } | {
2574
- type: "agent_link";
2575
- agentId: string;
2576
- name?: string | null | undefined;
2577
- label?: string | null | undefined;
2578
- } | {
2579
- type: "run_link";
2580
- runId: string;
2581
- title?: string | null | undefined;
2582
- label?: string | null | undefined;
2583
- agentId?: string | null | undefined;
2584
- })[];
2585
- title?: string | null | undefined;
2586
- }, {
2587
- rows: ({
2588
- text: string;
2589
- type: "text";
2590
- label?: string | null | undefined;
2591
- } | {
2592
- code: string;
2593
- type: "code";
2594
- label?: string | null | undefined;
2595
- language?: string | null | undefined;
2596
- } | {
2597
- value: string;
2598
- type: "key_value";
2599
- label: string;
2600
- } | {
2601
- type: "issue_link";
2602
- title?: string | null | undefined;
2603
- label?: string | null | undefined;
2604
- issueId?: string | null | undefined;
2605
- identifier?: string | null | undefined;
2606
- } | {
2607
- type: "agent_link";
2608
- agentId: string;
2609
- name?: string | null | undefined;
2610
- label?: string | null | undefined;
2611
- } | {
2612
- type: "run_link";
2613
- runId: string;
2614
- title?: string | null | undefined;
2615
- label?: string | null | undefined;
2616
- agentId?: string | null | undefined;
2617
- })[];
2618
- title?: string | null | undefined;
2619
- }>, "many">;
2620
- }, "strict", z.ZodTypeAny, {
2621
- version: 1;
2622
- sections: {
2623
- rows: ({
2624
- text: string;
2625
- type: "text";
2626
- label?: string | null | undefined;
2627
- } | {
2628
- code: string;
2629
- type: "code";
2630
- label?: string | null | undefined;
2631
- language?: string | null | undefined;
2632
- } | {
2633
- value: string;
2634
- type: "key_value";
2635
- label: string;
2636
- } | {
2637
- type: "issue_link";
2638
- title?: string | null | undefined;
2639
- label?: string | null | undefined;
2640
- issueId?: string | null | undefined;
2641
- identifier?: string | null | undefined;
2642
- } | {
2643
- type: "agent_link";
2644
- agentId: string;
2645
- name?: string | null | undefined;
2646
- label?: string | null | undefined;
2647
- } | {
2648
- type: "run_link";
2649
- runId: string;
2650
- title?: string | null | undefined;
2651
- label?: string | null | undefined;
2652
- agentId?: string | null | undefined;
2653
- })[];
2654
- title?: string | null | undefined;
2655
- }[];
2656
- sourceRunId?: string | null | undefined;
2657
- authorizationReason?: string | null | undefined;
2658
- }, {
2659
- version: 1;
2660
- sections: {
2661
- rows: ({
2662
- text: string;
2663
- type: "text";
2664
- label?: string | null | undefined;
2665
- } | {
2666
- code: string;
2667
- type: "code";
2668
- label?: string | null | undefined;
2669
- language?: string | null | undefined;
2670
- } | {
2671
- value: string;
2672
- type: "key_value";
2673
- label: string;
2674
- } | {
2675
- type: "issue_link";
2676
- title?: string | null | undefined;
2677
- label?: string | null | undefined;
2678
- issueId?: string | null | undefined;
2679
- identifier?: string | null | undefined;
2680
- } | {
2681
- type: "agent_link";
2682
- agentId: string;
2683
- name?: string | null | undefined;
2684
- label?: string | null | undefined;
2685
- } | {
2686
- type: "run_link";
2687
- runId: string;
2688
- title?: string | null | undefined;
2689
- label?: string | null | undefined;
2690
- agentId?: string | null | undefined;
2691
- })[];
2692
- title?: string | null | undefined;
2693
- }[];
2694
- sourceRunId?: string | null | undefined;
2695
- authorizationReason?: string | null | undefined;
2696
- }>>;
670
+ }, z.core.$strict>], "type">>;
671
+ }, z.core.$strict>>;
672
+ }, z.core.$strict>>;
2697
673
  createdAt: z.ZodNullable<z.ZodString>;
2698
- }, "strip", z.ZodTypeAny, {
2699
- metadata: {
2700
- version: 1;
2701
- sections: {
2702
- rows: ({
2703
- text: string;
2704
- type: "text";
2705
- label?: string | null | undefined;
2706
- } | {
2707
- code: string;
2708
- type: "code";
2709
- label?: string | null | undefined;
2710
- language?: string | null | undefined;
2711
- } | {
2712
- value: string;
2713
- type: "key_value";
2714
- label: string;
2715
- } | {
2716
- type: "issue_link";
2717
- title?: string | null | undefined;
2718
- label?: string | null | undefined;
2719
- issueId?: string | null | undefined;
2720
- identifier?: string | null | undefined;
2721
- } | {
2722
- type: "agent_link";
2723
- agentId: string;
2724
- name?: string | null | undefined;
2725
- label?: string | null | undefined;
2726
- } | {
2727
- type: "run_link";
2728
- runId: string;
2729
- title?: string | null | undefined;
2730
- label?: string | null | undefined;
2731
- agentId?: string | null | undefined;
2732
- })[];
2733
- title?: string | null | undefined;
2734
- }[];
2735
- sourceRunId?: string | null | undefined;
2736
- authorizationReason?: string | null | undefined;
2737
- } | null;
2738
- createdAt: string | null;
2739
- body: string;
2740
- authorType: "user" | "agent" | "system";
2741
- presentation: {
2742
- kind: "message" | "system_notice";
2743
- tone: "neutral" | "info" | "success" | "warning" | "danger";
2744
- detailsDefaultOpen: boolean;
2745
- title?: string | null | undefined;
2746
- density?: "compact" | undefined;
2747
- } | null;
2748
- authorUserId: string | null;
2749
- authorAgentSlug: string | null;
2750
- }, {
2751
- metadata: {
2752
- version: 1;
2753
- sections: {
2754
- rows: ({
2755
- text: string;
2756
- type: "text";
2757
- label?: string | null | undefined;
2758
- } | {
2759
- code: string;
2760
- type: "code";
2761
- label?: string | null | undefined;
2762
- language?: string | null | undefined;
2763
- } | {
2764
- value: string;
2765
- type: "key_value";
2766
- label: string;
2767
- } | {
2768
- type: "issue_link";
2769
- title?: string | null | undefined;
2770
- label?: string | null | undefined;
2771
- issueId?: string | null | undefined;
2772
- identifier?: string | null | undefined;
2773
- } | {
2774
- type: "agent_link";
2775
- agentId: string;
2776
- name?: string | null | undefined;
2777
- label?: string | null | undefined;
2778
- } | {
2779
- type: "run_link";
2780
- runId: string;
2781
- title?: string | null | undefined;
2782
- label?: string | null | undefined;
2783
- agentId?: string | null | undefined;
2784
- })[];
2785
- title?: string | null | undefined;
2786
- }[];
2787
- sourceRunId?: string | null | undefined;
2788
- authorizationReason?: string | null | undefined;
2789
- } | null;
2790
- createdAt: string | null;
2791
- body: string;
2792
- authorType: "user" | "agent" | "system";
2793
- presentation: {
2794
- title?: string | null | undefined;
2795
- kind?: "message" | "system_notice" | undefined;
2796
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
2797
- detailsDefaultOpen?: boolean | undefined;
2798
- density?: "compact" | undefined;
2799
- } | null;
2800
- authorUserId: string | null;
2801
- authorAgentSlug: string | null;
2802
- }>, "many">>;
2803
- blockedBy: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
674
+ }, z.core.$strip>>>;
675
+ blockedBy: z.ZodDefault<z.ZodArray<z.ZodString>>;
2804
676
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
2805
677
  key: z.ZodString;
2806
678
  title: z.ZodNullable<z.ZodString>;
2807
679
  format: z.ZodString;
2808
680
  path: z.ZodString;
2809
- }, "strip", z.ZodTypeAny, {
2810
- title: string | null;
2811
- key: string;
2812
- path: string;
2813
- format: string;
2814
- }, {
2815
- title: string | null;
2816
- key: string;
2817
- path: string;
2818
- format: string;
2819
- }>, "many">>;
681
+ }, z.core.$strip>>>;
2820
682
  workProducts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2821
683
  type: z.ZodString;
2822
684
  provider: z.ZodString;
@@ -2829,63 +691,19 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2829
691
  healthStatus: z.ZodString;
2830
692
  summary: z.ZodNullable<z.ZodString>;
2831
693
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2832
- }, "strip", z.ZodTypeAny, {
2833
- title: string;
2834
- status: string;
2835
- type: string;
2836
- provider: string;
2837
- url: string | null;
2838
- metadata: Record<string, unknown> | null;
2839
- healthStatus: string;
2840
- summary: string | null;
2841
- externalId: string | null;
2842
- isPrimary: boolean;
2843
- reviewState: string;
2844
- }, {
2845
- title: string;
2846
- status: string;
2847
- type: string;
2848
- provider: string;
2849
- url: string | null;
2850
- metadata: Record<string, unknown> | null;
2851
- healthStatus: string;
2852
- summary: string | null;
2853
- externalId: string | null;
2854
- reviewState: string;
2855
- isPrimary?: boolean | undefined;
2856
- }>, "many">>;
694
+ }, z.core.$strip>>>;
2857
695
  monitor: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2858
696
  notes: z.ZodNullable<z.ZodString>;
2859
697
  scheduledBy: z.ZodNullable<z.ZodString>;
2860
698
  hadSchedule: z.ZodDefault<z.ZodBoolean>;
2861
- }, "strip", z.ZodTypeAny, {
2862
- notes: string | null;
2863
- scheduledBy: string | null;
2864
- hadSchedule: boolean;
2865
- }, {
2866
- notes: string | null;
2867
- scheduledBy: string | null;
2868
- hadSchedule?: boolean | undefined;
2869
- }>>>;
699
+ }, z.core.$strip>>>;
2870
700
  attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2871
701
  sha256: z.ZodString;
2872
702
  contentType: z.ZodString;
2873
703
  originalFilename: z.ZodNullable<z.ZodString>;
2874
704
  byteSize: z.ZodNumber;
2875
705
  commentIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2876
- }, "strip", z.ZodTypeAny, {
2877
- sha256: string;
2878
- contentType: string;
2879
- byteSize: number;
2880
- originalFilename: string | null;
2881
- commentIndex: number | null;
2882
- }, {
2883
- sha256: string;
2884
- contentType: string;
2885
- byteSize: number;
2886
- originalFilename: string | null;
2887
- commentIndex?: number | null | undefined;
2888
- }>, "many">>;
706
+ }, z.core.$strip>>>;
2889
707
  parentSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2890
708
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2891
709
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2893,856 +711,53 @@ export declare const portabilityManifestSchema: z.ZodObject<{
2893
711
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2894
712
  cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2895
713
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2896
- }, "strip", z.ZodTypeAny, {
2897
- title: string;
2898
- description: string | null;
2899
- routine: {
2900
- triggers: {
2901
- label: string | null;
2902
- enabled: boolean;
2903
- kind: string;
2904
- cronExpression: string | null;
2905
- timezone: string | null;
2906
- signingMode: string | null;
2907
- replayWindowSec: number | null;
2908
- }[];
2909
- concurrencyPolicy: string | null;
2910
- catchUpPolicy: string | null;
2911
- variables?: {
2912
- required: boolean;
2913
- options: string[];
2914
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
2915
- name: string;
2916
- label?: string | null | undefined;
2917
- defaultValue?: string | number | boolean | null | undefined;
2918
- }[] | null | undefined;
2919
- } | null;
2920
- status: string | null;
2921
- path: string;
2922
- metadata: Record<string, unknown> | null;
2923
- slug: string;
2924
- monitor: {
2925
- notes: string | null;
2926
- scheduledBy: string | null;
2927
- hadSchedule: boolean;
2928
- } | null;
2929
- priority: string | null;
2930
- identifier: string | null;
2931
- billingCode: string | null;
2932
- assigneeAdapterOverrides: Record<string, unknown> | null;
2933
- executionWorkspaceSettings: Record<string, unknown> | null;
2934
- labelIds: string[];
2935
- blockedBy: string[];
2936
- workProducts: {
2937
- title: string;
2938
- status: string;
2939
- type: string;
2940
- provider: string;
2941
- url: string | null;
2942
- metadata: Record<string, unknown> | null;
2943
- healthStatus: string;
2944
- summary: string | null;
2945
- externalId: string | null;
2946
- isPrimary: boolean;
2947
- reviewState: string;
2948
- }[];
2949
- comments: {
2950
- metadata: {
2951
- version: 1;
2952
- sections: {
2953
- rows: ({
2954
- text: string;
2955
- type: "text";
2956
- label?: string | null | undefined;
2957
- } | {
2958
- code: string;
2959
- type: "code";
2960
- label?: string | null | undefined;
2961
- language?: string | null | undefined;
2962
- } | {
2963
- value: string;
2964
- type: "key_value";
2965
- label: string;
2966
- } | {
2967
- type: "issue_link";
2968
- title?: string | null | undefined;
2969
- label?: string | null | undefined;
2970
- issueId?: string | null | undefined;
2971
- identifier?: string | null | undefined;
2972
- } | {
2973
- type: "agent_link";
2974
- agentId: string;
2975
- name?: string | null | undefined;
2976
- label?: string | null | undefined;
2977
- } | {
2978
- type: "run_link";
2979
- runId: string;
2980
- title?: string | null | undefined;
2981
- label?: string | null | undefined;
2982
- agentId?: string | null | undefined;
2983
- })[];
2984
- title?: string | null | undefined;
2985
- }[];
2986
- sourceRunId?: string | null | undefined;
2987
- authorizationReason?: string | null | undefined;
2988
- } | null;
2989
- createdAt: string | null;
2990
- body: string;
2991
- authorType: "user" | "agent" | "system";
2992
- presentation: {
2993
- kind: "message" | "system_notice";
2994
- tone: "neutral" | "info" | "success" | "warning" | "danger";
2995
- detailsDefaultOpen: boolean;
2996
- title?: string | null | undefined;
2997
- density?: "compact" | undefined;
2998
- } | null;
2999
- authorUserId: string | null;
3000
- authorAgentSlug: string | null;
3001
- }[];
3002
- documents: {
3003
- title: string | null;
3004
- key: string;
3005
- path: string;
3006
- format: string;
3007
- }[];
3008
- projectSlug: string | null;
3009
- projectWorkspaceKey: string | null;
3010
- assigneeAgentSlug: string | null;
3011
- recurring: boolean;
3012
- legacyRecurrence: Record<string, unknown> | null;
3013
- labelNames: string[];
3014
- attachments: {
3015
- sha256: string;
3016
- contentType: string;
3017
- byteSize: number;
3018
- originalFilename: string | null;
3019
- commentIndex: number | null;
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;
3027
- }, {
3028
- title: string;
3029
- description: string | null;
3030
- routine: {
3031
- concurrencyPolicy: string | null;
3032
- catchUpPolicy: string | null;
3033
- variables?: {
3034
- name: string;
3035
- required?: boolean | undefined;
3036
- options?: string[] | undefined;
3037
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3038
- label?: string | null | undefined;
3039
- defaultValue?: string | number | boolean | null | undefined;
3040
- }[] | null | undefined;
3041
- triggers?: {
3042
- label: string | null;
3043
- enabled: boolean;
3044
- kind: string;
3045
- cronExpression: string | null;
3046
- timezone: string | null;
3047
- signingMode: string | null;
3048
- replayWindowSec: number | null;
3049
- }[] | undefined;
3050
- } | null;
3051
- status: string | null;
3052
- path: string;
3053
- metadata: Record<string, unknown> | null;
3054
- slug: string;
3055
- priority: string | null;
3056
- identifier: string | null;
3057
- billingCode: string | null;
3058
- assigneeAdapterOverrides: Record<string, unknown> | null;
3059
- executionWorkspaceSettings: Record<string, unknown> | null;
3060
- projectSlug: string | null;
3061
- projectWorkspaceKey: string | null;
3062
- assigneeAgentSlug: string | null;
3063
- legacyRecurrence: Record<string, unknown> | null;
3064
- monitor?: {
3065
- notes: string | null;
3066
- scheduledBy: string | null;
3067
- hadSchedule?: boolean | undefined;
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;
3074
- labelIds?: string[] | undefined;
3075
- blockedBy?: string[] | undefined;
3076
- workProducts?: {
3077
- title: string;
3078
- status: string;
3079
- type: string;
3080
- provider: string;
3081
- url: string | null;
3082
- metadata: Record<string, unknown> | null;
3083
- healthStatus: string;
3084
- summary: string | null;
3085
- externalId: string | null;
3086
- reviewState: string;
3087
- isPrimary?: boolean | undefined;
3088
- }[] | undefined;
3089
- comments?: {
3090
- metadata: {
3091
- version: 1;
3092
- sections: {
3093
- rows: ({
3094
- text: string;
3095
- type: "text";
3096
- label?: string | null | undefined;
3097
- } | {
3098
- code: string;
3099
- type: "code";
3100
- label?: string | null | undefined;
3101
- language?: string | null | undefined;
3102
- } | {
3103
- value: string;
3104
- type: "key_value";
3105
- label: string;
3106
- } | {
3107
- type: "issue_link";
3108
- title?: string | null | undefined;
3109
- label?: string | null | undefined;
3110
- issueId?: string | null | undefined;
3111
- identifier?: string | null | undefined;
3112
- } | {
3113
- type: "agent_link";
3114
- agentId: string;
3115
- name?: string | null | undefined;
3116
- label?: string | null | undefined;
3117
- } | {
3118
- type: "run_link";
3119
- runId: string;
3120
- title?: string | null | undefined;
3121
- label?: string | null | undefined;
3122
- agentId?: string | null | undefined;
3123
- })[];
3124
- title?: string | null | undefined;
3125
- }[];
3126
- sourceRunId?: string | null | undefined;
3127
- authorizationReason?: string | null | undefined;
3128
- } | null;
3129
- createdAt: string | null;
3130
- body: string;
3131
- authorType: "user" | "agent" | "system";
3132
- presentation: {
3133
- title?: string | null | undefined;
3134
- kind?: "message" | "system_notice" | undefined;
3135
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
3136
- detailsDefaultOpen?: boolean | undefined;
3137
- density?: "compact" | undefined;
3138
- } | null;
3139
- authorUserId: string | null;
3140
- authorAgentSlug: string | null;
3141
- }[] | undefined;
3142
- documents?: {
3143
- title: string | null;
3144
- key: string;
3145
- path: string;
3146
- format: string;
3147
- }[] | undefined;
3148
- recurring?: boolean | undefined;
3149
- labelNames?: string[] | undefined;
3150
- attachments?: {
3151
- sha256: string;
3152
- contentType: string;
3153
- byteSize: number;
3154
- originalFilename: string | null;
3155
- commentIndex?: number | null | undefined;
3156
- }[] | undefined;
3157
- parentSlug?: string | null | undefined;
3158
- }>, "many">>;
714
+ }, z.core.$strip>>>;
3159
715
  envInputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3160
716
  key: z.ZodString;
3161
717
  description: z.ZodNullable<z.ZodString>;
3162
718
  agentSlug: z.ZodNullable<z.ZodString>;
3163
719
  projectSlug: z.ZodNullable<z.ZodString>;
3164
- kind: z.ZodEnum<["secret", "plain"]>;
3165
- requirement: z.ZodEnum<["required", "optional"]>;
720
+ kind: z.ZodEnum<{
721
+ plain: "plain";
722
+ secret: "secret";
723
+ }>;
724
+ requirement: z.ZodEnum<{
725
+ required: "required";
726
+ optional: "optional";
727
+ }>;
3166
728
  defaultValue: z.ZodNullable<z.ZodString>;
3167
- portability: z.ZodEnum<["portable", "system_dependent"]>;
3168
- }, "strip", z.ZodTypeAny, {
3169
- description: string | null;
3170
- key: string;
3171
- kind: "plain" | "secret";
3172
- defaultValue: string | null;
3173
- agentSlug: string | null;
3174
- projectSlug: string | null;
3175
- requirement: "required" | "optional";
3176
- portability: "portable" | "system_dependent";
3177
- }, {
3178
- description: string | null;
3179
- key: string;
3180
- kind: "plain" | "secret";
3181
- defaultValue: string | null;
3182
- agentSlug: string | null;
3183
- projectSlug: string | null;
3184
- requirement: "required" | "optional";
3185
- portability: "portable" | "system_dependent";
3186
- }>, "many">>;
3187
- }, "strip", z.ZodTypeAny, {
3188
- company: {
3189
- description: string | null;
3190
- path: string;
3191
- name: string;
3192
- attachmentMaxBytes: number | null;
3193
- requireBoardApprovalForNewAgents: boolean;
3194
- feedbackDataSharingEnabled: boolean;
3195
- feedbackDataSharingConsentAt: string | null;
3196
- feedbackDataSharingConsentByUserId: string | null;
3197
- feedbackDataSharingTermsVersion: string | null;
3198
- brandColor: string | null;
3199
- logoPath: string | null;
3200
- } | null;
3201
- projects: {
3202
- description: string | null;
3203
- workspaces: {
3204
- key: string;
3205
- name: string;
3206
- metadata: Record<string, unknown> | null;
3207
- cleanupCommand: string | null;
3208
- repoUrl: string | null;
3209
- sourceType: string | null;
3210
- repoRef: string | null;
3211
- defaultRef: string | null;
3212
- visibility: string | null;
3213
- setupCommand: string | null;
3214
- isPrimary: boolean;
3215
- }[];
3216
- status: string | null;
3217
- path: string;
3218
- name: string;
3219
- metadata: Record<string, unknown> | null;
3220
- color: string | null;
3221
- slug: string;
3222
- ownerAgentSlug: string | null;
3223
- leadAgentSlug: string | null;
3224
- targetDate: string | null;
3225
- executionWorkspacePolicy: Record<string, unknown> | null;
3226
- }[];
3227
- agents: {
3228
- title: string | null;
3229
- path: string;
3230
- name: string;
3231
- adapterType: string;
3232
- adapterConfig: Record<string, unknown>;
3233
- role: string;
3234
- icon: string | null;
3235
- capabilities: string | null;
3236
- runtimeConfig: Record<string, unknown>;
3237
- budgetMonthlyCents: number;
3238
- permissions: Record<string, unknown>;
3239
- metadata: Record<string, unknown> | null;
3240
- slug: string;
3241
- skills: string[];
3242
- reportsToSlug: string | null;
3243
- permissionGrants: {
3244
- scope: Record<string, unknown> | null;
3245
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
3246
- }[];
3247
- }[];
3248
- issues: {
3249
- title: string;
3250
- description: string | null;
3251
- routine: {
3252
- triggers: {
3253
- label: string | null;
3254
- enabled: boolean;
3255
- kind: string;
3256
- cronExpression: string | null;
3257
- timezone: string | null;
3258
- signingMode: string | null;
3259
- replayWindowSec: number | null;
3260
- }[];
3261
- concurrencyPolicy: string | null;
3262
- catchUpPolicy: string | null;
3263
- variables?: {
3264
- required: boolean;
3265
- options: string[];
3266
- type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
3267
- name: string;
3268
- label?: string | null | undefined;
3269
- defaultValue?: string | number | boolean | null | undefined;
3270
- }[] | null | undefined;
3271
- } | null;
3272
- status: string | null;
3273
- path: string;
3274
- metadata: Record<string, unknown> | null;
3275
- slug: string;
3276
- monitor: {
3277
- notes: string | null;
3278
- scheduledBy: string | null;
3279
- hadSchedule: boolean;
3280
- } | null;
3281
- priority: string | null;
3282
- identifier: string | null;
3283
- billingCode: string | null;
3284
- assigneeAdapterOverrides: Record<string, unknown> | null;
3285
- executionWorkspaceSettings: Record<string, unknown> | null;
3286
- labelIds: string[];
3287
- blockedBy: string[];
3288
- workProducts: {
3289
- title: string;
3290
- status: string;
3291
- type: string;
3292
- provider: string;
3293
- url: string | null;
3294
- metadata: Record<string, unknown> | null;
3295
- healthStatus: string;
3296
- summary: string | null;
3297
- externalId: string | null;
3298
- isPrimary: boolean;
3299
- reviewState: string;
3300
- }[];
3301
- comments: {
3302
- metadata: {
3303
- version: 1;
3304
- sections: {
3305
- rows: ({
3306
- text: string;
3307
- type: "text";
3308
- label?: string | null | undefined;
3309
- } | {
3310
- code: string;
3311
- type: "code";
3312
- label?: string | null | undefined;
3313
- language?: string | null | undefined;
3314
- } | {
3315
- value: string;
3316
- type: "key_value";
3317
- label: string;
3318
- } | {
3319
- type: "issue_link";
3320
- title?: string | null | undefined;
3321
- label?: string | null | undefined;
3322
- issueId?: string | null | undefined;
3323
- identifier?: string | null | undefined;
3324
- } | {
3325
- type: "agent_link";
3326
- agentId: string;
3327
- name?: string | null | undefined;
3328
- label?: string | null | undefined;
3329
- } | {
3330
- type: "run_link";
3331
- runId: string;
3332
- title?: string | null | undefined;
3333
- label?: string | null | undefined;
3334
- agentId?: string | null | undefined;
3335
- })[];
3336
- title?: string | null | undefined;
3337
- }[];
3338
- sourceRunId?: string | null | undefined;
3339
- authorizationReason?: string | null | undefined;
3340
- } | null;
3341
- createdAt: string | null;
3342
- body: string;
3343
- authorType: "user" | "agent" | "system";
3344
- presentation: {
3345
- kind: "message" | "system_notice";
3346
- tone: "neutral" | "info" | "success" | "warning" | "danger";
3347
- detailsDefaultOpen: boolean;
3348
- title?: string | null | undefined;
3349
- density?: "compact" | undefined;
3350
- } | null;
3351
- authorUserId: string | null;
3352
- authorAgentSlug: string | null;
3353
- }[];
3354
- documents: {
3355
- title: string | null;
3356
- key: string;
3357
- path: string;
3358
- format: string;
3359
- }[];
3360
- projectSlug: string | null;
3361
- projectWorkspaceKey: string | null;
3362
- assigneeAgentSlug: string | null;
3363
- recurring: boolean;
3364
- legacyRecurrence: Record<string, unknown> | null;
3365
- labelNames: string[];
3366
- attachments: {
3367
- sha256: string;
3368
- contentType: string;
3369
- byteSize: number;
3370
- originalFilename: string | null;
3371
- commentIndex: number | null;
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;
3379
- }[];
3380
- sidebar: {
3381
- projects: string[];
3382
- agents: string[];
3383
- } | null;
3384
- includes: {
3385
- company: boolean;
3386
- projects: boolean;
3387
- agents: boolean;
3388
- issues: boolean;
3389
- skills: boolean;
3390
- };
3391
- source: {
3392
- companyId: string;
3393
- companyName: string;
3394
- } | null;
3395
- labels: {
3396
- name: string;
3397
- color: string;
3398
- }[];
3399
- skills: {
3400
- description: string | null;
3401
- key: string;
3402
- path: string;
3403
- name: string;
3404
- metadata: Record<string, unknown> | null;
3405
- slug: string;
3406
- sourceType: string;
3407
- sourceLocator: string | null;
3408
- sourceRef: string | null;
3409
- trustLevel: string | null;
3410
- compatibility: string | null;
3411
- fileInventory: {
3412
- path: string;
3413
- kind: string;
3414
- }[];
3415
- }[];
3416
- schemaVersion: number;
3417
- generatedAt: string;
3418
- blobs: {
3419
- sha256: string;
3420
- contentType: string;
3421
- byteSize: number;
3422
- }[];
3423
- envInputs: {
3424
- description: string | null;
3425
- key: string;
3426
- kind: "plain" | "secret";
3427
- defaultValue: string | null;
3428
- agentSlug: string | null;
3429
- projectSlug: string | null;
3430
- requirement: "required" | "optional";
3431
- portability: "portable" | "system_dependent";
3432
- }[];
3433
- }, {
3434
- company: {
3435
- description: string | null;
3436
- path: string;
3437
- name: string;
3438
- requireBoardApprovalForNewAgents: boolean;
3439
- brandColor: string | null;
3440
- logoPath: string | null;
3441
- attachmentMaxBytes?: number | null | undefined;
3442
- feedbackDataSharingEnabled?: boolean | undefined;
3443
- feedbackDataSharingConsentAt?: string | null | undefined;
3444
- feedbackDataSharingConsentByUserId?: string | null | undefined;
3445
- feedbackDataSharingTermsVersion?: string | null | undefined;
3446
- } | null;
3447
- agents: {
3448
- title: string | null;
3449
- path: string;
3450
- name: string;
3451
- adapterType: string;
3452
- adapterConfig: Record<string, unknown>;
3453
- role: string;
3454
- icon: string | null;
3455
- capabilities: string | null;
3456
- runtimeConfig: Record<string, unknown>;
3457
- budgetMonthlyCents: number;
3458
- permissions: Record<string, unknown>;
3459
- metadata: Record<string, unknown> | null;
3460
- slug: string;
3461
- reportsToSlug: string | null;
3462
- skills?: string[] | undefined;
3463
- permissionGrants?: {
3464
- permissionKey: "agents:create" | "agents:configure" | "agents:suggest-changes" | "skills:create" | "skills:suggest-changes" | "environments:manage" | "tools:admin" | "tools:manage_connections" | "tools:manage_profiles" | "tools:view_audit" | "audit:view_agent_actions" | "tools:use" | "tools:manage_runtime" | "inbox:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "pipelines:write" | "joins:approve";
3465
- scope?: Record<string, unknown> | null | undefined;
3466
- }[] | undefined;
3467
- }[];
3468
- sidebar: {
3469
- projects?: string[] | undefined;
3470
- agents?: string[] | undefined;
3471
- } | null;
3472
- includes: {
3473
- company: boolean;
3474
- projects: boolean;
3475
- agents: boolean;
3476
- issues: boolean;
3477
- skills: boolean;
3478
- };
3479
- source: {
3480
- companyId: string;
3481
- companyName: string;
3482
- } | null;
3483
- schemaVersion: number;
3484
- generatedAt: string;
3485
- projects?: {
3486
- description: string | null;
3487
- status: string | null;
3488
- path: string;
3489
- name: string;
3490
- metadata: Record<string, unknown> | null;
3491
- color: string | null;
3492
- slug: string;
3493
- ownerAgentSlug: string | null;
3494
- leadAgentSlug: string | null;
3495
- targetDate: string | null;
3496
- executionWorkspacePolicy: Record<string, unknown> | null;
3497
- workspaces?: {
3498
- key: string;
3499
- name: string;
3500
- metadata: Record<string, unknown> | null;
3501
- cleanupCommand: string | null;
3502
- repoUrl: string | null;
3503
- sourceType: string | null;
3504
- repoRef: string | null;
3505
- defaultRef: string | null;
3506
- visibility: string | null;
3507
- setupCommand: string | null;
3508
- isPrimary: boolean;
3509
- }[] | undefined;
3510
- }[] | undefined;
3511
- issues?: {
3512
- title: string;
3513
- description: string | null;
3514
- routine: {
3515
- concurrencyPolicy: string | null;
3516
- catchUpPolicy: string | null;
3517
- variables?: {
3518
- name: string;
3519
- required?: boolean | undefined;
3520
- options?: string[] | undefined;
3521
- type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
3522
- label?: string | null | undefined;
3523
- defaultValue?: string | number | boolean | null | undefined;
3524
- }[] | null | undefined;
3525
- triggers?: {
3526
- label: string | null;
3527
- enabled: boolean;
3528
- kind: string;
3529
- cronExpression: string | null;
3530
- timezone: string | null;
3531
- signingMode: string | null;
3532
- replayWindowSec: number | null;
3533
- }[] | undefined;
3534
- } | null;
3535
- status: string | null;
3536
- path: string;
3537
- metadata: Record<string, unknown> | null;
3538
- slug: string;
3539
- priority: string | null;
3540
- identifier: string | null;
3541
- billingCode: string | null;
3542
- assigneeAdapterOverrides: Record<string, unknown> | null;
3543
- executionWorkspaceSettings: Record<string, unknown> | null;
3544
- projectSlug: string | null;
3545
- projectWorkspaceKey: string | null;
3546
- assigneeAgentSlug: string | null;
3547
- legacyRecurrence: Record<string, unknown> | null;
3548
- monitor?: {
3549
- notes: string | null;
3550
- scheduledBy: string | null;
3551
- hadSchedule?: boolean | undefined;
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;
3558
- labelIds?: string[] | undefined;
3559
- blockedBy?: string[] | undefined;
3560
- workProducts?: {
3561
- title: string;
3562
- status: string;
3563
- type: string;
3564
- provider: string;
3565
- url: string | null;
3566
- metadata: Record<string, unknown> | null;
3567
- healthStatus: string;
3568
- summary: string | null;
3569
- externalId: string | null;
3570
- reviewState: string;
3571
- isPrimary?: boolean | undefined;
3572
- }[] | undefined;
3573
- comments?: {
3574
- metadata: {
3575
- version: 1;
3576
- sections: {
3577
- rows: ({
3578
- text: string;
3579
- type: "text";
3580
- label?: string | null | undefined;
3581
- } | {
3582
- code: string;
3583
- type: "code";
3584
- label?: string | null | undefined;
3585
- language?: string | null | undefined;
3586
- } | {
3587
- value: string;
3588
- type: "key_value";
3589
- label: string;
3590
- } | {
3591
- type: "issue_link";
3592
- title?: string | null | undefined;
3593
- label?: string | null | undefined;
3594
- issueId?: string | null | undefined;
3595
- identifier?: string | null | undefined;
3596
- } | {
3597
- type: "agent_link";
3598
- agentId: string;
3599
- name?: string | null | undefined;
3600
- label?: string | null | undefined;
3601
- } | {
3602
- type: "run_link";
3603
- runId: string;
3604
- title?: string | null | undefined;
3605
- label?: string | null | undefined;
3606
- agentId?: string | null | undefined;
3607
- })[];
3608
- title?: string | null | undefined;
3609
- }[];
3610
- sourceRunId?: string | null | undefined;
3611
- authorizationReason?: string | null | undefined;
3612
- } | null;
3613
- createdAt: string | null;
3614
- body: string;
3615
- authorType: "user" | "agent" | "system";
3616
- presentation: {
3617
- title?: string | null | undefined;
3618
- kind?: "message" | "system_notice" | undefined;
3619
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined;
3620
- detailsDefaultOpen?: boolean | undefined;
3621
- density?: "compact" | undefined;
3622
- } | null;
3623
- authorUserId: string | null;
3624
- authorAgentSlug: string | null;
3625
- }[] | undefined;
3626
- documents?: {
3627
- title: string | null;
3628
- key: string;
3629
- path: string;
3630
- format: string;
3631
- }[] | undefined;
3632
- recurring?: boolean | undefined;
3633
- labelNames?: string[] | undefined;
3634
- attachments?: {
3635
- sha256: string;
3636
- contentType: string;
3637
- byteSize: number;
3638
- originalFilename: string | null;
3639
- commentIndex?: number | null | undefined;
3640
- }[] | undefined;
3641
- parentSlug?: string | null | undefined;
3642
- }[] | undefined;
3643
- labels?: {
3644
- name: string;
3645
- color: string;
3646
- }[] | undefined;
3647
- skills?: {
3648
- description: string | null;
3649
- key: string;
3650
- path: string;
3651
- name: string;
3652
- metadata: Record<string, unknown> | null;
3653
- slug: string;
3654
- sourceType: string;
3655
- sourceLocator: string | null;
3656
- sourceRef: string | null;
3657
- trustLevel: string | null;
3658
- compatibility: string | null;
3659
- fileInventory?: {
3660
- path: string;
3661
- kind: string;
3662
- }[] | undefined;
3663
- }[] | undefined;
3664
- blobs?: {
3665
- sha256: string;
3666
- contentType: string;
3667
- byteSize: number;
3668
- }[] | undefined;
3669
- envInputs?: {
3670
- description: string | null;
3671
- key: string;
3672
- kind: "plain" | "secret";
3673
- defaultValue: string | null;
3674
- agentSlug: string | null;
3675
- projectSlug: string | null;
3676
- requirement: "required" | "optional";
3677
- portability: "portable" | "system_dependent";
3678
- }[] | undefined;
3679
- }>;
3680
- export declare const portabilitySourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
729
+ portability: z.ZodEnum<{
730
+ portable: "portable";
731
+ system_dependent: "system_dependent";
732
+ }>;
733
+ }, z.core.$strip>>>;
734
+ }, z.core.$strip>;
735
+ export declare const portabilitySourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3681
736
  type: z.ZodLiteral<"inline">;
3682
737
  rootPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3683
- files: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
738
+ files: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3684
739
  encoding: z.ZodLiteral<"base64">;
3685
740
  data: z.ZodString;
3686
741
  contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3687
- }, "strip", z.ZodTypeAny, {
3688
- data: string;
3689
- encoding: "base64";
3690
- contentType?: string | null | undefined;
3691
- }, {
3692
- data: string;
3693
- encoding: "base64";
3694
- contentType?: string | null | undefined;
3695
- }>]>>;
742
+ }, z.core.$strip>]>>;
3696
743
  expectedFileCount: z.ZodOptional<z.ZodNumber>;
3697
- }, "strip", z.ZodTypeAny, {
3698
- type: "inline";
3699
- files: Record<string, string | {
3700
- data: string;
3701
- encoding: "base64";
3702
- contentType?: string | null | undefined;
3703
- }>;
3704
- rootPath?: string | null | undefined;
3705
- expectedFileCount?: number | undefined;
3706
- }, {
3707
- type: "inline";
3708
- files: Record<string, string | {
3709
- data: string;
3710
- encoding: "base64";
3711
- contentType?: string | null | undefined;
3712
- }>;
3713
- rootPath?: string | null | undefined;
3714
- expectedFileCount?: number | undefined;
3715
- }>, z.ZodObject<{
744
+ }, z.core.$strip>, z.ZodObject<{
3716
745
  type: z.ZodLiteral<"github">;
3717
746
  url: z.ZodString;
3718
- }, "strip", z.ZodTypeAny, {
3719
- type: "github";
3720
- url: string;
3721
- }, {
3722
- type: "github";
3723
- url: string;
3724
- }>]>;
3725
- export declare const portabilityTargetSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
747
+ }, z.core.$strip>], "type">;
748
+ export declare const portabilityTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3726
749
  mode: z.ZodLiteral<"new_company">;
3727
750
  newCompanyName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3728
- }, "strip", z.ZodTypeAny, {
3729
- mode: "new_company";
3730
- newCompanyName?: string | null | undefined;
3731
- }, {
3732
- mode: "new_company";
3733
- newCompanyName?: string | null | undefined;
3734
- }>, z.ZodObject<{
751
+ }, z.core.$strip>, z.ZodObject<{
3735
752
  mode: z.ZodLiteral<"existing_company">;
3736
753
  companyId: z.ZodString;
3737
- }, "strip", z.ZodTypeAny, {
3738
- mode: "existing_company";
3739
- companyId: string;
3740
- }, {
3741
- mode: "existing_company";
3742
- companyId: string;
3743
- }>]>;
3744
- export declare const portabilityAgentSelectionSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>;
3745
- export declare const portabilityCollisionStrategySchema: z.ZodEnum<["rename", "skip", "replace"]>;
754
+ }, z.core.$strip>], "mode">;
755
+ export declare const portabilityAgentSelectionSchema: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
756
+ export declare const portabilityCollisionStrategySchema: z.ZodEnum<{
757
+ replace: "replace";
758
+ skip: "skip";
759
+ rename: "rename";
760
+ }>;
3746
761
  export declare const companyPortabilityExportSchema: z.ZodObject<{
3747
762
  include: z.ZodOptional<z.ZodObject<{
3748
763
  company: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -3750,417 +765,104 @@ export declare const companyPortabilityExportSchema: z.ZodObject<{
3750
765
  projects: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3751
766
  issues: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3752
767
  skills: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3753
- }, "strip", z.ZodTypeAny, {
3754
- company?: boolean | undefined;
3755
- projects?: boolean | undefined;
3756
- agents?: boolean | undefined;
3757
- issues?: boolean | undefined;
3758
- skills?: boolean | undefined;
3759
- }, {
3760
- company?: boolean | undefined;
3761
- projects?: boolean | undefined;
3762
- agents?: boolean | undefined;
3763
- issues?: boolean | undefined;
3764
- skills?: boolean | undefined;
3765
- }>>;
3766
- agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3767
- skills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3768
- projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3769
- issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3770
- projectIssues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3771
- selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
+ }, z.core.$strip>>;
769
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
770
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ projects: z.ZodOptional<z.ZodArray<z.ZodString>>;
772
+ issues: z.ZodOptional<z.ZodArray<z.ZodString>>;
773
+ projectIssues: z.ZodOptional<z.ZodArray<z.ZodString>>;
774
+ selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3772
775
  expandReferencedSkills: z.ZodOptional<z.ZodBoolean>;
3773
776
  sidebarOrder: z.ZodOptional<z.ZodObject<{
3774
- agents: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
3775
- projects: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
3776
- }, "strip", z.ZodTypeAny, {
3777
- projects?: string[] | undefined;
3778
- agents?: string[] | undefined;
3779
- }, {
3780
- projects?: string[] | undefined;
3781
- agents?: string[] | undefined;
3782
- }>>;
3783
- }, "strip", z.ZodTypeAny, {
3784
- include?: {
3785
- company?: boolean | undefined;
3786
- projects?: boolean | undefined;
3787
- agents?: boolean | undefined;
3788
- issues?: boolean | undefined;
3789
- skills?: boolean | undefined;
3790
- } | undefined;
3791
- projects?: string[] | undefined;
3792
- agents?: string[] | undefined;
3793
- issues?: string[] | undefined;
3794
- skills?: string[] | undefined;
3795
- projectIssues?: string[] | undefined;
3796
- selectedFiles?: string[] | undefined;
3797
- expandReferencedSkills?: boolean | undefined;
3798
- sidebarOrder?: {
3799
- projects?: string[] | undefined;
3800
- agents?: string[] | undefined;
3801
- } | undefined;
3802
- }, {
3803
- include?: {
3804
- company?: boolean | undefined;
3805
- projects?: boolean | undefined;
3806
- agents?: boolean | undefined;
3807
- issues?: boolean | undefined;
3808
- skills?: boolean | undefined;
3809
- } | undefined;
3810
- projects?: string[] | undefined;
3811
- agents?: string[] | undefined;
3812
- issues?: string[] | undefined;
3813
- skills?: string[] | undefined;
3814
- projectIssues?: string[] | undefined;
3815
- selectedFiles?: string[] | undefined;
3816
- expandReferencedSkills?: boolean | undefined;
3817
- sidebarOrder?: {
3818
- projects?: string[] | undefined;
3819
- agents?: string[] | undefined;
3820
- } | undefined;
3821
- }>;
777
+ agents: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
778
+ projects: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
779
+ }, z.core.$strip>>;
780
+ }, z.core.$strip>;
3822
781
  export type CompanyPortabilityExport = z.infer<typeof companyPortabilityExportSchema>;
3823
782
  export declare const companyPortabilityPreviewSchema: z.ZodObject<{
3824
- source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
783
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
3825
784
  type: z.ZodLiteral<"inline">;
3826
785
  rootPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3827
- files: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
786
+ files: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3828
787
  encoding: z.ZodLiteral<"base64">;
3829
788
  data: z.ZodString;
3830
789
  contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3831
- }, "strip", z.ZodTypeAny, {
3832
- data: string;
3833
- encoding: "base64";
3834
- contentType?: string | null | undefined;
3835
- }, {
3836
- data: string;
3837
- encoding: "base64";
3838
- contentType?: string | null | undefined;
3839
- }>]>>;
790
+ }, z.core.$strip>]>>;
3840
791
  expectedFileCount: z.ZodOptional<z.ZodNumber>;
3841
- }, "strip", z.ZodTypeAny, {
3842
- type: "inline";
3843
- files: Record<string, string | {
3844
- data: string;
3845
- encoding: "base64";
3846
- contentType?: string | null | undefined;
3847
- }>;
3848
- rootPath?: string | null | undefined;
3849
- expectedFileCount?: number | undefined;
3850
- }, {
3851
- type: "inline";
3852
- files: Record<string, string | {
3853
- data: string;
3854
- encoding: "base64";
3855
- contentType?: string | null | undefined;
3856
- }>;
3857
- rootPath?: string | null | undefined;
3858
- expectedFileCount?: number | undefined;
3859
- }>, z.ZodObject<{
792
+ }, z.core.$strip>, z.ZodObject<{
3860
793
  type: z.ZodLiteral<"github">;
3861
794
  url: z.ZodString;
3862
- }, "strip", z.ZodTypeAny, {
3863
- type: "github";
3864
- url: string;
3865
- }, {
3866
- type: "github";
3867
- url: string;
3868
- }>]>;
795
+ }, z.core.$strip>], "type">;
3869
796
  include: z.ZodOptional<z.ZodObject<{
3870
797
  company: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3871
798
  agents: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3872
799
  projects: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3873
800
  issues: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3874
801
  skills: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3875
- }, "strip", z.ZodTypeAny, {
3876
- company?: boolean | undefined;
3877
- projects?: boolean | undefined;
3878
- agents?: boolean | undefined;
3879
- issues?: boolean | undefined;
3880
- skills?: boolean | undefined;
3881
- }, {
3882
- company?: boolean | undefined;
3883
- projects?: boolean | undefined;
3884
- agents?: boolean | undefined;
3885
- issues?: boolean | undefined;
3886
- skills?: boolean | undefined;
3887
- }>>;
3888
- target: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
802
+ }, z.core.$strip>>;
803
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
3889
804
  mode: z.ZodLiteral<"new_company">;
3890
805
  newCompanyName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3891
- }, "strip", z.ZodTypeAny, {
3892
- mode: "new_company";
3893
- newCompanyName?: string | null | undefined;
3894
- }, {
3895
- mode: "new_company";
3896
- newCompanyName?: string | null | undefined;
3897
- }>, z.ZodObject<{
806
+ }, z.core.$strip>, z.ZodObject<{
3898
807
  mode: z.ZodLiteral<"existing_company">;
3899
808
  companyId: z.ZodString;
3900
- }, "strip", z.ZodTypeAny, {
3901
- mode: "existing_company";
3902
- companyId: string;
3903
- }, {
3904
- mode: "existing_company";
3905
- companyId: string;
3906
- }>]>;
3907
- agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
3908
- collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
809
+ }, z.core.$strip>], "mode">;
810
+ agents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
811
+ collisionStrategy: z.ZodOptional<z.ZodEnum<{
812
+ replace: "replace";
813
+ skip: "skip";
814
+ rename: "rename";
815
+ }>>;
3909
816
  nameOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3910
- selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3911
- }, "strip", z.ZodTypeAny, {
3912
- target: {
3913
- mode: "new_company";
3914
- newCompanyName?: string | null | undefined;
3915
- } | {
3916
- mode: "existing_company";
3917
- companyId: string;
3918
- };
3919
- source: {
3920
- type: "inline";
3921
- files: Record<string, string | {
3922
- data: string;
3923
- encoding: "base64";
3924
- contentType?: string | null | undefined;
3925
- }>;
3926
- rootPath?: string | null | undefined;
3927
- expectedFileCount?: number | undefined;
3928
- } | {
3929
- type: "github";
3930
- url: string;
3931
- };
3932
- include?: {
3933
- company?: boolean | undefined;
3934
- projects?: boolean | undefined;
3935
- agents?: boolean | undefined;
3936
- issues?: boolean | undefined;
3937
- skills?: boolean | undefined;
3938
- } | undefined;
3939
- agents?: string[] | "all" | undefined;
3940
- selectedFiles?: string[] | undefined;
3941
- collisionStrategy?: "replace" | "skip" | "rename" | undefined;
3942
- nameOverrides?: Record<string, string> | undefined;
3943
- }, {
3944
- target: {
3945
- mode: "new_company";
3946
- newCompanyName?: string | null | undefined;
3947
- } | {
3948
- mode: "existing_company";
3949
- companyId: string;
3950
- };
3951
- source: {
3952
- type: "inline";
3953
- files: Record<string, string | {
3954
- data: string;
3955
- encoding: "base64";
3956
- contentType?: string | null | undefined;
3957
- }>;
3958
- rootPath?: string | null | undefined;
3959
- expectedFileCount?: number | undefined;
3960
- } | {
3961
- type: "github";
3962
- url: string;
3963
- };
3964
- include?: {
3965
- company?: boolean | undefined;
3966
- projects?: boolean | undefined;
3967
- agents?: boolean | undefined;
3968
- issues?: boolean | undefined;
3969
- skills?: boolean | undefined;
3970
- } | undefined;
3971
- agents?: string[] | "all" | undefined;
3972
- selectedFiles?: string[] | undefined;
3973
- collisionStrategy?: "replace" | "skip" | "rename" | undefined;
3974
- nameOverrides?: Record<string, string> | undefined;
3975
- }>;
817
+ selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
818
+ }, z.core.$strip>;
3976
819
  export type CompanyPortabilityPreview = z.infer<typeof companyPortabilityPreviewSchema>;
3977
820
  export declare const portabilityAdapterOverrideSchema: z.ZodObject<{
3978
821
  adapterType: z.ZodString;
3979
822
  adapterConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3980
- }, "strip", z.ZodTypeAny, {
3981
- adapterType: string;
3982
- adapterConfig?: Record<string, unknown> | undefined;
3983
- }, {
3984
- adapterType: string;
3985
- adapterConfig?: Record<string, unknown> | undefined;
3986
- }>;
823
+ }, z.core.$strip>;
3987
824
  export declare const companyPortabilityImportSchema: z.ZodObject<{
3988
- source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
825
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
3989
826
  type: z.ZodLiteral<"inline">;
3990
827
  rootPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3991
- files: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
828
+ files: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3992
829
  encoding: z.ZodLiteral<"base64">;
3993
830
  data: z.ZodString;
3994
831
  contentType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3995
- }, "strip", z.ZodTypeAny, {
3996
- data: string;
3997
- encoding: "base64";
3998
- contentType?: string | null | undefined;
3999
- }, {
4000
- data: string;
4001
- encoding: "base64";
4002
- contentType?: string | null | undefined;
4003
- }>]>>;
832
+ }, z.core.$strip>]>>;
4004
833
  expectedFileCount: z.ZodOptional<z.ZodNumber>;
4005
- }, "strip", z.ZodTypeAny, {
4006
- type: "inline";
4007
- files: Record<string, string | {
4008
- data: string;
4009
- encoding: "base64";
4010
- contentType?: string | null | undefined;
4011
- }>;
4012
- rootPath?: string | null | undefined;
4013
- expectedFileCount?: number | undefined;
4014
- }, {
4015
- type: "inline";
4016
- files: Record<string, string | {
4017
- data: string;
4018
- encoding: "base64";
4019
- contentType?: string | null | undefined;
4020
- }>;
4021
- rootPath?: string | null | undefined;
4022
- expectedFileCount?: number | undefined;
4023
- }>, z.ZodObject<{
834
+ }, z.core.$strip>, z.ZodObject<{
4024
835
  type: z.ZodLiteral<"github">;
4025
836
  url: z.ZodString;
4026
- }, "strip", z.ZodTypeAny, {
4027
- type: "github";
4028
- url: string;
4029
- }, {
4030
- type: "github";
4031
- url: string;
4032
- }>]>;
837
+ }, z.core.$strip>], "type">;
4033
838
  include: z.ZodOptional<z.ZodObject<{
4034
839
  company: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4035
840
  agents: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4036
841
  projects: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4037
842
  issues: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4038
843
  skills: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4039
- }, "strip", z.ZodTypeAny, {
4040
- company?: boolean | undefined;
4041
- projects?: boolean | undefined;
4042
- agents?: boolean | undefined;
4043
- issues?: boolean | undefined;
4044
- skills?: boolean | undefined;
4045
- }, {
4046
- company?: boolean | undefined;
4047
- projects?: boolean | undefined;
4048
- agents?: boolean | undefined;
4049
- issues?: boolean | undefined;
4050
- skills?: boolean | undefined;
4051
- }>>;
4052
- target: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
844
+ }, z.core.$strip>>;
845
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4053
846
  mode: z.ZodLiteral<"new_company">;
4054
847
  newCompanyName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4055
- }, "strip", z.ZodTypeAny, {
4056
- mode: "new_company";
4057
- newCompanyName?: string | null | undefined;
4058
- }, {
4059
- mode: "new_company";
4060
- newCompanyName?: string | null | undefined;
4061
- }>, z.ZodObject<{
848
+ }, z.core.$strip>, z.ZodObject<{
4062
849
  mode: z.ZodLiteral<"existing_company">;
4063
850
  companyId: z.ZodString;
4064
- }, "strip", z.ZodTypeAny, {
4065
- mode: "existing_company";
4066
- companyId: string;
4067
- }, {
4068
- mode: "existing_company";
4069
- companyId: string;
4070
- }>]>;
4071
- agents: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray<z.ZodString, "many">]>>;
4072
- collisionStrategy: z.ZodOptional<z.ZodEnum<["rename", "skip", "replace"]>>;
851
+ }, z.core.$strip>], "mode">;
852
+ agents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
853
+ collisionStrategy: z.ZodOptional<z.ZodEnum<{
854
+ replace: "replace";
855
+ skip: "skip";
856
+ rename: "rename";
857
+ }>>;
4073
858
  nameOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4074
- selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4075
- } & {
859
+ selectedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4076
860
  adapterOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4077
861
  adapterType: z.ZodString;
4078
862
  adapterConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4079
- }, "strip", z.ZodTypeAny, {
4080
- adapterType: string;
4081
- adapterConfig?: Record<string, unknown> | undefined;
4082
- }, {
4083
- adapterType: string;
4084
- adapterConfig?: Record<string, unknown> | undefined;
4085
- }>>>;
863
+ }, z.core.$strip>>>;
4086
864
  secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4087
865
  pauseAutomations: z.ZodOptional<z.ZodBoolean>;
4088
- }, "strip", z.ZodTypeAny, {
4089
- target: {
4090
- mode: "new_company";
4091
- newCompanyName?: string | null | undefined;
4092
- } | {
4093
- mode: "existing_company";
4094
- companyId: string;
4095
- };
4096
- source: {
4097
- type: "inline";
4098
- files: Record<string, string | {
4099
- data: string;
4100
- encoding: "base64";
4101
- contentType?: string | null | undefined;
4102
- }>;
4103
- rootPath?: string | null | undefined;
4104
- expectedFileCount?: number | undefined;
4105
- } | {
4106
- type: "github";
4107
- url: string;
4108
- };
4109
- include?: {
4110
- company?: boolean | undefined;
4111
- projects?: boolean | undefined;
4112
- agents?: boolean | undefined;
4113
- issues?: boolean | undefined;
4114
- skills?: boolean | undefined;
4115
- } | undefined;
4116
- agents?: string[] | "all" | undefined;
4117
- adapterOverrides?: Record<string, {
4118
- adapterType: string;
4119
- adapterConfig?: Record<string, unknown> | undefined;
4120
- }> | undefined;
4121
- secretValues?: Record<string, string> | undefined;
4122
- selectedFiles?: string[] | undefined;
4123
- collisionStrategy?: "replace" | "skip" | "rename" | undefined;
4124
- nameOverrides?: Record<string, string> | undefined;
4125
- pauseAutomations?: boolean | undefined;
4126
- }, {
4127
- target: {
4128
- mode: "new_company";
4129
- newCompanyName?: string | null | undefined;
4130
- } | {
4131
- mode: "existing_company";
4132
- companyId: string;
4133
- };
4134
- source: {
4135
- type: "inline";
4136
- files: Record<string, string | {
4137
- data: string;
4138
- encoding: "base64";
4139
- contentType?: string | null | undefined;
4140
- }>;
4141
- rootPath?: string | null | undefined;
4142
- expectedFileCount?: number | undefined;
4143
- } | {
4144
- type: "github";
4145
- url: string;
4146
- };
4147
- include?: {
4148
- company?: boolean | undefined;
4149
- projects?: boolean | undefined;
4150
- agents?: boolean | undefined;
4151
- issues?: boolean | undefined;
4152
- skills?: boolean | undefined;
4153
- } | undefined;
4154
- agents?: string[] | "all" | undefined;
4155
- adapterOverrides?: Record<string, {
4156
- adapterType: string;
4157
- adapterConfig?: Record<string, unknown> | undefined;
4158
- }> | undefined;
4159
- secretValues?: Record<string, string> | undefined;
4160
- selectedFiles?: string[] | undefined;
4161
- collisionStrategy?: "replace" | "skip" | "rename" | undefined;
4162
- nameOverrides?: Record<string, string> | undefined;
4163
- pauseAutomations?: boolean | undefined;
4164
- }>;
866
+ }, z.core.$strip>;
4165
867
  export type CompanyPortabilityImport = z.infer<typeof companyPortabilityImportSchema>;
4166
868
  //# sourceMappingURL=company-portability.d.ts.map