@alwith/module-chat 0.5.26 → 0.5.28

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 (339) hide show
  1. package/dist/activity-host.js +1 -1
  2. package/dist/approval/choice-elicitation-form.js +1 -1
  3. package/dist/approval/choice-schema.js +1 -1
  4. package/dist/approval/permission-options.js +1 -1
  5. package/dist/approval/permission-view.js +1 -1
  6. package/dist/approval/schema-elicitation-form.js +1 -1
  7. package/dist/approval/url-elicitation-card.js +1 -1
  8. package/dist/chunk-02mwhdhw.js +2 -0
  9. package/dist/{chunk-rsp574n3.js → chunk-074wn2jr.js} +2 -2
  10. package/dist/{chunk-jnc6b9r3.js → chunk-0stda83g.js} +2 -2
  11. package/dist/{chunk-k2gwmccn.js → chunk-0tzra5rn.js} +1 -1
  12. package/dist/{chunk-w233xc7k.js → chunk-0v2d2kme.js} +3 -3
  13. package/dist/chunk-0w6g1w1a.js +2 -0
  14. package/dist/chunk-0wr12bg8.js +2 -0
  15. package/dist/{chunk-a63k8tht.js → chunk-1341xyde.js} +2 -2
  16. package/dist/{chunk-xdm2are3.js → chunk-18j37y1m.js} +2 -2
  17. package/dist/{chunk-1zh28e39.js → chunk-1mcg9mwq.js} +2 -2
  18. package/dist/chunk-1sxf2rqx.js +2 -0
  19. package/dist/chunk-2aw4d623.js +2 -0
  20. package/dist/chunk-2fgwkj52.js +3 -0
  21. package/dist/{chunk-3jwbx8ch.js → chunk-2twh547k.js} +2 -2
  22. package/dist/{chunk-q0fhp33b.js → chunk-3137n54p.js} +2 -2
  23. package/dist/{chunk-x5swmb1j.js → chunk-31s3s58d.js} +2 -2
  24. package/dist/{chunk-nv3z0brr.js → chunk-3jd4dkv4.js} +2 -2
  25. package/dist/chunk-3jw1yt27.js +2 -0
  26. package/dist/{chunk-f06zyvek.js → chunk-3kk0rxch.js} +2 -2
  27. package/dist/{chunk-pv5g85k0.js → chunk-41z12m3j.js} +4 -4
  28. package/dist/{chunk-hf3t1bxh.js → chunk-45542yk3.js} +2 -2
  29. package/dist/{chunk-t2z4venp.js → chunk-4edeen4z.js} +2 -2
  30. package/dist/{chunk-wgta9nfd.js → chunk-4j2c9r6m.js} +2 -2
  31. package/dist/{chunk-81paw5rb.js → chunk-4kbkbvjp.js} +2 -2
  32. package/dist/chunk-4phhhm7t.js +2 -0
  33. package/dist/{chunk-a15vdarc.js → chunk-4saf1qa5.js} +2 -2
  34. package/dist/{chunk-n8yww1mr.js → chunk-53qt3tjb.js} +1 -1
  35. package/dist/chunk-546h1tk7.js +2 -0
  36. package/dist/{chunk-6g7btgsr.js → chunk-5b19mbh6.js} +2 -2
  37. package/dist/{chunk-jsabvejp.js → chunk-5t5y5e8n.js} +1 -1
  38. package/dist/{chunk-b7z51agd.js → chunk-5yb7twvm.js} +1 -1
  39. package/dist/{chunk-h9m4z5dk.js → chunk-5ysapftt.js} +3 -3
  40. package/dist/{chunk-s7yzvpmc.js → chunk-5yzjwrat.js} +3 -3
  41. package/dist/{chunk-rezwwmw7.js → chunk-6e1bwjtk.js} +2 -2
  42. package/dist/{chunk-8zrfdjy4.js → chunk-6k8m2c80.js} +2 -2
  43. package/dist/{chunk-ap6sr2c6.js → chunk-6t5war9h.js} +2 -2
  44. package/dist/{chunk-v5mzxjzc.js → chunk-6vntcyv6.js} +2 -2
  45. package/dist/{chunk-rp39j6ed.js → chunk-6w6yy1md.js} +2 -2
  46. package/dist/{chunk-ef99py8a.js → chunk-6whr1y2s.js} +2 -2
  47. package/dist/{chunk-81r1geaz.js → chunk-75vtd3ww.js} +2 -2
  48. package/dist/{chunk-1dbc0cfj.js → chunk-79jjxyb7.js} +2 -2
  49. package/dist/{chunk-22tg663v.js → chunk-7x1qnb20.js} +2 -2
  50. package/dist/chunk-7zryea1b.js +2 -0
  51. package/dist/{chunk-46phvpzh.js → chunk-84yjrafh.js} +2 -2
  52. package/dist/{chunk-fgk4f0jq.js → chunk-8a61phqa.js} +2 -2
  53. package/dist/{chunk-725wv6ca.js → chunk-8bdeyvy3.js} +2 -2
  54. package/dist/chunk-8em7tfgz.js +2 -0
  55. package/dist/chunk-8fnjpx11.js +2 -0
  56. package/dist/{chunk-awfvvmjt.js → chunk-8gztbvxt.js} +2 -2
  57. package/dist/chunk-8kwxqckk.js +2 -0
  58. package/dist/{chunk-3xh0e0ya.js → chunk-8qyb69g5.js} +1 -1
  59. package/dist/{chunk-qn4zvgc9.js → chunk-8xb3b71p.js} +2 -2
  60. package/dist/{chunk-92xxp77d.js → chunk-90r8y97z.js} +2 -2
  61. package/dist/{chunk-vr0dfq9w.js → chunk-91zvyqnt.js} +2 -2
  62. package/dist/chunk-93y78gn4.js +2 -0
  63. package/dist/{chunk-10emnq39.js → chunk-95mynf7q.js} +2 -2
  64. package/dist/{chunk-wtf1eyzy.js → chunk-95qfzbmx.js} +1 -1
  65. package/dist/{chunk-nh0s0y35.js → chunk-98cbjkvk.js} +3 -3
  66. package/dist/{chunk-bfcswk98.js → chunk-99w9jq4v.js} +2 -2
  67. package/dist/{chunk-1k21j77z.js → chunk-9cqpn67f.js} +2 -2
  68. package/dist/chunk-9gt81b51.js +2 -0
  69. package/dist/{chunk-ch5v5zsw.js → chunk-9x0qmswv.js} +1 -1
  70. package/dist/chunk-az5ayr2d.js +2 -0
  71. package/dist/{chunk-pqphdgp6.js → chunk-b67h7yss.js} +1 -1
  72. package/dist/chunk-bfqqsv6a.js +2 -0
  73. package/dist/{chunk-nsb0d92p.js → chunk-br9wsczn.js} +2 -2
  74. package/dist/{chunk-vgrjqwbq.js → chunk-c0b3zze8.js} +2 -2
  75. package/dist/chunk-c26xgmyr.js +2 -0
  76. package/dist/chunk-cd4v63j8.js +2 -0
  77. package/dist/{chunk-dwn6bx69.js → chunk-d0cb9bks.js} +1 -1
  78. package/dist/{chunk-gha517v4.js → chunk-d0w04ydg.js} +2 -2
  79. package/dist/chunk-dtsybj2a.js +2 -0
  80. package/dist/{chunk-btdrvsgy.js → chunk-dxgha4a2.js} +2 -2
  81. package/dist/{chunk-2x9mxyxr.js → chunk-e2q5znh5.js} +2 -2
  82. package/dist/{chunk-rnrs0cqn.js → chunk-e43x30mv.js} +1 -1
  83. package/dist/{chunk-y1mqx60y.js → chunk-ee0krzt0.js} +2 -2
  84. package/dist/chunk-eg86g265.js +2 -0
  85. package/dist/{chunk-crx8p5zx.js → chunk-ehdqspxk.js} +2 -2
  86. package/dist/chunk-ek4acj2p.js +2 -0
  87. package/dist/{chunk-k1vkc88d.js → chunk-epg5w48v.js} +2 -2
  88. package/dist/chunk-eqwga6j5.js +2 -0
  89. package/dist/chunk-f7mgf43p.js +2 -0
  90. package/dist/{chunk-7a668qzy.js → chunk-famkkndg.js} +2 -2
  91. package/dist/{chunk-tv0fwt2g.js → chunk-fpmspg92.js} +2 -2
  92. package/dist/{chunk-htzd730z.js → chunk-frbakxev.js} +2 -2
  93. package/dist/chunk-g7by9ta9.js +2 -0
  94. package/dist/{chunk-0kdemqjf.js → chunk-ggehtpkh.js} +2 -2
  95. package/dist/{chunk-fbq107z8.js → chunk-gsnqwd84.js} +2 -2
  96. package/dist/{chunk-5c5z2b48.js → chunk-h2ewgw0x.js} +2 -2
  97. package/dist/chunk-h6jkgcw1.js +2 -0
  98. package/dist/{chunk-e7j7mnmz.js → chunk-hck587pb.js} +2 -2
  99. package/dist/{chunk-b6nbarjg.js → chunk-hcwgc3r7.js} +2 -2
  100. package/dist/{chunk-2ac213n3.js → chunk-hs91aaaz.js} +2 -2
  101. package/dist/{chunk-w8qn76a1.js → chunk-htjpckp6.js} +5 -5
  102. package/dist/{chunk-4vk86bbk.js → chunk-jan870w7.js} +3 -3
  103. package/dist/{chunk-77cd8tev.js → chunk-jgwrjncj.js} +2 -2
  104. package/dist/{chunk-99ftqpgg.js → chunk-jkvqtwe6.js} +1 -1
  105. package/dist/{chunk-04kcmpnb.js → chunk-jrmygc4p.js} +1 -1
  106. package/dist/{chunk-tpwdaz8k.js → chunk-jrnfqqfc.js} +2 -2
  107. package/dist/{chunk-gjvpthp9.js → chunk-k2q7wjp6.js} +2 -2
  108. package/dist/{chunk-ymy8d3hp.js → chunk-k3e8wper.js} +3 -3
  109. package/dist/{chunk-t7drk9ja.js → chunk-kd87rt80.js} +2 -2
  110. package/dist/{chunk-3p9g44yz.js → chunk-m4eqmf0x.js} +5 -5
  111. package/dist/{chunk-j2y4wx1h.js → chunk-m9rgwr0p.js} +2 -2
  112. package/dist/{chunk-pp2qkwk7.js → chunk-n368fh3r.js} +3 -3
  113. package/dist/{chunk-y7ngqt59.js → chunk-ngqr3n0s.js} +2 -2
  114. package/dist/{chunk-hk66xnxp.js → chunk-pgqsw2sh.js} +2 -2
  115. package/dist/{chunk-xdvbb3av.js → chunk-pym8eb5y.js} +2 -2
  116. package/dist/{chunk-jst7n5r4.js → chunk-q0z9jq6p.js} +1 -1
  117. package/dist/{chunk-f7ggbprz.js → chunk-q70h5z14.js} +2 -2
  118. package/dist/{chunk-mttcvwhx.js → chunk-qd7jqtqr.js} +2 -2
  119. package/dist/{chunk-d3j5904d.js → chunk-qnc6w06c.js} +2 -2
  120. package/dist/{chunk-bvgqsaey.js → chunk-qxgmjjh2.js} +2 -2
  121. package/dist/{chunk-nr3spt0n.js → chunk-qy06pvy8.js} +2 -2
  122. package/dist/{chunk-09zfz3ap.js → chunk-r7svwjdg.js} +2 -2
  123. package/dist/{chunk-708232f3.js → chunk-rf5g26qv.js} +1 -1
  124. package/dist/chunk-rfn9vecr.js +2 -0
  125. package/dist/{chunk-667z0pac.js → chunk-s3h496tf.js} +2 -2
  126. package/dist/{chunk-03x33m2h.js → chunk-s56e2286.js} +2 -2
  127. package/dist/{chunk-dfcks9g4.js → chunk-s6m0ske7.js} +2 -2
  128. package/dist/{chunk-yez26qfc.js → chunk-scxhc46w.js} +2 -2
  129. package/dist/{chunk-hza92pfj.js → chunk-secfh4re.js} +2 -2
  130. package/dist/{chunk-nn72eqzh.js → chunk-shwnd0ta.js} +2 -2
  131. package/dist/{chunk-4qp43adx.js → chunk-sp39pqt6.js} +2 -2
  132. package/dist/{chunk-heyqzkxq.js → chunk-spfbykq8.js} +2 -2
  133. package/dist/{chunk-b1rvs016.js → chunk-srpsc10y.js} +1 -1
  134. package/dist/{chunk-jkbss7sb.js → chunk-szwq5b69.js} +1 -1
  135. package/dist/{chunk-730x182s.js → chunk-t3s1ydnq.js} +2 -2
  136. package/dist/{chunk-2apyrry0.js → chunk-thzq3tfa.js} +2 -2
  137. package/dist/chunk-tjkftq6f.js +2 -0
  138. package/dist/{chunk-pzmeeawh.js → chunk-tk2471ny.js} +1 -1
  139. package/dist/{chunk-epq42kf9.js → chunk-tk4t9h7r.js} +1 -1
  140. package/dist/{chunk-p58e9z34.js → chunk-v3etjs4w.js} +2 -2
  141. package/dist/{chunk-a5htm58g.js → chunk-v7rtfzg4.js} +2 -2
  142. package/dist/{chunk-wnn9r2r6.js → chunk-vm2qb3ns.js} +2 -2
  143. package/dist/chunk-wc53vqaw.js +2 -0
  144. package/dist/chunk-wcgwtn6h.js +2 -0
  145. package/dist/{chunk-chq163r8.js → chunk-wdrzhaxf.js} +2 -2
  146. package/dist/{chunk-sdf73s05.js → chunk-wpn4rdwv.js} +3 -3
  147. package/dist/{chunk-ce3wg766.js → chunk-x52rbm87.js} +2 -2
  148. package/dist/chunk-x54538jy.js +1 -0
  149. package/dist/{chunk-sjg8df4m.js → chunk-xhrs52gv.js} +2 -2
  150. package/dist/{chunk-g9gktxv9.js → chunk-xz6pb64j.js} +2 -2
  151. package/dist/{chunk-7appp9ad.js → chunk-z3dwf54f.js} +1 -1
  152. package/dist/{chunk-zyvvk8b2.js → chunk-z8njjc2c.js} +2 -2
  153. package/dist/{chunk-8xdak312.js → chunk-zfxwm1g9.js} +2 -2
  154. package/dist/{chunk-4jghs8rf.js → chunk-zx27nf5b.js} +2 -2
  155. package/dist/codex/activity-group.js +1 -1
  156. package/dist/codex/assistant-message.js +1 -1
  157. package/dist/codex/async-question-card.js +1 -1
  158. package/dist/codex/edited-files-card.js +1 -1
  159. package/dist/codex/image-view-activity.js +1 -1
  160. package/dist/codex/markdown-renderer.js +1 -1
  161. package/dist/codex/navigation-audio.js +1 -1
  162. package/dist/codex/navigation-preview.js +1 -1
  163. package/dist/codex/navigation-rail.js +1 -1
  164. package/dist/codex/patch-view.js +1 -1
  165. package/dist/codex/timeline-virtualizer.js +1 -1
  166. package/dist/codex/turn-activity.js +1 -1
  167. package/dist/codex/user-message.js +1 -1
  168. package/dist/codex/virtualized-turn-list.js +1 -1
  169. package/dist/collections/collection-emoji.js +1 -1
  170. package/dist/collections/collection-menu.js +1 -1
  171. package/dist/collections/collection-panel.js +1 -1
  172. package/dist/collections/collections.js +1 -1
  173. package/dist/collections/host.js +1 -1
  174. package/dist/collections/locales.js +1 -1
  175. package/dist/collections/model.js +1 -1
  176. package/dist/collections/store.js +1 -1
  177. package/dist/composer/completion-filter.js +1 -1
  178. package/dist/composer/completion-menu.js +1 -1
  179. package/dist/composer/effort-slider.js +1 -1
  180. package/dist/composer/menu-radio.js +1 -1
  181. package/dist/composer/model-select.js +1 -1
  182. package/dist/composer/permission-mode-select.js +1 -1
  183. package/dist/composer/prompt-input-attachments.js +1 -1
  184. package/dist/composer/prompt-input-clipboard.js +1 -1
  185. package/dist/composer/prompt-input-context.js +1 -1
  186. package/dist/composer/prompt-input-textarea.js +1 -1
  187. package/dist/composer/prompt-input.js +1 -1
  188. package/dist/conversation/action-card.js +1 -1
  189. package/dist/conversation/composer/composer.js +1 -1
  190. package/dist/conversation/composer/config-options.js +1 -1
  191. package/dist/conversation/composer/context.js +1 -1
  192. package/dist/conversation/composer/drafts.js +1 -1
  193. package/dist/conversation/composer/file-items.js +1 -1
  194. package/dist/conversation/composer/long-text.js +1 -1
  195. package/dist/conversation/composer/mention-chips.js +1 -1
  196. package/dist/conversation/composer/mention-uri.js +1 -1
  197. package/dist/conversation/composer/model-menu.js +1 -1
  198. package/dist/conversation/composer/pasted-text-attachment.js +1 -1
  199. package/dist/conversation/composer/permission-mode-menu.js +1 -1
  200. package/dist/conversation/composer/prediction.js +1 -1
  201. package/dist/conversation/composer/slash-command-button.js +1 -1
  202. package/dist/conversation/composer/submit-button.js +1 -1
  203. package/dist/conversation/composer/usage-meter.js +1 -1
  204. package/dist/conversation/connection-notice.js +1 -1
  205. package/dist/conversation/context.js +1 -1
  206. package/dist/conversation/conversation-body.js +1 -1
  207. package/dist/conversation/conversation-search.js +1 -1
  208. package/dist/conversation/conversation-view.js +1 -1
  209. package/dist/conversation/conversation.js +1 -1
  210. package/dist/conversation/diff-modal.js +1 -1
  211. package/dist/conversation/draft-project-picker.js +1 -1
  212. package/dist/conversation/session-actions.js +1 -1
  213. package/dist/conversation/subagent-sessions.js +1 -1
  214. package/dist/image-lightbox.js +1 -1
  215. package/dist/lib/code-highlighter.js +1 -1
  216. package/dist/lib/fuzzy.js +1 -1
  217. package/dist/lib/group-blocks.js +1 -1
  218. package/dist/lib/limits.js +1 -1
  219. package/dist/lib/markdown-parser.js +1 -1
  220. package/dist/lib/markdown-rules.js +1 -1
  221. package/dist/lib/model-name.js +1 -1
  222. package/dist/lib/stream-style.js +1 -1
  223. package/dist/lib/streaming-markdown.js +1 -1
  224. package/dist/locales.d.ts +52 -0
  225. package/dist/locales.js +1 -1
  226. package/dist/plugins/catalog-header.js +1 -1
  227. package/dist/plugins/catalog-skeleton.js +1 -1
  228. package/dist/plugins/host.js +1 -1
  229. package/dist/plugins/locales.js +1 -1
  230. package/dist/plugins/pane.js +1 -1
  231. package/dist/plugins/panel-item.js +1 -1
  232. package/dist/plugins/plugin-detail-page.js +1 -1
  233. package/dist/plugins/plugin-icon.js +1 -1
  234. package/dist/plugins/plugin-icons.js +1 -1
  235. package/dist/plugins/plugins-page.js +1 -1
  236. package/dist/plugins/plugins.js +1 -1
  237. package/dist/plugins/skill-document.js +1 -1
  238. package/dist/plugins/skills-tab.js +1 -1
  239. package/dist/plugins/store.js +1 -1
  240. package/dist/plugins/toolbox-layout.js +1 -1
  241. package/dist/search/chat-search.js +1 -1
  242. package/dist/search/codex-source-matches.js +1 -1
  243. package/dist/search/dom-matches.js +1 -1
  244. package/dist/search/find-bar.js +1 -1
  245. package/dist/search/literal-matches.js +1 -1
  246. package/dist/session-list/account-menu.js +1 -1
  247. package/dist/session-list/activity-list.js +1 -1
  248. package/dist/session-list/archived-sessions.js +1 -1
  249. package/dist/session-list/help-menu.js +1 -1
  250. package/dist/session-list/highlight.js +1 -1
  251. package/dist/session-list/host.js +1 -1
  252. package/dist/session-list/hover-info-card.js +1 -1
  253. package/dist/session-list/locales.d.ts +52 -0
  254. package/dist/session-list/locales.js +1 -1
  255. package/dist/session-list/navigation-controls.d.ts +9 -0
  256. package/dist/session-list/navigation-controls.js +1 -0
  257. package/dist/session-list/navigation-header.js +1 -1
  258. package/dist/session-list/navigation-store.js +1 -1
  259. package/dist/session-list/navigation-tabs.d.ts +2 -1
  260. package/dist/session-list/navigation-tabs.js +1 -1
  261. package/dist/session-list/navigation.js +1 -1
  262. package/dist/session-list/platform.js +1 -1
  263. package/dist/session-list/row-stop-button.js +1 -1
  264. package/dist/session-list/session-groups.js +1 -1
  265. package/dist/session-list/session-info-card.js +1 -1
  266. package/dist/session-list/session-list.css +11 -0
  267. package/dist/session-list/session-list.d.ts +1 -0
  268. package/dist/session-list/session-list.js +1 -1
  269. package/dist/session-list/session-row.js +1 -1
  270. package/dist/session-list/session-state-menu.js +1 -1
  271. package/dist/session-list/shortcut-hint.js +1 -1
  272. package/dist/session-list/shortcut.js +1 -1
  273. package/dist/session-list/sidebar-overlay.js +1 -1
  274. package/dist/session-list/trailing-swap.js +1 -1
  275. package/dist/session-list/use-activity-notification.js +1 -1
  276. package/dist/session-list/use-activity-preview.js +1 -1
  277. package/dist/session-list/use-cmd-held.js +1 -1
  278. package/dist/session-list/use-project-sessions.js +1 -1
  279. package/dist/session-list/virtual-session-rows.js +1 -1
  280. package/dist/session-timeline/activity-group.js +1 -1
  281. package/dist/session-timeline/activity-projection.js +1 -1
  282. package/dist/session-timeline/assistant-content.js +1 -1
  283. package/dist/session-timeline/assistant-turn.js +1 -1
  284. package/dist/session-timeline/async-questions.js +1 -1
  285. package/dist/session-timeline/edited-files-card.js +1 -1
  286. package/dist/session-timeline/history-timeline.js +1 -1
  287. package/dist/session-timeline/host.js +1 -1
  288. package/dist/session-timeline/navigation-rail.js +1 -1
  289. package/dist/session-timeline/plan.js +1 -1
  290. package/dist/session-timeline/question-reply.js +1 -1
  291. package/dist/session-timeline/resource-content.js +1 -1
  292. package/dist/session-timeline/session-timeline.js +1 -1
  293. package/dist/session-timeline/turn-activity.js +1 -1
  294. package/dist/session-timeline/turn-error.js +1 -1
  295. package/dist/session-timeline/turn-time.js +1 -1
  296. package/dist/session-timeline/turns.js +1 -1
  297. package/dist/session-timeline/use-timeline-scroll.js +1 -1
  298. package/dist/session-timeline/user-message.js +1 -1
  299. package/dist/settings/codex-account-card.js +1 -1
  300. package/dist/settings/login-card.js +1 -1
  301. package/dist/settings/model-alias-settings.js +1 -1
  302. package/dist/settings/model-aliases.js +1 -1
  303. package/dist/settings/provider-logos.js +1 -1
  304. package/dist/settings/provider-section.js +1 -1
  305. package/dist/settings/providers-port.js +1 -1
  306. package/dist/settings/providers.js +1 -1
  307. package/dist/settings/settings-bridge.js +1 -1
  308. package/dist/settings/settings.js +1 -1
  309. package/package.json +2 -2
  310. package/dist/chunk-04xjj6q3.js +0 -2
  311. package/dist/chunk-13yrk1nh.js +0 -2
  312. package/dist/chunk-2djv6s3a.js +0 -2
  313. package/dist/chunk-2dvryx1q.js +0 -2
  314. package/dist/chunk-2qgz3m2a.js +0 -2
  315. package/dist/chunk-3f3y9t21.js +0 -2
  316. package/dist/chunk-3mfdf7f8.js +0 -2
  317. package/dist/chunk-6fefnp6e.js +0 -2
  318. package/dist/chunk-6t98jn94.js +0 -2
  319. package/dist/chunk-9geb2z3g.js +0 -3
  320. package/dist/chunk-9mky3b7v.js +0 -2
  321. package/dist/chunk-a3tbf7mx.js +0 -2
  322. package/dist/chunk-a90z5e8w.js +0 -2
  323. package/dist/chunk-ab0err7k.js +0 -2
  324. package/dist/chunk-fprj3wy4.js +0 -2
  325. package/dist/chunk-h1f8wgyb.js +0 -2
  326. package/dist/chunk-k0dnnn77.js +0 -2
  327. package/dist/chunk-kpp4v1hs.js +0 -1
  328. package/dist/chunk-mahpnk66.js +0 -2
  329. package/dist/chunk-mzpdh336.js +0 -2
  330. package/dist/chunk-n432m43g.js +0 -2
  331. package/dist/chunk-p272qmbv.js +0 -2
  332. package/dist/chunk-p3hxcpfy.js +0 -2
  333. package/dist/chunk-py0zbgaj.js +0 -2
  334. package/dist/chunk-qn2jfxff.js +0 -2
  335. package/dist/chunk-rvh3nbvm.js +0 -2
  336. package/dist/chunk-s2w7e9pg.js +0 -2
  337. package/dist/chunk-v0p94epn.js +0 -2
  338. package/dist/chunk-wsbh4n9e.js +0 -2
  339. package/dist/chunk-zacep5bq.js +0 -2
