@alwith/module-chat 0.6.16 → 0.6.18
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/assets/provider-catalog.json +1 -0
- package/dist/activity-host.js +1 -1
- package/dist/agent/application-client.d.ts +30 -0
- package/dist/agent/application-client.js +1 -0
- package/dist/agent/client.d.ts +125 -0
- package/dist/agent/client.js +1 -0
- package/dist/agent/custom-model-effort.d.ts +4 -0
- package/dist/agent/custom-model-effort.js +1 -0
- package/dist/agent/fork-title.d.ts +1 -0
- package/dist/agent/fork-title.js +1 -0
- package/dist/agent/image-request.d.ts +6 -0
- package/dist/agent/image-request.js +1 -0
- package/dist/agent/image-tools.d.ts +9 -0
- package/dist/agent/image-tools.js +1 -0
- package/dist/agent/input-config.d.ts +17 -0
- package/dist/agent/input-config.js +1 -0
- package/dist/agent/input-modes/chat.d.ts +10 -0
- package/dist/agent/input-modes/chat.js +1 -0
- package/dist/agent/input-modes/execution-meta.d.ts +1 -0
- package/dist/agent/input-modes/execution-meta.js +1 -0
- package/dist/agent/input-modes/image-context.d.ts +1 -0
- package/dist/agent/input-modes/image-context.js +1 -0
- package/dist/agent/input-modes/image.d.ts +14 -0
- package/dist/agent/input-modes/image.js +1 -0
- package/dist/agent/input-modes/index.d.ts +46 -0
- package/dist/agent/input-modes/index.js +1 -0
- package/dist/agent/project-path.d.ts +2 -0
- package/dist/agent/project-path.js +1 -0
- package/dist/agent/request-error.d.ts +3 -0
- package/dist/agent/request-error.js +1 -0
- package/dist/agent/session-list-refresh.d.ts +2 -0
- package/dist/agent/session-list-refresh.js +1 -0
- package/dist/app-reference.js +1 -1
- package/dist/application-tools.d.ts +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-zq18ffn0.js → chunk-04c5k3qr.js} +2 -2
- package/dist/chunk-04frqm59.js +2 -0
- package/dist/chunk-0rnh8mhs.js +2 -0
- package/dist/chunk-0rte5dh6.js +2 -0
- package/dist/{chunk-11cbk1je.js → chunk-16db8fh2.js} +2 -2
- package/dist/chunk-1a56svgj.js +2 -0
- package/dist/{chunk-2ss8m0ja.js → chunk-1gv49jt9.js} +4 -4
- package/dist/chunk-1hmt6w4w.js +2 -0
- package/dist/chunk-1qjhvkg0.js +2 -0
- package/dist/{chunk-4qghztvg.js → chunk-1r4y3pfg.js} +2 -2
- package/dist/{chunk-11z072sz.js → chunk-1vtvcar6.js} +2 -2
- package/dist/{chunk-veb90k24.js → chunk-1ycyexae.js} +2 -2
- package/dist/{chunk-bnpwhf5c.js → chunk-23r426sm.js} +2 -2
- package/dist/{chunk-97tgc9ym.js → chunk-26w51q10.js} +2 -2
- package/dist/chunk-29s4mnfw.js +2 -0
- package/dist/{chunk-y1fpm5r2.js → chunk-2a4pq98d.js} +2 -2
- package/dist/chunk-2c2a1wvg.js +2 -0
- package/dist/{chunk-pvd09dx5.js → chunk-2cfhvb3k.js} +2 -2
- package/dist/{chunk-9xhw5zmq.js → chunk-2dm51ksz.js} +2 -2
- package/dist/{chunk-x0h0g1ma.js → chunk-2easwd1n.js} +2 -2
- package/dist/chunk-2ee48v0d.js +3 -0
- package/dist/{chunk-0yqb54zg.js → chunk-2nb1475h.js} +2 -2
- package/dist/{chunk-qtft8hnb.js → chunk-2zy75522.js} +2 -2
- package/dist/{chunk-t96rf4pg.js → chunk-38bpmgjd.js} +2 -2
- package/dist/chunk-38hvm5ca.js +2 -0
- package/dist/{chunk-9eme3n5c.js → chunk-3a3ecayr.js} +2 -2
- package/dist/{chunk-tz8wmvs9.js → chunk-3chhwwwy.js} +2 -2
- package/dist/chunk-3g9qb7vq.js +2 -0
- package/dist/chunk-3gnn1v68.js +2 -0
- package/dist/{chunk-sct2h2dm.js → chunk-3hjcpcnv.js} +2 -2
- package/dist/{chunk-ehmdmfs5.js → chunk-3rmwcar7.js} +2 -2
- package/dist/chunk-41yz7txv.js +2 -0
- package/dist/{chunk-hqykt9hr.js → chunk-4p0zk3mj.js} +2 -2
- package/dist/{chunk-620q6hmz.js → chunk-56rx2rmj.js} +2 -2
- package/dist/{chunk-9072bnjm.js → chunk-5aqqqsa3.js} +2 -2
- package/dist/chunk-5bmxngnx.js +2 -0
- package/dist/chunk-5hk3k14h.js +2 -0
- package/dist/{chunk-7919s3et.js → chunk-5s85tvas.js} +2 -2
- package/dist/chunk-61awcdaq.js +7 -0
- package/dist/{chunk-4gq7ye1a.js → chunk-62qtrk0p.js} +2 -2
- package/dist/chunk-6c18ag8t.js +2 -0
- package/dist/chunk-6dnb0t84.js +2 -0
- package/dist/chunk-6ehhap9k.js +2 -0
- package/dist/{chunk-5ymq8y72.js → chunk-6my4ybpw.js} +3 -3
- package/dist/chunk-6tj5e7fc.js +2 -0
- package/dist/chunk-6w5gfh01.js +2 -0
- package/dist/chunk-6wkcqhkk.js +2 -0
- package/dist/{chunk-8weq6t3q.js → chunk-6xap6hvz.js} +2 -2
- package/dist/{chunk-hn6f6yrp.js → chunk-78vckhxt.js} +2 -2
- package/dist/chunk-7ac4g54f.js +3 -0
- package/dist/chunk-7jk8s061.js +2 -0
- package/dist/chunk-7sp1yqfg.js +2 -0
- package/dist/chunk-814h2ja2.js +3 -0
- package/dist/chunk-81jejgvs.js +2 -0
- package/dist/{chunk-7cv512vy.js → chunk-85tzkdsj.js} +2 -2
- package/dist/{chunk-5ygdb72w.js → chunk-86821qec.js} +2 -2
- package/dist/{chunk-vextf7ba.js → chunk-86r89vrt.js} +2 -2
- package/dist/{chunk-aaqk0jrt.js → chunk-8hygfx41.js} +2 -2
- package/dist/{chunk-3yq0a0f1.js → chunk-8kd74ng1.js} +2 -2
- package/dist/chunk-8ngg5vs4.js +4 -0
- package/dist/{chunk-4hz2ax5w.js → chunk-8q9hq3mg.js} +2 -2
- package/dist/{chunk-82xjggwn.js → chunk-8v53bkyr.js} +2 -2
- package/dist/{chunk-m2x1s408.js → chunk-8y60kexq.js} +2 -2
- package/dist/{chunk-5wsyenq9.js → chunk-8y706gz3.js} +2 -2
- package/dist/{chunk-dcevaazr.js → chunk-933h9gnv.js} +2 -2
- package/dist/{chunk-bsra0akd.js → chunk-9q6hz47j.js} +2 -2
- package/dist/chunk-a71j2n86.js +2 -0
- package/dist/chunk-abgdqy92.js +2 -0
- package/dist/{chunk-adc8e01w.js → chunk-ase4ejxz.js} +2 -2
- package/dist/{chunk-gbc31gbf.js → chunk-at75m9hq.js} +2 -2
- package/dist/chunk-ayademz2.js +2 -0
- package/dist/{chunk-x6f51rt2.js → chunk-ayhxrzsq.js} +2 -2
- package/dist/chunk-b42vv8f2.js +2 -0
- package/dist/{chunk-2pahy4hs.js → chunk-b4kh5nns.js} +2 -2
- package/dist/{chunk-trh02gwn.js → chunk-bane0xc8.js} +2 -2
- package/dist/{chunk-ha5xrc0a.js → chunk-bej9z041.js} +2 -2
- package/dist/chunk-bfwft1b8.js +2 -0
- package/dist/chunk-bv14x0e8.js +6 -0
- package/dist/chunk-bydxp3zj.js +7 -0
- package/dist/chunk-c0mpr4dh.js +2 -0
- package/dist/{chunk-y7n8m9st.js → chunk-c1pvvk0x.js} +2 -2
- package/dist/chunk-c8wdf20g.js +2 -0
- package/dist/chunk-ckjq6690.js +4 -0
- package/dist/{chunk-4dabfz24.js → chunk-csfqkzmr.js} +3 -3
- package/dist/{chunk-segftqt4.js → chunk-cvx7r35k.js} +2 -2
- package/dist/chunk-d2m4xmt4.js +2 -0
- package/dist/{chunk-vkc8ssbv.js → chunk-d8f6avcz.js} +2 -2
- package/dist/{chunk-wv127h6d.js → chunk-df9aqj1m.js} +2 -2
- package/dist/chunk-djd3sjp9.js +2 -0
- package/dist/{chunk-3174p320.js → chunk-dtgbgwby.js} +2 -2
- package/dist/{chunk-00z352ph.js → chunk-dxsjz3re.js} +2 -2
- package/dist/{chunk-qnbr2cmg.js → chunk-e04g26qm.js} +2 -2
- package/dist/chunk-e2qjbqq2.js +2 -0
- package/dist/{chunk-3karja82.js → chunk-e7ndpy02.js} +2 -2
- package/dist/{chunk-tjfjvzv5.js → chunk-easm0z49.js} +2 -2
- package/dist/chunk-ecaedwda.js +2 -0
- package/dist/{chunk-9hmqa3cs.js → chunk-ecdjjnbb.js} +2 -2
- package/dist/chunk-een4e2tr.js +2 -0
- package/dist/chunk-ehpaw624.js +4 -0
- package/dist/chunk-evygj5ka.js +2 -0
- package/dist/{chunk-netp71kb.js → chunk-f4h84pav.js} +2 -2
- package/dist/{chunk-05eg5p11.js → chunk-f6zpqrg3.js} +2 -2
- package/dist/{chunk-1e7gk302.js → chunk-f73x23f9.js} +2 -2
- package/dist/chunk-f7m5zdkp.js +2 -0
- package/dist/chunk-f89s462k.js +3 -0
- package/dist/{chunk-7nehhgej.js → chunk-ffs5nkt0.js} +2 -2
- package/dist/chunk-fhjk81r9.js +2 -0
- package/dist/{chunk-3h3cmjh2.js → chunk-g61xf0ma.js} +2 -2
- package/dist/{chunk-2ptyqcf3.js → chunk-g7cc7gdn.js} +2 -2
- package/dist/chunk-g8w06bdx.js +2 -0
- package/dist/{chunk-fvz27k62.js → chunk-gawrkkbf.js} +2 -2
- package/dist/{chunk-41v0g6sw.js → chunk-gdavg2hq.js} +2 -2
- package/dist/{chunk-gxjg94y5.js → chunk-gea1q14z.js} +2 -2
- package/dist/chunk-ggddhx5x.js +2 -0
- package/dist/chunk-gnctm097.js +2 -0
- package/dist/{chunk-kcra1mgf.js → chunk-gvqvw7ms.js} +2 -2
- package/dist/{chunk-twx75z08.js → chunk-gy4h86mw.js} +2 -2
- package/dist/chunk-gyw21vnb.js +2 -0
- package/dist/{chunk-ex20n22v.js → chunk-heqa4swe.js} +2 -2
- package/dist/{chunk-b9q9d2jh.js → chunk-hygvdjq6.js} +3 -3
- package/dist/{chunk-c05dxz9x.js → chunk-hzhcajx1.js} +2 -2
- package/dist/{chunk-vqkwvrxc.js → chunk-jca8s47n.js} +2 -2
- package/dist/{chunk-fzze5xcw.js → chunk-jg4c3zg4.js} +2 -2
- package/dist/{chunk-hwvr7b0j.js → chunk-jm6y0edw.js} +2 -2
- package/dist/chunk-jq6qs3s6.js +2 -0
- package/dist/{chunk-qdgsg6v4.js → chunk-k4xsxxy7.js} +2 -2
- package/dist/chunk-k99r1r38.js +2 -0
- package/dist/{chunk-64wzvf7k.js → chunk-kh3af9mq.js} +2 -2
- package/dist/{chunk-k86843av.js → chunk-kj3a1k2q.js} +2 -2
- package/dist/chunk-kj3t4mqf.js +2 -0
- package/dist/{chunk-8djjctdj.js → chunk-kk9dbwd1.js} +2 -2
- package/dist/chunk-kv1w4jx4.js +2 -0
- package/dist/chunk-kztrgv9y.js +2 -0
- package/dist/{chunk-6es8tgxc.js → chunk-m8pkmbtf.js} +2 -2
- package/dist/{chunk-tkbs5ev1.js → chunk-m944rgn9.js} +2 -2
- package/dist/{chunk-9pcx42v8.js → chunk-mg7kraha.js} +2 -2
- package/dist/chunk-mhv75thj.js +0 -0
- package/dist/chunk-mqpkm974.js +2 -0
- package/dist/chunk-mr2wcd24.js +2 -0
- package/dist/{chunk-nszq1xrj.js → chunk-ms0h8x63.js} +2 -2
- package/dist/{chunk-a1k3ffay.js → chunk-n0q8e6sq.js} +2 -2
- package/dist/{chunk-fd72zzqm.js → chunk-n3sm0834.js} +3 -3
- package/dist/chunk-n6dqwdg5.js +2 -0
- package/dist/{chunk-p0d6rr6q.js → chunk-n8v6cdq3.js} +2 -2
- package/dist/chunk-nh56sb8e.js +4 -0
- package/dist/{chunk-twbeapwa.js → chunk-nmd5x501.js} +2 -2
- package/dist/chunk-npvcy4tw.js +2 -0
- package/dist/{chunk-j6r44m9g.js → chunk-nrzkzvr0.js} +2 -2
- package/dist/{chunk-ct0xqakr.js → chunk-p14j9ckg.js} +2 -2
- package/dist/chunk-p2tm6tv8.js +1 -0
- package/dist/chunk-p781sb6h.js +2 -0
- package/dist/chunk-pdmayjan.js +2 -0
- package/dist/chunk-pk931bpm.js +2 -0
- package/dist/{chunk-1xaskqdj.js → chunk-pxv38ttf.js} +2 -2
- package/dist/{chunk-yaxsff9s.js → chunk-q01vmp9m.js} +2 -2
- package/dist/{chunk-wyndwb68.js → chunk-q46z21zs.js} +2 -2
- package/dist/{chunk-qwtmwj5m.js → chunk-q5qqhqw4.js} +2 -2
- package/dist/chunk-q9mh8x4r.js +2 -0
- package/dist/chunk-q9y0wjwp.js +2 -0
- package/dist/{chunk-gk0tq3n9.js → chunk-qdcznn2t.js} +2 -2
- package/dist/chunk-qejm75d7.js +2 -0
- package/dist/{chunk-d924by6g.js → chunk-qk1yqepm.js} +2 -2
- package/dist/chunk-r6c9r5yy.js +2 -0
- package/dist/chunk-r6ns1457.js +2 -0
- package/dist/chunk-r8expjyy.js +4 -0
- package/dist/{chunk-mgsxsaj1.js → chunk-r8pm74zf.js} +2 -2
- package/dist/{chunk-f2jc13bq.js → chunk-rb4p3h5b.js} +2 -2
- package/dist/{chunk-j5njgy7p.js → chunk-rh2yx0xq.js} +2 -2
- package/dist/{chunk-n13y99dj.js → chunk-rkejggyx.js} +2 -2
- package/dist/{chunk-t94rfs41.js → chunk-rr9kc3n8.js} +2 -2
- package/dist/{chunk-q2z9w661.js → chunk-rtbpfasb.js} +2 -2
- package/dist/chunk-rx84h0c2.js +2 -0
- package/dist/chunk-s2706gae.js +2 -0
- package/dist/chunk-s6b28p84.js +2 -0
- package/dist/{chunk-qm1z1zcw.js → chunk-s6y31dcb.js} +2 -2
- package/dist/{chunk-wdacgfwp.js → chunk-s88eyv24.js} +2 -2
- package/dist/{chunk-ev9tkjgy.js → chunk-s8djv2dy.js} +3 -3
- package/dist/chunk-sgbn37kz.js +2 -0
- package/dist/{chunk-vypkwd0x.js → chunk-swt6dntp.js} +2 -2
- package/dist/{chunk-xtwpbvdx.js → chunk-t9xkg3pk.js} +2 -2
- package/dist/{chunk-xbp4r3n4.js → chunk-tc3t2sgb.js} +3 -3
- package/dist/chunk-tcs1a1hk.js +2 -0
- package/dist/{chunk-9z9jffth.js → chunk-tec9yhsm.js} +2 -2
- package/dist/{chunk-csgkwny6.js → chunk-tj4b0s68.js} +2 -2
- package/dist/{chunk-mhxgws9c.js → chunk-tzczzqde.js} +2 -2
- package/dist/chunk-v8x5atmn.js +2 -0
- package/dist/chunk-vbbndjfd.js +2 -0
- package/dist/{chunk-7h3f7s97.js → chunk-vgscp6dr.js} +5 -5
- package/dist/{chunk-bqbpded2.js → chunk-vhxr0c4c.js} +2 -2
- package/dist/chunk-vvkp0jqa.js +2 -0
- package/dist/{chunk-gee5kh24.js → chunk-w1yrsbw1.js} +2 -2
- package/dist/chunk-wf7kfk3p.js +2 -0
- package/dist/{chunk-h3xn4d48.js → chunk-wjd2hpnd.js} +2 -2
- package/dist/chunk-wkrnbk0p.js +2 -0
- package/dist/chunk-wnydsth6.js +2 -0
- package/dist/{chunk-rvmbvv03.js → chunk-wxh1m3gg.js} +2 -2
- package/dist/chunk-x1mzrhtd.js +2 -0
- package/dist/{chunk-sg681jnt.js → chunk-x20dy83s.js} +4 -4
- package/dist/{chunk-9rf3qecr.js → chunk-xykmskka.js} +2 -2
- package/dist/chunk-y6p8xspr.js +2 -0
- package/dist/{chunk-vnr9rqs6.js → chunk-y8fmawc6.js} +3 -3
- package/dist/chunk-yc4cdg65.js +2 -0
- package/dist/{chunk-7eqtvqrn.js → chunk-ykz0h1r0.js} +2 -2
- package/dist/chunk-ymgc4317.js +2 -0
- package/dist/{chunk-z38xf1rw.js → chunk-z1qcgb6b.js} +3 -3
- package/dist/{chunk-d1n4w7hn.js → chunk-z6e4ydvm.js} +2 -2
- package/dist/chunk-ztrfygh5.js +2 -0
- package/dist/client.d.ts +9 -30
- package/dist/client.js +1 -1
- package/dist/codex/activity-group.js +1 -1
- package/dist/codex/artifact-links.d.ts +9 -0
- package/dist/codex/artifact-links.js +1 -0
- 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.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/conversation/types.d.ts +1 -0
- package/dist/desktop/desktop-composer.d.ts +13 -0
- package/dist/desktop/desktop-composer.js +1 -0
- package/dist/desktop/desktop.d.ts +7 -0
- package/dist/desktop/desktop.js +1 -0
- package/dist/desktop/draft-model-select.d.ts +10 -0
- package/dist/desktop/draft-model-select.js +1 -0
- package/dist/desktop/load-image.d.ts +1 -0
- package/dist/desktop/load-image.js +1 -0
- package/dist/desktop/model-catalog.d.ts +10 -0
- package/dist/desktop/model-catalog.js +1 -0
- package/dist/desktop/model-recovery.d.ts +10 -0
- package/dist/desktop/model-recovery.js +1 -0
- package/dist/desktop/model-settings-action.d.ts +2 -0
- package/dist/desktop/model-settings-action.js +1 -0
- package/dist/desktop/native-file-drop.d.ts +8 -0
- package/dist/desktop/native-file-drop.js +1 -0
- package/dist/generated/commands.d.ts +103 -48
- 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.d.ts +4 -0
- package/dist/lib/chat-path.js +1 -0
- 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-parser.worker.js +39 -38
- 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/locales.d.ts +210 -0
- package/dist/locales.js +1 -1
- package/dist/mermaid/diagram.d.ts +3 -0
- package/dist/mermaid/diagram.js +1 -0
- package/dist/mermaid/export.d.ts +6 -0
- package/dist/mermaid/export.js +1 -0
- package/dist/mermaid/index.d.ts +1 -0
- package/dist/mermaid/index.js +1 -0
- package/dist/mermaid/preview.d.ts +11 -0
- package/dist/mermaid/preview.js +1 -0
- 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/overflow-marquee.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.d.ts +3 -0
- 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.d.ts +1 -0
- 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 +4 -0
- 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 +1 -1
- package/dist/settings/providers.js +1 -1
- package/dist/settings/settings-bridge.js +1 -1
- package/dist/settings/settings.js +1 -1
- package/native/darwin-arm64/THIRD_PARTY_NOTICES.md +18 -18
- package/native/darwin-arm64/artifact.json +1 -1
- package/native/darwin-arm64/libalwith_native_chat.dylib +0 -0
- package/native/darwin-arm64/licenses/zstd-sys-2.1.3+zstd.1.5.7/LICENSE.BSD-2-Clause +29 -0
- package/native/win32-x64/THIRD_PARTY_NOTICES.md +16 -16
- package/native/win32-x64/alwith_native_chat.dll +0 -0
- package/native/win32-x64/artifact.json +1 -1
- package/native/win32-x64/licenses/zstd-sys-2.1.3+zstd.1.5.7/LICENSE.BSD-2-Clause +29 -0
- package/package.json +13 -7
- package/dist/chunk-0307kp7e.js +0 -2
- package/dist/chunk-04vnhbvc.js +0 -2
- package/dist/chunk-07fajk18.js +0 -2
- package/dist/chunk-1renytb3.js +0 -3
- package/dist/chunk-2drcx544.js +0 -2
- package/dist/chunk-2sxxr6j8.js +0 -2
- package/dist/chunk-2tc9kn50.js +0 -2
- package/dist/chunk-3t5cksae.js +0 -2
- package/dist/chunk-4jy404m1.js +0 -2
- package/dist/chunk-4n4gap45.js +0 -2
- package/dist/chunk-4zz6dnqa.js +0 -2
- package/dist/chunk-5m45z6qm.js +0 -4
- package/dist/chunk-6xds0dkq.js +0 -2
- package/dist/chunk-7hwg9r4y.js +0 -2
- package/dist/chunk-856bck34.js +0 -2
- package/dist/chunk-95n1cpnj.js +0 -2
- package/dist/chunk-9h77fcpn.js +0 -2
- package/dist/chunk-9rvf1am9.js +0 -2
- package/dist/chunk-avpdhhdz.js +0 -4
- package/dist/chunk-f0kgxjp1.js +0 -2
- package/dist/chunk-fjk1g303.js +0 -2
- package/dist/chunk-fjseqvmx.js +0 -1
- package/dist/chunk-gez0k8zs.js +0 -7
- package/dist/chunk-gjfhvaxn.js +0 -2
- package/dist/chunk-h4xxyhpn.js +0 -4
- package/dist/chunk-hmet2d96.js +0 -2
- package/dist/chunk-j9snfndd.js +0 -2
- package/dist/chunk-jz6zecb7.js +0 -2
- package/dist/chunk-kp7qa98m.js +0 -2
- package/dist/chunk-ktbszx6r.js +0 -2
- package/dist/chunk-ncwf6pjj.js +0 -3
- package/dist/chunk-nh9gk065.js +0 -2
- package/dist/chunk-nxj8m5bm.js +0 -2
- package/dist/chunk-pn5ghg65.js +0 -2
- package/dist/chunk-pwcw4zp2.js +0 -2
- package/dist/chunk-q1kstf4c.js +0 -2
- package/dist/chunk-q3vvg0de.js +0 -2
- package/dist/chunk-qkw2nhsr.js +0 -4
- package/dist/chunk-rncx5gxz.js +0 -2
- package/dist/chunk-s5c2ha8t.js +0 -2
- package/dist/chunk-sp411z4y.js +0 -7
- package/dist/chunk-sqm2vsf5.js +0 -2
- package/dist/chunk-t4dsmqdq.js +0 -2
- package/dist/chunk-thhtbvj1.js +0 -2
- package/dist/chunk-tvbgjmtw.js +0 -3
- package/dist/chunk-v0y5fepf.js +0 -3
- package/dist/chunk-vctq22tq.js +0 -2
- package/dist/chunk-vepv6ktb.js +0 -2
- package/dist/chunk-vjmgh1q9.js +0 -2
- package/dist/chunk-vmg3evhm.js +0 -2
- package/dist/chunk-w22ch68s.js +0 -2
- package/dist/chunk-xmks1g9y.js +0 -2
- package/dist/chunk-xmpaqxer.js +0 -2
- package/dist/chunk-xqwbn2ph.js +0 -2
- package/dist/chunk-y6kxhkjm.js +0 -2
- package/dist/chunk-yy1pm240.js +0 -2
- package/dist/chunk-z7ehwkcq.js +0 -2
- package/dist/chunk-zah0npdy.js +0 -2
- package/dist/chunk-zcwsc0gx.js +0 -2
- /package/native/darwin-arm64/licenses/{bumpalo-3.20.3 → bumpalo-3.20.4}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{bumpalo-3.20.3 → bumpalo-3.20.4}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{cc-1.11.1 → cc-1.11.2}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{cc-1.11.1 → cc-1.11.2}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{const-oid-0.10.2 → const-oid-0.10.3}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{const-oid-0.10.2 → const-oid-0.10.3}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{crc32fast-1.5.4 → crc32fast-1.5.5}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{crc32fast-1.5.4 → crc32fast-1.5.5}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{errno-0.3.14 → errno-0.3.15}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{errno-0.3.14 → errno-0.3.15}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{itoa-1.0.18 → itoa-1.0.19}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{itoa-1.0.18 → itoa-1.0.19}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{mio-1.2.4 → mio-1.2.5}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{nix-0.31.3 → nix-0.32.0}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{opencode-ai-models-0.0.124 → opencode-ai-models-0.0.136}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{rand-0.10.3 → rand-0.10.4}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{rand-0.10.3 → rand-0.10.4}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{rusqlite-0.42.0 → rusqlite-0.43.0}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{rustls-pki-types-1.15.1 → rustls-pki-types-1.16.0}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{rustls-pki-types-1.15.1 → rustls-pki-types-1.16.0}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{rustls-webpki-0.103.16 → rustls-webpki-0.103.17}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{syn-3.0.9 → syn-3.0.10}/LICENSE-APACHE +0 -0
- /package/native/darwin-arm64/licenses/{syn-3.0.9 → syn-3.0.10}/LICENSE-MIT +0 -0
- /package/native/darwin-arm64/licenses/{zip-9.4.2 → zip-9.6.0}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{zstd-0.14.3 → zstd-0.14.4}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{zstd-safe-8.2.0 → zstd-safe-8.3.0}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{zstd-sys-2.1.2+zstd.1.5.7 → zstd-sys-2.1.3+zstd.1.5.7}/LICENSE +0 -0
- /package/native/darwin-arm64/licenses/{zstd-sys-2.1.2+zstd.1.5.7 → zstd-sys-2.1.3+zstd.1.5.7}/LICENSE.BSD-3-Clause +0 -0
- /package/native/win32-x64/licenses/{bumpalo-3.20.3 → bumpalo-3.20.4}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{bumpalo-3.20.3 → bumpalo-3.20.4}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{cc-1.11.1 → cc-1.11.2}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{cc-1.11.1 → cc-1.11.2}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{const-oid-0.10.2 → const-oid-0.10.3}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{const-oid-0.10.2 → const-oid-0.10.3}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{crc32fast-1.5.4 → crc32fast-1.5.5}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{crc32fast-1.5.4 → crc32fast-1.5.5}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{itoa-1.0.18 → itoa-1.0.19}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{itoa-1.0.18 → itoa-1.0.19}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{mio-1.2.4 → mio-1.2.5}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{opencode-ai-models-0.0.124 → opencode-ai-models-0.0.136}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{rand-0.10.3 → rand-0.10.4}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{rand-0.10.3 → rand-0.10.4}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{rusqlite-0.42.0 → rusqlite-0.43.0}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{rustls-pki-types-1.15.1 → rustls-pki-types-1.16.0}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{rustls-pki-types-1.15.1 → rustls-pki-types-1.16.0}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{rustls-webpki-0.103.16 → rustls-webpki-0.103.17}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{syn-3.0.9 → syn-3.0.10}/LICENSE-APACHE +0 -0
- /package/native/win32-x64/licenses/{syn-3.0.9 → syn-3.0.10}/LICENSE-MIT +0 -0
- /package/native/win32-x64/licenses/{zip-9.4.2 → zip-9.6.0}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{zstd-0.14.3 → zstd-0.14.4}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{zstd-safe-8.2.0 → zstd-safe-8.3.0}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{zstd-sys-2.1.2+zstd.1.5.7 → zstd-sys-2.1.3+zstd.1.5.7}/LICENSE +0 -0
- /package/native/win32-x64/licenses/{zstd-sys-2.1.2+zstd.1.5.7 → zstd-sys-2.1.3+zstd.1.5.7}/LICENSE.BSD-3-Clause +0 -0
|
@@ -4,3 +4,7 @@ export declare function DeepSeekLogo(props: SVGProps<SVGSVGElement>): import("re
|
|
|
4
4
|
export declare function GrokLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
5
5
|
export declare function OpenRouterLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
6
6
|
export declare function QwenLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
7
|
+
export declare function AlwithAccountLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
8
|
+
export declare function ChatGPTLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
9
|
+
export declare function MiniMaxLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
10
|
+
export declare function SeedreamLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Yi,In,Tn,Mn,Nn,er,tr,nr,or}from"../chunk-2easwd1n.js";export{er as AlwithAccountLogo,tr as ChatGPTLogo,Yi as ClaudeLogo,In as DeepSeekLogo,Tn as GrokLogo,nr as MiniMaxLogo,Mn as OpenRouterLogo,Nn as QwenLogo,or as SeedreamLogo};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{oi,Ms,ii,ri,si,Yn}from"../chunk-ckjq6690.js";import"../chunk-gy4h86mw.js";import"../chunk-tc3t2sgb.js";import"../chunk-8kd74ng1.js";import"../chunk-2nb1475h.js";import"../chunk-p781sb6h.js";import"../chunk-3gnn1v68.js";import"../chunk-easm0z49.js";import"../chunk-swt6dntp.js";import"../chunk-k4xsxxy7.js";import"../chunk-6ehhap9k.js";import"../chunk-kj3t4mqf.js";import"../chunk-abgdqy92.js";import"../chunk-38hvm5ca.js";import"../chunk-2easwd1n.js";import"../chunk-y8fmawc6.js";import"../chunk-pdmayjan.js";import"../chunk-wf7kfk3p.js";export{Yn as CustomProviderEditor,oi as ManagedProviderSection,si as ProviderRow,Ms as ProviderSection,ii as ProviderTabs,ri as TestFeedback};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ji,$i,xn,qs,bn,Ee}from"../chunk-3gnn1v68.js";import"../chunk-kj3t4mqf.js";import"../chunk-38hvm5ca.js";import"../chunk-2easwd1n.js";export{ji as PROVIDERS_CHANGED,$i as PROVIDERS_REVOKED,bn as applyProvidersWhenIdle,qs as createManagedProvidersPort,xn as createProvidersPort,Ee as useProviders};
|
|
@@ -75,7 +75,7 @@ export declare function providerGroups(snapshot: ProviderSnapshot): Array<{
|
|
|
75
75
|
models: GatewayModel[];
|
|
76
76
|
}>;
|
|
77
77
|
export declare function gatewayModelId(providerId: string, modelId: string): string;
|
|
78
|
-
export declare function resolveSessionModel(model: string | null, snapshot: ProviderSnapshot): string | null;
|
|
78
|
+
export declare function resolveSessionModel(model: string | null, snapshot: ProviderSnapshot, purpose?: "session" | "draft", isAccount?: (model: string | null | undefined) => boolean): string | null;
|
|
79
79
|
export declare function providerRegion(provider: Provider, regionId: string | null | undefined): ProviderRegion | null;
|
|
80
80
|
export declare function providerKeyUrl(provider: Provider, regionId: string | null | undefined): string | null;
|
|
81
81
|
export declare function providerApplicationPending(error: unknown): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A,yt,xt,pe,S,Js,ie,_n,Pn,Xs,bt,Ys}from"../chunk-38hvm5ca.js";import"../chunk-2easwd1n.js";export{bt as MODEL_PRESENTATION,A as PROVIDERS,Xs as customModelEffort,S as gatewayModelId,yt as isAccountModel,xt as parseCustomModels,Ys as presentModel,Pn as providerApplicationPending,pe as providerGroups,_n as providerKeyUrl,ie as providerRegion,Js as resolveSessionModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{As,Es,Rs}from"../chunk-dxsjz3re.js";export{As as codexSettingsBridge,Rs as createSettingsBridgeClient,Es as serveSettingsBridge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{As,Es,Rs}from"../chunk-dxsjz3re.js";import"../chunk-6ehhap9k.js";import"../chunk-k4xsxxy7.js";import"../chunk-swt6dntp.js";import"../chunk-easm0z49.js";import"../chunk-y8fmawc6.js";import"../chunk-wf7kfk3p.js";import"../chunk-pdmayjan.js";import"../chunk-abgdqy92.js";import"../chunk-tc3t2sgb.js";import"../chunk-p781sb6h.js";import"../chunk-2nb1475h.js";import{Zt}from"../chunk-8kd74ng1.js";import{Kt,ai,Wt}from"../chunk-gy4h86mw.js";import{In,Tn,Mn,Nn}from"../chunk-2easwd1n.js";import{A,yt,xt,pe,S,Js,ie,_n,Pn,Xs,bt,Ys}from"../chunk-38hvm5ca.js";import"../chunk-kj3t4mqf.js";import{ji,$i,xn,qs,bn,Ee}from"../chunk-3gnn1v68.js";import{oi,Ms,ii,ri,si,Yn}from"../chunk-ckjq6690.js";import{ct,$t,qt}from"../chunk-xykmskka.js";import{Ns}from"../chunk-mr2wcd24.js";export{Wt as CodexAccountCard,ai as CodexAccountSummary,Yn as CustomProviderEditor,In as DeepSeekLogo,Tn as GrokLogo,Zt as LoginCard,ct as MODEL_ALIASES_KEY,bt as MODEL_PRESENTATION,oi as ManagedProviderSection,Ns as ModelAliasSettings,Mn as OpenRouterLogo,A as PROVIDERS,ji as PROVIDERS_CHANGED,$i as PROVIDERS_REVOKED,si as ProviderRow,Ms as ProviderSection,ii as ProviderTabs,Nn as QwenLogo,ri as TestFeedback,Kt as UsageLimitRow,bn as applyProvidersWhenIdle,As as codexSettingsBridge,qs as createManagedProvidersPort,xn as createProvidersPort,Rs as createSettingsBridgeClient,Xs as customModelEffort,S as gatewayModelId,yt as isAccountModel,xt as parseCustomModels,Ys as presentModel,Pn as providerApplicationPending,pe as providerGroups,_n as providerKeyUrl,ie as providerRegion,Js as resolveSessionModel,qt as saveModelAlias,Es as serveSettingsBridge,$t as useModelAliases,Ee as useProviders};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
ALwith native implementations are proprietary. Dependencies retain their own licences.
|
|
4
4
|
|
|
5
|
-
- @opencode-ai/models@0.0.
|
|
5
|
+
- @opencode-ai/models@0.0.136 (models.dev pricing data): MIT; licenses/opencode-ai-models-0.0.136/
|
|
6
6
|
- Inflector@0.11.4: BSD-2-Clause; licenses/Inflector-0.11.4/; source: https://raw.githubusercontent.com/whatisinternet/inflector/a4a95eac75043f4bffb127c7c8ec886b5b106053/LICENSE.md
|
|
7
7
|
- adler32@1.2.0: Zlib; licenses/adler32-1.2.0/
|
|
8
8
|
- aes@0.9.4: MIT OR Apache-2.0; licenses/aes-0.9.4/
|
|
@@ -14,11 +14,11 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
14
14
|
- base64@0.23.1: MIT OR Apache-2.0; licenses/base64-0.23.1/
|
|
15
15
|
- bitflags@2.13.2: MIT OR Apache-2.0; licenses/bitflags-2.13.2/
|
|
16
16
|
- block-buffer@0.12.1: MIT OR Apache-2.0; licenses/block-buffer-0.12.1/
|
|
17
|
-
- bumpalo@3.20.
|
|
17
|
+
- bumpalo@3.20.4: MIT OR Apache-2.0; licenses/bumpalo-3.20.4/
|
|
18
18
|
- bytecount@0.6.9: Apache-2.0/MIT; licenses/bytecount-0.6.9/
|
|
19
19
|
- bytes@1.12.1: MIT; licenses/bytes-1.12.1/
|
|
20
20
|
- bzip2@0.6.1: MIT OR Apache-2.0; licenses/bzip2-0.6.1/
|
|
21
|
-
- cc@1.11.
|
|
21
|
+
- cc@1.11.2: MIT OR Apache-2.0; licenses/cc-1.11.2/
|
|
22
22
|
- cfg-if@1.0.5: MIT OR Apache-2.0; licenses/cfg-if-1.0.5/
|
|
23
23
|
- cfg_aliases@0.2.2: MIT; licenses/cfg_aliases-0.2.2/
|
|
24
24
|
- chacha20@0.10.2: MIT OR Apache-2.0; licenses/chacha20-0.10.2/
|
|
@@ -26,13 +26,13 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
26
26
|
- cipher@0.5.2: MIT OR Apache-2.0; licenses/cipher-0.5.2/
|
|
27
27
|
- cmake@0.1.58: MIT OR Apache-2.0; licenses/cmake-0.1.58/
|
|
28
28
|
- cmov@0.5.4: Apache-2.0 OR MIT; licenses/cmov-0.5.4/
|
|
29
|
-
- const-oid@0.10.
|
|
29
|
+
- const-oid@0.10.3: Apache-2.0 OR MIT; licenses/const-oid-0.10.3/
|
|
30
30
|
- constant_time_eq@0.6.1: CC0-1.0 OR MIT-0 OR Apache-2.0; licenses/constant_time_eq-0.6.1/
|
|
31
31
|
- core-foundation@0.10.1: MIT OR Apache-2.0; licenses/core-foundation-0.10.1/
|
|
32
32
|
- core-foundation-sys@0.8.7: MIT OR Apache-2.0; licenses/core-foundation-sys-0.8.7/
|
|
33
33
|
- cpubits@0.1.1: MIT OR Apache-2.0; licenses/cpubits-0.1.1/
|
|
34
34
|
- cpufeatures@0.3.1: MIT OR Apache-2.0; licenses/cpufeatures-0.3.1/
|
|
35
|
-
- crc32fast@1.5.
|
|
35
|
+
- crc32fast@1.5.5: MIT OR Apache-2.0; licenses/crc32fast-1.5.5/
|
|
36
36
|
- crypto-common@0.2.2: MIT OR Apache-2.0; licenses/crypto-common-0.2.2/
|
|
37
37
|
- ctutils@0.4.8: Apache-2.0 OR MIT; licenses/ctutils-0.4.8/
|
|
38
38
|
- dary_heap@0.3.9: MIT OR Apache-2.0; licenses/dary_heap-0.3.9/
|
|
@@ -42,7 +42,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
42
42
|
- displaydoc@0.2.7: MIT OR Apache-2.0; licenses/displaydoc-0.2.7/
|
|
43
43
|
- dunce@1.0.5: CC0-1.0 OR MIT-0 OR Apache-2.0; licenses/dunce-1.0.5/
|
|
44
44
|
- equivalent@1.0.3: Apache-2.0 OR MIT; licenses/equivalent-1.0.3/
|
|
45
|
-
- errno@0.3.
|
|
45
|
+
- errno@0.3.15: MIT OR Apache-2.0; licenses/errno-0.3.15/
|
|
46
46
|
- fallible-iterator@0.3.0: MIT/Apache-2.0; licenses/fallible-iterator-0.3.0/
|
|
47
47
|
- fallible-streaming-iterator@0.1.9: MIT/Apache-2.0; licenses/fallible-streaming-iterator-0.1.9/
|
|
48
48
|
- fastrand@2.5.0: Apache-2.0 OR MIT; licenses/fastrand-2.5.0/
|
|
@@ -85,7 +85,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
85
85
|
- indexmap@2.14.2: Apache-2.0 OR MIT; licenses/indexmap-2.14.2/
|
|
86
86
|
- inout@0.2.6: MIT OR Apache-2.0; licenses/inout-0.2.6/
|
|
87
87
|
- ipnet@2.12.2: MIT OR Apache-2.0; licenses/ipnet-2.12.2/
|
|
88
|
-
- itoa@1.0.
|
|
88
|
+
- itoa@1.0.19: MIT OR Apache-2.0; licenses/itoa-1.0.19/
|
|
89
89
|
- jieba-macros@0.11.0: MIT; licenses/jieba-macros-0.11.0/; source: https://raw.githubusercontent.com/messense/jieba-rs/3a0d75cf7455e2006330a5b4e94156da272cd7b9/LICENSE
|
|
90
90
|
- jieba-rs@0.11.0: MIT; licenses/jieba-rs-0.11.0/; source: https://raw.githubusercontent.com/messense/jieba-rs/3a0d75cf7455e2006330a5b4e94156da272cd7b9/LICENSE
|
|
91
91
|
- jobserver@0.1.35: MIT OR Apache-2.0; licenses/jobserver-0.1.35/
|
|
@@ -100,8 +100,8 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
100
100
|
- lru-slab@0.1.3: MIT OR Apache-2.0 OR Zlib; licenses/lru-slab-0.1.3/
|
|
101
101
|
- lzma-rust2@0.25.0: Apache-2.0; licenses/lzma-rust2-0.25.0/
|
|
102
102
|
- memchr@2.8.3: Unlicense OR MIT; licenses/memchr-2.8.3/
|
|
103
|
-
- mio@1.2.
|
|
104
|
-
- nix@0.
|
|
103
|
+
- mio@1.2.5: MIT; licenses/mio-1.2.5/
|
|
104
|
+
- nix@0.32.0: MIT; licenses/nix-0.32.0/
|
|
105
105
|
- no_std_io2@0.9.4: Apache-2.0 OR MIT; licenses/no_std_io2-0.9.4/
|
|
106
106
|
- num-conv@0.2.2: MIT OR Apache-2.0; licenses/num-conv-0.2.2/
|
|
107
107
|
- num-traits@0.2.19: MIT OR Apache-2.0; licenses/num-traits-0.2.19/
|
|
@@ -122,7 +122,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
122
122
|
- quinn-proto@0.11.19: MIT OR Apache-2.0; licenses/quinn-proto-0.11.19/
|
|
123
123
|
- quinn-udp@0.5.16: MIT OR Apache-2.0; licenses/quinn-udp-0.5.16/
|
|
124
124
|
- quote@1.0.47: MIT OR Apache-2.0; licenses/quote-1.0.47/
|
|
125
|
-
- rand@0.10.
|
|
125
|
+
- rand@0.10.4: MIT OR Apache-2.0; licenses/rand-0.10.4/
|
|
126
126
|
- rand_core@0.10.1: MIT OR Apache-2.0; licenses/rand_core-0.10.1/
|
|
127
127
|
- rand_pcg@0.10.2: MIT OR Apache-2.0; licenses/rand_pcg-0.10.2/
|
|
128
128
|
- regex-lite@0.1.9: MIT OR Apache-2.0; licenses/regex-lite-0.1.9/
|
|
@@ -130,14 +130,14 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
130
130
|
- rev_lines@0.3.0: MIT (declared in its Cargo.toml; upstream publishes no licence text, standard MIT text with its declared authors); licenses/rev_lines-0.3.0/; source: https://github.com/mikeycgto/rev_lines
|
|
131
131
|
- ring@0.17.14: Apache-2.0 AND ISC; licenses/ring-0.17.14/
|
|
132
132
|
- rle-decode-fast@1.0.3: MIT OR Apache-2.0; licenses/rle-decode-fast-1.0.3/
|
|
133
|
-
- rusqlite@0.
|
|
133
|
+
- rusqlite@0.43.0: MIT; licenses/rusqlite-0.43.0/
|
|
134
134
|
- rustc-hash@2.1.3: Apache-2.0 OR MIT; licenses/rustc-hash-2.1.3/
|
|
135
135
|
- rustc_version@0.4.1: MIT OR Apache-2.0; licenses/rustc_version-0.4.1/
|
|
136
136
|
- rustix@1.1.6: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT; licenses/rustix-1.1.6/
|
|
137
137
|
- rustls@0.23.46: Apache-2.0 OR ISC OR MIT; licenses/rustls-0.23.46/
|
|
138
|
-
- rustls-pki-types@1.
|
|
138
|
+
- rustls-pki-types@1.16.0: MIT OR Apache-2.0; licenses/rustls-pki-types-1.16.0/
|
|
139
139
|
- rustls-platform-verifier@0.7.1: MIT OR Apache-2.0; licenses/rustls-platform-verifier-0.7.1/
|
|
140
|
-
- rustls-webpki@0.103.
|
|
140
|
+
- rustls-webpki@0.103.17: ISC; licenses/rustls-webpki-0.103.17/
|
|
141
141
|
- rustversion@1.0.23: MIT OR Apache-2.0; licenses/rustversion-1.0.23/
|
|
142
142
|
- scopeguard@1.2.0: MIT OR Apache-2.0; licenses/scopeguard-1.2.0/
|
|
143
143
|
- security-framework@3.7.0: MIT OR Apache-2.0; licenses/security-framework-3.7.0/
|
|
@@ -161,7 +161,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
161
161
|
- stop-words@0.10.1: MIT OR Apache-2.0; licenses/stop-words-0.10.1/
|
|
162
162
|
- subtle@2.6.1: BSD-3-Clause; licenses/subtle-2.6.1/
|
|
163
163
|
- syn@2.0.119: MIT OR Apache-2.0; licenses/syn-2.0.119/
|
|
164
|
-
- syn@3.0.
|
|
164
|
+
- syn@3.0.10: MIT OR Apache-2.0; licenses/syn-3.0.10/
|
|
165
165
|
- sync_wrapper@1.0.2: Apache-2.0; licenses/sync_wrapper-1.0.2/
|
|
166
166
|
- synstructure@0.14.0: MIT; licenses/synstructure-0.14.0/
|
|
167
167
|
- tempfile@3.27.0: MIT OR Apache-2.0; licenses/tempfile-3.27.0/
|
|
@@ -202,10 +202,10 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
202
202
|
- zerotrie@0.2.5: Unicode-3.0; licenses/zerotrie-0.2.5/
|
|
203
203
|
- zerovec@0.11.9: Unicode-3.0; licenses/zerovec-0.11.9/
|
|
204
204
|
- zerovec-derive@0.11.7: Unicode-3.0; licenses/zerovec-derive-0.11.7/
|
|
205
|
-
- zip@9.
|
|
205
|
+
- zip@9.6.0: MIT; licenses/zip-9.6.0/
|
|
206
206
|
- zlib-rs@0.6.8: Zlib; licenses/zlib-rs-0.6.8/
|
|
207
207
|
- zmij@1.0.23: MIT; licenses/zmij-1.0.23/
|
|
208
208
|
- zopfli@0.8.4: Apache-2.0; licenses/zopfli-0.8.4/
|
|
209
|
-
- zstd@0.14.
|
|
210
|
-
- zstd-safe@8.
|
|
211
|
-
- zstd-sys@2.1.
|
|
209
|
+
- zstd@0.14.4: BSD-3-Clause; licenses/zstd-0.14.4/
|
|
210
|
+
- zstd-safe@8.3.0: BSD-3-Clause; licenses/zstd-safe-8.3.0/
|
|
211
|
+
- zstd-sys@2.1.3+zstd.1.5.7: BSD-3-Clause AND BSD-2-Clause; licenses/zstd-sys-2.1.3+zstd.1.5.7/
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
The decoders for legacy formats, in zstd/lib/legacy/, include code under the
|
|
2
|
+
2-clause BSD license:
|
|
3
|
+
|
|
4
|
+
BSD 2-Clause License
|
|
5
|
+
|
|
6
|
+
Copyright (C) 2013-2016, Yann Collet.
|
|
7
|
+
|
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
|
9
|
+
modification, are permitted provided that the following conditions are
|
|
10
|
+
met:
|
|
11
|
+
|
|
12
|
+
* Redistributions of source code must retain the above copyright
|
|
13
|
+
notice, this list of conditions and the following disclaimer.
|
|
14
|
+
* Redistributions in binary form must reproduce the above
|
|
15
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
16
|
+
in the documentation and/or other materials provided with the
|
|
17
|
+
distribution.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
ALwith native implementations are proprietary. Dependencies retain their own licences.
|
|
4
4
|
|
|
5
|
-
- @opencode-ai/models@0.0.
|
|
5
|
+
- @opencode-ai/models@0.0.136 (models.dev pricing data): MIT; licenses/opencode-ai-models-0.0.136/
|
|
6
6
|
- Inflector@0.11.4: BSD-2-Clause; licenses/Inflector-0.11.4/; source: https://raw.githubusercontent.com/whatisinternet/inflector/a4a95eac75043f4bffb127c7c8ec886b5b106053/LICENSE.md
|
|
7
7
|
- adler32@1.2.0: Zlib; licenses/adler32-1.2.0/
|
|
8
8
|
- aes@0.9.4: MIT OR Apache-2.0; licenses/aes-0.9.4/
|
|
@@ -14,11 +14,11 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
14
14
|
- base64@0.23.1: MIT OR Apache-2.0; licenses/base64-0.23.1/
|
|
15
15
|
- bitflags@2.13.2: MIT OR Apache-2.0; licenses/bitflags-2.13.2/
|
|
16
16
|
- block-buffer@0.12.1: MIT OR Apache-2.0; licenses/block-buffer-0.12.1/
|
|
17
|
-
- bumpalo@3.20.
|
|
17
|
+
- bumpalo@3.20.4: MIT OR Apache-2.0; licenses/bumpalo-3.20.4/
|
|
18
18
|
- bytecount@0.6.9: Apache-2.0/MIT; licenses/bytecount-0.6.9/
|
|
19
19
|
- bytes@1.12.1: MIT; licenses/bytes-1.12.1/
|
|
20
20
|
- bzip2@0.6.1: MIT OR Apache-2.0; licenses/bzip2-0.6.1/
|
|
21
|
-
- cc@1.11.
|
|
21
|
+
- cc@1.11.2: MIT OR Apache-2.0; licenses/cc-1.11.2/
|
|
22
22
|
- cfg-if@1.0.5: MIT OR Apache-2.0; licenses/cfg-if-1.0.5/
|
|
23
23
|
- cfg_aliases@0.2.2: MIT; licenses/cfg_aliases-0.2.2/
|
|
24
24
|
- chacha20@0.10.2: MIT OR Apache-2.0; licenses/chacha20-0.10.2/
|
|
@@ -26,11 +26,11 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
26
26
|
- cipher@0.5.2: MIT OR Apache-2.0; licenses/cipher-0.5.2/
|
|
27
27
|
- cmake@0.1.58: MIT OR Apache-2.0; licenses/cmake-0.1.58/
|
|
28
28
|
- cmov@0.5.4: Apache-2.0 OR MIT; licenses/cmov-0.5.4/
|
|
29
|
-
- const-oid@0.10.
|
|
29
|
+
- const-oid@0.10.3: Apache-2.0 OR MIT; licenses/const-oid-0.10.3/
|
|
30
30
|
- constant_time_eq@0.6.1: CC0-1.0 OR MIT-0 OR Apache-2.0; licenses/constant_time_eq-0.6.1/
|
|
31
31
|
- cpubits@0.1.1: MIT OR Apache-2.0; licenses/cpubits-0.1.1/
|
|
32
32
|
- cpufeatures@0.3.1: MIT OR Apache-2.0; licenses/cpufeatures-0.3.1/
|
|
33
|
-
- crc32fast@1.5.
|
|
33
|
+
- crc32fast@1.5.5: MIT OR Apache-2.0; licenses/crc32fast-1.5.5/
|
|
34
34
|
- crypto-common@0.2.2: MIT OR Apache-2.0; licenses/crypto-common-0.2.2/
|
|
35
35
|
- ctutils@0.4.8: Apache-2.0 OR MIT; licenses/ctutils-0.4.8/
|
|
36
36
|
- dary_heap@0.3.9: MIT OR Apache-2.0; licenses/dary_heap-0.3.9/
|
|
@@ -81,7 +81,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
81
81
|
- indexmap@2.14.2: Apache-2.0 OR MIT; licenses/indexmap-2.14.2/
|
|
82
82
|
- inout@0.2.6: MIT OR Apache-2.0; licenses/inout-0.2.6/
|
|
83
83
|
- ipnet@2.12.2: MIT OR Apache-2.0; licenses/ipnet-2.12.2/
|
|
84
|
-
- itoa@1.0.
|
|
84
|
+
- itoa@1.0.19: MIT OR Apache-2.0; licenses/itoa-1.0.19/
|
|
85
85
|
- jieba-macros@0.11.0: MIT; licenses/jieba-macros-0.11.0/; source: https://raw.githubusercontent.com/messense/jieba-rs/3a0d75cf7455e2006330a5b4e94156da272cd7b9/LICENSE
|
|
86
86
|
- jieba-rs@0.11.0: MIT; licenses/jieba-rs-0.11.0/; source: https://raw.githubusercontent.com/messense/jieba-rs/3a0d75cf7455e2006330a5b4e94156da272cd7b9/LICENSE
|
|
87
87
|
- jobserver@0.1.35: MIT OR Apache-2.0; licenses/jobserver-0.1.35/
|
|
@@ -96,7 +96,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
96
96
|
- lru-slab@0.1.3: MIT OR Apache-2.0 OR Zlib; licenses/lru-slab-0.1.3/
|
|
97
97
|
- lzma-rust2@0.25.0: Apache-2.0; licenses/lzma-rust2-0.25.0/
|
|
98
98
|
- memchr@2.8.3: Unlicense OR MIT; licenses/memchr-2.8.3/
|
|
99
|
-
- mio@1.2.
|
|
99
|
+
- mio@1.2.5: MIT; licenses/mio-1.2.5/
|
|
100
100
|
- no_std_io2@0.9.4: Apache-2.0 OR MIT; licenses/no_std_io2-0.9.4/
|
|
101
101
|
- num-conv@0.2.2: MIT OR Apache-2.0; licenses/num-conv-0.2.2/
|
|
102
102
|
- num-traits@0.2.19: MIT OR Apache-2.0; licenses/num-traits-0.2.19/
|
|
@@ -117,7 +117,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
117
117
|
- quinn-proto@0.11.19: MIT OR Apache-2.0; licenses/quinn-proto-0.11.19/
|
|
118
118
|
- quinn-udp@0.5.16: MIT OR Apache-2.0; licenses/quinn-udp-0.5.16/
|
|
119
119
|
- quote@1.0.47: MIT OR Apache-2.0; licenses/quote-1.0.47/
|
|
120
|
-
- rand@0.10.
|
|
120
|
+
- rand@0.10.4: MIT OR Apache-2.0; licenses/rand-0.10.4/
|
|
121
121
|
- rand_core@0.10.1: MIT OR Apache-2.0; licenses/rand_core-0.10.1/
|
|
122
122
|
- rand_pcg@0.10.2: MIT OR Apache-2.0; licenses/rand_pcg-0.10.2/
|
|
123
123
|
- regex-lite@0.1.9: MIT OR Apache-2.0; licenses/regex-lite-0.1.9/
|
|
@@ -125,13 +125,13 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
125
125
|
- rev_lines@0.3.0: MIT (declared in its Cargo.toml; upstream publishes no licence text, standard MIT text with its declared authors); licenses/rev_lines-0.3.0/; source: https://github.com/mikeycgto/rev_lines
|
|
126
126
|
- ring@0.17.14: Apache-2.0 AND ISC; licenses/ring-0.17.14/
|
|
127
127
|
- rle-decode-fast@1.0.3: MIT OR Apache-2.0; licenses/rle-decode-fast-1.0.3/
|
|
128
|
-
- rusqlite@0.
|
|
128
|
+
- rusqlite@0.43.0: MIT; licenses/rusqlite-0.43.0/
|
|
129
129
|
- rustc-hash@2.1.3: Apache-2.0 OR MIT; licenses/rustc-hash-2.1.3/
|
|
130
130
|
- rustc_version@0.4.1: MIT OR Apache-2.0; licenses/rustc_version-0.4.1/
|
|
131
131
|
- rustls@0.23.46: Apache-2.0 OR ISC OR MIT; licenses/rustls-0.23.46/
|
|
132
|
-
- rustls-pki-types@1.
|
|
132
|
+
- rustls-pki-types@1.16.0: MIT OR Apache-2.0; licenses/rustls-pki-types-1.16.0/
|
|
133
133
|
- rustls-platform-verifier@0.7.1: MIT OR Apache-2.0; licenses/rustls-platform-verifier-0.7.1/
|
|
134
|
-
- rustls-webpki@0.103.
|
|
134
|
+
- rustls-webpki@0.103.17: ISC; licenses/rustls-webpki-0.103.17/
|
|
135
135
|
- rustversion@1.0.23: MIT OR Apache-2.0; licenses/rustversion-1.0.23/
|
|
136
136
|
- scopeguard@1.2.0: MIT OR Apache-2.0; licenses/scopeguard-1.2.0/
|
|
137
137
|
- semver@1.0.28: MIT OR Apache-2.0; licenses/semver-1.0.28/
|
|
@@ -152,7 +152,7 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
152
152
|
- stop-words@0.10.1: MIT OR Apache-2.0; licenses/stop-words-0.10.1/
|
|
153
153
|
- subtle@2.6.1: BSD-3-Clause; licenses/subtle-2.6.1/
|
|
154
154
|
- syn@2.0.119: MIT OR Apache-2.0; licenses/syn-2.0.119/
|
|
155
|
-
- syn@3.0.
|
|
155
|
+
- syn@3.0.10: MIT OR Apache-2.0; licenses/syn-3.0.10/
|
|
156
156
|
- sync_wrapper@1.0.2: Apache-2.0; licenses/sync_wrapper-1.0.2/
|
|
157
157
|
- synstructure@0.14.0: MIT; licenses/synstructure-0.14.0/
|
|
158
158
|
- tempfile@3.27.0: MIT OR Apache-2.0; licenses/tempfile-3.27.0/
|
|
@@ -195,10 +195,10 @@ ALwith native implementations are proprietary. Dependencies retain their own lic
|
|
|
195
195
|
- zerotrie@0.2.5: Unicode-3.0; licenses/zerotrie-0.2.5/
|
|
196
196
|
- zerovec@0.11.9: Unicode-3.0; licenses/zerovec-0.11.9/
|
|
197
197
|
- zerovec-derive@0.11.7: Unicode-3.0; licenses/zerovec-derive-0.11.7/
|
|
198
|
-
- zip@9.
|
|
198
|
+
- zip@9.6.0: MIT; licenses/zip-9.6.0/
|
|
199
199
|
- zlib-rs@0.6.8: Zlib; licenses/zlib-rs-0.6.8/
|
|
200
200
|
- zmij@1.0.23: MIT; licenses/zmij-1.0.23/
|
|
201
201
|
- zopfli@0.8.4: Apache-2.0; licenses/zopfli-0.8.4/
|
|
202
|
-
- zstd@0.14.
|
|
203
|
-
- zstd-safe@8.
|
|
204
|
-
- zstd-sys@2.1.
|
|
202
|
+
- zstd@0.14.4: BSD-3-Clause; licenses/zstd-0.14.4/
|
|
203
|
+
- zstd-safe@8.3.0: BSD-3-Clause; licenses/zstd-safe-8.3.0/
|
|
204
|
+
- zstd-sys@2.1.3+zstd.1.5.7: BSD-3-Clause AND BSD-2-Clause; licenses/zstd-sys-2.1.3+zstd.1.5.7/
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
The decoders for legacy formats, in zstd/lib/legacy/, include code under the
|
|
2
|
+
2-clause BSD license:
|
|
3
|
+
|
|
4
|
+
BSD 2-Clause License
|
|
5
|
+
|
|
6
|
+
Copyright (C) 2013-2016, Yann Collet.
|
|
7
|
+
|
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
|
9
|
+
modification, are permitted provided that the following conditions are
|
|
10
|
+
met:
|
|
11
|
+
|
|
12
|
+
* Redistributions of source code must retain the above copyright
|
|
13
|
+
notice, this list of conditions and the following disclaimer.
|
|
14
|
+
* Redistributions in binary form must reproduce the above
|
|
15
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
16
|
+
in the documentation and/or other materials provided with the
|
|
17
|
+
distribution.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwith/module-chat",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -350,6 +350,11 @@
|
|
|
350
350
|
"types": "./dist/oauth.d.ts",
|
|
351
351
|
"import": "./dist/oauth.js",
|
|
352
352
|
"default": "./dist/oauth.js"
|
|
353
|
+
},
|
|
354
|
+
"./desktop": {
|
|
355
|
+
"types": "./dist/desktop/desktop.d.ts",
|
|
356
|
+
"import": "./dist/desktop/desktop.js",
|
|
357
|
+
"default": "./dist/desktop/desktop.js"
|
|
353
358
|
}
|
|
354
359
|
},
|
|
355
360
|
"peerDependencies": {
|
|
@@ -387,7 +392,7 @@
|
|
|
387
392
|
"prepack": "bun run build && bun test ../../scripts/__tests__/chat-worker-distribution.test.ts && bun ../../scripts/verify-module-package.ts chat"
|
|
388
393
|
},
|
|
389
394
|
"devDependencies": {
|
|
390
|
-
"@agentclientprotocol/sdk": "^2.
|
|
395
|
+
"@agentclientprotocol/sdk": "^2.7.0",
|
|
391
396
|
"@alwith/api": "^0.6.1",
|
|
392
397
|
"@happy-dom/global-registrator": "^21.0.4",
|
|
393
398
|
"@tauri-apps/api": "^3.0.0-alpha.3",
|
|
@@ -406,10 +411,10 @@
|
|
|
406
411
|
"@dnd-kit/sortable": "^10.0.0",
|
|
407
412
|
"@dnd-kit/utilities": "^3.2.2",
|
|
408
413
|
"@floating-ui/dom": "^1.8.0",
|
|
409
|
-
"@nyssance/codex-acp-v2": "^0.7.
|
|
414
|
+
"@nyssance/codex-acp-v2": "^0.7.70",
|
|
410
415
|
"@nyssance/shadcn": "^4.23.4",
|
|
411
416
|
"@shadcn/react": "^0.3.1",
|
|
412
|
-
"@solar-icons/react": "^2.
|
|
417
|
+
"@solar-icons/react": "^2.6.0",
|
|
413
418
|
"ansi_up": "^6.0.6",
|
|
414
419
|
"class-variance-authority": "^0.7.1",
|
|
415
420
|
"cn": "^0.5.2",
|
|
@@ -420,10 +425,11 @@
|
|
|
420
425
|
"highlight.js": "^11.12.0",
|
|
421
426
|
"katex": "^0.19.1",
|
|
422
427
|
"ldrs": "^1.1.9",
|
|
423
|
-
"lucide-react": "^1.
|
|
424
|
-
"marked": "^18.
|
|
428
|
+
"lucide-react": "^1.73.0",
|
|
429
|
+
"marked": "^18.2.0",
|
|
425
430
|
"marked-linkify-it": "^4.0.2",
|
|
426
|
-
"
|
|
431
|
+
"mermaid": "^12.3.0",
|
|
432
|
+
"motion": "^14.14.0",
|
|
427
433
|
"smplr": "^1.2.0"
|
|
428
434
|
},
|
|
429
435
|
"license": "SEE LICENSE IN LICENSE",
|
package/dist/chunk-0307kp7e.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{pe}from"./chunk-1e7gk302.js";import{x}from"./chunk-9h77fcpn.js";import{t,Ct}from"./chunk-xqwbn2ph.js";import{isEmbeddedResource as T,isImage as y,isResourceLink as L}from"@nyssance/codex-acp-v2/client";import{DownloadIcon as F,FileIcon as I,ImageOffIcon as U,LoaderCircleIcon as z}from"lucide-react";import{useState as C}from"react";import{Button as p}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as n,jsxs as s}from"react/jsx-runtime";function ka(e){let r=e.split(/[\\/]/).at(-1)??e;if(e.startsWith("file:")||/^https?:/.test(e))r=new URL(e).pathname.split("/").at(-1)??"";try{return decodeURIComponent(r)||"attachment"}catch(a){if(a instanceof URIError)return r||"attachment";throw a}}function j(e,r){let a=document.createElement("a");a.href=r,a.download=e,a.click()}function ne({block:e,generated:r=!1}){let a=t(),[d,f]=C(!1),[R,B]=C(null);if(L(e)){let c=x(e.uri);if(c!==null)return n(pe,{app:{id:c,name:e.title??e.name}});if(e.uri==="codex-image:unavailable")return s("span",{className:"text-muted-foreground flex items-center gap-2 rounded-lg border p-3 text-sm",children:[n(U,{className:"size-4"}),a.t("timeline.imageUnavailable")]});let u=ka(e.uri);return s(p,{variant:"outline",className:"h-auto max-w-full min-w-0 justify-start gap-3 overflow-hidden p-3","aria-label":e.title??e.name,title:e.uri,onClick:()=>a.openLink(e.uri),children:[n(I,{}),s("span",{className:"min-w-0 flex-1 text-start",children:[n("span",{className:"block truncate",children:e.title??e.name}),s("span",{className:"text-muted-foreground block truncate text-xs",children:[(e.title??e.name)!==u&&`${u} · `,e.mimeType??u.split(".").at(-1)?.toUpperCase()]})]})]})}if(!T(e)&&!y(e))return null;let i=y(e)?{uri:e.uri??`image.${e.mimeType.split("/")[1]??"png"}`,mimeType:e.mimeType,blob:e.data}:e.resource,o=ka(i.uri);if("text"in i)return s("div",{className:"min-w-0",children:[n("pre",{className:"overflow-x-auto whitespace-pre-wrap",children:i.text}),s(p,{variant:"link",size:"sm",className:"max-w-full min-w-0",title:i.uri,onClick:()=>a.openLink(i.uri),children:[n(I,{}),n("span",{className:"truncate",children:o})]})]});let m=`data:${i.mimeType??"application/octet-stream"};base64,${i.blob}`,g=i.mimeType?.toLowerCase().startsWith("image/")&&R!==m,{openImage:w,openImageGallery:v}=a,h=v?()=>v([{src:m,alt:o,uri:i.uri}],0):w&&(()=>w(m)),l=r&&g,E=async()=>{f(!0);try{if(a.saveFile)await a.saveFile(o,i.blob);else j(o,m)}catch(c){Ct(a,c)}finally{f(!1)}},N=n("img",{src:m,alt:"",className:r?"max-h-[40rem] max-w-full object-contain":"max-h-96 max-w-full rounded object-contain",onError:()=>B(m)});return s("div",{className:l?"codex-generated-image":"flex max-w-full min-w-0 flex-col items-start gap-1",children:[g&&(h===void 0?N:n(p,{variant:"ghost",className:r?"codex-generated-image-preview h-auto max-w-full p-0":"h-auto max-w-full p-0","aria-label":a.t("timeline.viewImage"),onClick:h,children:N})),s(p,{variant:l?"secondary":"link",size:l?"icon":"sm",className:l?"codex-generated-image-download":"max-w-full min-w-0",disabled:d,title:a.t("timeline.download",{name:o}),"aria-label":a.t("timeline.download",{name:o}),onClick:()=>{E()},children:[d?n(z,{className:"motion-safe:animate-spin"}):n(F,{}),!l&&n("span",{className:"truncate",children:o})]})]})}
|
|
2
|
-
export{ka,ne};
|
package/dist/chunk-04vnhbvc.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E}from"./chunk-f0kgxjp1.js";import{t}from"./chunk-xqwbn2ph.js";import{ne}from"./chunk-0307kp7e.js";import{ContentBlock as i}from"@agentclientprotocol/sdk/experimental/v2/unstable";import{isEmbeddedResource as m,isResourceLink as u}from"@nyssance/codex-acp-v2/client";import{jsx as n}from"react/jsx-runtime";function d({block:e,streaming:o}){let r=t();if(i.isText(e)){if(e.text.length===0)return null;return n("div",{className:"codex-assistant-message",children:n(E,{text:e.text,streaming:o})})}if(i.isImage(e))return n(ne,{block:e,generated:!0});if(i.isAudio(e))return n("audio",{controls:!0,src:`data:${e.mimeType};base64,${e.data}`});if(u(e)||m(e))return n(ne,{block:e,generated:!0});return n("div",{className:"text-muted-foreground",children:r.t("timeline.unsupportedContent",{type:e.type})})}function Ae({content:e,messageId:o,streaming:r}){return e.map((s,a)=>n(d,{block:s,streaming:r},`${o}:${a}`))}
|
|
2
|
-
export{Ae};
|
package/dist/chunk-07fajk18.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{P,_n}from"./chunk-z7ehwkcq.js";import{Ht}from"./chunk-q1kstf4c.js";import{useEffect as p,useRef as u,useState as m}from"react";var Po="providers:changed",Io="providers:managed-revoked",i=(e)=>e;function Kr(){return{read:()=>i(P.providersRead()),save:(e,r,t)=>i(P.providersSave({providerId:r,input:t,expectedRevision:e})),saveCustom:(e,r)=>i(P.providersSaveCustom({input:r,expectedRevision:e})),removeCustom:(e,r)=>i(P.providersRemoveCustom({providerId:r,expectedRevision:e})),test:(e)=>P.providersTest({providerId:e}),apply:()=>i(P.providersApply()),onChanged:(e)=>_n[Po].listen((r)=>e(r.payload))}}function qr(){return{bind:(e)=>P.providersAccountBind({account:e}),refresh:(e,r)=>i(P.providersRefreshManaged({generation:e,accessToken:r})),clear:async()=>{await P.providersClearManaged()},onRevoked:(e)=>_n[Io].listen((r)=>e(r.payload.sessionIds))}}async function At(e){try{return await e.apply()}catch(r){if(!Ht(r))throw r;return e.read()}}function Et(e,r=console.error){let[t,d]=m(null),a=u(r);return a.current=r,p(()=>{let n=!0,v=e.onChanged((o)=>{if(n)d((s)=>s&&s.revision>o.revision?s:o)});return v.then(()=>e.read()).then((o)=>{if(n)d((s)=>s&&s.revision>=o.revision?s:o)}).catch((o)=>{if(n)a.current(o)}),()=>{n=!1,v.then((o)=>o())}},[e]),t}
|
|
2
|
-
export{Po,Io,Kr,qr,At,Et};
|
package/dist/chunk-1renytb3.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{d}from"./chunk-s5c2ha8t.js";import{I,m}from"./chunk-4jy404m1.js";import{kt}from"./chunk-c05dxz9x.js";import{Le,c,Fe,Ze,i}from"./chunk-95n1cpnj.js";import{B,G,ie,z,V,fe,_t}from"./chunk-fjseqvmx.js";import{ge}from"./chunk-ct0xqakr.js";import{We}from"./chunk-82xjggwn.js";import{b}from"./chunk-d924by6g.js";import{It,F}from"./chunk-j6r44m9g.js";import{j,ye}from"./chunk-qnbr2cmg.js";import{Pt}from"./chunk-d1n4w7hn.js";import{St}from"./chunk-sqm2vsf5.js";import{hasPluginStore as ee}from"@nyssance/codex-acp-v2/client";import{BlocksIcon as te,BookOpenIcon as ae,CheckIcon as ne,CircleArrowUpIcon as se,MoreVerticalIcon as le,PlusIcon as U,PuzzleIcon as oe,RefreshCwIcon as re,SearchIcon as ce,Trash2Icon as de,XIcon as me}from"lucide-react";import{memo as ue,useDeferredValue as pe,useEffect as K,useMemo as Q,useState as C}from"react";import{Button as N}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as ve,DialogContent as xe,DialogDescription as he,DialogHeader as Ne,DialogTitle as ke,DialogTrigger as be}from"@nyssance/shadcn/vega/components/ui/dialog";import{DropdownMenu as Pe,DropdownMenuContent as we,DropdownMenuItem as Ce,DropdownMenuTrigger as Ie}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Input as W}from"@nyssance/shadcn/vega/components/ui/input";import{Label as Se}from"@nyssance/shadcn/vega/components/ui/label";import{Spinner as E}from"@nyssance/shadcn/vega/components/ui/spinner";import{jsx as e,jsxs as s,Fragment as Z}from"react/jsx-runtime";function O(t){return t.interface?.displayName??t.name}function X(t){return t.interface?.shortDescription??""}function De({plugin:t,marketplace:r}){let{t:p}=c(),g=i((n)=>(t.id in n.busyIds)),a=i((n)=>n.installed.some((v)=>v.plugin.id===t.id)),f=i((n)=>n.install),u=t.availability!=="AVAILABLE"||t.installPolicy==="NOT_AVAILABLE",o=p(g?"plugins.card.installing":a?"plugins.sections.installed":"plugins.card.install");if(a&&!g)return e(ne,{className:"text-muted-foreground size-4 shrink-0","aria-label":o});return e(N,{size:"icon-sm",variant:"ghost",className:"text-foreground shrink-0 rounded-full",disabled:g||a||u,"aria-label":o,title:u?p("plugins.disabledReason.unknown"):o,onClick:()=>void f({plugin:t,marketplace:r}).catch(()=>{}),children:g?e(E,{"aria-hidden":"true"}):e(U,{className:"size-5",strokeWidth:2,"aria-hidden":"true"})})}function Me({plugin:t,marketplace:r,actions:p,onOpen:g}){let a=X(t),f=t.interface?.developerName,u=t.localVersion??t.version,o=[f,u?`v${u}`:null].filter(Boolean).join(" · ");return s(fe,{className:"toolbox-row relative",children:[e(N,{variant:"ghost",className:"absolute inset-0 z-0 size-full","data-hover-background":"none","aria-label":O(t),onClick:()=>g({plugin:t,marketplace:r})}),e(z,{className:"pointer-events-none relative translate-none! self-center!",children:e("div",{className:"bg-muted flex size-10 shrink-0 items-center justify-center rounded-xl",children:e(F,{name:t.name})})}),s(G,{className:"pointer-events-none relative min-w-0",children:[e(_t,{className:"mb-0.5",children:O(t)}),e(ie,{className:"line-clamp-1",title:a,children:a||r.interface?.displayName||r.name}),o&&e(ie,{"data-toolbox-metadata":"",children:o})]}),e(B,{className:"relative w-8 shrink-0 justify-center",children:p})]})}function R(){return Ze((t)=>t.connection==="ready"&&ee(t.agent))}var D=48;function Ee({marketplace:t,plugins:r,onOpen:p}){let{t:g}=c(),a=i((n)=>n.removeMarketplace),[f,u]=C(0),o=Math.min(f,Math.max(0,Math.ceil(r.length/D)-1));if(r.length===0)return null;return s("section",{className:"flex flex-col gap-4",children:[s("div",{className:"flex items-center gap-2",children:[e("h2",{className:"text-base font-medium",children:t.interface?.displayName??t.name}),e("span",{className:"text-muted-foreground text-xs",children:r.length}),t.path!==null&&s(Pe,{children:[e(Ie,{render:e(N,{variant:"ghost",size:"icon-sm",className:"text-muted-foreground ms-auto","aria-label":g("plugins.pageActions")}),children:e(le,{})}),e(we,{align:"end",className:"w-max min-w-[140px] whitespace-nowrap",children:s(Ce,{className:"text-destructive",onClick:()=>void a(t.name),children:[e(de,{className:"size-3.5"}),g("plugins.marketplace.remove")]})})]})]}),e(V,{className:"grid grid-cols-1 gap-x-8 gap-y-2 px-0 @min-[700px]:grid-cols-2",children:r.slice(o*D,(o+1)*D).map((n)=>e(Me,{onOpen:p,plugin:n,marketplace:t,actions:e(De,{plugin:n,marketplace:t})},n.remotePluginId??n.id))}),r.length>D&&s("div",{className:"flex items-center justify-end gap-2 px-2",children:[e(N,{variant:"outline",size:"sm",className:"h-9",disabled:o===0,onClick:()=>u(o-1),children:g("plugins.previousPage")}),s("span",{className:"text-muted-foreground text-xs",children:[o+1," / ",Math.ceil(r.length/D)]}),e(N,{variant:"outline",size:"sm",className:"h-9",disabled:(o+1)*D>=r.length,onClick:()=>u(o+1),children:g("plugins.nextPage")})]})]},t.name)}var ze=ue(function({query:r,onOpen:p}){let{t:g}=c(),a=i((n)=>n.marketplaces),f=i((n)=>n.featuredPluginIds),u=Q(()=>a.map((n)=>({marketplace:n,entries:n.plugins.map((v)=>({plugin:v,text:[v.name,O(v),X(v),v.interface?.developerName??"",...v.keywords].join(`
|
|
2
|
-
`).toLowerCase()}))})),[a]),o=Q(()=>{let n=new Set(f);return u.map(({marketplace:v,entries:x})=>({marketplace:v,plugins:x.filter(({plugin:k,text:y})=>r===""?v.path!==null||n.has(k.id):y.includes(r)).map(({plugin:k})=>k)}))},[u,f,r]);return s(Z,{children:[o.map(({marketplace:n,plugins:v})=>e(Ee,{marketplace:n,plugins:v,onOpen:p},JSON.stringify([n.name,n.path,r]))),o.every((n)=>n.plugins.length===0)&&e("p",{className:"text-muted-foreground px-2 py-6 text-center text-sm",children:g("plugins.empty")})]})});function Oe(){let{t}=c(),r=R(),p=i((h)=>h.addMarketplace),g=i((h)=>h.upgradeAll),a=i((h)=>h.upgrading),[f,u]=C(""),[o,n]=C(!1),[v,x]=C(!1),[k,y]=C(null),T=async()=>{let h=f.trim();if(!h||o)return;n(!0),y(null);try{await p({source:h}),u(""),x(!1)}catch(S){y(S instanceof Error?S.message:String(S))}finally{n(!1)}};return s("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[s(N,{size:"sm",className:"h-9",variant:"outline",disabled:!r||a,"aria-busy":a,onClick:()=>void g(),children:[a?e(E,{}):e(se,{"data-icon":"inline-start"}),t("plugins.marketplace.upgradeAll")]}),s(ve,{open:v,onOpenChange:(h)=>{if(!o)x(h)},children:[s(be,{render:e(N,{size:"sm",className:"h-9",variant:"outline",disabled:!r}),children:[e(U,{"data-icon":"inline-start"}),t("plugins.addMarketplace")]}),s(xe,{children:[s(Ne,{children:[e(ke,{children:t("plugins.marketplace.addTitle")}),e(he,{children:t("plugins.catalog.sourceHelp")})]}),s("form",{className:"space-y-4",onSubmit:(h)=>{h.preventDefault(),T()},children:[e(Se,{htmlFor:"marketplace-source",children:t("plugins.marketplace.sourceLabel")}),e(W,{id:"marketplace-source",value:f,disabled:o,onChange:(h)=>u(h.target.value),placeholder:t("plugins.marketplace.sourcePlaceholder")}),k&&e("p",{role:"alert",className:"text-destructive text-sm",children:k}),s("div",{className:"flex justify-end gap-2",children:[e(N,{type:"button",variant:"ghost",disabled:o,onClick:()=>x(!1),children:t("plugins.marketplace.addCancel")}),s(N,{type:"submit",disabled:o||f.trim()==="",children:[o&&e(E,{}),t("plugins.marketplace.addSubmit")]})]})]})]})]})]})}function Be({onOpen:t,query:r}){let p=R(),g=i((u)=>u.marketplaceLoadErrors),a=i((u)=>u.loading)||!p,f=pe(r.trim().toLowerCase());return e(b,{className:"pe-0",viewportClassName:"pe-0",children:s("div",{className:`${j} flex flex-col gap-8`,children:[g.map((u)=>s("p",{className:"text-destructive px-2 text-xs",children:[u.marketplacePath,": ",u.message]},u.marketplacePath)),a?e(ge,{}):e(ze,{query:f,onOpen:t})]})})}function _r({cwd:t,active:r,extensions:p,onOpenCatalog:g}){let{t:a}=c(),f=Fe(),u=Le(f),o=i((l)=>l.refresh),n=i((l)=>l.loading),v=i((l)=>l.error),[x,k]=C("plugins"),[y,T]=C({plugins:"",skills:""}),h=x==="skills"?y.skills:y.plugins,S=(l)=>T((M)=>({...M,[x]:l})),Y=Ze((l)=>JSON.stringify([...new Set(l.sessionList.map((M)=>We(M.cwd,l.projectContext)).filter((M)=>M!==null))].toSorted())),A=JSON.stringify([...new Set([We(t,f.state.projectContext),...JSON.parse(Y)].filter((l)=>l!==null))].toSorted()),L=i((l)=>l.installed),J=a(x==="skills"?"plugins.skills.search":"plugins.search"),[P,q]=C(null),w=R();K(()=>{if(!r||!w)return;if(u.getState().loadedScope!==A)o(JSON.parse(A))},[r,w,o,A,u]),K(()=>{if(!w)return;return f.onSkillsChanged(()=>void o(void 0,{background:!0}))},[w,o,f]);let H=(l)=>{g?.(),k("plugins"),q(l)},_=(l)=>{g?.(),k(l),q(null)};return s("div",{className:"plugins-page @container flex h-full min-h-0 overflow-hidden [--navigation-row-height:30px] [--spacing:4px]",children:[e(It,{}),s("aside",{className:"bg-sidebar/40 flex w-44 shrink-0 flex-col border-e sm:w-60","aria-label":a("plugins.catalog.navigation"),children:[e("div",{className:"shrink-0 px-3 pt-3",children:e("div",{className:"flex h-9 items-center","data-plugin-sidebar-header":"",children:e("h2",{className:"text-sm leading-8 font-semibold",children:a("plugins.catalog.customize")})})}),s("nav",{"aria-label":a("plugins.manageTabs.aria"),className:"flex shrink-0 flex-col gap-1 px-2 pb-1",children:[p&&s(m,{className:`${d} h-8 gap-2 px-2`,active:p.active,onClick:p.onOpen,children:[e(te,{className:"size-4"}),e("span",{children:a("plugins.extensions")})]}),["plugins","skills"].map((l)=>s(m,{className:`${d} h-8 gap-2 px-2`,active:!p?.active&&x===l&&P===null,onClick:()=>_(l),children:[l==="plugins"?e(oe,{className:"size-4"}):e(ae,{className:"size-4"}),e("span",{children:a(`plugins.headings.${l}`)})]},l))]}),e("h3",{className:"text-muted-foreground mx-2 mt-1 mb-2 flex h-8 shrink-0 items-center px-2 text-xs font-medium",children:a("plugins.sections.installed")}),e(b,{className:"min-h-0 flex-1 pe-0",viewportClassName:"pe-0",children:e("nav",{"aria-label":a("plugins.sections.installed"),className:"px-2 pb-4",children:e(I,{children:!w||n&&L.length===0?s("div",{role:"status",className:"text-muted-foreground flex items-center gap-2 px-3 py-2 text-xs",children:[e(E,{className:"size-3.5",role:"presentation","aria-hidden":"true"}),a("plugins.detail.loading")]}):L.length===0?e("p",{className:"text-muted-foreground px-3 py-2 text-xs",children:a("plugins.sections.installedEmpty")}):L.map((l)=>s(m,{title:O(l.plugin),className:`${d} gap-2 px-2`,active:!p?.active&&P?.plugin.id===l.plugin.id,onClick:()=>H(l),children:[e(F,{name:l.plugin.name,className:"size-4 shrink-0"}),e("span",{className:"truncate",children:O(l.plugin)})]},l.plugin.id))})})})]}),e("main",{className:"toolbox-surface @container flex min-h-0 min-w-0 flex-1 flex-col","aria-label":a("plugins.catalog.content"),children:p?.active?p.content:s(Z,{children:[P&&e(Pt,{entry:P,onBack:()=>_("plugins")},JSON.stringify([P.marketplace.name,P.marketplace.path,P.plugin.id,t])),s("div",{hidden:P!==null,className:P?"hidden":"flex min-h-0 flex-1 flex-col",children:[e(ye,{children:e(kt,{title:a(`plugins.headings.${x}`),children:s("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[s("div",{className:"relative w-52 max-w-full",children:[e(ce,{className:"text-muted-foreground pointer-events-none absolute start-3 top-1/2 size-4 -translate-y-1/2"}),e(W,{className:"h-9 rounded-full ps-9 pe-9","aria-label":J,value:h,onChange:(l)=>S(l.target.value),placeholder:J}),h&&e(N,{className:"toolbox-search-clear absolute end-1 top-1/2 -translate-y-1/2",variant:"ghost",size:"icon-xs","aria-label":a("plugins.catalog.clearSearch"),onClick:()=>S(""),children:e(me,{})})]}),e(N,{variant:"ghost",size:"icon-sm",className:"text-muted-foreground","aria-label":a("plugins.skills.refresh"),disabled:!w||n,onClick:()=>void o(void 0,{forceRefetch:!0}),children:n?e(E,{}):e(re,{})}),x==="plugins"&&e(Oe,{})]})})}),(x==="plugins"||v)&&s("div",{className:"toolbox-content flex shrink-0 flex-col gap-4 pt-2 pb-6",children:[x==="plugins"&&e("p",{className:"text-muted-foreground text-sm",children:a("plugins.catalog.description")}),v&&s("div",{role:"alert",className:"text-destructive flex items-center justify-between gap-2 text-sm",children:[s("p",{children:[a("plugins.loadError.title"),": ",v]}),e(N,{size:"sm",className:"h-9",variant:"outline",disabled:n||!w,onClick:()=>void o(),children:a("plugins.loadError.retry")})]})]}),s("div",{className:"flex min-h-0 flex-1 flex-col",children:[e("div",{hidden:x!=="plugins",className:x==="plugins"?"flex min-h-0 flex-1 flex-col":"hidden",children:e(Be,{query:y.plugins,onOpen:H})}),e("div",{hidden:x!=="skills",className:x==="skills"?"flex min-h-0 flex-1 flex-col":"hidden",children:e(St,{query:y.skills,ready:w,onOpenPlugin:H})})]})]})]})})]})}
|
|
3
|
-
export{_r};
|
package/dist/chunk-2drcx544.js
DELETED
package/dist/chunk-2sxxr6j8.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d}from"./chunk-s5c2ha8t.js";import{s,n}from"./chunk-3t5cksae.js";import{I,f,m,ee}from"./chunk-4jy404m1.js";import{T,le,Oo}from"./chunk-vctq22tq.js";import{ot}from"./chunk-11z072sz.js";import{O,te}from"./chunk-p0d6rr6q.js";import{Ie,se}from"./chunk-05eg5p11.js";import{closestCorners as ge,DndContext as fe,KeyboardSensor as Ce,PointerSensor as ye,useSensor as V,useSensors as Se}from"@dnd-kit/core";import{SortableContext as W,sortableKeyboardCoordinates as De,useSortable as ae,verticalListSortingStrategy as X}from"@dnd-kit/sortable";import{CSS as ce}from"@dnd-kit/utilities";import{cn as F}from"cn";import{BrushCleaningIcon as we,MessageSquareIcon as ve,MoreHorizontalIcon as Ne,PencilIcon as he,PlusIcon as de,StarIcon as be,Trash2Icon as me}from"lucide-react";import{useEffect as xe,useMemo as Me,useState as L}from"react";import{Button as w}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as Y,DialogContent as Z,DialogDescription as oe,DialogFooter as ne,DialogHeader as ie,DialogTitle as re}from"@nyssance/shadcn/vega/components/ui/dialog";import{DropdownMenu as Ee,DropdownMenuContent as ke,DropdownMenuGroup as Le,DropdownMenuItem as H,DropdownMenuTrigger as Re}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Input as Pe}from"@nyssance/shadcn/vega/components/ui/input";import{jsx as e,jsxs as a,Fragment as ze}from"react/jsx-runtime";function Te({collectionId:l,sessionId:y,children:x}){let{attributes:v,listeners:N,setNodeRef:i,transform:u,transition:g,isDragging:M}=ae({id:JSON.stringify([l,y]),data:{type:"session",collectionId:l,sessionId:y}});return e("div",{ref:i,style:{transform:ce.Transform.toString(u),transition:g},className:F("w-full min-w-0",M&&"opacity-50"),...v,...N,role:"group",children:x})}function Be({collection:l,children:y,onEdit:x,onConfirm:v,onNewChat:N}){let{t:i}=T(),u=se(),g=le(),{attributes:M,listeners:p,setNodeRef:h,transform:R,transition:P,isDragging:z}=ae({id:l.id,disabled:{draggable:l.id===O,droppable:!1},data:{type:"collection"}});return e("div",{ref:h,style:{transform:ce.Transform.toString(R),transition:P},className:F("w-full min-w-0",z&&"opacity-50"),children:e(ee,{open:!l.collapsed,onOpenChange:(c)=>g(u({type:"collapse",id:l.id,collapsed:!c})),label:te(l,i),count:l.sessionIds.length,leading:l.id===O?e(be,{className:"size-3.5"}):e(ot,{emoji:l.emoji,onChange:(c)=>g(u({type:"emoji",id:l.id,emoji:c}))}),wrapHeader:(c)=>e("div",{...M,...p,role:"group",children:c}),actions:a(Ee,{children:[e(Re,{onClick:(c)=>c.stopPropagation(),onPointerDown:(c)=>c.stopPropagation(),render:e(w,{variant:"ghost",size:"icon",className:"size-5","aria-label":i("collection.more",{name:te(l,i)}),children:e(Ne,{className:"size-3.5"})})}),e(ke,{children:a(Le,{children:[l.id!==O&&a(H,{onClick:x,children:[e(he,{}),i("collection.rename")]}),a(H,{onClick:N,children:[e(de,{}),i("collection.newChat")]}),a(H,{onClick:()=>v("clear"),children:[e(we,{}),i("collection.clearCollection")]}),l.id!==O&&a(H,{variant:"destructive",onClick:()=>v("delete"),children:[e(me,{}),i("collection.deleteCollection")]})]})})]}),children:y})})}function He({children:l}){return e("div",{className:"min-h-0 flex-1 overflow-y-auto ps-2 pe-0 pb-1",children:l})}function na({renderRow:l,onSelect:y,onNewChat:x,Scroll:v=He}){let N=T(),{t:i}=N,u=se(),g=le(),M=s(),{collections:p,order:h}=Ie(),R=n((o)=>o.sessionList),P=n((o)=>o.archivedSessions),z=n((o)=>o.sessionListLoaded),c=n((o)=>o.sessionListError),U=Me(()=>new Map([...P,...R].map((o)=>[o.sessionId,o])),[P,R]),_=N.isMac??Oo(),[S,E]=L(null),[k,K]=L(""),[q,j]=L(""),[D,B]=L(null),[C,J]=L(!1),pe=Se(V(ye,{activationConstraint:{distance:5}}),V(Ce,{coordinateGetter:De})),G=h.flatMap((o)=>p[o].collapsed?[]:p[o].sessionIds.flatMap((t)=>{let r=U.get(t);return r&&!r.archived?[r]:[]}));xe(()=>{let o=(t)=>{if(t.defaultPrevented||t.isComposing||t.repeat||t.shiftKey||t.altKey)return;if(_?!t.metaKey||t.ctrlKey:!t.ctrlKey||t.metaKey)return;if(document.querySelector('[role="dialog"], [role="alertdialog"], [role="menu"], [role="listbox"]'))return;if(t.target instanceof HTMLElement&&(t.target.isContentEditable||t.target.closest("input,textarea,[role=dialog],[role=menu]")))return;let r=Number(t.key)-1;if(!Number.isInteger(r)||r<0||r>8||!G[r])return;t.preventDefault(),y(G[r])};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[G,_,y]);let ue=({active:o,over:t})=>{if(t===null)return;let r=o.data.current,b=t.data.current;if(r?.type==="session"&&b!==void 0){let Q=b.type==="session"?String(b.collectionId):String(t.id);g(u({type:"move",sourceCollectionId:String(r.collectionId),collectionId:Q,sessionId:String(r.sessionId),index:b.type==="session"?p[Q].sessionIds.indexOf(String(b.sessionId)):void 0}))}else if(r?.type==="collection"&&b?.type==="collection"&&String(t.id)!==O)g(u({type:"reorder",id:String(o.id),index:h.indexOf(String(t.id))}))},A=(o,t)=>{J(!0),g(o.then(t).finally(()=>J(!1)))};return a(ze,{children:[e(v,{children:a(I,{children:[a(m,{className:F(d,"font-normal"),onClick:()=>{E("new"),K(""),j("")},children:[e(f,{children:e(de,{})}),e("span",{children:i("collection.newCollection")})]}),c&&a("div",{className:"text-muted-foreground px-2 text-sm",children:[e("p",{role:"alert",children:c}),e(w,{variant:"ghost",onClick:()=>g(M.listSessions({reset:!0})),children:i("collection.retry")})]}),e(fe,{sensors:pe,collisionDetection:ge,onDragEnd:ue,children:e(W,{items:h,strategy:X,children:e(I,{children:h.map((o)=>e(Be,{collection:p[o],onNewChat:()=>x(o),onEdit:()=>{E(o),K(p[o].name),j(p[o].emoji??"")},onConfirm:(t)=>B({id:o,type:t}),children:e(W,{items:p[o].sessionIds.map((t)=>JSON.stringify([o,t])),strategy:X,children:p[o].sessionIds.map((t)=>{let r=U.get(t);if(r?.archived)return null;if(!r)return z?a("div",{className:"text-muted-foreground flex h-[var(--navigation-row-height)] w-full items-center gap-1 rounded-[10px] ps-1 pe-1.5 text-sm font-normal",children:[e(f,{children:e(ve,{className:"size-3.5"})}),e("span",{className:"min-w-0 flex-1 truncate",children:i("collection.unavailable")}),e(w,{variant:"ghost",size:"icon",className:"size-5 [&_svg]:size-3.5","aria-label":i("collection.removeFromGroup"),onClick:()=>g(u({type:"remove",sessionId:t,collectionId:o})),children:e(me,{})})]},t):null;return e(Te,{collectionId:o,sessionId:t,children:l(r,()=>{},o)},t)})})},o))})})})]})}),e(Y,{open:S!==null,onOpenChange:(o)=>{if(!o&&!C)E(null)},children:a(Z,{children:[a(ie,{children:[e(re,{children:i(S==="new"?"collection.newCollection":"collection.rename")}),e(oe,{children:i("collection.collectionName")})]}),a("form",{onSubmit:(o)=>{if(o.preventDefault(),S===null||!k.trim()||C)return;let t=S==="new"?`collection-${crypto.randomUUID()}`:S;A(u([S==="new"?{type:"create",id:t,name:k}:{type:"rename",id:t,name:k},{type:"emoji",id:t,emoji:q}]),()=>E(null))},className:"flex flex-col gap-3",children:[e(Pe,{autoFocus:!0,"aria-label":i("collection.collectionName"),value:k,onChange:(o)=>K(o.target.value),disabled:C}),S!=="new"&&e(ot,{emoji:q,onChange:j}),a(ne,{children:[e(w,{type:"button",variant:"outline",disabled:C,onClick:()=>E(null),children:i("collection.cancel")}),e(w,{type:"submit",disabled:C||!k.trim(),children:i("collection.confirm")})]})]})]})}),e(Y,{open:D!==null,onOpenChange:(o)=>{if(!o&&!C)B(null)},children:a(Z,{children:[a(ie,{children:[e(re,{children:i(D?.type==="delete"?"collection.deleteCollection":"collection.clearCollection")}),e(oe,{children:i("collection.confirmCollectionChange",{name:D===null?"":te(p[D.id],i)})})]}),a(ne,{children:[e(w,{variant:"outline",disabled:C,onClick:()=>B(null),children:i("collection.cancel")}),e(w,{disabled:C,onClick:()=>{if(D!==null)A(u({type:D.type,id:D.id}),()=>B(null))},children:i("collection.confirm")})]})]})})]})}
|
|
2
|
-
export{na};
|
package/dist/chunk-2tc9kn50.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E}from"./chunk-f0kgxjp1.js";import{de}from"./chunk-bqbpded2.js";import{isPlanItems as n,isPlanMarkdown as r}from"@nyssance/codex-acp-v2/client";import{jsx as e}from"react/jsx-runtime";function ir({plan:t}){if(r(t))return e("div",{className:"codex-reasoning-details",children:e(E,{text:t.content,streaming:!1})});if(!n(t))return null;return e(de,{entries:t.entries})}
|
|
2
|
-
export{ir};
|
package/dist/chunk-3t5cksae.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N}from"./chunk-netp71kb.js";import{createContext as c,useContext as p,useState as x,useSyncExternalStore as y}from"react";import{Button as m}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as D,DialogContent as L,DialogDescription as h,DialogFooter as w,DialogHeader as P,DialogTitle as H}from"@nyssance/shadcn/vega/components/ui/dialog";import{jsx as o,jsxs as d}from"react/jsx-runtime";var S=c(null),C=c(null),v=c(null);function sa({host:e,client:t,children:i}){let[r,l]=x(null);N(r!==null);let{t:u}=e;return o(S,{value:e,children:o(C,{value:t,children:d(v,{value:l,children:[i,o(D,{open:r!==null,onOpenChange:(f)=>!f&&l(null),children:d(L,{children:[d(P,{children:[o(H,{children:u("sessionList.deleteTitle")}),o(h,{children:u("sessionList.deleteDescription")})]}),d(w,{children:[o(m,{variant:"outline",onClick:()=>l(null),children:u("sessionList.cancel")}),o(m,{onClick:()=>{if(r)g(e,t.delete(r.sessionId));l(null)},children:u("sessionList.delete")})]})]})})]})})})}function a(){let e=p(S);if(e===null)throw Error("Session list host is missing");return e}function Uo(){return p(S)}function s(){let e=p(C);if(e===null)throw Error("Session list client is missing");return e}function qt(){let e=p(v);if(e===null)throw Error("Session list provider is missing");return e}function n(e){let t=s();return y((i)=>t.store.subscribe(i),()=>e(t.store.getState()),()=>e(t.store.getState()))}function g(e,t){return t.then(()=>{},(i)=>{if(e.reportError)e.reportError(i);else console.error(i)})}
|
|
2
|
-
export{sa,a,Uo,s,qt,n,g};
|
package/dist/chunk-4jy404m1.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Pe,d}from"./chunk-s5c2ha8t.js";import{R}from"./chunk-aaqk0jrt.js";import{H}from"./chunk-7eqtvqrn.js";import{N}from"./chunk-netp71kb.js";import{tt,Oe,nt}from"./chunk-yaxsff9s.js";import{PreviewCard as C}from"@base-ui/react/preview-card";import{cn as u}from"cn";import{LockIcon as D}from"lucide-react";import{createContext as _,useContext as E,useLayoutEffect as M,useState as L}from"react";import"@alwith/module-chat/session-list.css";import{jsx as e,jsxs as p,Fragment as K}from"react/jsx-runtime";function I(o){if(o.as==="ul"){let{as:i,className:s,...a}=o;return e("ul",{className:u("flex w-full min-w-0 flex-col gap-0.5",s),...a})}let{as:t,className:n,...r}=o;return e("div",{className:u("flex w-full min-w-0 flex-col gap-0.5",n),...r})}function f({className:o,...t}){return e("span",{"data-slot":"navigation-leading",className:u("flex size-6 shrink-0 items-center justify-center [&_.lucide]:size-3.5",o),...t})}function m({active:o,className:t,...n}){return e("button",{type:"button","data-active":o?"":void 0,"aria-current":o?"page":void 0,className:u("group/navigation-row focus-visible:outline-ring flex h-[var(--navigation-row-height,30px)] w-full items-center gap-1 overflow-hidden rounded-[10px] ps-1 pe-1.5 text-start text-sm outline-hidden [corner-shape:superellipse(1.5)] focus-visible:outline-2 focus-visible:outline-offset-[-2px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",t),...n})}function ee({open:o,onOpenChange:t,tooltip:n,leading:r,label:i,count:s,countLabel:a,active:l=!1,actions:b,headerChildren:g,wrapHeader:c,onHeaderClick:P,children:y}){let S=()=>{P?.(),t(!o)},x=u(tt,"relative flex h-[var(--navigation-row-height,30px)] w-full items-center gap-1 rounded-[10px] ps-1 pe-1.5 text-start [corner-shape:superellipse(1.5)]"),k=p(K,{children:[r!=null&&e(f,{children:r}),g??e(R,{className:"flex-1 text-sm opacity-70",children:i}),e("span",{className:"relative z-10 ms-auto",children:e(nt,{content:s!==void 0?e(Oe,{className:u("text-muted-foreground justify-end text-xs opacity-70",a&&"w-auto"),children:e("span",{dir:"ltr",children:a??s})}):void 0,actions:b})})]}),O=g==null?p("div",{"data-active":l?"":void 0,title:n,className:u(x,d),onClick:S,onKeyDown:(v)=>{if(v.target!==v.currentTarget)return;if(v.key!=="Enter"&&v.key!==" ")return;v.preventDefault(),S()},children:[e("button",{type:"button","aria-expanded":o,"aria-label":typeof i==="string"?i:n,className:"focus-visible:outline-ring absolute inset-0 rounded-[10px] outline-hidden [corner-shape:superellipse(1.5)] focus-visible:outline-2 focus-visible:outline-offset-[-2px]"}),k]}):e("div",{"data-active":l?"":void 0,className:x,children:k});return p("div",{className:"text-[#1a1c1f] dark:text-white",children:[c===void 0?O:c(O),o&&e(I,{className:"mt-0.5",children:y})]})}var G=_(()=>{}),z=_(()=>{});function $t(){return E(z)}function Se(){return E(G)}function _e({active:o=!1,state:t,interruption:n=null,leased:r=!1,media:i,title:s,hoverCard:a,onHoverCardOpenChange:l,subtitle:b,preview:g,listeningPorts:c,onOpenPort:P,accessory:y,meta:S,hint:x,actions:k,className:O,...v}){let T=p("div",{"data-slot":"navigation-session-item","data-active":o,className:u(tt,Pe,"group/navigation-row focus-visible:outline-ring flex h-[var(--navigation-row-height,30px)] w-full items-center gap-1 overflow-hidden rounded-[10px] ps-1 pe-1.5 text-start text-sm outline-hidden [corner-shape:superellipse(1.5)] focus-visible:outline-2 focus-visible:outline-offset-[-2px]",(g||c!=null&&c.length>0)&&"h-auto min-h-[var(--navigation-row-height,30px)] py-2.5",O),...v,children:[e(f,{children:t!=null?e(H,{state:t,title:n??void 0}):i}),p("span",{className:"flex min-w-0 flex-1 flex-col",children:[e(R,{className:u("leading-none",t==="done"&&"font-semibold"),children:s}),b!=null&&e(R,{className:"text-muted-foreground text-xs",children:b}),g&&e("span",{className:"text-muted-foreground mt-1.5 line-clamp-2 text-xs leading-[18px] [overflow-wrap:anywhere] break-words",children:g}),c!=null&&c.length>0&&e("span",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-2 font-mono text-xs",children:c.map((w)=>P?p("button",{type:"button",className:"underline",onPointerDown:(h)=>h.stopPropagation(),onKeyDown:(h)=>h.stopPropagation(),onClick:(h)=>{h.stopPropagation(),P(w)},children:[":",w]},w):p("span",{children:[":",w]},w))})]}),p("span",{className:"relative ms-auto flex shrink-0 items-center gap-1",children:[r&&e(D,{className:"text-muted-foreground size-3"}),e(nt,{content:y!=null?e(Oe,{children:y}):S??e(Oe,{}),actions:k}),x!=null&&e("span",{className:"pointer-events-none absolute end-1 top-1/2 flex h-5 min-w-5 -translate-y-1/2 items-center justify-center",children:x})]})]});if(a==null)return T;return e(q,{row:T,onOpenChange:l,children:a})}function q({row:o,children:t,onOpenChange:n}){let[r,i]=L(!1),[s,a]=L(!1),l=r||s;return M(()=>(n?.(l),()=>n?.(!1)),[l,n]),e(G.Provider,{value:a,children:e(z.Provider,{value:()=>{i(!1),a(!1)},children:e(j,{open:l,onOpenChange:i,trigger:o,children:t})})})}function j({open:o,onOpenChange:t,trigger:n,children:r,side:i="inline-end",sideOffset:s=2,align:a="start",alignOffset:l}){return N(o),p(C.Root,{open:o,onOpenChange:t,children:[e(C.Trigger,{render:n,delay:700,closeDelay:100}),e(C.Portal,{children:e(C.Positioner,{side:i,sideOffset:s,align:a,alignOffset:l,className:"isolate z-50",children:e(C.Popup,{"data-slot":"codex-hover-card",className:"bg-popover text-popover-foreground ring-foreground/10 m-px flex w-80 max-w-[calc(100vw-1rem)] flex-col overflow-hidden rounded-md text-sm shadow-md ring-1 outline-hidden select-none",children:e("div",{className:"flex w-full min-w-0 flex-col px-0 py-1 break-words whitespace-normal",children:r})})})})]})}
|
|
2
|
-
export{I,f,m,ee,$t,Se,_e};
|
package/dist/chunk-4n4gap45.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s,n}from"./chunk-3t5cksae.js";import{QUICK_CHATS_GROUP as m,sessionGroup as a}from"@nyssance/codex-acp-v2/client";import{useEffect as S,useMemo as L}from"react";function Ur(c){let e=s(),o=n((t)=>t.projectContext),u=c===null?m:o?a(o,{cwd:e.projectPath(c)}).id:null,d=n((t)=>t.sessionList),l=n((t)=>t.connection),i=n((t)=>t.sessionListLoaded),r=n((t)=>t.sessionListError),f=()=>e.listSessions({reset:!0}).catch(()=>{return});return S(()=>{if(l==="ready"&&!i&&r===null)e.listSessions().catch(()=>{return})},[e,l,i,r]),{result:L(()=>{if(i&&o)return{status:"ready",sessionRows:d.filter((t)=>a(o,{...t,cwd:e.projectPath(t.cwd)}).id===u).toSorted((t,p)=>(p.updatedAt??"").localeCompare(t.updatedAt??""))};if(r!==null)return{status:"failed",error:r};return{status:"loading"}},[e,d,i,r,u,o]),retry:f}}
|
|
2
|
-
export{Ur};
|
package/dist/chunk-4zz6dnqa.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d}from"./chunk-s5c2ha8t.js";import{a}from"./chunk-3t5cksae.js";import{f,m}from"./chunk-4jy404m1.js";import{Je}from"./chunk-a1k3ffay.js";import{cn as r}from"cn";import{ArrowLeftIcon as s,ArrowRightIcon as l,SlidersHorizontalIcon as p}from"lucide-react";import{DropdownMenu as c,DropdownMenuContent as u,DropdownMenuItem as g,DropdownMenuTrigger as w}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as o,jsxs as L}from"react/jsx-runtime";function Tr({onCollapseAll:i}){let{t:n}=a();return L(c,{children:[o(w,{render:o(Je,{"aria-label":n("sessionList.filter"),title:n("sessionList.filter")}),children:o(p,{})}),o(u,{align:"end",className:"w-52",children:o(g,{onClick:i,children:n("sessionList.collapseAllGroups")})})]})}function Nr({screen:i,onSwitch:n}){let{t:e}=a(),t=e(i==="main"?"sessionList.openLeading":"sessionList.backToMain");return o(m,{className:r(d,i==="main"?"justify-start":"justify-end"),"aria-label":t,title:t,onClick:n,children:o(f,{children:i==="main"?o(s,{}):o(l,{})})})}
|
|
2
|
-
export{Tr,Nr};
|
package/dist/chunk-5m45z6qm.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{L}from"./chunk-pvd09dx5.js";import{Hn,u,C,gn,On,lt}from"./chunk-gk0tq3n9.js";import{bi,Fn,Ci,Dn}from"./chunk-z38xf1rw.js";import{ct,dt,fn}from"./chunk-vmg3evhm.js";import{ce,h}from"./chunk-5ygdb72w.js";import{cn as q}from"cn";import{forwardRef as z,useImperativeHandle as j,useLayoutEffect as U,useRef as d}from"react";import{jsx as V}from"react/jsx-runtime";var F=(r,S)=>r.text===S.text&&JSON.stringify(r.apps)===JSON.stringify(S.apps),Ln=z((r,S)=>{let I=ce(),H=h(),s=d(null),R=d(null),a=d(C(u({text:I.textInput.value,apps:r.applications}))),f=d({start:r.initialCaret??u(a.current).length,end:r.initialCaret??u(a.current).length}),y=d(r.initialUndo?[{...r.initialUndo,selection:{start:Math.max(0,(r.initialCaret??1)-1),end:Math.max(0,(r.initialCaret??1)-1)}}]:[]),P=d([]),A=d(""),K=d(r.skillIcon),g=d(!1),x=d(!1),w=d(null),c=d({props:r,controller:I,attachments:H});c.current={props:r,controller:I,attachments:H};let m=()=>{if(s.current&&document.activeElement===s.current)f.current=Ci(s.current,a.current.apps,f.current);return f.current},T=()=>{let e=s.current;if(!e)return;let t={...f.current};e.focus(),f.current=t,Dn(e,t)},v=()=>({...a.current,selection:m()}),D=(e,t)=>{if(!s.current)return;if(bi(s.current,e,c.current.props.skillNames,c.current.props.skillIcon),K.current=c.current.props.skillIcon,A.current=JSON.stringify(c.current.props.skillNames??[]),s.current.dataset.empty=String(e.text.length===0&&e.apps.length===0),f.current=t,document.activeElement===s.current)Dn(s.current,t)},k=(e,t,n=!0,l=!0)=>{if(l&&!F(a.current,e)){if(y.current.push(w.current??v()),y.current.length>100)y.current.shift();P.current=[]}if(w.current=null,a.current=e,f.current=t,n)D(e,t);c.current.props.onApplicationsChange(e.apps),c.current.controller.textInput.setInput(e.text)},b=(e)=>{let t=m(),n=u(a.current),l=u(e),i=new Set([...n.slice(0,t.start),...n.slice(t.end)].flatMap((E)=>typeof E==="string"?[]:[E.id])),p=l.filter((E)=>typeof E==="string"||!i.has(E.id)),o=C([...n.slice(0,t.start),...p,...n.slice(t.end)]),O=t.start+p.length;k(o,{start:O,end:O})},B=(e)=>{let n=(e?y.current:P.current).pop();if(!n)return;(e?P.current:y.current).push(v()),k({text:n.text,apps:n.apps},n.selection,!0,!1)},N=()=>{if(!s.current)return;let e=C(Fn(s.current,a.current.apps)),t=m();if(g.current)return;let n=fn(e.text),l=n===e.text?e:C(u({text:n,apps:e.apps}));k(l,t,n!==e.text)};U(()=>{let e=s.current;if(!e)throw Error("Inline prompt input is missing");Object.defineProperties(e,{value:{configurable:!0,get:()=>a.current.text,set:(i)=>{a.current=C(u({text:i,apps:a.current.apps})),D(a.current,f.current)}},selectionStart:{configurable:!0,get:()=>gn(u(a.current),m().start)},selectionEnd:{configurable:!0,get:()=>gn(u(a.current),m().end)},setSelectionRange:{configurable:!0,value:(i,p)=>{let o=u(a.current);f.current={start:On(o,i),end:On(o,p)},D(a.current,f.current),e.dispatchEvent(new Event("select"))}},disabled:{configurable:!0,get:()=>Boolean(c.current.props.disabled)},form:{configurable:!0,get:()=>e.closest("form")}}),R.current=e,D(a.current,f.current),T();let n=()=>{m()},l=(i)=>{if(c.current.props.disabled){i.preventDefault();return}if(g.current||i.isComposing)return;if(i.inputType==="historyUndo"||i.inputType==="historyRedo")i.preventDefault(),B(i.inputType==="historyUndo");else if(i.inputType==="insertParagraph"||i.inputType==="insertLineBreak")i.preventDefault(),b({text:`
|
|
2
|
-
`,apps:[]});else w.current=v()};return e.addEventListener("beforeinput",l),e.addEventListener("change",N),document.addEventListener("selectionchange",n),()=>{e.removeEventListener("beforeinput",l),e.removeEventListener("change",N),document.removeEventListener("selectionchange",n),R.current=null}},[]),U(()=>{if(g.current)return;let e=C(u({text:I.textInput.value,apps:r.applications}));if(F(e,a.current)&&A.current===JSON.stringify(r.skillNames??[])&&K.current===r.skillIcon)return;let t=m();a.current=e,D(e,t)},[I.textInput.value,r.applications,r.skillNames,r.skillIcon]),j(S,()=>({focus:T,getTextarea:()=>R.current,isComposing:()=>g.current||x.current,resetHeight:()=>{y.current=[],P.current=[]},insertInvocation:(e)=>{T(),b({text:`${e} `,apps:[]})},insertApplication:(e)=>{if(T(),a.current.apps.some((t)=>t.id===e.id))return;b({text:"",apps:[{...e,offset:0}]})}}),[]);let J=(e)=>{if(g.current||x.current||e.nativeEvent.isComposing||e.nativeEvent.keyCode===229)return;if(c.current.props.onKeyDown?.(e),e.defaultPrevented)return;if((e.metaKey||e.ctrlKey)&&!e.altKey&&(e.key.toLowerCase()==="z"||e.key.toLowerCase()==="y")){e.preventDefault(),B(e.key.toLowerCase()==="z"&&!e.shiftKey);return}if(e.key==="Enter"){if(e.preventDefault(),e.shiftKey)b({text:`
|
|
3
|
-
`,apps:[]});else{let t=s.current?.closest("form"),n=t?.querySelector('button[type="submit"]');if(n&&!n.disabled)t?.requestSubmit(n)}return}if(e.key==="Backspace"||e.key==="Delete"){let t=m(),n=u(a.current);if(t.start!==t.end){e.preventDefault(),b({text:"",apps:[]});return}let l=gn(n,t.start),i=L(a.current.text,c.current.props.skillNames??[]).find((o)=>e.key==="Backspace"?o.end===l:o.start===l);if(i){e.preventDefault();let o=t.start-(e.key==="Backspace"?i.name.length:0);k(C([...n.slice(0,o),...n.slice(o+i.name.length)]),{start:o,end:o});return}let p=e.key==="Backspace"?t.start-1:t.start;if(p>=0&&p<n.length&&typeof n[p]!=="string")e.preventDefault(),k(C([...n.slice(0,p),...n.slice(p+1)]),{start:p,end:p});else if(e.key==="Backspace"&&n.length===0){let o=c.current.attachments.files.at(-1);if(o)e.preventDefault(),c.current.attachments.remove(o.id)}}if(e.key.length===1&&e.key.charCodeAt(0)<32)e.preventDefault()},M=(e)=>{let t=m();if(t.start===t.end)return;let n=u(a.current).slice(t.start,t.end),l=C(n);if(e.preventDefault(),e.clipboardData.setData("text/plain",n.map((i)=>typeof i==="string"?i:`${i.name} `).join("")),e.clipboardData.setData(Hn,JSON.stringify({version:1,...l})),e.type==="cut"&&!r.disabled)b({text:"",apps:[]})};return V("div",{ref:s,role:"textbox","aria-multiline":"true","aria-label":r["aria-label"],"aria-disabled":r.disabled||void 0,contentEditable:!r.disabled,suppressContentEditableWarning:!0,"data-chat-input":!0,"data-inline-input":!0,"data-placeholder":r.placeholder,"data-empty":a.current.text.length===0&&a.current.apps.length===0,className:q("bg-chat-input-bg data-[empty=true]:before:text-chat-input-placeholder relative max-h-(--chat-input-max-height) min-w-0 flex-1 overflow-y-auto p-0 pe-2.5 leading-(--chat-input-line-height) break-words whitespace-pre-wrap outline-none data-[empty=true]:before:pointer-events-none data-[empty=true]:before:absolute data-[empty=true]:before:content-[attr(data-placeholder)]",r.className),onInput:N,onKeyDown:J,onCompositionStart:()=>{w.current=v(),g.current=!0,x.current=!1},onCompositionEnd:()=>{g.current=!1,N(),x.current=!0,requestAnimationFrame(()=>{x.current=!1})},onPasteCapture:(e)=>r.onPasteCapture?.(e),onPaste:(e)=>{if(e.defaultPrevented||r.disabled)return;let{imageFiles:t,sawNonImageFile:n}=ct(e.clipboardData.items);if(e.preventDefault(),t.length){H.add(t);return}if(n&&!dt(e.clipboardData.items))return;b(lt(e.clipboardData)??{text:fn(e.clipboardData.getData("text/plain")),apps:[]})},onCopy:M,onCut:M,onDrop:(e)=>{e.preventDefault()}})});Ln.displayName="PromptInputInline";
|
|
4
|
-
export{Ln};
|
package/dist/chunk-6xds0dkq.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ii}from"./chunk-xmpaqxer.js";import{o}from"./chunk-xqwbn2ph.js";import{e,y}from"./chunk-pwcw4zp2.js";import{Z,v,Q}from"./chunk-xmks1g9y.js";import{isBooleanOption as U,isGroupedSelect as q,isSelectOption as A}from"@nyssance/codex-acp-v2/client";import{Zap as D}from"lucide-react";import{memo as F,useRef as H}from"react";import{jsx as B}from"react/jsx-runtime";function J({sessionId:l,options:u,disabled:G,onModelChange:h,onConfigChange:C,defaultGroup:I={id:"models",name:"Models"},catalog:x=(c)=>c,headerAction:L}){let{host:c,client:N}=e(),{t:i}=c,P=o((n)=>Boolean(n.configPending[l])),p=H({sessionId:l,model:!0}),b=P&&(p.current.sessionId!==l||p.current.model),k=o((n)=>{let r=n.sessions[l];return r?.state==="running"||r?.state==="requires_action"}),t=v(u,"model"),a=v(u,"thought_level"),O=u.filter((n)=>n.configId!=="collaboration_mode"&&(n.category==="model_config"||n.category!=="mode"&&n!==t&&n!==a)),_=O.filter(A),m=O.filter(U);if(!t&&!a&&_.length===0&&m.length===0)return null;let f=(n,r)=>{if(r===n.currentValue)return Promise.resolve();p.current={sessionId:l,model:n===t};let d=C?C(n.configId,r):N.setConfig(l,n.configId,r);return y(c,d),d},g=a?Z(a):[],z=g.reduce((n,r)=>r.name.length>=n.length?r.name:n,""),R=t?Q(t):i("composer.model"),S=(n)=>({api_id:n.value,label:n.name}),V=x(t&&q(t.options)?t.options.map((n)=>({id:n.groupId,name:n.name,models:n.options.map(S)})):[{...I,models:t?Z(t).map(S):[]}]),w=V.flatMap((n)=>n.models),M=w.find((n)=>n.api_id===t?.currentValue)??{api_id:t?.currentValue??"",label:R},s=m.find((n)=>n.configId==="fast_mode"||n.configId==="fast-mode");return B(ii,{disabled:G||b||k,switching:b,value:{...M,label:M.shortLabel??M.label},compactCatalog:!0,models:w,showModelList:Boolean(t),onChange:(n)=>{if(n.api_id===t?.currentValue)return;if(h)h(n.api_id);else if(t)f(t,n.api_id)},header:{name:t?.name??i("composer.model"),action:L},modelGroups:V,t:i,effortConfig:a&&g.length>0?{name:"Effort",value:a.currentValue,levels:g,sizer:z,onChange:(n)=>f(a,n)}:void 0,selectOptions:_.map((n)=>({id:n.configId,name:n.name,value:n.currentValue,options:Z(n).map((r)=>({value:r.value,label:r.name})),onChange:(r)=>f(n,r)})),booleanOptions:[{id:"fast_mode",name:i("composer.fastMode"),currentValue:s?.currentValue??!1,disabled:!s,title:!s?i("composer.fastModeUnsupported"):void 0,icon:B(D,{className:"size-4","aria-hidden":"true"})},...m.filter((n)=>n!==s).map((n)=>({id:n.configId,name:n.name,currentValue:n.currentValue}))],onBooleanChange:(n,r)=>{let d=n==="fast_mode"?s:m.find((E)=>E.configId===n);if(!d)throw Error(`Unknown boolean config: ${n}`);f(d,r)}})}var nn=F(J);
|
|
2
|
-
export{nn};
|