@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
package/LICENSE
CHANGED
|
@@ -44,7 +44,7 @@ You must not misrepresent authorship or imply ALwith endorses your application.
|
|
|
44
44
|
4. Accounts and services
|
|
45
45
|
This license does not supply platform credentials, paid entitlements, hosting,
|
|
46
46
|
support, updates or a service-availability guarantee. Use of ALwith accounts,
|
|
47
|
-
|
|
47
|
+
Vibemon, relay or other hosted services is separately subject to the applicable
|
|
48
48
|
service terms and authorization. Do not bypass service access controls or use
|
|
49
49
|
another person's credentials without authorization. Choosing or replacing an
|
|
50
50
|
authentication provider for your own application is not prohibited by this
|
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ the key for its own editor. Strings are
|
|
|
156
156
|
|
|
157
157
|
`search-source` shares Unicode-aware literal matching and original UTF-16 offsets with DOM matching. This does **not** make raw tool fields, Markdown source or folded content equivalent to rendered text: the current per-turn occurrence index still requires a complete source-to-rendered mapping. Do not treat the current search counter as proof that every indexed match can be revealed. Automatic expansion of folded matches has not been agreed.
|
|
158
158
|
|
|
159
|
-
`permission-view` supplies Desktop's approval list, sorting, keyboard selection and optional input-anchored portal. Without an anchor it renders inline. Applications supply request identity, details and the response callback; Desktop replay/
|
|
159
|
+
`permission-view` supplies Desktop's approval list, sorting, keyboard selection and optional input-anchored portal. Without an anchor it renders inline. Applications supply request identity, details and the response callback; Desktop replay/vibemon actions and U's ACP pending-request routing remain in their hosts. Inline callers can select `autoFocus="if-idle"` to avoid taking focus from a draft.
|
|
160
160
|
|
|
161
161
|
`choice-elicitation-form` preserves Desktop's choice questions, Other inputs, previews and notes. `schema-elicitation-form` handles standard schema fields, including text, numbers and booleans. Applications answer the original pending request; the package does not send protocol messages. The latter reuses the API's property guards; local unpublished development resolves `@alwith/api` through the workspace root dependency and override.
|
|
162
162
|
|
|
@@ -335,30 +335,34 @@ should mount one `SessionActions` for the root conversation. Requires
|
|
|
335
335
|
|
|
336
336
|
`ProviderSection` from `@alwith/module-chat/settings` is U's models section: the Codex box (`CodexAccountCard`), the ALwith account models when the host has an ALwith account, then provider pills for the built-in providers (DeepSeek, OpenRouter, Qwen with its regions, xAI) and custom OpenAI Responses providers, each with API key, optional API base URL, connection test and removal. A saved key puts that provider's models into every chat's model picker; nothing in `~/.codex` changes.
|
|
337
337
|
|
|
338
|
-
**Native plugin.** The keys never reach the webview. They live in the package's Tauri 3 plugin
|
|
338
|
+
**Native plugin.** The keys never reach the webview. They live in the package's Tauri 3 plugin `alwith-chat` on crates.io (runtime name `alwith-chat`):
|
|
339
339
|
|
|
340
340
|
```toml
|
|
341
|
-
|
|
341
|
+
alwith-chat = "0.6"
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
|
|
344
|
+
Register the plugin with the application's Runtime access. An application without ALwith account integration uses `init`; it loads no native library and the account commands answer `unavailable`:
|
|
345
345
|
|
|
346
346
|
```rust
|
|
347
|
-
.plugin(
|
|
347
|
+
.plugin(alwith_chat::init(alwith_chat::runtime_fn(|app| {
|
|
348
348
|
app.state::<RuntimeState>().current()
|
|
349
349
|
})))
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
|
|
352
|
+
An application with ALwith account integration uses `init_with_account(runtime, development_directory)`. The ALwith account gateway (identity generations, revocation, the account catalog and request admission) is the private native `chat` library shipped in this package under `native/<os>-<cpu>/`; the application stages it with its other module libraries, and the plugin loads it from the bundled `native` resources (debug builds: `development_directory`). Revocation is ordered before every later request: feed each webview Runtime request through `check(app, method, params)` before sending it (run requests where `requires_admission` is true under the admission lock), pass lifecycle and model-selection results to `observe(app, agent, session, result, Some(generation))` when `confirms_model` is true, report realtime requests with `observe_realtime`, and feed every Runtime event to `observe_event`.
|
|
353
353
|
|
|
354
|
-
|
|
354
|
+
Local session history and usage analytics are part of the same private library. Register the plugin with `init_with_library(runtime, development_directory)` (or `init_with_account`) and grant `alwith-chat:sessions` to the window that shows them: `sessions_list` (by source; Claude and ALwith through a metadata cache in the application cache directory's `session-index`, Codex directly), `sessions_count_types` and `sessions_persona_evidence`. The same set holds the usage commands of the usage-analytics extension, which keep the names and shapes it always called: `get_model_pricing` (the bundled models.dev table, per million tokens), `scan_session_aggregates({ range })` and `word_cloud({ range, sources })` (range `today`, `week`, `days7`, `days30`, `month`, or everything for `all`), `daily_token_usage({ startDate, endDate })` (`YYYY-MM-DD`, `endDate` null for one day, at most 31 days), and `export_week_sessions()` and `download_usage_json({ fileName, data })`, which ask where to save with the official dialog plugin (register `tauri_plugin_dialog::init()`) and return `null` when the user cancels. Their errors are strings. File paths are accepted only below the session directories of the home directory. With `init` they answer `unavailable`. Rust hosts without a webview (Runtime services, alwith-dev) use the same operations through `alwith_chat::sessions` after `alwith_native_client::configure_host` or `ALWITH_NATIVE_DIRECTORY`, including `SessionIndex`, `scan_all`, `aggregate_one`, `daily_token_usage`, `export_week`, `extract_session_meta` and line access to large session files (`sessions::lines`).
|
|
355
|
+
|
|
356
|
+
`runtime_fn` gives the plugin its own admission lock. An application that orders session requests itself (U) implements `RuntimeAccess` with `current` and its admission lock instead. Grant `alwith-chat:default` to the windows that show the section (read, save, save custom, remove custom, test, apply, and `read_skill_document`); grant `alwith-chat:managed-providers` only to the main window of an application with ALwith account integration. The plugin keeps `runtime-providers.json` in the application data directory (U's file and format, private 0600, atomic replacement) and emits `providers:changed` with the public snapshot. Typed bindings of every command and both events are `@alwith/module-chat/commands`; errors are `{ code, message }` (`pending` while affected sessions are busy).
|
|
357
|
+
|
|
358
|
+
**Model catalogs.** `provider-catalog.json` and the bundled Codex model catalogs are compiled into the crate from its `assets/` (published to npm as `assets/` too); the plugin writes the catalogs to `model-catalogs/` in the application data directory when it loads and points each provider at its file. Applications stage nothing. A Codex bootstrap that merges them before Codex starts (U's `CODEX_ACP_MODEL_CATALOGS`) gets the paths from `bundled_model_catalogs(app)`.
|
|
355
359
|
|
|
356
360
|
**Applying to Codex.** After every Runtime (re)start the host calls `Providers::reset` and `schedule_apply(app)`; in the webview, `applyProvidersWhenIdle(port)` after each connect, before restoring model choices. Changes that affect busy sessions stay `pending` and are applied when the host reports a session idle (`schedule_apply`); the plugin repeats nothing on its own, and a failed application is shown as `failed` with an explicit Retry. Auxiliary agents (U's Gamepad AI) are configured with `prepare_agent(app, agent_id)` after the host validated the caller.
|
|
357
361
|
|
|
358
|
-
**Webview.**
|
|
362
|
+
**Webview.** `createProvidersPort()` and `createManagedProvidersPort()` are built on the generated commands and events (`@alwith/module-chat/commands`, peer `@tauri-apps/api`); `readSkillDocument(path, roots)` likewise. `useProviders(port, onError)` is the newest snapshot; `resolveSessionModel`, `providerGroups`, `gatewayModelId` and `isAccountModel` give the model picker its groups and the default selection.
|
|
359
363
|
|
|
360
364
|
```tsx
|
|
361
|
-
const port = createProvidersPort(
|
|
365
|
+
const port = createProvidersPort()
|
|
362
366
|
<ConversationProvider host={host} client={client}>
|
|
363
367
|
<ProviderSection port={port} bridge={bridge} group={SettingGroup} label={SettingLabel} />
|
|
364
368
|
</ConversationProvider>
|
|
@@ -366,13 +370,13 @@ const port = createProvidersPort({ invoke, listen })
|
|
|
366
370
|
|
|
367
371
|
`group` and `label` are the desktop shell's `SettingGroup` / `SettingLabel`. Strings are the chat namespace's `provider.*`; failures go to `host.reportError` and confirmations to `host.notify`. Include the package in Tailwind's `@source` scan.
|
|
368
372
|
|
|
369
|
-
**What the host owns.** The ALwith platform account: U passes `refreshAccountProviders` (binds the signed-in account with `createManagedProvidersPort(
|
|
373
|
+
**What the host owns.** The ALwith platform account: U passes `refreshAccountProviders` (binds the signed-in account with `createManagedProvidersPort().bind`, then `refresh(generation, accessToken)` with a fresh token, and `clear()` on sign-out) and `openTopUp` (the account's top-up page); `onRevoked` reports sessions whose account model went away. Without `refreshAccountProviders` the account box is not rendered and the account commands are never called. `ModelAliasSettings({ providers, store })` edits display names of account models in the host's settings store (`ModelAliasStore`).
|
|
370
374
|
|
|
371
375
|
**Catalog data.** The provider catalog and the Codex model catalogs are public package files: `@alwith/module-chat/assets/provider-catalog.json` and `@alwith/module-chat/assets/catalogs/<provider>/models.json` (scripts and tests read them from there; `catalogs/custom/sources.json` records where the custom catalog's capabilities were checked). In the webview, `customModelEffort(model)` gives a custom provider model's reasoning default from the bundled catalog, and `presentModel(apiId)` / `MODEL_PRESENTATION` the display names of account and provider models the catalogs name differently.
|
|
372
376
|
|
|
373
377
|
### Skill documents
|
|
374
378
|
|
|
375
|
-
`readSkillDocument(
|
|
379
|
+
`readSkillDocument(path, roots?)` from `@alwith/module-chat/plugins` reads a skill's SKILL.md through the same plugin, for `PluginsHost.readFile`. The plugin reads only UTF-8 files whose canonical path lies under `$CODEX_HOME` (or `~/.codex`), `~/.agents`, or the `.codex` / `.agents` directory of a project directory passed in `roots`; links that leave those directories are refused.
|
|
376
380
|
|
|
377
381
|
## Application client and adapter staging
|
|
378
382
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"models": [
|
|
7
7
|
{
|
|
8
8
|
"id": "deepseek-V4.1-flash",
|
|
9
|
-
"label": "
|
|
9
|
+
"label": "DS Flash"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"catalog": "alwith/models.json",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"models": [
|
|
23
23
|
{
|
|
24
24
|
"id": "deepseek-flash",
|
|
25
|
-
"label": "
|
|
25
|
+
"label": "Flash",
|
|
26
26
|
"description": "Latest frontier agentic coding model with image input."
|
|
27
27
|
}
|
|
28
28
|
],
|
package/dist/activity-host.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Gi,d,P}from"./chunk-50brsmjd.js";export{Gi as ActivityHostProvider,P as ActivityMarkdown,d as useActivityHost};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Un,en,Ie,gt}from"../chunk-yvkt9ewq.js";import{autoUpdate as j}from"@floating-ui/dom";import{cn as A}from"cn";import{useCallback as T,useEffect as I,useLayoutEffect as L,useMemo as q,useRef as G,useState as C}from"react";import{createPortal as V}from"react-dom";import{Badge as W}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as B}from"@nyssance/shadcn/vega/components/ui/button";import{Checkbox as H}from"@nyssance/shadcn/vega/components/ui/checkbox";import{Input as M}from"@nyssance/shadcn/vega/components/ui/input";import{Label as O}from"@nyssance/shadcn/vega/components/ui/label";import{RadioGroup as K,RadioGroupItem as _}from"@nyssance/shadcn/vega/components/ui/radio-group";import{Textarea as X}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as s,jsxs as d}from"react/jsx-runtime";var l="__other__";function de({current:n,total:U,anchorRef:x,t:u,onAccept:P,onDecline:Q}){let p=q(()=>n?Un(n.requestedSchema):[],[n]),[b,g]=C({}),S=G(null);I(()=>{if(n?.elicitationId===void 0)return;let e={};for(let{key:r,property:i}of p)if(!Ie(i)){let c=gt(i)[0];if(c)e[r]={selected:c.value}}g(e)},[n?.elicitationId,p]),I(()=>{if(n?.elicitationId!==void 0&&S.current&&document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA")S.current.focus()},[n?.elicitationId]);let[w,R]=C(null),[k,z]=C(null),N=T(()=>{let e=x.current;if(!e)return;let r=e.getBoundingClientRect();if(r.width===0){let i=Math.min(640,window.innerWidth*0.9);R({left:(window.innerWidth-i)/2,width:i,bottom:24});return}R({left:r.left,width:r.width,bottom:window.innerHeight-r.bottom+20})},[x]);L(()=>{if(!n)return;let e=0,r=()=>{if(x.current){N();return}e=requestAnimationFrame(r)};return r(),()=>cancelAnimationFrame(e)},[n,N,x]),L(()=>{let e=x.current;if(!n||!e||!k)return;return j(e,k,N,{animationFrame:!0})},[n,k,x,N]);let y=q(()=>{if(!n)return!1;for(let{key:e,property:r}of p){let i=b[e];if(!i)return!1;if(Ie(r)){if(!i.selectedSet||i.selectedSet.size===0)return!1;if(i.selectedSet.has(l)&&!i.otherText?.trim())return!1}else{if(!i.selected)return!1;if(i.selected===l&&!i.otherText?.trim())return!1}}return!0},[n,p,b]),D=T(async()=>{if(!n)return;if(!y)return;let e={},r={};for(let{key:i,property:c}of p){let a=b[i];if(!a)continue;let f;if(Ie(c))e[i]=[...a.selectedSet??[]].map((m)=>m===l?(a.otherText??"").trim():m).filter(Boolean);else{let m=a.selected??"";if(e[i]=m===l?(a.otherText??"").trim():m,m!==l)f=gt(c).find((t)=>t.value===m)?.preview}let v=a.notes?.trim();if(f||v)r[i]={...f&&{preview:f},...v&&{notes:v}}}await P(n.elicitationId,e,r)},[n,p,b,y,P]),F=T(async()=>{if(n)await Q(n.elicitationId)},[n,Q]);if(!n||!w)return null;return V(d("div",{"data-overlay":"ask-user-question",tabIndex:0,onKeyDown:(e)=>{if(e.key==="Escape")e.preventDefault(),F()},className:"bg-card border-border fixed z-50 flex flex-col overflow-hidden rounded-lg border shadow-lg outline-none",style:{left:w.left,width:w.width,bottom:w.bottom,maxHeight:"70vh"},ref:(e)=>{S.current=e,z(e)},children:[d("div",{className:"border-border flex shrink-0 items-center justify-between gap-2 border-b px-3 py-2",children:[s("div",{className:"text-foreground text-sm font-medium",children:u("askUserQuestion.title")}),U>1&&s("span",{className:"text-muted-foreground shrink-0 text-xs",children:`1 / ${U}`})]}),s("div",{className:"min-h-0 flex-1 overflow-y-auto",children:s("div",{className:"space-y-4 px-3 py-3",children:p.map(({key:e,property:r},i)=>{let c=b[e],a=c?.selected,f=c?.selectedSet??new Set,v=gt(r),m=Ie(r);return d("div",{className:"space-y-2",children:[d("div",{className:"flex items-center gap-2",children:[s(W,{variant:"secondary",className:"font-mono text-[10px] tracking-wide uppercase",children:en(r).title??e}),s("div",{className:"text-foreground text-sm font-medium",children:en(r).description})]}),m?d("div",{className:"space-y-1.5 ps-1",children:[v.map((t)=>d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(t.value),onCheckedChange:(o)=>{g((h)=>{let E=new Set(h[e]?.selectedSet??new Set);if(o)E.add(t.value);else E.delete(t.value);return{...h,[e]:{...h[e],selectedSet:E}}})}}),d("div",{className:"min-w-0 flex-1",children:[s("div",{className:"text-foreground text-sm",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs",children:t.description})]})]},t.value)),d("label",{className:"hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",children:[s(H,{checked:f.has(l),onCheckedChange:(t)=>{g((o)=>{let h=new Set(o[e]?.selectedSet??new Set);if(t)h.add(l);else h.delete(l);return{...o,[e]:{...o[e],selectedSet:h}}})}}),s("div",{className:"text-foreground min-w-0 flex-1 text-sm",children:u("askUserQuestion.other")})]}),f.has(l)&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}):d(K,{value:a??"",onValueChange:(t)=>g((o)=>({...o,[e]:{...o[e],selected:t}})),className:"space-y-1.5 ps-1",children:[v.map((t)=>{let o=`${i}:${t.value}`;return d("div",{className:A("hover:bg-muted/40 flex cursor-pointer items-center gap-2 rounded-sm px-1.5 py-1",a===t.value&&"bg-muted/60"),children:[s(_,{value:t.value,id:o}),d(O,{htmlFor:o,className:"min-w-0 flex-1 cursor-pointer",children:[s("div",{className:"text-foreground text-sm font-normal",children:t.label}),t.description&&s("div",{className:"text-muted-foreground text-xs font-normal",children:t.description})]})]},t.value)}),d("div",{className:A("hover:bg-muted/40 flex items-center gap-2 rounded-sm px-1.5 py-1",a===l&&"bg-muted/60"),children:[s(_,{value:l,id:`${i}:other`,className:"mt-0.5"}),s(O,{htmlFor:`${i}:other`,className:"text-foreground min-w-0 flex-1 cursor-pointer text-sm font-normal",children:u("askUserQuestion.other")})]}),a===l&&s("div",{className:"ps-7",children:s(M,{placeholder:u("askUserQuestion.otherPlaceholder"),value:c?.otherText??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],otherText:t.target.value}}))})})]}),!m&&a&&a!==l&&(()=>{let t=v.find((o)=>o.value===a)?.preview;if(!t)return null;return s("pre",{className:"bg-muted/50 text-muted-foreground ms-1 mt-1 overflow-auto rounded-sm px-2 py-1.5 font-mono text-[11px] whitespace-pre-wrap",children:t})})(),v.some((t)=>t.preview)&&s(X,{placeholder:u("askUserQuestion.notesPlaceholder"),value:c?.notes??"",onChange:(t)=>g((o)=>({...o,[e]:{...o[e],notes:t.target.value}})),rows:1,className:"min-h-0 resize-none text-xs"})]},e)})})}),d("div",{className:"border-border bg-card flex shrink-0 items-center justify-end gap-2 border-t px-3 py-2",children:[s(B,{variant:"ghost",size:"sm",onClick:()=>void F(),children:u("askUserQuestion.cancel")}),s(B,{size:"sm",disabled:!y,onClick:()=>void D(),children:u("askUserQuestion.submit")})]})]}),document.body)}export{de as ChoiceElicitationForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Un,en,Ie,gt}from"../chunk-yvkt9ewq.js";export{Un as elicitationFields,en as elicitationLabels,gt as elicitationOptions,Ie as isMultiSelect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Lr,Vo,da,ua}from"../chunk-sn5n38j6.js";export{Lr as PERMISSION_KIND_GROUP_ORDER,da as isAllowKind,ua as isAlwaysKind,Vo as sortPermissionOptions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bo}from"../chunk-
|
|
1
|
+
import{Bo}from"../chunk-jsc8qzkj.js";import"../chunk-sn5n38j6.js";export{Bo as PermissionView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jr,Er,$r,Go}from"../chunk-yd68z08r.js";export{Go as SchemaElicitationForm,jr as elicitationFields,Er as initialValues,$r as isAnswered};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{zo}from"../chunk-zrh4de8p.js";export{zo as UrlElicitationCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n}from"./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import{n}from"./chunk-1vmk34zf.js";import{Jt,e,f}from"./chunk-t9djctkk.js";import{Ht}from"./chunk-kyjhngd2.js";import{Qt}from"./chunk-tdys88q3.js";import{Xt}from"./chunk-y7nq2yre.js";import{Rt,Ft}from"./chunk-7491nfcw.js";import{Dt}from"./chunk-vetfnaz1.js";import{LockIcon as H,UnplugIcon as k}from"lucide-react";import{useMemo as O,useRef as S}from"react";import{Alert as C,AlertDescription as N,AlertTitle as h}from"@nyssance/shadcn/vega/components/ui/alert";import{Button as w}from"@nyssance/shadcn/vega/components/ui/button";import{Empty as M,EmptyDescription as P,EmptyHeader as z,EmptyTitle as B}from"@nyssance/shadcn/vega/components/ui/empty";import{jsx as o,jsxs as r}from"react/jsx-runtime";function _r({host:t,client:c,...s}){let m=O(()=>t.openDiff?t:{...t,openDiff:Rt},[t]);return r(Jt,{host:m,client:c,children:[o(I,{...s}),!t.openDiff&&o(Ft,{})]})}function I({session:t,header:c,overlay:s,timeline:m,composer:D,readOnlyActions:g,welcome:E,children:T,rootRef:l,search:A=!0}){let{host:d,client:R}=e(),p=S(null),b=(a)=>{if(p.current=a,typeof l==="function")l(a);else if(l)l.current=a},{t:i}=d,v=n((a)=>a.connection==="ready"),y=n((a)=>a.historyPages[t.id]?.error),u=()=>f(d,R.open(t.id,t.cwd)),x=t.items.length===0&&t.attached&&!t.restoring&&t.state==="idle";return r("div",{"data-chat-drop-zone":!0,ref:b,className:"flex h-full min-h-0 flex-col",children:[c,r("div",{className:"relative flex min-h-0 flex-1 flex-col","data-chat-content":!0,children:[A&&!x&&o(Xt,{sessionId:t.id,rootRef:p}),s,v&&!t.attached&&!t.restoring&&!t.readOnly&&o("div",{className:"mx-auto my-3 w-full max-w-4xl px-4",children:r(C,{children:[o(k,{}),o(h,{children:i("conversation.stopped")}),o(N,{children:o(w,{size:"sm",variant:"outline",onClick:u,children:i("conversation.reconnect")})})]})}),x?E??o(M,{className:"flex-1",children:r(z,{children:[o(B,{className:"text-[28px] font-normal",children:i("conversation.welcomeTitle")}),o(P,{children:i("conversation.welcomeDescription")})]})}):o(Qt,{session:t,timeline:m}),o(Dt,{sessionId:t.id}),t.readOnly?o("div",{className:"mx-auto w-full max-w-3xl shrink-0 px-6 pb-5","data-readonly-composer":!0,children:r(C,{className:"flex items-center justify-between gap-4 rounded-3xl px-5 py-4",children:[r("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[o(H,{"aria-hidden":"true",className:"size-4 shrink-0"}),r("div",{className:"min-w-0 space-y-1",children:[o(h,{children:i("conversation.readOnlyTitle")}),o(N,{children:i("conversation.readOnlyDescription")}),y&&o("p",{role:"alert",className:"text-destructive break-words",children:y})]})]}),r("div",{className:"border-border flex shrink-0 items-center gap-1 border-s ps-3","data-readonly-actions":!0,children:[o(w,{size:"sm",variant:"outline",className:"text-foreground cursor-pointer disabled:cursor-not-allowed",onClick:u,disabled:!v||t.restoring,children:i(t.restoring?"conversation.restoring":"conversation.readOnlyRetry")}),g]})]})}):D??o(Ht,{session:t})]}),T]})}
|
|
2
|
+
export{_r};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{d,_}from"./chunk-6e1bwjtk.js";import{xn}from"./chunk-ehdqspxk.js";import{V}from"./chunk-5yzjwrat.js";import{z}from"./chunk-t2q8cxnh.js";import{Fe,Jo}from"./chunk-5t5y5e8n.js";import{oe}from"./chunk-x2nemdjf.js";import{cn as v}from"cn";import{BotIcon as me,CheckIcon as pe,CopyIcon as ge}from"lucide-react";import{Fragment as fe,useEffect as D,useRef as P,useState as E}from"react";import{jsx as n,jsxs as p,Fragment as F}from"react/jsx-runtime";function H(e,t){let[a,o]=E(()=>({key:e,mounted:t})),i=t||a.key===e&&a.mounted;if(a.key!==e||a.mounted!==i)o({key:e,mounted:i});return i}var G=new WeakMap,q=1;function L(e){if(e.type==="tool_use"||e.type==="subagent"||e.type==="collab")return`${e.type}:${e.id}`;if(e.type==="thinking"&&e.id!==void 0)return`thinking:${e.id}`;let t=G.get(e);if(t!==void 0)return`${e.type}:${t}`;let a=q;return q+=1,G.set(e,a),`${e.type}:${a}`}function N(e){switch(e){case"pending":case"in_progress":return!0;case"completed":case"failed":case"cancelled":case"interrupted":return!1;default:throw Error(`Unknown ACP tool status: ${e}`)}}function U(e,t){let a=Math.max(0,Math.round(e/1000)),o=Math.floor(a/3600),i=Math.floor(a%3600/60),r=a%60;if(r>=60)i+=Math.floor(r/60),r%=60;if(i>=60)o+=Math.floor(i/60),i%=60;let u=Intl.DurationFormat;if(u)try{return new u(t,{style:"narrow"}).format({hours:o,minutes:i,seconds:o>0?0:r})}catch{}if(o>0)return i>0?`${o}h ${i}m`:`${o}h`;if(i>0)return r>0?`${i}m ${r}s`:`${i}m`;return`${r}s`}var xe="M7.52925 3.7793C7.75652 3.55203 8.10803 3.52383 8.36616 3.69434L8.47065 3.7793L14.2207 9.5293C14.4804 9.789 14.4804 10.211 14.2207 10.4707L8.47065 16.2207C8.21095 16.4804 7.78895 16.4804 7.52925 16.2207C7.26955 15.961 7.26955 15.539 7.52925 15.2793L12.8085 10L7.52925 4.7207L7.44429 4.61621C7.27378 4.35808 7.30198 4.00657 7.52925 3.7793Z";function B({expanded:e,className:t}){return n("svg",{className:v("codex-activity-disclosure",e&&"codex-activity-disclosure-expanded",t),viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:xe})})}function Ce(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M16.3965 5.01128C16.3963 4.93399 16.3489 4.87691 16.293 4.85406L16.2354 4.84332C13.9306 4.91764 12.5622 5.32101 10.665 6.34722V16.3716C11.3851 15.9994 12.0688 15.7115 12.7861 15.5015C13.8286 15.1965 14.9113 15.0633 16.2402 15.0435L16.2979 15.0308C16.353 15.0063 16.3965 14.9483 16.3965 14.8755V5.01128ZM3.54492 14.8765C3.54492 14.9725 3.62159 15.0422 3.70117 15.0435L4.19629 15.0562C5.94062 15.1247 7.26036 15.4201 8.65918 16.0484C8.05544 15.1706 7.14706 14.436 6.17871 14.1109V14.1099C5.56757 13.9045 5.16816 13.3314 5.16797 12.6988V4.98882C4.86679 4.93786 4.60268 4.8999 4.28223 4.87457L3.72754 4.84429C3.62093 4.84079 3.54505 4.92417 3.54492 5.01226V14.8765ZM17.7266 14.8755C17.7266 15.6314 17.1607 16.2751 16.4121 16.3628L16.2598 16.3736C15.0122 16.3922 14.0555 16.5159 13.1602 16.7779C12.2629 17.0404 11.3966 17.4508 10.3369 18.0738C10.129 18.1959 9.87099 18.1958 9.66309 18.0738C7.71455 16.9283 6.31974 16.4689 4.12988 16.3853L3.68164 16.3736C2.85966 16.3614 2.21484 15.6838 2.21484 14.8765V5.01226C2.21497 4.15391 2.93263 3.4871 3.77246 3.51519L4.39844 3.54937C4.67996 3.57191 4.92258 3.60421 5.16797 3.64214V2.51031C5.16797 1.44939 6.29018 0.645615 7.31055 1.15679L7.31152 1.15582C8.78675 1.89511 10.0656 3.33006 10.5352 4.91461C12.3595 3.98907 13.8688 3.58817 16.1924 3.51324L16.3506 3.51714C17.1285 3.5741 17.7264 4.23496 17.7266 5.01128V14.8755ZM6.49805 12.6988C6.49824 12.7723 6.5442 12.8296 6.60254 12.8492L6.96289 12.9859C7.85245 13.3586 8.68125 13.9846 9.33496 14.7496V5.5816C9.08794 4.37762 8.13648 3.1566 6.95801 2.47613L6.71582 2.34527C6.67779 2.32617 6.6337 2.32502 6.58301 2.35796C6.52946 2.39279 6.49805 2.44863 6.49805 2.51031V12.6988Z"})})}function ye(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M7.33057 1.98535C10.2484 1.98535 12.6136 4.3508 12.6138 7.26855C12.6138 8.58031 12.1346 9.77942 11.3433 10.7031L13.9897 13.3496C14.1655 13.5253 14.1655 13.8106 13.9897 13.9863C13.814 14.1621 13.5288 14.1621 13.353 13.9863L10.7017 11.335C9.78678 12.0942 8.61243 12.5518 7.33057 12.5518C4.41281 12.5516 2.04736 10.1864 2.04736 7.26855C2.04754 4.35091 4.41292 1.98553 7.33057 1.98535ZM7.33057 2.88574C4.90998 2.88592 2.94793 4.84796 2.94775 7.26855C2.94775 9.68929 4.90987 11.6522 7.33057 11.6523C9.75141 11.6523 11.7144 9.6894 11.7144 7.26855C11.7142 4.84786 9.75131 2.88574 7.33057 2.88574Z"})})}function ve(){return p("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:[n("path",{d:"M6.19629 7.86231C6.42357 7.63534 6.7752 7.60692 7.0332 7.77734L7.1377 7.86231L8.80371 9.5293C9.06329 9.78889 9.06307 10.21 8.80371 10.4697L7.1377 12.1367C6.878 12.3964 6.45599 12.3964 6.19629 12.1367C5.93686 11.8771 5.93697 11.456 6.19629 11.1963L7.39258 9.99902L6.19629 8.80371L6.11133 8.69922C5.94087 8.4411 5.96904 8.08955 6.19629 7.86231Z"}),n("path",{d:"M13.4668 11.0156C13.7699 11.0776 13.998 11.3456 13.998 11.667C13.9979 11.9883 13.7698 12.2564 13.4668 12.3184L13.333 12.332H10.833C10.466 12.3319 10.1682 12.034 10.168 11.667C10.168 11.2998 10.4659 11.0021 10.833 11.002H13.333L13.4668 11.0156Z"}),n("path",{d:"M12.6602 2.66504C13.3492 2.66504 13.9062 2.66439 14.3564 2.70117C14.8142 2.73859 15.2201 2.81796 15.5967 3.00977C16.1922 3.31321 16.677 3.79805 16.9805 4.39356C17.1722 4.77014 17.2517 5.17604 17.2891 5.63379C17.3258 6.08402 17.3252 6.64102 17.3252 7.33008V12.6602C17.3252 13.3492 17.3258 13.9062 17.2891 14.3564C17.2516 14.8142 17.1723 15.2201 16.9805 15.5967C16.677 16.1922 16.1922 16.677 15.5967 16.9805C15.2201 17.1723 14.8142 17.2516 14.3564 17.2891C13.9062 17.3258 13.3492 17.3252 12.6602 17.3252H7.33008C6.64102 17.3252 6.08402 17.3258 5.63379 17.2891C5.17604 17.2517 4.77014 17.1722 4.39356 16.9805C3.79805 16.677 3.31321 16.1922 3.00977 15.5967C2.81796 15.2201 2.73859 14.8142 2.70117 14.3564C2.66439 13.9062 2.66504 13.3492 2.66504 12.6602V7.33008C2.66504 6.64101 2.66439 6.08402 2.70117 5.63379C2.73858 5.17601 2.81797 4.77016 3.00977 4.39356C3.31321 3.79802 3.79802 3.31321 4.39356 3.00977C4.77016 2.81797 5.17601 2.73858 5.63379 2.70117C6.08402 2.66439 6.64101 2.66504 7.33008 2.66504H12.6602ZM7.33008 3.99512C6.61907 3.99512 6.1257 3.99601 5.74219 4.02734C5.3665 4.05804 5.15508 4.11481 4.99707 4.19531C4.65183 4.37124 4.37124 4.65183 4.19531 4.99707C4.11481 5.15508 4.05805 5.3665 4.02734 5.74219C3.99601 6.1257 3.99512 6.61908 3.99512 7.33008V12.6602C3.99512 13.3711 3.99601 13.8646 4.02734 14.248C4.05805 14.6237 4.11481 14.8352 4.19531 14.9932C4.37124 15.3384 4.65186 15.619 4.99707 15.7949C5.15507 15.8754 5.36654 15.9322 5.74219 15.9629C6.1257 15.9942 6.61908 15.9951 7.33008 15.9951H12.6602C13.3711 15.9951 13.8646 15.9942 14.248 15.9629C14.6237 15.9322 14.8352 15.8754 14.9932 15.7949C15.3384 15.619 15.619 15.3384 15.7949 14.9932C15.8754 14.8352 15.9322 14.6237 15.9629 14.248C15.9942 13.8646 15.9951 13.3711 15.9951 12.6602V7.33008C15.9951 6.61908 15.9942 6.1257 15.9629 5.74219C15.9322 5.36654 15.8754 5.15507 15.7949 4.99707C15.619 4.65186 15.3384 4.37124 14.9932 4.19531C14.8352 4.11481 14.6237 4.05805 14.248 4.02734C13.8646 3.99601 13.3711 3.99512 12.6602 3.99512H7.33008Z"})]})}function he(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M11.3312 4.20472C12.7488 2.92391 14.9377 2.96644 16.3039 4.33265L16.4318 4.46742C17.6713 5.8393 17.6713 7.93343 16.4318 9.30531L16.3039 9.44007L10.0119 15.7311C9.68839 16.0546 9.45384 16.2917 9.22185 16.4821L8.98748 16.6588C8.78233 16.799 8.56429 16.9196 8.33709 17.0192L8.10759 17.1119C7.92582 17.1785 7.73843 17.2266 7.52166 17.2711L6.75701 17.4069L4.36345 17.8053C4.22059 17.8291 4.06914 17.8552 3.9406 17.8649C3.84183 17.8723 3.70833 17.875 3.56267 17.8395L3.41423 17.7907C3.19121 17.695 3.00747 17.5271 2.89177 17.316L2.84588 17.2223C2.75958 17.0209 2.76174 16.8276 2.77166 16.6959C2.78136 16.5674 2.80742 16.4159 2.83123 16.2731L3.22966 13.8795L3.36443 13.1149C3.40899 12.898 3.45795 12.7108 3.52459 12.5289L3.61736 12.2985C3.71691 12.0715 3.83772 11.854 3.97771 11.6491L4.15349 11.4147C4.34392 11.1825 4.58171 10.9484 4.90545 10.6246L11.1965 4.33265L11.3312 4.20472ZM5.84588 11.5651C5.49671 11.9142 5.31258 12.0998 5.1867 12.2526L5.07537 12.3991C4.98194 12.5358 4.90157 12.6812 4.83513 12.8327L4.77361 12.9869C4.73328 13.0971 4.70248 13.2125 4.66814 13.3815L4.54119 14.0983L4.14275 16.4918L4.14177 16.4938H4.1447L6.53826 16.0944L7.25505 15.9684C7.42406 15.9341 7.53946 15.9033 7.64959 15.8629L7.80291 15.8014C7.95461 15.7349 8.09953 15.6538 8.2365 15.5602L8.38396 15.4498C8.53674 15.3239 8.72231 15.1398 9.07146 14.7907L14.0588 9.80238L10.8332 6.57679L5.84588 11.5651ZM15.3635 5.27308C14.5281 4.43776 13.2058 4.38573 12.3097 5.11683L12.1369 5.27308L11.7736 5.63636L15.0002 8.86195L15.3635 8.49964L15.5197 8.32581C16.2015 7.48961 16.2015 6.28311 15.5197 5.44691L15.3635 5.27308Z"})})}function K(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M16.8347 7.91699C16.8347 7.76279 16.8266 7.61021 16.8123 7.45996L15.4705 8.80371C14.2903 9.98388 12.3762 9.98388 11.1961 8.80371C10.016 7.62352 10.0159 5.70942 11.1961 4.5293L12.5378 3.18652C12.3885 3.17238 12.237 3.16505 12.0837 3.16504C9.45947 3.16504 7.33179 5.29272 7.33179 7.91699C7.33184 8.56608 7.46162 9.18329 7.69605 9.74512C7.79981 9.9939 7.74311 10.2811 7.5525 10.4717L3.59547 14.4287C3.0498 14.9744 3.04991 15.8586 3.59547 16.4043L3.70191 16.501C4.25076 16.9483 5.05957 16.9158 5.57105 16.4043L9.52906 12.4473L9.60426 12.3828C9.79018 12.2455 10.0369 12.2131 10.2546 12.3037C10.8166 12.5382 11.4345 12.668 12.0837 12.668C14.7078 12.6678 16.8345 10.541 16.8347 7.91699ZM18.1648 7.91699C18.1646 11.2755 15.4423 13.9979 12.0837 13.998C11.4151 13.998 10.7708 13.8886 10.1677 13.6885L6.51246 17.3457C5.51389 18.3443 3.93332 18.406 2.86207 17.5322L2.65504 17.3457C1.58992 16.2806 1.58992 14.5534 2.65504 13.4883L6.31031 9.83203C6.1104 9.22921 6.00175 8.58526 6.00172 7.91699C6.00172 4.55818 8.72494 1.83496 12.0837 1.83496C12.7838 1.835 13.458 1.95316 14.0857 2.17188L14.1638 2.20508C14.3404 2.29325 14.4697 2.45713 14.5144 2.65234C14.5653 2.87533 14.4984 3.10876 14.3367 3.27051L12.1375 5.4707C11.4767 6.13148 11.4767 7.20251 12.1375 7.86328C12.7983 8.52373 13.8694 8.52395 14.53 7.86328L16.7293 5.66309L16.7937 5.60742C16.9499 5.48687 17.1532 5.44067 17.3484 5.48535C17.5714 5.53648 17.7526 5.69898 17.8279 5.91504C18.0466 6.54272 18.1648 7.21689 18.1648 7.91699Z"})})}function ee({block:e}){if(e.type!=="tool_use")return null;if(O(e))return n(K,{});let t=V(e).category;if(t==="read")return n(Ce,{});if(t==="search"||t==="fetch")return n(ye,{});if(t==="execute")return n(ve,{});if(t==="edit")return n(he,{});return n(K,{})}function A(e,t){let a=e.rawInput[t];return typeof a==="string"&&a.length>0?a:void 0}function we(e){return V(e).target}function W(e){return e.name==="mcp"||e.name.startsWith("mcp__")||e.name.startsWith("mcp_")}function O(e){return W(e)||e.name==="dynamic_tool"}function te(e,t){let{category:a}=V(e),o=we(e),i=N(e.status);if(O(e))return{leading:e.title};if(a==="execute"){let r=A(e,"command")?.split(`
|
|
1
|
+
import{d,P}from"./chunk-50brsmjd.js";import{Cn}from"./chunk-m0q3bf05.js";import{j}from"./chunk-9vxev5r7.js";import{V}from"./chunk-2emf349g.js";import{De,ti}from"./chunk-q005jp78.js";import{ie}from"./chunk-76a04a6j.js";import{cn as v}from"cn";import{BotIcon as me,CheckIcon as pe,CopyIcon as ge}from"lucide-react";import{Fragment as fe,useEffect as F,useRef as D,useState as E}from"react";import{jsx as n,jsxs as p,Fragment as R}from"react/jsx-runtime";function H(e,t){let[a,o]=E(()=>({key:e,mounted:t})),i=t||a.key===e&&a.mounted;if(a.key!==e||a.mounted!==i)o({key:e,mounted:i});return i}var q=new WeakMap,z=1;function L(e){if(e.type==="tool_use"||e.type==="subagent"||e.type==="collab")return`${e.type}:${e.id}`;if(e.type==="thinking"&&e.id!==void 0)return`thinking:${e.id}`;let t=q.get(e);if(t!==void 0)return`${e.type}:${t}`;let a=z;return z+=1,q.set(e,a),`${e.type}:${a}`}function N(e){switch(e){case"pending":case"in_progress":return!0;case"completed":case"failed":case"cancelled":case"interrupted":return!1;default:throw Error(`Unknown ACP tool status: ${e}`)}}function U(e,t){let a=Math.max(0,Math.round(e/1000)),o=Math.floor(a/3600),i=Math.floor(a%3600/60),r=a%60;if(r>=60)i+=Math.floor(r/60),r%=60;if(i>=60)o+=Math.floor(i/60),i%=60;let u=Intl.DurationFormat;if(u)try{return new u(t,{style:"narrow"}).format({hours:o,minutes:i,seconds:o>0?0:r})}catch{}if(o>0)return i>0?`${o}h ${i}m`:`${o}h`;if(i>0)return r>0?`${i}m ${r}s`:`${i}m`;return`${r}s`}var xe="M7.52925 3.7793C7.75652 3.55203 8.10803 3.52383 8.36616 3.69434L8.47065 3.7793L14.2207 9.5293C14.4804 9.789 14.4804 10.211 14.2207 10.4707L8.47065 16.2207C8.21095 16.4804 7.78895 16.4804 7.52925 16.2207C7.26955 15.961 7.26955 15.539 7.52925 15.2793L12.8085 10L7.52925 4.7207L7.44429 4.61621C7.27378 4.35808 7.30198 4.00657 7.52925 3.7793Z";function B({expanded:e,className:t}){return n("svg",{className:v("codex-activity-disclosure",e&&"codex-activity-disclosure-expanded",t),viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:xe})})}function Ce(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M16.3965 5.01128C16.3963 4.93399 16.3489 4.87691 16.293 4.85406L16.2354 4.84332C13.9306 4.91764 12.5622 5.32101 10.665 6.34722V16.3716C11.3851 15.9994 12.0688 15.7115 12.7861 15.5015C13.8286 15.1965 14.9113 15.0633 16.2402 15.0435L16.2979 15.0308C16.353 15.0063 16.3965 14.9483 16.3965 14.8755V5.01128ZM3.54492 14.8765C3.54492 14.9725 3.62159 15.0422 3.70117 15.0435L4.19629 15.0562C5.94062 15.1247 7.26036 15.4201 8.65918 16.0484C8.05544 15.1706 7.14706 14.436 6.17871 14.1109V14.1099C5.56757 13.9045 5.16816 13.3314 5.16797 12.6988V4.98882C4.86679 4.93786 4.60268 4.8999 4.28223 4.87457L3.72754 4.84429C3.62093 4.84079 3.54505 4.92417 3.54492 5.01226V14.8765ZM17.7266 14.8755C17.7266 15.6314 17.1607 16.2751 16.4121 16.3628L16.2598 16.3736C15.0122 16.3922 14.0555 16.5159 13.1602 16.7779C12.2629 17.0404 11.3966 17.4508 10.3369 18.0738C10.129 18.1959 9.87099 18.1958 9.66309 18.0738C7.71455 16.9283 6.31974 16.4689 4.12988 16.3853L3.68164 16.3736C2.85966 16.3614 2.21484 15.6838 2.21484 14.8765V5.01226C2.21497 4.15391 2.93263 3.4871 3.77246 3.51519L4.39844 3.54937C4.67996 3.57191 4.92258 3.60421 5.16797 3.64214V2.51031C5.16797 1.44939 6.29018 0.645615 7.31055 1.15679L7.31152 1.15582C8.78675 1.89511 10.0656 3.33006 10.5352 4.91461C12.3595 3.98907 13.8688 3.58817 16.1924 3.51324L16.3506 3.51714C17.1285 3.5741 17.7264 4.23496 17.7266 5.01128V14.8755ZM6.49805 12.6988C6.49824 12.7723 6.5442 12.8296 6.60254 12.8492L6.96289 12.9859C7.85245 13.3586 8.68125 13.9846 9.33496 14.7496V5.5816C9.08794 4.37762 8.13648 3.1566 6.95801 2.47613L6.71582 2.34527C6.67779 2.32617 6.6337 2.32502 6.58301 2.35796C6.52946 2.39279 6.49805 2.44863 6.49805 2.51031V12.6988Z"})})}function ye(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M7.33057 1.98535C10.2484 1.98535 12.6136 4.3508 12.6138 7.26855C12.6138 8.58031 12.1346 9.77942 11.3433 10.7031L13.9897 13.3496C14.1655 13.5253 14.1655 13.8106 13.9897 13.9863C13.814 14.1621 13.5288 14.1621 13.353 13.9863L10.7017 11.335C9.78678 12.0942 8.61243 12.5518 7.33057 12.5518C4.41281 12.5516 2.04736 10.1864 2.04736 7.26855C2.04754 4.35091 4.41292 1.98553 7.33057 1.98535ZM7.33057 2.88574C4.90998 2.88592 2.94793 4.84796 2.94775 7.26855C2.94775 9.68929 4.90987 11.6522 7.33057 11.6523C9.75141 11.6523 11.7144 9.6894 11.7144 7.26855C11.7142 4.84786 9.75131 2.88574 7.33057 2.88574Z"})})}function ve(){return p("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:[n("path",{d:"M6.19629 7.86231C6.42357 7.63534 6.7752 7.60692 7.0332 7.77734L7.1377 7.86231L8.80371 9.5293C9.06329 9.78889 9.06307 10.21 8.80371 10.4697L7.1377 12.1367C6.878 12.3964 6.45599 12.3964 6.19629 12.1367C5.93686 11.8771 5.93697 11.456 6.19629 11.1963L7.39258 9.99902L6.19629 8.80371L6.11133 8.69922C5.94087 8.4411 5.96904 8.08955 6.19629 7.86231Z"}),n("path",{d:"M13.4668 11.0156C13.7699 11.0776 13.998 11.3456 13.998 11.667C13.9979 11.9883 13.7698 12.2564 13.4668 12.3184L13.333 12.332H10.833C10.466 12.3319 10.1682 12.034 10.168 11.667C10.168 11.2998 10.4659 11.0021 10.833 11.002H13.333L13.4668 11.0156Z"}),n("path",{d:"M12.6602 2.66504C13.3492 2.66504 13.9062 2.66439 14.3564 2.70117C14.8142 2.73859 15.2201 2.81796 15.5967 3.00977C16.1922 3.31321 16.677 3.79805 16.9805 4.39356C17.1722 4.77014 17.2517 5.17604 17.2891 5.63379C17.3258 6.08402 17.3252 6.64102 17.3252 7.33008V12.6602C17.3252 13.3492 17.3258 13.9062 17.2891 14.3564C17.2516 14.8142 17.1723 15.2201 16.9805 15.5967C16.677 16.1922 16.1922 16.677 15.5967 16.9805C15.2201 17.1723 14.8142 17.2516 14.3564 17.2891C13.9062 17.3258 13.3492 17.3252 12.6602 17.3252H7.33008C6.64102 17.3252 6.08402 17.3258 5.63379 17.2891C5.17604 17.2517 4.77014 17.1722 4.39356 16.9805C3.79805 16.677 3.31321 16.1922 3.00977 15.5967C2.81796 15.2201 2.73859 14.8142 2.70117 14.3564C2.66439 13.9062 2.66504 13.3492 2.66504 12.6602V7.33008C2.66504 6.64101 2.66439 6.08402 2.70117 5.63379C2.73858 5.17601 2.81797 4.77016 3.00977 4.39356C3.31321 3.79802 3.79802 3.31321 4.39356 3.00977C4.77016 2.81797 5.17601 2.73858 5.63379 2.70117C6.08402 2.66439 6.64101 2.66504 7.33008 2.66504H12.6602ZM7.33008 3.99512C6.61907 3.99512 6.1257 3.99601 5.74219 4.02734C5.3665 4.05804 5.15508 4.11481 4.99707 4.19531C4.65183 4.37124 4.37124 4.65183 4.19531 4.99707C4.11481 5.15508 4.05805 5.3665 4.02734 5.74219C3.99601 6.1257 3.99512 6.61908 3.99512 7.33008V12.6602C3.99512 13.3711 3.99601 13.8646 4.02734 14.248C4.05805 14.6237 4.11481 14.8352 4.19531 14.9932C4.37124 15.3384 4.65186 15.619 4.99707 15.7949C5.15507 15.8754 5.36654 15.9322 5.74219 15.9629C6.1257 15.9942 6.61908 15.9951 7.33008 15.9951H12.6602C13.3711 15.9951 13.8646 15.9942 14.248 15.9629C14.6237 15.9322 14.8352 15.8754 14.9932 15.7949C15.3384 15.619 15.619 15.3384 15.7949 14.9932C15.8754 14.8352 15.9322 14.6237 15.9629 14.248C15.9942 13.8646 15.9951 13.3711 15.9951 12.6602V7.33008C15.9951 6.61908 15.9942 6.1257 15.9629 5.74219C15.9322 5.36654 15.8754 5.15507 15.7949 4.99707C15.619 4.65186 15.3384 4.37124 14.9932 4.19531C14.8352 4.11481 14.6237 4.05805 14.248 4.02734C13.8646 3.99601 13.3711 3.99512 12.6602 3.99512H7.33008Z"})]})}function he(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M11.3312 4.20472C12.7488 2.92391 14.9377 2.96644 16.3039 4.33265L16.4318 4.46742C17.6713 5.8393 17.6713 7.93343 16.4318 9.30531L16.3039 9.44007L10.0119 15.7311C9.68839 16.0546 9.45384 16.2917 9.22185 16.4821L8.98748 16.6588C8.78233 16.799 8.56429 16.9196 8.33709 17.0192L8.10759 17.1119C7.92582 17.1785 7.73843 17.2266 7.52166 17.2711L6.75701 17.4069L4.36345 17.8053C4.22059 17.8291 4.06914 17.8552 3.9406 17.8649C3.84183 17.8723 3.70833 17.875 3.56267 17.8395L3.41423 17.7907C3.19121 17.695 3.00747 17.5271 2.89177 17.316L2.84588 17.2223C2.75958 17.0209 2.76174 16.8276 2.77166 16.6959C2.78136 16.5674 2.80742 16.4159 2.83123 16.2731L3.22966 13.8795L3.36443 13.1149C3.40899 12.898 3.45795 12.7108 3.52459 12.5289L3.61736 12.2985C3.71691 12.0715 3.83772 11.854 3.97771 11.6491L4.15349 11.4147C4.34392 11.1825 4.58171 10.9484 4.90545 10.6246L11.1965 4.33265L11.3312 4.20472ZM5.84588 11.5651C5.49671 11.9142 5.31258 12.0998 5.1867 12.2526L5.07537 12.3991C4.98194 12.5358 4.90157 12.6812 4.83513 12.8327L4.77361 12.9869C4.73328 13.0971 4.70248 13.2125 4.66814 13.3815L4.54119 14.0983L4.14275 16.4918L4.14177 16.4938H4.1447L6.53826 16.0944L7.25505 15.9684C7.42406 15.9341 7.53946 15.9033 7.64959 15.8629L7.80291 15.8014C7.95461 15.7349 8.09953 15.6538 8.2365 15.5602L8.38396 15.4498C8.53674 15.3239 8.72231 15.1398 9.07146 14.7907L14.0588 9.80238L10.8332 6.57679L5.84588 11.5651ZM15.3635 5.27308C14.5281 4.43776 13.2058 4.38573 12.3097 5.11683L12.1369 5.27308L11.7736 5.63636L15.0002 8.86195L15.3635 8.49964L15.5197 8.32581C16.2015 7.48961 16.2015 6.28311 15.5197 5.44691L15.3635 5.27308Z"})})}function K(){return n("svg",{className:"codex-activity-icon",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:n("path",{d:"M16.8347 7.91699C16.8347 7.76279 16.8266 7.61021 16.8123 7.45996L15.4705 8.80371C14.2903 9.98388 12.3762 9.98388 11.1961 8.80371C10.016 7.62352 10.0159 5.70942 11.1961 4.5293L12.5378 3.18652C12.3885 3.17238 12.237 3.16505 12.0837 3.16504C9.45947 3.16504 7.33179 5.29272 7.33179 7.91699C7.33184 8.56608 7.46162 9.18329 7.69605 9.74512C7.79981 9.9939 7.74311 10.2811 7.5525 10.4717L3.59547 14.4287C3.0498 14.9744 3.04991 15.8586 3.59547 16.4043L3.70191 16.501C4.25076 16.9483 5.05957 16.9158 5.57105 16.4043L9.52906 12.4473L9.60426 12.3828C9.79018 12.2455 10.0369 12.2131 10.2546 12.3037C10.8166 12.5382 11.4345 12.668 12.0837 12.668C14.7078 12.6678 16.8345 10.541 16.8347 7.91699ZM18.1648 7.91699C18.1646 11.2755 15.4423 13.9979 12.0837 13.998C11.4151 13.998 10.7708 13.8886 10.1677 13.6885L6.51246 17.3457C5.51389 18.3443 3.93332 18.406 2.86207 17.5322L2.65504 17.3457C1.58992 16.2806 1.58992 14.5534 2.65504 13.4883L6.31031 9.83203C6.1104 9.22921 6.00175 8.58526 6.00172 7.91699C6.00172 4.55818 8.72494 1.83496 12.0837 1.83496C12.7838 1.835 13.458 1.95316 14.0857 2.17188L14.1638 2.20508C14.3404 2.29325 14.4697 2.45713 14.5144 2.65234C14.5653 2.87533 14.4984 3.10876 14.3367 3.27051L12.1375 5.4707C11.4767 6.13148 11.4767 7.20251 12.1375 7.86328C12.7983 8.52373 13.8694 8.52395 14.53 7.86328L16.7293 5.66309L16.7937 5.60742C16.9499 5.48687 17.1532 5.44067 17.3484 5.48535C17.5714 5.53648 17.7526 5.69898 17.8279 5.91504C18.0466 6.54272 18.1648 7.21689 18.1648 7.91699Z"})})}function ee({block:e}){if(e.type!=="tool_use")return null;if(O(e))return n(K,{});let t=j(e).category;if(t==="read")return n(Ce,{});if(t==="search"||t==="fetch")return n(ye,{});if(t==="execute")return n(ve,{});if(t==="edit")return n(he,{});return n(K,{})}function A(e,t){let a=e.rawInput[t];return typeof a==="string"&&a.length>0?a:void 0}function we(e){return j(e).target}function W(e){return e.name==="mcp"||e.name.startsWith("mcp__")||e.name.startsWith("mcp_")}function O(e){return W(e)||e.name==="dynamic_tool"}function te(e,t){let{category:a}=j(e),o=we(e),i=N(e.status);if(O(e))return{leading:e.title};if(a==="execute"){let r=A(e,"command")?.split(`
|
|
2
2
|
`)[0]??o;return r?{leading:t(i?"stream.codex.running":"stream.codex.ran"),trailing:r}:{leading:t(i?"stream.codex.runningCommand":"stream.codex.ranCommandGeneric")}}if(a==="search"){let r=A(e,"pattern")??A(e,"query")??o;return r?{leading:t(i?"stream.codex.searching":"stream.codex.searched"),trailing:t("stream.codex.forDetail",{detail:r})}:{leading:t(i?"stream.codex.searchingFiles":"stream.codex.searchedFiles")}}if(a==="fetch"){let r=A(e,"query")??A(e,"url")??o;return r?{leading:t(i?"stream.codex.searchingWeb":"stream.codex.searchedWeb"),trailing:t("stream.codex.forDetail",{detail:r})}:{leading:t(i?"stream.codex.searchingWeb":"stream.codex.searchedWeb")}}if(a==="read")return o?{leading:t("stream.codex.readLabel"),trailing:o}:{leading:t("stream.codex.readFiles")};if(a==="edit")return o?{leading:t(i?"stream.codex.editingLabel":"stream.codex.editedLabel"),trailing:o}:{leading:t(i?"stream.codex.editingFiles":"stream.codex.editedFiles")};if(a==="delete")return o?{leading:t(i?"stream.codex.deletingLabel":"stream.codex.deletedLabel"),trailing:o}:{leading:t(i?"stream.codex.deletingFiles":"stream.codex.deletedFiles")};if(a==="move")return o?{leading:t(i?"stream.codex.movingLabel":"stream.codex.movedLabel"),trailing:o}:{leading:t(i?"stream.codex.movingFiles":"stream.codex.movedFiles")};return{leading:e.title}}function Le(e,t){let a=te(e,t);return a.trailing===void 0?a.leading:`${a.leading} ${a.trailing}`}function Ne(e){return e.map((t)=>{if(t.type!=="content")return"";let a=t.content;return a.type==="text"?a.text:""}).filter(Boolean).join(`
|
|
3
3
|
`).trim()}function be(e){return e.flatMap((t)=>{if(t.type!=="content")return[];let a=t.content;return a.type==="image"?[{data:a.data,mimeType:a.mimeType}]:[]})}function Te(e){return e.flatMap((t)=>{if(t.type!=="content")return[];let a=t.content;return a.type==="audio"?[{data:a.data,mimeType:a.mimeType}]:[]})}function $e(e){if(typeof e==="string"&&e.length>0)return e;return}function ke(e){return e.type==="diff"}function Ae(e){let t=e.content.find(ke);if(t===void 0)return;return t.changes.map((a)=>`${a.operation} ${a.path}`).join(`
|
|
4
4
|
`)}function ne(e){let t=$e(e.rawOutput);if(t!==void 0)return t;let a=Ne(e.content);if(a.length>0)return a;return Ae(e)}function J({block:e,command:t}){let{t:a,Output:o,commandStatus:i}=d(),[r,u]=E(!1),[c,l]=E(!1),m=ne(e),s=i===void 0?e.exitCode===void 0?void 0:a("stream.codex.exitCode",{code:e.exitCode}):i(e),g=()=>{navigator.clipboard.writeText([`$ ${t}`,m].filter((f)=>f!==void 0).join(`
|
|
5
5
|
`)),u(!0),setTimeout(()=>u(!1),1500)};return n("div",{className:"codex-command-details",children:p("div",{className:"codex-command-card",children:[p("div",{className:"codex-command-line-row",children:[n("span",{className:"codex-command-prompt","aria-hidden":"true",children:"$"}),n("button",{type:"button",className:v("codex-command-line",!c&&"codex-command-line-clamped"),"data-codex-disclosure":"","aria-expanded":c,onClick:()=>l((f)=>!f),children:t}),n("button",{type:"button",className:"codex-command-copy","aria-label":a("actions.copy"),onClick:g,children:r?n(pe,{}):n(ge,{})})]}),m!==void 0&&(o===void 0?n("pre",{className:"codex-command-output",children:m}):n(o,{text:m})),s!==void 0&&n("div",{className:"codex-command-footer",children:n("span",{className:"codex-command-status",children:s})})]})})}function ae({block:e}){let{t,openLink:a,Patch:o,openImage:i,commandStatus:r,expandToolOutput:u=!1}=d(),c=ne(e),l=o===void 0?void 0:e.content.flatMap((x)=>{if(x.type!=="diff")return[];let k=x;return k.patch?.text?[k.patch.text]:[]}).join(`
|
|
6
|
-
`),m=be(e.content),s=Te(e.content),[g,f]=z(`tool:${e.id}`,!1),C=H(`tool:${e.id}`,g),h=V(e),w=h.category,y=te(e,t),b=w==="execute"?A(e,"command"):void 0;if(e.userShell&&b!==void 0)return n(J,{block:e,command:b});let T=b!==void 0||O(e)||m.length>0||s.length>0||Boolean(l)||u&&c!==void 0,I=!T&&!N(e.status)?h.filePath:void 0;if(w==="execute"&&!N(e.status)&&e.status!=="completed"){let x=r?.(e);if(x)y={...y,leading:x}}if(w==="read"&&N(e.status))return null;let M=p("span",{className:"codex-activity-label",children:[n(ee,{block:e}),n("span",{className:"min-w-0 flex-1 truncate",children:N(e.status)?n("span",{className:"codex-activity-running",children:y.trailing===void 0?y.leading:`${y.leading} ${y.trailing}`}):p(F,{children:[n("span",{className:"codex-activity-leading",children:y.leading}),y.trailing!==void 0&&(I!==void 0?p(F,{children:[" ",n("button",{type:"button",className:"codex-activity-trailing codex-activity-file-link",title:I,onClick:()=>a(I),children:y.trailing})]}):p("span",{className:"codex-activity-trailing",children:[" ",y.trailing]}))]})})]});return p("div",{className:"codex-activity-item",children:[T?p("button",{type:"button",className:"codex-activity-header","data-codex-disclosure":"","aria-label":y.trailing===void 0?y.leading:`${y.leading} ${y.trailing}`,"aria-expanded":g,onClick:()=>f((x)=>!x),children:[M,n(B,{expanded:g})]}):n("div",{className:"codex-activity-header codex-activity-header-static",children:M}),n("div",{className:v("codex-activity-details-grid",g&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:C&&p(F,{children:[b!==void 0?n(J,{block:e,command:b}):o!==void 0&&l?n(o,{patch:l}):c!==void 0&&n("pre",{className:"codex-activity-details",children:c}),m.length>0&&n("div",{className:"codex-activity-media",children:m.map((x)=>{let k=`data:${x.mimeType};base64,${x.data}`,j=n("img",{src:k,className:"max-h-48 max-w-full rounded-lg object-contain",alt:""},`${x.mimeType}:${x.data.slice(0,32)}`);return i===void 0?j:n("button",{type:"button",className:"cursor-pointer",onClick:()=>i(k),children:j},k)})}),s.map((x)=>n("audio",{className:"mt-1 w-full","aria-label":t("stream.codex.audioOutput"),controls:!0,src:`data:${x.mimeType};base64,${x.data}`},`${x.mimeType}:${x.data.slice(0,32)}`))]})})})]})}function ie({block:e}){if(e.type==="tool_use")return n(ae,{block:e});if(e.type==="thinking")return n(ue,{block:e});if(e.type==="collab")return n(le,{block:e});return n(re,{block:e})}function re({block:e}){let{t,openSession:a}=d(),o=N(e.status),[i,r]=z(`subagent:${e.id}`,o),u=P(o);D(()=>{if(o)r(!0);if(u.current&&!o)r(!1);u.current=o},[o,r]);let c=`${Ee(e.activity,o,e.name,t)}${se(e.model,e.reasoningEffort,t)}`,l=e.threadId??"",m=e.blocks.length>0;return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:v("codex-activity-header",!m&&"codex-activity-header-static"),"data-codex-disclosure":"","aria-expanded":m?i:void 0,disabled:!m,onClick:()=>r((s)=>!s),children:[p("span",{className:"codex-activity-label",children:[n(Me,{seed:e.threadId??e.id}),n("span",{className:"min-w-0 flex-1 truncate",children:a===void 0||e.threadId===null?o?n("span",{className:"codex-activity-running",children:c}):c:n("span",{role:"link",tabIndex:0,className:v("codex-agent-link",o&&"codex-activity-running"),"aria-label":t("stream.codex.subagentOpen",{name:e.name}),onClick:(s)=>{s.stopPropagation(),a(l,e.name)},onKeyDown:(s)=>{if(s.key!=="Enter"&&s.key!==" ")return;s.preventDefault(),s.stopPropagation(),a(l,e.name)},children:c})})]}),m&&n(B,{expanded:i})]}),n("div",{className:v("codex-activity-details-grid",i&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-subagent-details",children:e.blocks.map((s)=>{if(s.type==="tool_use")return n(ae,{block:s},s.id);if(s.type==="thinking")return n(ue,{block:s},L(s));if(s.type==="subagent")return n(re,{block:s},s.id);if(s.type==="collab")return n(le,{block:s},s.id);if(s.type==="text")return n("div",{className:"codex-reasoning-details",children:n(_,{text:s.text,streaming:!1})},L(s));if(s.type==="plan")return n(oe,{entries:s.entries},L(s));if(s.type==="image")return n("img",{src:`data:${s.source.media_type};base64,${s.source.data}`,className:"max-h-48 max-w-full rounded-lg object-contain",alt:""},L(s));return null})})})})]})}var Be=8;function Ie(e){let t=0;for(let a=0;a<e.length;a+=1)t=(t*31+e.charCodeAt(a))%2147483647;return t%Be}function Me({seed:e}){return n("span",{className:"codex-agent-avatar","data-hue":Ie(e),"aria-hidden":"true"})}function Ee(e,t,a,o){switch(e){case"started":return o(t?"stream.codex.subagentWorking":"stream.codex.subagentFinished",{name:a});case"interacted":return o("stream.codex.subagentMessaged",{name:a});case"interrupted":return o("stream.codex.subagentInterrupted",{name:a});case"completed":return o("stream.codex.subagentFinished",{name:a})}}var Se=new Set(["none","minimal","low","medium","high","xhigh","max","ultra","persistent"]);function se(e,t,a){if(e===null)return"";if(t===null)return` · ${xn(e)}`;let o=Se.has(t)?a(`stream.codex.reasoningEffort.${t}`):t;return` · ${xn(e)} · ${o}`}var _e={spawnAgent:"spawn",sendInput:"message",sendMessage:"message",followupTask:"message",interruptAgent:"interrupt",listAgents:"list",resumeAgent:"resume",closeAgent:"close"};function de(e){switch(e){case"pending":case"in_progress":return"inProgress";case"completed":return"completed";case"failed":return"failed";case"cancelled":case"interrupted":return"interrupted";default:throw Error(`Unknown ACP tool status: ${e}`)}}function Z(e,t,a){if(e.tool==="wait")throw Error("Codex does not present wait calls");let o=de(e.status);if(o==="interrupted")return a("stream.codex.collab.interrupted");return a(`stream.codex.collab.${t}.${_e[e.tool]}.${o}`)}function Re(e){return e.agents.filter((t)=>t.nickname!==null)}function ce(e,t){let a=e.agents.length>0?e.agents.length:1;return`${Z(e,"header",t)}${t("stream.codex.collab.agentCount",{count:a})}`}var S="\x01";function R(e,t,a,o){let i=Object.fromEntries(Object.keys(o).map((r)=>[r,`${S}${r}${S}`]));return e(t,{...a,...i}).split(new RegExp(`${S}(\\w+)${S}`,"u")).map((r,u)=>n(fe,{children:u%2===1?o[r]:r},`${u}:${r}`))}function De({agent:e,showModel:t}){let{t:a,openSession:o}=d(),i=e.nickname??"",r=o===void 0?n("span",{className:"font-medium",children:i}):n("button",{type:"button",className:"codex-agent-link font-medium","aria-label":a("stream.codex.subagentOpen",{name:i}),onClick:()=>o(e.threadId,i),children:i});return p("span",{children:[r,e.role!==null&&` (${e.role})`,t&&se(e.model,e.reasoningEffort,a)]})}function Q({prompt:e}){return n("span",{className:"codex-collab-prompt",title:e,children:e})}function Pe(e,t){let a=e.prompt?.trim()?e.prompt:null,o=de(e.status),i=e.tool==="spawnAgent"&&o==="completed"&&a!==null,r=(e.tool==="sendInput"||e.tool==="sendMessage"||e.tool==="followupTask")&&a!==null,u=Re(e),c=[];if(u.length===0)c.push({key:"generic",node:Z(e,"row",t)});for(let l of u){let m=n(De,{agent:l,showModel:e.tool==="spawnAgent"});if(i)c.push({key:l.threadId,node:n("span",{className:"codex-collab-line",children:R(t,"stream.codex.collab.createdWithInstructions",{},{agent:m,instructions:n(Q,{prompt:a})})})});else if(r)c.push({key:l.threadId,node:n("span",{className:"codex-collab-line",children:R(t,"stream.codex.collab.messagedWithPrompt",{action:o==="interrupted"?t("stream.codex.collab.interrupted"):t(`stream.codex.collab.messaged.${o}`)},{agent:m,prompt:n(Q,{prompt:a})})})});else{let g=e.tool!=="closeAgent"&&e.tool!=="resumeAgent"&&l.state!==null&&l.state!==null?l.state.message?.trim()?t("stream.codex.collab.stateWithMessage",{state:t(`stream.codex.collab.state.${l.state.status}`),message:l.state.message}):t("stream.codex.collab.stateOnly",{state:t(`stream.codex.collab.state.${l.state.status}`)}):"";c.push({key:l.threadId,node:R(t,"stream.codex.collab.agentRow",{action:Z(e,"row",t),state:g},{agent:m})})}}if(!i&&!r&&a!==null)c.push({key:"input",node:R(t,"stream.codex.collab.input",{},{prompt:n("span",{className:"codex-collab-input",children:a})})});return c}function le({block:e}){let{t}=d(),[a,o]=z(`collab:${e.id}`,!1);if(e.tool==="wait")return null;let i=N(e.status),r=ce(e,t);return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:"codex-activity-header","data-codex-disclosure":"","aria-expanded":a,onClick:()=>o((u)=>!u),children:[p("span",{className:"codex-activity-label",children:[n(me,{className:"size-4 shrink-0","aria-hidden":"true"}),n("span",{className:"min-w-0 flex-1 truncate",children:i?n("span",{className:"codex-activity-running",children:r}):r})]}),n(B,{expanded:a})]}),n("div",{className:v("codex-activity-details-grid",a&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-subagent-details",children:Pe(e,t).map((u)=>n("div",{className:"codex-collab-row",children:u.node},u.key))})})})]})}function ue({block:e}){let{t,i18n:a}=d(),o=Boolean(e.isComplete),[i,r]=z(`thinking:${L(e)}`,!1),u=P(null),c=e.thinking.trim().length>0;D(()=>{if(o||!c)return;let s=u.current;if(s===null)throw Error("Thinking details are not mounted");let g=new ResizeObserver(()=>{s.scrollTop=s.scrollHeight}),f=null,C=()=>{let w=s.firstElementChild;if(w===f)return;if(f!==null)g.unobserve(f);if(f=w,f!==null)g.observe(f)},h=new MutationObserver(C);return h.observe(s,{childList:!0}),C(),()=>{h.disconnect(),g.disconnect()}},[c,o]);let l=o?e.durationMs!==void 0?t("stream.codex.thoughtFor",{duration:U(e.durationMs,a.language)}):t("stream.codex.thought"):t("message.thinking"),m=e.thinking.trimStart().replace(/^\*\*[^\n]*?\*\*\s*/,"");return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:v("codex-activity-header",!c&&"codex-activity-header-static"),"data-codex-disclosure":"","aria-expanded":c?i:void 0,disabled:!c,onClick:()=>r((s)=>!s),children:[n("span",{className:"codex-activity-label",children:n("span",{className:"codex-reasoning-label min-w-0 flex-1 truncate",children:o?l:n("span",{className:"codex-activity-running",children:l})})}),c&&n(B,{expanded:i})]}),n("div",{className:v("codex-activity-details-grid",i&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:c&&n("div",{ref:u,className:"codex-reasoning-details",role:"region","aria-label":l,"aria-hidden":!i,tabIndex:0,inert:!i,children:n(_,{text:m,streaming:!o})})})})]})}function Oe(e){if(W(e))return"mcp";let t=V(e).category;return t==="think"||t==="switch_mode"?"other":t}function Ue(e,t,a,o){return o(`stream.codex.summary.${e}.${a?"leading":"following"}`,{count:t})}function Ve(e,t,a){let o=new Map,i=[],r=new Set;for(let c of e){if(W(c)&&typeof c.rawInput.server==="string"){if(r.size===0)i.push({kind:"integrations"});r.add(c.rawInput.server);continue}if(O(c)){if(!i.some((m)=>m.kind==="named"&&m.title===c.title))i.push({kind:"named",title:c.title});continue}let l=Oe(c);if(!o.has(l))i.push({kind:"category",category:l});o.set(l,(o.get(l)??0)+1)}let u=i.map((c,l)=>{if(c.kind==="named")return c.title;if(c.kind==="integrations")return t(`stream.codex.summary.integrations.${l===0?"leading":"following"}`,{count:r.size,sources:new Intl.ListFormat(a,{style:"long",type:"conjunction"}).format([...r])});return Ue(c.category,o.get(c.category),l===0,t)});if(a.startsWith("zh"))return u.join("");return new Intl.ListFormat(a,{style:"long",type:"conjunction"}).format(u)}function Xo({stateKey:e,durationMs:t,durationKind:a="work",active:o,defaultExpanded:i=o,startedAt:r,providerId:u,providerIcon:c,children:l}){let{t:m,i18n:s}=d(),[g,f]=z(`work:${e}`,i,!0),C=H(`work:${e}`,g||o),h=P(null),[w,y]=E(0);D(()=>{if(!o||t!==void 0){h.current=null;return}h.current=r??Date.now();let T=()=>{let M=h.current;if(M===null)throw Error("Codex work section is ticking without a start time");y(Date.now()-M)};T();let I=window.setInterval(T,1000);return()=>window.clearInterval(I)},[o,r,t]);let b=t!==void 0?m(a==="total"?"stream.codex.totalDuration":"stream.codex.workedFor",{duration:U(t,s.language)}):o&&w>=1000?m("stream.codex.workingFor",{duration:U(w,s.language)}):m(o?"stream.codex.working":"stream.codex.worked");return p("section",{className:"codex-work-section",children:[p("button",{type:"button",className:"codex-work-trigger","data-codex-disclosure":"","aria-expanded":g,onClick:()=>f((T)=>!T),children:[u!==void 0&&n("span",{className:"codex-work-provider-icon","data-testid":"codex-work-provider-icon","data-provider-id":u,"aria-hidden":"true",children:c}),n("span",{children:b}),n(B,{expanded:g,className:"codex-work-chevron"})]}),n("div",{className:"codex-work-separator","aria-hidden":"true"}),n("div",{className:v("codex-work-grid",g&&"codex-work-grid-open"),"aria-hidden":!g,inert:!g,children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-work-body",children:C&&l})})})]})}function Ze(e,t){if(e.type==="tool_use")return Le(e,t);if(e.type==="thinking")return t("message.thinking");if(e.type==="collab")return ce(e,t);return t("stream.codex.subagentWorking",{name:e.name})}function X(e){if(e.type==="thinking")return!e.isComplete;if(e.type==="tool_use"||e.type==="subagent"||e.type==="collab")return N(e.status);return!1}function He(e,t,a=1000){let[o,i]=E({text:e,live:t}),r=P(Date.now());return D(()=>{if(e===o.text&&t===o.live)return;let u=Date.now(),c=Math.max(0,r.current+a-u);if(c===0||t!==o.live){r.current=u,i({text:e,live:t});return}let l=window.setTimeout(()=>{r.current=Date.now(),i({text:e,live:t})},c);return()=>window.clearTimeout(l)},[o,t,a,e]),t===o.live?o.text:e}function We({blocks:e,defaultExpanded:t=!0}){let{t:a,i18n:o}=d(),i=e.some(X),r=L(e[0]),u=e.every((C)=>C.type==="tool_use"&&V(C).category==="execute"),[c,l]=z(`group:${r}`,t&&!u),m=H(`group:${r}`,c),s=e.findLast(X)??e.at(-1);if(s===void 0)throw Error("CodexActivityGroup requires at least one activity block");let g=e.filter((C)=>C.type==="tool_use"),f=He(i?Ze(s,a):Ve(g,a,o.language),i);return p("div",{className:"codex-activity-group",children:[p("button",{type:"button",className:"codex-activity-group-trigger","data-codex-disclosure":"","aria-expanded":c,onClick:()=>l((C)=>!C),children:[p("span",{className:"codex-activity-label",children:[n(ee,{block:e[0]}),n("span",{className:"truncate",children:i?n("span",{className:"codex-activity-running",children:f}):f})]}),n(B,{expanded:c})]}),n("div",{className:v("codex-activity-group-grid",c&&"codex-activity-group-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-activity-group-body",children:m&&e.map((C)=>n(ie,{block:C},L(C)))})})})]})}function Y({blocks:e,defaultExpanded:t}){if(e.length===0)throw Error("CodexActivityGroup requires at least one activity block");if(e.length===1)return n(ie,{block:e[0]});return n(We,{blocks:e,defaultExpanded:t})}function tt({blocks:e,defaultExpanded:t}){if(!e.some(Fe))return n(Y,{blocks:e,defaultExpanded:t});let a=[];for(let o of e){let i=a.at(-1);if(i&&Fe(i[0])===Fe(o))i.push(o);else a.push([o])}return n(F,{children:a.map((o)=>Fe(o[0])?n(Jo,{blocks:o.filter(Fe)},L(o[0])):n(Y,{blocks:o,defaultExpanded:t},L(o[0])))})}
|
|
7
|
-
export{
|
|
6
|
+
`),m=be(e.content),s=Te(e.content),[g,f]=V(`tool:${e.id}`,!1),C=H(`tool:${e.id}`,g),h=j(e),w=h.category,y=te(e,t),b=w==="execute"?A(e,"command"):void 0;if(e.userShell&&b!==void 0)return n(J,{block:e,command:b});let T=b!==void 0||O(e)||m.length>0||s.length>0||Boolean(l)||u&&c!==void 0,I=!T&&!N(e.status)?h.filePath:void 0;if(w==="execute"&&!N(e.status)&&e.status!=="completed"){let x=r?.(e);if(x)y={...y,leading:x}}if(w==="read"&&N(e.status))return null;let M=p("span",{className:"codex-activity-label",children:[n(ee,{block:e}),n("span",{className:"min-w-0 flex-1 truncate",children:N(e.status)?n("span",{className:"codex-activity-running",children:y.trailing===void 0?y.leading:`${y.leading} ${y.trailing}`}):p(R,{children:[n("span",{className:"codex-activity-leading",children:y.leading}),y.trailing!==void 0&&(I!==void 0?p(R,{children:[" ",n("button",{type:"button",className:"codex-activity-trailing codex-activity-file-link",title:I,onClick:()=>a(I),children:y.trailing})]}):p("span",{className:"codex-activity-trailing",children:[" ",y.trailing]}))]})})]});return p("div",{className:"codex-activity-item",children:[T?p("button",{type:"button",className:"codex-activity-header","data-codex-disclosure":"","aria-label":y.trailing===void 0?y.leading:`${y.leading} ${y.trailing}`,"aria-expanded":g,onClick:()=>f((x)=>!x),children:[M,n(B,{expanded:g})]}):n("div",{className:"codex-activity-header codex-activity-header-static",children:M}),n("div",{className:v("codex-activity-details-grid",g&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:C&&p(R,{children:[b!==void 0?n(J,{block:e,command:b}):o!==void 0&&l?n(o,{patch:l}):c!==void 0&&n("pre",{className:"codex-activity-details",children:c}),m.length>0&&n("div",{className:"codex-activity-media",children:m.map((x)=>{let k=`data:${x.mimeType};base64,${x.data}`,G=n("img",{src:k,className:"max-h-48 max-w-full rounded-lg object-contain",alt:""},`${x.mimeType}:${x.data.slice(0,32)}`);return i===void 0?G:n("button",{type:"button",className:"cursor-pointer",onClick:()=>i(k),children:G},k)})}),s.map((x)=>n("audio",{className:"mt-1 w-full","aria-label":t("stream.codex.audioOutput"),controls:!0,src:`data:${x.mimeType};base64,${x.data}`},`${x.mimeType}:${x.data.slice(0,32)}`))]})})})]})}function oe({block:e}){if(e.type==="tool_use")return n(ae,{block:e});if(e.type==="thinking")return n(ue,{block:e});if(e.type==="collab")return n(le,{block:e});return n(re,{block:e})}function re({block:e}){let{t,openSession:a}=d(),o=N(e.status),[i,r]=V(`subagent:${e.id}`,o),u=D(o);F(()=>{if(o)r(!0);if(u.current&&!o)r(!1);u.current=o},[o,r]);let c=`${Ee(e.activity,o,e.name,t)}${se(e.model,e.reasoningEffort,t)}`,l=e.threadId??"",m=e.blocks.length>0;return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:v("codex-activity-header",!m&&"codex-activity-header-static"),"data-codex-disclosure":"","aria-expanded":m?i:void 0,disabled:!m,onClick:()=>r((s)=>!s),children:[p("span",{className:"codex-activity-label",children:[n(Me,{seed:e.threadId??e.id}),n("span",{className:"min-w-0 flex-1 truncate",children:a===void 0||e.threadId===null?o?n("span",{className:"codex-activity-running",children:c}):c:n("span",{role:"link",tabIndex:0,className:v("codex-agent-link",o&&"codex-activity-running"),"aria-label":t("stream.codex.subagentOpen",{name:e.name}),onClick:(s)=>{s.stopPropagation(),a(l,e.name)},onKeyDown:(s)=>{if(s.key!=="Enter"&&s.key!==" ")return;s.preventDefault(),s.stopPropagation(),a(l,e.name)},children:c})})]}),m&&n(B,{expanded:i})]}),n("div",{className:v("codex-activity-details-grid",i&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-subagent-details",children:e.blocks.map((s)=>{if(s.type==="tool_use")return n(ae,{block:s},s.id);if(s.type==="thinking")return n(ue,{block:s},L(s));if(s.type==="subagent")return n(re,{block:s},s.id);if(s.type==="collab")return n(le,{block:s},s.id);if(s.type==="text")return n("div",{className:"codex-reasoning-details",children:n(P,{text:s.text,streaming:!1})},L(s));if(s.type==="plan")return n(ie,{entries:s.entries},L(s));if(s.type==="image")return n("img",{src:`data:${s.source.media_type};base64,${s.source.data}`,className:"max-h-48 max-w-full rounded-lg object-contain",alt:""},L(s));return null})})})})]})}var Be=8;function Ie(e){let t=0;for(let a=0;a<e.length;a+=1)t=(t*31+e.charCodeAt(a))%2147483647;return t%Be}function Me({seed:e}){return n("span",{className:"codex-agent-avatar","data-hue":Ie(e),"aria-hidden":"true"})}function Ee(e,t,a,o){switch(e){case"started":return o(t?"stream.codex.subagentWorking":"stream.codex.subagentFinished",{name:a});case"interacted":return o("stream.codex.subagentMessaged",{name:a});case"interrupted":return o("stream.codex.subagentInterrupted",{name:a});case"completed":return o("stream.codex.subagentFinished",{name:a})}}var Se=new Set(["none","minimal","low","medium","high","xhigh","max","ultra","persistent"]);function se(e,t,a){if(e===null)return"";if(t===null)return` · ${Cn(e)}`;let o=Se.has(t)?a(`stream.codex.reasoningEffort.${t}`):t;return` · ${Cn(e)} · ${o}`}var _e={spawnAgent:"spawn",sendInput:"message",sendMessage:"message",followupTask:"message",interruptAgent:"interrupt",listAgents:"list",resumeAgent:"resume",closeAgent:"close"};function de(e){switch(e){case"pending":case"in_progress":return"inProgress";case"completed":return"completed";case"failed":return"failed";case"cancelled":case"interrupted":return"interrupted";default:throw Error(`Unknown ACP tool status: ${e}`)}}function Z(e,t,a){if(e.tool==="wait")throw Error("Codex does not present wait calls");let o=de(e.status);if(o==="interrupted")return a("stream.codex.collab.interrupted");return a(`stream.codex.collab.${t}.${_e[e.tool]}.${o}`)}function Re(e){return e.agents.filter((t)=>t.nickname!==null)}function ce(e,t){let a=e.agents.length>0?e.agents.length:1;return`${Z(e,"header",t)}${t("stream.codex.collab.agentCount",{count:a})}`}var S="\x01";function _(e,t,a,o){let i=Object.fromEntries(Object.keys(o).map((r)=>[r,`${S}${r}${S}`]));return e(t,{...a,...i}).split(new RegExp(`${S}(\\w+)${S}`,"u")).map((r,u)=>n(fe,{children:u%2===1?o[r]:r},`${u}:${r}`))}function Fe({agent:e,showModel:t}){let{t:a,openSession:o}=d(),i=e.nickname??"",r=o===void 0?n("span",{className:"font-medium",children:i}):n("button",{type:"button",className:"codex-agent-link font-medium","aria-label":a("stream.codex.subagentOpen",{name:i}),onClick:()=>o(e.threadId,i),children:i});return p("span",{children:[r,e.role!==null&&` (${e.role})`,t&&se(e.model,e.reasoningEffort,a)]})}function Q({prompt:e}){return n("span",{className:"codex-collab-prompt",title:e,children:e})}function Pe(e,t){let a=e.prompt?.trim()?e.prompt:null,o=de(e.status),i=e.tool==="spawnAgent"&&o==="completed"&&a!==null,r=(e.tool==="sendInput"||e.tool==="sendMessage"||e.tool==="followupTask")&&a!==null,u=Re(e),c=[];if(u.length===0)c.push({key:"generic",node:Z(e,"row",t)});for(let l of u){let m=n(Fe,{agent:l,showModel:e.tool==="spawnAgent"});if(i)c.push({key:l.threadId,node:n("span",{className:"codex-collab-line",children:_(t,"stream.codex.collab.createdWithInstructions",{},{agent:m,instructions:n(Q,{prompt:a})})})});else if(r)c.push({key:l.threadId,node:n("span",{className:"codex-collab-line",children:_(t,"stream.codex.collab.messagedWithPrompt",{action:o==="interrupted"?t("stream.codex.collab.interrupted"):t(`stream.codex.collab.messaged.${o}`)},{agent:m,prompt:n(Q,{prompt:a})})})});else{let g=e.tool!=="closeAgent"&&e.tool!=="resumeAgent"&&l.state!==null&&l.state!==null?l.state.message?.trim()?t("stream.codex.collab.stateWithMessage",{state:t(`stream.codex.collab.state.${l.state.status}`),message:l.state.message}):t("stream.codex.collab.stateOnly",{state:t(`stream.codex.collab.state.${l.state.status}`)}):"";c.push({key:l.threadId,node:_(t,"stream.codex.collab.agentRow",{action:Z(e,"row",t),state:g},{agent:m})})}}if(!i&&!r&&a!==null)c.push({key:"input",node:_(t,"stream.codex.collab.input",{},{prompt:n("span",{className:"codex-collab-input",children:a})})});return c}function le({block:e}){let{t}=d(),[a,o]=V(`collab:${e.id}`,!1);if(e.tool==="wait")return null;let i=N(e.status),r=ce(e,t);return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:"codex-activity-header","data-codex-disclosure":"","aria-expanded":a,onClick:()=>o((u)=>!u),children:[p("span",{className:"codex-activity-label",children:[n(me,{className:"size-4 shrink-0","aria-hidden":"true"}),n("span",{className:"min-w-0 flex-1 truncate",children:i?n("span",{className:"codex-activity-running",children:r}):r})]}),n(B,{expanded:a})]}),n("div",{className:v("codex-activity-details-grid",a&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-subagent-details",children:Pe(e,t).map((u)=>n("div",{className:"codex-collab-row",children:u.node},u.key))})})})]})}function ue({block:e}){let{t,i18n:a}=d(),o=Boolean(e.isComplete),[i,r]=V(`thinking:${L(e)}`,!1),u=D(null),c=e.thinking.trim().length>0;F(()=>{if(o||!c)return;let s=u.current;if(s===null)throw Error("Thinking details are not mounted");let g=new ResizeObserver(()=>{s.scrollTop=s.scrollHeight}),f=null,C=()=>{let w=s.firstElementChild;if(w===f)return;if(f!==null)g.unobserve(f);if(f=w,f!==null)g.observe(f)},h=new MutationObserver(C);return h.observe(s,{childList:!0}),C(),()=>{h.disconnect(),g.disconnect()}},[c,o]);let l=o?e.durationMs!==void 0?t("stream.codex.thoughtFor",{duration:U(e.durationMs,a.language)}):t("stream.codex.thought"):t("message.thinking"),m=e.thinking.trimStart().replace(/^\*\*[^\n]*?\*\*\s*/,"");return p("div",{className:"codex-activity-item",children:[p("button",{type:"button",className:v("codex-activity-header",!c&&"codex-activity-header-static"),"data-codex-disclosure":"","aria-expanded":c?i:void 0,disabled:!c,onClick:()=>r((s)=>!s),children:[n("span",{className:"codex-activity-label",children:n("span",{className:"codex-reasoning-label min-w-0 flex-1 truncate",children:o?l:n("span",{className:"codex-activity-running",children:l})})}),c&&n(B,{expanded:i})]}),n("div",{className:v("codex-activity-details-grid",i&&"codex-activity-details-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:c&&n("div",{ref:u,className:"codex-reasoning-details",role:"region","aria-label":l,"aria-hidden":!i,tabIndex:0,inert:!i,children:n(P,{text:m,streaming:!o})})})})]})}function Oe(e){if(W(e))return"mcp";let t=j(e).category;return t==="think"||t==="switch_mode"?"other":t}function Ue(e,t,a,o){return o(`stream.codex.summary.${e}.${a?"leading":"following"}`,{count:t})}function Ve(e,t,a){let o=new Map,i=[],r=new Set;for(let c of e){if(W(c)&&typeof c.rawInput.server==="string"){if(r.size===0)i.push({kind:"integrations"});r.add(c.rawInput.server);continue}if(O(c)){if(!i.some((m)=>m.kind==="named"&&m.title===c.title))i.push({kind:"named",title:c.title});continue}let l=Oe(c);if(!o.has(l))i.push({kind:"category",category:l});o.set(l,(o.get(l)??0)+1)}let u=i.map((c,l)=>{if(c.kind==="named")return c.title;if(c.kind==="integrations")return t(`stream.codex.summary.integrations.${l===0?"leading":"following"}`,{count:r.size,sources:new Intl.ListFormat(a,{style:"long",type:"conjunction"}).format([...r])});return Ue(c.category,o.get(c.category),l===0,t)});if(a.startsWith("zh"))return u.join("");return new Intl.ListFormat(a,{style:"long",type:"conjunction"}).format(u)}function ei({stateKey:e,durationMs:t,durationKind:a="work",active:o,defaultExpanded:i=o,startedAt:r,providerId:u,providerIcon:c,children:l}){let{t:m,i18n:s}=d(),[g,f]=V(`work:${e}`,i,!0),C=H(`work:${e}`,g||o),h=D(null),[w,y]=E(0);F(()=>{if(!o||t!==void 0){h.current=null;return}h.current=r??Date.now();let T=()=>{let M=h.current;if(M===null)throw Error("Codex work section is ticking without a start time");y(Date.now()-M)};T();let I=window.setInterval(T,1000);return()=>window.clearInterval(I)},[o,r,t]);let b=t!==void 0?m(a==="total"?"stream.codex.totalDuration":"stream.codex.workedFor",{duration:U(t,s.language)}):o&&w>=1000?m("stream.codex.workingFor",{duration:U(w,s.language)}):m(o?"stream.codex.working":"stream.codex.worked");return p("section",{className:"codex-work-section",children:[p("button",{type:"button",className:"codex-work-trigger","data-codex-disclosure":"","aria-expanded":g,onClick:()=>f((T)=>!T),children:[u!==void 0&&n("span",{className:"codex-work-provider-icon","data-testid":"codex-work-provider-icon","data-provider-id":u,"aria-hidden":"true",children:c}),n("span",{children:b}),n(B,{expanded:g,className:"codex-work-chevron"})]}),n("div",{className:"codex-work-separator","aria-hidden":"true"}),n("div",{className:v("codex-work-grid",g&&"codex-work-grid-open"),"aria-hidden":!g,inert:!g,children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-work-body",children:C&&l})})})]})}function Ze(e,t){if(e.type==="tool_use")return Le(e,t);if(e.type==="thinking")return t("message.thinking");if(e.type==="collab")return ce(e,t);return t("stream.codex.subagentWorking",{name:e.name})}function X(e){if(e.type==="thinking")return!e.isComplete;if(e.type==="tool_use"||e.type==="subagent"||e.type==="collab")return N(e.status);return!1}function He(e,t,a=1000){let[o,i]=E({text:e,live:t}),r=D(Date.now());return F(()=>{if(e===o.text&&t===o.live)return;let u=Date.now(),c=Math.max(0,r.current+a-u);if(c===0||t!==o.live){r.current=u,i({text:e,live:t});return}let l=window.setTimeout(()=>{r.current=Date.now(),i({text:e,live:t})},c);return()=>window.clearTimeout(l)},[o,t,a,e]),t===o.live?o.text:e}function We({blocks:e,defaultExpanded:t=!0}){let{t:a,i18n:o}=d(),i=e.some(X),r=L(e[0]),u=e.every((C)=>C.type==="tool_use"&&j(C).category==="execute"),[c,l]=V(`group:${r}`,t&&!u),m=H(`group:${r}`,c),s=e.findLast(X)??e.at(-1);if(s===void 0)throw Error("CodexActivityGroup requires at least one activity block");let g=e.filter((C)=>C.type==="tool_use"),f=He(i?Ze(s,a):Ve(g,a,o.language),i);return p("div",{className:"codex-activity-group",children:[p("button",{type:"button",className:"codex-activity-group-trigger","data-codex-disclosure":"","aria-expanded":c,onClick:()=>l((C)=>!C),children:[p("span",{className:"codex-activity-label",children:[n(ee,{block:e[0]}),n("span",{className:"truncate",children:i?n("span",{className:"codex-activity-running",children:f}):f})]}),n(B,{expanded:c})]}),n("div",{className:v("codex-activity-group-grid",c&&"codex-activity-group-grid-open"),children:n("div",{className:"min-h-0 overflow-hidden",children:n("div",{className:"codex-activity-group-body",children:m&&e.map((C)=>n(oe,{block:C},L(C)))})})})]})}function Y({blocks:e,defaultExpanded:t}){if(e.length===0)throw Error("CodexActivityGroup requires at least one activity block");if(e.length===1)return n(oe,{block:e[0]});return n(We,{blocks:e,defaultExpanded:t})}function nt({blocks:e,defaultExpanded:t}){if(!e.some(De))return n(Y,{blocks:e,defaultExpanded:t});let a=[];for(let o of e){let i=a.at(-1);if(i&&De(i[0])===De(o))i.push(o);else a.push([o])}return n(R,{children:a.map((o)=>De(o[0])?n(ti,{blocks:o.filter(De)},L(o[0])):n(Y,{blocks:o,defaultExpanded:t},L(o[0])))})}
|
|
7
|
+
export{ei,nt};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{it}from"./chunk-wvs6ttt3.js";import{l,Te}from"./chunk-b4evrc3r.js";import{h}from"./chunk-9cqpn67f.js";import{MoreHorizontalIcon as y}from"lucide-react";import{useEffect as D,useState as p}from"react";import{Button as x}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as P,DropdownMenuContent as b,DropdownMenuItem as g,DropdownMenuTrigger as z}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Skeleton as c}from"@nyssance/shadcn/vega/components/ui/skeleton";import{jsx as o,jsxs as a,Fragment as F}from"react/jsx-runtime";function Hn(n){return n.replace(/^\uFEFF?---\r?\n[\s\S]*?\r?\n(?:---|\.\.\.)[ \t]*(?:\r?\n|$)/,"")}function C(n){let i=n.replaceAll("\\","/"),t=i.lastIndexOf("/");return t<=0?"/":i.slice(0,t)}function I(n){let i=/^(\/\/[^/]+\/[^/]+|[A-Za-z]:\/|\/)/.exec(n)?.[0]??"",t=[];for(let e of n.slice(i.length).split("/")){if(!e||e===".")continue;if(e==="..")t.pop();else t.push(e)}return`${i.replace(/\/$/,"")}/${t.join("/")}`}function de({path:n,renderHeader:i,description:t}){let e=l(),{t:r}=e,d=e.readFile,[u,f]=p(null),[v,w]=p(null),[M,N]=p(0);D(()=>{let s=!1;return f(null),w(null),(n===null||!d?Promise.resolve(t??""):d(n)).then((m)=>{if(!s)f(m)},(m)=>{if(!s)w(String(m))}),()=>{s=!0}},[n,t,M,d]);let k=n===null||!e.openPath&&!e.revealPath&&!e.copyText?null:a(P,{children:[o(z,{render:o(x,{variant:"ghost",size:"icon-sm","aria-label":r("plugins.card.moreActions")}),children:o(y,{})}),a(b,{align:"end",children:[e.openPath&&o(g,{onClick:()=>void Te(e,e.openPath(n)),children:r("plugins.skills.document.open")}),e.revealPath&&o(g,{onClick:()=>void Te(e,e.revealPath(n)),children:r("plugins.skills.document.reveal")}),e.copyText&&o(g,{disabled:u===null,onClick:()=>{if(u!==null)Te(e,e.copyText(u))},children:r("plugins.skills.document.copy")})]})]});return a(F,{children:[i?i(k):o("div",{className:"flex justify-end",children:k}),o(h,{className:"skill-document bg-muted/50 h-[45dvh] min-h-32 min-w-0 flex-none rounded-xl pe-0",viewportClassName:"overscroll-contain p-5 text-sm leading-6",viewportProps:{role:"region",tabIndex:0,"aria-label":r("plugins.skills.document.content")},children:v?a("div",{role:"alert",className:"space-y-3",children:[a("p",{className:"text-destructive text-sm break-words",children:[r("plugins.skills.document.error"),": ",v]}),o(x,{variant:"outline",size:"sm",onClick:()=>N((s)=>s+1),children:r("plugins.loadError.retry")})]}):u===null?a("div",{role:"status","aria-label":r("plugins.skills.loading"),className:"space-y-3",children:[o(c,{className:"h-6 w-1/3"}),o(c,{className:"h-4 w-full"}),o(c,{className:"h-4 w-full"}),o(c,{className:"h-4 w-2/3"})]}):o(it,{text:Hn(u),host:{theme:e.theme,copyLabel:r("plugins.copy"),openLink:(s)=>e.openLink(/^(?:[a-z][a-z\d+.-]*:|\/|#)/i.test(s)||n===null?s:I(`${C(n)}/${s}`))}})})]})}
|
|
2
|
+
export{Hn,de};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
async function
|
|
2
|
-
export{
|
|
1
|
+
async function Eo(g,u){try{let a=await(await fetch(g)).blob(),s=u??a.type??"";if(!s.startsWith("image/"))return new Promise((e)=>{let t=new FileReader;t.onloadend=()=>e(t.result),t.onerror=()=>e(null),t.readAsDataURL(a)});let w=s.includes("svg"),n,r,o;if(w){let e=new Image,t=URL.createObjectURL(a);e.src=t;try{await new Promise((h,f)=>{e.onload=()=>h(),e.onerror=()=>f(Error("svg load failed"))})}finally{URL.revokeObjectURL(t)}r=e.naturalWidth||1024,o=e.naturalHeight||1024,n=e}else{let e=await createImageBitmap(a);r=e.width,o=e.height,n=e}let i=Math.min(1,2000/Math.max(r,o)),c=Math.round(r*i),l=Math.round(o*i),d=new OffscreenCanvas(c,l),m=d.getContext("2d");if(!m)throw Error("image-encode: OffscreenCanvas 2d context 不可用");if(m.drawImage(n,0,0,c,l),n instanceof ImageBitmap)n.close();let b=await d.convertToBlob({type:"image/webp",quality:0.85});return new Promise((e)=>{let t=new FileReader;t.onloadend=()=>e(t.result),t.onerror=()=>e(null),t.readAsDataURL(b)})}catch{return null}}
|
|
2
|
+
export{Eo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
class s{worker=new Worker(new URL("@alwith/module-chat/code-highlighter.worker",import.meta.url),{type:"module"});clients=new Map;pending=new Map;active=null;failure=null;nextClientId=0;constructor(){this.worker.onmessage=(i)=>{let e=this.active,t=i.data;if(t.clientId!==e?.clientId||t.revision!==e.revision){this.fail(Error("Code highlighting worker returned an unexpected request"));return}if(this.active=null,!t.ok){this.fail(Error(t.error));return}let r=this.clients.get(e.clientId);if(r?.revision===e.revision)r.onResult({code:e.code,language:e.language,html:t.html});this.dispatch()},this.worker.onerror=(i)=>this.fail(Error(i.message)),this.worker.onmessageerror=()=>this.fail(Error("Cannot deserialize code highlighting result"))}fail(i){this.failure=i,this.worker.terminate(),this.pending.clear(),this.active=null;for(let e of this.clients.values())e.onError(i)}dispatch(){if(this.active!==null||this.pending.size===0)return;let i=this.pending.values().next().value;this.pending.delete(i.clientId),this.active=i;try{this.worker.postMessage(i)}catch(e){this.fail(e instanceof Error?e:Error(String(e)))}}connect(i,e){if(this.failure!==null)throw this.failure;let t=++this.nextClientId,r={revision:0,onResult:i,onError:e};return this.clients.set(t,r),{update:(o,l)=>{if(this.failure!==null)throw this.failure;r.revision+=1,this.pending.set(t,{clientId:t,revision:r.revision,code:o,language:l}),this.dispatch()},dispose:()=>{if(this.clients.delete(t),this.pending.delete(t),this.clients.size===0)this.worker.terminate(),n=void 0}}}}var n;function
|
|
2
|
-
export{
|
|
1
|
+
class s{worker=new Worker(new URL("@alwith/module-chat/code-highlighter.worker",import.meta.url),{type:"module"});clients=new Map;pending=new Map;active=null;failure=null;nextClientId=0;constructor(){this.worker.onmessage=(i)=>{let e=this.active,t=i.data;if(t.clientId!==e?.clientId||t.revision!==e.revision){this.fail(Error("Code highlighting worker returned an unexpected request"));return}if(this.active=null,!t.ok){this.fail(Error(t.error));return}let r=this.clients.get(e.clientId);if(r?.revision===e.revision)r.onResult({code:e.code,language:e.language,html:t.html});this.dispatch()},this.worker.onerror=(i)=>this.fail(Error(i.message)),this.worker.onmessageerror=()=>this.fail(Error("Cannot deserialize code highlighting result"))}fail(i){this.failure=i,this.worker.terminate(),this.pending.clear(),this.active=null;for(let e of this.clients.values())e.onError(i)}dispatch(){if(this.active!==null||this.pending.size===0)return;let i=this.pending.values().next().value;this.pending.delete(i.clientId),this.active=i;try{this.worker.postMessage(i)}catch(e){this.fail(e instanceof Error?e:Error(String(e)))}}connect(i,e){if(this.failure!==null)throw this.failure;let t=++this.nextClientId,r={revision:0,onResult:i,onError:e};return this.clients.set(t,r),{update:(o,l)=>{if(this.failure!==null)throw this.failure;r.revision+=1,this.pending.set(t,{clientId:t,revision:r.revision,code:o,language:l}),this.dispatch()},dispose:()=>{if(this.clients.delete(t),this.pending.delete(t),this.clients.size===0)this.worker.terminate(),n=void 0}}}}var n;function Ci(i,e){return n??=new s,n.connect(i,e)}
|
|
2
|
+
export{Ci};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as f}from"cn";import{jsx as e,jsxs as a,Fragment as v}from"react/jsx-runtime";function
|
|
2
|
-
export{
|
|
1
|
+
import{cn as f}from"cn";import{jsx as e,jsxs as a,Fragment as v}from"react/jsx-runtime";function Mt({title:r,titleIcon:t,body:o,rows:d,details:n,actions:s}){return a("div",{"data-slot":"hover-info-card",className:"flex flex-col gap-1.5",children:[a("div",{"data-slot":"hover-info-card-summary",className:"flex min-w-0 flex-col gap-1",children:[a("div",{"data-slot":"hover-info-card-title-row",className:"flex min-w-0 items-center gap-1.5",children:[t!=null&&e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t}),e("div",{"data-slot":"hover-info-card-title",className:"text-foreground line-clamp-2 min-w-0 flex-1 text-sm break-words",children:r})]}),o!=null&&e("div",{"data-slot":"hover-info-card-body",className:"text-muted-foreground line-clamp-2 text-xs break-words",children:o}),e(i,{rows:d})]}),n!=null&&n.length>0&&e("div",{"data-slot":"hover-info-card-details",className:"flex min-w-0 flex-col gap-1.5",children:e(i,{rows:n})}),s!=null&&a(v,{children:[e("div",{"data-slot":"hover-info-card-separator",className:"bg-border -mx-3 mt-1.5 h-px"}),e("div",{"data-slot":"hover-info-card-actions",className:"-mx-1 flex flex-col",children:s})]})]})}function i({rows:r}){return r?.map((t,o)=>a("div",{"data-slot":"hover-info-card-row",className:"text-muted-foreground flex items-start gap-1.5 text-xs",children:[e("span",{"data-slot":"hover-info-card-icon",className:"flex h-5 w-4 shrink-0 items-center justify-center",children:t.icon}),e("span",{className:"min-w-0 break-all",children:t.text})]},o))}function A({icon:r,label:t,trailing:o,disabled:d,onClick:n,variant:s="default",className:l,...c}){return a("button",{...c,"data-slot":"hover-info-card-action","data-variant":s,type:"button",disabled:d,onClick:n,className:f("text-foreground hover:bg-foreground/5 active:bg-foreground/10 flex h-8 w-full items-center gap-2 rounded-sm px-2 text-start text-sm font-normal disabled:pointer-events-none disabled:opacity-50","[&_svg]:size-4 [&_svg]:shrink-0",s==="destructive"?"text-destructive [&_svg]:text-destructive":"[&_svg]:text-muted-foreground",l),children:[r,e("span",{className:"min-w-0 flex-1 truncate",children:t}),o]})}
|
|
2
|
+
export{Mt,A};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gi}from"./chunk-50brsmjd.js";import{createContext as s,useContext as l,useSyncExternalStore as m}from"react";import{jsx as r}from"react/jsx-runtime";var c=s(null),u=s(null);function ke({host:e,client:i,children:o}){return r(Gi,{host:e,children:r(c,{value:e,children:r(u,{value:i,children:o})})})}function t(){let e=l(c);if(e===null)throw Error("Timeline host is missing");return e}function Se(){let e=l(u);if(e===null)throw Error("Timeline client is missing");return e}function Y(e,i){return m((o)=>e.subscribe(o),()=>i(e.getState()),()=>i(e.getState()))}function n(e){let i=Se();return Y(i.store,e)}function st(e,i){if(e.reportError)e.reportError(i);else console.error(i)}
|
|
2
|
+
export{ke,t,Se,Y,n,st};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
export{
|
|
1
|
+
var M="collection-default";function q(o,e){return o.id==="collection-default"?e("collection.defaultFavorites"):o.name}function Ne(){return{collections:{["collection-default"]:{id:"collection-default",name:"",nameIsCustom:!1,collapsed:!1,sessionIds:[]}},order:["collection-default"],sessionMeta:{}}}function It(o,e){let i={...o.collections},l=(s,n)=>{if(!i[s])throw Error(`Collection missing: ${s}`);i[s]={...i[s],...n}},r=(s,n)=>l(s,{sessionIds:i[s].sessionIds.filter((d)=>d!==n)}),t=(s,n)=>{let d=i[s];if(!d)throw Error(`Collection missing: ${s}`);for(let c of o.order)if(c!==s&&i[c].sessionIds.includes(n))r(c,n);if(!d.sessionIds.includes(n))l(s,{sessionIds:[...d.sessionIds,n],collapsed:!1})};switch(e.type){case"create":{if(!e.name.trim())throw Error("Collection name is empty");if(i[e.id]={id:e.id,name:e.name.trim(),...e.emoji===void 0?{}:{emoji:e.emoji},collapsed:!1,sessionIds:[]},e.sessionId!==void 0){if(e.sourceCollectionId!==void 0)r(e.sourceCollectionId,e.sessionId);t(e.id,e.sessionId)}return{...o,collections:i,order:[...o.order,e.id]}}case"rename":if(e.id==="collection-default")throw Error("Default collection cannot be renamed");if(!e.name.trim())throw Error("Collection name is empty");l(e.id,{name:e.name.trim(),nameIsCustom:!0,...e.emoji===void 0?{}:{emoji:e.emoji}});break;case"collapse":l(e.id,{collapsed:e.collapsed});break;case"emoji":l(e.id,{emoji:e.emoji});break;case"clear":l(e.id,{sessionIds:[]});break;case"delete":if(e.id==="collection-default")throw Error("Default collection cannot be deleted");return delete i[e.id],{...o,collections:i,order:o.order.filter((s)=>s!==e.id)};case"add":t(e.collectionId,e.sessionId);break;case"materialize":return t(e.collectionId,e.sessionId),{...o,collections:i,sessionMeta:{...o.sessionMeta,[e.sessionId]:{...o.sessionMeta[e.sessionId],cwd:e.cwd}}};case"move":{r(e.sourceCollectionId,e.sessionId),t(e.collectionId,e.sessionId);let n=i[e.collectionId].sessionIds.filter((d)=>d!==e.sessionId);n.splice(e.index??n.length,0,e.sessionId),l(e.collectionId,{sessionIds:n,collapsed:!1});break}case"reorder":{if(e.id==="collection-default")throw Error("Default collection cannot be reordered");let s=o.order.filter((n)=>n!==e.id);return s.splice(e.index,0,e.id),{...o,order:s}}case"forget":{for(let n of o.order)r(n,e.sessionId);let s={...o.sessionMeta};return delete s[e.sessionId],{...o,collections:i,sessionMeta:s}}case"remove":for(let s of e.collectionId===void 0?o.order:[e.collectionId])r(s,e.sessionId);break;case"favorite":if(o.order.some((s)=>i[s].sessionIds.includes(e.sessionId)))for(let s of o.order)r(s,e.sessionId);else t("collection-default",e.sessionId);break;case"meta":{let s=o.sessionMeta[e.sessionId],n={...s};if(e.meta.cwd!==void 0)n.cwd=e.meta.cwd;if(e.meta.title!==void 0&&!s?.titleOverride)n.title=e.meta.title;if(s?.cwd===n.cwd&&s?.title===n.title)return o;return{...o,sessionMeta:{...o.sessionMeta,[e.sessionId]:n}}}case"renameSession":{let s=e.title.trim();return{...o,sessionMeta:{...o.sessionMeta,[e.sessionId]:{...o.sessionMeta[e.sessionId],title:s||void 0,titleOverride:s.length>0}}}}}return{...o,collections:i}}function rr(o,e=Ne()){let i={collections:{...e.collections},order:[...e.order],sessionMeta:{...e.sessionMeta}};for(let l of o){for(let[r,t]of Object.entries(l.sessionMeta??{})){let s=i.sessionMeta[r];i.sessionMeta[r]=s?.titleOverride?{...t,...s}:{...s,...t}}for(let r of l.order){if(r==="collection-default")continue;let t=l.collections[r];if(!t)throw Error(`Persisted collection missing: ${r}`);let s=i.collections[r];if(i.collections[r]={...t,...e.collections[r],sessionIds:[...new Set([...s?.sessionIds??[],...t.sessionIds??[]])]},!i.order.includes(r))i.order.push(r)}}return i}
|
|
2
|
+
export{M,q,Ne,It,rr};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as S,useLayoutEffect as C,useRef as I,useState as h}from"react";import{jsx as b}from"react/jsx-runtime";var y=30,i=32,g=6;function
|
|
2
|
-
export{
|
|
1
|
+
import{useCallback as S,useLayoutEffect as C,useRef as I,useState as h}from"react";import{jsx as b}from"react/jsx-runtime";var y=30,i=32,g=6;function rn({sessionRows:t,viewport:r,renderRow:u}){let o=I(null),[c,m]=h({start:0,end:g}),[d,R]=h(()=>new Set),[E,M]=h(null),v=S((e,n)=>{R((a)=>{if(a.has(e)===n)return a;let l=new Set(a);if(n)l.add(e);else l.delete(e);return l})},[]),f=S(()=>{if(o.current===null||r===null)return;let e=r.getBoundingClientRect().top+r.clientTop-o.current.getBoundingClientRect().top,n=Math.max(0,Math.min(t.length,Math.floor(e/i)-g)),a=Math.max(n,Math.min(t.length,Math.ceil((e+r.clientHeight)/i)+g));m((l)=>l.start===n&&l.end===a?l:{start:n,end:a})},[t.length,r]);C(()=>f()),C(()=>{if(r===null)return;let e,n=()=>{if(e!==void 0)return;e=requestAnimationFrame(()=>{e=void 0,f()})},a=new ResizeObserver(n);if(a.observe(r),r.firstElementChild)a.observe(r.firstElementChild);return r.addEventListener("scroll",n,{passive:!0}),()=>{if(a.disconnect(),r.removeEventListener("scroll",n),e!==void 0)cancelAnimationFrame(e)}},[f,r]);let s=new Set;for(let e=c.start;e<Math.min(c.end,t.length);e++)s.add(e);if(t.length>0)s.add(0),s.add(t.length-1);if(t.forEach((e,n)=>{if(d.has(e.sessionId))s.add(n);if(E===e.sessionId)for(let a=Math.max(0,n-1);a<=Math.min(t.length-1,n+1);a++)s.add(a)}),t.length===0)return null;return b("div",{ref:o,"data-slot":"virtual-session-rows","data-count":t.length,className:"relative w-full",style:{height:t.length*i-(i-y)},children:[...s].toSorted((e,n)=>e-n).map((e)=>{let n=t[e];return b(T,{sessionRow:n,index:e,retainCard:v,onFocus:M,renderRow:u},n.sessionId)})})}function T({sessionRow:t,index:r,retainCard:u,onFocus:o,renderRow:c}){let m=S((d)=>u(t.sessionId,d),[u,t.sessionId]);return b("div",{"data-slot":"virtual-session-row",className:"absolute inset-x-0",style:{top:r*i,height:y},onFocusCapture:()=>o(t.sessionId),onBlurCapture:(d)=>{if(!d.currentTarget.contains(d.relatedTarget))o(null)},children:c(t,m)})}
|
|
2
|
+
export{rn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as f,useState as r}from"react";var t=new Map;function
|
|
2
|
-
export{
|
|
1
|
+
import{useCallback as f,useState as r}from"react";var t=new Map;function V(o,e,a=!1){let[p,S]=r(()=>({key:o,expanded:t.get(o)??e})),n=p.expanded;if(p.key!==o||a&&!t.has(o)&&n!==e)n=t.get(o)??e,S({key:o,expanded:n});let k=f((c)=>{S((s)=>{let b=s.key===o?s.expanded:t.get(o)??e,d=typeof c==="function"?c(b):c;return t.set(o,d),s.key===o?{key:o,expanded:d}:s})},[o,e]);return[n,k]}
|
|
2
|
+
export{V};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{k}from"./chunk-4kevwekp.js";import{r}from"./chunk-tggrc8e5.js";import{CircleHelpIcon as m}from"lucide-react";import{useRef as c,useState as p}from"react";import{Button as f}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as h,DropdownMenuContent as g,DropdownMenuTrigger as w}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{jsx as e,jsxs as M}from"react/jsx-runtime";function ur({children:l}){let{t:n}=r(),[o,u]=p(!1),t=c(null),[a,d]=p();return k(o),M(h,{open:o,onOpenChange:(i)=>{if(i){let s=t.current?.parentElement;if(!s)throw Error("Help trigger must be mounted in its footer row");d(s.clientWidth)}u(i)},children:[e(w,{render:e(f,{ref:t,variant:"ghost",size:"icon-sm",className:"size-[var(--navigation-row-height,30px)] shrink-0 rounded-[10px] p-0 [corner-shape:superellipse(1.5)]","aria-label":n("sessionList.help"),title:n("sessionList.help")}),children:e(m,{className:"size-4 shrink-0"})}),e(g,{side:"top",align:"end",sideOffset:8,style:{width:a},children:l})]})}
|
|
2
|
+
export{ur};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as l,useSyncExternalStore as d}from"react";var
|
|
2
|
-
export{
|
|
1
|
+
import{useCallback as l,useSyncExternalStore as d}from"react";var Be="chat.modelAliases",c={},r="gateway:alwith-managed-litellm:";function o(e){if(e===void 0)return c;if(typeof e!=="object"||e===null||Array.isArray(e)||Object.entries(e).some(([t,n])=>!t.startsWith(r)||t.length===r.length||typeof n!=="string"||!n.trim()||n.length>100))throw Error("Invalid model aliases");return e}function ft(e){let t=l((n)=>e.subscribe((s)=>{if(s.includes(Be))n()}),[e]);return d(t,()=>o(e.get(Be)))}async function ht(e,t,n){if(!t.startsWith(r)||t.length===r.length)throw Error("Invalid ALwith model ID");let s=await e.read(),i={...o(s.values[Be])},a=n.trim();if(a)i[t]=a;else delete i[t];o(i),await e.write({action:"update",expectedRevision:s.revision,changes:{[Be]:i}})}
|
|
2
|
+
export{Be,ft,ht};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Questionnaire as r}from"@shadcn/react/questionnaire";import{useEffect as N,useId as v,useRef as b}from"react";import{Button as k}from"@nyssance/shadcn/vega/components/ui/button";import{Textarea as R}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as i,jsxs as c,Fragment as
|
|
1
|
+
import{Questionnaire as r}from"@shadcn/react/questionnaire";import{useEffect as N,useId as v,useRef as b}from"react";import{Button as k}from"@nyssance/shadcn/vega/components/ui/button";import{Textarea as R}from"@nyssance/shadcn/vega/components/ui/textarea";import{jsx as i,jsxs as c,Fragment as S}from"react/jsx-runtime";function p(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function _(e){if(!p(e)||!p(e.codex))return[];let n=e.codex,o=n.questions;if(n.delivery!=="async"||!Array.isArray(o))return[];if(!o.every((t)=>p(t)&&typeof t.title==="string"&&t.title.trim().length>0&&(t.options===null||Array.isArray(t.options)&&t.options.every((m)=>typeof m==="string"))))return[];return o}function An(e,n){return JSON.stringify(["request_user_input_async",e,n])}function Ai(e){return{selected:e.options?.length?0:null,text:""}}function Yt(e,n){return n.selected===null?n.text:e.options?.[n.selected]??""}function Ei(e){return`<send_user_message_question_reply>
|
|
2
2
|
${JSON.stringify([e])}
|
|
3
|
-
</send_user_message_question_reply>`}function
|
|
4
|
-
export{
|
|
3
|
+
</send_user_message_question_reply>`}function En(e){if(!p(e)||!p(e.codex))return[];let n=e.codex;return(Array.isArray(n.questionReplyParts)?n.questionReplyParts.map((t)=>p(t)?{...t,answer:t.text}:t):[n.questionReply]).filter((t)=>p(t)&&typeof t.questionItemId==="string"&&typeof t.question==="string"&&typeof t.answer==="string").map(({questionItemId:t,question:m,answer:y})=>({questionItemId:t,question:m,answer:y}))}function Li({question:e,draft:n,status:o,answer:t,error:m,onChange:y,onSubmit:x,onSkip:C,t:u}){let g=v(),h=b(!1),a=b(null);N(()=>()=>{if(a.current!==null)cancelAnimationFrame(a.current)},[]);let l=o==="pending",A=o==="answered"||o==="skipped",f=e.options??[],w=l&&Yt(e,n).trim().length>0,Q="flex cursor-pointer items-start gap-2 text-sm in-data-readonly:cursor-default in-data-readonly:opacity-50";return i("section",{"aria-labelledby":`${g}-title`,className:"border-border bg-card text-card-foreground flex min-w-0 flex-col gap-3 rounded-xl border p-4",children:A?c(S,{children:[i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap",children:e.title}),i("p",{className:"text-sm whitespace-pre-wrap",children:o==="answered"?t:u("asyncQuestion.skipped")})]}):c(r.Root,{items:f.length>0?[{name:"answer",choices:[...f.map((s,d)=>({value:String(d)})),{value:"other"}]}]:void 0,shortcuts:"letters",noValidate:!0,className:"flex min-w-0 flex-col gap-3",onSubmit:(s)=>{if(s.preventDefault(),w)x()},children:[c(r.Item,{name:"answer",className:"m-0 flex min-w-0 flex-col gap-3 border-0 p-0",children:[i(r.Title,{render:i("h3",{id:`${g}-title`,className:"text-sm font-medium whitespace-pre-wrap"}),children:e.title}),f.length>0&&c(r.Choices,{className:"flex flex-col gap-2","aria-disabled":!l||void 0,"data-readonly":!l||void 0,children:[f.map((s,d)=>c(r.Choice,{value:String(d),checked:n.selected===d,onChange:()=>l&&y({...n,selected:d}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{className:"whitespace-pre-wrap",children:s})]},d)),c(r.Choice,{value:"other",checked:n.selected===null,onChange:()=>l&&y({...n,selected:null}),className:Q,children:[i(r.ChoiceInput,{className:"accent-primary mt-0.5 size-4 shrink-0"}),i(r.ChoiceShortcut,{className:"text-muted-foreground w-4 shrink-0 font-mono text-xs uppercase"}),i(r.ChoiceLabel,{children:u("asyncQuestion.other")})]})]}),i(r.Input,{render:i(R,{rows:1,className:"min-h-0 resize-none"}),onCompositionStart:()=>{if(a.current!==null)cancelAnimationFrame(a.current);a.current=null,h.current=!0},onCompositionEnd:()=>{if(h.current=!1,a.current!==null)cancelAnimationFrame(a.current);a.current=requestAnimationFrame(()=>{a.current=null})},onKeyDown:(s)=>{if(s.key==="Enter")s.stopPropagation();if(s.key!=="Enter"||s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||h.current||a.current!==null||s.nativeEvent.isComposing||s.nativeEvent.keyCode===229)return;if(s.preventDefault(),l&&Yt(e,{...n,text:s.currentTarget.value}).trim().length>0)x()},"aria-label":u("asyncQuestion.answer"),placeholder:u("asyncQuestion.answer"),value:n.text,readOnly:!l,onChange:(s)=>y({selected:null,text:s.target.value})}),m&&i("p",{role:"alert",className:"text-destructive text-sm",children:m})]}),c("div",{className:"flex flex-wrap items-center gap-2",children:[i(r.Submit,{render:i(k,{size:"sm"}),disabled:!w,children:u(o==="submitting"?"asyncQuestion.submitting":"asyncQuestion.submit")}),i(r.Skip,{render:i(k,{size:"sm",variant:"ghost"}),disabled:!l,onClick:C,children:u("asyncQuestion.skip")}),(o==="closed"||o==="unavailable")&&i("span",{role:"status",className:"text-muted-foreground text-xs",children:u(`asyncQuestion.${o}`)})]})]})})}
|
|
4
|
+
export{_,An,Ai,Yt,Ei,En,Li};
|