@alwith/module-chat 0.6.10 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/dist/activity-host.js +1 -1
- package/dist/app-reference.d.ts +9 -0
- package/dist/app-reference.js +1 -0
- 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-vw7pqffn.js → chunk-06yzz0yx.js} +2 -2
- package/dist/chunk-0aqnqk7b.js +2 -0
- package/dist/{chunk-q6ymd3n1.js → chunk-0d0bfb8e.js} +2 -2
- package/dist/chunk-0r4b11t4.js +2 -0
- package/dist/chunk-0srja8yh.js +2 -0
- package/dist/{chunk-4jh2wk80.js → chunk-0xmj4d4z.js} +2 -2
- package/dist/chunk-1647cyqx.js +2 -0
- package/dist/{chunk-4bba521x.js → chunk-19yjze8m.js} +5 -5
- package/dist/{chunk-ttk7b5mr.js → chunk-1axvr26t.js} +2 -2
- package/dist/{chunk-8fnjpx11.js → chunk-1bt8a25d.js} +2 -2
- package/dist/chunk-1g54ee1j.js +2 -0
- package/dist/{chunk-ss918bxh.js → chunk-1mf3b58j.js} +2 -2
- package/dist/{chunk-q4rad054.js → chunk-1sxmqb44.js} +2 -2
- package/dist/{chunk-7mfkaftt.js → chunk-1tb3d2x4.js} +2 -2
- package/dist/chunk-1ye5ygbk.js +2 -0
- package/dist/chunk-24dqkjvg.js +2 -0
- package/dist/chunk-26bm75r2.js +2 -0
- package/dist/{chunk-f2a9rqfz.js → chunk-2761tcb3.js} +2 -2
- package/dist/{chunk-4jb5eb68.js → chunk-290e7g1q.js} +2 -2
- package/dist/chunk-2s5598rk.js +2 -0
- package/dist/{chunk-xrsa8v3g.js → chunk-2wex96dp.js} +2 -2
- package/dist/{chunk-khdjy444.js → chunk-3ab38s9g.js} +2 -2
- package/dist/{chunk-ny85vn0b.js → chunk-3ddgyzhz.js} +3 -3
- package/dist/chunk-3kzmec3f.js +2 -0
- package/dist/{chunk-qdw6bkg1.js → chunk-3pcbgsm6.js} +2 -2
- package/dist/{chunk-2wqn18x2.js → chunk-3tsy36rq.js} +2 -2
- package/dist/chunk-4gstmex3.js +2 -0
- package/dist/chunk-52tcfvz0.js +2 -0
- package/dist/{chunk-18j37y1m.js → chunk-53ptmmsx.js} +2 -2
- package/dist/chunk-5q0kb3yb.js +2 -0
- package/dist/{chunk-48fj5m0p.js → chunk-5s85tvas.js} +2 -2
- package/dist/chunk-5y5b3w22.js +2 -0
- package/dist/{chunk-xphfecws.js → chunk-5ykpe629.js} +2 -2
- package/dist/{chunk-23g1j51d.js → chunk-5zq0s9fd.js} +3 -3
- package/dist/chunk-677dyzb1.js +4 -0
- package/dist/chunk-6cbj9r2x.js +2 -0
- package/dist/{chunk-4nnyn9b2.js → chunk-6fvrhr9x.js} +2 -2
- package/dist/chunk-6g5z3pff.js +2 -0
- package/dist/chunk-6tkjdrnj.js +2 -0
- package/dist/chunk-6z3nch41.js +1 -0
- package/dist/{chunk-gt343hrf.js → chunk-782x5ryb.js} +2 -2
- package/dist/chunk-799h4586.js +2 -0
- package/dist/{chunk-76a04a6j.js → chunk-7cj104ba.js} +2 -2
- package/dist/chunk-7m08m4m1.js +2 -0
- package/dist/chunk-7p3nx5bx.js +2 -0
- package/dist/chunk-7qmj50a2.js +2 -0
- package/dist/{chunk-xmt5r1xe.js → chunk-7wgt5rjw.js} +2 -2
- package/dist/{chunk-7d7rq137.js → chunk-7wj3dcpj.js} +2 -2
- package/dist/chunk-7xc69d48.js +2 -0
- package/dist/chunk-844s61q1.js +2 -0
- package/dist/chunk-87br10bq.js +2 -0
- package/dist/chunk-88j29hzx.js +2 -0
- package/dist/chunk-8a1th59e.js +2 -0
- package/dist/{chunk-jxgn4r9q.js → chunk-8c7x6vrs.js} +3 -3
- package/dist/{chunk-d9mmpjrr.js → chunk-8jgstab4.js} +2 -2
- package/dist/{chunk-k7y6dqf2.js → chunk-8pdapsc7.js} +2 -2
- package/dist/{chunk-rzx4tyx8.js → chunk-8t1brzbh.js} +2 -2
- package/dist/chunk-8wydj0hv.js +2 -0
- package/dist/{chunk-2vq4ee43.js → chunk-8xn58z0x.js} +3 -3
- package/dist/{chunk-0bqjz323.js → chunk-9he6963p.js} +2 -2
- package/dist/chunk-9n2wwk4g.js +2 -0
- package/dist/{chunk-91ppvzvv.js → chunk-a953k2dj.js} +3 -3
- package/dist/chunk-aardrb6e.js +2 -0
- package/dist/{chunk-1jae0var.js → chunk-acmc2r2s.js} +3 -3
- package/dist/chunk-akk3k2sc.js +4 -0
- package/dist/chunk-b0bd8abz.js +2 -0
- package/dist/{chunk-hx3mqvkw.js → chunk-b8c460mr.js} +2 -2
- package/dist/{chunk-czp860hf.js → chunk-ba4fa6fc.js} +2 -2
- package/dist/{chunk-4ytrtcdb.js → chunk-bp6f5tv8.js} +2 -2
- package/dist/chunk-bqdnxftw.js +2 -0
- package/dist/{chunk-9cqpn67f.js → chunk-btrg3ywt.js} +2 -2
- package/dist/chunk-bv175dn9.js +2 -0
- package/dist/{chunk-ne804jep.js → chunk-cctw9m9a.js} +2 -2
- package/dist/{chunk-vdjhch6s.js → chunk-cdgfr4n0.js} +2 -2
- package/dist/{chunk-y583je9q.js → chunk-cqskn18r.js} +2 -2
- package/dist/chunk-crg1ttkp.js +2 -0
- package/dist/{chunk-n14f6z0f.js → chunk-cx1sg5dt.js} +2 -2
- package/dist/{chunk-v931rjk2.js → chunk-d51rg15n.js} +2 -2
- package/dist/chunk-der9jtk9.js +2 -0
- package/dist/{chunk-0e6fsbhg.js → chunk-djk0ebpk.js} +2 -2
- package/dist/{chunk-x210arqv.js → chunk-eeqppv9j.js} +3 -3
- package/dist/chunk-eg9c12vk.js +2 -0
- package/dist/{chunk-6k7249zb.js → chunk-ehhzhjyb.js} +2 -2
- package/dist/{chunk-h4r8cx37.js → chunk-ex20n22v.js} +2 -2
- package/dist/{chunk-118vx38k.js → chunk-f2wy8jza.js} +2 -2
- package/dist/{chunk-z4jk07k1.js → chunk-f8tv9m81.js} +2 -2
- package/dist/{chunk-stqqrke0.js → chunk-fgre64ge.js} +2 -2
- package/dist/chunk-fkmka3v9.js +2 -0
- package/dist/{chunk-4cb0c8ae.js → chunk-fnvjemhq.js} +2 -2
- package/dist/chunk-fp3rp1qc.js +2 -0
- package/dist/{chunk-snd4q8wg.js → chunk-ggkjq8rk.js} +2 -2
- package/dist/{chunk-1zfg0nxv.js → chunk-gnpvd7wg.js} +2 -2
- package/dist/{chunk-yftn8cw0.js → chunk-h1embxgj.js} +2 -2
- package/dist/chunk-h9rwby5r.js +2 -0
- package/dist/chunk-hhdeh622.js +2 -0
- package/dist/chunk-hqdbv5hw.js +2 -0
- package/dist/chunk-j5trhvx8.js +4 -0
- package/dist/{chunk-wq9hmwvb.js → chunk-j71h60r0.js} +2 -2
- package/dist/{chunk-vfkhj17k.js → chunk-j7w4jr8y.js} +2 -2
- package/dist/{chunk-x15sq8ff.js → chunk-jgseey5x.js} +3 -3
- package/dist/{chunk-42v3qgdq.js → chunk-jpm15hcd.js} +2 -2
- package/dist/{chunk-3k1vzaxd.js → chunk-jzyj96ws.js} +2 -2
- package/dist/{chunk-ynfp9w3s.js → chunk-k5cjaeza.js} +2 -2
- package/dist/{chunk-yqnjd8mp.js → chunk-kgjdh49d.js} +2 -2
- package/dist/{chunk-jnpb9sqy.js → chunk-m7exm1n3.js} +5 -5
- package/dist/{chunk-ccmcm6sv.js → chunk-mdp2zdqm.js} +2 -2
- package/dist/{chunk-f17jdv7p.js → chunk-mmywt5fq.js} +2 -2
- package/dist/{chunk-fqgz93sy.js → chunk-mxh0vcye.js} +2 -2
- package/dist/chunk-mz8tjgre.js +2 -0
- package/dist/{chunk-5e5hvfzj.js → chunk-mzwwsacy.js} +2 -2
- package/dist/{chunk-ewjh6s2b.js → chunk-n13y99dj.js} +2 -2
- package/dist/chunk-nktaekpq.js +2 -0
- package/dist/chunk-nrvd7njv.js +2 -0
- package/dist/{chunk-5pk4srmv.js → chunk-nxjr0z23.js} +2 -2
- package/dist/chunk-p95ndy0b.js +3 -0
- package/dist/{chunk-7zsa59w7.js → chunk-pfqz31kk.js} +2 -2
- package/dist/{chunk-qephgzb6.js → chunk-pjgym6rx.js} +2 -2
- package/dist/{chunk-va11ek5z.js → chunk-pnavf2zs.js} +2 -2
- package/dist/{chunk-xnszvze2.js → chunk-pr5wv14q.js} +2 -2
- package/dist/{chunk-fw2jj4hh.js → chunk-q2z9w661.js} +2 -2
- package/dist/{chunk-k4dg1jep.js → chunk-q4f8zazc.js} +2 -2
- package/dist/chunk-qyj4d255.js +5 -0
- package/dist/chunk-r29b0ap8.js +2 -0
- package/dist/{chunk-7x150rqz.js → chunk-r6b9fdnm.js} +2 -2
- package/dist/{chunk-0aakfvnm.js → chunk-r9ny4bqk.js} +2 -2
- package/dist/{chunk-vttgk30b.js → chunk-r9szj8sp.js} +2 -2
- package/dist/{chunk-tv1frh1m.js → chunk-rb4p3h5b.js} +2 -2
- package/dist/{chunk-ydxrj4as.js → chunk-rge2pazt.js} +2 -2
- package/dist/chunk-rgn6pdaa.js +2 -0
- package/dist/chunk-rhcpe6m6.js +2 -0
- package/dist/{chunk-9098ssbp.js → chunk-rhxyb55x.js} +2 -2
- package/dist/{chunk-3b6m3wgn.js → chunk-rq7t6qry.js} +2 -2
- package/dist/{chunk-7nckaz1t.js → chunk-rtdjp07m.js} +2 -2
- package/dist/{chunk-gbsqs904.js → chunk-rvbbb9rf.js} +2 -2
- package/dist/chunk-rvjfb004.js +2 -0
- package/dist/{chunk-rkww8p94.js → chunk-rwh1yvqn.js} +2 -2
- package/dist/chunk-s267ztm1.js +2 -0
- package/dist/{chunk-ktknydpy.js → chunk-s4v10afm.js} +3 -3
- package/dist/{chunk-8n1rq3xt.js → chunk-sjes4cxr.js} +2 -2
- package/dist/chunk-snee6rb9.js +5 -0
- package/dist/{chunk-hpjh92s8.js → chunk-st0gd22t.js} +2 -2
- package/dist/{chunk-zyjcpz4s.js → chunk-sygx6n0s.js} +2 -2
- package/dist/chunk-t3sqxded.js +2 -0
- package/dist/chunk-tbv1mfdg.js +3 -0
- package/dist/{chunk-rnb0q6bt.js → chunk-tme1d6xh.js} +2 -2
- package/dist/{chunk-0f4hevya.js → chunk-v28fv6c4.js} +2 -2
- package/dist/chunk-vdc46qt2.js +2 -0
- package/dist/{chunk-kc56dhwd.js → chunk-vk7kqa6a.js} +2 -2
- package/dist/{chunk-as79cv4d.js → chunk-vkbaa74h.js} +2 -2
- package/dist/{chunk-ncs6yc8v.js → chunk-vpzjhbfa.js} +2 -2
- package/dist/chunk-vxexg361.js +2 -0
- package/dist/chunk-vxn8gfy4.js +2 -0
- package/dist/{chunk-1341xyde.js → chunk-wj2xjzds.js} +2 -2
- package/dist/{chunk-nrz6w8rd.js → chunk-wz6a2j26.js} +2 -2
- package/dist/chunk-x2ayy0ys.js +7 -0
- package/dist/{chunk-wyr7zv2j.js → chunk-xary32dg.js} +2 -2
- package/dist/{chunk-x29s0dbq.js → chunk-xvfvxjyp.js} +2 -2
- package/dist/{chunk-mveefs0j.js → chunk-xztxaq9k.js} +2 -2
- package/dist/{chunk-ag4vzemv.js → chunk-y3mk12gg.js} +2 -2
- package/dist/{chunk-7vcwgkhs.js → chunk-y7gzr914.js} +2 -2
- package/dist/{chunk-dnn1fcg8.js → chunk-y8md080p.js} +2 -2
- package/dist/{chunk-5c1wx64d.js → chunk-y8sc8n3j.js} +2 -2
- package/dist/{chunk-4s8gw49m.js → chunk-ycj91akv.js} +2 -2
- package/dist/chunk-ym0pvy7y.js +2 -0
- package/dist/{chunk-2kz2z86n.js → chunk-yzhqbz2p.js} +2 -2
- package/dist/chunk-z8ymt0ny.js +2 -0
- package/dist/{chunk-tptx1zs3.js → chunk-z94nsbnw.js} +2 -2
- package/dist/chunk-z9ch23p0.js +2 -0
- package/dist/chunk-z9q7rgbf.js +2 -0
- package/dist/chunk-zfjpfj30.js +2 -0
- package/dist/{chunk-85nkcdqg.js → chunk-zntkqbcv.js} +2 -2
- package/dist/{chunk-tsfpx3fp.js → chunk-zxwvq5f4.js} +2 -2
- package/dist/chunk-zyznsm1p.js +2 -0
- package/dist/client.d.ts +13 -0
- package/dist/client.js +1 -1
- 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-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.d.ts +3 -1
- package/dist/codex/user-message.js +1 -1
- package/dist/codex/virtualized-turn-list.js +1 -1
- package/dist/collections/collection-emoji.js +1 -1
- package/dist/collections/collection-menu.js +1 -1
- package/dist/collections/collection-panel.js +1 -1
- package/dist/collections/collections.js +1 -1
- package/dist/collections/host.js +1 -1
- package/dist/collections/locales.js +1 -1
- package/dist/collections/model.js +1 -1
- package/dist/collections/store.js +1 -1
- package/dist/composer/completion-filter.js +1 -1
- package/dist/composer/completion-menu.js +1 -1
- package/dist/composer/completion-trigger.js +1 -1
- package/dist/composer/effort-slider.js +1 -1
- package/dist/composer/inline-document.d.ts +12 -0
- package/dist/composer/inline-document.js +1 -0
- package/dist/composer/inline-dom.d.ts +10 -0
- package/dist/composer/inline-dom.js +1 -0
- package/dist/composer/menu-radio.js +1 -1
- package/dist/composer/model-select.js +1 -1
- package/dist/composer/permission-mode-select.js +1 -1
- package/dist/composer/prompt-input-attachments.js +1 -1
- package/dist/composer/prompt-input-clipboard.js +1 -1
- package/dist/composer/prompt-input-context.js +1 -1
- package/dist/composer/prompt-input-inline.d.ts +20 -0
- package/dist/composer/prompt-input-inline.js +1 -0
- package/dist/composer/prompt-input-textarea.d.ts +3 -1
- package/dist/composer/prompt-input-textarea.js +1 -1
- package/dist/composer/prompt-input.js +1 -1
- package/dist/conversation/action-card.js +1 -1
- package/dist/conversation/composer/app-mentions.js +1 -1
- package/dist/conversation/composer/apps-menu.d.ts +4 -2
- package/dist/conversation/composer/apps-menu.js +1 -1
- package/dist/conversation/composer/composer.js +1 -1
- package/dist/conversation/composer/config-options.js +1 -1
- package/dist/conversation/composer/context.js +1 -1
- package/dist/conversation/composer/drafts.d.ts +2 -0
- package/dist/conversation/composer/drafts.js +1 -1
- package/dist/conversation/composer/file-items.js +1 -1
- package/dist/conversation/composer/long-text.d.ts +2 -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.d.ts +3 -1
- package/dist/conversation/composer/prompt-history.js +1 -1
- package/dist/conversation/composer/slash-command-button.js +1 -1
- package/dist/conversation/composer/submit-button.js +1 -1
- package/dist/conversation/composer/usage-meter.js +1 -1
- package/dist/conversation/connection-notice.js +1 -1
- package/dist/conversation/context.js +1 -1
- package/dist/conversation/conversation-body.js +1 -1
- package/dist/conversation/conversation-search.js +1 -1
- package/dist/conversation/conversation-view.js +1 -1
- package/dist/conversation/conversation.js +1 -1
- package/dist/conversation/diff-modal.js +1 -1
- package/dist/conversation/draft-project-picker.js +1 -1
- package/dist/conversation/session-actions.js +1 -1
- package/dist/conversation/subagent-sessions.js +1 -1
- package/dist/conversation/subagent-tasks.js +1 -1
- package/dist/conversation/types.d.ts +2 -0
- package/dist/generated/commands.js +1 -1
- package/dist/image-lightbox.js +1 -1
- package/dist/image-preview-dialog.js +1 -1
- package/dist/image.d.ts +24 -0
- package/dist/image.js +1 -1
- package/dist/lib/app-reference.d.ts +12 -0
- package/dist/lib/app-reference.js +1 -0
- package/dist/lib/application-metadata.d.ts +6 -0
- package/dist/lib/application-metadata.js +1 -0
- package/dist/lib/file-url.js +1 -1
- package/dist/lib/fuzzy.js +1 -1
- package/dist/lib/group-blocks.js +1 -1
- package/dist/lib/image-encode.js +1 -1
- package/dist/lib/limits.js +1 -1
- package/dist/lib/markdown-parser.js +1 -1
- package/dist/lib/markdown-rules.js +1 -1
- package/dist/lib/model-name.js +1 -1
- package/dist/lib/pointer-centered-zoom.js +1 -1
- package/dist/lib/prepare-prompt-files.js +1 -1
- package/dist/lib/stream-style.js +1 -1
- package/dist/lib/streaming-markdown.js +1 -1
- package/dist/lib/tool-artifacts.js +1 -1
- package/dist/locales.js +1 -1
- package/dist/oauth/claude-login.d.ts +16 -0
- package/dist/oauth/claude-login.js +1 -0
- package/dist/oauth.d.ts +2 -0
- package/dist/oauth.js +1 -0
- package/dist/plugins/catalog-header.js +1 -1
- package/dist/plugins/catalog-skeleton.js +1 -1
- package/dist/plugins/host.js +1 -1
- package/dist/plugins/locales.js +1 -1
- package/dist/plugins/new-chat-directory.js +1 -1
- package/dist/plugins/pane.js +1 -1
- package/dist/plugins/panel-item.js +1 -1
- package/dist/plugins/plugin-detail-page.js +1 -1
- package/dist/plugins/plugin-icon.js +1 -1
- package/dist/plugins/plugin-icons.js +1 -1
- package/dist/plugins/plugins-page.js +1 -1
- package/dist/plugins/plugins.js +1 -1
- package/dist/plugins/read-skill-document.js +1 -1
- package/dist/plugins/skill-document.js +1 -1
- package/dist/plugins/skills-tab.js +1 -1
- package/dist/plugins/store.js +1 -1
- package/dist/plugins/toolbox-layout.js +1 -1
- package/dist/search/chat-search.js +1 -1
- package/dist/search/codex-source-matches.js +1 -1
- package/dist/search/dom-matches.js +1 -1
- package/dist/search/find-bar.js +1 -1
- package/dist/search/literal-matches.js +1 -1
- package/dist/session-list/account-menu.js +1 -1
- package/dist/session-list/activity-list.js +1 -1
- package/dist/session-list/archived-sessions.js +1 -1
- package/dist/session-list/help-menu.js +1 -1
- package/dist/session-list/highlight.js +1 -1
- package/dist/session-list/host.js +1 -1
- package/dist/session-list/hover-info-card.js +1 -1
- package/dist/session-list/locales.js +1 -1
- package/dist/session-list/navigation-controls.js +1 -1
- package/dist/session-list/navigation-header.js +1 -1
- package/dist/session-list/navigation-store.js +1 -1
- package/dist/session-list/navigation-tabs.js +1 -1
- package/dist/session-list/navigation.js +1 -1
- package/dist/session-list/overflow-marquee.js +1 -1
- package/dist/session-list/platform.js +1 -1
- package/dist/session-list/row-stop-button.js +1 -1
- package/dist/session-list/session-groups.js +1 -1
- package/dist/session-list/session-info-card.js +1 -1
- package/dist/session-list/session-list.js +1 -1
- package/dist/session-list/session-row.js +1 -1
- package/dist/session-list/session-state-dot.js +1 -1
- package/dist/session-list/session-state-menu.js +1 -1
- package/dist/session-list/shortcut-hint.js +1 -1
- package/dist/session-list/shortcut.js +1 -1
- package/dist/session-list/sidebar-overlay.js +1 -1
- package/dist/session-list/trailing-swap.js +1 -1
- package/dist/session-list/use-activity-notification.js +1 -1
- package/dist/session-list/use-activity-preview.js +1 -1
- package/dist/session-list/use-cmd-held.js +1 -1
- package/dist/session-list/use-project-sessions.js +1 -1
- package/dist/session-list/virtual-session-rows.js +1 -1
- package/dist/session-timeline/activity-group.js +1 -1
- package/dist/session-timeline/activity-projection.js +1 -1
- package/dist/session-timeline/assistant-content.js +1 -1
- package/dist/session-timeline/assistant-image-references.js +1 -1
- package/dist/session-timeline/assistant-turn.js +1 -1
- package/dist/session-timeline/async-questions.js +1 -1
- package/dist/session-timeline/edited-files-card.js +1 -1
- package/dist/session-timeline/history-timeline.js +1 -1
- package/dist/session-timeline/host.js +1 -1
- package/dist/session-timeline/image-generation-progress.js +1 -1
- package/dist/session-timeline/navigation-rail.js +1 -1
- package/dist/session-timeline/plan.js +1 -1
- package/dist/session-timeline/question-reply.js +1 -1
- package/dist/session-timeline/resource-content.js +1 -1
- package/dist/session-timeline/session-timeline.js +1 -1
- package/dist/session-timeline/timeline-registry.js +1 -1
- package/dist/session-timeline/turn-activity.js +1 -1
- package/dist/session-timeline/turn-error.js +1 -1
- package/dist/session-timeline/turn-retry.js +1 -1
- package/dist/session-timeline/turn-time.js +1 -1
- package/dist/session-timeline/turns.js +1 -1
- package/dist/session-timeline/use-timeline-scroll.js +1 -1
- package/dist/session-timeline/user-message.js +1 -1
- package/dist/settings/codex-account-card.js +1 -1
- package/dist/settings/login-card.js +1 -1
- package/dist/settings/model-alias-settings.js +1 -1
- package/dist/settings/model-aliases.js +1 -1
- package/dist/settings/provider-logos.js +1 -1
- package/dist/settings/provider-section.js +1 -1
- 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.js +1 -1
- package/native/win32-x64/alwith_native_chat.dll +0 -0
- package/native/win32-x64/artifact.json +1 -1
- package/package.json +7 -2
- package/dist/chunk-0knwqeea.js +0 -2
- package/dist/chunk-1gwv9823.js +0 -2
- package/dist/chunk-1wdq75b1.js +0 -2
- package/dist/chunk-2fh11ysa.js +0 -2
- package/dist/chunk-2kskj0w5.js +0 -2
- package/dist/chunk-2yy6y89g.js +0 -2
- package/dist/chunk-384sh0aw.js +0 -2
- package/dist/chunk-3azwj6wd.js +0 -5
- package/dist/chunk-3r69g00w.js +0 -3
- package/dist/chunk-3svrvg8g.js +0 -2
- package/dist/chunk-4pxxxt8s.js +0 -2
- package/dist/chunk-57p1s7hy.js +0 -2
- package/dist/chunk-5q93tpax.js +0 -2
- package/dist/chunk-67swkna1.js +0 -2
- package/dist/chunk-6f7e67x1.js +0 -2
- package/dist/chunk-8xtp7pxb.js +0 -2
- package/dist/chunk-9rt2pfsm.js +0 -2
- package/dist/chunk-ak2frpw9.js +0 -2
- package/dist/chunk-bktb5ys5.js +0 -2
- package/dist/chunk-c162bdr0.js +0 -2
- package/dist/chunk-cbp0q0yt.js +0 -2
- package/dist/chunk-d0ta9y85.js +0 -2
- package/dist/chunk-dwpx56ge.js +0 -2
- package/dist/chunk-evs7bhpp.js +0 -2
- package/dist/chunk-exkwydhf.js +0 -3
- package/dist/chunk-f0g5k1d0.js +0 -2
- package/dist/chunk-fvg2w21q.js +0 -4
- package/dist/chunk-gp0bxakd.js +0 -2
- package/dist/chunk-h5zbmv4r.js +0 -2
- package/dist/chunk-h800j36s.js +0 -2
- package/dist/chunk-jkyepwr1.js +0 -2
- package/dist/chunk-jt54wp2c.js +0 -2
- package/dist/chunk-k7d2y0wx.js +0 -2
- package/dist/chunk-km434w1k.js +0 -2
- package/dist/chunk-kvkpd69n.js +0 -2
- package/dist/chunk-m58ryg53.js +0 -2
- package/dist/chunk-mma530jr.js +0 -2
- package/dist/chunk-ncsdkb8h.js +0 -2
- package/dist/chunk-pj7m1bs8.js +0 -2
- package/dist/chunk-pmzkz6hg.js +0 -2
- package/dist/chunk-pnm040ke.js +0 -2
- package/dist/chunk-pp1rr3jj.js +0 -2
- package/dist/chunk-ps3vgzbn.js +0 -2
- package/dist/chunk-q06r0t1d.js +0 -2
- package/dist/chunk-qcj6f1rq.js +0 -2
- package/dist/chunk-r5xd9p8p.js +0 -2
- package/dist/chunk-ts8edszy.js +0 -4
- package/dist/chunk-v9nbx36v.js +0 -2
- package/dist/chunk-vnwb90j9.js +0 -2
- package/dist/chunk-w0dfvr05.js +0 -2
- package/dist/chunk-w7p443ya.js +0 -1
- package/dist/chunk-w89hdkar.js +0 -2
- package/dist/chunk-wg45j5yr.js +0 -2
- package/dist/chunk-wjr2cjt1.js +0 -2
- package/dist/chunk-wsny5ye8.js +0 -2
- package/dist/chunk-wteebw32.js +0 -2
- package/dist/chunk-x2vms9xf.js +0 -2
- package/dist/chunk-yathdy79.js +0 -2
- package/dist/chunk-ye7bksyy.js +0 -7
- package/dist/chunk-zns42kp5.js +0 -2
- package/dist/chunk-zx63zvpy.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{li,Pe}from"./chunk-5q0kb3yb.js";import{ci}from"./chunk-1mf3b58j.js";import{An,En,at,st,Ln}from"./chunk-6cbj9r2x.js";import{cn as P}from"cn";import{ArrowUpIcon as ge,Loader2Icon as be,SquareIcon as ve,XIcon as he}from"lucide-react";import{Children as Y,useCallback as h,useEffect as F,useMemo as Ie,useRef as M,useState as ye}from"react";import{flushSync as xe}from"react-dom";import{InputGroup as Le,InputGroupAddon as ee,InputGroupButton as te}from"@nyssance/shadcn/vega/components/ui/input-group";import{jsx as a,jsxs as Te}from"react/jsx-runtime";function Z(u){let o=new FormData(u).get("message");return typeof o==="string"?o:""}var ni=({className:u,bashMode:o=!1,attachmentPolicy:I,onCommand:d,onSubmitError:y,canSubmit:f,onSubmitAsync:g,accept:E,multiple:re,globalDrop:C,syncHiddenInput:U,maxFiles:z,maxFileSize:k,onError:b,onSubmit:ne,children:oe,...se})=>{let s=st(),l=!!s,ie=o&&l&&s.textInput.value.startsWith("!"),x=M(null),A=M(null),D=M(!1),[ae,N]=ye([]),c=l?s.attachments.files:ae,B=M(c);B.current=c;let ue=h(()=>{x.current?.click()},[]),O=h((e)=>{if(!E||E.trim()==="")return!0;return E.split(",").map((t)=>t.trim()).filter(Boolean).some((t)=>{if(t.endsWith("/*")){let n=t.slice(0,-1);return e.type.startsWith(n)}return e.type===t})},[E]),W=h((e)=>{if(e.type)return e.type;let r=(e.name||"").toLowerCase();if(r.endsWith(".png"))return"image/png";if(r.endsWith(".jpg")||r.endsWith(".jpeg"))return"image/jpeg";if(r.endsWith(".webp"))return"image/webp";if(r.endsWith(".gif"))return"image/gif";if(r.endsWith(".bmp"))return"image/bmp";if(r.endsWith(".svg"))return"image/svg+xml";return""},[]),le=h((e)=>{let r=[...e],t=r.filter((i)=>O(i));if(r.length&&t.length===0){b?.({code:"accept",message:"No files match the accepted types."});return}let n=(i)=>k?i.size<=k:!0,m=t.filter(n);if(t.length>0&&m.length===0){b?.({code:"max_file_size",message:"All files exceed the maximum size."});return}N((i)=>{let v=I?I.uniqueFiles(m,i):m,p=typeof z==="number"?Math.max(0,z-i.length):void 0,_=typeof p==="number"?v.slice(0,p):v;if(typeof p==="number"&&v.length>p)b?.({code:"max_files",message:"Too many files. Some were not added."});let Q=[];for(let T of _){let V=I?.sourcePath(T);Q.push({id:crypto.randomUUID(),type:"file",url:URL.createObjectURL(T),mediaType:W(T),filename:T.name,size:T.size,lastModified:T.lastModified,...V===void 0?{}:{sourcePath:V}})}return[...i,...Q]})},[I,W,O,z,k,b]),pe=h((e)=>N((r)=>{let t=r.find((n)=>n.id===e);if(t?.url)URL.revokeObjectURL(t.url);return r.filter((n)=>n.id!==e)}),[]),me=h(()=>N((e)=>{for(let r of e)if(r.url)URL.revokeObjectURL(r.url);return[]}),[]),G=l?s.attachments.add:le,L=h((e)=>{let r=[...e],t=r.filter((m)=>!(m.type??"").toLowerCase().startsWith("image/"));if(t.length>0){b?.({code:"unsupported_type",message:`Only image attachments are supported. ${t.length} non-image file(s) were ignored.`});return}let n=r.reduce((m,i)=>m+i.size,0);if(n>0){let m=c.filter((i)=>(i.mediaType??"").toLowerCase().startsWith("image/")).reduce((i,v)=>i+(v.size??0),0);if(li(m,n)){b?.({code:"max_total_size",message:`Total image size must not exceed ${Pe}MB.`});return}}G(r)},[c,G,b]),j=l?s.attachments.remove:pe,R=l?s.attachments.clear:me,q=l?s.attachments.openFileDialog:ue;F(()=>{if(!l)return;s.__registerFileInput(x,()=>x.current?.click())},[l,s]),F(()=>{if(U&&x.current&&c.length===0)x.current.value=""},[c,U]),F(()=>{let e=A.current;if(!e)return;if(C)return;let r=(n)=>{if(n.dataTransfer?.types?.includes("Files"))n.preventDefault()},t=(n)=>{if(n.dataTransfer?.types?.includes("Files"))n.preventDefault();if(n.dataTransfer?.files&&n.dataTransfer.files.length>0)L(n.dataTransfer.files)};return e.addEventListener("dragover",r),e.addEventListener("drop",t),()=>{e.removeEventListener("dragover",r),e.removeEventListener("drop",t)}},[L,C]),F(()=>{if(!C)return;let e=(t)=>{if(t.dataTransfer?.types?.includes("Files"))t.preventDefault()},r=(t)=>{if(t.dataTransfer?.types?.includes("Files"))t.preventDefault();if(t.dataTransfer?.files&&t.dataTransfer.files.length>0)L(t.dataTransfer.files)};return document.addEventListener("dragover",e),document.addEventListener("drop",r),()=>{document.removeEventListener("dragover",e),document.removeEventListener("drop",r)}},[L,C]),F(()=>()=>{if(!l){for(let e of B.current)if(e.url)URL.revokeObjectURL(e.url)}},[l]);let ce=(e)=>{if(e.currentTarget.files)L(e.currentTarget.files);e.currentTarget.value=""},X=Ie(()=>({files:c.map((e)=>({...e,id:e.id})),add:L,remove:j,clear:R,openFileDialog:q,fileInputRef:x}),[c,L,j,R,q]),w=M({controller:s,files:c,canSubmit:f});w.current={controller:s,files:c,canSubmit:f};let S=M(!0);F(()=>(S.current=!0,()=>{S.current=!1}),[]);let J=async(e)=>{let r=f===void 0?!0:f();if(r!==!0)return{status:"blocked",reason:r};if(D.current)return{status:"blocked",reason:"submission_pending"};if(e===null&&g===void 0)throw Error("Awaitable submission requires onSubmitAsync");let t=A.current;if(t===null)return{status:"blocked",reason:"form_unmounted"};let n=l?s.textInput.value:Z(t),m=s?.textInput.getRevision?.(),i=c,v=()=>{if(!S.current)return;let p=w.current;if(p.files!==i)return;if(l){if(m===void 0||p.controller===null||p.controller.textInput.getRevision?.()!==m)return;if(p.controller.textInput.clearSubmitted===void 0)p.controller.textInput.clear();else p.controller.textInput.clearSubmitted()}else if(Z(t)===n)t.reset();R()};D.current=!0;try{if(d?.(n.trim()))return v(),{status:"accepted"};let p=await ci(i),_=w.current.canSubmit===void 0?!0:w.current.canSubmit();if(_!==!0)return{status:"blocked",reason:_};if(!S.current)return{status:"blocked",reason:"form_unmounted"};if(p.rejectedCount>0)b?.({code:"accept",message:"One or more images are corrupted and were removed before sending."});if(g!==void 0)await g({text:n,files:p.files});else if(e!==null)await ne({text:n,files:p.files},e);return v(),{status:"accepted"}}finally{D.current=!1}},de=(e)=>{e.preventDefault(),J(e).catch(y)},fe=h((e)=>{if(!e.trim())return;if(l&&s)xe(()=>{s.textInput.setInput(e)});A.current?.requestSubmit()},[s,l]),K=a(En.Provider,{value:()=>J(null),children:Te(An.Provider,{value:fe,children:[a("input",{accept:E,"aria-label":"Upload files",className:"hidden",multiple:re,onChange:ce,ref:x,title:"Upload files",type:"file"}),a("form",{className:P("w-full",u),onSubmit:de,ref:A,"data-tour":"chat-input",...se,children:a(Le,{className:P("codex-composer-surface overflow-y-auto has-[[data-slot=input-group-control]:focus-visible]:ring-0",ie&&"border! border-[rgb(255,0,135)] has-[[data-slot=input-group-control]:focus-visible]:border-[rgb(255,0,135)] dark:border-[rgb(253,93,177)] dark:has-[[data-slot=input-group-control]:focus-visible]:border-[rgb(253,93,177)]"),children:oe})})]})});return l?a(at.Provider,{value:X,children:K}):a(Ln.Provider,{value:X,children:K})};function oi({className:u,...o}){return a("div",{className:P("flex w-full min-w-0 flex-row items-end gap-2",u),...o})}function ii({className:u,...o}){return a(ee,{align:"block-end",className:P("order-first flex-wrap gap-1 p-2 pb-1.5",u),...o})}function ri({className:u,...o}){return a(ee,{align:"block-end",className:P("mt-3.5 justify-between gap-1 p-0",u),...o})}function ai({className:u,...o}){return a("div",{className:P("flex items-center gap-1",u),...o})}var H=({variant:u="ghost",className:o,size:I,collapsed:d=!1,...y})=>{let f=d||Y.count(y.children)<=1?"icon-xs":"xs";return a(te,{className:P("h-7 rounded-full text-xs font-medium hover:bg-transparent dark:hover:bg-transparent",(d||Y.count(y.children)<=1)&&"size-7",o),size:f,type:"button",variant:u,...y})},si=({className:u,variant:o="ghost",size:I="icon-xs",status:d,children:y,...f})=>{let g=a(ge,{className:"size-4"});if(d==="submitted")g=a(be,{className:"size-4 animate-spin"});else if(d==="streaming")g=a(ve,{className:"size-3 fill-current"});else if(d==="error")g=a(he,{className:"size-4"});return a(te,{"aria-label":"Submit",className:P("bg-foreground text-background hover:bg-foreground/70 size-7 rounded-full p-0 transition-opacity disabled:opacity-50",u),size:I,type:"submit",variant:o,...f,children:y??g})};
|
|
2
|
+
export{ni,oi,ii,ri,ai,H,si};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{
|
|
1
|
+
import{qo}from"./chunk-v28fv6c4.js";import{cn as v}from"cn";import{XIcon as E}from"lucide-react";import{useCallback as p,useEffect as D,useMemo as X,useRef as N,useState as b}from"react";import{Dialog as _,DialogClose as L,DialogContent as j,DialogTitle as A}from"@nyssance/shadcn/vega/components/ui/dialog";import{jsx as i,jsxs as F}from"react/jsx-runtime";function $o({open:l,onOpenChange:y,url:h,filename:M,scale:d,onScaleChange:f,containerRef:z,containerClassName:H,dialogContentClassName:P,imageClassName:T}){let g=p((e)=>Math.min(4,Math.max(0.25,e)),[]),[I,O]=b(1),o=g(d??I),R=N(null),s=z??R,S=N(null),[m,x]=b({width:0,height:0}),[C,W]=b({width:0,height:0}),w=p((e)=>{let n=g(e);if(typeof f==="function"){f(n);return}O(n)},[f,g]);D(()=>{if(!l)return;if(!h)return;if(typeof d==="number")return;O(1)},[l,h,d]),D(()=>{if(!l)return;let e=s.current;if(!e)return;let n=()=>{x({width:e.clientWidth,height:e.clientHeight})};n();let t=new ResizeObserver(n);return t.observe(e),()=>{t.disconnect()}},[s,l]);let Z=p(()=>{w(1)},[w]),r=X(()=>{let{width:e,height:n}=C,{width:t,height:a}=m;if(e===0||n===0)return{width:0,height:0};if(t===0||a===0)return{width:0,height:0};let c=Math.min(t/e,a/n,1),u=e*c,k=n*c;return{width:u*o,height:k*o}},[o,C,m]);if(!h)return null;return i(_,{open:l,onOpenChange:y,children:F(j,{className:v("top-1/2 left-1/2 h-[90vh] max-h-[90vh] w-[90vw]! max-w-[90vw]! -translate-x-1/2 -translate-y-1/2 gap-0 rounded-none bg-transparent p-0 ring-0 sm:w-[90vw]! sm:max-w-[90vw]!",P),showCloseButton:!1,children:[i(A,{className:"sr-only",children:M||"Image preview"}),i(L,{"aria-label":"Close",className:"absolute top-3 right-3 z-10 flex size-10 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur-sm transition-colors hover:bg-black/75",children:i(E,{className:"size-5"})}),i("div",{ref:s,onWheel:(e)=>{if(!e.ctrlKey&&!e.metaKey)return;e.preventDefault();let n=e.deltaY>0?o-0.2:o+0.2,t=g(Number.parseFloat(n.toFixed(2)));if(t===o)return;let a=s.current,c=S.current,u=a&&c?qo({container:a,target:c,clientX:e.clientX,clientY:e.clientY,currentScale:o,nextScale:t}):null;if(w(t),a&&u)requestAnimationFrame(()=>{a.scrollTo(u)})},className:v("h-full w-full scrollbar-thin overflow-auto",H),children:i("div",{className:"grid min-h-full min-w-full place-items-center",style:{width:Math.max(m.width,r.width),height:Math.max(m.height,r.height)},children:i("div",{className:"shrink-0",children:i("img",{alt:M||"image preview",className:v("block object-contain select-none",T),decoding:"async",draggable:!1,ref:S,onDoubleClick:Z,onLoad:(e)=>{let n=e.currentTarget;W({width:n.naturalWidth,height:n.naturalHeight});let t=s.current;if(t&&(t.clientWidth||t.clientHeight))x({width:t.clientWidth,height:t.clientHeight})},style:{imageRendering:"auto",width:r.width||void 0,height:r.height||void 0,maxWidth:r.width?"none":"90vw",maxHeight:r.height?"none":"90vh"},src:h})})})})]})})}
|
|
2
|
+
export{$o};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`));else f(null)}finally{h.current=!1,w(!1)}}return
|
|
3
|
-
export{
|
|
1
|
+
import{a,s,n}from"./chunk-hqdbv5hw.js";import{He,re,X}from"./chunk-7p3nx5bx.js";import{sessionGroup as j}from"@nyssance/codex-acp-v2/client";import{cn as de}from"cn";import{ArchiveIcon as ue,FolderIcon as Q,ListFilterIcon as me,SearchIcon as pe,Trash2Icon as U}from"lucide-react";import{useEffect as he,useRef as fe,useState as d}from"react";import{Alert as P,AlertDescription as T}from"@nyssance/shadcn/vega/components/ui/alert";import{Button as g}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as ve,DialogContent as ge,DialogDescription as xe,DialogFooter as Se,DialogHeader as ye,DialogTitle as Le}from"@nyssance/shadcn/vega/components/ui/dialog";import{Input as Ne}from"@nyssance/shadcn/vega/components/ui/input";import{Select as _,SelectContent as Ce,SelectItem as x,SelectTrigger as R,SelectValue as W}from"@nyssance/shadcn/vega/components/ui/select";import{Spinner as J}from"@nyssance/shadcn/vega/components/ui/spinner";import{jsx as t,jsxs as r}from"react/jsx-runtime";function M({className:u,...i}){return t(Ce,{align:"start",alignItemWithTrigger:!1,sideOffset:6,...i,className:de("max-w-(--available-width) min-w-0 p-1",u)})}function E(u){return u instanceof Error?u.message:String(u)}function we({children:u}){return t("div",{className:"min-h-0 flex-1 overflow-y-auto",children:t("div",{className:"flex flex-col gap-8",children:u})})}function Or({Scroll:u=we}){let{t:i,i18n:A}=a(),m=s(),S=n((e)=>e.archivedSessions),N=n((e)=>e.connection),[B,Y]=d(""),[y,Z]=d("all"),[p,ee]=d("all"),[te,se]=d(0),[q,z]=d(!0),[I,F]=d(null),[V,H]=d(null),[C,w]=d(!1),h=fe(!1),[D,f]=d(null),[O,b]=d(null),[ie,G]=d(!1);he(()=>{if(N!=="ready")return;let e=!1;z(!0),F(null);async function c(){try{await m.listArchived({reset:!0});let l=new Set;while(!e&&m.state.archivedCursor!==null){let v=m.state.archivedCursor;if(l.has(v))throw Error("Archive pagination returned a repeated cursor");l.add(v),await m.listArchived()}}catch(l){if(!e)F(E(l))}finally{if(!e)z(!1)}}return c(),()=>{e=!0}},[m,N,te]);let o=n((e)=>e.projectContext),k=!(o!==null&&N==="ready"&&!q&&I===null)||C,L=(e)=>e.title??i("sessionList.untitled"),ne=[...new Set(S.filter((e)=>o&&j(o,e).id!==X).map((e)=>o?j(o,e).id:e.cwd))].toSorted(),ae=B.trim().toLocaleLowerCase(A.language),K=S.filter((e)=>{let c=o?j(o,e).id:null,l=c===X;return L(e).toLocaleLowerCase(A.language).includes(ae)&&(y==="all"||(y==="quick"?l:!l))&&(p==="all"||(p==="quick"?l:c===p))}),le=new Intl.DateTimeFormat(A.language,{dateStyle:"medium",timeStyle:"short"});async function oe(e){if(h.current)return;h.current=!0,w(!0),H(null);try{await m.unarchive(e.sessionId)}catch(c){H(E(c))}finally{h.current=!1,w(!1)}}async function ce(){if(h.current||!D)return;h.current=!0,w(!0),b(null);let e=[],c=[];try{for(let l of D){if(!m.state.archivedSessions.some((v)=>v.sessionId===l.sessionId))continue;try{await m.delete(l.sessionId)}catch(v){e.push(l),c.push(`${L(l)}: ${E(v)}`)}}if(e.length)f(e),b(c.join(`
|
|
2
|
+
`));else f(null)}finally{h.current=!1,w(!1)}}return r("section",{className:"flex min-h-0 flex-1 flex-col overflow-hidden","aria-label":i("sessionList.archives.title"),children:[r("div",{className:"mx-auto flex min-h-0 w-full max-w-5xl flex-1 flex-col gap-8 px-6 pt-8 pb-10 lg:pb-14",children:[r("header",{className:"flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-3",children:[t("h1",{className:"text-2xl leading-9 font-semibold tracking-tight",children:i("sessionList.archives.title")}),r(g,{size:"sm",variant:"destructive",className:"h-[30px] text-sm font-normal",disabled:k||S.length===0,onClick:()=>{b(null),G(!0),f([...S])},children:[t(U,{className:"size-4","aria-hidden":"true"}),i("sessionList.archives.deleteAll")]})]}),r("div",{className:"flex shrink-0 flex-wrap gap-3",children:[r("div",{className:"relative min-w-48 flex-1",children:[t(pe,{"aria-hidden":"true",className:"text-muted-foreground pointer-events-none absolute start-3 top-2.5 size-4"}),t(Ne,{"aria-label":i("sessionList.archives.search"),placeholder:i("sessionList.archives.search"),value:B,onChange:(e)=>Y(e.target.value),className:"rounded-md ps-9"})]}),r(_,{value:y,onValueChange:(e)=>{if(e===null)throw Error("Archive chat type cannot be empty");Z(e)},children:[r(R,{"aria-label":i("sessionList.archives.chatType"),className:"w-40 rounded-md",children:[t(me,{"aria-hidden":"true"}),t(W,{children:i(`sessionList.archives.${y==="all"?"allChats":y==="quick"?"quickChats":"projectChats"}`)})]}),r(M,{children:[t(x,{value:"all",children:i("sessionList.archives.allChats")}),t(x,{value:"quick",children:i("sessionList.archives.quickChats")}),t(x,{value:"project",children:i("sessionList.archives.projectChats")})]})]}),r(_,{value:p,onValueChange:(e)=>{if(e===null)throw Error("Archive project filter cannot be empty");ee(e)},children:[r(R,{"aria-label":i("sessionList.archives.project"),className:"w-48 rounded-md",children:[t(Q,{"aria-hidden":"true"}),t(W,{className:"truncate",children:p==="all"?i("sessionList.archives.allProjects"):p==="quick"?i("sessionList.archives.noProject"):re(p,o??void 0)})]}),r(M,{children:[t(x,{value:"all",children:i("sessionList.archives.allProjects")}),t(x,{value:"quick",children:i("sessionList.archives.noProject")}),ne.map((e)=>t(x,{value:e,title:e,children:re(e,o??void 0)},e))]})]})]}),r(u,{children:[N!=="ready"?t("p",{role:"status",className:"text-muted-foreground",children:i("sessionList.archives.connecting")}):q?r("div",{role:"status",className:"text-muted-foreground flex items-center gap-2",children:[t(J,{}),i("sessionList.archives.loading")]}):I?t(P,{variant:"destructive",children:r(T,{className:"flex items-center justify-between gap-4",children:[t("span",{children:I}),t(g,{variant:"outline",onClick:()=>se((e)=>e+1),children:i("sessionList.archives.retry")})]})}):S.length===0?r("div",{className:"text-muted-foreground flex flex-col items-center gap-3 py-16",children:[t(ue,{"aria-hidden":"true",className:"size-8"}),t("p",{children:i("sessionList.archives.empty")})]}):K.length===0?t("p",{className:"text-muted-foreground py-12 text-center",children:i("sessionList.archives.noResults")}):(o?He(K,o):[]).filter(([,e])=>e.length>0).map(([e,c])=>r("section",{className:"flex flex-col gap-3",children:[r("div",{className:"flex items-center justify-between gap-3",children:[r("h2",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",title:e===X?void 0:e,children:[t(Q,{"aria-hidden":"true",className:"size-4 shrink-0"}),t("span",{className:"truncate",children:e===X?i("sessionList.archives.noProject"):re(e,o??void 0)})]}),t("span",{className:"text-muted-foreground shrink-0 text-sm",children:i("sessionList.archives.count",{count:c.length})})]}),t("div",{className:"divide-border divide-y overflow-hidden rounded-lg border",children:c.map((l)=>r("article",{"aria-label":L(l),className:"flex flex-wrap items-center gap-4 px-4 py-3",children:[r("div",{className:"min-w-0 flex-1 basis-40",children:[t("h3",{className:"truncate text-sm font-medium",title:L(l),children:L(l)}),l.updatedAt!==null&&t("time",{dateTime:l.updatedAt,title:i("sessionList.archives.updatedAt"),className:"text-muted-foreground text-xs",children:le.format(new Date(l.updatedAt))})]}),r("div",{className:"flex shrink-0 items-center gap-2",children:[t(g,{variant:"ghost",size:"icon-sm","aria-label":i("sessionList.delete"),title:i("sessionList.delete"),disabled:k,className:"text-muted-foreground hover:text-destructive",onClick:()=>{b(null),G(!1),f([l])},children:t(U,{"aria-hidden":"true"})}),t(g,{variant:"secondary",size:"sm",disabled:k,onClick:()=>void oe(l),children:i("sessionList.archives.unarchive")})]})]},l.sessionId))})]},e)),V&&t(P,{variant:"destructive",children:t(T,{children:V})})]})]}),t(ve,{open:D!==null,onOpenChange:(e)=>{if(!e&&!h.current)f(null)},children:r(ge,{showCloseButton:!C,children:[r(ye,{children:[t(Le,{children:i("sessionList.archives.deleteTitle")}),t(xe,{children:i(ie?"sessionList.archives.deleteAllDescription":"sessionList.archives.deleteDescription",{count:D?.length??0})})]}),O&&t(P,{variant:"destructive",children:t(T,{className:"max-h-40 overflow-auto whitespace-pre-wrap",children:O})}),r(Se,{children:[t(g,{variant:"outline",disabled:C,onClick:()=>f(null),children:i("sessionList.cancel")}),r(g,{variant:"destructive",className:"text-sm font-normal",disabled:k,onClick:()=>void ce(),children:[C&&t(J,{}),i("sessionList.archives.confirmDelete")]})]})]})})]})}
|
|
3
|
+
export{Or};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,s,Vt,n,m}from"./chunk-hqdbv5hw.js";import{F}from"./chunk-r6b9fdnm.js";import{Se}from"./chunk-bv175dn9.js";import{xe}from"./chunk-ex20n22v.js";import{Ye,ye}from"./chunk-rgn6pdaa.js";import{hasRename as D}from"@nyssance/codex-acp-v2/client";import{ArchiveIcon as x,ArchiveRestoreIcon as A,GitForkIcon as H,PencilIcon as N,Trash2Icon as R}from"lucide-react";import{useRef as B,useState as y}from"react";import{jsx as o,jsxs as b,Fragment as C}from"react/jsx-runtime";function hn({sessionRow:e,active:v,onSelect:f,onForked:S=f,onHoverCardOpenChange:c,actions:d}){let t=a(),{t:p,i18n:k}=t,h=s(),l=n((i)=>i.runStates[e.sessionId]),I=Vt(),u=()=>f(e);return o(Se,{"data-session-id":e.sessionId,role:"button",tabIndex:0,active:v,onClick:u,onKeyDown:(i)=>{if(i.key==="Enter"||i.key===" ")i.preventDefault(),u()},media:t.SessionMedia?o(t.SessionMedia,{sessionId:e.sessionId,state:l?.state}):void 0,state:l?.state,interruption:l?.interruption??null,title:e.title??p("sessionList.untitled"),onHoverCardOpenChange:c,hoverCard:o(E,{sessionRow:e,onDelete:()=>I(e),onForked:S,actions:d}),meta:e.updatedAt!==null?o("span",{className:"text-muted-foreground shrink-0 text-xs",children:Ye(e.updatedAt,k.language)}):void 0,actions:l!=null?o(xe,{title:p("sessionList.stop"),onStop:()=>m(t,h.stopSession(e.sessionId))}):void 0})}function E({sessionRow:e,onDelete:v,onForked:f,actions:S}){let c=a(),{t:d}=c,t=s(),p=n((r)=>D(r.agent)),k=n((r)=>r.connection==="ready"&&r.agent?.capabilities?.session?.fork!=null),[h,l]=y(!1),[I,u]=y(!1),i=B(!1);return o(ye,{sessionRow:e,renaming:h,onRename:(r)=>{if(l(!1),r!==null)m(c,t.renameSession(e.sessionId,r))},actions:b(C,{children:[p&&o(F,{icon:o(N,{}),label:d("sessionList.rename"),onClick:()=>l(!0)}),S,e.archived?o(F,{icon:o(A,{}),label:d("sessionList.unarchive"),onClick:()=>void m(c,t.unarchive(e.sessionId))}):b(C,{children:[o(F,{icon:o(H,{}),label:d("sessionList.fork"),disabled:!k||I,onClick:()=>{if(i.current)return;i.current=!0,u(!0),m(c,t.fork(e.sessionId,e.cwd).then((r)=>{let g=t.state.sessionList.find((L)=>L.sessionId===r);if(!g)throw Error("Forked chat is missing from the session list");f(g)}).finally(()=>{i.current=!1,u(!1)}))}}),o(F,{icon:o(x,{}),label:d("sessionList.archive"),onClick:()=>void m(c,t.archive(e.sessionId))})]}),o(F,{variant:"destructive",icon:o(R,{}),label:d("sessionList.delete"),onClick:v})]})})}
|
|
2
|
+
export{hn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function
|
|
2
|
-
export{
|
|
1
|
+
function Ie(e){if(e.startsWith("\\\\?\\UNC\\"))e="\\\\"+e.slice(8);else if(e.startsWith("\\\\?\\"))e=e.slice(4);if(/^[a-z]:[\\/]/i.test(e))e="/"+e.replaceAll("\\","/");else if(e.startsWith("\\\\"))e=e.replaceAll("\\","/");if(!e.startsWith("/"))throw Error("File URLs require an absolute path");let i=encodeURI(e).replaceAll(/[?#]/g,encodeURIComponent);return e.startsWith("//")?`file:${i}`:`file://${i}`}
|
|
2
|
+
export{Ie};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function
|
|
2
|
-
export{
|
|
1
|
+
function Qi(t){if(!t||typeof t!=="object"||!("codex"in t))return null;let o=t.codex;if(!o||typeof o!=="object"||!("questionReply"in o))return null;let n=o.questionReply;if(!n||typeof n!=="object"||!("question"in n)||!("answer"in n))return null;return typeof n.question==="string"&&typeof n.answer==="string"?{question:n.question,answer:n.answer}:null}function Yi(t){if(!t||typeof t!=="object"||!("codex"in t))return null;let o=t.codex;if(!o||typeof o!=="object"||!("questionReplyParts"in o))return null;let n=o.questionReplyParts;if(!Array.isArray(n)||n.length===0)return null;let i=n;if(!i.every((e)=>!!e&&typeof e==="object"&&("text"in e)&&typeof e.text==="string"&&(!("question"in e)||e.question===void 0||typeof e.question==="string")))return null;return i.map((e)=>({text:e.text,...e.question===void 0?{}:{question:e.question}}))}
|
|
2
|
+
export{Qi,Yi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{F}from"./chunk-r6b9fdnm.js";import{ke}from"./chunk-bv175dn9.js";import{_,ie}from"./chunk-s267ztm1.js";import{R,Y}from"./chunk-kgjdh49d.js";import{ve,oe}from"./chunk-1tb3d2x4.js";import{cn as G}from"cn";import{BoxIcon as S,ChevronRightIcon as U,PlusIcon as E,StarIcon as u}from"lucide-react";import{useState as d}from"react";import{Button as M}from"@nyssance/shadcn/vega/components/ui/button";import{DropdownMenu as z,DropdownMenuContent as L,DropdownMenuGroup as N,DropdownMenuItem as y,DropdownMenuRadioGroup as j,DropdownMenuRadioItem as K,DropdownMenuSeparator as q,DropdownMenuTrigger as J}from"@nyssance/shadcn/vega/components/ui/dropdown-menu";import{Input as Q}from"@nyssance/shadcn/vega/components/ui/input";import{jsx as e,jsxs as a}from"react/jsx-runtime";function xo({sessionId:l,trigger:f,favorite:n=!1,hoverBackground:k=n?"none":void 0,allowRemove:O=!0,submenu:g=!1,className:x,onOpenChange:B}){let{t}=_(),c=oe(),A=ie(),T=ke(),{collections:s,order:C}=ve(),i=C.find((o)=>s[o].sessionIds.includes(l)),[H,P]=d(!1),[w,D]=d(!1),[m,b]=d(""),[r,h]=d(!1),v=(o)=>{if(P(o),T(o),B?.(o),!o)D(!1),b("")},p=(o)=>{h(!0),A(o.then(()=>{v(!1)}).finally(()=>h(!1)))};return a(z,{modal:!1,open:H,onOpenChange:(o,I)=>{if(!o&&w&&I.reason==="trigger-hover"){I.cancel();return}v(o)},children:[e(J,{disabled:r,"data-hover-background":k,openOnHover:n||g,"aria-label":t(n&&i!==void 0?"collection.removeFromAll":"collection.addTo"),onMouseDown:(o)=>{if(n)o.preventBaseUIHandler()},onClick:(o)=>{if(!n)return;o.preventBaseUIHandler(),p(c({type:"favorite",sessionId:l}))},render:f??e(M,{variant:"ghost",size:"icon-sm",className:x,"aria-label":t(n&&i!==void 0?"collection.removeFromAll":"collection.addTo"),children:e(u,{className:G(i!==void 0&&"fill-current")})})}),a(L,{className:"w-56 font-normal",side:g?"inline-end":"bottom",align:g?"start":"end",sideOffset:4,children:[e(N,{children:e(j,{value:i??null,children:C.map((o)=>a(K,{value:o,disabled:r||i===o,closeOnClick:!1,onClick:()=>p(c({type:"add",collectionId:o,sessionId:l})),children:[o===R?e(u,{}):s[o].emoji?e("span",{className:"flex size-4 shrink-0 items-center justify-center text-sm","aria-hidden":"true",children:s[o].emoji}):e(S,{}),e("span",{className:"min-w-0 flex-1 truncate",children:Y(s[o],t)})]},o))})}),e(q,{}),a(N,{children:[a(y,{disabled:r,closeOnClick:!1,onClick:()=>D(!0),children:[e(E,{}),t("collection.newCollection")]}),O&&i!==void 0&&a(y,{disabled:r,closeOnClick:!1,onClick:()=>p(c({type:"remove",sessionId:l})),children:[e(u,{}),t("collection.removeFromAll")]})]}),w&&a("form",{className:"flex items-center gap-1 px-2 py-1.5",onSubmit:(o)=>{if(o.preventDefault(),o.stopPropagation(),!m.trim()||r)return;p(c({type:"create",id:`collection-${crypto.randomUUID()}`,name:m,sessionId:l}))},children:[e(Q,{autoFocus:!0,"aria-label":t("collection.collectionName"),placeholder:t("collection.collectionName"),value:m,disabled:r,onChange:(o)=>b(o.target.value),onKeyDown:(o)=>o.stopPropagation(),className:"h-7 min-w-0"}),e(M,{size:"xs",type:"submit",disabled:r||!m.trim(),children:t("collection.confirm")})]})]})]})}function Nr({sessionId:l,allowRemove:f=!0}){let{t:n}=_();return e(xo,{sessionId:l,allowRemove:f,submenu:!0,trigger:e(F,{icon:e(u,{}),label:n("collection.addTo"),trailing:e(U,{className:"rtl:rotate-180"})})})}
|
|
2
|
+
export{xo,Nr};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var ca={allow_once:0,allow_always:1,reject_once:2,reject_always:3};function hi(e){return[...e].toSorted((o,n)=>(ca[o.kind]??99)-(ca[n.kind]??99))}function Oa(e){return e==="allow_once"||e==="allow_always"}function Ba(e){return e==="allow_always"||e==="reject_always"}
|
|
2
|
+
export{ca,hi,Oa,Ba};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var v={ar:{title:"المكونات الإضافية",search:"البحث عن plugins",sections:{installed:"تم التثبيت",showLess:"عرض أقل"},loadError:{retry:"أعد المحاولة"},card:{install:"ثَبَّتَ",uninstall:"إلغاء التثبيت",installTooltip:"تثبيت البرنامج المساعد"},installModal:{about:"عن",includesSkills:"مهارات",includesApps:"تطبيقات",includesMcpServers:"خوادم MCP",connected:"متصل"},detail:{root:"الإضافات",install:"تثبيت البرنامج المساعد",uninstall:"إلغاء التثبيت",loading:"تحميل",skills:"مهارات",apps:"تطبيقات",mcpServers:"خوادم MCP",developer:"المطور",category:"فئة",version:"إصدار",website:"موقع إلكتروني",privacyPolicy:"سياسة الخصوصية"},manageTabs:{plugins:"الإضافات",skills:"مهارات",marketplace:"السوق"},headings:{plugins:"الإضافات",skills:"مهارات",marketplace:"السوق"},skills:{scope:{user:"مستخدم",repo:"المشروع",system:"نظام"},installed:"تم التثبيت",refresh:"تحديث",open:"يفتح",revealInFinder:"كشف في الباحث",details:"تفاصيل"},marketplace:{loadErrorRetry:"أعد المحاولة",partialRetry:"أعد المحاولة",removeConfirm:"يزيل",removeCancel:"يلغي",sourceLabel:"مصدر",addCancel:"يلغي"},previousPage:"سابق",nextPage:"التالي",close:"إغلاق",copy:"نسخ",extensions:"ملحقات"},de:{sections:{installed:"Installiert"},loadError:{retry:"Wiederholen"},card:{install:"Installieren",uninstall:"Deinstallieren",installTooltip:"Plugin installieren"},installModal:{about:"Über",connected:"Verbunden"},detail:{install:"Plugin installieren",uninstall:"Deinstallieren",developer:"Entwickler",category:"Kategorie",privacyPolicy:"Datenschutzrichtlinie"},skills:{scope:{user:"Nutzer",repo:"Projekt"},installed:"Installiert",open:"Öffnen",revealInFinder:"Im Finder anzeigen"},marketplace:{loadErrorRetry:"Wiederholen",partialRetry:"Wiederholen",removeConfirm:"Entfernen",removeCancel:"Abbrechen",sourceLabel:"Quelle",addCancel:"Abbrechen"},previousPage:"Vorherige",nextPage:"Nächste",close:"Schließen",copy:"Kopieren"},en:{catalog:{navigation:"Toolbox navigation",customize:"Toolbox",content:"Plugin and skill content",pluginViews:"Plugin views",personal:"Personal",showMore:"Show {{count}} more",title:"Plugins",description:"Discover plugins and manage skills and tools.",search:"Search plugins and skills",clearSearch:"Clear search",sourceHelp:"Add a GitHub repository, Git URL, or local folder.",scope:"Skill scope",allScopes:"All scopes",skillCount:"{{count}} skills",location:"Location",fromPlugin:"From plugin",toggleNotApplied:"The skill state did not match the requested change."},title:"Plugins",beta:"BETA",subtitle:"Work with Codex across your favorite tools",search:"Search plugins",manage:"Manage",pageActions:"Page actions",addMarketplace:"Add a marketplace",sections:{featured:"Recommended",installed:"Installed",installedEmpty:"No plugins installed",showLess:"Show less",seeMore:"See more",seeMoreDescription:"See {{pluginNames}}, and more"},empty:"No plugins found",loading:"Loading plugins…",loadError:{title:"Failed to load plugins",retry:"Retry"},card:{install:"Install",installing:"Installing",uninstalling:"Uninstalling",manage:"Manage",moreActions:"More actions",uninstall:"Uninstall",tryNow:"Try now",disabledInstallTooltip:"Access is turned off by your admin",disabledByAdmin:"Disabled by admin",installTooltip:"Install plugin",gitMarketplace:"From a Git marketplace",namedGitMarketplace:"From the {{marketplaceName}} Git marketplace",folderMarketplace:"From a folder marketplace",namedFolderMarketplace:"From {{marketplaceName}}",localPlugin:"From your personal marketplace on this machine",enabledStatus:"Plugin enabled",disabledStatus:"Plugin disabled",installedByAdmin:"Installed by admin",enable:"Enable {{pluginName}}",disable:"Disable {{pluginName}}"},disabledReason:{planNotEligible:"Not available on your plan",requiredAppUnavailable:"Required app unavailable",unknown:"Unavailable"},toast:{installed:"{{pluginName}} plugin installed",installError:"Failed to install plugin",refreshError:"Installed {{pluginName}}, but failed to refresh the plugin list",uninstalled:"{{pluginName}} plugin uninstalled",uninstallError:"Failed to uninstall plugin",uninstallNotApplied:"The plugin is still installed after refreshing. Please try again.",skillsReloadError:"Plugin changed, but skills couldn't refresh. Reload skills before starting a new chat",syncError:"The change was saved, but refreshing the list failed: {{message}}",toggleError:"Failed to update plugin",enabled:"{{pluginName}} plugin enabled",disabled:"{{pluginName}} plugin disabled",toggleNotApplied:"The refreshed plugin state does not match the requested change. Please try again."},installModal:{title:"Install {{pluginName}}",install:"Install {{pluginName}}",installing:"Installing {{pluginName}}",developedBy:"Developed by {{developerName}}",category:"Category: {{category}}",about:"About",capabilities:"Capabilities",includes:"Includes",includesSkills:"Skills",includesApps:"Apps",includesMcpServers:"MCP servers",needsAppsTitle:"Connect your apps to {{pluginName}}",needsAppsSubtitle:"Get more relevant help from the apps you already use. You can always do this later.",tryNow:"Try {{pluginName}} now",viewDetails:"View details",connect:"Connect",connected:"Connected",connecting:"Opened link"},detail:{root:"Plugins",install:"Install plugin",installing:"Installing",tryNow:"Try now",moreActions:"More actions",uninstall:"Uninstall",loading:"Loading",errorTitle:"Failed to load plugin",missing:"Plugin not found",missingDescription:"This plugin could not be loaded from its marketplace entry.",skills:"Skills",apps:"Apps",mcpServers:"MCP servers",hooks:"Hooks",information:"Information",developer:"Developer",category:"Category",version:"Version",website:"Website",capabilities:"Capabilities",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",unavailable:"Unavailable",disabledByAdmin:"Disabled by admin",fallbackTitle:"Plugin"},breadcrumb:{manage:"Manage"},manageTabs:{aria:"Manage extensions",plugins:"Plugins",skills:"Skills",marketplace:"Marketplace"},headings:{plugins:"Plugins",skills:"Skills",marketplace:"Marketplace"},skills:{document:{open:"Open",reveal:"Show in file manager",copy:"Copy Markdown",content:"Skill instructions",error:"Could not read SKILL.md"},search:"Search skills",scope:{user:"User",repo:"Project",system:"System",admin:"Admin"},empty:"No skills found",installed:"Installed",loading:"Loading skills…",refresh:"Refresh",filteredEmpty:"No skills match your filters",filteredEmptyDescription:"Try adjusting your search or scope filters",enable:"Enable skill",disable:"Disable skill",enabledStatus:"Skill enabled",disabledStatus:"Skill disabled",disabledBadge:"Disabled",enabledToast:"{{skillName}} skill enabled",disabledToast:"{{skillName}} skill disabled",toggleError:"Failed to update skill",moreActions:"More actions",open:"Open",revealInFinder:"Reveal in Finder",revealInFileExplorer:"Reveal in File Explorer",revealInFileManager:"Reveal in File Manager",details:"Details"},marketplace:{subtitle:"Manage available plugin marketplaces",search:"Search marketplaces",empty:"No marketplaces found",loading:"Loading marketplaces…",loadErrorTitle:"Unable to load marketplaces",loadErrorRetry:"Retry",partialTitle:"Some marketplaces could not be loaded",partialRetry:"Retry",upgrade:"Upgrade marketplace",upgradeButton:"Upgrade",upgradeBuiltIn:"Built-in marketplaces update automatically",upgradeLocal:"Only Git marketplaces can be upgraded",upgradeAll:"Upgrade",upgradeAllTooltip:"Upgrade all marketplaces",remove:"Remove marketplace",removeBuiltIn:"Built-in marketplaces cannot be removed",removeConfigured:"Only configured marketplaces can be removed",removeTitle:'Remove "{{marketplaceName}}"?',removeDescription:"This removes the marketplace from your configuration. Its plugins won't appear unless you add it again.",removeConfirm:"Remove",removeCancel:"Cancel",addTitle:"Add plugin marketplace",addSubtitle:"Add from a GitHub repo, Git URL, or local folder. Learn more",sourceLabel:"Source",sourcePlaceholder:"openai/plugins or git@github.com:org/repo.git",sourceRequired:"Enter a marketplace source",refLabel:"Git ref",refPlaceholder:"main",sparseLabel:"Sparse paths",sparsePlaceholder:"plugins/codex",addSubmit:"Add marketplace",addCancel:"Cancel",added:"{{marketplaceName}} marketplace added",alreadyAdded:"{{marketplaceName}} is already added",addFailed:"Failed to add marketplace",refreshFailed:"{{marketplaceName}} marketplace is configured, but failed to refresh the plugin list",removed:"{{marketplaceName}} marketplace removed",removeError:"Failed to remove marketplace",upgraded:"{{marketplaceName}} marketplace upgraded",upgradeError:"Failed to upgrade marketplace",upgradedAll:"Marketplaces upgraded",upgradeAllError:"Some marketplaces failed to upgrade",upgradeAllRequestError:"Failed to upgrade marketplaces",pluginCount_one:"{{count}} plugin",pluginCount_other:"{{count}} plugins",partialMore_one:"{{count}} more marketplace could not be loaded",partialMore_other:"{{count}} more marketplaces could not be loaded"},previousPage:"Previous",nextPage:"Next",close:"Close",copy:"Copy",extensions:"Extensions"},es:{sections:{installed:"Instalado"},loadError:{retry:"Reintentar"},card:{install:"Instalar",uninstall:"Desinstalar",installTooltip:"Instalar plugin"},installModal:{about:"Acerca de",includesSkills:"Habilidades",connected:"Conectado"},detail:{install:"Instalar plugin",uninstall:"Desinstalar",skills:"Habilidades",developer:"Desarrollador",category:"Categoría",version:"Versión",website:"Sitio web",privacyPolicy:"política de privacidad"},manageTabs:{skills:"Habilidades"},headings:{skills:"Habilidades"},skills:{scope:{user:"Usuario",system:"Sistema",repo:"Proyecto"},installed:"Instalado",open:"Abrir",revealInFinder:"Mostrar en Finder",details:"Detalles"},marketplace:{loadErrorRetry:"Reintentar",partialRetry:"Reintentar",removeConfirm:"Quitar",removeCancel:"Cancelar",sourceLabel:"Fuente",addCancel:"Cancelar"},previousPage:"Anterior",nextPage:"Siguiente",close:"Cerrar",copy:"Copiar"},fr:{sections:{installed:"Installé"},loadError:{retry:"Réessayer"},card:{install:"Installer",uninstall:"Désinstaller",installTooltip:"Installer le plugin"},installModal:{about:"À propos",includesSkills:"Compétences",connected:"Connecté"},detail:{install:"Installer le plugin",uninstall:"Désinstaller",skills:"Compétences",developer:"Développeur",category:"Catégorie",website:"Site web",privacyPolicy:"politique de confidentialité"},manageTabs:{skills:"Compétences"},headings:{skills:"Compétences"},skills:{scope:{user:"Utilisateur",system:"Système",repo:"Projet"},installed:"Installé",open:"Ouvrir",revealInFinder:"Afficher dans le Finder",details:"Détails"},marketplace:{loadErrorRetry:"Réessayer",partialRetry:"Réessayer",removeConfirm:"Retirer",removeCancel:"Annuler",addCancel:"Annuler"},previousPage:"Précédent",nextPage:"Suivant",close:"Fermer",copy:"Copier"},hi:{title:"प्लगइन्स",sections:{installed:"इंस्टॉल किया गया"},loadError:{retry:"पुनः प्रयास करें"},card:{install:"इंस्टॉल करें",uninstall:"अनइंस्टॉल करें",installTooltip:"प्लगइन इंस्टॉल करें"},installModal:{about:"के बारे में",includesSkills:"स्किल्स",includesApps:"ऐप्स",connected:"जुड़ा हुआ"},detail:{root:"प्लगइन",install:"प्लगइन इंस्टॉल करें",uninstall:"अनइंस्टॉल करें",skills:"स्किल्स",apps:"ऐप्स",developer:"डेवलपर",category:"श्रेणी",version:"संस्करण",website:"वेबसाइट",privacyPolicy:"गोपनीयता नीति"},manageTabs:{plugins:"प्लगइन",skills:"स्किल्स"},headings:{plugins:"प्लगइन",skills:"स्किल्स"},skills:{scope:{user:"उपयोगकर्ता",system:"सिस्टम",repo:"प्रोजेक्ट"},installed:"इंस्टॉल किया गया",open:"खोलें",revealInFinder:"Finder में दिखाएं",details:"विवरण"},marketplace:{loadErrorRetry:"पुनः प्रयास करें",partialRetry:"पुनः प्रयास करें",removeConfirm:"हटाएँ",removeCancel:"रद्द करें",sourceLabel:"सोर्स",addCancel:"रद्द करें"},previousPage:"पिछला",nextPage:"अगला",close:"बंद करें",copy:"कॉपी करें"},id:{title:"Plugin",sections:{installed:"Terpasang"},loadError:{retry:"Coba lagi"},card:{install:"Instal",uninstall:"Hapus instalasi",installTooltip:"Pasang plugin"},installModal:{about:"Tentang",includesSkills:"Skill",includesApps:"Aplikasi",includesMcpServers:"MCP server",connected:"Terhubung"},detail:{root:"Plugin",install:"Pasang plugin",uninstall:"Hapus instalasi",skills:"Skill",apps:"Aplikasi",mcpServers:"MCP server",developer:"Pengembang",category:"Kategori",version:"Versi",website:"Situs web",privacyPolicy:"kebijakan privasi"},manageTabs:{plugins:"Plugin",skills:"Skill"},headings:{plugins:"Plugin",skills:"Skill"},skills:{scope:{user:"Pengguna",system:"Sistem",repo:"Proyek"},installed:"Terpasang",open:"Buka",revealInFinder:"Tampilkan di Finder",details:"Detail"},marketplace:{loadErrorRetry:"Coba lagi",partialRetry:"Coba lagi",removeConfirm:"Hapus",removeCancel:"Batal",sourceLabel:"Sumber",addCancel:"Batal"},previousPage:"Sebelumnya",nextPage:"Berikutnya",close:"Tutup",copy:"Salin"},it:{title:"Plugin",sections:{installed:"Installato"},loadError:{retry:"Riprova"},card:{install:"Installa",uninstall:"Disinstalla",installTooltip:"Installa plugin"},installModal:{about:"Informazioni",includesSkills:"Skill",includesApps:"App",includesMcpServers:"MCP server",connected:"Connesso"},detail:{root:"Plugin",install:"Installa plugin",uninstall:"Disinstalla",skills:"Skill",apps:"App",mcpServers:"MCP server",developer:"Sviluppatore",category:"Categoria",version:"Versione",website:"Sito web",privacyPolicy:"informativa sulla privacy"},manageTabs:{plugins:"Plugin",skills:"Skill"},headings:{plugins:"Plugin",skills:"Skill"},skills:{scope:{user:"Utente",system:"Sistema",repo:"Progetto"},installed:"Installato",open:"Apri",revealInFinder:"Mostra nel Finder",details:"Dettagli"},marketplace:{loadErrorRetry:"Riprova",partialRetry:"Riprova",removeConfirm:"Rimuovi",removeCancel:"Annulla",sourceLabel:"Sorgente",addCancel:"Annulla"},previousPage:"Precedente",nextPage:"Successivo",close:"Chiudi",copy:"Copia"},ja:{title:"プラグイン",sections:{installed:"インストール済み"},loadError:{retry:"再試行"},card:{install:"インストール",uninstall:"アンインストール",installTooltip:"プラグインをインストール"},installModal:{about:"概要",includesSkills:"スキル",includesApps:"アプリ",connected:"接続済み"},detail:{root:"プラグイン",install:"プラグインをインストール",uninstall:"アンインストール",skills:"スキル",apps:"アプリ",developer:"開発者",category:"カテゴリ",version:"バージョン",website:"Webサイト",privacyPolicy:"プライバシーポリシー"},manageTabs:{plugins:"プラグイン",skills:"スキル",marketplace:"マーケットプレイス"},headings:{plugins:"プラグイン",skills:"スキル",marketplace:"マーケットプレイス"},skills:{scope:{user:"ユーザー",system:"システム",repo:"プロジェクト"},installed:"インストール済み",open:"開く",revealInFinder:"Finderで表示",details:"詳細"},marketplace:{loadErrorRetry:"再試行",partialRetry:"再試行",removeConfirm:"削除",removeCancel:"キャンセル",sourceLabel:"ソース",addCancel:"キャンセル"},previousPage:"前へ",nextPage:"次へ",close:"閉じる",copy:"コピー"},ko:{title:"플러그인",sections:{installed:"설치됨"},loadError:{retry:"다시 시도"},card:{install:"설치",uninstall:"제거",installTooltip:"플러그인 설치"},installModal:{about:"정보",includesSkills:"스킬",includesApps:"앱",includesMcpServers:"MCP 서버",connected:"연결됨"},detail:{root:"플러그인",install:"플러그인 설치",uninstall:"제거",skills:"스킬",apps:"앱",mcpServers:"MCP 서버",developer:"개발자",category:"카테고리",version:"버전",website:"웹사이트",privacyPolicy:"개인정보 보호정책"},manageTabs:{plugins:"플러그인",skills:"스킬",marketplace:"마켓플레이스"},headings:{plugins:"플러그인",skills:"스킬",marketplace:"마켓플레이스"},skills:{scope:{user:"사용자",system:"시스템",repo:"프로젝트"},installed:"설치됨",open:"열기",revealInFinder:"Finder에서 보기",details:"세부 정보"},marketplace:{loadErrorRetry:"다시 시도",partialRetry:"다시 시도",removeConfirm:"제거",removeCancel:"취소",sourceLabel:"소스",addCancel:"취소"},previousPage:"이전",nextPage:"다음",close:"닫기",copy:"복사"},"pt-BR":{sections:{installed:"Instalado"},loadError:{retry:"Tentar novamente"},card:{install:"Instalar",uninstall:"Desinstalar",installTooltip:"Instalar plugin"},installModal:{about:"Sobre",connected:"Conectado"},detail:{install:"Instalar plugin",uninstall:"Desinstalar",developer:"Desenvolvedor",category:"Categoria",version:"Versão",website:"Site",privacyPolicy:"política de privacidade"},skills:{scope:{user:"Usuário",system:"Sistema",repo:"Projeto"},installed:"Instalado",open:"Abrir",revealInFinder:"Mostrar no Finder",details:"Detalhes"},marketplace:{loadErrorRetry:"Tentar novamente",partialRetry:"Tentar novamente",removeConfirm:"Remover",removeCancel:"Cancelar",sourceLabel:"Código-fonte",addCancel:"Cancelar"},previousPage:"Anterior",nextPage:"Próximo",close:"Fechar",copy:"Copiar"},ru:{title:"Плагины",sections:{installed:"Установлено"},loadError:{retry:"Повторить"},card:{install:"Установить",uninstall:"Удалить",installTooltip:"Установить плагин"},installModal:{about:"О программе",includesSkills:"Навыки",includesApps:"Приложения",connected:"Подключено"},detail:{root:"Плагины",install:"Установить плагин",uninstall:"Удалить",skills:"Навыки",apps:"Приложения",developer:"Разработчик",category:"Категория",version:"Версия",website:"Сайт",privacyPolicy:"политику конфиденциальности"},manageTabs:{plugins:"Плагины",skills:"Навыки"},headings:{plugins:"Плагины",skills:"Навыки"},skills:{scope:{user:"Пользователь",system:"Система",repo:"Проект"},installed:"Установлено",open:"Открыть",revealInFinder:"Показать в Finder",details:"Подробности"},marketplace:{loadErrorRetry:"Повторить",partialRetry:"Повторить",removeConfirm:"Удалить",removeCancel:"Отмена",sourceLabel:"Исходник",addCancel:"Отмена"},previousPage:"Предыдущее",nextPage:"Следующее",close:"Закрыть",copy:"Копировать"},"zh-CN":{catalog:{navigation:"工具箱导航",customize:"工具箱",content:"插件与技能内容",pluginViews:"插件视图",personal:"个人",showMore:"查看其余 {{count}} 项",title:"插件",description:"发现插件,管理技能与工具",search:"搜索插件和技能",clearSearch:"清除搜索",sourceHelp:"添加 GitHub 仓库、Git 地址或本地文件夹。",scope:"技能范围",allScopes:"全部范围",skillCount:"{{count}} 个技能",location:"位置",fromPlugin:"来自插件",toggleNotApplied:"技能实际状态与请求不一致。"},title:"插件",beta:"BETA",subtitle:"在你常用的工具中使用 Codex",search:"搜索插件",manage:"管理",pageActions:"页面操作",addMarketplace:"添加插件市场",sections:{featured:"推荐",installed:"已安装",installedEmpty:"尚未安装插件",showLess:"收起",seeMore:"查看更多",seeMoreDescription:"查看{{pluginNames}}等更多"},empty:"未找到插件",loading:"正在加载插件…",loadError:{title:"插件加载失败",retry:"重试"},card:{install:"安装",installing:"正在安装",uninstalling:"正在卸载",manage:"管理",moreActions:"更多操作",uninstall:"卸载",tryNow:"立即试用",disabledInstallTooltip:"你的管理员已关闭访问权限",disabledByAdmin:"已被管理员禁用",installTooltip:"安装插件",gitMarketplace:"来自 Git 市场",namedGitMarketplace:"来自 {{marketplaceName}} Git 市场",folderMarketplace:"来自文件夹插件市场",namedFolderMarketplace:"来自 {{marketplaceName}}",localPlugin:"来自此设备上的个人插件市场",enabledStatus:"插件已启用",disabledStatus:"插件已禁用",installedByAdmin:"由管理员安装",enable:"启用 {{pluginName}}",disable:"禁用 {{pluginName}}"},disabledReason:{planNotEligible:"你的套餐不支持",requiredAppUnavailable:"所需应用不可用",unknown:"不可用"},toast:{installed:"{{pluginName}} 插件已安装",installError:"插件安装失败",refreshError:"已安装 {{pluginName}},但刷新插件列表失败",uninstalled:"{{pluginName}} 插件已卸载",uninstallError:"插件卸载失败",uninstallNotApplied:"刷新后插件仍处于已安装状态,请重试。",skillsReloadError:"插件已更改,但无法刷新技能。请先重新加载技能,再开始新聊天",syncError:"操作已保存,但列表刷新失败:{{message}}",toggleError:"无法更新插件",enabled:"{{pluginName}} 插件已启用",disabled:"{{pluginName}} 插件已禁用",toggleNotApplied:"刷新后的插件状态与请求不一致,请重试。"},installModal:{title:"安装 {{pluginName}}",install:"安装 {{pluginName}}",installing:"正在安装 {{pluginName}}",developedBy:"由 {{developerName}} 开发",category:"类别:{{category}}",about:"关于",capabilities:"功能",includes:"包含内容",includesSkills:"技能",includesApps:"应用",includesMcpServers:"MCP 服务器",needsAppsTitle:"将应用连接到 {{pluginName}}",needsAppsSubtitle:"从你已在使用的应用中获得相关性更强的帮助。你也可以稍后再设置。",tryNow:"立即试用 {{pluginName}}",viewDetails:"查看详情",connect:"连接",connected:"已连接",connecting:"已打开链接"},detail:{root:"插件",install:"安装插件",installing:"正在安装",tryNow:"立即试用",moreActions:"更多操作",uninstall:"卸载",loading:"正在加载",errorTitle:"无法加载插件",missing:"未找到插件",missingDescription:"无法从插件市场详情页加载此插件。",skills:"技能",apps:"应用",mcpServers:"MCP 服务器",hooks:"钩子",information:"信息",developer:"开发者",category:"类别",version:"版本",website:"网站",capabilities:"功能",privacyPolicy:"隐私政策",termsOfService:"服务条款",unavailable:"不可用",disabledByAdmin:"管理员已禁用",fallbackTitle:"插件"},breadcrumb:{manage:"管理"},manageTabs:{aria:"管理扩展程序",plugins:"插件",skills:"技能",marketplace:"市场"},headings:{plugins:"插件",skills:"技能",marketplace:"市场"},skills:{document:{open:"打开",reveal:"在文件夹中显示",copy:"复制 Markdown",content:"技能正文",error:"无法读取 SKILL.md"},search:"搜索技能",scope:{user:"用户",repo:"项目",system:"系统",admin:"管理员"},empty:"找不到技能",installed:"已安装",loading:"正在加载技能…",refresh:"刷新",filteredEmpty:"没有符合筛选条件的技能",filteredEmptyDescription:"尝试调整你的搜索内容或范围筛选条件",enable:"启用技能",disable:"禁用技能",enabledStatus:"技能已启用",disabledStatus:"技能已禁用",disabledBadge:"已禁用",enabledToast:"{{skillName}} 技能已启用",disabledToast:"{{skillName}} 技能已禁用",toggleError:"无法更新技能",moreActions:"更多操作",open:"打开",revealInFinder:"在 Finder 中显示",revealInFileExplorer:"在文件资源管理器中显示",revealInFileManager:"在文件管理器中显示",details:"详情"},marketplace:{subtitle:"管理可用的插件市场",search:"搜索市场",empty:"未找到任何市场",loading:"正在加载市场…",loadErrorTitle:"无法加载插件市场",loadErrorRetry:"重试",partialTitle:"部分插件市场无法加载",partialRetry:"重试",upgrade:"升级市场",upgradeButton:"升级",upgradeBuiltIn:"内置市场会自动更新",upgradeLocal:"只能升级 Git 市场",upgradeAll:"升级",upgradeAllTooltip:"升级所有市场",remove:"移除市场",removeBuiltIn:"无法移除内置市场",removeConfigured:"仅可移除已配置的市场",removeTitle:"是否移除“{{marketplaceName}}”?",removeDescription:"这会从你的配置中移除该市场。除非你重新添加,否则其插件不会显示。",removeConfirm:"移除",removeCancel:"取消",addTitle:"添加插件市场",addSubtitle:"从 GitHub 仓库、Git URL 或本地文件夹添加。了解更多",sourceLabel:"来源",sourcePlaceholder:"openai/plugins 或 git@github.com:org/repo.git",sourceRequired:"请输入市场来源",refLabel:"Git 引用",refPlaceholder:"主分支",sparseLabel:"稀疏路径",sparsePlaceholder:"plugins/codex",addSubmit:"添加市场",addCancel:"取消",added:"已添加 {{marketplaceName}} 市场",alreadyAdded:"{{marketplaceName}} 已添加",addFailed:"添加插件市场失败",refreshFailed:"{{marketplaceName}} 市场已配置,但刷新插件列表失败",removed:"已移除 {{marketplaceName}} 市场",removeError:"移除市场失败",upgraded:"{{marketplaceName}} 市场已升级",upgradeError:"升级市场失败",upgradedAll:"市场已升级",upgradeAllError:"部分市场升级失败",upgradeAllRequestError:"升级市场失败",pluginCount_one:"{{count}} 个插件",pluginCount_other:"{{count}} 个插件",partialMore_one:"还有 {{count}} 个市场无法加载",partialMore_other:"还有 {{count}} 个市场无法加载"},previousPage:"上一页",nextPage:"下一页",close:"关闭",copy:"复制",extensions:"扩展"}};
|
|
2
|
-
export{
|
|
1
|
+
var b={ar:{title:"المكونات الإضافية",search:"البحث عن plugins",sections:{installed:"تم التثبيت",showLess:"عرض أقل"},loadError:{retry:"أعد المحاولة"},card:{install:"ثَبَّتَ",uninstall:"إلغاء التثبيت",installTooltip:"تثبيت البرنامج المساعد"},installModal:{about:"عن",includesSkills:"مهارات",includesApps:"تطبيقات",includesMcpServers:"خوادم MCP",connected:"متصل"},detail:{root:"الإضافات",install:"تثبيت البرنامج المساعد",uninstall:"إلغاء التثبيت",loading:"تحميل",skills:"مهارات",apps:"تطبيقات",mcpServers:"خوادم MCP",developer:"المطور",category:"فئة",version:"إصدار",website:"موقع إلكتروني",privacyPolicy:"سياسة الخصوصية"},manageTabs:{plugins:"الإضافات",skills:"مهارات",marketplace:"السوق"},headings:{plugins:"الإضافات",skills:"مهارات",marketplace:"السوق"},skills:{scope:{user:"مستخدم",repo:"المشروع",system:"نظام"},installed:"تم التثبيت",refresh:"تحديث",open:"يفتح",revealInFinder:"كشف في الباحث",details:"تفاصيل"},marketplace:{loadErrorRetry:"أعد المحاولة",partialRetry:"أعد المحاولة",removeConfirm:"يزيل",removeCancel:"يلغي",sourceLabel:"مصدر",addCancel:"يلغي"},previousPage:"سابق",nextPage:"التالي",close:"إغلاق",copy:"نسخ",extensions:"ملحقات"},de:{sections:{installed:"Installiert"},loadError:{retry:"Wiederholen"},card:{install:"Installieren",uninstall:"Deinstallieren",installTooltip:"Plugin installieren"},installModal:{about:"Über",connected:"Verbunden"},detail:{install:"Plugin installieren",uninstall:"Deinstallieren",developer:"Entwickler",category:"Kategorie",privacyPolicy:"Datenschutzrichtlinie"},skills:{scope:{user:"Nutzer",repo:"Projekt"},installed:"Installiert",open:"Öffnen",revealInFinder:"Im Finder anzeigen"},marketplace:{loadErrorRetry:"Wiederholen",partialRetry:"Wiederholen",removeConfirm:"Entfernen",removeCancel:"Abbrechen",sourceLabel:"Quelle",addCancel:"Abbrechen"},previousPage:"Vorherige",nextPage:"Nächste",close:"Schließen",copy:"Kopieren"},en:{catalog:{navigation:"Toolbox navigation",customize:"Toolbox",content:"Plugin and skill content",pluginViews:"Plugin views",personal:"Personal",showMore:"Show {{count}} more",title:"Plugins",description:"Discover plugins and manage skills and tools.",search:"Search plugins and skills",clearSearch:"Clear search",sourceHelp:"Add a GitHub repository, Git URL, or local folder.",scope:"Skill scope",allScopes:"All scopes",skillCount:"{{count}} skills",location:"Location",fromPlugin:"From plugin",toggleNotApplied:"The skill state did not match the requested change."},title:"Plugins",beta:"BETA",subtitle:"Work with Codex across your favorite tools",search:"Search plugins",manage:"Manage",pageActions:"Page actions",addMarketplace:"Add a marketplace",sections:{featured:"Recommended",installed:"Installed",installedEmpty:"No plugins installed",showLess:"Show less",seeMore:"See more",seeMoreDescription:"See {{pluginNames}}, and more"},empty:"No plugins found",loading:"Loading plugins…",loadError:{title:"Failed to load plugins",retry:"Retry"},card:{install:"Install",installing:"Installing",uninstalling:"Uninstalling",manage:"Manage",moreActions:"More actions",uninstall:"Uninstall",tryNow:"Try now",disabledInstallTooltip:"Access is turned off by your admin",disabledByAdmin:"Disabled by admin",installTooltip:"Install plugin",gitMarketplace:"From a Git marketplace",namedGitMarketplace:"From the {{marketplaceName}} Git marketplace",folderMarketplace:"From a folder marketplace",namedFolderMarketplace:"From {{marketplaceName}}",localPlugin:"From your personal marketplace on this machine",enabledStatus:"Plugin enabled",disabledStatus:"Plugin disabled",installedByAdmin:"Installed by admin",enable:"Enable {{pluginName}}",disable:"Disable {{pluginName}}"},disabledReason:{planNotEligible:"Not available on your plan",requiredAppUnavailable:"Required app unavailable",unknown:"Unavailable"},toast:{installed:"{{pluginName}} plugin installed",installError:"Failed to install plugin",refreshError:"Installed {{pluginName}}, but failed to refresh the plugin list",uninstalled:"{{pluginName}} plugin uninstalled",uninstallError:"Failed to uninstall plugin",uninstallNotApplied:"The plugin is still installed after refreshing. Please try again.",skillsReloadError:"Plugin changed, but skills couldn't refresh. Reload skills before starting a new chat",syncError:"The change was saved, but refreshing the list failed: {{message}}",toggleError:"Failed to update plugin",enabled:"{{pluginName}} plugin enabled",disabled:"{{pluginName}} plugin disabled",toggleNotApplied:"The refreshed plugin state does not match the requested change. Please try again."},installModal:{title:"Install {{pluginName}}",install:"Install {{pluginName}}",installing:"Installing {{pluginName}}",developedBy:"Developed by {{developerName}}",category:"Category: {{category}}",about:"About",capabilities:"Capabilities",includes:"Includes",includesSkills:"Skills",includesApps:"Apps",includesMcpServers:"MCP servers",needsAppsTitle:"Connect your apps to {{pluginName}}",needsAppsSubtitle:"Get more relevant help from the apps you already use. You can always do this later.",tryNow:"Try {{pluginName}} now",viewDetails:"View details",connect:"Connect",connected:"Connected",connecting:"Opened link"},detail:{root:"Plugins",install:"Install plugin",installing:"Installing",tryNow:"Try now",moreActions:"More actions",uninstall:"Uninstall",loading:"Loading",errorTitle:"Failed to load plugin",missing:"Plugin not found",missingDescription:"This plugin could not be loaded from its marketplace entry.",skills:"Skills",apps:"Apps",mcpServers:"MCP servers",hooks:"Hooks",information:"Information",developer:"Developer",category:"Category",version:"Version",website:"Website",capabilities:"Capabilities",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",unavailable:"Unavailable",disabledByAdmin:"Disabled by admin",fallbackTitle:"Plugin"},breadcrumb:{manage:"Manage"},manageTabs:{aria:"Manage extensions",plugins:"Plugins",skills:"Skills",marketplace:"Marketplace"},headings:{plugins:"Plugins",skills:"Skills",marketplace:"Marketplace"},skills:{document:{open:"Open",reveal:"Show in file manager",copy:"Copy Markdown",content:"Skill instructions",error:"Could not read SKILL.md"},search:"Search skills",scope:{user:"User",repo:"Project",system:"System",admin:"Admin"},empty:"No skills found",installed:"Installed",loading:"Loading skills…",refresh:"Refresh",filteredEmpty:"No skills match your filters",filteredEmptyDescription:"Try adjusting your search or scope filters",enable:"Enable skill",disable:"Disable skill",enabledStatus:"Skill enabled",disabledStatus:"Skill disabled",disabledBadge:"Disabled",enabledToast:"{{skillName}} skill enabled",disabledToast:"{{skillName}} skill disabled",toggleError:"Failed to update skill",moreActions:"More actions",open:"Open",revealInFinder:"Reveal in Finder",revealInFileExplorer:"Reveal in File Explorer",revealInFileManager:"Reveal in File Manager",details:"Details"},marketplace:{subtitle:"Manage available plugin marketplaces",search:"Search marketplaces",empty:"No marketplaces found",loading:"Loading marketplaces…",loadErrorTitle:"Unable to load marketplaces",loadErrorRetry:"Retry",partialTitle:"Some marketplaces could not be loaded",partialRetry:"Retry",upgrade:"Upgrade marketplace",upgradeButton:"Upgrade",upgradeBuiltIn:"Built-in marketplaces update automatically",upgradeLocal:"Only Git marketplaces can be upgraded",upgradeAll:"Upgrade",upgradeAllTooltip:"Upgrade all marketplaces",remove:"Remove marketplace",removeBuiltIn:"Built-in marketplaces cannot be removed",removeConfigured:"Only configured marketplaces can be removed",removeTitle:'Remove "{{marketplaceName}}"?',removeDescription:"This removes the marketplace from your configuration. Its plugins won't appear unless you add it again.",removeConfirm:"Remove",removeCancel:"Cancel",addTitle:"Add plugin marketplace",addSubtitle:"Add from a GitHub repo, Git URL, or local folder. Learn more",sourceLabel:"Source",sourcePlaceholder:"openai/plugins or git@github.com:org/repo.git",sourceRequired:"Enter a marketplace source",refLabel:"Git ref",refPlaceholder:"main",sparseLabel:"Sparse paths",sparsePlaceholder:"plugins/codex",addSubmit:"Add marketplace",addCancel:"Cancel",added:"{{marketplaceName}} marketplace added",alreadyAdded:"{{marketplaceName}} is already added",addFailed:"Failed to add marketplace",refreshFailed:"{{marketplaceName}} marketplace is configured, but failed to refresh the plugin list",removed:"{{marketplaceName}} marketplace removed",removeError:"Failed to remove marketplace",upgraded:"{{marketplaceName}} marketplace upgraded",upgradeError:"Failed to upgrade marketplace",upgradedAll:"Marketplaces upgraded",upgradeAllError:"Some marketplaces failed to upgrade",upgradeAllRequestError:"Failed to upgrade marketplaces",pluginCount_one:"{{count}} plugin",pluginCount_other:"{{count}} plugins",partialMore_one:"{{count}} more marketplace could not be loaded",partialMore_other:"{{count}} more marketplaces could not be loaded"},previousPage:"Previous",nextPage:"Next",close:"Close",copy:"Copy",extensions:"Extensions"},es:{sections:{installed:"Instalado"},loadError:{retry:"Reintentar"},card:{install:"Instalar",uninstall:"Desinstalar",installTooltip:"Instalar plugin"},installModal:{about:"Acerca de",includesSkills:"Habilidades",connected:"Conectado"},detail:{install:"Instalar plugin",uninstall:"Desinstalar",skills:"Habilidades",developer:"Desarrollador",category:"Categoría",version:"Versión",website:"Sitio web",privacyPolicy:"política de privacidad"},manageTabs:{skills:"Habilidades"},headings:{skills:"Habilidades"},skills:{scope:{user:"Usuario",system:"Sistema",repo:"Proyecto"},installed:"Instalado",open:"Abrir",revealInFinder:"Mostrar en Finder",details:"Detalles"},marketplace:{loadErrorRetry:"Reintentar",partialRetry:"Reintentar",removeConfirm:"Quitar",removeCancel:"Cancelar",sourceLabel:"Fuente",addCancel:"Cancelar"},previousPage:"Anterior",nextPage:"Siguiente",close:"Cerrar",copy:"Copiar"},fr:{sections:{installed:"Installé"},loadError:{retry:"Réessayer"},card:{install:"Installer",uninstall:"Désinstaller",installTooltip:"Installer le plugin"},installModal:{about:"À propos",includesSkills:"Compétences",connected:"Connecté"},detail:{install:"Installer le plugin",uninstall:"Désinstaller",skills:"Compétences",developer:"Développeur",category:"Catégorie",website:"Site web",privacyPolicy:"politique de confidentialité"},manageTabs:{skills:"Compétences"},headings:{skills:"Compétences"},skills:{scope:{user:"Utilisateur",system:"Système",repo:"Projet"},installed:"Installé",open:"Ouvrir",revealInFinder:"Afficher dans le Finder",details:"Détails"},marketplace:{loadErrorRetry:"Réessayer",partialRetry:"Réessayer",removeConfirm:"Retirer",removeCancel:"Annuler",addCancel:"Annuler"},previousPage:"Précédent",nextPage:"Suivant",close:"Fermer",copy:"Copier"},hi:{title:"प्लगइन्स",sections:{installed:"इंस्टॉल किया गया"},loadError:{retry:"पुनः प्रयास करें"},card:{install:"इंस्टॉल करें",uninstall:"अनइंस्टॉल करें",installTooltip:"प्लगइन इंस्टॉल करें"},installModal:{about:"के बारे में",includesSkills:"स्किल्स",includesApps:"ऐप्स",connected:"जुड़ा हुआ"},detail:{root:"प्लगइन",install:"प्लगइन इंस्टॉल करें",uninstall:"अनइंस्टॉल करें",skills:"स्किल्स",apps:"ऐप्स",developer:"डेवलपर",category:"श्रेणी",version:"संस्करण",website:"वेबसाइट",privacyPolicy:"गोपनीयता नीति"},manageTabs:{plugins:"प्लगइन",skills:"स्किल्स"},headings:{plugins:"प्लगइन",skills:"स्किल्स"},skills:{scope:{user:"उपयोगकर्ता",system:"सिस्टम",repo:"प्रोजेक्ट"},installed:"इंस्टॉल किया गया",open:"खोलें",revealInFinder:"Finder में दिखाएं",details:"विवरण"},marketplace:{loadErrorRetry:"पुनः प्रयास करें",partialRetry:"पुनः प्रयास करें",removeConfirm:"हटाएँ",removeCancel:"रद्द करें",sourceLabel:"सोर्स",addCancel:"रद्द करें"},previousPage:"पिछला",nextPage:"अगला",close:"बंद करें",copy:"कॉपी करें"},id:{title:"Plugin",sections:{installed:"Terpasang"},loadError:{retry:"Coba lagi"},card:{install:"Instal",uninstall:"Hapus instalasi",installTooltip:"Pasang plugin"},installModal:{about:"Tentang",includesSkills:"Skill",includesApps:"Aplikasi",includesMcpServers:"MCP server",connected:"Terhubung"},detail:{root:"Plugin",install:"Pasang plugin",uninstall:"Hapus instalasi",skills:"Skill",apps:"Aplikasi",mcpServers:"MCP server",developer:"Pengembang",category:"Kategori",version:"Versi",website:"Situs web",privacyPolicy:"kebijakan privasi"},manageTabs:{plugins:"Plugin",skills:"Skill"},headings:{plugins:"Plugin",skills:"Skill"},skills:{scope:{user:"Pengguna",system:"Sistem",repo:"Proyek"},installed:"Terpasang",open:"Buka",revealInFinder:"Tampilkan di Finder",details:"Detail"},marketplace:{loadErrorRetry:"Coba lagi",partialRetry:"Coba lagi",removeConfirm:"Hapus",removeCancel:"Batal",sourceLabel:"Sumber",addCancel:"Batal"},previousPage:"Sebelumnya",nextPage:"Berikutnya",close:"Tutup",copy:"Salin"},it:{title:"Plugin",sections:{installed:"Installato"},loadError:{retry:"Riprova"},card:{install:"Installa",uninstall:"Disinstalla",installTooltip:"Installa plugin"},installModal:{about:"Informazioni",includesSkills:"Skill",includesApps:"App",includesMcpServers:"MCP server",connected:"Connesso"},detail:{root:"Plugin",install:"Installa plugin",uninstall:"Disinstalla",skills:"Skill",apps:"App",mcpServers:"MCP server",developer:"Sviluppatore",category:"Categoria",version:"Versione",website:"Sito web",privacyPolicy:"informativa sulla privacy"},manageTabs:{plugins:"Plugin",skills:"Skill"},headings:{plugins:"Plugin",skills:"Skill"},skills:{scope:{user:"Utente",system:"Sistema",repo:"Progetto"},installed:"Installato",open:"Apri",revealInFinder:"Mostra nel Finder",details:"Dettagli"},marketplace:{loadErrorRetry:"Riprova",partialRetry:"Riprova",removeConfirm:"Rimuovi",removeCancel:"Annulla",sourceLabel:"Sorgente",addCancel:"Annulla"},previousPage:"Precedente",nextPage:"Successivo",close:"Chiudi",copy:"Copia"},ja:{title:"プラグイン",sections:{installed:"インストール済み"},loadError:{retry:"再試行"},card:{install:"インストール",uninstall:"アンインストール",installTooltip:"プラグインをインストール"},installModal:{about:"概要",includesSkills:"スキル",includesApps:"アプリ",connected:"接続済み"},detail:{root:"プラグイン",install:"プラグインをインストール",uninstall:"アンインストール",skills:"スキル",apps:"アプリ",developer:"開発者",category:"カテゴリ",version:"バージョン",website:"Webサイト",privacyPolicy:"プライバシーポリシー"},manageTabs:{plugins:"プラグイン",skills:"スキル",marketplace:"マーケットプレイス"},headings:{plugins:"プラグイン",skills:"スキル",marketplace:"マーケットプレイス"},skills:{scope:{user:"ユーザー",system:"システム",repo:"プロジェクト"},installed:"インストール済み",open:"開く",revealInFinder:"Finderで表示",details:"詳細"},marketplace:{loadErrorRetry:"再試行",partialRetry:"再試行",removeConfirm:"削除",removeCancel:"キャンセル",sourceLabel:"ソース",addCancel:"キャンセル"},previousPage:"前へ",nextPage:"次へ",close:"閉じる",copy:"コピー"},ko:{title:"플러그인",sections:{installed:"설치됨"},loadError:{retry:"다시 시도"},card:{install:"설치",uninstall:"제거",installTooltip:"플러그인 설치"},installModal:{about:"정보",includesSkills:"스킬",includesApps:"앱",includesMcpServers:"MCP 서버",connected:"연결됨"},detail:{root:"플러그인",install:"플러그인 설치",uninstall:"제거",skills:"스킬",apps:"앱",mcpServers:"MCP 서버",developer:"개발자",category:"카테고리",version:"버전",website:"웹사이트",privacyPolicy:"개인정보 보호정책"},manageTabs:{plugins:"플러그인",skills:"스킬",marketplace:"마켓플레이스"},headings:{plugins:"플러그인",skills:"스킬",marketplace:"마켓플레이스"},skills:{scope:{user:"사용자",system:"시스템",repo:"프로젝트"},installed:"설치됨",open:"열기",revealInFinder:"Finder에서 보기",details:"세부 정보"},marketplace:{loadErrorRetry:"다시 시도",partialRetry:"다시 시도",removeConfirm:"제거",removeCancel:"취소",sourceLabel:"소스",addCancel:"취소"},previousPage:"이전",nextPage:"다음",close:"닫기",copy:"복사"},"pt-BR":{sections:{installed:"Instalado"},loadError:{retry:"Tentar novamente"},card:{install:"Instalar",uninstall:"Desinstalar",installTooltip:"Instalar plugin"},installModal:{about:"Sobre",connected:"Conectado"},detail:{install:"Instalar plugin",uninstall:"Desinstalar",developer:"Desenvolvedor",category:"Categoria",version:"Versão",website:"Site",privacyPolicy:"política de privacidade"},skills:{scope:{user:"Usuário",system:"Sistema",repo:"Projeto"},installed:"Instalado",open:"Abrir",revealInFinder:"Mostrar no Finder",details:"Detalhes"},marketplace:{loadErrorRetry:"Tentar novamente",partialRetry:"Tentar novamente",removeConfirm:"Remover",removeCancel:"Cancelar",sourceLabel:"Código-fonte",addCancel:"Cancelar"},previousPage:"Anterior",nextPage:"Próximo",close:"Fechar",copy:"Copiar"},ru:{title:"Плагины",sections:{installed:"Установлено"},loadError:{retry:"Повторить"},card:{install:"Установить",uninstall:"Удалить",installTooltip:"Установить плагин"},installModal:{about:"О программе",includesSkills:"Навыки",includesApps:"Приложения",connected:"Подключено"},detail:{root:"Плагины",install:"Установить плагин",uninstall:"Удалить",skills:"Навыки",apps:"Приложения",developer:"Разработчик",category:"Категория",version:"Версия",website:"Сайт",privacyPolicy:"политику конфиденциальности"},manageTabs:{plugins:"Плагины",skills:"Навыки"},headings:{plugins:"Плагины",skills:"Навыки"},skills:{scope:{user:"Пользователь",system:"Система",repo:"Проект"},installed:"Установлено",open:"Открыть",revealInFinder:"Показать в Finder",details:"Подробности"},marketplace:{loadErrorRetry:"Повторить",partialRetry:"Повторить",removeConfirm:"Удалить",removeCancel:"Отмена",sourceLabel:"Исходник",addCancel:"Отмена"},previousPage:"Предыдущее",nextPage:"Следующее",close:"Закрыть",copy:"Копировать"},"zh-CN":{catalog:{navigation:"工具箱导航",customize:"工具箱",content:"插件与技能内容",pluginViews:"插件视图",personal:"个人",showMore:"查看其余 {{count}} 项",title:"插件",description:"发现插件,管理技能与工具",search:"搜索插件和技能",clearSearch:"清除搜索",sourceHelp:"添加 GitHub 仓库、Git 地址或本地文件夹。",scope:"技能范围",allScopes:"全部范围",skillCount:"{{count}} 个技能",location:"位置",fromPlugin:"来自插件",toggleNotApplied:"技能实际状态与请求不一致。"},title:"插件",beta:"BETA",subtitle:"在你常用的工具中使用 Codex",search:"搜索插件",manage:"管理",pageActions:"页面操作",addMarketplace:"添加插件市场",sections:{featured:"推荐",installed:"已安装",installedEmpty:"尚未安装插件",showLess:"收起",seeMore:"查看更多",seeMoreDescription:"查看{{pluginNames}}等更多"},empty:"未找到插件",loading:"正在加载插件…",loadError:{title:"插件加载失败",retry:"重试"},card:{install:"安装",installing:"正在安装",uninstalling:"正在卸载",manage:"管理",moreActions:"更多操作",uninstall:"卸载",tryNow:"立即试用",disabledInstallTooltip:"你的管理员已关闭访问权限",disabledByAdmin:"已被管理员禁用",installTooltip:"安装插件",gitMarketplace:"来自 Git 市场",namedGitMarketplace:"来自 {{marketplaceName}} Git 市场",folderMarketplace:"来自文件夹插件市场",namedFolderMarketplace:"来自 {{marketplaceName}}",localPlugin:"来自此设备上的个人插件市场",enabledStatus:"插件已启用",disabledStatus:"插件已禁用",installedByAdmin:"由管理员安装",enable:"启用 {{pluginName}}",disable:"禁用 {{pluginName}}"},disabledReason:{planNotEligible:"你的套餐不支持",requiredAppUnavailable:"所需应用不可用",unknown:"不可用"},toast:{installed:"{{pluginName}} 插件已安装",installError:"插件安装失败",refreshError:"已安装 {{pluginName}},但刷新插件列表失败",uninstalled:"{{pluginName}} 插件已卸载",uninstallError:"插件卸载失败",uninstallNotApplied:"刷新后插件仍处于已安装状态,请重试。",skillsReloadError:"插件已更改,但无法刷新技能。请先重新加载技能,再开始新聊天",syncError:"操作已保存,但列表刷新失败:{{message}}",toggleError:"无法更新插件",enabled:"{{pluginName}} 插件已启用",disabled:"{{pluginName}} 插件已禁用",toggleNotApplied:"刷新后的插件状态与请求不一致,请重试。"},installModal:{title:"安装 {{pluginName}}",install:"安装 {{pluginName}}",installing:"正在安装 {{pluginName}}",developedBy:"由 {{developerName}} 开发",category:"类别:{{category}}",about:"关于",capabilities:"功能",includes:"包含内容",includesSkills:"技能",includesApps:"应用",includesMcpServers:"MCP 服务器",needsAppsTitle:"将应用连接到 {{pluginName}}",needsAppsSubtitle:"从你已在使用的应用中获得相关性更强的帮助。你也可以稍后再设置。",tryNow:"立即试用 {{pluginName}}",viewDetails:"查看详情",connect:"连接",connected:"已连接",connecting:"已打开链接"},detail:{root:"插件",install:"安装插件",installing:"正在安装",tryNow:"立即试用",moreActions:"更多操作",uninstall:"卸载",loading:"正在加载",errorTitle:"无法加载插件",missing:"未找到插件",missingDescription:"无法从插件市场详情页加载此插件。",skills:"技能",apps:"应用",mcpServers:"MCP 服务器",hooks:"钩子",information:"信息",developer:"开发者",category:"类别",version:"版本",website:"网站",capabilities:"功能",privacyPolicy:"隐私政策",termsOfService:"服务条款",unavailable:"不可用",disabledByAdmin:"管理员已禁用",fallbackTitle:"插件"},breadcrumb:{manage:"管理"},manageTabs:{aria:"管理扩展程序",plugins:"插件",skills:"技能",marketplace:"市场"},headings:{plugins:"插件",skills:"技能",marketplace:"市场"},skills:{document:{open:"打开",reveal:"在文件夹中显示",copy:"复制 Markdown",content:"技能正文",error:"无法读取 SKILL.md"},search:"搜索技能",scope:{user:"用户",repo:"项目",system:"系统",admin:"管理员"},empty:"找不到技能",installed:"已安装",loading:"正在加载技能…",refresh:"刷新",filteredEmpty:"没有符合筛选条件的技能",filteredEmptyDescription:"尝试调整你的搜索内容或范围筛选条件",enable:"启用技能",disable:"禁用技能",enabledStatus:"技能已启用",disabledStatus:"技能已禁用",disabledBadge:"已禁用",enabledToast:"{{skillName}} 技能已启用",disabledToast:"{{skillName}} 技能已禁用",toggleError:"无法更新技能",moreActions:"更多操作",open:"打开",revealInFinder:"在 Finder 中显示",revealInFileExplorer:"在文件资源管理器中显示",revealInFileManager:"在文件管理器中显示",details:"详情"},marketplace:{subtitle:"管理可用的插件市场",search:"搜索市场",empty:"未找到任何市场",loading:"正在加载市场…",loadErrorTitle:"无法加载插件市场",loadErrorRetry:"重试",partialTitle:"部分插件市场无法加载",partialRetry:"重试",upgrade:"升级市场",upgradeButton:"升级",upgradeBuiltIn:"内置市场会自动更新",upgradeLocal:"只能升级 Git 市场",upgradeAll:"升级",upgradeAllTooltip:"升级所有市场",remove:"移除市场",removeBuiltIn:"无法移除内置市场",removeConfigured:"仅可移除已配置的市场",removeTitle:"是否移除“{{marketplaceName}}”?",removeDescription:"这会从你的配置中移除该市场。除非你重新添加,否则其插件不会显示。",removeConfirm:"移除",removeCancel:"取消",addTitle:"添加插件市场",addSubtitle:"从 GitHub 仓库、Git URL 或本地文件夹添加。了解更多",sourceLabel:"来源",sourcePlaceholder:"openai/plugins 或 git@github.com:org/repo.git",sourceRequired:"请输入市场来源",refLabel:"Git 引用",refPlaceholder:"主分支",sparseLabel:"稀疏路径",sparsePlaceholder:"plugins/codex",addSubmit:"添加市场",addCancel:"取消",added:"已添加 {{marketplaceName}} 市场",alreadyAdded:"{{marketplaceName}} 已添加",addFailed:"添加插件市场失败",refreshFailed:"{{marketplaceName}} 市场已配置,但刷新插件列表失败",removed:"已移除 {{marketplaceName}} 市场",removeError:"移除市场失败",upgraded:"{{marketplaceName}} 市场已升级",upgradeError:"升级市场失败",upgradedAll:"市场已升级",upgradeAllError:"部分市场升级失败",upgradeAllRequestError:"升级市场失败",pluginCount_one:"{{count}} 个插件",pluginCount_other:"{{count}} 个插件",partialMore_one:"还有 {{count}} 个市场无法加载",partialMore_other:"还有 {{count}} 个市场无法加载"},previousPage:"上一页",nextPage:"下一页",close:"关闭",copy:"复制",extensions:"扩展"}};
|
|
2
|
+
export{b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{nativeTurnId as a}from"@nyssance/codex-acp-v2/client";function
|
|
2
|
-
export{
|
|
1
|
+
import{nativeTurnId as a}from"@nyssance/codex-acp-v2/client";function Fi(o,i){let u=new Set,s=(e)=>{let t=e.items.map(a).find((r)=>r!==null),n=e.items.every((r)=>r.replayed);if(t===void 0||u.has(t))return{turnKey:e.key,turn:e,deferUntilReady:n};return u.add(t),{turnKey:`history:${t}`,aliases:[e.key],turn:e,deferUntilReady:n}};if(!i?.complete)return o.map(s);let d=new Map;for(let e of o){let t=e.items.map(a).find((r)=>r!==null);if(t===void 0)continue;let n=d.get(t)??[];n.push(e),d.set(t,n)}let l=new Set(i.turns.map((e)=>e.turnId)),y=new Set(i.loadedTurnIds);return[...i.turns.flatMap((e)=>{let t=d.get(e.turnId);if(t)return t.map(s);return y.has(e.turnId)?[]:[{turnKey:`history:${e.turnId}`,nativeTurnId:e.turnId,estimatedHeightPx:320,placeholder:!0}]}),...o.filter((e)=>!e.items.some((t)=>l.has(a(t)??""))).map(s)]}
|
|
2
|
+
export{Fi};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
async function
|
|
2
|
-
export{
|
|
1
|
+
async function di(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{di};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`),I=o?null:
|
|
3
|
-
export{
|
|
1
|
+
import{Un,On}from"./chunk-s4v10afm.js";import{M}from"./chunk-acmc2r2s.js";import{pt}from"./chunk-b0bd8abz.js";import{qn}from"./chunk-1sxmqb44.js";import{t}from"./chunk-844s61q1.js";import{er,ce,ft,nr}from"./chunk-rge2pazt.js";import{Gn}from"./chunk-fp3rp1qc.js";import{Ne}from"./chunk-8a1th59e.js";import{Vn}from"./chunk-mxh0vcye.js";import{Kn}from"./chunk-z9q7rgbf.js";import{Oi}from"./chunk-m7exm1n3.js";import{ji}from"./chunk-djk0ebpk.js";import{Ki}from"./chunk-88j29hzx.js";import{qi}from"./chunk-pnavf2zs.js";import{jn,$n}from"./chunk-wz6a2j26.js";import{gt}from"./chunk-rb4p3h5b.js";import{codexMessageError as q,codexTurnError as z,isContentEntry as me,isEmbeddedResource as Z,isImage as ee,isResourceLink as le,isText as de,nativeTurnId as ge}from"@nyssance/codex-acp-v2/client";import{SparklesIcon as ue}from"lucide-react";import{Fragment as X,memo as pe,useEffect as fe,useState as ye}from"react";import{jsx as i,jsxs as m,Fragment as A}from"react/jsx-runtime";function Y(s){if(ee(s))return`${s.mimeType.toLowerCase()}:${s.data}`;if(Z(s)&&"blob"in s.resource&&s.resource.mimeType?.toLowerCase().startsWith("image/"))return`${s.resource.mimeType.toLowerCase()}:${s.resource.blob}`;return null}function he({item:s}){let{t:n}=t(),l=s.status==="in_progress",[o,g]=ye(()=>Date.now()-s.at>=1e4);return fe(()=>{if(!l)return;let a=Math.max(0,s.at+1e4-Date.now());if(g(a===0),a===0)return;let h=setTimeout(()=>g(!0),a);return()=>clearTimeout(h)},[s.id,s.at,l]),m("div",{className:"codex-context-compaction",children:[i(ue,{"aria-hidden":"true"}),i("span",{children:s.status==="completed"?n("stream.codex.contextCompacted"):s.status==="cancelled"?n("timeline.interrupted"):n(o?"timeline.compactingWithDelayNotice":"timeline.compacting")})]})}function N({sessionId:s,entry:n,terminals:l,streaming:o,streamingThoughtId:g}){let{t:a}=t();switch(n.kind){case"activity":return i(Gn,{sessionId:s,items:n.items,terminals:l,streamingThoughtId:g});case"text":return M(n.item._meta).length>0?i(Kn,{sessionId:s,item:n.item}):i(Ne,{content:n.item.content,messageId:n.item.id,streaming:o});case"plan":return i(Ki,{plan:n.item.plan});case"compaction":if(n.item.status==="failed")return m(jn,{children:[i("div",{children:a("timeline.compactionFailed")}),n.item.error!==null&&i("div",{children:n.item.error})]});return i(he,{item:n.item})}}function ke({sessionId:s,turn:n,terminals:l,active:o,blocked:g=!1,continued:a=!1,edits:h=n.edits,activityItems:F=n.items,workStartedAt:te=n.startedAt,isLast:L,error:k,interrupted:P,retry:G,retrying:p,extraWork:d=null,answerActions:O,footer:ne}){let{t:c}=t(),b=n.errors.map((e)=>{let r=q(e);if(r===null)throw Error("Turn error item is missing its diagnostics");let E=G?.turnId===ge(e)?G:void 0;return i($n,{error:r,retry:E},`${e.id}:${E?.delaySeconds??"manual"}`)});if(L&&k!==null&&!n.errors.some((e)=>{let r=q(e);return r!==null&&r.stopReason===k.stopReason&&z(r).message===z(k).message}))b.push(i($n,{error:k},"current-run-error"));let x=b.length>0?i("div",{className:"codex-turn-errors",children:b}):null,C=n.items.filter(qn);if(d===null&&C.length>0&&C.length===n.items.length)return m(A,{children:[i(Gn,{sessionId:s,items:C,terminals:l,streamingThoughtId:null}),x]});let T=n.work,w=T.length>0&&T.every((e)=>e.kind==="compaction");if(d===null&&(er(n)||w&&n.final.length===0))return m(A,{children:[i("div",{role:"status",className:"text-muted-foreground flex min-w-0 flex-col gap-2 py-2 text-sm",children:n.work.map((e)=>i(N,{sessionId:s,entry:e,terminals:l,streaming:!1,streamingThoughtId:null},e.key))}),x]});let W=ft(n),D=n.final.filter((e)=>M(e._meta).length===0).map((e)=>ce({...e,content:Vn(e.content,n.items)})).join(`
|
|
2
|
+
`),I=o?null:gt(n,"assistant"),B=n.items.filter((e)=>e.kind==="tool"&&(e.name==="image_generation"||e.name==="alwith_client_generate_image"||e.name==="generate_image"||e.name?.endsWith(".generate_image"))&&(e.status==="pending"||e.status==="in_progress")),H=new Set(n.final.flatMap((e)=>e.content.map(Y).filter((r)=>r!==null))),f=n.items.flatMap((e)=>{if(!pt(e))return[];return e.content.filter(me).flatMap((r,E)=>{let u=r.content,oe=ee(u),ae=le(u)||Z(u)&&"blob"in u.resource;if(!oe&&!ae)return[];let S=Y(u);if(S!==null){if(H.has(S))return[];H.add(S)}return[{key:`${e.id}:${E}`,block:u}]})}),K=n.final.some((e)=>M(e._meta).length===0&&e.content.some((r)=>!de(r)||r.text.trim().length>0)),ie=B.length>0||f.length>0||w||K||n.final.some((e)=>M(e._meta).length>0),v=n.items.findIndex((e)=>n.final.includes(e)),R=(e)=>n.items.indexOf(e.kind==="activity"?e.items[0]:e.item),Q=T.filter((e)=>v===-1||R(e)<v),se=T.filter((e)=>v!==-1&&R(e)>v),re=[...n.final.map((e)=>({kind:"answer",item:e,index:n.items.indexOf(e)})),...se.map((e)=>({kind:"work",entry:e,index:R(e)}))].toSorted((e,r)=>e.index-r.index),V=!o&&!a&&(D.trim().length>0?i(Un,{text:D,isMostRecentTurn:L,time:I,afterCopy:O}):m("div",{className:"flex items-center gap-0.5",children:[O,I&&i("span",{className:"codex-user-time ms-1",title:I.full,children:I.short})]})),y=qi({...n,items:F},{running:o,blocked:g,retrying:p!==void 0}),j=y.kind==="reasoning"?y.ownerKey??null:null,J=y.kind==="thinking",_=nr({...n,items:F}),U=o&&!K||d?.active===!0;return m(A,{children:[i(On,{stateKey:JSON.stringify([s,n.replayed?"history":"live",n.key]),active:U,defaultExpanded:U||d?.defaultExpanded===!0||!n.replayed&&(P||W),..._,durationMs:d?.active?void 0:_.durationMs,startedAt:_.startedAt??te,loading:(J||y.kind==="working")&&n.work.length===0&&d===null,loadingLabel:y.kind==="working"?c("stream.codex.working"):void 0,work:[...a||w?[]:Q.map((e)=>i(N,{sessionId:s,entry:e,terminals:l,streaming:o,streamingThoughtId:j},e.key)),...d===null?[]:[i(X,{children:d.content},"additional-work")]],answer:ie||a?m("div",{className:"flex min-w-0 flex-col gap-3",children:[(a||w)&&Q.map((e)=>i(N,{sessionId:s,entry:e,terminals:l,streaming:!1,streamingThoughtId:null},e.key)),re.map((e)=>{if(e.kind==="work")return i(N,{sessionId:s,entry:e.entry,terminals:l,streaming:o,streamingThoughtId:j},e.entry.key);let r=e.item;return m(X,{children:[M(r._meta).length>0?i(Kn,{sessionId:s,item:r}):i(Ne,{content:Vn(r.content,n.items),messageId:r.id,streaming:o}),r===n.final.at(-1)&&f.length===0&&V]},r.id)}),B.map((e)=>m("div",{className:"codex-image-generation",role:"status","aria-label":c(o?"timeline.imageGenerating":"timeline.imageStopped"),"aria-busy":o,children:[i("div",{className:"codex-image-generation-texture","aria-hidden":"true"}),m("span",{className:"codex-image-generation-status",children:[o&&i(ji,{startedAt:e.at}),!o&&c("timeline.imageStopped")]})]},e.id)),f.length>0&&i("div",{className:"codex-reply-artifacts flex min-w-0 flex-col gap-3",children:f.map((e)=>i(Ne,{content:[e.block],messageId:e.key,streaming:!1},e.key))}),(n.final.length===0||f.length>0)&&V]}):null,footer:m(A,{children:[J&&n.work.length>0&&i("div",{className:"codex-pending-message py-2",role:"status",children:i("span",{className:"codex-activity-running",children:c("message.thinking")})}),ne,h.length>0&&!o&&!a&&i(Oi,{items:h}),P&&!W&&i("div",{className:"codex-interrupted-turn",role:"status",children:c("timeline.interrupted")}),!o&&x]})}),o&&p!==void 0&&i("div",{className:"text-muted-foreground py-2 text-sm",role:"status",children:p.capacity?(()=>{let e=/Reconnecting(?:\.\.\.)?\s+(\d+\/\d+)/.exec(p.message)?.[1];return e===void 0?c("timeline.capacityReconnecting"):c("timeline.capacityReconnectingProgress",{progress:e})})():p.message}),o&&x]})}var Hi=pe(ke);
|
|
3
|
+
export{Hi};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{de}from"./chunk-0srja8yh.js";import{v,ht}from"./chunk-zfjpfj30.js";import{Xi}from"./chunk-24dqkjvg.js";import{t}from"./chunk-844s61q1.js";import{Qi,Yi}from"./chunk-3tsy36rq.js";import{ee}from"./chunk-2s5598rk.js";import{ce}from"./chunk-rge2pazt.js";import{isEmbeddedResource as d,isImage as g,isResourceLink as x,isText as R}from"@nyssance/codex-acp-v2/client";import{memo as h}from"react";import{jsx as i,jsxs as y}from"react/jsx-runtime";var Zi=h(function({item:n,messageTime:u}){let c=t(),o=Yi(n._meta),m=o?o.map((e)=>e.question===void 0?e.text:`${e.question}
|
|
2
|
+
${e.text}`).join(`
|
|
3
|
+
`):ce(n),p=n.content.filter(g),l=new Set(ht(m).map((e)=>e.id)),r=new Map,a=n.content.filter((e)=>{if(x(e)){let s=v(e.uri);if(s!==null){if(!l.has(s))r.set(s,{id:s,name:e.title??e.name});return!1}return!0}return d(e)}),f=o??n.content.filter(R).map((e)=>{let s=Qi(e._meta);return s?{question:s.question,text:s.answer}:{text:e.text}});if(m.length===0&&p.length===0&&a.length===0&&r.size===0)return null;return y("div",{className:"group/codex-user flex min-w-0 flex-col items-end gap-2","data-content-search-unit-key":n.id,children:[a.length>0&&i("div",{className:"codex-user-mentions",children:a.map((e,s)=>i(ee,{block:e},`${n.id}:${s}`))}),i(Xi,{host:c,message:n,text:m,textParts:f.some((e)=>("question"in e))?f:void 0,applicationReferences:r.size>0?i("div",{className:"mb-1.5 flex flex-wrap gap-1.5",children:[...r.values()].map((e)=>i(de,{app:e},e.id))}):void 0,images:p,mentions:[],messageTime:u})]})});
|
|
4
|
+
export{Zi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createContext as d,useCallback as n,useContext as i,useEffect as V,useMemo as q,useRef as g,useState as z}from"react";import{jsx as D}from"react/jsx-runtime";var F=d(null),An=d(null);function Da(){return i(An)}var En=d(null);function Ha(){return i(En)}var at=d(null);function se(){let r=i(F);if(!r)throw Error("Wrap your component inside <PromptInputProvider> to use usePromptInputController().");return r}var st=()=>i(F);function Ua(){let r=i(at);if(!r)throw Error("Wrap your component inside <PromptInputProvider> to use useProviderAttachments().");return r}var X=()=>i(at);function ui({initialInput:r="",revision:l,onSubmittedClear:c,onRemoveAttachment:A,attachmentPolicy:P,value:R,onValueChange:y,attachments:U,onAttachmentsChange:L,children:B}){let S=n((t)=>{if(t.type)return t.type;let e=(t.name||"").toLowerCase();if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg")||e.endsWith(".jpeg"))return"image/jpeg";if(e.endsWith(".webp"))return"image/webp";if(e.endsWith(".gif"))return"image/gif";if(e.endsWith(".bmp"))return"image/bmp";if(e.endsWith(".svg"))return"image/svg+xml";return""},[]),T=R!==void 0,[G,J]=z(r),p=R??G,o=g({value:p,external:l,revision:0});if(o.current.value!==p||o.current.external!==l)o.current={value:p,external:l,revision:o.current.revision+1};let W=n(()=>o.current.revision,[]),x=n((t)=>{if(o.current.value=t,o.current.revision++,T)y?.(t);else J(t)},[T,y]),h=n(()=>x(""),[x]),v=U!==void 0,[K,N]=z([]),I=U??K,b=g(I);b.current=I;let s=n((t)=>{let e=typeof t==="function"?t(b.current):t;if(v)L?.(e);else N(e)},[v,L]),j=g(null),w=g(()=>{}),O=n((t)=>{let e=[...t];if(e.length===0)return;s((a)=>{let m=P===void 0?e:P.uniqueFiles(e,a);return[...a,...m.map((u)=>{let _=P?.sourcePath(u);return{id:crypto.randomUUID(),type:"file",url:URL.createObjectURL(u),mediaType:S(u),filename:u.name,size:u.size,lastModified:u.lastModified,..._===void 0?{}:{sourcePath:_}}})]})},[P,S,s]),M=n((t)=>{s((e)=>{let a=e.find((m)=>m.id===t);if(a?.url)URL.revokeObjectURL(a.url);return e.filter((m)=>m.id!==t)}),A?.()},[A,s]),E=n(()=>{s((t)=>{for(let e of t)if(e.url)URL.revokeObjectURL(e.url);return[]})},[s]);V(()=>{if(v)return;return()=>{for(let t of b.current)if(t.url)URL.revokeObjectURL(t.url)}},[v]);let k=n(()=>{w.current?.()},[]),C=q(()=>({files:I,add:O,remove:M,clear:E,openFileDialog:k,fileInputRef:j}),[I,O,M,E,k]),H=n((t,e)=>{j.current=t.current,w.current=e},[]),Q=q(()=>({textInput:{value:p,setInput:x,clear:h,getRevision:W,clearSubmitted:c??h},attachments:C,__registerFileInput:H}),[p,x,h,W,c,C,H]);return D(F.Provider,{value:Q,children:D(at.Provider,{value:C,children:B})})}var Ln=d(null);function f(){let r=X(),l=i(Ln),c=r??l;if(!c)throw Error("usePromptInputAttachments must be used within a PromptInput or PromptInputProvider");return c}
|
|
2
|
+
export{An,Da,En,Ha,at,se,st,Ua,ui,Ln,f};
|
|
@@ -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 vn({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{vn};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l,i}from"./chunk-aardrb6e.js";import{U,O,ne,B,G,me}from"./chunk-6z3nch41.js";import{pe}from"./chunk-gnpvd7wg.js";import{x}from"./chunk-btrg3ywt.js";import{he}from"./chunk-9he6963p.js";import{z,ge}from"./chunk-h1embxgj.js";import{CheckIcon as F,SparklesIcon as X,XIcon as _}from"lucide-react";import{useDeferredValue as J,useState as v}from"react";import{Button as y}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as K,DialogClose as Q,DialogContent as R,DialogDescription as W,DialogHeader as Y,DialogTitle as Z}from"@nyssance/shadcn/vega/components/ui/dialog";import{ItemTitle as ee}from"@nyssance/shadcn/vega/components/ui/item";import{Spinner as te}from"@nyssance/shadcn/vega/components/ui/spinner";import{Switch as ae}from"@nyssance/shadcn/vega/components/ui/switch";import{Tabs as se,TabsContent as le,TabsList as ie,TabsTrigger as oe}from"@nyssance/shadcn/vega/components/ui/tabs";import{jsx as t,jsxs as n,Fragment as S}from"react/jsx-runtime";function T({skill:c}){let{assetUrl:m}=l(),[u,s]=v(!1),o=c.interface?.iconSmall,h=o&&m?m(o):c.interface?.iconSmallUrl;return t("div",{className:"bg-muted flex size-10 shrink-0 items-center justify-center rounded-xl",children:h&&!u?t("img",{src:h,alt:"",onError:()=>s(!0),className:"size-6 rounded object-contain"}):t(X,{className:"text-muted-foreground size-6"})})}function re({skill:c}){let{t:m}=l(),u=i((o)=>o.setSkillEnabled),s=i((o)=>(c.path in o.busySkills));return n("div",{className:"flex items-center gap-2",children:[s&&t(te,{className:"text-muted-foreground size-3.5"}),t(ae,{checked:c.enabled,disabled:s,"aria-label":`${m(c.enabled?"plugins.skills.disable":"plugins.skills.enable")}: ${c.interface?.displayName??c.name}`,onCheckedChange:(o)=>void u(c,o)})]})}function xt({query:c,ready:m,onOpenPlugin:u}){let{t:s}=l(),o=i((e)=>e.skills),h=i((e)=>e.skillErrors),P=i((e)=>e.loading)||!m,j=i((e)=>e.installed),M=i((e)=>e.skillProjects),[E,L]=v(null),[k,H]=v(!1),[q,C]=v(null),b=J(c.trim().toLowerCase()),r=o.find((e)=>e.path===q),N=j.find(({plugin:e})=>e.id===r?.pluginId),p=o.filter((e)=>[e.name,e.interface?.displayName,e.description,e.shortDescription,e.interface?.shortDescription,e.pluginId].filter(Boolean).join(" ").toLowerCase().includes(b)).toSorted((e,a)=>(e.interface?.displayName??e.name).localeCompare(a.interface?.displayName??a.name)),d=[...["user","system","admin"].flatMap((e)=>{let a=o.filter((f)=>f.scope===e);return a.length?[{id:e,label:s(e==="user"?"plugins.catalog.personal":`plugins.skills.scope.${e}`),paths:new Set(a.map((f)=>f.path)),path:null}]:[]}),...Object.entries(M).flatMap(([e,a])=>{if(!o.some((I)=>I.scope==="repo"&&a.includes(I.path)))return[];let f=e.replace(/[\\/]+$/,"").split(/[\\/]/).at(-1)||e;return[{id:`project:${e}`,label:f,paths:new Set(a),path:e}]})],A=d.map((e)=>e.label);for(let e of d)if(e.path&&A.filter((a)=>a===e.label).length>1)e.label=e.path;let g=d.find((e)=>e.id===E)??d[0],D=g?p.filter((e)=>g.paths.has(e.path)):[],V=k||b?p:p.slice(0,6),w=(e)=>t(G,{className:"grid grid-cols-1 gap-x-8 gap-y-2 px-0 @min-[700px]:grid-cols-2",children:e.map((a)=>n(me,{className:"toolbox-row relative [contain-intrinsic-size:auto_80px] [content-visibility:auto]",children:[t(y,{variant:"ghost",className:"absolute inset-0 z-0 size-full","aria-label":a.interface?.displayName??a.name,onClick:()=>C(a.path)}),t(B,{className:"pointer-events-none relative translate-none! self-center!",children:t(T,{skill:a})}),n(O,{className:"pointer-events-none relative min-w-0",children:[t(ee,{className:"block truncate",children:a.interface?.displayName??a.name}),t(ne,{className:"line-clamp-1",title:a.interface?.shortDescription??a.shortDescription??a.description,children:a.interface?.shortDescription??a.shortDescription??a.description})]}),t(U,{className:"text-muted-foreground pointer-events-none relative",children:a.enabled?t(F,{className:"size-4","aria-label":s("plugins.skills.enabledStatus")}):t("span",{className:"text-xs",children:s("plugins.skills.disabledBadge")})})]},a.path))});return n("div",{className:"flex min-h-0 flex-1 flex-col gap-4",children:[t(x,{className:"pe-0",viewportClassName:"pe-0",children:n("div",{className:`${z} space-y-8 pt-6`,children:[h.map((e)=>n("p",{role:"alert",className:"text-destructive text-xs break-words",children:[e.path,": ",e.message]},e.path)),P?t(pe,{skills:!0}):n(S,{children:[n("section",{"aria-label":s("plugins.skills.installed"),children:[n("div",{className:"mb-4 flex items-center justify-between gap-3",children:[t("h2",{className:"text-base font-medium",children:s("plugins.skills.installed")}),t("span",{role:"status",className:"text-muted-foreground text-xs",children:s("plugins.catalog.skillCount",{count:p.length})})]}),p.length?w(V):t("p",{className:"text-muted-foreground px-2 py-8 text-sm",children:s(b?"plugins.skills.filteredEmpty":"plugins.skills.empty")}),!b&&p.length>6&&t(y,{variant:"ghost",className:"text-muted-foreground mt-3 max-w-full justify-start","aria-expanded":k,onClick:()=>H((e)=>!e),children:k?s("plugins.sections.showLess"):s("plugins.catalog.showMore",{count:p.length-6})})]}),g&&n(se,{value:g.id,onValueChange:(e)=>{if(typeof e==="string")L(e)},className:"gap-6",children:[t(ie,{"aria-label":s("plugins.catalog.scope"),className:"h-auto max-w-full flex-wrap justify-start gap-2 bg-transparent",children:d.map((e)=>t(oe,{value:e.id,title:e.path??e.label,className:"data-active:bg-muted! h-8 flex-none rounded-lg px-3 text-[13px] font-medium shadow-none! after:hidden dark:data-active:border-transparent",children:e.label},e.id))}),d.map((e)=>t(le,{value:e.id,children:e.id===g.id&&(D.length?w(D):t("p",{className:"text-muted-foreground px-2 py-8 text-sm",children:s("plugins.skills.filteredEmpty")}))},e.id))]})]})]})}),t(K,{open:!!r,onOpenChange:(e)=>{if(!e)C(null)},children:t(R,{showCloseButton:!1,className:ge,children:r&&n(S,{children:[t(he,{path:r.path,renderHeader:(e)=>n(S,{children:[n("div",{className:"flex items-center justify-between gap-4",children:[t(T,{skill:r}),n("div",{className:"flex shrink-0 items-center gap-2",children:[t(re,{skill:r}),e,t(Q,{render:t(y,{variant:"ghost",size:"icon-sm","aria-label":s("plugins.close")}),children:t(_,{})})]})]}),n(Y,{className:"gap-3",children:[t(Z,{className:"text-2xl leading-8 font-semibold break-words",children:r.interface?.displayName??r.name}),t(W,{className:"text-sm leading-6 break-words whitespace-pre-wrap",children:r.description})]})]})},r.path),r.pluginId&&n("div",{className:"text-sm",children:[n("span",{className:"text-muted-foreground",children:[s("plugins.catalog.fromPlugin")," "]}),N?t(y,{variant:"link",className:"h-auto p-0",onClick:()=>{C(null),u(N)},children:N.plugin.interface?.displayName??N.plugin.name}):r.pluginId]})]})})})]})}
|
|
2
|
+
export{xt};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
async function yo(e,t,i){let o=new Map;for(let a=0;a<t.length;a+=100){let r=await e("_codex/apps_read",{appIds:t.slice(a,a+100),...i?{threadId:i}:{},includeTools:!1});if(!r||typeof r!=="object"||!("apps"in r)||!Array.isArray(r.apps))throw Error("Invalid application metadata response");for(let n of r.apps){if(!n||typeof n.id!=="string"||n.iconUrl!==null&&typeof n.iconUrl!=="string"||n.iconUrlDark!==null&&typeof n.iconUrlDark!=="string")throw Error("Invalid application icon metadata");o.set(n.id,{iconUrl:n.iconUrl,iconUrlDark:n.iconUrlDark})}}return o}
|
|
2
|
+
export{yo};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_e}from"./chunk-8pdapsc7.js";import{E}from"./chunk-nktaekpq.js";import{cn as n}from"cn";import{Item as i,ItemActions as U,ItemContent as O,ItemDescription as ne,ItemMedia as B,ItemTitle as a}from"@nyssance/shadcn/vega/components/ui/item";import{jsx as o}from"react/jsx-runtime";function G({className:e,...t}){return o("div",{className:n("flex flex-col px-2",e),...t})}function me({className:e,size:t="xs",active:m,...r}){return o(i,{size:t,"data-active":m,className:n(_e,"data-[active=true]:font-medium",e),...r})}function bt({className:e,children:t,...m}){return o(a,{className:n("w-full",e),...m,children:o(E,{children:t})})}export{U,O,ne,B,G,me,bt};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
export{
|
|
1
|
+
var Ga=280;function Ci({entries:i,gapPx:t,measuredHeightsByKey:o,leadingInsetPx:e=0}){let n=[],r=[],d=new Map,s=[],u=e;for(let[x,a]of i.entries()){d.set(a.turnKey,x);for(let h of a.aliases??[])d.set(h,x);s.push(a.turnKey),r.push(u);let f=a.aliases?.map((h)=>o[h]).find((h)=>h!==void 0),m=o[a.turnKey]??f??a.estimatedHeightPx??280;if(n.push(m),u+=m,x<i.length-1)u+=t}return{bottomOffsetsPx:r.map((x,a)=>{let f=n[a];if(f===void 0)throw Error(`Codex turn height is missing at index ${a}`);return u-x-f}),heightsPx:n,topOffsetsPx:r,totalHeightPx:u,turnIndexByKey:d,turnKeys:s}}function ze({distanceFromBottomPx:i,layout:t,overscanCount:o,viewportHeightPx:e}){if(t.turnKeys.length===0)return{startIndex:0,endIndex:0};let n=Math.min(Math.max(0,i),t.totalHeightPx),r=Math.min(n+Math.max(0,e),t.totalHeightPx),d=g(t.bottomOffsetsPx,r),s=l(t.bottomOffsetsPx,t.heightsPx,n);return{startIndex:Math.max(0,d-o),endIndex:Math.min(t.turnKeys.length,Math.max(s,d+1)+o)}}function Dn({anchorKey:i,layout:t,previousRange:o}){let e=t.turnIndexByKey.get(i);if(e===void 0)return null;return{startIndex:e,endIndex:Math.min(t.turnKeys.length,e+o.endIndex-o.startIndex)}}function wi({anchorKey:i,distanceFromBottomPx:t,nextLayout:o,previousLayout:e}){let n=e.turnIndexByKey.get(i),r=o.turnIndexByKey.get(i);if(n===void 0||r===void 0)return null;let d=e.bottomOffsetsPx[n],s=e.heightsPx[n],u=o.bottomOffsetsPx[r],x=o.heightsPx[r];if(d===void 0||s===void 0||u===void 0||x===void 0)throw Error(`Codex turn geometry is missing: ${i}`);return Math.max(0,t+u+x-d-s)}function ki({layout:i,turnKey:t,viewportHeightPx:o}){let e=i.turnIndexByKey.get(t);if(e===void 0)return null;let n=i.bottomOffsetsPx[e],r=i.heightsPx[e];if(n===void 0||r===void 0)throw Error(`Codex turn geometry is missing: ${t}`);return Math.max(0,n-o/2+r/2)}function Si({align:i,layout:t,targetHeightPx:o,targetOffsetPx:e,turnKey:n,viewportHeightPx:r}){let d=t.turnIndexByKey.get(n);if(d===void 0)return null;let s=t.bottomOffsetsPx[d],u=t.heightsPx[d];if(s===void 0||u===void 0)throw Error(`Codex turn geometry is missing: ${n}`);let x=s+u-e;return i==="top"?Math.max(0,x-r+10):Math.max(0,x-o/2-r/2)}function g(i,t){let o=0,e=i.length;while(o<e){let n=Math.floor((o+e)/2),r=i[n];if(r===void 0)throw Error(`Codex bottom offset is missing at index ${n}`);if(r<t)e=n;else o=n+1}return o}function l(i,t,o){let e=0,n=i.length;while(e<n){let r=Math.floor((e+n)/2),d=i[r],s=t[r];if(d===void 0||s===void 0)throw Error(`Codex turn geometry is missing at index ${r}`);if(d+s<=o)n=r;else e=r+1}return e}
|
|
2
|
+
export{Ga,Ci,ze,Dn,wi,ki,Si};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{S,gn}from"./chunk-xztxaq9k.js";import{Lt}from"./chunk-y8md080p.js";import{useEffect as p,useRef as P,useState as u}from"react";var po="providers:changed",mo="providers:managed-revoked",i=(e)=>e;function kr(){return{read:()=>i(S.providersRead()),save:(e,r,t)=>i(S.providersSave({providerId:r,input:t,expectedRevision:e})),saveCustom:(e,r)=>i(S.providersSaveCustom({input:r,expectedRevision:e})),removeCustom:(e,r)=>i(S.providersRemoveCustom({providerId:r,expectedRevision:e})),test:(e)=>S.providersTest({providerId:e}),apply:()=>i(S.providersApply()),onChanged:(e)=>gn[po].listen((r)=>e(r.payload))}}function Sr(){return{bind:(e)=>S.providersAccountBind({account:e}),refresh:(e,r)=>i(S.providersRefreshManaged({generation:e,accessToken:r})),clear:async()=>{await S.providersClearManaged()},onRevoked:(e)=>gn[mo].listen((r)=>e(r.payload.sessionIds))}}async function Mt(e){try{return await e.apply()}catch(r){if(!Lt(r))throw r;return e.read()}}function At(e,r=console.error){let[t,d]=u(null),a=P(r);return a.current=r,p(()=>{let n=!0,v=e.onChanged((o)=>{if(n)d((s)=>s&&s.revision>o.revision?s:o)});return v.then(()=>e.read()).then((o)=>{if(n)d((s)=>s&&s.revision>=o.revision?s:o)}).catch((o)=>{if(n)a.current(o)}),()=>{n=!1,v.then((o)=>o())}},[e]),t}
|
|
2
|
+
export{po,mo,kr,Sr,Mt,At};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{CheckCircleIcon as c,CircleIcon as o,LoaderIcon as i}from"lucide-react";import{jsx as n,jsxs as e}from"react/jsx-runtime";function
|
|
2
|
-
export{
|
|
1
|
+
import{CheckCircleIcon as c,CircleIcon as o,LoaderIcon as i}from"lucide-react";import{jsx as n,jsxs as e}from"react/jsx-runtime";function le({entries:s}){let d=s.filter((a)=>a.status==="completed").length,t=s.find((a)=>a.status==="in_progress");return e("div",{className:"codex-plan",children:[e("div",{className:"codex-plan-summary",children:[e("span",{children:[d,"/",s.length]}),t!==void 0&&e("span",{className:"codex-plan-active",children:["· ",t.content]})]}),n("div",{className:"codex-plan-entries",children:s.map((a)=>e("div",{className:"codex-plan-entry","data-status":a.status,children:[a.status==="completed"&&n(c,{"aria-hidden":"true"}),a.status==="in_progress"&&n(i,{className:"codex-plan-spinner","aria-hidden":"true"}),a.status==="pending"&&n(o,{"aria-hidden":"true"}),n("span",{children:a.content})]},a.content))})]})}
|
|
2
|
+
export{le};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{k}from"./chunk-mz8tjgre.js";import{o}from"./chunk-844s61q1.js";import{dt}from"./chunk-rwh1yvqn.js";import{h,Z}from"./chunk-7qmj50a2.js";import{e}from"./chunk-rvjfb004.js";import{eo}from"./chunk-xary32dg.js";import{ChevronDownIcon as A,ChevronRightIcon as G,GitBranchIcon as X,Loader2Icon as F,SquareIcon as Y}from"lucide-react";import{useCallback as ss,useEffect as es,useId as J,useRef as L,useState as N}from"react";import{Button as z}from"@nyssance/shadcn/vega/components/ui/button";import{jsx as t,jsxs as p,Fragment as as}from"react/jsx-runtime";function Fn(s,l){let d=o((u)=>u.sessions),r=o((u)=>u.actions),[S,m]=N(()=>new Set);return(u)=>{let c=l?.(u)??null,a=eo(s.id,u,d,r,s);if(a.length===0)return c;let x=`${s.id}:${u.key}`;return{active:c?.active===!0||a.some((i)=>i.status==="running"||i.status==="requires_action"),defaultExpanded:c?.defaultExpanded===!0||S.has(x),content:p(as,{children:[t(xi,{sessionId:s.id,turn:u,parent:s,tasks:a,onExpand:()=>m((i)=>i.has(x)?i:new Set([...i,x]))}),c?.content]})}}}function xi({sessionId:s,turn:l,parent:d,tasks:r,onExpand:S}){let{host:m}=e(),u=o((n)=>n.sessions),c=o((n)=>n.actions),a=r??eo(s,l,u,c,d),x=a.some((n)=>n.status==="running"),i=a.some((n)=>n.status==="running"||n.status==="requires_action"),[f,w]=k(`subagents:${s}:${l.key}`,i,!0),C=J();if(a.length===0)return null;let g=new Map;for(let n of a)g.set(n.status,(g.get(n.status)??0)+1);let v=[...g].map(([n,I])=>`${m.t(`subagents.${n}`)} ${I}`).join(" · ");return p("section",{"data-subagent-sessions":!0,"data-subagent-turn":l.key,"aria-label":m.t("subagents.group"),className:"my-2 min-w-0",children:[p(z,{variant:"ghost",size:"sm",className:"text-muted-foreground h-auto min-h-8 max-w-full justify-start gap-2 text-xs","aria-expanded":f,"aria-controls":C,onClick:()=>{if(!f)S?.();w(!f)},children:[f?t(A,{className:"size-3.5 shrink-0"}):t(G,{className:"size-3.5 shrink-0"}),x?t(F,{className:"size-3.5 shrink-0 motion-safe:animate-spin","aria-hidden":"true"}):t(X,{className:"size-3.5 shrink-0"}),p("span",{className:"shrink-0",children:[m.t("subagents.group")," · ",a.length]}),t("span",{className:"truncate",role:"status",children:v})]}),t("div",{id:C,hidden:!f,className:"border-border ms-3 min-w-0 border-s ps-2",children:a.map((n)=>t(ts,{task:n,cwd:d?.cwd??u[s]?.cwd??"",visible:f,stateKey:`${s}:${l.key}:${n.key}`,onRead:()=>{S?.(),w(!0)}},n.key))})]})}function O(s,l){if(!l)return s;let d=new Map(s.items.map((r)=>[`${r.kind}:${r.id}`,r]));for(let r of l.items)d.set(`${r.kind}:${r.id}`,r);return{...s,...l,items:[...d.values()]}}function ts({task:s,cwd:l,stateKey:d,visible:r,onRead:S}){let{client:m,host:u}=e(),{t:c}=u,a=s.session,x=o((b)=>b.connection==="ready"),[i,f]=k(`subagent:${d}`,!1),[w,C]=N(!1),[g,v]=N(null),[n,I]=N(null),[R,Q]=N(null),[B,P]=N(!1),q=L(!1),_=L(!1),j=J(),W=a&&h(a.configOptions,"model"),T=s.title??c("subagents.untitled"),H=n?O(n,a):a,U=x&&a?.attached&&a.subagent?.capabilities?.cancel!=null&&(s.status==="running"||s.status==="requires_action"),M=s.threadId,D=a?.cwd??l,E=ss(async(b)=>{if(!m.readSubagentHistory||M===null||q.current)return;_.current=!0,q.current=!0,P(!0),v(null);try{let y=await m.readSubagentHistory(M,D,b);I((K)=>K===null?y.session:O(y.session,K)),Q(y.cursor)}catch(y){v(y instanceof Error?y.message:String(y))}finally{q.current=!1,P(!1)}},[m,M,D]);es(()=>{if(r&&i&&!_.current)E(null)},[r,i,E]);let V=async()=>{if(!a)throw Error("A live child session is required for cancellation");C(!0),v(null);try{await m.cancel(a.id)}catch(b){v(b instanceof Error?b.message:String(b))}finally{C(!1)}};return p("section",{"aria-label":T,className:"min-w-0",children:[p("div",{className:"flex min-w-0 items-center gap-1",children:[p(z,{variant:"ghost",size:"sm",className:"min-w-0 flex-1 justify-start gap-2","aria-label":`${T} · ${c(`subagents.${s.status}`)}`,"aria-expanded":i,"aria-controls":j,onClick:()=>{if(!i)S();f(!i)},children:[i?t(A,{className:"size-3.5 shrink-0"}):t(G,{className:"size-3.5 shrink-0"}),t("span",{className:"truncate",children:T}),t("span",{className:"text-muted-foreground ms-auto shrink-0 text-xs",role:"status",children:c(`subagents.${s.status}`)})]}),U&&t(z,{variant:"ghost",size:"icon-sm",disabled:w,"aria-label":c("subagents.cancel",{name:T}),onClick:()=>{V()},children:w?t(F,{className:"size-3.5 animate-spin"}):t(Y,{className:"size-3.5"})})]}),g&&!i&&t("p",{role:"alert",className:"text-destructive px-2 py-1 text-xs",children:g}),p("div",{id:j,hidden:!i,className:"min-w-0 ps-4",children:[(s.description||W)&&p("div",{className:"text-muted-foreground flex min-w-0 items-center gap-2 px-2 py-1 text-xs",children:[t("span",{className:"min-w-0 flex-1 truncate",title:s.description??void 0,children:s.description}),W&&t("span",{className:"shrink-0",children:Z(W)})]}),g&&p("div",{role:"alert",className:"text-destructive px-2 py-1 text-xs",children:[g," ",s.threadId&&t(z,{variant:"ghost",size:"sm",onClick:()=>{E(n===null?null:R)},children:c("timeline.retry")})]}),B&&t("p",{role:"status",className:"text-muted-foreground px-2 py-2 text-xs",children:c("timeline.loadingEarlier")}),R&&t(z,{variant:"ghost",size:"sm",disabled:B,onClick:()=>{E(R)},children:c("timeline.loadEarlier")}),r&&i&&(H&&H.items.length>0?t("div",{className:"flex max-h-72 min-h-0 flex-col",children:t(ns,{session:H})}):!B&&!g&&t("p",{className:"text-muted-foreground px-2 py-3 text-xs",children:c("subagents.noMessages")}))]})]})}function ns({session:s}){let{client:l,host:d}=e(),r=Fn(s);return t(dt,{session:s,client:l,host:d,turnWork:r})}
|
|
2
|
+
export{Fn,xi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{isGroupedSelect as i,isSelectOption as o}from"@nyssance/codex-acp-v2/client";function W(e){return i(e.options)?e.options.flatMap((t)=>t.options):e.options}function h(e,t){return e.find((n)=>n.category===t&&o(n))}function Z(e){return W(e).find((t)=>t.value===e.currentValue)?.name??e.currentValue}
|
|
2
|
+
export{W,h,Z};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{hasAccount as x}from"@nyssance/codex-acp-v2/client";import{useEffect as R,useState as S}from"react";var f="main",p="settings",y="settings:request-agent",w="settings:agent",E="settings:auth-request",A="settings:auth-result",T="settings:request-account",h="settings:account",P="settings:account-error",v=(t)=>t instanceof Error?t.message:String(t);function
|
|
2
|
-
export{
|
|
1
|
+
import{hasAccount as x}from"@nyssance/codex-acp-v2/client";import{useEffect as R,useState as S}from"react";var f="main",p="settings",y="settings:request-agent",w="settings:agent",E="settings:auth-request",A="settings:auth-result",T="settings:request-account",h="settings:account",P="settings:account-error",v=(t)=>t instanceof Error?t.message:String(t);function yr(t){return{agent:()=>{let n=t.state.agent;if(t.state.connection!=="ready"||!n?.info)return null;return{name:n.info.title??n.info.name,version:n.info.version,authMethods:n.authMethods??[],actions:t.state.actions.filter((o)=>o.sessionId===null)}},subscribe:(n)=>t.store.subscribe(n),logout:()=>t.logout(),login:(n,o)=>t.login(n,o),respond:(n,o)=>t.respond(n,o),account:async()=>{if(t.state.connection!=="ready"||!x(t.state.agent))return null;let[n,o]=await Promise.all([t.readAccount(),t.readRateLimits().catch(()=>null)]);return{account:n,rateLimits:o}},onRateLimits:(n)=>t.onRateLimits(n)}}function xr(t,n){let{listen:o,emitTo:u}=n,g=t.agent(),l=()=>{let s=t.agent();if(u(p,w,s),g===null!==(s===null))c();g=s},i=null,r=0,a=!1,c=async()=>{let s=++r;try{let d=await t.account();if(a||s!==r)return;i=d,await u(p,h,i)}catch(d){if(a||s!==r)return;await u(p,P,v(d))}},e=t.subscribe(l),m=t.onRateLimits((s)=>{if(i===null)return;i={...i,rateLimits:s},u(p,h,i)}),b=Promise.all([o(y,l),o(T,()=>void c()),o(E,({payload:s})=>void(async()=>{try{switch(s.action){case"login":await t.login(s.methodId,s.extra),await c();break;case"logout":await t.logout(),await c();break;case"respond":t.respond(s.actionId,s.answer);break}await u(p,A,{id:s.id,error:null})}catch(d){await u(p,A,{id:s.id,error:v(d)})}})())]);return()=>{a=!0,r++,e(),m(),b.then((s)=>{for(let d of s)d()})}}function br(t,n=console.error){let{listen:o,emitTo:u}=t,g;async function l(i){let r,a=new Promise((e)=>{r=e}),c=await o(A,(e)=>{if(e.payload.id===i.id)r(e.payload)});try{await u(f,E,i);let{error:e}=await a;if(e!==null)throw Error(e)}finally{c()}}return{useSettingsAccount(){let[i,r]=S(()=>g);return R(()=>{let a=!1,c=Promise.all([o(h,(e)=>{if(a)return;g=e.payload,r(e.payload)}),o(P,(e)=>{if(a)return;if(g===void 0)r(null),n(e.payload);else console.error("Account refresh failed",e.payload)})]);return c.then(()=>{if(!a)return u(f,T)}),()=>{a=!0,c.then((e)=>{for(let m of e)m()})}},[]),i},useSettingsAgent(){let[i,r]=S(void 0);return R(()=>{let a=!1,c=o(w,(e)=>{if(!a)r(e.payload)});return c.then(()=>{if(!a)return u(f,y)}),()=>{a=!0,c.then((e)=>e())}},[]),i},requestSignOut:()=>l({id:crypto.randomUUID(),action:"logout"}),requestSignIn:(i,r)=>l({id:crypto.randomUUID(),action:"login",methodId:i,extra:r}),requestActionResponse:(i,r)=>l({id:crypto.randomUUID(),action:"respond",actionId:i,answer:r})}}
|
|
2
|
+
export{yr,xr,br};
|