rivet-design 0.23.0 → 0.24.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 (398) hide show
  1. package/dist/agent-variants/SessionStore.d.ts +6 -0
  2. package/dist/agent-variants/SessionStore.d.ts.map +1 -1
  3. package/dist/agent-variants/SessionStore.js +21 -4
  4. package/dist/agent-variants/SessionStore.js.map +1 -1
  5. package/dist/agent-variants/WorkerExecutorService.d.ts.map +1 -1
  6. package/dist/agent-variants/WorkerExecutorService.js +37 -10
  7. package/dist/agent-variants/WorkerExecutorService.js.map +1 -1
  8. package/dist/agent-variants/WorktreeOrchestrator.d.ts +3 -32
  9. package/dist/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
  10. package/dist/agent-variants/WorktreeOrchestrator.js +9 -0
  11. package/dist/agent-variants/WorktreeOrchestrator.js.map +1 -1
  12. package/dist/agent-variants/contracts.d.ts +274 -272
  13. package/dist/agent-variants/contracts.d.ts.map +1 -1
  14. package/dist/agent-variants/contracts.js.map +1 -1
  15. package/dist/agent-variants/staticPreviewRefinements.d.ts +2 -0
  16. package/dist/agent-variants/staticPreviewRefinements.d.ts.map +1 -1
  17. package/dist/agent-variants/staticPreviewRefinements.js +3 -0
  18. package/dist/agent-variants/staticPreviewRefinements.js.map +1 -1
  19. package/dist/agent-variants/variant-start-types.d.ts +38 -0
  20. package/dist/agent-variants/variant-start-types.d.ts.map +1 -0
  21. package/dist/agent-variants/variant-start-types.js +3 -0
  22. package/dist/agent-variants/variant-start-types.js.map +1 -0
  23. package/dist/agent-variants/videoKeyframes.d.ts.map +1 -1
  24. package/dist/agent-variants/videoKeyframes.js +3 -2
  25. package/dist/agent-variants/videoKeyframes.js.map +1 -1
  26. package/dist/agent-variants/workItemBriefing.d.ts +1 -0
  27. package/dist/agent-variants/workItemBriefing.d.ts.map +1 -1
  28. package/dist/agent-variants/workItemBriefing.js +20 -6
  29. package/dist/agent-variants/workItemBriefing.js.map +1 -1
  30. package/dist/agent-variants/workItemInput.d.ts +172 -162
  31. package/dist/agent-variants/workItemInput.d.ts.map +1 -1
  32. package/dist/agent-variants/workItemInput.js +1 -0
  33. package/dist/agent-variants/workItemInput.js.map +1 -1
  34. package/dist/agent-variants/workerRuntime.d.ts +8 -1
  35. package/dist/agent-variants/workerRuntime.d.ts.map +1 -1
  36. package/dist/agent-variants/workerRuntime.js +59 -40
  37. package/dist/agent-variants/workerRuntime.js.map +1 -1
  38. package/dist/cli/browser.d.ts.map +1 -1
  39. package/dist/cli/browser.js +5 -3
  40. package/dist/cli/browser.js.map +1 -1
  41. package/dist/cli/client.d.ts.map +1 -1
  42. package/dist/cli/client.js +23 -3
  43. package/dist/cli/client.js.map +1 -1
  44. package/dist/cli/commands/context.d.ts.map +1 -1
  45. package/dist/cli/commands/context.js +10 -35
  46. package/dist/cli/commands/context.js.map +1 -1
  47. package/dist/cli/commands/contextRequest.d.ts +1 -0
  48. package/dist/cli/commands/contextRequest.d.ts.map +1 -1
  49. package/dist/cli/commands/contextRequest.js +8 -1
  50. package/dist/cli/commands/contextRequest.js.map +1 -1
  51. package/dist/cli/commands/contextVerification.d.ts +12 -0
  52. package/dist/cli/commands/contextVerification.d.ts.map +1 -0
  53. package/dist/cli/commands/contextVerification.js +48 -0
  54. package/dist/cli/commands/contextVerification.js.map +1 -0
  55. package/dist/cli/commands/guidanceReferences.d.ts +1 -1
  56. package/dist/cli/commands/mcpServe.d.ts +1 -3
  57. package/dist/cli/commands/mcpServe.d.ts.map +1 -1
  58. package/dist/cli/commands/mcpServe.js +21 -744
  59. package/dist/cli/commands/mcpServe.js.map +1 -1
  60. package/dist/cli/commands/open.d.ts.map +1 -1
  61. package/dist/cli/commands/open.js +2 -1
  62. package/dist/cli/commands/open.js.map +1 -1
  63. package/dist/cli/commands/profile.d.ts.map +1 -1
  64. package/dist/cli/commands/profile.js +2 -1
  65. package/dist/cli/commands/profile.js.map +1 -1
  66. package/dist/cli/commands/serve.d.ts.map +1 -1
  67. package/dist/cli/commands/serve.js +0 -2
  68. package/dist/cli/commands/serve.js.map +1 -1
  69. package/dist/cli/commands/shared.d.ts.map +1 -1
  70. package/dist/cli/commands/shared.js +5 -2
  71. package/dist/cli/commands/shared.js.map +1 -1
  72. package/dist/cli/commands/status.d.ts.map +1 -1
  73. package/dist/cli/commands/status.js +4 -1
  74. package/dist/cli/commands/status.js.map +1 -1
  75. package/dist/cli/commands/variants.d.ts.map +1 -1
  76. package/dist/cli/commands/variants.js +2 -1
  77. package/dist/cli/commands/variants.js.map +1 -1
  78. package/dist/cli/editorSession.d.ts +27 -0
  79. package/dist/cli/editorSession.d.ts.map +1 -0
  80. package/dist/cli/editorSession.js +50 -0
  81. package/dist/cli/editorSession.js.map +1 -0
  82. package/dist/cli/entry.d.ts.map +1 -1
  83. package/dist/cli/entry.js +2 -0
  84. package/dist/cli/entry.js.map +1 -1
  85. package/dist/cli/hostWorkNextAction.d.ts +3 -5
  86. package/dist/cli/hostWorkNextAction.d.ts.map +1 -1
  87. package/dist/cli/hostWorkNextAction.js +7 -23
  88. package/dist/cli/hostWorkNextAction.js.map +1 -1
  89. package/dist/cli/router.d.ts.map +1 -1
  90. package/dist/cli/router.js +4 -2
  91. package/dist/cli/router.js.map +1 -1
  92. package/dist/cli/serverHandshake.d.ts +1 -0
  93. package/dist/cli/serverHandshake.d.ts.map +1 -1
  94. package/dist/cli/serverHandshake.js.map +1 -1
  95. package/dist/cli/serverUnavailable.d.ts +1 -1
  96. package/dist/cli/serverUnavailable.d.ts.map +1 -1
  97. package/dist/cli/serverUnavailable.js +1 -0
  98. package/dist/cli/serverUnavailable.js.map +1 -1
  99. package/dist/config/flags.d.ts +3 -0
  100. package/dist/config/flags.d.ts.map +1 -1
  101. package/dist/config/flags.js +1 -0
  102. package/dist/config/flags.js.map +1 -1
  103. package/dist/config/pluginMetrics.d.ts +2 -0
  104. package/dist/config/pluginMetrics.d.ts.map +1 -0
  105. package/dist/config/pluginMetrics.js +234 -0
  106. package/dist/config/pluginMetrics.js.map +1 -0
  107. package/dist/config/proxy.d.ts +0 -2
  108. package/dist/config/proxy.d.ts.map +1 -1
  109. package/dist/config/proxy.js +1 -10
  110. package/dist/config/proxy.js.map +1 -1
  111. package/dist/config/telemetryPolicy.d.ts +8 -0
  112. package/dist/config/telemetryPolicy.d.ts.map +1 -0
  113. package/dist/config/telemetryPolicy.js +25 -0
  114. package/dist/config/telemetryPolicy.js.map +1 -0
  115. package/dist/index-core.d.ts +0 -1
  116. package/dist/index-core.d.ts.map +1 -1
  117. package/dist/index-core.js +1 -3
  118. package/dist/index-core.js.map +1 -1
  119. package/dist/index.d.ts.map +1 -1
  120. package/dist/index.js +10 -15
  121. package/dist/index.js.map +1 -1
  122. package/dist/install/allowlists.d.ts.map +1 -1
  123. package/dist/install/allowlists.js +6 -1
  124. package/dist/install/allowlists.js.map +1 -1
  125. package/dist/install/automaticCliUpdate.d.ts.map +1 -1
  126. package/dist/install/automaticCliUpdate.js +9 -2
  127. package/dist/install/automaticCliUpdate.js.map +1 -1
  128. package/dist/install/channelCli.d.ts.map +1 -1
  129. package/dist/install/channelCli.js +2 -1
  130. package/dist/install/channelCli.js.map +1 -1
  131. package/dist/install/channelManager.d.ts.map +1 -1
  132. package/dist/install/channelManager.js +11 -6
  133. package/dist/install/channelManager.js.map +1 -1
  134. package/dist/install/globalBootstrap.d.ts.map +1 -1
  135. package/dist/install/globalBootstrap.js +5 -1
  136. package/dist/install/globalBootstrap.js.map +1 -1
  137. package/dist/install/harnesses.js +1 -1
  138. package/dist/install/mcpRegistration.d.ts.map +1 -1
  139. package/dist/install/mcpRegistration.js +7 -4
  140. package/dist/install/mcpRegistration.js.map +1 -1
  141. package/dist/library/HubClient.d.ts.map +1 -1
  142. package/dist/library/HubClient.js +25 -5
  143. package/dist/library/HubClient.js.map +1 -1
  144. package/dist/mcp/designContextTools.d.ts +3 -0
  145. package/dist/mcp/designContextTools.d.ts.map +1 -0
  146. package/dist/mcp/designContextTools.js +44 -0
  147. package/dist/mcp/designContextTools.js.map +1 -0
  148. package/dist/mcp/explorationSchema.d.ts +56 -0
  149. package/dist/mcp/explorationSchema.d.ts.map +1 -0
  150. package/dist/mcp/explorationSchema.js +123 -0
  151. package/dist/mcp/explorationSchema.js.map +1 -0
  152. package/dist/mcp/explorationTools.d.ts +3 -0
  153. package/dist/mcp/explorationTools.d.ts.map +1 -0
  154. package/dist/mcp/explorationTools.js +117 -0
  155. package/dist/mcp/explorationTools.js.map +1 -0
  156. package/dist/mcp/getExploration.d.ts +13 -0
  157. package/dist/mcp/getExploration.d.ts.map +1 -0
  158. package/dist/mcp/getExploration.js +130 -0
  159. package/dist/mcp/getExploration.js.map +1 -0
  160. package/dist/mcp/intentTool.d.ts +60 -0
  161. package/dist/mcp/intentTool.d.ts.map +1 -0
  162. package/dist/mcp/intentTool.js +57 -0
  163. package/dist/mcp/intentTool.js.map +1 -0
  164. package/dist/mcp/preferenceTools.d.ts +3 -0
  165. package/dist/mcp/preferenceTools.d.ts.map +1 -0
  166. package/dist/mcp/preferenceTools.js +164 -0
  167. package/dist/mcp/preferenceTools.js.map +1 -0
  168. package/dist/mcp/profileAccess.d.ts +4 -0
  169. package/dist/mcp/profileAccess.d.ts.map +1 -0
  170. package/dist/mcp/profileAccess.js +31 -0
  171. package/dist/mcp/profileAccess.js.map +1 -0
  172. package/dist/mcp/referenceTools.d.ts +3 -0
  173. package/dist/mcp/referenceTools.d.ts.map +1 -0
  174. package/dist/mcp/referenceTools.js +128 -0
  175. package/dist/mcp/referenceTools.js.map +1 -0
  176. package/dist/prototype-host.js +37 -2
  177. package/dist/prototype-host.js.map +1 -1
  178. package/dist/routes/agentVariants.d.ts.map +1 -1
  179. package/dist/routes/agentVariants.js +10 -36
  180. package/dist/routes/agentVariants.js.map +1 -1
  181. package/dist/routes/editorAccess.d.ts +3 -0
  182. package/dist/routes/editorAccess.d.ts.map +1 -0
  183. package/dist/routes/editorAccess.js +33 -0
  184. package/dist/routes/editorAccess.js.map +1 -0
  185. package/dist/routes/library/app.d.ts.map +1 -1
  186. package/dist/routes/library/app.js +2 -0
  187. package/dist/routes/library/app.js.map +1 -1
  188. package/dist/routes/library/index.d.ts.map +1 -1
  189. package/dist/routes/library/index.js +2 -0
  190. package/dist/routes/library/index.js.map +1 -1
  191. package/dist/routes/shareAvailability.d.ts +8 -0
  192. package/dist/routes/shareAvailability.d.ts.map +1 -0
  193. package/dist/routes/shareAvailability.js +25 -0
  194. package/dist/routes/shareAvailability.js.map +1 -0
  195. package/dist/routes/telemetry.d.ts +4 -0
  196. package/dist/routes/telemetry.d.ts.map +1 -0
  197. package/dist/routes/telemetry.js +60 -0
  198. package/dist/routes/telemetry.js.map +1 -0
  199. package/dist/routes/variantRequestSchema.d.ts +33 -4
  200. package/dist/routes/variantRequestSchema.d.ts.map +1 -1
  201. package/dist/routes/variantRequestSchema.js +13 -1
  202. package/dist/routes/variantRequestSchema.js.map +1 -1
  203. package/dist/server.d.ts +2 -2
  204. package/dist/server.d.ts.map +1 -1
  205. package/dist/server.js +230 -131
  206. package/dist/server.js.map +1 -1
  207. package/dist/services/AuthService.d.ts +2 -2
  208. package/dist/services/CliLogForwarder.js +2 -1
  209. package/dist/services/CliLogForwarder.js.map +1 -1
  210. package/dist/services/ConfigManager.d.ts +7 -0
  211. package/dist/services/ConfigManager.d.ts.map +1 -1
  212. package/dist/services/ConfigManager.js +31 -24
  213. package/dist/services/ConfigManager.js.map +1 -1
  214. package/dist/services/DependencyPreparationService.d.ts.map +1 -1
  215. package/dist/services/DependencyPreparationService.js +2 -1
  216. package/dist/services/DependencyPreparationService.js.map +1 -1
  217. package/dist/services/FeatureFlagService.d.ts.map +1 -1
  218. package/dist/services/FeatureFlagService.js +13 -2
  219. package/dist/services/FeatureFlagService.js.map +1 -1
  220. package/dist/services/GuidanceVerifierRunner.d.ts +0 -1
  221. package/dist/services/GuidanceVerifierRunner.d.ts.map +1 -1
  222. package/dist/services/GuidanceVerifierRunner.js +11 -22
  223. package/dist/services/GuidanceVerifierRunner.js.map +1 -1
  224. package/dist/services/IntegrationsClient.d.ts +3 -3
  225. package/dist/services/OperatingSystemServices.d.ts +1 -0
  226. package/dist/services/OperatingSystemServices.d.ts.map +1 -1
  227. package/dist/services/OperatingSystemServices.js +3 -2
  228. package/dist/services/OperatingSystemServices.js.map +1 -1
  229. package/dist/services/ProjectDetectionService.d.ts.map +1 -1
  230. package/dist/services/ProjectDetectionService.js +6 -4
  231. package/dist/services/ProjectDetectionService.js.map +1 -1
  232. package/dist/services/ProjectFolderPicker.d.ts.map +1 -1
  233. package/dist/services/ProjectFolderPicker.js +2 -0
  234. package/dist/services/ProjectFolderPicker.js.map +1 -1
  235. package/dist/services/ProjectLibrary.d.ts +2 -0
  236. package/dist/services/ProjectLibrary.d.ts.map +1 -1
  237. package/dist/services/ProjectLibrary.js +16 -6
  238. package/dist/services/ProjectLibrary.js.map +1 -1
  239. package/dist/services/ProjectRegistry.d.ts +3 -2
  240. package/dist/services/ProjectRegistry.d.ts.map +1 -1
  241. package/dist/services/ProjectRegistry.js +4 -0
  242. package/dist/services/ProjectRegistry.js.map +1 -1
  243. package/dist/services/PrototypeBuildService.d.ts.map +1 -1
  244. package/dist/services/PrototypeBuildService.js +2 -1
  245. package/dist/services/PrototypeBuildService.js.map +1 -1
  246. package/dist/services/StaticPreviewServer.d.ts.map +1 -1
  247. package/dist/services/StaticPreviewServer.js +2 -1
  248. package/dist/services/StaticPreviewServer.js.map +1 -1
  249. package/dist/services/TelemetryService.d.ts +3 -1
  250. package/dist/services/TelemetryService.d.ts.map +1 -1
  251. package/dist/services/TelemetryService.js +60 -21
  252. package/dist/services/TelemetryService.js.map +1 -1
  253. package/dist/services/TreeStore.d.ts.map +1 -1
  254. package/dist/services/TreeStore.js +7 -2
  255. package/dist/services/TreeStore.js.map +1 -1
  256. package/dist/services/VariantGenerationService.d.ts.map +1 -1
  257. package/dist/services/VariantGenerationService.js +6 -7
  258. package/dist/services/VariantGenerationService.js.map +1 -1
  259. package/dist/services/VariantRunService.d.ts.map +1 -1
  260. package/dist/services/VariantRunService.js +10 -6
  261. package/dist/services/VariantRunService.js.map +1 -1
  262. package/dist/services/WorktreeManager.d.ts.map +1 -1
  263. package/dist/services/WorktreeManager.js +9 -1
  264. package/dist/services/WorktreeManager.js.map +1 -1
  265. package/dist/services/packageManagerProcess.d.ts.map +1 -1
  266. package/dist/services/packageManagerProcess.js +3 -0
  267. package/dist/services/packageManagerProcess.js.map +1 -1
  268. package/dist/services/profiles/DesignProfiles.d.ts +278 -58
  269. package/dist/services/profiles/DesignProfiles.d.ts.map +1 -1
  270. package/dist/services/profiles/DesignProfiles.js +346 -91
  271. package/dist/services/profiles/DesignProfiles.js.map +1 -1
  272. package/dist/services/profiles/MemoryRuntime.d.ts.map +1 -1
  273. package/dist/services/profiles/MemoryRuntime.js +4 -6
  274. package/dist/services/profiles/MemoryRuntime.js.map +1 -1
  275. package/dist/services/profiles/ProfileAgent.d.ts.map +1 -1
  276. package/dist/services/profiles/ProfileAgent.js +4 -3
  277. package/dist/services/profiles/ProfileAgent.js.map +1 -1
  278. package/dist/services/profiles/ProfileImports.d.ts +2 -2
  279. package/dist/services/profiles/ProfilePlanning.d.ts +3 -3
  280. package/dist/services/profiles/ProfilePreparation.d.ts.map +1 -1
  281. package/dist/services/profiles/ProfilePreparation.js +1 -0
  282. package/dist/services/profiles/ProfilePreparation.js.map +1 -1
  283. package/dist/services/profiles/ProfileVariants.d.ts +1 -1
  284. package/dist/services/profiles/ProfileVariants.d.ts.map +1 -1
  285. package/dist/services/profiles/ProfileVariants.js +1 -1
  286. package/dist/services/profiles/ProfileVariants.js.map +1 -1
  287. package/dist/services/profiles/ReferenceReader.d.ts +3 -3
  288. package/dist/services/profiles/profileContext.d.ts +1 -1
  289. package/dist/services/stopRuntimeProcess.d.ts.map +1 -1
  290. package/dist/services/stopRuntimeProcess.js +2 -0
  291. package/dist/services/stopRuntimeProcess.js.map +1 -1
  292. package/dist/storage/library/BundleMetadataStore.d.ts +1 -0
  293. package/dist/storage/library/BundleMetadataStore.d.ts.map +1 -1
  294. package/dist/storage/library/BundleMetadataStore.js +17 -0
  295. package/dist/storage/library/BundleMetadataStore.js.map +1 -1
  296. package/dist/storage/library/ProjectPreviewCache.d.ts +2 -2
  297. package/dist/storage/library/ProjectRecords.d.ts +1 -0
  298. package/dist/storage/library/ProjectRecords.d.ts.map +1 -1
  299. package/dist/storage/library/ProjectRecords.js +7 -0
  300. package/dist/storage/library/ProjectRecords.js.map +1 -1
  301. package/dist/storage/library/database.d.ts +4 -0
  302. package/dist/storage/library/database.d.ts.map +1 -1
  303. package/dist/storage/library/database.js +18 -1
  304. package/dist/storage/library/database.js.map +1 -1
  305. package/dist/storage/profiles/ProfilePlans.d.ts +16 -15
  306. package/dist/storage/profiles/ProfilePlans.d.ts.map +1 -1
  307. package/dist/storage/profiles/ProfilePlans.js +5 -2
  308. package/dist/storage/profiles/ProfilePlans.js.map +1 -1
  309. package/dist/storage/profiles/ProfileRecords.d.ts +44 -13
  310. package/dist/storage/profiles/ProfileRecords.d.ts.map +1 -1
  311. package/dist/storage/profiles/ProfileRecords.js +59 -4
  312. package/dist/storage/profiles/ProfileRecords.js.map +1 -1
  313. package/dist/storage/profiles/planSchema.d.ts +4 -4
  314. package/dist/storage/profiles/schema.d.ts +8 -8
  315. package/dist/types/cosmos.d.ts +10 -10
  316. package/dist/types/design-profile.d.ts +38 -38
  317. package/dist/types/guidance-references.d.ts +14 -14
  318. package/dist/types/guidance.d.ts +112 -112
  319. package/dist/types/reference-connectors.d.ts +2 -2
  320. package/dist/types/reference-onboarding.d.ts +55 -55
  321. package/dist/types/reference-pages.d.ts +14 -14
  322. package/dist/types/variant-reference.d.ts +4 -4
  323. package/dist/types/x-bookmarks.d.ts +16 -16
  324. package/dist/utils/cloneOrCopyDirSync.d.ts.map +1 -1
  325. package/dist/utils/cloneOrCopyDirSync.js +2 -0
  326. package/dist/utils/cloneOrCopyDirSync.js.map +1 -1
  327. package/dist/utils/editorAccess.d.ts +8 -0
  328. package/dist/utils/editorAccess.d.ts.map +1 -0
  329. package/dist/utils/editorAccess.js +23 -0
  330. package/dist/utils/editorAccess.js.map +1 -0
  331. package/dist/utils/hostedLogPrivacy.d.ts +2 -0
  332. package/dist/utils/hostedLogPrivacy.d.ts.map +1 -0
  333. package/dist/utils/hostedLogPrivacy.js +29 -0
  334. package/dist/utils/hostedLogPrivacy.js.map +1 -0
  335. package/dist/utils/hostedLogging.d.ts +2 -0
  336. package/dist/utils/hostedLogging.d.ts.map +1 -0
  337. package/dist/utils/hostedLogging.js +18 -0
  338. package/dist/utils/hostedLogging.js.map +1 -0
  339. package/dist/utils/loginShellPath.d.ts.map +1 -1
  340. package/dist/utils/loginShellPath.js +2 -0
  341. package/dist/utils/loginShellPath.js.map +1 -1
  342. package/dist/utils/skills/claude-skill.d.ts +1 -1
  343. package/dist/utils/skills/claude-skill.js +1 -1
  344. package/dist/utils/skills/cli-guidance.d.ts +1 -1
  345. package/dist/utils/skills/cli-guidance.d.ts.map +1 -1
  346. package/dist/utils/skills/cli-guidance.js +56 -27
  347. package/dist/utils/skills/cli-guidance.js.map +1 -1
  348. package/dist/utils/skills/codex-skill.d.ts +1 -1
  349. package/dist/utils/skills/codex-skill.d.ts.map +1 -1
  350. package/dist/utils/skills/codex-skill.js +6 -2
  351. package/dist/utils/skills/codex-skill.js.map +1 -1
  352. package/dist/utils/skills/cursor-rules.d.ts +1 -1
  353. package/dist/utils/skills/cursor-rules.js +1 -1
  354. package/dist/utils/subprocessEnvironment.d.ts +6 -0
  355. package/dist/utils/subprocessEnvironment.d.ts.map +1 -0
  356. package/dist/utils/subprocessEnvironment.js +214 -0
  357. package/dist/utils/subprocessEnvironment.js.map +1 -0
  358. package/package.json +8 -3
  359. package/src/ui/dist/assets/{LibraryEntry-B9ZkJUtN.js → LibraryEntry-DS6EDW1V.js} +2 -2
  360. package/src/ui/dist/assets/main-CdH16hGP.js +435 -0
  361. package/src/ui/dist/index.html +1 -1
  362. package/dist/prompts/gitPrompts.d.ts +0 -4
  363. package/dist/prompts/gitPrompts.d.ts.map +0 -1
  364. package/dist/prompts/gitPrompts.js +0 -61
  365. package/dist/prompts/gitPrompts.js.map +0 -1
  366. package/dist/routes/git.d.ts +0 -6
  367. package/dist/routes/git.d.ts.map +0 -1
  368. package/dist/routes/git.js +0 -266
  369. package/dist/routes/git.js.map +0 -1
  370. package/dist/services/CommitMessageGenerator.d.ts +0 -11
  371. package/dist/services/CommitMessageGenerator.d.ts.map +0 -1
  372. package/dist/services/CommitMessageGenerator.js +0 -45
  373. package/dist/services/CommitMessageGenerator.js.map +0 -1
  374. package/dist/services/GatewayClient.d.ts +0 -44
  375. package/dist/services/GatewayClient.d.ts.map +0 -1
  376. package/dist/services/GatewayClient.js +0 -204
  377. package/dist/services/GatewayClient.js.map +0 -1
  378. package/dist/services/LocalGitService.d.ts +0 -64
  379. package/dist/services/LocalGitService.d.ts.map +0 -1
  380. package/dist/services/LocalGitService.js +0 -602
  381. package/dist/services/LocalGitService.js.map +0 -1
  382. package/dist/services/PRTitleGenerator.d.ts +0 -15
  383. package/dist/services/PRTitleGenerator.d.ts.map +0 -1
  384. package/dist/services/PRTitleGenerator.js +0 -98
  385. package/dist/services/PRTitleGenerator.js.map +0 -1
  386. package/dist/services/SessionService.d.ts +0 -41
  387. package/dist/services/SessionService.d.ts.map +0 -1
  388. package/dist/services/SessionService.js +0 -200
  389. package/dist/services/SessionService.js.map +0 -1
  390. package/dist/utils/branchNames.d.ts +0 -2
  391. package/dist/utils/branchNames.d.ts.map +0 -1
  392. package/dist/utils/branchNames.js +0 -92
  393. package/dist/utils/branchNames.js.map +0 -1
  394. package/dist/utils/hostAgentEnv.d.ts +0 -2
  395. package/dist/utils/hostAgentEnv.d.ts.map +0 -1
  396. package/dist/utils/hostAgentEnv.js +0 -15
  397. package/dist/utils/hostAgentEnv.js.map +0 -1
  398. package/src/ui/dist/assets/main-Dls3YqrM.js +0 -435
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod/v3';
2
+ import type { WorkerSelection } from '../types/change-request-types';
2
3
  import type { StaticPreviewTargetElement, VariantWorkItem, WorkItem, WorkItemKind } from './contracts';
