@alwith/module-chat 0.6.33 → 0.6.35
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 +1 -1
- 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.d.ts +2 -0
- package/dist/activity-host.js +1 -1
- package/dist/agent/client.d.ts +2 -0
- 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.d.ts +3 -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-0sb0c014.js} +2 -2
- package/dist/{chunk-exrt8sd0.js → chunk-0xztk729.js} +2 -2
- package/dist/chunk-18gcnf2a.js +2 -0
- package/dist/{chunk-7r3k37ys.js → chunk-1a46v4cy.js} +2 -2
- package/dist/chunk-1b3frq9c.js +3 -0
- package/dist/{chunk-016v1nnv.js → chunk-1vwece23.js} +6 -6
- package/dist/{chunk-b7ze9dje.js → chunk-20dc4fm0.js} +2 -2
- package/dist/{chunk-pe6ex52z.js → chunk-22nybrkv.js} +5 -5
- package/dist/{chunk-tszqev50.js → chunk-23kvszfc.js} +1 -1
- package/dist/chunk-2nq204hz.js +2 -0
- package/dist/{chunk-pxbr08fz.js → chunk-2nv5ebq1.js} +2 -2
- package/dist/chunk-33fxyn5r.js +2 -0
- package/dist/chunk-359pf448.js +2 -0
- package/dist/{chunk-n8b9yg4q.js → chunk-3knw8e0x.js} +2 -2
- package/dist/{chunk-xjbf9h6m.js → chunk-3kytka7m.js} +3 -3
- package/dist/{chunk-y81242w2.js → chunk-3sq2k9ca.js} +2 -2
- package/dist/{chunk-pe79c1re.js → chunk-3t3n8nfy.js} +2 -2
- package/dist/{chunk-9n8cds8p.js → chunk-3tvq6xr2.js} +2 -2
- package/dist/{chunk-qm0zd4wj.js → chunk-482segb0.js} +2 -2
- package/dist/{chunk-w2z3sxdq.js → chunk-4chmr87g.js} +2 -2
- package/dist/chunk-4g2412p5.js +2 -0
- package/dist/chunk-4ma6bmcm.js +2 -0
- package/dist/{chunk-9b8gnrcb.js → chunk-54jfqcd1.js} +2 -2
- package/dist/chunk-5mxh7h57.js +2 -0
- package/dist/{chunk-2ad4fb9z.js → chunk-5qaa4atv.js} +2 -2
- package/dist/{chunk-f8bx4etj.js → chunk-5zf3px9y.js} +2 -2
- package/dist/chunk-60yk0ye9.js +2 -0
- package/dist/chunk-63kwbtgs.js +2 -0
- package/dist/{chunk-12bfnfbk.js → chunk-67fn9pq0.js} +2 -2
- package/dist/{chunk-yw927w3q.js → chunk-6br4568a.js} +2 -2
- package/dist/{chunk-zyermn00.js → chunk-6c7q2rz8.js} +2 -2
- package/dist/{chunk-pd5yrdg6.js → chunk-6ea6q6dj.js} +2 -2
- package/dist/{chunk-vcj2jfnz.js → chunk-6v0r7m92.js} +2 -2
- package/dist/{chunk-j4w2hbbe.js → chunk-6xap6hvz.js} +2 -2
- package/dist/{chunk-46bgwhx8.js → chunk-7naym98x.js} +2 -2
- package/dist/{chunk-kdcde4s5.js → chunk-7nfv27hz.js} +2 -2
- package/dist/{chunk-djqexpgf.js → chunk-7tgfj1zb.js} +2 -2
- package/dist/{chunk-ypdh88cj.js → chunk-7ywnza68.js} +2 -2
- package/dist/{chunk-51s7qck0.js → chunk-8be6eq9r.js} +2 -2
- package/dist/chunk-8eyw37rv.js +2 -0
- package/dist/{chunk-4z6gyvy3.js → chunk-8pb726d6.js} +2 -2
- package/dist/{chunk-pwk7epmy.js → chunk-8x7a5n2w.js} +2 -2
- package/dist/{chunk-82e3194f.js → chunk-8yetzgqb.js} +2 -2
- package/dist/{chunk-enc99kvz.js → chunk-8zkn8x2j.js} +2 -2
- package/dist/chunk-95f0wens.js +2 -0
- package/dist/{chunk-3dbxzwcz.js → chunk-9ghxym50.js} +2 -2
- package/dist/{chunk-f84mdhkx.js → chunk-9hts7x5n.js} +2 -2
- package/dist/{chunk-basmnv1z.js → chunk-9hwqfjc1.js} +2 -2
- package/dist/{chunk-zhf7403q.js → chunk-9ns2xh84.js} +2 -2
- package/dist/{chunk-vqqafkcx.js → chunk-9nz4c647.js} +2 -2
- package/dist/{chunk-8q5zwkry.js → chunk-a2tkhes5.js} +2 -2
- package/dist/{chunk-jhaf3qtt.js → chunk-a4ebhcsy.js} +2 -2
- package/dist/{chunk-3d3z6dam.js → chunk-aeccrrg1.js} +2 -2
- package/dist/{chunk-y47sn7w2.js → chunk-aemtk0r5.js} +2 -2
- package/dist/{chunk-ky3n1mza.js → chunk-afnnrn6z.js} +2 -2
- package/dist/chunk-aj0z9a5r.js +2 -0
- package/dist/{chunk-p9x6rya1.js → chunk-aj6yxm6d.js} +2 -2
- package/dist/{chunk-9pm3vzgx.js → chunk-aq3hemsb.js} +3 -3
- package/dist/{chunk-rsbced6k.js → chunk-b0zzq2ky.js} +2 -2
- package/dist/{chunk-nf7q3crw.js → chunk-b3mja7d9.js} +3 -3
- package/dist/{chunk-pyqhwz2d.js → chunk-b6kn9ack.js} +3 -3
- package/dist/{chunk-znafsq0a.js → chunk-b8tx1n1a.js} +2 -2
- package/dist/chunk-bdea3k6b.js +2 -0
- package/dist/{chunk-nec3tcjh.js → chunk-bm457bsd.js} +2 -2
- package/dist/chunk-bt42z99s.js +2 -0
- package/dist/{chunk-egbb5295.js → chunk-by7k0ypx.js} +2 -2
- package/dist/{chunk-p6ffd8yn.js → chunk-bysgsnph.js} +2 -2
- package/dist/{chunk-ma6ycen5.js → chunk-c0czkyzh.js} +2 -2
- package/dist/chunk-c70a2esc.js +2 -0
- package/dist/{chunk-enbvjbcm.js → chunk-ccner90h.js} +2 -2
- package/dist/{chunk-x0etjzy8.js → chunk-cgpnhrm5.js} +3 -3
- package/dist/{chunk-7hfd7hnm.js → chunk-chjt1pct.js} +2 -2
- package/dist/{chunk-3eetka54.js → chunk-ck70ewc8.js} +2 -2
- package/dist/{chunk-fpsn6fmf.js → chunk-ckft9abb.js} +2 -2
- package/dist/{chunk-7a806p3q.js → chunk-d0zazfrq.js} +3 -3
- package/dist/{chunk-fy8dmpv3.js → chunk-d607659a.js} +2 -2
- package/dist/{chunk-4hasepkm.js → chunk-d84xx4bh.js} +2 -2
- package/dist/{chunk-x4bzkzbt.js → chunk-db8hae9d.js} +2 -2
- package/dist/chunk-ddaz4j9s.js +2 -0
- package/dist/{chunk-4vfrxhj4.js → chunk-dhx1sd4s.js} +2 -2
- package/dist/{chunk-gh1rtwrb.js → chunk-dzncwejn.js} +2 -2
- package/dist/chunk-e99t3sk5.js +2 -0
- package/dist/{chunk-5p53j8mf.js → chunk-ebkz1sy2.js} +2 -2
- package/dist/chunk-eevfr0tx.js +2 -0
- package/dist/{chunk-7z1k4s4f.js → chunk-enkrqfqq.js} +2 -2
- package/dist/{chunk-rej2s2c0.js → chunk-epqqzh99.js} +2 -2
- package/dist/{chunk-kvwyryw2.js → chunk-epqyjwrh.js} +2 -2
- package/dist/{chunk-e31s069c.js → chunk-evgfpd16.js} +2 -2
- package/dist/chunk-eyw05qyj.js +4 -0
- package/dist/{chunk-15m908ph.js → chunk-f2h074g0.js} +2 -2
- package/dist/{chunk-c531krny.js → chunk-fggwwmzc.js} +3 -3
- package/dist/{chunk-544g9fky.js → chunk-fqchnswc.js} +2 -2
- package/dist/{chunk-cfj92m1y.js → chunk-fvmnj6bg.js} +2 -2
- package/dist/chunk-fxzh4f7c.js +4 -0
- package/dist/chunk-fzfwftqs.js +2 -0
- package/dist/{chunk-kx9nnmwb.js → chunk-g9v0jr0f.js} +3 -3
- package/dist/{chunk-mfrg4vze.js → chunk-ged1nyhk.js} +5 -5
- package/dist/chunk-gk7nn747.js +2 -0
- package/dist/chunk-gmns080g.js +2 -0
- package/dist/chunk-gw4zbw0m.js +2 -0
- package/dist/{chunk-3vdx0cme.js → chunk-gy446wcz.js} +2 -2
- package/dist/chunk-h71pkpwg.js +2 -0
- package/dist/{chunk-3a8qwbgh.js → chunk-ha1s3jbc.js} +3 -3
- package/dist/{chunk-zvfad5gd.js → chunk-hfjttc7r.js} +2 -2
- package/dist/{chunk-e6wq8gef.js → chunk-hqc5c3nz.js} +3 -3
- package/dist/{chunk-r84xcy0d.js → chunk-hwhyyaen.js} +2 -2
- package/dist/{chunk-qmx3t5he.js → chunk-j1t1fnew.js} +2 -2
- package/dist/chunk-j2bp0zbe.js +2 -0
- package/dist/{chunk-tftgnw1w.js → chunk-jne0bc79.js} +2 -2
- package/dist/chunk-jtws1jg5.js +2 -0
- package/dist/{chunk-zmr5pwhd.js → chunk-jygp7479.js} +2 -2
- package/dist/{chunk-5f7t16kj.js → chunk-jz7mckdp.js} +2 -2
- package/dist/{chunk-hpv8x22r.js → chunk-k014w2jg.js} +2 -2
- package/dist/{chunk-rfkgks0a.js → chunk-k0h18sme.js} +2 -2
- package/dist/{chunk-xg6ayxsy.js → chunk-k1w3acq7.js} +2 -2
- package/dist/{chunk-m8243rnx.js → chunk-k5065dzv.js} +2 -2
- package/dist/chunk-k97dpdcj.js +2 -0
- package/dist/{chunk-c4rptwfx.js → chunk-kgx0jj22.js} +3 -3
- package/dist/chunk-khd2r3jh.js +2 -0
- package/dist/{chunk-84zzf0ys.js → chunk-kk9dbwd1.js} +2 -2
- package/dist/chunk-kvgn4b2n.js +2 -0
- package/dist/{chunk-1jznzjzn.js → chunk-mg9a4t04.js} +2 -2
- package/dist/{chunk-kn1j4cy1.js → chunk-mgve4dcw.js} +2 -2
- package/dist/{chunk-akgjyyz8.js → chunk-mgwkmr8g.js} +2 -2
- package/dist/{chunk-qk1yqepm.js → chunk-mhrn3e8j.js} +2 -2
- package/dist/{chunk-705j0x4q.js → chunk-mkawbqx5.js} +2 -2
- package/dist/chunk-mp5f940y.js +1 -0
- package/dist/chunk-mybye5t2.js +2 -0
- package/dist/{chunk-bf7sgpzq.js → chunk-n4rep234.js} +2 -2
- package/dist/{chunk-wbnmcagf.js → chunk-nebke41s.js} +3 -3
- package/dist/{chunk-nqt9gyz9.js → chunk-newkrtrj.js} +2 -2
- package/dist/{chunk-j9f4mh66.js → chunk-nfnejf16.js} +2 -2
- package/dist/{chunk-tss25z64.js → chunk-njw6x85v.js} +3 -3
- package/dist/{chunk-2d4zb2ac.js → chunk-npt6at4f.js} +2 -2
- package/dist/chunk-nrfyvzmk.js +2 -0
- package/dist/{chunk-3dvxhfcr.js → chunk-nvadhyne.js} +2 -2
- package/dist/{chunk-g2ew3jg9.js → chunk-p2bn8ypc.js} +2 -2
- package/dist/chunk-pnx0f495.js +2 -0
- package/dist/{chunk-k1f40yn4.js → chunk-ppcwcrdz.js} +2 -2
- package/dist/chunk-prr551k0.js +2 -0
- package/dist/chunk-pvm6d77q.js +2 -0
- package/dist/{chunk-af0e5epn.js → chunk-pxbww0j1.js} +2 -2
- package/dist/{chunk-n96z8etk.js → chunk-pz5d0vgv.js} +2 -2
- package/dist/chunk-q2ykvjrz.js +2 -0
- package/dist/chunk-q8c4k6qh.js +2 -0
- package/dist/{chunk-1pnbntv2.js → chunk-q8y2a23c.js} +2 -2
- package/dist/{chunk-fxdkhe0d.js → chunk-qbmgsd3h.js} +2 -2
- package/dist/{chunk-6yx869ht.js → chunk-qbpy0aqe.js} +2 -2
- package/dist/chunk-qgrd5xre.js +2 -0
- package/dist/{chunk-v6x7x69b.js → chunk-qkddvxjr.js} +2 -2
- package/dist/chunk-qv61ef2y.js +2 -0
- package/dist/{chunk-ep9z16w6.js → chunk-qvdfrmpb.js} +2 -2
- package/dist/chunk-qvzxzzw8.js +2 -0
- package/dist/{chunk-k3h77wtz.js → chunk-r2b234a7.js} +2 -2
- package/dist/{chunk-mahky9ad.js → chunk-ra52dqfb.js} +2 -2
- package/dist/{chunk-hj8nkk6a.js → chunk-rb6mjycp.js} +2 -2
- package/dist/{chunk-rhptdqpp.js → chunk-rbs3079t.js} +2 -2
- package/dist/chunk-rcynxrkk.js +4 -0
- package/dist/{chunk-m31f2m2y.js → chunk-rms7wj04.js} +2 -2
- package/dist/{chunk-8zsta2p3.js → chunk-rntrfb49.js} +2 -2
- package/dist/{chunk-33bd1ey8.js → chunk-rxj5619b.js} +2 -2
- package/dist/{chunk-k76s8cq2.js → chunk-ry5phnnk.js} +2 -2
- package/dist/{chunk-xckysrk7.js → chunk-s11mgwyh.js} +2 -2
- package/dist/{chunk-q988bycf.js → chunk-s170cg6j.js} +2 -2
- package/dist/{chunk-zwpv75f4.js → chunk-s1w3j9p9.js} +2 -2
- package/dist/{chunk-11kv54bx.js → chunk-sfd0pp49.js} +3 -3
- package/dist/chunk-shzj5zf0.js +2 -0
- package/dist/chunk-sk9rm826.js +2 -0
- package/dist/chunk-svxnx1c7.js +2 -0
- package/dist/chunk-symaxskd.js +2 -0
- package/dist/chunk-t3rv7vat.js +2 -0
- package/dist/{chunk-r8gfcyeb.js → chunk-t6ddgvkm.js} +2 -2
- package/dist/chunk-th5vv83g.js +2 -0
- package/dist/{chunk-spqfmr4z.js → chunk-tj4b0s68.js} +2 -2
- package/dist/chunk-veef1avy.js +2 -0
- package/dist/chunk-vgxvtmja.js +2 -0
- package/dist/{chunk-0zncrzar.js → chunk-vjfxm73q.js} +2 -2
- package/dist/chunk-vnxa4qe2.js +2 -0
- package/dist/{chunk-5jvpeww3.js → chunk-vq060dnz.js} +2 -2
- package/dist/{chunk-hwppy236.js → chunk-vyvsm4v9.js} +2 -2
- package/dist/{chunk-8w5bt0nc.js → chunk-w1yrsbw1.js} +2 -2
- package/dist/{chunk-3y9az4b9.js → chunk-w2p1g8rp.js} +2 -2
- package/dist/{chunk-mjd3839j.js → chunk-w4537026.js} +2 -2
- package/dist/chunk-wexhc7rb.js +2 -0
- package/dist/{chunk-xmesmh1h.js → chunk-wf0ytnh9.js} +2 -2
- package/dist/{chunk-9m36e0yq.js → chunk-wf4z9w5x.js} +2 -2
- package/dist/{chunk-036wyz4n.js → chunk-whax282d.js} +2 -2
- package/dist/{chunk-chg6j0zg.js → chunk-wrxj79ct.js} +2 -2
- package/dist/{chunk-p72pzfww.js → chunk-xanfp0nh.js} +2 -2
- package/dist/{chunk-abbpbnjj.js → chunk-xjf2zkrg.js} +2 -2
- package/dist/{chunk-cy5kh1yr.js → chunk-xqrhfxct.js} +2 -2
- package/dist/chunk-xxwevgqr.js +2 -0
- package/dist/{chunk-wkbxdz82.js → chunk-y5qzgfsd.js} +2 -2
- package/dist/chunk-y72y3j24.js +2 -0
- package/dist/{chunk-askwff3a.js → chunk-y8aeahf2.js} +3 -3
- package/dist/chunk-ygake3bx.js +2 -0
- package/dist/{chunk-67a3eqhg.js → chunk-ymdhz3x0.js} +2 -2
- package/dist/{chunk-02sj8dwy.js → chunk-ytkcpeq2.js} +2 -2
- package/dist/{chunk-h3geg09z.js → chunk-z27pxeqg.js} +2 -2
- package/dist/{chunk-x4brdfv3.js → chunk-z53fd30n.js} +2 -2
- package/dist/{chunk-mfmh7ztq.js → chunk-zjzzqtaj.js} +2 -2
- package/dist/{chunk-ggxdrm0c.js → chunk-zpetyx45.js} +2 -2
- package/dist/chunk-zpm0t5ye.js +2 -0
- package/dist/chunk-ztrkk6sp.js +2 -0
- 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/disclosure-state.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/plan.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/locales.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/menu-radio.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.d.ts +9 -0
- 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/config-options.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.d.ts +2 -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.d.ts +3 -1
- package/dist/desktop/native-file-drop.js +1 -1
- package/dist/generated/commands.d.ts +66 -65
- package/dist/generated/commands.js +1 -1
- package/dist/generated-image-storage.d.ts +11 -0
- package/dist/generated-image-storage.js +1 -0
- package/dist/image-lightbox.js +1 -1
- package/dist/image-preview-dialog.js +1 -1
- package/dist/image.d.ts +5 -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/file-url.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.d.ts +2 -2
- 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/locales.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/locales.js +1 -1
- package/dist/plugins/new-chat-directory.js +1 -1
- package/dist/plugins/pane.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/plugins/toolbox-layout.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/highlight.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/locales.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/row-stop-button.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/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-06mvwewp.js +0 -2
- package/dist/chunk-1jxvmsgm.js +0 -2
- package/dist/chunk-1wk1yw69.js +0 -2
- package/dist/chunk-23r2z6bp.js +0 -2
- package/dist/chunk-2ay0m7xn.js +0 -2
- package/dist/chunk-2qa3c571.js +0 -2
- package/dist/chunk-2reym9jt.js +0 -4
- package/dist/chunk-2w3c4tg8.js +0 -2
- package/dist/chunk-3myhs627.js +0 -2
- package/dist/chunk-5e575zvm.js +0 -2
- package/dist/chunk-5hjk7xnq.js +0 -2
- package/dist/chunk-5t2ge7gg.js +0 -2
- package/dist/chunk-680e6bz4.js +0 -2
- package/dist/chunk-68a1sgrr.js +0 -3
- package/dist/chunk-69965ctr.js +0 -4
- package/dist/chunk-6ewv4vns.js +0 -2
- package/dist/chunk-6wsr59dr.js +0 -2
- package/dist/chunk-7f5xngd2.js +0 -2
- package/dist/chunk-8at9k0cn.js +0 -2
- package/dist/chunk-8byhp88a.js +0 -2
- package/dist/chunk-a0qy1r02.js +0 -2
- package/dist/chunk-b5g055qp.js +0 -2
- package/dist/chunk-b7gntaap.js +0 -4
- package/dist/chunk-b89bzpce.js +0 -2
- package/dist/chunk-c4mm4fzg.js +0 -2
- package/dist/chunk-cjj5bxdb.js +0 -2
- package/dist/chunk-cr0pb6g0.js +0 -2
- package/dist/chunk-d9q9qgm1.js +0 -2
- package/dist/chunk-eb78ebxa.js +0 -2
- package/dist/chunk-ekfs7wrp.js +0 -2
- package/dist/chunk-fbrv2v3t.js +0 -1
- package/dist/chunk-fer4r3b8.js +0 -2
- package/dist/chunk-h77c4pnj.js +0 -2
- package/dist/chunk-hjbq9ez1.js +0 -2
- package/dist/chunk-hzcerz8j.js +0 -2
- package/dist/chunk-jfyz3rx6.js +0 -2
- package/dist/chunk-jnpkpe5t.js +0 -2
- package/dist/chunk-jp2s1xsa.js +0 -2
- package/dist/chunk-ky4j58wz.js +0 -2
- package/dist/chunk-m6yg0dc9.js +0 -2
- package/dist/chunk-p0v9d7e1.js +0 -2
- package/dist/chunk-p9226dye.js +0 -2
- package/dist/chunk-qj87dxrr.js +0 -2
- package/dist/chunk-qm9c9sd7.js +0 -2
- package/dist/chunk-qth2ames.js +0 -2
- package/dist/chunk-qyfkwznx.js +0 -2
- package/dist/chunk-rayhzb8p.js +0 -2
- package/dist/chunk-rkqptd9w.js +0 -2
- package/dist/chunk-srqs8z90.js +0 -2
- package/dist/chunk-twwcd2qv.js +0 -2
- package/dist/chunk-tzb4b5ve.js +0 -2
- package/dist/chunk-v92wj4tv.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-y2bb2ey4.js +0 -2
- package/dist/chunk-zdqjjwx0.js +0 -2
|
@@ -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.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { GeneratedImageStorage } from "./generated-image-storage";
|
|
2
3
|
import type { ToolUseBlock } from "./lib/group-blocks";
|
|
3
4
|
export type ChatTranslate = (key: string, values?: Record<string, unknown>) => string;
|
|
4
5
|
export interface ActivityImage {
|
|
@@ -21,6 +22,7 @@ export interface ActivityHost {
|
|
|
21
22
|
patch: string;
|
|
22
23
|
}>;
|
|
23
24
|
openImage?: (url: string) => void;
|
|
25
|
+
loadGeneratedImage?: GeneratedImageStorage["read"];
|
|
24
26
|
loadImage?: (path: string) => Promise<string>;
|
|
25
27
|
openImageGallery?: (images: ActivityImage[], index: number) => void;
|
|
26
28
|
openSession?: (sessionId: string, title: string) => void;
|
package/dist/activity-host.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ps,c,F}from"./chunk-gk7nn747.js";export{Ps as ActivityHostProvider,F as ActivityMarkdown,c as useActivityHost};
|
package/dist/agent/client.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type * as acp from "@agentclientprotocol/sdk/experimental/v2/unstable";
|
|
|
2
2
|
import { type RuntimeClient, type SessionRunState } from "@alwith/api";
|
|
3
3
|
import { type AppsInstalledParams, type ClientOptions as AdapterOptions, CodexClient as AdapterClient, type CodexClientState, type ForkOptions, type ForkOrigin, type NewSessionOptions, type PendingAction, type PromptOptions, type ReplayScope, type Session, type SessionOperation, type SessionRequestOptions, type SessionSummary } from "@nyssance/codex-acp-v2/client";
|
|
4
4
|
import { type ApplicationSessionOptions, type ApplicationTools } from "../application-tools";
|
|
5
|
+
import type { GeneratedImageStorage } from "../generated-image-storage";
|
|
5
6
|
import { type ImageSelection } from "../image";
|
|
6
7
|
import { type SessionInputConfig, type SessionInputConfigSnapshot } from "./input-config";
|
|
7
8
|
import { type InputMode } from "./input-modes";
|
|
@@ -26,6 +27,7 @@ export type ClientOptions = AdapterOptions & {
|
|
|
26
27
|
imageService?: {
|
|
27
28
|
inputMode: (sessionId: string) => Promise<InputMode>;
|
|
28
29
|
selection: () => ImageSelection;
|
|
30
|
+
storage?: GeneratedImageStorage;
|
|
29
31
|
generateExternal: (selection: ImageSelection, prompt: string, images: string[], signal?: AbortSignal) => Promise<{
|
|
30
32
|
images: {
|
|
31
33
|
mimeType: string;
|
package/dist/agent/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b,$i}from"../chunk-veef1avy.js";import"../chunk-vjfxm73q.js";import"../chunk-prr551k0.js";import"../chunk-sk9rm826.js";import"../chunk-18gcnf2a.js";import"../chunk-sfd0pp49.js";import"../chunk-ebkz1sy2.js";import"../chunk-whax282d.js";import"../chunk-jne0bc79.js";import"../chunk-y72y3j24.js";import"../chunk-afnnrn6z.js";import"../chunk-7ywnza68.js";import"../chunk-9hts7x5n.js";import"../chunk-xxwevgqr.js";import"../chunk-fzfwftqs.js";import"../chunk-4ma6bmcm.js";import"../chunk-33fxyn5r.js";export{$i as CodexClient,b as NATIVE_MODEL_GROUP};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{st}from"../chunk-xxwevgqr.js";export{st as customModelEffort};
|
package/dist/agent/fork-title.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Bn}from"../chunk-jne0bc79.js";export{Bn as forkTitle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{qi,fo,Wi}from"../chunk-sfd0pp49.js";export{qi as IMAGE_WORKFLOW_INSTRUCTIONS,Wi as imageGenerationPrompt,fo as imageRequestAspect};
|
|
@@ -3,7 +3,9 @@ import type { ClientOptions } from "./client";
|
|
|
3
3
|
import { type ImageRequestAspect } from "./image-request";
|
|
4
4
|
export type ImageToolRequest = {
|
|
5
5
|
selection: ImageSelection;
|
|
6
|
-
references: Map<string, string
|
|
6
|
+
references: Map<string, string | {
|
|
7
|
+
path: string;
|
|
8
|
+
}>;
|
|
7
9
|
aspect?: ImageRequestAspect;
|
|
8
10
|
};
|
|
9
11
|
export declare function createImageTool(service: NonNullable<ClientOptions["imageService"]>, request: (id: string) => ImageToolRequest | undefined): import("../application-tools").ApplicationTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ki}from"../chunk-18gcnf2a.js";import"../chunk-sfd0pp49.js";import"../chunk-9hts7x5n.js";import"../chunk-fzfwftqs.js";import"../chunk-4ma6bmcm.js";import"../chunk-33fxyn5r.js";export{Ki as createImageTool};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Zi,Hn}from"../chunk-ebkz1sy2.js";export{Zi as parseInputConfig,Hn as parseInputSnapshot};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Qi}from"../../chunk-y72y3j24.js";import"../../chunk-afnnrn6z.js";export{Qi as chatInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ho}from"../../chunk-7ywnza68.js";export{ho as executionMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{St}from"../../chunk-afnnrn6z.js";export{St as imageApplicationContext};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ve}from"../../chunk-sk9rm826.js";import"../../chunk-afnnrn6z.js";import"../../chunk-fzfwftqs.js";import"../../chunk-4ma6bmcm.js";import"../../chunk-33fxyn5r.js";export{ve as imageInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{rt,ze,ka}from"../../chunk-prr551k0.js";import"../../chunk-sk9rm826.js";import"../../chunk-y72y3j24.js";import"../../chunk-afnnrn6z.js";import"../../chunk-fzfwftqs.js";import"../../chunk-4ma6bmcm.js";import"../../chunk-33fxyn5r.js";export{ze as inputModeDefinition,rt as isInputMode,ka as resolveInputMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ts}from"../chunk-8x7a5n2w.js";export{Ts as macProjectPaths};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ne,Un,Sa}from"../chunk-whax282d.js";export{Sa as explainRequestError,ne as isAuthenticationRequired,Un as isModelSelectionRequired};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ms}from"../chunk-bm457bsd.js";export{Ms as watchSessionList};
|
package/dist/app-reference.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ce}from"./chunk-ytkcpeq2.js";import"./chunk-ry5phnnk.js";import"./chunk-hfjttc7r.js";export{Ce as AppReferenceBadge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Gn,vo,yo}from"./chunk-9hts7x5n.js";export{vo as APPLICATION_SERVER_NAME,yo as ApplicationToolRegistry,Gn as defineApplicationTool};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{_i,lo,tt,pn}from"../chunk-5mxh7h57.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?_i(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(!tt(i)){let c=pn(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(tt(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(tt(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=pn(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=pn(r),m=tt(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:lo(r).title??e}),s("div",{className:"text-foreground text-sm font-medium",children:lo(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{_i,lo,tt,pn}from"../chunk-5mxh7h57.js";export{_i as elicitationFields,lo as elicitationLabels,pn as elicitationOptions,tt as isMultiSelect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{pa,Ni,Qa,Ja}from"../chunk-63kwbtgs.js";export{pa as PERMISSION_KIND_GROUP_ORDER,Qa as isAllowKind,Ja as isAlwaysKind,Ni as sortPermissionOptions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ti}from"../chunk-nfnejf16.js";import"../chunk-63kwbtgs.js";export{Ti as PermissionView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ra,ma,La,Ai}from"../chunk-z53fd30n.js";export{Ai as SchemaElicitationForm,Ra as elicitationFields,ma as initialValues,La as isAnswered};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Mi}from"../chunk-y5qzgfsd.js";export{Mi as UrlElicitationCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{e}from"./chunk-qgrd5xre.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 ca({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{ca};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{I}from"./chunk-ckft9abb.js";import{n}from"./chunk-aj0z9a5r.js";import{Ut}from"./chunk-wf0ytnh9.js";import{y,te}from"./chunk-j2bp0zbe.js";import{e}from"./chunk-qgrd5xre.js";import{uo}from"./chunk-mg9a4t04.js";import{ChevronDownIcon as A,ChevronRightIcon as G,GitBranchIcon as X,Loader2Icon as F,SquareIcon as Y}from"lucide-react";import{useCallback as Z,useEffect as ss,useId as J,useRef as L,useState as w}from"react";import{Button as C}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as t,jsxs as h}from"react/jsx-runtime";function co(s,d){let p=n((l)=>l.sessions),o=n((l)=>l.actions),[k,f]=w(()=>new Set);return(l)=>{let r=d?.(l)??null,i=uo(s.id,l,p,o,s);if(i.length===0)return r;let b=`${s.id}:${l.key}`,u=new Map;for(let c of i){let x=l.items.find((g)=>g.id===c.originItemId)?.id??l.user?.id??null,m=u.get(x)??[];m.push(c),u.set(x,m)}return{active:r?.active===!0||i.some((c)=>c.status==="running"||c.status==="requires_action"),defaultExpanded:r?.defaultExpanded===!0||k.has(b),content:r?.content??null,entries:[...r?.entries??[],...[...u].map(([c,x])=>({afterItemId:c,content:t(Pi,{sessionId:s.id,turn:l,parent:s,tasks:x,onExpand:()=>f((m)=>m.has(b)?m:new Set([...m,b]))})}))]}}}function Pi({sessionId:s,turn:d,parent:p,tasks:o,onExpand:k}){let{host:f}=e(),l=n((a)=>a.sessions),r=n((a)=>a.actions),i=o??uo(s,d,l,r,p),b=i.some((a)=>a.status==="running"),u=i.some((a)=>a.status==="running"||a.status==="requires_action"),[c,x]=I(`subagents:${s}:${d.key}`,u,!0),m=J();if(i.length===0)return null;let g=new Map;for(let a of i)g.set(a.status,(g.get(a.status)??0)+1);let N=[...g].map(([a,E])=>`${f.t(`subagents.${a}`)} ${E}`).join(" · ");return h("section",{"data-subagent-sessions":!0,"data-subagent-turn":d.key,"aria-label":f.t("subagents.group"),className:"my-2 min-w-0",children:[h(C,{variant:"ghost",size:"sm",className:"text-muted-foreground h-auto min-h-8 max-w-full justify-start gap-2 text-xs","aria-expanded":c,"aria-controls":m,onClick:()=>{if(!c)k?.();x(!c)},children:[c?t(A,{className:"size-3.5 shrink-0"}):t(G,{className:"size-3.5 shrink-0"}),b?t(F,{className:"size-3.5 shrink-0 motion-safe:animate-spin","aria-hidden":"true"}):t(X,{className:"size-3.5 shrink-0"}),h("span",{className:"shrink-0",children:[f.t("subagents.group")," · ",i.length]}),t("span",{className:"truncate",role:"status",children:N})]}),t("div",{id:m,hidden:!c,className:"border-border ms-3 min-w-0 border-s ps-2",children:i.map((a)=>t(es,{task:a,cwd:p?.cwd??l[s]?.cwd??"",visible:c,stateKey:`${s}:${d.key}:${a.key}`,onRead:()=>{k?.(),x(!0)}},a.key))})]})}function O(s,d){if(!d)return s;let p=new Map(s.items.map((o)=>[`${o.kind}:${o.id}`,o]));for(let o of d.items)p.set(`${o.kind}:${o.id}`,o);return{...s,...d,items:[...p.values()]}}function es({task:s,cwd:d,stateKey:p,visible:o,onRead:k}){let{client:f,host:l}=e(),{t:r}=l,i=s.session,b=n((S)=>S.connection==="ready"),[u,c]=I(`subagent:${p}`,!1),[x,m]=w(!1),[g,N]=w(null),[a,E]=w(null),[R,Q]=w(null),[B,P]=w(!1),q=L(!1),_=L(!1),j=J(),W=i&&y(i.configOptions,"model"),T=s.title??r("subagents.untitled"),M=a?O(a,i):i,U=b&&i?.attached&&i.subagent?.capabilities?.cancel!=null&&(s.status==="running"||s.status==="requires_action"),H=s.threadId,D=i?.cwd??d,z=Z(async(S)=>{if(!f.readSubagentHistory||H===null||q.current)return;_.current=!0,q.current=!0,P(!0),N(null);try{let v=await f.readSubagentHistory(H,D,S);E((K)=>K===null?v.session:O(v.session,K)),Q(v.cursor)}catch(v){N(v instanceof Error?v.message:String(v))}finally{q.current=!1,P(!1)}},[f,H,D]);ss(()=>{if(o&&u&&!_.current)z(null)},[o,u,z]);let V=async()=>{if(!i)throw Error("A live child session is required for cancellation");m(!0),N(null);try{await f.cancel(i.id)}catch(S){N(S instanceof Error?S.message:String(S))}finally{m(!1)}};return h("section",{"aria-label":T,className:"min-w-0",children:[h("div",{className:"flex min-w-0 items-center gap-1",children:[h(C,{variant:"ghost",size:"sm",className:"min-w-0 flex-1 justify-start gap-2","aria-label":`${T} · ${r(`subagents.${s.status}`)}`,"aria-expanded":u,"aria-controls":j,onClick:()=>{if(!u)k();c(!u)},children:[u?t(A,{className:"size-3.5 shrink-0"}):t(G,{className:"size-3.5 shrink-0"}),t("span",{className:"truncate",children:T}),t("span",{className:"text-muted-foreground ms-auto shrink-0 text-xs",role:"status",children:r(`subagents.${s.status}`)})]}),U&&t(C,{variant:"ghost",size:"icon-sm",disabled:x,"aria-label":r("subagents.cancel",{name:T}),onClick:()=>{V()},children:x?t(F,{className:"size-3.5 animate-spin"}):t(Y,{className:"size-3.5"})})]}),g&&!u&&t("p",{role:"alert",className:"text-destructive px-2 py-1 text-xs",children:g}),h("div",{id:j,hidden:!u,className:"min-w-0 ps-4",children:[(s.description||W)&&h("div",{className:"text-muted-foreground flex min-w-0 items-center gap-2 px-2 py-1 text-xs",children:[t("span",{className:"min-w-0 flex-1 truncate",title:s.description??void 0,children:s.description}),W&&t("span",{className:"shrink-0",children:te(W)})]}),g&&h("div",{role:"alert",className:"text-destructive px-2 py-1 text-xs",children:[g," ",s.threadId&&t(C,{variant:"ghost",size:"sm",onClick:()=>{z(a===null?null:R)},children:r("timeline.retry")})]}),B&&t("p",{role:"status",className:"text-muted-foreground px-2 py-2 text-xs",children:r("timeline.loadingEarlier")}),R&&t(C,{variant:"ghost",size:"sm",disabled:B,onClick:()=>{z(R)},children:r("timeline.loadEarlier")}),o&&u&&(M&&M.items.length>0?t("div",{className:"flex max-h-72 min-h-0 flex-col",children:t(ts,{session:M})}):!B&&!g&&t("p",{className:"text-muted-foreground px-2 py-3 text-xs",children:r("subagents.noMessages")}))]})]})}function ts({session:s}){let{client:d,host:p}=e(),o=co(s);return t(Ut,{session:s,client:d,host:p,turnWork:o})}
|
|
2
|
+
export{co,Pi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gn}from"./chunk-9hts7x5n.js";import{to}from"./chunk-33fxyn5r.js";import{Yr,re}from"./chunk-fzfwftqs.js";import{Wi}from"./chunk-sfd0pp49.js";function Ki(l,f){return Gn({...Yr,parse(m){let e=m;if(!e||typeof e!=="object"||Array.isArray(e)||typeof e.prompt!=="string"||!e.prompt.trim()||Object.keys(e).some((a)=>a!=="prompt"&&a!=="references")||e.references!==void 0&&(!Array.isArray(e.references)||e.references.some((a)=>typeof a!=="string")))throw Error("Invalid image instructions or references");return{prompt:e.prompt,references:e.references}},async execute(m,{sessionId:e,toolCallId:a,signal:i,agent:y}){let n=f(e);if(!n)throw Error("Image request is no longer active");let d=m.references,h=d??[...n.references.keys()].filter((r)=>r.startsWith("attachment:")),c=re(n.selection);if(h.length>c.maxReferences)throw Error(`This model supports ${c.maxReferences} references`);let p=l.storage,u=await Promise.all(h.map(async(r)=>{let t=n.references.get(r);if(!t)throw Error(`Unknown image reference: ${r}`);if(typeof t==="string")return t;if(!p)throw Error("Generated image storage is unavailable");let{data:g,mimeType:T}=await p.read(t.path);return`data:${T};base64,${g}`}));i.throwIfAborted();let w=Wi(m.prompt,n.aspect),s=c.provider==="chatgpt"?await y.request("_codex/images/generate",{prompt:w,images:u},{cancellationSignal:i}):await l.generateExternal(n.selection,w,u,i);if(i.throwIfAborted(),f(e)!==n)throw Error("Image request was cancelled or replaced");let o=p?await p.save(e,a,s.images):null;if(i.throwIfAborted(),f(e)!==n)throw Error("Image request was cancelled or replaced");if(o&&o.length!==s.images.length)throw Error("Generated image storage returned an incomplete batch");return s.images.forEach((r,t)=>{n.references.set(`${a}:${t+1}`,o?{path:o[t]}:`data:${r.mimeType};base64,${r.data}`)}),{content:[{type:"text",text:JSON.stringify({kind:"alwith.image",version:1,model:c.id,size:n.selection.size,displayed:!0,message:"The application already displays these images and provides downloads. Finish with the returned image reference; do not regenerate, echo image data or write files to deliver this result.",references:d??[],images:s.images.map((r,t)=>({reference:`${String(a)}:${t+1}`}))})},...s.images.map((r,t)=>{if(o===null)return{type:"image",...r};let g=o[t];return{type:"resource_link",uri:to+g,mimeType:r.mimeType,name:g.split("/").at(-1)}})]}}})}
|
|
2
|
+
export{Ki};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{n}from"./chunk-aj0z9a5r.js";import{e}from"./chunk-qgrd5xre.js";import{nt,Ct,He}from"./chunk-nebke41s.js";import{inSessionTree as m}from"@nyssance/codex-acp-v2/client";import{jsx as l,jsxs as f,Fragment as x}from"react/jsx-runtime";var p=[];function fn({sessionId:s}){let o=n((t)=>t.sessions),{host:u}=e(),d=n((t)=>t.actions),a=d.some((t)=>m(o,s,t.sessionId))?d.filter((t)=>m(o,s,t.sessionId)):p,i=a.filter(nt).filter((t)=>{if(t.sessionId!==s||o[s]?.subagent!==void 0)return!0;let r=t.params._meta?.codex;return!(typeof r==="object"&&r!==null&&("delivery"in r)&&r.delivery==="async")}),c=a.filter((t)=>!nt(t));return f(x,{children:[c.length>0&&l("div",{className:"mx-auto flex w-full max-w-3xl flex-col gap-3 px-6 pb-3","data-session-actions":!0,children:c.map((t)=>f("div",{children:[t.sessionId!==s&&l("p",{className:"text-muted-foreground mb-1 truncate text-xs",children:t.sessionId===null?"":o[t.sessionId]?.title??u.t("subagents.untitled")}),l(He,{action:t})]},t.id))}),i[0]!==void 0&&l(Ct,{action:i[0],total:i.length},i[0].id)]})}
|
|
2
|
+
export{fn};
|