@alwith/module-chat 0.6.32 → 0.6.34
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.
- package/README.md +5 -3
- package/assets/catalogs/deepseek/models.json +4 -66
- package/assets/catalogs/doubao/models.json +92 -0
- package/assets/catalogs/doubao-coding/models.json +92 -0
- package/assets/catalogs/kimi/models.json +84 -0
- package/assets/catalogs/minimax/models.json +79 -0
- package/assets/catalogs/qwen/models.json +10 -201
- package/assets/catalogs/xai/models.json +4 -77
- package/assets/catalogs/zhipu/models.json +83 -0
- package/assets/provider-catalog.json +130 -58
- package/assets/provider-models.v1.json +379 -0
- package/dist/activity-host.js +1 -1
- package/dist/agent/client.js +1 -1
- package/dist/agent/custom-model-effort.d.ts +1 -1
- package/dist/agent/custom-model-effort.js +1 -1
- package/dist/agent/fork-title.js +1 -1
- package/dist/agent/image-request.js +1 -1
- package/dist/agent/image-tools.js +1 -1
- package/dist/agent/input-config.js +1 -1
- package/dist/agent/input-modes/chat.js +1 -1
- package/dist/agent/input-modes/execution-meta.js +1 -1
- package/dist/agent/input-modes/image-context.js +1 -1
- package/dist/agent/input-modes/image.js +1 -1
- package/dist/agent/input-modes/index.js +1 -1
- package/dist/agent/project-path.js +1 -1
- package/dist/agent/request-error.js +1 -1
- package/dist/agent/session-list-refresh.js +1 -1
- package/dist/app-reference.js +1 -1
- package/dist/application-tools.js +1 -1
- package/dist/approval/choice-elicitation-form.js +1 -1
- package/dist/approval/choice-schema.js +1 -1
- package/dist/approval/permission-options.js +1 -1
- package/dist/approval/permission-view.js +1 -1
- package/dist/approval/schema-elicitation-form.js +1 -1
- package/dist/approval/url-elicitation-card.js +1 -1
- package/dist/{chunk-1y5zgya3.js → chunk-0a3tr9ws.js} +2 -2
- package/dist/{chunk-af0e5epn.js → chunk-0b50jg23.js} +2 -2
- package/dist/{chunk-e31s069c.js → chunk-0bc7gfq4.js} +2 -2
- package/dist/{chunk-3qbtzxkm.js → chunk-0kaa9dja.js} +2 -2
- package/dist/{chunk-aehcqbaf.js → chunk-0myfs71s.js} +2 -2
- package/dist/{chunk-mahky9ad.js → chunk-0t4fcgge.js} +2 -2
- package/dist/{chunk-9b8gnrcb.js → chunk-103z8myv.js} +2 -2
- package/dist/{chunk-xtcrdywd.js → chunk-11kkxd6v.js} +2 -2
- package/dist/{chunk-w2z3sxdq.js → chunk-19jh646d.js} +2 -2
- package/dist/{chunk-6jpthrtx.js → chunk-19jwgexv.js} +3 -3
- package/dist/{chunk-2d4zb2ac.js → chunk-1d29gnb2.js} +2 -2
- package/dist/{chunk-zmr5pwhd.js → chunk-1md5vq9g.js} +2 -2
- package/dist/chunk-1p3ekdt4.js +2 -0
- package/dist/chunk-1xgm6fpr.js +2 -0
- package/dist/{chunk-egbb5295.js → chunk-2016dacx.js} +2 -2
- package/dist/{chunk-27n96a07.js → chunk-28nsjq3w.js} +3 -3
- package/dist/{chunk-11kv54bx.js → chunk-2dnzdsrv.js} +3 -3
- package/dist/{chunk-zb0ns231.js → chunk-2eceheqt.js} +3 -3
- package/dist/{chunk-jfyz3rx6.js → chunk-2rjg9fs9.js} +2 -2
- package/dist/{chunk-2ay0m7xn.js → chunk-2s0jckfr.js} +2 -2
- package/dist/{chunk-8at9k0cn.js → chunk-3272z6sv.js} +2 -2
- package/dist/{chunk-081v7emv.js → chunk-38eckxjk.js} +2 -2
- package/dist/{chunk-ka0hcw5j.js → chunk-45yrj0e1.js} +4 -4
- package/dist/{chunk-zyermn00.js → chunk-4jza4wwy.js} +2 -2
- package/dist/{chunk-q988bycf.js → chunk-4wm5emgf.js} +2 -2
- package/dist/{chunk-nec3tcjh.js → chunk-52wrk1mh.js} +2 -2
- package/dist/{chunk-mfmh7ztq.js → chunk-54j6xftt.js} +2 -2
- package/dist/{chunk-hzcerz8j.js → chunk-56jqg70p.js} +1 -1
- package/dist/{chunk-06mvwewp.js → chunk-5rzy2287.js} +2 -2
- package/dist/{chunk-r84xcy0d.js → chunk-5x2aqmhm.js} +2 -2
- package/dist/{chunk-3y9az4b9.js → chunk-64apxzn7.js} +2 -2
- package/dist/{chunk-hj8nkk6a.js → chunk-68afy8mk.js} +2 -2
- package/dist/{chunk-h3geg09z.js → chunk-69tgmjdb.js} +2 -2
- package/dist/chunk-6cedp3k2.js +2 -0
- package/dist/{chunk-5tfqn4zq.js → chunk-6eg26dz5.js} +3 -3
- package/dist/{chunk-zhd1v2fs.js → chunk-6h10jana.js} +2 -2
- package/dist/{chunk-7a806p3q.js → chunk-6nbqbjnb.js} +3 -3
- package/dist/{chunk-k76s8cq2.js → chunk-72xm1tz1.js} +2 -2
- package/dist/{chunk-m31f2m2y.js → chunk-75xtk0a3.js} +2 -2
- package/dist/chunk-7hhc8y2n.js +2 -0
- package/dist/{chunk-pd5yrdg6.js → chunk-7m8hw6gh.js} +2 -2
- package/dist/{chunk-k1f40yn4.js → chunk-7p0d3rz7.js} +2 -2
- package/dist/{chunk-mxw0cq67.js → chunk-7xsrqwvt.js} +2 -2
- package/dist/{chunk-askwff3a.js → chunk-81xwn9e5.js} +3 -3
- package/dist/{chunk-yw927w3q.js → chunk-84p483n0.js} +2 -2
- package/dist/{chunk-3dvxhfcr.js → chunk-86tpa1nn.js} +2 -2
- package/dist/{chunk-vcj2jfnz.js → chunk-88ysxbdh.js} +2 -2
- package/dist/{chunk-2wcvmm9v.js → chunk-89gyxwmd.js} +1 -1
- package/dist/{chunk-zwpv75f4.js → chunk-8gas4q2s.js} +2 -2
- package/dist/{chunk-hpv8x22r.js → chunk-8hm3nkrk.js} +2 -2
- package/dist/{chunk-basmnv1z.js → chunk-8sa6xn88.js} +2 -2
- package/dist/{chunk-sm526pev.js → chunk-8w08gd0y.js} +3 -3
- package/dist/{chunk-6yx869ht.js → chunk-965sngjd.js} +2 -2
- package/dist/{chunk-j9f4mh66.js → chunk-9jth6sk7.js} +2 -2
- package/dist/chunk-9s8ht9xe.js +2 -0
- package/dist/{chunk-9gqq6pvf.js → chunk-9t672hzm.js} +2 -2
- package/dist/{chunk-bf7sgpzq.js → chunk-9x70f7zv.js} +2 -2
- package/dist/{chunk-5jvpeww3.js → chunk-9y0fxq8e.js} +2 -2
- package/dist/{chunk-544g9fky.js → chunk-a18avvt2.js} +2 -2
- package/dist/{chunk-0zncrzar.js → chunk-ad53zbdb.js} +2 -2
- package/dist/{chunk-y47sn7w2.js → chunk-arr0hypp.js} +2 -2
- package/dist/{chunk-m8243rnx.js → chunk-as2j0yp0.js} +2 -2
- package/dist/{chunk-gh1rtwrb.js → chunk-at25g15n.js} +2 -2
- package/dist/{chunk-mfx9679q.js → chunk-b6sb3akb.js} +2 -2
- package/dist/{chunk-5f7t16kj.js → chunk-b9v0vew6.js} +2 -2
- package/dist/chunk-bhajnmtf.js +2 -0
- package/dist/{chunk-ma6ycen5.js → chunk-bq31dzpj.js} +2 -2
- package/dist/{chunk-eb78ebxa.js → chunk-bqbyjazm.js} +2 -2
- package/dist/{chunk-3a8qwbgh.js → chunk-bsb08p49.js} +3 -3
- package/dist/{chunk-3vdx0cme.js → chunk-cef598jy.js} +2 -2
- package/dist/{chunk-hwppy236.js → chunk-ckbqdg1s.js} +2 -2
- package/dist/chunk-cmfcnze3.js +4 -0
- package/dist/chunk-d4jkh19p.js +2 -0
- package/dist/{chunk-5qgzkc2a.js → chunk-dcvmc9hn.js} +2 -2
- package/dist/{chunk-7yp1qpbm.js → chunk-dhn9f10w.js} +2 -2
- package/dist/{chunk-v92wj4tv.js → chunk-dn8xcv31.js} +2 -2
- package/dist/{chunk-xmfn69hh.js → chunk-dqjhmzjy.js} +2 -2
- package/dist/chunk-dwv3z2sk.js +2 -0
- package/dist/{chunk-cy5kh1yr.js → chunk-dwxmgsg8.js} +2 -2
- package/dist/{chunk-spqfmr4z.js → chunk-dxwbgg69.js} +2 -2
- package/dist/chunk-e4ws15tg.js +2 -0
- package/dist/{chunk-ns31r47h.js → chunk-e84mhse2.js} +3 -3
- package/dist/chunk-e8bazy7m.js +2 -0
- package/dist/chunk-eaxevj9t.js +2 -0
- package/dist/{chunk-4z6gyvy3.js → chunk-eqa6cd7b.js} +2 -2
- package/dist/{chunk-02sj8dwy.js → chunk-erdrx47j.js} +1 -1
- package/dist/chunk-f0hb6t2w.js +2 -0
- package/dist/{chunk-ezrq0dya.js → chunk-f67e77e6.js} +2 -2
- package/dist/{chunk-nf7q3crw.js → chunk-f6cexkjm.js} +2 -2
- package/dist/chunk-fcy6mh2e.js +2 -0
- package/dist/{chunk-705j0x4q.js → chunk-fwn521m5.js} +2 -2
- package/dist/{chunk-1td0yv2k.js → chunk-g1de763m.js} +2 -2
- package/dist/chunk-g7dxg38a.js +2 -0
- package/dist/{chunk-n96z8etk.js → chunk-g947bnqx.js} +2 -2
- package/dist/{chunk-ypdh88cj.js → chunk-gfkx1z04.js} +2 -2
- package/dist/{chunk-qm0zd4wj.js → chunk-gktjkghg.js} +2 -2
- package/dist/chunk-gs0b02g2.js +2 -0
- package/dist/{chunk-33bd1ey8.js → chunk-h4xx90s4.js} +2 -2
- package/dist/{chunk-5e575zvm.js → chunk-hs98zk6m.js} +2 -2
- package/dist/{chunk-036wyz4n.js → chunk-j4ejwthn.js} +2 -2
- package/dist/{chunk-64wn1w0e.js → chunk-jaghs2z5.js} +2 -2
- package/dist/{chunk-fbrv2v3t.js → chunk-jf7em132.js} +1 -1
- package/dist/chunk-k2xs8svj.js +2 -0
- package/dist/{chunk-zvfad5gd.js → chunk-k3fwyr6s.js} +2 -2
- package/dist/{chunk-as10p32q.js → chunk-k5kzw2px.js} +3 -3
- package/dist/{chunk-j4w2hbbe.js → chunk-kbzsn9xw.js} +2 -2
- package/dist/{chunk-jsay66xb.js → chunk-ks22p0wq.js} +2 -2
- package/dist/chunk-ksq9a3pf.js +2 -0
- package/dist/{chunk-wcfjjs1a.js → chunk-kv3hsfyk.js} +2 -2
- package/dist/{chunk-b89bzpce.js → chunk-kyqf7cqh.js} +2 -2
- package/dist/{chunk-qm9c9sd7.js → chunk-m4ds8kjc.js} +2 -2
- package/dist/{chunk-rfkgks0a.js → chunk-m6sdmcpj.js} +2 -2
- package/dist/{chunk-djqexpgf.js → chunk-masqfje4.js} +2 -2
- package/dist/{chunk-znafsq0a.js → chunk-mfkrs2at.js} +2 -2
- package/dist/{chunk-3d3z6dam.js → chunk-mhhtcbh9.js} +2 -2
- package/dist/{chunk-ggxdrm0c.js → chunk-mmrwaa9h.js} +2 -2
- package/dist/{chunk-y81242w2.js → chunk-mq0npf36.js} +2 -2
- package/dist/{chunk-w1dvg42z.js → chunk-mrwawq46.js} +2 -2
- package/dist/{chunk-2efda0yv.js → chunk-mt01qph9.js} +2 -2
- package/dist/chunk-n88j8hsd.js +2 -0
- package/dist/{chunk-f84mdhkx.js → chunk-n8fe2njr.js} +2 -2
- package/dist/{chunk-0brr8j8e.js → chunk-nef7y6mg.js} +2 -2
- package/dist/{chunk-016v1nnv.js → chunk-nhz4egjh.js} +3 -3
- package/dist/chunk-nvsws1yg.js +2 -0
- package/dist/{chunk-srqs8z90.js → chunk-p02bdewy.js} +2 -2
- package/dist/{chunk-s520nawn.js → chunk-p216frcj.js} +2 -2
- package/dist/{chunk-cr0pb6g0.js → chunk-pae2hjvq.js} +2 -2
- package/dist/{chunk-7dmshm2n.js → chunk-pr6qwqpj.js} +2 -2
- package/dist/{chunk-06kse58j.js → chunk-pr7xj1fn.js} +2 -2
- package/dist/{chunk-kvwyryw2.js → chunk-prwzyc7q.js} +2 -2
- package/dist/{chunk-tzb4b5ve.js → chunk-ptdx40ae.js} +2 -2
- package/dist/{chunk-hjbq9ez1.js → chunk-q61xz251.js} +2 -2
- package/dist/{chunk-fy8dmpv3.js → chunk-q78ng7mn.js} +2 -2
- package/dist/{chunk-8s74mbzh.js → chunk-qd9s7wmj.js} +3 -3
- package/dist/{chunk-698pt406.js → chunk-qwjz3jsz.js} +2 -2
- package/dist/{chunk-4vfrxhj4.js → chunk-r0dg1bjd.js} +2 -2
- package/dist/{chunk-kdcde4s5.js → chunk-r5q65gf3.js} +2 -2
- package/dist/{chunk-ky3n1mza.js → chunk-r7g85s0a.js} +2 -2
- package/dist/{chunk-v6x7x69b.js → chunk-r8gnmyb1.js} +2 -2
- package/dist/{chunk-51s7qck0.js → chunk-r8sq654w.js} +2 -2
- package/dist/{chunk-apd3qtd1.js → chunk-rd51rvde.js} +2 -2
- package/dist/{chunk-sjhjjhan.js → chunk-re4vc51w.js} +2 -2
- package/dist/{chunk-179a1053.js → chunk-rr5ek064.js} +2 -2
- package/dist/{chunk-9pm3vzgx.js → chunk-rt9dn0b3.js} +3 -3
- package/dist/{chunk-cfj92m1y.js → chunk-sbyp6k8w.js} +2 -2
- package/dist/{chunk-12bfnfbk.js → chunk-sgmh6sa8.js} +2 -2
- package/dist/{chunk-5p53j8mf.js → chunk-ske5z0gp.js} +2 -2
- package/dist/chunk-t1qj0vqe.js +2 -0
- package/dist/{chunk-5hjk7xnq.js → chunk-t2ej667n.js} +2 -2
- package/dist/{chunk-5c14j9ws.js → chunk-tab23kkx.js} +2 -2
- package/dist/{chunk-enc99kvz.js → chunk-tj0530fn.js} +2 -2
- package/dist/{chunk-2ad4fb9z.js → chunk-tjt1s9qs.js} +2 -2
- package/dist/{chunk-8q5zwkry.js → chunk-tz1gzwas.js} +2 -2
- package/dist/{chunk-jgf77q2w.js → chunk-v4tznge3.js} +3 -3
- package/dist/{chunk-tszqev50.js → chunk-vab1ysnz.js} +2 -2
- package/dist/{chunk-xg6ayxsy.js → chunk-vb9mn75j.js} +2 -2
- package/dist/{chunk-zr999cgt.js → chunk-vedvkp9e.js} +3 -3
- package/dist/{chunk-pe79c1re.js → chunk-vgea7ggq.js} +2 -2
- package/dist/{chunk-1pnbntv2.js → chunk-vnd6smsp.js} +2 -2
- package/dist/{chunk-x4bzkzbt.js → chunk-vys8kfkp.js} +2 -2
- package/dist/{chunk-twwcd2qv.js → chunk-w1ga47ww.js} +2 -2
- package/dist/{chunk-cjj5bxdb.js → chunk-w2bgfpdh.js} +2 -2
- package/dist/{chunk-1jznzjzn.js → chunk-w83nb5a8.js} +2 -2
- package/dist/{chunk-d9q9qgm1.js → chunk-wj9s8331.js} +2 -2
- package/dist/{chunk-1x9h1tbx.js → chunk-wjgrrfq9.js} +2 -2
- package/dist/{chunk-p6ffd8yn.js → chunk-wpacvdsv.js} +2 -2
- package/dist/{chunk-b7ze9dje.js → chunk-wvm6ppb3.js} +2 -2
- package/dist/{chunk-wkbxdz82.js → chunk-x2wcwpw3.js} +2 -2
- package/dist/{chunk-ayk3xaqx.js → chunk-x2x9g6vk.js} +2 -2
- package/dist/{chunk-p9x6rya1.js → chunk-x49qjrbk.js} +2 -2
- package/dist/{chunk-chg6j0zg.js → chunk-x6spt0mc.js} +2 -2
- package/dist/{chunk-9m36e0yq.js → chunk-xqb4thy8.js} +2 -2
- package/dist/{chunk-enbvjbcm.js → chunk-xqqk85kd.js} +2 -2
- package/dist/{chunk-tftgnw1w.js → chunk-y0rnvmrw.js} +2 -2
- package/dist/{chunk-vqqafkcx.js → chunk-y8p2dmw3.js} +2 -2
- package/dist/{chunk-cx3vphb1.js → chunk-ygaqqwmb.js} +2 -2
- package/dist/{chunk-72qwq3k2.js → chunk-yq4wz4n8.js} +2 -2
- package/dist/{chunk-yjbs9ze0.js → chunk-yvzkb5p5.js} +2 -2
- package/dist/{chunk-xckysrk7.js → chunk-z0q7ghbg.js} +2 -2
- package/dist/{chunk-qmx3t5he.js → chunk-z6tw9cf9.js} +2 -2
- package/dist/{chunk-p9226dye.js → chunk-z6x70w62.js} +2 -2
- package/dist/{chunk-02ttte9p.js → chunk-z8b3nz7t.js} +2 -2
- package/dist/{chunk-h9hz5has.js → chunk-zb0m2cqy.js} +2 -2
- package/dist/{chunk-dxpd5v1r.js → chunk-zea1chz7.js} +3 -3
- package/dist/{chunk-c531krny.js → chunk-zg0tv3sj.js} +3 -3
- package/dist/{chunk-rsbced6k.js → chunk-zk395v8p.js} +2 -2
- package/dist/{chunk-zhf7403q.js → chunk-zqpcrtde.js} +2 -2
- package/dist/{chunk-pwk7epmy.js → chunk-zv3bm3np.js} +2 -2
- package/dist/{chunk-0rp62g6e.js → chunk-zy6qme7n.js} +2 -2
- package/dist/{chunk-4hasepkm.js → chunk-zyn0ys4m.js} +2 -2
- package/dist/{chunk-gm6145td.js → chunk-zyyn9t8n.js} +3 -3
- package/dist/client.js +1 -1
- package/dist/codex/activity-group.js +1 -1
- package/dist/codex/artifact-links.js +1 -1
- package/dist/codex/assistant-message.js +1 -1
- package/dist/codex/async-question-card.js +1 -1
- package/dist/codex/edited-files-card.js +1 -1
- package/dist/codex/image-view-activity.js +1 -1
- package/dist/codex/markdown-renderer.js +1 -1
- package/dist/codex/navigation-audio.js +1 -1
- package/dist/codex/navigation-preview.js +1 -1
- package/dist/codex/navigation-rail.js +1 -1
- package/dist/codex/patch-view.js +1 -1
- package/dist/codex/timeline-virtualizer.js +1 -1
- package/dist/codex/turn-activity.js +1 -1
- package/dist/codex/user-message.js +1 -1
- package/dist/codex/virtualized-turn-list.js +1 -1
- package/dist/collections/collection-emoji.js +1 -1
- package/dist/collections/collection-menu.js +1 -1
- package/dist/collections/collection-panel.js +1 -1
- package/dist/collections/collections.js +1 -1
- package/dist/collections/host.js +1 -1
- package/dist/collections/model.js +1 -1
- package/dist/collections/store.js +1 -1
- package/dist/composer/completion-filter.js +1 -1
- package/dist/composer/completion-menu.js +1 -1
- package/dist/composer/completion-trigger.js +1 -1
- package/dist/composer/effort-slider.js +1 -1
- package/dist/composer/inline-document.js +1 -1
- package/dist/composer/inline-dom.js +1 -1
- package/dist/composer/model-select.js +1 -1
- package/dist/composer/permission-mode-select.js +1 -1
- package/dist/composer/prompt-input-attachments.js +1 -1
- package/dist/composer/prompt-input-clipboard.js +1 -1
- package/dist/composer/prompt-input-context.js +1 -1
- package/dist/composer/prompt-input-inline.js +1 -1
- package/dist/composer/prompt-input-textarea.js +1 -1
- package/dist/composer/prompt-input.js +1 -1
- package/dist/conversation/action-card.js +1 -1
- package/dist/conversation/composer/app-mentions.js +1 -1
- package/dist/conversation/composer/apps-menu.js +1 -1
- package/dist/conversation/composer/composer-menu.js +1 -1
- package/dist/conversation/composer/composer.js +1 -1
- package/dist/conversation/composer/context.js +1 -1
- package/dist/conversation/composer/drafts.js +1 -1
- package/dist/conversation/composer/file-items.js +1 -1
- package/dist/conversation/composer/long-text.js +1 -1
- package/dist/conversation/composer/mention-chips.js +1 -1
- package/dist/conversation/composer/mention-uri.js +1 -1
- package/dist/conversation/composer/model-menu.js +1 -1
- package/dist/conversation/composer/pasted-text-attachment.js +1 -1
- package/dist/conversation/composer/permission-mode-menu.js +1 -1
- package/dist/conversation/composer/prediction.js +1 -1
- package/dist/conversation/composer/prompt-history.js +1 -1
- package/dist/conversation/composer/slash-command-button.js +1 -1
- package/dist/conversation/composer/submit-button.js +1 -1
- package/dist/conversation/composer/usage-meter.js +1 -1
- package/dist/conversation/connection-notice.js +1 -1
- package/dist/conversation/context.js +1 -1
- package/dist/conversation/conversation-body.js +1 -1
- package/dist/conversation/conversation-search.js +1 -1
- package/dist/conversation/conversation-view.js +1 -1
- package/dist/conversation/conversation.js +1 -1
- package/dist/conversation/diff-modal.js +1 -1
- package/dist/conversation/draft-project-picker.js +1 -1
- package/dist/conversation/session-actions.js +1 -1
- package/dist/conversation/subagent-sessions.js +1 -1
- package/dist/conversation/subagent-tasks.js +1 -1
- package/dist/desktop/desktop-composer.js +1 -1
- package/dist/desktop/desktop.js +1 -1
- package/dist/desktop/draft-model-select.js +1 -1
- package/dist/desktop/load-image.js +1 -1
- package/dist/desktop/model-catalog.js +1 -1
- package/dist/desktop/model-recovery.js +1 -1
- package/dist/desktop/model-settings-action.js +1 -1
- package/dist/desktop/native-file-drop.js +1 -1
- package/dist/generated/commands.d.ts +65 -65
- package/dist/generated/commands.js +1 -1
- package/dist/image-lightbox.js +1 -1
- package/dist/image-preview-dialog.js +1 -1
- package/dist/image.js +1 -1
- package/dist/lib/app-reference.js +1 -1
- package/dist/lib/application-metadata.js +1 -1
- package/dist/lib/chat-path.js +1 -1
- package/dist/lib/code-highlighter.js +1 -1
- package/dist/lib/fuzzy.js +1 -1
- package/dist/lib/group-blocks.js +1 -1
- package/dist/lib/image-encode.js +1 -1
- package/dist/lib/limits.js +1 -1
- package/dist/lib/markdown-parser.js +1 -1
- package/dist/lib/markdown-rules.js +1 -1
- package/dist/lib/model-name.js +1 -1
- package/dist/lib/pointer-centered-zoom.js +1 -1
- package/dist/lib/prepare-prompt-files.js +1 -1
- package/dist/lib/reference-presentation.js +1 -1
- package/dist/lib/stream-style.js +1 -1
- package/dist/lib/streaming-markdown.js +1 -1
- package/dist/lib/tool-artifacts.js +1 -1
- package/dist/mermaid/diagram.js +1 -1
- package/dist/mermaid/export.js +1 -1
- package/dist/mermaid/index.js +1 -1
- package/dist/mermaid/preview.js +1 -1
- package/dist/oauth/claude-login.js +1 -1
- package/dist/oauth.js +1 -1
- package/dist/plugins/catalog-header.js +1 -1
- package/dist/plugins/catalog-skeleton.js +1 -1
- package/dist/plugins/host.js +1 -1
- package/dist/plugins/new-chat-directory.js +1 -1
- package/dist/plugins/panel-item.js +1 -1
- package/dist/plugins/plugin-detail-page.js +1 -1
- package/dist/plugins/plugin-icon.js +1 -1
- package/dist/plugins/plugin-icons.js +1 -1
- package/dist/plugins/plugins-page.js +1 -1
- package/dist/plugins/plugins.js +1 -1
- package/dist/plugins/read-skill-document.js +1 -1
- package/dist/plugins/skill-document.js +1 -1
- package/dist/plugins/skills-tab.js +1 -1
- package/dist/plugins/store.js +1 -1
- package/dist/reference-projection.js +1 -1
- package/dist/search/chat-search.js +1 -1
- package/dist/search/codex-source-matches.js +1 -1
- package/dist/search/dom-matches.js +1 -1
- package/dist/search/find-bar.js +1 -1
- package/dist/search/literal-matches.js +1 -1
- package/dist/session-list/account-menu.js +1 -1
- package/dist/session-list/activity-list.js +1 -1
- package/dist/session-list/archived-sessions.js +1 -1
- package/dist/session-list/help-menu.js +1 -1
- package/dist/session-list/host.js +1 -1
- package/dist/session-list/hover-info-card.js +1 -1
- package/dist/session-list/navigation-controls.js +1 -1
- package/dist/session-list/navigation-header.js +1 -1
- package/dist/session-list/navigation-store.js +1 -1
- package/dist/session-list/navigation-tabs.js +1 -1
- package/dist/session-list/navigation.js +1 -1
- package/dist/session-list/platform.js +1 -1
- package/dist/session-list/session-groups.js +1 -1
- package/dist/session-list/session-info-card.js +1 -1
- package/dist/session-list/session-list.js +1 -1
- package/dist/session-list/session-row.js +1 -1
- package/dist/session-list/session-state-dot.js +1 -1
- package/dist/session-list/session-state-menu.js +1 -1
- package/dist/session-list/shortcut-hint.js +1 -1
- package/dist/session-list/shortcut.js +1 -1
- package/dist/session-list/sidebar-overlay.js +1 -1
- package/dist/session-list/trailing-swap.js +1 -1
- package/dist/session-list/use-activity-notification.js +1 -1
- package/dist/session-list/use-activity-preview.js +1 -1
- package/dist/session-list/use-cmd-held.js +1 -1
- package/dist/session-list/use-project-sessions.js +1 -1
- package/dist/session-list/virtual-session-rows.js +1 -1
- package/dist/session-timeline/activity-group.js +1 -1
- package/dist/session-timeline/activity-projection.js +1 -1
- package/dist/session-timeline/assistant-content.js +1 -1
- package/dist/session-timeline/assistant-image-references.js +1 -1
- package/dist/session-timeline/assistant-turn.js +1 -1
- package/dist/session-timeline/async-questions.js +1 -1
- package/dist/session-timeline/edited-files-card.js +1 -1
- package/dist/session-timeline/history-timeline.js +1 -1
- package/dist/session-timeline/host.js +1 -1
- package/dist/session-timeline/image-generation-progress.js +1 -1
- package/dist/session-timeline/navigation-rail.js +1 -1
- package/dist/session-timeline/plan.js +1 -1
- package/dist/session-timeline/question-reply.js +1 -1
- package/dist/session-timeline/resource-content.js +1 -1
- package/dist/session-timeline/session-timeline.js +1 -1
- package/dist/session-timeline/timeline-registry.js +1 -1
- package/dist/session-timeline/turn-activity.js +1 -1
- package/dist/session-timeline/turn-error.js +1 -1
- package/dist/session-timeline/turn-retry.js +1 -1
- package/dist/session-timeline/turn-time.js +1 -1
- package/dist/session-timeline/turns.js +1 -1
- package/dist/session-timeline/use-timeline-scroll.js +1 -1
- package/dist/session-timeline/user-message.js +1 -1
- package/dist/settings/codex-account-card.js +1 -1
- package/dist/settings/login-card.js +1 -1
- package/dist/settings/model-alias-settings.js +1 -1
- package/dist/settings/model-aliases.js +1 -1
- package/dist/settings/provider-logos.d.ts +3 -1
- package/dist/settings/provider-logos.js +1 -1
- package/dist/settings/provider-section.js +1 -1
- package/dist/settings/providers-port.js +1 -1
- package/dist/settings/providers.d.ts +2 -4
- package/dist/settings/providers.js +1 -1
- package/dist/settings/settings-bridge.js +1 -1
- package/dist/settings/settings.d.ts +1 -1
- package/dist/settings/settings.js +1 -1
- package/dist/stage.d.ts +30 -0
- package/dist/stage.js +2 -1
- package/native/darwin-arm64/THIRD_PARTY_NOTICES.md +5 -5
- package/native/darwin-arm64/artifact.json +1 -1
- package/native/darwin-arm64/libalwith_native_chat.dylib +0 -0
- package/native/win32-x64/THIRD_PARTY_NOTICES.md +5 -5
- package/native/win32-x64/alwith_native_chat.dll +0 -0
- package/native/win32-x64/artifact.json +1 -1
- package/package.json +3 -3
- package/assets/catalogs/openrouter/models.json +0 -215
- package/dist/chunk-1wk1yw69.js +0 -2
- package/dist/chunk-2qa3c571.js +0 -2
- package/dist/chunk-5t2ge7gg.js +0 -2
- package/dist/chunk-680e6bz4.js +0 -2
- package/dist/chunk-6ewv4vns.js +0 -2
- package/dist/chunk-6wsr59dr.js +0 -2
- package/dist/chunk-7d61ydjw.js +0 -2
- package/dist/chunk-hpcvfjxz.js +0 -4
- package/dist/chunk-jnpkpe5t.js +0 -2
- package/dist/chunk-jp2s1xsa.js +0 -2
- package/dist/chunk-ky4j58wz.js +0 -2
- package/dist/chunk-p0v9d7e1.js +0 -2
- package/dist/chunk-qj87dxrr.js +0 -2
- package/dist/chunk-qth2ames.js +0 -2
- package/dist/chunk-qyfkwznx.js +0 -2
- package/dist/chunk-r26hz85q.js +0 -2
- package/dist/chunk-rayhzb8p.js +0 -2
- package/dist/chunk-wg223rq3.js +0 -2
- package/dist/chunk-wv6ntscn.js +0 -2
- package/dist/chunk-wvm8srp7.js +0 -2
- package/dist/chunk-x03z0hme.js +0 -2
- package/dist/chunk-zdqjjwx0.js +0 -2
- /package/native/darwin-arm64/licenses/{bytes-1.12.1 → bytes-1.12.2}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{rand_pcg-0.10.2 → rand_pcg-0.10.3}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{rand_pcg-0.10.2 → rand_pcg-0.10.3}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{smallvec-1.16.5 → smallvec-1.16.6}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{smallvec-1.16.5 → smallvec-1.16.6}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{zeroize-1.9.1 → zeroize-1.9.2}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{zeroize-1.9.1 → zeroize-1.9.2}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{zip-9.6.0 → zip-9.7.2}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{bytes-1.12.1 → bytes-1.12.2}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{rand_pcg-0.10.2 → rand_pcg-0.10.3}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{rand_pcg-0.10.2 → rand_pcg-0.10.3}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{smallvec-1.16.5 → smallvec-1.16.6}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{smallvec-1.16.5 → smallvec-1.16.6}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{zeroize-1.9.1 → zeroize-1.9.2}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{zeroize-1.9.1 → zeroize-1.9.2}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{zip-9.6.0 → zip-9.7.2}/LICENSE +0 -0
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"providers": {
|
|
4
|
+
"anthropic": {
|
|
5
|
+
"models": [
|
|
6
|
+
{
|
|
7
|
+
"id": "claude-opus-5-5",
|
|
8
|
+
"name": "Claude Opus 5.5",
|
|
9
|
+
"label": "Opus 5.5",
|
|
10
|
+
"description": "Anthropic's default model for coding and agentic work.",
|
|
11
|
+
"context_length": 1000000,
|
|
12
|
+
"input_modalities": [
|
|
13
|
+
"text",
|
|
14
|
+
"image"
|
|
15
|
+
],
|
|
16
|
+
"reasoning": {
|
|
17
|
+
"supported_efforts": [
|
|
18
|
+
"low",
|
|
19
|
+
"medium",
|
|
20
|
+
"high",
|
|
21
|
+
"xhigh",
|
|
22
|
+
"max"
|
|
23
|
+
],
|
|
24
|
+
"default_effort": "medium"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "claude-sonnet-5-5",
|
|
29
|
+
"name": "Claude Sonnet 5.5",
|
|
30
|
+
"label": "Sonnet 5.5",
|
|
31
|
+
"description": "Speed and capability for everyday coding and agent work.",
|
|
32
|
+
"context_length": 1000000,
|
|
33
|
+
"input_modalities": [
|
|
34
|
+
"text",
|
|
35
|
+
"image"
|
|
36
|
+
],
|
|
37
|
+
"reasoning": {
|
|
38
|
+
"supported_efforts": [
|
|
39
|
+
"low",
|
|
40
|
+
"medium",
|
|
41
|
+
"high",
|
|
42
|
+
"xhigh",
|
|
43
|
+
"max"
|
|
44
|
+
],
|
|
45
|
+
"default_effort": "high"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "claude-haiku-5-5",
|
|
50
|
+
"name": "Claude Haiku 5.5",
|
|
51
|
+
"label": "Haiku 5.5",
|
|
52
|
+
"description": "Anthropic's fastest and lowest-cost model.",
|
|
53
|
+
"context_length": 1000000,
|
|
54
|
+
"input_modalities": [
|
|
55
|
+
"text",
|
|
56
|
+
"image"
|
|
57
|
+
],
|
|
58
|
+
"reasoning": {
|
|
59
|
+
"supported_efforts": [
|
|
60
|
+
"low",
|
|
61
|
+
"medium",
|
|
62
|
+
"high",
|
|
63
|
+
"xhigh",
|
|
64
|
+
"max"
|
|
65
|
+
],
|
|
66
|
+
"default_effort": "medium"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "claude-fable-5-2",
|
|
71
|
+
"name": "Claude Fable 5.2",
|
|
72
|
+
"label": "Fable 5.2",
|
|
73
|
+
"description": "Anthropic's most capable model for the most demanding work.",
|
|
74
|
+
"context_length": 1000000,
|
|
75
|
+
"input_modalities": [
|
|
76
|
+
"text",
|
|
77
|
+
"image"
|
|
78
|
+
],
|
|
79
|
+
"reasoning": {
|
|
80
|
+
"supported_efforts": [
|
|
81
|
+
"low",
|
|
82
|
+
"medium",
|
|
83
|
+
"high",
|
|
84
|
+
"xhigh",
|
|
85
|
+
"max"
|
|
86
|
+
],
|
|
87
|
+
"default_effort": "high"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"deepseek": {
|
|
93
|
+
"models": [
|
|
94
|
+
{
|
|
95
|
+
"id": "deepseek-flash",
|
|
96
|
+
"name": "DeepSeek-Flash",
|
|
97
|
+
"label": "Flash",
|
|
98
|
+
"description": "Latest frontier agentic coding model with image input.",
|
|
99
|
+
"context_length": 1048576,
|
|
100
|
+
"input_modalities": [
|
|
101
|
+
"text",
|
|
102
|
+
"image"
|
|
103
|
+
],
|
|
104
|
+
"reasoning": {
|
|
105
|
+
"supported_efforts": [
|
|
106
|
+
"low",
|
|
107
|
+
"high",
|
|
108
|
+
"max"
|
|
109
|
+
],
|
|
110
|
+
"default_effort": "high"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"doubao": {
|
|
116
|
+
"models": [
|
|
117
|
+
{
|
|
118
|
+
"id": "doubao-seed-2-1-pro-260915",
|
|
119
|
+
"name": "Doubao Seed 2.1 Pro",
|
|
120
|
+
"label": "2.1 Pro",
|
|
121
|
+
"context_length": 1024000,
|
|
122
|
+
"input_modalities": [
|
|
123
|
+
"text",
|
|
124
|
+
"image"
|
|
125
|
+
],
|
|
126
|
+
"reasoning": {
|
|
127
|
+
"supported_efforts": [
|
|
128
|
+
"minimal",
|
|
129
|
+
"low",
|
|
130
|
+
"medium",
|
|
131
|
+
"high"
|
|
132
|
+
],
|
|
133
|
+
"default_effort": "high"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "doubao-seed-2-1-lite-260915",
|
|
138
|
+
"name": "Doubao Seed 2.1 Lite",
|
|
139
|
+
"label": "2.1 Lite",
|
|
140
|
+
"context_length": 1024000,
|
|
141
|
+
"input_modalities": [
|
|
142
|
+
"text",
|
|
143
|
+
"image"
|
|
144
|
+
],
|
|
145
|
+
"reasoning": {
|
|
146
|
+
"supported_efforts": [
|
|
147
|
+
"minimal",
|
|
148
|
+
"low",
|
|
149
|
+
"medium",
|
|
150
|
+
"high"
|
|
151
|
+
],
|
|
152
|
+
"default_effort": "high"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"doubao-coding": {
|
|
158
|
+
"models": [
|
|
159
|
+
{
|
|
160
|
+
"id": "doubao-seed-2.1-pro",
|
|
161
|
+
"name": "Doubao Seed 2.1 Pro",
|
|
162
|
+
"label": "2.1 Pro",
|
|
163
|
+
"context_length": 1024000,
|
|
164
|
+
"input_modalities": [
|
|
165
|
+
"text",
|
|
166
|
+
"image"
|
|
167
|
+
],
|
|
168
|
+
"reasoning": {
|
|
169
|
+
"supported_efforts": [
|
|
170
|
+
"minimal",
|
|
171
|
+
"low",
|
|
172
|
+
"medium",
|
|
173
|
+
"high"
|
|
174
|
+
],
|
|
175
|
+
"default_effort": "high"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "doubao-seed-2.1-lite",
|
|
180
|
+
"name": "Doubao Seed 2.1 Lite",
|
|
181
|
+
"label": "2.1 Lite",
|
|
182
|
+
"context_length": 1024000,
|
|
183
|
+
"input_modalities": [
|
|
184
|
+
"text",
|
|
185
|
+
"image"
|
|
186
|
+
],
|
|
187
|
+
"reasoning": {
|
|
188
|
+
"supported_efforts": [
|
|
189
|
+
"minimal",
|
|
190
|
+
"low",
|
|
191
|
+
"medium",
|
|
192
|
+
"high"
|
|
193
|
+
],
|
|
194
|
+
"default_effort": "high"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"kimi": {
|
|
200
|
+
"models": [
|
|
201
|
+
{
|
|
202
|
+
"id": "kimi-k3.1-pro",
|
|
203
|
+
"name": "Kimi K3.1 Pro",
|
|
204
|
+
"label": "K3.1 Pro",
|
|
205
|
+
"context_length": 1048576,
|
|
206
|
+
"input_modalities": [
|
|
207
|
+
"text",
|
|
208
|
+
"image"
|
|
209
|
+
],
|
|
210
|
+
"reasoning": {
|
|
211
|
+
"supported_efforts": [
|
|
212
|
+
"low",
|
|
213
|
+
"high",
|
|
214
|
+
"max"
|
|
215
|
+
],
|
|
216
|
+
"default_effort": "max"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"id": "kimi-k3",
|
|
221
|
+
"name": "Kimi K3",
|
|
222
|
+
"label": "K3",
|
|
223
|
+
"context_length": 1048576,
|
|
224
|
+
"input_modalities": [
|
|
225
|
+
"text",
|
|
226
|
+
"image"
|
|
227
|
+
],
|
|
228
|
+
"reasoning": {
|
|
229
|
+
"supported_efforts": [
|
|
230
|
+
"low",
|
|
231
|
+
"high",
|
|
232
|
+
"max"
|
|
233
|
+
],
|
|
234
|
+
"default_effort": "max"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"minimax": {
|
|
240
|
+
"models": [
|
|
241
|
+
{
|
|
242
|
+
"id": "MiniMax-M3.1-Flash",
|
|
243
|
+
"name": "MiniMax M3.1 Flash",
|
|
244
|
+
"label": "M3.1 Flash",
|
|
245
|
+
"context_length": 1000000,
|
|
246
|
+
"input_modalities": [
|
|
247
|
+
"text",
|
|
248
|
+
"image"
|
|
249
|
+
],
|
|
250
|
+
"reasoning": {
|
|
251
|
+
"supported_efforts": [
|
|
252
|
+
"low",
|
|
253
|
+
"medium",
|
|
254
|
+
"high",
|
|
255
|
+
"xhigh",
|
|
256
|
+
"max"
|
|
257
|
+
],
|
|
258
|
+
"default_effort": "max"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "MiniMax-M3",
|
|
263
|
+
"name": "MiniMax M3",
|
|
264
|
+
"label": "M3",
|
|
265
|
+
"context_length": 1000000,
|
|
266
|
+
"input_modalities": [
|
|
267
|
+
"text",
|
|
268
|
+
"image"
|
|
269
|
+
],
|
|
270
|
+
"reasoning": {
|
|
271
|
+
"supported_efforts": [],
|
|
272
|
+
"default_effort": "high"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"qwen": {
|
|
278
|
+
"models": [
|
|
279
|
+
{
|
|
280
|
+
"id": "qwen4-max",
|
|
281
|
+
"label": "4 Max",
|
|
282
|
+
"context_length": 1000000,
|
|
283
|
+
"input_modalities": [
|
|
284
|
+
"text",
|
|
285
|
+
"image"
|
|
286
|
+
],
|
|
287
|
+
"reasoning": {
|
|
288
|
+
"supported_efforts": [
|
|
289
|
+
"none",
|
|
290
|
+
"low",
|
|
291
|
+
"high",
|
|
292
|
+
"xhigh"
|
|
293
|
+
],
|
|
294
|
+
"default_effort": "high",
|
|
295
|
+
"summary": true
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"id": "qwen3.8-flash",
|
|
300
|
+
"label": "3.8 Flash",
|
|
301
|
+
"input_modalities": [
|
|
302
|
+
"text",
|
|
303
|
+
"image"
|
|
304
|
+
],
|
|
305
|
+
"reasoning": {
|
|
306
|
+
"supported_efforts": [
|
|
307
|
+
"none",
|
|
308
|
+
"low",
|
|
309
|
+
"medium",
|
|
310
|
+
"xhigh"
|
|
311
|
+
],
|
|
312
|
+
"default_effort": "xhigh"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"xai": {
|
|
318
|
+
"models": [
|
|
319
|
+
{
|
|
320
|
+
"id": "grok-4.6",
|
|
321
|
+
"label": "Grok 4.6",
|
|
322
|
+
"context_length": 500000,
|
|
323
|
+
"input_modalities": [
|
|
324
|
+
"text",
|
|
325
|
+
"image"
|
|
326
|
+
],
|
|
327
|
+
"reasoning": {
|
|
328
|
+
"supported_efforts": [
|
|
329
|
+
"low",
|
|
330
|
+
"medium",
|
|
331
|
+
"high",
|
|
332
|
+
"xhigh"
|
|
333
|
+
],
|
|
334
|
+
"default_effort": "high"
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"zhipu": {
|
|
340
|
+
"models": [
|
|
341
|
+
{
|
|
342
|
+
"id": "glm-5.3",
|
|
343
|
+
"name": "GLM-5.3",
|
|
344
|
+
"label": "5.3",
|
|
345
|
+
"context_length": 1000000,
|
|
346
|
+
"input_modalities": [
|
|
347
|
+
"text"
|
|
348
|
+
],
|
|
349
|
+
"reasoning": {
|
|
350
|
+
"supported_efforts": [
|
|
351
|
+
"low",
|
|
352
|
+
"high",
|
|
353
|
+
"max"
|
|
354
|
+
],
|
|
355
|
+
"default_effort": "max"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"id": "glm-5.3-flash",
|
|
360
|
+
"name": "GLM-5.3-Flash",
|
|
361
|
+
"label": "5.3 Flash",
|
|
362
|
+
"context_length": 1000000,
|
|
363
|
+
"input_modalities": [
|
|
364
|
+
"text",
|
|
365
|
+
"image"
|
|
366
|
+
],
|
|
367
|
+
"reasoning": {
|
|
368
|
+
"supported_efforts": [
|
|
369
|
+
"low",
|
|
370
|
+
"high",
|
|
371
|
+
"max"
|
|
372
|
+
],
|
|
373
|
+
"default_effort": "max"
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
package/dist/activity-host.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ws,c,F}from"./chunk-5rzy2287.js";export{ws as ActivityHostProvider,F as ActivityMarkdown,c as useActivityHost};
|
package/dist/agent/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x,
|
|
1
|
+
import{x,Ui}from"../chunk-2rjg9fs9.js";import"../chunk-ad53zbdb.js";import"../chunk-w2bgfpdh.js";import"../chunk-2dnzdsrv.js";import"../chunk-ske5z0gp.js";import"../chunk-j4ejwthn.js";import"../chunk-y0rnvmrw.js";import"../chunk-gfkx1z04.js";import"../chunk-nvsws1yg.js";import"../chunk-56jqg70p.js";import"../chunk-t2ej667n.js";import"../chunk-fcy6mh2e.js";import"../chunk-r7g85s0a.js";import"../chunk-n8fe2njr.js";import"../chunk-ksq9a3pf.js";import"../chunk-n88j8hsd.js";export{Ui as CodexClient,x as NATIVE_MODEL_GROUP};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it}from"../chunk-ksq9a3pf.js";export{it as customModelEffort};
|
package/dist/agent/fork-title.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Dn}from"../chunk-y0rnvmrw.js";export{Dn as forkTitle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{zi,co,Vi}from"../chunk-2dnzdsrv.js";export{zi as IMAGE_WORKFLOW_INSTRUCTIONS,Vi as imageGenerationPrompt,co as imageRequestAspect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Gi}from"../chunk-w2bgfpdh.js";import"../chunk-2dnzdsrv.js";import"../chunk-t2ej667n.js";import"../chunk-n8fe2njr.js";import"../chunk-n88j8hsd.js";export{Gi as createImageTool};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$i,Rn}from"../chunk-ske5z0gp.js";export{$i as parseInputConfig,Rn as parseInputSnapshot};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{qi}from"../../chunk-fcy6mh2e.js";import"../../chunk-r7g85s0a.js";export{qi as chatInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{uo}from"../../chunk-gfkx1z04.js";export{uo as executionMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bt}from"../../chunk-r7g85s0a.js";export{bt as imageApplicationContext};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{fe}from"../../chunk-
|
|
1
|
+
import{fe}from"../../chunk-56jqg70p.js";import"../../chunk-t2ej667n.js";import"../../chunk-r7g85s0a.js";import"../../chunk-n88j8hsd.js";export{fe as imageInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ot,Ue,xa}from"../../chunk-nvsws1yg.js";import"../../chunk-56jqg70p.js";import"../../chunk-t2ej667n.js";import"../../chunk-fcy6mh2e.js";import"../../chunk-r7g85s0a.js";import"../../chunk-n88j8hsd.js";export{Ue as inputModeDefinition,ot as isInputMode,xa as resolveInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ks}from"../chunk-zv3bm3np.js";export{ks as macProjectPaths};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{te,
|
|
1
|
+
import{te,Ln,ya}from"../chunk-j4ejwthn.js";export{ya as explainRequestError,te as isAuthenticationRequired,Ln as isModelSelectionRequired};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ss}from"../chunk-52wrk1mh.js";export{Ss as watchSessionList};
|
package/dist/app-reference.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{xe}from"./chunk-
|
|
1
|
+
import{xe}from"./chunk-erdrx47j.js";import"./chunk-72xm1tz1.js";import"./chunk-k3fwyr6s.js";export{xe as AppReferenceBadge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fn,po,mo}from"./chunk-n8fe2njr.js";export{po as APPLICATION_SERVER_NAME,mo as ApplicationToolRegistry,Fn as defineApplicationTool};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bi,oo,Ye,ln}from"../chunk-7hhc8y2n.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?bi(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(!Ye(i)){let c=ln(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(Ye(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(Ye(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=ln(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=ln(r),m=Ye(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:oo(r).title??e}),s("div",{className:"text-foreground text-sm font-medium",children:oo(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{
|
|
1
|
+
import{bi,oo,Ye,ln}from"../chunk-7hhc8y2n.js";export{bi as elicitationFields,oo as elicitationLabels,ln as elicitationOptions,Ye as isMultiSelect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aa,_i,ja,Ka}from"../chunk-1xgm6fpr.js";export{aa as PERMISSION_KIND_GROUP_ORDER,ja as isAllowKind,Ka as isAlwaysKind,_i as sortPermissionOptions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ki}from"../chunk-9jth6sk7.js";import"../chunk-1xgm6fpr.js";export{ki as PermissionView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ia,
|
|
1
|
+
import{Ia,la,Ta,Pi}from"../chunk-mrwawq46.js";export{Pi as SchemaElicitationForm,Ia as elicitationFields,la as initialValues,Ta as isAnswered};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Si}from"../chunk-x2wcwpw3.js";export{Si as UrlElicitationCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{e}from"./chunk-kyqf7cqh.js";import{Alert as s,AlertDescription as a,AlertTitle as p}from"@nyssance/shadcn/vega/components/ui/alert";import{Button as m}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as t,jsxs as c}from"react/jsx-runtime";function ia({connection:n,error:i,onReconnect:r,className:l="mx-auto w-full max-w-3xl px-6 pt-12"}){let{t:o}=e().host;if(n!=="failed"&&n!=="disconnected")return null;return t("div",{className:l,children:c(s,{variant:"destructive",children:[t(p,{children:n==="failed"?o("connection.failed"):o("connection.disconnected")}),c(a,{className:"flex flex-wrap items-center gap-2",children:[i!==null&&t("span",{className:"font-mono",children:i}),t(m,{size:"sm",variant:"outline",onClick:r,children:o("connection.reconnect")})]})]})})}
|
|
2
|
+
export{ia};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{A}from"./chunk-vnd6smsp.js";import{createContext as c,useContext as p,useState as f,useSyncExternalStore as x}from"react";import{Button as m}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as y,DialogContent as D,DialogDescription as L,DialogFooter as w,DialogHeader as P,DialogTitle as H}from"@nyssance/shadcn/vega/components/ui/dialog";import{jsx as i,jsxs as d}from"react/jsx-runtime";var S=c(null),g=c(null),C=c(null);function na({host:e,client:t,children:n}){let[r,l]=f(null);A(r!==null);let{t:u}=e;return i(S,{value:e,children:i(g,{value:t,children:d(C,{value:l,children:[n,i(y,{open:r!==null,onOpenChange:(v)=>!v&&l(null),children:d(D,{children:[d(P,{children:[i(H,{children:u("sessionList.deleteTitle")}),i(L,{children:u("sessionList.deleteDescription")})]}),d(w,{children:[i(m,{variant:"outline",onClick:()=>l(null),children:u("sessionList.cancel")}),i(m,{onClick:()=>{if(r)h(e,t.delete(r.sessionId));l(null)},children:u("sessionList.delete")})]})]})})]})})})}function s(){let e=p(S);if(e===null)throw Error("Session list host is missing");return e}function yi(){return p(S)}function a(){let e=p(g);if(e===null)throw Error("Session list client is missing");return e}function an(){let e=p(C);if(e===null)throw Error("Session list provider is missing");return e}function o(e){let t=a();return x((n)=>t.store.subscribe(n),()=>e(t.store.getState()),()=>e(t.store.getState()))}function h(e,t){return t.then(()=>{},(n)=>{if(e.reportError)e.reportError(n);else console.error(n)})}
|
|
2
|
+
export{na,s,yi,a,an,o,h};
|
|
@@ -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
|
|
2
|
-
export{
|
|
1
|
+
import{cn as f}from"cn";import{jsx as e,jsxs as a,Fragment as v}from"react/jsx-runtime";function on({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 B({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{on,B};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{g}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{g}from"./chunk-f67e77e6.js";import{e}from"./chunk-kyqf7cqh.js";import{p}from"./chunk-g947bnqx.js";import{isTauri as R}from"@tauri-apps/api/core";import{getCurrentWebview as M}from"@tauri-apps/api/webview";import{useEffect as j,useLayoutEffect as k,useRef as q}from"react";import{flushSync as v}from"react-dom";var z=33554432,x=new WeakMap;function U(s){return s.split(/[/\\]/).findLast((m)=>m!=="")??s}var Mn={sourcePath:(s)=>x.get(s),uniqueFiles(s,m){let u=new Set(m.map((d)=>d.sourcePath));return s.filter((d)=>{let h=x.get(d);if(h===void 0)return!0;if(u.has(h))return!1;return u.add(h),!0})}};function Nn({sessionId:s,imagesOnly:m=!1,picker:u,enabled:d,onMention:h,onBusyChange:C}){let D=g(),{host:T}=e(),o=q({sessionId:s,attachments:D,enabled:d,onMention:h,onBusyChange:C,host:T,imagesOnly:m});return k(()=>{o.current={sessionId:s,attachments:D,enabled:d,onMention:h,onBusyChange:C,host:T,imagesOnly:m}}),j(()=>{if(!R())return;let l=!1,W,S=Promise.resolve(),b=0,y=()=>!l&&o.current.sessionId===s&&o.current.enabled,w=(r)=>{let{host:i}=o.current;if(i.reportError)i.reportError(r);else console.error(r)},E=()=>w(Error(o.current.host.t("composer.dropUnavailable")));o.current.onBusyChange(!1);let F=(r)=>{b++,v(()=>o.current.onBusyChange(!0)),S=S.then(async()=>{try{let i=new Set(o.current.attachments.files.map((t)=>t.sourcePath));for(let t of new Set(await r())){let a=typeof t==="string"?t:t.name;if(!y())return;try{if(typeof t!=="string"&&t.type.startsWith("image/")){v(()=>o.current.attachments.add([t]));continue}if(typeof t!=="string"&&t.size>z)throw Error("Pasted file exceeds the 32 MiB limit");let f=typeof t==="string"?t:await p.writePastedFile({name:t.name,data:[...new Uint8Array(await t.arrayBuffer())]});if(!y())return;let c=await p.readDroppedFile({path:f});if(!y())return;if(c.image===null){if(o.current.imagesOnly)throw Error(o.current.host.t("composer.unsupportedAttachmentTitle"));v(()=>o.current.onMention(c.path))}else if(!i.has(c.path)){let A=Uint8Array.from(atob(c.image.data),(P)=>P.charCodeAt(0)),n=new File([A],c.name,{type:c.image.mimeType});x.set(n,c.path),i.add(c.path),v(()=>o.current.attachments.add([n]))}}catch(f){if(!l)w(Object.assign(Error(o.current.host.t("composer.dropFailed",{name:U(a)})),{description:f instanceof Error?f.message:String(f)}))}}}finally{if(b--,!l)v(()=>o.current.onBusyChange(b>0))}}).catch((i)=>{if(!l)w(i)})},B=(r)=>{if(!y()){E();return}if(o.current.imagesOnly&&r.some((i)=>!i.type.startsWith("image/"))){w(Error(o.current.host.t("composer.unsupportedAttachmentTitle")));return}F(()=>Promise.resolve(r))};if(u)u.current=B;let O=M().onDragDropEvent((r)=>{if(l||r.payload.type!=="drop")return;let{paths:i,position:t}=r.payload,a=document.elementFromPoint(t.x/window.devicePixelRatio,t.y/window.devicePixelRatio);if(!a?.closest("[data-chat-drop-zone]")||a.closest('[role="dialog"]'))return;if(!y()){E();return}F(()=>Promise.resolve(i))}),L=(r)=>{let i=r.target;if(!(i instanceof Element)||!i.matches("[data-chat-input]"))return;if(!i.closest("[data-chat-drop-zone]")||i.closest('[role="dialog"]'))return;let t=r.clipboardData;if(!t)return;let a=[...t.files??[]],f=[...t.items??[]];if(!(t.types.includes("Files")&&!a.length&&!f.some((n)=>n.type.startsWith("image/")))&&!a.some((n)=>!n.type.startsWith("image/"))&&!f.some((n)=>n.kind==="file"&&!n.type.startsWith("image/"))&&!["text/uri-list","x-special/gnome-copied-files"].some((n)=>t.types.includes(n)&&/^file:\/\//m.test(t.getData(n))))return;if(r.preventDefault(),r.stopPropagation(),!y()){E();return}let A=p.clipboardFilePaths().then((n)=>({value:n}),(n)=>({error:n}));F(async()=>{let n=await A;if("error"in n)throw n.error;let P=n.value;if(P.length)return P;if(a.length)return a;throw Error("The clipboard contains no readable local files")})};return document.addEventListener("paste",L,!0),O.then((r)=>{if(l)r();else W=r}).catch((r)=>{if(!l)w(r)}),()=>{if(l=!0,u?.current===B)u.current=null;document.removeEventListener("paste",L,!0),W?.()}},[s,u]),null}
|
|
2
|
+
export{Mn,Nn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{n}from"./chunk-e4ws15tg.js";import{$n,e,b}from"./chunk-kyqf7cqh.js";import{Fe}from"./chunk-cmfcnze3.js";import{mn}from"./chunk-mt01qph9.js";import{dn}from"./chunk-as2j0yp0.js";import{un,pn}from"./chunk-rt9dn0b3.js";import{cn}from"./chunk-p216frcj.js";import{LockIcon as k,UnplugIcon as O}from"lucide-react";import{useMemo as S,useRef as M}from"react";import{Alert as x,AlertDescription as C,AlertTitle as N}from"@nyssance/shadcn/vega/components/ui/alert";import{Button as h}from"@nyssance/shadcn/vega/components/ui/button";import{Empty as P,EmptyDescription as z,EmptyHeader as B,EmptyTitle as I}from"@nyssance/shadcn/vega/components/ui/empty";import{jsx as o,jsxs as r}from"react/jsx-runtime";function ra({host:t,client:c,...s}){let m=S(()=>t.openDiff?t:{...t,openDiff:un},[t]);return r($n,{host:m,client:c,children:[o(L,{...s}),!t.openDiff&&o(pn,{})]})}function L({session:t,header:c,overlay:s,timeline:m,composer:w,readOnlyActions:D,recovery:g,welcome:E,children:R,rootRef:l,search:T=!0}){let{host:d,client:A}=e(),p=M(null),H=(a)=>{if(p.current=a,typeof l==="function")l(a);else if(l)l.current=a},{t:i}=d,f=n((a)=>a.connection==="ready"),v=n((a)=>a.historyPages[t.id]?.error),y=()=>b(d,A.open(t.id,t.cwd)),u=t.items.length===0&&t.attached&&!t.restoring&&t.state==="idle";return r("div",{"data-chat-drop-zone":!0,ref:H,className:"flex h-full min-h-0 flex-col",children:[c,r("div",{className:"relative flex min-h-0 flex-1 flex-col","data-chat-content":!0,children:[T&&!u&&o(dn,{sessionId:t.id,rootRef:p}),s,f&&!t.attached&&!t.restoring&&!t.readOnly&&o("div",{className:"mx-auto my-3 w-full max-w-4xl px-4",children:r(x,{children:[o(O,{}),o(N,{children:i("conversation.stopped")}),o(C,{children:o(h,{size:"sm",variant:"outline",onClick:y,children:i("conversation.reconnect")})})]})}),u?E??o(P,{className:"flex-1",children:r(B,{children:[o(I,{className:"text-[28px] font-normal",children:i("conversation.welcomeTitle")}),o(z,{children:i("conversation.welcomeDescription")})]})}):o(mn,{session:t,timeline:m}),o(cn,{sessionId:t.id}),g??(t.readOnly?o("div",{className:"mx-auto w-full max-w-3xl shrink-0 px-6 pb-5","data-readonly-composer":!0,children:r(x,{className:"flex items-center justify-between gap-4 rounded-3xl px-5 py-4",children:[r("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[o(k,{"aria-hidden":"true",className:"size-4 shrink-0"}),r("div",{className:"min-w-0 space-y-1",children:[o(N,{children:i("conversation.readOnlyTitle")}),o(C,{children:i("conversation.readOnlyDescription")}),v&&o("p",{role:"alert",className:"text-destructive break-words",children:v})]})]}),r("div",{className:"border-border flex shrink-0 items-center gap-1 border-s ps-3","data-readonly-actions":!0,children:[o(h,{size:"sm",variant:"outline",className:"text-foreground cursor-pointer disabled:cursor-not-allowed",onClick:y,disabled:!f||t.restoring,children:i(t.restoring?"conversation.restoring":"conversation.readOnlyRetry")}),D]})]})}):w??o(Fe,{session:t}))]}),R]})}
|
|
2
|
+
export{ra};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var a=(e)=>String(e).padStart(2,"0");function
|
|
2
|
-
export{
|
|
1
|
+
var a=(e)=>String(e).padStart(2,"0");function Ot(e,l="user"){let r=e.replayed||e.items.some((t)=>t._meta?.codex&&typeof t._meta.codex==="object"&&("historyReplay"in t._meta.codex)&&t._meta.codex.historyReplay===!0),n=l==="user"?s(e.user?._meta,"messageSentAt")??(!r?e.user?.at??null:null):s(e.final.at(-1)?._meta,"messageCompletedAt")??e.items.map((t)=>s(t._meta,"turnCompletedAt")).find((t)=>t!==null)??(!r&&e.final.length>0?e.endedAt:null);if(n===null)return null;let o=new Date(n),u=o.toDateString()===new Date().toDateString();return{short:new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit",...u?{}:{month:"short",day:"numeric"}}).format(o),full:`${o.getFullYear()}-${a(o.getMonth()+1)}-${a(o.getDate())} ${a(o.getHours())}:${a(o.getMinutes())}`}}function s(e,l){let r=e?.codex;if(typeof r!=="object"||r===null)return null;let n=r[l];return typeof n==="number"&&Number.isFinite(n)&&Math.abs(n)<=8640000000000000?n:null}
|
|
2
|
+
export{Ot};
|