@alwith/module-chat 0.5.19 → 0.5.21

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 (483) hide show
  1. package/README.md +240 -1
  2. package/THIRD_PARTY_NOTICES.md +13 -0
  3. package/assets/catalogs/alwith/models.json +72 -0
  4. package/assets/catalogs/custom/models.json +604 -0
  5. package/assets/catalogs/custom/sources.json +168 -0
  6. package/assets/catalogs/deepseek/models.json +139 -0
  7. package/assets/catalogs/openrouter/models.json +231 -0
  8. package/assets/catalogs/qwen/models.json +253 -0
  9. package/assets/catalogs/xai/models.json +129 -0
  10. package/assets/provider-catalog.json +127 -0
  11. package/dist/activity-host.js +1 -1
  12. package/dist/approval/choice-elicitation-form.js +1 -1
  13. package/dist/approval/choice-schema.js +1 -1
  14. package/dist/approval/permission-options.js +1 -1
  15. package/dist/approval/permission-view.js +1 -1
  16. package/dist/approval/schema-elicitation-form.js +1 -1
  17. package/dist/approval/url-elicitation-card.js +1 -1
  18. package/dist/chunk-00eytt1z.js +2 -0
  19. package/dist/chunk-0fs2k5fe.js +1289 -0
  20. package/dist/chunk-0gersbj0.js +2 -0
  21. package/dist/chunk-0gy6ngda.js +2 -0
  22. package/dist/chunk-0mp7tyea.js +2 -0
  23. package/dist/chunk-0vhkv9ax.js +2 -0
  24. package/dist/{chunk-b53ky6rb.js → chunk-141kppzb.js} +2 -2
  25. package/dist/chunk-14exd146.js +2 -0
  26. package/dist/{chunk-yjtq166b.js → chunk-156m3888.js} +3 -3
  27. package/dist/{chunk-jx1cngyb.js → chunk-1e6x0018.js} +2 -2
  28. package/dist/{chunk-01rfnabj.js → chunk-1f628zap.js} +2 -2
  29. package/dist/{chunk-h3antqdd.js → chunk-1ppfn0e1.js} +2 -2
  30. package/dist/chunk-1q2cykp4.js +2 -0
  31. package/dist/chunk-1tkzxktd.js +2 -0
  32. package/dist/{chunk-9ej4c7a8.js → chunk-23rjsm3a.js} +2 -2
  33. package/dist/chunk-2ce8gd89.js +2 -0
  34. package/dist/chunk-2f1qx13s.js +2 -0
  35. package/dist/{chunk-0vy6cqmw.js → chunk-2nvsvw67.js} +2 -2
  36. package/dist/chunk-2tce3pc5.js +3 -0
  37. package/dist/chunk-2tkeevm0.js +2 -0
  38. package/dist/chunk-33620ca6.js +2 -0
  39. package/dist/chunk-3aq5c12k.js +2 -0
  40. package/dist/{chunk-jt8h82c2.js → chunk-3jcmv5qf.js} +2 -2
  41. package/dist/chunk-3n47hknp.js +2 -0
  42. package/dist/chunk-3nr5qe41.js +2 -0
  43. package/dist/chunk-3yvd77ph.js +2 -0
  44. package/dist/chunk-40bcp4pa.js +2 -0
  45. package/dist/{chunk-9xkp5x7h.js → chunk-42hkbpey.js} +2 -2
  46. package/dist/chunk-42nhwnbe.js +4 -0
  47. package/dist/chunk-4s6gx750.js +2 -0
  48. package/dist/chunk-4w3g7d6w.js +2 -0
  49. package/dist/chunk-52p7kyam.js +2 -0
  50. package/dist/{chunk-kvx8fv1e.js → chunk-59957gfy.js} +2 -2
  51. package/dist/chunk-59exzf5n.js +2 -0
  52. package/dist/chunk-5cdr7q6f.js +4 -0
  53. package/dist/chunk-5nc3dtyt.js +2 -0
  54. package/dist/chunk-63kxepkh.js +2 -0
  55. package/dist/chunk-67hrx4kg.js +2 -0
  56. package/dist/{chunk-eeq8d3x7.js → chunk-6dn3j8a2.js} +2 -2
  57. package/dist/{chunk-cdrmg9jj.js → chunk-72x7rae0.js} +2 -2
  58. package/dist/chunk-77j8n5k5.js +2 -0
  59. package/dist/{chunk-d6c0mnth.js → chunk-78s6h7r4.js} +2 -2
  60. package/dist/chunk-7p1r1ha9.js +2 -0
  61. package/dist/{chunk-hwh88n0v.js → chunk-7wk3d01c.js} +4 -4
  62. package/dist/chunk-80ckz04b.js +2 -0
  63. package/dist/chunk-82xjggwn.js +2 -0
  64. package/dist/chunk-85ffkcch.js +2 -0
  65. package/dist/chunk-8c042xya.js +2 -0
  66. package/dist/{chunk-09r35ts9.js → chunk-8ch9444t.js} +2 -2
  67. package/dist/{chunk-2hk04fh3.js → chunk-8hte6dh7.js} +2 -2
  68. package/dist/{chunk-dj4e0q7k.js → chunk-8jxcdap5.js} +2 -2
  69. package/dist/chunk-8qw8erv6.js +2 -0
  70. package/dist/chunk-8t36vprh.js +2 -0
  71. package/dist/{chunk-a9s3m9fs.js → chunk-8w22ck92.js} +2 -2
  72. package/dist/chunk-908ndb9r.js +2 -0
  73. package/dist/chunk-983gkw32.js +2 -0
  74. package/dist/chunk-9g67z1b4.js +2 -0
  75. package/dist/chunk-9mky3b7v.js +2 -0
  76. package/dist/chunk-9n79tr1q.js +2 -0
  77. package/dist/{chunk-ekd97p2x.js → chunk-9sq2etjk.js} +2 -2
  78. package/dist/chunk-a8p82wp7.js +2 -0
  79. package/dist/chunk-ajpxjj5m.js +2 -0
  80. package/dist/chunk-ap0vmczf.js +2 -0
  81. package/dist/chunk-aqvy57zs.js +2 -0
  82. package/dist/{chunk-9ebnn34t.js → chunk-aza82m2p.js} +2 -2
  83. package/dist/chunk-b2wczqtd.js +2 -0
  84. package/dist/chunk-b3jg6nzv.js +3 -0
  85. package/dist/{chunk-qy2prx7m.js → chunk-b614gnnv.js} +2 -2
  86. package/dist/{chunk-50mckd2p.js → chunk-c1b8z8pa.js} +2 -2
  87. package/dist/chunk-c38t8809.js +2 -0
  88. package/dist/chunk-c9nbavk0.js +2 -0
  89. package/dist/chunk-cbwya2ss.js +2 -0
  90. package/dist/chunk-cg8ekwka.js +2 -0
  91. package/dist/chunk-dv65h7z5.js +2 -0
  92. package/dist/chunk-dya74vts.js +2 -0
  93. package/dist/chunk-dyqvhn6y.js +5 -0
  94. package/dist/chunk-dyrgfdxz.js +2 -0
  95. package/dist/chunk-e9ntencj.js +2 -0
  96. package/dist/{chunk-e92r4g3v.js → chunk-ec9rgnt3.js} +2 -2
  97. package/dist/chunk-efrn25h9.js +2 -0
  98. package/dist/chunk-emcefs0g.js +2 -0
  99. package/dist/chunk-et8rcxw6.js +2 -0
  100. package/dist/chunk-f28hhbf4.js +2 -0
  101. package/dist/chunk-f3924gdb.js +2 -0
  102. package/dist/chunk-f8zy35gz.js +2 -0
  103. package/dist/chunk-f98at4r5.js +2 -0
  104. package/dist/chunk-fke98cj0.js +2 -0
  105. package/dist/chunk-g242n3dt.js +2 -0
  106. package/dist/{chunk-q4q4f03j.js → chunk-g73f62qm.js} +2 -2
  107. package/dist/{chunk-k9mbpf0g.js → chunk-h1bhhqtq.js} +2 -2
  108. package/dist/chunk-h5m2fpp4.js +2 -0
  109. package/dist/chunk-hv1ejvhg.js +2 -0
  110. package/dist/chunk-j86x2rn0.js +2 -0
  111. package/dist/chunk-jm6zja6h.js +2 -0
  112. package/dist/{chunk-z5tstgsh.js → chunk-k5rkpqbh.js} +2 -2
  113. package/dist/chunk-k5wgf59a.js +2 -0
  114. package/dist/{chunk-4xhvh2dn.js → chunk-k7k6qsqh.js} +2 -2
  115. package/dist/chunk-kc5k5e59.js +3 -0
  116. package/dist/chunk-kvc6ewkt.js +4 -0
  117. package/dist/chunk-kxmajv0m.js +3 -0
  118. package/dist/{chunk-m2hpfdch.js → chunk-m2b8kzpk.js} +2 -2
  119. package/dist/{chunk-e44hny11.js → chunk-m7wn4z9x.js} +2 -2
  120. package/dist/chunk-mcjwwxa1.js +2 -0
  121. package/dist/chunk-memvzzc6.js +2 -0
  122. package/dist/{chunk-fgzq0ktw.js → chunk-mg2mkzkk.js} +2 -2
  123. package/dist/{chunk-0zp04d1m.js → chunk-mgm1x3de.js} +2 -2
  124. package/dist/chunk-mwpchd85.js +3 -0
  125. package/dist/chunk-myrdfa3s.js +2 -0
  126. package/dist/chunk-n0khj68q.js +2 -0
  127. package/dist/{chunk-c2h76vnt.js → chunk-n929wkw7.js} +2 -2
  128. package/dist/chunk-nacjea1s.js +2 -0
  129. package/dist/{chunk-gcx4fk1a.js → chunk-nn25kjm4.js} +2 -2
  130. package/dist/{chunk-f8wzz84b.js → chunk-nq7gg9vg.js} +2 -2
  131. package/dist/{chunk-a4wrn6ep.js → chunk-nqw4deag.js} +2 -2
  132. package/dist/{chunk-gr1nnczz.js → chunk-ns5rnxdj.js} +2 -2
  133. package/dist/{chunk-6p41wmgs.js → chunk-nxp1b8ny.js} +2 -2
  134. package/dist/chunk-p4bb313p.js +3 -0
  135. package/dist/chunk-py837qjk.js +1 -0
  136. package/dist/chunk-q7nn5xe5.js +2 -0
  137. package/dist/chunk-qjhkzdhm.js +2 -0
  138. package/dist/{chunk-eyf9bxyx.js → chunk-qwfwxfhn.js} +2 -2
  139. package/dist/chunk-qxcnyvps.js +2 -0
  140. package/dist/chunk-r3qrftds.js +2 -0
  141. package/dist/chunk-r9dt4bs3.js +2 -0
  142. package/dist/chunk-rbqn4725.js +2 -0
  143. package/dist/chunk-rcbb4ke2.js +2 -0
  144. package/dist/chunk-rekc1q3m.js +2 -0
  145. package/dist/chunk-rwkkqdcv.js +2 -0
  146. package/dist/{chunk-fcy4sv9f.js → chunk-rwnz06kr.js} +2 -2
  147. package/dist/{chunk-5n4mefej.js → chunk-s55n9cby.js} +2 -2
  148. package/dist/chunk-sxh0pd3y.js +2 -0
  149. package/dist/chunk-sy5tq3y6.js +2 -0
  150. package/dist/chunk-t0cr21e3.js +2 -0
  151. package/dist/chunk-t97yjy4f.js +2 -0
  152. package/dist/chunk-v4t0p6pp.js +2 -0
  153. package/dist/{chunk-rsfwc38x.js → chunk-vcy5vyp7.js} +3 -3
  154. package/dist/chunk-vkrgdqnm.js +2 -0
  155. package/dist/chunk-vs02ry2r.js +2 -0
  156. package/dist/chunk-vyk4zh1m.js +7 -0
  157. package/dist/{chunk-5nj2fjej.js → chunk-w0hpztj7.js} +2 -2
  158. package/dist/chunk-w6rwngm3.js +2 -0
  159. package/dist/{chunk-jc52024g.js → chunk-w9dh298r.js} +2 -2
  160. package/dist/chunk-wvdncbrt.js +2 -0
  161. package/dist/chunk-x2yc5748.js +2 -0
  162. package/dist/chunk-x334e7wb.js +3 -0
  163. package/dist/{chunk-qmc18ejg.js → chunk-x6nz6eyb.js} +2 -2
  164. package/dist/chunk-xdm2are3.js +2 -0
  165. package/dist/{chunk-0zph0gwq.js → chunk-xf36kt74.js} +3 -3
  166. package/dist/{chunk-tzyc5myt.js → chunk-xgjkj9j8.js} +2 -2
  167. package/dist/chunk-xktybk48.js +2 -0
  168. package/dist/{chunk-210b2kk6.js → chunk-xmstt6hh.js} +2 -2
  169. package/dist/chunk-xrs7x5ah.js +2 -0
  170. package/dist/chunk-xyvqcpjx.js +2 -0
  171. package/dist/chunk-y7xcync7.js +2 -0
  172. package/dist/chunk-ye9tsdhn.js +2 -0
  173. package/dist/{chunk-5e10bzg2.js → chunk-z2fjwkmt.js} +2 -2
  174. package/dist/{chunk-nkqe2e8s.js → chunk-z2v008kc.js} +2 -2
  175. package/dist/chunk-z71pp1mb.js +4 -0
  176. package/dist/chunk-zxkvvecz.js +2 -0
  177. package/dist/codex/activity-group.js +1 -1
  178. package/dist/codex/assistant-message.js +1 -1
  179. package/dist/codex/async-question-card.js +1 -1
  180. package/dist/codex/disclosure-state.js +1 -1
  181. package/dist/codex/edited-files-card.js +1 -1
  182. package/dist/codex/image-view-activity.js +1 -1
  183. package/dist/codex/markdown-renderer.js +1 -1
  184. package/dist/codex/navigation-audio.js +1 -1
  185. package/dist/codex/navigation-preview.js +1 -1
  186. package/dist/codex/navigation-rail.js +1 -1
  187. package/dist/codex/patch-view.js +1 -1
  188. package/dist/codex/plan.js +1 -1
  189. package/dist/codex/timeline-virtualizer.js +1 -1
  190. package/dist/codex/turn-activity.js +1 -1
  191. package/dist/codex/user-message.js +1 -1
  192. package/dist/codex/virtualized-turn-list.js +1 -1
  193. package/dist/collections/collection-emoji.d.ts +4 -0
  194. package/dist/collections/collection-emoji.js +1 -0
  195. package/dist/collections/collection-menu.d.ts +15 -0
  196. package/dist/collections/collection-menu.js +1 -0
  197. package/dist/collections/collection-panel.d.ts +11 -0
  198. package/dist/collections/collection-panel.js +1 -0
  199. package/dist/collections/collections.d.ts +6 -0
  200. package/dist/collections/collections.js +1 -0
  201. package/dist/collections/host.d.ts +19 -0
  202. package/dist/collections/host.js +1 -0
  203. package/dist/collections/locales.d.ts +71 -0
  204. package/dist/collections/locales.js +1 -0
  205. package/dist/collections/model.d.ts +95 -0
  206. package/dist/collections/model.js +1 -0
  207. package/dist/collections/store.d.ts +30 -0
  208. package/dist/collections/store.js +1 -0
  209. package/dist/composer/completion-filter.js +1 -1
  210. package/dist/composer/completion-menu.js +1 -1
  211. package/dist/composer/completion-trigger.js +1 -1
  212. package/dist/composer/effort-slider.js +1 -1
  213. package/dist/composer/menu-radio.js +1 -1
  214. package/dist/composer/model-select.js +1 -1
  215. package/dist/composer/permission-mode-select.js +1 -1
  216. package/dist/composer/prompt-input-attachments.js +1 -1
  217. package/dist/composer/prompt-input-clipboard.js +1 -1
  218. package/dist/composer/prompt-input-context.js +1 -1
  219. package/dist/composer/prompt-input-textarea.js +1 -1
  220. package/dist/composer/prompt-input.js +1 -1
  221. package/dist/conversation/action-card.js +1 -1
  222. package/dist/conversation/composer/composer.js +1 -1
  223. package/dist/conversation/composer/config-options.js +1 -1
  224. package/dist/conversation/composer/context.js +1 -1
  225. package/dist/conversation/composer/drafts.js +1 -1
  226. package/dist/conversation/composer/file-items.js +1 -1
  227. package/dist/conversation/composer/long-text.js +1 -1
  228. package/dist/conversation/composer/mention-chips.js +1 -1
  229. package/dist/conversation/composer/mention-uri.js +1 -1
  230. package/dist/conversation/composer/model-menu.js +1 -1
  231. package/dist/conversation/composer/pasted-text-attachment.js +1 -1
  232. package/dist/conversation/composer/permission-mode-menu.js +1 -1
  233. package/dist/conversation/composer/prediction.js +1 -1
  234. package/dist/conversation/composer/slash-command-button.js +1 -1
  235. package/dist/conversation/composer/submit-button.js +1 -1
  236. package/dist/conversation/composer/usage-meter.js +1 -1
  237. package/dist/conversation/connection-notice.d.ts +8 -0
  238. package/dist/conversation/connection-notice.js +1 -0
  239. package/dist/conversation/context.js +1 -1
  240. package/dist/conversation/conversation-body.js +1 -1
  241. package/dist/conversation/conversation-search.d.ts +8 -0
  242. package/dist/conversation/conversation-search.js +1 -0
  243. package/dist/conversation/conversation-view.d.ts +1 -0
  244. package/dist/conversation/conversation-view.js +1 -1
  245. package/dist/conversation/conversation.d.ts +3 -0
  246. package/dist/conversation/conversation.js +1 -1
  247. package/dist/conversation/diff-modal.js +1 -1
  248. package/dist/conversation/draft-project-picker.d.ts +7 -0
  249. package/dist/conversation/draft-project-picker.js +1 -0
  250. package/dist/conversation/session-actions.js +1 -1
  251. package/dist/conversation/subagent-sessions.js +1 -1
  252. package/dist/conversation/types.d.ts +6 -1
  253. package/dist/image-lightbox.js +1 -1
  254. package/dist/image-preview-dialog.js +1 -1
  255. package/dist/lib/code-highlighter.js +1 -1
  256. package/dist/lib/fuzzy.js +1 -1
  257. package/dist/lib/group-blocks.js +1 -1
  258. package/dist/lib/image-encode.js +1 -1
  259. package/dist/lib/limits.js +1 -1
  260. package/dist/lib/markdown-parser.js +1 -1
  261. package/dist/lib/markdown-rules.js +1 -1
  262. package/dist/lib/model-name.js +1 -1
  263. package/dist/lib/pointer-centered-zoom.js +1 -1
  264. package/dist/lib/prepare-prompt-files.js +1 -1
  265. package/dist/lib/stream-style.js +1 -1
  266. package/dist/lib/streaming-markdown.js +1 -1
  267. package/dist/locales.d.ts +1914 -0
  268. package/dist/locales.js +1 -1
  269. package/dist/plugins/catalog-header.d.ts +6 -0
  270. package/dist/plugins/catalog-header.js +1 -0
  271. package/dist/plugins/catalog-skeleton.d.ts +3 -0
  272. package/dist/plugins/catalog-skeleton.js +1 -0
  273. package/dist/plugins/host.d.ts +49 -0
  274. package/dist/plugins/host.js +1 -0
  275. package/dist/plugins/locales.d.ts +1136 -0
  276. package/dist/plugins/locales.js +1 -0
  277. package/dist/plugins/new-chat-directory.d.ts +2 -0
  278. package/dist/plugins/new-chat-directory.js +1 -0
  279. package/dist/plugins/pane.d.ts +12 -0
  280. package/dist/plugins/pane.js +1 -0
  281. package/dist/plugins/panel-item.d.ts +8 -0
  282. package/dist/plugins/panel-item.js +1 -0
  283. package/dist/plugins/plugin-detail-page.d.ts +5 -0
  284. package/dist/plugins/plugin-detail-page.js +1 -0
  285. package/dist/plugins/plugin-icon.d.ts +7 -0
  286. package/dist/plugins/plugin-icon.js +1 -0
  287. package/dist/plugins/plugin-icons.d.ts +1 -0
  288. package/dist/plugins/plugin-icons.js +1 -0
  289. package/dist/plugins/plugins-page.d.ts +12 -0
  290. package/dist/plugins/plugins-page.js +1 -0
  291. package/dist/plugins/plugins.css +199 -0
  292. package/dist/plugins/plugins.d.ts +14 -0
  293. package/dist/plugins/plugins.js +1 -0
  294. package/dist/plugins/read-skill-document.d.ts +2 -0
  295. package/dist/plugins/read-skill-document.js +1 -0
  296. package/dist/plugins/skill-document.d.ts +7 -0
  297. package/dist/plugins/skill-document.js +1 -0
  298. package/dist/plugins/skills-tab.d.ts +6 -0
  299. package/dist/plugins/skills-tab.js +1 -0
  300. package/dist/plugins/store.d.ts +62 -0
  301. package/dist/plugins/store.js +1 -0
  302. package/dist/plugins/toolbox-layout.d.ts +7 -0
  303. package/dist/plugins/toolbox-layout.js +1 -0
  304. package/dist/search/chat-search.css +9 -0
  305. package/dist/search/chat-search.d.ts +1 -0
  306. package/dist/search/chat-search.js +1 -1
  307. package/dist/search/codex-source-matches.d.ts +4 -0
  308. package/dist/search/codex-source-matches.js +1 -0
  309. package/dist/search/dom-matches.js +1 -1
  310. package/dist/search/find-bar.js +1 -1
  311. package/dist/search/literal-matches.js +1 -1
  312. package/dist/session-list/account-menu.d.ts +26 -0
  313. package/dist/session-list/account-menu.js +1 -0
  314. package/dist/session-list/activity-list.d.ts +11 -0
  315. package/dist/session-list/activity-list.js +1 -0
  316. package/dist/session-list/archived-sessions.js +1 -1
  317. package/dist/session-list/help-menu.d.ts +5 -0
  318. package/dist/session-list/help-menu.js +1 -0
  319. package/dist/session-list/highlight.js +1 -1
  320. package/dist/session-list/host.d.ts +2 -0
  321. package/dist/session-list/host.js +1 -1
  322. package/dist/session-list/hover-info-card.js +1 -1
  323. package/dist/session-list/locales.d.ts +91 -0
  324. package/dist/session-list/locales.js +1 -1
  325. package/dist/session-list/navigation-header.d.ts +14 -0
  326. package/dist/session-list/navigation-header.js +1 -0
  327. package/dist/session-list/navigation-store.d.ts +19 -0
  328. package/dist/session-list/navigation-store.js +1 -0
  329. package/dist/session-list/navigation-tabs.d.ts +20 -0
  330. package/dist/session-list/navigation-tabs.js +1 -0
  331. package/dist/session-list/navigation.js +1 -1
  332. package/dist/session-list/overflow-marquee.js +1 -1
  333. package/dist/session-list/platform.d.ts +2 -0
  334. package/dist/session-list/platform.js +1 -0
  335. package/dist/session-list/row-stop-button.js +1 -1
  336. package/dist/session-list/session-groups.js +1 -1
  337. package/dist/session-list/session-info-card.js +1 -1
  338. package/dist/session-list/session-list.d.ts +10 -0
  339. package/dist/session-list/session-list.js +1 -1
  340. package/dist/session-list/session-row.js +1 -1
  341. package/dist/session-list/session-state-dot.js +1 -1
  342. package/dist/session-list/session-state-menu.js +1 -1
  343. package/dist/session-list/shortcut-hint.d.ts +14 -0
  344. package/dist/session-list/shortcut-hint.js +1 -0
  345. package/dist/session-list/shortcut.d.ts +2 -0
  346. package/dist/session-list/shortcut.js +1 -0
  347. package/dist/session-list/sidebar-overlay.js +1 -1
  348. package/dist/session-list/trailing-swap.js +1 -1
  349. package/dist/session-list/use-activity-notification.d.ts +1 -0
  350. package/dist/session-list/use-activity-notification.js +1 -0
  351. package/dist/session-list/use-activity-preview.js +1 -1
  352. package/dist/session-list/use-cmd-held.d.ts +1 -0
  353. package/dist/session-list/use-cmd-held.js +1 -0
  354. package/dist/session-list/use-project-sessions.js +1 -1
  355. package/dist/session-list/virtual-session-rows.js +1 -1
  356. package/dist/session-timeline/activity-group.js +1 -1
  357. package/dist/session-timeline/activity-projection.js +1 -1
  358. package/dist/session-timeline/assistant-content.js +1 -1
  359. package/dist/session-timeline/assistant-turn.js +1 -1
  360. package/dist/session-timeline/async-questions.js +1 -1
  361. package/dist/session-timeline/edited-files-card.js +1 -1
  362. package/dist/session-timeline/history-timeline.js +1 -1
  363. package/dist/session-timeline/host.js +1 -1
  364. package/dist/session-timeline/navigation-rail.js +1 -1
  365. package/dist/session-timeline/plan.js +1 -1
  366. package/dist/session-timeline/question-reply.js +1 -1
  367. package/dist/session-timeline/resource-content.js +1 -1
  368. package/dist/session-timeline/session-timeline.js +1 -1
  369. package/dist/session-timeline/timeline-registry.js +1 -1
  370. package/dist/session-timeline/turn-activity.js +1 -1
  371. package/dist/session-timeline/turn-error.js +1 -1
  372. package/dist/session-timeline/turn-retry.js +1 -1
  373. package/dist/session-timeline/turn-time.js +1 -1
  374. package/dist/session-timeline/turns.js +1 -1
  375. package/dist/session-timeline/use-timeline-scroll.js +1 -1
  376. package/dist/session-timeline/user-message.js +1 -1
  377. package/dist/settings/codex-account-card.d.ts +18 -0
  378. package/dist/settings/codex-account-card.js +1 -0
  379. package/dist/settings/login-card.d.ts +6 -0
  380. package/dist/settings/login-card.js +1 -0
  381. package/dist/settings/model-alias-settings.d.ts +6 -0
  382. package/dist/settings/model-alias-settings.js +1 -0
  383. package/dist/settings/model-aliases.d.ts +17 -0
  384. package/dist/settings/model-aliases.js +1 -0
  385. package/dist/settings/provider-logos.d.ts +5 -0
  386. package/dist/settings/provider-logos.js +1 -0
  387. package/dist/settings/provider-section.d.ts +52 -0
  388. package/dist/settings/provider-section.js +1 -0
  389. package/dist/settings/providers-port.d.ts +32 -0
  390. package/dist/settings/providers-port.js +1 -0
  391. package/dist/settings/providers.d.ts +92 -0
  392. package/dist/settings/providers.js +1 -0
  393. package/dist/settings/settings-bridge.d.ts +39 -0
  394. package/dist/settings/settings-bridge.js +1 -0
  395. package/dist/settings/settings.d.ts +9 -0
  396. package/dist/settings/settings.js +1 -0
  397. package/dist/stage.d.ts +1 -0
  398. package/dist/stage.js +1 -1
  399. package/emojibase/LICENSE +21 -0
  400. package/emojibase/en/data.json +51183 -0
  401. package/emojibase/en/messages.json +124 -0
  402. package/emojibase/zh/data.json +48992 -0
  403. package/emojibase/zh/messages.json +124 -0
  404. package/licenses/_dnd-kit_core-LICENSE +21 -0
  405. package/licenses/_dnd-kit_sortable-LICENSE +21 -0
  406. package/licenses/_dnd-kit_utilities-LICENSE +21 -0
  407. package/licenses/_solar-icons_react-LICENSE +11 -0
  408. package/licenses/_solar-icons_react-LICENSE-THIRD-PARTY +14 -0
  409. package/licenses/frimousse-LICENSE +21 -0
  410. package/package.json +36 -4
  411. package/rust/Cargo.lock +3844 -0
  412. package/rust/Cargo.toml +29 -0
  413. package/rust/build.rs +16 -0
  414. package/rust/permissions/autogenerated/reference.md +296 -0
  415. package/rust/permissions/default.toml +20 -0
  416. package/rust/permissions/schemas/schema.json +292 -0
  417. package/rust/src/lib.rs +79 -0
  418. package/rust/src/providers/managed.rs +801 -0
  419. package/rust/src/providers/tests.rs +681 -0
  420. package/rust/src/providers.rs +984 -0
  421. package/rust/src/skills.rs +130 -0
  422. package/dist/chunk-04mj5ftg.js +0 -7
  423. package/dist/chunk-0jvfabsq.js +0 -2
  424. package/dist/chunk-107y8e8x.js +0 -2
  425. package/dist/chunk-22h5rh2h.js +0 -2
  426. package/dist/chunk-31yt34hy.js +0 -2
  427. package/dist/chunk-3hp5t5wf.js +0 -2
  428. package/dist/chunk-3jcx1ns0.js +0 -2
  429. package/dist/chunk-3jjc06nd.js +0 -3
  430. package/dist/chunk-3z8ajtxp.js +0 -2
  431. package/dist/chunk-4b3g7acq.js +0 -2
  432. package/dist/chunk-4jkg9p4g.js +0 -2
  433. package/dist/chunk-4xmbve71.js +0 -4
  434. package/dist/chunk-54qxv3er.js +0 -2
  435. package/dist/chunk-5bz1bzsw.js +0 -2
  436. package/dist/chunk-5dk4xga8.js +0 -2
  437. package/dist/chunk-5my9w4vd.js +0 -2
  438. package/dist/chunk-5tqygmg9.js +0 -2
  439. package/dist/chunk-7dd374an.js +0 -2
  440. package/dist/chunk-7s7txz2j.js +0 -2
  441. package/dist/chunk-8hbwf0qe.js +0 -2
  442. package/dist/chunk-8yj3q7n2.js +0 -2
  443. package/dist/chunk-9eqezb4k.js +0 -2
  444. package/dist/chunk-9xfv8jdn.js +0 -2
  445. package/dist/chunk-a3s36z4s.js +0 -3
  446. package/dist/chunk-a414w7ah.js +0 -3
  447. package/dist/chunk-am6tss41.js +0 -2
  448. package/dist/chunk-b65w6x23.js +0 -2
  449. package/dist/chunk-cv2j9sjp.js +0 -2
  450. package/dist/chunk-d1trg76g.js +0 -2
  451. package/dist/chunk-dgm4gxkj.js +0 -2
  452. package/dist/chunk-e6ddpdxn.js +0 -2
  453. package/dist/chunk-e9znmqdj.js +0 -2
  454. package/dist/chunk-eyfdn4p3.js +0 -2
  455. package/dist/chunk-fcqwzmkd.js +0 -2
  456. package/dist/chunk-fkwafga0.js +0 -2
  457. package/dist/chunk-gap8n0vv.js +0 -5
  458. package/dist/chunk-j5rd55qs.js +0 -3
  459. package/dist/chunk-j9q2s4kq.js +0 -2
  460. package/dist/chunk-jnena0v6.js +0 -2
  461. package/dist/chunk-kjswq0tx.js +0 -2
  462. package/dist/chunk-kkps1qd4.js +0 -4
  463. package/dist/chunk-mpnv2rht.js +0 -2
  464. package/dist/chunk-mtydzse4.js +0 -2
  465. package/dist/chunk-mw9k08ky.js +0 -3
  466. package/dist/chunk-px6nrr87.js +0 -2
  467. package/dist/chunk-pzmd5d3m.js +0 -2
  468. package/dist/chunk-q5az5kp2.js +0 -4
  469. package/dist/chunk-qqm07rfv.js +0 -2
  470. package/dist/chunk-qv7kkv47.js +0 -2
  471. package/dist/chunk-rq04p6pn.js +0 -3
  472. package/dist/chunk-rx9sdjtn.js +0 -2
  473. package/dist/chunk-s0b5g8nc.js +0 -2
  474. package/dist/chunk-sf1z4r7v.js +0 -2
  475. package/dist/chunk-syp06z39.js +0 -2
  476. package/dist/chunk-t6cfjn19.js +0 -2
  477. package/dist/chunk-vsff9djs.js +0 -2
  478. package/dist/chunk-vvq50011.js +0 -2
  479. package/dist/chunk-wkvm8f2e.js +0 -2
  480. package/dist/chunk-ww223tm5.js +0 -2
  481. package/dist/chunk-x0tbzjqc.js +0 -2
  482. package/dist/chunk-x480gyp7.js +0 -2
  483. package/dist/chunk-yjhypkmc.js +0 -2
