@alwith/module-chat 0.5.28 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1108) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +15 -11
  3. package/assets/provider-catalog.json +2 -2
  4. package/dist/activity-host.js +1 -1
  5. package/dist/approval/choice-elicitation-form.js +1 -1
  6. package/dist/approval/choice-schema.js +1 -1
  7. package/dist/approval/permission-options.js +1 -1
  8. package/dist/approval/permission-view.js +1 -1
  9. package/dist/approval/schema-elicitation-form.js +1 -1
  10. package/dist/approval/url-elicitation-card.js +1 -1
  11. package/dist/chunk-030esp62.js +2 -0
  12. package/dist/chunk-07srtfz3.js +2 -0
  13. package/dist/chunk-0ag4ewq9.js +2 -0
  14. package/dist/{chunk-jan870w7.js → chunk-0fmepk2y.js} +3 -3
  15. package/dist/{chunk-vm2qb3ns.js → chunk-1b2jsf2v.js} +2 -2
  16. package/dist/{chunk-jgwrjncj.js → chunk-2bbspcb4.js} +2 -2
  17. package/dist/{chunk-2aw4d623.js → chunk-2z1cpz8a.js} +2 -2
  18. package/dist/{chunk-n368fh3r.js → chunk-31t5ap7s.js} +3 -3
  19. package/dist/{chunk-z1aqmqgc.js → chunk-35z0nr4v.js} +2 -2
  20. package/dist/{chunk-c26xgmyr.js → chunk-3aadhvbj.js} +2 -2
  21. package/dist/{chunk-31s3s58d.js → chunk-3mrdv5yq.js} +2 -2
  22. package/dist/chunk-3stf1tm2.js +2 -0
  23. package/dist/{chunk-hs91aaaz.js → chunk-41nq4hjc.js} +2 -2
  24. package/dist/{chunk-qd7jqtqr.js → chunk-4crj8dac.js} +2 -2
  25. package/dist/{chunk-dxgha4a2.js → chunk-4jh2wk80.js} +2 -2
  26. package/dist/chunk-4xjzvwg4.js +2 -0
  27. package/dist/{chunk-8a61phqa.js → chunk-4xp0q7vs.js} +2 -2
  28. package/dist/{chunk-02mwhdhw.js → chunk-53k7yvr8.js} +2 -2
  29. package/dist/chunk-57p1s7hy.js +2 -0
  30. package/dist/{chunk-3kk0rxch.js → chunk-5azv8vz6.js} +2 -2
  31. package/dist/{chunk-qxgmjjh2.js → chunk-5vh4z4yp.js} +2 -2
  32. package/dist/{chunk-5yzjwrat.js → chunk-601kr76a.js} +3 -3
  33. package/dist/{chunk-s3h496tf.js → chunk-67x8znmk.js} +2 -2
  34. package/dist/{chunk-secfh4re.js → chunk-6d5c94rn.js} +2 -2
  35. package/dist/chunk-6hxa1n8n.js +2 -0
  36. package/dist/chunk-6m54xxts.js +2 -0
  37. package/dist/chunk-6pwy0ncf.js +2 -0
  38. package/dist/{chunk-5ysapftt.js → chunk-6wtrmxev.js} +3 -3
  39. package/dist/{chunk-074wn2jr.js → chunk-6wv99fdt.js} +2 -2
  40. package/dist/{chunk-spfbykq8.js → chunk-6zcjn8ra.js} +2 -2
  41. package/dist/chunk-753z0tkd.js +2 -0
  42. package/dist/{chunk-x2nemdjf.js → chunk-76a04a6j.js} +2 -2
  43. package/dist/{chunk-thzq3tfa.js → chunk-7bcm8mpx.js} +2 -2
  44. package/dist/{chunk-qnc6w06c.js → chunk-7eq01k20.js} +3 -3
  45. package/dist/{chunk-5t5y5e8n.js → chunk-7jx2k96e.js} +2 -2
  46. package/dist/{chunk-0v2d2kme.js → chunk-7nb0qea6.js} +3 -3
  47. package/dist/{chunk-6w6yy1md.js → chunk-7xe2v72q.js} +1 -1
  48. package/dist/{chunk-c0b3zze8.js → chunk-7zcr1wzv.js} +2 -2
  49. package/dist/{chunk-2f9vjmxz.js → chunk-8hen6y4t.js} +2 -2
  50. package/dist/chunk-8hgrrycr.js +2 -0
  51. package/dist/{chunk-wc53vqaw.js → chunk-8t3hyxk4.js} +2 -2
  52. package/dist/{chunk-7zryea1b.js → chunk-8wdkc41j.js} +2 -2
  53. package/dist/chunk-9b8y72yf.js +3 -0
  54. package/dist/{chunk-v7rtfzg4.js → chunk-9c8cyz7r.js} +2 -2
  55. package/dist/chunk-9ff3htdp.js +2 -0
  56. package/dist/chunk-9g7qvbhx.js +2 -0
  57. package/dist/{chunk-75vtd3ww.js → chunk-9hskky1n.js} +2 -2
  58. package/dist/{chunk-zfxwm1g9.js → chunk-9k4f13c1.js} +2 -2
  59. package/dist/{chunk-kd87rt80.js → chunk-9n028hnr.js} +2 -2
  60. package/dist/{chunk-2fgwkj52.js → chunk-9rgrb198.js} +3 -3
  61. package/dist/{chunk-53qt3tjb.js → chunk-9w4fg6bn.js} +2 -2
  62. package/dist/{chunk-zx27nf5b.js → chunk-9yrctk84.js} +2 -2
  63. package/dist/{chunk-htjpckp6.js → chunk-a45jg9xv.js} +6 -6
  64. package/dist/{chunk-6rgyckw8.js → chunk-aarpb5np.js} +2 -2
  65. package/dist/{chunk-k3e8wper.js → chunk-abjr18n6.js} +4 -4
  66. package/dist/{chunk-1sxf2rqx.js → chunk-az434tgy.js} +2 -2
  67. package/dist/{chunk-qqqcqvrv.js → chunk-b5ywqwnr.js} +2 -2
  68. package/dist/{chunk-z3dwf54f.js → chunk-bb1y2fy7.js} +2 -2
  69. package/dist/{chunk-wpn4rdwv.js → chunk-be7ja8gh.js} +3 -3
  70. package/dist/{chunk-84yjrafh.js → chunk-bjfcyfp5.js} +2 -2
  71. package/dist/chunk-bk80xpsy.js +2 -0
  72. package/dist/{chunk-cpe2b276.js → chunk-brqgdzhr.js} +2 -2
  73. package/dist/chunk-bt01an6h.js +2 -0
  74. package/dist/{chunk-6t5war9h.js → chunk-bydgccyt.js} +2 -2
  75. package/dist/chunk-c11c29rv.js +5 -0
  76. package/dist/{chunk-7x1qnb20.js → chunk-c2a0x69n.js} +2 -2
  77. package/dist/{chunk-q0z9jq6p.js → chunk-c4dk6j2h.js} +2 -2
  78. package/dist/{chunk-x52rbm87.js → chunk-ce3wg766.js} +2 -2
  79. package/dist/chunk-cm5rcd9q.js +2 -0
  80. package/dist/chunk-d1pc0mrb.js +2 -0
  81. package/dist/{chunk-1mcg9mwq.js → chunk-d67ypca2.js} +2 -2
  82. package/dist/{chunk-br9wsczn.js → chunk-db0g8rr1.js} +2 -2
  83. package/dist/{chunk-h09ez7fc.js → chunk-dbrs7sen.js} +2 -2
  84. package/dist/{chunk-0tzra5rn.js → chunk-dj8e2ymr.js} +2 -2
  85. package/dist/{chunk-t3s1ydnq.js → chunk-e24d6hfs.js} +2 -2
  86. package/dist/chunk-e8jfja20.js +2 -0
  87. package/dist/{chunk-8gztbvxt.js → chunk-eb12xkn0.js} +2 -2
  88. package/dist/{chunk-6whr1y2s.js → chunk-ehcpnhfw.js} +2 -2
  89. package/dist/chunk-enr3j794.js +2 -0
  90. package/dist/chunk-eryds6y3.js +2 -0
  91. package/dist/{chunk-s56e2286.js → chunk-ezhzktjg.js} +2 -2
  92. package/dist/{chunk-ehdqspxk.js → chunk-fkpmrb5t.js} +2 -2
  93. package/dist/{chunk-fpmspg92.js → chunk-fzfmg9pk.js} +2 -2
  94. package/dist/chunk-g3snk3nb.js +2 -0
  95. package/dist/chunk-g4frp0r0.js +2 -0
  96. package/dist/chunk-g7v2xgfh.js +2 -0
  97. package/dist/{chunk-frbakxev.js → chunk-ggqv2qpg.js} +2 -2
  98. package/dist/{chunk-d0w04ydg.js → chunk-gha517v4.js} +2 -2
  99. package/dist/chunk-gjg213m6.js +2 -0
  100. package/dist/chunk-gvwmyxwf.js +2 -0
  101. package/dist/{chunk-41z12m3j.js → chunk-gyps0vc5.js} +4 -4
  102. package/dist/chunk-h3hzsg0s.js +2 -0
  103. package/dist/chunk-h3mrbbsm.js +2 -0
  104. package/dist/{chunk-ee0krzt0.js → chunk-h4r8cx37.js} +2 -2
  105. package/dist/{chunk-n66yy1m1.js → chunk-hfzt777k.js} +2 -2
  106. package/dist/{chunk-s6m0ske7.js → chunk-hp1w7xrp.js} +2 -2
  107. package/dist/{chunk-p7dd93e5.js → chunk-hp9h8njw.js} +2 -2
  108. package/dist/chunk-hrgtpvkw.js +2 -0
  109. package/dist/{chunk-m9rgwr0p.js → chunk-j5engcds.js} +2 -2
  110. package/dist/chunk-j6mkqhey.js +2 -0
  111. package/dist/{chunk-dtsybj2a.js → chunk-k20e64v3.js} +2 -2
  112. package/dist/{chunk-90r8y97z.js → chunk-k7y6dqf2.js} +2 -2
  113. package/dist/{chunk-79jjxyb7.js → chunk-k8xqzrg6.js} +2 -2
  114. package/dist/{chunk-9x0qmswv.js → chunk-ksyb8hyt.js} +2 -2
  115. package/dist/chunk-m33eg346.js +2 -0
  116. package/dist/chunk-m9mvh1gy.js +2 -0
  117. package/dist/{chunk-xz6pb64j.js → chunk-maa70rv4.js} +2 -2
  118. package/dist/{chunk-4edeen4z.js → chunk-mfnq8nnd.js} +3 -3
  119. package/dist/chunk-mhnhkg65.js +2 -0
  120. package/dist/{chunk-r7svwjdg.js → chunk-mmm1rq2a.js} +2 -2
  121. package/dist/chunk-mz18hxbn.js +2 -0
  122. package/dist/chunk-n6dbc0md.js +2 -0
  123. package/dist/{chunk-ggehtpkh.js → chunk-n9fwnebe.js} +2 -2
  124. package/dist/{chunk-ngqr3n0s.js → chunk-nk266xxm.js} +2 -2
  125. package/dist/{chunk-xhrs52gv.js → chunk-npsgbfh2.js} +2 -2
  126. package/dist/{chunk-f7mgf43p.js → chunk-nx701kdw.js} +2 -2
  127. package/dist/{chunk-0stda83g.js → chunk-p0egvanw.js} +2 -2
  128. package/dist/chunk-p9ra3xxb.js +2 -0
  129. package/dist/{chunk-99w9jq4v.js → chunk-pp9fngkx.js} +2 -2
  130. package/dist/{chunk-8em7tfgz.js → chunk-q92p35wp.js} +2 -2
  131. package/dist/{chunk-42atrgm1.js → chunk-qcj6f1rq.js} +2 -2
  132. package/dist/chunk-qexqjw6k.js +2 -0
  133. package/dist/chunk-qez4ygej.js +2 -0
  134. package/dist/chunk-qyp7c0j8.js +1 -0
  135. package/dist/{chunk-5dkj3ntx.js → chunk-qznyjv2c.js} +2 -2
  136. package/dist/{chunk-8bdeyvy3.js → chunk-r0v0wxn7.js} +2 -2
  137. package/dist/chunk-r1sdshyw.js +2 -0
  138. package/dist/{chunk-91zvyqnt.js → chunk-rch4xpj1.js} +2 -2
  139. package/dist/{chunk-4saf1qa5.js → chunk-rg5jhh45.js} +2 -2
  140. package/dist/chunk-sqwscqfk.js +2 -0
  141. package/dist/chunk-stghje2t.js +2 -0
  142. package/dist/{chunk-95mynf7q.js → chunk-t8n1ny7h.js} +2 -2
  143. package/dist/{chunk-6e1bwjtk.js → chunk-teg61ef5.js} +2 -2
  144. package/dist/chunk-tjjqaf65.js +2 -0
  145. package/dist/chunk-v0h2wsj4.js +2 -0
  146. package/dist/{chunk-shwnd0ta.js → chunk-v3jehrgj.js} +2 -2
  147. package/dist/chunk-v4cf374m.js +2 -0
  148. package/dist/{chunk-b67h7yss.js → chunk-v5wqxqrh.js} +2 -2
  149. package/dist/chunk-v7dyjpv3.js +2 -0
  150. package/dist/{chunk-4kbkbvjp.js → chunk-vkc6mwyb.js} +2 -2
  151. package/dist/chunk-vpm5ddtt.js +4 -0
  152. package/dist/{chunk-tk4t9h7r.js → chunk-vwzkw97t.js} +2 -2
  153. package/dist/{chunk-6vntcyv6.js → chunk-w0dfvr05.js} +2 -2
  154. package/dist/{chunk-hsp0skqs.js → chunk-wnsk4tw5.js} +2 -2
  155. package/dist/chunk-wyjzpncq.js +2 -0
  156. package/dist/{chunk-scxhc46w.js → chunk-x4qnkn8f.js} +2 -2
  157. package/dist/{chunk-epg5w48v.js → chunk-xecs5c6a.js} +2 -2
  158. package/dist/{chunk-9gt81b51.js → chunk-xhtpqc8p.js} +2 -2
  159. package/dist/{chunk-6k8m2c80.js → chunk-xvzz0xh6.js} +2 -2
  160. package/dist/{chunk-hcwgc3r7.js → chunk-y2g8d94r.js} +2 -2
  161. package/dist/chunk-y7v0ghc9.js +2 -0
  162. package/dist/{chunk-h2ewgw0x.js → chunk-yd6ae6py.js} +2 -2
  163. package/dist/{chunk-sp39pqt6.js → chunk-yf39xswe.js} +2 -2
  164. package/dist/{chunk-q70h5z14.js → chunk-yjk5a037.js} +2 -2
  165. package/dist/{chunk-5b19mbh6.js → chunk-yq55kqn1.js} +2 -2
  166. package/dist/{chunk-5yb7twvm.js → chunk-yr6ar090.js} +2 -2
  167. package/dist/{chunk-wcgwtn6h.js → chunk-z49yf5bx.js} +2 -2
  168. package/dist/chunk-z4nv1j97.js +2 -0
  169. package/dist/{chunk-az5ayr2d.js → chunk-zb14ervr.js} +2 -2
  170. package/dist/{chunk-2twh547k.js → chunk-zd40j8qb.js} +2 -2
  171. package/dist/{chunk-jkvqtwe6.js → chunk-zn9xn0pj.js} +2 -2
  172. package/dist/chunk-zr2a9z0m.js +2 -0
  173. package/dist/codex/activity-group.js +1 -1
  174. package/dist/codex/assistant-message.js +1 -1
  175. package/dist/codex/async-question-card.js +1 -1
  176. package/dist/codex/disclosure-state.js +1 -1
  177. package/dist/codex/edited-files-card.js +1 -1
  178. package/dist/codex/image-view-activity.js +1 -1
  179. package/dist/codex/markdown-renderer.js +1 -1
  180. package/dist/codex/navigation-audio.js +1 -1
  181. package/dist/codex/navigation-preview.js +1 -1
  182. package/dist/codex/navigation-rail.js +1 -1
  183. package/dist/codex/patch-view.js +1 -1
  184. package/dist/codex/plan.js +1 -1
  185. package/dist/codex/timeline-virtualizer.js +1 -1
  186. package/dist/codex/turn-activity.js +1 -1
  187. package/dist/codex/user-message.js +1 -1
  188. package/dist/codex/virtualized-turn-list.js +1 -1
  189. package/dist/collections/collection-emoji.js +1 -1
  190. package/dist/collections/collection-menu.js +1 -1
  191. package/dist/collections/collection-panel.js +1 -1
  192. package/dist/collections/collections.js +1 -1
  193. package/dist/collections/host.js +1 -1
  194. package/dist/collections/model.js +1 -1
  195. package/dist/collections/store.js +1 -1
  196. package/dist/composer/completion-filter.js +1 -1
  197. package/dist/composer/completion-menu.js +1 -1
  198. package/dist/composer/completion-trigger.js +1 -1
  199. package/dist/composer/effort-slider.d.ts +2 -1
  200. package/dist/composer/effort-slider.js +1 -1
  201. package/dist/composer/menu-radio.js +1 -1
  202. package/dist/composer/model-select.d.ts +2 -1
  203. package/dist/composer/model-select.js +1 -1
  204. package/dist/composer/permission-mode-select.js +1 -1
  205. package/dist/composer/prompt-input-attachments.js +1 -1
  206. package/dist/composer/prompt-input-clipboard.js +1 -1
  207. package/dist/composer/prompt-input-context.js +1 -1
  208. package/dist/composer/prompt-input-textarea.js +1 -1
  209. package/dist/composer/prompt-input.js +1 -1
  210. package/dist/conversation/action-card.js +1 -1
  211. package/dist/conversation/composer/app-mentions.d.ts +6 -0
  212. package/dist/conversation/composer/app-mentions.js +1 -0
  213. package/dist/conversation/composer/apps-menu.d.ts +4 -0
  214. package/dist/conversation/composer/apps-menu.js +1 -0
  215. package/dist/conversation/composer/composer.d.ts +4 -1
  216. package/dist/conversation/composer/composer.js +1 -1
  217. package/dist/conversation/composer/config-options.js +1 -1
  218. package/dist/conversation/composer/context.js +1 -1
  219. package/dist/conversation/composer/drafts.js +1 -1
  220. package/dist/conversation/composer/file-items.js +1 -1
  221. package/dist/conversation/composer/long-text.js +1 -1
  222. package/dist/conversation/composer/mention-chips.js +1 -1
  223. package/dist/conversation/composer/mention-uri.js +1 -1
  224. package/dist/conversation/composer/model-menu.js +1 -1
  225. package/dist/conversation/composer/pasted-text-attachment.js +1 -1
  226. package/dist/conversation/composer/permission-mode-menu.js +1 -1
  227. package/dist/conversation/composer/prediction.js +1 -1
  228. package/dist/conversation/composer/prompt-history.js +1 -1
  229. package/dist/conversation/composer/slash-command-button.js +1 -1
  230. package/dist/conversation/composer/submit-button.js +1 -1
  231. package/dist/conversation/composer/usage-meter.js +1 -1
  232. package/dist/conversation/connection-notice.js +1 -1
  233. package/dist/conversation/context.js +1 -1
  234. package/dist/conversation/conversation-body.js +1 -1
  235. package/dist/conversation/conversation-search.js +1 -1
  236. package/dist/conversation/conversation-view.js +1 -1
  237. package/dist/conversation/conversation.js +1 -1
  238. package/dist/conversation/diff-modal.js +1 -1
  239. package/dist/conversation/draft-project-picker.js +1 -1
  240. package/dist/conversation/session-actions.js +1 -1
  241. package/dist/conversation/subagent-sessions.d.ts +10 -1
  242. package/dist/conversation/subagent-sessions.js +1 -1
  243. package/dist/conversation/subagent-tasks.d.ts +12 -0
  244. package/dist/conversation/subagent-tasks.js +1 -0
  245. package/dist/conversation/types.d.ts +16 -1
  246. package/dist/generated/commands.d.ts +363 -0
  247. package/dist/generated/commands.js +1 -0
  248. package/dist/image-lightbox.js +1 -1
  249. package/dist/image-preview-dialog.js +1 -1
  250. package/dist/image.d.ts +104 -0
  251. package/dist/image.js +1 -0
  252. package/dist/lib/code-highlighter.js +1 -1
  253. package/dist/lib/fuzzy.js +1 -1
  254. package/dist/lib/group-blocks.js +1 -1
  255. package/dist/lib/image-encode.js +1 -1
  256. package/dist/lib/limits.js +1 -1
  257. package/dist/lib/markdown-parser.js +1 -1
  258. package/dist/lib/markdown-parser.worker.js +46 -44
  259. package/dist/lib/markdown-rules.js +1 -1
  260. package/dist/lib/model-name.js +1 -1
  261. package/dist/lib/pointer-centered-zoom.js +1 -1
  262. package/dist/lib/prepare-prompt-files.js +1 -1
  263. package/dist/lib/stream-style.js +1 -1
  264. package/dist/lib/streaming-markdown.js +1 -1
  265. package/dist/lib/tool-artifacts.d.ts +2 -0
  266. package/dist/lib/tool-artifacts.js +1 -0
  267. package/dist/locales.d.ts +91 -0
  268. package/dist/locales.js +1 -1
  269. package/dist/plugins/catalog-header.js +1 -1
  270. package/dist/plugins/catalog-skeleton.js +1 -1
  271. package/dist/plugins/host.js +1 -1
  272. package/dist/plugins/new-chat-directory.js +1 -1
  273. package/dist/plugins/panel-item.js +1 -1
  274. package/dist/plugins/plugin-detail-page.js +1 -1
  275. package/dist/plugins/plugin-icon.js +1 -1
  276. package/dist/plugins/plugin-icons.js +1 -1
  277. package/dist/plugins/plugins-page.js +1 -1
  278. package/dist/plugins/plugins.d.ts +1 -1
  279. package/dist/plugins/plugins.js +1 -1
  280. package/dist/plugins/read-skill-document.d.ts +1 -2
  281. package/dist/plugins/read-skill-document.js +1 -1
  282. package/dist/plugins/skill-document.js +1 -1
  283. package/dist/plugins/skills-tab.js +1 -1
  284. package/dist/plugins/store.js +1 -1
  285. package/dist/plugins/toolbox-layout.js +1 -1
  286. package/dist/search/chat-search.js +1 -1
  287. package/dist/search/codex-source-matches.js +1 -1
  288. package/dist/search/dom-matches.js +1 -1
  289. package/dist/search/find-bar.js +1 -1
  290. package/dist/search/literal-matches.js +1 -1
  291. package/dist/session-list/account-menu.js +1 -1
  292. package/dist/session-list/activity-list.js +1 -1
  293. package/dist/session-list/archived-sessions.js +1 -1
  294. package/dist/session-list/help-menu.js +1 -1
  295. package/dist/session-list/highlight.js +1 -1
  296. package/dist/session-list/host.js +1 -1
  297. package/dist/session-list/hover-info-card.js +1 -1
  298. package/dist/session-list/navigation-controls.js +1 -1
  299. package/dist/session-list/navigation-header.js +1 -1
  300. package/dist/session-list/navigation-store.js +1 -1
  301. package/dist/session-list/navigation-tabs.js +1 -1
  302. package/dist/session-list/navigation.js +1 -1
  303. package/dist/session-list/overflow-marquee.js +1 -1
  304. package/dist/session-list/platform.js +1 -1
  305. package/dist/session-list/row-stop-button.js +1 -1
  306. package/dist/session-list/session-groups.js +1 -1
  307. package/dist/session-list/session-info-card.js +1 -1
  308. package/dist/session-list/session-list.js +1 -1
  309. package/dist/session-list/session-row.js +1 -1
  310. package/dist/session-list/session-state-dot.js +1 -1
  311. package/dist/session-list/session-state-menu.js +1 -1
  312. package/dist/session-list/shortcut-hint.js +1 -1
  313. package/dist/session-list/shortcut.js +1 -1
  314. package/dist/session-list/sidebar-overlay.js +1 -1
  315. package/dist/session-list/trailing-swap.js +1 -1
  316. package/dist/session-list/use-activity-notification.js +1 -1
  317. package/dist/session-list/use-activity-preview.js +1 -1
  318. package/dist/session-list/use-cmd-held.js +1 -1
  319. package/dist/session-list/use-project-sessions.js +1 -1
  320. package/dist/session-list/virtual-session-rows.js +1 -1
  321. package/dist/session-timeline/activity-group.js +1 -1
  322. package/dist/session-timeline/activity-projection.js +1 -1
  323. package/dist/session-timeline/assistant-content.js +1 -1
  324. package/dist/session-timeline/assistant-turn.d.ts +7 -1
  325. package/dist/session-timeline/assistant-turn.js +1 -1
  326. package/dist/session-timeline/async-questions.js +1 -1
  327. package/dist/session-timeline/edited-files-card.js +1 -1
  328. package/dist/session-timeline/history-timeline.js +1 -1
  329. package/dist/session-timeline/host.js +1 -1
  330. package/dist/session-timeline/navigation-rail.js +1 -1
  331. package/dist/session-timeline/plan.js +1 -1
  332. package/dist/session-timeline/question-reply.js +1 -1
  333. package/dist/session-timeline/resource-content.js +1 -1
  334. package/dist/session-timeline/session-timeline.d.ts +2 -0
  335. package/dist/session-timeline/session-timeline.js +1 -1
  336. package/dist/session-timeline/timeline-registry.js +1 -1
  337. package/dist/session-timeline/turn-activity.js +1 -1
  338. package/dist/session-timeline/turn-error.js +1 -1
  339. package/dist/session-timeline/turn-retry.js +1 -1
  340. package/dist/session-timeline/turn-time.js +1 -1
  341. package/dist/session-timeline/turns.js +1 -1
  342. package/dist/session-timeline/use-timeline-scroll.js +1 -1
  343. package/dist/session-timeline/user-message.js +1 -1
  344. package/dist/settings/codex-account-card.js +1 -1
  345. package/dist/settings/login-card.js +1 -1
  346. package/dist/settings/model-alias-settings.js +1 -1
  347. package/dist/settings/model-aliases.js +1 -1
  348. package/dist/settings/provider-logos.js +1 -1
  349. package/dist/settings/provider-section.js +1 -1
  350. package/dist/settings/providers-port.d.ts +2 -8
  351. package/dist/settings/providers-port.js +1 -1
  352. package/dist/settings/providers.js +1 -1
  353. package/dist/settings/settings-bridge.js +1 -1
  354. package/dist/settings/settings.d.ts +1 -1
  355. package/dist/settings/settings.js +1 -1
  356. package/native/darwin-arm64/THIRD_PARTY_NOTICES.md +210 -0
  357. package/native/darwin-arm64/artifact.json +8 -0
  358. package/native/darwin-arm64/libalwith_native_chat.dylib +0 -0
  359. package/native/darwin-arm64/licenses/Inflector-0.11.4/LICENSE.md +22 -0
  360. package/native/darwin-arm64/licenses/adler32-1.2.0/LICENSE +43 -0
  361. package/native/darwin-arm64/licenses/aes-0.9.4/LICENSE-APACHE +201 -0
  362. package/native/darwin-arm64/licenses/aes-0.9.4/LICENSE-MIT +26 -0
  363. package/native/darwin-arm64/licenses/allocator-api2-0.2.21/LICENSE-APACHE +176 -0
  364. package/native/darwin-arm64/licenses/allocator-api2-0.2.21/LICENSE-MIT +23 -0
  365. package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-APACHE +201 -0
  366. package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-MIT +23 -0
  367. package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-THIRD-PARTY +45 -0
  368. package/native/darwin-arm64/licenses/autocfg-1.5.1/LICENSE-APACHE +201 -0
  369. package/native/darwin-arm64/licenses/autocfg-1.5.1/LICENSE-MIT +25 -0
  370. package/native/darwin-arm64/licenses/aws-lc-rs-1.19.0/LICENSE +202 -0
  371. package/native/darwin-arm64/licenses/aws-lc-sys-0.47.0/LICENSE +316 -0
  372. package/native/darwin-arm64/licenses/base64-0.23.1/LICENSE-APACHE +201 -0
  373. package/native/darwin-arm64/licenses/base64-0.23.1/LICENSE-MIT +21 -0
  374. package/native/darwin-arm64/licenses/bitflags-2.13.2/LICENSE-APACHE +201 -0
  375. package/native/darwin-arm64/licenses/bitflags-2.13.2/LICENSE-MIT +25 -0
  376. package/native/darwin-arm64/licenses/block-buffer-0.12.1/LICENSE-APACHE +201 -0
  377. package/native/darwin-arm64/licenses/block-buffer-0.12.1/LICENSE-MIT +25 -0
  378. package/native/darwin-arm64/licenses/bumpalo-3.20.3/LICENSE-APACHE +201 -0
  379. package/native/darwin-arm64/licenses/bumpalo-3.20.3/LICENSE-MIT +25 -0
  380. package/native/darwin-arm64/licenses/bytecount-0.6.9/LICENSE.Apache2 +201 -0
  381. package/native/darwin-arm64/licenses/bytecount-0.6.9/LICENSE.MIT +19 -0
  382. package/native/darwin-arm64/licenses/bytes-1.12.1/LICENSE +25 -0
  383. package/native/darwin-arm64/licenses/bzip2-0.6.1/LICENSE-APACHE +201 -0
  384. package/native/darwin-arm64/licenses/bzip2-0.6.1/LICENSE-MIT +25 -0
  385. package/native/darwin-arm64/licenses/cc-1.11.0/LICENSE-APACHE +201 -0
  386. package/native/darwin-arm64/licenses/cc-1.11.0/LICENSE-MIT +25 -0
  387. package/native/darwin-arm64/licenses/cfg-if-1.0.5/LICENSE-APACHE +201 -0
  388. package/native/darwin-arm64/licenses/cfg-if-1.0.5/LICENSE-MIT +25 -0
  389. package/native/darwin-arm64/licenses/cfg_aliases-0.2.2/LICENSE +9 -0
  390. package/native/darwin-arm64/licenses/chacha20-0.10.2/LICENSE-APACHE +201 -0
  391. package/native/darwin-arm64/licenses/chacha20-0.10.2/LICENSE-MIT +25 -0
  392. package/native/darwin-arm64/licenses/chrono-0.4.45/LICENSE.txt +240 -0
  393. package/native/darwin-arm64/licenses/cipher-0.5.2/LICENSE-APACHE +201 -0
  394. package/native/darwin-arm64/licenses/cipher-0.5.2/LICENSE-MIT +25 -0
  395. package/native/darwin-arm64/licenses/cmake-0.1.58/LICENSE-APACHE +201 -0
  396. package/native/darwin-arm64/licenses/cmake-0.1.58/LICENSE-MIT +25 -0
  397. package/native/darwin-arm64/licenses/cmov-0.5.4/LICENSE-APACHE +202 -0
  398. package/native/darwin-arm64/licenses/cmov-0.5.4/LICENSE-MIT +25 -0
  399. package/native/darwin-arm64/licenses/const-oid-0.10.2/LICENSE-APACHE +201 -0
  400. package/native/darwin-arm64/licenses/const-oid-0.10.2/LICENSE-MIT +25 -0
  401. package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-APACHE +176 -0
  402. package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-CC0 +121 -0
  403. package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-MIT0 +14 -0
  404. package/native/darwin-arm64/licenses/core-foundation-0.10.1/LICENSE-APACHE +201 -0
  405. package/native/darwin-arm64/licenses/core-foundation-0.10.1/LICENSE-MIT +25 -0
  406. package/native/darwin-arm64/licenses/core-foundation-sys-0.8.7/LICENSE-APACHE +201 -0
  407. package/native/darwin-arm64/licenses/core-foundation-sys-0.8.7/LICENSE-MIT +25 -0
  408. package/native/darwin-arm64/licenses/cpubits-0.1.1/LICENSE-APACHE +201 -0
  409. package/native/darwin-arm64/licenses/cpubits-0.1.1/LICENSE-MIT +25 -0
  410. package/native/darwin-arm64/licenses/cpufeatures-0.3.1/LICENSE-APACHE +201 -0
  411. package/native/darwin-arm64/licenses/cpufeatures-0.3.1/LICENSE-MIT +25 -0
  412. package/native/darwin-arm64/licenses/crc32fast-1.5.4/LICENSE-APACHE +202 -0
  413. package/native/darwin-arm64/licenses/crc32fast-1.5.4/LICENSE-MIT +21 -0
  414. package/native/darwin-arm64/licenses/crypto-common-0.2.2/LICENSE-APACHE +201 -0
  415. package/native/darwin-arm64/licenses/crypto-common-0.2.2/LICENSE-MIT +25 -0
  416. package/native/darwin-arm64/licenses/ctutils-0.4.8/LICENSE-APACHE +202 -0
  417. package/native/darwin-arm64/licenses/ctutils-0.4.8/LICENSE-MIT +25 -0
  418. package/native/darwin-arm64/licenses/dary_heap-0.3.9/LICENSE-APACHE +176 -0
  419. package/native/darwin-arm64/licenses/dary_heap-0.3.9/LICENSE-MIT +23 -0
  420. package/native/darwin-arm64/licenses/deflate64-0.1.12/LICENSE +24 -0
  421. package/native/darwin-arm64/licenses/deranged-0.5.9/LICENSE-Apache +202 -0
  422. package/native/darwin-arm64/licenses/deranged-0.5.9/LICENSE-MIT +19 -0
  423. package/native/darwin-arm64/licenses/digest-0.11.3/LICENSE-APACHE +201 -0
  424. package/native/darwin-arm64/licenses/digest-0.11.3/LICENSE-MIT +26 -0
  425. package/native/darwin-arm64/licenses/displaydoc-0.2.7/LICENSE-APACHE +201 -0
  426. package/native/darwin-arm64/licenses/displaydoc-0.2.7/LICENSE-MIT +23 -0
  427. package/native/darwin-arm64/licenses/dunce-1.0.5/LICENSE +121 -0
  428. package/native/darwin-arm64/licenses/equivalent-1.0.3/LICENSE-APACHE +201 -0
  429. package/native/darwin-arm64/licenses/equivalent-1.0.3/LICENSE-MIT +25 -0
  430. package/native/darwin-arm64/licenses/errno-0.3.14/LICENSE-APACHE +201 -0
  431. package/native/darwin-arm64/licenses/errno-0.3.14/LICENSE-MIT +25 -0
  432. package/native/darwin-arm64/licenses/fallible-iterator-0.3.0/LICENSE-APACHE +202 -0
  433. package/native/darwin-arm64/licenses/fallible-iterator-0.3.0/LICENSE-MIT +19 -0
  434. package/native/darwin-arm64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-APACHE +202 -0
  435. package/native/darwin-arm64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-MIT +19 -0
  436. package/native/darwin-arm64/licenses/fastrand-2.5.0/LICENSE-APACHE +201 -0
  437. package/native/darwin-arm64/licenses/fastrand-2.5.0/LICENSE-MIT +23 -0
  438. package/native/darwin-arm64/licenses/find-msvc-tools-0.1.15/LICENSE-APACHE +201 -0
  439. package/native/darwin-arm64/licenses/find-msvc-tools-0.1.15/LICENSE-MIT +25 -0
  440. package/native/darwin-arm64/licenses/flate2-1.1.10/LICENSE-APACHE +201 -0
  441. package/native/darwin-arm64/licenses/flate2-1.1.10/LICENSE-MIT +25 -0
  442. package/native/darwin-arm64/licenses/foldhash-0.2.0/LICENSE +19 -0
  443. package/native/darwin-arm64/licenses/form_urlencoded-1.2.2/LICENSE-APACHE +201 -0
  444. package/native/darwin-arm64/licenses/form_urlencoded-1.2.2/LICENSE-MIT +25 -0
  445. package/native/darwin-arm64/licenses/fs_extra-1.3.0/LICENSE +21 -0
  446. package/native/darwin-arm64/licenses/futures-channel-0.3.34/LICENSE-APACHE +202 -0
  447. package/native/darwin-arm64/licenses/futures-channel-0.3.34/LICENSE-MIT +26 -0
  448. package/native/darwin-arm64/licenses/futures-core-0.3.34/LICENSE-APACHE +202 -0
  449. package/native/darwin-arm64/licenses/futures-core-0.3.34/LICENSE-MIT +26 -0
  450. package/native/darwin-arm64/licenses/futures-task-0.3.34/LICENSE-APACHE +202 -0
  451. package/native/darwin-arm64/licenses/futures-task-0.3.34/LICENSE-MIT +26 -0
  452. package/native/darwin-arm64/licenses/futures-util-0.3.34/LICENSE-APACHE +202 -0
  453. package/native/darwin-arm64/licenses/futures-util-0.3.34/LICENSE-MIT +26 -0
  454. package/native/darwin-arm64/licenses/getrandom-0.2.17/LICENSE-APACHE +201 -0
  455. package/native/darwin-arm64/licenses/getrandom-0.2.17/LICENSE-MIT +26 -0
  456. package/native/darwin-arm64/licenses/getrandom-0.4.3/LICENSE-APACHE +201 -0
  457. package/native/darwin-arm64/licenses/getrandom-0.4.3/LICENSE-MIT +26 -0
  458. package/native/darwin-arm64/licenses/hashbrown-0.16.1/LICENSE-APACHE +201 -0
  459. package/native/darwin-arm64/licenses/hashbrown-0.16.1/LICENSE-MIT +25 -0
  460. package/native/darwin-arm64/licenses/hashbrown-0.17.1/LICENSE-APACHE +201 -0
  461. package/native/darwin-arm64/licenses/hashbrown-0.17.1/LICENSE-MIT +25 -0
  462. package/native/darwin-arm64/licenses/hashlink-0.12.2/LICENSE-APACHE +201 -0
  463. package/native/darwin-arm64/licenses/hashlink-0.12.2/LICENSE-MIT +26 -0
  464. package/native/darwin-arm64/licenses/hmac-0.13.0/LICENSE-APACHE +201 -0
  465. package/native/darwin-arm64/licenses/hmac-0.13.0/LICENSE-MIT +25 -0
  466. package/native/darwin-arm64/licenses/http-1.5.0/LICENSE-APACHE +201 -0
  467. package/native/darwin-arm64/licenses/http-1.5.0/LICENSE-MIT +25 -0
  468. package/native/darwin-arm64/licenses/http-body-1.1.0/LICENSE +25 -0
  469. package/native/darwin-arm64/licenses/http-body-util-0.1.5/LICENSE +25 -0
  470. package/native/darwin-arm64/licenses/httparse-1.10.1/LICENSE-APACHE +201 -0
  471. package/native/darwin-arm64/licenses/httparse-1.10.1/LICENSE-MIT +20 -0
  472. package/native/darwin-arm64/licenses/hybrid-array-0.4.15/LICENSE-APACHE +201 -0
  473. package/native/darwin-arm64/licenses/hybrid-array-0.4.15/LICENSE-MIT +25 -0
  474. package/native/darwin-arm64/licenses/hyper-1.12.0/LICENSE +19 -0
  475. package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-APACHE +201 -0
  476. package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-ISC +15 -0
  477. package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-MIT +25 -0
  478. package/native/darwin-arm64/licenses/hyper-util-0.1.21/LICENSE +19 -0
  479. package/native/darwin-arm64/licenses/iana-time-zone-0.1.65/LICENSE-APACHE +201 -0
  480. package/native/darwin-arm64/licenses/iana-time-zone-0.1.65/LICENSE-MIT +25 -0
  481. package/native/darwin-arm64/licenses/icu_collections-2.4.0/LICENSE +46 -0
  482. package/native/darwin-arm64/licenses/icu_locale_core-2.4.0/LICENSE +46 -0
  483. package/native/darwin-arm64/licenses/icu_normalizer-2.4.0/LICENSE +46 -0
  484. package/native/darwin-arm64/licenses/icu_normalizer_data-2.4.0/LICENSE +46 -0
  485. package/native/darwin-arm64/licenses/icu_properties-2.4.0/LICENSE +46 -0
  486. package/native/darwin-arm64/licenses/icu_properties_data-2.4.0/LICENSE +46 -0
  487. package/native/darwin-arm64/licenses/icu_provider-2.4.0/LICENSE +46 -0
  488. package/native/darwin-arm64/licenses/idna-1.1.0/LICENSE-APACHE +201 -0
  489. package/native/darwin-arm64/licenses/idna-1.1.0/LICENSE-MIT +25 -0
  490. package/native/darwin-arm64/licenses/idna_adapter-1.2.2/LICENSE-APACHE +201 -0
  491. package/native/darwin-arm64/licenses/idna_adapter-1.2.2/LICENSE-MIT +25 -0
  492. package/native/darwin-arm64/licenses/include-flate-0.3.5/LICENSE +202 -0
  493. package/native/darwin-arm64/licenses/include-flate-codegen-0.3.5/LICENSE +202 -0
  494. package/native/darwin-arm64/licenses/include-flate-compress-0.3.5/LICENSE +202 -0
  495. package/native/darwin-arm64/licenses/indexmap-2.14.2/LICENSE-APACHE +201 -0
  496. package/native/darwin-arm64/licenses/indexmap-2.14.2/LICENSE-MIT +25 -0
  497. package/native/darwin-arm64/licenses/inout-0.2.5/LICENSE-APACHE +201 -0
  498. package/native/darwin-arm64/licenses/inout-0.2.5/LICENSE-MIT +26 -0
  499. package/native/darwin-arm64/licenses/ipnet-2.12.2/LICENSE-APACHE +201 -0
  500. package/native/darwin-arm64/licenses/ipnet-2.12.2/LICENSE-MIT +7 -0
  501. package/native/darwin-arm64/licenses/itoa-1.0.18/LICENSE-APACHE +176 -0
  502. package/native/darwin-arm64/licenses/itoa-1.0.18/LICENSE-MIT +23 -0
  503. package/native/darwin-arm64/licenses/jieba-macros-0.11.0/LICENSE +22 -0
  504. package/native/darwin-arm64/licenses/jieba-rs-0.11.0/LICENSE +22 -0
  505. package/native/darwin-arm64/licenses/jobserver-0.1.35/LICENSE-APACHE +201 -0
  506. package/native/darwin-arm64/licenses/jobserver-0.1.35/LICENSE-MIT +25 -0
  507. package/native/darwin-arm64/licenses/libbz2-rs-sys-0.2.6/LICENSE +48 -0
  508. package/native/darwin-arm64/licenses/libc-0.2.191/LICENSE-APACHE +176 -0
  509. package/native/darwin-arm64/licenses/libc-0.2.191/LICENSE-MIT +25 -0
  510. package/native/darwin-arm64/licenses/libflate-2.3.2/LICENSE +21 -0
  511. package/native/darwin-arm64/licenses/libflate_lz77-2.3.0/LICENSE +21 -0
  512. package/native/darwin-arm64/licenses/libsqlite3-sys-0.39.1/LICENSE +19 -0
  513. package/native/darwin-arm64/licenses/litemap-0.8.3/LICENSE +46 -0
  514. package/native/darwin-arm64/licenses/lock_api-0.4.14/LICENSE-APACHE +201 -0
  515. package/native/darwin-arm64/licenses/lock_api-0.4.14/LICENSE-MIT +25 -0
  516. package/native/darwin-arm64/licenses/log-0.4.35/LICENSE-APACHE +201 -0
  517. package/native/darwin-arm64/licenses/log-0.4.35/LICENSE-MIT +25 -0
  518. package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-APACHE +202 -0
  519. package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-MIT +7 -0
  520. package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-ZLIB +19 -0
  521. package/native/darwin-arm64/licenses/lzma-rust2-0.24.0/LICENSE +201 -0
  522. package/native/darwin-arm64/licenses/memchr-2.8.3/COPYING +3 -0
  523. package/native/darwin-arm64/licenses/memchr-2.8.3/LICENSE-MIT +21 -0
  524. package/native/darwin-arm64/licenses/mio-1.2.4/LICENSE +19 -0
  525. package/native/darwin-arm64/licenses/nix-0.31.3/LICENSE +21 -0
  526. package/native/darwin-arm64/licenses/no_std_io2-0.9.4/LICENSE-APACHE +202 -0
  527. package/native/darwin-arm64/licenses/no_std_io2-0.9.4/LICENSE-MIT +19 -0
  528. package/native/darwin-arm64/licenses/num-conv-0.2.2/LICENSE-Apache +177 -0
  529. package/native/darwin-arm64/licenses/num-conv-0.2.2/LICENSE-MIT +19 -0
  530. package/native/darwin-arm64/licenses/num-traits-0.2.19/LICENSE-APACHE +201 -0
  531. package/native/darwin-arm64/licenses/num-traits-0.2.19/LICENSE-MIT +25 -0
  532. package/native/darwin-arm64/licenses/once_cell-1.21.4/LICENSE-APACHE +201 -0
  533. package/native/darwin-arm64/licenses/once_cell-1.21.4/LICENSE-MIT +23 -0
  534. package/native/darwin-arm64/licenses/opencode-ai-models-0.0.124/LICENSE +21 -0
  535. package/native/darwin-arm64/licenses/parking_lot-0.12.5/LICENSE-APACHE +201 -0
  536. package/native/darwin-arm64/licenses/parking_lot-0.12.5/LICENSE-MIT +25 -0
  537. package/native/darwin-arm64/licenses/parking_lot_core-0.9.12/LICENSE-APACHE +201 -0
  538. package/native/darwin-arm64/licenses/parking_lot_core-0.9.12/LICENSE-MIT +25 -0
  539. package/native/darwin-arm64/licenses/pbkdf2-0.13.0/LICENSE-APACHE +201 -0
  540. package/native/darwin-arm64/licenses/pbkdf2-0.13.0/LICENSE-MIT +26 -0
  541. package/native/darwin-arm64/licenses/percent-encoding-2.3.2/LICENSE-APACHE +201 -0
  542. package/native/darwin-arm64/licenses/percent-encoding-2.3.2/LICENSE-MIT +25 -0
  543. package/native/darwin-arm64/licenses/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
  544. package/native/darwin-arm64/licenses/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
  545. package/native/darwin-arm64/licenses/pkg-config-0.3.34/LICENSE-APACHE +201 -0
  546. package/native/darwin-arm64/licenses/pkg-config-0.3.34/LICENSE-MIT +25 -0
  547. package/native/darwin-arm64/licenses/potential_utf-0.1.6/LICENSE +46 -0
  548. package/native/darwin-arm64/licenses/powerfmt-0.2.1/LICENSE-Apache +202 -0
  549. package/native/darwin-arm64/licenses/powerfmt-0.2.1/LICENSE-MIT +19 -0
  550. package/native/darwin-arm64/licenses/ppmd-rust-1.5.2/LICENSE-CC0.md +119 -0
  551. package/native/darwin-arm64/licenses/ppmd-rust-1.5.2/LICENSE-MIT-0.md +16 -0
  552. package/native/darwin-arm64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-APACHE +201 -0
  553. package/native/darwin-arm64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-MIT +21 -0
  554. package/native/darwin-arm64/licenses/proc-macro-error3-3.1.1/LICENSE-APACHE +202 -0
  555. package/native/darwin-arm64/licenses/proc-macro-error3-3.1.1/LICENSE-MIT +22 -0
  556. package/native/darwin-arm64/licenses/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
  557. package/native/darwin-arm64/licenses/proc-macro2-1.0.107/LICENSE-MIT +23 -0
  558. package/native/darwin-arm64/licenses/quinn-0.11.12/LICENSE-APACHE +201 -0
  559. package/native/darwin-arm64/licenses/quinn-0.11.12/LICENSE-MIT +7 -0
  560. package/native/darwin-arm64/licenses/quinn-proto-0.11.19/LICENSE-APACHE +201 -0
  561. package/native/darwin-arm64/licenses/quinn-proto-0.11.19/LICENSE-MIT +7 -0
  562. package/native/darwin-arm64/licenses/quinn-udp-0.5.16/LICENSE-APACHE +201 -0
  563. package/native/darwin-arm64/licenses/quinn-udp-0.5.16/LICENSE-MIT +7 -0
  564. package/native/darwin-arm64/licenses/quote-1.0.47/LICENSE-APACHE +176 -0
  565. package/native/darwin-arm64/licenses/quote-1.0.47/LICENSE-MIT +23 -0
  566. package/native/darwin-arm64/licenses/rand-0.10.3/LICENSE-APACHE +176 -0
  567. package/native/darwin-arm64/licenses/rand-0.10.3/LICENSE-MIT +26 -0
  568. package/native/darwin-arm64/licenses/rand_core-0.10.1/LICENSE-APACHE +187 -0
  569. package/native/darwin-arm64/licenses/rand_core-0.10.1/LICENSE-MIT +25 -0
  570. package/native/darwin-arm64/licenses/rand_pcg-0.10.2/LICENSE-APACHE +187 -0
  571. package/native/darwin-arm64/licenses/rand_pcg-0.10.2/LICENSE-MIT +26 -0
  572. package/native/darwin-arm64/licenses/regex-lite-0.1.9/LICENSE-APACHE +201 -0
  573. package/native/darwin-arm64/licenses/regex-lite-0.1.9/LICENSE-MIT +25 -0
  574. package/native/darwin-arm64/licenses/reqwest-0.13.5/LICENSE-APACHE +201 -0
  575. package/native/darwin-arm64/licenses/reqwest-0.13.5/LICENSE-MIT +20 -0
  576. package/native/darwin-arm64/licenses/rev_lines-0.3.0/LICENSE-MIT +21 -0
  577. package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE +9 -0
  578. package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE-BoringSSL +272 -0
  579. package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE-other-bits +13 -0
  580. package/native/darwin-arm64/licenses/rle-decode-fast-1.0.3/LICENSE-APACHE +13 -0
  581. package/native/darwin-arm64/licenses/rle-decode-fast-1.0.3/LICENSE-MIT +19 -0
  582. package/native/darwin-arm64/licenses/rusqlite-0.41.1/LICENSE +19 -0
  583. package/native/darwin-arm64/licenses/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
  584. package/native/darwin-arm64/licenses/rustc-hash-2.1.3/LICENSE-MIT +23 -0
  585. package/native/darwin-arm64/licenses/rustc_version-0.4.1/LICENSE-APACHE +201 -0
  586. package/native/darwin-arm64/licenses/rustc_version-0.4.1/LICENSE-MIT +25 -0
  587. package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-APACHE +201 -0
  588. package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
  589. package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-MIT +23 -0
  590. package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-APACHE +201 -0
  591. package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-ISC +15 -0
  592. package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-MIT +25 -0
  593. package/native/darwin-arm64/licenses/rustls-pki-types-1.15.1/LICENSE-APACHE +201 -0
  594. package/native/darwin-arm64/licenses/rustls-pki-types-1.15.1/LICENSE-MIT +25 -0
  595. package/native/darwin-arm64/licenses/rustls-platform-verifier-0.7.1/LICENSE-APACHE +201 -0
  596. package/native/darwin-arm64/licenses/rustls-platform-verifier-0.7.1/LICENSE-MIT +21 -0
  597. package/native/darwin-arm64/licenses/rustls-webpki-0.103.16/LICENSE +19 -0
  598. package/native/darwin-arm64/licenses/rustversion-1.0.23/LICENSE-APACHE +176 -0
  599. package/native/darwin-arm64/licenses/rustversion-1.0.23/LICENSE-MIT +23 -0
  600. package/native/darwin-arm64/licenses/scopeguard-1.2.0/LICENSE-APACHE +201 -0
  601. package/native/darwin-arm64/licenses/scopeguard-1.2.0/LICENSE-MIT +25 -0
  602. package/native/darwin-arm64/licenses/security-framework-3.7.0/LICENSE-APACHE +201 -0
  603. package/native/darwin-arm64/licenses/security-framework-3.7.0/LICENSE-MIT +20 -0
  604. package/native/darwin-arm64/licenses/security-framework-sys-2.17.0/LICENSE-APACHE +201 -0
  605. package/native/darwin-arm64/licenses/security-framework-sys-2.17.0/LICENSE-MIT +20 -0
  606. package/native/darwin-arm64/licenses/semver-1.0.28/LICENSE-APACHE +176 -0
  607. package/native/darwin-arm64/licenses/semver-1.0.28/LICENSE-MIT +23 -0
  608. package/native/darwin-arm64/licenses/serde-1.0.229/LICENSE-APACHE +176 -0
  609. package/native/darwin-arm64/licenses/serde-1.0.229/LICENSE-MIT +23 -0
  610. package/native/darwin-arm64/licenses/serde_core-1.0.229/LICENSE-APACHE +176 -0
  611. package/native/darwin-arm64/licenses/serde_core-1.0.229/LICENSE-MIT +23 -0
  612. package/native/darwin-arm64/licenses/serde_derive-1.0.229/LICENSE-APACHE +176 -0
  613. package/native/darwin-arm64/licenses/serde_derive-1.0.229/LICENSE-MIT +23 -0
  614. package/native/darwin-arm64/licenses/serde_json-1.0.154/LICENSE-APACHE +176 -0
  615. package/native/darwin-arm64/licenses/serde_json-1.0.154/LICENSE-MIT +23 -0
  616. package/native/darwin-arm64/licenses/sha1-0.11.0/LICENSE-APACHE +201 -0
  617. package/native/darwin-arm64/licenses/sha1-0.11.0/LICENSE-MIT +28 -0
  618. package/native/darwin-arm64/licenses/sha2-0.11.1/LICENSE-APACHE +201 -0
  619. package/native/darwin-arm64/licenses/sha2-0.11.1/LICENSE-MIT +28 -0
  620. package/native/darwin-arm64/licenses/shlex-2.0.1/LICENSE-APACHE +13 -0
  621. package/native/darwin-arm64/licenses/shlex-2.0.1/LICENSE-MIT +21 -0
  622. package/native/darwin-arm64/licenses/signal-hook-registry-1.4.8/LICENSE-APACHE +201 -0
  623. package/native/darwin-arm64/licenses/signal-hook-registry-1.4.8/LICENSE-MIT +25 -0
  624. package/native/darwin-arm64/licenses/simd-adler32-0.3.10/LICENSE.md +21 -0
  625. package/native/darwin-arm64/licenses/slab-0.4.12/LICENSE +25 -0
  626. package/native/darwin-arm64/licenses/smallvec-1.16.4/LICENSE-APACHE +201 -0
  627. package/native/darwin-arm64/licenses/smallvec-1.16.4/LICENSE-MIT +25 -0
  628. package/native/darwin-arm64/licenses/socket2-0.6.5/LICENSE-APACHE +201 -0
  629. package/native/darwin-arm64/licenses/socket2-0.6.5/LICENSE-MIT +25 -0
  630. package/native/darwin-arm64/licenses/specta-2.0.0-rc.27/LICENSE +21 -0
  631. package/native/darwin-arm64/licenses/specta-macros-2.0.0-rc.27/LICENSE +21 -0
  632. package/native/darwin-arm64/licenses/stable_deref_trait-1.2.1/LICENSE-APACHE +201 -0
  633. package/native/darwin-arm64/licenses/stable_deref_trait-1.2.1/LICENSE-MIT +25 -0
  634. package/native/darwin-arm64/licenses/stop-words-0.10.1/LICENSE-APACHE +201 -0
  635. package/native/darwin-arm64/licenses/stop-words-0.10.1/LICENSE.md +21 -0
  636. package/native/darwin-arm64/licenses/subtle-2.6.1/LICENSE +29 -0
  637. package/native/darwin-arm64/licenses/syn-2.0.119/LICENSE-APACHE +176 -0
  638. package/native/darwin-arm64/licenses/syn-2.0.119/LICENSE-MIT +23 -0
  639. package/native/darwin-arm64/licenses/syn-3.0.9/LICENSE-APACHE +176 -0
  640. package/native/darwin-arm64/licenses/syn-3.0.9/LICENSE-MIT +23 -0
  641. package/native/darwin-arm64/licenses/sync_wrapper-1.0.2/LICENSE +177 -0
  642. package/native/darwin-arm64/licenses/synstructure-0.14.0/LICENSE +7 -0
  643. package/native/darwin-arm64/licenses/tempfile-3.27.0/LICENSE-APACHE +201 -0
  644. package/native/darwin-arm64/licenses/tempfile-3.27.0/LICENSE-MIT +25 -0
  645. package/native/darwin-arm64/licenses/thiserror-1.0.69/LICENSE-APACHE +176 -0
  646. package/native/darwin-arm64/licenses/thiserror-1.0.69/LICENSE-MIT +23 -0
  647. package/native/darwin-arm64/licenses/thiserror-2.0.21/LICENSE-APACHE +176 -0
  648. package/native/darwin-arm64/licenses/thiserror-2.0.21/LICENSE-MIT +23 -0
  649. package/native/darwin-arm64/licenses/thiserror-impl-1.0.69/LICENSE-APACHE +176 -0
  650. package/native/darwin-arm64/licenses/thiserror-impl-1.0.69/LICENSE-MIT +23 -0
  651. package/native/darwin-arm64/licenses/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
  652. package/native/darwin-arm64/licenses/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
  653. package/native/darwin-arm64/licenses/time-0.3.55/LICENSE-Apache +177 -0
  654. package/native/darwin-arm64/licenses/time-0.3.55/LICENSE-MIT +19 -0
  655. package/native/darwin-arm64/licenses/time-core-0.1.9/LICENSE-Apache +177 -0
  656. package/native/darwin-arm64/licenses/time-core-0.1.9/LICENSE-MIT +19 -0
  657. package/native/darwin-arm64/licenses/tinystr-0.8.5/LICENSE +46 -0
  658. package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-APACHE.md +202 -0
  659. package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-MIT.md +5 -0
  660. package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-ZLIB.md +11 -0
  661. package/native/darwin-arm64/licenses/tokio-1.54.1/LICENSE +21 -0
  662. package/native/darwin-arm64/licenses/tokio-macros-2.7.2/LICENSE +22 -0
  663. package/native/darwin-arm64/licenses/tokio-rustls-0.26.6/LICENSE-APACHE +201 -0
  664. package/native/darwin-arm64/licenses/tokio-rustls-0.26.6/LICENSE-MIT +25 -0
  665. package/native/darwin-arm64/licenses/tower-0.5.3/LICENSE +25 -0
  666. package/native/darwin-arm64/licenses/tower-http-0.6.11/LICENSE +25 -0
  667. package/native/darwin-arm64/licenses/tower-layer-0.3.3/LICENSE +25 -0
  668. package/native/darwin-arm64/licenses/tower-service-0.3.3/LICENSE +25 -0
  669. package/native/darwin-arm64/licenses/tracing-0.1.44/LICENSE +25 -0
  670. package/native/darwin-arm64/licenses/tracing-core-0.1.36/LICENSE +25 -0
  671. package/native/darwin-arm64/licenses/try-lock-0.2.5/LICENSE +21 -0
  672. package/native/darwin-arm64/licenses/typed-path-0.13.0/LICENSE-APACHE +176 -0
  673. package/native/darwin-arm64/licenses/typed-path-0.13.0/LICENSE-MIT +23 -0
  674. package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE +1 -0
  675. package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE-APACHE +201 -0
  676. package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE-MIT +21 -0
  677. package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-APACHE +176 -0
  678. package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-MIT +23 -0
  679. package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-UNICODE +39 -0
  680. package/native/darwin-arm64/licenses/untrusted-0.9.0/LICENSE.txt +13 -0
  681. package/native/darwin-arm64/licenses/url-2.5.8/LICENSE-APACHE +201 -0
  682. package/native/darwin-arm64/licenses/url-2.5.8/LICENSE-MIT +25 -0
  683. package/native/darwin-arm64/licenses/utf8_iter-1.1.0/LICENSE-APACHE +202 -0
  684. package/native/darwin-arm64/licenses/utf8_iter-1.1.0/LICENSE-MIT +25 -0
  685. package/native/darwin-arm64/licenses/utf_types-1.0.0/LICENSE-APACHE +202 -0
  686. package/native/darwin-arm64/licenses/utf_types-1.0.0/LICENSE-MIT +25 -0
  687. package/native/darwin-arm64/licenses/vcpkg-0.2.15/LICENSE-APACHE +202 -0
  688. package/native/darwin-arm64/licenses/vcpkg-0.2.15/LICENSE-MIT +26 -0
  689. package/native/darwin-arm64/licenses/want-0.3.2/LICENSE +20 -0
  690. package/native/darwin-arm64/licenses/writeable-0.6.4/LICENSE +46 -0
  691. package/native/darwin-arm64/licenses/yoke-0.8.4/LICENSE +46 -0
  692. package/native/darwin-arm64/licenses/yoke-derive-0.8.4/LICENSE +46 -0
  693. package/native/darwin-arm64/licenses/zerofrom-0.1.8/LICENSE +46 -0
  694. package/native/darwin-arm64/licenses/zerofrom-derive-0.1.8/LICENSE +46 -0
  695. package/native/darwin-arm64/licenses/zeroize-1.9.1/LICENSE-APACHE +202 -0
  696. package/native/darwin-arm64/licenses/zeroize-1.9.1/LICENSE-MIT +25 -0
  697. package/native/darwin-arm64/licenses/zerotrie-0.2.5/LICENSE +46 -0
  698. package/native/darwin-arm64/licenses/zerovec-0.11.9/LICENSE +46 -0
  699. package/native/darwin-arm64/licenses/zerovec-derive-0.11.7/LICENSE +46 -0
  700. package/native/darwin-arm64/licenses/zip-9.3.0/LICENSE +21 -0
  701. package/native/darwin-arm64/licenses/zlib-rs-0.6.8/LICENSE +19 -0
  702. package/native/darwin-arm64/licenses/zmij-1.0.23/LICENSE-MIT +23 -0
  703. package/native/darwin-arm64/licenses/zopfli-0.8.4/COPYING +201 -0
  704. package/native/darwin-arm64/licenses/zstd-0.14.3/LICENSE +28 -0
  705. package/native/darwin-arm64/licenses/zstd-safe-8.2.0/LICENSE +28 -0
  706. package/native/darwin-arm64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE +28 -0
  707. package/native/darwin-arm64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE.BSD-3-Clause +32 -0
  708. package/native/win32-x64/THIRD_PARTY_NOTICES.md +203 -0
  709. package/native/win32-x64/alwith_native_chat.dll +0 -0
  710. package/native/win32-x64/artifact.json +8 -0
  711. package/native/win32-x64/licenses/Inflector-0.11.4/LICENSE.md +22 -0
  712. package/native/win32-x64/licenses/adler32-1.2.0/LICENSE +43 -0
  713. package/native/win32-x64/licenses/aes-0.9.4/LICENSE-APACHE +201 -0
  714. package/native/win32-x64/licenses/aes-0.9.4/LICENSE-MIT +26 -0
  715. package/native/win32-x64/licenses/allocator-api2-0.2.21/LICENSE-APACHE +176 -0
  716. package/native/win32-x64/licenses/allocator-api2-0.2.21/LICENSE-MIT +23 -0
  717. package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-APACHE +201 -0
  718. package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-MIT +23 -0
  719. package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-THIRD-PARTY +45 -0
  720. package/native/win32-x64/licenses/autocfg-1.5.1/LICENSE-APACHE +201 -0
  721. package/native/win32-x64/licenses/autocfg-1.5.1/LICENSE-MIT +25 -0
  722. package/native/win32-x64/licenses/aws-lc-rs-1.19.0/LICENSE +202 -0
  723. package/native/win32-x64/licenses/aws-lc-sys-0.47.0/LICENSE +316 -0
  724. package/native/win32-x64/licenses/base64-0.23.1/LICENSE-APACHE +201 -0
  725. package/native/win32-x64/licenses/base64-0.23.1/LICENSE-MIT +21 -0
  726. package/native/win32-x64/licenses/bitflags-2.13.2/LICENSE-APACHE +201 -0
  727. package/native/win32-x64/licenses/bitflags-2.13.2/LICENSE-MIT +25 -0
  728. package/native/win32-x64/licenses/block-buffer-0.12.1/LICENSE-APACHE +201 -0
  729. package/native/win32-x64/licenses/block-buffer-0.12.1/LICENSE-MIT +25 -0
  730. package/native/win32-x64/licenses/bumpalo-3.20.3/LICENSE-APACHE +201 -0
  731. package/native/win32-x64/licenses/bumpalo-3.20.3/LICENSE-MIT +25 -0
  732. package/native/win32-x64/licenses/bytecount-0.6.9/LICENSE.Apache2 +201 -0
  733. package/native/win32-x64/licenses/bytecount-0.6.9/LICENSE.MIT +19 -0
  734. package/native/win32-x64/licenses/bytes-1.12.1/LICENSE +25 -0
  735. package/native/win32-x64/licenses/bzip2-0.6.1/LICENSE-APACHE +201 -0
  736. package/native/win32-x64/licenses/bzip2-0.6.1/LICENSE-MIT +25 -0
  737. package/native/win32-x64/licenses/cc-1.11.0/LICENSE-APACHE +201 -0
  738. package/native/win32-x64/licenses/cc-1.11.0/LICENSE-MIT +25 -0
  739. package/native/win32-x64/licenses/cfg-if-1.0.5/LICENSE-APACHE +201 -0
  740. package/native/win32-x64/licenses/cfg-if-1.0.5/LICENSE-MIT +25 -0
  741. package/native/win32-x64/licenses/cfg_aliases-0.2.2/LICENSE +9 -0
  742. package/native/win32-x64/licenses/chacha20-0.10.2/LICENSE-APACHE +201 -0
  743. package/native/win32-x64/licenses/chacha20-0.10.2/LICENSE-MIT +25 -0
  744. package/native/win32-x64/licenses/chrono-0.4.45/LICENSE.txt +240 -0
  745. package/native/win32-x64/licenses/cipher-0.5.2/LICENSE-APACHE +201 -0
  746. package/native/win32-x64/licenses/cipher-0.5.2/LICENSE-MIT +25 -0
  747. package/native/win32-x64/licenses/cmake-0.1.58/LICENSE-APACHE +201 -0
  748. package/native/win32-x64/licenses/cmake-0.1.58/LICENSE-MIT +25 -0
  749. package/native/win32-x64/licenses/cmov-0.5.4/LICENSE-APACHE +202 -0
  750. package/native/win32-x64/licenses/cmov-0.5.4/LICENSE-MIT +25 -0
  751. package/native/win32-x64/licenses/const-oid-0.10.2/LICENSE-APACHE +201 -0
  752. package/native/win32-x64/licenses/const-oid-0.10.2/LICENSE-MIT +25 -0
  753. package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-APACHE +176 -0
  754. package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-CC0 +121 -0
  755. package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-MIT0 +14 -0
  756. package/native/win32-x64/licenses/cpubits-0.1.1/LICENSE-APACHE +201 -0
  757. package/native/win32-x64/licenses/cpubits-0.1.1/LICENSE-MIT +25 -0
  758. package/native/win32-x64/licenses/cpufeatures-0.3.1/LICENSE-APACHE +201 -0
  759. package/native/win32-x64/licenses/cpufeatures-0.3.1/LICENSE-MIT +25 -0
  760. package/native/win32-x64/licenses/crc32fast-1.5.4/LICENSE-APACHE +202 -0
  761. package/native/win32-x64/licenses/crc32fast-1.5.4/LICENSE-MIT +21 -0
  762. package/native/win32-x64/licenses/crypto-common-0.2.2/LICENSE-APACHE +201 -0
  763. package/native/win32-x64/licenses/crypto-common-0.2.2/LICENSE-MIT +25 -0
  764. package/native/win32-x64/licenses/ctutils-0.4.8/LICENSE-APACHE +202 -0
  765. package/native/win32-x64/licenses/ctutils-0.4.8/LICENSE-MIT +25 -0
  766. package/native/win32-x64/licenses/dary_heap-0.3.9/LICENSE-APACHE +176 -0
  767. package/native/win32-x64/licenses/dary_heap-0.3.9/LICENSE-MIT +23 -0
  768. package/native/win32-x64/licenses/deflate64-0.1.12/LICENSE +24 -0
  769. package/native/win32-x64/licenses/deranged-0.5.9/LICENSE-Apache +202 -0
  770. package/native/win32-x64/licenses/deranged-0.5.9/LICENSE-MIT +19 -0
  771. package/native/win32-x64/licenses/digest-0.11.3/LICENSE-APACHE +201 -0
  772. package/native/win32-x64/licenses/digest-0.11.3/LICENSE-MIT +26 -0
  773. package/native/win32-x64/licenses/displaydoc-0.2.7/LICENSE-APACHE +201 -0
  774. package/native/win32-x64/licenses/displaydoc-0.2.7/LICENSE-MIT +23 -0
  775. package/native/win32-x64/licenses/dunce-1.0.5/LICENSE +121 -0
  776. package/native/win32-x64/licenses/equivalent-1.0.3/LICENSE-APACHE +201 -0
  777. package/native/win32-x64/licenses/equivalent-1.0.3/LICENSE-MIT +25 -0
  778. package/native/win32-x64/licenses/fallible-iterator-0.3.0/LICENSE-APACHE +202 -0
  779. package/native/win32-x64/licenses/fallible-iterator-0.3.0/LICENSE-MIT +19 -0
  780. package/native/win32-x64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-APACHE +202 -0
  781. package/native/win32-x64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-MIT +19 -0
  782. package/native/win32-x64/licenses/fastrand-2.5.0/LICENSE-APACHE +201 -0
  783. package/native/win32-x64/licenses/fastrand-2.5.0/LICENSE-MIT +23 -0
  784. package/native/win32-x64/licenses/find-msvc-tools-0.1.15/LICENSE-APACHE +201 -0
  785. package/native/win32-x64/licenses/find-msvc-tools-0.1.15/LICENSE-MIT +25 -0
  786. package/native/win32-x64/licenses/flate2-1.1.10/LICENSE-APACHE +201 -0
  787. package/native/win32-x64/licenses/flate2-1.1.10/LICENSE-MIT +25 -0
  788. package/native/win32-x64/licenses/foldhash-0.2.0/LICENSE +19 -0
  789. package/native/win32-x64/licenses/form_urlencoded-1.2.2/LICENSE-APACHE +201 -0
  790. package/native/win32-x64/licenses/form_urlencoded-1.2.2/LICENSE-MIT +25 -0
  791. package/native/win32-x64/licenses/fs_extra-1.3.0/LICENSE +21 -0
  792. package/native/win32-x64/licenses/futures-channel-0.3.34/LICENSE-APACHE +202 -0
  793. package/native/win32-x64/licenses/futures-channel-0.3.34/LICENSE-MIT +26 -0
  794. package/native/win32-x64/licenses/futures-core-0.3.34/LICENSE-APACHE +202 -0
  795. package/native/win32-x64/licenses/futures-core-0.3.34/LICENSE-MIT +26 -0
  796. package/native/win32-x64/licenses/futures-task-0.3.34/LICENSE-APACHE +202 -0
  797. package/native/win32-x64/licenses/futures-task-0.3.34/LICENSE-MIT +26 -0
  798. package/native/win32-x64/licenses/futures-util-0.3.34/LICENSE-APACHE +202 -0
  799. package/native/win32-x64/licenses/futures-util-0.3.34/LICENSE-MIT +26 -0
  800. package/native/win32-x64/licenses/getrandom-0.2.17/LICENSE-APACHE +201 -0
  801. package/native/win32-x64/licenses/getrandom-0.2.17/LICENSE-MIT +26 -0
  802. package/native/win32-x64/licenses/getrandom-0.4.3/LICENSE-APACHE +201 -0
  803. package/native/win32-x64/licenses/getrandom-0.4.3/LICENSE-MIT +26 -0
  804. package/native/win32-x64/licenses/hashbrown-0.16.1/LICENSE-APACHE +201 -0
  805. package/native/win32-x64/licenses/hashbrown-0.16.1/LICENSE-MIT +25 -0
  806. package/native/win32-x64/licenses/hashbrown-0.17.1/LICENSE-APACHE +201 -0
  807. package/native/win32-x64/licenses/hashbrown-0.17.1/LICENSE-MIT +25 -0
  808. package/native/win32-x64/licenses/hashlink-0.12.2/LICENSE-APACHE +201 -0
  809. package/native/win32-x64/licenses/hashlink-0.12.2/LICENSE-MIT +26 -0
  810. package/native/win32-x64/licenses/hmac-0.13.0/LICENSE-APACHE +201 -0
  811. package/native/win32-x64/licenses/hmac-0.13.0/LICENSE-MIT +25 -0
  812. package/native/win32-x64/licenses/http-1.5.0/LICENSE-APACHE +201 -0
  813. package/native/win32-x64/licenses/http-1.5.0/LICENSE-MIT +25 -0
  814. package/native/win32-x64/licenses/http-body-1.1.0/LICENSE +25 -0
  815. package/native/win32-x64/licenses/http-body-util-0.1.5/LICENSE +25 -0
  816. package/native/win32-x64/licenses/httparse-1.10.1/LICENSE-APACHE +201 -0
  817. package/native/win32-x64/licenses/httparse-1.10.1/LICENSE-MIT +20 -0
  818. package/native/win32-x64/licenses/hybrid-array-0.4.15/LICENSE-APACHE +201 -0
  819. package/native/win32-x64/licenses/hybrid-array-0.4.15/LICENSE-MIT +25 -0
  820. package/native/win32-x64/licenses/hyper-1.12.0/LICENSE +19 -0
  821. package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-APACHE +201 -0
  822. package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-ISC +15 -0
  823. package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-MIT +25 -0
  824. package/native/win32-x64/licenses/hyper-util-0.1.21/LICENSE +19 -0
  825. package/native/win32-x64/licenses/icu_collections-2.4.0/LICENSE +46 -0
  826. package/native/win32-x64/licenses/icu_locale_core-2.4.0/LICENSE +46 -0
  827. package/native/win32-x64/licenses/icu_normalizer-2.4.0/LICENSE +46 -0
  828. package/native/win32-x64/licenses/icu_normalizer_data-2.4.0/LICENSE +46 -0
  829. package/native/win32-x64/licenses/icu_properties-2.4.0/LICENSE +46 -0
  830. package/native/win32-x64/licenses/icu_properties_data-2.4.0/LICENSE +46 -0
  831. package/native/win32-x64/licenses/icu_provider-2.4.0/LICENSE +46 -0
  832. package/native/win32-x64/licenses/idna-1.1.0/LICENSE-APACHE +201 -0
  833. package/native/win32-x64/licenses/idna-1.1.0/LICENSE-MIT +25 -0
  834. package/native/win32-x64/licenses/idna_adapter-1.2.2/LICENSE-APACHE +201 -0
  835. package/native/win32-x64/licenses/idna_adapter-1.2.2/LICENSE-MIT +25 -0
  836. package/native/win32-x64/licenses/include-flate-0.3.5/LICENSE +202 -0
  837. package/native/win32-x64/licenses/include-flate-codegen-0.3.5/LICENSE +202 -0
  838. package/native/win32-x64/licenses/include-flate-compress-0.3.5/LICENSE +202 -0
  839. package/native/win32-x64/licenses/indexmap-2.14.2/LICENSE-APACHE +201 -0
  840. package/native/win32-x64/licenses/indexmap-2.14.2/LICENSE-MIT +25 -0
  841. package/native/win32-x64/licenses/inout-0.2.5/LICENSE-APACHE +201 -0
  842. package/native/win32-x64/licenses/inout-0.2.5/LICENSE-MIT +26 -0
  843. package/native/win32-x64/licenses/ipnet-2.12.2/LICENSE-APACHE +201 -0
  844. package/native/win32-x64/licenses/ipnet-2.12.2/LICENSE-MIT +7 -0
  845. package/native/win32-x64/licenses/itoa-1.0.18/LICENSE-APACHE +176 -0
  846. package/native/win32-x64/licenses/itoa-1.0.18/LICENSE-MIT +23 -0
  847. package/native/win32-x64/licenses/jieba-macros-0.11.0/LICENSE +22 -0
  848. package/native/win32-x64/licenses/jieba-rs-0.11.0/LICENSE +22 -0
  849. package/native/win32-x64/licenses/jobserver-0.1.35/LICENSE-APACHE +201 -0
  850. package/native/win32-x64/licenses/jobserver-0.1.35/LICENSE-MIT +25 -0
  851. package/native/win32-x64/licenses/libbz2-rs-sys-0.2.6/LICENSE +48 -0
  852. package/native/win32-x64/licenses/libc-0.2.191/LICENSE-APACHE +176 -0
  853. package/native/win32-x64/licenses/libc-0.2.191/LICENSE-MIT +25 -0
  854. package/native/win32-x64/licenses/libflate-2.3.2/LICENSE +21 -0
  855. package/native/win32-x64/licenses/libflate_lz77-2.3.0/LICENSE +21 -0
  856. package/native/win32-x64/licenses/libsqlite3-sys-0.39.1/LICENSE +19 -0
  857. package/native/win32-x64/licenses/litemap-0.8.3/LICENSE +46 -0
  858. package/native/win32-x64/licenses/lock_api-0.4.14/LICENSE-APACHE +201 -0
  859. package/native/win32-x64/licenses/lock_api-0.4.14/LICENSE-MIT +25 -0
  860. package/native/win32-x64/licenses/log-0.4.35/LICENSE-APACHE +201 -0
  861. package/native/win32-x64/licenses/log-0.4.35/LICENSE-MIT +25 -0
  862. package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-APACHE +202 -0
  863. package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-MIT +7 -0
  864. package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-ZLIB +19 -0
  865. package/native/win32-x64/licenses/lzma-rust2-0.24.0/LICENSE +201 -0
  866. package/native/win32-x64/licenses/memchr-2.8.3/COPYING +3 -0
  867. package/native/win32-x64/licenses/memchr-2.8.3/LICENSE-MIT +21 -0
  868. package/native/win32-x64/licenses/mio-1.2.4/LICENSE +19 -0
  869. package/native/win32-x64/licenses/no_std_io2-0.9.4/LICENSE-APACHE +202 -0
  870. package/native/win32-x64/licenses/no_std_io2-0.9.4/LICENSE-MIT +19 -0
  871. package/native/win32-x64/licenses/num-conv-0.2.2/LICENSE-Apache +177 -0
  872. package/native/win32-x64/licenses/num-conv-0.2.2/LICENSE-MIT +19 -0
  873. package/native/win32-x64/licenses/num-traits-0.2.19/LICENSE-APACHE +201 -0
  874. package/native/win32-x64/licenses/num-traits-0.2.19/LICENSE-MIT +25 -0
  875. package/native/win32-x64/licenses/once_cell-1.21.4/LICENSE-APACHE +201 -0
  876. package/native/win32-x64/licenses/once_cell-1.21.4/LICENSE-MIT +23 -0
  877. package/native/win32-x64/licenses/opencode-ai-models-0.0.124/LICENSE +21 -0
  878. package/native/win32-x64/licenses/parking_lot-0.12.5/LICENSE-APACHE +201 -0
  879. package/native/win32-x64/licenses/parking_lot-0.12.5/LICENSE-MIT +25 -0
  880. package/native/win32-x64/licenses/parking_lot_core-0.9.12/LICENSE-APACHE +201 -0
  881. package/native/win32-x64/licenses/parking_lot_core-0.9.12/LICENSE-MIT +25 -0
  882. package/native/win32-x64/licenses/pbkdf2-0.13.0/LICENSE-APACHE +201 -0
  883. package/native/win32-x64/licenses/pbkdf2-0.13.0/LICENSE-MIT +26 -0
  884. package/native/win32-x64/licenses/percent-encoding-2.3.2/LICENSE-APACHE +201 -0
  885. package/native/win32-x64/licenses/percent-encoding-2.3.2/LICENSE-MIT +25 -0
  886. package/native/win32-x64/licenses/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
  887. package/native/win32-x64/licenses/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
  888. package/native/win32-x64/licenses/pkg-config-0.3.34/LICENSE-APACHE +201 -0
  889. package/native/win32-x64/licenses/pkg-config-0.3.34/LICENSE-MIT +25 -0
  890. package/native/win32-x64/licenses/potential_utf-0.1.6/LICENSE +46 -0
  891. package/native/win32-x64/licenses/powerfmt-0.2.1/LICENSE-Apache +202 -0
  892. package/native/win32-x64/licenses/powerfmt-0.2.1/LICENSE-MIT +19 -0
  893. package/native/win32-x64/licenses/ppmd-rust-1.5.2/LICENSE-CC0.md +119 -0
  894. package/native/win32-x64/licenses/ppmd-rust-1.5.2/LICENSE-MIT-0.md +16 -0
  895. package/native/win32-x64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-APACHE +201 -0
  896. package/native/win32-x64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-MIT +21 -0
  897. package/native/win32-x64/licenses/proc-macro-error3-3.1.1/LICENSE-APACHE +202 -0
  898. package/native/win32-x64/licenses/proc-macro-error3-3.1.1/LICENSE-MIT +22 -0
  899. package/native/win32-x64/licenses/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
  900. package/native/win32-x64/licenses/proc-macro2-1.0.107/LICENSE-MIT +23 -0
  901. package/native/win32-x64/licenses/quinn-0.11.12/LICENSE-APACHE +201 -0
  902. package/native/win32-x64/licenses/quinn-0.11.12/LICENSE-MIT +7 -0
  903. package/native/win32-x64/licenses/quinn-proto-0.11.19/LICENSE-APACHE +201 -0
  904. package/native/win32-x64/licenses/quinn-proto-0.11.19/LICENSE-MIT +7 -0
  905. package/native/win32-x64/licenses/quinn-udp-0.5.16/LICENSE-APACHE +201 -0
  906. package/native/win32-x64/licenses/quinn-udp-0.5.16/LICENSE-MIT +7 -0
  907. package/native/win32-x64/licenses/quote-1.0.47/LICENSE-APACHE +176 -0
  908. package/native/win32-x64/licenses/quote-1.0.47/LICENSE-MIT +23 -0
  909. package/native/win32-x64/licenses/rand-0.10.3/LICENSE-APACHE +176 -0
  910. package/native/win32-x64/licenses/rand-0.10.3/LICENSE-MIT +26 -0
  911. package/native/win32-x64/licenses/rand_core-0.10.1/LICENSE-APACHE +187 -0
  912. package/native/win32-x64/licenses/rand_core-0.10.1/LICENSE-MIT +25 -0
  913. package/native/win32-x64/licenses/rand_pcg-0.10.2/LICENSE-APACHE +187 -0
  914. package/native/win32-x64/licenses/rand_pcg-0.10.2/LICENSE-MIT +26 -0
  915. package/native/win32-x64/licenses/regex-lite-0.1.9/LICENSE-APACHE +201 -0
  916. package/native/win32-x64/licenses/regex-lite-0.1.9/LICENSE-MIT +25 -0
  917. package/native/win32-x64/licenses/reqwest-0.13.5/LICENSE-APACHE +201 -0
  918. package/native/win32-x64/licenses/reqwest-0.13.5/LICENSE-MIT +20 -0
  919. package/native/win32-x64/licenses/rev_lines-0.3.0/LICENSE-MIT +21 -0
  920. package/native/win32-x64/licenses/ring-0.17.14/LICENSE +9 -0
  921. package/native/win32-x64/licenses/ring-0.17.14/LICENSE-BoringSSL +272 -0
  922. package/native/win32-x64/licenses/ring-0.17.14/LICENSE-other-bits +13 -0
  923. package/native/win32-x64/licenses/rle-decode-fast-1.0.3/LICENSE-APACHE +13 -0
  924. package/native/win32-x64/licenses/rle-decode-fast-1.0.3/LICENSE-MIT +19 -0
  925. package/native/win32-x64/licenses/rusqlite-0.41.1/LICENSE +19 -0
  926. package/native/win32-x64/licenses/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
  927. package/native/win32-x64/licenses/rustc-hash-2.1.3/LICENSE-MIT +23 -0
  928. package/native/win32-x64/licenses/rustc_version-0.4.1/LICENSE-APACHE +201 -0
  929. package/native/win32-x64/licenses/rustc_version-0.4.1/LICENSE-MIT +25 -0
  930. package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-APACHE +201 -0
  931. package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-ISC +15 -0
  932. package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-MIT +25 -0
  933. package/native/win32-x64/licenses/rustls-pki-types-1.15.1/LICENSE-APACHE +201 -0
  934. package/native/win32-x64/licenses/rustls-pki-types-1.15.1/LICENSE-MIT +25 -0
  935. package/native/win32-x64/licenses/rustls-platform-verifier-0.7.1/LICENSE-APACHE +201 -0
  936. package/native/win32-x64/licenses/rustls-platform-verifier-0.7.1/LICENSE-MIT +21 -0
  937. package/native/win32-x64/licenses/rustls-webpki-0.103.16/LICENSE +19 -0
  938. package/native/win32-x64/licenses/rustversion-1.0.23/LICENSE-APACHE +176 -0
  939. package/native/win32-x64/licenses/rustversion-1.0.23/LICENSE-MIT +23 -0
  940. package/native/win32-x64/licenses/scopeguard-1.2.0/LICENSE-APACHE +201 -0
  941. package/native/win32-x64/licenses/scopeguard-1.2.0/LICENSE-MIT +25 -0
  942. package/native/win32-x64/licenses/semver-1.0.28/LICENSE-APACHE +176 -0
  943. package/native/win32-x64/licenses/semver-1.0.28/LICENSE-MIT +23 -0
  944. package/native/win32-x64/licenses/serde-1.0.229/LICENSE-APACHE +176 -0
  945. package/native/win32-x64/licenses/serde-1.0.229/LICENSE-MIT +23 -0
  946. package/native/win32-x64/licenses/serde_core-1.0.229/LICENSE-APACHE +176 -0
  947. package/native/win32-x64/licenses/serde_core-1.0.229/LICENSE-MIT +23 -0
  948. package/native/win32-x64/licenses/serde_derive-1.0.229/LICENSE-APACHE +176 -0
  949. package/native/win32-x64/licenses/serde_derive-1.0.229/LICENSE-MIT +23 -0
  950. package/native/win32-x64/licenses/serde_json-1.0.154/LICENSE-APACHE +176 -0
  951. package/native/win32-x64/licenses/serde_json-1.0.154/LICENSE-MIT +23 -0
  952. package/native/win32-x64/licenses/sha1-0.11.0/LICENSE-APACHE +201 -0
  953. package/native/win32-x64/licenses/sha1-0.11.0/LICENSE-MIT +28 -0
  954. package/native/win32-x64/licenses/sha2-0.11.1/LICENSE-APACHE +201 -0
  955. package/native/win32-x64/licenses/sha2-0.11.1/LICENSE-MIT +28 -0
  956. package/native/win32-x64/licenses/shlex-2.0.1/LICENSE-APACHE +13 -0
  957. package/native/win32-x64/licenses/shlex-2.0.1/LICENSE-MIT +21 -0
  958. package/native/win32-x64/licenses/simd-adler32-0.3.10/LICENSE.md +21 -0
  959. package/native/win32-x64/licenses/slab-0.4.12/LICENSE +25 -0
  960. package/native/win32-x64/licenses/smallvec-1.16.4/LICENSE-APACHE +201 -0
  961. package/native/win32-x64/licenses/smallvec-1.16.4/LICENSE-MIT +25 -0
  962. package/native/win32-x64/licenses/socket2-0.6.5/LICENSE-APACHE +201 -0
  963. package/native/win32-x64/licenses/socket2-0.6.5/LICENSE-MIT +25 -0
  964. package/native/win32-x64/licenses/specta-2.0.0-rc.27/LICENSE +21 -0
  965. package/native/win32-x64/licenses/specta-macros-2.0.0-rc.27/LICENSE +21 -0
  966. package/native/win32-x64/licenses/stable_deref_trait-1.2.1/LICENSE-APACHE +201 -0
  967. package/native/win32-x64/licenses/stable_deref_trait-1.2.1/LICENSE-MIT +25 -0
  968. package/native/win32-x64/licenses/stop-words-0.10.1/LICENSE-APACHE +201 -0
  969. package/native/win32-x64/licenses/stop-words-0.10.1/LICENSE.md +21 -0
  970. package/native/win32-x64/licenses/subtle-2.6.1/LICENSE +29 -0
  971. package/native/win32-x64/licenses/syn-2.0.119/LICENSE-APACHE +176 -0
  972. package/native/win32-x64/licenses/syn-2.0.119/LICENSE-MIT +23 -0
  973. package/native/win32-x64/licenses/syn-3.0.9/LICENSE-APACHE +176 -0
  974. package/native/win32-x64/licenses/syn-3.0.9/LICENSE-MIT +23 -0
  975. package/native/win32-x64/licenses/sync_wrapper-1.0.2/LICENSE +177 -0
  976. package/native/win32-x64/licenses/synstructure-0.14.0/LICENSE +7 -0
  977. package/native/win32-x64/licenses/tempfile-3.27.0/LICENSE-APACHE +201 -0
  978. package/native/win32-x64/licenses/tempfile-3.27.0/LICENSE-MIT +25 -0
  979. package/native/win32-x64/licenses/thiserror-1.0.69/LICENSE-APACHE +176 -0
  980. package/native/win32-x64/licenses/thiserror-1.0.69/LICENSE-MIT +23 -0
  981. package/native/win32-x64/licenses/thiserror-2.0.21/LICENSE-APACHE +176 -0
  982. package/native/win32-x64/licenses/thiserror-2.0.21/LICENSE-MIT +23 -0
  983. package/native/win32-x64/licenses/thiserror-impl-1.0.69/LICENSE-APACHE +176 -0
  984. package/native/win32-x64/licenses/thiserror-impl-1.0.69/LICENSE-MIT +23 -0
  985. package/native/win32-x64/licenses/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
  986. package/native/win32-x64/licenses/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
  987. package/native/win32-x64/licenses/time-0.3.55/LICENSE-Apache +177 -0
  988. package/native/win32-x64/licenses/time-0.3.55/LICENSE-MIT +19 -0
  989. package/native/win32-x64/licenses/time-core-0.1.9/LICENSE-Apache +177 -0
  990. package/native/win32-x64/licenses/time-core-0.1.9/LICENSE-MIT +19 -0
  991. package/native/win32-x64/licenses/tinystr-0.8.5/LICENSE +46 -0
  992. package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-APACHE.md +202 -0
  993. package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-MIT.md +5 -0
  994. package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-ZLIB.md +11 -0
  995. package/native/win32-x64/licenses/tokio-1.54.1/LICENSE +21 -0
  996. package/native/win32-x64/licenses/tokio-macros-2.7.2/LICENSE +22 -0
  997. package/native/win32-x64/licenses/tokio-rustls-0.26.6/LICENSE-APACHE +201 -0
  998. package/native/win32-x64/licenses/tokio-rustls-0.26.6/LICENSE-MIT +25 -0
  999. package/native/win32-x64/licenses/tower-0.5.3/LICENSE +25 -0
  1000. package/native/win32-x64/licenses/tower-http-0.6.11/LICENSE +25 -0
  1001. package/native/win32-x64/licenses/tower-layer-0.3.3/LICENSE +25 -0
  1002. package/native/win32-x64/licenses/tower-service-0.3.3/LICENSE +25 -0
  1003. package/native/win32-x64/licenses/tracing-0.1.44/LICENSE +25 -0
  1004. package/native/win32-x64/licenses/tracing-core-0.1.36/LICENSE +25 -0
  1005. package/native/win32-x64/licenses/try-lock-0.2.5/LICENSE +21 -0
  1006. package/native/win32-x64/licenses/typed-path-0.13.0/LICENSE-APACHE +176 -0
  1007. package/native/win32-x64/licenses/typed-path-0.13.0/LICENSE-MIT +23 -0
  1008. package/native/win32-x64/licenses/typenum-1.20.1/LICENSE +1 -0
  1009. package/native/win32-x64/licenses/typenum-1.20.1/LICENSE-APACHE +201 -0
  1010. package/native/win32-x64/licenses/typenum-1.20.1/LICENSE-MIT +21 -0
  1011. package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-APACHE +176 -0
  1012. package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-MIT +23 -0
  1013. package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-UNICODE +39 -0
  1014. package/native/win32-x64/licenses/untrusted-0.9.0/LICENSE.txt +13 -0
  1015. package/native/win32-x64/licenses/url-2.5.8/LICENSE-APACHE +201 -0
  1016. package/native/win32-x64/licenses/url-2.5.8/LICENSE-MIT +25 -0
  1017. package/native/win32-x64/licenses/utf8_iter-1.1.0/LICENSE-APACHE +202 -0
  1018. package/native/win32-x64/licenses/utf8_iter-1.1.0/LICENSE-MIT +25 -0
  1019. package/native/win32-x64/licenses/utf_types-1.0.0/LICENSE-APACHE +202 -0
  1020. package/native/win32-x64/licenses/utf_types-1.0.0/LICENSE-MIT +25 -0
  1021. package/native/win32-x64/licenses/vcpkg-0.2.15/LICENSE-APACHE +202 -0
  1022. package/native/win32-x64/licenses/vcpkg-0.2.15/LICENSE-MIT +26 -0
  1023. package/native/win32-x64/licenses/want-0.3.2/LICENSE +20 -0
  1024. package/native/win32-x64/licenses/windows-link-0.2.1/license-apache-2.0 +201 -0
  1025. package/native/win32-x64/licenses/windows-link-0.2.1/license-mit +21 -0
  1026. package/native/win32-x64/licenses/windows-sys-0.61.2/license-apache-2.0 +201 -0
  1027. package/native/win32-x64/licenses/windows-sys-0.61.2/license-mit +21 -0
  1028. package/native/win32-x64/licenses/writeable-0.6.4/LICENSE +46 -0
  1029. package/native/win32-x64/licenses/yoke-0.8.4/LICENSE +46 -0
  1030. package/native/win32-x64/licenses/yoke-derive-0.8.4/LICENSE +46 -0
  1031. package/native/win32-x64/licenses/zerofrom-0.1.8/LICENSE +46 -0
  1032. package/native/win32-x64/licenses/zerofrom-derive-0.1.8/LICENSE +46 -0
  1033. package/native/win32-x64/licenses/zeroize-1.9.1/LICENSE-APACHE +202 -0
  1034. package/native/win32-x64/licenses/zeroize-1.9.1/LICENSE-MIT +25 -0
  1035. package/native/win32-x64/licenses/zerotrie-0.2.5/LICENSE +46 -0
  1036. package/native/win32-x64/licenses/zerovec-0.11.9/LICENSE +46 -0
  1037. package/native/win32-x64/licenses/zerovec-derive-0.11.7/LICENSE +46 -0
  1038. package/native/win32-x64/licenses/zip-9.3.0/LICENSE +21 -0
  1039. package/native/win32-x64/licenses/zlib-rs-0.6.8/LICENSE +19 -0
  1040. package/native/win32-x64/licenses/zmij-1.0.23/LICENSE-MIT +23 -0
  1041. package/native/win32-x64/licenses/zopfli-0.8.4/COPYING +201 -0
  1042. package/native/win32-x64/licenses/zstd-0.14.3/LICENSE +28 -0
  1043. package/native/win32-x64/licenses/zstd-safe-8.2.0/LICENSE +28 -0
  1044. package/native/win32-x64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE +28 -0
  1045. package/native/win32-x64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE.BSD-3-Clause +32 -0
  1046. package/package.json +32 -19
  1047. package/dist/chunk-0w6g1w1a.js +0 -2
  1048. package/dist/chunk-0wr12bg8.js +0 -2
  1049. package/dist/chunk-3137n54p.js +0 -2
  1050. package/dist/chunk-3jd4dkv4.js +0 -3
  1051. package/dist/chunk-3jw1yt27.js +0 -2
  1052. package/dist/chunk-45542yk3.js +0 -2
  1053. package/dist/chunk-4j2c9r6m.js +0 -2
  1054. package/dist/chunk-4phhhm7t.js +0 -2
  1055. package/dist/chunk-546h1tk7.js +0 -2
  1056. package/dist/chunk-8kwxqckk.js +0 -2
  1057. package/dist/chunk-8qyb69g5.js +0 -2
  1058. package/dist/chunk-8xb3b71p.js +0 -2
  1059. package/dist/chunk-93y78gn4.js +0 -2
  1060. package/dist/chunk-95qfzbmx.js +0 -2
  1061. package/dist/chunk-98cbjkvk.js +0 -4
  1062. package/dist/chunk-bfqqsv6a.js +0 -2
  1063. package/dist/chunk-cd4v63j8.js +0 -2
  1064. package/dist/chunk-d0cb9bks.js +0 -2
  1065. package/dist/chunk-e2q5znh5.js +0 -2
  1066. package/dist/chunk-e43x30mv.js +0 -2
  1067. package/dist/chunk-eg86g265.js +0 -2
  1068. package/dist/chunk-ek4acj2p.js +0 -2
  1069. package/dist/chunk-eqwga6j5.js +0 -2
  1070. package/dist/chunk-famkkndg.js +0 -2
  1071. package/dist/chunk-g7by9ta9.js +0 -2
  1072. package/dist/chunk-gsnqwd84.js +0 -2
  1073. package/dist/chunk-h6jkgcw1.js +0 -2
  1074. package/dist/chunk-hck587pb.js +0 -2
  1075. package/dist/chunk-jrmygc4p.js +0 -2
  1076. package/dist/chunk-jrnfqqfc.js +0 -2
  1077. package/dist/chunk-k2q7wjp6.js +0 -2
  1078. package/dist/chunk-m4eqmf0x.js +0 -5
  1079. package/dist/chunk-pgqsw2sh.js +0 -2
  1080. package/dist/chunk-pym8eb5y.js +0 -2
  1081. package/dist/chunk-qy06pvy8.js +0 -2
  1082. package/dist/chunk-rf5g26qv.js +0 -2
  1083. package/dist/chunk-rfn9vecr.js +0 -2
  1084. package/dist/chunk-srpsc10y.js +0 -2
  1085. package/dist/chunk-szwq5b69.js +0 -2
  1086. package/dist/chunk-t2q8cxnh.js +0 -2
  1087. package/dist/chunk-tjkftq6f.js +0 -2
  1088. package/dist/chunk-tk2471ny.js +0 -2
  1089. package/dist/chunk-v3etjs4w.js +0 -2
  1090. package/dist/chunk-wdrzhaxf.js +0 -2
  1091. package/dist/chunk-x54538jy.js +0 -1
  1092. package/dist/chunk-x68b6rmk.js +0 -2
  1093. package/dist/chunk-z8njjc2c.js +0 -2
  1094. package/rust/Cargo.lock +0 -4318
  1095. package/rust/Cargo.toml +0 -44
  1096. package/rust/build.rs +0 -16
  1097. package/rust/permissions/autogenerated/reference.md +0 -296
  1098. package/rust/permissions/default.toml +0 -20
  1099. package/rust/permissions/schemas/schema.json +0 -263
  1100. package/rust/src/__tests__/native_network.rs +0 -406
  1101. package/rust/src/lib.rs +0 -82
  1102. package/rust/src/native_network.rs +0 -302
  1103. package/rust/src/native_network_diagnostics.rs +0 -220
  1104. package/rust/src/providers/managed.rs +0 -801
  1105. package/rust/src/providers/tests.rs +0 -684
  1106. package/rust/src/providers.rs +0 -984
  1107. package/rust/src/skills.rs +0 -130
  1108. package/rust/src/system_proxy.rs +0 -257