@@ -1,2 +1,2 @@
1
- import{bt,Ct,wt,kt}from"./chunk-wnn9r2r6.js";var a=[{id:"litellm",source:"account",name:"ALwith",models:[{id:"deepseek-V4.1-flash",label:"DeepSeek-Flash"}],catalog:"alwith/models.json",config:{web_search:"disabled"}},{id:"deepseek",name:"DeepSeek",baseUrl:"https://api.deepseek.com/",keyUrl:"https://platform.deepseek.com/api_keys",models:[{id:"deepseek-flash",label:"DeepSeek-Flash",description:"Latest frontier agentic coding model with image input."}],catalog:"deepseek/models.json",config:{web_search:"disabled"}},{id:"openrouter",name:"OpenRouter",baseUrl:"https://openrouter.ai/api/v1",keyUrl:"https://openrouter.ai/keys",models:[{id:"moonshotai/kimi-k3",label:"Kimi K3"},{id:"minimax/minimax-m3",label:"MiniMax M3"},{id:"z-ai/glm-5.3",label:"GLM 5.3"},{id:"deepseek/deepseek-v4-pro",label:"DeepSeek V4 Pro"},{id:"qwen/qwen3.8-max-0902",label:"Qwen 3.8 Max"},{id:"x-ai/grok-4.6",label:"Grok 4.6"}],catalog:"openrouter/models.json"},{id:"qwen",name:"Qwen",regions:[{id:"intl",baseUrl:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1",keyUrl:"https://modelstudio.console.alibabacloud.com/?tab=model#/api-key"},{id:"cn",baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1",keyUrl:"https://bailian.console.aliyun.com/#/api-key"}],models:[{id:"qwen3.8-max",label:"3.8 Max"},{id:"qwen3.8-flash",label:"3.8 Flash"},{id:"qwen3.7-max",label:"3.7 Max"},{id:"qwen3.7-plus",label:"3.7 Plus"},{id:"qwen3.6-flash",label:"3.6 Flash"}],catalog:"qwen/models.json"},{id:"xai",name:"xAI",baseUrl:"https://api.x.ai/v1",keyUrl:"https://console.x.ai",models:[{id:"grok-4.6",label:"Grok 4.6"},{id:"grok-4.5",label:"Grok 4.5"},{id:"grok-4.3",label:"Grok 4.3"}],catalog:"xai/models.json"}];var l={models:[{slug:"glm-5.3",display_name:"GLM-5.3",description:"GLM-5.3 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.3-flash",display_name:"GLM-5.3-Flash",description:"GLM-5.3-Flash via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.2",display_name:"GLM-5.2",description:"GLM-5.2 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"none",description:"Disable reasoning"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.1",display_name:"GLM-5.1",description:"GLM-5.1 via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:200000,max_context_window:200000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"MiniMax-M3.1-Flash",display_name:"MiniMax M3.1 Flash",description:"MiniMax M3.1 Flash via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"xhigh",description:"Xhigh reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"MiniMax-M3",display_name:"MiniMax M3",description:"MiniMax M3 via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-evolving",display_name:"Doubao Seed Evolving",description:"Doubao Seed Evolving via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2-1-pro-260915",display_name:"Doubao Seed 2.1 Pro",description:"Doubao Seed 2.1 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2-1-lite-260915",display_name:"Doubao Seed 2.1 Lite",description:"Doubao Seed 2.1 Lite via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k3.1-pro",display_name:"Kimi K3.1 Pro",description:"Kimi K3.1 Pro via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k3",display_name:"Kimi K3",description:"Kimi K3 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k2.7-code",display_name:"Kimi K2.7 Code",description:"Kimi K2.7 Code via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:262144,max_context_window:262144,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"mimo-v2.6-pro",display_name:"MiMo V2.6 Pro",description:"MiMo V2.6 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"mimo-v2.6-flash",display_name:"MiMo V2.6 Flash",description:"MiMo V2.6 Flash via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2.1-pro",display_name:"Doubao Seed 2.1 Pro",description:"Doubao Seed 2.1 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2.1-lite",display_name:"Doubao Seed 2.1 Lite",description:"Doubao Seed 2.1 Lite via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"}]};var p={"gateway:deepseek:deepseek-flash":{shortLabel:"Flash"},"gateway:litellm:deepseek-V4.1-flash":{shortLabel:"Flash",label:"DeepSeek-Flash"}};var d=a,g={deepseek:bt,openrouter:wt,qwen:kt,xai:Ct};function m(e){let i=g[e];if(!i)throw Error(`Provider ${e} has no logo`);return i}var H=d.filter((e)=>e.source!=="account").map(({source:e,...i})=>({...i,logo:m(i.id)}));function jn(e){return e!=null&&d.some((i)=>i.source==="account"&&e.startsWith(`gateway:${encodeURIComponent(i.id)}:`))}function Ue(e){let i=JSON.parse(e);if(!Array.isArray(i)||i.length===0)throw Error("Add at least one model");let o=new Set;return i.map((s)=>{if(typeof s!=="object"||s===null||Array.isArray(s))throw Error("Each model must be an object");let t=s,r=typeof t.label==="string"?t.label.trim():"",n=typeof t.api_id==="string"?t.api_id.trim():"";if(r===""||n==="")throw Error("Model label and API ID cannot be empty");if(o.has(n))throw Error("Model IDs must be unique");if(o.add(n),t.contextWindow!==void 0&&t.contextWindow!==null&&(!Number.isSafeInteger(t.contextWindow)||t.contextWindow<=0))throw Error("Model contextWindow must be a positive integer");if(t.description!==void 0&&typeof t.description!=="string")throw Error("Model description must be a string");return{label:r,api_id:n,...t.contextWindow===void 0?{}:{contextWindow:t.contextWindow},...t.description===void 0?{}:{description:t.description}}})}function $n(e){return[...H.filter((i)=>e.providers[i.id]!==void 0).map((i)=>({id:i.id,name:i.name,models:i.models})),...[...e.customProviders,...e.managedProviders??[]].map((i)=>({id:i.id,name:i.name,models:i.models.map((o)=>({id:o.api_id,label:o.label,...o.description==null?{}:{description:o.description}}))}))]}function Be(e,i){let o=e.startsWith("custom_")?`custom-${Array.from(new TextEncoder().encode(e),(s)=>s.toString(16).padStart(2,"0")).join("")}`:e;return`gateway:${encodeURIComponent(o)}:${encodeURIComponent(i)}`}function Qi(e,i){let o=$n(i).flatMap((s)=>s.models.map((t)=>Be(s.id,t.id)));if(e!==null&&(!e.startsWith("gateway:")||o.includes(e)))return e;if(jn(e))throw Error("The selected ALwith account model is unavailable. Select another model before sending.");return o[0]??null}function j(e,i){if(!e.regions)return null;let o=e.regions.find((s)=>s.id===i)??e.regions[0];if(!o)throw Error(`Provider ${e.id} declares no regions`);return o}function yt(e,i){return j(e,i)?.keyUrl??e.keyUrl??null}function xt(e){return(e instanceof Error?e.message:typeof e==="string"?e:String(e)).includes("Provider settings are pending")}function Yi(e){let i=e?.match(/^gateway:custom-[^:]+:(.+)$/);if(!i)return null;let o=decodeURIComponent(i[1]),s=l.models.find((t)=>t.slug===o);return s?{value:s.default_reasoning_level,hidden:s.supported_reasoning_levels.length===0}:null}var Kn=p;function Xi(e){return Kn[e]??{}}
2
- export{H,jn,Ue,$n,Be,Qi,j,yt,xt,Yi,Kn,Xi};
1
+ import{yt,xt,bt,Ct}from"./chunk-vm2qb3ns.js";var a=[{id:"litellm",source:"account",name:"ALwith",models:[{id:"deepseek-V4.1-flash",label:"DeepSeek-Flash"}],catalog:"alwith/models.json",config:{web_search:"disabled"}},{id:"deepseek",name:"DeepSeek",baseUrl:"https://api.deepseek.com/",keyUrl:"https://platform.deepseek.com/api_keys",models:[{id:"deepseek-flash",label:"DeepSeek-Flash",description:"Latest frontier agentic coding model with image input."}],catalog:"deepseek/models.json",config:{web_search:"disabled"}},{id:"openrouter",name:"OpenRouter",baseUrl:"https://openrouter.ai/api/v1",keyUrl:"https://openrouter.ai/keys",models:[{id:"moonshotai/kimi-k3",label:"Kimi K3"},{id:"minimax/minimax-m3",label:"MiniMax M3"},{id:"z-ai/glm-5.3",label:"GLM 5.3"},{id:"deepseek/deepseek-v4-pro",label:"DeepSeek V4 Pro"},{id:"qwen/qwen3.8-max-0902",label:"Qwen 3.8 Max"},{id:"x-ai/grok-4.6",label:"Grok 4.6"}],catalog:"openrouter/models.json"},{id:"qwen",name:"Qwen",regions:[{id:"intl",baseUrl:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1",keyUrl:"https://modelstudio.console.alibabacloud.com/?tab=model#/api-key"},{id:"cn",baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1",keyUrl:"https://bailian.console.aliyun.com/#/api-key"}],models:[{id:"qwen3.8-max",label:"3.8 Max"},{id:"qwen3.8-flash",label:"3.8 Flash"},{id:"qwen3.7-max",label:"3.7 Max"},{id:"qwen3.7-plus",label:"3.7 Plus"},{id:"qwen3.6-flash",label:"3.6 Flash"}],catalog:"qwen/models.json"},{id:"xai",name:"xAI",baseUrl:"https://api.x.ai/v1",keyUrl:"https://console.x.ai",models:[{id:"grok-4.6",label:"Grok 4.6"},{id:"grok-4.5",label:"Grok 4.5"},{id:"grok-4.3",label:"Grok 4.3"}],catalog:"xai/models.json"}];var l={models:[{slug:"glm-5.3",display_name:"GLM-5.3",description:"GLM-5.3 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.3-flash",display_name:"GLM-5.3-Flash",description:"GLM-5.3-Flash via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.2",display_name:"GLM-5.2",description:"GLM-5.2 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"none",description:"Disable reasoning"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"glm-5.1",display_name:"GLM-5.1",description:"GLM-5.1 via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text"],context_window:200000,max_context_window:200000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"MiniMax-M3.1-Flash",display_name:"MiniMax M3.1 Flash",description:"MiniMax M3.1 Flash via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"xhigh",description:"Xhigh reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"MiniMax-M3",display_name:"MiniMax M3",description:"MiniMax M3 via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1e6,max_context_window:1e6,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-evolving",display_name:"Doubao Seed Evolving",description:"Doubao Seed Evolving via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2-1-pro-260915",display_name:"Doubao Seed 2.1 Pro",description:"Doubao Seed 2.1 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2-1-lite-260915",display_name:"Doubao Seed 2.1 Lite",description:"Doubao Seed 2.1 Lite via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k3.1-pro",display_name:"Kimi K3.1 Pro",description:"Kimi K3.1 Pro via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k3",display_name:"Kimi K3",description:"Kimi K3 via the Responses API.",default_reasoning_level:"max",supported_reasoning_levels:[{effort:"low",description:"Low reasoning effort"},{effort:"high",description:"High reasoning effort"},{effort:"max",description:"Max reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"kimi-k2.7-code",display_name:"Kimi K2.7 Code",description:"Kimi K2.7 Code via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:262144,max_context_window:262144,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"mimo-v2.6-pro",display_name:"MiMo V2.6 Pro",description:"MiMo V2.6 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"mimo-v2.6-flash",display_name:"MiMo V2.6 Flash",description:"MiMo V2.6 Flash via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1048576,max_context_window:1048576,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2.1-pro",display_name:"Doubao Seed 2.1 Pro",description:"Doubao Seed 2.1 Pro via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"},{slug:"doubao-seed-2.1-lite",display_name:"Doubao Seed 2.1 Lite",description:"Doubao Seed 2.1 Lite via the Responses API.",default_reasoning_level:"high",supported_reasoning_levels:[{effort:"minimal",description:"Disable reasoning"},{effort:"low",description:"Low reasoning effort"},{effort:"medium",description:"Medium reasoning effort"},{effort:"high",description:"High reasoning effort"}],shell_type:"unified_exec",visibility:"list",supported_in_api:!0,priority:0,support_verbosity:!1,supports_reasoning_summary_parameter:!1,truncation_policy:{mode:"bytes",limit:1e4},experimental_supported_tools:[],input_modalities:["text","image"],context_window:1024000,max_context_window:1024000,base_instructions:"You are a coding agent helping the user complete tasks in their workspace. Follow the user and project instructions. Use the provided tools when needed, verify changes, and report results accurately.",include_apps_usage_instructions:!1,default_reasoning_summary:"none"}]};var p={"gateway:deepseek:deepseek-flash":{shortLabel:"Flash"},"gateway:litellm:deepseek-V4.1-flash":{shortLabel:"Flash",label:"DeepSeek-Flash"}};var d=a,g={deepseek:yt,openrouter:bt,qwen:Ct,xai:xt};function m(e){let i=g[e];if(!i)throw Error(`Provider ${e} has no logo`);return i}var H=d.filter((e)=>e.source!=="account").map(({source:e,...i})=>({...i,logo:m(i.id)}));function jn(e){return e!=null&&d.some((i)=>i.source==="account"&&e.startsWith(`gateway:${encodeURIComponent(i.id)}:`))}function Ue(e){let i=JSON.parse(e);if(!Array.isArray(i)||i.length===0)throw Error("Add at least one model");let o=new Set;return i.map((s)=>{if(typeof s!=="object"||s===null||Array.isArray(s))throw Error("Each model must be an object");let t=s,r=typeof t.label==="string"?t.label.trim():"",n=typeof t.api_id==="string"?t.api_id.trim():"";if(r===""||n==="")throw Error("Model label and API ID cannot be empty");if(o.has(n))throw Error("Model IDs must be unique");if(o.add(n),t.contextWindow!==void 0&&t.contextWindow!==null&&(!Number.isSafeInteger(t.contextWindow)||t.contextWindow<=0))throw Error("Model contextWindow must be a positive integer");if(t.description!==void 0&&typeof t.description!=="string")throw Error("Model description must be a string");return{label:r,api_id:n,...t.contextWindow===void 0?{}:{contextWindow:t.contextWindow},...t.description===void 0?{}:{description:t.description}}})}function $n(e){return[...H.filter((i)=>e.providers[i.id]!==void 0).map((i)=>({id:i.id,name:i.name,models:i.models})),...[...e.customProviders,...e.managedProviders??[]].map((i)=>({id:i.id,name:i.name,models:i.models.map((o)=>({id:o.api_id,label:o.label,...o.description==null?{}:{description:o.description}}))}))]}function Be(e,i){let o=e.startsWith("custom_")?`custom-${Array.from(new TextEncoder().encode(e),(s)=>s.toString(16).padStart(2,"0")).join("")}`:e;return`gateway:${encodeURIComponent(o)}:${encodeURIComponent(i)}`}function Qi(e,i){let o=$n(i).flatMap((s)=>s.models.map((t)=>Be(s.id,t.id)));if(e!==null&&(!e.startsWith("gateway:")||o.includes(e)))return e;if(jn(e))throw Error("The selected ALwith account model is unavailable. Select another model before sending.");return o[0]??null}function j(e,i){if(!e.regions)return null;let o=e.regions.find((s)=>s.id===i)??e.regions[0];if(!o)throw Error(`Provider ${e.id} declares no regions`);return o}function ht(e,i){return j(e,i)?.keyUrl??e.keyUrl??null}function vt(e){return(e instanceof Error?e.message:typeof e==="string"?e:String(e)).includes("Provider settings are pending")}function Yi(e){let i=e?.match(/^gateway:custom-[^:]+:(.+)$/);if(!i)return null;let o=decodeURIComponent(i[1]),s=l.models.find((t)=>t.slug===o);return s?{value:s.default_reasoning_level,hidden:s.supported_reasoning_levels.length===0}:null}var Kn=p;function Xi(e){return Kn[e]??{}}
2
+ export{H,jn,Ue,$n,Be,Qi,j,ht,vt,Yi,Kn,Xi};
@@ -1,2 +1,2 @@
1
- import{createStore as M}from"@alwith/api/client";function k(a){return a instanceof Error?a.message:String(a)}function E(a){return a.interface?.displayName??a.name}function I(a){let u={},n=new Map,l=new Map;for(let p of a.data){for(let o of p.skills)if(n.set(o.path,o),o.scope==="repo"){let m=u[p.cwd]??[];if(!m.includes(o.path))m.push(o.path);u[p.cwd]=m}for(let o of p.errors)l.set(o.path,o)}return{skills:[...n.values()],errors:[...l.values()],projects:u}}function v(a){let u=[];for(let n of a.marketplaces)for(let l of n.plugins)if(l.installed)u.push({plugin:l,marketplace:n});return u.toSorted((n,l)=>(l.plugin.installedAt??0)-(n.plugin.installedAt??0))}function Fn(a){let{plugin:u,marketplace:n}=a;return{installAttemptId:crypto.randomUUID(),pluginName:n.path===null?u.remotePluginId??u.name:u.name,...n.path===null?{remoteMarketplaceName:n.name}:{marketplacePath:n.path}}}function A(a){let{plugin:u,marketplace:n}=a;return{pluginName:n.path===null?u.remotePluginId??u.name:u.name,...n.path===null?{remoteMarketplaceName:n.name}:{marketplacePath:n.path}}}function dt(a,u){let n=u??{t:(e)=>e},l=(e,r)=>n.t(e,r),p=(e)=>n.notify?.(e),o=(e)=>{if(n.reportError)n.reportError(Error(e));else console.error(e)},m=null,b=null,d=(e)=>S.setState(e),P=()=>S.getState(),y=async(e=!1)=>{if(await P().refresh(void 0,{forceRefetch:e,background:!0}),P().error)throw Error(l("plugins.toast.syncError",{message:P().error}))},f=(e,r)=>d((s)=>{let t={...s.busyIds};if(r===null)delete t[e];else t[e]=r;return{busyIds:t}}),h=(e,r)=>d((s)=>{let t={...s.busyMarketplaces};if(r)t[e]=!0;else delete t[e];return{busyMarketplaces:t}}),w=M({loading:!1,loadedScope:null,upgrading:!1,error:null,cwds:[],marketplaces:[],marketplaceLoadErrors:[],featuredPluginIds:[],installed:[],skills:[],skillProjects:{},skillErrors:[],busyIds:{},busySkills:{},busyMarketplaces:{},refresh:(e=P().cwds,r={})=>{if(m={cwds:e,forceRefetch:r.forceRefetch===!0||m?.forceRefetch===!0},d({cwds:e,...!r.background?{loading:!0}:{}}),b)return b;return b=(async()=>{while(m){let s=m;m=null,d({error:null});try{let[t,i,g]=await Promise.all([a.listSkills(s.cwds,s.forceRefetch),a.listPlugins({...s.cwds.length>0?{cwds:s.cwds}:{},...s.forceRefetch?{forceRefetch:!0}:{}}),a.installedPlugins(s.cwds)]);if(m)continue;let c=I(t);d({loadedScope:JSON.stringify(s.cwds),skills:c.skills,skillProjects:c.projects,skillErrors:c.errors,marketplaces:i.marketplaces,marketplaceLoadErrors:i.marketplaceLoadErrors,featuredPluginIds:i.featuredPluginIds,installed:v(g)})}catch(t){if(!m)d({error:k(t)})}}})().finally(()=>{b=null,d({loading:!1})}),b},install:async(e)=>{if(e.plugin.id in P().busyIds)throw Error("Plugin operation already in progress");let r=E(e.plugin);f(e.plugin.id,"installing");try{let s=await a.installPlugin(Fn(e));return await y(),f(e.plugin.id,null),p(l("plugins.toast.installed",{pluginName:r})),s}catch(s){throw o(`${l("plugins.toast.installError")}: ${k(s)}`),s}finally{f(e.plugin.id,null)}},setPluginEnabled:async(e,r)=>{if(e.id in P().busyIds)return;f(e.id,"toggling");let s=(i)=>d((g)=>({installed:g.installed.map((c)=>c.plugin.id===e.id?{...c,plugin:{...c.plugin,enabled:i}}:c)}));s(r);let t=e.enabled;try{let i=e.source.type==="remote"?e.remotePluginId:void 0;if(i===null)throw Error("Remote plugin ID is missing");let g=await a.setPluginEnabled(e.id,r,i);t=g.enabled,s(g.enabled),await y();let c=P().installed.find((R)=>R.plugin.id===e.id);if(c)t=c.plugin.enabled;if(!c||t!==r)throw Error(l("plugins.toast.toggleNotApplied"));f(e.id,null),p(l(r?"plugins.toast.enabled":"plugins.toast.disabled",{pluginName:E(e)}))}catch(i){s(t),o(`${l("plugins.toast.toggleError")}: ${k(i)}`)}finally{f(e.id,null)}},uninstall:async(e)=>{if(e.id in P().busyIds)return;let r=E(e);f(e.id,"uninstalling");try{let s=e.source.type==="remote"?e.remotePluginId:e.id;if(!s)throw Error("Remote plugin ID is missing");if(await a.uninstallPlugin(s),await y(),P().installed.some((t)=>t.plugin.id===e.id))throw Error(l("plugins.toast.uninstallNotApplied"));f(e.id,null),p(l("plugins.toast.uninstalled",{pluginName:r}))}catch(s){o(`${l("plugins.toast.uninstallError")}: ${k(s)}`)}finally{f(e.id,null)}},readPlugin:async(e)=>(await a.readPlugin(A(e))).plugin,setSkillEnabled:async(e,r)=>{if(e.path in P().busySkills)return;d((t)=>({busySkills:{...t.busySkills,[e.path]:!0}})),d((t)=>({skills:t.skills.map((i)=>i.path===e.path?{...i,enabled:r}:i)}));let s=e.interface?.displayName??e.name;try{let t=await a.setSkillEnabled({path:e.path,enabled:r});if(d((i)=>({skills:i.skills.map((g)=>g.path===e.path?{...g,enabled:t.effectiveEnabled}:g)})),t.effectiveEnabled!==r){o(l("plugins.catalog.toggleNotApplied"));return}p(l(r?"plugins.skills.enabledToast":"plugins.skills.disabledToast",{skillName:s}))}catch(t){d((i)=>({skills:i.skills.map((g)=>g.path===e.path?{...g,enabled:e.enabled}:g)})),o(`${l("plugins.skills.toggleError")}: ${k(t)}`)}finally{d((t)=>{let i={...t.busySkills};return delete i[e.path],{busySkills:i}})}},addMarketplace:async(e)=>{let r=await a.addMarketplace(e);return await y(!0),p(r.alreadyAdded?l("plugins.marketplace.alreadyAdded",{marketplaceName:r.marketplaceName}):l("plugins.marketplace.added",{marketplaceName:r.marketplaceName})),r},removeMarketplace:async(e)=>{h(e,!0);try{await a.removeMarketplace(e),await y(),h(e,!1),p(l("plugins.marketplace.removed",{marketplaceName:e}))}catch(r){o(`${l("plugins.marketplace.removeError")}: ${k(r)}`)}finally{h(e,!1)}},upgradeMarketplace:async(e)=>{h(e,!0);try{let r=await a.upgradeMarketplaces(e);if(await y(!0),h(e,!1),r.errors.length>0)o(`${l("plugins.marketplace.upgradeError")}: ${r.errors.map((s)=>s.message).join("; ")}`);else p(l("plugins.marketplace.upgraded",{marketplaceName:e}))}catch(r){o(`${l("plugins.marketplace.upgradeError")}: ${k(r)}`)}finally{h(e,!1)}},upgradeAll:async()=>{if(P().upgrading)return;d({upgrading:!0});try{let e=await a.upgradeMarketplaces();if(await y(!0),d({upgrading:!1}),e.errors.length>0)o(l("plugins.marketplace.upgradeAllError"));else p(l("plugins.marketplace.upgradedAll"))}catch(e){o(`${l("plugins.marketplace.upgradeAllRequestError")}: ${k(e)}`)}finally{d({upgrading:!1})}}}),S=Object.assign(w,{bindHost:(e)=>{n=e}});return S}
2
- export{Fn,dt};
1
+ import{createStore as M}from"@alwith/api/client";function k(a){return a instanceof Error?a.message:String(a)}function E(a){return a.interface?.displayName??a.name}function I(a){let u={},n=new Map,l=new Map;for(let p of a.data){for(let o of p.skills)if(n.set(o.path,o),o.scope==="repo"){let m=u[p.cwd]??[];if(!m.includes(o.path))m.push(o.path);u[p.cwd]=m}for(let o of p.errors)l.set(o.path,o)}return{skills:[...n.values()],errors:[...l.values()],projects:u}}function v(a){let u=[];for(let n of a.marketplaces)for(let l of n.plugins)if(l.installed)u.push({plugin:l,marketplace:n});return u.toSorted((n,l)=>(l.plugin.installedAt??0)-(n.plugin.installedAt??0))}function Dn(a){let{plugin:u,marketplace:n}=a;return{installAttemptId:crypto.randomUUID(),pluginName:n.path===null?u.remotePluginId??u.name:u.name,...n.path===null?{remoteMarketplaceName:n.name}:{marketplacePath:n.path}}}function A(a){let{plugin:u,marketplace:n}=a;return{pluginName:n.path===null?u.remotePluginId??u.name:u.name,...n.path===null?{remoteMarketplaceName:n.name}:{marketplacePath:n.path}}}function pt(a,u){let n=u??{t:(e)=>e},l=(e,r)=>n.t(e,r),p=(e)=>n.notify?.(e),o=(e)=>{if(n.reportError)n.reportError(Error(e));else console.error(e)},m=null,b=null,d=(e)=>S.setState(e),P=()=>S.getState(),y=async(e=!1)=>{if(await P().refresh(void 0,{forceRefetch:e,background:!0}),P().error)throw Error(l("plugins.toast.syncError",{message:P().error}))},f=(e,r)=>d((s)=>{let t={...s.busyIds};if(r===null)delete t[e];else t[e]=r;return{busyIds:t}}),h=(e,r)=>d((s)=>{let t={...s.busyMarketplaces};if(r)t[e]=!0;else delete t[e];return{busyMarketplaces:t}}),w=M({loading:!1,loadedScope:null,upgrading:!1,error:null,cwds:[],marketplaces:[],marketplaceLoadErrors:[],featuredPluginIds:[],installed:[],skills:[],skillProjects:{},skillErrors:[],busyIds:{},busySkills:{},busyMarketplaces:{},refresh:(e=P().cwds,r={})=>{if(m={cwds:e,forceRefetch:r.forceRefetch===!0||m?.forceRefetch===!0},d({cwds:e,...!r.background?{loading:!0}:{}}),b)return b;return b=(async()=>{while(m){let s=m;m=null,d({error:null});try{let[t,i,g]=await Promise.all([a.listSkills(s.cwds,s.forceRefetch),a.listPlugins({...s.cwds.length>0?{cwds:s.cwds}:{},...s.forceRefetch?{forceRefetch:!0}:{}}),a.installedPlugins(s.cwds)]);if(m)continue;let c=I(t);d({loadedScope:JSON.stringify(s.cwds),skills:c.skills,skillProjects:c.projects,skillErrors:c.errors,marketplaces:i.marketplaces,marketplaceLoadErrors:i.marketplaceLoadErrors,featuredPluginIds:i.featuredPluginIds,installed:v(g)})}catch(t){if(!m)d({error:k(t)})}}})().finally(()=>{b=null,d({loading:!1})}),b},install:async(e)=>{if(e.plugin.id in P().busyIds)throw Error("Plugin operation already in progress");let r=E(e.plugin);f(e.plugin.id,"installing");try{let s=await a.installPlugin(Dn(e));return await y(),f(e.plugin.id,null),p(l("plugins.toast.installed",{pluginName:r})),s}catch(s){throw o(`${l("plugins.toast.installError")}: ${k(s)}`),s}finally{f(e.plugin.id,null)}},setPluginEnabled:async(e,r)=>{if(e.id in P().busyIds)return;f(e.id,"toggling");let s=(i)=>d((g)=>({installed:g.installed.map((c)=>c.plugin.id===e.id?{...c,plugin:{...c.plugin,enabled:i}}:c)}));s(r);let t=e.enabled;try{let i=e.source.type==="remote"?e.remotePluginId:void 0;if(i===null)throw Error("Remote plugin ID is missing");let g=await a.setPluginEnabled(e.id,r,i);t=g.enabled,s(g.enabled),await y();let c=P().installed.find((R)=>R.plugin.id===e.id);if(c)t=c.plugin.enabled;if(!c||t!==r)throw Error(l("plugins.toast.toggleNotApplied"));f(e.id,null),p(l(r?"plugins.toast.enabled":"plugins.toast.disabled",{pluginName:E(e)}))}catch(i){s(t),o(`${l("plugins.toast.toggleError")}: ${k(i)}`)}finally{f(e.id,null)}},uninstall:async(e)=>{if(e.id in P().busyIds)return;let r=E(e);f(e.id,"uninstalling");try{let s=e.source.type==="remote"?e.remotePluginId:e.id;if(!s)throw Error("Remote plugin ID is missing");if(await a.uninstallPlugin(s),await y(),P().installed.some((t)=>t.plugin.id===e.id))throw Error(l("plugins.toast.uninstallNotApplied"));f(e.id,null),p(l("plugins.toast.uninstalled",{pluginName:r}))}catch(s){o(`${l("plugins.toast.uninstallError")}: ${k(s)}`)}finally{f(e.id,null)}},readPlugin:async(e)=>(await a.readPlugin(A(e))).plugin,setSkillEnabled:async(e,r)=>{if(e.path in P().busySkills)return;d((t)=>({busySkills:{...t.busySkills,[e.path]:!0}})),d((t)=>({skills:t.skills.map((i)=>i.path===e.path?{...i,enabled:r}:i)}));let s=e.interface?.displayName??e.name;try{let t=await a.setSkillEnabled({path:e.path,enabled:r});if(d((i)=>({skills:i.skills.map((g)=>g.path===e.path?{...g,enabled:t.effectiveEnabled}:g)})),t.effectiveEnabled!==r){o(l("plugins.catalog.toggleNotApplied"));return}p(l(r?"plugins.skills.enabledToast":"plugins.skills.disabledToast",{skillName:s}))}catch(t){d((i)=>({skills:i.skills.map((g)=>g.path===e.path?{...g,enabled:e.enabled}:g)})),o(`${l("plugins.skills.toggleError")}: ${k(t)}`)}finally{d((t)=>{let i={...t.busySkills};return delete i[e.path],{busySkills:i}})}},addMarketplace:async(e)=>{let r=await a.addMarketplace(e);return await y(!0),p(r.alreadyAdded?l("plugins.marketplace.alreadyAdded",{marketplaceName:r.marketplaceName}):l("plugins.marketplace.added",{marketplaceName:r.marketplaceName})),r},removeMarketplace:async(e)=>{h(e,!0);try{await a.removeMarketplace(e),await y(),h(e,!1),p(l("plugins.marketplace.removed",{marketplaceName:e}))}catch(r){o(`${l("plugins.marketplace.removeError")}: ${k(r)}`)}finally{h(e,!1)}},upgradeMarketplace:async(e)=>{h(e,!0);try{let r=await a.upgradeMarketplaces(e);if(await y(!0),h(e,!1),r.errors.length>0)o(`${l("plugins.marketplace.upgradeError")}: ${r.errors.map((s)=>s.message).join("; ")}`);else p(l("plugins.marketplace.upgraded",{marketplaceName:e}))}catch(r){o(`${l("plugins.marketplace.upgradeError")}: ${k(r)}`)}finally{h(e,!1)}},upgradeAll:async()=>{if(P().upgrading)return;d({upgrading:!0});try{let e=await a.upgradeMarketplaces();if(await y(!0),d({upgrading:!1}),e.errors.length>0)o(l("plugins.marketplace.upgradeAllError"));else p(l("plugins.marketplace.upgradedAll"))}catch(e){o(`${l("plugins.marketplace.upgradeAllRequestError")}: ${k(e)}`)}finally{d({upgrading:!1})}}}),S=Object.assign(w,{bindHost:(e)=>{n=e}});return S}
2
+ export{Dn,pt};
@@ -1,2 +1,2 @@
1
- import{useId as c}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function bt(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"DeepSeek"}),e("path",{fill:"#4D6BFE",d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z"})]})}function Ct(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"Grok"}),e("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]})}function wt(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"OpenRouter"}),e("path",{d:"M2 7h3.5c1.6 0 2.6.5 3.6 1.7l3 3.6c1 1.2 2 1.7 3.6 1.7H20"}),e("path",{d:"M2 17h3.5c1.6 0 2.6-.5 3.6-1.7l3-3.6c1-1.2 2-1.7 3.6-1.7H20"}),e("path",{d:"M17.5 4.5L21 7l-3.5 2.5M17.5 14.5L21 17l-3.5 2.5"})]})}var r="M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z";function kt(t){let o=c().replaceAll(":","");return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"Qwen"}),e("path",{d:r,fill:`url(#${o})`,fillRule:"nonzero"}),e("defs",{children:l("linearGradient",{id:o,x1:"0%",x2:"100%",y1:"0%",y2:"0%",children:[e("stop",{offset:"0%",stopColor:"#6336E7",stopOpacity:".84"}),e("stop",{offset:"100%",stopColor:"#6F69F7",stopOpacity:".84"})]})})]})}
2
- export{bt,Ct,wt,kt};
1
+ import{useId as c}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function yt(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"DeepSeek"}),e("path",{fill:"#4D6BFE",d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z"})]})}function xt(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"Grok"}),e("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]})}function bt(t){return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"OpenRouter"}),e("path",{d:"M2 7h3.5c1.6 0 2.6.5 3.6 1.7l3 3.6c1 1.2 2 1.7 3.6 1.7H20"}),e("path",{d:"M2 17h3.5c1.6 0 2.6-.5 3.6-1.7l3-3.6c1-1.2 2-1.7 3.6-1.7H20"}),e("path",{d:"M17.5 4.5L21 7l-3.5 2.5M17.5 14.5L21 17l-3.5 2.5"})]})}var r="M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z";function Ct(t){let o=c().replaceAll(":","");return l("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",...t,children:[e("title",{children:"Qwen"}),e("path",{d:r,fill:`url(#${o})`,fillRule:"nonzero"}),e("defs",{children:l("linearGradient",{id:o,x1:"0%",x2:"100%",y1:"0%",y2:"0%",children:[e("stop",{offset:"0%",stopColor:"#6336E7",stopOpacity:".84"}),e("stop",{offset:"100%",stopColor:"#6F69F7",stopOpacity:".84"})]})})]})}
2
+ export{yt,xt,bt,Ct};
@@ -0,0 +1,2 @@
1
+ import{w}from"./chunk-spfbykq8.js";import{r}from"./chunk-eg86g265.js";import{CircleHelpIcon as m}from"lucide-react";import{useRef as c,useState as p}from"react";import{Button as f}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as h,DropdownMenuContent as g,DropdownMenuTrigger as M}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as e,jsxs as H}from"react/jsx-runtime";function cr({children:l}){let{t:n}=r(),[o,u]=p(!1),t=c(null),[a,d]=p();return w(o),H(h,{open:o,onOpenChange:(i)=>{if(i){let s=t.current?.parentElement;if(!s)throw Error("Help trigger must be mounted in its footer row");d(s.clientWidth)}u(i)},children:[e(M,{render:e(f,{ref:t,variant:"ghost",size:"icon-sm",className:"size-[var(--navigation-row-height,30px)] shrink-0 rounded-[10px] p-0 [corner-shape:superellipse(1.5)]","aria-label":n("sessionList.help"),title:n("sessionList.help")}),children:e(m,{className:"size-4 shrink-0"})}),e(g,{side:"top",align:"end",sideOffset:8,style:{width:a},children:l})]})}
2
+ export{cr};
@@ -0,0 +1,2 @@
1
+ import{r,a,Lt,o,p}from"./chunk-eg86g265.js";import{M}from"./chunk-s3h496tf.js";import{ve}from"./chunk-9gt81b51.js";import{fe}from"./chunk-ee0krzt0.js";import{Ve,ue}from"./chunk-tk2471ny.js";import{hasRename as F}from"@nyssance/codex-acp-v2/client";import{ArchiveIcon as D,ArchiveRestoreIcon as x,GitForkIcon as A,PencilIcon as H,Trash2Icon as N}from"lucide-react";import{useRef as R,useState as y}from"react";import{jsx as n,jsxs as b,Fragment as C}from"react/jsx-runtime";function on({sessionRow:e,active:v,onSelect:m,onForked:S=m,onHoverCardOpenChange:c,actions:l}){let i=r(),{t:f,i18n:k}=i,h=a(),d=o((s)=>s.runStates[e.sessionId]),I=Lt(),u=()=>m(e);return n(ve,{"data-session-id":e.sessionId,role:"button",tabIndex:0,active:v,onClick:u,onKeyDown:(s)=>{if(s.key==="Enter"||s.key===" ")s.preventDefault(),u()},state:d?.state,interruption:d?.interruption??null,title:e.title??f("sessionList.untitled"),onHoverCardOpenChange:c,hoverCard:n(B,{sessionRow:e,onDelete:()=>I(e),onForked:S,actions:l}),meta:e.updatedAt!==null?n("span",{className:"text-muted-foreground shrink-0 text-xs",children:Ve(e.updatedAt,k.language)}):void 0,actions:d!=null?n(fe,{title:f("sessionList.stop"),onStop:()=>p(i,h.stopSession(e.sessionId))}):void 0})}function B({sessionRow:e,onDelete:v,onForked:m,actions:S}){let c=r(),{t:l}=c,i=a(),f=o((t)=>F(t.agent)),k=o((t)=>t.connection==="ready"&&t.agent?.capabilities?.session?.fork!=null),[h,d]=y(!1),[I,u]=y(!1),s=R(!1);return n(ue,{sessionRow:e,renaming:h,onRename:(t)=>{if(d(!1),t!==null)p(c,i.renameSession(e.sessionId,t))},actions:b(C,{children:[f&&n(M,{icon:n(H,{}),label:l("sessionList.rename"),onClick:()=>d(!0)}),S,e.archived?n(M,{icon:n(x,{}),label:l("sessionList.unarchive"),onClick:()=>void p(c,i.unarchive(e.sessionId))}):b(C,{children:[n(M,{icon:n(A,{}),label:l("sessionList.fork"),disabled:!k||I,onClick:()=>{if(s.current)return;s.current=!0,u(!0),p(c,i.fork(e.sessionId,e.cwd).then((t)=>{let g=i.state.sessionList.find((L)=>L.sessionId===t);if(!g)throw Error("Forked chat is missing from the session list");m(g)}).finally(()=>{s.current=!1,u(!1)}))}}),n(M,{icon:n(D,{}),label:l("sessionList.archive"),onClick:()=>void p(c,i.archive(e.sessionId))})]}),n(M,{variant:"destructive",icon:n(N,{}),label:l("sessionList.delete"),onClick:v})]})})}
2
+ export{on};
@@ -1,2 +1,2 @@
1
- import{cn as S}from"cn";import{useRef as y,useState as k}from"react";import{jsx as m,jsxs as u}from"react/jsx-runtime";function ln({name:p,value:M,levels:h,disabled:c,onChange:P}){if(h.length===0)throw Error("EffortSlider requires at least one level");let o=h,g=Math.max(0,o.findIndex((t)=>t.value===M)),[v,d]=k(null),l=y(null),[I,x]=k(null),b=y(0),s=v??I??g,w=(t)=>{let n=++b.current;x(t);let e=()=>{if(b.current===n)x(null)};try{Promise.resolve(P(o[t].value)).then(e,e)}catch(N){throw e(),N}},f=100,r=14,a=2,i=o.length,C=a+s/Math.max(1,i-1)*(f-r-a*2);return u("div",{className:S("flex items-center justify-between px-2 py-2.5",c&&"opacity-50"),children:[u("span",{className:"grid shrink-0 text-sm whitespace-nowrap",children:[o.map((t)=>u("span",{"aria-hidden":!0,className:"invisible col-start-1 row-start-1",children:[p," ",u("span",{style:{fontSize:12},children:["(",t.name,")"]})]},t.value)),u("span",{className:"col-start-1 row-start-1",children:[p," ",u("span",{"data-effort-value":"",style:{fontSize:12},children:["(",o[s].name,")"]})]})]}),u("button",{type:"button",disabled:c,role:"slider","aria-label":p,"aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":s,"aria-valuetext":o[s].name,onKeyDown:(t)=>{let n;if(t.key==="ArrowRight"||t.key==="ArrowUp")n=Math.min(i-1,s+1);else if(t.key==="ArrowLeft"||t.key==="ArrowDown")n=Math.max(0,s-1);else if(t.key==="Home")n=0;else if(t.key==="End")n=i-1;else return;if(t.preventDefault(),t.stopPropagation(),!c&&n!==s)w(n)},className:"relative shrink-0 cursor-pointer touch-none overflow-hidden rounded-full border-none p-0 disabled:cursor-default",style:{width:f,height:18,background:"var(--input)"},onPointerDown:(t)=>{if(c||t.button!==0)return;t.preventDefault(),t.stopPropagation(),t.currentTarget.focus(),t.currentTarget.setPointerCapture(t.pointerId);let n=t.currentTarget.getBoundingClientRect(),e=Math.round(Math.max(0,Math.min(1,(t.clientX-n.left-a-r/2)/Math.max(1,n.width-r-a*2)))*(i-1));l.current=e,d(e)},onPointerMove:(t)=>{if(l.current===null)return;let n=t.currentTarget.getBoundingClientRect(),e=Math.round(Math.max(0,Math.min(1,(t.clientX-n.left-a-r/2)/Math.max(1,n.width-r-a*2)))*(i-1));l.current=e,d(e)},onPointerUp:(t)=>{let n=l.current;if(l.current=null,d(null),t.currentTarget.hasPointerCapture(t.pointerId))t.currentTarget.releasePointerCapture(t.pointerId);if(!c&&n!==null&&n!==g)w(n)},onLostPointerCapture:()=>{l.current=null,d(null)},onPointerCancel:()=>{l.current=null,d(null)},onClick:(t)=>{t.preventDefault(),t.stopPropagation()},children:[m("span",{className:"absolute inset-y-0 left-0 w-full rounded-full",style:{background:"var(--input)"}}),o.map((t,n)=>{let e=a+r/2+n/Math.max(1,i-1)*(f-r-a*2)-2;return m("span",{className:"absolute top-1/2 size-1 -translate-y-1/2 rounded-full",style:{left:e,background:"color-mix(in srgb, var(--muted-foreground) 40%, transparent)"}},t.value)}),m("span",{className:"absolute rounded-full transition-all duration-150",style:{width:r,height:r,top:a,left:C,background:"var(--foreground)",boxShadow:"0 1px 2px #0003"}})]})]})}
2
- export{ln};
1
+ import{cn as S}from"cn";import{useRef as y,useState as k}from"react";import{jsx as m,jsxs as u}from"react/jsx-runtime";function cn({name:p,value:M,levels:h,disabled:c,onChange:P}){if(h.length===0)throw Error("EffortSlider requires at least one level");let o=h,g=Math.max(0,o.findIndex((t)=>t.value===M)),[v,d]=k(null),l=y(null),[I,x]=k(null),b=y(0),s=v??I??g,w=(t)=>{let n=++b.current;x(t);let e=()=>{if(b.current===n)x(null)};try{Promise.resolve(P(o[t].value)).then(e,e)}catch(N){throw e(),N}},f=100,r=14,a=2,i=o.length,C=a+s/Math.max(1,i-1)*(f-r-a*2);return u("div",{className:S("flex items-center justify-between px-2 py-2.5",c&&"opacity-50"),children:[u("span",{className:"grid shrink-0 text-sm whitespace-nowrap",children:[o.map((t)=>u("span",{"aria-hidden":!0,className:"invisible col-start-1 row-start-1",children:[p," ",u("span",{style:{fontSize:12},children:["(",t.name,")"]})]},t.value)),u("span",{className:"col-start-1 row-start-1",children:[p," ",u("span",{"data-effort-value":"",style:{fontSize:12},children:["(",o[s].name,")"]})]})]}),u("button",{type:"button",disabled:c,role:"slider","aria-label":p,"aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":s,"aria-valuetext":o[s].name,onKeyDown:(t)=>{let n;if(t.key==="ArrowRight"||t.key==="ArrowUp")n=Math.min(i-1,s+1);else if(t.key==="ArrowLeft"||t.key==="ArrowDown")n=Math.max(0,s-1);else if(t.key==="Home")n=0;else if(t.key==="End")n=i-1;else return;if(t.preventDefault(),t.stopPropagation(),!c&&n!==s)w(n)},className:"relative shrink-0 cursor-pointer touch-none overflow-hidden rounded-full border-none p-0 disabled:cursor-default",style:{width:f,height:18,background:"var(--input)"},onPointerDown:(t)=>{if(c||t.button!==0)return;t.preventDefault(),t.stopPropagation(),t.currentTarget.focus(),t.currentTarget.setPointerCapture(t.pointerId);let n=t.currentTarget.getBoundingClientRect(),e=Math.round(Math.max(0,Math.min(1,(t.clientX-n.left-a-r/2)/Math.max(1,n.width-r-a*2)))*(i-1));l.current=e,d(e)},onPointerMove:(t)=>{if(l.current===null)return;let n=t.currentTarget.getBoundingClientRect(),e=Math.round(Math.max(0,Math.min(1,(t.clientX-n.left-a-r/2)/Math.max(1,n.width-r-a*2)))*(i-1));l.current=e,d(e)},onPointerUp:(t)=>{let n=l.current;if(l.current=null,d(null),t.currentTarget.hasPointerCapture(t.pointerId))t.currentTarget.releasePointerCapture(t.pointerId);if(!c&&n!==null&&n!==g)w(n)},onLostPointerCapture:()=>{l.current=null,d(null)},onPointerCancel:()=>{l.current=null,d(null)},onClick:(t)=>{t.preventDefault(),t.stopPropagation()},children:[m("span",{className:"absolute inset-y-0 left-0 w-full rounded-full",style:{background:"var(--input)"}}),o.map((t,n)=>{let e=a+r/2+n/Math.max(1,i-1)*(f-r-a*2)-2;return m("span",{className:"absolute top-1/2 size-1 -translate-y-1/2 rounded-full",style:{left:e,background:"color-mix(in srgb, var(--muted-foreground) 40%, transparent)"}},t.value)}),m("span",{className:"absolute rounded-full transition-all duration-150",style:{width:r,height:r,top:a,left:C,background:"var(--foreground)",boxShadow:"0 1px 2px #0003"}})]})]})}
2
+ export{cn};
@@ -1,4 +1,4 @@
1
- import{Questionnaire as r}from"@shadcn/react/questionnaire";import{useEffect as v,useId as R,useRef as b}from"react";import{Button as C}from"@nyssance/shadcn/vega/components/ui/button";import{Textarea as S}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as i,jsxs as c,Fragment as _}from"react/jsx-runtime";function p(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function k(e){if(!p(e)||!p(e.codex))return[];let n=e.codex,o=n.questions;if(n.delivery!=="async"||!Array.isArray(o))return[];if(!o.every((t)=>p(t)&&typeof t.title==="string"&&t.title.trim().length>0&&(t.options===null||Array.isArray(t.options)&&t.options.every((m)=>typeof m==="string"))))return[];return o}function Tn(e,n){return JSON.stringify(["request_user_input_async",e,n])}function Ii(e){return{selected:e.options?.length?0:null,text:""}}function Zt(e,n){return n.selected===null?n.text:e.options?.[n.selected]??""}function Ni(e){return`<send_user_message_question_reply>
1
+ import{Questionnaire as r}from"@shadcn/react/questionnaire";import{useEffect as N,useId as v,useRef as b}from"react";import{Button as k}from"@nyssance/shadcn/vega/components/ui/button";import{Textarea as R}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as i,jsxs as c,Fragment as _}from"react/jsx-runtime";function p(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function S(e){if(!p(e)||!p(e.codex))return[];let n=e.codex,o=n.questions;if(n.delivery!=="async"||!Array.isArray(o))return[];if(!o.every((t)=>p(t)&&typeof t.title==="string"&&t.title.trim().length>0&&(t.options===null||Array.isArray(t.options)&&t.options.every((m)=>typeof m==="string"))))return[];return o}function Nn(e,n){return JSON.stringify(["request_user_input_async",e,n])}function Ni(e){return{selected:e.options?.length?0:null,text:""}}function Qt(e,n){return n.selected===null?n.text:e.options?.[n.selected]??""}function Mi(e){return`<send_user_message_question_reply>
2
2
  ${JSON.stringify([e])}
3
- </send_user_message_question_reply>`}function In(e){if(!p(e)||!p(e.codex))return[];let n=e.codex;return(Array.isArray(n.questionReplyParts)?n.questionReplyParts.map((t)=>p(t)?{...t,answer:t.text}:t):[n.questionReply]).filter((t)=>p(t)&&typeof t.questionItemId==="string"&&typeof t.question==="string"&&typeof t.answer==="string").map(({questionItemId:t,question:m,answer:y})=>({questionItemId:t,question:m,answer:y}))}function Mi({question:e,draft:n,status:o,answer:t,error:m,onChange:y,onSubmit:x,onSkip:A,t:u}){let g=R(),h=b(!1),a=b(null);v(()=>()=>{if(a.current!==null)cancelAnimationFrame(a.current)},[]);let l=o==="pending",N=o==="answered"||o==="skipped",f=e.options??[],w=l&&Zt(e,n).trim().length>0,Q="flex cursor-pointer items-start gap-2 text-sm in-data-readonly:cursor-default in-data-readonly:opacity-50";return i("section",{"aria-labelledby":`${g}-title`,className:"border-border bg-card text-card-foreground flex min-w-0 flex-col gap-3 rounded-xl border p-4",children:N?c(_,{children:[i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap",children:e.title}),i("p",{className:"text-sm whitespace-pre-wrap",children:o==="answered"?t:u("asyncQuestion.skipped")})]}):c(r.Root,{items:f.length>0?[{name:"answer",choices:[...f.map((s,d)=>({value:String(d)})),{value:"other"}]}]:void 0,shortcuts:"letters",noValidate:!0,className:"flex min-w-0 flex-col gap-3",onSubmit:(s)=>{if(s.preventDefault(),w)x()},children:[c(r.Item,{name:"answer",className:"m-0 flex min-w-0 flex-col gap-3 border-0 p-0",children:[i(r.Title,{render:i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap"}),children:e.title}),f.length>0&&c(r.Choices,{className:"flex flex-col gap-2","aria-disabled":!l||void 0,"data-readonly":!l||void 0,children:[f.map((s,d)=>c(r.Choice,{value:String(d),checked:n.selected===d,onChange:()=>l&&y({...n,selected:d}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{className:"whitespace-pre-wrap",children:s})]},d)),c(r.Choice,{value:"other",checked:n.selected===null,onChange:()=>l&&y({...n,selected:null}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{children:u("asyncQuestion.other")})]})]}),i(r.Input,{render:i(S,{rows:1,className:"min-h-0 resize-none"}),onCompositionStart:()=>{if(a.current!==null)cancelAnimationFrame(a.current);a.current=null,h.current=!0},onCompositionEnd:()=>{if(h.current=!1,a.current!==null)cancelAnimationFrame(a.current);a.current=requestAnimationFrame(()=>{a.current=null})},onKeyDown:(s)=>{if(s.key==="Enter")s.stopPropagation();if(s.key!=="Enter"||s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||h.current||a.current!==null||s.nativeEvent.isComposing||s.nativeEvent.keyCode===229)return;if(s.preventDefault(),l&&Zt(e,{...n,text:s.currentTarget.value}).trim().length>0)x()},"aria-label":u("asyncQuestion.answer"),placeholder:u("asyncQuestion.answer"),value:n.text,readOnly:!l,onChange:(s)=>y({selected:null,text:s.target.value})}),m&&i("p",{role:"alert",className:"text-destructive text-sm",children:m})]}),c("div",{className:"flex flex-wrap items-center gap-2",children:[i(r.Submit,{render:i(C,{size:"sm"}),disabled:!w,children:u(o==="submitting"?"asyncQuestion.submitting":"asyncQuestion.submit")}),i(r.Skip,{render:i(C,{size:"sm",variant:"ghost"}),disabled:!l,onClick:A,children:u("asyncQuestion.skip")}),(o==="closed"||o==="unavailable")&&i("span",{role:"status",className:"text-muted-foreground text-xs",children:u(`asyncQuestion.${o}`)})]})]})})}
4
- export{k,Tn,Ii,Zt,Ni,In,Mi};
3
+ </send_user_message_question_reply>`}function Mn(e){if(!p(e)||!p(e.codex))return[];let n=e.codex;return(Array.isArray(n.questionReplyParts)?n.questionReplyParts.map((t)=>p(t)?{...t,answer:t.text}:t):[n.questionReply]).filter((t)=>p(t)&&typeof t.questionItemId==="string"&&typeof t.question==="string"&&typeof t.answer==="string").map(({questionItemId:t,question:m,answer:y})=>({questionItemId:t,question:m,answer:y}))}function Ai({question:e,draft:n,status:o,answer:t,error:m,onChange:y,onSubmit:x,onSkip:C,t:u}){let g=v(),h=b(!1),a=b(null);N(()=>()=>{if(a.current!==null)cancelAnimationFrame(a.current)},[]);let l=o==="pending",A=o==="answered"||o==="skipped",f=e.options??[],w=l&&Qt(e,n).trim().length>0,Q="flex cursor-pointer items-start gap-2 text-sm in-data-readonly:cursor-default in-data-readonly:opacity-50";return i("section",{"aria-labelledby":`${g}-title`,className:"border-border bg-card text-card-foreground flex min-w-0 flex-col gap-3 rounded-xl border p-4",children:A?c(_,{children:[i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap",children:e.title}),i("p",{className:"text-sm whitespace-pre-wrap",children:o==="answered"?t:u("asyncQuestion.skipped")})]}):c(r.Root,{items:f.length>0?[{name:"answer",choices:[...f.map((s,d)=>({value:String(d)})),{value:"other"}]}]:void 0,shortcuts:"letters",noValidate:!0,className:"flex min-w-0 flex-col gap-3",onSubmit:(s)=>{if(s.preventDefault(),w)x()},children:[c(r.Item,{name:"answer",className:"m-0 flex min-w-0 flex-col gap-3 border-0 p-0",children:[i(r.Title,{render:i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap"}),children:e.title}),f.length>0&&c(r.Choices,{className:"flex flex-col gap-2","aria-disabled":!l||void 0,"data-readonly":!l||void 0,children:[f.map((s,d)=>c(r.Choice,{value:String(d),checked:n.selected===d,onChange:()=>l&&y({...n,selected:d}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{className:"whitespace-pre-wrap",children:s})]},d)),c(r.Choice,{value:"other",checked:n.selected===null,onChange:()=>l&&y({...n,selected:null}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{children:u("asyncQuestion.other")})]})]}),i(r.Input,{render:i(R,{rows:1,className:"min-h-0 resize-none"}),onCompositionStart:()=>{if(a.current!==null)cancelAnimationFrame(a.current);a.current=null,h.current=!0},onCompositionEnd:()=>{if(h.current=!1,a.current!==null)cancelAnimationFrame(a.current);a.current=requestAnimationFrame(()=>{a.current=null})},onKeyDown:(s)=>{if(s.key==="Enter")s.stopPropagation();if(s.key!=="Enter"||s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||h.current||a.current!==null||s.nativeEvent.isComposing||s.nativeEvent.keyCode===229)return;if(s.preventDefault(),l&&Qt(e,{...n,text:s.currentTarget.value}).trim().length>0)x()},"aria-label":u("asyncQuestion.answer"),placeholder:u("asyncQuestion.answer"),value:n.text,readOnly:!l,onChange:(s)=>y({selected:null,text:s.target.value})}),m&&i("p",{role:"alert",className:"text-destructive text-sm",children:m})]}),c("div",{className:"flex flex-wrap items-center gap-2",children:[i(r.Submit,{render:i(k,{size:"sm"}),disabled:!w,children:u(o==="submitting"?"asyncQuestion.submitting":"asyncQuestion.submit")}),i(r.Skip,{render:i(k,{size:"sm",variant:"ghost"}),disabled:!l,onClick:C,children:u("asyncQuestion.skip")}),(o==="closed"||o==="unavailable")&&i("span",{role:"status",className:"text-muted-foreground text-xs",children:u(`asyncQuestion.${o}`)})]})]})})}
4
+ export{S,Nn,Ni,Qt,Mi,Mn,Ai};
@@ -1,2 +1,2 @@
1
- function a(t){if(t.path.startsWith("/")||/^[A-Za-z]:[\\/]/.test(t.path))return t.path;return`${t.root.replace(/[\\/]+$/,"")}/${t.path}`}function Bt(t,o=50){return t.slice(0,o).map((e)=>{let r=a(e);return{key:r,label:e.path,payload:r,description:e.match_type==="directory"?"/":""}})}
2
- export{Bt};
1
+ function a(t){if(t.path.startsWith("/")||/^[A-Za-z]:[\\/]/.test(t.path))return t.path;return`${t.root.replace(/[\\/]+$/,"")}/${t.path}`}function Gt(t,o=50){return t.slice(0,o).map((e)=>{let r=a(e);return{key:r,label:e.path,payload:r,description:e.match_type==="directory"?"/":""}})}
2
+ export{Gt};
@@ -0,0 +1 @@
1
+ import{ye}from"./chunk-90r8y97z.js";import{P}from"./chunk-42atrgm1.js";import{cn as n}from"cn";import{Item as i,ItemActions as L,ItemContent as E,ItemDescription as Y,ItemMedia as R,ItemTitle as a}from"@nyssance/shadcn/vega/components/ui/item";import{jsx as o}from"react/jsx-runtime";function F({className:e,...t}){return o("div",{className:n("flex flex-col px-2",e),...t})}function ae({className:e,size:t="xs",active:m,...r}){return o(i,{size:t,"data-active":m,className:n(ye,"data-[active=true]:font-medium",e),...r})}function ct({className:e,children:t,...m}){return o(a,{className:n("w-full",e),...m,children:o(P,{children:t})})}export{L,E,Y,R,F,ae,ct};
@@ -1,2 +1,2 @@
1
- import{cn as v}from"cn";import{ChevronDownIcon as h,ChevronUpIcon as g,XIcon as b}from"lucide-react";import{useEffect as z,useImperativeHandle as B,useRef as N}from"react";import{Button as i}from"@nyssance/shadcn/vega/components/ui/button";import{Input as E}from"@nyssance/shadcn/vega/components/ui/input";import{jsx as t,jsxs as k}from"react/jsx-runtime";function Ri({ref:f,value:r,onChange:p,onFind:o,onClose:s,placeholder:d,autoFocusOpen:a=!0,prevTitle:l,nextTitle:c,className:m}){let n=N(null);B(f,()=>{if(n.current===null)throw Error("FindBar input is not mounted");return n.current},[]),z(()=>{if(!a)return;let e=n.current;if(e===null)throw Error("FindBar input is not mounted");e.focus({preventScroll:!0}),e.select()},[a]);let u=!r;return k("div",{className:v("border-border flex h-9 shrink-0 items-center gap-1 border-b px-2",m),children:[t(E,{ref:n,value:r,onChange:(e)=>p(e.target.value),placeholder:d,className:"h-7 text-xs",onKeyDown:(e)=>{if(e.key==="Escape"){e.preventDefault(),s();return}if(e.key==="Enter"){if(e.preventDefault(),r)o(e.shiftKey)}}}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!0),title:l?`${l} (⇧↵)`:"⇧↵",children:t(g,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!1),title:c?`${c} (↵)`:"↵",children:t(h,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",onClick:s,title:"Esc",children:t(b,{className:"size-3.5"})})]})}
2
- export{Ri};
1
+ import{cn as v}from"cn";import{ChevronDownIcon as h,ChevronUpIcon as g,XIcon as b}from"lucide-react";import{useEffect as z,useImperativeHandle as B,useRef as N}from"react";import{Button as i}from"@nyssance/shadcn/vega/components/ui/button";import{Input as E}from"@nyssance/shadcn/vega/components/ui/input";import{jsx as t,jsxs as k}from"react/jsx-runtime";function Fi({ref:f,value:r,onChange:p,onFind:o,onClose:s,placeholder:d,autoFocusOpen:a=!0,prevTitle:l,nextTitle:c,className:m}){let n=N(null);B(f,()=>{if(n.current===null)throw Error("FindBar input is not mounted");return n.current},[]),z(()=>{if(!a)return;let e=n.current;if(e===null)throw Error("FindBar input is not mounted");e.focus({preventScroll:!0}),e.select()},[a]);let u=!r;return k("div",{className:v("border-border flex h-9 shrink-0 items-center gap-1 border-b px-2",m),children:[t(E,{ref:n,value:r,onChange:(e)=>p(e.target.value),placeholder:d,className:"h-7 text-xs",onKeyDown:(e)=>{if(e.key==="Escape"){e.preventDefault(),s();return}if(e.key==="Enter"){if(e.preventDefault(),r)o(e.shiftKey)}}}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!0),title:l?`${l} (⇧↵)`:"⇧↵",children:t(g,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!1),title:c?`${c} (↵)`:"↵",children:t(h,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",onClick:s,title:"Esc",children:t(b,{className:"size-3.5"})})]})}
2
+ export{Fi};
@@ -1,2 +1,2 @@
1
- import{Ie,Pt}from"./chunk-22tg663v.js";import{createStore as S}from"@alwith/api/client";import{createContext as y,useContext as h,useSyncExternalStore as x}from"react";import{jsx as w}from"react/jsx-runtime";function u(o){return typeof o==="object"&&o!==null&&!Array.isArray(o)}function Wn(o){if(o===null||o===void 0)return Ie();if(!u(o)||!u(o.collections)||!Array.isArray(o.order))throw Error("Saved collections are not in the expected format");let{collections:t,order:e}=o;for(let r of e)if(typeof r!=="string"||!u(t[r]))throw Error(`Saved collection missing: ${String(r)}`);return{collections:t,order:e,sessionMeta:{}}}function tr(o,{reportError:t=console.error}={}){let e=S(Ie()),r=async()=>{e.setState(Wn(await o.load()),!0)},i=r(),l=i.catch(t),C=()=>{let n=l.then(r);return i=n,l=n.catch(()=>{}),n},s=!1,a,c=o.subscribe?.(()=>{if(!s)C().catch(t)});if(typeof c==="function")a=c;else if(c!==void 0)c.then((n)=>{if(s)n();else a=n},t);return{store:e,getState:()=>e.getState(),ready:i,dispatch:(n)=>{let p=l.then(async()=>{await i;let d=(Array.isArray(n)?n:[n]).reduce(Pt,e.getState());await o.save({collections:d.collections,order:d.order}),e.setState(d,!0)});return l=p.catch(()=>{}),p},reload:C,dispose:()=>{s=!0,a?.()}}}var f=y(null);function nr({store:o,children:t}){return w(f,{value:o,children:t})}function en(){let o=h(f);if(o===null)throw Error("Collection store is missing; wrap the tree in CollectionProvider");return o}function de(o){let{store:t}=en(),e=()=>o?o(t.getState()):t.getState();return x((r)=>t.subscribe(r),e,e)}function X(){return en().dispatch}
2
- export{Wn,tr,nr,en,de,X};
1
+ import{Ie,Tt}from"./chunk-7x1qnb20.js";import{createStore as S}from"@alwith/api/client";import{createContext as y,useContext as h,useSyncExternalStore as x}from"react";import{jsx as w}from"react/jsx-runtime";function u(o){return typeof o==="object"&&o!==null&&!Array.isArray(o)}function Zn(o){if(o===null||o===void 0)return Ie();if(!u(o)||!u(o.collections)||!Array.isArray(o.order))throw Error("Saved collections are not in the expected format");let{collections:t,order:e}=o;for(let r of e)if(typeof r!=="string"||!u(t[r]))throw Error(`Saved collection missing: ${String(r)}`);return{collections:t,order:e,sessionMeta:{}}}function tr(o,{reportError:t=console.error}={}){let e=S(Ie()),r=async()=>{e.setState(Zn(await o.load()),!0)},i=r(),l=i.catch(t),C=()=>{let n=l.then(r);return i=n,l=n.catch(()=>{}),n},s=!1,a,c=o.subscribe?.(()=>{if(!s)C().catch(t)});if(typeof c==="function")a=c;else if(c!==void 0)c.then((n)=>{if(s)n();else a=n},t);return{store:e,getState:()=>e.getState(),ready:i,dispatch:(n)=>{let p=l.then(async()=>{await i;let d=(Array.isArray(n)?n:[n]).reduce(Tt,e.getState());await o.save({collections:d.collections,order:d.order}),e.setState(d,!0)});return l=p.catch(()=>{}),p},reload:C,dispose:()=>{s=!0,a?.()}}}var f=y(null);function nr({store:o,children:t}){return w(f,{value:o,children:t})}function tn(){let o=h(f);if(o===null)throw Error("Collection store is missing; wrap the tree in CollectionProvider");return o}function de(o){let{store:t}=tn(),e=()=>o?o(t.getState()):t.getState();return x((r)=>t.subscribe(r),e,e)}function X(){return tn().dispatch}
2
+ export{Zn,tr,nr,tn,de,X};
@@ -1,2 +1,2 @@
1
- import{ho}from"./chunk-hsp0skqs.js";import{T}from"./chunk-7a668qzy.js";import{cn as v}from"cn";import{PaperclipIcon as H,XIcon as k}from"lucide-react";import{Fragment as M,useEffect as L,useRef as z,useState as b}from"react";import{Button as P}from"@nyssance/shadcn/vega/components/ui/button";import{HoverCard as E,HoverCardContent as R,HoverCardTrigger as D}from"@nyssance/shadcn/vega/components/ui/hover-card";import{jsx as e,jsxs as r,Fragment as K}from"react/jsx-runtime";function F(t){return e(R,{align:"start",...t})}function co({data:t,t:n,className:l,...m}){let c=T(),[u,f]=b(!1),[N,d]=b(1),I=z(null),a=t.filename||"",o=(t.mediaType?.startsWith("image/")&&t.url?"image":"file")==="image",C=a||(o?n("input.image"):n("input.attachment"));return L(()=>{if(!u)return;let p=0.1,h=(i)=>Math.min(10,Math.max(0.1,i)),g=(i)=>{if(!(i.ctrlKey||i.metaKey))return;let s=i.key,y=s==="+"||s==="=",A=s==="-"||s==="_",x=s==="0";if(!y&&!A&&!x)return;i.preventDefault(),d((w)=>{if(x)return 1;if(y)return h(w+p);return h(w-p)})};return window.addEventListener("keydown",g,{passive:!1}),()=>window.removeEventListener("keydown",g)},[u]),r(K,{children:[r(E,{children:[e(D,{render:r("div",{className:v("group border-border hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent relative flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-1.5 text-sm font-medium transition-all select-none",l),...m,children:[r("div",{className:"relative size-5 shrink-0",children:[o?e(P,{type:"button",variant:"ghost",size:"icon-xs","aria-label":n("input.image"),className:"bg-background absolute inset-0 size-5 overflow-hidden rounded p-0 transition-opacity group-hover:opacity-0",onClick:()=>{d(1),f(!0)},children:e("img",{alt:a||"attachment",className:"size-5 object-cover",height:20,src:t.url,width:20})}):e("div",{className:"bg-background text-muted-foreground absolute inset-0 flex size-5 items-center justify-center overflow-hidden rounded transition-opacity group-hover:opacity-0",children:e(H,{className:"size-3"})}),r(P,{"aria-label":n("input.removeAttachment"),className:v("absolute -top-1 -right-1 size-4 rounded-full p-0 opacity-0 transition-opacity [&>svg]:size-3","pointer-events-none group-hover:pointer-events-auto group-hover:opacity-100"),onClick:(p)=>{p.stopPropagation(),c.remove(t.id)},type:"button",variant:"ghost",children:[e(k,{}),e("span",{className:"sr-only",children:n("input.removeAttachment")})]})]}),!o&&e("span",{className:"max-w-40 flex-1 truncate text-xs",children:C})]})}),e(F,{className:"w-auto p-2",children:r("div",{className:"w-auto space-y-3",children:[o&&e("div",{className:"flex max-h-96 w-96 items-center justify-center overflow-hidden rounded-md border",children:e("img",{alt:a||"attachment preview",className:"max-h-full max-w-full object-contain",height:384,src:t.url,width:448})}),e("div",{className:"flex items-center gap-2.5",children:r("div",{className:"min-w-0 flex-1 space-y-1 px-0.5",children:[e("h4",{className:"truncate text-sm leading-none font-semibold",children:a||(o?"Image":"Attachment")}),t.mediaType&&e("p",{className:"text-muted-foreground truncate font-mono text-xs",children:t.mediaType})]})})]})})]}),o&&t.url&&e(ho,{containerRef:I,filename:a||n("input.image"),onOpenChange:f,onScaleChange:d,open:u,scale:N,url:t.url})]})}function uo({children:t,className:n,...l}){let m=T();if(!m.files.length)return null;return e("div",{className:v("flex w-full flex-wrap items-center gap-1",n),...l,children:m.files.map((c)=>e(M,{children:t(c)},c.id))})}
1
+ import{ho}from"./chunk-hsp0skqs.js";import{T}from"./chunk-famkkndg.js";import{cn as v}from"cn";import{PaperclipIcon as H,XIcon as k}from"lucide-react";import{Fragment as M,useEffect as L,useRef as z,useState as b}from"react";import{Button as P}from"@nyssance/shadcn/vega/components/ui/button";import{HoverCard as E,HoverCardContent as R,HoverCardTrigger as D}from"@nyssance/shadcn/vega/components/ui/hover-card";import{jsx as e,jsxs as r,Fragment as K}from"react/jsx-runtime";function F(t){return e(R,{align:"start",...t})}function co({data:t,t:n,className:l,...m}){let c=T(),[u,f]=b(!1),[N,d]=b(1),I=z(null),a=t.filename||"",o=(t.mediaType?.startsWith("image/")&&t.url?"image":"file")==="image",C=a||(o?n("input.image"):n("input.attachment"));return L(()=>{if(!u)return;let p=0.1,h=(i)=>Math.min(10,Math.max(0.1,i)),g=(i)=>{if(!(i.ctrlKey||i.metaKey))return;let s=i.key,y=s==="+"||s==="=",A=s==="-"||s==="_",x=s==="0";if(!y&&!A&&!x)return;i.preventDefault(),d((w)=>{if(x)return 1;if(y)return h(w+p);return h(w-p)})};return window.addEventListener("keydown",g,{passive:!1}),()=>window.removeEventListener("keydown",g)},[u]),r(K,{children:[r(E,{children:[e(D,{render:r("div",{className:v("group border-border hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent relative flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-1.5 text-sm font-medium transition-all select-none",l),...m,children:[r("div",{className:"relative size-5 shrink-0",children:[o?e(P,{type:"button",variant:"ghost",size:"icon-xs","aria-label":n("input.image"),className:"bg-background absolute inset-0 size-5 overflow-hidden rounded p-0 transition-opacity group-hover:opacity-0",onClick:()=>{d(1),f(!0)},children:e("img",{alt:a||"attachment",className:"size-5 object-cover",height:20,src:t.url,width:20})}):e("div",{className:"bg-background text-muted-foreground absolute inset-0 flex size-5 items-center justify-center overflow-hidden rounded transition-opacity group-hover:opacity-0",children:e(H,{className:"size-3"})}),r(P,{"aria-label":n("input.removeAttachment"),className:v("absolute -top-1 -right-1 size-4 rounded-full p-0 opacity-0 transition-opacity [&>svg]:size-3","pointer-events-none group-hover:pointer-events-auto group-hover:opacity-100"),onClick:(p)=>{p.stopPropagation(),c.remove(t.id)},type:"button",variant:"ghost",children:[e(k,{}),e("span",{className:"sr-only",children:n("input.removeAttachment")})]})]}),!o&&e("span",{className:"max-w-40 flex-1 truncate text-xs",children:C})]})}),e(F,{className:"w-auto p-2",children:r("div",{className:"w-auto space-y-3",children:[o&&e("div",{className:"flex max-h-96 w-96 items-center justify-center overflow-hidden rounded-md border",children:e("img",{alt:a||"attachment preview",className:"max-h-full max-w-full object-contain",height:384,src:t.url,width:448})}),e("div",{className:"flex items-center gap-2.5",children:r("div",{className:"min-w-0 flex-1 space-y-1 px-0.5",children:[e("h4",{className:"truncate text-sm leading-none font-semibold",children:a||(o?"Image":"Attachment")}),t.mediaType&&e("p",{className:"text-muted-foreground truncate font-mono text-xs",children:t.mediaType})]})})]})})]}),o&&t.url&&e(ho,{containerRef:I,filename:a||n("input.image"),onOpenChange:f,onScaleChange:d,open:u,scale:N,url:t.url})]})}function uo({children:t,className:n,...l}){let m=T();if(!m.files.length)return null;return e("div",{className:v("flex w-full flex-wrap items-center gap-1",n),...l,children:m.files.map((c)=>e(M,{children:t(c)},c.id))})}
2
2
  export{co,uo};
@@ -1,2 +1,2 @@
1
- import{Ui}from"./chunk-rezwwmw7.js";import{createContext as s,useContext as l,useSyncExternalStore as m}from"react";import{jsx as r}from"react/jsx-runtime";var c=s(null),u=s(null);function we({host:e,client:i,children:o}){return r(Ui,{host:e,children:r(c,{value:e,children:r(u,{value:i,children:o})})})}function t(){let e=l(c);if(e===null)throw Error("Timeline host is missing");return e}function ke(){let e=l(u);if(e===null)throw Error("Timeline client is missing");return e}function Q(e,i){return m((o)=>e.subscribe(o),()=>i(e.getState()),()=>i(e.getState()))}function n(e){let i=ke();return Q(i.store,e)}function rt(e,i){if(e.reportError)e.reportError(i);else console.error(i)}
2
- export{we,t,ke,Q,n,rt};
1
+ import{Ui}from"./chunk-6e1bwjtk.js";import{createContext as s,useContext as l,useSyncExternalStore as m}from"react";import{jsx as r}from"react/jsx-runtime";var c=s(null),u=s(null);function we({host:e,client:i,children:o}){return r(Ui,{host:e,children:r(c,{value:e,children:r(u,{value:i,children:o})})})}function t(){let e=l(c);if(e===null)throw Error("Timeline host is missing");return e}function ke(){let e=l(u);if(e===null)throw Error("Timeline client is missing");return e}function Q(e,i){return m((o)=>e.subscribe(o),()=>i(e.getState()),()=>i(e.getState()))}function n(e){let i=ke();return Q(i.store,e)}function at(e,i){if(e.reportError)e.reportError(i);else console.error(i)}
2
+ export{we,t,ke,Q,n,at};
@@ -1,2 +1,2 @@
1
- import{fe}from"./chunk-fprj3wy4.js";function Jn(r){let s=fe(),c=r.split("|").map((e)=>e.trim()).filter(Boolean),o=c.reduce((e,t)=>t.split("+").length>e.split("+").length?t:e,c[0]??r),a=[];for(let e of o.split("+").map((t)=>t.trim()))switch(e.toLowerCase()){case"commandorcontrol":case"cmdorctrl":a.push(s?"⌘":"Ctrl");break;case"command":case"meta":case"cmd":a.push(s?"⌘":"Win");break;case"control":case"ctrl":a.push(s?"⌃":"Ctrl");break;case"shift":a.push(s?"⇧":"Shift");break;case"alt":case"option":a.push(s?"⌥":"Alt");break;case"enter":case"return":a.push(s?"↩":"Enter");break;case"tab":a.push(s?"⇥":"Tab");break;case"backspace":case"delete":a.push(s?"⌫":"Backspace");break;case"escape":case"esc":a.push(s?"⎋":"Esc");break;case"space":a.push(s?"␣":"Space");break;case"fn":a.push("fn");break;case"arrowleft":a.push("←");break;case"arrowright":a.push("→");break;case"arrowup":a.push("↑");break;case"arrowdown":a.push("↓");break;default:a.push(e.toUpperCase())}return a}function me(r){return Jn(r).join(fe()?"":"+")}
2
- export{Jn,me};
1
+ import{ge}from"./chunk-bfqqsv6a.js";function to(r){let s=ge(),c=r.split("|").map((e)=>e.trim()).filter(Boolean),o=c.reduce((e,t)=>t.split("+").length>e.split("+").length?t:e,c[0]??r),a=[];for(let e of o.split("+").map((t)=>t.trim()))switch(e.toLowerCase()){case"commandorcontrol":case"cmdorctrl":a.push(s?"⌘":"Ctrl");break;case"command":case"meta":case"cmd":a.push(s?"⌘":"Win");break;case"control":case"ctrl":a.push(s?"⌃":"Ctrl");break;case"shift":a.push(s?"⇧":"Shift");break;case"alt":case"option":a.push(s?"⌥":"Alt");break;case"enter":case"return":a.push(s?"↩":"Enter");break;case"tab":a.push(s?"⇥":"Tab");break;case"backspace":case"delete":a.push(s?"⌫":"Backspace");break;case"escape":case"esc":a.push(s?"⎋":"Esc");break;case"space":a.push(s?"␣":"Space");break;case"fn":a.push("fn");break;case"arrowleft":a.push("←");break;case"arrowright":a.push("→");break;case"arrowup":a.push("↑");break;case"arrowdown":a.push("↓");break;default:a.push(e.toUpperCase())}return a}function me(r){return to(r).join(ge()?"":"+")}
2
+ export{to,me};
@@ -1,2 +1,2 @@
1
- var aa=280;function jo({entries:i,gapPx:t,measuredHeightsByKey:o,leadingInsetPx:e=0}){let n=[],r=[],d=new Map,s=[],u=e;for(let[x,a]of i.entries()){d.set(a.turnKey,x);for(let h of a.aliases??[])d.set(h,x);s.push(a.turnKey),r.push(u);let f=a.aliases?.map((h)=>o[h]).find((h)=>h!==void 0),m=o[a.turnKey]??f??a.estimatedHeightPx??280;if(n.push(m),u+=m,x<i.length-1)u+=t}return{bottomOffsetsPx:r.map((x,a)=>{let f=n[a];if(f===void 0)throw Error(`Codex turn height is missing at index ${a}`);return u-x-f}),heightsPx:n,topOffsetsPx:r,totalHeightPx:u,turnIndexByKey:d,turnKeys:s}}function Re({distanceFromBottomPx:i,layout:t,overscanCount:o,viewportHeightPx:e}){if(t.turnKeys.length===0)return{startIndex:0,endIndex:0};let n=Math.min(Math.max(0,i),t.totalHeightPx),r=Math.min(n+Math.max(0,e),t.totalHeightPx),d=g(t.bottomOffsetsPx,r),s=l(t.bottomOffsetsPx,t.heightsPx,n);return{startIndex:Math.max(0,d-o),endIndex:Math.min(t.turnKeys.length,Math.max(s,d+1)+o)}}function mn({anchorKey:i,layout:t,previousRange:o}){let e=t.turnIndexByKey.get(i);if(e===void 0)return null;return{startIndex:e,endIndex:Math.min(t.turnKeys.length,e+o.endIndex-o.startIndex)}}function $o({anchorKey:i,distanceFromBottomPx:t,nextLayout:o,previousLayout:e}){let n=e.turnIndexByKey.get(i),r=o.turnIndexByKey.get(i);if(n===void 0||r===void 0)return null;let d=e.bottomOffsetsPx[n],s=e.heightsPx[n],u=o.bottomOffsetsPx[r],x=o.heightsPx[r];if(d===void 0||s===void 0||u===void 0||x===void 0)throw Error(`Codex turn geometry is missing: ${i}`);return Math.max(0,t+u+x-d-s)}function Ko({layout:i,turnKey:t,viewportHeightPx:o}){let e=i.turnIndexByKey.get(t);if(e===void 0)return null;let n=i.bottomOffsetsPx[e],r=i.heightsPx[e];if(n===void 0||r===void 0)throw Error(`Codex turn geometry is missing: ${t}`);return Math.max(0,n-o/2+r/2)}function qo({align:i,layout:t,targetHeightPx:o,targetOffsetPx:e,turnKey:n,viewportHeightPx:r}){let d=t.turnIndexByKey.get(n);if(d===void 0)return null;let s=t.bottomOffsetsPx[d],u=t.heightsPx[d];if(s===void 0||u===void 0)throw Error(`Codex turn geometry is missing: ${n}`);let x=s+u-e;return i==="top"?Math.max(0,x-r+10):Math.max(0,x-o/2-r/2)}function g(i,t){let o=0,e=i.length;while(o<e){let n=Math.floor((o+e)/2),r=i[n];if(r===void 0)throw Error(`Codex bottom offset is missing at index ${n}`);if(r<t)e=n;else o=n+1}return o}function l(i,t,o){let e=0,n=i.length;while(e<n){let r=Math.floor((e+n)/2),d=i[r],s=t[r];if(d===void 0||s===void 0)throw Error(`Codex turn geometry is missing at index ${r}`);if(d+s<=o)n=r;else e=r+1}return e}
2
- export{aa,jo,Re,mn,$o,Ko,qo};
1
+ var la=280;function jo({entries:i,gapPx:t,measuredHeightsByKey:o,leadingInsetPx:e=0}){let n=[],r=[],d=new Map,s=[],u=e;for(let[x,a]of i.entries()){d.set(a.turnKey,x);for(let h of a.aliases??[])d.set(h,x);s.push(a.turnKey),r.push(u);let f=a.aliases?.map((h)=>o[h]).find((h)=>h!==void 0),m=o[a.turnKey]??f??a.estimatedHeightPx??280;if(n.push(m),u+=m,x<i.length-1)u+=t}return{bottomOffsetsPx:r.map((x,a)=>{let f=n[a];if(f===void 0)throw Error(`Codex turn height is missing at index ${a}`);return u-x-f}),heightsPx:n,topOffsetsPx:r,totalHeightPx:u,turnIndexByKey:d,turnKeys:s}}function Re({distanceFromBottomPx:i,layout:t,overscanCount:o,viewportHeightPx:e}){if(t.turnKeys.length===0)return{startIndex:0,endIndex:0};let n=Math.min(Math.max(0,i),t.totalHeightPx),r=Math.min(n+Math.max(0,e),t.totalHeightPx),d=g(t.bottomOffsetsPx,r),s=l(t.bottomOffsetsPx,t.heightsPx,n);return{startIndex:Math.max(0,d-o),endIndex:Math.min(t.turnKeys.length,Math.max(s,d+1)+o)}}function gn({anchorKey:i,layout:t,previousRange:o}){let e=t.turnIndexByKey.get(i);if(e===void 0)return null;return{startIndex:e,endIndex:Math.min(t.turnKeys.length,e+o.endIndex-o.startIndex)}}function $o({anchorKey:i,distanceFromBottomPx:t,nextLayout:o,previousLayout:e}){let n=e.turnIndexByKey.get(i),r=o.turnIndexByKey.get(i);if(n===void 0||r===void 0)return null;let d=e.bottomOffsetsPx[n],s=e.heightsPx[n],u=o.bottomOffsetsPx[r],x=o.heightsPx[r];if(d===void 0||s===void 0||u===void 0||x===void 0)throw Error(`Codex turn geometry is missing: ${i}`);return Math.max(0,t+u+x-d-s)}function Ko({layout:i,turnKey:t,viewportHeightPx:o}){let e=i.turnIndexByKey.get(t);if(e===void 0)return null;let n=i.bottomOffsetsPx[e],r=i.heightsPx[e];if(n===void 0||r===void 0)throw Error(`Codex turn geometry is missing: ${t}`);return Math.max(0,n-o/2+r/2)}function qo({align:i,layout:t,targetHeightPx:o,targetOffsetPx:e,turnKey:n,viewportHeightPx:r}){let d=t.turnIndexByKey.get(n);if(d===void 0)return null;let s=t.bottomOffsetsPx[d],u=t.heightsPx[d];if(s===void 0||u===void 0)throw Error(`Codex turn geometry is missing: ${n}`);let x=s+u-e;return i==="top"?Math.max(0,x-r+10):Math.max(0,x-o/2-r/2)}function g(i,t){let o=0,e=i.length;while(o<e){let n=Math.floor((o+e)/2),r=i[n];if(r===void 0)throw Error(`Codex bottom offset is missing at index ${n}`);if(r<t)e=n;else o=n+1}return o}function l(i,t,o){let e=0,n=i.length;while(e<n){let r=Math.floor((e+n)/2),d=i[r],s=t[r];if(d===void 0||s===void 0)throw Error(`Codex turn geometry is missing at index ${r}`);if(d+s<=o)n=r;else e=r+1}return e}
2
+ export{la,jo,Re,gn,$o,Ko,qo};
@@ -1 +1 @@
1
- import{Xo,et}from"../chunk-w8qn76a1.js";import"../chunk-jsabvejp.js";import"../chunk-t2q8cxnh.js";import"../chunk-crx8p5zx.js";import"../chunk-s7yzvpmc.js";import"../chunk-x2nemdjf.js";import"../chunk-rezwwmw7.js";export{et as CodexActivityGroup,Xo as CodexWorkSection};
1
+ import{Xo,tt}from"../chunk-htjpckp6.js";import"../chunk-5t5y5e8n.js";import"../chunk-t2q8cxnh.js";import"../chunk-ehdqspxk.js";import"../chunk-5yzjwrat.js";import"../chunk-x2nemdjf.js";import"../chunk-6e1bwjtk.js";export{tt as CodexActivityGroup,Xo as CodexWorkSection};
@@ -1 +1 @@
1
- import{sa,gn,fn}from"../chunk-h9m4z5dk.js";import"../chunk-k2gwmccn.js";import"../chunk-w233xc7k.js";import"../chunk-w8qn76a1.js";import"../chunk-jsabvejp.js";import"../chunk-t2q8cxnh.js";import"../chunk-crx8p5zx.js";import"../chunk-s7yzvpmc.js";import"../chunk-x2nemdjf.js";import"../chunk-46phvpzh.js";import"../chunk-6g7btgsr.js";import"../chunk-rezwwmw7.js";export{sa as CodexAssistantMessage,fn as CodexAssistantTurn,gn as CodexMessageActions};
1
+ import{ca,fn,hn}from"../chunk-5ysapftt.js";import"../chunk-0tzra5rn.js";import"../chunk-0v2d2kme.js";import"../chunk-htjpckp6.js";import"../chunk-5t5y5e8n.js";import"../chunk-t2q8cxnh.js";import"../chunk-ehdqspxk.js";import"../chunk-5yzjwrat.js";import"../chunk-x2nemdjf.js";import"../chunk-84yjrafh.js";import"../chunk-5b19mbh6.js";import"../chunk-6e1bwjtk.js";export{ca as CodexAssistantMessage,hn as CodexAssistantTurn,fn as CodexMessageActions};
@@ -1 +1 @@
1
- import{k,Tn,Ii,Zt,Ni,In,Mi}from"../chunk-sdf73s05.js";export{Mi as AsyncQuestionCard,Tn as asyncQuestionId,k as asyncQuestions,Ii as initialQuestionDraft,Zt as questionAnswer,In as questionReplies,Ni as questionReplyEnvelope};
1
+ import{S,Nn,Ni,Qt,Mi,Mn,Ai}from"../chunk-wpn4rdwv.js";export{Ai as AsyncQuestionCard,Nn as asyncQuestionId,S as asyncQuestions,Ni as initialQuestionDraft,Qt as questionAnswer,Mn as questionReplies,Mi as questionReplyEnvelope};
@@ -1 +1 @@
1
- import{jr,Yo,hn}from"../chunk-w233xc7k.js";import"../chunk-rezwwmw7.js";export{Yo as CodexEditedFilesCard,hn as EditedFilesCard,jr as fileChanges};
1
+ import{Kr,Yo,vn}from"../chunk-0v2d2kme.js";import"../chunk-6e1bwjtk.js";export{Yo as CodexEditedFilesCard,vn as EditedFilesCard,Kr as fileChanges};
@@ -1 +1 @@
1
- import{Fe,Jo}from"../chunk-jsabvejp.js";import"../chunk-t2q8cxnh.js";import"../chunk-rezwwmw7.js";export{Jo as ImageViewActivity,Fe as isImageView};
1
+ import{Fe,Jo}from"../chunk-5t5y5e8n.js";import"../chunk-t2q8cxnh.js";import"../chunk-6e1bwjtk.js";export{Jo as ImageViewActivity,Fe as isImageView};
@@ -1 +1 @@
1
- import{tt}from"../chunk-pv5g85k0.js";import"../chunk-81r1geaz.js";import"../chunk-rsp574n3.js";import"../chunk-y7ngqt59.js";export{tt as CodexMarkdownRenderer};
1
+ import{ot}from"../chunk-41z12m3j.js";import"../chunk-75vtd3ww.js";import"../chunk-074wn2jr.js";import"../chunk-ngqr3n0s.js";export{ot as CodexMarkdownRenderer};
@@ -1 +1 @@
1
- import{pi,da,mi,gi,ua,Mr,qr,Ar,pa,Wr,Zr,ma,ga}from"../chunk-03x33m2h.js";export{da as armTimelineUserMessageNavigationAudio,qr as automaticNavigationMidiNote,ma as getNavigationAudioContextState,ga as getNavigationInstrumentReady,mi as installTimelineUserMessageNavigationAudioUnlock,Wr as itemPianoKeyIndex,Mr as navigationMidiNote,Zr as navigationPianoKeyIndexes,pa as pianoKeyFrequency,Ar as pianoKeyMidiNote,ua as playTimelineUserMessageNavigationNote,gi as playTimelineUserMessageNavigationSequence,pi as preloadTimelineUserMessageNavigationInstrument};
1
+ import{fi,pa,hi,vi,ma,Lr,Zr,Er,ga,Qr,Yr,fa,ha}from"../chunk-s56e2286.js";export{pa as armTimelineUserMessageNavigationAudio,Zr as automaticNavigationMidiNote,fa as getNavigationAudioContextState,ha as getNavigationInstrumentReady,hi as installTimelineUserMessageNavigationAudioUnlock,Qr as itemPianoKeyIndex,Lr as navigationMidiNote,Yr as navigationPianoKeyIndexes,ga as pianoKeyFrequency,Er as pianoKeyMidiNote,ma as playTimelineUserMessageNavigationNote,vi as playTimelineUserMessageNavigationSequence,fi as preloadTimelineUserMessageNavigationInstrument};
@@ -1 +1 @@
1
- import{hi}from"../chunk-f06zyvek.js";export{hi as NavigationPreview};
1
+ import{gi}from"../chunk-3kk0rxch.js";export{gi as NavigationPreview};
@@ -1 +1 @@
1
- import{fi}from"../chunk-5c5z2b48.js";import"../chunk-f06zyvek.js";export{fi as TimelineUserMessageNavigationRail};
1
+ import{mi}from"../chunk-h2ewgw0x.js";import"../chunk-3kk0rxch.js";export{mi as TimelineUserMessageNavigationRail};
@@ -1 +1 @@
1
- import{zo,Xe}from"../chunk-fgk4f0jq.js";export{Xe as PatchView,zo as patchStats};
1
+ import{zo,Je}from"../chunk-8a61phqa.js";export{Je as PatchView,zo as patchStats};
@@ -1 +1 @@
1
- import{aa,jo,Re,mn,$o,Ko,qo}from"../chunk-4jghs8rf.js";export{aa as CODEX_UNKNOWN_TURN_HEIGHT,Re as calculateCodexThreadVirtualRange,Ko as calculateCodexTurnCenterDistanceFromBottom,qo as calculateCodexTurnTargetDistanceFromBottom,jo as createCodexThreadVirtualLayout,$o as preserveCodexThreadDistanceFromBottom,mn as preserveCodexThreadRenderedWindow};
1
+ import{la,jo,Re,gn,$o,Ko,qo}from"../chunk-zx27nf5b.js";export{la as CODEX_UNKNOWN_TURN_HEIGHT,Re as calculateCodexThreadVirtualRange,Ko as calculateCodexTurnCenterDistanceFromBottom,qo as calculateCodexTurnTargetDistanceFromBottom,jo as createCodexThreadVirtualLayout,$o as preserveCodexThreadDistanceFromBottom,gn as preserveCodexThreadRenderedWindow};
@@ -1 +1 @@
1
- import{ii}from"../chunk-09zfz3ap.js";export{ii as selectTurnActivity};
1
+ import{ri}from"../chunk-r7svwjdg.js";export{ri as selectTurnActivity};
@@ -1 +1 @@
1
- import{xn,ai}from"../chunk-46phvpzh.js";import"../chunk-6g7btgsr.js";export{ai as CodexUserMessage,xn as CopyAction};
1
+ import{Cn,si}from"../chunk-84yjrafh.js";import"../chunk-5b19mbh6.js";export{si as CodexUserMessage,Cn as CopyAction};
@@ -1 +1 @@
1
- import{Vo}from"../chunk-n8yww1mr.js";import"../chunk-4jghs8rf.js";export{Vo as VirtualizedTurnList};
1
+ import{Vo}from"../chunk-53qt3tjb.js";import"../chunk-zx27nf5b.js";export{Vo as VirtualizedTurnList};
@@ -1 +1 @@
1
- import{ze}from"../chunk-pqphdgp6.js";import"../chunk-tpwdaz8k.js";import"../chunk-3f3y9t21.js";import"../chunk-heyqzkxq.js";export{ze as CollectionEmoji};
1
+ import{ze}from"../chunk-b67h7yss.js";import"../chunk-jrnfqqfc.js";import"../chunk-eg86g265.js";import"../chunk-spfbykq8.js";export{ze as CollectionEmoji};
@@ -1 +1 @@
1
- import{qn,er}from"../chunk-hf3t1bxh.js";import"../chunk-g9gktxv9.js";import"../chunk-22tg663v.js";import"../chunk-tpwdaz8k.js";import"../chunk-667z0pac.js";import"../chunk-py0zbgaj.js";import"../chunk-42atrgm1.js";import"../chunk-t7drk9ja.js";import"../chunk-3f3y9t21.js";import"../chunk-heyqzkxq.js";import"../chunk-2f9vjmxz.js";import"../chunk-92xxp77d.js";export{er as AddToCollectionAction,qn as CollectionPicker};
1
+ import{Wn,Ji}from"../chunk-45542yk3.js";import"../chunk-xz6pb64j.js";import"../chunk-7x1qnb20.js";import"../chunk-jrnfqqfc.js";import"../chunk-s3h496tf.js";import"../chunk-9gt81b51.js";import"../chunk-42atrgm1.js";import"../chunk-kd87rt80.js";import"../chunk-eg86g265.js";import"../chunk-spfbykq8.js";import"../chunk-2f9vjmxz.js";import"../chunk-90r8y97z.js";export{Ji as AddToCollectionAction,Wn as CollectionPicker};
@@ -1 +1 @@
1
- import{Ji}from"../chunk-ab0err7k.js";import"../chunk-pqphdgp6.js";import"../chunk-g9gktxv9.js";import"../chunk-22tg663v.js";import"../chunk-tpwdaz8k.js";import"../chunk-py0zbgaj.js";import"../chunk-42atrgm1.js";import"../chunk-t7drk9ja.js";import"../chunk-3f3y9t21.js";import"../chunk-heyqzkxq.js";import"../chunk-2f9vjmxz.js";import"../chunk-92xxp77d.js";export{Ji as CollectionPanel};
1
+ import{er}from"../chunk-tjkftq6f.js";import"../chunk-b67h7yss.js";import"../chunk-xz6pb64j.js";import"../chunk-7x1qnb20.js";import"../chunk-jrnfqqfc.js";import"../chunk-9gt81b51.js";import"../chunk-42atrgm1.js";import"../chunk-kd87rt80.js";import"../chunk-eg86g265.js";import"../chunk-spfbykq8.js";import"../chunk-2f9vjmxz.js";import"../chunk-90r8y97z.js";export{er as CollectionPanel};
@@ -1 +1 @@
1
- import"../chunk-667z0pac.js";import"../chunk-92xxp77d.js";import"../chunk-42atrgm1.js";import"../chunk-2f9vjmxz.js";import"../chunk-heyqzkxq.js";import"../chunk-t7drk9ja.js";import"../chunk-py0zbgaj.js";import"../chunk-3f3y9t21.js";import{ir,x,Zn,J}from"../chunk-tpwdaz8k.js";import{N,K,Ie,Pt,or}from"../chunk-22tg663v.js";import{Wn,tr,nr,en,de,X}from"../chunk-g9gktxv9.js";import{qn,er}from"../chunk-hf3t1bxh.js";import{ze}from"../chunk-pqphdgp6.js";import{Ji}from"../chunk-ab0err7k.js";export{er as AddToCollectionAction,ze as CollectionEmoji,ir as CollectionHostProvider,Ji as CollectionPanel,qn as CollectionPicker,nr as CollectionProvider,N as DEFAULT_COLLECTION_ID,Pt as applyCollectionAction,tr as createCollectionStore,K as getCollectionName,Ie as initialCollectionData,or as migrateCollections,Wn as parsePersistedCollections,Zn as reportCollection,x as useCollectionHost,de as useCollectionStore,en as useCollectionStoreApi,X as useDispatchCollection,J as useReportCollection};
1
+ import"../chunk-s3h496tf.js";import"../chunk-90r8y97z.js";import"../chunk-42atrgm1.js";import"../chunk-2f9vjmxz.js";import"../chunk-spfbykq8.js";import"../chunk-kd87rt80.js";import"../chunk-9gt81b51.js";import"../chunk-eg86g265.js";import{ir,b,Qn,J}from"../chunk-jrnfqqfc.js";import{N,K,Ie,Tt,or}from"../chunk-7x1qnb20.js";import{Zn,tr,nr,tn,de,X}from"../chunk-xz6pb64j.js";import{Wn,Ji}from"../chunk-45542yk3.js";import{ze}from"../chunk-b67h7yss.js";import{er}from"../chunk-tjkftq6f.js";export{Ji as AddToCollectionAction,ze as CollectionEmoji,ir as CollectionHostProvider,er as CollectionPanel,Wn as CollectionPicker,nr as CollectionProvider,N as DEFAULT_COLLECTION_ID,Tt as applyCollectionAction,tr as createCollectionStore,K as getCollectionName,Ie as initialCollectionData,or as migrateCollections,Zn as parsePersistedCollections,Qn as reportCollection,b as useCollectionHost,de as useCollectionStore,tn as useCollectionStoreApi,X as useDispatchCollection,J as useReportCollection};
@@ -1 +1 @@
1
- import{ir,x,Zn,J,Qn}from"../chunk-tpwdaz8k.js";import"../chunk-3f3y9t21.js";import"../chunk-heyqzkxq.js";export{ir as CollectionHostProvider,Qn as detectMac,Zn as reportCollection,x as useCollectionHost,J as useReportCollection};
1
+ import{ir,b,Qn,J,Yn}from"../chunk-jrnfqqfc.js";import"../chunk-eg86g265.js";import"../chunk-spfbykq8.js";export{ir as CollectionHostProvider,Yn as detectMac,Qn as reportCollection,b as useCollectionHost,J as useReportCollection};
@@ -1 +1 @@
1
- import{v}from"../chunk-a63k8tht.js";export{v as collectionLocales};
1
+ import{y}from"../chunk-1341xyde.js";export{y as collectionLocales};
@@ -1 +1 @@
1
- import{N,K,Ie,Pt,or}from"../chunk-22tg663v.js";export{N as DEFAULT_COLLECTION_ID,Pt as applyCollectionAction,K as getCollectionName,Ie as initialCollectionData,or as migrateCollections};
1
+ import{N,K,Ie,Tt,or}from"../chunk-7x1qnb20.js";export{N as DEFAULT_COLLECTION_ID,Tt as applyCollectionAction,K as getCollectionName,Ie as initialCollectionData,or as migrateCollections};
@@ -1 +1 @@
1
- import{Wn,tr,nr,en,de,X}from"../chunk-g9gktxv9.js";import"../chunk-22tg663v.js";export{nr as CollectionProvider,tr as createCollectionStore,Wn as parsePersistedCollections,de as useCollectionStore,en as useCollectionStoreApi,X as useDispatchCollection};
1
+ import{Zn,tr,nr,tn,de,X}from"../chunk-xz6pb64j.js";import"../chunk-7x1qnb20.js";export{nr as CollectionProvider,tr as createCollectionStore,Zn as parsePersistedCollections,de as useCollectionStore,tn as useCollectionStoreApi,X as useDispatchCollection};
@@ -1 +1 @@
1
- import{an,Yr}from"../chunk-0kdemqjf.js";import"../chunk-hza92pfj.js";export{Yr as filterFiles,an as filterSlashCommands};
1
+ import{an,Jr}from"../chunk-ggehtpkh.js";import"../chunk-secfh4re.js";export{Jr as filterFiles,an as filterSlashCommands};
@@ -1 +1 @@
1
- import{po}from"../chunk-99ftqpgg.js";import"../chunk-n66yy1m1.js";import"../chunk-0kdemqjf.js";import"../chunk-hza92pfj.js";import"../chunk-7a668qzy.js";export{po as CompletionMenu};
1
+ import{po}from"../chunk-jkvqtwe6.js";import"../chunk-ggehtpkh.js";import"../chunk-n66yy1m1.js";import"../chunk-secfh4re.js";import"../chunk-famkkndg.js";export{po as CompletionMenu};
@@ -1 +1 @@
1
- import{ln}from"../chunk-chq163r8.js";export{ln as EffortSlider};
1
+ import{cn}from"../chunk-wdrzhaxf.js";export{cn as EffortSlider};
@@ -1 +1 @@
1
- import{w}from"../chunk-btdrvsgy.js";export{w as MenuRadioSelect};
1
+ import{k}from"../chunk-dxgha4a2.js";export{k as MenuRadioSelect};
@@ -1 +1 @@
1
- import{xo}from"../chunk-b1rvs016.js";import"../chunk-chq163r8.js";import"../chunk-btdrvsgy.js";export{xo as ModelSelect};
1
+ import{xo}from"../chunk-srpsc10y.js";import"../chunk-wdrzhaxf.js";import"../chunk-dxgha4a2.js";export{xo as ModelSelect};
@@ -1 +1 @@
1
- import{Do}from"../chunk-epq42kf9.js";import"../chunk-btdrvsgy.js";export{Do as PermissionModeSelect};
1
+ import{Do}from"../chunk-tk4t9h7r.js";import"../chunk-dxgha4a2.js";export{Do as PermissionModeSelect};
@@ -1 +1 @@
1
- import{co,uo}from"../chunk-7appp9ad.js";import"../chunk-hsp0skqs.js";import"../chunk-6rgyckw8.js";import"../chunk-7a668qzy.js";export{co as PromptInputAttachment,uo as PromptInputAttachments};
1
+ import{co,uo}from"../chunk-z3dwf54f.js";import"../chunk-hsp0skqs.js";import"../chunk-6rgyckw8.js";import"../chunk-famkkndg.js";export{co as PromptInputAttachment,uo as PromptInputAttachments};
@@ -1 +1 @@
1
- import{Dr,go,fo,Hr,wr,Dt}from"../chunk-q0fhp33b.js";export{fo as clipboardHasStringItem,wr as countControlCharsBeforeIndex,Dr as normalizePastedImageFile,Dt as sanitizeTextareaTargetValue,Hr as sanitizeTextareaValue,go as scanClipboardForImageFiles};
1
+ import{Or,go,fo,Ur,Sr,Ht}from"../chunk-3137n54p.js";export{fo as clipboardHasStringItem,Sr as countControlCharsBeforeIndex,Or as normalizePastedImageFile,Ht as sanitizeTextareaTargetValue,Ur as sanitizeTextareaValue,go as scanClipboardForImageFiles};
@@ -1 +1 @@
1
- import{cn,ta,dn,na,qe,We,Ze,oa,Lo,un,T}from"../chunk-7a668qzy.js";export{un as LocalAttachmentsContext,Lo as PromptInputProvider,dn as PromptInputSubmissionContext,cn as PromptInputSubmitContext,qe as ProviderAttachmentsContext,Ze as useOptionalPromptInputController,T as usePromptInputAttachments,We as usePromptInputController,na as usePromptInputSubmission,ta as usePromptInputSubmit,oa as useProviderAttachments};
1
+ import{dn,oa,un,ia,We,Ze,Qe,ra,Eo,pn,T}from"../chunk-famkkndg.js";export{pn as LocalAttachmentsContext,Eo as PromptInputProvider,un as PromptInputSubmissionContext,dn as PromptInputSubmitContext,We as ProviderAttachmentsContext,Qe as useOptionalPromptInputController,T as usePromptInputAttachments,Ze as usePromptInputController,ia as usePromptInputSubmission,oa as usePromptInputSubmit,ra as useProviderAttachments};
@@ -1 +1 @@
1
- import{rn}from"../chunk-ymy8d3hp.js";import"../chunk-q0fhp33b.js";import"../chunk-7a668qzy.js";export{rn as PromptInputTextarea};
1
+ import{sn}from"../chunk-k3e8wper.js";import"../chunk-3137n54p.js";import"../chunk-famkkndg.js";export{sn as PromptInputTextarea};
@@ -1 +1 @@
1
- import{wo,ko,So,_o,Po,ne,To}from"../chunk-dwn6bx69.js";import{xe}from"../chunk-s2w7e9pg.js";import"../chunk-z1aqmqgc.js";import"../chunk-cpe2b276.js";import"../chunk-7a668qzy.js";export{xe as MAX_TOTAL_IMAGE_MB,wo as PromptInput,ko as PromptInputBody,ne as PromptInputButton,_o as PromptInputFooter,So as PromptInputHeader,To as PromptInputSubmit,Po as PromptInputTools};
1
+ import{wo,ko,So,_o,Po,ne,To}from"../chunk-d0cb9bks.js";import{xe}from"../chunk-cd4v63j8.js";import"../chunk-z1aqmqgc.js";import"../chunk-cpe2b276.js";import"../chunk-famkkndg.js";export{xe as MAX_TOTAL_IMAGE_MB,wo as PromptInput,ko as PromptInputBody,ne as PromptInputButton,_o as PromptInputFooter,So as PromptInputHeader,To as PromptInputSubmit,Po as PromptInputTools};
@@ -1 +1 @@
1
- import{Le,Ye,be}from"../chunk-pp2qkwk7.js";import"../chunk-x5swmb1j.js";import"../chunk-1zh28e39.js";import"../chunk-k0dnnn77.js";import"../chunk-dfcks9g4.js";import"../chunk-fgk4f0jq.js";import"../chunk-k1vkc88d.js";import"../chunk-zyvvk8b2.js";import"../chunk-rezwwmw7.js";export{be as ActionCard,Ye as ElicitationForm,Le as isFormAction};
1
+ import{Ee,Xe,be}from"../chunk-n368fh3r.js";import"../chunk-s6m0ske7.js";import"../chunk-31s3s58d.js";import"../chunk-1mcg9mwq.js";import"../chunk-rfn9vecr.js";import"../chunk-8a61phqa.js";import"../chunk-epg5w48v.js";import"../chunk-z8njjc2c.js";import"../chunk-6e1bwjtk.js";export{be as ActionCard,Xe as ElicitationForm,Ee as isFormAction};
@@ -1 +1 @@
1
- import{Ft}from"../../chunk-a90z5e8w.js";import"../../chunk-7appp9ad.js";import"../../chunk-99ftqpgg.js";import"../../chunk-n66yy1m1.js";import"../../chunk-ymy8d3hp.js";import"../../chunk-q0fhp33b.js";import"../../chunk-0kdemqjf.js";import"../../chunk-hsp0skqs.js";import"../../chunk-hza92pfj.js";import"../../chunk-6rgyckw8.js";import"../../chunk-fbq107z8.js";import"../../chunk-b1rvs016.js";import"../../chunk-chq163r8.js";import"../../chunk-rnrs0cqn.js";import"../../chunk-3xh0e0ya.js";import"../../chunk-dwn6bx69.js";import"../../chunk-s2w7e9pg.js";import"../../chunk-z1aqmqgc.js";import"../../chunk-cpe2b276.js";import"../../chunk-qn4zvgc9.js";import"../../chunk-ch5v5zsw.js";import"../../chunk-2djv6s3a.js";import"../../chunk-7a668qzy.js";import"../../chunk-ce3wg766.js";import"../../chunk-2dvryx1q.js";import"../../chunk-04kcmpnb.js";import"../../chunk-04xjj6q3.js";import"../../chunk-p272qmbv.js";import"../../chunk-j2y4wx1h.js";import"../../chunk-epq42kf9.js";import"../../chunk-btdrvsgy.js";import"../../chunk-mttcvwhx.js";import"../../chunk-5dkj3ntx.js";import"../../chunk-v5mzxjzc.js";import"../../chunk-k1vkc88d.js";import"../../chunk-zyvvk8b2.js";import"../../chunk-rezwwmw7.js";export{Ft as Composer};
1
+ import{Dt}from"../../chunk-g7by9ta9.js";import"../../chunk-z3dwf54f.js";import"../../chunk-jkvqtwe6.js";import"../../chunk-ggehtpkh.js";import"../../chunk-n66yy1m1.js";import"../../chunk-k3e8wper.js";import"../../chunk-3137n54p.js";import"../../chunk-hsp0skqs.js";import"../../chunk-secfh4re.js";import"../../chunk-6rgyckw8.js";import"../../chunk-gsnqwd84.js";import"../../chunk-srpsc10y.js";import"../../chunk-wdrzhaxf.js";import"../../chunk-e43x30mv.js";import"../../chunk-8qyb69g5.js";import"../../chunk-d0cb9bks.js";import"../../chunk-cd4v63j8.js";import"../../chunk-z1aqmqgc.js";import"../../chunk-cpe2b276.js";import"../../chunk-8xb3b71p.js";import"../../chunk-9x0qmswv.js";import"../../chunk-8kwxqckk.js";import"../../chunk-famkkndg.js";import"../../chunk-x52rbm87.js";import"../../chunk-1sxf2rqx.js";import"../../chunk-jrmygc4p.js";import"../../chunk-93y78gn4.js";import"../../chunk-ek4acj2p.js";import"../../chunk-m9rgwr0p.js";import"../../chunk-tk4t9h7r.js";import"../../chunk-dxgha4a2.js";import"../../chunk-qd7jqtqr.js";import"../../chunk-5dkj3ntx.js";import"../../chunk-6vntcyv6.js";import"../../chunk-epg5w48v.js";import"../../chunk-z8njjc2c.js";import"../../chunk-6e1bwjtk.js";export{Dt as Composer};
@@ -1 +1 @@
1
- import{B,m,G}from"../../chunk-v5mzxjzc.js";export{G as currentName,B as flattenSelectOptions,m as selectOption};
1
+ import{B,g,G}from"../../chunk-6vntcyv6.js";export{G as currentName,B as flattenSelectOptions,g as selectOption};
@@ -1 +1 @@
1
- import{pn,Pr}from"../../chunk-p272qmbv.js";export{pn as ComposerContext,Pr as useComposer};
1
+ import{mn,Ir}from"../../chunk-ek4acj2p.js";export{mn as ComposerContext,Ir as useComposer};
@@ -1 +1 @@
1
- import{a,Ro,U,Gt,kr,Sr,zt,_r}from"../../chunk-2dvryx1q.js";export{a as drafts,kr as exportDraft,Sr as importDraft,zt as registerComposerWriter,Ro as registerDraftAttachmentWriter,_r as setComposerDraft,Gt as trackDraftAttachmentWrite,U as updateDraftAttachments};
1
+ import{s,Ro,U,zt,_r,Pr,Vt,Tr}from"../../chunk-1sxf2rqx.js";export{s as drafts,_r as exportDraft,Pr as importDraft,Vt as registerComposerWriter,Ro as registerDraftAttachmentWriter,Tr as setComposerDraft,zt as trackDraftAttachmentWrite,U as updateDraftAttachments};