3
4
  export declare const VARIANT_WORK_ITEM_KINDS: readonly ["static_preview", "refine_variant", "code_gen"];
4
5
  export type VariantWorkItemKind = (typeof VARIANT_WORK_ITEM_KINDS)[number];
@@ -6,6 +7,7 @@ export declare const isVariantWorkItemKind: (kind: WorkItemKind) => kind is Vari
6
7
  export declare const isVariantWorkItem: (item: WorkItem) => item is VariantWorkItem;
7
8
  declare const variantWorkItemInputSchemas: {
8
9
  readonly static_preview: z.ZodObject<{
10
+ workerSelection: z.ZodOptional<z.ZodType<WorkerSelection, z.ZodTypeDef, WorkerSelection>>;
9
11
  projectContext: z.ZodType<{
10
12
  kind: "existing";
11
13
  projectPath?: string | undefined;
@@ -39,12 +41,12 @@ declare const variantWorkItemInputSchemas: {
39
41
  references?: {
40
42
  title: string;
41
43
  id: string;
44
+ reason?: string | undefined;
42
45
  url?: string | undefined;
43
46
  image?: {
44
47
  hash: string;
45
48
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
46
49
  } | undefined;
47
- reason?: string | undefined;
48
50
  }[] | undefined;
49
51
  label?: string | undefined;
50
52
  userIntent?: string | undefined;
@@ -62,19 +64,19 @@ declare const variantWorkItemInputSchemas: {
62
64
  references?: {
63
65
  title: string;
64
66
  id: string;
67
+ reason?: string | undefined;
65
68
  url?: string | undefined;
66
69
  image?: {
67
70
  hash: string;
68
71
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
69
72
  } | undefined;
70
- reason?: string | undefined;
71
73
  }[] | undefined;
72
74
  label?: string | undefined;
73
75
  userIntent?: string | undefined;
74
76
  })[];
75
77
  rivetActions: {
76
- kind: "extract_design_system" | "describe_motion";
77
78
  reason: string;
79
+ kind: "extract_design_system" | "describe_motion";
78
80
  id: string;
79
81
  sourceIds: string[];
80
82
  outputMetadataIds?: string[] | undefined;
@@ -195,12 +197,12 @@ declare const variantWorkItemInputSchemas: {
195
197
  references?: {
196
198
  title: string;
197
199
  id: string;
200
+ reason?: string | undefined;
198
201
  url?: string | undefined;
199
202
  image?: {
200
203
  hash: string;
201
204
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
202
205
  } | undefined;
203
- reason?: string | undefined;
204
206
  }[] | undefined;
205
207
  label?: string | undefined;
206
208
  userIntent?: string | undefined;
@@ -218,19 +220,19 @@ declare const variantWorkItemInputSchemas: {
218
220
  references?: {
219
221
  title: string;
220
222
  id: string;
223
+ reason?: string | undefined;
221
224
  url?: string | undefined;
222
225
  image?: {
223
226
  hash: string;
224
227
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
225
228
  } | undefined;
226
- reason?: string | undefined;
227
229
  }[] | undefined;
228
230
  label?: string | undefined;
229
231
  userIntent?: string | undefined;
230
232
  })[];
231
233
  rivetActions: {
232
- kind: "extract_design_system" | "describe_motion";
233
234
  reason: string;
235
+ kind: "extract_design_system" | "describe_motion";
234
236
  id: string;
235
237
  sourceIds: string[];
236
238
  outputMetadataIds?: string[] | undefined;
@@ -340,12 +342,12 @@ declare const variantWorkItemInputSchemas: {
340
342
  references?: {
341
343
  title: string;
342
344
  id: string;
345
+ reason?: string | undefined;
343
346
  url?: string | undefined;
344
347
  image?: {
345
348
  hash: string;
346
349
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
347
350
  } | undefined;
348
- reason?: string | undefined;
349
351
  }[] | undefined;
350
352
  label?: string | undefined;
351
353
  userIntent?: string | undefined;
@@ -363,19 +365,19 @@ declare const variantWorkItemInputSchemas: {
363
365
  references?: {
364
366
  title: string;
365
367
  id: string;
368
+ reason?: string | undefined;
366
369
  url?: string | undefined;
367
370
  image?: {
368
371
  hash: string;
369
372
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
370
373
  } | undefined;
371
- reason?: string | undefined;
372
374
  }[] | undefined;
373
375
  label?: string | undefined;
374
376
  userIntent?: string | undefined;
375
377
  })[];
376
378
  rivetActions: {
377
- kind: "extract_design_system" | "describe_motion";
378
379
  reason: string;
380
+ kind: "extract_design_system" | "describe_motion";
379
381
  id: string;
380
382
  sourceIds: string[];
381
383
  outputMetadataIds?: string[] | undefined;
@@ -496,12 +498,12 @@ declare const variantWorkItemInputSchemas: {
496
498
  references?: {
497
499
  title: string;
498
500
  id: string;
501
+ reason?: string | undefined;
499
502
  url?: string | undefined;
500
503
  image?: {
501
504
  hash: string;
502
505
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
503
506
  } | undefined;
504
- reason?: string | undefined;
505
507
  }[] | undefined;
506
508
  label?: string | undefined;
507
509
  userIntent?: string | undefined;
@@ -519,19 +521,19 @@ declare const variantWorkItemInputSchemas: {
519
521
  references?: {
520
522
  title: string;
521
523
  id: string;
524
+ reason?: string | undefined;
522
525
  url?: string | undefined;
523
526
  image?: {
524
527
  hash: string;
525
528
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
526
529
  } | undefined;
527
- reason?: string | undefined;
528
530
  }[] | undefined;
529
531
  label?: string | undefined;
530
532
  userIntent?: string | undefined;
531
533
  })[];
532
534
  rivetActions: {
533
- kind: "extract_design_system" | "describe_motion";
534
535
  reason: string;
536
+ kind: "extract_design_system" | "describe_motion";
535
537
  id: string;
536
538
  sourceIds: string[];
537
539
  outputMetadataIds?: string[] | undefined;
@@ -623,7 +625,7 @@ declare const variantWorkItemInputSchemas: {
623
625
  hash: string;
624
626
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
625
627
  bytes: number;
626
- representation: "image" | "variant" | "video-cover" | "page";
628
+ representation: "variant" | "image" | "video-cover" | "page";
627
629
  alt: string;
628
630
  title?: string | undefined;
629
631
  page?: number | undefined;
@@ -637,13 +639,13 @@ declare const variantWorkItemInputSchemas: {
637
639
  kind: "url" | "repository";
638
640
  intent: string;
639
641
  digest?: string | undefined;
642
+ revision?: string | undefined;
640
643
  files?: {
641
644
  name: string;
642
645
  content: string;
643
646
  path?: string | undefined;
644
647
  sha256?: string | undefined;
645
648
  }[] | undefined;
646
- revision?: string | undefined;
647
649
  })[] | undefined;
648
650
  }, z.ZodTypeDef, {
649
651
  title: string;
@@ -655,7 +657,7 @@ declare const variantWorkItemInputSchemas: {
655
657
  hash: string;
656
658
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
657
659
  bytes: number;
658
- representation: "image" | "variant" | "video-cover" | "page";
660
+ representation: "variant" | "image" | "video-cover" | "page";
659
661
  alt: string;
660
662
  title?: string | undefined;
661
663
  page?: number | undefined;
@@ -669,34 +671,34 @@ declare const variantWorkItemInputSchemas: {
669
671
  kind: "url" | "repository";
670
672
  intent: string;
671
673
  digest?: string | undefined;
674
+ revision?: string | undefined;
672
675
  files?: {
673
676
  name: string;
674
677
  content: string;
675
678
  path?: string | undefined;
676
679
  sha256?: string | undefined;
677
680
  }[] | undefined;
678
- revision?: string | undefined;
679
681
  })[] | undefined;
680
682
  }>, "many">>;
681
683
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
682
684
  references: z.ZodOptional<z.ZodArray<z.ZodType<{
683
685
  title: string;
684
686
  id: string;
687
+ reason?: string | undefined;
685
688
  url?: string | undefined;
686
689
  image?: {
687
690
  hash: string;
688
691
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
689
692
  } | undefined;
690
- reason?: string | undefined;
691
693
  }, z.ZodTypeDef, {
692
694
  title: string;
693
695
  id: string;
696
+ reason?: string | undefined;
694
697
  url?: string | undefined;
695
698
  image?: {
696
699
  hash: string;
697
700
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
698
701
  } | undefined;
699
- reason?: string | undefined;
700
702
  }>, "many">>;
701
703
  runLabel: z.ZodOptional<z.ZodString>;
702
704
  requestId: z.ZodOptional<z.ZodString>;
@@ -706,10 +708,10 @@ declare const variantWorkItemInputSchemas: {
706
708
  sourceBody: z.ZodOptional<z.ZodString>;
707
709
  currentHtml: z.ZodOptional<z.ZodString>;
708
710
  target: z.ZodOptional<z.ZodType<{
709
- type: "file" | "element" | "route";
711
+ type: "route" | "file" | "element";
710
712
  ref: string;
711
713
  }, z.ZodTypeDef, {
712
- type: "file" | "element" | "route";
714
+ type: "route" | "file" | "element";
713
715
  ref: string;
714
716
  }>>;
715
717
  targetElement: z.ZodOptional<z.ZodType<StaticPreviewTargetElement, z.ZodTypeDef, StaticPreviewTargetElement>>;
@@ -757,12 +759,12 @@ declare const variantWorkItemInputSchemas: {
757
759
  references?: {
758
760
  title: string;
759
761
  id: string;
762
+ reason?: string | undefined;
760
763
  url?: string | undefined;
761
764
  image?: {
762
765
  hash: string;
763
766
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
764
767
  } | undefined;
765
- reason?: string | undefined;
766
768
  }[] | undefined;
767
769
  label?: string | undefined;
768
770
  userIntent?: string | undefined;
@@ -780,12 +782,12 @@ declare const variantWorkItemInputSchemas: {
780
782
  references?: {
781
783
  title: string;
782
784
  id: string;
785
+ reason?: string | undefined;
783
786
  url?: string | undefined;
784
787
  image?: {
785
788
  hash: string;
786
789
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
787
790
  } | undefined;
788
- reason?: string | undefined;
789
791
  }[] | undefined;
790
792
  label?: string | undefined;
791
793
  userIntent?: string | undefined;
@@ -829,12 +831,12 @@ declare const variantWorkItemInputSchemas: {
829
831
  references?: {
830
832
  title: string;
831
833
  id: string;
834
+ reason?: string | undefined;
832
835
  url?: string | undefined;
833
836
  image?: {
834
837
  hash: string;
835
838
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
836
839
  } | undefined;
837
- reason?: string | undefined;
838
840
  }[] | undefined;
839
841
  contextAssets?: {
840
842
  path: string;
@@ -873,12 +875,12 @@ declare const variantWorkItemInputSchemas: {
873
875
  references?: {
874
876
  title: string;
875
877
  id: string;
878
+ reason?: string | undefined;
876
879
  url?: string | undefined;
877
880
  image?: {
878
881
  hash: string;
879
882
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
880
883
  } | undefined;
881
- reason?: string | undefined;
882
884
  }[] | undefined;
883
885
  label?: string | undefined;
884
886
  userIntent?: string | undefined;
@@ -896,12 +898,12 @@ declare const variantWorkItemInputSchemas: {
896
898
  references?: {
897
899
  title: string;
898
900
  id: string;
901
+ reason?: string | undefined;
899
902
  url?: string | undefined;
900
903
  image?: {
901
904
  hash: string;
902
905
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
903
906
  } | undefined;
904
- reason?: string | undefined;
905
907
  }[] | undefined;
906
908
  label?: string | undefined;
907
909
  userIntent?: string | undefined;
@@ -945,12 +947,12 @@ declare const variantWorkItemInputSchemas: {
945
947
  references?: {
946
948
  title: string;
947
949
  id: string;
950
+ reason?: string | undefined;
948
951
  url?: string | undefined;
949
952
  image?: {
950
953
  hash: string;
951
954
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
952
955
  } | undefined;
953
- reason?: string | undefined;
954
956
  }[] | undefined;
955
957
  contextAssets?: {
956
958
  path: string;
@@ -1017,12 +1019,12 @@ declare const variantWorkItemInputSchemas: {
1017
1019
  references?: {
1018
1020
  title: string;
1019
1021
  id: string;
1022
+ reason?: string | undefined;
1020
1023
  url?: string | undefined;
1021
1024
  image?: {
1022
1025
  hash: string;
1023
1026
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1024
1027
  } | undefined;
1025
- reason?: string | undefined;
1026
1028
  }[] | undefined;
1027
1029
  label?: string | undefined;
1028
1030
  userIntent?: string | undefined;
@@ -1040,19 +1042,19 @@ declare const variantWorkItemInputSchemas: {
1040
1042
  references?: {
1041
1043
  title: string;
1042
1044
  id: string;
1045
+ reason?: string | undefined;
1043
1046
  url?: string | undefined;
1044
1047
  image?: {
1045
1048
  hash: string;
1046
1049
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1047
1050
  } | undefined;
1048
- reason?: string | undefined;
1049
1051
  }[] | undefined;
1050
1052
  label?: string | undefined;
1051
1053
  userIntent?: string | undefined;
1052
1054
  })[];
1053
1055
  rivetActions: {
1054
- kind: "extract_design_system" | "describe_motion";
1055
1056
  reason: string;
1057
+ kind: "extract_design_system" | "describe_motion";
1056
1058
  id: string;
1057
1059
  sourceIds: string[];
1058
1060
  outputMetadataIds?: string[] | undefined;
@@ -1173,12 +1175,12 @@ declare const variantWorkItemInputSchemas: {
1173
1175
  references?: {
1174
1176
  title: string;
1175
1177
  id: string;
1178
+ reason?: string | undefined;
1176
1179
  url?: string | undefined;
1177
1180
  image?: {
1178
1181
  hash: string;
1179
1182
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1180
1183
  } | undefined;
1181
- reason?: string | undefined;
1182
1184
  }[] | undefined;
1183
1185
  label?: string | undefined;
1184
1186
  userIntent?: string | undefined;
@@ -1196,19 +1198,19 @@ declare const variantWorkItemInputSchemas: {
1196
1198
  references?: {
1197
1199
  title: string;
1198
1200
  id: string;
1201
+ reason?: string | undefined;
1199
1202
  url?: string | undefined;
1200
1203
  image?: {
1201
1204
  hash: string;
1202
1205
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1203
1206
  } | undefined;
1204
- reason?: string | undefined;
1205
1207
  }[] | undefined;
1206
1208
  label?: string | undefined;
1207
1209
  userIntent?: string | undefined;
1208
1210
  })[];
1209
1211
  rivetActions: {
1210
- kind: "extract_design_system" | "describe_motion";
1211
1212
  reason: string;
1213
+ kind: "extract_design_system" | "describe_motion";
1212
1214
  id: string;
1213
1215
  sourceIds: string[];
1214
1216
  outputMetadataIds?: string[] | undefined;
@@ -1288,7 +1290,6 @@ declare const variantWorkItemInputSchemas: {
1288
1290
  };
1289
1291
  briefId: string;
1290
1292
  briefLabel: string;
1291
- instruction?: string | undefined;
1292
1293
  context?: {
1293
1294
  brief: {
1294
1295
  label: string;
@@ -1316,12 +1317,12 @@ declare const variantWorkItemInputSchemas: {
1316
1317
  references?: {
1317
1318
  title: string;
1318
1319
  id: string;
1320
+ reason?: string | undefined;
1319
1321
  url?: string | undefined;
1320
1322
  image?: {
1321
1323
  hash: string;
1322
1324
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1323
1325
  } | undefined;
1324
- reason?: string | undefined;
1325
1326
  }[] | undefined;
1326
1327
  label?: string | undefined;
1327
1328
  userIntent?: string | undefined;
@@ -1339,12 +1340,12 @@ declare const variantWorkItemInputSchemas: {
1339
1340
  references?: {
1340
1341
  title: string;
1341
1342
  id: string;
1343
+ reason?: string | undefined;
1342
1344
  url?: string | undefined;
1343
1345
  image?: {
1344
1346
  hash: string;
1345
1347
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1346
1348
  } | undefined;
1347
- reason?: string | undefined;
1348
1349
  }[] | undefined;
1349
1350
  label?: string | undefined;
1350
1351
  userIntent?: string | undefined;
@@ -1388,12 +1389,12 @@ declare const variantWorkItemInputSchemas: {
1388
1389
  references?: {
1389
1390
  title: string;
1390
1391
  id: string;
1392
+ reason?: string | undefined;
1391
1393
  url?: string | undefined;
1392
1394
  image?: {
1393
1395
  hash: string;
1394
1396
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1395
1397
  } | undefined;
1396
- reason?: string | undefined;
1397
1398
  }[] | undefined;
1398
1399
  contextAssets?: {
1399
1400
  path: string;
@@ -1407,21 +1408,23 @@ declare const variantWorkItemInputSchemas: {
1407
1408
  executionMode?: "static_preview" | "vite_app" | undefined;
1408
1409
  } | undefined;
1409
1410
  target?: {
1410
- type: "file" | "element" | "route";
1411
+ type: "route" | "file" | "element";
1411
1412
  ref: string;
1412
1413
  } | undefined;
1413
1414
  references?: {
1414
1415
  title: string;
1415
1416
  id: string;
1417
+ reason?: string | undefined;
1416
1418
  url?: string | undefined;
1417
1419
  image?: {
1418
1420
  hash: string;
1419
1421
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1420
1422
  } | undefined;
1421
- reason?: string | undefined;
1422
1423
  }[] | undefined;
1423
1424
  variantId?: string | undefined;
1424
1425
  requestId?: string | undefined;
1426
+ instruction?: string | undefined;
1427
+ workerSelection?: WorkerSelection | undefined;
1425
1428
  briefBody?: string | undefined;
1426
1429
  briefNotes?: string | undefined;
1427
1430
  visualReferenceUrl?: string | undefined;
@@ -1435,7 +1438,7 @@ declare const variantWorkItemInputSchemas: {
1435
1438
  hash: string;
1436
1439
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1437
1440
  bytes: number;
1438
- representation: "image" | "variant" | "video-cover" | "page";
1441
+ representation: "variant" | "image" | "video-cover" | "page";
1439
1442
  alt: string;
1440
1443
  title?: string | undefined;
1441
1444
  page?: number | undefined;
@@ -1449,13 +1452,13 @@ declare const variantWorkItemInputSchemas: {
1449
1452
  kind: "url" | "repository";
1450
1453
  intent: string;
1451
1454
  digest?: string | undefined;
1455
+ revision?: string | undefined;
1452
1456
  files?: {
1453
1457
  name: string;
1454
1458
  content: string;
1455
1459
  path?: string | undefined;
1456
1460
  sha256?: string | undefined;
1457
1461
  }[] | undefined;
1458
- revision?: string | undefined;
1459
1462
  })[] | undefined;
1460
1463
  }[] | undefined;
1461
1464
  previewRoutes?: string[] | undefined;
@@ -1516,12 +1519,12 @@ declare const variantWorkItemInputSchemas: {
1516
1519
  references?: {
1517
1520
  title: string;
1518
1521
  id: string;
1522
+ reason?: string | undefined;
1519
1523
  url?: string | undefined;
1520
1524
  image?: {
1521
1525
  hash: string;
1522
1526
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1523
1527
  } | undefined;
1524
- reason?: string | undefined;
1525
1528
  }[] | undefined;
1526
1529
  label?: string | undefined;
1527
1530
  userIntent?: string | undefined;
@@ -1539,19 +1542,19 @@ declare const variantWorkItemInputSchemas: {
1539
1542
  references?: {
1540
1543
  title: string;
1541
1544
  id: string;
1545
+ reason?: string | undefined;
1542
1546
  url?: string | undefined;
1543
1547
  image?: {
1544
1548
  hash: string;
1545
1549
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1546
1550
  } | undefined;
1547
- reason?: string | undefined;
1548
1551
  }[] | undefined;
1549
1552
  label?: string | undefined;
1550
1553
  userIntent?: string | undefined;
1551
1554
  })[];
1552
1555
  rivetActions: {
1553
- kind: "extract_design_system" | "describe_motion";
1554
1556
  reason: string;
1557
+ kind: "extract_design_system" | "describe_motion";
1555
1558
  id: string;
1556
1559
  sourceIds: string[];
1557
1560
  outputMetadataIds?: string[] | undefined;
@@ -1672,12 +1675,12 @@ declare const variantWorkItemInputSchemas: {
1672
1675
  references?: {
1673
1676
  title: string;
1674
1677
  id: string;
1678
+ reason?: string | undefined;
1675
1679
  url?: string | undefined;
1676
1680
  image?: {
1677
1681
  hash: string;
1678
1682
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1679
1683
  } | undefined;
1680
- reason?: string | undefined;
1681
1684
  }[] | undefined;
1682
1685
  label?: string | undefined;
1683
1686
  userIntent?: string | undefined;
@@ -1695,19 +1698,19 @@ declare const variantWorkItemInputSchemas: {
1695
1698
  references?: {
1696
1699
  title: string;
1697
1700
  id: string;
1701
+ reason?: string | undefined;
1698
1702
  url?: string | undefined;
1699
1703
  image?: {
1700
1704
  hash: string;
1701
1705
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1702
1706
  } | undefined;
1703
- reason?: string | undefined;
1704
1707
  }[] | undefined;
1705
1708
  label?: string | undefined;
1706
1709
  userIntent?: string | undefined;
1707
1710
  })[];
1708
1711
  rivetActions: {
1709
- kind: "extract_design_system" | "describe_motion";
1710
1712
  reason: string;
1713
+ kind: "extract_design_system" | "describe_motion";
1711
1714
  id: string;
1712
1715
  sourceIds: string[];
1713
1716
  outputMetadataIds?: string[] | undefined;
@@ -1787,7 +1790,6 @@ declare const variantWorkItemInputSchemas: {
1787
1790
  };
1788
1791
  briefId: string;
1789
1792
  briefLabel: string;
1790
- instruction?: string | undefined;
1791
1793
  context?: {
1792
1794
  brief: {
1793
1795
  label: string;
@@ -1815,12 +1817,12 @@ declare const variantWorkItemInputSchemas: {
1815
1817
  references?: {
1816
1818
  title: string;
1817
1819
  id: string;
1820
+ reason?: string | undefined;
1818
1821
  url?: string | undefined;
1819
1822
  image?: {
1820
1823
  hash: string;
1821
1824
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1822
1825
  } | undefined;
1823
- reason?: string | undefined;
1824
1826
  }[] | undefined;
1825
1827
  label?: string | undefined;
1826
1828
  userIntent?: string | undefined;
@@ -1838,12 +1840,12 @@ declare const variantWorkItemInputSchemas: {
1838
1840
  references?: {
1839
1841
  title: string;
1840
1842
  id: string;
1843
+ reason?: string | undefined;
1841
1844
  url?: string | undefined;
1842
1845
  image?: {
1843
1846
  hash: string;
1844
1847
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1845
1848
  } | undefined;
1846
- reason?: string | undefined;
1847
1849
  }[] | undefined;
1848
1850
  label?: string | undefined;
1849
1851
  userIntent?: string | undefined;
@@ -1887,12 +1889,12 @@ declare const variantWorkItemInputSchemas: {
1887
1889
  references?: {
1888
1890
  title: string;
1889
1891
  id: string;
1892
+ reason?: string | undefined;
1890
1893
  url?: string | undefined;
1891
1894
  image?: {
1892
1895
  hash: string;
1893
1896
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1894
1897
  } | undefined;
1895
- reason?: string | undefined;
1896
1898
  }[] | undefined;
1897
1899
  contextAssets?: {
1898
1900
  path: string;
@@ -1906,21 +1908,23 @@ declare const variantWorkItemInputSchemas: {
1906
1908
  executionMode?: "static_preview" | "vite_app" | undefined;
1907
1909
  } | undefined;
1908
1910
  target?: {
1909
- type: "file" | "element" | "route";
1911
+ type: "route" | "file" | "element";
1910
1912
  ref: string;
1911
1913
  } | undefined;
1912
1914
  references?: {
1913
1915
  title: string;
1914
1916
  id: string;
1917
+ reason?: string | undefined;
1915
1918
  url?: string | undefined;
1916
1919
  image?: {
1917
1920
  hash: string;
1918
1921
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
1919
1922
  } | undefined;
1920
- reason?: string | undefined;
1921
1923
  }[] | undefined;
1922
1924
  variantId?: string | undefined;
1923
1925
  requestId?: string | undefined;
1926
+ instruction?: string | undefined;
1927
+ workerSelection?: WorkerSelection | undefined;
1924
1928
  briefBody?: string | undefined;
1925
1929
  briefNotes?: string | undefined;
1926
1930
  visualReferenceUrl?: string | undefined;
@@ -1934,7 +1938,7 @@ declare const variantWorkItemInputSchemas: {
1934
1938
  hash: string;
1935
1939
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
1936
1940
  bytes: number;
1937
- representation: "image" | "variant" | "video-cover" | "page";
1941
+ representation: "variant" | "image" | "video-cover" | "page";
1938
1942
  alt: string;
1939
1943
  title?: string | undefined;
1940
1944
  page?: number | undefined;
@@ -1948,13 +1952,13 @@ declare const variantWorkItemInputSchemas: {
1948
1952
  kind: "url" | "repository";
1949
1953
  intent: string;
1950
1954
  digest?: string | undefined;
1955
+ revision?: string | undefined;
1951
1956
  files?: {
1952
1957
  name: string;
1953
1958
  content: string;
1954
1959
  path?: string | undefined;
1955
1960
  sha256?: string | undefined;
1956
1961
  }[] | undefined;
1957
- revision?: string | undefined;
1958
1962
  })[] | undefined;
1959
1963
  }[] | undefined;
1960
1964
  previewRoutes?: string[] | undefined;
@@ -1983,6 +1987,7 @@ declare const variantWorkItemInputSchemas: {
1983
1987
  } | undefined;
1984
1988
  }>;
1985
1989
  readonly refine_variant: z.ZodObject<{
1990
+ workerSelection: z.ZodOptional<z.ZodType<WorkerSelection, z.ZodTypeDef, WorkerSelection>>;
1986
1991
  projectContext: z.ZodType<{
1987
1992
  kind: "existing";
1988
1993
  projectPath?: string | undefined;
@@ -2016,12 +2021,12 @@ declare const variantWorkItemInputSchemas: {
2016
2021
  references?: {
2017
2022
  title: string;
2018
2023
  id: string;
2024
+ reason?: string | undefined;
2019
2025
  url?: string | undefined;
2020
2026
  image?: {
2021
2027
  hash: string;
2022
2028
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2023
2029
  } | undefined;
2024
- reason?: string | undefined;
2025
2030
  }[] | undefined;
2026
2031
  label?: string | undefined;
2027
2032
  userIntent?: string | undefined;
@@ -2039,19 +2044,19 @@ declare const variantWorkItemInputSchemas: {
2039
2044
  references?: {
2040
2045
  title: string;
2041
2046
  id: string;
2047
+ reason?: string | undefined;
2042
2048
  url?: string | undefined;
2043
2049
  image?: {
2044
2050
  hash: string;
2045
2051
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2046
2052
  } | undefined;
2047
- reason?: string | undefined;
2048
2053
  }[] | undefined;
2049
2054
  label?: string | undefined;
2050
2055
  userIntent?: string | undefined;
2051
2056
  })[];
2052
2057
  rivetActions: {
2053
- kind: "extract_design_system" | "describe_motion";
2054
2058
  reason: string;
2059
+ kind: "extract_design_system" | "describe_motion";
2055
2060
  id: string;
2056
2061
  sourceIds: string[];
2057
2062
  outputMetadataIds?: string[] | undefined;
@@ -2172,12 +2177,12 @@ declare const variantWorkItemInputSchemas: {
2172
2177
  references?: {
2173
2178
  title: string;
2174
2179
  id: string;
2180
+ reason?: string | undefined;
2175
2181
  url?: string | undefined;
2176
2182
  image?: {
2177
2183
  hash: string;
2178
2184
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2179
2185
  } | undefined;
2180
- reason?: string | undefined;
2181
2186
  }[] | undefined;
2182
2187
  label?: string | undefined;
2183
2188
  userIntent?: string | undefined;
@@ -2195,19 +2200,19 @@ declare const variantWorkItemInputSchemas: {
2195
2200
  references?: {
2196
2201
  title: string;
2197
2202
  id: string;
2203
+ reason?: string | undefined;
2198
2204
  url?: string | undefined;
2199
2205
  image?: {
2200
2206
  hash: string;
2201
2207
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2202
2208
  } | undefined;
2203
- reason?: string | undefined;
2204
2209
  }[] | undefined;
2205
2210
  label?: string | undefined;
2206
2211
  userIntent?: string | undefined;
2207
2212
  })[];
2208
2213
  rivetActions: {
2209
- kind: "extract_design_system" | "describe_motion";
2210
2214
  reason: string;
2215
+ kind: "extract_design_system" | "describe_motion";
2211
2216
  id: string;
2212
2217
  sourceIds: string[];
2213
2218
  outputMetadataIds?: string[] | undefined;
@@ -2317,12 +2322,12 @@ declare const variantWorkItemInputSchemas: {
2317
2322
  references?: {
2318
2323
  title: string;
2319
2324
  id: string;
2325
+ reason?: string | undefined;
2320
2326
  url?: string | undefined;
2321
2327
  image?: {
2322
2328
  hash: string;
2323
2329
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2324
2330
  } | undefined;
2325
- reason?: string | undefined;
2326
2331
  }[] | undefined;
2327
2332
  label?: string | undefined;
2328
2333
  userIntent?: string | undefined;
@@ -2340,19 +2345,19 @@ declare const variantWorkItemInputSchemas: {
2340
2345
  references?: {
2341
2346
  title: string;
2342
2347
  id: string;
2348
+ reason?: string | undefined;
2343
2349
  url?: string | undefined;
2344
2350
  image?: {
2345
2351
  hash: string;
2346
2352
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2347
2353
  } | undefined;
2348
- reason?: string | undefined;
2349
2354
  }[] | undefined;
2350
2355
  label?: string | undefined;
2351
2356
  userIntent?: string | undefined;
2352
2357
  })[];
2353
2358
  rivetActions: {
2354
- kind: "extract_design_system" | "describe_motion";
2355
2359
  reason: string;
2360
+ kind: "extract_design_system" | "describe_motion";
2356
2361
  id: string;
2357
2362
  sourceIds: string[];
2358
2363
  outputMetadataIds?: string[] | undefined;
@@ -2473,12 +2478,12 @@ declare const variantWorkItemInputSchemas: {
2473
2478
  references?: {
2474
2479
  title: string;
2475
2480
  id: string;
2481
+ reason?: string | undefined;
2476
2482
  url?: string | undefined;
2477
2483
  image?: {
2478
2484
  hash: string;
2479
2485
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2480
2486
  } | undefined;
2481
- reason?: string | undefined;
2482
2487
  }[] | undefined;
2483
2488
  label?: string | undefined;
2484
2489
  userIntent?: string | undefined;
@@ -2496,19 +2501,19 @@ declare const variantWorkItemInputSchemas: {
2496
2501
  references?: {
2497
2502
  title: string;
2498
2503
  id: string;
2504
+ reason?: string | undefined;
2499
2505
  url?: string | undefined;
2500
2506
  image?: {
2501
2507
  hash: string;
2502
2508
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2503
2509
  } | undefined;
2504
- reason?: string | undefined;
2505
2510
  }[] | undefined;
2506
2511
  label?: string | undefined;
2507
2512
  userIntent?: string | undefined;
2508
2513
  })[];
2509
2514
  rivetActions: {
2510
- kind: "extract_design_system" | "describe_motion";
2511
2515
  reason: string;
2516
+ kind: "extract_design_system" | "describe_motion";
2512
2517
  id: string;
2513
2518
  sourceIds: string[];
2514
2519
  outputMetadataIds?: string[] | undefined;
@@ -2601,7 +2606,7 @@ declare const variantWorkItemInputSchemas: {
2601
2606
  hash: string;
2602
2607
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
2603
2608
  bytes: number;
2604
- representation: "image" | "variant" | "video-cover" | "page";
2609
+ representation: "variant" | "image" | "video-cover" | "page";
2605
2610
  alt: string;
2606
2611
  title?: string | undefined;
2607
2612
  page?: number | undefined;
@@ -2615,13 +2620,13 @@ declare const variantWorkItemInputSchemas: {
2615
2620
  kind: "url" | "repository";
2616
2621
  intent: string;
2617
2622
  digest?: string | undefined;
2623
+ revision?: string | undefined;
2618
2624
  files?: {
2619
2625
  name: string;
2620
2626
  content: string;
2621
2627
  path?: string | undefined;
2622
2628
  sha256?: string | undefined;
2623
2629
  }[] | undefined;
2624
- revision?: string | undefined;
2625
2630
  })[] | undefined;
2626
2631
  }, z.ZodTypeDef, {
2627
2632
  title: string;
@@ -2633,7 +2638,7 @@ declare const variantWorkItemInputSchemas: {
2633
2638
  hash: string;
2634
2639
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
2635
2640
  bytes: number;
2636
- representation: "image" | "variant" | "video-cover" | "page";
2641
+ representation: "variant" | "image" | "video-cover" | "page";
2637
2642
  alt: string;
2638
2643
  title?: string | undefined;
2639
2644
  page?: number | undefined;
@@ -2647,34 +2652,34 @@ declare const variantWorkItemInputSchemas: {
2647
2652
  kind: "url" | "repository";
2648
2653
  intent: string;
2649
2654
  digest?: string | undefined;
2655
+ revision?: string | undefined;
2650
2656
  files?: {
2651
2657
  name: string;
2652
2658
  content: string;
2653
2659
  path?: string | undefined;
2654
2660
  sha256?: string | undefined;
2655
2661
  }[] | undefined;
2656
- revision?: string | undefined;
2657
2662
  })[] | undefined;
2658
2663
  }>, "many">>;
2659
2664
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2660
2665
  references: z.ZodOptional<z.ZodArray<z.ZodType<{
2661
2666
  title: string;
2662
2667
  id: string;
2668
+ reason?: string | undefined;
2663
2669
  url?: string | undefined;
2664
2670
  image?: {
2665
2671
  hash: string;
2666
2672
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2667
2673
  } | undefined;
2668
- reason?: string | undefined;
2669
2674
  }, z.ZodTypeDef, {
2670
2675
  title: string;
2671
2676
  id: string;
2677
+ reason?: string | undefined;
2672
2678
  url?: string | undefined;
2673
2679
  image?: {
2674
2680
  hash: string;
2675
2681
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2676
2682
  } | undefined;
2677
- reason?: string | undefined;
2678
2683
  }>, "many">>;
2679
2684
  runLabel: z.ZodOptional<z.ZodString>;
2680
2685
  requestId: z.ZodOptional<z.ZodString>;
@@ -2683,10 +2688,10 @@ declare const variantWorkItemInputSchemas: {
2683
2688
  sourceBody: z.ZodOptional<z.ZodString>;
2684
2689
  currentHtml: z.ZodOptional<z.ZodString>;
2685
2690
  target: z.ZodOptional<z.ZodType<{
2686
- type: "file" | "element" | "route";
2691
+ type: "route" | "file" | "element";
2687
2692
  ref: string;
2688
2693
  }, z.ZodTypeDef, {
2689
- type: "file" | "element" | "route";
2694
+ type: "route" | "file" | "element";
2690
2695
  ref: string;
2691
2696
  }>>;
2692
2697
  targetElement: z.ZodOptional<z.ZodType<StaticPreviewTargetElement, z.ZodTypeDef, StaticPreviewTargetElement>>;
@@ -2734,12 +2739,12 @@ declare const variantWorkItemInputSchemas: {
2734
2739
  references?: {
2735
2740
  title: string;
2736
2741
  id: string;
2742
+ reason?: string | undefined;
2737
2743
  url?: string | undefined;
2738
2744
  image?: {
2739
2745
  hash: string;
2740
2746
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2741
2747
  } | undefined;
2742
- reason?: string | undefined;
2743
2748
  }[] | undefined;
2744
2749
  label?: string | undefined;
2745
2750
  userIntent?: string | undefined;
@@ -2757,12 +2762,12 @@ declare const variantWorkItemInputSchemas: {
2757
2762
  references?: {
2758
2763
  title: string;
2759
2764
  id: string;
2765
+ reason?: string | undefined;
2760
2766
  url?: string | undefined;
2761
2767
  image?: {
2762
2768
  hash: string;
2763
2769
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2764
2770
  } | undefined;
2765
- reason?: string | undefined;
2766
2771
  }[] | undefined;
2767
2772
  label?: string | undefined;
2768
2773
  userIntent?: string | undefined;
@@ -2806,12 +2811,12 @@ declare const variantWorkItemInputSchemas: {
2806
2811
  references?: {
2807
2812
  title: string;
2808
2813
  id: string;
2814
+ reason?: string | undefined;
2809
2815
  url?: string | undefined;
2810
2816
  image?: {
2811
2817
  hash: string;
2812
2818
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2813
2819
  } | undefined;
2814
- reason?: string | undefined;
2815
2820
  }[] | undefined;
2816
2821
  contextAssets?: {
2817
2822
  path: string;
@@ -2850,12 +2855,12 @@ declare const variantWorkItemInputSchemas: {
2850
2855
  references?: {
2851
2856
  title: string;
2852
2857
  id: string;
2858
+ reason?: string | undefined;
2853
2859
  url?: string | undefined;
2854
2860
  image?: {
2855
2861
  hash: string;
2856
2862
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2857
2863
  } | undefined;
2858
- reason?: string | undefined;
2859
2864
  }[] | undefined;
2860
2865
  label?: string | undefined;
2861
2866
  userIntent?: string | undefined;
@@ -2873,12 +2878,12 @@ declare const variantWorkItemInputSchemas: {
2873
2878
  references?: {
2874
2879
  title: string;
2875
2880
  id: string;
2881
+ reason?: string | undefined;
2876
2882
  url?: string | undefined;
2877
2883
  image?: {
2878
2884
  hash: string;
2879
2885
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2880
2886
  } | undefined;
2881
- reason?: string | undefined;
2882
2887
  }[] | undefined;
2883
2888
  label?: string | undefined;
2884
2889
  userIntent?: string | undefined;
@@ -2922,12 +2927,12 @@ declare const variantWorkItemInputSchemas: {
2922
2927
  references?: {
2923
2928
  title: string;
2924
2929
  id: string;
2930
+ reason?: string | undefined;
2925
2931
  url?: string | undefined;
2926
2932
  image?: {
2927
2933
  hash: string;
2928
2934
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
2929
2935
  } | undefined;
2930
- reason?: string | undefined;
2931
2936
  }[] | undefined;
2932
2937
  contextAssets?: {
2933
2938
  path: string;
@@ -2961,8 +2966,8 @@ declare const variantWorkItemInputSchemas: {
2961
2966
  variantId: z.ZodString;
2962
2967
  instruction: z.ZodString;
2963
2968
  }, "strip", z.ZodTypeAny, {
2964
- instruction: string;
2965
2969
  variantId: string;
2970
+ instruction: string;
2966
2971
  projectContext: {
2967
2972
  kind: "existing";
2968
2973
  projectPath?: string | undefined;
@@ -2996,12 +3001,12 @@ declare const variantWorkItemInputSchemas: {
2996
3001
  references?: {
2997
3002
  title: string;
2998
3003
  id: string;
3004
+ reason?: string | undefined;
2999
3005
  url?: string | undefined;
3000
3006
  image?: {
3001
3007
  hash: string;
3002
3008
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3003
3009
  } | undefined;
3004
- reason?: string | undefined;
3005
3010
  }[] | undefined;
3006
3011
  label?: string | undefined;
3007
3012
  userIntent?: string | undefined;
@@ -3019,19 +3024,19 @@ declare const variantWorkItemInputSchemas: {
3019
3024
  references?: {
3020
3025
  title: string;
3021
3026
  id: string;
3027
+ reason?: string | undefined;
3022
3028
  url?: string | undefined;
3023
3029
  image?: {
3024
3030
  hash: string;
3025
3031
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3026
3032
  } | undefined;
3027
- reason?: string | undefined;
3028
3033
  }[] | undefined;
3029
3034
  label?: string | undefined;
3030
3035
  userIntent?: string | undefined;
3031
3036
  })[];
3032
3037
  rivetActions: {
3033
- kind: "extract_design_system" | "describe_motion";
3034
3038
  reason: string;
3039
+ kind: "extract_design_system" | "describe_motion";
3035
3040
  id: string;
3036
3041
  sourceIds: string[];
3037
3042
  outputMetadataIds?: string[] | undefined;
@@ -3152,12 +3157,12 @@ declare const variantWorkItemInputSchemas: {
3152
3157
  references?: {
3153
3158
  title: string;
3154
3159
  id: string;
3160
+ reason?: string | undefined;
3155
3161
  url?: string | undefined;
3156
3162
  image?: {
3157
3163
  hash: string;
3158
3164
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3159
3165
  } | undefined;
3160
- reason?: string | undefined;
3161
3166
  }[] | undefined;
3162
3167
  label?: string | undefined;
3163
3168
  userIntent?: string | undefined;
@@ -3175,19 +3180,19 @@ declare const variantWorkItemInputSchemas: {
3175
3180
  references?: {
3176
3181
  title: string;
3177
3182
  id: string;
3183
+ reason?: string | undefined;
3178
3184
  url?: string | undefined;
3179
3185
  image?: {
3180
3186
  hash: string;
3181
3187
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3182
3188
  } | undefined;
3183
- reason?: string | undefined;
3184
3189
  }[] | undefined;
3185
3190
  label?: string | undefined;
3186
3191
  userIntent?: string | undefined;
3187
3192
  })[];
3188
3193
  rivetActions: {
3189
- kind: "extract_design_system" | "describe_motion";
3190
3194
  reason: string;
3195
+ kind: "extract_design_system" | "describe_motion";
3191
3196
  id: string;
3192
3197
  sourceIds: string[];
3193
3198
  outputMetadataIds?: string[] | undefined;
@@ -3292,12 +3297,12 @@ declare const variantWorkItemInputSchemas: {
3292
3297
  references?: {
3293
3298
  title: string;
3294
3299
  id: string;
3300
+ reason?: string | undefined;
3295
3301
  url?: string | undefined;
3296
3302
  image?: {
3297
3303
  hash: string;
3298
3304
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3299
3305
  } | undefined;
3300
- reason?: string | undefined;
3301
3306
  }[] | undefined;
3302
3307
  label?: string | undefined;
3303
3308
  userIntent?: string | undefined;
@@ -3315,12 +3320,12 @@ declare const variantWorkItemInputSchemas: {
3315
3320
  references?: {
3316
3321
  title: string;
3317
3322
  id: string;
3323
+ reason?: string | undefined;
3318
3324
  url?: string | undefined;
3319
3325
  image?: {
3320
3326
  hash: string;
3321
3327
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3322
3328
  } | undefined;
3323
- reason?: string | undefined;
3324
3329
  }[] | undefined;
3325
3330
  label?: string | undefined;
3326
3331
  userIntent?: string | undefined;
@@ -3364,12 +3369,12 @@ declare const variantWorkItemInputSchemas: {
3364
3369
  references?: {
3365
3370
  title: string;
3366
3371
  id: string;
3372
+ reason?: string | undefined;
3367
3373
  url?: string | undefined;
3368
3374
  image?: {
3369
3375
  hash: string;
3370
3376
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3371
3377
  } | undefined;
3372
- reason?: string | undefined;
3373
3378
  }[] | undefined;
3374
3379
  contextAssets?: {
3375
3380
  path: string;
@@ -3383,20 +3388,21 @@ declare const variantWorkItemInputSchemas: {
3383
3388
  executionMode?: "static_preview" | "vite_app" | undefined;
3384
3389
  } | undefined;
3385
3390
  target?: {
3386
- type: "file" | "element" | "route";
3391
+ type: "route" | "file" | "element";
3387
3392
  ref: string;
3388
3393
  } | undefined;
3389
3394
  references?: {
3390
3395
  title: string;
3391
3396
  id: string;
3397
+ reason?: string | undefined;
3392
3398
  url?: string | undefined;
3393
3399
  image?: {
3394
3400
  hash: string;
3395
3401
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3396
3402
  } | undefined;
3397
- reason?: string | undefined;
3398
3403
  }[] | undefined;
3399
3404
  requestId?: string | undefined;
3405
+ workerSelection?: WorkerSelection | undefined;
3400
3406
  briefId?: string | undefined;
3401
3407
  briefLabel?: string | undefined;
3402
3408
  briefBody?: string | undefined;
@@ -3412,7 +3418,7 @@ declare const variantWorkItemInputSchemas: {
3412
3418
  hash: string;
3413
3419
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3414
3420
  bytes: number;
3415
- representation: "image" | "variant" | "video-cover" | "page";
3421
+ representation: "variant" | "image" | "video-cover" | "page";
3416
3422
  alt: string;
3417
3423
  title?: string | undefined;
3418
3424
  page?: number | undefined;
@@ -3426,13 +3432,13 @@ declare const variantWorkItemInputSchemas: {
3426
3432
  kind: "url" | "repository";
3427
3433
  intent: string;
3428
3434
  digest?: string | undefined;
3435
+ revision?: string | undefined;
3429
3436
  files?: {
3430
3437
  name: string;
3431
3438
  content: string;
3432
3439
  path?: string | undefined;
3433
3440
  sha256?: string | undefined;
3434
3441
  }[] | undefined;
3435
- revision?: string | undefined;
3436
3442
  })[] | undefined;
3437
3443
  }[] | undefined;
3438
3444
  previewRoutes?: string[] | undefined;
@@ -3460,8 +3466,8 @@ declare const variantWorkItemInputSchemas: {
3460
3466
  summary: string;
3461
3467
  } | undefined;
3462
3468
  }, {
3463
- instruction: string;
3464
3469
  variantId: string;
3470
+ instruction: string;
3465
3471
  projectContext: {
3466
3472
  kind: "existing";
3467
3473
  projectPath?: string | undefined;
@@ -3495,12 +3501,12 @@ declare const variantWorkItemInputSchemas: {
3495
3501
  references?: {
3496
3502
  title: string;
3497
3503
  id: string;
3504
+ reason?: string | undefined;
3498
3505
  url?: string | undefined;
3499
3506
  image?: {
3500
3507
  hash: string;
3501
3508
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3502
3509
  } | undefined;
3503
- reason?: string | undefined;
3504
3510
  }[] | undefined;
3505
3511
  label?: string | undefined;
3506
3512
  userIntent?: string | undefined;
@@ -3518,19 +3524,19 @@ declare const variantWorkItemInputSchemas: {
3518
3524
  references?: {
3519
3525
  title: string;
3520
3526
  id: string;
3527
+ reason?: string | undefined;
3521
3528
  url?: string | undefined;
3522
3529
  image?: {
3523
3530
  hash: string;
3524
3531
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3525
3532
  } | undefined;
3526
- reason?: string | undefined;
3527
3533
  }[] | undefined;
3528
3534
  label?: string | undefined;
3529
3535
  userIntent?: string | undefined;
3530
3536
  })[];
3531
3537
  rivetActions: {
3532
- kind: "extract_design_system" | "describe_motion";
3533
3538
  reason: string;
3539
+ kind: "extract_design_system" | "describe_motion";
3534
3540
  id: string;
3535
3541
  sourceIds: string[];
3536
3542
  outputMetadataIds?: string[] | undefined;
@@ -3651,12 +3657,12 @@ declare const variantWorkItemInputSchemas: {
3651
3657
  references?: {
3652
3658
  title: string;
3653
3659
  id: string;
3660
+ reason?: string | undefined;
3654
3661
  url?: string | undefined;
3655
3662
  image?: {
3656
3663
  hash: string;
3657
3664
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3658
3665
  } | undefined;
3659
- reason?: string | undefined;
3660
3666
  }[] | undefined;
3661
3667
  label?: string | undefined;
3662
3668
  userIntent?: string | undefined;
@@ -3674,19 +3680,19 @@ declare const variantWorkItemInputSchemas: {
3674
3680
  references?: {
3675
3681
  title: string;
3676
3682
  id: string;
3683
+ reason?: string | undefined;
3677
3684
  url?: string | undefined;
3678
3685
  image?: {
3679
3686
  hash: string;
3680
3687
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3681
3688
  } | undefined;
3682
- reason?: string | undefined;
3683
3689
  }[] | undefined;
3684
3690
  label?: string | undefined;
3685
3691
  userIntent?: string | undefined;
3686
3692
  })[];
3687
3693
  rivetActions: {
3688
- kind: "extract_design_system" | "describe_motion";
3689
3694
  reason: string;
3695
+ kind: "extract_design_system" | "describe_motion";
3690
3696
  id: string;
3691
3697
  sourceIds: string[];
3692
3698
  outputMetadataIds?: string[] | undefined;
@@ -3791,12 +3797,12 @@ declare const variantWorkItemInputSchemas: {
3791
3797
  references?: {
3792
3798
  title: string;
3793
3799
  id: string;
3800
+ reason?: string | undefined;
3794
3801
  url?: string | undefined;
3795
3802
  image?: {
3796
3803
  hash: string;
3797
3804
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3798
3805
  } | undefined;
3799
- reason?: string | undefined;
3800
3806
  }[] | undefined;
3801
3807
  label?: string | undefined;
3802
3808
  userIntent?: string | undefined;
@@ -3814,12 +3820,12 @@ declare const variantWorkItemInputSchemas: {
3814
3820
  references?: {
3815
3821
  title: string;
3816
3822
  id: string;
3823
+ reason?: string | undefined;
3817
3824
  url?: string | undefined;
3818
3825
  image?: {
3819
3826
  hash: string;
3820
3827
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3821
3828
  } | undefined;
3822
- reason?: string | undefined;
3823
3829
  }[] | undefined;
3824
3830
  label?: string | undefined;
3825
3831
  userIntent?: string | undefined;
@@ -3863,12 +3869,12 @@ declare const variantWorkItemInputSchemas: {
3863
3869
  references?: {
3864
3870
  title: string;
3865
3871
  id: string;
3872
+ reason?: string | undefined;
3866
3873
  url?: string | undefined;
3867
3874
  image?: {
3868
3875
  hash: string;
3869
3876
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3870
3877
  } | undefined;
3871
- reason?: string | undefined;
3872
3878
  }[] | undefined;
3873
3879
  contextAssets?: {
3874
3880
  path: string;
@@ -3882,20 +3888,21 @@ declare const variantWorkItemInputSchemas: {
3882
3888
  executionMode?: "static_preview" | "vite_app" | undefined;
3883
3889
  } | undefined;
3884
3890
  target?: {
3885
- type: "file" | "element" | "route";
3891
+ type: "route" | "file" | "element";
3886
3892
  ref: string;
3887
3893
  } | undefined;
3888
3894
  references?: {
3889
3895
  title: string;
3890
3896
  id: string;
3897
+ reason?: string | undefined;
3891
3898
  url?: string | undefined;
3892
3899
  image?: {
3893
3900
  hash: string;
3894
3901
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
3895
3902
  } | undefined;
3896
- reason?: string | undefined;
3897
3903
  }[] | undefined;
3898
3904
  requestId?: string | undefined;
3905
+ workerSelection?: WorkerSelection | undefined;
3899
3906
  briefId?: string | undefined;
3900
3907
  briefLabel?: string | undefined;
3901
3908
  briefBody?: string | undefined;
@@ -3911,7 +3918,7 @@ declare const variantWorkItemInputSchemas: {
3911
3918
  hash: string;
3912
3919
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
3913
3920
  bytes: number;
3914
- representation: "image" | "variant" | "video-cover" | "page";
3921
+ representation: "variant" | "image" | "video-cover" | "page";
3915
3922
  alt: string;
3916
3923
  title?: string | undefined;
3917
3924
  page?: number | undefined;
@@ -3925,13 +3932,13 @@ declare const variantWorkItemInputSchemas: {
3925
3932
  kind: "url" | "repository";
3926
3933
  intent: string;
3927
3934
  digest?: string | undefined;
3935
+ revision?: string | undefined;
3928
3936
  files?: {
3929
3937
  name: string;
3930
3938
  content: string;
3931
3939
  path?: string | undefined;
3932
3940
  sha256?: string | undefined;
3933
3941
  }[] | undefined;
3934
- revision?: string | undefined;
3935
3942
  })[] | undefined;
3936
3943
  }[] | undefined;
3937
3944
  previewRoutes?: string[] | undefined;
@@ -3960,6 +3967,7 @@ declare const variantWorkItemInputSchemas: {
3960
3967
  } | undefined;
3961
3968
  }>;
3962
3969
  readonly code_gen: z.ZodObject<{
3970
+ workerSelection: z.ZodOptional<z.ZodType<WorkerSelection, z.ZodTypeDef, WorkerSelection>>;
3963
3971
  projectContext: z.ZodType<{
3964
3972
  kind: "existing";
3965
3973
  projectPath?: string | undefined;
@@ -3993,12 +4001,12 @@ declare const variantWorkItemInputSchemas: {
3993
4001
  references?: {
3994
4002
  title: string;
3995
4003
  id: string;
4004
+ reason?: string | undefined;
3996
4005
  url?: string | undefined;
3997
4006
  image?: {
3998
4007
  hash: string;
3999
4008
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4000
4009
  } | undefined;
4001
- reason?: string | undefined;
4002
4010
  }[] | undefined;
4003
4011
  label?: string | undefined;
4004
4012
  userIntent?: string | undefined;
@@ -4016,19 +4024,19 @@ declare const variantWorkItemInputSchemas: {
4016
4024
  references?: {
4017
4025
  title: string;
4018
4026
  id: string;
4027
+ reason?: string | undefined;
4019
4028
  url?: string | undefined;
4020
4029
  image?: {
4021
4030
  hash: string;
4022
4031
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4023
4032
  } | undefined;
4024
- reason?: string | undefined;
4025
4033
  }[] | undefined;
4026
4034
  label?: string | undefined;
4027
4035
  userIntent?: string | undefined;
4028
4036
  })[];
4029
4037
  rivetActions: {
4030
- kind: "extract_design_system" | "describe_motion";
4031
4038
  reason: string;
4039
+ kind: "extract_design_system" | "describe_motion";
4032
4040
  id: string;
4033
4041
  sourceIds: string[];
4034
4042
  outputMetadataIds?: string[] | undefined;
@@ -4149,12 +4157,12 @@ declare const variantWorkItemInputSchemas: {
4149
4157
  references?: {
4150
4158
  title: string;
4151
4159
  id: string;
4160
+ reason?: string | undefined;
4152
4161
  url?: string | undefined;
4153
4162
  image?: {
4154
4163
  hash: string;
4155
4164
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4156
4165
  } | undefined;
4157
- reason?: string | undefined;
4158
4166
  }[] | undefined;
4159
4167
  label?: string | undefined;
4160
4168
  userIntent?: string | undefined;
@@ -4172,19 +4180,19 @@ declare const variantWorkItemInputSchemas: {
4172
4180
  references?: {
4173
4181
  title: string;
4174
4182
  id: string;
4183
+ reason?: string | undefined;
4175
4184
  url?: string | undefined;
4176
4185
  image?: {
4177
4186
  hash: string;
4178
4187
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4179
4188
  } | undefined;
4180
- reason?: string | undefined;
4181
4189
  }[] | undefined;
4182
4190
  label?: string | undefined;
4183
4191
  userIntent?: string | undefined;
4184
4192
  })[];
4185
4193
  rivetActions: {
4186
- kind: "extract_design_system" | "describe_motion";
4187
4194
  reason: string;
4195
+ kind: "extract_design_system" | "describe_motion";
4188
4196
  id: string;
4189
4197
  sourceIds: string[];
4190
4198
  outputMetadataIds?: string[] | undefined;
@@ -4294,12 +4302,12 @@ declare const variantWorkItemInputSchemas: {
4294
4302
  references?: {
4295
4303
  title: string;
4296
4304
  id: string;
4305
+ reason?: string | undefined;
4297
4306
  url?: string | undefined;
4298
4307
  image?: {
4299
4308
  hash: string;
4300
4309
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4301
4310
  } | undefined;
4302
- reason?: string | undefined;
4303
4311
  }[] | undefined;
4304
4312
  label?: string | undefined;
4305
4313
  userIntent?: string | undefined;
@@ -4317,19 +4325,19 @@ declare const variantWorkItemInputSchemas: {
4317
4325
  references?: {
4318
4326
  title: string;
4319
4327
  id: string;
4328
+ reason?: string | undefined;
4320
4329
  url?: string | undefined;
4321
4330
  image?: {
4322
4331
  hash: string;
4323
4332
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4324
4333
  } | undefined;
4325
- reason?: string | undefined;
4326
4334
  }[] | undefined;
4327
4335
  label?: string | undefined;
4328
4336
  userIntent?: string | undefined;
4329
4337
  })[];
4330
4338
  rivetActions: {
4331
- kind: "extract_design_system" | "describe_motion";
4332
4339
  reason: string;
4340
+ kind: "extract_design_system" | "describe_motion";
4333
4341
  id: string;
4334
4342
  sourceIds: string[];
4335
4343
  outputMetadataIds?: string[] | undefined;
@@ -4450,12 +4458,12 @@ declare const variantWorkItemInputSchemas: {
4450
4458
  references?: {
4451
4459
  title: string;
4452
4460
  id: string;
4461
+ reason?: string | undefined;
4453
4462
  url?: string | undefined;
4454
4463
  image?: {
4455
4464
  hash: string;
4456
4465
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4457
4466
  } | undefined;
4458
- reason?: string | undefined;
4459
4467
  }[] | undefined;
4460
4468
  label?: string | undefined;
4461
4469
  userIntent?: string | undefined;
@@ -4473,19 +4481,19 @@ declare const variantWorkItemInputSchemas: {
4473
4481
  references?: {
4474
4482
  title: string;
4475
4483
  id: string;
4484
+ reason?: string | undefined;
4476
4485
  url?: string | undefined;
4477
4486
  image?: {
4478
4487
  hash: string;
4479
4488
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4480
4489
  } | undefined;
4481
- reason?: string | undefined;
4482
4490
  }[] | undefined;
4483
4491
  label?: string | undefined;
4484
4492
  userIntent?: string | undefined;
4485
4493
  })[];
4486
4494
  rivetActions: {
4487
- kind: "extract_design_system" | "describe_motion";
4488
4495
  reason: string;
4496
+ kind: "extract_design_system" | "describe_motion";
4489
4497
  id: string;
4490
4498
  sourceIds: string[];
4491
4499
  outputMetadataIds?: string[] | undefined;
@@ -4576,7 +4584,7 @@ declare const variantWorkItemInputSchemas: {
4576
4584
  hash: string;
4577
4585
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
4578
4586
  bytes: number;
4579
- representation: "image" | "variant" | "video-cover" | "page";
4587
+ representation: "variant" | "image" | "video-cover" | "page";
4580
4588
  alt: string;
4581
4589
  title?: string | undefined;
4582
4590
  page?: number | undefined;
@@ -4590,13 +4598,13 @@ declare const variantWorkItemInputSchemas: {
4590
4598
  kind: "url" | "repository";
4591
4599
  intent: string;
4592
4600
  digest?: string | undefined;
4601
+ revision?: string | undefined;
4593
4602
  files?: {
4594
4603
  name: string;
4595
4604
  content: string;
4596
4605
  path?: string | undefined;
4597
4606
  sha256?: string | undefined;
4598
4607
  }[] | undefined;
4599
- revision?: string | undefined;
4600
4608
  })[] | undefined;
4601
4609
  }, z.ZodTypeDef, {
4602
4610
  title: string;
@@ -4608,7 +4616,7 @@ declare const variantWorkItemInputSchemas: {
4608
4616
  hash: string;
4609
4617
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
4610
4618
  bytes: number;
4611
- representation: "image" | "variant" | "video-cover" | "page";
4619
+ representation: "variant" | "image" | "video-cover" | "page";
4612
4620
  alt: string;
4613
4621
  title?: string | undefined;
4614
4622
  page?: number | undefined;
@@ -4622,34 +4630,34 @@ declare const variantWorkItemInputSchemas: {
4622
4630
  kind: "url" | "repository";
4623
4631
  intent: string;
4624
4632
  digest?: string | undefined;
4633
+ revision?: string | undefined;
4625
4634
  files?: {
4626
4635
  name: string;
4627
4636
  content: string;
4628
4637
  path?: string | undefined;
4629
4638
  sha256?: string | undefined;
4630
4639
  }[] | undefined;
4631
- revision?: string | undefined;
4632
4640
  })[] | undefined;
4633
4641
  }>, "many">>;
4634
4642
  previewRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4635
4643
  references: z.ZodOptional<z.ZodArray<z.ZodType<{
4636
4644
  title: string;
4637
4645
  id: string;
4646
+ reason?: string | undefined;
4638
4647
  url?: string | undefined;
4639
4648
  image?: {
4640
4649
  hash: string;
4641
4650
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4642
4651
  } | undefined;
4643
- reason?: string | undefined;
4644
4652
  }, z.ZodTypeDef, {
4645
4653
  title: string;
4646
4654
  id: string;
4655
+ reason?: string | undefined;
4647
4656
  url?: string | undefined;
4648
4657
  image?: {
4649
4658
  hash: string;
4650
4659
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4651
4660
  } | undefined;
4652
- reason?: string | undefined;
4653
4661
  }>, "many">>;
4654
4662
  runLabel: z.ZodOptional<z.ZodString>;
4655
4663
  requestId: z.ZodOptional<z.ZodString>;
@@ -4659,10 +4667,10 @@ declare const variantWorkItemInputSchemas: {
4659
4667
  sourceBody: z.ZodOptional<z.ZodString>;
4660
4668
  currentHtml: z.ZodOptional<z.ZodString>;
4661
4669
  target: z.ZodOptional<z.ZodType<{
4662
- type: "file" | "element" | "route";
4670
+ type: "route" | "file" | "element";
4663
4671
  ref: string;
4664
4672
  }, z.ZodTypeDef, {
4665
- type: "file" | "element" | "route";
4673
+ type: "route" | "file" | "element";
4666
4674
  ref: string;
4667
4675
  }>>;
4668
4676
  targetElement: z.ZodOptional<z.ZodType<StaticPreviewTargetElement, z.ZodTypeDef, StaticPreviewTargetElement>>;
@@ -4710,12 +4718,12 @@ declare const variantWorkItemInputSchemas: {
4710
4718
  references?: {
4711
4719
  title: string;
4712
4720
  id: string;
4721
+ reason?: string | undefined;
4713
4722
  url?: string | undefined;
4714
4723
  image?: {
4715
4724
  hash: string;
4716
4725
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4717
4726
  } | undefined;
4718
- reason?: string | undefined;
4719
4727
  }[] | undefined;
4720
4728
  label?: string | undefined;
4721
4729
  userIntent?: string | undefined;
@@ -4733,12 +4741,12 @@ declare const variantWorkItemInputSchemas: {
4733
4741
  references?: {
4734
4742
  title: string;
4735
4743
  id: string;
4744
+ reason?: string | undefined;
4736
4745
  url?: string | undefined;
4737
4746
  image?: {
4738
4747
  hash: string;
4739
4748
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4740
4749
  } | undefined;
4741
- reason?: string | undefined;
4742
4750
  }[] | undefined;
4743
4751
  label?: string | undefined;
4744
4752
  userIntent?: string | undefined;
@@ -4782,12 +4790,12 @@ declare const variantWorkItemInputSchemas: {
4782
4790
  references?: {
4783
4791
  title: string;
4784
4792
  id: string;
4793
+ reason?: string | undefined;
4785
4794
  url?: string | undefined;
4786
4795
  image?: {
4787
4796
  hash: string;
4788
4797
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4789
4798
  } | undefined;
4790
- reason?: string | undefined;
4791
4799
  }[] | undefined;
4792
4800
  contextAssets?: {
4793
4801
  path: string;
@@ -4826,12 +4834,12 @@ declare const variantWorkItemInputSchemas: {
4826
4834
  references?: {
4827
4835
  title: string;
4828
4836
  id: string;
4837
+ reason?: string | undefined;
4829
4838
  url?: string | undefined;
4830
4839
  image?: {
4831
4840
  hash: string;
4832
4841
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4833
4842
  } | undefined;
4834
- reason?: string | undefined;
4835
4843
  }[] | undefined;
4836
4844
  label?: string | undefined;
4837
4845
  userIntent?: string | undefined;
@@ -4849,12 +4857,12 @@ declare const variantWorkItemInputSchemas: {
4849
4857
  references?: {
4850
4858
  title: string;
4851
4859
  id: string;
4860
+ reason?: string | undefined;
4852
4861
  url?: string | undefined;
4853
4862
  image?: {
4854
4863
  hash: string;
4855
4864
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4856
4865
  } | undefined;
4857
- reason?: string | undefined;
4858
4866
  }[] | undefined;
4859
4867
  label?: string | undefined;
4860
4868
  userIntent?: string | undefined;
@@ -4898,12 +4906,12 @@ declare const variantWorkItemInputSchemas: {
4898
4906
  references?: {
4899
4907
  title: string;
4900
4908
  id: string;
4909
+ reason?: string | undefined;
4901
4910
  url?: string | undefined;
4902
4911
  image?: {
4903
4912
  hash: string;
4904
4913
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4905
4914
  } | undefined;
4906
- reason?: string | undefined;
4907
4915
  }[] | undefined;
4908
4916
  contextAssets?: {
4909
4917
  path: string;
@@ -4971,12 +4979,12 @@ declare const variantWorkItemInputSchemas: {
4971
4979
  references?: {
4972
4980
  title: string;
4973
4981
  id: string;
4982
+ reason?: string | undefined;
4974
4983
  url?: string | undefined;
4975
4984
  image?: {
4976
4985
  hash: string;
4977
4986
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
4978
4987
  } | undefined;
4979
- reason?: string | undefined;
4980
4988
  }[] | undefined;
4981
4989
  label?: string | undefined;
4982
4990
  userIntent?: string | undefined;
@@ -4994,19 +5002,19 @@ declare const variantWorkItemInputSchemas: {
4994
5002
  references?: {
4995
5003
  title: string;
4996
5004
  id: string;
5005
+ reason?: string | undefined;
4997
5006
  url?: string | undefined;
4998
5007
  image?: {
4999
5008
  hash: string;
5000
5009
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5001
5010
  } | undefined;
5002
- reason?: string | undefined;
5003
5011
  }[] | undefined;
5004
5012
  label?: string | undefined;
5005
5013
  userIntent?: string | undefined;
5006
5014
  })[];
5007
5015
  rivetActions: {
5008
- kind: "extract_design_system" | "describe_motion";
5009
5016
  reason: string;
5017
+ kind: "extract_design_system" | "describe_motion";
5010
5018
  id: string;
5011
5019
  sourceIds: string[];
5012
5020
  outputMetadataIds?: string[] | undefined;
@@ -5127,12 +5135,12 @@ declare const variantWorkItemInputSchemas: {
5127
5135
  references?: {
5128
5136
  title: string;
5129
5137
  id: string;
5138
+ reason?: string | undefined;
5130
5139
  url?: string | undefined;
5131
5140
  image?: {
5132
5141
  hash: string;
5133
5142
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5134
5143
  } | undefined;
5135
- reason?: string | undefined;
5136
5144
  }[] | undefined;
5137
5145
  label?: string | undefined;
5138
5146
  userIntent?: string | undefined;
@@ -5150,19 +5158,19 @@ declare const variantWorkItemInputSchemas: {
5150
5158
  references?: {
5151
5159
  title: string;
5152
5160
  id: string;
5161
+ reason?: string | undefined;
5153
5162
  url?: string | undefined;
5154
5163
  image?: {
5155
5164
  hash: string;
5156
5165
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5157
5166
  } | undefined;
5158
- reason?: string | undefined;
5159
5167
  }[] | undefined;
5160
5168
  label?: string | undefined;
5161
5169
  userIntent?: string | undefined;
5162
5170
  })[];
5163
5171
  rivetActions: {
5164
- kind: "extract_design_system" | "describe_motion";
5165
5172
  reason: string;
5173
+ kind: "extract_design_system" | "describe_motion";
5166
5174
  id: string;
5167
5175
  sourceIds: string[];
5168
5176
  outputMetadataIds?: string[] | undefined;
@@ -5243,7 +5251,6 @@ declare const variantWorkItemInputSchemas: {
5243
5251
  briefId: string;
5244
5252
  briefLabel: string;
5245
5253
  briefBody: string;
5246
- instruction?: string | undefined;
5247
5254
  context?: {
5248
5255
  brief: {
5249
5256
  label: string;
@@ -5271,12 +5278,12 @@ declare const variantWorkItemInputSchemas: {
5271
5278
  references?: {
5272
5279
  title: string;
5273
5280
  id: string;
5281
+ reason?: string | undefined;
5274
5282
  url?: string | undefined;
5275
5283
  image?: {
5276
5284
  hash: string;
5277
5285
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5278
5286
  } | undefined;
5279
- reason?: string | undefined;
5280
5287
  }[] | undefined;
5281
5288
  label?: string | undefined;
5282
5289
  userIntent?: string | undefined;
@@ -5294,12 +5301,12 @@ declare const variantWorkItemInputSchemas: {
5294
5301
  references?: {
5295
5302
  title: string;
5296
5303
  id: string;
5304
+ reason?: string | undefined;
5297
5305
  url?: string | undefined;
5298
5306
  image?: {
5299
5307
  hash: string;
5300
5308
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5301
5309
  } | undefined;
5302
- reason?: string | undefined;
5303
5310
  }[] | undefined;
5304
5311
  label?: string | undefined;
5305
5312
  userIntent?: string | undefined;
@@ -5343,12 +5350,12 @@ declare const variantWorkItemInputSchemas: {
5343
5350
  references?: {
5344
5351
  title: string;
5345
5352
  id: string;
5353
+ reason?: string | undefined;
5346
5354
  url?: string | undefined;
5347
5355
  image?: {
5348
5356
  hash: string;
5349
5357
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5350
5358
  } | undefined;
5351
- reason?: string | undefined;
5352
5359
  }[] | undefined;
5353
5360
  contextAssets?: {
5354
5361
  path: string;
@@ -5362,21 +5369,23 @@ declare const variantWorkItemInputSchemas: {
5362
5369
  executionMode?: "static_preview" | "vite_app" | undefined;
5363
5370
  } | undefined;
5364
5371
  target?: {
5365
- type: "file" | "element" | "route";
5372
+ type: "route" | "file" | "element";
5366
5373
  ref: string;
5367
5374
  } | undefined;
5368
5375
  references?: {
5369
5376
  title: string;
5370
5377
  id: string;
5378
+ reason?: string | undefined;
5371
5379
  url?: string | undefined;
5372
5380
  image?: {
5373
5381
  hash: string;
5374
5382
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5375
5383
  } | undefined;
5376
- reason?: string | undefined;
5377
5384
  }[] | undefined;
5378
5385
  variantId?: string | undefined;
5379
5386
  requestId?: string | undefined;
5387
+ instruction?: string | undefined;
5388
+ workerSelection?: WorkerSelection | undefined;
5380
5389
  briefNotes?: string | undefined;
5381
5390
  visualReferenceUrl?: string | undefined;
5382
5391
  guidance?: {
@@ -5389,7 +5398,7 @@ declare const variantWorkItemInputSchemas: {
5389
5398
  hash: string;
5390
5399
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5391
5400
  bytes: number;
5392
- representation: "image" | "variant" | "video-cover" | "page";
5401
+ representation: "variant" | "image" | "video-cover" | "page";
5393
5402
  alt: string;
5394
5403
  title?: string | undefined;
5395
5404
  page?: number | undefined;
@@ -5403,13 +5412,13 @@ declare const variantWorkItemInputSchemas: {
5403
5412
  kind: "url" | "repository";
5404
5413
  intent: string;
5405
5414
  digest?: string | undefined;
5415
+ revision?: string | undefined;
5406
5416
  files?: {
5407
5417
  name: string;
5408
5418
  content: string;
5409
5419
  path?: string | undefined;
5410
5420
  sha256?: string | undefined;
5411
5421
  }[] | undefined;
5412
- revision?: string | undefined;
5413
5422
  })[] | undefined;
5414
5423
  }[] | undefined;
5415
5424
  previewRoutes?: string[] | undefined;
@@ -5470,12 +5479,12 @@ declare const variantWorkItemInputSchemas: {
5470
5479
  references?: {
5471
5480
  title: string;
5472
5481
  id: string;
5482
+ reason?: string | undefined;
5473
5483
  url?: string | undefined;
5474
5484
  image?: {
5475
5485
  hash: string;
5476
5486
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5477
5487
  } | undefined;
5478
- reason?: string | undefined;
5479
5488
  }[] | undefined;
5480
5489
  label?: string | undefined;
5481
5490
  userIntent?: string | undefined;
@@ -5493,19 +5502,19 @@ declare const variantWorkItemInputSchemas: {
5493
5502
  references?: {
5494
5503
  title: string;
5495
5504
  id: string;
5505
+ reason?: string | undefined;
5496
5506
  url?: string | undefined;
5497
5507
  image?: {
5498
5508
  hash: string;
5499
5509
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5500
5510
  } | undefined;
5501
- reason?: string | undefined;
5502
5511
  }[] | undefined;
5503
5512
  label?: string | undefined;
5504
5513
  userIntent?: string | undefined;
5505
5514
  })[];
5506
5515
  rivetActions: {
5507
- kind: "extract_design_system" | "describe_motion";
5508
5516
  reason: string;
5517
+ kind: "extract_design_system" | "describe_motion";
5509
5518
  id: string;
5510
5519
  sourceIds: string[];
5511
5520
  outputMetadataIds?: string[] | undefined;
@@ -5626,12 +5635,12 @@ declare const variantWorkItemInputSchemas: {
5626
5635
  references?: {
5627
5636
  title: string;
5628
5637
  id: string;
5638
+ reason?: string | undefined;
5629
5639
  url?: string | undefined;
5630
5640
  image?: {
5631
5641
  hash: string;
5632
5642
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5633
5643
  } | undefined;
5634
- reason?: string | undefined;
5635
5644
  }[] | undefined;
5636
5645
  label?: string | undefined;
5637
5646
  userIntent?: string | undefined;
@@ -5649,19 +5658,19 @@ declare const variantWorkItemInputSchemas: {
5649
5658
  references?: {
5650
5659
  title: string;
5651
5660
  id: string;
5661
+ reason?: string | undefined;
5652
5662
  url?: string | undefined;
5653
5663
  image?: {
5654
5664
  hash: string;
5655
5665
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5656
5666
  } | undefined;
5657
- reason?: string | undefined;
5658
5667
  }[] | undefined;
5659
5668
  label?: string | undefined;
5660
5669
  userIntent?: string | undefined;
5661
5670
  })[];
5662
5671
  rivetActions: {
5663
- kind: "extract_design_system" | "describe_motion";
5664
5672
  reason: string;
5673
+ kind: "extract_design_system" | "describe_motion";
5665
5674
  id: string;
5666
5675
  sourceIds: string[];
5667
5676
  outputMetadataIds?: string[] | undefined;
@@ -5742,7 +5751,6 @@ declare const variantWorkItemInputSchemas: {
5742
5751
  briefId: string;
5743
5752
  briefLabel: string;
5744
5753
  briefBody: string;
5745
- instruction?: string | undefined;
5746
5754
  context?: {
5747
5755
  brief: {
5748
5756
  label: string;
@@ -5770,12 +5778,12 @@ declare const variantWorkItemInputSchemas: {
5770
5778
  references?: {
5771
5779
  title: string;
5772
5780
  id: string;
5781
+ reason?: string | undefined;
5773
5782
  url?: string | undefined;
5774
5783
  image?: {
5775
5784
  hash: string;
5776
5785
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5777
5786
  } | undefined;
5778
- reason?: string | undefined;
5779
5787
  }[] | undefined;
5780
5788
  label?: string | undefined;
5781
5789
  userIntent?: string | undefined;
@@ -5793,12 +5801,12 @@ declare const variantWorkItemInputSchemas: {
5793
5801
  references?: {
5794
5802
  title: string;
5795
5803
  id: string;
5804
+ reason?: string | undefined;
5796
5805
  url?: string | undefined;
5797
5806
  image?: {
5798
5807
  hash: string;
5799
5808
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5800
5809
  } | undefined;
5801
- reason?: string | undefined;
5802
5810
  }[] | undefined;
5803
5811
  label?: string | undefined;
5804
5812
  userIntent?: string | undefined;
@@ -5842,12 +5850,12 @@ declare const variantWorkItemInputSchemas: {
5842
5850
  references?: {
5843
5851
  title: string;
5844
5852
  id: string;
5853
+ reason?: string | undefined;
5845
5854
  url?: string | undefined;
5846
5855
  image?: {
5847
5856
  hash: string;
5848
5857
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5849
5858
  } | undefined;
5850
- reason?: string | undefined;
5851
5859
  }[] | undefined;
5852
5860
  contextAssets?: {
5853
5861
  path: string;
@@ -5861,21 +5869,23 @@ declare const variantWorkItemInputSchemas: {
5861
5869
  executionMode?: "static_preview" | "vite_app" | undefined;
5862
5870
  } | undefined;
5863
5871
  target?: {
5864
- type: "file" | "element" | "route";
5872
+ type: "route" | "file" | "element";
5865
5873
  ref: string;
5866
5874
  } | undefined;
5867
5875
  references?: {
5868
5876
  title: string;
5869
5877
  id: string;
5878
+ reason?: string | undefined;
5870
5879
  url?: string | undefined;
5871
5880
  image?: {
5872
5881
  hash: string;
5873
5882
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "image/avif";
5874
5883
  } | undefined;
5875
- reason?: string | undefined;
5876
5884
  }[] | undefined;
5877
5885
  variantId?: string | undefined;
5878
5886
  requestId?: string | undefined;
5887
+ instruction?: string | undefined;
5888
+ workerSelection?: WorkerSelection | undefined;
5879
5889
  briefNotes?: string | undefined;
5880
5890
  visualReferenceUrl?: string | undefined;
5881
5891
  guidance?: {
@@ -5888,7 +5898,7 @@ declare const variantWorkItemInputSchemas: {
5888
5898
  hash: string;
5889
5899
  mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
5890
5900
  bytes: number;
5891
- representation: "image" | "variant" | "video-cover" | "page";
5901
+ representation: "variant" | "image" | "video-cover" | "page";
5892
5902
  alt: string;
5893
5903
  title?: string | undefined;
5894
5904
  page?: number | undefined;
@@ -5902,13 +5912,13 @@ declare const variantWorkItemInputSchemas: {
5902
5912
  kind: "url" | "repository";
5903
5913
  intent: string;
5904
5914
  digest?: string | undefined;
5915
+ revision?: string | undefined;
5905
5916
  files?: {
5906
5917
  name: string;
5907
5918
  content: string;
5908
5919
  path?: string | undefined;
5909
5920
  sha256?: string | undefined;
5910
5921
  }[] | undefined;
5911
- revision?: string | undefined;
5912
5922
  })[] | undefined;
5913
5923
  }[] | undefined;
5914
5924
  previewRoutes?: string[] | undefined;