package/LICENSE CHANGED
@@ -44,7 +44,7 @@ You must not misrepresent authorship or imply ALwith endorses your application.
44
44
  4. Accounts and services
45
45
  This license does not supply platform credentials, paid entitlements, hosting,
46
46
  support, updates or a service-availability guarantee. Use of ALwith accounts,
47
- pets, relay or other hosted services is separately subject to the applicable
47
+ Vibemon, relay or other hosted services is separately subject to the applicable
48
48
  service terms and authorization. Do not bypass service access controls or use
49
49
  another person's credentials without authorization. Choosing or replacing an
50
50
  authentication provider for your own application is not prohibited by this
package/README.md CHANGED
@@ -156,7 +156,7 @@ the key for its own editor. Strings are
156
156
 
157
157
  `search-source` shares Unicode-aware literal matching and original UTF-16 offsets with DOM matching. This does **not** make raw tool fields, Markdown source or folded content equivalent to rendered text: the current per-turn occurrence index still requires a complete source-to-rendered mapping. Do not treat the current search counter as proof that every indexed match can be revealed. Automatic expansion of folded matches has not been agreed.
158
158
 
159
- `permission-view` supplies Desktop's approval list, sorting, keyboard selection and optional input-anchored portal. Without an anchor it renders inline. Applications supply request identity, details and the response callback; Desktop replay/pet actions and U's ACP pending-request routing remain in their hosts. Inline callers can select `autoFocus="if-idle"` to avoid taking focus from a draft.
159
+ `permission-view` supplies Desktop's approval list, sorting, keyboard selection and optional input-anchored portal. Without an anchor it renders inline. Applications supply request identity, details and the response callback; Desktop replay/vibemon actions and U's ACP pending-request routing remain in their hosts. Inline callers can select `autoFocus="if-idle"` to avoid taking focus from a draft.
160
160
 