@@ -0,0 +1,199 @@
1
+ /* Catalog geometry shared by plugins, skills and app extensions (U's toolbox.css), the catalog
2
+ document typography (U's skill-document.css) and the compact auto-hiding scrollbars its panes use. */
3
+ .plugins-page {
4
+ --app-scrollbar-size: 6px;
5
+ --app-scrollbar-edge-gap: 2px;
6
+ --app-scrollbar-track-size: calc(var(--app-scrollbar-size) + 2 * var(--app-scrollbar-edge-gap));
7
+ --app-scrollbar-thumb: color-mix(in oklab, var(--foreground) 18%, transparent);
8
+ --app-scrollbar-thumb-hover: color-mix(in oklab, var(--foreground) 32%, transparent);
9
+ }
10
+
11
+ .plugins-page [data-slot="scroll-area-viewport"],
12
+ .toolbox-detail [data-slot="scroll-area-viewport"] {
13
+ scrollbar-width: none;
14
+ }
15
+ .plugins-page [data-slot="scroll-area-viewport"]::-webkit-scrollbar,
16
+ .toolbox-detail [data-slot="scroll-area-viewport"]::-webkit-scrollbar {
17
+ display: none;
18
+ }
19
+ .plugins-page [data-slot="scroll-area-scrollbar"],
20
+ .toolbox-detail [data-slot="scroll-area-scrollbar"] {
21
+ opacity: 0;
22
+ transition: opacity 150ms ease;
23
+ }
24
+ .plugins-page [data-slot="scroll-area-thumb"],
25
+ .toolbox-detail [data-slot="scroll-area-thumb"] {
26
+ background: var(--app-scrollbar-thumb);
27
+ }
28
+ .plugins-page [data-slot="scroll-area-thumb"]:hover,
29
+ .plugins-page [data-slot="scroll-area-scrollbar"][data-dragging] [data-slot="scroll-area-thumb"],
30
+ .toolbox-detail [data-slot="scroll-area-thumb"]:hover,
31
+ .toolbox-detail [data-slot="scroll-area-scrollbar"][data-dragging] [data-slot="scroll-area-thumb"] {
32
+ background: var(--app-scrollbar-thumb-hover);
33
+ }
34
+ .plugins-page [data-slot="scroll-area-scrollbar"]:is([data-hovering], [data-scrolling], [data-dragging]),
35
+ .plugins-page [data-slot="scroll-area"]:focus-within > [data-slot="scroll-area-scrollbar"],
36
+ .toolbox-detail [data-slot="scroll-area-scrollbar"]:is([data-hovering], [data-scrolling], [data-dragging]),
37
+ .toolbox-detail [data-slot="scroll-area"]:focus-within > [data-slot="scroll-area-scrollbar"] {
38
+ opacity: 1;
39
+ transition-duration: 0.1s;
40
+ }
41
+
42
+ /* Nested controls share their parent row's hover surface. */
43
+ .plugins-page [data-hover-background="none"]:is(:hover, [aria-expanded="true"]) {
44
+ background-color: transparent !important;
45
+ background-image: none !important;
46
+ }
47
+
48
+ .toolbox-content {
49
+ width: 100%;
50
+ max-width: 1152px;
51
+ margin-inline: auto;
52
+ padding-inline: 48px;
53
+ }
54
+
55
+ .toolbox-surface,
56
+ .toolbox-detail {
57
+ font-size: 14px;
58
+ line-height: 1.5;
59
+ font-weight: 400;
60
+ --app-scrollbar-edge-gap: 2px;
61
+ }
62
+
63
+ .toolbox-surface h1,
64
+ .toolbox-detail [data-slot="dialog-title"] {
65
+ font-size: 24px;
66
+ line-height: 32px;
67
+ font-weight: 600;
68
+ letter-spacing: -0.025em;
69
+ }
70
+
71
+ .toolbox-surface h2 {
72
+ font-size: 14px;
73
+ line-height: 24px;
74
+ font-weight: 500;
75
+ }
76
+
77
+ .toolbox-row {
78
+ min-height: 80px;
79
+ flex-wrap: nowrap;
80
+ gap: 12px;
81
+ border: 0;
82
+ border-radius: 12px;
83
+ padding: 12px;
84
+ }
85
+
86
+ .toolbox-row [data-slot="item-content"] {
87
+ gap: 4px;
88
+ }
89
+
90
+ .toolbox-row [data-slot="item-title"] {
91
+ margin-block: 0;
92
+ font-size: 14px;
93
+ line-height: 20px;
94
+ font-weight: 500;
95
+ }
96
+
97
+ .toolbox-row [data-slot="item-description"] {
98
+ margin-block: 0;
99
+ font-size: 13px;
100
+ line-height: 20px;
101
+ font-weight: 400;
102
+ }
103
+
104
+ .toolbox-row [data-toolbox-metadata] {
105
+ font-size: 12px;
106
+ line-height: 18px;
107
+ }
108
+
109
+ .toolbox-row [data-slot="item-media"] {
110
+ align-self: center;
111
+ transform: none;
112
+ }
113
+
114
+ .toolbox-toolbar [data-slot="button"] {
115
+ height: 32px;
116
+ border-radius: 8px;
117
+ font-size: 13px;
118
+ font-weight: 500;
119
+ box-shadow: none;
120
+ }
121
+
122
+ .toolbox-toolbar [data-slot="input"] {
123
+ height: 32px;
124
+ font-size: 13px;
125
+ box-shadow: none;
126
+ }
127
+
128
+ .toolbox-toolbar .toolbox-search-clear {
129
+ width: 24px;
130
+ height: 24px;
131
+ }
132
+
133
+ .toolbox-detail [data-slot="dialog-description"] {
134
+ font-size: 14px;
135
+ line-height: 22px;
136
+ font-weight: 400;
137
+ }
138
+
139
+ .toolbox-extension-settings {
140
+ font-size: 14px;
141
+ line-height: 22px;
142
+ }
143
+
144
+ .toolbox-extension-settings :is(h1, h2, h3) {
145
+ font-size: 16px;
146
+ line-height: 24px;
147
+ font-weight: 500;
148
+ }
149
+
150
+ @container (width < 640px) {
151
+ .toolbox-content {
152
+ padding-inline: 32px;
153
+ }
154
+ }
155
+
156
+ @container (width < 480px) {
157
+ .toolbox-content {
158
+ padding-inline: 24px;
159
+ }
160
+ }
161
+
162
+ .toolbox-extension-surface .alwith-legacy.legacy-settings {
163
+ padding: 0;
164
+ }
165
+ .toolbox-extension-surface .alwith-legacy > :first-child {
166
+ margin-top: 0;
167
+ }
168
+
169
+ .toolbox-extension-page .toolbox-content {
170
+ max-width: none;
171
+ }
172
+
173
+ /* Catalog documents follow plugin detail typography rather than chat preferences. */
174
+ .skill-document {
175
+ --codex-chat-font-size: 14px;
176
+ --codex-chat-code-font-size: 13px;
177
+ --codex-chat-code-line-height: 20px;
178
+ }
179
+
180
+ .skill-document .codex-markdown-content {
181
+ --markdown-font-size: 14px;
182
+ --markdown-line-height: 24px;
183
+ }
184
+
185
+ .skill-document .codex-markdown-heading {
186
+ font-size: 14px;
187
+ line-height: 24px;
188
+ font-weight: 500;
189
+ }
190
+
191
+ .skill-document .codex-markdown-heading-1 {
192
+ font-size: 18px;
193
+ line-height: 28px;
194
+ }
195
+
196
+ .skill-document .codex-markdown-heading-2 {
197
+ font-size: 16px;
198
+ line-height: 24px;
199
+ }
@@ -0,0 +1,14 @@
1
+ export { CatalogHeader } from "./catalog-header";
2
+ export { CatalogSkeleton } from "./catalog-skeleton";
3
+ export { type PluginsClient, type PluginsHost, PluginsProvider, pluginsStore, report, usePluginsClient, usePluginsClientState, usePluginsHost, usePluginsStore } from "./host";
4
+ export { newChatDirectory } from "./new-chat-directory";
5
+ export { Pane } from "./pane";
6
+ export { ItemActions, ItemContent, ItemDescription, ItemMedia, PanelItem, PanelItemTitle, PanelList } from "./panel-item";
7
+ export { PluginDetailPage } from "./plugin-detail-page";
8
+ export { PluginIcon, PluginIconDefinitions, pluginIconSrc } from "./plugin-icon";
9
+ export { PluginsPage, type PluginsPageProps } from "./plugins-page";
10
+ export { type InvokeCommand, readSkillDocument } from "./read-skill-document";
11
+ export { SkillDocument, skillMarkdownBody } from "./skill-document";
12
+ export { SkillsTab } from "./skills-tab";
13
+ export { createPluginsStore, installParams, type PluginEntry, type PluginsApi, type PluginsState, type PluginsStore, type PluginsStoreHost } from "./store";
14
+ export { toolboxContentClassName, toolboxDialogClassName, ToolboxPageHeader } from "./toolbox-layout";
@@ -0,0 +1 @@
1
+ import{Tt}from"../chunk-67hrx4kg.js";import{ui,At}from"../chunk-hv1ejvhg.js";import{Ie,ar,l,Ne,Qe,i,Me}from"../chunk-t0cr21e3.js";import"../chunk-xyvqcpjx.js";import"../chunk-8jxcdap5.js";import{D,H,ne,O,U,pe,Mt}from"../chunk-py837qjk.js";import{ue}from"../chunk-j86x2rn0.js";import{We}from"../chunk-82xjggwn.js";import{v}from"../chunk-r9dt4bs3.js";import"../chunk-0fs2k5fe.js";import{Nt,ri,N}from"../chunk-h5m2fpp4.js";import"../chunk-nn25kjm4.js";import"../chunk-m2b8kzpk.js";import"../chunk-g73f62qm.js";import"../chunk-7wk3d01c.js";import{ai,le}from"../chunk-mcjwwxa1.js";import{F,ce,de}from"../chunk-w6rwngm3.js";import{It}from"../chunk-8qw8erv6.js";import"../chunk-1ppfn0e1.js";import"../chunk-8w22ck92.js";import"../chunk-7p1r1ha9.js";import"../chunk-5nc3dtyt.js";import{Pt}from"../chunk-qxcnyvps.js";import{ir}from"../chunk-b3jg6nzv.js";import{rr}from"../chunk-r3qrftds.js";export{Tt as CatalogHeader,ue as CatalogSkeleton,D as ItemActions,H as ItemContent,ne as ItemDescription,O as ItemMedia,v as Pane,pe as PanelItem,Mt as PanelItemTitle,U as PanelList,It as PluginDetailPage,N as PluginIcon,Nt as PluginIconDefinitions,ir as PluginsPage,ar as PluginsProvider,le as SkillDocument,Pt as SkillsTab,de as ToolboxPageHeader,At as createPluginsStore,ui as installParams,We as newChatDirectory,ri as pluginIconSrc,Ie as pluginsStore,rr as readSkillDocument,Me as report,ai as skillMarkdownBody,F as toolboxContentClassName,ce as toolboxDialogClassName,Ne as usePluginsClient,Qe as usePluginsClientState,l as usePluginsHost,i as usePluginsStore};
@@ -0,0 +1,2 @@
1
+ export type InvokeCommand = <T>(command: string, args?: Record<string, unknown>) => Promise<T>;
2
+ export declare function readSkillDocument(invoke: InvokeCommand, path: string, roots?: string[]): Promise<string>;
@@ -0,0 +1 @@
1
+ import{rr}from"../chunk-r3qrftds.js";export{rr as readSkillDocument};
@@ -0,0 +1,7 @@
1
+ import { type ReactNode } from "react";
2
+ export declare function skillMarkdownBody(text: string): string;
3
+ export declare function SkillDocument({ path, renderHeader, description }: {
4
+ path: string | null;
5
+ description?: string;
6
+ renderHeader?: (actions: ReactNode) => ReactNode;
7
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{ai,le}from"../chunk-mcjwwxa1.js";import"../chunk-7wk3d01c.js";import"../chunk-m2b8kzpk.js";import"../chunk-g73f62qm.js";import"../chunk-nn25kjm4.js";import"../chunk-t0cr21e3.js";import"../chunk-hv1ejvhg.js";import"../chunk-r9dt4bs3.js";export{le as SkillDocument,ai as skillMarkdownBody};
@@ -0,0 +1,6 @@
1
+ import type { PluginEntry } from "./store";
2
+ export declare function SkillsTab({ query, ready, onOpenPlugin }: {
3
+ query: string;
4
+ ready: boolean;
5
+ onOpenPlugin: (entry: PluginEntry) => void;
6
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{Pt}from"../chunk-qxcnyvps.js";import"../chunk-mcjwwxa1.js";import"../chunk-7wk3d01c.js";import"../chunk-m2b8kzpk.js";import"../chunk-g73f62qm.js";import"../chunk-nn25kjm4.js";import"../chunk-w6rwngm3.js";import"../chunk-j86x2rn0.js";import"../chunk-py837qjk.js";import"../chunk-t0cr21e3.js";import"../chunk-hv1ejvhg.js";import"../chunk-r9dt4bs3.js";import"../chunk-8jxcdap5.js";import"../chunk-xyvqcpjx.js";export{Pt as SkillsTab};
@@ -0,0 +1,62 @@
1
+ import { type Store } from "@alwith/api/client";
2
+ import type { MarketplaceAddParams, MarketplaceAddResponse, MarketplaceLoadErrorInfo, MarketplaceUpgradeResponse, PluginDetail, PluginInstalledResponse, PluginInstallParams, PluginInstallResponse, PluginListParams, PluginListResponse, PluginMarketplaceEntry, PluginReadParams, PluginReadResponse, PluginSummary, SkillErrorInfo, SkillMetadata, SkillsConfigWriteParams, SkillsConfigWriteResponse, SkillsListResponse } from "@nyssance/codex-acp-v2/client";
3
+ import type { ChatTranslate } from "../activity-host";
4
+ export type PluginsApi = {
5
+ listSkills: (cwds?: string[], forceReload?: boolean) => Promise<SkillsListResponse>;
6
+ setSkillEnabled: (params: SkillsConfigWriteParams) => Promise<SkillsConfigWriteResponse>;
7
+ listPlugins: (params?: PluginListParams) => Promise<PluginListResponse>;
8
+ installedPlugins: (cwds?: string[]) => Promise<PluginInstalledResponse>;
9
+ installPlugin: (params: PluginInstallParams) => Promise<PluginInstallResponse>;
10
+ setPluginEnabled: (pluginId: string, enabled: boolean, remotePluginId?: string) => Promise<{
11
+ enabled: boolean;
12
+ }>;
13
+ uninstallPlugin: (pluginId: string) => Promise<void>;
14
+ readPlugin: (params: PluginReadParams) => Promise<PluginReadResponse>;
15
+ addMarketplace: (params: MarketplaceAddParams) => Promise<MarketplaceAddResponse>;
16
+ removeMarketplace: (marketplaceName: string) => Promise<void>;
17
+ upgradeMarketplaces: (marketplaceName?: string) => Promise<MarketplaceUpgradeResponse>;
18
+ };
19
+ export interface PluginsStoreHost {
20
+ t: ChatTranslate;
21
+ notify?: (message: string) => void;
22
+ reportError?: (error: unknown) => void;
23
+ }
24
+ export type PluginEntry = {
25
+ plugin: PluginSummary;
26
+ marketplace: PluginMarketplaceEntry;
27
+ };
28
+ export type PluginsState = {
29
+ loading: boolean;
30
+ loadedScope: string | null;
31
+ upgrading: boolean;
32
+ error: string | null;
33
+ cwds: string[];
34
+ marketplaces: PluginMarketplaceEntry[];
35
+ marketplaceLoadErrors: MarketplaceLoadErrorInfo[];
36
+ featuredPluginIds: string[];
37
+ installed: PluginEntry[];
38
+ skills: SkillMetadata[];
39
+ skillProjects: Record<string, string[]>;
40
+ skillErrors: SkillErrorInfo[];
41
+ busyIds: Record<string, "installing" | "uninstalling" | "toggling">;
42
+ busySkills: Record<string, true>;
43
+ busyMarketplaces: Record<string, true>;
44
+ refresh: (cwds?: string[], options?: {
45
+ forceRefetch?: boolean;
46
+ background?: boolean;
47
+ }) => Promise<void>;
48
+ install: (entry: PluginEntry) => Promise<PluginInstallResponse>;
49
+ setPluginEnabled: (plugin: PluginSummary, enabled: boolean) => Promise<void>;
50
+ uninstall: (plugin: PluginSummary) => Promise<void>;
51
+ readPlugin: (entry: PluginEntry) => Promise<PluginDetail>;
52
+ setSkillEnabled: (skill: SkillMetadata, enabled: boolean) => Promise<void>;
53
+ addMarketplace: (params: MarketplaceAddParams) => Promise<MarketplaceAddResponse>;
54
+ removeMarketplace: (marketplaceName: string) => Promise<void>;
55
+ upgradeMarketplace: (marketplaceName: string) => Promise<void>;
56
+ upgradeAll: () => Promise<void>;
57
+ };
58
+ export type PluginsStore = Store<PluginsState> & {
59
+ bindHost: (host: PluginsStoreHost) => void;
60
+ };
61
+ export declare function installParams(entry: PluginEntry): PluginInstallParams;
62
+ export declare function createPluginsStore(api: PluginsApi, initialHost?: PluginsStoreHost): PluginsStore;
@@ -0,0 +1 @@
1
+ import{ui,At}from"../chunk-hv1ejvhg.js";export{At as createPluginsStore,ui as installParams};
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ import "./plugins.css";
3
+ export declare const toolboxContentClassName = "toolbox-content pb-8";
4
+ export declare const toolboxDialogClassName = "toolbox-detail flex max-h-[85dvh] flex-col gap-6 overflow-hidden rounded-2xl p-6 sm:max-w-3xl";
5
+ export declare function ToolboxPageHeader({ children }: {
6
+ children: ReactNode;
7
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{F,ce,de}from"../chunk-w6rwngm3.js";export{de as ToolboxPageHeader,F as toolboxContentClassName,ce as toolboxDialogClassName};
@@ -0,0 +1,9 @@
1
+ /* CSS Custom Highlight API ranges set by the find bar; no DOM is rewritten to highlight. */
2
+ ::highlight(chat-search) {
3
+ background-color: color-mix(in oklch, var(--primary) 25%, transparent);
4
+ }
5
+
6
+ ::highlight(chat-search-current) {
7
+ background-color: color-mix(in oklch, var(--primary) 55%, transparent);
8
+ color: var(--primary-foreground);
9
+ }
@@ -1,5 +1,6 @@
1
1
  import type { SearchSourceMatch } from "./literal-matches";
2
2
  export type { SearchSourceMatch } from "./literal-matches";
3
+ export { findCodexSearchSourceMatches } from "./codex-source-matches";
3
4
  export declare function findChatScrollContainer(sessionId: string | null): HTMLElement | null;
4
5
  export declare function scrollChatElementIntoView(el: HTMLElement, align?: "center" | "start"): void;
5
6
  export { collectMatches } from "./dom-matches";
@@ -1 +1 @@
1
- import{ht}from"../chunk-c2h76vnt.js";import"../chunk-s0b5g8nc.js";import{ft,se}from"../chunk-fcy4sv9f.js";import{Button as rt}from"@nyssance/shadcn/vega/components/ui/button";import{cn as nt}from"cn";import{LoaderCircleIcon as ot,SearchIcon as lt}from"lucide-react";import{useCallback as _,useEffect as f,useMemo as J,useRef as b,useState as v}from"react";import{jsx as w,jsxs as q,Fragment as st}from"react/jsx-runtime";var V="chat-search",W="chat-search-current",X=150;function pt(o){let r=o??"";return[...document.querySelectorAll("[data-chat-scroll]")].find((l)=>l.dataset.chatScroll===r)??null}var ct=12;function Z(o,r="center"){let l=o.closest("[data-chat-scroll]");if(!l)return;let g=o.getBoundingClientRect(),y=l.getBoundingClientRect(),m=r==="start"?ct:(l.clientHeight-g.height)/2;l.scrollTo({top:l.scrollTop+(g.top-y.top)-m,behavior:"smooth"})}function P(o){let r=o.startContainer.parentElement;if(!r)return;Z(r)}var M=new Map;function Y(){if(typeof CSS>"u"||!("highlights"in CSS)||typeof Highlight>"u")return;if(M.size===0){CSS.highlights.delete(V),CSS.highlights.delete(W);return}let o=[...M.values()];CSS.highlights.set(V,new Highlight(...o.flatMap((r)=>r.all))),CSS.highlights.set(W,new Highlight(...o.flatMap((r)=>r.current?[r.current]:[])))}function it(){let o=Symbol();return{clearHighlights:()=>{M.delete(o),Y()},applyHighlights:(r,l)=>{M.set(o,{all:r,current:l}),Y()}}}function Ct({getViewport:o,findSourceMatches:r,revealTurn:l,prepareSource:g,subscribeOpen:y,labels:m,placement:K="header"}){let{clearHighlights:s,applyHighlights:p}=J(it,[]),S=r!==void 0,[c,R]=v(!1),[i,O]=v(""),[z,T]=v(!1),[D,L]=v(null),G=i.trim().length>0;f(()=>{if(!c||!G||g===void 0){T(!1),L(null);return}let e=new AbortController;return T(!0),L(null),g(e.signal).catch((t)=>{if(!e.signal.aborted)L(t instanceof Error?t.message:String(t))}).finally(()=>{if(!e.signal.aborted)T(!1)}),()=>e.abort()},[G,c,g]);let u=J(()=>c&&i.trim()&&r?r(i.trim()):[],[r,c,i]),[F,I]=v(0),[j,E]=v(0),C=b([]),H=b(0),a=b(null),Q=b(null),U=b(null);f(()=>{if(!y)return;return y(()=>{R(!0);let t=U.current;if(t!==null)t.focus({preventScroll:!0}),t.select()})},[y]);let A=_(async(e,t)=>{let n=u[e];if(n===void 0)return;let h=o();if(h===null)throw Error("Chat scroll container is missing");if(l)await l(n.turnKey,t);if(t.aborted)return;let d=h.querySelector(`[data-turn-key="${CSS.escape(n.turnKey)}"]`);if(d===null)throw Error(`Codex turn is missing: ${n.turnKey}`);if(await ft(d,t),t.aborted)return;if(!l)Z(d,"start");if(await new Promise((et)=>requestAnimationFrame(()=>et())),t.aborted)return;let N=se(d,i.trim());C.current=N;let B=N[n.occurrenceInTurn];if(p(N,B??null),B!==void 0)P(B)},[p,u,o,i,l]),k=b(A);f(()=>{k.current=A},[A]);let x=_(()=>{R(!1),O(""),H.current=0,a.current?.abort(),a.current=null,s(),C.current=[]},[s]);f(()=>{if(!c)return;let e=(t)=>{if(t.key==="Escape"&&Q.current?.contains(document.activeElement))t.preventDefault(),x()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[c,x]),f(()=>{if(!c||!i.trim()){s(),C.current=[],I(0),E(0),H.current=0;return}let e=setTimeout(()=>{if(S)return;let t=o();if(!t)return;let n=se(t,i);if(C.current=n,I(n.length),E(0),p(n,n[0]??null),n[0])P(n[0])},X);return()=>{clearTimeout(e),s()}},[p,s,S,c,i,o]),f(()=>{if(!c||!S||!i.trim())return;let e=new AbortController;a.current?.abort(),a.current=e;let t=setTimeout(()=>{C.current=[],H.current=0,I(u.length),E(0),s(),k.current(0,e.signal)},X);return()=>{if(e.abort(),a.current===e)a.current=null;clearTimeout(t),s()}},[s,u.length,S,c,i]),f(()=>()=>{a.current?.abort(),s()},[s]),f(()=>{if(!c)s()},[s,c]);let tt=_((e)=>{if(S){if(u.length===0)return;let n=(H.current+(e?-1:1)+u.length)%u.length;H.current=n,E(n),a.current?.abort();let h=new AbortController;a.current=h,k.current(n,h.signal);return}let t=C.current;if(!t.length)return;E((n)=>{let h=(n+(e?-1:1)+t.length)%t.length,d=t[h];return p(t,d),P(d),h})},[p,u.length,S]);return q(st,{children:[K==="header"&&w(rt,{variant:"ghost",size:"icon-sm",title:m.search,onClick:()=>c?x():R(!0),children:w(lt,{})}),c&&q("div",{"data-chat-search":!0,"aria-busy":z||void 0,ref:Q,className:nt("bg-background border-b",K==="body"?"relative shrink-0":"absolute inset-x-0 top-full z-30"),children:[w(ht,{ref:U,value:i,onChange:O,onFind:tt,onClose:x,placeholder:m.placeholder,prevTitle:m.previous,nextTitle:m.next}),i.trim()&&q("div",{className:"text-muted-foreground border-border border-t px-3 py-1 text-[11px]",children:[z?w(ot,{"aria-hidden":"true",className:"size-3 animate-spin"}):F===0?"0 / 0":`${j+1} / ${F}`,D!==null&&w("span",{role:"alert",children:D})]})]})]})}export{Ct as ChatSearch,se as collectMatches,pt as findChatScrollContainer,Z as scrollChatElementIntoView};
1
+ import{ta,nr,vo}from"../chunk-aqvy57zs.js";import{Ve}from"../chunk-rwnz06kr.js";import"../chunk-n929wkw7.js";import{cn}from"../chunk-dyrgfdxz.js";import"../chunk-85ffkcch.js";export{vo as ChatSearch,Ve as collectMatches,ta as findChatScrollContainer,cn as findCodexSearchSourceMatches,nr as scrollChatElementIntoView};
@@ -0,0 +1,4 @@
1
+ import { type Terminal } from "@nyssance/codex-acp-v2/client";
2
+ import type { Turn } from "../session-timeline/turns";
3
+ import { type SearchSourceMatch } from "./literal-matches";
4
+ export declare function findCodexSearchSourceMatches(turns: Turn[], rawQuery: string, terminals?: Record<string, Terminal>): SearchSourceMatch[];
@@ -0,0 +1 @@
1
+ import{cn}from"../chunk-dyrgfdxz.js";import"../chunk-85ffkcch.js";export{cn as findCodexSearchSourceMatches};
@@ -1 +1 @@
1
- import{ft,se}from"../chunk-fcy4sv9f.js";import"../chunk-s0b5g8nc.js";export{se as collectMatches,ft as revealSearchDetails};
1
+ import{yo,Ve}from"../chunk-rwnz06kr.js";import"../chunk-85ffkcch.js";export{Ve as collectMatches,yo as revealSearchDetails};
@@ -1 +1 @@
1
- import{ht}from"../chunk-c2h76vnt.js";export{ht as FindBar};
1
+ import{xo}from"../chunk-n929wkw7.js";export{xo as FindBar};
@@ -1 +1 @@
1
- import{Oe,Po}from"../chunk-s0b5g8nc.js";export{Po as findTextSourceMatches,Oe as literalMatches};
1
+ import{dn,bo}from"../chunk-85ffkcch.js";export{bo as findTextSourceMatches,dn as literalMatches};
@@ -0,0 +1,26 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ import { DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator } from "@nyssance/shadcn/vega/components/ui/dropdown-menu";
3
+ export interface AccountMenuUser {
4
+ name: string;
5
+ email: string;
6
+ avatar?: string | null;
7
+ }
8
+ export interface AccountMenuProps {
9
+ user: AccountMenuUser;
10
+ children?: ReactNode;
11
+ onSignOut: () => Promise<void>;
12
+ busy?: boolean;
13
+ }
14
+ export declare function AccountMenuGroup(props: ComponentProps<typeof DropdownMenuGroup>): import("react").JSX.Element;
15
+ export declare function AccountMenuSeparator(props: ComponentProps<typeof DropdownMenuSeparator>): import("react").JSX.Element;
16
+ export declare function AccountMenuItem({ className, ...props }: ComponentProps<typeof DropdownMenuItem>): import("react").JSX.Element;
17
+ export interface AccountLanguageMenuProps {
18
+ languages: readonly {
19
+ code: string;
20
+ label: string;
21
+ }[];
22
+ value: string;
23
+ onChange: (code: string) => Promise<void> | void;
24
+ }
25
+ export declare function AccountLanguageMenu({ languages, value, onChange }: AccountLanguageMenuProps): import("react").JSX.Element;
26
+ export declare function AccountMenu({ user, children, onSignOut, busy }: AccountMenuProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{br,Cr,Ii,wr,kr}from"../chunk-nacjea1s.js";import"../chunk-5nc3dtyt.js";import"../chunk-7p1r1ha9.js";import"../chunk-1ppfn0e1.js";import"../chunk-8jxcdap5.js";import"../chunk-80ckz04b.js";import"../chunk-8w22ck92.js";import"../chunk-xyvqcpjx.js";export{wr as AccountLanguageMenu,kr as AccountMenu,br as AccountMenuGroup,Ii as AccountMenuItem,Cr as AccountMenuSeparator};
@@ -0,0 +1,11 @@
1
+ import type { SessionSummary } from "@nyssance/codex-acp-v2/client";
2
+ import { type ReactNode } from "react";
3
+ export interface ActivityListProps {
4
+ selectedId: string | null;
5
+ onSelect: (sessionRow: SessionSummary) => void;
6
+ isForeground?: (sessionId: string) => boolean;
7
+ onOpen?: (sessionRow: SessionSummary) => boolean;
8
+ accessory?: (sessionId: string) => ReactNode;
9
+ rowActions?: (sessionRow: SessionSummary) => ReactNode;
10
+ }
11
+ export declare function ActivityList({ selectedId, onSelect, isForeground, onOpen, accessory, rowActions }: ActivityListProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{Ar}from"../chunk-59exzf5n.js";import"../chunk-2f1qx13s.js";import"../chunk-ec9rgnt3.js";import"../chunk-qwfwxfhn.js";import"../chunk-n0khj68q.js";import"../chunk-5nc3dtyt.js";import"../chunk-7p1r1ha9.js";import"../chunk-1ppfn0e1.js";import"../chunk-8jxcdap5.js";import"../chunk-nxp1b8ny.js";import"../chunk-rbqn4725.js";import"../chunk-80ckz04b.js";import"../chunk-8w22ck92.js";import"../chunk-3yvd77ph.js";import"../chunk-f8zy35gz.js";import"../chunk-xyvqcpjx.js";export{Ar as ActivityList};
@@ -1 +1 @@
1
- import{Xn}from"../chunk-rq04p6pn.js";import"../chunk-5dk4xga8.js";import"../chunk-107y8e8x.js";import"../chunk-a9s3m9fs.js";export{Xn as ArchivedSessions};
1
+ import{Ir}from"../chunk-mwpchd85.js";import"../chunk-efrn25h9.js";import"../chunk-80ckz04b.js";import"../chunk-8w22ck92.js";export{Ir as ArchivedSessions};
@@ -0,0 +1,5 @@
1
+ import { type ReactNode } from "react";
2
+ export interface HelpMenuProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare function HelpMenu({ children }: HelpMenuProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{Nr}from"../chunk-3aq5c12k.js";import"../chunk-80ckz04b.js";import"../chunk-8w22ck92.js";export{Nr as HelpMenu};
@@ -1 +1 @@
1
- import{he,R}from"../chunk-dgm4gxkj.js";export{R as MENU_HIGHLIGHT,he as ROW_HIGHLIGHT};
1
+ import{we,d}from"../chunk-xyvqcpjx.js";export{d as MENU_HIGHLIGHT,we as ROW_HIGHLIGHT};
@@ -12,6 +12,7 @@ export interface SessionListHost {
12
12
  onOpened: () => void;
13
13
  }>;
14
14
  reportError?: (error: unknown) => void;
15
+ openLink?: (url: string) => void;
15
16
  }
16
17
  export interface SessionListClient {
17
18
  readonly store: Store<CodexClientState>;
@@ -37,6 +38,7 @@ export declare function SessionListProvider({ host, client, children }: {
37
38
  children: ReactNode;
38
39
  }): import("react").JSX.Element;
39
40
  export declare function useSessionListHost(): SessionListHost;
41
+ export declare function useOptionalSessionListHost(): SessionListHost | null;
40
42
  export declare function useSessionListClient(): SessionListClient;
41
43
  export declare function useDeleteSession(): (sessionRow: SessionSummary) => void;
42
44
  export declare function useSessionListState<R>(selector: (state: CodexClientState) => R): R;
@@ -1 +1 @@
1
- import{to,c,a,ve,o,f}from"../chunk-107y8e8x.js";import"../chunk-a9s3m9fs.js";export{to as SessionListProvider,f as report,ve as useDeleteSession,a as useSessionListClient,c as useSessionListHost,o as useSessionListState};
1
+ import{Rr,s,Fi,a,Yt,o,u}from"../chunk-80ckz04b.js";import"../chunk-8w22ck92.js";export{Rr as SessionListProvider,u as report,Yt as useDeleteSession,Fi as useOptionalSessionListHost,a as useSessionListClient,s as useSessionListHost,o as useSessionListState};
@@ -1 +1 @@
1
- import{de,I}from"../chunk-6p41wmgs.js";export{I as HoverInfoAction,de as HoverInfoCard};
1
+ import{Qt,A}from"../chunk-nxp1b8ny.js";export{A as HoverInfoAction,Qt as HoverInfoCard};
@@ -1,6 +1,13 @@
1
1
  export declare const sessionListLocales: {
2
2
  ar: {
3
3
  untitled: string;
4
+ signOut: string;
5
+ help: string;
6
+ language: string;
7
+ foreground: string;
8
+ background: string;
9
+ chats: string;
10
+ activity: string;
4
11
  quickChats: string;
5
12
  retry: string;
6
13
  stop: string;
@@ -16,6 +23,13 @@ export declare const sessionListLocales: {
16
23
  };
17
24
  de: {
18
25
  untitled: string;
26
+ signOut: string;
27
+ help: string;
28
+ language: string;
29
+ foreground: string;
30
+ background: string;
31
+ chats: string;
32
+ activity: string;
19
33
  quickChats: string;
20
34
  retry: string;
21
35
  stop: string;
@@ -39,6 +53,13 @@ export declare const sessionListLocales: {
39
53
  empty: string;
40
54
  };
41
55
  untitled: string;
56
+ signOut: string;
57
+ help: string;
58
+ language: string;
59
+ foreground: string;
60
+ background: string;
61
+ chats: string;
62
+ activity: string;
42
63
  quickChats: string;
43
64
  showAll: string;
44
65
  retry: string;
@@ -79,6 +100,13 @@ export declare const sessionListLocales: {
79
100
  };
80
101
  es: {
81
102
  untitled: string;
103
+ signOut: string;
104
+ help: string;
105
+ language: string;
106
+ foreground: string;
107
+ background: string;
108
+ chats: string;
109
+ activity: string;
82
110
  quickChats: string;
83
111
  retry: string;
84
112
  stop: string;
@@ -94,6 +122,13 @@ export declare const sessionListLocales: {
94
122
  };
95
123
  fr: {
96
124
  untitled: string;
125
+ signOut: string;
126
+ help: string;
127
+ language: string;
128
+ foreground: string;
129
+ background: string;
130
+ chats: string;
131
+ activity: string;
97
132
  quickChats: string;
98
133
  retry: string;
99
134
  stop: string;
@@ -109,6 +144,13 @@ export declare const sessionListLocales: {
109
144
  };
110
145
  hi: {
111
146
  untitled: string;
147
+ signOut: string;
148
+ help: string;
149
+ language: string;
150
+ foreground: string;
151
+ background: string;
152
+ chats: string;
153
+ activity: string;
112
154
  quickChats: string;
113
155
  retry: string;
114
156
  stop: string;
@@ -124,6 +166,13 @@ export declare const sessionListLocales: {
124
166
  };
125
167
  id: {
126
168
  untitled: string;
169
+ signOut: string;
170
+ help: string;
171
+ language: string;
172
+ foreground: string;
173
+ background: string;
174
+ chats: string;
175
+ activity: string;
127
176
  quickChats: string;
128
177
  retry: string;
129
178
  stop: string;
@@ -139,6 +188,13 @@ export declare const sessionListLocales: {
139
188
  };
140
189
  it: {
141
190
  untitled: string;
191
+ signOut: string;
192
+ help: string;
193
+ language: string;
194
+ foreground: string;
195
+ background: string;
196
+ chats: string;
197
+ activity: string;
142
198
  quickChats: string;
143
199
  retry: string;
144
200
  stop: string;
@@ -154,6 +210,13 @@ export declare const sessionListLocales: {
154
210
  };
155
211
  ja: {
156
212
  untitled: string;
213
+ signOut: string;
214
+ help: string;
215
+ language: string;
216
+ foreground: string;
217
+ background: string;
218
+ chats: string;
219
+ activity: string;
157
220
  quickChats: string;
158
221
  retry: string;
159
222
  stop: string;
@@ -169,6 +232,13 @@ export declare const sessionListLocales: {
169
232
  };
170
233
  ko: {
171
234
  untitled: string;
235
+ signOut: string;
236
+ help: string;
237
+ language: string;
238
+ foreground: string;
239
+ background: string;
240
+ chats: string;
241
+ activity: string;
172
242
  quickChats: string;
173
243
  retry: string;
174
244
  stop: string;
@@ -184,6 +254,13 @@ export declare const sessionListLocales: {
184
254
  };
185
255
  "pt-BR": {
186
256
  untitled: string;
257
+ signOut: string;
258
+ help: string;
259
+ language: string;
260
+ foreground: string;
261
+ background: string;
262
+ chats: string;
263
+ activity: string;
187
264
  quickChats: string;
188
265
  retry: string;
189
266
  stop: string;
@@ -199,6 +276,13 @@ export declare const sessionListLocales: {
199
276
  };
200
277
  ru: {
201
278
  untitled: string;
279
+ signOut: string;
280
+ help: string;
281
+ language: string;
282
+ foreground: string;
283
+ background: string;
284
+ chats: string;
285
+ activity: string;
202
286
  quickChats: string;
203
287
  retry: string;
204
288
  stop: string;
@@ -222,6 +306,13 @@ export declare const sessionListLocales: {
222
306
  empty: string;
223
307
  };
224
308
  untitled: string;
309
+ signOut: string;
310
+ help: string;
311
+ language: string;
312
+ foreground: string;
313
+ background: string;
314
+ chats: string;
315
+ activity: string;
225
316
  quickChats: string;
226
317
  showAll: string;
227
318
  retry: string;