@alwith/module-chat 0.5.19 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +240 -1
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/assets/catalogs/alwith/models.json +72 -0
- package/assets/catalogs/custom/models.json +604 -0
- package/assets/catalogs/custom/sources.json +168 -0
- package/assets/catalogs/deepseek/models.json +139 -0
- package/assets/catalogs/openrouter/models.json +231 -0
- package/assets/catalogs/qwen/models.json +253 -0
- package/assets/catalogs/xai/models.json +129 -0
- package/assets/provider-catalog.json +127 -0
- package/dist/activity-host.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-00eytt1z.js +2 -0
- package/dist/chunk-0fs2k5fe.js +1289 -0
- package/dist/chunk-0gersbj0.js +2 -0
- package/dist/chunk-0gy6ngda.js +2 -0
- package/dist/chunk-0mp7tyea.js +2 -0
- package/dist/chunk-0vhkv9ax.js +2 -0
- package/dist/{chunk-b53ky6rb.js → chunk-141kppzb.js} +2 -2
- package/dist/chunk-14exd146.js +2 -0
- package/dist/{chunk-yjtq166b.js → chunk-156m3888.js} +3 -3
- package/dist/{chunk-jx1cngyb.js → chunk-1e6x0018.js} +2 -2
- package/dist/{chunk-01rfnabj.js → chunk-1f628zap.js} +2 -2
- package/dist/{chunk-h3antqdd.js → chunk-1ppfn0e1.js} +2 -2
- package/dist/chunk-1q2cykp4.js +2 -0
- package/dist/chunk-1tkzxktd.js +2 -0
- package/dist/{chunk-9ej4c7a8.js → chunk-23rjsm3a.js} +2 -2
- package/dist/chunk-2ce8gd89.js +2 -0
- package/dist/chunk-2f1qx13s.js +2 -0
- package/dist/{chunk-0vy6cqmw.js → chunk-2nvsvw67.js} +2 -2
- package/dist/chunk-2tce3pc5.js +3 -0
- package/dist/chunk-2tkeevm0.js +2 -0
- package/dist/chunk-33620ca6.js +2 -0
- package/dist/chunk-3aq5c12k.js +2 -0
- package/dist/{chunk-jt8h82c2.js → chunk-3jcmv5qf.js} +2 -2
- package/dist/chunk-3n47hknp.js +2 -0
- package/dist/chunk-3nr5qe41.js +2 -0
- package/dist/chunk-3yvd77ph.js +2 -0
- package/dist/chunk-40bcp4pa.js +2 -0
- package/dist/{chunk-9xkp5x7h.js → chunk-42hkbpey.js} +2 -2
- package/dist/chunk-42nhwnbe.js +4 -0
- package/dist/chunk-4s6gx750.js +2 -0
- package/dist/chunk-4w3g7d6w.js +2 -0
- package/dist/chunk-52p7kyam.js +2 -0
- package/dist/{chunk-kvx8fv1e.js → chunk-59957gfy.js} +2 -2
- package/dist/chunk-59exzf5n.js +2 -0
- package/dist/chunk-5cdr7q6f.js +4 -0
- package/dist/chunk-5nc3dtyt.js +2 -0
- package/dist/chunk-63kxepkh.js +2 -0
- package/dist/chunk-67hrx4kg.js +2 -0
- package/dist/{chunk-eeq8d3x7.js → chunk-6dn3j8a2.js} +2 -2
- package/dist/{chunk-cdrmg9jj.js → chunk-72x7rae0.js} +2 -2
- package/dist/chunk-77j8n5k5.js +2 -0
- package/dist/{chunk-d6c0mnth.js → chunk-78s6h7r4.js} +2 -2
- package/dist/chunk-7p1r1ha9.js +2 -0
- package/dist/{chunk-hwh88n0v.js → chunk-7wk3d01c.js} +4 -4
- package/dist/chunk-80ckz04b.js +2 -0
- package/dist/chunk-82xjggwn.js +2 -0
- package/dist/chunk-85ffkcch.js +2 -0
- package/dist/chunk-8c042xya.js +2 -0
- package/dist/{chunk-09r35ts9.js → chunk-8ch9444t.js} +2 -2
- package/dist/{chunk-2hk04fh3.js → chunk-8hte6dh7.js} +2 -2
- package/dist/{chunk-dj4e0q7k.js → chunk-8jxcdap5.js} +2 -2
- package/dist/chunk-8qw8erv6.js +2 -0
- package/dist/chunk-8t36vprh.js +2 -0
- package/dist/{chunk-a9s3m9fs.js → chunk-8w22ck92.js} +2 -2
- package/dist/chunk-908ndb9r.js +2 -0
- package/dist/chunk-983gkw32.js +2 -0
- package/dist/chunk-9g67z1b4.js +2 -0
- package/dist/chunk-9mky3b7v.js +2 -0
- package/dist/chunk-9n79tr1q.js +2 -0
- package/dist/{chunk-ekd97p2x.js → chunk-9sq2etjk.js} +2 -2
- package/dist/chunk-a8p82wp7.js +2 -0
- package/dist/chunk-ajpxjj5m.js +2 -0
- package/dist/chunk-ap0vmczf.js +2 -0
- package/dist/chunk-aqvy57zs.js +2 -0
- package/dist/{chunk-9ebnn34t.js → chunk-aza82m2p.js} +2 -2
- package/dist/chunk-b2wczqtd.js +2 -0
- package/dist/chunk-b3jg6nzv.js +3 -0
- package/dist/{chunk-qy2prx7m.js → chunk-b614gnnv.js} +2 -2
- package/dist/{chunk-50mckd2p.js → chunk-c1b8z8pa.js} +2 -2
- package/dist/chunk-c38t8809.js +2 -0
- package/dist/chunk-c9nbavk0.js +2 -0
- package/dist/chunk-cbwya2ss.js +2 -0
- package/dist/chunk-cg8ekwka.js +2 -0
- package/dist/chunk-dv65h7z5.js +2 -0
- package/dist/chunk-dya74vts.js +2 -0
- package/dist/chunk-dyqvhn6y.js +5 -0
- package/dist/chunk-dyrgfdxz.js +2 -0
- package/dist/chunk-e9ntencj.js +2 -0
- package/dist/{chunk-e92r4g3v.js → chunk-ec9rgnt3.js} +2 -2
- package/dist/chunk-efrn25h9.js +2 -0
- package/dist/chunk-emcefs0g.js +2 -0
- package/dist/chunk-et8rcxw6.js +2 -0
- package/dist/chunk-f28hhbf4.js +2 -0
- package/dist/chunk-f3924gdb.js +2 -0
- package/dist/chunk-f8zy35gz.js +2 -0
- package/dist/chunk-f98at4r5.js +2 -0
- package/dist/chunk-fke98cj0.js +2 -0
- package/dist/chunk-g242n3dt.js +2 -0
- package/dist/{chunk-q4q4f03j.js → chunk-g73f62qm.js} +2 -2
- package/dist/{chunk-k9mbpf0g.js → chunk-h1bhhqtq.js} +2 -2
- package/dist/chunk-h5m2fpp4.js +2 -0
- package/dist/chunk-hv1ejvhg.js +2 -0
- package/dist/chunk-j86x2rn0.js +2 -0
- package/dist/chunk-jm6zja6h.js +2 -0
- package/dist/{chunk-z5tstgsh.js → chunk-k5rkpqbh.js} +2 -2
- package/dist/chunk-k5wgf59a.js +2 -0
- package/dist/{chunk-4xhvh2dn.js → chunk-k7k6qsqh.js} +2 -2
- package/dist/chunk-kc5k5e59.js +3 -0
- package/dist/chunk-kvc6ewkt.js +4 -0
- package/dist/chunk-kxmajv0m.js +3 -0
- package/dist/{chunk-m2hpfdch.js → chunk-m2b8kzpk.js} +2 -2
- package/dist/{chunk-e44hny11.js → chunk-m7wn4z9x.js} +2 -2
- package/dist/chunk-mcjwwxa1.js +2 -0
- package/dist/chunk-memvzzc6.js +2 -0
- package/dist/{chunk-fgzq0ktw.js → chunk-mg2mkzkk.js} +2 -2
- package/dist/{chunk-0zp04d1m.js → chunk-mgm1x3de.js} +2 -2
- package/dist/chunk-mwpchd85.js +3 -0
- package/dist/chunk-myrdfa3s.js +2 -0
- package/dist/chunk-n0khj68q.js +2 -0
- package/dist/{chunk-c2h76vnt.js → chunk-n929wkw7.js} +2 -2
- package/dist/chunk-nacjea1s.js +2 -0
- package/dist/{chunk-gcx4fk1a.js → chunk-nn25kjm4.js} +2 -2
- package/dist/{chunk-f8wzz84b.js → chunk-nq7gg9vg.js} +2 -2
- package/dist/{chunk-a4wrn6ep.js → chunk-nqw4deag.js} +2 -2
- package/dist/{chunk-gr1nnczz.js → chunk-ns5rnxdj.js} +2 -2
- package/dist/{chunk-6p41wmgs.js → chunk-nxp1b8ny.js} +2 -2
- package/dist/chunk-p4bb313p.js +3 -0
- package/dist/chunk-py837qjk.js +1 -0
- package/dist/chunk-q7nn5xe5.js +2 -0
- package/dist/chunk-qjhkzdhm.js +2 -0
- package/dist/{chunk-eyf9bxyx.js → chunk-qwfwxfhn.js} +2 -2
- package/dist/chunk-qxcnyvps.js +2 -0
- package/dist/chunk-r3qrftds.js +2 -0
- package/dist/chunk-r9dt4bs3.js +2 -0
- package/dist/chunk-rbqn4725.js +2 -0
- package/dist/chunk-rcbb4ke2.js +2 -0
- package/dist/chunk-rekc1q3m.js +2 -0
- package/dist/chunk-rwkkqdcv.js +2 -0
- package/dist/{chunk-fcy4sv9f.js → chunk-rwnz06kr.js} +2 -2
- package/dist/{chunk-5n4mefej.js → chunk-s55n9cby.js} +2 -2
- package/dist/chunk-sxh0pd3y.js +2 -0
- package/dist/chunk-sy5tq3y6.js +2 -0
- package/dist/chunk-t0cr21e3.js +2 -0
- package/dist/chunk-t97yjy4f.js +2 -0
- package/dist/chunk-v4t0p6pp.js +2 -0
- package/dist/{chunk-rsfwc38x.js → chunk-vcy5vyp7.js} +3 -3
- package/dist/chunk-vkrgdqnm.js +2 -0
- package/dist/chunk-vs02ry2r.js +2 -0
- package/dist/chunk-vyk4zh1m.js +7 -0
- package/dist/{chunk-5nj2fjej.js → chunk-w0hpztj7.js} +2 -2
- package/dist/chunk-w6rwngm3.js +2 -0
- package/dist/{chunk-jc52024g.js → chunk-w9dh298r.js} +2 -2
- package/dist/chunk-wvdncbrt.js +2 -0
- package/dist/chunk-x2yc5748.js +2 -0
- package/dist/chunk-x334e7wb.js +3 -0
- package/dist/{chunk-qmc18ejg.js → chunk-x6nz6eyb.js} +2 -2
- package/dist/chunk-xdm2are3.js +2 -0
- package/dist/{chunk-0zph0gwq.js → chunk-xf36kt74.js} +3 -3
- package/dist/{chunk-tzyc5myt.js → chunk-xgjkj9j8.js} +2 -2
- package/dist/chunk-xktybk48.js +2 -0
- package/dist/{chunk-210b2kk6.js → chunk-xmstt6hh.js} +2 -2
- package/dist/chunk-xrs7x5ah.js +2 -0
- package/dist/chunk-xyvqcpjx.js +2 -0
- package/dist/chunk-y7xcync7.js +2 -0
- package/dist/chunk-ye9tsdhn.js +2 -0
- package/dist/{chunk-5e10bzg2.js → chunk-z2fjwkmt.js} +2 -2
- package/dist/{chunk-nkqe2e8s.js → chunk-z2v008kc.js} +2 -2
- package/dist/chunk-z71pp1mb.js +4 -0
- package/dist/chunk-zxkvvecz.js +2 -0
- package/dist/codex/activity-group.js +1 -1
- package/dist/codex/assistant-message.js +1 -1
- package/dist/codex/async-question-card.js +1 -1
- package/dist/codex/disclosure-state.js +1 -1
- package/dist/codex/edited-files-card.js +1 -1
- package/dist/codex/image-view-activity.js +1 -1
- package/dist/codex/markdown-renderer.js +1 -1
- package/dist/codex/navigation-audio.js +1 -1
- package/dist/codex/navigation-preview.js +1 -1
- package/dist/codex/navigation-rail.js +1 -1
- package/dist/codex/patch-view.js +1 -1
- package/dist/codex/plan.js +1 -1
- package/dist/codex/timeline-virtualizer.js +1 -1
- package/dist/codex/turn-activity.js +1 -1
- package/dist/codex/user-message.js +1 -1
- package/dist/codex/virtualized-turn-list.js +1 -1
- package/dist/collections/collection-emoji.d.ts +4 -0
- package/dist/collections/collection-emoji.js +1 -0
- package/dist/collections/collection-menu.d.ts +15 -0
- package/dist/collections/collection-menu.js +1 -0
- package/dist/collections/collection-panel.d.ts +11 -0
- package/dist/collections/collection-panel.js +1 -0
- package/dist/collections/collections.d.ts +6 -0
- package/dist/collections/collections.js +1 -0
- package/dist/collections/host.d.ts +19 -0
- package/dist/collections/host.js +1 -0
- package/dist/collections/locales.d.ts +71 -0
- package/dist/collections/locales.js +1 -0
- package/dist/collections/model.d.ts +95 -0
- package/dist/collections/model.js +1 -0
- package/dist/collections/store.d.ts +30 -0
- package/dist/collections/store.js +1 -0
- 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/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-textarea.js +1 -1
- package/dist/composer/prompt-input.js +1 -1
- package/dist/conversation/action-card.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/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.d.ts +8 -0
- package/dist/conversation/connection-notice.js +1 -0
- package/dist/conversation/context.js +1 -1
- package/dist/conversation/conversation-body.js +1 -1
- package/dist/conversation/conversation-search.d.ts +8 -0
- package/dist/conversation/conversation-search.js +1 -0
- package/dist/conversation/conversation-view.d.ts +1 -0
- package/dist/conversation/conversation-view.js +1 -1
- package/dist/conversation/conversation.d.ts +3 -0
- package/dist/conversation/conversation.js +1 -1
- package/dist/conversation/diff-modal.js +1 -1
- package/dist/conversation/draft-project-picker.d.ts +7 -0
- package/dist/conversation/draft-project-picker.js +1 -0
- package/dist/conversation/session-actions.js +1 -1
- package/dist/conversation/subagent-sessions.js +1 -1
- package/dist/conversation/types.d.ts +6 -1
- package/dist/image-lightbox.js +1 -1
- package/dist/image-preview-dialog.js +1 -1
- package/dist/lib/code-highlighter.js +1 -1
- package/dist/lib/fuzzy.js +1 -1
- package/dist/lib/group-blocks.js +1 -1
- package/dist/lib/image-encode.js +1 -1
- package/dist/lib/limits.js +1 -1
- package/dist/lib/markdown-parser.js +1 -1
- package/dist/lib/markdown-rules.js +1 -1
- package/dist/lib/model-name.js +1 -1
- package/dist/lib/pointer-centered-zoom.js +1 -1
- package/dist/lib/prepare-prompt-files.js +1 -1
- package/dist/lib/stream-style.js +1 -1
- package/dist/lib/streaming-markdown.js +1 -1
- package/dist/locales.d.ts +1914 -0
- package/dist/locales.js +1 -1
- package/dist/plugins/catalog-header.d.ts +6 -0
- package/dist/plugins/catalog-header.js +1 -0
- package/dist/plugins/catalog-skeleton.d.ts +3 -0
- package/dist/plugins/catalog-skeleton.js +1 -0
- package/dist/plugins/host.d.ts +49 -0
- package/dist/plugins/host.js +1 -0
- package/dist/plugins/locales.d.ts +1136 -0
- package/dist/plugins/locales.js +1 -0
- package/dist/plugins/new-chat-directory.d.ts +2 -0
- package/dist/plugins/new-chat-directory.js +1 -0
- package/dist/plugins/pane.d.ts +12 -0
- package/dist/plugins/pane.js +1 -0
- package/dist/plugins/panel-item.d.ts +8 -0
- package/dist/plugins/panel-item.js +1 -0
- package/dist/plugins/plugin-detail-page.d.ts +5 -0
- package/dist/plugins/plugin-detail-page.js +1 -0
- package/dist/plugins/plugin-icon.d.ts +7 -0
- package/dist/plugins/plugin-icon.js +1 -0
- package/dist/plugins/plugin-icons.d.ts +1 -0
- package/dist/plugins/plugin-icons.js +1 -0
- package/dist/plugins/plugins-page.d.ts +12 -0
- package/dist/plugins/plugins-page.js +1 -0
- package/dist/plugins/plugins.css +199 -0
- package/dist/plugins/plugins.d.ts +14 -0
- package/dist/plugins/plugins.js +1 -0
- package/dist/plugins/read-skill-document.d.ts +2 -0
- package/dist/plugins/read-skill-document.js +1 -0
- package/dist/plugins/skill-document.d.ts +7 -0
- package/dist/plugins/skill-document.js +1 -0
- package/dist/plugins/skills-tab.d.ts +6 -0
- package/dist/plugins/skills-tab.js +1 -0
- package/dist/plugins/store.d.ts +62 -0
- package/dist/plugins/store.js +1 -0
- package/dist/plugins/toolbox-layout.d.ts +7 -0
- package/dist/plugins/toolbox-layout.js +1 -0
- package/dist/search/chat-search.css +9 -0
- package/dist/search/chat-search.d.ts +1 -0
- package/dist/search/chat-search.js +1 -1
- package/dist/search/codex-source-matches.d.ts +4 -0
- package/dist/search/codex-source-matches.js +1 -0
- 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.d.ts +26 -0
- package/dist/session-list/account-menu.js +1 -0
- package/dist/session-list/activity-list.d.ts +11 -0
- package/dist/session-list/activity-list.js +1 -0
- package/dist/session-list/archived-sessions.js +1 -1
- package/dist/session-list/help-menu.d.ts +5 -0
- package/dist/session-list/help-menu.js +1 -0
- package/dist/session-list/highlight.js +1 -1
- package/dist/session-list/host.d.ts +2 -0
- package/dist/session-list/host.js +1 -1
- package/dist/session-list/hover-info-card.js +1 -1
- package/dist/session-list/locales.d.ts +91 -0
- package/dist/session-list/locales.js +1 -1
- package/dist/session-list/navigation-header.d.ts +14 -0
- package/dist/session-list/navigation-header.js +1 -0
- package/dist/session-list/navigation-store.d.ts +19 -0
- package/dist/session-list/navigation-store.js +1 -0
- package/dist/session-list/navigation-tabs.d.ts +20 -0
- package/dist/session-list/navigation-tabs.js +1 -0
- package/dist/session-list/navigation.js +1 -1
- package/dist/session-list/overflow-marquee.js +1 -1
- package/dist/session-list/platform.d.ts +2 -0
- package/dist/session-list/platform.js +1 -0
- 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.d.ts +10 -0
- 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.d.ts +14 -0
- package/dist/session-list/shortcut-hint.js +1 -0
- package/dist/session-list/shortcut.d.ts +2 -0
- package/dist/session-list/shortcut.js +1 -0
- 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.d.ts +1 -0
- package/dist/session-list/use-activity-notification.js +1 -0
- package/dist/session-list/use-activity-preview.js +1 -1
- package/dist/session-list/use-cmd-held.d.ts +1 -0
- package/dist/session-list/use-cmd-held.js +1 -0
- 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-turn.js +1 -1
- package/dist/session-timeline/async-questions.js +1 -1
- package/dist/session-timeline/edited-files-card.js +1 -1
- package/dist/session-timeline/history-timeline.js +1 -1
- package/dist/session-timeline/host.js +1 -1
- package/dist/session-timeline/navigation-rail.js +1 -1
- package/dist/session-timeline/plan.js +1 -1
- package/dist/session-timeline/question-reply.js +1 -1
- package/dist/session-timeline/resource-content.js +1 -1
- package/dist/session-timeline/session-timeline.js +1 -1
- package/dist/session-timeline/timeline-registry.js +1 -1
- package/dist/session-timeline/turn-activity.js +1 -1
- package/dist/session-timeline/turn-error.js +1 -1
- package/dist/session-timeline/turn-retry.js +1 -1
- package/dist/session-timeline/turn-time.js +1 -1
- package/dist/session-timeline/turns.js +1 -1
- package/dist/session-timeline/use-timeline-scroll.js +1 -1
- package/dist/session-timeline/user-message.js +1 -1
- package/dist/settings/codex-account-card.d.ts +18 -0
- package/dist/settings/codex-account-card.js +1 -0
- package/dist/settings/login-card.d.ts +6 -0
- package/dist/settings/login-card.js +1 -0
- package/dist/settings/model-alias-settings.d.ts +6 -0
- package/dist/settings/model-alias-settings.js +1 -0
- package/dist/settings/model-aliases.d.ts +17 -0
- package/dist/settings/model-aliases.js +1 -0
- package/dist/settings/provider-logos.d.ts +5 -0
- package/dist/settings/provider-logos.js +1 -0
- package/dist/settings/provider-section.d.ts +52 -0
- package/dist/settings/provider-section.js +1 -0
- package/dist/settings/providers-port.d.ts +32 -0
- package/dist/settings/providers-port.js +1 -0
- package/dist/settings/providers.d.ts +92 -0
- package/dist/settings/providers.js +1 -0
- package/dist/settings/settings-bridge.d.ts +39 -0
- package/dist/settings/settings-bridge.js +1 -0
- package/dist/settings/settings.d.ts +9 -0
- package/dist/settings/settings.js +1 -0
- package/dist/stage.d.ts +1 -0
- package/dist/stage.js +1 -1
- package/emojibase/LICENSE +21 -0
- package/emojibase/en/data.json +51183 -0
- package/emojibase/en/messages.json +124 -0
- package/emojibase/zh/data.json +48992 -0
- package/emojibase/zh/messages.json +124 -0
- package/licenses/_dnd-kit_core-LICENSE +21 -0
- package/licenses/_dnd-kit_sortable-LICENSE +21 -0
- package/licenses/_dnd-kit_utilities-LICENSE +21 -0
- package/licenses/_solar-icons_react-LICENSE +11 -0
- package/licenses/_solar-icons_react-LICENSE-THIRD-PARTY +14 -0
- package/licenses/frimousse-LICENSE +21 -0
- package/package.json +36 -4
- package/rust/Cargo.lock +3844 -0
- package/rust/Cargo.toml +29 -0
- package/rust/build.rs +16 -0
- package/rust/permissions/autogenerated/reference.md +296 -0
- package/rust/permissions/default.toml +20 -0
- package/rust/permissions/schemas/schema.json +292 -0
- package/rust/src/lib.rs +79 -0
- package/rust/src/providers/managed.rs +801 -0
- package/rust/src/providers/tests.rs +681 -0
- package/rust/src/providers.rs +984 -0
- package/rust/src/skills.rs +130 -0
- package/dist/chunk-04mj5ftg.js +0 -7
- package/dist/chunk-0jvfabsq.js +0 -2
- package/dist/chunk-107y8e8x.js +0 -2
- package/dist/chunk-22h5rh2h.js +0 -2
- package/dist/chunk-31yt34hy.js +0 -2
- package/dist/chunk-3hp5t5wf.js +0 -2
- package/dist/chunk-3jcx1ns0.js +0 -2
- package/dist/chunk-3jjc06nd.js +0 -3
- package/dist/chunk-3z8ajtxp.js +0 -2
- package/dist/chunk-4b3g7acq.js +0 -2
- package/dist/chunk-4jkg9p4g.js +0 -2
- package/dist/chunk-4xmbve71.js +0 -4
- package/dist/chunk-54qxv3er.js +0 -2
- package/dist/chunk-5bz1bzsw.js +0 -2
- package/dist/chunk-5dk4xga8.js +0 -2
- package/dist/chunk-5my9w4vd.js +0 -2
- package/dist/chunk-5tqygmg9.js +0 -2
- package/dist/chunk-7dd374an.js +0 -2
- package/dist/chunk-7s7txz2j.js +0 -2
- package/dist/chunk-8hbwf0qe.js +0 -2
- package/dist/chunk-8yj3q7n2.js +0 -2
- package/dist/chunk-9eqezb4k.js +0 -2
- package/dist/chunk-9xfv8jdn.js +0 -2
- package/dist/chunk-a3s36z4s.js +0 -3
- package/dist/chunk-a414w7ah.js +0 -3
- package/dist/chunk-am6tss41.js +0 -2
- package/dist/chunk-b65w6x23.js +0 -2
- package/dist/chunk-cv2j9sjp.js +0 -2
- package/dist/chunk-d1trg76g.js +0 -2
- package/dist/chunk-dgm4gxkj.js +0 -2
- package/dist/chunk-e6ddpdxn.js +0 -2
- package/dist/chunk-e9znmqdj.js +0 -2
- package/dist/chunk-eyfdn4p3.js +0 -2
- package/dist/chunk-fcqwzmkd.js +0 -2
- package/dist/chunk-fkwafga0.js +0 -2
- package/dist/chunk-gap8n0vv.js +0 -5
- package/dist/chunk-j5rd55qs.js +0 -3
- package/dist/chunk-j9q2s4kq.js +0 -2
- package/dist/chunk-jnena0v6.js +0 -2
- package/dist/chunk-kjswq0tx.js +0 -2
- package/dist/chunk-kkps1qd4.js +0 -4
- package/dist/chunk-mpnv2rht.js +0 -2
- package/dist/chunk-mtydzse4.js +0 -2
- package/dist/chunk-mw9k08ky.js +0 -3
- package/dist/chunk-px6nrr87.js +0 -2
- package/dist/chunk-pzmd5d3m.js +0 -2
- package/dist/chunk-q5az5kp2.js +0 -4
- package/dist/chunk-qqm07rfv.js +0 -2
- package/dist/chunk-qv7kkv47.js +0 -2
- package/dist/chunk-rq04p6pn.js +0 -3
- package/dist/chunk-rx9sdjtn.js +0 -2
- package/dist/chunk-s0b5g8nc.js +0 -2
- package/dist/chunk-sf1z4r7v.js +0 -2
- package/dist/chunk-syp06z39.js +0 -2
- package/dist/chunk-t6cfjn19.js +0 -2
- package/dist/chunk-vsff9djs.js +0 -2
- package/dist/chunk-vvq50011.js +0 -2
- package/dist/chunk-wkvm8f2e.js +0 -2
- package/dist/chunk-ww223tm5.js +0 -2
- package/dist/chunk-x0tbzjqc.js +0 -2
- package/dist/chunk-x480gyp7.js +0 -2
- package/dist/chunk-yjhypkmc.js +0 -2
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { ComponentType, SVGProps } from "react";
|
|
2
|
+
export type GatewayModel = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
};
|
|
7
|
+
export type CustomModel = {
|
|
8
|
+
label: string;
|
|
9
|
+
api_id: string;
|
|
10
|
+
contextWindow?: number | null;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
};
|
|
13
|
+
export type ProviderKey = {
|
|
14
|
+
configured: boolean;
|
|
15
|
+
region: string | null;
|
|
16
|
+
base_url: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type ProviderInput = {
|
|
19
|
+
apiKey?: string | null;
|
|
20
|
+
region?: string | null;
|
|
21
|
+
baseUrl?: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type CustomProvider = {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
baseUrl: string;
|
|
27
|
+
models: CustomModel[];
|
|
28
|
+
};
|
|
29
|
+
export type CustomProviderInput = {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
apiKey?: string | null;
|
|
33
|
+
baseUrl: string;
|
|
34
|
+
models: CustomModel[];
|
|
35
|
+
};
|
|
36
|
+
export type ProviderSnapshot = {
|
|
37
|
+
revision: number;
|
|
38
|
+
appliedRevision: number | null;
|
|
39
|
+
providers: Record<string, ProviderKey>;
|
|
40
|
+
customProviders: CustomProvider[];
|
|
41
|
+
managedProviders?: CustomProvider[];
|
|
42
|
+
status: "applied" | "pending" | "failed" | (string & {});
|
|
43
|
+
error: string | null;
|
|
44
|
+
};
|
|
45
|
+
export type ProviderTestResult = {
|
|
46
|
+
ok: boolean;
|
|
47
|
+
code: string;
|
|
48
|
+
message: string;
|
|
49
|
+
status: number | null;
|
|
50
|
+
latencyMs: number | null;
|
|
51
|
+
};
|
|
52
|
+
export type ProviderRegion = {
|
|
53
|
+
id: string;
|
|
54
|
+
baseUrl: string;
|
|
55
|
+
keyUrl: string;
|
|
56
|
+
};
|
|
57
|
+
export type Provider = {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
logo: ComponentType<SVGProps<SVGSVGElement>>;
|
|
61
|
+
baseUrl?: string;
|
|
62
|
+
regions?: ProviderRegion[];
|
|
63
|
+
keyUrl?: string;
|
|
64
|
+
models: GatewayModel[];
|
|
65
|
+
catalog?: string;
|
|
66
|
+
config?: Record<string, unknown>;
|
|
67
|
+
};
|
|
68
|
+
export declare const PROVIDERS: Provider[];
|
|
69
|
+
export declare function isAccountModel(model: string | null | undefined): boolean;
|
|
70
|
+
export declare function parseCustomModels(source: string): CustomModel[];
|
|
71
|
+
export declare function providerGroups(snapshot: ProviderSnapshot): Array<{
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
models: GatewayModel[];
|
|
75
|
+
}>;
|
|
76
|
+
export declare function gatewayModelId(providerId: string, modelId: string): string;
|
|
77
|
+
export declare function resolveSessionModel(model: string | null, snapshot: ProviderSnapshot): string | null;
|
|
78
|
+
export declare function providerRegion(provider: Provider, regionId: string | null | undefined): ProviderRegion | null;
|
|
79
|
+
export declare function providerKeyUrl(provider: Provider, regionId: string | null | undefined): string | null;
|
|
80
|
+
export declare function providerApplicationPending(error: unknown): boolean;
|
|
81
|
+
export declare function customModelEffort(model: string | null | undefined): {
|
|
82
|
+
value: string;
|
|
83
|
+
hidden: boolean;
|
|
84
|
+
} | null;
|
|
85
|
+
export declare const MODEL_PRESENTATION: Record<string, {
|
|
86
|
+
shortLabel: string;
|
|
87
|
+
label?: string;
|
|
88
|
+
} | undefined>;
|
|
89
|
+
export declare function presentModel(apiId: string): {
|
|
90
|
+
shortLabel?: string;
|
|
91
|
+
label?: string;
|
|
92
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z,Si,et,_i,tt,hr,K,Ut,Bt,vr,Pi,yr}from"../chunk-8c042xya.js";import"../chunk-cbwya2ss.js";export{Pi as MODEL_PRESENTATION,z as PROVIDERS,vr as customModelEffort,tt as gatewayModelId,Si as isAccountModel,et as parseCustomModels,yr as presentModel,Bt as providerApplicationPending,_i as providerGroups,Ut as providerKeyUrl,K as providerRegion,hr as resolveSessionModel};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type * as acp from "@agentclientprotocol/sdk/experimental/v2/unstable";
|
|
2
|
+
import { type AccountReadResponse, type CodexClient, type PendingAction, type RateLimitSnapshot } from "@nyssance/codex-acp-v2/client";
|
|
3
|
+
type Listener<T> = (event: {
|
|
4
|
+
payload: T;
|
|
5
|
+
}) => void;
|
|
6
|
+
export interface SettingsEvents {
|
|
7
|
+
listen<T>(event: string, handler: Listener<T>): Promise<() => void>;
|
|
8
|
+
emitTo(target: string, event: string, payload?: unknown): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
export type SettingsAgent = {
|
|
11
|
+
name: string;
|
|
12
|
+
version: string;
|
|
13
|
+
authMethods: acp.AuthMethod[];
|
|
14
|
+
actions: PendingAction[];
|
|
15
|
+
} | null;
|
|
16
|
+
export type SettingsAccount = {
|
|
17
|
+
account: AccountReadResponse;
|
|
18
|
+
rateLimits: RateLimitSnapshot | null;
|
|
19
|
+
} | null;
|
|
20
|
+
export interface SettingsBridgeOptions {
|
|
21
|
+
agent: () => SettingsAgent;
|
|
22
|
+
subscribe: (listener: () => void) => () => void;
|
|
23
|
+
logout: () => Promise<void>;
|
|
24
|
+
login: (methodId: string, extra: Record<string, unknown>) => Promise<void>;
|
|
25
|
+
respond: (actionId: string, answer: acp.RequestPermissionResponse | acp.CreateElicitationResponse) => void;
|
|
26
|
+
account: () => Promise<SettingsAccount>;
|
|
27
|
+
onRateLimits: (listener: (limits: RateLimitSnapshot) => void) => () => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function codexSettingsBridge(client: CodexClient): SettingsBridgeOptions;
|
|
30
|
+
export declare function serveSettingsBridge(options: SettingsBridgeOptions, events: SettingsEvents): () => void;
|
|
31
|
+
export interface SettingsBridgeClient {
|
|
32
|
+
useSettingsAccount(): SettingsAccount | undefined;
|
|
33
|
+
useSettingsAgent(): SettingsAgent | undefined;
|
|
34
|
+
requestSignIn(methodId: string, extra: Record<string, unknown>): Promise<void>;
|
|
35
|
+
requestSignOut(): Promise<void>;
|
|
36
|
+
requestActionResponse(actionId: string, answer: acp.RequestPermissionResponse | acp.CreateElicitationResponse): Promise<void>;
|
|
37
|
+
}
|
|
38
|
+
export declare function createSettingsBridgeClient(events: SettingsEvents, onError?: (message: string) => void): SettingsBridgeClient;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{sr,lr,cr}from"../chunk-983gkw32.js";export{sr as codexSettingsBridge,cr as createSettingsBridgeClient,lr as serveSettingsBridge};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { codexSettingsBridge, createSettingsBridgeClient, serveSettingsBridge, type SettingsAccount, type SettingsAgent, type SettingsBridgeClient, type SettingsBridgeOptions, type SettingsEvents } from "./settings-bridge";
|
|
2
|
+
export { CodexAccountCard, type CodexAccountCardProps, CodexAccountSummary, UsageLimitRow } from "./codex-account-card";
|
|
3
|
+
export { LoginCard, type LoginCardProps } from "./login-card";
|
|
4
|
+
export { type CustomModel, type CustomProvider, type CustomProviderInput, type GatewayModel, gatewayModelId, isAccountModel, parseCustomModels, type Provider, providerApplicationPending, providerGroups, type ProviderInput, type ProviderKey, providerKeyUrl, type ProviderRegion, providerRegion, PROVIDERS, type ProviderSnapshot, type ProviderTestResult, resolveSessionModel, customModelEffort, MODEL_PRESENTATION, presentModel } from "./providers";
|
|
5
|
+
export { applyProvidersWhenIdle, createManagedProvidersPort, createProvidersPort, type ManagedAccount, type ManagedProvidersPort, PROVIDERS_CHANGED, PROVIDERS_REVOKED, type ProvidersPort, type ProvidersTransport, useProviders } from "./providers-port";
|
|
6
|
+
export { CustomProviderEditor, ManagedProviderSection, type ManagedProviderSectionProps, ProviderRow, ProviderSection, type ProviderSectionProps, ProviderTabs, type SettingFrame, TestFeedback } from "./provider-section";
|
|
7
|
+
export { ModelAliasSettings } from "./model-alias-settings";
|
|
8
|
+
export { MODEL_ALIASES_KEY, type ModelAliases, type ModelAliasStore, saveModelAlias, useModelAliases } from "./model-aliases";
|
|
9
|
+
export { DeepSeekLogo, GrokLogo, OpenRouterLogo, QwenLogo } from "./provider-logos";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{sr,lr,cr}from"../chunk-983gkw32.js";import"../chunk-emcefs0g.js";import"../chunk-42hkbpey.js";import"../chunk-9sq2etjk.js";import"../chunk-k7k6qsqh.js";import"../chunk-xf36kt74.js";import"../chunk-zxkvvecz.js";import"../chunk-ye9tsdhn.js";import"../chunk-f3924gdb.js";import"../chunk-p4bb313p.js";import"../chunk-y7xcync7.js";import"../chunk-rcbb4ke2.js";import{$t}from"../chunk-a8p82wp7.js";import{Rt,hi,Ft}from"../chunk-0mp7tyea.js";import{Gt,zt,Vt,jt}from"../chunk-cbwya2ss.js";import{z,Si,et,_i,tt,hr,K,Ut,Bt,vr,Pi,yr}from"../chunk-8c042xya.js";import{wi,ki,gr,fr,Ht,Ot}from"../chunk-dya74vts.js";import{pi,ur,mi,gi,fi,In}from"../chunk-5cdr7q6f.js";import{Ye,Et,Lt}from"../chunk-8t36vprh.js";import{dr}from"../chunk-1tkzxktd.js";export{Ft as CodexAccountCard,hi as CodexAccountSummary,In as CustomProviderEditor,Gt as DeepSeekLogo,zt as GrokLogo,$t as LoginCard,Ye as MODEL_ALIASES_KEY,Pi as MODEL_PRESENTATION,pi as ManagedProviderSection,dr as ModelAliasSettings,Vt as OpenRouterLogo,z as PROVIDERS,wi as PROVIDERS_CHANGED,ki as PROVIDERS_REVOKED,fi as ProviderRow,ur as ProviderSection,mi as ProviderTabs,jt as QwenLogo,gi as TestFeedback,Rt as UsageLimitRow,Ht as applyProvidersWhenIdle,sr as codexSettingsBridge,fr as createManagedProvidersPort,gr as createProvidersPort,cr as createSettingsBridgeClient,vr as customModelEffort,tt as gatewayModelId,Si as isAccountModel,et as parseCustomModels,yr as presentModel,Bt as providerApplicationPending,_i as providerGroups,Ut as providerKeyUrl,K as providerRegion,hr as resolveSessionModel,Lt as saveModelAlias,lr as serveSettingsBridge,Et as useModelAliases,Ot as useProviders};
|
package/dist/stage.d.ts
CHANGED
package/dist/stage.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{copyFileSync as c,mkdirSync as i,readFileSync as
|
|
1
|
+
import{copyFileSync as c,cpSync as p,mkdirSync as i,readFileSync as m}from"node:fs";import{createRequire as s}from"node:module";import{dirname as a,join as o}from"node:path";function u(){let t=s(import.meta.url).resolve("@nyssance/codex-acp-v2"),e=a(a(t)),{name:r,version:n}=JSON.parse(m(o(e,"package.json"),"utf8"));return{name:r,version:n,entry:t,license:o(e,"LICENSE"),protocolLicense:o(e,"licenses/alwith-protocol.txt")}}function f(t,e){let r=u();i(t,{recursive:!0}),i(e,{recursive:!0});let n=o(t,"codex-acp-v2.mjs");return c(r.entry,n),c(r.license,o(e,"codex-acp-v2.txt")),c(r.protocolLicense,o(e,"codex-acp-v2-protocol.txt")),{name:r.name,version:r.version,entry:n}}function g(t){let e=o(a(s(import.meta.url).resolve("@alwith/module-chat/package.json")),"emojibase");return p(e,t,{recursive:!0}),t}export{u as chatAdapterArtifact,f as stageChatAdapter,g as stageEmojiData};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-2019 Miles Johnson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|