161
161
  `choice-elicitation-form` preserves Desktop's choice questions, Other inputs, previews and notes. `schema-elicitation-form` handles standard schema fields, including text, numbers and booleans. Applications answer the original pending request; the package does not send protocol messages. The latter reuses the API's property guards; local unpublished development resolves `@alwith/api` through the workspace root dependency and override.
162
162
 
@@ -335,30 +335,34 @@ should mount one `SessionActions` for the root conversation. Requires
335
335
 
336
336
  `ProviderSection` from `@alwith/module-chat/settings` is U's models section: the Codex box (`CodexAccountCard`), the ALwith account models when the host has an ALwith account, then provider pills for the built-in providers (DeepSeek, OpenRouter, Qwen with its regions, xAI) and custom OpenAI Responses providers, each with API key, optional API base URL, connection test and removal. A saved key puts that provider's models into every chat's model picker; nothing in `~/.codex` changes.
337
337
 
338
- **Native plugin.** The keys never reach the webview. They live in the package's Tauri 3 plugin, shipped as source in this npm package under `rust/` (crate `tauri-plugin-alwith-chat`, version in its `Cargo.toml`):
338
+ **Native plugin.** The keys never reach the webview. They live in the package's Tauri 3 plugin `alwith-chat` on crates.io (runtime name `alwith-chat`):
339
339
 
