@alwith/module-chat 0.5.28 → 0.6.0
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/LICENSE +1 -1
- package/README.md +15 -11
- package/assets/provider-catalog.json +2 -2
- 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-h6jkgcw1.js → chunk-05c7f7pa.js} +2 -2
- package/dist/{chunk-htjpckp6.js → chunk-0d5830mq.js} +3 -3
- package/dist/{chunk-shwnd0ta.js → chunk-0e4zew7m.js} +2 -2
- package/dist/{chunk-cpe2b276.js → chunk-0jz7wsbx.js} +2 -2
- package/dist/{chunk-75vtd3ww.js → chunk-0ms8k740.js} +2 -2
- package/dist/{chunk-s3h496tf.js → chunk-1rs9getz.js} +2 -2
- package/dist/chunk-1vmk34zf.js +2 -0
- package/dist/{chunk-7x1qnb20.js → chunk-1wh82w54.js} +2 -2
- package/dist/{chunk-6t5war9h.js → chunk-1z5htskd.js} +2 -2
- package/dist/{chunk-t2q8cxnh.js → chunk-2emf349g.js} +2 -2
- package/dist/{chunk-wc53vqaw.js → chunk-2g7k5pkt.js} +2 -2
- package/dist/{chunk-scxhc46w.js → chunk-3pvs8s3b.js} +2 -2
- package/dist/{chunk-wpn4rdwv.js → chunk-3sqxe0mw.js} +3 -3
- package/dist/{chunk-3jd4dkv4.js → chunk-3tbg92ns.js} +3 -3
- package/dist/{chunk-spfbykq8.js → chunk-4kevwekp.js} +2 -2
- package/dist/{chunk-qqqcqvrv.js → chunk-4s4e7zzx.js} +2 -2
- package/dist/{chunk-6e1bwjtk.js → chunk-50brsmjd.js} +2 -2
- package/dist/{chunk-kd87rt80.js → chunk-55gczv3j.js} +2 -2
- package/dist/{chunk-h2ewgw0x.js → chunk-5c5z2b48.js} +2 -2
- package/dist/{chunk-hcwgc3r7.js → chunk-5fj4ewez.js} +2 -2
- package/dist/{chunk-d0cb9bks.js → chunk-5p1fxq0k.js} +2 -2
- package/dist/{chunk-qxgmjjh2.js → chunk-5vh4z4yp.js} +2 -2
- package/dist/{chunk-z1aqmqgc.js → chunk-5wc30q2q.js} +2 -2
- package/dist/{chunk-fpmspg92.js → chunk-60z20w9q.js} +2 -2
- package/dist/{chunk-2twh547k.js → chunk-6883ebtb.js} +2 -2
- package/dist/chunk-69p0nqws.js +2 -0
- package/dist/{chunk-wcgwtn6h.js → chunk-6cbbnb7a.js} +2 -2
- package/dist/{chunk-2aw4d623.js → chunk-6h2ysmec.js} +2 -2
- package/dist/{chunk-7zryea1b.js → chunk-6r8jsyqk.js} +2 -2
- package/dist/{chunk-jan870w7.js → chunk-7491nfcw.js} +3 -3
- package/dist/chunk-758e6qf7.js +4 -0
- package/dist/{chunk-x2nemdjf.js → chunk-76a04a6j.js} +2 -2
- package/dist/{chunk-e2q5znh5.js → chunk-78qh8049.js} +2 -2
- package/dist/{chunk-tk2471ny.js → chunk-7962trd3.js} +2 -2
- package/dist/{chunk-v7rtfzg4.js → chunk-7g2fjbn8.js} +2 -2
- package/dist/{chunk-br9wsczn.js → chunk-887d80ps.js} +2 -2
- package/dist/{chunk-9x0qmswv.js → chunk-8ht645rn.js} +2 -2
- package/dist/{chunk-n368fh3r.js → chunk-8j39jdxr.js} +3 -3
- package/dist/{chunk-42atrgm1.js → chunk-8jxcdap5.js} +2 -2
- package/dist/{chunk-n66yy1m1.js → chunk-8mc330j2.js} +2 -2
- package/dist/{chunk-hsp0skqs.js → chunk-8nds14dw.js} +2 -2
- package/dist/{chunk-ggehtpkh.js → chunk-8qnrhq54.js} +2 -2
- package/dist/{chunk-4edeen4z.js → chunk-938k294j.js} +3 -3
- package/dist/{chunk-6vntcyv6.js → chunk-93d3a9wy.js} +2 -2
- package/dist/chunk-97yvajhc.js +2 -0
- package/dist/{chunk-k3e8wper.js → chunk-9cqfjpfk.js} +3 -3
- package/dist/chunk-9g0j2ptv.js +2 -0
- package/dist/chunk-9pgh7zjb.js +2 -0
- package/dist/{chunk-k2q7wjp6.js → chunk-9vm0y271.js} +2 -2
- package/dist/{chunk-5yzjwrat.js → chunk-9vxev5r7.js} +3 -3
- package/dist/{chunk-1sxf2rqx.js → chunk-9x48rd50.js} +2 -2
- package/dist/{chunk-az5ayr2d.js → chunk-a1snxcra.js} +2 -2
- package/dist/chunk-axyfaexd.js +2 -0
- package/dist/chunk-b4evrc3r.js +2 -0
- package/dist/{chunk-5ysapftt.js → chunk-cansmt47.js} +3 -3
- package/dist/{chunk-m9rgwr0p.js → chunk-cc33s37q.js} +2 -2
- package/dist/{chunk-5dkj3ntx.js → chunk-cfhg44ce.js} +2 -2
- package/dist/{chunk-074wn2jr.js → chunk-cpvaqbtq.js} +2 -2
- package/dist/{chunk-zx27nf5b.js → chunk-d09kxrbp.js} +2 -2
- package/dist/chunk-d32738zq.js +2 -0
- package/dist/{chunk-dtsybj2a.js → chunk-d39kpmyz.js} +2 -2
- package/dist/{chunk-xz6pb64j.js → chunk-d444rgtm.js} +2 -2
- package/dist/chunk-d4pm6n4q.js +2 -0
- package/dist/{chunk-0v2d2kme.js → chunk-ddj8ag0b.js} +3 -3
- package/dist/{chunk-79jjxyb7.js → chunk-dmsy511f.js} +2 -2
- package/dist/{chunk-x52rbm87.js → chunk-ewjh6s2b.js} +2 -2
- package/dist/{chunk-53qt3tjb.js → chunk-ezscf6qz.js} +2 -2
- package/dist/{chunk-3kk0rxch.js → chunk-f06zyvek.js} +2 -2
- package/dist/{chunk-6whr1y2s.js → chunk-f192h0js.js} +2 -2
- package/dist/{chunk-z3dwf54f.js → chunk-fjwn02v3.js} +2 -2
- package/dist/{chunk-0stda83g.js → chunk-fynzxex7.js} +2 -2
- package/dist/{chunk-qnc6w06c.js → chunk-fyvq1tqw.js} +3 -3
- package/dist/{chunk-dxgha4a2.js → chunk-gdr4245h.js} +2 -2
- package/dist/{chunk-d0w04ydg.js → chunk-gha517v4.js} +2 -2
- package/dist/chunk-gva03q5f.js +2 -0
- package/dist/{chunk-q0z9jq6p.js → chunk-gxjtydsk.js} +2 -2
- package/dist/chunk-haxhf3gd.js +2 -0
- package/dist/{chunk-2fgwkj52.js → chunk-hd879x7s.js} +3 -3
- package/dist/{chunk-t3s1ydnq.js → chunk-hfjvr394.js} +2 -2
- package/dist/{chunk-p7dd93e5.js → chunk-hp9h8njw.js} +2 -2
- package/dist/{chunk-0tzra5rn.js → chunk-ht6p9j86.js} +2 -2
- package/dist/{chunk-e43x30mv.js → chunk-j1f4spe0.js} +2 -2
- package/dist/{chunk-s56e2286.js → chunk-j6e2t91q.js} +2 -2
- package/dist/chunk-jeedg61t.js +2 -0
- package/dist/{chunk-8xb3b71p.js → chunk-js95dpfd.js} +2 -2
- package/dist/{chunk-1mcg9mwq.js → chunk-jsc8qzkj.js} +1 -1
- package/dist/chunk-jwkm2kgd.js +2 -0
- package/dist/{chunk-90r8y97z.js → chunk-k7y6dqf2.js} +2 -2
- package/dist/chunk-kcke05ds.js +2 -0
- package/dist/chunk-ktpg1m74.js +2 -0
- package/dist/{chunk-g7by9ta9.js → chunk-kyjhngd2.js} +2 -2
- package/dist/chunk-kymztvkv.js +2 -0
- package/dist/{chunk-b67h7yss.js → chunk-kyxdpg6a.js} +2 -2
- package/dist/{chunk-ehdqspxk.js → chunk-m0q3bf05.js} +2 -2
- package/dist/{chunk-thzq3tfa.js → chunk-m7e2zvyk.js} +2 -2
- package/dist/{chunk-6w6yy1md.js → chunk-m8s9nw8b.js} +2 -2
- package/dist/{chunk-6k8m2c80.js → chunk-mb99bpqx.js} +2 -2
- package/dist/chunk-n6kdjmh7.js +2 -0
- package/dist/chunk-nvxcys2c.js +2 -0
- package/dist/{chunk-ngqr3n0s.js → chunk-pa354z8g.js} +2 -2
- package/dist/{chunk-qd7jqtqr.js → chunk-pfft1e99.js} +2 -2
- package/dist/{chunk-sp39pqt6.js → chunk-pqw5qz4e.js} +2 -2
- package/dist/{chunk-r7svwjdg.js → chunk-ps74k3c4.js} +2 -2
- package/dist/{chunk-6rgyckw8.js → chunk-pvnc76cr.js} +2 -2
- package/dist/{chunk-gsnqwd84.js → chunk-pvzceygv.js} +2 -2
- package/dist/chunk-pyah1qdm.js +2 -0
- package/dist/{chunk-5t5y5e8n.js → chunk-q005jp78.js} +2 -2
- package/dist/chunk-q3b79z6s.js +2 -0
- package/dist/chunk-qcabefs0.js +2 -0
- package/dist/chunk-qcy0m7c4.js +2 -0
- package/dist/{chunk-jrmygc4p.js → chunk-qf163g6t.js} +2 -2
- package/dist/{chunk-91zvyqnt.js → chunk-qmhnhgc5.js} +2 -2
- package/dist/{chunk-jkvqtwe6.js → chunk-qvadb210.js} +2 -2
- package/dist/{chunk-tk4t9h7r.js → chunk-qx0xeepz.js} +2 -2
- package/dist/{chunk-c26xgmyr.js → chunk-r0bmsz7b.js} +2 -2
- package/dist/{chunk-4saf1qa5.js → chunk-r25wz0yx.js} +2 -2
- package/dist/chunk-r29eygte.js +2 -0
- package/dist/{chunk-wdrzhaxf.js → chunk-rbj9twq1.js} +2 -2
- package/dist/{chunk-02mwhdhw.js → chunk-rz3njmhn.js} +2 -2
- package/dist/{chunk-8gztbvxt.js → chunk-s7fc1rkz.js} +2 -2
- package/dist/{chunk-h09ez7fc.js → chunk-sc7qd3kj.js} +2 -2
- package/dist/chunk-sn5n38j6.js +2 -0
- package/dist/{chunk-ee0krzt0.js → chunk-ss5xzk9q.js} +2 -2
- package/dist/{chunk-8bdeyvy3.js → chunk-t3vcp85z.js} +2 -2
- package/dist/{chunk-2f9vjmxz.js → chunk-t63mwyg0.js} +2 -2
- package/dist/{chunk-epg5w48v.js → chunk-t9djctkk.js} +2 -2
- package/dist/{chunk-pgqsw2sh.js → chunk-tdys88q3.js} +2 -2
- package/dist/{chunk-jgwrjncj.js → chunk-te3mzdae.js} +2 -2
- package/dist/{chunk-eg86g265.js → chunk-tggrc8e5.js} +2 -2
- package/dist/{chunk-99w9jq4v.js → chunk-tm5dbbgp.js} +2 -2
- package/dist/{chunk-secfh4re.js → chunk-twbp4j4c.js} +2 -2
- package/dist/{chunk-m4eqmf0x.js → chunk-v1x1b7cv.js} +5 -5
- package/dist/{chunk-hck587pb.js → chunk-vetfnaz1.js} +2 -2
- package/dist/{chunk-4j2c9r6m.js → chunk-vxk0kgbf.js} +2 -2
- package/dist/{chunk-srpsc10y.js → chunk-w3eddq0g.js} +2 -2
- package/dist/chunk-w49gke0h.js +2 -0
- package/dist/{chunk-95mynf7q.js → chunk-wc48fzq2.js} +2 -2
- package/dist/{chunk-hs91aaaz.js → chunk-wcwgk4bg.js} +2 -2
- package/dist/{chunk-5b19mbh6.js → chunk-wh5dd7mq.js} +2 -2
- package/dist/{chunk-szwq5b69.js → chunk-wkw61zwr.js} +2 -2
- package/dist/{chunk-41z12m3j.js → chunk-wvs6ttt3.js} +4 -4
- package/dist/{chunk-8a61phqa.js → chunk-wxsb337y.js} +3 -3
- package/dist/{chunk-8em7tfgz.js → chunk-xke4r5kr.js} +2 -2
- package/dist/chunk-xmrsdhtw.js +2 -0
- package/dist/{chunk-frbakxev.js → chunk-y0cxqkzd.js} +2 -2
- package/dist/{chunk-5yb7twvm.js → chunk-y39xsj1f.js} +2 -2
- package/dist/{chunk-4kbkbvjp.js → chunk-y7nq2yre.js} +2 -2
- package/dist/chunk-yamfntjx.js +1 -0
- package/dist/{chunk-s6m0ske7.js → chunk-yd68z08r.js} +2 -2
- package/dist/{chunk-zfxwm1g9.js → chunk-yep82kwy.js} +2 -2
- package/dist/{chunk-f7mgf43p.js → chunk-yht2h676.js} +2 -2
- package/dist/chunk-yvkt9ewq.js +2 -0
- package/dist/{chunk-vm2qb3ns.js → chunk-yvr086m7.js} +2 -2
- package/dist/{chunk-q70h5z14.js → chunk-z20ss7qj.js} +2 -2
- package/dist/{chunk-84yjrafh.js → chunk-z32chhqm.js} +2 -2
- package/dist/{chunk-c0b3zze8.js → chunk-zettt6hy.js} +2 -2
- package/dist/{chunk-31s3s58d.js → chunk-zrh4de8p.js} +2 -2
- 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.js +1 -1
- package/dist/collections/collection-menu.js +1 -1
- package/dist/collections/collection-panel.js +1 -1
- package/dist/collections/collections.js +1 -1
- package/dist/collections/host.js +1 -1
- package/dist/collections/model.js +1 -1
- package/dist/collections/store.js +1 -1
- package/dist/composer/completion-filter.js +1 -1
- package/dist/composer/completion-menu.js +1 -1
- package/dist/composer/completion-trigger.js +1 -1
- package/dist/composer/effort-slider.js +1 -1
- package/dist/composer/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/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/generated/commands.d.ts +363 -0
- package/dist/generated/commands.js +1 -0
- 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/plugins/catalog-header.js +1 -1
- package/dist/plugins/catalog-skeleton.js +1 -1
- package/dist/plugins/host.js +1 -1
- package/dist/plugins/new-chat-directory.js +1 -1
- package/dist/plugins/panel-item.js +1 -1
- package/dist/plugins/plugin-detail-page.js +1 -1
- package/dist/plugins/plugin-icon.js +1 -1
- package/dist/plugins/plugin-icons.js +1 -1
- package/dist/plugins/plugins-page.js +1 -1
- package/dist/plugins/plugins.d.ts +1 -1
- package/dist/plugins/plugins.js +1 -1
- package/dist/plugins/read-skill-document.d.ts +1 -2
- 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/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/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/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-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.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.js +1 -1
- package/dist/settings/provider-section.js +1 -1
- package/dist/settings/providers-port.d.ts +2 -8
- package/dist/settings/providers-port.js +1 -1
- package/dist/settings/providers.js +1 -1
- package/dist/settings/settings-bridge.js +1 -1
- package/dist/settings/settings.d.ts +1 -1
- package/dist/settings/settings.js +1 -1
- package/native/darwin-arm64/THIRD_PARTY_NOTICES.md +210 -0
- package/native/darwin-arm64/artifact.json +8 -0
- package/native/darwin-arm64/libalwith_native_chat.dylib +0 -0
- package/native/darwin-arm64/licenses/Inflector-0.11.4/LICENSE.md +22 -0
- package/native/darwin-arm64/licenses/adler32-1.2.0/LICENSE +43 -0
- package/native/darwin-arm64/licenses/aes-0.9.4/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/aes-0.9.4/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/allocator-api2-0.2.21/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/allocator-api2-0.2.21/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/atomic-waker-1.1.2/LICENSE-THIRD-PARTY +45 -0
- package/native/darwin-arm64/licenses/autocfg-1.5.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/autocfg-1.5.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/aws-lc-rs-1.19.0/LICENSE +202 -0
- package/native/darwin-arm64/licenses/aws-lc-sys-0.47.0/LICENSE +316 -0
- package/native/darwin-arm64/licenses/base64-0.23.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/base64-0.23.1/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/bitflags-2.13.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/bitflags-2.13.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/block-buffer-0.12.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/block-buffer-0.12.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/bumpalo-3.20.3/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/bumpalo-3.20.3/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/bytecount-0.6.9/LICENSE.Apache2 +201 -0
- package/native/darwin-arm64/licenses/bytecount-0.6.9/LICENSE.MIT +19 -0
- package/native/darwin-arm64/licenses/bytes-1.12.1/LICENSE +25 -0
- package/native/darwin-arm64/licenses/bzip2-0.6.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/bzip2-0.6.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cc-1.11.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cc-1.11.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cfg-if-1.0.5/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cfg-if-1.0.5/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cfg_aliases-0.2.2/LICENSE +9 -0
- package/native/darwin-arm64/licenses/chacha20-0.10.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/chacha20-0.10.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/chrono-0.4.45/LICENSE.txt +240 -0
- package/native/darwin-arm64/licenses/cipher-0.5.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cipher-0.5.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cmake-0.1.58/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cmake-0.1.58/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cmov-0.5.4/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/cmov-0.5.4/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/const-oid-0.10.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/const-oid-0.10.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-CC0 +121 -0
- package/native/darwin-arm64/licenses/constant_time_eq-0.6.1/LICENSE-MIT0 +14 -0
- package/native/darwin-arm64/licenses/core-foundation-0.10.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/core-foundation-0.10.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/core-foundation-sys-0.8.7/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/core-foundation-sys-0.8.7/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cpubits-0.1.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cpubits-0.1.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/cpufeatures-0.3.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/cpufeatures-0.3.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/crc32fast-1.5.4/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/crc32fast-1.5.4/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/crypto-common-0.2.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/crypto-common-0.2.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/ctutils-0.4.8/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/ctutils-0.4.8/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/dary_heap-0.3.9/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/dary_heap-0.3.9/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/deflate64-0.1.12/LICENSE +24 -0
- package/native/darwin-arm64/licenses/deranged-0.5.9/LICENSE-Apache +202 -0
- package/native/darwin-arm64/licenses/deranged-0.5.9/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/digest-0.11.3/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/digest-0.11.3/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/displaydoc-0.2.7/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/displaydoc-0.2.7/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/dunce-1.0.5/LICENSE +121 -0
- package/native/darwin-arm64/licenses/equivalent-1.0.3/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/equivalent-1.0.3/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/errno-0.3.14/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/errno-0.3.14/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/fallible-iterator-0.3.0/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/fallible-iterator-0.3.0/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/fastrand-2.5.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/fastrand-2.5.0/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/find-msvc-tools-0.1.15/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/find-msvc-tools-0.1.15/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/flate2-1.1.10/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/flate2-1.1.10/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/foldhash-0.2.0/LICENSE +19 -0
- package/native/darwin-arm64/licenses/form_urlencoded-1.2.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/form_urlencoded-1.2.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/fs_extra-1.3.0/LICENSE +21 -0
- package/native/darwin-arm64/licenses/futures-channel-0.3.34/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/futures-channel-0.3.34/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/futures-core-0.3.34/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/futures-core-0.3.34/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/futures-task-0.3.34/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/futures-task-0.3.34/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/futures-util-0.3.34/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/futures-util-0.3.34/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/getrandom-0.2.17/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/getrandom-0.2.17/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/getrandom-0.4.3/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/getrandom-0.4.3/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/hashbrown-0.16.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hashbrown-0.16.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/hashbrown-0.17.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hashbrown-0.17.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/hashlink-0.12.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hashlink-0.12.2/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/hmac-0.13.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hmac-0.13.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/http-1.5.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/http-1.5.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/http-body-1.1.0/LICENSE +25 -0
- package/native/darwin-arm64/licenses/http-body-util-0.1.5/LICENSE +25 -0
- package/native/darwin-arm64/licenses/httparse-1.10.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/httparse-1.10.1/LICENSE-MIT +20 -0
- package/native/darwin-arm64/licenses/hybrid-array-0.4.15/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hybrid-array-0.4.15/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/hyper-1.12.0/LICENSE +19 -0
- package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-ISC +15 -0
- package/native/darwin-arm64/licenses/hyper-rustls-0.27.10/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/hyper-util-0.1.21/LICENSE +19 -0
- package/native/darwin-arm64/licenses/iana-time-zone-0.1.65/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/iana-time-zone-0.1.65/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/icu_collections-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_locale_core-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_normalizer-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_normalizer_data-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_properties-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_properties_data-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/icu_provider-2.4.0/LICENSE +46 -0
- package/native/darwin-arm64/licenses/idna-1.1.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/idna-1.1.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/idna_adapter-1.2.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/idna_adapter-1.2.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/include-flate-0.3.5/LICENSE +202 -0
- package/native/darwin-arm64/licenses/include-flate-codegen-0.3.5/LICENSE +202 -0
- package/native/darwin-arm64/licenses/include-flate-compress-0.3.5/LICENSE +202 -0
- package/native/darwin-arm64/licenses/indexmap-2.14.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/indexmap-2.14.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/inout-0.2.5/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/inout-0.2.5/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/ipnet-2.12.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/ipnet-2.12.2/LICENSE-MIT +7 -0
- package/native/darwin-arm64/licenses/itoa-1.0.18/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/itoa-1.0.18/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/jieba-macros-0.11.0/LICENSE +22 -0
- package/native/darwin-arm64/licenses/jieba-rs-0.11.0/LICENSE +22 -0
- package/native/darwin-arm64/licenses/jobserver-0.1.35/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/jobserver-0.1.35/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/libbz2-rs-sys-0.2.6/LICENSE +48 -0
- package/native/darwin-arm64/licenses/libc-0.2.191/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/libc-0.2.191/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/libflate-2.3.2/LICENSE +21 -0
- package/native/darwin-arm64/licenses/libflate_lz77-2.3.0/LICENSE +21 -0
- package/native/darwin-arm64/licenses/libsqlite3-sys-0.39.1/LICENSE +19 -0
- package/native/darwin-arm64/licenses/litemap-0.8.3/LICENSE +46 -0
- package/native/darwin-arm64/licenses/lock_api-0.4.14/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/lock_api-0.4.14/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/log-0.4.35/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/log-0.4.35/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-MIT +7 -0
- package/native/darwin-arm64/licenses/lru-slab-0.1.3/LICENSE-ZLIB +19 -0
- package/native/darwin-arm64/licenses/lzma-rust2-0.24.0/LICENSE +201 -0
- package/native/darwin-arm64/licenses/memchr-2.8.3/COPYING +3 -0
- package/native/darwin-arm64/licenses/memchr-2.8.3/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/mio-1.2.4/LICENSE +19 -0
- package/native/darwin-arm64/licenses/nix-0.31.3/LICENSE +21 -0
- package/native/darwin-arm64/licenses/no_std_io2-0.9.4/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/no_std_io2-0.9.4/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/num-conv-0.2.2/LICENSE-Apache +177 -0
- package/native/darwin-arm64/licenses/num-conv-0.2.2/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/num-traits-0.2.19/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/num-traits-0.2.19/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/once_cell-1.21.4/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/once_cell-1.21.4/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/opencode-ai-models-0.0.124/LICENSE +21 -0
- package/native/darwin-arm64/licenses/parking_lot-0.12.5/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/parking_lot-0.12.5/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/parking_lot_core-0.9.12/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/parking_lot_core-0.9.12/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/pbkdf2-0.13.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/pbkdf2-0.13.0/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/percent-encoding-2.3.2/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/percent-encoding-2.3.2/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
- package/native/darwin-arm64/licenses/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/pkg-config-0.3.34/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/pkg-config-0.3.34/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/potential_utf-0.1.6/LICENSE +46 -0
- package/native/darwin-arm64/licenses/powerfmt-0.2.1/LICENSE-Apache +202 -0
- package/native/darwin-arm64/licenses/powerfmt-0.2.1/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/ppmd-rust-1.5.2/LICENSE-CC0.md +119 -0
- package/native/darwin-arm64/licenses/ppmd-rust-1.5.2/LICENSE-MIT-0.md +16 -0
- package/native/darwin-arm64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/proc-macro-error3-3.1.1/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/proc-macro-error3-3.1.1/LICENSE-MIT +22 -0
- package/native/darwin-arm64/licenses/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/proc-macro2-1.0.107/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/quinn-0.11.12/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/quinn-0.11.12/LICENSE-MIT +7 -0
- package/native/darwin-arm64/licenses/quinn-proto-0.11.19/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/quinn-proto-0.11.19/LICENSE-MIT +7 -0
- package/native/darwin-arm64/licenses/quinn-udp-0.5.16/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/quinn-udp-0.5.16/LICENSE-MIT +7 -0
- package/native/darwin-arm64/licenses/quote-1.0.47/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/quote-1.0.47/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/rand-0.10.3/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/rand-0.10.3/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/rand_core-0.10.1/LICENSE-APACHE +187 -0
- package/native/darwin-arm64/licenses/rand_core-0.10.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/rand_pcg-0.10.2/LICENSE-APACHE +187 -0
- package/native/darwin-arm64/licenses/rand_pcg-0.10.2/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/regex-lite-0.1.9/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/regex-lite-0.1.9/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/reqwest-0.13.5/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/reqwest-0.13.5/LICENSE-MIT +20 -0
- package/native/darwin-arm64/licenses/rev_lines-0.3.0/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE +9 -0
- package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE-BoringSSL +272 -0
- package/native/darwin-arm64/licenses/ring-0.17.14/LICENSE-other-bits +13 -0
- package/native/darwin-arm64/licenses/rle-decode-fast-1.0.3/LICENSE-APACHE +13 -0
- package/native/darwin-arm64/licenses/rle-decode-fast-1.0.3/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/rusqlite-0.41.1/LICENSE +19 -0
- package/native/darwin-arm64/licenses/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/rustc-hash-2.1.3/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/rustc_version-0.4.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/rustc_version-0.4.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- package/native/darwin-arm64/licenses/rustix-1.1.6/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-ISC +15 -0
- package/native/darwin-arm64/licenses/rustls-0.23.46/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/rustls-pki-types-1.15.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/rustls-pki-types-1.15.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/rustls-platform-verifier-0.7.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/rustls-platform-verifier-0.7.1/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/rustls-webpki-0.103.16/LICENSE +19 -0
- package/native/darwin-arm64/licenses/rustversion-1.0.23/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/rustversion-1.0.23/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/scopeguard-1.2.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/scopeguard-1.2.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/security-framework-3.7.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/security-framework-3.7.0/LICENSE-MIT +20 -0
- package/native/darwin-arm64/licenses/security-framework-sys-2.17.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/security-framework-sys-2.17.0/LICENSE-MIT +20 -0
- package/native/darwin-arm64/licenses/semver-1.0.28/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/semver-1.0.28/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/serde-1.0.229/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/serde-1.0.229/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/serde_core-1.0.229/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/serde_core-1.0.229/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/serde_derive-1.0.229/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/serde_derive-1.0.229/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/serde_json-1.0.154/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/serde_json-1.0.154/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/sha1-0.11.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/sha1-0.11.0/LICENSE-MIT +28 -0
- package/native/darwin-arm64/licenses/sha2-0.11.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/sha2-0.11.1/LICENSE-MIT +28 -0
- package/native/darwin-arm64/licenses/shlex-2.0.1/LICENSE-APACHE +13 -0
- package/native/darwin-arm64/licenses/shlex-2.0.1/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/signal-hook-registry-1.4.8/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/signal-hook-registry-1.4.8/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/simd-adler32-0.3.10/LICENSE.md +21 -0
- package/native/darwin-arm64/licenses/slab-0.4.12/LICENSE +25 -0
- package/native/darwin-arm64/licenses/smallvec-1.16.4/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/smallvec-1.16.4/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/socket2-0.6.5/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/socket2-0.6.5/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/specta-2.0.0-rc.27/LICENSE +21 -0
- package/native/darwin-arm64/licenses/specta-macros-2.0.0-rc.27/LICENSE +21 -0
- package/native/darwin-arm64/licenses/stable_deref_trait-1.2.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/stable_deref_trait-1.2.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/stop-words-0.10.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/stop-words-0.10.1/LICENSE.md +21 -0
- package/native/darwin-arm64/licenses/subtle-2.6.1/LICENSE +29 -0
- package/native/darwin-arm64/licenses/syn-2.0.119/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/syn-2.0.119/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/syn-3.0.9/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/syn-3.0.9/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/sync_wrapper-1.0.2/LICENSE +177 -0
- package/native/darwin-arm64/licenses/synstructure-0.14.0/LICENSE +7 -0
- package/native/darwin-arm64/licenses/tempfile-3.27.0/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/tempfile-3.27.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/thiserror-1.0.69/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/thiserror-1.0.69/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/thiserror-2.0.21/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/thiserror-2.0.21/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/thiserror-impl-1.0.69/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/thiserror-impl-1.0.69/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/time-0.3.55/LICENSE-Apache +177 -0
- package/native/darwin-arm64/licenses/time-0.3.55/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/time-core-0.1.9/LICENSE-Apache +177 -0
- package/native/darwin-arm64/licenses/time-core-0.1.9/LICENSE-MIT +19 -0
- package/native/darwin-arm64/licenses/tinystr-0.8.5/LICENSE +46 -0
- package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-APACHE.md +202 -0
- package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-MIT.md +5 -0
- package/native/darwin-arm64/licenses/tinyvec-1.13.3/LICENSE-ZLIB.md +11 -0
- package/native/darwin-arm64/licenses/tokio-1.54.1/LICENSE +21 -0
- package/native/darwin-arm64/licenses/tokio-macros-2.7.2/LICENSE +22 -0
- package/native/darwin-arm64/licenses/tokio-rustls-0.26.6/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/tokio-rustls-0.26.6/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/tower-0.5.3/LICENSE +25 -0
- package/native/darwin-arm64/licenses/tower-http-0.6.11/LICENSE +25 -0
- package/native/darwin-arm64/licenses/tower-layer-0.3.3/LICENSE +25 -0
- package/native/darwin-arm64/licenses/tower-service-0.3.3/LICENSE +25 -0
- package/native/darwin-arm64/licenses/tracing-0.1.44/LICENSE +25 -0
- package/native/darwin-arm64/licenses/tracing-core-0.1.36/LICENSE +25 -0
- package/native/darwin-arm64/licenses/try-lock-0.2.5/LICENSE +21 -0
- package/native/darwin-arm64/licenses/typed-path-0.13.0/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/typed-path-0.13.0/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE +1 -0
- package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/typenum-1.20.1/LICENSE-MIT +21 -0
- package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-APACHE +176 -0
- package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/unicode-ident-1.0.27/LICENSE-UNICODE +39 -0
- package/native/darwin-arm64/licenses/untrusted-0.9.0/LICENSE.txt +13 -0
- package/native/darwin-arm64/licenses/url-2.5.8/LICENSE-APACHE +201 -0
- package/native/darwin-arm64/licenses/url-2.5.8/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/utf8_iter-1.1.0/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/utf8_iter-1.1.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/utf_types-1.0.0/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/utf_types-1.0.0/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/vcpkg-0.2.15/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/vcpkg-0.2.15/LICENSE-MIT +26 -0
- package/native/darwin-arm64/licenses/want-0.3.2/LICENSE +20 -0
- package/native/darwin-arm64/licenses/writeable-0.6.4/LICENSE +46 -0
- package/native/darwin-arm64/licenses/yoke-0.8.4/LICENSE +46 -0
- package/native/darwin-arm64/licenses/yoke-derive-0.8.4/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zerofrom-0.1.8/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zerofrom-derive-0.1.8/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zeroize-1.9.1/LICENSE-APACHE +202 -0
- package/native/darwin-arm64/licenses/zeroize-1.9.1/LICENSE-MIT +25 -0
- package/native/darwin-arm64/licenses/zerotrie-0.2.5/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zerovec-0.11.9/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zerovec-derive-0.11.7/LICENSE +46 -0
- package/native/darwin-arm64/licenses/zip-9.3.0/LICENSE +21 -0
- package/native/darwin-arm64/licenses/zlib-rs-0.6.8/LICENSE +19 -0
- package/native/darwin-arm64/licenses/zmij-1.0.23/LICENSE-MIT +23 -0
- package/native/darwin-arm64/licenses/zopfli-0.8.4/COPYING +201 -0
- package/native/darwin-arm64/licenses/zstd-0.14.3/LICENSE +28 -0
- package/native/darwin-arm64/licenses/zstd-safe-8.2.0/LICENSE +28 -0
- package/native/darwin-arm64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE +28 -0
- package/native/darwin-arm64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE.BSD-3-Clause +32 -0
- package/native/win32-x64/THIRD_PARTY_NOTICES.md +203 -0
- package/native/win32-x64/alwith_native_chat.dll +0 -0
- package/native/win32-x64/artifact.json +8 -0
- package/native/win32-x64/licenses/Inflector-0.11.4/LICENSE.md +22 -0
- package/native/win32-x64/licenses/adler32-1.2.0/LICENSE +43 -0
- package/native/win32-x64/licenses/aes-0.9.4/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/aes-0.9.4/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/allocator-api2-0.2.21/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/allocator-api2-0.2.21/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/atomic-waker-1.1.2/LICENSE-THIRD-PARTY +45 -0
- package/native/win32-x64/licenses/autocfg-1.5.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/autocfg-1.5.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/aws-lc-rs-1.19.0/LICENSE +202 -0
- package/native/win32-x64/licenses/aws-lc-sys-0.47.0/LICENSE +316 -0
- package/native/win32-x64/licenses/base64-0.23.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/base64-0.23.1/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/bitflags-2.13.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/bitflags-2.13.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/block-buffer-0.12.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/block-buffer-0.12.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/bumpalo-3.20.3/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/bumpalo-3.20.3/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/bytecount-0.6.9/LICENSE.Apache2 +201 -0
- package/native/win32-x64/licenses/bytecount-0.6.9/LICENSE.MIT +19 -0
- package/native/win32-x64/licenses/bytes-1.12.1/LICENSE +25 -0
- package/native/win32-x64/licenses/bzip2-0.6.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/bzip2-0.6.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cc-1.11.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cc-1.11.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cfg-if-1.0.5/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cfg-if-1.0.5/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cfg_aliases-0.2.2/LICENSE +9 -0
- package/native/win32-x64/licenses/chacha20-0.10.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/chacha20-0.10.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/chrono-0.4.45/LICENSE.txt +240 -0
- package/native/win32-x64/licenses/cipher-0.5.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cipher-0.5.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cmake-0.1.58/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cmake-0.1.58/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cmov-0.5.4/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/cmov-0.5.4/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/const-oid-0.10.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/const-oid-0.10.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-CC0 +121 -0
- package/native/win32-x64/licenses/constant_time_eq-0.6.1/LICENSE-MIT0 +14 -0
- package/native/win32-x64/licenses/cpubits-0.1.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cpubits-0.1.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/cpufeatures-0.3.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/cpufeatures-0.3.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/crc32fast-1.5.4/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/crc32fast-1.5.4/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/crypto-common-0.2.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/crypto-common-0.2.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/ctutils-0.4.8/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/ctutils-0.4.8/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/dary_heap-0.3.9/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/dary_heap-0.3.9/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/deflate64-0.1.12/LICENSE +24 -0
- package/native/win32-x64/licenses/deranged-0.5.9/LICENSE-Apache +202 -0
- package/native/win32-x64/licenses/deranged-0.5.9/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/digest-0.11.3/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/digest-0.11.3/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/displaydoc-0.2.7/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/displaydoc-0.2.7/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/dunce-1.0.5/LICENSE +121 -0
- package/native/win32-x64/licenses/equivalent-1.0.3/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/equivalent-1.0.3/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/fallible-iterator-0.3.0/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/fallible-iterator-0.3.0/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/fallible-streaming-iterator-0.1.9/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/fastrand-2.5.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/fastrand-2.5.0/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/find-msvc-tools-0.1.15/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/find-msvc-tools-0.1.15/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/flate2-1.1.10/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/flate2-1.1.10/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/foldhash-0.2.0/LICENSE +19 -0
- package/native/win32-x64/licenses/form_urlencoded-1.2.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/form_urlencoded-1.2.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/fs_extra-1.3.0/LICENSE +21 -0
- package/native/win32-x64/licenses/futures-channel-0.3.34/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/futures-channel-0.3.34/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/futures-core-0.3.34/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/futures-core-0.3.34/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/futures-task-0.3.34/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/futures-task-0.3.34/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/futures-util-0.3.34/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/futures-util-0.3.34/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/getrandom-0.2.17/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/getrandom-0.2.17/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/getrandom-0.4.3/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/getrandom-0.4.3/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/hashbrown-0.16.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hashbrown-0.16.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/hashbrown-0.17.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hashbrown-0.17.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/hashlink-0.12.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hashlink-0.12.2/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/hmac-0.13.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hmac-0.13.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/http-1.5.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/http-1.5.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/http-body-1.1.0/LICENSE +25 -0
- package/native/win32-x64/licenses/http-body-util-0.1.5/LICENSE +25 -0
- package/native/win32-x64/licenses/httparse-1.10.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/httparse-1.10.1/LICENSE-MIT +20 -0
- package/native/win32-x64/licenses/hybrid-array-0.4.15/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hybrid-array-0.4.15/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/hyper-1.12.0/LICENSE +19 -0
- package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-ISC +15 -0
- package/native/win32-x64/licenses/hyper-rustls-0.27.10/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/hyper-util-0.1.21/LICENSE +19 -0
- package/native/win32-x64/licenses/icu_collections-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_locale_core-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_normalizer-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_normalizer_data-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_properties-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_properties_data-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/icu_provider-2.4.0/LICENSE +46 -0
- package/native/win32-x64/licenses/idna-1.1.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/idna-1.1.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/idna_adapter-1.2.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/idna_adapter-1.2.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/include-flate-0.3.5/LICENSE +202 -0
- package/native/win32-x64/licenses/include-flate-codegen-0.3.5/LICENSE +202 -0
- package/native/win32-x64/licenses/include-flate-compress-0.3.5/LICENSE +202 -0
- package/native/win32-x64/licenses/indexmap-2.14.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/indexmap-2.14.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/inout-0.2.5/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/inout-0.2.5/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/ipnet-2.12.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/ipnet-2.12.2/LICENSE-MIT +7 -0
- package/native/win32-x64/licenses/itoa-1.0.18/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/itoa-1.0.18/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/jieba-macros-0.11.0/LICENSE +22 -0
- package/native/win32-x64/licenses/jieba-rs-0.11.0/LICENSE +22 -0
- package/native/win32-x64/licenses/jobserver-0.1.35/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/jobserver-0.1.35/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/libbz2-rs-sys-0.2.6/LICENSE +48 -0
- package/native/win32-x64/licenses/libc-0.2.191/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/libc-0.2.191/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/libflate-2.3.2/LICENSE +21 -0
- package/native/win32-x64/licenses/libflate_lz77-2.3.0/LICENSE +21 -0
- package/native/win32-x64/licenses/libsqlite3-sys-0.39.1/LICENSE +19 -0
- package/native/win32-x64/licenses/litemap-0.8.3/LICENSE +46 -0
- package/native/win32-x64/licenses/lock_api-0.4.14/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/lock_api-0.4.14/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/log-0.4.35/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/log-0.4.35/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-MIT +7 -0
- package/native/win32-x64/licenses/lru-slab-0.1.3/LICENSE-ZLIB +19 -0
- package/native/win32-x64/licenses/lzma-rust2-0.24.0/LICENSE +201 -0
- package/native/win32-x64/licenses/memchr-2.8.3/COPYING +3 -0
- package/native/win32-x64/licenses/memchr-2.8.3/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/mio-1.2.4/LICENSE +19 -0
- package/native/win32-x64/licenses/no_std_io2-0.9.4/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/no_std_io2-0.9.4/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/num-conv-0.2.2/LICENSE-Apache +177 -0
- package/native/win32-x64/licenses/num-conv-0.2.2/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/num-traits-0.2.19/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/num-traits-0.2.19/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/once_cell-1.21.4/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/once_cell-1.21.4/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/opencode-ai-models-0.0.124/LICENSE +21 -0
- package/native/win32-x64/licenses/parking_lot-0.12.5/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/parking_lot-0.12.5/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/parking_lot_core-0.9.12/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/parking_lot_core-0.9.12/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/pbkdf2-0.13.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/pbkdf2-0.13.0/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/percent-encoding-2.3.2/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/percent-encoding-2.3.2/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
- package/native/win32-x64/licenses/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/pkg-config-0.3.34/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/pkg-config-0.3.34/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/potential_utf-0.1.6/LICENSE +46 -0
- package/native/win32-x64/licenses/powerfmt-0.2.1/LICENSE-Apache +202 -0
- package/native/win32-x64/licenses/powerfmt-0.2.1/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/ppmd-rust-1.5.2/LICENSE-CC0.md +119 -0
- package/native/win32-x64/licenses/ppmd-rust-1.5.2/LICENSE-MIT-0.md +16 -0
- package/native/win32-x64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/proc-macro-error-attr3-3.1.1/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/proc-macro-error3-3.1.1/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/proc-macro-error3-3.1.1/LICENSE-MIT +22 -0
- package/native/win32-x64/licenses/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/proc-macro2-1.0.107/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/quinn-0.11.12/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/quinn-0.11.12/LICENSE-MIT +7 -0
- package/native/win32-x64/licenses/quinn-proto-0.11.19/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/quinn-proto-0.11.19/LICENSE-MIT +7 -0
- package/native/win32-x64/licenses/quinn-udp-0.5.16/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/quinn-udp-0.5.16/LICENSE-MIT +7 -0
- package/native/win32-x64/licenses/quote-1.0.47/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/quote-1.0.47/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/rand-0.10.3/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/rand-0.10.3/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/rand_core-0.10.1/LICENSE-APACHE +187 -0
- package/native/win32-x64/licenses/rand_core-0.10.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/rand_pcg-0.10.2/LICENSE-APACHE +187 -0
- package/native/win32-x64/licenses/rand_pcg-0.10.2/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/regex-lite-0.1.9/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/regex-lite-0.1.9/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/reqwest-0.13.5/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/reqwest-0.13.5/LICENSE-MIT +20 -0
- package/native/win32-x64/licenses/rev_lines-0.3.0/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/ring-0.17.14/LICENSE +9 -0
- package/native/win32-x64/licenses/ring-0.17.14/LICENSE-BoringSSL +272 -0
- package/native/win32-x64/licenses/ring-0.17.14/LICENSE-other-bits +13 -0
- package/native/win32-x64/licenses/rle-decode-fast-1.0.3/LICENSE-APACHE +13 -0
- package/native/win32-x64/licenses/rle-decode-fast-1.0.3/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/rusqlite-0.41.1/LICENSE +19 -0
- package/native/win32-x64/licenses/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/rustc-hash-2.1.3/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/rustc_version-0.4.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/rustc_version-0.4.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-ISC +15 -0
- package/native/win32-x64/licenses/rustls-0.23.46/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/rustls-pki-types-1.15.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/rustls-pki-types-1.15.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/rustls-platform-verifier-0.7.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/rustls-platform-verifier-0.7.1/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/rustls-webpki-0.103.16/LICENSE +19 -0
- package/native/win32-x64/licenses/rustversion-1.0.23/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/rustversion-1.0.23/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/scopeguard-1.2.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/scopeguard-1.2.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/semver-1.0.28/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/semver-1.0.28/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/serde-1.0.229/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/serde-1.0.229/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/serde_core-1.0.229/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/serde_core-1.0.229/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/serde_derive-1.0.229/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/serde_derive-1.0.229/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/serde_json-1.0.154/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/serde_json-1.0.154/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/sha1-0.11.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/sha1-0.11.0/LICENSE-MIT +28 -0
- package/native/win32-x64/licenses/sha2-0.11.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/sha2-0.11.1/LICENSE-MIT +28 -0
- package/native/win32-x64/licenses/shlex-2.0.1/LICENSE-APACHE +13 -0
- package/native/win32-x64/licenses/shlex-2.0.1/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/simd-adler32-0.3.10/LICENSE.md +21 -0
- package/native/win32-x64/licenses/slab-0.4.12/LICENSE +25 -0
- package/native/win32-x64/licenses/smallvec-1.16.4/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/smallvec-1.16.4/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/socket2-0.6.5/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/socket2-0.6.5/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/specta-2.0.0-rc.27/LICENSE +21 -0
- package/native/win32-x64/licenses/specta-macros-2.0.0-rc.27/LICENSE +21 -0
- package/native/win32-x64/licenses/stable_deref_trait-1.2.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/stable_deref_trait-1.2.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/stop-words-0.10.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/stop-words-0.10.1/LICENSE.md +21 -0
- package/native/win32-x64/licenses/subtle-2.6.1/LICENSE +29 -0
- package/native/win32-x64/licenses/syn-2.0.119/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/syn-2.0.119/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/syn-3.0.9/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/syn-3.0.9/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/sync_wrapper-1.0.2/LICENSE +177 -0
- package/native/win32-x64/licenses/synstructure-0.14.0/LICENSE +7 -0
- package/native/win32-x64/licenses/tempfile-3.27.0/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/tempfile-3.27.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/thiserror-1.0.69/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/thiserror-1.0.69/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/thiserror-2.0.21/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/thiserror-2.0.21/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/thiserror-impl-1.0.69/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/thiserror-impl-1.0.69/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/time-0.3.55/LICENSE-Apache +177 -0
- package/native/win32-x64/licenses/time-0.3.55/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/time-core-0.1.9/LICENSE-Apache +177 -0
- package/native/win32-x64/licenses/time-core-0.1.9/LICENSE-MIT +19 -0
- package/native/win32-x64/licenses/tinystr-0.8.5/LICENSE +46 -0
- package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-APACHE.md +202 -0
- package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-MIT.md +5 -0
- package/native/win32-x64/licenses/tinyvec-1.13.3/LICENSE-ZLIB.md +11 -0
- package/native/win32-x64/licenses/tokio-1.54.1/LICENSE +21 -0
- package/native/win32-x64/licenses/tokio-macros-2.7.2/LICENSE +22 -0
- package/native/win32-x64/licenses/tokio-rustls-0.26.6/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/tokio-rustls-0.26.6/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/tower-0.5.3/LICENSE +25 -0
- package/native/win32-x64/licenses/tower-http-0.6.11/LICENSE +25 -0
- package/native/win32-x64/licenses/tower-layer-0.3.3/LICENSE +25 -0
- package/native/win32-x64/licenses/tower-service-0.3.3/LICENSE +25 -0
- package/native/win32-x64/licenses/tracing-0.1.44/LICENSE +25 -0
- package/native/win32-x64/licenses/tracing-core-0.1.36/LICENSE +25 -0
- package/native/win32-x64/licenses/try-lock-0.2.5/LICENSE +21 -0
- package/native/win32-x64/licenses/typed-path-0.13.0/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/typed-path-0.13.0/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/typenum-1.20.1/LICENSE +1 -0
- package/native/win32-x64/licenses/typenum-1.20.1/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/typenum-1.20.1/LICENSE-MIT +21 -0
- package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-APACHE +176 -0
- package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/unicode-ident-1.0.27/LICENSE-UNICODE +39 -0
- package/native/win32-x64/licenses/untrusted-0.9.0/LICENSE.txt +13 -0
- package/native/win32-x64/licenses/url-2.5.8/LICENSE-APACHE +201 -0
- package/native/win32-x64/licenses/url-2.5.8/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/utf8_iter-1.1.0/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/utf8_iter-1.1.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/utf_types-1.0.0/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/utf_types-1.0.0/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/vcpkg-0.2.15/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/vcpkg-0.2.15/LICENSE-MIT +26 -0
- package/native/win32-x64/licenses/want-0.3.2/LICENSE +20 -0
- package/native/win32-x64/licenses/windows-link-0.2.1/license-apache-2.0 +201 -0
- package/native/win32-x64/licenses/windows-link-0.2.1/license-mit +21 -0
- package/native/win32-x64/licenses/windows-sys-0.61.2/license-apache-2.0 +201 -0
- package/native/win32-x64/licenses/windows-sys-0.61.2/license-mit +21 -0
- package/native/win32-x64/licenses/writeable-0.6.4/LICENSE +46 -0
- package/native/win32-x64/licenses/yoke-0.8.4/LICENSE +46 -0
- package/native/win32-x64/licenses/yoke-derive-0.8.4/LICENSE +46 -0
- package/native/win32-x64/licenses/zerofrom-0.1.8/LICENSE +46 -0
- package/native/win32-x64/licenses/zerofrom-derive-0.1.8/LICENSE +46 -0
- package/native/win32-x64/licenses/zeroize-1.9.1/LICENSE-APACHE +202 -0
- package/native/win32-x64/licenses/zeroize-1.9.1/LICENSE-MIT +25 -0
- package/native/win32-x64/licenses/zerotrie-0.2.5/LICENSE +46 -0
- package/native/win32-x64/licenses/zerovec-0.11.9/LICENSE +46 -0
- package/native/win32-x64/licenses/zerovec-derive-0.11.7/LICENSE +46 -0
- package/native/win32-x64/licenses/zip-9.3.0/LICENSE +21 -0
- package/native/win32-x64/licenses/zlib-rs-0.6.8/LICENSE +19 -0
- package/native/win32-x64/licenses/zmij-1.0.23/LICENSE-MIT +23 -0
- package/native/win32-x64/licenses/zopfli-0.8.4/COPYING +201 -0
- package/native/win32-x64/licenses/zstd-0.14.3/LICENSE +28 -0
- package/native/win32-x64/licenses/zstd-safe-8.2.0/LICENSE +28 -0
- package/native/win32-x64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE +28 -0
- package/native/win32-x64/licenses/zstd-sys-2.1.2+zstd.1.5.7/LICENSE.BSD-3-Clause +32 -0
- package/package.json +23 -15
- package/dist/chunk-0w6g1w1a.js +0 -2
- package/dist/chunk-0wr12bg8.js +0 -2
- package/dist/chunk-3137n54p.js +0 -2
- package/dist/chunk-3jw1yt27.js +0 -2
- package/dist/chunk-45542yk3.js +0 -2
- package/dist/chunk-4phhhm7t.js +0 -2
- package/dist/chunk-546h1tk7.js +0 -2
- package/dist/chunk-8kwxqckk.js +0 -2
- package/dist/chunk-8qyb69g5.js +0 -2
- package/dist/chunk-93y78gn4.js +0 -2
- package/dist/chunk-95qfzbmx.js +0 -2
- package/dist/chunk-98cbjkvk.js +0 -4
- package/dist/chunk-9gt81b51.js +0 -2
- package/dist/chunk-bfqqsv6a.js +0 -2
- package/dist/chunk-cd4v63j8.js +0 -2
- package/dist/chunk-ek4acj2p.js +0 -2
- package/dist/chunk-eqwga6j5.js +0 -2
- package/dist/chunk-famkkndg.js +0 -2
- package/dist/chunk-jrnfqqfc.js +0 -2
- package/dist/chunk-pym8eb5y.js +0 -2
- package/dist/chunk-qy06pvy8.js +0 -2
- package/dist/chunk-rf5g26qv.js +0 -2
- package/dist/chunk-rfn9vecr.js +0 -2
- package/dist/chunk-tjkftq6f.js +0 -2
- package/dist/chunk-v3etjs4w.js +0 -2
- package/dist/chunk-x54538jy.js +0 -1
- package/dist/chunk-x68b6rmk.js +0 -2
- package/dist/chunk-z8njjc2c.js +0 -2
- package/rust/Cargo.lock +0 -4318
- package/rust/Cargo.toml +0 -44
- package/rust/build.rs +0 -16
- package/rust/permissions/autogenerated/reference.md +0 -296
- package/rust/permissions/default.toml +0 -20
- package/rust/permissions/schemas/schema.json +0 -263
- package/rust/src/__tests__/native_network.rs +0 -406
- package/rust/src/lib.rs +0 -82
- package/rust/src/native_network.rs +0 -302
- package/rust/src/native_network_diagnostics.rs +0 -220
- package/rust/src/providers/managed.rs +0 -801
- package/rust/src/providers/tests.rs +0 -684
- package/rust/src/providers.rs +0 -984
- package/rust/src/skills.rs +0 -130
- package/rust/src/system_proxy.rs +0 -257
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{yo}from"./chunk-8nds14dw.js";import{I}from"./chunk-w49gke0h.js";import{cn as v}from"cn";import{PaperclipIcon as k,XIcon as T}from"lucide-react";import{Fragment as M,useEffect as L,useRef as z,useState as b}from"react";import{Button as P}from"@nyssance/shadcn/vega/components/ui/button";import{HoverCard as E,HoverCardContent as R,HoverCardTrigger as D}from"@nyssance/shadcn/vega/components/ui/hover-card";import{jsx as e,jsxs as r,Fragment as K}from"react/jsx-runtime";function F(t){return e(R,{align:"start",...t})}function po({data:t,t:n,className:l,...m}){let c=I(),[u,f]=b(!1),[N,d]=b(1),C=z(null),a=t.filename||"",o=(t.mediaType?.startsWith("image/")&&t.url?"image":"file")==="image",A=a||(o?n("input.image"):n("input.attachment"));return L(()=>{if(!u)return;let p=0.1,h=(i)=>Math.min(10,Math.max(0.1,i)),g=(i)=>{if(!(i.ctrlKey||i.metaKey))return;let s=i.key,y=s==="+"||s==="=",H=s==="-"||s==="_",x=s==="0";if(!y&&!H&&!x)return;i.preventDefault(),d((w)=>{if(x)return 1;if(y)return h(w+p);return h(w-p)})};return window.addEventListener("keydown",g,{passive:!1}),()=>window.removeEventListener("keydown",g)},[u]),r(K,{children:[r(E,{children:[e(D,{render:r("div",{className:v("group border-border hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent relative flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-1.5 text-sm font-medium transition-all select-none",l),...m,children:[r("div",{className:"relative size-5 shrink-0",children:[o?e(P,{type:"button",variant:"ghost",size:"icon-xs","aria-label":n("input.image"),className:"bg-background absolute inset-0 size-5 overflow-hidden rounded p-0 transition-opacity group-hover:opacity-0",onClick:()=>{d(1),f(!0)},children:e("img",{alt:a||"attachment",className:"size-5 object-cover",height:20,src:t.url,width:20})}):e("div",{className:"bg-background text-muted-foreground absolute inset-0 flex size-5 items-center justify-center overflow-hidden rounded transition-opacity group-hover:opacity-0",children:e(k,{className:"size-3"})}),r(P,{"aria-label":n("input.removeAttachment"),className:v("absolute -top-1 -right-1 size-4 rounded-full p-0 opacity-0 transition-opacity [&>svg]:size-3","pointer-events-none group-hover:pointer-events-auto group-hover:opacity-100"),onClick:(p)=>{p.stopPropagation(),c.remove(t.id)},type:"button",variant:"ghost",children:[e(T,{}),e("span",{className:"sr-only",children:n("input.removeAttachment")})]})]}),!o&&e("span",{className:"max-w-40 flex-1 truncate text-xs",children:A})]})}),e(F,{className:"w-auto p-2",children:r("div",{className:"w-auto space-y-3",children:[o&&e("div",{className:"flex max-h-96 w-96 items-center justify-center overflow-hidden rounded-md border",children:e("img",{alt:a||"attachment preview",className:"max-h-full max-w-full object-contain",height:384,src:t.url,width:448})}),e("div",{className:"flex items-center gap-2.5",children:r("div",{className:"min-w-0 flex-1 space-y-1 px-0.5",children:[e("h4",{className:"truncate text-sm leading-none font-semibold",children:a||(o?"Image":"Attachment")}),t.mediaType&&e("p",{className:"text-muted-foreground truncate font-mono text-xs",children:t.mediaType})]})})]})})]}),o&&t.url&&e(yo,{containerRef:C,filename:a||n("input.image"),onOpenChange:f,onScaleChange:d,open:u,scale:N,url:t.url})]})}function mo({children:t,className:n,...l}){let m=I();if(!m.files.length)return null;return e("div",{className:v("flex w-full flex-wrap items-center gap-1",n),...l,children:m.files.map((c)=>e(M,{children:t(c)},c.id))})}
|
|
2
|
+
export{po,mo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Fi}from"./chunk-xhrs52gv.js";import{
|
|
2
|
-
export{
|
|
1
|
+
import{Fi}from"./chunk-xhrs52gv.js";import{Di,at}from"./chunk-m7e2zvyk.js";import{Button as et}from"@nyssance/shadcn/vega/components/ui/button";import{cn as rt}from"cn";import{LoaderCircleIcon as nt,SearchIcon as ot}from"lucide-react";import{useCallback as _,useEffect as f,useMemo as J,useRef as b,useState as v}from"react";import{jsx as H,jsxs as q,Fragment as it}from"react/jsx-runtime";var V="chat-search",W="chat-search-current",X=150;function Ca(o){let r=o??"";return[...document.querySelectorAll("[data-chat-scroll]")].find((l)=>l.dataset.chatScroll===r)??null}var lt=12;function Or(o,r="center"){let l=o.closest("[data-chat-scroll]");if(!l)return;let g=o.getBoundingClientRect(),y=l.getBoundingClientRect(),m=r==="start"?lt:(l.clientHeight-g.height)/2;l.scrollTo({top:l.scrollTop+(g.top-y.top)-m,behavior:"smooth"})}function P(o){let r=o.startContainer.parentElement;if(!r)return;Or(r)}var M=new Map;function Y(){if(typeof CSS>"u"||!("highlights"in CSS)||typeof Highlight>"u")return;if(M.size===0){CSS.highlights.delete(V),CSS.highlights.delete(W);return}let o=[...M.values()];CSS.highlights.set(V,new Highlight(...o.flatMap((r)=>r.all))),CSS.highlights.set(W,new Highlight(...o.flatMap((r)=>r.current?[r.current]:[])))}function ct(){let o=Symbol();return{clearHighlights:()=>{M.delete(o),Y()},applyHighlights:(r,l)=>{M.set(o,{all:r,current:l}),Y()}}}function Ri({getViewport:o,findSourceMatches:r,revealTurn:l,prepareSource:g,subscribeOpen:y,labels:m,placement:K="header"}){let{clearHighlights:s,applyHighlights:p}=J(ct,[]),S=r!==void 0,[c,R]=v(!1),[i,O]=v(""),[z,T]=v(!1),[D,L]=v(null),G=i.trim().length>0;f(()=>{if(!c||!G||g===void 0){T(!1),L(null);return}let e=new AbortController;return T(!0),L(null),g(e.signal).catch((t)=>{if(!e.signal.aborted)L(t instanceof Error?t.message:String(t))}).finally(()=>{if(!e.signal.aborted)T(!1)}),()=>e.abort()},[G,c,g]);let u=J(()=>c&&i.trim()&&r?r(i.trim()):[],[r,c,i]),[F,I]=v(0),[Z,E]=v(0),C=b([]),x=b(0),a=b(null),Q=b(null),U=b(null);f(()=>{if(!y)return;return y(()=>{R(!0);let t=U.current;if(t!==null)t.focus({preventScroll:!0}),t.select()})},[y]);let A=_(async(e,t)=>{let n=u[e];if(n===void 0)return;let h=o();if(h===null)throw Error("Chat scroll container is missing");if(l)await l(n.turnKey,t);if(t.aborted)return;let d=h.querySelector(`[data-turn-key="${CSS.escape(n.turnKey)}"]`);if(d===null)throw Error(`Codex turn is missing: ${n.turnKey}`);if(await Di(d,t),t.aborted)return;if(!l)Or(d,"start");if(await new Promise((tt)=>requestAnimationFrame(()=>tt())),t.aborted)return;let N=at(d,i.trim());C.current=N;let B=N[n.occurrenceInTurn];if(p(N,B??null),B!==void 0)P(B)},[p,u,o,i,l]),k=b(A);f(()=>{k.current=A},[A]);let w=_(()=>{R(!1),O(""),x.current=0,a.current?.abort(),a.current=null,s(),C.current=[]},[s]);f(()=>{if(!c)return;let e=(t)=>{if(t.key==="Escape"&&Q.current?.contains(document.activeElement))t.preventDefault(),w()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[c,w]),f(()=>{if(!c||!i.trim()){s(),C.current=[],I(0),E(0),x.current=0;return}let e=setTimeout(()=>{if(S)return;let t=o();if(!t)return;let n=at(t,i);if(C.current=n,I(n.length),E(0),p(n,n[0]??null),n[0])P(n[0])},X);return()=>{clearTimeout(e),s()}},[p,s,S,c,i,o]),f(()=>{if(!c||!S||!i.trim())return;let e=new AbortController;a.current?.abort(),a.current=e;let t=setTimeout(()=>{C.current=[],x.current=0,I(u.length),E(0),s(),k.current(0,e.signal)},X);return()=>{if(e.abort(),a.current===e)a.current=null;clearTimeout(t),s()}},[s,u.length,S,c,i]),f(()=>()=>{a.current?.abort(),s()},[s]),f(()=>{if(!c)s()},[s,c]);let j=_((e)=>{if(S){if(u.length===0)return;let n=(x.current+(e?-1:1)+u.length)%u.length;x.current=n,E(n),a.current?.abort();let h=new AbortController;a.current=h,k.current(n,h.signal);return}let t=C.current;if(!t.length)return;E((n)=>{let h=(n+(e?-1:1)+t.length)%t.length,d=t[h];return p(t,d),P(d),h})},[p,u.length,S]);return q(it,{children:[K==="header"&&H(et,{variant:"ghost",size:"icon-sm",title:m.search,onClick:()=>c?w():R(!0),children:H(ot,{})}),c&&q("div",{"data-chat-search":!0,"aria-busy":z||void 0,ref:Q,className:rt("bg-background border-b",K==="body"?"relative shrink-0":"absolute inset-x-0 top-full z-30"),children:[H(Fi,{ref:U,value:i,onChange:O,onFind:j,onClose:w,placeholder:m.placeholder,prevTitle:m.previous,nextTitle:m.next}),i.trim()&&q("div",{className:"text-muted-foreground border-border border-t px-3 py-1 text-[11px]",children:[z?H(nt,{"aria-hidden":"true",className:"size-3 animate-spin"}):F===0?"0 / 0":`${Z+1} / ${F}`,D!==null&&H("span",{role:"alert",children:D})]})]})]})}
|
|
2
|
+
export{Ca,Or,Ri};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{c}from"./chunk-
|
|
2
|
-
`).toLowerCase()}))})),[a]),r=Q(()=>{let n=new Set(f);return m.map(({marketplace:v,entries:x})=>({marketplace:v,plugins:x.filter(({plugin:
|
|
3
|
-
export{
|
|
1
|
+
import{c}from"./chunk-k7y6dqf2.js";import{w,u}from"./chunk-97yvajhc.js";import{lt}from"./chunk-5vh4z4yp.js";import{_e,l,Pe,Ue,i}from"./chunk-b4evrc3r.js";import{L,R,X,F,D,se,dt}from"./chunk-yamfntjx.js";import{ae}from"./chunk-y39xsj1f.js";import{Oe}from"./chunk-hp9h8njw.js";import{h}from"./chunk-9cqpn67f.js";import{pt,N}from"./chunk-zettt6hy.js";import{H,ce}from"./chunk-60z20w9q.js";import{ut}from"./chunk-m8s9nw8b.js";import{ct}from"./chunk-dmsy511f.js";import{hasPluginStore as te}from"@nyssance/codex-acp-v2/client";import{BlocksIcon as ne,BookOpenIcon as ie,CheckIcon as le,CircleArrowUpIcon as oe,MoreVerticalIcon as re,PlusIcon as U,PuzzleIcon as de,RefreshCwIcon as me,SearchIcon as ue,Trash2Icon as pe,XIcon as ge}from"lucide-react";import{memo as fe,useDeferredValue as ve,useEffect as K,useMemo as Q,useState as S}from"react";import{Button as y}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as xe,DialogContent as he,DialogDescription as Ne,DialogHeader as ke,DialogTitle as ye,DialogTrigger as be}from"@nyssance/shadcn/vega/components/ui/dialog";import{DropdownMenu as we,DropdownMenuContent as Ce,DropdownMenuItem as Ie,DropdownMenuTrigger as Se}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Input as W}from"@nyssance/shadcn/vega/components/ui/input";import{Label as De}from"@nyssance/shadcn/vega/components/ui/label";import{Spinner as O}from"@nyssance/shadcn/vega/components/ui/spinner";import{jsx as e,jsxs as s,Fragment as Y}from"react/jsx-runtime";function B(t){return t.interface?.displayName??t.name}function Z(t){return t.interface?.shortDescription??""}function Me({plugin:t,marketplace:d}){let{t:p}=l(),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),m=t.availability!=="AVAILABLE"||t.installPolicy==="NOT_AVAILABLE",r=p(g?"plugins.card.installing":a?"plugins.sections.installed":"plugins.card.install");if(a&&!g)return e(le,{className:"text-muted-foreground size-4 shrink-0","aria-label":r});return e(y,{size:"icon-sm",variant:"ghost",className:"text-foreground shrink-0 rounded-full",disabled:g||a||m,"aria-label":r,title:m?p("plugins.disabledReason.unknown"):r,onClick:()=>void f({plugin:t,marketplace:d}).catch(()=>{}),children:g?e(O,{"aria-hidden":"true"}):e(U,{className:"size-5",strokeWidth:2,"aria-hidden":"true"})})}function Ee({plugin:t,marketplace:d,actions:p,onOpen:g}){let a=Z(t),f=t.interface?.developerName,m=t.localVersion??t.version,r=[f,m?`v${m}`:null].filter(Boolean).join(" · ");return s(se,{className:"toolbox-row relative",children:[e(y,{variant:"ghost",className:"absolute inset-0 z-0 size-full","data-hover-background":"none","aria-label":B(t),onClick:()=>g({plugin:t,marketplace:d})}),e(F,{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(N,{name:t.name})})}),s(R,{className:"pointer-events-none relative min-w-0",children:[e(dt,{className:"mb-0.5",children:B(t)}),e(X,{className:"line-clamp-1",title:a,children:a||d.interface?.displayName||d.name}),r&&e(X,{"data-toolbox-metadata":"",children:r})]}),e(L,{className:"relative w-8 shrink-0 justify-center",children:p})]})}function q(){return Ue((t)=>t.connection==="ready"&&te(t.agent))}var E=48;function ze({marketplace:t,plugins:d,onOpen:p}){let{t:g}=l(),a=i((n)=>n.removeMarketplace),[f,m]=S(0),r=Math.min(f,Math.max(0,Math.ceil(d.length/E)-1));if(d.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:d.length}),t.path!==null&&s(we,{children:[e(Se,{render:e(y,{variant:"ghost",size:"icon-sm",className:"text-muted-foreground ms-auto","aria-label":g("plugins.pageActions")}),children:e(re,{})}),e(Ce,{align:"end",className:"w-max min-w-[140px] whitespace-nowrap",children:s(Ie,{className:"text-destructive",onClick:()=>void a(t.name),children:[e(pe,{className:"size-3.5"}),g("plugins.marketplace.remove")]})})]})]}),e(D,{className:"grid grid-cols-1 gap-x-8 gap-y-2 px-0 @min-[700px]:grid-cols-2",children:d.slice(r*E,(r+1)*E).map((n)=>e(Ee,{onOpen:p,plugin:n,marketplace:t,actions:e(Me,{plugin:n,marketplace:t})},n.remotePluginId??n.id))}),d.length>E&&s("div",{className:"flex items-center justify-end gap-2 px-2",children:[e(y,{variant:"outline",size:"sm",className:"h-9",disabled:r===0,onClick:()=>m(r-1),children:g("plugins.previousPage")}),s("span",{className:"text-muted-foreground text-xs",children:[r+1," / ",Math.ceil(d.length/E)]}),e(y,{variant:"outline",size:"sm",className:"h-9",disabled:(r+1)*E>=d.length,onClick:()=>m(r+1),children:g("plugins.nextPage")})]})]},t.name)}var Be=fe(function({query:d,onOpen:p}){let{t:g}=l(),a=i((n)=>n.marketplaces),f=i((n)=>n.featuredPluginIds),m=Q(()=>a.map((n)=>({marketplace:n,entries:n.plugins.map((v)=>({plugin:v,text:[v.name,B(v),Z(v),v.interface?.developerName??"",...v.keywords].join(`
|
|
2
|
+
`).toLowerCase()}))})),[a]),r=Q(()=>{let n=new Set(f);return m.map(({marketplace:v,entries:x})=>({marketplace:v,plugins:x.filter(({plugin:b,text:P})=>d===""?v.path!==null||n.has(b.id):P.includes(d)).map(({plugin:b})=>b)}))},[m,f,d]);return s(Y,{children:[r.map(({marketplace:n,plugins:v})=>e(ze,{marketplace:n,plugins:v,onOpen:p},JSON.stringify([n.name,n.path,d]))),r.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 Te(){let{t}=l(),d=q(),p=i((k)=>k.addMarketplace),g=i((k)=>k.upgradeAll),a=i((k)=>k.upgrading),[f,m]=S(""),[r,n]=S(!1),[v,x]=S(!1),[b,P]=S(null),T=async()=>{let k=f.trim();if(!k||r)return;n(!0),P(null);try{await p({source:k}),m(""),x(!1)}catch(M){P(M instanceof Error?M.message:String(M))}finally{n(!1)}};return s("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[s(y,{size:"sm",className:"h-9",variant:"outline",disabled:!d||a,"aria-busy":a,onClick:()=>void g(),children:[a?e(O,{}):e(oe,{"data-icon":"inline-start"}),t("plugins.marketplace.upgradeAll")]}),s(xe,{open:v,onOpenChange:(k)=>{if(!r)x(k)},children:[s(be,{render:e(y,{size:"sm",className:"h-9",variant:"outline",disabled:!d}),children:[e(U,{"data-icon":"inline-start"}),t("plugins.addMarketplace")]}),s(he,{children:[s(ke,{children:[e(ye,{children:t("plugins.marketplace.addTitle")}),e(Ne,{children:t("plugins.catalog.sourceHelp")})]}),s("form",{className:"space-y-4",onSubmit:(k)=>{k.preventDefault(),T()},children:[e(De,{htmlFor:"marketplace-source",children:t("plugins.marketplace.sourceLabel")}),e(W,{id:"marketplace-source",value:f,disabled:r,onChange:(k)=>m(k.target.value),placeholder:t("plugins.marketplace.sourcePlaceholder")}),b&&e("p",{role:"alert",className:"text-destructive text-sm",children:b}),s("div",{className:"flex justify-end gap-2",children:[e(y,{type:"button",variant:"ghost",disabled:r,onClick:()=>x(!1),children:t("plugins.marketplace.addCancel")}),s(y,{type:"submit",disabled:r||f.trim()==="",children:[r&&e(O,{}),t("plugins.marketplace.addSubmit")]})]})]})]})]})]})}function Ae({onOpen:t,query:d}){let p=q(),g=i((m)=>m.marketplaceLoadErrors),a=i((m)=>m.loading)||!p,f=ve(d.trim().toLowerCase());return e(h,{className:"pe-0",viewportClassName:"pe-0",children:s("div",{className:`${H} flex flex-col gap-8`,children:[g.map((m)=>s("p",{className:"text-destructive px-2 text-xs",children:[m.marketplacePath,": ",m.message]},m.marketplacePath)),a?e(ae,{}):e(Be,{query:f,onOpen:t})]})})}function zi({cwd:t,active:d,extensions:p,onOpenCatalog:g}){let{t:a}=l(),f=Pe(),m=_e(f),r=i((o)=>o.refresh),n=i((o)=>o.loading),v=i((o)=>o.error),[x,b]=S("plugins"),[P,T]=S({plugins:"",skills:""}),k=x==="skills"?P.skills:P.plugins,M=(o)=>T((z)=>({...z,[x]:o})),ee=Ue((o)=>JSON.stringify([...new Set(o.sessionList.map((z)=>Oe(z.cwd,o.projectContext)).filter((z)=>z!==null))].toSorted())),A=JSON.stringify([...new Set([Oe(t,f.state.projectContext),...JSON.parse(ee)].filter((o)=>o!==null))].toSorted()),j=i((o)=>o.installed),V=a(x==="skills"?"plugins.skills.search":"plugins.search"),[C,G]=S(null),I=q();K(()=>{if(!d||!I)return;if(m.getState().loadedScope!==A)r(JSON.parse(A))},[d,I,r,A,m]),K(()=>{if(!I)return;return f.onSkillsChanged(()=>void r(void 0,{background:!0}))},[I,r,f]);let J=(o)=>{g?.(),b("plugins"),G(o)},_=(o)=>{g?.(),b(o),G(null)};return s("div",{className:"plugins-page @container flex h-full min-h-0 overflow-hidden [--navigation-row-height:30px] [--spacing:4px]",children:[e(pt,{}),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(u,{className:`${c} h-8 gap-2 px-2`,active:p.active,onClick:p.onOpen,children:[e(ne,{className:"size-4"}),e("span",{children:a("plugins.extensions")})]}),["plugins","skills"].map((o)=>s(u,{className:`${c} h-8 gap-2 px-2`,active:!p?.active&&x===o&&C===null,onClick:()=>_(o),children:[o==="plugins"?e(de,{className:"size-4"}):e(ie,{className:"size-4"}),e("span",{children:a(`plugins.headings.${o}`)})]},o))]}),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(h,{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(w,{children:!I||n&&j.length===0?s("div",{role:"status",className:"text-muted-foreground flex items-center gap-2 px-3 py-2 text-xs",children:[e(O,{className:"size-3.5",role:"presentation","aria-hidden":"true"}),a("plugins.detail.loading")]}):j.length===0?e("p",{className:"text-muted-foreground px-3 py-2 text-xs",children:a("plugins.sections.installedEmpty")}):j.map((o)=>s(u,{title:B(o.plugin),className:`${c} gap-2 px-2`,active:!p?.active&&C?.plugin.id===o.plugin.id,onClick:()=>J(o),children:[e(N,{name:o.plugin.name,className:"size-4 shrink-0"}),e("span",{className:"truncate",children:B(o.plugin)})]},o.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(Y,{children:[C&&e(ut,{entry:C,onBack:()=>_("plugins")},JSON.stringify([C.marketplace.name,C.marketplace.path,C.plugin.id,t])),s("div",{hidden:C!==null,className:C?"hidden":"flex min-h-0 flex-1 flex-col",children:[e(ce,{children:e(lt,{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(ue,{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":V,value:k,onChange:(o)=>M(o.target.value),placeholder:V}),k&&e(y,{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:()=>M(""),children:e(ge,{})})]}),e(y,{variant:"ghost",size:"icon-sm",className:"text-muted-foreground","aria-label":a("plugins.skills.refresh"),disabled:!I||n,onClick:()=>void r(void 0,{forceRefetch:!0}),children:n?e(O,{}):e(me,{})}),x==="plugins"&&e(Te,{})]})})}),(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(y,{size:"sm",className:"h-9",variant:"outline",disabled:n||!I,onClick:()=>void r(),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(Ae,{query:P.plugins,onOpen:J})}),e("div",{hidden:x!=="skills",className:x==="skills"?"flex min-h-0 flex-1 flex-col":"hidden",children:e(ct,{query:P.skills,ready:I,onOpenPlugin:J})})]})]})]})})]})}
|
|
3
|
+
export{zi};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as l}from"cn";import{DropdownMenuRadioGroup as r,DropdownMenuRadioItem as s}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as t,jsxs as a}from"react/jsx-runtime";function
|
|
2
|
-
export{
|
|
1
|
+
import{cn as l}from"cn";import{DropdownMenuRadioGroup as r,DropdownMenuRadioItem as s}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as t,jsxs as a}from"react/jsx-runtime";function S({value:i,onValueChange:n,options:o,itemClassName:d}){return t(r,{value:i,onValueChange:(e)=>n(String(e)),children:o.map((e)=>a(s,{value:e.value,disabled:e.disabled,title:e.title,closeOnClick:!0,className:l("gap-2",e.description?"items-start":"items-center",d),children:[e.icon,e.description?a("div",{className:"min-w-0 flex-1",children:[t("div",{className:"text-xs font-medium",children:e.label}),t("div",{className:"text-muted-foreground text-[11px] font-normal",children:e.description})]}):t("span",{className:"min-w-0 flex-1 truncate text-start",children:e.label})]},e.value))})}
|
|
2
|
+
export{S};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var a=(e)=>String(e).padStart(2,"0");function
|
|
2
|
-
export{
|
|
1
|
+
var a=(e)=>String(e).padStart(2,"0");function ot(e,l="user"){let r=e.replayed||e.items.some((t)=>t._meta?.codex&&typeof t._meta.codex==="object"&&("historyReplay"in t._meta.codex)&&t._meta.codex.historyReplay===!0),n=l==="user"?s(e.user?._meta,"messageSentAt")??(!r?e.user?.at??null:null):s(e.final.at(-1)?._meta,"messageCompletedAt")??e.items.map((t)=>s(t._meta,"turnCompletedAt")).find((t)=>t!==null)??(!r&&e.final.length>0?e.endedAt:null);if(n===null)return null;let o=new Date(n),u=o.toDateString()===new Date().toDateString();return{short:new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit",...u?{}:{month:"short",day:"numeric"}}).format(o),full:`${o.getFullYear()}-${a(o.getMonth()+1)}-${a(o.getDate())} ${a(o.getHours())}:${a(o.getMinutes())}`}}function s(e,l){let r=e?.codex;if(typeof r!=="object"||r===null)return null;let n=r[l];return typeof n==="number"&&Number.isFinite(n)&&Math.abs(n)<=8640000000000000?n:null}
|
|
2
|
+
export{ot};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function*Rn(n,e){if(e.length===0)return;let r=new RegExp(e.replaceAll(/[.*+?^{}()|[\]\\$]/g,String.raw`\$&`),"giu");for(let t of n.matchAll(r))yield{start:t.index,end:t.index+t[0].length}}function Hi(n,e){if(e.length===0)return[];let r=[];for(let{turnKey:t,segments:o}of n){let c=0;for(let s of o)for(let a of Rn(s,e))r.push({turnKey:t,occurrenceInTurn:c}),c+=1}return r}
|
|
2
|
+
export{Rn,Hi};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{fe}from"./chunk-n6kdjmh7.js";import{useEffect as s,useState as w}from"react";function no(){let[i,e]=w(!1);return s(()=>{let t=fe()?"Meta":"Control",o=(n)=>{if(n.key===t)e(!0)},r=(n)=>{if(n.key===t)e(!1)},d=()=>e(!1);return window.addEventListener("keydown",o),window.addEventListener("keyup",r),window.addEventListener("blur",d),()=>{window.removeEventListener("keydown",o),window.removeEventListener("keyup",r),window.removeEventListener("blur",d)}},[]),i}
|
|
2
|
+
export{no};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A}from"./chunk-1rs9getz.js";import{ve}from"./chunk-97yvajhc.js";import{C,ee}from"./chunk-9pgh7zjb.js";import{M,q}from"./chunk-1wh82w54.js";import{ue,J}from"./chunk-d444rgtm.js";import{cn as S}from"cn";import{BoxIcon as U,ChevronRightIcon as E,PlusIcon as z,StarIcon as u}from"lucide-react";import{useState as d}from"react";import{Button as y}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as L,DropdownMenuContent as j,DropdownMenuGroup as k,DropdownMenuItem as O,DropdownMenuRadioGroup as _,DropdownMenuRadioItem as K,DropdownMenuSeparator as Q,DropdownMenuTrigger as V}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Input as W}from"@nyssance/shadcn/vega/components/ui/input";import{jsx as e,jsxs as a}from"react/jsx-runtime";function Qn({sessionId:l,trigger:f,favorite:n=!1,hoverBackground:R=n?"none":void 0,allowRemove:x=!0,submenu:g=!1,className:B,onOpenChange:T}){let{t}=C(),c=J(),H=ee(),P=ve(),{collections:s,order:w}=ue(),i=w.find((o)=>s[o].sessionIds.includes(l)),[F,G]=d(!1),[D,b]=d(!1),[m,h]=d(""),[r,v]=d(!1),I=(o)=>{if(G(o),P(o),T?.(o),!o)b(!1),h("")},p=(o)=>{v(!0),H(o.then(()=>{I(!1)}).finally(()=>v(!1)))};return a(L,{modal:!1,open:F,onOpenChange:(o,N)=>{if(!o&&D&&N.reason==="trigger-hover"){N.cancel();return}I(o)},children:[e(V,{disabled:r,"data-hover-background":R,openOnHover:n||g,"aria-label":t(n&&i!==void 0?"collection.removeFromAll":"collection.addTo"),onMouseDown:(o)=>{if(n)o.preventBaseUIHandler()},onClick:(o)=>{if(!n)return;o.preventBaseUIHandler(),p(c({type:"favorite",sessionId:l}))},render:f??e(y,{variant:"ghost",size:"icon-sm",className:B,"aria-label":t(n&&i!==void 0?"collection.removeFromAll":"collection.addTo"),children:e(u,{className:S(i!==void 0&&"fill-current")})})}),a(j,{className:"w-56 font-normal",side:g?"inline-end":"bottom",align:g?"start":"end",sideOffset:4,children:[e(k,{children:e(_,{value:i??null,children:w.map((o)=>a(K,{value:o,disabled:r||i===o,closeOnClick:!1,onClick:()=>p(c({type:"add",collectionId:o,sessionId:l})),children:[o===M?e(u,{}):s[o].emoji?e("span",{className:"flex size-4 shrink-0 items-center justify-center text-sm","aria-hidden":"true",children:s[o].emoji}):e(U,{}),e("span",{className:"min-w-0 flex-1 truncate",children:q(s[o],t)})]},o))})}),e(Q,{}),a(k,{children:[a(O,{disabled:r,closeOnClick:!1,onClick:()=>b(!0),children:[e(z,{}),t("collection.newCollection")]}),x&&i!==void 0&&a(O,{disabled:r,closeOnClick:!1,onClick:()=>p(c({type:"remove",sessionId:l})),children:[e(u,{}),t("collection.removeFromAll")]})]}),D&&a("form",{className:"flex items-center gap-1 px-2 py-1.5",onSubmit:(o)=>{if(o.preventDefault(),o.stopPropagation(),!m.trim()||r)return;p(c({type:"create",id:`collection-${crypto.randomUUID()}`,name:m,sessionId:l}))},children:[e(W,{autoFocus:!0,"aria-label":t("collection.collectionName"),placeholder:t("collection.collectionName"),value:m,disabled:r,onChange:(o)=>h(o.target.value),onKeyDown:(o)=>o.stopPropagation(),className:"h-7 min-w-0"}),e(y,{size:"xs",type:"submit",disabled:r||!m.trim(),children:t("collection.confirm")})]})]})]})}function nr({sessionId:l,allowRemove:f=!0}){let{t:n}=C();return e(Qn,{sessionId:l,allowRemove:f,submenu:!0,trigger:e(A,{icon:e(u,{}),label:n("collection.addTo"),trailing:e(E,{className:"rtl:rotate-180"})})})}
|
|
2
|
+
export{Qn,nr};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{r,a,o}from"./chunk-
|
|
2
|
-
`));else f(null)}finally{h.current=!1,w(!1)}}return i("section",{className:"flex min-h-0 flex-1 flex-col overflow-hidden","aria-label":s("sessionList.archives.title"),children:[i("div",{className:"mx-auto flex min-h-0 w-full max-w-5xl flex-1 flex-col gap-8 px-6 pt-8 pb-10 lg:pb-14",children:[i("header",{className:"flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-3",children:[t("h1",{className:"text-2xl leading-9 font-semibold tracking-tight",children:s("sessionList.archives.title")}),i(g,{size:"sm",variant:"destructive",className:"h-[30px] text-sm font-normal",disabled:k||S.length===0,onClick:()=>{b(null),
|
|
3
|
-
export{
|
|
1
|
+
import{r,a,o}from"./chunk-tggrc8e5.js";import{Me,te,W}from"./chunk-d32738zq.js";import{sessionGroup as j}from"@nyssance/codex-acp-v2/client";import{cn as de}from"cn";import{ArchiveIcon as ue,FolderIcon as Q,ListFilterIcon as me,SearchIcon as pe,Trash2Icon as U}from"lucide-react";import{useEffect as he,useRef as fe,useState as d}from"react";import{Alert as P,AlertDescription as T}from"@nyssance/shadcn/vega/components/ui/alert";import{Button as g}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as ve,DialogContent as ge,DialogDescription as xe,DialogFooter as Se,DialogHeader as ye,DialogTitle as Le}from"@nyssance/shadcn/vega/components/ui/dialog";import{Input as Ne}from"@nyssance/shadcn/vega/components/ui/input";import{Select as _,SelectContent as Ce,SelectItem as x,SelectTrigger as R,SelectValue as J}from"@nyssance/shadcn/vega/components/ui/select";import{Spinner as M}from"@nyssance/shadcn/vega/components/ui/spinner";import{jsx as t,jsxs as i}from"react/jsx-runtime";function X({className:u,...s}){return t(Ce,{align:"start",alignItemWithTrigger:!1,sideOffset:6,...s,className:de("max-w-(--available-width) min-w-0 p-1",u)})}function E(u){return u instanceof Error?u.message:String(u)}function we({children:u}){return t("div",{className:"min-h-0 flex-1 overflow-y-auto",children:t("div",{className:"flex flex-col gap-8",children:u})})}function cr({Scroll:u=we}){let{t:s,i18n:A}=r(),m=a(),S=o((e)=>e.archivedSessions),N=o((e)=>e.connection),[B,Y]=d(""),[y,Z]=d("all"),[p,ee]=d("all"),[se,ie]=d(0),[q,z]=d(!0),[I,F]=d(null),[V,H]=d(null),[C,w]=d(!1),h=fe(!1),[D,f]=d(null),[O,b]=d(null),[ne,G]=d(!1);he(()=>{if(N!=="ready")return;let e=!1;z(!0),F(null);async function c(){try{await m.listArchived({reset:!0});let n=new Set;while(!e&&m.state.archivedCursor!==null){let v=m.state.archivedCursor;if(n.has(v))throw Error("Archive pagination returned a repeated cursor");n.add(v),await m.listArchived()}}catch(n){if(!e)F(E(n))}finally{if(!e)z(!1)}}return c(),()=>{e=!0}},[m,N,se]);let l=o((e)=>e.projectContext),k=!(l!==null&&N==="ready"&&!q&&I===null)||C,L=(e)=>e.title??s("sessionList.untitled"),ae=[...new Set(S.filter((e)=>l&&j(l,e).id!==W).map((e)=>l?j(l,e).id:e.cwd))].toSorted(),re=B.trim().toLocaleLowerCase(A.language),K=S.filter((e)=>{let c=l?j(l,e).id:null,n=c===W;return L(e).toLocaleLowerCase(A.language).includes(re)&&(y==="all"||(y==="quick"?n:!n))&&(p==="all"||(p==="quick"?n:c===p))}),le=new Intl.DateTimeFormat(A.language,{dateStyle:"medium",timeStyle:"short"});async function oe(e){if(h.current)return;h.current=!0,w(!0),H(null);try{await m.unarchive(e.sessionId)}catch(c){H(E(c))}finally{h.current=!1,w(!1)}}async function ce(){if(h.current||!D)return;h.current=!0,w(!0),b(null);let e=[],c=[];try{for(let n of D){if(!m.state.archivedSessions.some((v)=>v.sessionId===n.sessionId))continue;try{await m.delete(n.sessionId)}catch(v){e.push(n),c.push(`${L(n)}: ${E(v)}`)}}if(e.length)f(e),b(c.join(`
|
|
2
|
+
`));else f(null)}finally{h.current=!1,w(!1)}}return i("section",{className:"flex min-h-0 flex-1 flex-col overflow-hidden","aria-label":s("sessionList.archives.title"),children:[i("div",{className:"mx-auto flex min-h-0 w-full max-w-5xl flex-1 flex-col gap-8 px-6 pt-8 pb-10 lg:pb-14",children:[i("header",{className:"flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-3",children:[t("h1",{className:"text-2xl leading-9 font-semibold tracking-tight",children:s("sessionList.archives.title")}),i(g,{size:"sm",variant:"destructive",className:"h-[30px] text-sm font-normal",disabled:k||S.length===0,onClick:()=>{b(null),G(!0),f([...S])},children:[t(U,{className:"size-4","aria-hidden":"true"}),s("sessionList.archives.deleteAll")]})]}),i("div",{className:"flex shrink-0 flex-wrap gap-3",children:[i("div",{className:"relative min-w-48 flex-1",children:[t(pe,{"aria-hidden":"true",className:"text-muted-foreground pointer-events-none absolute start-3 top-2.5 size-4"}),t(Ne,{"aria-label":s("sessionList.archives.search"),placeholder:s("sessionList.archives.search"),value:B,onChange:(e)=>Y(e.target.value),className:"rounded-md ps-9"})]}),i(_,{value:y,onValueChange:(e)=>{if(e===null)throw Error("Archive chat type cannot be empty");Z(e)},children:[i(R,{"aria-label":s("sessionList.archives.chatType"),className:"w-40 rounded-md",children:[t(me,{"aria-hidden":"true"}),t(J,{children:s(`sessionList.archives.${y==="all"?"allChats":y==="quick"?"quickChats":"projectChats"}`)})]}),i(X,{children:[t(x,{value:"all",children:s("sessionList.archives.allChats")}),t(x,{value:"quick",children:s("sessionList.archives.quickChats")}),t(x,{value:"project",children:s("sessionList.archives.projectChats")})]})]}),i(_,{value:p,onValueChange:(e)=>{if(e===null)throw Error("Archive project filter cannot be empty");ee(e)},children:[i(R,{"aria-label":s("sessionList.archives.project"),className:"w-48 rounded-md",children:[t(Q,{"aria-hidden":"true"}),t(J,{className:"truncate",children:p==="all"?s("sessionList.archives.allProjects"):p==="quick"?s("sessionList.archives.noProject"):te(p,l??void 0)})]}),i(X,{children:[t(x,{value:"all",children:s("sessionList.archives.allProjects")}),t(x,{value:"quick",children:s("sessionList.archives.noProject")}),ae.map((e)=>t(x,{value:e,title:e,children:te(e,l??void 0)},e))]})]})]}),i(u,{children:[N!=="ready"?t("p",{role:"status",className:"text-muted-foreground",children:s("sessionList.archives.connecting")}):q?i("div",{role:"status",className:"text-muted-foreground flex items-center gap-2",children:[t(M,{}),s("sessionList.archives.loading")]}):I?t(P,{variant:"destructive",children:i(T,{className:"flex items-center justify-between gap-4",children:[t("span",{children:I}),t(g,{variant:"outline",onClick:()=>ie((e)=>e+1),children:s("sessionList.archives.retry")})]})}):S.length===0?i("div",{className:"text-muted-foreground flex flex-col items-center gap-3 py-16",children:[t(ue,{"aria-hidden":"true",className:"size-8"}),t("p",{children:s("sessionList.archives.empty")})]}):K.length===0?t("p",{className:"text-muted-foreground py-12 text-center",children:s("sessionList.archives.noResults")}):(l?Me(K,l):[]).filter(([,e])=>e.length>0).map(([e,c])=>i("section",{className:"flex flex-col gap-3",children:[i("div",{className:"flex items-center justify-between gap-3",children:[i("h2",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",title:e===W?void 0:e,children:[t(Q,{"aria-hidden":"true",className:"size-4 shrink-0"}),t("span",{className:"truncate",children:e===W?s("sessionList.archives.noProject"):te(e,l??void 0)})]}),t("span",{className:"text-muted-foreground shrink-0 text-sm",children:s("sessionList.archives.count",{count:c.length})})]}),t("div",{className:"divide-border divide-y overflow-hidden rounded-lg border",children:c.map((n)=>i("article",{"aria-label":L(n),className:"flex flex-wrap items-center gap-4 px-4 py-3",children:[i("div",{className:"min-w-0 flex-1 basis-40",children:[t("h3",{className:"truncate text-sm font-medium",title:L(n),children:L(n)}),n.updatedAt!==null&&t("time",{dateTime:n.updatedAt,title:s("sessionList.archives.updatedAt"),className:"text-muted-foreground text-xs",children:le.format(new Date(n.updatedAt))})]}),i("div",{className:"flex shrink-0 items-center gap-2",children:[t(g,{variant:"ghost",size:"icon-sm","aria-label":s("sessionList.delete"),title:s("sessionList.delete"),disabled:k,className:"text-muted-foreground hover:text-destructive",onClick:()=>{b(null),G(!1),f([n])},children:t(U,{"aria-hidden":"true"})}),t(g,{variant:"secondary",size:"sm",disabled:k,onClick:()=>void oe(n),children:s("sessionList.archives.unarchive")})]})]},n.sessionId))})]},e)),V&&t(P,{variant:"destructive",children:t(T,{children:V})})]})]}),t(ve,{open:D!==null,onOpenChange:(e)=>{if(!e&&!h.current)f(null)},children:i(ge,{showCloseButton:!C,children:[i(ye,{children:[t(Le,{children:s("sessionList.archives.deleteTitle")}),t(xe,{children:s(ne?"sessionList.archives.deleteAllDescription":"sessionList.archives.deleteDescription",{count:D?.length??0})})]}),O&&t(P,{variant:"destructive",children:t(T,{className:"max-h-40 overflow-auto whitespace-pre-wrap",children:O})}),i(Se,{children:[t(g,{variant:"outline",disabled:C,onClick:()=>f(null),children:s("sessionList.cancel")}),i(g,{variant:"destructive",className:"text-sm font-normal",disabled:k,onClick:()=>void ce(),children:[C&&t(M,{}),s("sessionList.archives.confirmDelete")]})]})]})})]})}
|
|
3
|
+
export{cr};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{t}from"./chunk-1vmk34zf.js";import{codexTurnError as T}from"@nyssance/codex-acp-v2/client";import{AlertCircleIcon as h}from"lucide-react";import{useEffect as R,useRef as s,useState as u}from"react";import{Button as C}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as n,jsxs as d}from"react/jsx-runtime";function In({children:i}){return d("div",{className:"codex-error-message",role:"alert",children:[n(h,{"aria-hidden":"true"}),n("div",{className:"min-w-0 flex-1",children:i})]})}function Nn({error:i,retry:e}){let{t:m}=t(),f=T(i),[c]=u(()=>e?.delaySeconds==null?null:Date.now()+e.delaySeconds*1000),[p,v]=u(e?.delaySeconds??null),[N,y]=u(!1),[x,g]=u(null),o=s(!1),w=s(!1),E=s(e?.run);E.current=e?.run;let S=s((b)=>{let a=E.current;if(o.current||a===void 0)return;o.current=!0,y(!0),g(null),a(b).catch((r)=>{w.current=!0,o.current=!1,v(null),y(!1),g(r instanceof Error?r.message:String(r))})}),l=e!==void 0&&f.retryable;return R(()=>{if(!l||c===null)return;let a=setInterval(()=>{if(w.current||o.current)return;let r=Math.max(0,Math.ceil((c-Date.now())/1000));if(v(r),r===0)S.current("automatic")},1000);return()=>clearInterval(a)},[c,l]),d(In,{children:[d("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[n("div",{className:"min-w-0 flex-1 whitespace-pre-wrap",children:f.message}),l&&n(C,{variant:"outline",size:"sm",disabled:N,onClick:()=>S.current("manual"),children:p===null?m("timeline.retry"):m("timeline.retryCountdown",{seconds:p})})]}),x!==null&&n("div",{className:"text-muted-foreground mt-2 text-sm",children:x})]})}
|
|
2
|
+
export{In,Nn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{QUICK_CHATS_GROUP as r,sessionGroup as l}from"@nyssance/codex-acp-v2/client";function
|
|
2
|
-
export{
|
|
1
|
+
import{QUICK_CHATS_GROUP as r,sessionGroup as l}from"@nyssance/codex-acp-v2/client";function Oe(n,t){return n!==null&&t&&l(t,{cwd:n}).id===r?null:n}
|
|
2
|
+
export{Oe};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{ni}from"./chunk-9vxev5r7.js";function Yo(t,o){if(ni(o))return y(t);return t.map((e)=>({kind:"block",block:e}))}function i(t){return t.type==="thinking"||t.type==="tool_use"||t.type==="subagent"||t.type==="collab"}function c(t){return t.type==="tool_use"&&t.kind!=="think"}function y(t){let o=[],e=[],r=()=>{if(e.length===0)return;o.push({kind:"codexActivityGroup",blocks:e}),e=[]};for(let n of t){if(i(n)&&c(n)){e.push(n);continue}if(r(),i(n)){o.push({kind:"codexActivityGroup",blocks:[n]});continue}o.push({kind:"block",block:n})}return r(),o}
|
|
2
|
+
export{Yo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{Qe}from"./chunk-w49gke0h.js";import{oe,No}from"./chunk-5p1fxq0k.js";import{t}from"./chunk-1vmk34zf.js";import{cn as d}from"cn";import{SquareIcon as b}from"lucide-react";import{Kbd as f}from"@nyssance/shadcn/vega/components/ui/kbd";import{Tooltip as h,TooltipContent as I,TooltipTrigger as T}from"@nyssance/shadcn/vega/components/ui/tooltip";import{jsx as o,jsxs as n,Fragment as P}from"react/jsx-runtime";var v=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform);function wo({active:a,sending:r,ready:p,hasMentions:m=!1,onStop:c}){let{t:e}=t(),s=Qe(),u=m||s.textInput.value.trim().length>0||s.attachments.files.length>0,l=!p||r||!u,i=a?e("composer.steer"):e("composer.send");return n(P,{children:[a&&o(oe,{"aria-label":e("composer.stop"),title:e("composer.stop"),className:"border-border size-7 rounded-full border",onClick:c,children:o(b,{className:"size-3 fill-current"})}),o("div",{className:d(l&&"cursor-not-allowed"),children:n(h,{children:[o(T,{render:o(No,{"aria-label":i,disabled:l,"aria-busy":r,status:r?"submitted":"ready"})}),n(I,{role:"tooltip",children:[o("span",{className:"min-w-0",children:i}),o(f,{className:"shrink-0",children:v?"↩":"Enter"})]})]})})]})}
|
|
2
|
+
export{wo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{CacheStorage as I,Soundfont as M}from"smplr";var T=4,y=21,l=88,s=[39,41,43,44,46,48,50],p=0.035,b=0.16,S=88,E=50,h="acoustic_grand_piano",O="MusyngKite",w="FluidR3_GM",f=[0,2,4,5,7,9,11],U=2,C=5,m=globalThis;if(m.__alwithTimelineUserMessageNavigationAudio?.version!==T)m.__alwithTimelineUserMessageNavigationAudio={version:T,context:null,storage:I("alwith-timeline-navigation-instruments"),players:new Map,nextNoteTime:0,unlockConsumerCount:0};var r=m.__alwithTimelineUserMessageNavigationAudio;function d(){return r.context??=new AudioContext,r.context}function c(){let e=d();if(e.state==="running"){r.nextNoteTime=e.currentTime;return}e.resume().then(()=>{r.nextNoteTime=e.currentTime},(n)=>{if(n instanceof DOMException&&n.name==="NotAllowedError")return;console.error("Failed to unlock timeline navigation audio",n)})}function k(e){let n=d();return M(n,{instrument:e,kit:e===h?O:w,storage:r.storage,volume:E})}function g(e){let n=r.players.get(e);if(n!==void 0)return n;let t=k(e),i={player:t,ready:t.ready};return r.players.set(e,i),i}function
|
|
2
|
-
export{
|
|
1
|
+
import{CacheStorage as I,Soundfont as M}from"smplr";var T=4,y=21,l=88,s=[39,41,43,44,46,48,50],p=0.035,b=0.16,S=88,E=50,h="acoustic_grand_piano",O="MusyngKite",w="FluidR3_GM",f=[0,2,4,5,7,9,11],U=2,C=5,m=globalThis;if(m.__alwithTimelineUserMessageNavigationAudio?.version!==T)m.__alwithTimelineUserMessageNavigationAudio={version:T,context:null,storage:I("alwith-timeline-navigation-instruments"),players:new Map,nextNoteTime:0,unlockConsumerCount:0};var r=m.__alwithTimelineUserMessageNavigationAudio;function d(){return r.context??=new AudioContext,r.context}function c(){let e=d();if(e.state==="running"){r.nextNoteTime=e.currentTime;return}e.resume().then(()=>{r.nextNoteTime=e.currentTime},(n)=>{if(n instanceof DOMException&&n.name==="NotAllowedError")return;console.error("Failed to unlock timeline navigation audio",n)})}function k(e){let n=d();return M(n,{instrument:e,kit:e===h?O:w,storage:r.storage,volume:E})}function g(e){let n=r.players.get(e);if(n!==void 0)return n;let t=k(e),i={player:t,ready:t.ready};return r.players.set(e,i),i}function vi(e){g(e).ready.catch((n)=>{console.error(`Failed to load navigation instrument "${e}"`,n)})}function ha(){c()}function yi(){if(r.unlockConsumerCount===0)window.addEventListener("pointerdown",c,{capture:!0}),window.addEventListener("keydown",c,{capture:!0});return r.unlockConsumerCount++,()=>{if(r.unlockConsumerCount--,r.unlockConsumerCount===0)window.removeEventListener("pointerdown",c,{capture:!0}),window.removeEventListener("keydown",c,{capture:!0})}}function xi(e,n,t,i,o){if(o==="none")return;let a=Math.sign(n-e),u=Math.abs(n-e),x=Array.from({length:u},(L,A)=>{let N=e+a*(A+1),v=t[N];return Rr(N,t.length,v.inputTokens,v.outputTokens,o)});_(i,x)}function va(e,n,t,i,o,a){if(a==="none")return;_(o,[Rr(e,n,t,i,a)])}function Rr(e,n,t,i,o){if(o==="none")throw Error("navigationMidiNote: 声音已关闭,不该求音符");if(o==="auto")return Xr(t,i);return Fr(e,n)}function Xr(e,n){let t=Math.imul(e,5)+Math.imul(n,3)>>>0,i=(Math.imul(e,11)^Math.imul(n,13))>>>0,o=t%f.length;return 12*(U+i%C+1)+f[o]}function Fr(e,n){return y+Jr(e,n)}function ya(e,n){return D(Fr(e,n))}function Jr(e,n){if(n<=l)return ea(n)[n-e-1];return Math.round((n-e-1)/(n-1)*(l-1))}function ea(e){if(e<=s.length)return s.slice(0,e);let n=new Set(s),t=s[0]-1,i=s.at(-1)+1;while(n.size<e&&(t>=0||i<l)){if(t>=0&&n.size<e)n.add(t--);if(i<l&&n.size<e)n.add(i++)}for(let o=0;n.size<e&&o<l;o++)n.add(o);return[...n].toSorted((o,a)=>o-a)}function D(e){return 440*2**((e-69)/12)}function _(e,n){let t=d();if(t.state!=="running")return;let{player:i,ready:o}=g(e);o.then(()=>{let a=Math.max(t.currentTime,r.nextNoteTime);for(let u=0;u<n.length;u++)i.start({note:n[u],time:a+u*p,duration:b,velocity:S});r.nextNoteTime=a+n.length*p}).catch((a)=>{console.error(`Failed to play navigation instrument "${e}"`,a)})}function xa(){return r.context?.state}function ba(e){return g(e).ready}
|
|
2
|
+
export{vi,ha,yi,xi,va,Rr,Xr,Fr,ya,Jr,ea,xa,ba};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{n}from"./chunk-1vmk34zf.js";import{e}from"./chunk-t9djctkk.js";import{g,z}from"./chunk-93d3a9wy.js";import{hasAccount as D,isGroupedSelect as L}from"@nyssance/codex-acp-v2/client";import{cn as H}from"cn";import{memo as W,useEffect as T,useState as F}from"react";import{HoverCard as O,HoverCardContent as U,HoverCardTrigger as A}from"@nyssance/shadcn/vega/components/ui/hover-card";import{jsx as r,jsxs as u}from"react/jsx-runtime";var d=new Intl.NumberFormat("en-US",{maximumFractionDigits:0}),I=new Intl.NumberFormat("en-US",{style:"percent",maximumFractionDigits:1}),V=new Intl.NumberFormat("en-US",{maximumFractionDigits:1});function f(a){return typeof a==="number"&&!Number.isNaN(a)?Math.max(0,a):0}function G(a,t){let o=Math.min(100,a/t*100),p=o>=90?"text-destructive":o>=70?"text-foreground":"text-muted-foreground";return{pct:o,className:p}}function P(a){let t=g(a.configOptions,"model");return t===void 0?void 0:z(t)}function Ee(a,t){let o=a.windowDurationMins;if(o===null)return t("usage.usage");if(o%1440===0)return t("usage.windowDays",{count:o/1440});return t("usage.windowHours",{count:Math.round(o/60)})}function _(a){let{client:t}=e(),o=n((s)=>a&&s.connection==="ready"&&D(s.agent)),[p,c]=F(null);return T(()=>{if(!o){c(null);return}let s=!0;t.readRateLimits().then((m)=>{if(s)c(m)},()=>{return});let l=t.onRateLimits((m)=>{if(s)c(m)});return()=>{s=!1,l()}},[o,t]),o?p:null}function B({session:a}){let{t}=e().host,o=g(a.configOptions,"model"),p=o!==void 0&&(L(o.options)?o.options.some((i)=>i.groupId==="chatgpt"&&i.options.some((y)=>y.value===o.currentValue)):!o.currentValue.startsWith("gateway:")&&o.options.some((i)=>i.value===o.currentValue)),c=_(p),{usage:s,lastTurnUsage:l}=a;if(s===null&&l===null)return null;let m=s&&s.size>0?G(s.used,s.size):null,h=7,b=2*Math.PI*h,N=f(l?.inputTokens),k=f(l?.outputTokens),x=f(l?.cachedReadTokens),w=f(l?.cachedWriteTokens),S=f(l?.totalTokens)||N+k+x+w,R=N+x,C=R>0?I.format(x/R):t("tokens.notAvailable"),M=[[t("tokens.input"),d.format(N)],[t("tokens.output"),d.format(k)],[t("tokens.cachedRead"),d.format(x)],[t("tokens.cachedWrite"),d.format(w)],[t("tokens.cacheHitRate"),C],[t("tokens.total"),d.format(S)]],v=P(a);return u(O,{children:[r(A,{delay:100,closeDelay:100,render:u("button",{type:"button",className:H("hover:text-foreground flex h-7 items-center gap-1.5 rounded-md px-1.5 text-xs tabular-nums",m?.className??"text-muted-foreground"),"aria-label":t("tokens.openDetails"),children:[u("svg",{viewBox:"0 0 18 18",className:"size-4","aria-hidden":"true",children:[r("circle",{cx:"9",cy:"9",r:h,fill:"none",stroke:"currentColor",strokeOpacity:"0.2",strokeWidth:"2"}),m!==null&&r("circle",{cx:"9",cy:"9",r:h,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:b,strokeDashoffset:b*(1-m.pct/100),transform:"rotate(-90 9 9)"})]}),m!==null&&u("span",{children:[Math.round(m.pct),"%"]})]})}),u(U,{align:"end",side:"top",sideOffset:8,className:"w-56 p-0",children:[v!==void 0&&r("div",{className:"border-b px-3 py-2",children:r("p",{className:"text-foreground truncate text-xs font-semibold",title:v,children:v})}),u("div",{className:"flex flex-col gap-3 p-3",children:[l!==null&&u("div",{className:"flex flex-col gap-1.5",children:[r("p",{className:"text-xs font-medium",children:t("tokens.openDetails")}),r("dl",{className:"grid grid-cols-[1fr_auto] gap-x-4 gap-y-1 text-xs",children:M.map(([i,y])=>u("div",{className:"contents",children:[r("dt",{className:"text-muted-foreground",children:i}),r("dd",{className:"text-end tabular-nums",children:y})]},i))})]}),s!==null&&s.size>0&&u("div",{className:"flex flex-col gap-1.5 border-t pt-2",children:[r("p",{className:"text-xs font-medium",children:t("tokens.context")}),r("p",{className:"text-muted-foreground text-xs tabular-nums",children:t("tokens.contextSummary",{used:d.format(s.used),limit:d.format(s.size),percent:V.format(s.used/s.size*100)})})]}),c!==null&&(c.primary!==null||c.secondary!==null)&&u("div",{className:"flex flex-col gap-1.5 border-t pt-2",children:[r("p",{className:"text-xs font-medium",children:t("usage.limits")}),r("dl",{className:"grid grid-cols-[1fr_auto] gap-x-4 gap-y-1 text-xs",children:[c.primary,c.secondary].filter((i)=>i!==null).map((i)=>u("div",{className:"contents",children:[r("dt",{className:"text-muted-foreground",children:Ee(i,t)}),r("dd",{className:"text-end tabular-nums",children:t("usage.used",{percent:Math.round(Math.min(100,Math.max(0,i.usedPercent)))})})]},`${i.windowDurationMins??"window"}`))})]})]})]})]})}var Bt=W(B);
|
|
2
|
+
export{Ee,Bt};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Vo}from"./chunk-sn5n38j6.js";import{autoUpdate as L}from"@floating-ui/dom";import{cn as I}from"cn";import{CheckCheckIcon as M,CheckIcon as h,ShieldXIcon as V,XIcon as F}from"lucide-react";import{useCallback as H,useEffect as N,useId as T,useLayoutEffect as _,useRef as S,useState as f}from"react";import{createPortal as z}from"react-dom";import{jsx as i,jsxs as u}from"react/jsx-runtime";var U={allow_once:{icon:h},allow_always:{icon:M},reject_once:{icon:F},reject_always:{icon:V}};function Bo({requestId:p,options:D,title:E,children:P,total:w=1,alwaysLabel:j="always",autoFocus:y="always",anchorRef:n,onRespond:r}){let b=T(),[a,g]=f(0),[s,v]=f(null),[l,A]=f(null),x=S(null),c=Vo(D);N(()=>{g(0)},[p]),N(()=>{let e=document.activeElement;if(y==="always"||e===null||e===document.body)x.current?.focus()},[p,l,y]);let d=H(()=>{let e=n?.current;if(!e)return;let t=e.getBoundingClientRect();if(t.width===0){let o=Math.min(640,window.innerWidth*0.9);v({left:(window.innerWidth-o)/2,width:o,bottom:24});return}v({left:t.left,width:t.width,bottom:window.innerHeight-t.bottom+20})},[n]);if(_(()=>{if(!n)return;let e=0,t=()=>{if(n.current)d();else e=requestAnimationFrame(t)};return t(),()=>cancelAnimationFrame(e)},[p,n,d]),_(()=>{let e=n?.current;if(!e||!l)return;return L(e,l,d,{animationFrame:!0})},[n,l,d]),n&&!s)return null;let k=u("div",{ref:A,"data-overlay":"permission-request",className:I("bg-card border-border overflow-hidden rounded-lg border",n&&"fixed z-50"),style:n&&s?{left:s.left,width:s.width,bottom:s.bottom}:void 0,children:[u("div",{className:"border-border border-b px-3 py-2",children:[u("div",{className:"flex items-center justify-between gap-2",children:[i("div",{id:b,className:"text-foreground text-sm font-medium",children:E}),w>1&&i("span",{className:"text-muted-foreground shrink-0 text-xs",children:`1 / ${w}`})]}),P]}),i("div",{role:"listbox","aria-labelledby":b,tabIndex:0,ref:x,onKeyDown:(e)=>{let t=c.length;if(t===0&&e.key!=="Escape")return;if(e.key==="ArrowDown"||e.key==="ArrowUp")e.preventDefault(),g((o)=>e.key==="ArrowDown"?(o+1)%t:(o-1+t)%t);else if(e.key==="Enter")e.preventDefault(),r(c[a].optionId);else if(e.key==="Escape")e.preventDefault(),r(null);else if(/^[1-9]$/.test(e.key)&&Number(e.key)<=t)e.preventDefault(),r(c[Number(e.key)-1].optionId)},className:"outline-none",children:c.map((e,t)=>{let o=e.kind??"allow_once",C=U[o]?.icon??h,K=o==="allow_always"||o==="reject_always",O=o==="reject_once"||o==="reject_always";return u("div",{role:"option",tabIndex:-1,"aria-selected":t===a,title:e.description,onClick:()=>void r(e.optionId),onKeyDown:(m)=>{if(m.key==="Enter"||m.key===" ")m.preventDefault(),m.stopPropagation(),r(e.optionId)},className:I("flex cursor-pointer items-center gap-2 px-3 py-1.5 text-sm select-none",t===a?"bg-ring text-accent-foreground":"text-foreground",O&&t!==a&&"text-muted-foreground"),children:[i("span",{className:"min-w-3 text-xs opacity-70",children:t+1}),i(C,{className:"size-3.5 shrink-0 opacity-80"}),i("span",{className:"min-w-0 flex-1 truncate",children:e.name}),K&&i("span",{className:"bg-muted text-muted-foreground rounded px-1.5 py-0.5 text-[10px] tracking-wide uppercase",children:j})]},e.optionId)})})]});return n?z(k,document.body):k}
|
|
2
2
|
export{Bo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
export{
|
|
1
|
+
var xe="chrome-hover hover:bg-foreground/8 data-[active=true]:bg-foreground/5",c="chrome-hover hover:bg-foreground/8 data-active:bg-foreground/5";
|
|
2
|
+
export{xe,c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{invoke as r}from"@tauri-apps/api/core";import{listen as t,once as s,emit as n,emitTo as o}from"@tauri-apps/api/event";var b={providersRead:()=>r("plugin:alwith-chat|providers_read"),providersSave:(e)=>r("plugin:alwith-chat|providers_save",e),providersSaveCustom:(e)=>r("plugin:alwith-chat|providers_save_custom",e),providersRemoveCustom:(e)=>r("plugin:alwith-chat|providers_remove_custom",e),providersTest:(e)=>r("plugin:alwith-chat|providers_test",e),providersApply:()=>r("plugin:alwith-chat|providers_apply"),providersAccountBind:(e)=>r("plugin:alwith-chat|providers_account_bind",e),providersRefreshManaged:(e)=>r("plugin:alwith-chat|providers_refresh_managed",e),providersClearManaged:()=>r("plugin:alwith-chat|providers_clear_managed"),readSkillDocument:(e)=>r("plugin:alwith-chat|read_skill_document",e),sessionsList:(e)=>r("plugin:alwith-chat|sessions_list",e),sessionsCountTypes:(e)=>r("plugin:alwith-chat|sessions_count_types",e),sessionsPersonaEvidence:(e)=>r("plugin:alwith-chat|sessions_persona_evidence",e),getModelPricing:()=>r("plugin:alwith-chat|get_model_pricing"),scanSessionAggregates:(e)=>r("plugin:alwith-chat|scan_session_aggregates",e),exportWeekSessions:()=>r("plugin:alwith-chat|export_week_sessions"),dailyTokenUsage:(e)=>r("plugin:alwith-chat|daily_token_usage",e),downloadUsageJson:(e)=>r("plugin:alwith-chat|download_usage_json",e),wordCloud:(e)=>r("plugin:alwith-chat|word_cloud",e)},on={"providers:changed":{name:"providers:changed",listen:(e)=>t("providers:changed",e),once:(e)=>s("providers:changed",e),emit:(e)=>n("providers:changed",e),emitTo:(e,i)=>o(e,"providers:changed",i)},"providers:managed-revoked":{name:"providers:managed-revoked",listen:(e)=>t("providers:managed-revoked",e),once:(e)=>s("providers:managed-revoked",e),emit:(e)=>n("providers:managed-revoked",e),emitTo:(e,i)=>o(e,"providers:managed-revoked",i)}};function Br(e){return typeof e==="object"&&e!==null&&typeof e.code==="string"&&typeof e.message==="string"}function na(e){if(Br(e)||e instanceof Error)return e.message;return String(e)}
|
|
2
|
+
export{b,on,Br,na};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{o}from"./chunk-tggrc8e5.js";import{me,U,ne}from"./chunk-6h2ysmec.js";import{useEffect as S,useMemo as f}from"react";function lr(s){let c=U((i)=>i.activityOrder),a=o((i)=>{let n=Object.values(i.runStates).filter((t)=>c.includes(t.sessionId)&&(t.state==="done"||t.state==="requires_action")&&me(i,t.sessionId)).map((t)=>[t.sessionId,JSON.stringify([t.state,t.since,t.interruption])]);return JSON.stringify(n)}),e=f(()=>new Map(JSON.parse(a)),[a]),u=U((i)=>i.activitySeen),r=ne();return S(()=>{if(s==="activity")r({activitySeen:e})},[s,e,r]),s!=="activity"&&[...e].some(([i,n])=>u.get(i)!==n)}
|
|
2
|
+
export{lr};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{Fo,I}from"./chunk-w49gke0h.js";import{go}from"./chunk-qvadb210.js";import{be}from"./chunk-r29eygte.js";import{So,_o,Po,To,Io,oe}from"./chunk-5p1fxq0k.js";import{po,mo}from"./chunk-fjwn02v3.js";import{ln}from"./chunk-9cqfjpfk.js";import{t,n}from"./chunk-1vmk34zf.js";import{e}from"./chunk-t9djctkk.js";import{fn}from"./chunk-qcabefs0.js";import{s,Do,B,jt}from"./chunk-9x48rd50.js";import{zt}from"./chunk-ewjh6s2b.js";import{Le,Gt}from"./chunk-kymztvkv.js";import{$t,qt}from"./chunk-jeedg61t.js";import{Ho}from"./chunk-qf163g6t.js";import{Ut}from"./chunk-pvzceygv.js";import{Lo}from"./chunk-8ht645rn.js";import{Wt}from"./chunk-cc33s37q.js";import{Zt}from"./chunk-pfft1e99.js";import{Uo}from"./chunk-cfhg44ce.js";import{ko}from"./chunk-qcy0m7c4.js";import{wo}from"./chunk-j1f4spe0.js";import{Bt}from"./chunk-js95dpfd.js";import{hasFuzzyFileSearch as Mt}from"@nyssance/codex-acp-v2/client";import{PlusIcon as Ct}from"lucide-react";import{useCallback as O,useEffect as Et,useLayoutEffect as J,useMemo as Q,useRef as Y,useState as S}from"react";import{jsx as i,jsxs as w}from"react/jsx-runtime";var Rt=["image/png","image/jpeg","image/webp","image/gif"],Z=[];async function Nt(r){let d=await(await fetch(r.url)).blob();return new Promise((l,E)=>{let T=new FileReader;T.onerror=()=>E(T.error),T.onload=()=>{let z=T.result;l(z.slice(z.indexOf(",")+1))},T.readAsDataURL(d)})}function Ot(r){let{t:d}=t(),l=I();return i(oe,{"aria-label":d("composer.attachImage"),title:d("composer.attachImage"),onClick:()=>l.openFileDialog(),...r,children:i(Ct,{className:"size-4"})})}function Ht({session:r,onSubmit:d,onShellCommand:l,onHandOff:E,modelSelector:T,modelMenu:z,inputHeader:tt,actions:dt,children:ut,attachmentPolicy:ft,predictions:ht=!0,disabled:gt=!1,preparing:et=!1,allowPendingInput:xt=!1}){let{host:F,client:R}=e(),{t:p}=F,k=O((o)=>{if(F.reportError)F.reportError(o);else console.error(o)},[F]),[rt,D]=S(()=>({text:s.get(r.id)?.text??"",revision:0})),{text:P}=rt,[A,yt]=S(()=>s.get(r.id)?.attachments??Z),[u,U]=S(()=>s.get(r.id)?.mentions??[]),V=A.some((o)=>Le(o)&&o.pastedText.status!=="ready"),[M,ot]=S(!1),[H,Pt]=S(!1),[X,nt]=S(!1),f=Y(null),at=Y(null),a=Y(rt),_=O((o)=>{at.current?.(),a.current={text:o,revision:a.current.revision+1},D(a.current)},[]),bt=Uo(r,_),it=Q(()=>({read:()=>{let c=f.current?.getTextarea(),g=c===null||c===void 0?[a.current.text.length,a.current.text.length]:[c.selectionStart,c.selectionEnd];return{target:r.id,...a.current,selection:g}},compareAndSet(c,g,C){if(c.target!==r.id||c.revision!==a.current.revision)return null;a.current={text:g,revision:a.current.revision+1},D(a.current);let x=f.current?.getTextarea();if(x!==null&&x!==void 0)x.value=g,x.setSelectionRange(C[0],C[1]);return{target:r.id,...a.current,selection:C}}}),[r.id]),L=Y(null),ct=O((o)=>(L.current=o,()=>{if(L.current===o)L.current=null}),[]),K=r.state!=="idle",b=l!==void 0&&P.startsWith("!"),h=!gt&&!et&&r.attached&&!r.restoring&&!r.readOnly,N=!r.readOnly&&(xt||h),W=Zt(r,h&&!M&&!H&&!V&&!X,P.length>0||A.length>0||u.length>0,ht&&!b),mt=W.invalidate;J(()=>{s.set(r.id,{text:P,attachments:A,mentions:u,modelId:s.get(r.id)?.modelId??null})},[r.id,P,A,u]),J(()=>Do(r.id,yt),[r.id]),J(()=>jt(r.id,(o)=>{if(!N||M)throw Error("The composer cannot take text now; try again later");if(P.length||A.length||u.length)throw Error("The composer already has a draft; send or clear it first");_(o)}),[r.id,N,M,P,A,u,_]);let st=n((o)=>Mt(o.agent)),vt=Q(()=>st&&h?async(o)=>zt((await R.fuzzyFileSearch({query:o,roots:[r.cwd]})).files):void 0,[R,st,h,r.cwd]),q=O((o)=>{U((c)=>c.includes(o)?c:[...c,o])},[]);Et(()=>{f.current?.focus()},[]);let pt=O(async({text:o,files:c})=>{let g=l!==void 0&&o.startsWith("!")?o.slice(1):null;if(g!==null){if(g.trim().length===0)return;if(c.length||u.length)throw Error("Shell commands cannot include file references or attachments");if(r.state!=="idle")throw Error("Wait for the current turn before running a shell command")}let C=o.trim();if(C.length===0&&c.length===0&&u.length===0)return;let x=L.current;ot(!0);let v=s.get(r.id),At=a.current.revision,j=null;try{let y=[];for(let m of u){let G={kind:"file",absPath:m};y.push({type:"resource_link",uri:$t(G),name:qt(G)})}if(C.length>0)y.push({type:"text",text:C});for(let m of c)if(Le(m)){if(m.pastedText.status!=="ready")throw Error("Text attachment is not ready");y.push({type:"resource_link",uri:m.url,name:m.filename??"pasted-text.txt"})}else y.push({type:"image",data:await Nt(m),mimeType:m.mediaType});if(a.current.revision===At&&s.get(r.id)===v)a.current={text:"",revision:a.current.revision+1},j=a.current.revision,D(a.current),U([]),B(r.id,()=>Z),s.set(r.id,{text:"",attachments:Z,mentions:[],modelId:v?.modelId??null}),f.current?.resetHeight();if(g!==null&&l)await l(g);else if(d)if(x===null)await d(y);else await d(y,(m)=>{if(x.signal.aborted||L.current!==x)return;x.accept(m),E?.(r.id,m)});else if(x===null)await R.prompt(r.id,y);else{let m=await R.prompt(r.id,y);x.accept(m)}mt();for(let m of v?.attachments??[])if(m.url.startsWith("blob:")&&!s.get(r.id)?.attachments.some((G)=>G.id===m.id))URL.revokeObjectURL(m.url)}catch(y){if(v&&j!==null&&a.current.revision===j&&s.get(r.id)?.attachments.length===0&&s.get(r.id)?.mentions.length===0)a.current={text:v.text,revision:j+1},D(a.current),U(v.mentions),s.set(r.id,v),B(r.id,()=>v.attachments);throw y}finally{ot(!1),f.current?.focus()}},[R,r.id,r.state,u,d,l,E,mt]),wt=()=>{R.cancel(r.id).catch(k)},It=O((o)=>{let c=o.code==="max_total_size"?Object.assign(Error(p("composer.imageTooLargeTitle")),{description:p("composer.imageTooLargeDescription",{mb:be})}):Object.assign(Error(p("composer.unsupportedAttachmentTitle")),{description:p("composer.unsupportedAttachmentDescription")});k(c)},[k,p]),Tt=Q(()=>({session:r,ready:h,inputReady:N,sending:M,textareaRef:f,draft:it,interruptRef:at,observeReceipts:ct,addMention:q,setAdding:Pt,shellMode:b,handsFree:!b&&(d===void 0||E!==void 0)}),[r,h,N,M,it,ct,q,d,E,b]),lt=F.writeTextAttachment;return i(fn,{value:Tt,children:i("div",{"data-chat-drop-zone":!0,className:"mx-auto w-full max-w-3xl px-6 pb-5",children:w("div",{className:"relative",children:[tt&&i("div",{"data-chat-input-header":!0,className:"bg-sidebar dark:bg-foreground/3 relative top-1 z-0 mx-[13px] -mb-[18px] flex min-w-0 items-center gap-2 overflow-hidden rounded-t-2xl px-1.5 pt-1.5 pb-[27px]",children:tt}),w(Fo,{attachmentPolicy:ft,value:P,revision:a.current.revision,onValueChange:_,onSubmittedClear:()=>{a.current={text:"",revision:a.current.revision+1},D(a.current)},attachments:A,onAttachmentsChange:(o)=>B(r.id,()=>o),children:[i(go,{bashMode:l!==void 0,handleRef:f,commands:r.commands,searchFiles:vt,onMention:q,onSearchError:k,forcedOpen:X,onForcedOpenChange:nt,emptyLabel:p("composer.noCommands"),fileStatusLabels:{loading:p("composer.searchingFiles"),empty:p("composer.noMatchingFiles")}}),w(So,{"data-shell-mode":b||void 0,bashMode:l!==void 0,globalDrop:!0,multiple:!0,accept:Rt.join(","),onError:It,onSubmit:pt,onSubmitAsync:pt,onSubmitError:k,canSubmit:()=>h&&!M&&!H&&!V&&(!b||!K&&P.slice(1).trim().length>0)?!0:"chat_not_ready",className:"relative z-10",children:[ut,w(Po,{className:"px-3 pt-3 pb-0 empty:hidden",children:[H&&i("span",{role:"status",className:"text-muted-foreground text-xs",children:p("composer.addingFiles")}),i(Ho,{mentions:u,onRemove:(o)=>U((c)=>c.filter((g)=>g!==o))}),i(mo,{children:(o)=>Le(o)?i(Lo,{data:o,sessionId:r.id}):i(po,{data:o,t:p})})]}),w(_o,{className:"mb-0 min-h-16 px-3 pt-4 pb-2",onKeyDownCapture:(o)=>{if(!W.text||f.current?.isComposing()||o.nativeEvent.isComposing||o.nativeEvent.keyCode===229||o.shiftKey||o.ctrlKey||o.altKey||o.metaKey||o.target!==f.current?.getTextarea())return;if(o.key==="Tab")o.preventDefault(),o.stopPropagation(),_(W.text)},children:[b&&i("span",{"data-shell-prefix":!0,"aria-hidden":"true",className:"text-destructive self-start pt-0.5 text-sm",children:"❗"}),i(ln,{className:"min-h-10 bg-transparent text-sm font-normal",ref:f,rows:2,onKeyDown:bt,bashMode:l!==void 0,disabled:!N,onPasteCapture:lt?(o)=>Gt(o,r.id,p("composer.pastedTextFilename"),lt):void 0,placeholder:b?"! command":W.text||(K?p("composer.steerPlaceholder"):p("composer.placeholder")),"aria-label":p("composer.placeholder")})]}),i(To,{className:"chat-composer-toolbar @container/input-footer mt-0 mb-2 w-full min-w-0 p-0",children:w("div",{className:"grid w-full min-w-0 grid-cols-[auto_minmax(0,1fr)] items-center gap-x-[5px] px-2",children:[w("div",{className:"flex min-w-0 items-center gap-[5px]",children:[i(Ot,{className:"text-foreground",disabled:!N}),i(ko,{textareaRef:f,menuOpen:X,onOpenChange:nt,disabled:!h||r.commands.length===0}),i(Wt,{sessionId:r.id,options:r.configOptions,disabled:!h})]}),w(Io,{className:"w-full min-w-0 items-center justify-end gap-1",children:[i(Bt,{session:r}),T??i(Ut,{...z,sessionId:r.id,options:r.configOptions,disabled:!h}),dt,i(wo,{active:K,sending:M||et||H,ready:h&&!V&&(!b||!K&&P.slice(1).trim().length>0),hasMentions:u.length>0,onStop:wt})]})]})})]})]})]})})})}
|
|
2
|
+
export{Ht};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{s,B,Vt}from"./chunk-9x48rd50.js";var Ro=5000;function Le(t){return"pastedText"in t}function Vr(t){return`file://${encodeURI(t).replaceAll("#","%23").replaceAll("?","%3F")}`}function We(t,e,o){let i=(r,n)=>{for(let[a,x]of s){if(!x.attachments.some((p)=>p.id===e.id))continue;B(a,(p)=>p.map((d)=>d.id===e.id?{...e,url:n===void 0?"":Vr(n),pastedText:{text:e.pastedText.text,status:r}}:d))}};if(!s.get(t)?.attachments.some((r)=>r.id===e.id))return;i("pending"),Vt(e.id,o("pasted-text.txt",e.pastedText.text).then((r)=>i("ready",r)).catch(()=>i("error")))}function Gt(t,e,o,i){if(t.defaultPrevented||t.currentTarget.disabled)return;if([...t.clipboardData.items].some((a)=>a.kind==="file"&&a.type.startsWith("image/")))return;let r=t.clipboardData.getData("text/plain");if(r.length<Ro)return;t.preventDefault(),t.stopPropagation();let n={id:crypto.randomUUID(),type:"file",mediaType:"text/plain",filename:o,url:"",pastedText:{text:r,status:"pending"}};B(e,(a)=>[...a,n]),We(e,n,i)}
|
|
2
|
+
export{Ro,Le,Vr,We,Gt};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{C}from"./chunk-9pgh7zjb.js";import{EmojiPicker as t}from"frimousse";import{BoxIcon as u}from"lucide-react";import{useState as d}from"react";import{Button as g}from"@nyssance/shadcn/vega/components/ui/button";import{Popover as x,PopoverContent as f,PopoverTrigger as b}from"@nyssance/shadcn/vega/components/ui/popover";import{jsx as o,jsxs as n}from"react/jsx-runtime";function Ve({emoji:s,onChange:l}){let[m,r]=d(!1),{t:a,i18n:c,emojibaseUrl:p}=C();return n(x,{open:m,onOpenChange:r,children:[o(b,{onClick:(e)=>e.stopPropagation(),onPointerDown:(e)=>e.stopPropagation(),render:o(g,{variant:"ghost",size:"icon-xs",className:"relative z-10","aria-label":a("collection.emoji"),children:s||o(u,{className:"size-3.5"})})}),o(f,{align:"start",className:"w-auto p-0",children:n(t.Root,{emojibaseUrl:p,locale:c.language==="zh-CN"?"zh":"en",className:"bg-popover flex h-80 w-72 flex-col",onEmojiSelect:({emoji:e})=>{l(e),r(!1)},children:[o(t.Search,{"aria-label":a("collection.emoji"),className:"focus-visible:border-ring mx-2 mt-2 flex h-8 rounded-md border bg-transparent px-2 text-sm outline-none"}),n(t.Viewport,{className:"relative flex-1 outline-none",children:[o(t.Loading,{className:"text-muted-foreground absolute inset-0 flex items-center justify-center text-xs",children:"…"}),o(t.Empty,{className:"text-muted-foreground absolute inset-0 flex items-center justify-center text-xs"}),o(t.List,{className:"pb-1.5 select-none",components:{CategoryHeader:({category:e,...i})=>o("div",{className:"bg-popover text-muted-foreground px-3 pt-3 pb-1.5 text-xs",...i,children:e.label}),Row:({children:e,...i})=>o("div",{className:"scroll-my-1.5 px-1.5",...i,children:e}),Emoji:({emoji:e,...i})=>o("button",{type:"button",className:"data-[active]:bg-accent flex size-8 items-center justify-center rounded-md text-lg",...i,children:e.emoji})}})]})]})})]})}
|
|
2
|
+
export{Ve};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function
|
|
2
|
-
export{
|
|
1
|
+
function Cn(r){if(!r.trimStart().toLowerCase().startsWith("gpt"))return r;let a=/^gpt-\d/iu.test(r.trimStart())?" ":"-";return r.split(/(\s+)/).map((i)=>i.trim().length===0?i:i.split("-").map((t,o)=>{if(t.toLowerCase()==="gpt")return"GPT";if(t.toLowerCase()==="oai")return"OAI";return o>0&&t.length>0?`${t[0]?.toUpperCase()}${t.slice(1)}`:t}).join(a).replace(/^GPT (?=\d)/u,"GPT-")).join("")}
|
|
2
|
+
export{Cn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{Rn}from"./chunk-gva03q5f.js";async function Di(i,c){let s=new WeakSet;while(!c.aborted){let r=[...i.querySelectorAll('[data-codex-disclosure][aria-expanded="false"]')].filter((e)=>!s.has(e)&&!e.matches(":disabled"));for(let e of r)s.add(e),e.click();if(r.length===0&&i.querySelector("[data-markdown-pending]")===null)return;await new Promise((e)=>requestAnimationFrame(()=>e()))}}function at(i,c){if(!c)return[];let s=[],r="",e=[],l=()=>{let t=0,n=0;for(let{start:a,end:o}of Rn(r,c)){while(t<e.length&&e[t].end<=a)t++;n=Math.max(n,t);while(n<e.length&&e[n].end<o)n++;let d=e[t],f=e[n];if(!d||!f)throw Error("Search text offset has no DOM node");let h=document.createRange();h.setStart(d.node,a-d.start),h.setEnd(f.node,o-f.start),s.push(h)}r="",e=[]},m=new Set(["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DIV","DL","DT","DD","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HR","LI","MAIN","NAV","OL","P","PRE","SECTION","TABLE","TD","TH","TR","UL"]),u=(t)=>{if(t.nodeType===Node.TEXT_NODE){let a=t.parentElement;if(!a||a.offsetParent===null&&a.tagName!=="BODY")return;let o=t.nodeValue??"";e.push({node:t,start:r.length,end:r.length+o.length}),r+=o;return}if(!(t instanceof Element))return;if(t.matches("script, style, [hidden], [aria-hidden='true']")){l();return}if(t.tagName==="BR"){l();return}let n=m.has(t.tagName);if(n)l();for(let a of t.childNodes)u(a);if(n)l()};return u(i),l(),s}
|
|
2
|
+
export{Di,at};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l,i}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{l,i}from"./chunk-b4evrc3r.js";import{h}from"./chunk-9cqpn67f.js";import{N}from"./chunk-zettt6hy.js";import{de}from"./chunk-0e4zew7m.js";import{H,le,ce}from"./chunk-60z20w9q.js";import{ExternalLinkIcon as W,PlusIcon as _}from"lucide-react";import{useEffect as q,useState as w}from"react";import{Badge as L}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as f}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as F,DialogContent as G,DialogDescription as J,DialogHeader as K,DialogTitle as Q}from"@nyssance/shadcn/vega/components/ui/dialog";import{Spinner as P}from"@nyssance/shadcn/vega/components/ui/spinner";import{Switch as X}from"@nyssance/shadcn/vega/components/ui/switch";import{jsx as e,jsxs as n,Fragment as O}from"react/jsx-runtime";function ut({entry:r,onBack:p}){let u=l(),{t}=u,C=i((a)=>a.readPlugin),B=i((a)=>a.installed.find(({plugin:g})=>g.id===r.plugin.id)),v=i((a)=>a.busyIds[r.plugin.id]),T=i((a)=>a.install),V=i((a)=>a.uninstall),j=i((a)=>a.setPluginEnabled),[o,U]=w(null),[S,I]=w(null),[R,M]=w(0),[c,z]=w(null);q(()=>{let a=!0;return I(null),U(null),C(r).then((g)=>{if(a)U(g)},(g)=>{if(a)I(g instanceof Error?g.message:String(g))}),()=>{a=!1}},[r,C,R]);let d=o?.summary??r.plugin,m=B?.plugin??d,s=d.interface,k=s?.displayName??d.name,y=m.availability!=="AVAILABLE"||m.installPolicy==="NOT_AVAILABLE",E=s?.longDescription??o?.description??s?.shortDescription,A=[...u.assetUrl?s?.screenshots.map((a)=>u.assetUrl(a))??[]:[],...s?.screenshotUrls??[]];return n("div",{className:"toolbox-surface flex min-h-0 flex-1 flex-col overflow-hidden",children:[e(ce,{children:n("header",{className:"flex min-w-0 flex-col gap-4",children:[n("nav",{"aria-label":t("plugins.detail.root"),className:"flex min-w-0 items-center gap-2 text-[13px]",children:[e(f,{variant:"link",size:"sm",className:"text-muted-foreground hover:text-foreground px-2 hover:no-underline",onClick:p,children:t("plugins.detail.root")}),e("span",{"aria-hidden":"true",className:"text-muted-foreground/50 text-sm",children:"/"}),e("span",{"aria-current":"page",className:"truncate",children:k})]}),n("div",{className:"flex min-h-9 flex-wrap items-center justify-between gap-4",children:[n("div",{className:"flex min-w-0 items-center gap-3",children:[e(N,{name:d.name,className:"size-9 shrink-0 rounded-lg"}),e("h1",{className:"min-w-0 text-2xl leading-8 font-semibold break-words",children:k})]}),e("div",{className:"flex shrink-0 items-center gap-3",children:B?n(O,{children:[e(X,{checked:m.enabled,disabled:!!v||y,"aria-label":t(m.enabled?"plugins.card.disable":"plugins.card.enable",{pluginName:k}),onCheckedChange:(a)=>void j(m,a)}),e(f,{variant:"outline",size:"sm",disabled:!!v,onClick:()=>void V(m),children:v?e(P,{}):t("plugins.detail.uninstall")})]}):e(f,{size:"icon-sm",variant:"ghost",className:"text-foreground shrink-0","aria-label":t(y?"plugins.detail.unavailable":"plugins.detail.install"),title:t(y?"plugins.detail.unavailable":"plugins.detail.install"),disabled:!!v||y,onClick:()=>void T({...r,plugin:d}).catch(()=>{}),children:v?e(P,{"aria-hidden":"true"}):e(_,{className:"size-5",strokeWidth:2,"aria-hidden":"true"})})})]})]})}),e(h,{className:"pe-0",viewportClassName:"pe-0",children:n("div",{className:`${H} pt-2`,children:[s?.shortDescription&&e("p",{className:"text-muted-foreground text-sm leading-6",children:s.shortDescription}),d.keywords.length>0&&e("div",{className:"mt-3 flex flex-wrap gap-2",children:[...new Set(d.keywords)].map((a)=>e(L,{variant:"secondary",className:"text-xs font-normal",children:a},a))}),n("div",{className:"mt-6 flex items-stretch overflow-x-auto border-y py-4",children:[s?.developerName&&e(x,{label:t("plugins.detail.developer"),children:s.developerName}),s?.category&&e(x,{label:t("plugins.detail.category"),children:s.category}),(m.localVersion??m.version)&&e(x,{label:t("plugins.detail.version"),children:m.localVersion??m.version}),e(x,{label:t("plugins.headings.marketplace"),children:r.marketplace.interface?.displayName??r.marketplace.name}),s?.websiteUrl&&e(x,{label:t("plugins.detail.website"),children:e(D,{url:s.websiteUrl,label:t("plugins.detail.website")})})]}),!o&&!S&&n("div",{role:"status",className:"text-muted-foreground mt-8 flex items-center gap-2 text-sm",children:[e(P,{}),t("plugins.detail.loading")]}),S&&n("div",{role:"alert",className:"mt-8 space-y-2",children:[n("p",{className:"text-destructive text-sm",children:[t("plugins.detail.errorTitle"),": ",S]}),e(f,{variant:"outline",size:"sm",className:"h-9",onClick:()=>M((a)=>a+1),children:t("plugins.loadError.retry")})]}),E&&e("p",{className:"mt-8 text-sm leading-6 whitespace-pre-wrap",children:E}),A.length>0&&e("div",{className:"mt-6 flex gap-3 overflow-x-auto",children:[...new Set(A)].map((a)=>e("img",{src:a,alt:k,loading:"lazy",className:"max-h-72 max-w-full rounded-xl border object-contain"},a))}),s&&s.capabilities.length>0&&e(b,{label:t("plugins.detail.capabilities"),count:s.capabilities.length,children:s.capabilities.map((a)=>e(L,{variant:"secondary",className:"me-2",children:a},a))}),o&&o.mcpServers.length>0&&e(b,{label:t("plugins.detail.mcpServers"),count:o.mcpServers.length,children:o.mcpServers.map((a)=>n("div",{className:"flex items-center gap-3 py-1",children:[e(N,{name:d.name,className:"size-6 rounded-md"}),e("span",{className:"text-sm font-medium",children:a})]},a))}),o&&o.skills.length>0&&e(b,{label:t("plugins.detail.skills"),count:o.skills.length,children:o.skills.map((a)=>n(f,{variant:"ghost",className:"h-auto w-full justify-start gap-3 rounded-xl px-3 py-3 text-start whitespace-normal",onClick:()=>z(a),children:[e(N,{name:a.name,className:"size-8"}),n("span",{className:"min-w-0 flex-1",children:[e("span",{className:"block text-sm font-medium",children:a.interface?.displayName??a.name}),e("span",{className:"text-muted-foreground mt-1 block truncate text-[13px] leading-5 font-normal",children:a.interface?.shortDescription??a.shortDescription??a.description})]})]},a.path??a.name))}),o&&o.apps.length>0&&e(b,{label:t("plugins.detail.apps"),count:o.apps.length,children:o.apps.map((a)=>n("div",{className:"rounded-xl px-3 py-3",children:[e("div",{className:"text-sm font-medium",children:a.name}),a.description&&e("p",{className:"text-muted-foreground mt-1 text-[13px] leading-5",children:a.description}),a.installUrl&&e(D,{url:a.installUrl,label:t("plugins.installModal.connect")})]},a.id))}),o&&o.hooks.length>0&&e(b,{label:t("plugins.detail.hooks"),count:o.hooks.length,children:o.hooks.map((a)=>e("p",{className:"text-sm",children:a.eventName},a.key))}),(s?.privacyPolicyUrl||s?.termsOfServiceUrl)&&n("div",{className:"mt-10 flex flex-wrap gap-4 border-t pt-4",children:[s.privacyPolicyUrl&&e(D,{url:s.privacyPolicyUrl,label:t("plugins.detail.privacyPolicy")}),s.termsOfServiceUrl&&e(D,{url:s.termsOfServiceUrl,label:t("plugins.detail.termsOfService")})]})]})}),e(F,{open:c!==null,onOpenChange:(a)=>{if(!a)z(null)},children:e(G,{className:le,children:c&&n(O,{children:[e("div",{className:"shrink-0 pr-8",children:e(N,{name:c.name,className:"size-10"})}),n("div",{className:"min-h-0 space-y-6 overflow-y-auto overscroll-contain",children:[n(K,{className:"gap-3",children:[e(Q,{className:"text-2xl leading-8 font-semibold break-words",children:c.interface?.displayName??c.name}),e(J,{className:"text-sm leading-6 break-words whitespace-pre-wrap",children:c.description})]}),e(de,{path:c.path,description:c.description},c.path??c.name)]})]})})})]})}function x({label:r,children:p}){return n("div",{className:"flex min-w-28 shrink-0 flex-col items-center justify-between gap-1.5 border-e px-6 first:ps-2 last:border-e-0",children:[e("span",{className:"text-muted-foreground text-xs",children:r}),e("span",{className:"flex items-center text-sm font-normal",children:p})]})}function b({label:r,count:p,children:u}){return n("section",{className:"mt-8",children:[n("h2",{className:"text-base font-medium",children:[r," ",e("span",{className:"text-muted-foreground font-normal",children:p})]}),e("div",{className:"mt-3 flex flex-col gap-2",children:u})]})}function D({url:r,label:p}){let{openLink:u}=l();if(!/^https?:\/\//i.test(r))return null;return n(f,{variant:"link",className:"text-muted-foreground h-auto p-0 text-xs",title:r,onClick:()=>u(r),children:[p,e(W,{className:"size-3.5"})]})}
|
|
2
|
+
export{ut};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{terminalOf as u,textOf as p}from"@nyssance/codex-acp-v2/client";function
|
|
2
|
-
export{
|
|
1
|
+
import{terminalOf as u,textOf as p}from"@nyssance/codex-acp-v2/client";function wn(n){if(n.kind!=="tool")return!1;let t=n._meta?.codex;return typeof t==="object"&&t!==null&&"commandSource"in t&&t.commandSource==="userShell"}function ii(n,t,r){if(n.kind!=="tool"){let o=p(n.content),d=/^\s*\*\*([^\n]*?)\*\*\s*$/.exec(o);return{type:"thinking",id:n.id,thinking:d?d[1]:o,isComplete:!r}}if(n.name==="subagent"){let o=s(n.rawInput,n.id);return{type:"subagent",id:n.id,name:g(o.agentPath,n.id),threadId:f(o.agentThreadId,"agentThreadId",n.id),activity:y(o.activity,n.id),model:l(o.model,"model",n.id),reasoningEffort:l(o.reasoningEffort,"reasoningEffort",n.id),status:n.status??"pending",blocks:[]}}if(n.name==="collab"){let o=s(s(s(n._meta,n.id).codex,n.id).collaboration,n.id);if(typeof o.tool!=="string"||!Array.isArray(o.agents))throw Error(`Collaboration call ${n.id} lacks codex-acp-v2 agent metadata`);return{type:"collab",id:n.id,tool:o.tool,status:n.status??"pending",prompt:l(s(n.rawInput,n.id).prompt,"prompt",n.id),agents:o.agents}}let a=typeof n.rawInput==="object"&&n.rawInput!==null&&!Array.isArray(n.rawInput)?{...n.rawInput}:{},i=u(n,t);if(Array.isArray(a.command))a.command=a.command.map(String).join(" ");if(n.toolKind==="execute"&&n.name!=="mcp"&&n.name!=="dynamic_tool"&&typeof a.command!=="string"){let o=i?.command??n.title;if(o!==null)a.command=o}let e=n.rawOutput;if(typeof e==="object"&&e!==null&&"output"in e&&typeof e.output==="string")e=e.output;if(i!==null&&i.output.length>0)e=i.output;let c=i?.exitStatus?.exitCode;return{type:"tool_use",id:n.id,name:n.name??"",title:n.title??n.name??"",kind:n.toolKind??"other",status:n.status??"pending",content:n.content,locations:n.locations,rawInput:a,rawOutput:e,...wn(n)?{userShell:!0}:{},...typeof c==="number"?{exitCode:c}:{}}}function s(n,t){if(typeof n!=="object"||n===null||Array.isArray(n))throw Error(`Tool call ${t} is missing an object codex-acp-v2 always sends`);return n}function l(n,t,r){if(n===null||typeof n==="string")return n;throw Error(`Tool call ${r} has a non-string ${t}`)}function g(n,t){let r=typeof n==="string"?n.split("/").findLast(Boolean):void 0;if(r===void 0)throw Error(`Subagent ${t} has no agent path`);return r}function f(n,t,r){if(typeof n==="string")return n;throw Error(`Tool call ${r} has no ${t}`)}function y(n,t){if(n==="started"||n==="interacted"||n==="interrupted"||n==="completed")return n;throw Error(`Subagent ${t} has an unknown activity ${String(n)}`)}
|
|
2
|
+
export{wn,ii};
|