340
340
  ```toml
341
- tauri-plugin-alwith-chat = { path = "../node_modules/@alwith/module-chat/rust" }
341
+ alwith-chat = "0.6"
342
342
  ```
343
343
 
344
- The crate reaches the Runtime SDK as its sibling `node_modules/@alwith/api/rust`, so the application installs `@alwith/api` (this package's peer). Register the plugin with the application's Runtime access:
344
+ Register the plugin with the application's Runtime access. An application without ALwith account integration uses `init`; it loads no native library and the account commands answer `unavailable`:
345
345
 
346
346
  ```rust
347
- .plugin(tauri_plugin_alwith_chat::init(tauri_plugin_alwith_chat::runtime_fn(|app| {
347
+ .plugin(alwith_chat::init(alwith_chat::runtime_fn(|app| {
348
348
  app.state::<RuntimeState>().current()
349
349
  })))
350
350
  ```
351
351
 
352
- `runtime_fn` gives the plugin its own admission lock. An application that orders session requests itself (U) implements `RuntimeAccess` with `current` and its admission lock instead. Grant `alwith-chat:default` to the windows that show the section (read, save, save custom, remove custom, test, apply, and `read_skill_document`); grant `alwith-chat:managed-providers` only to the main window of an application with ALwith account integration. The plugin keeps `runtime-providers.json` in the application data directory (U's file and format, private 0600, atomic replacement) and emits `providers:changed` with the public snapshot.
352
+ An application with ALwith account integration uses `init_with_account(runtime, development_directory)`. The ALwith account gateway (identity generations, revocation, the account catalog and request admission) is the private native `chat` library shipped in this package under `native/<os>-<cpu>/`; the application stages it with its other module libraries, and the plugin loads it from the bundled `native` resources (debug builds: `development_directory`). Revocation is ordered before every later request: feed each webview Runtime request through `check(app, method, params)` before sending it (run requests where `requires_admission` is true under the admission lock), pass lifecycle and model-selection results to `observe(app, agent, session, result, Some(generation))` when `confirms_model` is true, report realtime requests with `observe_realtime`, and feed every Runtime event to `observe_event`.
353
353
 
354
- **Model catalogs.** `provider-catalog.json` and the bundled Codex model catalogs are compiled into the crate from the package's `assets/`; the plugin writes the catalogs to `model-catalogs/` in the application data directory when it loads and points each provider at its file. Applications stage nothing. A Codex bootstrap that merges them before Codex starts (U's `CODEX_ACP_MODEL_CATALOGS`) gets the paths from `bundled_model_catalogs(app)`.
354
+ Local session history and usage analytics are part of the same private library. Register the plugin with `init_with_library(runtime, development_directory)` (or `init_with_account`) and grant `alwith-chat:sessions` to the window that shows them: `sessions_list` (by source; Claude and ALwith through a metadata cache in the application cache directory's `session-index`, Codex directly), `sessions_count_types` and `sessions_persona_evidence`. The same set holds the usage commands of the usage-analytics extension, which keep the names and shapes it always called: `get_model_pricing` (the bundled models.dev table, per million tokens), `scan_session_aggregates({ range })` and `word_cloud({ range, sources })` (range `today`, `week`, `days7`, `days30`, `month`, or everything for `all`), `daily_token_usage({ startDate, endDate })` (`YYYY-MM-DD`, `endDate` null for one day, at most 31 days), and `export_week_sessions()` and `download_usage_json({ fileName, data })`, which ask where to save with the official dialog plugin (register `tauri_plugin_dialog::init()`) and return `null` when the user cancels. Their errors are strings. File paths are accepted only below the session directories of the home directory. With `init` they answer `unavailable`. Rust hosts without a webview (Runtime services, alwith-dev) use the same operations through `alwith_chat::sessions` after `alwith_native_client::configure_host` or `ALWITH_NATIVE_DIRECTORY`, including `SessionIndex`, `scan_all`, `aggregate_one`, `daily_token_usage`, `export_week`, `extract_session_meta` and line access to large session files (`sessions::lines`).
355
+
356
+ `runtime_fn` gives the plugin its own admission lock. An application that orders session requests itself (U) implements `RuntimeAccess` with `current` and its admission lock instead. Grant `alwith-chat:default` to the windows that show the section (read, save, save custom, remove custom, test, apply, and `read_skill_document`); grant `alwith-chat:managed-providers` only to the main window of an application with ALwith account integration. The plugin keeps `runtime-providers.json` in the application data directory (U's file and format, private 0600, atomic replacement) and emits `providers:changed` with the public snapshot. Typed bindings of every command and both events are `@alwith/module-chat/commands`; errors are `{ code, message }` (`pending` while affected sessions are busy).
357
+
358
+ **Model catalogs.** `provider-catalog.json` and the bundled Codex model catalogs are compiled into the crate from its `assets/` (published to npm as `assets/` too); the plugin writes the catalogs to `model-catalogs/` in the application data directory when it loads and points each provider at its file. Applications stage nothing. A Codex bootstrap that merges them before Codex starts (U's `CODEX_ACP_MODEL_CATALOGS`) gets the paths from `bundled_model_catalogs(app)`.
355
359
 
356
360
  **Applying to Codex.** After every Runtime (re)start the host calls `Providers::reset` and `schedule_apply(app)`; in the webview, `applyProvidersWhenIdle(port)` after each connect, before restoring model choices. Changes that affect busy sessions stay `pending` and are applied when the host reports a session idle (`schedule_apply`); the plugin repeats nothing on its own, and a failed application is shown as `failed` with an explicit Retry. Auxiliary agents (U's Gamepad AI) are configured with `prepare_agent(app, agent_id)` after the host validated the caller.
357
361
 
358
- **Webview.** The chat package has no Tauri dependency: `createProvidersPort({ invoke, listen })` takes Tauri's functions. `useProviders(port, onError)` is the newest snapshot; `resolveSessionModel`, `providerGroups`, `gatewayModelId` and `isAccountModel` give the model picker its groups and the default selection.
362
+ **Webview.** `createProvidersPort()` and `createManagedProvidersPort()` are built on the generated commands and events (`@alwith/module-chat/commands`, peer `@tauri-apps/api`); `readSkillDocument(path, roots)` likewise. `useProviders(port, onError)` is the newest snapshot; `resolveSessionModel`, `providerGroups`, `gatewayModelId` and `isAccountModel` give the model picker its groups and the default selection.
359
363
 
360
364
  ```tsx
361
- const port = createProvidersPort({ invoke, listen })
365
+ const port = createProvidersPort()
362
366
  <ConversationProvider host={host} client={client}>
363
367
  <ProviderSection port={port} bridge={bridge} group={SettingGroup} label={SettingLabel} />
364
368
  </ConversationProvider>
@@ -366,13 +370,13 @@ const port = createProvidersPort({ invoke, listen })
366
370
 
367
371
  `group` and `label` are the desktop shell's `SettingGroup` / `SettingLabel`. Strings are the chat namespace's `provider.*`; failures go to `host.reportError` and confirmations to `host.notify`. Include the package in Tailwind's `@source` scan.
368
372
 
369
- **What the host owns.** The ALwith platform account: U passes `refreshAccountProviders` (binds the signed-in account with `createManagedProvidersPort(...).bind`, then `refresh(generation, accessToken)` with a fresh token, and `clear()` on sign-out) and `openTopUp` (the account's top-up page); `onRevoked` reports sessions whose account model went away. Without `refreshAccountProviders` the account box is not rendered and the account commands are never called. `ModelAliasSettings({ providers, store })` edits display names of account models in the host's settings store (`ModelAliasStore`).
373
+ **What the host owns.** The ALwith platform account: U passes `refreshAccountProviders` (binds the signed-in account with `createManagedProvidersPort().bind`, then `refresh(generation, accessToken)` with a fresh token, and `clear()` on sign-out) and `openTopUp` (the account's top-up page); `onRevoked` reports sessions whose account model went away. Without `refreshAccountProviders` the account box is not rendered and the account commands are never called. `ModelAliasSettings({ providers, store })` edits display names of account models in the host's settings store (`ModelAliasStore`).
370
374
 
371
375
  **Catalog data.** The provider catalog and the Codex model catalogs are public package files: `@alwith/module-chat/assets/provider-catalog.json` and `@alwith/module-chat/assets/catalogs/<provider>/models.json` (scripts and tests read them from there; `catalogs/custom/sources.json` records where the custom catalog's capabilities were checked). In the webview, `customModelEffort(model)` gives a custom provider model's reasoning default from the bundled catalog, and `presentModel(apiId)` / `MODEL_PRESENTATION` the display names of account and provider models the catalogs name differently.
372
376
 
373
377
  ### Skill documents
374
378
 
375
- `readSkillDocument(invoke, path, roots?)` from `@alwith/module-chat/plugins` reads a skill's SKILL.md through the same plugin, for `PluginsHost.readFile`. The plugin reads only UTF-8 files whose canonical path lies under `$CODEX_HOME` (or `~/.codex`), `~/.agents`, or the `.codex` / `.agents` directory of a project directory passed in `roots`; links that leave those directories are refused.
379
+ `readSkillDocument(path, roots?)` from `@alwith/module-chat/plugins` reads a skill's SKILL.md through the same plugin, for `PluginsHost.readFile`. The plugin reads only UTF-8 files whose canonical path lies under `$CODEX_HOME` (or `~/.codex`), `~/.agents`, or the `.codex` / `.agents` directory of a project directory passed in `roots`; links that leave those directories are refused.
376
380
 
377
381
  ## Application client and adapter staging
378
382
 
@@ -6,7 +6,7 @@
6
6
  "models": [
7
7
  {
8
8
  "id": "deepseek-V4.1-flash",
9
- "label": "DeepSeek-Flash"
9
+ "label": "DS Flash"
10
10
  }
11
11
  ],
12
12
  "catalog": "alwith/models.json",
@@ -22,7 +22,7 @@
22
22
  "models": [
23
23
  {
24
24
  "id": "deepseek-flash",
25
- "label": "DeepSeek-Flash",
25
+ "label": "Flash",
26
26
  "description": "Latest frontier agentic coding model with image input."
27
27
  }
28
28
  ],
@@ -1 +1 @@
1
- import{Ui,d,_}from"./chunk-6e1bwjtk.js";export{Ui as ActivityHostProvider,_ as ActivityMarkdown,d as useActivityHost};
1
+ import{qi,d,T}from"./chunk-teg61ef5.js";export{qi as ActivityHostProvider,T as ActivityMarkdown,d as useActivityHost};
@@ -1 +1 @@
1
- import{Hn,Jt,Te,mt}from"../chunk-qy06pvy8.js";import{autoUpdate as j}from"@floating-ui/dom";import{cn as A}from"cn";import{useCallback as T,useEffect as I,useLayoutEffect as L,useMemo as q,useRef as G,useState as C}from"react";import{createPortal as V}from"react-dom";import{Badge as W}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as B}from"@nyssance/shadcn/vega/components/ui/button";import{Checkbox as H}from"@nyssance/shadcn/vega/components/ui/checkbox";import{Input as M}from"@nyssance/shadcn/vega/components/ui/input";import{Label as O}from"@nyssance/shadcn/vega/components/ui/label";import{RadioGroup as K,RadioGroupItem as _}from"@nyssance/shadcn/vega/components/ui/radio-group";import{Textarea as X}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as s,jsxs as d}from"react/jsx-runtime";var l="__other__";function de({current:n,total:U,anchorRef:x,t:u,onAccept:P,onDecline:Q}){let p=q(()=>n?Hn(n.requestedSchema):[],[n]),[b,g]=C({}),S=G(null);I(()=>{if(n?.elicitationId===void 0)return;let e={};for(let{key:r,property:i}of p)if(!Te(i)){let c=mt(i)[0];if(c)e[r]={selected:c.value}}g(e)},[n?.elicitationId,p]),I(()=>{if(n?.elicitationId!==void 0&&S.current&&document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA")S.current.focus()},[n?.elicitationId]);let[w,R]=C(null),[k,z]=C(null),N=T(()=>{let e=x.current;if(!e)return;let r=e.getBoundingClientRect();if(r.width===0){let i=Math.min(640,window.innerWidth*0.9);R({left:(window.innerWidth-i)/2,width:i,bottom:24});return}R({left:r.left,width:r.width,bottom:window.innerHeight-r.bottom+20})},[x]);L(()=>{if(!n)return;let e=0,r=()=>{if(x.current){N();return}e=requestAnimationFrame(r)};return r(),()=>cancelAnimationFrame(e)},[n,N,x]),L(()=>{let e=x.current;if(!n||!e||!k)return;return j(e,k,N,{animationFrame:!0})},[n,k,x,N]);let y=q(()=>{if(!n)return!1;for(let{key:e,property:r}of p){let i=b[e];if(!i)return!1;if(Te(r)){if(!i.selectedSet||i.selectedSet.size===0)return!1;if(i.selectedSet.has(l)&&!i.otherText?.trim())return!1}else{if(!i.selected)return!1;if(i.selected===l&&!i.otherText?.trim())return!1}}return!0},[n,p,b]),D=T(async()=>{if(!n)return;if(!y)return;let e={},r={};for(let{key:i,property:c}of p){let a=b[i];if(!a)continue;let f;if(Te(c))e[i]=[...a.selectedSet??[]].map((m)=>m===l?(a.otherText??"").trim():m).filter(Boolean);else{let m=a.selected??"";if(e[i]=m===l?(a.otherText??"").trim():m,m!==l)f=mt(c).find((t)=>t.value===m)?.preview}let v=a.notes?.trim();if(f||v)r[i]={...f&&{preview:f},...v&&{notes:v}}}await P(n.elicitationId,e,r)},[n,p,b,y,P]),F=T(async()=>{if(n)await Q(n.elicitationId)},[n,Q]);if(!n||!w)return null;return V(d("div",{"data-overlay":"ask-user-question",tabIndex:0,onKeyDown:(e)=>{if(e.key==="Escape")e.preventDefault(),F()},className:"bg-card border-border fixed z-50 flex flex-col overflow-hidden rounded-lg border shadow-lg outline-none",style:{left:w.left,width:w.width,bottom:w.bottom,maxHeight:"70vh"},ref:(e)=>{S.current=e,z(e)},children:[d("div",{className:"border-border flex shrink-0 items-center justify-between gap-2 border-b px-3 py-2",children:[s("div",{className:"text-foreground text-sm font-medium",children:u("askUserQuestion.title")}),U>1&&s("span",{className:"text-muted-foreground shrink-0 text-xs",children:`1 / ${U}`})]}),s("div",{className:"min-h-0 flex-1 overflow-y-auto",children:s("div",{className:"space-y-4 px-3 py-3",children:p.map(({key:e,property:r},i)=>{let c=b[e],a=c?.selected,f=c?.selectedSet??new Set,v=mt(r),m=Te(r);return d("div",{className:"space-y-2",children:[d("div",{className:"flex items-center gap-2",children:[s(W,{variant:"secondary",className:"font-mono text-[10px] tracking-wide uppercase",children:Jt(r).title??e}),s("div",{className:"text-foreground text-sm font-medium",children:Jt(r).description})]}),m?d("div",{className:"space-y-1.5 ps-1",children:[v.map((t)=>d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(t.value),onCheckedChange:(o)=>{g((h)=>{let E=new Set(h[e]?.selectedSet??new Set);if(o)E.add(t.value);else E.delete(t.value);return{...h,[e]:{...h[e],selectedSet:E}}})}}),d("div",{className:"min-w-0 flex-1",children:[s("div",{className:"text-foreground text-sm",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs",children:t.description})]})]},t.value)),d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(l),onCheckedChange:(t)=>{g((o)=>{let h=new Set(o[e]?.selectedSet??new Set);if(t)h.add(l);else h.delete(l);return{...o,[e]:{...o[e],selectedSet:h}}})}}),s("div",{className:"text-foreground min-w-0 flex-1 text-sm",children:u("askUserQuestion.other")})]}),f.has(l)&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}):d(K,{value:a??"",onValueChange:(t)=>g((o)=>({...o,[e]:{...o[e],selected:t}})),className:"space-y-1.5 ps-1",children:[v.map((t)=>{let o=`${i}:${t.value}`;return d("div",{className:A("hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",a===t.value&&"bg-muted/60"),children:[s(_,{value:t.value,id:o}),d(O,{htmlFor:o,className:"min-w-0 flex-1 cursor-pointer",children:[s("div",{className:"text-foreground text-sm font-normal",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs font-normal",children:t.description})]})]},t.value)}),d("div",{className:A("hover:bg-muted/40 flex items-center gap-2 rounded-sm px-1.5 py-1",a===l&&"bg-muted/60"),children:[s(_,{value:l,id:`${i}:other`,className:"mt-0.5"}),s(O,{htmlFor:`${i}:other`,className:"text-foreground min-w-0 flex-1 cursor-pointer text-sm font-normal",children:u("askUserQuestion.other")})]}),a===l&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}),!m&&a&&a!==l&&(()=>{let t=v.find((o)=>o.value===a)?.preview;if(!t)return null;return s("pre",{className:"bg-muted/50 text-muted-foreground ms-1 mt-1 overflow-auto rounded-sm px-2 py-1.5 font-mono text-[11px] whitespace-pre-wrap",children:t})})(),v.some((t)=>t.preview)&&s(X,{placeholder:u("askUserQuestion.notesPlaceholder"),value:c?.notes??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],notes:t.target.value}})),rows:1,className:"min-h-0 resize-none text-xs"})]},e)})})}),d("div",{className:"border-border bg-card flex shrink-0 items-center justify-end gap-2 border-t px-3 py-2",children:[s(B,{variant:"ghost",size:"sm",onClick:()=>void F(),children:u("askUserQuestion.cancel")}),s(B,{size:"sm",disabled:!y,onClick:()=>void D(),children:u("askUserQuestion.submit")})]})]}),document.body)}export{de as ChoiceElicitationForm};
1
+ import{Gn,en,Ie,gt}from"../chunk-stghje2t.js";import{autoUpdate as j}from"@floating-ui/dom";import{cn as A}from"cn";import{useCallback as T,useEffect as I,useLayoutEffect as L,useMemo as q,useRef as G,useState as C}from"react";import{createPortal as V}from"react-dom";import{Badge as W}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as B}from"@nyssance/shadcn/vega/components/ui/button";import{Checkbox as H}from"@nyssance/shadcn/vega/components/ui/checkbox";import{Input as M}from"@nyssance/shadcn/vega/components/ui/input";import{Label as O}from"@nyssance/shadcn/vega/components/ui/label";import{RadioGroup as K,RadioGroupItem as _}from"@nyssance/shadcn/vega/components/ui/radio-group";import{Textarea as X}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as s,jsxs as d}from"react/jsx-runtime";var l="__other__";function de({current:n,total:U,anchorRef:x,t:u,onAccept:P,onDecline:Q}){let p=q(()=>n?Gn(n.requestedSchema):[],[n]),[b,g]=C({}),S=G(null);I(()=>{if(n?.elicitationId===void 0)return;let e={};for(let{key:r,property:i}of p)if(!Ie(i)){let c=gt(i)[0];if(c)e[r]={selected:c.value}}g(e)},[n?.elicitationId,p]),I(()=>{if(n?.elicitationId!==void 0&&S.current&&document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA")S.current.focus()},[n?.elicitationId]);let[w,R]=C(null),[k,z]=C(null),N=T(()=>{let e=x.current;if(!e)return;let r=e.getBoundingClientRect();if(r.width===0){let i=Math.min(640,window.innerWidth*0.9);R({left:(window.innerWidth-i)/2,width:i,bottom:24});return}R({left:r.left,width:r.width,bottom:window.innerHeight-r.bottom+20})},[x]);L(()=>{if(!n)return;let e=0,r=()=>{if(x.current){N();return}e=requestAnimationFrame(r)};return r(),()=>cancelAnimationFrame(e)},[n,N,x]),L(()=>{let e=x.current;if(!n||!e||!k)return;return j(e,k,N,{animationFrame:!0})},[n,k,x,N]);let y=q(()=>{if(!n)return!1;for(let{key:e,property:r}of p){let i=b[e];if(!i)return!1;if(Ie(r)){if(!i.selectedSet||i.selectedSet.size===0)return!1;if(i.selectedSet.has(l)&&!i.otherText?.trim())return!1}else{if(!i.selected)return!1;if(i.selected===l&&!i.otherText?.trim())return!1}}return!0},[n,p,b]),D=T(async()=>{if(!n)return;if(!y)return;let e={},r={};for(let{key:i,property:c}of p){let a=b[i];if(!a)continue;let f;if(Ie(c))e[i]=[...a.selectedSet??[]].map((m)=>m===l?(a.otherText??"").trim():m).filter(Boolean);else{let m=a.selected??"";if(e[i]=m===l?(a.otherText??"").trim():m,m!==l)f=gt(c).find((t)=>t.value===m)?.preview}let v=a.notes?.trim();if(f||v)r[i]={...f&&{preview:f},...v&&{notes:v}}}await P(n.elicitationId,e,r)},[n,p,b,y,P]),F=T(async()=>{if(n)await Q(n.elicitationId)},[n,Q]);if(!n||!w)return null;return V(d("div",{"data-overlay":"ask-user-question",tabIndex:0,onKeyDown:(e)=>{if(e.key==="Escape")e.preventDefault(),F()},className:"bg-card border-border fixed z-50 flex flex-col overflow-hidden rounded-lg border shadow-lg outline-none",style:{left:w.left,width:w.width,bottom:w.bottom,maxHeight:"70vh"},ref:(e)=>{S.current=e,z(e)},children:[d("div",{className:"border-border flex shrink-0 items-center justify-between gap-2 border-b px-3 py-2",children:[s("div",{className:"text-foreground text-sm font-medium",children:u("askUserQuestion.title")}),U>1&&s("span",{className:"text-muted-foreground shrink-0 text-xs",children:`1 / ${U}`})]}),s("div",{className:"min-h-0 flex-1 overflow-y-auto",children:s("div",{className:"space-y-4 px-3 py-3",children:p.map(({key:e,property:r},i)=>{let c=b[e],a=c?.selected,f=c?.selectedSet??new Set,v=gt(r),m=Ie(r);return d("div",{className:"space-y-2",children:[d("div",{className:"flex items-center gap-2",children:[s(W,{variant:"secondary",className:"font-mono text-[10px] tracking-wide uppercase",children:en(r).title??e}),s("div",{className:"text-foreground text-sm font-medium",children:en(r).description})]}),m?d("div",{className:"space-y-1.5 ps-1",children:[v.map((t)=>d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(t.value),onCheckedChange:(o)=>{g((h)=>{let E=new Set(h[e]?.selectedSet??new Set);if(o)E.add(t.value);else E.delete(t.value);return{...h,[e]:{...h[e],selectedSet:E}}})}}),d("div",{className:"min-w-0 flex-1",children:[s("div",{className:"text-foreground text-sm",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs",children:t.description})]})]},t.value)),d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(l),onCheckedChange:(t)=>{g((o)=>{let h=new Set(o[e]?.selectedSet??new Set);if(t)h.add(l);else h.delete(l);return{...o,[e]:{...o[e],selectedSet:h}}})}}),s("div",{className:"text-foreground min-w-0 flex-1 text-sm",children:u("askUserQuestion.other")})]}),f.has(l)&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}):d(K,{value:a??"",onValueChange:(t)=>g((o)=>({...o,[e]:{...o[e],selected:t}})),className:"space-y-1.5 ps-1",children:[v.map((t)=>{let o=`${i}:${t.value}`;return d("div",{className:A("hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",a===t.value&&"bg-muted/60"),children:[s(_,{value:t.value,id:o}),d(O,{htmlFor:o,className:"min-w-0 flex-1 cursor-pointer",children:[s("div",{className:"text-foreground text-sm font-normal",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs font-normal",children:t.description})]})]},t.value)}),d("div",{className:A("hover:bg-muted/40 flex items-center gap-2 rounded-sm px-1.5 py-1",a===l&&"bg-muted/60"),children:[s(_,{value:l,id:`${i}:other`,className:"mt-0.5"}),s(O,{htmlFor:`${i}:other`,className:"text-foreground min-w-0 flex-1 cursor-pointer text-sm font-normal",children:u("askUserQuestion.other")})]}),a===l&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}),!m&&a&&a!==l&&(()=>{let t=v.find((o)=>o.value===a)?.preview;if(!t)return null;return s("pre",{className:"bg-muted/50 text-muted-foreground ms-1 mt-1 overflow-auto rounded-sm px-2 py-1.5 font-mono text-[11px] whitespace-pre-wrap",children:t})})(),v.some((t)=>t.preview)&&s(X,{placeholder:u("askUserQuestion.notesPlaceholder"),value:c?.notes??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],notes:t.target.value}})),rows:1,className:"min-h-0 resize-none text-xs"})]},e)})})}),d("div",{className:"border-border bg-card flex shrink-0 items-center justify-end gap-2 border-t px-3 py-2",children:[s(B,{variant:"ghost",size:"sm",onClick:()=>void F(),children:u("askUserQuestion.cancel")}),s(B,{size:"sm",disabled:!y,onClick:()=>void D(),children:u("askUserQuestion.submit")})]})]}),document.body)}export{de as ChoiceElicitationForm};
@@ -1 +1 @@
1
- import{Hn,Jt,Te,mt}from"../chunk-qy06pvy8.js";export{Hn as elicitationFields,Jt as elicitationLabels,mt as elicitationOptions,Te as isMultiSelect};
1
+ import{Gn,en,Ie,gt}from"../chunk-stghje2t.js";export{Gn as elicitationFields,en as elicitationLabels,gt as elicitationOptions,Ie as isMultiSelect};
@@ -1 +1 @@
1
- import{Ar,Go,aa,sa}from"../chunk-rfn9vecr.js";export{Ar as PERMISSION_KIND_GROUP_ORDER,aa as isAllowKind,sa as isAlwaysKind,Go as sortPermissionOptions};
1
+ import{Ur,qo,ha,va}from"../chunk-753z0tkd.js";export{Ur as PERMISSION_KIND_GROUP_ORDER,ha as isAllowKind,va as isAlwaysKind,qo as sortPermissionOptions};
@@ -1 +1 @@
1
- import{Bo}from"../chunk-1mcg9mwq.js";import"../chunk-rfn9vecr.js";export{Bo as PermissionView};
1
+ import{Ko}from"../chunk-d67ypca2.js";import"../chunk-753z0tkd.js";export{Ko as PermissionView};
@@ -1 +1 @@
1
- import{Gr,Mr,zr,Oo}from"../chunk-s6m0ske7.js";export{Oo as SchemaElicitationForm,Gr as elicitationFields,Mr as initialValues,zr as isAnswered};
1
+ import{Qr,Br,Yr,Wo}from"../chunk-hp1w7xrp.js";export{Wo as SchemaElicitationForm,Qr as elicitationFields,Br as initialValues,Yr as isAnswered};
@@ -1 +1 @@
1
- import{Uo}from"../chunk-31s3s58d.js";export{Uo as UrlElicitationCard};
1
+ import{$o}from"../chunk-3mrdv5yq.js";export{$o as UrlElicitationCard};
@@ -0,0 +1,2 @@
1
+ import{be}from"./chunk-g3snk3nb.js";import{Uo,N}from"./chunk-cm5rcd9q.js";import{Mo,Ao,Eo,Lo,Ro,R}from"./chunk-6pwy0ncf.js";import{n,t}from"./chunk-bt01an6h.js";import{e}from"./chunk-xecs5c6a.js";import{zo}from"./chunk-4xjzvwg4.js";import{_o}from"./chunk-3stf1tm2.js";import{ho}from"./chunk-zn9xn0pj.js";import{go,fo}from"./chunk-bb1y2fy7.js";import{ln}from"./chunk-abjr18n6.js";import{fn}from"./chunk-p9ra3xxb.js";import{s,Bo,z,$t}from"./chunk-az434tgy.js";import{Bt}from"./chunk-ce3wg766.js";import{Le,Vt}from"./chunk-v7dyjpv3.js";import{Kt,Wt}from"./chunk-zr2a9z0m.js";import{Vo}from"./chunk-0ag4ewq9.js";import{zt}from"./chunk-enr3j794.js";import{ko}from"./chunk-ksyb8hyt.js";import{Zt}from"./chunk-j5engcds.js";import{Gt}from"./chunk-4crj8dac.js";import{So}from"./chunk-qznyjv2c.js";import{No}from"./chunk-9g7qvbhx.js";import{Io}from"./chunk-v4cf374m.js";import{Ut}from"./chunk-sqwscqfk.js";import{hasFuzzyFileSearch as Nt}from"@nyssance/codex-acp-v2/client";import{PlusIcon as St}from"lucide-react";import{useCallback as k,useEffect as Ot,useLayoutEffect as Z,useMemo as tt,useRef as V,useState as F}from"react";import{jsx as i,jsxs as v,Fragment as _t}from"react/jsx-runtime";var kt=["image/png","image/jpeg","image/webp","image/gif"],et=[];async function Ft(r){let h=await(await fetch(r.url)).blob();return new Promise((l,C)=>{let T=new FileReader;T.onerror=()=>C(T.error),T.onload=()=>{let U=T.result;l(U.slice(U.indexOf(",")+1))},T.readAsDataURL(h)})}function Dt(r){let{t:h}=n(),l=N();return i(R,{"aria-label":h("composer.attachImage"),title:h("composer.attachImage"),onClick:()=>l.openFileDialog(),...r,children:i(St,{className:"size-4"})})}function Ht({session:r,onSubmit:h,onShellCommand:l,onHandOff:C,modelSelector:T,modelMenu:U,inputHeader:rt,actions:ft,leadingTools:ht,agentControls:X=!0,placeholder:gt,children:xt,attachmentPolicy:yt,predictions:Pt=!0,disabled:bt=!1,preparing:ot=!1,allowPendingInput:vt=!1}){let{host:D,client:E}=e(),{t:p}=D,B=k((o)=>{if(D.reportError)D.reportError(o);else console.error(o)},[D]),[nt,_]=F(()=>({text:s.get(r.id)?.text??"",revision:0})),{text:d}=nt,[A,wt]=F(()=>s.get(r.id)?.attachments??et),[g,H]=F(()=>s.get(r.id)?.mentions??[]),q=A.some((o)=>Le(o)&&o.pastedText.status!=="ready"),[M,at]=F(!1),[K,It]=F(!1),[J,it]=F(!1),u=V(null),ct=V(null),a=V(nt),S=k((o)=>{ct.current?.(),a.current={text:o,revision:a.current.revision+1},_(a.current)},[]),Tt=So(r,S),st=tt(()=>({read:()=>{let c=u.current?.getTextarea(),x=c===null||c===void 0?[a.current.text.length,a.current.text.length]:[c.selectionStart,c.selectionEnd];return{target:r.id,...a.current,selection:x}},compareAndSet(c,x,w){if(c.target!==r.id||c.revision!==a.current.revision)return null;a.current={text:x,revision:a.current.revision+1},_(a.current);let y=u.current?.getTextarea();if(y!==null&&y!==void 0)y.value=x,y.setSelectionRange(w[0],w[1]);return{target:r.id,...a.current,selection:w}}}),[r.id]),L=V(null),mt=k((o)=>(L.current=o,()=>{if(L.current===o)L.current=null}),[]),W=r.state!=="idle",P=l!==void 0&&d.startsWith("!"),f=!bt&&!ot&&r.attached&&!r.restoring&&!r.readOnly,O=!r.readOnly&&(vt||f),j=Gt(r,f&&!M&&!K&&!q&&!J,d.length>0||A.length>0||g.length>0,Pt&&!P),pt=j.invalidate;Z(()=>{s.set(r.id,{text:d,attachments:A,mentions:g,modelId:s.get(r.id)?.modelId??null})},[r.id,d,A,g]),Z(()=>Bo(r.id,wt),[r.id]),Z(()=>$t(r.id,(o)=>{if(!O||M)throw Error("The composer cannot take text now; try again later");if(d.length||A.length||g.length)throw Error("The composer already has a draft; send or clear it first");S(o)}),[r.id,O,M,d,A,g,S]);let lt=t((o)=>Nt(o.agent)),At=tt(()=>lt&&f?async(o)=>Bt((await E.fuzzyFileSearch({query:o,roots:[r.cwd]})).files):void 0,[E,lt,f,r.cwd]),Q=k((o)=>{H((c)=>c.includes(o)?c:[...c,o])},[]);Ot(()=>{u.current?.focus()},[]);let dt=k(async({text:o,files:c})=>{let x=l!==void 0&&o.startsWith("!")?o.slice(1):null;if(x!==null){if(x.trim().length===0)return;if(c.length||g.length)throw Error("Shell commands cannot include file references or attachments");if(r.state!=="idle")throw Error("Wait for the current turn before running a shell command")}let w=o.trim();if(w.length===0&&c.length===0&&g.length===0)return;let y=L.current;at(!0);let I=s.get(r.id),Rt=a.current.revision,G=null;try{let b=zo(w);for(let m of g){let Y={kind:"file",absPath:m};b.push({type:"resource_link",uri:Kt(Y),name:Wt(Y)})}if(w.length>0)b.push({type:"text",text:w});for(let m of c)if(Le(m)){if(m.pastedText.status!=="ready")throw Error("Text attachment is not ready");b.push({type:"resource_link",uri:m.url,name:m.filename??"pasted-text.txt"})}else b.push({type:"image",data:await Ft(m),mimeType:m.mediaType});if(a.current.revision===Rt&&s.get(r.id)===I)a.current={text:"",revision:a.current.revision+1},G=a.current.revision,_(a.current),H([]),z(r.id,()=>et),s.set(r.id,{text:"",attachments:et,mentions:[],modelId:I?.modelId??null}),u.current?.resetHeight();if(x!==null&&l)await l(x);else if(h)if(y===null)await h(b);else await h(b,(m)=>{if(y.signal.aborted||L.current!==y)return;y.accept(m),C?.(r.id,m)});else if(y===null)await E.prompt(r.id,b);else{let m=await E.prompt(r.id,b);y.accept(m)}pt();for(let m of I?.attachments??[])if(m.url.startsWith("blob:")&&!s.get(r.id)?.attachments.some((Y)=>Y.id===m.id))URL.revokeObjectURL(m.url)}catch(b){if(I&&G!==null&&a.current.revision===G&&s.get(r.id)?.attachments.length===0&&s.get(r.id)?.mentions.length===0)a.current={text:I.text,revision:G+1},_(a.current),H(I.mentions),s.set(r.id,I),z(r.id,()=>I.attachments);throw b}finally{at(!1),u.current?.focus()}},[E,r.id,r.state,g,h,l,C,pt]),Mt=()=>{E.cancel(r.id).catch(B)},Ct=k((o)=>{let c=o.code==="max_total_size"?Object.assign(Error(p("composer.imageTooLargeTitle")),{description:p("composer.imageTooLargeDescription",{mb:be})}):Object.assign(Error(p("composer.unsupportedAttachmentTitle")),{description:p("composer.unsupportedAttachmentDescription")});B(c)},[B,p]),Et=tt(()=>({session:r,ready:f,inputReady:O,sending:M,textareaRef:u,draft:st,interruptRef:ct,observeReceipts:mt,addMention:Q,setAdding:It,shellMode:P,handsFree:!P&&(h===void 0||C!==void 0)}),[r,f,O,M,st,mt,Q,h,C,P]),ut=D.writeTextAttachment;return i(fn,{value:Et,children:i("div",{"data-chat-drop-zone":!0,className:"mx-auto w-full max-w-3xl px-6 pb-5",children:v("div",{className:"relative",children:[rt&&i("div",{"data-chat-input-header":!0,className:"bg-sidebar dark:bg-foreground/3 relative top-1 z-0 mx-[13px] -mb-[18px] flex min-w-0 items-center gap-2 overflow-hidden rounded-t-2xl px-1.5 pt-1.5 pb-[27px]",children:rt}),v(Uo,{attachmentPolicy:yt,value:d,revision:a.current.revision,onValueChange:S,onSubmittedClear:()=>{a.current={text:"",revision:a.current.revision+1},_(a.current)},attachments:A,onAttachmentsChange:(o)=>z(r.id,()=>o),children:[X&&i(ho,{bashMode:l!==void 0,handleRef:u,commands:r.commands,searchFiles:At,onMention:Q,onSearchError:B,forcedOpen:J,onForcedOpenChange:it,emptyLabel:p("composer.noCommands"),fileStatusLabels:{loading:p("composer.searchingFiles"),empty:p("composer.noMatchingFiles")}}),v(Mo,{"data-shell-mode":P||void 0,bashMode:l!==void 0,globalDrop:!0,multiple:!0,accept:kt.join(","),onError:Ct,onSubmit:dt,onSubmitAsync:dt,onSubmitError:B,canSubmit:()=>f&&!M&&!K&&!q&&(!P||!W&&d.slice(1).trim().length>0)?!0:"chat_not_ready",className:"relative z-10",children:[xt,v(Eo,{className:"px-3 pt-3 pb-0 empty:hidden",children:[K&&i("span",{role:"status",className:"text-muted-foreground text-xs",children:p("composer.addingFiles")}),i(Vo,{mentions:g,onRemove:(o)=>H((c)=>c.filter((x)=>x!==o))}),i(fo,{children:(o)=>Le(o)?i(ko,{data:o,sessionId:r.id}):i(go,{data:o,t:p})})]}),v(Ao,{className:"mb-0 min-h-16 px-3 pt-4 pb-2",onKeyDownCapture:(o)=>{if(!j.text||u.current?.isComposing()||o.nativeEvent.isComposing||o.nativeEvent.keyCode===229||o.shiftKey||o.ctrlKey||o.altKey||o.metaKey||o.target!==u.current?.getTextarea())return;if(o.key==="Tab")o.preventDefault(),o.stopPropagation(),S(j.text)},children:[P&&i("span",{"data-shell-prefix":!0,"aria-hidden":"true",className:"text-destructive self-start pt-0.5 text-sm",children:"❗"}),i(ln,{className:"min-h-10 bg-transparent text-sm font-normal",ref:u,rows:2,onKeyDown:Tt,bashMode:l!==void 0,disabled:!O,onPasteCapture:ut?(o)=>Vt(o,r.id,p("composer.pastedTextFilename"),ut):void 0,placeholder:P?"! command":j.text||gt||(W?p("composer.steerPlaceholder"):p("composer.placeholder")),"aria-label":p("composer.placeholder")})]}),i(Lo,{className:"chat-composer-toolbar @container/input-footer mt-0 mb-2 w-full min-w-0 p-0",children:v("div",{className:"grid w-full min-w-0 grid-cols-[auto_minmax(0,1fr)] items-center gap-x-[5px] px-2",children:[v("div",{className:"flex min-w-0 items-center gap-[5px]",children:[i(Dt,{className:"text-foreground",disabled:!O}),ht,X&&v(_t,{children:[i(No,{textareaRef:u,menuOpen:J,onOpenChange:it,disabled:!f||r.commands.length===0}),i(_o,{disabled:!f||P,onSelect:(o)=>{S(`${d}${d&&!/\s$/.test(d)?" ":""}${o} `),u.current?.getTextarea()?.focus()}}),i(Zt,{sessionId:r.id,options:r.configOptions,disabled:!f})]})]}),v(Ro,{className:"w-full min-w-0 items-center justify-end gap-1",children:[X&&i(Ut,{session:r}),T??i(zt,{...U,sessionId:r.id,options:r.configOptions,disabled:!f}),ft,i(Io,{active:W,sending:M||ot||K,ready:f&&!q&&(!P||!W&&d.slice(1).trim().length>0),hasMentions:g.length>0,onStop:Mt})]})]})})]})]})]})})})}
2
+ export{Ht};
@@ -0,0 +1,2 @@
1
+ import{St,_t,Pt,Tt}from"./chunk-1b2jsf2v.js";var a=[{id:"litellm",source:"account",name:"ALwith",models:[{id:"deepseek-V4.1-flash",label:"DS 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:"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:"DS Flash"}};var d=a,g={deepseek:St,openrouter:Pt,qwen:Tt,xai:_t};function m(e){let i=g[e];if(!i)throw Error(`Provider ${e} has no logo`);return i}var B=d.filter((e)=>e.source!=="account").map(({source:e,...i})=>({...i,logo:m(i.id)}));function Zn(e){return e!=null&&d.some((i)=>i.source==="account"&&e.startsWith(`gateway:${encodeURIComponent(i.id)}:`))}function Ge(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 Qn(e){return[...B.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 ze(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 ir(e,i){let o=Qn(i).flatMap((s)=>s.models.map((t)=>ze(s.id,t.id)));if(e!==null&&(!e.startsWith("gateway:")||o.includes(e)))return e;if(Zn(e))throw Error("The selected ALwith account model is unavailable. Select another model before sending.");return o[0]??null}function q(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 wt(e,i){return q(e,i)?.keyUrl??e.keyUrl??null}function kt(e){if(typeof e==="object"&&e!==null&&"code"in e&&e.code==="pending")return!0;return(e instanceof Error?e.message:typeof e==="string"?e:typeof e==="object"&&e!==null&&("message"in e)?String(e.message):String(e)).includes("Provider settings are pending")}function rr(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 Yn=p;function ar(e){return Yn[e]??{}}
2
+ export{B,Zn,Ge,Qn,ze,ir,q,wt,kt,rr,Yn,ar};
@@ -0,0 +1,2 @@
1
+ import{n}from"./chunk-bt01an6h.js";import{qt}from"./chunk-zr2a9z0m.js";import{FileIcon as t,XIcon as m}from"lucide-react";import{Badge as r}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as l}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as o,jsxs as c}from"react/jsx-runtime";function Vo({mentions:a,onRemove:s}){let{t:i}=n();if(a.length===0)return null;return o("div",{className:"mb-1.5 flex flex-wrap items-center gap-1.5",children:a.map((e)=>c(r,{variant:"secondary",className:"gap-1 pe-0.5",title:e,children:[o(t,{className:"size-3"}),o("span",{className:"max-w-40 truncate",children:qt(e)}),o(l,{type:"button",variant:"ghost",size:"icon-xs",className:"size-4","aria-label":i("composer.removeMention",{name:qt(e)}),onClick:()=>s(e),children:o(m,{className:"size-3"})})]},e))})}
2
+ export{Vo};
@@ -1,3 +1,3 @@
1
- import{zo,Je}from"./chunk-8a61phqa.js";import{t,Q}from"./chunk-z8njjc2c.js";import{createStore as d}from"@alwith/api/client";import{Dialog as f,DialogContent as p,DialogDescription as m,DialogHeader as u,DialogTitle as h}from"@nyssance/shadcn/vega/components/ui/dialog";import{jsx as i,jsxs as l}from"react/jsx-runtime";var c=d({request:null});function Et(e){c.setState({request:{path:e.path,patch:lo(e.patch,e.path)}})}function lo(e,a){let n=e.split(/^(?=diff --git )/m).filter((o)=>o.length>0);if(n.length<=1)return e;return n.find((o)=>{let r=o.split(`
2
- `,1)[0]??"";return r.endsWith(` b/${a}`)||r.endsWith(` ${a}`)||r.includes(`/${a} `)})??e}function Rt(){let{t:e,theme:a}=t(),n=Q(c,(o)=>o.request),s=n===null?null:zo(n.patch);return i(f,{open:n!==null,onOpenChange:(o)=>!o&&c.setState({request:null}),children:l(p,{className:"flex h-[calc(100vh-2.5rem)] max-h-[900px] flex-col gap-3 sm:max-w-[min(1400px,calc(100vw-2.5rem))]",children:[l(u,{children:[i(h,{className:"truncate pe-8 font-mono text-sm font-normal",children:n?.path}),s!==null&&l(m,{children:[l("span",{className:"codex-diff-additions",children:["+",s.additions]})," ",l("span",{className:"codex-diff-deletions",children:["-",s.deletions]})," ",i("span",{children:e("conversation.changedLines")})]})]}),i("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border [&>.codex-patch-view]:h-full","data-stream-style":"codexUI",children:n!==null&&i(Je,{patch:n.patch,theme:a})})]})})}
3
- export{Et,lo,Rt};
1
+ import{Zo,Je}from"./chunk-4xp0q7vs.js";import{n,X}from"./chunk-bt01an6h.js";import{createStore as d}from"@alwith/api/client";import{Dialog as f,DialogContent as p,DialogDescription as m,DialogHeader as u,DialogTitle as h}from"@nyssance/shadcn/vega/components/ui/dialog";import{jsx as i,jsxs as l}from"react/jsx-runtime";var c=d({request:null});function Rt(e){c.setState({request:{path:e.path,patch:mo(e.patch,e.path)}})}function mo(e,a){let t=e.split(/^(?=diff --git )/m).filter((o)=>o.length>0);if(t.length<=1)return e;return t.find((o)=>{let r=o.split(`
2
+ `,1)[0]??"";return r.endsWith(` b/${a}`)||r.endsWith(` ${a}`)||r.includes(`/${a} `)})??e}function Ft(){let{t:e,theme:a}=n(),t=X(c,(o)=>o.request),s=t===null?null:Zo(t.patch);return i(f,{open:t!==null,onOpenChange:(o)=>!o&&c.setState({request:null}),children:l(p,{className:"flex h-[calc(100vh-2.5rem)] max-h-[900px] flex-col gap-3 sm:max-w-[min(1400px,calc(100vw-2.5rem))]",children:[l(u,{children:[i(h,{className:"truncate pe-8 font-mono text-sm font-normal",children:t?.path}),s!==null&&l(m,{children:[l("span",{className:"codex-diff-additions",children:["+",s.additions]})," ",l("span",{className:"codex-diff-deletions",children:["-",s.deletions]})," ",i("span",{children:e("conversation.changedLines")})]})]}),i("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border [&>.codex-patch-view]:h-full","data-stream-style":"codexUI",children:t!==null&&i(Je,{patch:t.patch,theme:a})})]})})}
3
+ export{Rt,mo,Ft};
@@ -1,2 +1,2 @@
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};
1
+ import{useId as c}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function St(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 _t(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 Pt(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 Tt(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{St,_t,Pt,Tt};
@@ -1,2 +1,2 @@
1
- import{ri}from"./chunk-r7svwjdg.js";import{isPlanItems as o}from"@nyssance/codex-acp-v2/client";function ii(s,r){let n=s.items.findLast((e)=>e.kind!=="user"),a=s.items.map((e)=>{switch(e.kind){case"user":return{key:e.id,kind:"user",active:!1};case"tool":return{key:e.id,kind:"tool",active:e.status==="pending"||e.status==="in_progress"};case"compaction":return{key:e.id,kind:"compaction",active:e.status==="in_progress"};case"plan":return{key:e.id,kind:"plan",active:o(e.plan)&&e.plan.entries.some((t)=>t.status==="in_progress")};case"thought":return{key:e.id,kind:"reasoning",active:e===n};case"assistant":{let t=e._meta?.codex,i=typeof t==="object"&&t!==null&&(("messageCompleted"in t)&&t.messageCompleted===!0||("messageCompletedAt"in t)&&typeof t.messageCompletedAt==="number");return{key:e.id,kind:s.final.includes(e)?"answer":"text",active:e===n&&!i}}}});return ri(a,r)}
2
- export{ii};
1
+ import{fi}from"./chunk-mmm1rq2a.js";import{isPlanItems as o}from"@nyssance/codex-acp-v2/client";function gi(s,r){let n=s.items.findLast((e)=>e.kind!=="user"),a=s.items.map((e)=>{switch(e.kind){case"user":return{key:e.id,kind:"user",active:!1};case"tool":return{key:e.id,kind:"tool",active:e.status==="pending"||e.status==="in_progress"};case"compaction":return{key:e.id,kind:"compaction",active:e.status==="in_progress"};case"plan":return{key:e.id,kind:"plan",active:o(e.plan)&&e.plan.entries.some((t)=>t.status==="in_progress")};case"thought":return{key:e.id,kind:"reasoning",active:e===n};case"assistant":{let t=e._meta?.codex,i=typeof t==="object"&&t!==null&&(("messageCompleted"in t)&&t.messageCompleted===!0||("messageCompletedAt"in t)&&typeof t.messageCompletedAt==="number");return{key:e.id,kind:s.final.includes(e)?"answer":"text",active:e===n&&!i}}}});return fi(a,r)}
2
+ export{gi};
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-eg86g265.js";import{runStateSource as l}from"@nyssance/codex-acp-v2/client";import{useSyncExternalStore as f}from"react";function pe(t,n){let e=t.runStates[n];return e!==void 0&&(!e.reusableDraft||t.drafts[n]!==void 0)}function d(t,n,e){let r=t.filter((s)=>pe(e,s)),S=new Set(r),c=e.runStates!==n.runStates&&l(e.runStates)==="event";for(let[s,i]of Object.entries(e.runStates)){if(S.has(s)||!pe(e,s))continue;let o=n.runStates[s],g=!o||i.state!==o.state||i.since!==o.since||i.lastActivityAt!==o.lastActivityAt||i.interruption!==o.interruption;if(i.reusableDraft&&e.drafts[s]!==void 0||c&&g&&(!o||i.state!=="idle")&&i.interruption!=="runtime restarted")r.push(s)}return r.length===t.length&&r.every((s,i)=>s===t[i])?t:r}var u=new WeakMap;function v(t){return{view:"sessions",activityOrder:d([],t.state,t.state),activitySeen:new Map,activityCollapsedGroups:new Set}}function rn(t){let n=u.get(t);if(n)return n;let e=v(t),r=new Set,S=(i)=>{e={...e,...i};for(let o of r)o()},c=t.state;t.store.subscribe(()=>{let i=t.store.getState(),o=d(e.activityOrder,c,i);if(c=i,o!==e.activityOrder)S({activityOrder:o})});let s={get:()=>e,set:S,subscribe:(i)=>(r.add(i),()=>r.delete(i))};return u.set(t,s),s}function ur(t){u.get(t)?.set(v(t))}function O(t){let n=rn(a());return f(n.subscribe,()=>t(n.get()),()=>t(n.get()))}function te(){return rn(a()).set}function pr(){let t=O((e)=>e.view),n=te();return[t,(e)=>n({view:e})]}
2
- export{pe,rn,ur,O,te,pr};
1
+ import{a}from"./chunk-d1pc0mrb.js";import{runStateSource as l}from"@nyssance/codex-acp-v2/client";import{useSyncExternalStore as f}from"react";function he(t,n){let e=t.runStates[n];return e!==void 0&&(!e.reusableDraft||t.drafts[n]!==void 0)}function d(t,n,e){let r=t.filter((s)=>he(e,s)),S=new Set(r),c=e.runStates!==n.runStates&&l(e.runStates)==="event";for(let[s,i]of Object.entries(e.runStates)){if(S.has(s)||!he(e,s))continue;let o=n.runStates[s],g=!o||i.state!==o.state||i.since!==o.since||i.lastActivityAt!==o.lastActivityAt||i.interruption!==o.interruption;if(i.reusableDraft&&e.drafts[s]!==void 0||c&&g&&(!o||i.state!=="idle")&&i.interruption!=="runtime restarted")r.push(s)}return r.length===t.length&&r.every((s,i)=>s===t[i])?t:r}var u=new WeakMap;function v(t){return{view:"sessions",activityOrder:d([],t.state,t.state),activitySeen:new Map,activityCollapsedGroups:new Set}}function sn(t){let n=u.get(t);if(n)return n;let e=v(t),r=new Set,S=(i)=>{e={...e,...i};for(let o of r)o()},c=t.state;t.store.subscribe(()=>{let i=t.store.getState(),o=d(e.activityOrder,c,i);if(c=i,o!==e.activityOrder)S({activityOrder:o})});let s={get:()=>e,set:S,subscribe:(i)=>(r.add(i),()=>r.delete(i))};return u.set(t,s),s}function _r(t){u.get(t)?.set(v(t))}function G(t){let n=sn(a());return f(n.subscribe,()=>t(n.get()),()=>t(n.get()))}function oe(){return sn(a()).set}function Pr(){let t=G((e)=>e.view),n=oe();return[t,(e)=>n({view:e})]}
2
+ export{he,sn,_r,G,oe,Pr};
@@ -1,3 +1,3 @@
1
- import{Bo}from"./chunk-1mcg9mwq.js";import{Oo}from"./chunk-s6m0ske7.js";import{Uo}from"./chunk-31s3s58d.js";import{Je}from"./chunk-8a61phqa.js";import{n}from"./chunk-z8njjc2c.js";import{e}from"./chunk-epg5w48v.js";import{isContentEntry as f,isDiffEntry as g,isFormElicitation as x,isText as h,isToolCallSubject as b,isUrlElicitation as w}from"@nyssance/codex-acp-v2/client";import{jsx as a,jsxs as m}from"react/jsx-runtime";function Ee(t){return t.kind==="elicitation"&&x(t.params)}function y(t){let o=t._meta?.codex;if(typeof o!=="object"||o===null)return null;let s=o.description;return typeof s==="string"?s:null}function A(t){let o=t.rawInput;if(typeof o!=="object"||o===null)return null;let s=o.command;if(typeof s==="string")return s;if(Array.isArray(s))return s.map(String).join(" ");return null}function v(t){for(let o of t.content??[])if(g(o)&&o.patch&&o.patch.text.length>0)return o.patch.text;return null}function R(t){return(t.content??[]).filter(f).map((o)=>h(o.content)?o.content.text:"").filter((o)=>o.length>0).join(`
2
- `)}function T({subject:t,requestTitle:o}){let{host:s}=e();if(!b(t))return null;let r=t.toolCall,l=A(r),i=v(r),c=R(r),p=s.toolTitle?.(r)??r.title;return m("div",{className:"flex flex-col gap-2",children:[p&&p!==o&&l===null&&a("div",{className:"text-sm font-medium",children:p}),l!==null&&m("pre",{className:"bg-muted overflow-x-auto rounded-lg p-3 font-mono text-xs whitespace-pre-wrap",children:[a("span",{className:"text-muted-foreground select-none",children:"$ "}),l]}),i!==null&&a("div",{className:"max-h-80 overflow-auto rounded-lg border","data-stream-style":"codexUI",children:a(Je,{patch:i,theme:s.theme})}),i===null&&l===null&&c.length>0&&a("pre",{className:"bg-muted max-h-60 overflow-auto rounded-lg p-3 font-mono text-xs whitespace-pre-wrap",children:c}),(r.locations??[]).length>0&&a("ul",{className:"text-muted-foreground flex flex-col gap-0.5 text-xs",children:(r.locations??[]).map((u)=>a("li",{className:"truncate font-mono",children:u.path},`${u.path}:${u.line??""}`))})]})}function d(t,o){let{host:s,client:r}=e();return(l)=>{try{if(o)o(t.id,l);else r.respond(t.id,l)}catch(i){if(s.reportError)s.reportError(i);else console.error(i)}}}function C({action:t,total:o,onRespond:s}){let{host:r}=e(),l=d(t,s),i=t.params,c=r.permissionTitle?.(i)??i.title;return m(Bo,{requestId:t.id,title:c,alwaysLabel:r.t("approval.always"),autoFocus:"if-idle",total:o,options:i.options.map((p)=>({...p,description:y(p)??void 0})),onRespond:(p)=>l({outcome:p===null?{outcome:"cancelled"}:{outcome:"selected",optionId:p}}),children:[i.description&&a("div",{className:"text-muted-foreground mt-0.5 text-xs",children:i.description}),i.subject&&a(T,{subject:i.subject,requestTitle:c})]})}function Xe({action:t,total:o,onRespond:s}){let{host:r}=e(),l=d(t,s),i=n((c)=>t.sessionId===null?void 0:c.sessions[t.sessionId]);return a(Oo,{requestId:t.id,schema:t.params.requestedSchema,message:i?.subagent?`${i.title??r.t("subagents.untitled")}: ${t.params.message}`:t.params.message,total:o,t:r.t,onRespond:l})}function be({action:t,total:o,onRespond:s}){let{host:r}=e(),l=d(t,s);if(t.kind==="permission")return a(C,{action:t,total:o,onRespond:s});if(Ee(t))return a(Xe,{action:t,total:o??1,onRespond:s});let i=t.params;if(!w(i))throw Error("Unsupported elicitation mode");return a(Uo,{message:i.message,url:i.url,t:r.t,onOpen:r.openLink,onRespond:(c)=>l(c==="cancel"?{action:"cancel"}:{action:"decline"})})}
3
- export{Ee,Xe,be};
1
+ import{Ko}from"./chunk-d67ypca2.js";import{Wo}from"./chunk-hp1w7xrp.js";import{$o}from"./chunk-3mrdv5yq.js";import{Je}from"./chunk-4xp0q7vs.js";import{t}from"./chunk-bt01an6h.js";import{e}from"./chunk-xecs5c6a.js";import{isContentEntry as f,isDiffEntry as g,isFormElicitation as x,isText as h,isToolCallSubject as b,isUrlElicitation as w}from"@nyssance/codex-acp-v2/client";import{jsx as a,jsxs as m}from"react/jsx-runtime";function Re(n){return n.kind==="elicitation"&&x(n.params)}function y(n){let o=n._meta?.codex;if(typeof o!=="object"||o===null)return null;let s=o.description;return typeof s==="string"?s:null}function A(n){let o=n.rawInput;if(typeof o!=="object"||o===null)return null;let s=o.command;if(typeof s==="string")return s;if(Array.isArray(s))return s.map(String).join(" ");return null}function v(n){for(let o of n.content??[])if(g(o)&&o.patch&&o.patch.text.length>0)return o.patch.text;return null}function R(n){return(n.content??[]).filter(f).map((o)=>h(o.content)?o.content.text:"").filter((o)=>o.length>0).join(`
2
+ `)}function T({subject:n,requestTitle:o}){let{host:s}=e();if(!b(n))return null;let r=n.toolCall,l=A(r),i=v(r),c=R(r),p=s.toolTitle?.(r)??r.title;return m("div",{className:"flex flex-col gap-2",children:[p&&p!==o&&l===null&&a("div",{className:"text-sm font-medium",children:p}),l!==null&&m("pre",{className:"bg-muted overflow-x-auto rounded-lg p-3 font-mono text-xs whitespace-pre-wrap",children:[a("span",{className:"text-muted-foreground select-none",children:"$ "}),l]}),i!==null&&a("div",{className:"max-h-80 overflow-auto rounded-lg border","data-stream-style":"codexUI",children:a(Je,{patch:i,theme:s.theme})}),i===null&&l===null&&c.length>0&&a("pre",{className:"bg-muted max-h-60 overflow-auto rounded-lg p-3 font-mono text-xs whitespace-pre-wrap",children:c}),(r.locations??[]).length>0&&a("ul",{className:"text-muted-foreground flex flex-col gap-0.5 text-xs",children:(r.locations??[]).map((u)=>a("li",{className:"truncate font-mono",children:u.path},`${u.path}:${u.line??""}`))})]})}function d(n,o){let{host:s,client:r}=e();return(l)=>{try{if(o)o(n.id,l);else r.respond(n.id,l)}catch(i){if(s.reportError)s.reportError(i);else console.error(i)}}}function C({action:n,total:o,onRespond:s}){let{host:r}=e(),l=d(n,s),i=n.params,c=r.permissionTitle?.(i)??i.title;return m(Ko,{requestId:n.id,title:c,alwaysLabel:r.t("approval.always"),autoFocus:"if-idle",total:o,options:i.options.map((p)=>({...p,description:y(p)??void 0})),onRespond:(p)=>l({outcome:p===null?{outcome:"cancelled"}:{outcome:"selected",optionId:p}}),children:[i.description&&a("div",{className:"text-muted-foreground mt-0.5 text-xs",children:i.description}),i.subject&&a(T,{subject:i.subject,requestTitle:c})]})}function Xe({action:n,total:o,onRespond:s}){let{host:r}=e(),l=d(n,s),i=t((c)=>n.sessionId===null?void 0:c.sessions[n.sessionId]);return a(Wo,{requestId:n.id,schema:n.params.requestedSchema,message:i?.subagent?`${i.title??r.t("subagents.untitled")}: ${n.params.message}`:n.params.message,total:o,t:r.t,onRespond:l})}function Ce({action:n,total:o,onRespond:s}){let{host:r}=e(),l=d(n,s);if(n.kind==="permission")return a(C,{action:n,total:o,onRespond:s});if(Re(n))return a(Xe,{action:n,total:o??1,onRespond:s});let i=n.params;if(!w(i))throw Error("Unsupported elicitation mode");return a($o,{message:i.message,url:i.url,t:r.t,onOpen:r.openLink,onRespond:(c)=>l(c==="cancel"?{action:"cancel"}:{action:"decline"})})}
3
+ export{Re,Xe,Ce};
@@ -1,2 +1,2 @@
1
- import{Mo}from"./chunk-cpe2b276.js";async function m(r){try{let i=await(await fetch(r)).blob();if(typeof createImageBitmap==="function")return(await createImageBitmap(i)).close(),!0;return await new Promise((a)=>{let o=new Image;o.onload=()=>a(!0),o.onerror=()=>a(!1),o.src=r})}catch{return!1}}async function No(r){let n=await Promise.all(r.map(async({id:a,lastModified:o,sourcePath:p,...t})=>{let e=t.url;if(t.url.startsWith("blob:")){let s=await Mo(t.url,t.mediaType);if(s===null)return null;e=s}let l=t.mediaType.toLowerCase().startsWith("image/"),c=e.startsWith("data:image/");if(l&&c&&!await m(e))return null;let u=e.startsWith("data:")?e.slice(5,e.indexOf(";")):t.mediaType;return{...t,url:e,mediaType:u}})),i=n.filter((a)=>a!==null);return{files:i,rejectedCount:n.length-i.length}}
2
- export{No};
1
+ import{Oo}from"./chunk-brqgdzhr.js";async function m(r){try{let i=await(await fetch(r)).blob();if(typeof createImageBitmap==="function")return(await createImageBitmap(i)).close(),!0;return await new Promise((a)=>{let o=new Image;o.onload=()=>a(!0),o.onerror=()=>a(!1),o.src=r})}catch{return!1}}async function Ho(r){let n=await Promise.all(r.map(async({id:a,lastModified:o,sourcePath:p,...t})=>{let e=t.url;if(t.url.startsWith("blob:")){let s=await Oo(t.url,t.mediaType);if(s===null)return null;e=s}let l=t.mediaType.toLowerCase().startsWith("image/"),c=e.startsWith("data:image/");if(l&&c&&!await m(e))return null;let u=e.startsWith("data:")?e.slice(5,e.indexOf(";")):t.mediaType;return{...t,url:e,mediaType:u}})),i=n.filter((a)=>a!==null);return{files:i,rejectedCount:n.length-i.length}}
2
+ export{Ho};
@@ -1,2 +1,2 @@
1
- import{It}from"./chunk-0wr12bg8.js";import{Button as n}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as a,jsxs as o,Fragment as l}from"react/jsx-runtime";function rr({title:i,actions:r=[],children:t}){return o(l,{children:[o("div",{className:"flex h-[var(--navigation-row-height,30px)] items-center gap-0.5","data-tauri-drag-region":!0,children:[a("span",{className:"min-w-0 flex-1 truncate text-sm font-semibold","data-tauri-drag-region":!0,children:i}),r.map((e)=>a(It,{label:e.label,shortcut:e.shortcut,children:a(n,{variant:"ghost",size:"icon-sm",className:"size-[var(--navigation-row-height,30px)] p-0","aria-label":e.label,onClick:e.onClick,children:e.icon})},e.key))]}),t!=null&&a("div",{className:"flex flex-col gap-0.5",children:t})]})}
2
- export{rr};
1
+ import{Nt}from"./chunk-mz18hxbn.js";import{Button as n}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as a,jsxs as o,Fragment as l}from"react/jsx-runtime";function gr({title:i,actions:r=[],children:t}){return o(l,{children:[o("div",{className:"flex h-[var(--navigation-row-height,30px)] items-center gap-0.5","data-tauri-drag-region":!0,children:[a("span",{className:"min-w-0 flex-1 truncate text-sm font-semibold","data-tauri-drag-region":!0,children:i}),r.map((e)=>a(Nt,{label:e.label,shortcut:e.shortcut,children:a(n,{variant:"ghost",size:"icon-sm",className:"size-[var(--navigation-row-height,30px)] p-0","aria-label":e.label,onClick:e.onClick,children:e.icon})},e.key))]}),t!=null&&a("div",{className:"flex flex-col gap-0.5",children:t})]})}
2
+ export{gr};
@@ -1,2 +1,2 @@
1
- import{ExternalLinkIcon as d}from"lucide-react";import{Button as n}from"@nyssance/shadcn/vega/components/ui/button";import{Card as c,CardContent as s,CardDescription as p,CardFooter as C,CardHeader as m,CardTitle as v}from"@nyssance/shadcn/vega/components/ui/card";import{jsx as a,jsxs as e}from"react/jsx-runtime";function Uo({message:r,url:t,t:i,onOpen:l,onRespond:o}){return e(c,{size:"sm",children:[e(m,{children:[a(p,{children:i("approval.needed")}),a(v,{children:r})]}),a(s,{children:e("div",{className:"flex flex-col gap-3",children:[e(n,{variant:"outline",size:"sm",className:"w-fit",onClick:()=>void l(t),children:[a(d,{"data-icon":"inline-start"}),i("approval.openLink")]}),a("p",{className:"text-muted-foreground text-sm",children:i("approval.waitingForLink")})]})}),e(C,{className:"flex flex-wrap gap-2",children:[a(n,{variant:"outline",size:"sm",onClick:()=>o("decline"),children:i("actions.decline")}),a(n,{variant:"ghost",size:"sm",onClick:()=>o("cancel"),children:i("actions.cancel")})]})]})}
2
- export{Uo};
1
+ import{ExternalLinkIcon as d}from"lucide-react";import{Button as n}from"@nyssance/shadcn/vega/components/ui/button";import{Card as c,CardContent as s,CardDescription as p,CardFooter as C,CardHeader as m,CardTitle as v}from"@nyssance/shadcn/vega/components/ui/card";import{jsx as a,jsxs as e}from"react/jsx-runtime";function $o({message:r,url:t,t:i,onOpen:l,onRespond:o}){return e(c,{size:"sm",children:[e(m,{children:[a(p,{children:i("approval.needed")}),a(v,{children:r})]}),a(s,{children:e("div",{className:"flex flex-col gap-3",children:[e(n,{variant:"outline",size:"sm",className:"w-fit",onClick:()=>void l(t),children:[a(d,{"data-icon":"inline-start"}),i("approval.openLink")]}),a("p",{className:"text-muted-foreground text-sm",children:i("approval.waitingForLink")})]})}),e(C,{className:"flex flex-wrap gap-2",children:[a(n,{variant:"outline",size:"sm",onClick:()=>o("decline"),children:i("actions.decline")}),a(n,{variant:"ghost",size:"sm",onClick:()=>o("cancel"),children:i("actions.cancel")})]})]})}
2
+ export{$o};
@@ -0,0 +1,2 @@
1
+ import{R}from"./chunk-6pwy0ncf.js";import{e}from"./chunk-xecs5c6a.js";import{Go}from"./chunk-4xjzvwg4.js";import{BlocksIcon as I}from"lucide-react";import{useRef as h,useState as a}from"react";import{DropdownMenu as k,DropdownMenuContent as A,DropdownMenuGroup as C,DropdownMenuItem as i,DropdownMenuTrigger as v}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as o,jsxs as B}from"react/jsx-runtime";function _o({disabled:b,onSelect:w}){let{client:l,host:r}=e(),[M,D]=a(!1),[d,y]=a([]),[u,t]=a("loading"),p=h(0),m=l.installedApps?.bind(l);if(!m)return null;let c=(n)=>{D(n);let f=++p.current;if(!n)return;t("loading"),m().then(({apps:s})=>{if(f!==p.current)return;y(s.filter((g)=>g.enabled&&g.callable)),t("ready")},(s)=>{if(f!==p.current)return;t("error"),r.reportError?.(s)})};return B(k,{open:M,onOpenChange:c,children:[o(v,{render:o(R,{disabled:b,"aria-label":r.t("composer.apps"),title:r.t("composer.apps"),children:o(I,{})})}),o(A,{align:"start",side:"top",className:"max-h-72 min-w-48 overflow-y-auto",children:o(C,{children:u!=="ready"?o(i,{disabled:!0,children:r.t(u==="loading"?"composer.appsLoading":"composer.appsFailed")}):d.length===0?o(i,{disabled:!0,children:r.t("composer.appsEmpty")}):d.map((n)=>o(i,{onClick:()=>{w(Go(n)),c(!1)},children:n.runtimeName||n.id},n.id))})})]})}
2
+ export{_o};
@@ -1,2 +1,2 @@
1
- import{n}from"./chunk-z8njjc2c.js";import{e,f}from"./chunk-epg5w48v.js";import{QUICK_CHATS_GROUP as I,sessionGroup as z}from"@nyssance/codex-acp-v2/client";import{cn as j}from"cn";import{FolderClosedIcon as g,FolderPlusIcon as G,XIcon as x}from"lucide-react";import{useEffect as O,useMemo as R,useState as S}from"react";import{Button as C}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as A,DropdownMenuContent as F,DropdownMenuGroup as T,DropdownMenuItem as k,DropdownMenuRadioGroup as B,DropdownMenuRadioItem as E,DropdownMenuSeparator as U,DropdownMenuTrigger as _}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as r,jsxs as s,Fragment as H}from"react/jsx-runtime";function M(t){return t.replaceAll("\\","/").replace(/\/+$/,"").split("/").pop()||t}function Nr({cwd:t,onChange:u,preparing:b=!1,recentProjects:w}){let{host:i,client:p}=e(),{t:l}=i,v=n((o)=>o.projectContext),h=n((o)=>o.sessionList),y=R(()=>w??[...new Set([...h].toSorted((o,m)=>(m.updatedAt??"").localeCompare(o.updatedAt??"")).map((o)=>o.cwd))],[w,h]),[c,N]=S(null);O(()=>{if(!p.refreshProjectContext)return;let o=!0;return f(i,p.refreshProjectContext(!0).then((m)=>{if(o)N(m.chatDirectory)})),()=>{o=!1}},[i,p]);let D=[...t!==null?[t]:[],...y.filter((o)=>o!==t)].filter((o)=>o!==c&&(!v||z(v,{cwd:o}).id!==I)),a=t!==null&&t!==c,P=()=>{if(c===null)throw Error("The default draft directory is not ready");u(null)},d=i.chooseFolder;return s(A,{children:[s("div",{"aria-busy":b,className:j("chat-project-picker group/project inline-flex h-7 max-w-full min-w-0 items-center gap-1.5 rounded-full",a?"text-foreground ps-2":"text-foreground/65"),children:[a&&s(C,{variant:"ghost",size:"icon-xs",className:"relative size-4 rounded-full p-0 hover:bg-transparent dark:hover:bg-transparent","aria-label":l("conversation.draft.workOutsideProject"),title:l("conversation.draft.workOutsideProject"),disabled:c===null,onClick:P,children:[r(g,{className:"size-4 group-hover/project:opacity-0"}),r("span",{className:"bg-muted-foreground text-background absolute inset-0 flex items-center justify-center rounded-full opacity-0 group-hover/project:opacity-100",children:r(x,{className:"size-3"})})]}),s(_,{render:r(C,{variant:"ghost",size:"sm",className:j("h-7 min-w-0 shrink gap-1.5 rounded-full py-0 text-sm font-normal text-inherit hover:bg-transparent aria-expanded:bg-transparent dark:hover:bg-transparent",a?"ps-0 pe-2":"px-2")}),children:[!a&&r(g,{className:"size-4"}),r("span",{className:"truncate",children:a?M(t):l("conversation.draft.selectProject")})]})]}),s(F,{side:"top",align:"start",className:"w-72 overflow-hidden",children:[D.length>0&&s(H,{children:[r("div",{className:"max-h-64 overflow-y-auto",children:r(B,{value:t??"",onValueChange:u,children:D.map((o)=>s(E,{value:o,title:o,closeOnClick:!0,children:[r(g,{}),r("span",{className:"truncate",children:M(o)})]},o))})}),(d!==void 0||a)&&r(U,{})]}),(d!==void 0||a)&&s(T,{children:[d&&s(k,{onClick:()=>{f(i,d(t).then((o)=>{if(o!==null)u(o)}))},children:[r(G,{}),l("conversation.draft.newProject")]}),c!==null&&a&&s(k,{onClick:P,children:[r(x,{}),l("conversation.draft.workOutsideProject")]})]})]})]})}
2
- export{Nr};
1
+ import{t}from"./chunk-bt01an6h.js";import{e,f}from"./chunk-xecs5c6a.js";import{QUICK_CHATS_GROUP as I,sessionGroup as z}from"@nyssance/codex-acp-v2/client";import{cn as j}from"cn";import{FolderClosedIcon as g,FolderPlusIcon as G,XIcon as x}from"lucide-react";import{useEffect as O,useMemo as R,useState as S}from"react";import{Button as C}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as A,DropdownMenuContent as F,DropdownMenuGroup as T,DropdownMenuItem as k,DropdownMenuRadioGroup as B,DropdownMenuRadioItem as E,DropdownMenuSeparator as U,DropdownMenuTrigger as _}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as r,jsxs as s,Fragment as H}from"react/jsx-runtime";function M(n){return n.replaceAll("\\","/").replace(/\/+$/,"").split("/").pop()||n}function Or({cwd:n,onChange:u,preparing:b=!1,recentProjects:w}){let{host:i,client:p}=e(),{t:l}=i,v=t((o)=>o.projectContext),h=t((o)=>o.sessionList),y=R(()=>w??[...new Set([...h].toSorted((o,m)=>(m.updatedAt??"").localeCompare(o.updatedAt??"")).map((o)=>o.cwd))],[w,h]),[c,N]=S(null);O(()=>{if(!p.refreshProjectContext)return;let o=!0;return f(i,p.refreshProjectContext(!0).then((m)=>{if(o)N(m.chatDirectory)})),()=>{o=!1}},[i,p]);let D=[...n!==null?[n]:[],...y.filter((o)=>o!==n)].filter((o)=>o!==c&&(!v||z(v,{cwd:o}).id!==I)),a=n!==null&&n!==c,P=()=>{if(c===null)throw Error("The default draft directory is not ready");u(null)},d=i.chooseFolder;return s(A,{children:[s("div",{"aria-busy":b,className:j("chat-project-picker group/project inline-flex h-7 max-w-full min-w-0 items-center gap-1.5 rounded-full",a?"text-foreground ps-2":"text-foreground/65"),children:[a&&s(C,{variant:"ghost",size:"icon-xs",className:"relative size-4 rounded-full p-0 hover:bg-transparent dark:hover:bg-transparent","aria-label":l("conversation.draft.workOutsideProject"),title:l("conversation.draft.workOutsideProject"),disabled:c===null,onClick:P,children:[r(g,{className:"size-4 group-hover/project:opacity-0"}),r("span",{className:"bg-muted-foreground text-background absolute inset-0 flex items-center justify-center rounded-full opacity-0 group-hover/project:opacity-100",children:r(x,{className:"size-3"})})]}),s(_,{render:r(C,{variant:"ghost",size:"sm",className:j("h-7 min-w-0 shrink gap-1.5 rounded-full py-0 text-sm font-normal text-inherit hover:bg-transparent aria-expanded:bg-transparent dark:hover:bg-transparent",a?"ps-0 pe-2":"px-2")}),children:[!a&&r(g,{className:"size-4"}),r("span",{className:"truncate",children:a?M(n):l("conversation.draft.selectProject")})]})]}),s(F,{side:"top",align:"start",className:"w-72 overflow-hidden",children:[D.length>0&&s(H,{children:[r("div",{className:"max-h-64 overflow-y-auto",children:r(B,{value:n??"",onValueChange:u,children:D.map((o)=>s(E,{value:o,title:o,closeOnClick:!0,children:[r(g,{}),r("span",{className:"truncate",children:M(o)})]},o))})}),(d!==void 0||a)&&r(U,{})]}),(d!==void 0||a)&&s(T,{children:[d&&s(k,{onClick:()=>{f(i,d(n).then((o)=>{if(o!==null)u(o)}))},children:[r(G,{}),l("conversation.draft.newProject")]}),c!==null&&a&&s(k,{onClick:P,children:[r(x,{}),l("conversation.draft.workOutsideProject")]})]})]})]})}
2
+ export{Or};
@@ -1,2 +1,2 @@
1
- import{n}from"./chunk-z8njjc2c.js";import{e}from"./chunk-epg5w48v.js";import{codexExtensionCapabilities as w,codexTurnId as M,composerPrediction as j,isBooleanOption as B,isSelectOption as F}from"@nyssance/codex-acp-v2/client";import{useEffect as b,useMemo as C,useRef as O,useState as P}from"react";function Wt(r,g,c,y){let{client:S}=e(),R=n((t)=>w(t.agent).composerPredictions),k=C(()=>r.items.findLast((t)=>t.kind==="user"),[r.items]),i=M(k?._meta),_=C(()=>r.configOptions.flatMap((t)=>F(t)||B(t)?[[t.configId,t.currentValue]]:[]).toSorted(([t],[l])=>String(t).localeCompare(String(l))),[r.configOptions]),o=JSON.stringify([r.id,i,_]),s=j(r._meta),d=r._meta?.codex,m=typeof d==="object"&&d!==null&&"prediction"in d?d.prediction:null,u=O(null),f=O(!1);b(()=>(f.current=!0,()=>{f.current=!1}),[]);let[a,q]=P(null),[v,x]=P(null),p=y&&R&&g&&r.state==="idle"&&r.lastStopReason==="end_turn"&&!k?.replayed&&i!==null;b(()=>{if(!p||c||a===o||u.current?.key===o||i===null)return;let t={key:o,previousResult:m};u.current=t,x(null),S.requestPrediction(r.id,i).catch((l)=>{if(f.current&&u.current===t)x({key:o,message:l instanceof Error?l.message:String(l)})})},[S,p,c,a,o,m,r.id,i]);let I=p&&!c&&a!==o&&u.current?.key===o&&u.current.previousResult!==m&&s?.sourceTurnId===i,E=I&&s.result.type==="completed"?s.result.text:null,T=y&&g&&r.state==="idle"&&!c&&a!==o?v?.key===o?v.message:I&&s.result.type==="failed"?"Prediction failed":null:null;return{text:E,error:T,invalidate:()=>{if(p)q(o)}}}
2
- export{Wt};
1
+ import{t}from"./chunk-bt01an6h.js";import{e}from"./chunk-xecs5c6a.js";import{codexExtensionCapabilities as w,codexTurnId as M,composerPrediction as j,isBooleanOption as B,isSelectOption as F}from"@nyssance/codex-acp-v2/client";import{useEffect as b,useMemo as C,useRef as O,useState as P}from"react";function Gt(r,g,c,y){let{client:S}=e(),R=t((n)=>w(n.agent).composerPredictions),k=C(()=>r.items.findLast((n)=>n.kind==="user"),[r.items]),i=M(k?._meta),_=C(()=>r.configOptions.flatMap((n)=>F(n)||B(n)?[[n.configId,n.currentValue]]:[]).toSorted(([n],[l])=>String(n).localeCompare(String(l))),[r.configOptions]),o=JSON.stringify([r.id,i,_]),s=j(r._meta),d=r._meta?.codex,m=typeof d==="object"&&d!==null&&"prediction"in d?d.prediction:null,u=O(null),f=O(!1);b(()=>(f.current=!0,()=>{f.current=!1}),[]);let[a,q]=P(null),[v,x]=P(null),p=y&&R&&g&&r.state==="idle"&&r.lastStopReason==="end_turn"&&!k?.replayed&&i!==null;b(()=>{if(!p||c||a===o||u.current?.key===o||i===null)return;let n={key:o,previousResult:m};u.current=n,x(null),S.requestPrediction(r.id,i).catch((l)=>{if(f.current&&u.current===n)x({key:o,message:l instanceof Error?l.message:String(l)})})},[S,p,c,a,o,m,r.id,i]);let I=p&&!c&&a!==o&&u.current?.key===o&&u.current.previousResult!==m&&s?.sourceTurnId===i,E=I&&s.result.type==="completed"?s.result.text:null,T=y&&g&&r.state==="idle"&&!c&&a!==o?v?.key===o?v.message:I&&s.result.type==="failed"?"Prediction failed":null:null;return{text:E,error:T,invalidate:()=>{if(p)q(o)}}}
2
+ export{Gt};
@@ -1,2 +1,2 @@
1
- import{cn as l}from"cn";import{DropdownMenuRadioGroup as r,DropdownMenuRadioItem as s}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as t,jsxs as a}from"react/jsx-runtime";function k({value:i,onValueChange:n,options:o,itemClassName:d}){return t(r,{value:i,onValueChange:(e)=>n(String(e)),children:o.map((e)=>a(s,{value:e.value,disabled:e.disabled,title:e.title,closeOnClick:!0,className:l("gap-2",e.description?"items-start":"items-center",d),children:[e.icon,e.description?a("div",{className:"min-w-0 flex-1",children:[t("div",{className:"text-xs font-medium",children:e.label}),t("div",{className:"text-muted-foreground text-[11px] font-normal",children:e.description})]}):t("span",{className:"min-w-0 flex-1 truncate text-start",children:e.label})]},e.value))})}
2
- export{k};
1
+ import{cn as l}from"cn";import{DropdownMenuRadioGroup as r,DropdownMenuRadioItem as s}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as t,jsxs as a}from"react/jsx-runtime";function _({value:i,onValueChange:n,options:o,itemClassName:d}){return t(r,{value:i,onValueChange:(e)=>n(String(e)),children:o.map((e)=>a(s,{value:e.value,disabled:e.disabled,title:e.title,closeOnClick:!0,className:l("gap-2",e.description?"items-start":"items-center",d),children:[e.icon,e.description?a("div",{className:"min-w-0 flex-1",children:[t("div",{className:"text-xs font-medium",children:e.label}),t("div",{className:"text-muted-foreground text-[11px] font-normal",children:e.description})]}):t("span",{className:"min-w-0 flex-1 truncate text-start",children:e.label})]},e.value))})}
2
+ export{_};
@@ -0,0 +1,2 @@
1
+ function Go(n){return`[$${(n.runtimeName||n.id).replace(/[\[\]\\\r\n]/g," ").trim()}](app://${n.id})`}function zo(n){let e=new Set;return[...n.matchAll(/\[\$([^\]\r\n]+)\]\((app:\/\/[^/?#\s)]+)\)/g)].flatMap((i)=>{let[,r,t]=i;if(!r||!t||e.has(t))return[];return e.add(t),[{type:"resource_link",name:r,uri:t}]})}
2
+ export{Go,zo};
@@ -1,3 +1,3 @@
1
- import{html as n}from"diff2html";import{ColorSchemeType as r}from"diff2html/lib/types";import{useMemo as s}from"react";import{jsx as a}from"react/jsx-runtime";function zo(e){let t=0,i=0;for(let o of e.split(`
1
+ import{html as n}from"diff2html";import{ColorSchemeType as r}from"diff2html/lib/types";import{useMemo as s}from"react";import{jsx as a}from"react/jsx-runtime";function Zo(e){let t=0,i=0;for(let o of e.split(`
2
2
  `)){if(o.startsWith("+++")||o.startsWith("---"))continue;if(o.startsWith("+"))t+=1;else if(o.startsWith("-"))i+=1}return{additions:t,deletions:i}}function Je({patch:e,theme:t}){let i=s(()=>n(e,{drawFileList:!1,outputFormat:"line-by-line",matching:"lines",colorScheme:t==="dark"?r.DARK:r.LIGHT}),[e,t]);return a("div",{className:"codex-patch-view",dangerouslySetInnerHTML:{__html:i}})}
3
- export{zo,Je};
3
+ export{Zo,Je};
@@ -1,2 +1,2 @@
1
- import{a,o}from"./chunk-eg86g265.js";import{latestAssistantReply as v}from"@nyssance/codex-acp-v2/client";import{useEffect as S,useState as g}from"react";function Mt(e,r){let s=a(),c=o((t)=>t.connection),i=o((t)=>Boolean(t.sessions[e]?.attached)&&!t.sessions[e]?.restoring),u=o((t)=>v(t.sessions[e]?.items)),f=o((t)=>Boolean(t.runStates[e]?.reusableDraft)),[p,y]=g();return S(()=>{if(c!=="ready"||f||i)return;let t=!1,l,n=0,m=async()=>{try{let d=await s.activityReply(e);if(n=0,!t)y(d??void 0)}catch{n++}finally{if(!t&&(r==="running"||n>0&&n<3))l=setTimeout(()=>void m(),5000)}};return m(),()=>{t=!0,clearTimeout(l)}},[s,e,c,f,i,r]),i?u:p??u}
2
- export{Mt};
1
+ import{a,o}from"./chunk-d1pc0mrb.js";import{latestAssistantReply as v}from"@nyssance/codex-acp-v2/client";import{useEffect as S,useState as g}from"react";function At(e,r){let s=a(),c=o((t)=>t.connection),i=o((t)=>Boolean(t.sessions[e]?.attached)&&!t.sessions[e]?.restoring),u=o((t)=>v(t.sessions[e]?.items)),f=o((t)=>Boolean(t.runStates[e]?.reusableDraft)),[p,y]=g();return S(()=>{if(c!=="ready"||f||i)return;let t=!1,l,n=0,m=async()=>{try{let d=await s.activityReply(e);if(n=0,!t)y(d??void 0)}catch{n++}finally{if(!t&&(r==="running"||n>0&&n<3))l=setTimeout(()=>void m(),5000)}};return m(),()=>{t=!0,clearTimeout(l)}},[s,e,c,f,i,r]),i?u:p??u}
2
+ export{At};
@@ -0,0 +1,2 @@
1
+ import{useCallback as r,useState as x}from"react";var t=new Map;function b(o,e,a=!1){let[p,S]=x(()=>({key:o,expanded:t.get(o)??e})),n=p.expanded;if(p.key!==o||a&&!t.has(o)&&n!==e)n=t.get(o)??e,S({key:o,expanded:n});let k=r((c)=>{S((s)=>{let f=s.key===o?s.expanded:t.get(o)??e,d=typeof c==="function"?c(f):c;return t.set(o,d),s.key===o?{key:o,expanded:d}:s})},[o,e]);return[n,k]}
2
+ export{b};
@@ -1,2 +1,2 @@
1
- import{PreviewCard as e}from"@base-ui/react/preview-card";import{jsx as o,jsxs as d}from"react/jsx-runtime";function gi({open:r,onOpenChange:a,trigger:i,children:t,...n}){return d(e.Root,{open:r,onOpenChange:a,children:[o(e.Trigger,{render:i,delay:700,closeDelay:100}),o(e.Portal,{children:o(e.Positioner,{...n,className:"isolate z-50",children:o(e.Popup,{"data-slot":"codex-hover-card",className:"m-0 outline-hidden",children:t})})})]})}
2
- export{gi};
1
+ import{PreviewCard as e}from"@base-ui/react/preview-card";import{jsx as o,jsxs as d}from"react/jsx-runtime";function Si({open:r,onOpenChange:a,trigger:i,children:t,...n}){return d(e.Root,{open:r,onOpenChange:a,children:[o(e.Trigger,{render:i,delay:700,closeDelay:100}),o(e.Portal,{children:o(e.Positioner,{...n,className:"isolate z-50",children:o(e.Popup,{"data-slot":"codex-hover-card",className:"m-0 outline-hidden",children:t})})})]})}
2
+ export{Si};
@@ -1,2 +1,2 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";function st({title:t,badge:a,children:i}){return e("header",{className:"flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-3",children:[e("div",{className:"flex min-h-9 items-center gap-2",children:[r("h1",{className:"text-2xl leading-9 font-semibold tracking-tight",children:t}),a]}),i]})}
2
- export{st};
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";function lt({title:t,badge:a,children:i}){return e("header",{className:"flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-3",children:[e("div",{className:"flex min-h-9 items-center gap-2",children:[r("h1",{className:"text-2xl leading-9 font-semibold tracking-tight",children:t}),a]}),i]})}
2
+ export{lt};
@@ -1,3 +1,3 @@
1
- var da=["full","compact","codexUI"];function ei(t){return t==="compact"||t==="codexUI"}var qr=["read","edit","delete","move","search","execute","think","fetch","switch_mode","other"];function c(t){let o=t.split(/[/\\]/).at(-1)??"";return o===""?t:o}function V(t){let o=qr.includes(t.kind)?t.kind:"other",i=t.rawInput,e=(a)=>{let r=i[a];return typeof r==="string"&&r.length>0?r:void 0},n=t.locations?.[0]?.path??e("file_path")??e("notebook_path"),s=n!==void 0?c(n):e("command")?.split(`
2
- `)[0]??e("pattern")??e("url")??e("query")??e("description");return{category:o,...s===void 0?{}:{target:s},...n===void 0?{}:{filePath:n}}}function ua(t,o){if(o)return"dot-permission";switch(t){case"completed":return"dot-success";case"failed":return"dot-error";case"in_progress":return"dot-in-progress";case"pending":return"dot-pending";case"interrupted":return"dot-interrupted";default:return console.warn("[acp] unknown tool call status:",t),"dot-pending"}}
3
- export{da,ei,qr,V,ua};
1
+ var ba=["full","compact","codexUI"];function ui(t){return t==="compact"||t==="codexUI"}var na=["read","edit","delete","move","search","execute","think","fetch","switch_mode","other"];function c(t){let o=t.split(/[/\\]/).at(-1)??"";return o===""?t:o}function V(t){let o=na.includes(t.kind)?t.kind:"other",i=t.rawInput,e=(a)=>{let r=i[a];return typeof r==="string"&&r.length>0?r:void 0},n=t.locations?.[0]?.path??e("file_path")??e("notebook_path"),s=n!==void 0?c(n):e("command")?.split(`
2
+ `)[0]??e("pattern")??e("url")??e("query")??e("description");return{category:o,...s===void 0?{}:{target:s},...n===void 0?{}:{filePath:n}}}function Ca(t,o){if(o)return"dot-permission";switch(t){case"completed":return"dot-success";case"failed":return"dot-error";case"in_progress":return"dot-in-progress";case"pending":return"dot-pending";case"interrupted":return"dot-interrupted";default:return console.warn("[acp] unknown tool call status:",t),"dot-pending"}}
3
+ export{ba,ui,na,V,Ca};
@@ -1,2 +1,2 @@
1
- import{cn as f}from"cn";import{jsx as e,jsxs as a,Fragment as v}from"react/jsx-runtime";function Nt({title:r,titleIcon:t,body:o,rows:d,details:n,actions:s}){return a("div",{"data-slot":"hover-info-card",className:"flex flex-col gap-1.5",children:[a("div",{"data-slot":"hover-info-card-summary",className:"flex min-w-0 flex-col gap-1",children:[a("div",{"data-slot":"hover-info-card-title-row",className:"flex min-w-0 items-center gap-1.5",children:[t!=null&&e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t}),e("div",{"data-slot":"hover-info-card-title",className:"text-foreground line-clamp-2 min-w-0 flex-1 text-sm break-words",children:r})]}),o!=null&&e("div",{"data-slot":"hover-info-card-body",className:"text-muted-foreground line-clamp-2 text-xs break-words",children:o}),e(i,{rows:d})]}),n!=null&&n.length>0&&e("div",{"data-slot":"hover-info-card-details",className:"flex min-w-0 flex-col gap-1.5",children:e(i,{rows:n})}),s!=null&&a(v,{children:[e("div",{"data-slot":"hover-info-card-separator",className:"bg-border -mx-3 mt-1.5 h-px"}),e("div",{"data-slot":"hover-info-card-actions",className:"-mx-1 flex flex-col",children:s})]})]})}function i({rows:r}){return r?.map((t,o)=>a("div",{"data-slot":"hover-info-card-row",className:"text-muted-foreground flex items-start gap-1.5 text-xs",children:[e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t.icon}),e("span",{className:"min-w-0 break-all",children:t.text})]},o))}function M({icon:r,label:t,trailing:o,disabled:d,onClick:n,variant:s="default",className:l,...c}){return a("button",{...c,"data-slot":"hover-info-card-action","data-variant":s,type:"button",disabled:d,onClick:n,className:f("text-foreground hover:bg-foreground/5 active:bg-foreground/10 flex h-8 w-full items-center gap-2 rounded-sm px-2 text-start text-sm font-normal disabled:pointer-events-none disabled:opacity-50","[&_svg]:size-4 [&_svg]:shrink-0",s==="destructive"?"text-destructive [&_svg]:text-destructive":"[&_svg]:text-muted-foreground",l),children:[r,e("span",{className:"min-w-0 flex-1 truncate",children:t}),o]})}
2
- export{Nt,M};
1
+ import{cn as f}from"cn";import{jsx as e,jsxs as a,Fragment as v}from"react/jsx-runtime";function Mt({title:r,titleIcon:t,body:o,rows:d,details:n,actions:s}){return a("div",{"data-slot":"hover-info-card",className:"flex flex-col gap-1.5",children:[a("div",{"data-slot":"hover-info-card-summary",className:"flex min-w-0 flex-col gap-1",children:[a("div",{"data-slot":"hover-info-card-title-row",className:"flex min-w-0 items-center gap-1.5",children:[t!=null&&e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t}),e("div",{"data-slot":"hover-info-card-title",className:"text-foreground line-clamp-2 min-w-0 flex-1 text-sm break-words",children:r})]}),o!=null&&e("div",{"data-slot":"hover-info-card-body",className:"text-muted-foreground line-clamp-2 text-xs break-words",children:o}),e(i,{rows:d})]}),n!=null&&n.length>0&&e("div",{"data-slot":"hover-info-card-details",className:"flex min-w-0 flex-col gap-1.5",children:e(i,{rows:n})}),s!=null&&a(v,{children:[e("div",{"data-slot":"hover-info-card-separator",className:"bg-border -mx-3 mt-1.5 h-px"}),e("div",{"data-slot":"hover-info-card-actions",className:"-mx-1 flex flex-col",children:s})]})]})}function i({rows:r}){return r?.map((t,o)=>a("div",{"data-slot":"hover-info-card-row",className:"text-muted-foreground flex items-start gap-1.5 text-xs",children:[e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t.icon}),e("span",{className:"min-w-0 break-all",children:t.text})]},o))}function E({icon:r,label:t,trailing:o,disabled:d,onClick:n,variant:s="default",className:l,...c}){return a("button",{...c,"data-slot":"hover-info-card-action","data-variant":s,type:"button",disabled:d,onClick:n,className:f("text-foreground hover:bg-foreground/5 active:bg-foreground/10 flex h-8 w-full items-center gap-2 rounded-sm px-2 text-start text-sm font-normal disabled:pointer-events-none disabled:opacity-50","[&_svg]:size-4 [&_svg]:shrink-0",s==="destructive"?"text-destructive [&_svg]:text-destructive":"[&_svg]:text-muted-foreground",l),children:[r,e("span",{className:"min-w-0 flex-1 truncate",children:t}),o]})}
2
+ export{Mt,E};
@@ -1,2 +1,2 @@
1
- var z=/[\\/._\- ]/;function h(r,n){if(n===0)return!0;let s=r[n-1];if(z.test(s))return!0;let c=r[n];if(s===s.toLowerCase()&&c!==c.toLowerCase())return!0;return!1}function ln(r,n){if(!n)return{score:0,indices:[]};let s=r.toLowerCase(),c=n.toLowerCase(),i=[],t=0,e=0,u=-2;for(let l of c.split("")){let o=-1;while(t<s.length){if(s[t]===l){o=t;break}t++}if(o<0)return null;if(e+=1,o===u+1)e+=4;if(h(r,o))e+=5;let f=r.lastIndexOf("/");if(f!==-1&&o>f)e+=2;i.push(o),u=o,t=o+1}if(e-=Math.floor(r.length/50),r.includes(n))e+=3;return{score:e,indices:i}}function vo(r,n,s,c=100){if(!n)return r.slice(0,c).map((t)=>({item:t,score:0,indices:[]}));let i=[];for(let t of r){let e=ln(s(t),n);if(!e)continue;i.push({item:t,score:e.score,indices:e.indices})}return i.sort((t,e)=>e.score-t.score),i.slice(0,c)}
2
- export{ln,vo};
1
+ var z=/[\\/._\- ]/;function h(r,n){if(n===0)return!0;let s=r[n-1];if(z.test(s))return!0;let c=r[n];if(s===s.toLowerCase()&&c!==c.toLowerCase())return!0;return!1}function dn(r,n){if(!n)return{score:0,indices:[]};let s=r.toLowerCase(),c=n.toLowerCase(),i=[],t=0,e=0,u=-2;for(let l of c.split("")){let o=-1;while(t<s.length){if(s[t]===l){o=t;break}t++}if(o<0)return null;if(e+=1,o===u+1)e+=4;if(h(r,o))e+=5;let f=r.lastIndexOf("/");if(f!==-1&&o>f)e+=2;i.push(o),u=o,t=o+1}if(e-=Math.floor(r.length/50),r.includes(n))e+=3;return{score:e,indices:i}}function wo(r,n,s,c=100){if(!n)return r.slice(0,c).map((t)=>({item:t,score:0,indices:[]}));let i=[];for(let t of r){let e=dn(s(t),n);if(!e)continue;i.push({item:t,score:e.score,indices:e.indices})}return i.sort((t,e)=>e.score-t.score),i.slice(0,c)}
2
+ export{dn,wo};
@@ -0,0 +1,2 @@
1
+ import{lo}from"./chunk-d1pc0mrb.js";import{createContext as r,useContext as i}from"react";import{jsx as s}from"react/jsx-runtime";var n=r(null);function cr({host:o,children:t}){return s(n,{value:o,children:t})}function w(){let o=i(n),e={...lo(),...o};if(e.t===void 0||e.i18n===void 0)throw Error("Collection host is missing; mount collections inside SessionListProvider or CollectionHostProvider");return e}function Jn(o,t){t.catch((e)=>{if(o.reportError)o.reportError(e);else console.error(e)})}function ee(){let o=w();return(t)=>Jn(o,t)}function eo(){return typeof navigator<"u"&&/Mac|iPhone|iPad|iPod/.test(navigator.platform||navigator.userAgent)}
2
+ export{cr,w,Jn,ee,eo};