@claudiolabs/claudin 0.6.7 → 0.6.9
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/dist/chunks/AgentTool-0.6.9-9rxkpd2w.mjs +1 -0
- package/dist/chunks/App-0.6.9-2sr69sb6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.9-qhjbrc90.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.9-btaax7hk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.9-4a8grmg8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.9-jxa6nz5k.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.9-nn288md6.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.9-vbwtn6dq.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.9-hpv62yd3.mjs +7 -0
- package/dist/chunks/Doctor-0.6.9-tjmn7d05.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.6.9-xm77z99k.mjs +6 -0
- package/dist/chunks/Grove-0.6.9-avg93sya.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.9-pk67e59n.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.9-hjj8wzba.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.9-pp8agzjc.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.9-gqa8pkn6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.9-192qpt8b.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.9-ba2cfwrw.mjs +1 -0
- package/dist/chunks/REPL-0.6.9-gzw0s80y.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.9-s38qycda.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.9-kxmns9zh.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.9-kr1yf6k8.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.9-zmv3c62q.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.9-m4jf5dr0.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.9-b9ax9m6j.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.9-kjse2jv1.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.9-dahc1ev9.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.9-5jwr5wg3.mjs +1 -0
- package/dist/chunks/add-dir-0.6.9-yfzy34qb.mjs +1 -0
- package/dist/chunks/agents-0.6.9-0n6mcvce.mjs +110 -0
- package/dist/chunks/agents-0.6.9-b31sawy3.mjs +3 -0
- package/dist/chunks/api-0.6.9-zdddwgzx.mjs +1 -0
- package/dist/chunks/asciicast-0.6.9-bzqqwjta.mjs +1 -0
- package/dist/chunks/assistant-0.6.9-7g8mz1p5.mjs +1 -0
- package/dist/chunks/auth-0.6.9-hjd8znw9.mjs +1 -0
- package/dist/chunks/auth-0.6.9-y5g1mgmg.mjs +1 -0
- package/dist/chunks/autoMode-0.6.9-rxq8ymw3.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.9-bpak4p67.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.9-asafysjv.mjs +1 -0
- package/dist/chunks/branch-0.6.9-7nbx2ywt.mjs +4 -0
- package/dist/chunks/bridge-0.6.9-1yc7bj8p.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.9-m23yzban.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.9-7njgh7m2.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.9-8py5synr.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.9-j9cxeww1.mjs +1 -0
- package/dist/chunks/btw-0.6.9-ma7pmkk5.mjs +1 -0
- package/dist/chunks/buddy-0.6.9-1mkd3gdj.mjs +3 -0
- package/dist/chunks/cacache-0.6.9-24ya96gj.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.9-gsvngvjh.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.9-mafdpb09.mjs +4 -0
- package/dist/chunks/caches-0.6.9-6j6tyf4b.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.9-h7d8r8vt.mjs +1 -0
- package/dist/chunks/claudemd-0.6.9-51rn86v1.mjs +1 -0
- package/dist/chunks/clear-0.6.9-6tv28ch2.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.9-0gh4v4ga.mjs +1 -0
- package/dist/chunks/cli-0.6.9-05w6ne3v.mjs +4 -0
- package/dist/chunks/cli-0.6.9-0f11memf.mjs +59 -0
- package/dist/chunks/cli-0.6.9-0j0w045z.mjs +2 -0
- package/dist/chunks/cli-0.6.9-0pfvh3w1.mjs +2 -0
- package/dist/chunks/cli-0.6.9-0qtkkmfq.mjs +2 -0
- package/dist/chunks/cli-0.6.9-0s223s8s.mjs +18 -0
- package/dist/chunks/cli-0.6.9-0t9pwgch.mjs +2 -0
- package/dist/chunks/cli-0.6.9-0wmp1q7a.mjs +2 -0
- package/dist/chunks/cli-0.6.9-0zey0wyh.mjs +2 -0
- package/dist/chunks/cli-0.6.9-143kz7xy.mjs +2 -0
- package/dist/chunks/cli-0.6.9-177spsqy.mjs +2 -0
- package/dist/chunks/cli-0.6.9-1a1q6vnc.mjs +9 -0
- package/dist/chunks/cli-0.6.9-1g9smwnt.mjs +2 -0
- package/dist/chunks/cli-0.6.9-268fcggy.mjs +3 -0
- package/dist/chunks/cli-0.6.9-2fe32k5y.mjs +2 -0
- package/dist/chunks/cli-0.6.9-2ffve69q.mjs +2 -0
- package/dist/chunks/cli-0.6.9-2nc79qh3.mjs +2 -0
- package/dist/chunks/cli-0.6.9-2zwgc8vn.mjs +2 -0
- package/dist/chunks/cli-0.6.9-30djh7wy.mjs +2 -0
- package/dist/chunks/cli-0.6.9-31dtrem4.mjs +2 -0
- package/dist/chunks/cli-0.6.9-31vx6nd6.mjs +2 -0
- package/dist/chunks/cli-0.6.9-35z6rask.mjs +2 -0
- package/dist/chunks/cli-0.6.9-3c6mqdk0.mjs +3 -0
- package/dist/chunks/cli-0.6.9-47kxmw0y.mjs +3 -0
- package/dist/chunks/cli-0.6.9-4e82zcfv.mjs +3 -0
- package/dist/chunks/cli-0.6.9-4hmydq2g.mjs +2 -0
- package/dist/chunks/cli-0.6.9-4mt6vz89.mjs +2 -0
- package/dist/chunks/cli-0.6.9-4nh8xyg8.mjs +3 -0
- package/dist/chunks/cli-0.6.9-4tdxta31.mjs +2 -0
- package/dist/chunks/cli-0.6.9-4vf40ybe.mjs +2 -0
- package/dist/chunks/cli-0.6.9-53jmw39d.mjs +2 -0
- package/dist/chunks/cli-0.6.9-5bs313jv.mjs +2 -0
- package/dist/chunks/cli-0.6.9-5ssjdjpx.mjs +2 -0
- package/dist/chunks/cli-0.6.9-5tam8r4f.mjs +2 -0
- package/dist/chunks/cli-0.6.9-618nhe26.mjs +2 -0
- package/dist/chunks/cli-0.6.9-64syz6hg.mjs +25 -0
- package/dist/chunks/cli-0.6.9-67m8zq43.mjs +2 -0
- package/dist/chunks/cli-0.6.9-67ms6qe8.mjs +2 -0
- package/dist/chunks/cli-0.6.9-6baq8t33.mjs +6 -0
- package/dist/chunks/cli-0.6.9-6c09kxnr.mjs +6 -0
- package/dist/chunks/cli-0.6.9-6czn2nk0.mjs +2 -0
- package/dist/chunks/cli-0.6.9-6vtgxtwc.mjs +2 -0
- package/dist/chunks/cli-0.6.9-703ts6mp.mjs +2 -0
- package/dist/chunks/cli-0.6.9-72pqdgfp.mjs +2 -0
- package/dist/chunks/cli-0.6.9-72xw2978.mjs +17 -0
- package/dist/chunks/cli-0.6.9-75m2z0pe.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7c5zf7vm.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7cm1vhs1.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7e7zn9nj.mjs +42 -0
- package/dist/chunks/cli-0.6.9-7jptdarn.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7ke3x92f.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7p077nar.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7s8ys0y7.mjs +2 -0
- package/dist/chunks/cli-0.6.9-7zyvegv3.mjs +2 -0
- package/dist/chunks/cli-0.6.9-83gnr7zb.mjs +3 -0
- package/dist/chunks/cli-0.6.9-8709kpq4.mjs +2 -0
- package/dist/chunks/cli-0.6.9-88y94bf5.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8984d2qb.mjs +133 -0
- package/dist/chunks/cli-0.6.9-8amemx3r.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8c45ksaw.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8hye8y46.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8v4sw3p1.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8xxpa4ep.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8ymt6nd1.mjs +2 -0
- package/dist/chunks/cli-0.6.9-8zqra5w7.mjs +18 -0
- package/dist/chunks/cli-0.6.9-97n772v9.mjs +3 -0
- package/dist/chunks/cli-0.6.9-9eyrhanm.mjs +3 -0
- package/dist/chunks/cli-0.6.9-9tvvnszt.mjs +15 -0
- package/dist/chunks/cli-0.6.9-9wvb59y3.mjs +8 -0
- package/dist/chunks/cli-0.6.9-9x9r4f8d.mjs +2 -0
- package/dist/chunks/cli-0.6.9-9zz415nm.mjs +2 -0
- package/dist/chunks/cli-0.6.9-a5zs8qb2.mjs +2 -0
- package/dist/chunks/cli-0.6.9-a91pdpbf.mjs +2 -0
- package/dist/chunks/cli-0.6.9-acekzr9a.mjs +15 -0
- package/dist/chunks/cli-0.6.9-aenf6vb7.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ahdefj2b.mjs +2 -0
- package/dist/chunks/cli-0.6.9-aqma59cn.mjs +2 -0
- package/dist/chunks/cli-0.6.9-az6jyck0.mjs +24 -0
- package/dist/chunks/cli-0.6.9-b0y0kf38.mjs +2 -0
- package/dist/chunks/cli-0.6.9-bk34v13s.mjs +2 -0
- package/dist/chunks/cli-0.6.9-bkvwt4w3.mjs +12 -0
- package/dist/chunks/cli-0.6.9-bn2xtan6.mjs +2 -0
- package/dist/chunks/cli-0.6.9-cky5efqh.mjs +4 -0
- package/dist/chunks/cli-0.6.9-cp5fabjc.mjs +28 -0
- package/dist/chunks/cli-0.6.9-csbrfz7b.mjs +2 -0
- package/dist/chunks/cli-0.6.9-da750ce8.mjs +2 -0
- package/dist/chunks/cli-0.6.9-dhg2zjfr.mjs +2 -0
- package/dist/chunks/cli-0.6.9-dvd8t953.mjs +4 -0
- package/dist/chunks/cli-0.6.9-ejvhaena.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ex3m411t.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ey0mcqwk.mjs +2 -0
- package/dist/chunks/cli-0.6.9-f8vcjjc6.mjs +2 -0
- package/dist/chunks/cli-0.6.9-fc9vqmnf.mjs +2 -0
- package/dist/chunks/cli-0.6.9-fd6q2n8f.mjs +5 -0
- package/dist/chunks/cli-0.6.9-fepacdf9.mjs +2 -0
- package/dist/chunks/cli-0.6.9-fgkzcrmd.mjs +2 -0
- package/dist/chunks/cli-0.6.9-fqh9t0h9.mjs +58 -0
- package/dist/chunks/cli-0.6.9-fr4y4c0h.mjs +2 -0
- package/dist/chunks/cli-0.6.9-frq5etv7.mjs +4 -0
- package/dist/chunks/cli-0.6.9-g8vpamhp.mjs +2 -0
- package/dist/chunks/cli-0.6.9-gercjmay.mjs +5350 -0
- package/dist/chunks/cli-0.6.9-gfqjq2qe.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ghdrkvmy.mjs +2 -0
- package/dist/chunks/cli-0.6.9-gvkq5xs9.mjs +2 -0
- package/dist/chunks/cli-0.6.9-h66ktwkz.mjs +2 -0
- package/dist/chunks/cli-0.6.9-h9kchbsc.mjs +6 -0
- package/dist/chunks/cli-0.6.9-hk5yv924.mjs +3 -0
- package/dist/chunks/cli-0.6.9-hx2vghp7.mjs +50 -0
- package/dist/chunks/cli-0.6.9-j94027pe.mjs +2 -0
- package/dist/chunks/cli-0.6.9-jfyk8906.mjs +6 -0
- package/dist/chunks/cli-0.6.9-jm1v5d99.mjs +2 -0
- package/dist/chunks/cli-0.6.9-jvqzvbrh.mjs +2 -0
- package/dist/chunks/cli-0.6.9-k0gktpk5.mjs +15 -0
- package/dist/chunks/cli-0.6.9-k14bgd9g.mjs +2 -0
- package/dist/chunks/cli-0.6.9-k9v9gdzp.mjs +2 -0
- package/dist/chunks/cli-0.6.9-kanmrra0.mjs +2 -0
- package/dist/chunks/cli-0.6.9-khjkzjgr.mjs +2 -0
- package/dist/chunks/cli-0.6.9-knasgz9g.mjs +2 -0
- package/dist/chunks/cli-0.6.9-kv2gx7he.mjs +2 -0
- package/dist/chunks/cli-0.6.9-kxe1p7p9.mjs +2 -0
- package/dist/chunks/cli-0.6.9-m0fs2cnk.mjs +2 -0
- package/dist/chunks/cli-0.6.9-m9n8nvmz.mjs +7 -0
- package/dist/chunks/cli-0.6.9-mb7kx11j.mjs +2 -0
- package/dist/chunks/cli-0.6.9-me596055.mjs +5 -0
- package/dist/chunks/cli-0.6.9-mhcym441.mjs +2 -0
- package/dist/chunks/cli-0.6.9-mjx2tx8w.mjs +2 -0
- package/dist/chunks/cli-0.6.9-mn3sjrek.mjs +2 -0
- package/dist/chunks/cli-0.6.9-mn808zcz.mjs +2 -0
- package/dist/chunks/cli-0.6.9-n52xxa1k.mjs +3 -0
- package/dist/chunks/cli-0.6.9-nahjphjz.mjs +2 -0
- package/dist/chunks/cli-0.6.9-njaeg8jw.mjs +4 -0
- package/dist/chunks/cli-0.6.9-nm598kmg.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ns77j0rb.mjs +2 -0
- package/dist/chunks/cli-0.6.9-nyn27tc4.mjs +2 -0
- package/dist/chunks/cli-0.6.9-p05qz9pw.mjs +2 -0
- package/dist/chunks/cli-0.6.9-p61nt01z.mjs +4 -0
- package/dist/chunks/cli-0.6.9-p9sazvks.mjs +2 -0
- package/dist/chunks/cli-0.6.9-pc08dfva.mjs +2 -0
- package/dist/chunks/cli-0.6.9-pgqqhqcb.mjs +2 -0
- package/dist/chunks/cli-0.6.9-prq3ecgt.mjs +2 -0
- package/dist/chunks/cli-0.6.9-psmra04s.mjs +2 -0
- package/dist/chunks/cli-0.6.9-pxnbcvjk.mjs +2 -0
- package/dist/chunks/cli-0.6.9-pyzfty1h.mjs +1 -0
- package/dist/chunks/cli-0.6.9-pzdzwxv3.mjs +2 -0
- package/dist/chunks/cli-0.6.9-q1k864q5.mjs +24 -0
- package/dist/chunks/cli-0.6.9-q1sngnn9.mjs +2 -0
- package/dist/chunks/cli-0.6.9-q95j0sxq.mjs +2 -0
- package/dist/chunks/cli-0.6.9-qef0vmv4.mjs +2 -0
- package/dist/chunks/cli-0.6.9-qfk8bh8k.mjs +20 -0
- package/dist/chunks/cli-0.6.9-qq2p34an.mjs +2 -0
- package/dist/chunks/cli-0.6.9-qwk9n0r3.mjs +4 -0
- package/dist/chunks/cli-0.6.9-r3p8fksb.mjs +2 -0
- package/dist/chunks/cli-0.6.9-r46qknk7.mjs +2 -0
- package/dist/chunks/cli-0.6.9-r81h8n5p.mjs +2 -0
- package/dist/chunks/cli-0.6.9-rcmd16qm.mjs +2 -0
- package/dist/chunks/cli-0.6.9-rmmwn2p7.mjs +2 -0
- package/dist/chunks/cli-0.6.9-s03y3b3q.mjs +2 -0
- package/dist/chunks/cli-0.6.9-s1r1tza8.mjs +133 -0
- package/dist/chunks/cli-0.6.9-s2pyty79.mjs +2 -0
- package/dist/chunks/cli-0.6.9-s4cwpcyg.mjs +2 -0
- package/dist/chunks/cli-0.6.9-sa2fxctp.mjs +2 -0
- package/dist/chunks/cli-0.6.9-sd2hp4aq.mjs +2 -0
- package/dist/chunks/cli-0.6.9-sg9116zb.mjs +17 -0
- package/dist/chunks/cli-0.6.9-sr9jy37c.mjs +3 -0
- package/dist/chunks/cli-0.6.9-sx115432.mjs +12 -0
- package/dist/chunks/cli-0.6.9-t2yrab6t.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tae7g2d9.mjs +2 -0
- package/dist/chunks/cli-0.6.9-td7kr6wd.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tenfy5s3.mjs +21 -0
- package/dist/chunks/cli-0.6.9-tkvj57rn.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tn4basxv.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tnf75x7v.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tt8mt40f.mjs +2 -0
- package/dist/chunks/cli-0.6.9-tya05wpq.mjs +2 -0
- package/dist/chunks/cli-0.6.9-v3a8d4n8.mjs +12 -0
- package/dist/chunks/cli-0.6.9-v3yecwhs.mjs +34 -0
- package/dist/chunks/cli-0.6.9-vbzp917y.mjs +3 -0
- package/dist/chunks/cli-0.6.9-w56gxnbb.mjs +67 -0
- package/dist/chunks/cli-0.6.9-w6ee6p28.mjs +4 -0
- package/dist/chunks/cli-0.6.9-wr8a7whz.mjs +2 -0
- package/dist/chunks/cli-0.6.9-wrs935pe.mjs +3 -0
- package/dist/chunks/cli-0.6.9-x4xhf8vr.mjs +2 -0
- package/dist/chunks/cli-0.6.9-x9vbsw98.mjs +2 -0
- package/dist/chunks/cli-0.6.9-xd2h9tsn.mjs +2 -0
- package/dist/chunks/cli-0.6.9-xdzfwf1n.mjs +2 -0
- package/dist/chunks/cli-0.6.9-xpvddrex.mjs +4 -0
- package/dist/chunks/cli-0.6.9-y0wg39nk.mjs +2 -0
- package/dist/chunks/cli-0.6.9-yh3sfvca.mjs +2 -0
- package/dist/chunks/cli-0.6.9-yhp352r8.mjs +193 -0
- package/dist/chunks/cli-0.6.9-ymxkw0j9.mjs +5 -0
- package/dist/chunks/cli-0.6.9-ynh6kjv5.mjs +2 -0
- package/dist/chunks/cli-0.6.9-ytpaqmsk.mjs +45 -0
- package/dist/chunks/cli-0.6.9-z2400j8e.mjs +2 -0
- package/dist/chunks/cli-0.6.9-z3wh6pmj.mjs +4 -0
- package/dist/chunks/cli-0.6.9-z6aaad8t.mjs +10 -0
- package/dist/chunks/cli-0.6.9-zsnw0941.mjs +39 -0
- package/dist/chunks/cli-0.6.9-zzzn3e8b.mjs +16 -0
- package/dist/chunks/client-0.6.9-cz438b8v.mjs +1 -0
- package/dist/chunks/color-0.6.9-vdsgnwjj.mjs +1 -0
- package/dist/chunks/compact-0.6.9-gp0w7v9s.mjs +3 -0
- package/dist/chunks/config-0.6.9-f50cq2by.mjs +1 -0
- package/dist/chunks/config-0.6.9-zezbmxp9.mjs +1 -0
- package/dist/chunks/constants-0.6.9-d7fjn6ym.mjs +1 -0
- package/dist/chunks/context-0.6.9-vs4wf3qj.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.9-3v8697je.mjs +1 -0
- package/dist/chunks/conversation-0.6.9-sq5hwdze.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.9-kf7a254d.mjs +1 -0
- package/dist/chunks/copy-0.6.9-qfs2e58z.mjs +9 -0
- package/dist/chunks/cost-0.6.9-w97qsa6d.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.9-9r9vyh4c.mjs +1 -0
- package/dist/chunks/createSession-0.6.9-w8bj9hkr.mjs +1 -0
- package/dist/chunks/debug-0.6.9-p5c3pfsj.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.9-g6wka3f7.mjs +1367 -0
- package/dist/chunks/desktop-0.6.9-szcfghe5.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.9-sv4rn6e9.mjs +1 -0
- package/dist/chunks/detection-0.6.9-avkk26gv.mjs +1 -0
- package/dist/chunks/diff-0.6.9-6qtw4swj.mjs +1 -0
- package/dist/chunks/doctor-0.6.9-wemp2503.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.9-n4wcbma8.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.9-7t2yxx2k.mjs +1 -0
- package/dist/chunks/effort-0.6.9-ad6129tk.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.9-9276szv2.mjs +1 -0
- package/dist/chunks/envUtils-0.6.9-ynm3aqgf.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.9-cjwzdh51.mjs +1 -0
- package/dist/chunks/environments-0.6.9-s5d4xqep.mjs +1 -0
- package/dist/chunks/errors-0.6.9-w9kte9cs.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.9-4056c0dz.mjs +1 -0
- package/dist/chunks/exit-0.6.9-j72je7w6.mjs +1 -0
- package/dist/chunks/explorer-0.6.9-98k1atn1.mjs +1 -0
- package/dist/chunks/export-0.6.9-s9zpgv4f.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.9-6nj4st4n.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.9-nwh6dbn1.mjs +1 -0
- package/dist/chunks/fast-0.6.9-r5349jvd.mjs +1 -0
- package/dist/chunks/feedback-0.6.9-ssn1fmcb.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.9-pm4x6st7.mjs +1 -0
- package/dist/chunks/git-0.6.9-y91x52y1.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.9-kfr0nk73.mjs +1 -0
- package/dist/chunks/goal-0.6.9-3gwvk3bv.mjs +4 -0
- package/dist/chunks/grove-0.6.9-wmv3gysg.mjs +1 -0
- package/dist/chunks/growthbook-0.6.9-7ajmx6eh.mjs +1 -0
- package/dist/chunks/headless-0.6.9-6ab7stx4.mjs +2 -0
- package/dist/chunks/heapdump-0.6.9-1kx1h3ba.mjs +6 -0
- package/dist/chunks/help-0.6.9-rf486d17.mjs +1 -0
- package/dist/chunks/hookChains-0.6.9-pxna9psh.mjs +3 -0
- package/dist/chunks/hooks-0.6.9-wav1pakb.mjs +1 -0
- package/dist/chunks/hooks-0.6.9-zc69g73d.mjs +79 -0
- package/dist/chunks/ide-0.6.9-kgqwyzh1.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.9-pa1ny79r.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.9-jjfdegyr.mjs +1 -0
- package/dist/chunks/index-0.6.9-0nqhy7sy.mjs +1 -0
- package/dist/chunks/index-0.6.9-1bq0hpw2.mjs +1 -0
- package/dist/chunks/index-0.6.9-2snpdxy3.mjs +1 -0
- package/dist/chunks/index-0.6.9-5k23gfe9.mjs +1 -0
- package/dist/chunks/index-0.6.9-619t4kvv.mjs +9 -0
- package/dist/chunks/index-0.6.9-8kfhzkpy.mjs +1 -0
- package/dist/chunks/index-0.6.9-902sjqyc.mjs +9 -0
- package/dist/chunks/index-0.6.9-a2ssd4wq.mjs +30 -0
- package/dist/chunks/index-0.6.9-aqfgsev2.mjs +1 -0
- package/dist/chunks/index-0.6.9-arpthr5q.mjs +2 -0
- package/dist/chunks/index-0.6.9-bngr20xg.mjs +2 -0
- package/dist/chunks/index-0.6.9-ck4qgvty.mjs +1 -0
- package/dist/chunks/index-0.6.9-d2vjtgqs.mjs +1 -0
- package/dist/chunks/index-0.6.9-e3szhjja.mjs +1 -0
- package/dist/chunks/index-0.6.9-efqgg2fb.mjs +1 -0
- package/dist/chunks/index-0.6.9-ewht5a34.mjs +5 -0
- package/dist/chunks/index-0.6.9-g43bx48w.mjs +1 -0
- package/dist/chunks/index-0.6.9-jq16aq9c.mjs +1 -0
- package/dist/chunks/index-0.6.9-n4d1shjt.mjs +1 -0
- package/dist/chunks/index-0.6.9-r63gj39n.mjs +1 -0
- package/dist/chunks/index-0.6.9-rry8n9vj.mjs +1 -0
- package/dist/chunks/index-0.6.9-v2xp35sf.mjs +1 -0
- package/dist/chunks/index-0.6.9-vev4s22g.mjs +1 -0
- package/dist/chunks/init-0.6.9-h8jwxt6h.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.9-c10qt3gn.mjs +1 -0
- package/dist/chunks/ink-0.6.9-49s4s9jc.mjs +1 -0
- package/dist/chunks/insights-0.6.9-sag6cjh3.mjs +870 -0
- package/dist/chunks/install-0.6.9-s1h2dkak.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.9-rgv15r8t.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.9-cpn9fgkg.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.9-265vgh29.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.9-5p2xm7b4.mjs +1 -0
- package/dist/chunks/keybindings-0.6.9-8755gwzd.mjs +2 -0
- package/dist/chunks/knowledge-0.6.9-vv9d2yhp.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.9-acef14hs.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.9-s5zmmsmj.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.9-e65pc8g0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.9-k2ddma7b.mjs +1 -0
- package/dist/chunks/log-0.6.9-bb1wwfr9.mjs +1 -0
- package/dist/chunks/main-0.6.9-xp3yb12z.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.9-9vjjgckq.mjs +1 -0
- package/dist/chunks/mcp-0.6.9-3k9qwk6b.mjs +17 -0
- package/dist/chunks/mcp-0.6.9-74q0zmbx.mjs +1 -0
- package/dist/chunks/mcp-0.6.9-hnmfw09m.mjs +4 -0
- package/dist/chunks/mcpb-0.6.9-npmecrdw.mjs +1 -0
- package/dist/chunks/memory-0.6.9-r9amy13p.mjs +3 -0
- package/dist/chunks/model-0.6.9-j7qkjsh4.mjs +1 -0
- package/dist/chunks/model-0.6.9-qvbhjt5a.mjs +2 -0
- package/dist/chunks/node-0.6.9-7618k0cs.mjs +12 -0
- package/dist/chunks/oauth-0.6.9-10e6vje5.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.9-pke3rkx3.mjs +14 -0
- package/dist/chunks/output-style-0.6.9-5dww84zv.mjs +1 -0
- package/dist/chunks/package-FMOR3ELU-0.6.9-tqcy00ry.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.9-rzx7fgrs.mjs +1 -0
- package/dist/chunks/parser-0.6.9-r5r8db6m.mjs +1 -0
- package/dist/chunks/passes-0.6.9-9ntxdmjs.mjs +1 -0
- package/dist/chunks/permissions-0.6.9-06k3424m.mjs +1 -0
- package/dist/chunks/permissions-0.6.9-qg4repwk.mjs +3 -0
- package/dist/chunks/plan-0.6.9-2bgtj9s7.mjs +1 -0
- package/dist/chunks/plist-0.6.9-qwz1tx1x.mjs +1 -0
- package/dist/chunks/plugin-0.6.9-tptgr2qf.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.9-9dfate68.mjs +1 -0
- package/dist/chunks/plugins-0.6.9-qmzrjgkm.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.9-kcp5zkcc.mjs +2 -0
- package/dist/chunks/print-0.6.9-m3fbd53e.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.9-16gpzrax.mjs +1 -0
- package/dist/chunks/process-0.6.9-3e3f5r17.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.9-542d591h.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.9-esx1dxzr.mjs +9 -0
- package/dist/chunks/prompt-0.6.9-r0j2sxeh.mjs +1 -0
- package/dist/chunks/prompt-0.6.9-yqs9hbe5.mjs +1 -0
- package/dist/chunks/prompts-0.6.9-aejx76by.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.9-6f15y1bc.mjs +13 -0
- package/dist/chunks/provider-0.6.9-cq128p4x.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.9-angsmcpe.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.9-jvq9j27j.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.9-bb7szjxd.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.9-ntgxbjdf.mjs +34 -0
- package/dist/chunks/registry-0.6.9-g3jk5jc0.mjs +1 -0
- package/dist/chunks/release-notes-0.6.9-za6qss4x.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.9-4kq8n1bm.mjs +2 -0
- package/dist/chunks/remote-env-0.6.9-zf6vx3hg.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.9-pz9x9kkp.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.9-b0yejcdh.mjs +1 -0
- package/dist/chunks/rename-0.6.9-v12x6k3n.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.9-5dnpvxp7.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.9-b9vwe3a0.mjs +1 -0
- package/dist/chunks/resume-0.6.9-bd2pqpzx.mjs +2 -0
- package/dist/chunks/rewind-0.6.9-mtghn6v6.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.9-kthybc4f.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.9-xy35en8q.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.9-5xezm83a.mjs +1 -0
- package/dist/chunks/session-0.6.9-m7jcvyhf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.9-xtq2azg8.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.9-cw7p2vz4.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.9-cf9hvj5p.mjs +1 -0
- package/dist/chunks/settings-0.6.9-3yt2knq2.mjs +1 -0
- package/dist/chunks/setup-0.6.9-zyhhsegx.mjs +5 -0
- package/dist/chunks/sinks-0.6.9-37az99sx.mjs +1 -0
- package/dist/chunks/skills-0.6.9-pmayt9xm.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.9-rqf2vjrq.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.9-2n5g00f9.mjs +1 -0
- package/dist/chunks/state-0.6.9-6bv4xar6.mjs +1 -0
- package/dist/chunks/stats-0.6.9-vm6c7j7g.mjs +6 -0
- package/dist/chunks/status-0.6.9-fm5f7dvn.mjs +1 -0
- package/dist/chunks/stickers-0.6.9-wqd21rwz.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.9-42b0wsjg.mjs +1 -0
- package/dist/chunks/tasks-0.6.9-f6fah65x.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.9-0azp8kbe.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.9-1b3b44py.mjs +1 -0
- package/dist/chunks/teleport-0.6.9-y0314abd.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.9-wp4j4emr.mjs +1 -0
- package/dist/chunks/theme-0.6.9-wd132tma.mjs +1 -0
- package/dist/chunks/thinkback-0.6.9-s2hgsb3p.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.9-n9nbpvnr.mjs +1 -0
- package/dist/chunks/toolPool-0.6.9-q3tw4r65.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.9-d6we1981.mjs +1 -0
- package/dist/chunks/tools-0.6.9-a8ce0ts5.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.9-5mvbmmaw.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.9-spamn9kh.mjs +69 -0
- package/dist/chunks/types-0.6.9-9jzm5cwt.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.9-bpefwyej.mjs +4 -0
- package/dist/chunks/update-0.6.9-pxbtnmt1.mjs +86 -0
- package/dist/chunks/upgrade-0.6.9-1yghety6.mjs +1 -0
- package/dist/chunks/upload-0.6.9-g09ng6tg.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.9-dk2q7qk2.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.9-rh07p4qq.mjs +1 -0
- package/dist/chunks/usage-0.6.9-z5y3f792.mjs +1 -0
- package/dist/chunks/util-0.6.9-fzw6284w.mjs +1 -0
- package/dist/chunks/utils-0.6.9-0rg7h5a5.mjs +1 -0
- package/dist/chunks/vim-0.6.9-pjkbr7kq.mjs +1 -0
- package/dist/chunks/watcher-0.6.9-0r6bzvm6.mjs +1 -0
- package/dist/chunks/wiki-0.6.9-v7kdrm8t.mjs +132 -0
- package/dist/chunks/worktree-0.6.9-ef4xspe2.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.9-kvm9x26k.mjs +1 -0
- package/dist/chunks/wrapper-0.6.9-b63s2yhh.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.7-f7t2mgqb.mjs +0 -1
- package/dist/chunks/App-0.6.7-9x70f9jb.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.7-2tb75j23.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.7-afdtan0w.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.7-pyzr75b3.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.7-nfncnj0q.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.7-n2e142wm.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.7-phc7vznz.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.7-s9x3mya9.mjs +0 -7
- package/dist/chunks/Doctor-0.6.7-smded214.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.6.7-4hy6ry9q.mjs +0 -6
- package/dist/chunks/Grove-0.6.7-ahyrvw0t.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.7-fcnt914g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.7-00bjfj0e.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.7-13q0q9de.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.7-858rv0qw.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.7-dt8tdzek.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.7-6v39p38e.mjs +0 -1
- package/dist/chunks/REPL-0.6.7-q0nc0w32.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.7-pdhahpga.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.7-m392exrv.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.7-1dr1gjn2.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.7-sv7jdzae.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.7-p36an880.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.7-aefcv1eq.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.7-ff2nyjj7.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.7-seknmzsh.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.7-0w1yte74.mjs +0 -1
- package/dist/chunks/add-dir-0.6.7-85gjr3q5.mjs +0 -1
- package/dist/chunks/agents-0.6.7-bwmzpbmy.mjs +0 -110
- package/dist/chunks/agents-0.6.7-zctgtzc9.mjs +0 -3
- package/dist/chunks/api-0.6.7-mfw9d6jg.mjs +0 -1
- package/dist/chunks/asciicast-0.6.7-tecyvajs.mjs +0 -1
- package/dist/chunks/assistant-0.6.7-0krnapvp.mjs +0 -1
- package/dist/chunks/auth-0.6.7-vsm2s3fs.mjs +0 -1
- package/dist/chunks/auth-0.6.7-y4kcahyj.mjs +0 -1
- package/dist/chunks/autoMode-0.6.7-ysajwbz7.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.7-ztgvnr84.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.7-hyrc03zs.mjs +0 -1
- package/dist/chunks/branch-0.6.7-hs9qva1m.mjs +0 -4
- package/dist/chunks/bridge-0.6.7-6tz3q7eh.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.7-nb52xna6.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.7-a4xw7wv8.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.7-tdh5qxzb.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.7-dh27kqnd.mjs +0 -1
- package/dist/chunks/btw-0.6.7-7mwpkxc8.mjs +0 -1
- package/dist/chunks/buddy-0.6.7-nq3yjbfx.mjs +0 -3
- package/dist/chunks/cacache-0.6.7-g9830zbt.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.7-f97mkfrz.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.7-cajakjmn.mjs +0 -4
- package/dist/chunks/caches-0.6.7-j5y9mwvb.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.7-86f3d3gt.mjs +0 -1
- package/dist/chunks/claudemd-0.6.7-bhnp37nv.mjs +0 -1
- package/dist/chunks/clear-0.6.7-b2weanr6.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.7-dtmyqs1m.mjs +0 -1
- package/dist/chunks/cli-0.6.7-09aymh1b.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0a04vzzk.mjs +0 -28
- package/dist/chunks/cli-0.6.7-0a406bqw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0c5ban8m.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0ecsc6v5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0eeyfjk8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0fc4sq47.mjs +0 -42
- package/dist/chunks/cli-0.6.7-0ncx2c9t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0qzj0d6r.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0t1e9vab.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0t5ssfvj.mjs +0 -2
- package/dist/chunks/cli-0.6.7-0z5z87v6.mjs +0 -1
- package/dist/chunks/cli-0.6.7-105zxdx5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-11a89p5q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-15mn3n46.mjs +0 -2
- package/dist/chunks/cli-0.6.7-17dafwxd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1jmt8r8f.mjs +0 -7
- package/dist/chunks/cli-0.6.7-1mvkcg2k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1nxk10ra.mjs +0 -12
- package/dist/chunks/cli-0.6.7-1v8p5kj1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1vdk7j2f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-1wy6neqr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-26ph2hrd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-26tkvqk3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-29j5a7qt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-2kkhf54p.mjs +0 -133
- package/dist/chunks/cli-0.6.7-2rppvwcw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-2rxv4h2n.mjs +0 -5348
- package/dist/chunks/cli-0.6.7-30y87jp9.mjs +0 -3
- package/dist/chunks/cli-0.6.7-31vjvqm0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-37a1n221.mjs +0 -2
- package/dist/chunks/cli-0.6.7-393mf77x.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3anc14y3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3nk6g2dp.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3rkngb3p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3w59rctc.mjs +0 -2
- package/dist/chunks/cli-0.6.7-3zgmbaw1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-417g4eq7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4723xt8g.mjs +0 -4
- package/dist/chunks/cli-0.6.7-4qezg54y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4qv89taa.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4r8s96as.mjs +0 -18
- package/dist/chunks/cli-0.6.7-4rswb0s0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-4y6eh566.mjs +0 -2
- package/dist/chunks/cli-0.6.7-568qkrtn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5jkermx7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5tksrgt5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-5y4c00t6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-6ezmhmp0.mjs +0 -67
- package/dist/chunks/cli-0.6.7-6fh5e7r0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-79a1ryqj.mjs +0 -17
- package/dist/chunks/cli-0.6.7-7eze8zyh.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7hqt2520.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7jnmn6s1.mjs +0 -2
- package/dist/chunks/cli-0.6.7-7p1zvk1f.mjs +0 -4
- package/dist/chunks/cli-0.6.7-7q89ngt8.mjs +0 -4
- package/dist/chunks/cli-0.6.7-7wfcpd35.mjs +0 -5
- package/dist/chunks/cli-0.6.7-895afk0q.mjs +0 -39
- package/dist/chunks/cli-0.6.7-8hg68yde.mjs +0 -3
- package/dist/chunks/cli-0.6.7-8npy06pd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-8nt66wx8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-8rckbxrq.mjs +0 -2
- package/dist/chunks/cli-0.6.7-94jxfcfx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-986a2c9a.mjs +0 -20
- package/dist/chunks/cli-0.6.7-9ewdkgf6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-9qjmzyph.mjs +0 -59
- package/dist/chunks/cli-0.6.7-9zvbhkwn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-a49h84jx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-a8d5a7gy.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ad305tsz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-aj0r6e7f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ajy2kcrw.mjs +0 -4
- package/dist/chunks/cli-0.6.7-askr0gdn.mjs +0 -12
- package/dist/chunks/cli-0.6.7-axgab18a.mjs +0 -2
- package/dist/chunks/cli-0.6.7-b6ssk5st.mjs +0 -50
- package/dist/chunks/cli-0.6.7-bf5gjw6d.mjs +0 -4
- package/dist/chunks/cli-0.6.7-bgtwgprg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-bvke740f.mjs +0 -58
- package/dist/chunks/cli-0.6.7-bvsyxh29.mjs +0 -45
- package/dist/chunks/cli-0.6.7-c9drqby8.mjs +0 -5
- package/dist/chunks/cli-0.6.7-cc1w6ch6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-csw6s95q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-cykfmytk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d0hce9x9.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d513frqa.mjs +0 -2
- package/dist/chunks/cli-0.6.7-d6md6s9z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-dn51gm8s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-dzhzeyee.mjs +0 -2
- package/dist/chunks/cli-0.6.7-e96htnt8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-egf9dysz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ej85ys91.mjs +0 -133
- package/dist/chunks/cli-0.6.7-ery7wb2b.mjs +0 -25
- package/dist/chunks/cli-0.6.7-ewn2cwb7.mjs +0 -6
- package/dist/chunks/cli-0.6.7-ex9w59mx.mjs +0 -3
- package/dist/chunks/cli-0.6.7-fbgdkq7p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-fbkbnkmx.mjs +0 -2
- package/dist/chunks/cli-0.6.7-g3bdwra6.mjs +0 -12
- package/dist/chunks/cli-0.6.7-g4r471w6.mjs +0 -15
- package/dist/chunks/cli-0.6.7-ggbx3zye.mjs +0 -21
- package/dist/chunks/cli-0.6.7-gj1zv8je.mjs +0 -2
- package/dist/chunks/cli-0.6.7-gp1x8mcf.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hcp3t5gk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hd512c6x.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hsf1v92p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hsxghzzr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hvjb13p8.mjs +0 -2
- package/dist/chunks/cli-0.6.7-hxpbsv1t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-jayzyra3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-jry3hr0z.mjs +0 -18
- package/dist/chunks/cli-0.6.7-jt8cfe25.mjs +0 -3
- package/dist/chunks/cli-0.6.7-jvyry09r.mjs +0 -3
- package/dist/chunks/cli-0.6.7-k0h6t7d8.mjs +0 -3
- package/dist/chunks/cli-0.6.7-k69edthm.mjs +0 -2
- package/dist/chunks/cli-0.6.7-k7qq705k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-kfm63wm2.mjs +0 -17
- package/dist/chunks/cli-0.6.7-m5a4md2p.mjs +0 -24
- package/dist/chunks/cli-0.6.7-m7f7sbcz.mjs +0 -3
- package/dist/chunks/cli-0.6.7-m9gs7avb.mjs +0 -2
- package/dist/chunks/cli-0.6.7-me667czz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mfw4bdkw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mgzf6br3.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mh4wva6p.mjs +0 -2
- package/dist/chunks/cli-0.6.7-mjkd8p19.mjs +0 -16
- package/dist/chunks/cli-0.6.7-mq2xzatd.mjs +0 -34
- package/dist/chunks/cli-0.6.7-mr3rwnv4.mjs +0 -2
- package/dist/chunks/cli-0.6.7-msab4rsa.mjs +0 -3
- package/dist/chunks/cli-0.6.7-mxbbt73y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-n4hcg1jw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-n7v99j1c.mjs +0 -3
- package/dist/chunks/cli-0.6.7-n9b6fykd.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ndz1ybhe.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nembqgq6.mjs +0 -4
- package/dist/chunks/cli-0.6.7-njtz9caz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nkk7dy60.mjs +0 -3
- package/dist/chunks/cli-0.6.7-nkngqbzm.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nmasp64q.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nsaek892.mjs +0 -2
- package/dist/chunks/cli-0.6.7-nyj8vj8s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p01n2g5q.mjs +0 -3
- package/dist/chunks/cli-0.6.7-p0s9xa7d.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p140ghs7.mjs +0 -4
- package/dist/chunks/cli-0.6.7-p1s9dq5f.mjs +0 -2
- package/dist/chunks/cli-0.6.7-p76h2hj4.mjs +0 -193
- package/dist/chunks/cli-0.6.7-p77b3p80.mjs +0 -4
- package/dist/chunks/cli-0.6.7-p8qqm0e2.mjs +0 -10
- package/dist/chunks/cli-0.6.7-pacmjx4t.mjs +0 -6
- package/dist/chunks/cli-0.6.7-pd4qacrw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-pt6c37tf.mjs +0 -2
- package/dist/chunks/cli-0.6.7-pz0hvq11.mjs +0 -2
- package/dist/chunks/cli-0.6.7-q2qk5c16.mjs +0 -2
- package/dist/chunks/cli-0.6.7-q7rhxc3k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qcc8znjg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qkzax44g.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qnpad07x.mjs +0 -15
- package/dist/chunks/cli-0.6.7-qwv7z40j.mjs +0 -2
- package/dist/chunks/cli-0.6.7-qz4f20t8.mjs +0 -9
- package/dist/chunks/cli-0.6.7-r2phypw4.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r4494gs0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r4njgjve.mjs +0 -2
- package/dist/chunks/cli-0.6.7-r57fq6gw.mjs +0 -4
- package/dist/chunks/cli-0.6.7-rcx8mb9z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rgfh878z.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rp0ejp3a.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rq1v6xnn.mjs +0 -2
- package/dist/chunks/cli-0.6.7-rqfxfpg7.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sdxzxe1y.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sea2kbnt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sfc53wbe.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sfvrze2k.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sh9fbs9v.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sw46gwfw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-sx1q6ybw.mjs +0 -2
- package/dist/chunks/cli-0.6.7-t4vdc40t.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tb1cvasf.mjs +0 -5
- package/dist/chunks/cli-0.6.7-tg6w7ex7.mjs +0 -8
- package/dist/chunks/cli-0.6.7-tnrt8ht0.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tqfm4g33.mjs +0 -2
- package/dist/chunks/cli-0.6.7-tthw17vc.mjs +0 -6
- package/dist/chunks/cli-0.6.7-v1emd8z7.mjs +0 -4
- package/dist/chunks/cli-0.6.7-v65b4qmr.mjs +0 -2
- package/dist/chunks/cli-0.6.7-v82zs0dw.mjs +0 -6
- package/dist/chunks/cli-0.6.7-vd2t62t5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-vdks0afp.mjs +0 -3
- package/dist/chunks/cli-0.6.7-vs95ynh5.mjs +0 -2
- package/dist/chunks/cli-0.6.7-vy64g49j.mjs +0 -2
- package/dist/chunks/cli-0.6.7-w2amr6nt.mjs +0 -2
- package/dist/chunks/cli-0.6.7-wbqq7cmg.mjs +0 -15
- package/dist/chunks/cli-0.6.7-wjg0q7hk.mjs +0 -2
- package/dist/chunks/cli-0.6.7-wyped9p6.mjs +0 -2
- package/dist/chunks/cli-0.6.7-xjbwt2hg.mjs +0 -2
- package/dist/chunks/cli-0.6.7-xzf3g8pg.mjs +0 -3
- package/dist/chunks/cli-0.6.7-y6pqw2vj.mjs +0 -2
- package/dist/chunks/cli-0.6.7-ybk07j40.mjs +0 -2
- package/dist/chunks/cli-0.6.7-z26mhn5a.mjs +0 -2
- package/dist/chunks/cli-0.6.7-z4dw5tyz.mjs +0 -2
- package/dist/chunks/cli-0.6.7-z7jett9s.mjs +0 -2
- package/dist/chunks/cli-0.6.7-zwd8kz5t.mjs +0 -24
- package/dist/chunks/client-0.6.7-445v9987.mjs +0 -1
- package/dist/chunks/color-0.6.7-856m55kg.mjs +0 -1
- package/dist/chunks/compact-0.6.7-xkjxsjky.mjs +0 -3
- package/dist/chunks/config-0.6.7-8cp9wg00.mjs +0 -1
- package/dist/chunks/config-0.6.7-h357gwre.mjs +0 -1
- package/dist/chunks/constants-0.6.7-jz2rzgah.mjs +0 -1
- package/dist/chunks/context-0.6.7-52mqtjt5.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.7-0vn31bty.mjs +0 -1
- package/dist/chunks/conversation-0.6.7-6rb0jxt5.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.7-6szcxcqp.mjs +0 -1
- package/dist/chunks/copy-0.6.7-kt6m78c9.mjs +0 -9
- package/dist/chunks/cost-0.6.7-mcmacwts.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.7-2bxjzphp.mjs +0 -1
- package/dist/chunks/createSession-0.6.7-h53s0r94.mjs +0 -1
- package/dist/chunks/debug-0.6.7-40mxhr43.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.7-swjqrq2d.mjs +0 -1367
- package/dist/chunks/desktop-0.6.7-m8hceses.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.7-37snr69q.mjs +0 -1
- package/dist/chunks/detection-0.6.7-796dd7my.mjs +0 -1
- package/dist/chunks/diff-0.6.7-jvhy5bfv.mjs +0 -1
- package/dist/chunks/doctor-0.6.7-69xecv72.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.7-86wn5fas.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.7-j5kqcad7.mjs +0 -1
- package/dist/chunks/effort-0.6.7-pzsgdygp.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.7-8ev8zrnr.mjs +0 -1
- package/dist/chunks/envUtils-0.6.7-t2mfcf3k.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.7-qsjyn0qh.mjs +0 -1
- package/dist/chunks/environments-0.6.7-s37ppzq2.mjs +0 -1
- package/dist/chunks/errors-0.6.7-ewn9ej98.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.7-ha5gh86w.mjs +0 -1
- package/dist/chunks/exit-0.6.7-ke7w1zfb.mjs +0 -1
- package/dist/chunks/explorer-0.6.7-mwasq7vb.mjs +0 -1
- package/dist/chunks/export-0.6.7-nxr4yk69.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.7-4y4y16s7.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.7-39bqy32f.mjs +0 -1
- package/dist/chunks/fast-0.6.7-kq9cp91g.mjs +0 -1
- package/dist/chunks/feedback-0.6.7-negh6v8m.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.7-tx7c7x8t.mjs +0 -1
- package/dist/chunks/git-0.6.7-2vwe8z3v.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.7-33qbe5yn.mjs +0 -1
- package/dist/chunks/goal-0.6.7-h6jz54qb.mjs +0 -4
- package/dist/chunks/grove-0.6.7-54ezkxs0.mjs +0 -1
- package/dist/chunks/growthbook-0.6.7-dtryf1q9.mjs +0 -1
- package/dist/chunks/headless-0.6.7-35yksmzv.mjs +0 -2
- package/dist/chunks/heapdump-0.6.7-k6xhk8rq.mjs +0 -6
- package/dist/chunks/help-0.6.7-xe78z9ep.mjs +0 -1
- package/dist/chunks/hookChains-0.6.7-cr0c8y5v.mjs +0 -3
- package/dist/chunks/hooks-0.6.7-3dzcec4j.mjs +0 -79
- package/dist/chunks/hooks-0.6.7-8d0h5mh8.mjs +0 -1
- package/dist/chunks/ide-0.6.7-5yx4zawt.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.7-58mhvg4s.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.7-9afh5jdh.mjs +0 -1
- package/dist/chunks/index-0.6.7-0p9m5cfc.mjs +0 -1
- package/dist/chunks/index-0.6.7-1ngjds1q.mjs +0 -30
- package/dist/chunks/index-0.6.7-269433vt.mjs +0 -2
- package/dist/chunks/index-0.6.7-299hd0kq.mjs +0 -1
- package/dist/chunks/index-0.6.7-2p1qzv7b.mjs +0 -9
- package/dist/chunks/index-0.6.7-7fw7s1w6.mjs +0 -1
- package/dist/chunks/index-0.6.7-938hete3.mjs +0 -1
- package/dist/chunks/index-0.6.7-9qxbggwj.mjs +0 -1
- package/dist/chunks/index-0.6.7-adw6e99t.mjs +0 -1
- package/dist/chunks/index-0.6.7-da5n32m6.mjs +0 -1
- package/dist/chunks/index-0.6.7-ebdnq1xs.mjs +0 -1
- package/dist/chunks/index-0.6.7-fewh0t9g.mjs +0 -1
- package/dist/chunks/index-0.6.7-jyep217e.mjs +0 -1
- package/dist/chunks/index-0.6.7-mmh99nq4.mjs +0 -1
- package/dist/chunks/index-0.6.7-p9vm0q7s.mjs +0 -2
- package/dist/chunks/index-0.6.7-pspakten.mjs +0 -1
- package/dist/chunks/index-0.6.7-qy50jasm.mjs +0 -5
- package/dist/chunks/index-0.6.7-r7sewgza.mjs +0 -1
- package/dist/chunks/index-0.6.7-tet87444.mjs +0 -1
- package/dist/chunks/index-0.6.7-vwv8f9ey.mjs +0 -1
- package/dist/chunks/index-0.6.7-xhxjqdft.mjs +0 -1
- package/dist/chunks/index-0.6.7-yc13tnk8.mjs +0 -1
- package/dist/chunks/index-0.6.7-zm9ed9xd.mjs +0 -9
- package/dist/chunks/init-0.6.7-9mxee8s9.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.7-2v1w7wq6.mjs +0 -1
- package/dist/chunks/ink-0.6.7-24swqw8m.mjs +0 -1
- package/dist/chunks/insights-0.6.7-wf368crb.mjs +0 -870
- package/dist/chunks/install-0.6.7-a9dezzjy.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.7-wr0r1fb5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.7-ftc8w786.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.7-y1xv08zm.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.7-kg2yqwhs.mjs +0 -1
- package/dist/chunks/keybindings-0.6.7-xa10wdn0.mjs +0 -2
- package/dist/chunks/knowledge-0.6.7-p8ys3wf6.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.7-7ss3jynk.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.7-g16npyc7.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.7-d1p7v7wd.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.7-qy17rc72.mjs +0 -1
- package/dist/chunks/log-0.6.7-a9pyn4zr.mjs +0 -1
- package/dist/chunks/main-0.6.7-epme77xk.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.7-1h0tpwq1.mjs +0 -1
- package/dist/chunks/mcp-0.6.7-1pq6d47c.mjs +0 -17
- package/dist/chunks/mcp-0.6.7-krdmdzbj.mjs +0 -4
- package/dist/chunks/mcp-0.6.7-sh0wnst3.mjs +0 -1
- package/dist/chunks/mcpb-0.6.7-wethrsb6.mjs +0 -1
- package/dist/chunks/memory-0.6.7-wwbx8j9h.mjs +0 -3
- package/dist/chunks/model-0.6.7-bnf162h5.mjs +0 -2
- package/dist/chunks/model-0.6.7-ta2zt9yw.mjs +0 -1
- package/dist/chunks/node-0.6.7-9wgtbtkn.mjs +0 -12
- package/dist/chunks/oauth-0.6.7-ecry38es.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.7-6haddefk.mjs +0 -14
- package/dist/chunks/output-style-0.6.7-heg5p49f.mjs +0 -1
- package/dist/chunks/package-FMOR3ELU-0.6.7-g0c2811q.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.7-rmje9xpc.mjs +0 -1
- package/dist/chunks/parser-0.6.7-dwxttek7.mjs +0 -1
- package/dist/chunks/passes-0.6.7-6md5xpaz.mjs +0 -1
- package/dist/chunks/permissions-0.6.7-25nzz9y0.mjs +0 -3
- package/dist/chunks/permissions-0.6.7-bm6zx02e.mjs +0 -1
- package/dist/chunks/plan-0.6.7-9pxaje2z.mjs +0 -1
- package/dist/chunks/plist-0.6.7-vcn459ke.mjs +0 -1
- package/dist/chunks/plugin-0.6.7-a5erdt59.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.7-4v446m9d.mjs +0 -1
- package/dist/chunks/plugins-0.6.7-g2r5qgvr.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.7-m3b66d2g.mjs +0 -2
- package/dist/chunks/print-0.6.7-qwsqdjpa.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.7-f7mdzrj9.mjs +0 -1
- package/dist/chunks/process-0.6.7-mwpj2ag5.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.7-zmq7s8bg.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.7-aeq77f0r.mjs +0 -9
- package/dist/chunks/prompt-0.6.7-bjk6r969.mjs +0 -1
- package/dist/chunks/prompt-0.6.7-cqwn4ebm.mjs +0 -1
- package/dist/chunks/prompts-0.6.7-sx1ddpn3.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.7-4htrgj10.mjs +0 -13
- package/dist/chunks/provider-0.6.7-cf13j8jp.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.7-s1vbbbf8.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.7-d5tsv9wn.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.7-xxb91evy.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.7-qmmn95tv.mjs +0 -34
- package/dist/chunks/registry-0.6.7-vnf153w2.mjs +0 -1
- package/dist/chunks/release-notes-0.6.7-140nchxs.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.7-2zjnq8rk.mjs +0 -2
- package/dist/chunks/remote-env-0.6.7-dmn903f9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.7-vjavg15v.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.7-j6t9wnvq.mjs +0 -1
- package/dist/chunks/rename-0.6.7-9hky49hm.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.7-fg56fjhe.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.7-135zqkvm.mjs +0 -1
- package/dist/chunks/resume-0.6.7-ag66nvjc.mjs +0 -2
- package/dist/chunks/rewind-0.6.7-pbgnt37r.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.7-dhbhchhw.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.7-wav9ed7k.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.7-xvjvjn90.mjs +0 -1
- package/dist/chunks/session-0.6.7-dv8ptwrb.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.7-k5zpyw84.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.7-rrcrsek8.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.7-fx0mbvg6.mjs +0 -1
- package/dist/chunks/settings-0.6.7-nwqqfy0f.mjs +0 -1
- package/dist/chunks/setup-0.6.7-1w2gtqvq.mjs +0 -5
- package/dist/chunks/sinks-0.6.7-rh7wgd1s.mjs +0 -1
- package/dist/chunks/skills-0.6.7-p7nm0dqx.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.7-0sgmtd5m.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.7-pe8vnbmy.mjs +0 -1
- package/dist/chunks/state-0.6.7-7zgmm7bx.mjs +0 -1
- package/dist/chunks/stats-0.6.7-qwjhmd0m.mjs +0 -6
- package/dist/chunks/status-0.6.7-4dybregh.mjs +0 -1
- package/dist/chunks/stickers-0.6.7-me3v3dmh.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.7-qnce4qzp.mjs +0 -1
- package/dist/chunks/tasks-0.6.7-sbx5a37t.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.7-pwbpqycb.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.7-qef93h04.mjs +0 -1
- package/dist/chunks/teleport-0.6.7-rtj4ts5d.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.7-tka4bjp2.mjs +0 -1
- package/dist/chunks/theme-0.6.7-x8qqpmm6.mjs +0 -1
- package/dist/chunks/thinkback-0.6.7-w6wj1na3.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.7-m433zrvk.mjs +0 -1
- package/dist/chunks/toolPool-0.6.7-5x90r1f5.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.7-ev30cxmd.mjs +0 -1
- package/dist/chunks/tools-0.6.7-w23c68c1.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.7-yp482r12.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.7-6qtfbqqk.mjs +0 -69
- package/dist/chunks/types-0.6.7-q8m8v654.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.7-8azkbc2y.mjs +0 -4
- package/dist/chunks/update-0.6.7-gwfz54bh.mjs +0 -86
- package/dist/chunks/upgrade-0.6.7-3mraezx0.mjs +0 -1
- package/dist/chunks/upload-0.6.7-xxfcdyx1.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.7-5w2ftmfc.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.7-3jfvm422.mjs +0 -1
- package/dist/chunks/usage-0.6.7-pkmqvqgq.mjs +0 -1
- package/dist/chunks/util-0.6.7-3z6r92wt.mjs +0 -1
- package/dist/chunks/utils-0.6.7-sdkkjj30.mjs +0 -1
- package/dist/chunks/vim-0.6.7-3rsss4ez.mjs +0 -1
- package/dist/chunks/watcher-0.6.7-kh7rkhx8.mjs +0 -1
- package/dist/chunks/wiki-0.6.7-jrn54nk5.mjs +0 -132
- package/dist/chunks/worktree-0.6.7-214cy52d.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.7-3z7e768n.mjs +0 -1
- package/dist/chunks/wrapper-0.6.7-h3kjv9nf.mjs +0 -7
- /package/dist/chunks/{cli-0.6.7-nzdwcqxv.mjs → cli-0.6.9-2kd0dsnv.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-790sqdfy.mjs → cli-0.6.9-bvsdx3f8.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-pgcg3w1c.mjs → cli-0.6.9-jj198dy3.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-32sp32ph.mjs → cli-0.6.9-kf28v99d.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-zwf5adf9.mjs → cli-0.6.9-r1m7xdaq.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-7ggj90ge.mjs → cli-0.6.9-r7fnwtpb.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.7-04v8p8ay.mjs → cli-0.6.9-yt963aje.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$n as Xq,$o as Rq,Zn as E,_n as m,_o as l,ap as i,bp as Aq,uo as S,zo as Zq}from"./cli-0.6.7-2rxv4h2n.mjs";import{U$ as u,W$ as g,Z$ as h,_$ as n,daa as vq,dea as D,lea as Qq}from"./cli-0.6.7-p76h2hj4.mjs";import{Qfa as d,Sfa as Uq}from"./cli-0.6.7-6ezmhmp0.mjs";import{Aha as M,Eha as y,Oha as V,Rha as e,rha as P,sha as v,wha as f}from"./cli-0.6.7-v82zs0dw.mjs";import{gia as W,hia as O,iia as C,nia as _}from"./cli-0.6.7-p140ghs7.mjs";import{$oa as p,rpa as qq}from"./cli-0.6.7-0a04vzzk.mjs";import{Lpa as N}from"./cli-0.6.7-z26mhn5a.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
-
export{Fq as bd,r as cd,nq as dd,lq as ed,Oq as fd,QQ as gd,XQ as hd,Dq as id};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{xg as d,yg as Vq}from"./cli-0.6.7-jayzyra3.mjs";import{QR as Oq,iQ as a,kQ as yq,oR as l}from"./cli-0.6.7-2rxv4h2n.mjs";import{DX as Zq,DZ as Gq,YY as T,_Y as R,sZ as $}from"./cli-0.6.7-9qjmzyph.mjs";import{A0 as e,v0 as t,x0 as v}from"./cli-0.6.7-gp1x8mcf.mjs";import{J1 as P,K1 as N,L1 as S}from"./cli-0.6.7-hsf1v92p.mjs";import{M1 as Yq}from"./cli-0.6.7-417g4eq7.mjs";import{h2 as u,i2 as Aq}from"./cli-0.6.7-ex9w59mx.mjs";import{X9 as j,n8 as G,p8 as o,r_ as s}from"./cli-0.6.7-p76h2hj4.mjs";import{Xfa as w,Yfa as r}from"./cli-0.6.7-a8d5a7gy.mjs";import{Oha as L,Rha as n}from"./cli-0.6.7-v82zs0dw.mjs";import{gia as c,nia as Xq}from"./cli-0.6.7-p140ghs7.mjs";import{eoa as i,hka as f}from"./cli-0.6.7-1mvkcg2k.mjs";import{Hpa as I,Lpa as h}from"./cli-0.6.7-z26mhn5a.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
-
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
-
export{mq as vg,Bq as wg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lpa as K}from"./cli-0.6.7-z26mhn5a.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
|
|
2
|
-
export{M as Sha,N as Tha,Q as Uha,R as Vha,S as Wha,L as Xha};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lpa as M}from"./cli-0.6.7-z26mhn5a.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
|
|
2
|
-
export{V as $6,W as a7,X as b7,Z as c7,Y as d7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
|
|
2
|
-
export{z as Hpa,A as Ipa,B as Jpa,C as Kpa,D as Lpa,F as Mpa,G as Npa,H as Opa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{DX as u2,DZ as e2,MX as Z,YY as Y,_Y as u}from"./cli-0.6.7-9qjmzyph.mjs";import{J1 as t,K1 as o,L1 as U}from"./cli-0.6.7-hsf1v92p.mjs";import{X_ as X,Z_ as j}from"./cli-0.6.7-p76h2hj4.mjs";import{Hpa as s}from"./cli-0.6.7-z26mhn5a.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.7"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.7"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.6.7"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.6.7"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
-
export{c2 as O};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lpa as s}from"./cli-0.6.7-z26mhn5a.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.6.7 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
-
export{c as T1,i as U1,r as V1};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Cb as DY}from"./cli-0.6.7-zwf5adf9.mjs";import{Jc as LY,Mc as iQ}from"./cli-0.6.7-7jnmn6s1.mjs";import{Nh as V0,Oh as p6}from"./cli-0.6.7-4r8s96as.mjs";import{li as pY,mi as A6}from"./cli-0.6.7-0qzj0d6r.mjs";import{$A as O6,$w as d0,Bp as iZ,Cp as AY,DP as wZ,Dk as L9,Dp as FZ,Ek as u6,Ep as _Y,Fk as z9,Gk as q9,Hj as KZ,Hk as bZ,IM as BY,IN as gY,Ik as Y0,Jk as D9,KC as NY,KM as rQ,Kj as E0,Kk as XZ,LC as nQ,Lk as Q0,MC as RY,Mk as v9,Nk as A9,OC as z6,Ok as sY,Pj as hY,Pz as uY,QJ as P9,QP as rY,Qw as h0,RN as dY,Rw as uZ,Rz as v6,SC as n,SJ as F9,Sw as k0,TN as lY,Tw as x0,UC as U6,Uw as u0,VA as cY,Vw as p0,WA as _6,WJ as M9,WO as s,Ww as pZ,XN as w6,Xw as cZ,Xz as CY,Yo as j9,Yw as c0,Yz as TY,ZP as iY,Zo as i6,Zw as m0,Zz as L6,_A as mY,_w as g0,aH as T0,aP as aY,ax as l0,bH as s9,bK as o6,bQ as zY,bt as ZY,bx as a0,ct as xQ,cx as n0,dt as JY,dx as r0,eQ as qY,et as lQ,ex as i0,ft as kY,fx as GQ,gJ as PY,hP as nY,iP as kZ,is as M0,jJ as J6,km as yZ,kv as I0,lF as C0,ls as b0,lz as xY,mF as o9,mP as xZ,ms as fZ,nm as $Z,nv as i9,om as e0,oz as D6,qs as r9,yC as HY,zC as aQ}from"./cli-0.6.7-2rxv4h2n.mjs";import{FV as Q9,JV as R6}from"./cli-0.6.7-m5a4md2p.mjs";import{BW as $0,CW as j0,DW as l9,GW as P0,HW as a9,NW as F0,OW as n9,nW as y0,oW as d9}from"./cli-0.6.7-t4vdc40t.mjs";import{DX as m9,DZ as g9,YY as p,_Y as M}from"./cli-0.6.7-9qjmzyph.mjs";import{I1 as a,J1 as E,K1 as b,L1 as J0}from"./cli-0.6.7-hsf1v92p.mjs";import{M1 as c9}from"./cli-0.6.7-417g4eq7.mjs";import{R3 as $Y,V3 as K6,q6 as G6,t5 as jY}from"./cli-0.6.7-mjkd8p19.mjs";import{$da as p9,L8 as E9,S9 as TZ,U9 as x9,X9 as y9,Y$ as $9,Y7 as _Z,Yda as U0,Z7 as k9,daa as r6,dea as e,j8 as GY,l8 as dQ,l9 as a6,lea as w0,nba as yY,oaa as wY,paa as EY,r_ as n6,raa as V6,u_ as Y9,wba as W6,z_ as T6}from"./cli-0.6.7-p76h2hj4.mjs";import{Eea as L0,Iea as h9,wea as B0}from"./cli-0.6.7-7p1zvk1f.mjs";import{mfa as oY,xfa as $6}from"./cli-0.6.7-mh4wva6p.mjs";import{Qfa as Y,Rfa as h,Sfa as JZ,Tfa as q,Ufa as EZ}from"./cli-0.6.7-6ezmhmp0.mjs";import{Aga as u9,Xfa as UY,Yfa as X6,_fa as RZ,bga as z0,cga as q0,dga as D0,ega as v0,hga as A0,iga as _0,uga as O0}from"./cli-0.6.7-a8d5a7gy.mjs";import{Lga as g,Oga as UZ}from"./cli-0.6.7-pd4qacrw.mjs";import{Oha as I,Rga as Z9,Rha as HZ,Tga as C6,rha as ZZ,sha as WY,wha as PZ}from"./cli-0.6.7-v82zs0dw.mjs";import{Tha as KY,Xha as gQ}from"./cli-0.6.7-y6pqw2vj.mjs";import{_ha as VY,gia as w9,hia as tZ,nia as lZ}from"./cli-0.6.7-p140ghs7.mjs";import{Oma as J9,Pma as DZ,Qma as H9,Sma as N9,Tma as X0,Vma as B9,boa as IY,eoa as BZ,hka as NZ,nka as W0,oka as eY,wla as OY}from"./cli-0.6.7-1mvkcg2k.mjs";import{Hpa as N0,Kpa as hZ,Lpa as OZ,Mpa as rZ}from"./cli-0.6.7-z26mhn5a.mjs";var WQ={};hZ(WQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function SZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:V,onSummarize:W,onClose:H,preselectedMessage:G}){let K=I0((U)=>U.fileHistory),[B,z]=T.useState(void 0),J=M0(),L=T.useMemo(t9,[]),_=T.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[w,v]=T.useState(_.length-1),P=Math.max(0,Math.min(w-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[D,F]=T.useState(G),[y,S]=T.useState(void 0);T.useEffect(()=>{if(!G||!J)return;let U=!1;return fZ(K,G.uuid).then((R)=>{if(!U)S(R)}),()=>{U=!0}},[G,J,K]);let[O,$]=T.useState(!1),[d,i]=T.useState(null),[o,C]=T.useState("both"),[k,x]=T.useState(""),[A,j]=T.useState("");function N(U){let R=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return R.push({value:"summarize",label:"Summarize from here",...c,onChange:x}),R.push({value:"nevermind",label:"Never mind"}),R}T.useEffect(()=>{g("tengu_message_selector_opened",{})},[]);async function u(U){Z(),$(!0);try{await X(U),$(!1),H()}catch(R){e(R),$(!1),z(`Failed to restore the conversation:
|
|
2
|
-
${R}`)}}async function l(U){let R=Q.indexOf(U),c=Q.length-1-R;if(g("tengu_message_selector_selected",{index_from_end:c,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){H();return}if(!J){await u(U);return}let m=await fZ(K,U.uuid);F(U),S(m)}async function VZ(U){if(g("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(G)H();else F(void 0);return}if(SZ(U)){Z(),$(!0),i(U),z(void 0);try{let m=U==="summarize_up_to"?"up_to":"from",YZ=(m==="up_to"?A:k).trim()||void 0;await W(D,YZ,m),$(!1),i(null),F(void 0),H()}catch(m){e(m),$(!1),i(null),F(void 0),z(`Failed to summarize:
|
|
3
|
-
${m}`)}return}Z(),$(!0),z(void 0);let R=null,c=null;if(U==="code"||U==="both")try{await V(D)}catch(m){R=m,e(R)}if(U==="conversation"||U==="both")try{await X(D)}catch(m){c=m,e(c)}if($(!1),F(void 0),c&&R)z(`Failed to restore the conversation and code:
|
|
4
|
-
${c}
|
|
5
|
-
${R}`);else if(c)z(`Failed to restore the conversation:
|
|
6
|
-
${c}`);else if(R)z(`Failed to restore the code:
|
|
7
|
-
${R}`);else H()}let WZ=P0(),t=T.useCallback(()=>{if(D&&!G){F(void 0);return}g("tengu_message_selector_cancelled",{}),H()},[H,D,G]),I9=T.useCallback(()=>v((U)=>Math.max(0,U-1)),[]),C9=T.useCallback(()=>v((U)=>Math.min(_.length-1,U+1)),[_.length]),T9=T.useCallback(()=>v(0),[]),R9=T.useCallback(()=>v(_.length-1),[_.length]),f9=T.useCallback(()=>{let U=_[w];if(U)l(U)},[_,w,l]);$0("confirm:no",t,{context:"Confirmation",isActive:!D}),j0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":T9,"messageSelector:bottom":R9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!O&&!B&&!D&&f});let[K0,G0]=T.useState({});T.useEffect(()=>{async function U(){if(!J)return;Promise.all(_.map(async(R,c)=>{if(R.uuid!==L){let m=b0(K,R.uuid),YZ=_.at(c+1),AZ=m?XQ(Q,R.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)G0((r)=>({...r,[c]:AZ}));else G0((r)=>({...r,[c]:void 0}))}}))}U()},[_,Q,L,K,J]);let vZ=J&&y?.filesChanged&&y.filesChanged.length>0,S9=!B&&!D&&!G&&f;return b(p,{flexDirection:"column",width:"100%",children:[E(F0,{color:"suggestion"}),b(p,{flexDirection:"column",marginX:1,gap:1,children:[E(M,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:b(M,{color:"error",children:["Error: ",B]})}),!f&&E(a,{children:E(M,{children:"Nothing to rewind to yet."})}),!B&&D&&f&&b(a,{children:[b(M,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),b(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),b(M,{dimColor:!0,children:["(",L0(new Date(D.timestamp)),")"]})]}),E(YQ,{selectedRestoreOption:o,canRestoreCode:!!vZ,diffStatsForRestore:y}),O&&SZ(d)?b(p,{flexDirection:"row",gap:1,children:[E(T0,{}),E(M,{children:"Summarizing…"})]}):E(C0,{isDisabled:O,options:N(!!vZ),defaultFocusValue:vZ?"both":"conversation",onFocus:(U)=>C(U),onChange:(U)=>VZ(U),onCancel:()=>G?H():F(void 0)}),vZ&&E(p,{marginBottom:1,children:b(M,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),S9&&b(a,{children:[J?E(M,{children:"Restore the code and/or conversation to the point before…"}):E(M,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((U,R)=>{let c=P+R,m=c===w,YZ=U.uuid===L,AZ=c in K0,r=K0[c],IZ=r?.filesChanged&&r.filesChanged.length;return b(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:m?b(M,{color:"permission",bold:!0,children:[_Z.pointer," "]}):E(M,{children:" "})}),b(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:m?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&E(p,{height:1,flexDirection:"row",children:r?E(a,{children:E(M,{dimColor:!m,color:"inactive",children:IZ?b(a,{children:[IZ===1&&r.filesChanged[0]?`${QZ.basename(r.filesChanged[0])} `:`${IZ} files changed `,E(f0,{diffStats:r})]}):E(a,{children:"No code changes"})})}):b(M,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(M,{dimColor:!0,italic:!0,children:WZ.pending?b(a,{children:["Press ",WZ.keyName," again to exit"]}):b(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:V,diffStatsForRestore:W}=Q,H=V&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=E(M,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==W||Z[5]!==X||Z[6]!==H)B=!SZ(X)&&(H?E(QQ,{diffStatsForRestore:W}):E(M,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=W,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=b(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=E(M,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let V=X.filesChanged.length,W;if(V===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];W=K}else if(V===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];W=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];W=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=E(f0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==W||Z[12]!==H)G=E(a,{children:b(M,{dimColor:!0,children:["The code will be restored"," ",H," in ",W,"."]})}),Z[11]=W,Z[12]=H,Z[13]=G;else G=Z[13];return G}function f0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let V;if(Z[0]!==X.insertions)V=b(M,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=V;else V=Z[1];let W;if(Z[2]!==X.deletions)W=b(M,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=W;else W=Z[3];let H;if(Z[4]!==V||Z[5]!==W)H=b(a,{children:[V,W]}),Z[4]=V,Z[5]=W,Z[6]=H;else H=Z[6];return H}function H0(Q){let Z=GZ.c(31),{userMessage:X,color:V,dimColor:W,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let S;if(Z[0]!==V||Z[1]!==W)S=E(p,{width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"(current)"})}),Z[0]=V,Z[1]=W,Z[2]=S;else S=Z[2];return S}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,w,v,P,f,D;if(Z[3]!==V||Z[4]!==K||Z[5]!==B||Z[6]!==W||Z[7]!==z||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Z:{let S=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=U0(S);if(E0(O)){let $;if(Z[17]!==V||Z[18]!==W)$=E(p,{flexDirection:"row",width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"((empty message))"})}),Z[17]=V,Z[18]=W,Z[19]=$;else $=Z[19];D=$;break Z}if(O.includes("<bash-input>")){let $=KZ(O,"bash-input");if($){let d;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))d=E(M,{color:"bashBorder",children:"!"}),Z[20]=d;else d=Z[20];D=b(p,{flexDirection:"row",width:"100%",children:[d,b(M,{color:V,dimColor:W,children:[" ",$]})]});break Z}}if(O.includes(`<${RZ}>`)){let $=KZ(O,RZ),d=KZ(O,"command-args"),i=KZ(O,"skill-format")==="true";if($)if(i){D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["Skill(",$,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["/",$," ",d]})});break Z}}L=p,P="row",f="100%",J=M,_=V,w=W,v=G?B0(O,K-G,!0):O.slice(0,500).split(`
|
|
8
|
-
`).slice(0,4).join(`
|
|
9
|
-
`)}Z[3]=V,Z[4]=K,Z[5]=B,Z[6]=W,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=w,Z[13]=v,Z[14]=P,Z[15]=f,Z[16]=D}else J=Z[9],L=Z[10],_=Z[11],w=Z[12],v=Z[13],P=Z[14],f=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==w||Z[24]!==v)F=E(J,{color:_,dimColor:w,children:v}),Z[21]=J,Z[22]=_,Z[23]=w,Z[24]=v,Z[25]=F;else F=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)y=E(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=y;else y=Z[30];return y}function XQ(Q,Z,X){let V=Q.findIndex((B)=>B.uuid===Z);if(V===-1)return;let W=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(W===-1)W=Q.length;let H=[],G=0,K=0;for(let B=V+1;B<W;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=TZ(L.lines,(v)=>v.startsWith("+")),w=TZ(L.lines,(v)=>v.startsWith("-"));G+=_,K+=w}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],V=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(V.indexOf(`<${D0}>`)!==-1||V.indexOf(`<${v0}>`)!==-1||V.indexOf(`<${z0}>`)!==-1||V.indexOf(`<${q0}>`)!==-1||V.indexOf(`<${_0}>`)!==-1||V.indexOf(`<${A0}>`)!==-1||V.indexOf(`<${O0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let V=Q[X];if(!V)continue;if(kZ(V))continue;if(xZ(V))continue;if(V.type==="progress")continue;if(V.type==="system")continue;if(V.type==="attachment")continue;if(V.type==="user"&&V.isMeta)continue;if(V.type==="assistant"){let W=V.message.content;if(Array.isArray(W)){if(W.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(V.type==="user")return!1}return!0}var GZ,T,CZ=7;var KQ=OZ(()=>{k9();UZ();i9();r9();w0();a9();g9();l9();p9();wZ();o9();s9();d9();u9();x9();h9();n9();J0();GZ=N0(m9(),1),T=N0(c9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>M6});function M6(){let Q=oY("tengu_kairos_cron_config",XZ,j6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var j6=60000,oZ=1800000,P6=2592000000,F6;var I6=OZ(()=>{JZ();$6();sY();EZ();F6=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(oZ),oneShotMaxMs:Y.number().int().min(0).max(oZ),oneShotFloorMs:Y.number().int().min(0).max(oZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as S6,unlink as X9,writeFile as eZ}from"fs/promises";import{dirname as h6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await S6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),V=ZZ(Q);try{return await eZ(X,V,{flag:"wx"}),!0}catch(W){let H=tZ(W);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(h6(X),{recursive:!0});try{return await eZ(X,V,{flag:"wx"}),!0}catch(G){if(tZ(G)==="EEXIST")return!1;throw G}}throw W}}function sZ(Q){MZ?.(),MZ=Z9(async()=>{await qZ(Q)})}async function Z0(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(V,Z))return LZ=void 0,sZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let W=await W9(Z);if(W?.sessionId===X){if(W.pid!==process.pid)await eZ(zZ(Z),ZZ(V)),sZ(Q);return!0}if(W&&Q9(W.pid)){if(LZ!==W.sessionId)LZ=W.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${W.sessionId} (PID ${W.pid})`);return!1}if(W)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${W.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(V,Z))return LZ=void 0,sZ(Q),!0;return!1}async function qZ(Q){MZ?.(),MZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V=await W9(Z);if(!V||V.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,MZ,LZ;var K9=OZ(()=>{JZ();BZ();C6();HZ();lZ();R6();T6();EZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>O9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>g6,buildMissedTaskNotification:()=>U9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function O9(Q){let Z=X0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:V0(Z.prompt),reason:Z.reason}}function g6(Q){let{onFire:Z,isLoading:X,assistantMode:V=!1,onFireTask:W,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,w=[],v=new Map,P=new Set,f=new Set,D=null,F=null,y=null,S=null,O=!1,$=!1;async function d(C){let k=await q9(K);if(O)return;if(w=k,!C)return;let x=Date.now(),A=A9(k,x).filter((j)=>!j.recurring&&!P.has(j.id)&&(!L||L(j)));if(A.length>0){for(let j of A)P.add(j.id),v.set(j.id,1/0);if(g("tengu_scheduled_task_missed",{count:A.length,taskIds:A.map((j)=>j.id).join(",")}),H)H(A);else Z(U9(A));Y0(A.map((j)=>j.id),K).catch((j)=>I(`[ScheduledTasks] failed to remove missed tasks: ${j}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!V)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function j(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=v.get(N.id);if(l===void 0)l=N.recurring?Q0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:v9(N.cron,N.createdAt,N.id,A)??1/0,v.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?V0(N.prompt,void 0,N.agentId):N.prompt;if(W)W(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Q0(N.cron,C,N.id,A)??1/0;if(v.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),v.delete(N.id);else f.add(N.id),Y0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),v.delete(N.id)}if($){for(let N of w)j(N,!1);if(x.length>0){for(let N of x)f.add(N);D9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())j(u,!0);let N=O9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("tengu_schedule_wakeup_fire",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){v.clear();return}for(let N of v.keys())if(!k.has(N))v.delete(N)}async function o(){if(O)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-0.6.7-mmh99nq4.mjs");if(O)return;if($=await Z0(_).catch(()=>!1),O){if($)$=!1,qZ(_);return}if(!$)y=setInterval(()=>{Z0(_).then((x)=>{if(O){if(x)qZ(_);return}if(x){if($=!0,y)clearInterval(y),y=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),y.unref?.();d(!0);let k=z9(K);S=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),S.on("add",()=>void d(!1)),S.on("change",()=>void d(!1)),S.on("unlink",()=>{if(!O)w=[],v.clear()}),F=setInterval(i,G9),F.unref?.()}return{start(){if(O=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${DZ()}, hasTasks=${bZ()}`),!DZ()&&(V||bZ()))J9(!0);if(DZ()){o();return}D=setInterval((C)=>{if(DZ())C()},G9,o),D.unref?.()},stop(){if(O=!0,D)clearInterval(D),D=null;if(F)clearInterval(F),F=null;if(y)clearInterval(y),y=null;if(S?.close(),S=null,$)$=!1,qZ(_)},getNextFireTime(){let C=1/0;for(let k of v.values())if(k<C)C=k;if(K===void 0){let k=X0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function U9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
|
|
10
|
-
|
|
11
|
-
Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,V=Q.map((W)=>{let H=`[${L9(W.cron)}, created ${new Date(W.createdAt).toLocaleString()}]`,G=(W.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
|
|
12
|
-
${K}
|
|
13
|
-
${W.prompt}
|
|
14
|
-
${K}`});return`${X}
|
|
15
|
-
|
|
16
|
-
${V.join(`
|
|
17
|
-
|
|
18
|
-
`)}`}var G9=1000,c6=300,m6=5000;var l6=OZ(()=>{BZ();UZ();u6();sY();K9();HZ();p6()});import{randomUUID as dZ}from"crypto";JZ();EZ();GQ();var JQ=q(()=>Y.unknown()),HQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),NQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(u0(),Y.array(HQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),g0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),EX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(c0()),account:m0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:i0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),BQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),LQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(k0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),zQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:x0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),qQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),DQ=q(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),vQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),yX=q(()=>Y.object({mcpServers:Y.array(uZ())}).describe("Response containing the current status of all MCP server connections.")),AQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),_Q=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),$X=q(()=>Y.object({categories:Y.array(_Q()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),UQ=q(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),jX=q(()=>Y.object({canRewind:Y.boolean(),error:Y.string().optional(),filesChanged:Y.array(Y.string()).optional(),insertions:Y.number().optional(),deletions:Y.number().optional()}).describe("Result of a rewindFiles operation.")),wQ=q(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),PX=q(()=>Y.object({cancelled:Y.boolean()}).describe("Result of a cancel_async_message operation. cancelled=false means the message was not in the queue (already dequeued or never enqueued).")),EQ=q(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),yQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:p0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),$Q=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:JQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),jQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),h0())}).describe("Replaces the set of dynamically managed MCP servers.")),FX=q(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),PQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),MX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(uZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),FQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),MQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),bQ=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),IQ=q(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),CQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),bX=q(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),TQ=q(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),o0=q(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),RQ=q(()=>Y.union([BQ(),LQ(),NQ(),zQ(),qQ(),DQ(),vQ(),AQ(),yQ(),$Q(),UQ(),wQ(),EQ(),jQ(),PQ(),FQ(),MQ(),bQ(),IQ(),CQ(),TQ()])),mZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:RQ()})),fQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),SQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),s0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([fQ(),SQ()])})),hQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),t0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),kQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),IX=q(()=>Y.union([r0(),l0(),a0(),n0(),s0(),mZ(),hQ(),t0()])),CX=q(()=>Y.union([d0(),mZ(),s0(),t0(),kQ()]));lQ();HZ();dQ();lZ();JZ();HZ();EZ();e0();xQ();var xX=q(()=>h.object({tool_name:h.string().describe("The name of the tool requesting permission"),input:h.record(h.string(),h.unknown()).describe("The input for the tool"),tool_use_id:h.string().optional().describe("The unique tool use request ID")})),YY=q(()=>h.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),uQ=q(()=>h.object({behavior:h.literal("allow"),updatedInput:h.record(h.string(),h.unknown()),updatedPermissions:h.array(ZY()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:h.string().optional(),decisionClassification:YY()})),pQ=q(()=>h.object({behavior:h.literal("deny"),message:h.string(),interrupt:h.boolean().optional(),toolUseID:h.string().optional(),decisionClassification:YY()})),gZ=q(()=>h.union([uQ(),pQ()]));function jZ(Q,Z,X,V){let W={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)V.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),$Z(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:W}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),V.abortController.abort();return{...Q,decisionReason:W}}rQ();gQ();PZ();JZ();aQ();qY();e0();iQ();PZ();nQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function tQ(Q,Z,X,V){let W;try{W=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{W=Q.name}return{tool_name:Q.name,action_description:W,tool_use_id:X,request_id:V,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new NY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>eQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
|
|
19
|
-
`)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
|
|
20
|
-
`);if(X===-1)break;let V=Q.slice(0,X);Q=Q.slice(X+1);let W=await this.processLine(V);if(W)GY("info","cli_stdin_message_parsed",{type:W.type}),yield W}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let V=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(W){X.reject(W)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[V,W]of Object.entries(Z.variables))process.env[V]=W;I(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)HY(X,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let G=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof G==="string"&&this.resolvedToolUseIds.has(G)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${G} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let W=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(W))}catch(H){V.reject(H)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")XY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
|
|
21
|
-
`)}async sendRequest(Q,Z,X,V=dZ()){let W={type:"control_request",request_id:V,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(W),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(W);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:V});let G=this.pendingRequests.get(V);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(V,{request:{type:"control_request",request_id:V,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(V)}}createCanUseTool(Q){return async(Z,X,V,W,H,G)=>{let K=G??await BY(Z,X,V,W,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=V.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,V,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let w=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:V.agentId},gZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),v=await Promise.race([L,w]);if(v.source==="hook"){if(v.decision)return w.catch(()=>{}),B.abort(),v.decision;let P=await w;return jZ(P.result,Z,X,V)}return jZ(v.result,Z,X,V)}catch(L){return jZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,V)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,V,W)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:V||void 0},JY(),W)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,V,W,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:W,url:H,elicitation_id:G,requested_schema:X},o0(),V)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},gZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,V,W){let G=V.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,V,G,W,V.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){$Z(L);let _=V.getAppState(),w=yZ(_.toolPermissionContext,L);V.setAppState((v)=>{if(v.toolPermissionContext===w)return v;return{...v,toolPermissionContext:w}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}_Y();function HV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?Q6(Z):Z,uuid:X}}function Q6(Q){if(!Q.some(vY))return Q;return Q.map((Z)=>{if(!vY(Z))return Z;let X=Z.source,V=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:AY(Z.source.data);return{...Z,source:{type:"base64",media_type:V,data:Z.source.data}}})}function vY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}BZ();J6();V6();G6();X6();K6();W6();import{randomUUID as H6}from"crypto";function N6(Q){return Q===wY?EY:Q}function OV(Q){let X=yY()?.outputStyle??PY,V={type:"system",subtype:"init",cwd:UY(),session_id:NZ(),tools:Q.tools.map((W)=>N6(W.name)),mcp_servers:Q.mcpClients.map((W)=>({name:W.name,status:W.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),apiKeySource:jY().source,betas:OY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((W)=>W.agentType),skills:Q.skills.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),plugins:Q.plugins.map((W)=>({name:W.name,path:W.path,source:W.source})),uuid:H6()};return V.fast_mode_state=$Y(Q.model,Q.fastMode),V}var FY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function B6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let V=[],W=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(W){if(W==="["&&L==="["){H=J;continue}if(L!==FY[W])continue;if(W==="'"&&G(Q[J+1]))continue;V.push({start:H,end:J+1}),W=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in FY)W=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(V.some((P)=>L>=P.start&&L<P.end))continue;let w=Q[L-1],v=Q[_];if(w==="/"||w==="\\"||w==="-")continue;if(v==="/"||v==="\\"||v==="-"||v==="?")continue;if(v==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function wV(Q){return B6(Q,"ultrareview")}UZ();wZ();w6();_6();O6();v6();qY();_Y();D6();wZ();U6();A6();import{randomUUID as E6}from"crypto";BZ();UZ();wZ();L6();z6();import{randomUUID as q6}from"crypto";function MY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function bY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function fY(Q,Z,X,V,W,H,G){let K=q6();IY(K);let B=typeof Q==="string"?Q:Q.find((w)=>w.type==="text")?.text||"";RY(B);let z=typeof Q==="string"?Q:Q.findLast((w)=>w.type==="text")?.text||"";if(z)TY("user_prompt",{prompt_length:String(z.length),prompt:CY(z),"prompt.id":K});let J=MY(B),L=bY(B);if(g("tengu_input_prompt",{is_negative:J,is_keep_going:L}),Z.length>0){let w=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...w,...Z],uuid:W,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}return{messages:[s({content:Q,uuid:W,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}async function iV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:V,context:W,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:w,bridgeOrigin:v,isMeta:P,skipAttachments:f}){let D=typeof Q==="string"?Q:null;if(X==="prompt"&&D!==null&&!P)B?.(D);n("query_process_user_input_base_start");let F=W.getAppState(),y=await y6(Q,X,V,W,H,G,K,z,J,L,_,F.toolPermissionContext.mode,w,v,P,f,Z);if(n("query_process_user_input_base_end"),!y.shouldQuery)return y;n("query_hooks_start");let S=hY(Q)||"";for await(let O of iY(S,F.toolPermissionContext.mode,W,W.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let $=rY(O.blockingError);return{messages:[aY(`${$}
|
|
22
|
-
|
|
23
|
-
Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let $=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:$})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(kY({type:"hook_additional_context",content:O.additionalContexts.map(SY),hookName:"UserPromptSubmit",toolUseID:`hook-${E6()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:SY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return n("query_hooks_end"),y}var aZ=1e4;function SY(Q){if(Q.length>aZ)return`${Q.substring(0,aZ)}… [output truncated - exceeded ${aZ} characters]`;return Q}async function y6(Q,Z,X,V,W,H,G,K,B,z,J,L,_,w,v,P,f){let D=null,F=[],y=[],S=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)y.push(l)}A.push(u.block)}else A.push(N);S=A,n("query_image_processing_end");let j=A[A.length-1];if(j?.type==="text")D=j.text,F=A.slice(0,-1);else F=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=W?Object.values(W).filter(cY):[],$=O.map((A)=>A.id),d=W?await xY(W):new Map;n("query_pasted_image_processing_start");let i=await Promise.all(O.map(async(A)=>{let j={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await iZ(j),originalDimensions:A.dimensions,sourcePath:A.sourcePath??d.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:j,sourcePath:N}of i){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)y.push(u)}else if(j){let u=FZ(j,N);if(u)y.push(u)}else if(N)y.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(w&&D!==null&&D.startsWith("/")){let A=pY(D),j=A?lY(A.commandName,V.options.commands):void 0;if(j)if(dY(j))C=!1;else{let N=`/${gY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),nY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&D!==null&&(Z!=="prompt"||C||!D.startsWith("/"));n("query_attachment_loading_start");let x=k?await uY(mY(D,V,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.6.7-zmq7s8bg.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.6.7-aeq77f0r.mjs"),j=await A(D,F,o,x,V,X,K,B,J);return nZ(j,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),j=x.find((N)=>N.attachment.type==="agent_mention");if(j){let N=`@agent-${j.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("tengu_subagent_at_mention",{is_subagent_only:u,is_prefix:l})}}return nZ(fY(S,o,$,x,K,L,v),y)}function nZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}i6();BZ();HZ();lZ();n6();a6();w0();o6();r6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let V=[],W=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)V.push(G);else if(K.sourceIsFallback)H.push(G);else if(!j9(z,B.source))W.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:V,sourceChanged:W,upToDate:H}}async function IW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let V=e6(Z,X,{projectRoot:W0()}),W=[...V.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...V.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of W){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&$9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:V.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:w}=G[J];Q?.onProgress?.({type:"installing",name:L,action:w,index:J+1,total:G.length});try{let v=await M9(_);if(w==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:v.alreadyMaterialized})}catch(v){let P=w9(v);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(v)}}return{installed:K,updated:B,failed:z,upToDate:V.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??W0(),V=E9(X);return{...Q,path:t6(V??X,Q.path)}}return Q}
|
|
24
|
-
export{HV as Z,N6 as _,OV as $,e9 as aa,S0 as ba,VQ as ca,WQ as da,KQ as ea,wV as fa,iV as ga,gZ as ha,jZ as ia,QY as ja,oQ as ka,Z6 as la,e6 as ma,IW as na,M6 as oa,b6 as pa,I6 as qa,g6 as ra,d6 as sa,l6 as ta};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$2 as i,T2 as a,U2 as b,V2 as c,W2 as d,X2 as e,Y2 as f,Z2 as g,_2 as h,a3 as j,b3 as k,c3 as l,d3 as m}from"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import"./cli-0.6.7-z26mhn5a.mjs";m();export{l as storeOAuthAccountInfo,a as shouldUseClaudeAIAuth,e as refreshOAuthToken,k as populateOAuthAccountInfoIfNeeded,b as parseScopes,h as isOAuthTokenExpired,j as getOrganizationUUID,i as fetchProfileInfo,f as fetchAndStoreUserRoles,d as exchangeCodeForTokens,g as createAndStoreApiKey,c as buildAuthUrl};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{QR as f,ij as F,jR as H,rt as w,vt as Z}from"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import{bW as K,jW as Y}from"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import{eoa as X,hka as B}from"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Lpa as W}from"./cli-0.6.7-z26mhn5a.mjs";async function h(q,J,y){if(K())return q("Cannot set color: This session is a swarm teammate. Teammate colors are assigned by the team leader.",{display:"system"}),null;if(!y||y.trim()===""){let b=w.join(", ");return q(`Please provide a color. Available colors: ${b}, default`,{display:"system"}),null}let k=y.trim().toLowerCase();if($.includes(k)){let b=B(),V=F();return await H(b,"default",V),J.setAppState((z)=>({...z,standaloneAgentContext:{...z.standaloneAgentContext,name:z.standaloneAgentContext?.name??"",color:void 0}})),q("Session color reset to default",{display:"system"}),null}if(!w.includes(k)){let b=w.join(", ");return q(`Invalid color "${k}". Available colors: ${b}, default`,{display:"system"}),null}let Q=B(),U=F();return await H(Q,k,U),J.setAppState((b)=>({...b,standaloneAgentContext:{...b.standaloneAgentContext,name:b.standaloneAgentContext?.name??"",color:k}})),q(`Session color set to: ${k}`,{display:"system"}),null}var $;var M=W(()=>{X();Z();f();Y();$=["default","reset","none","gray","grey"]});M();export{h as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{$M as s,DP as wj,FH as y,GH as c,My as b,Nu as A,Ny as x,Ou as u,Ox as N,Qx as m,Sx as X,Tx as a,Vx as U,Xx as r,_M as B,dO as l,eN as k,eQ as zj,iB as f,kO as qj,nS as R,oS as W,pC as Y,pP as C,pS as Hj,qC as I,qN as o,rC as Z,sC as $,sN as P,tC as O,tN as e,uC as _,wC as n}from"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import{M6 as h,N6 as p}from"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import{dea as D,lea as g}from"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import{eia as v,nia as E}from"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import{eoa as i,kla as T}from"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Lpa as M}from"./cli-0.6.7-z26mhn5a.mjs";async function t(q,j,H,w){j.onCompactProgress?.({type:"hooks_start",hookType:"pre_compact"}),j.setSDKStatus?.("compacting");try{let[z,J]=await Promise.all([f({trigger:"manual",customInstructions:H||null},j.abortController.signal),d(j,q)]),Q=O(H,z.newCustomInstructions);j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_start"});let K=await w.reactiveCompactOnPromptTooLong(q,J,{customInstructions:Q,trigger:"manual"});if(!K.ok)switch(K.reason){case"too_few_groups":throw Error(Y);case"aborted":throw Error(I);case"exhausted":case"error":case"media_unstrippable":throw Error(Z)}k(void 0);let F=$(K.result);B(void 0,F,j.contentReplacementState),X(),W.cache.clear?.();let V=[z.userDisplayMessage,K.result.userDisplayMessage].filter(Boolean).join(`
|
|
2
|
-
`)||void 0;return{type:"compact",compactionResult:{...K.result,userDisplayMessage:V},displayText:L(j,V)}}finally{j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_end"}),j.setSDKStatus?.(null)}}function L(q,j){let H=b("tip"),w=A("app:toggleTranscript","Global","ctrl+o"),z=[...q.options.verbose?[]:[`(${w} to see full summary)`],...j?[j]:[],...H?[H]:[]];return h.dim("Compacted "+z.join(`
|
|
3
|
-
`))}async function d(q,j){let H=q.getAppState(),w=await l(q.options.tools,q.options.mainLoopModel,Array.from(H.toolPermissionContext.additionalWorkingDirectories.keys()),q.options.mcpClients),z=y({mainThreadAgentDefinition:void 0,toolUseContext:q,customSystemPrompt:q.options.customSystemPrompt,defaultSystemPrompt:w,appendSystemPrompt:q.options.appendSystemPrompt}),[J,Q]=await Promise.all([W(),R()]);return{systemPrompt:z,userContext:J,systemContext:Q,toolUseContext:q,forkContextMessages:j}}var G=null,Aj=async(q,j)=>{let{abortController:H}=j,{messages:w}=j;if(w=C(w),w.length===0)throw Error("No messages to compact");let z=q.trim();try{if(!z){let V=await P(w,j.agentId);if(V){W.cache.clear?.();let S=$(V);return B(void 0,S,j.contentReplacementState),N(j.options.querySource??"compact",j.agentId),T(),X(),{type:"compact",compactionResult:V,displayText:L(j)}}}if(G?.isReactiveOnlyMode())return await t(w,j,z,G);let Q=(await U(w,j)).messages,K=await _(Q,j,await d(j,Q),!1,z,!1);k(void 0),X(),W.cache.clear?.();let F=$(K);return B(void 0,F,j.contentReplacementState),{type:"compact",compactionResult:K,displayText:L(j,K.userDisplayMessage)}}catch(J){if(H.signal.aborted)throw Error("Compaction canceled.");else if(v(J,Y))throw Error(Y);else if(v(J,Z))throw Error(Z);else throw D(J),Error(`Error during compaction: ${J}`)}};var jj=M(()=>{p();i();qj();Hj();u();m();n();a();r();s();e();o();E();zj();g();wj();x();c()});jj();export{Aj as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ag as q,zg as f}from"./cli-0.6.7-8hg68yde.mjs";import"./cli-0.6.7-d0hce9x9.mjs";import"./cli-0.6.7-2rppvwcw.mjs";import"./cli-0.6.7-nkngqbzm.mjs";import"./cli-0.6.7-105zxdx5.mjs";import"./cli-0.6.7-gj1zv8je.mjs";import"./cli-0.6.7-n4hcg1jw.mjs";import"./cli-0.6.7-5y4c00t6.mjs";import"./cli-0.6.7-e96htnt8.mjs";import"./cli-0.6.7-11a89p5q.mjs";import"./cli-0.6.7-wyped9p6.mjs";import"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import{J1 as d,L1 as b}from"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Lpa as l}from"./cli-0.6.7-z26mhn5a.mjs";var y=async(h,k)=>{return d(f,{onClose:h,context:k,defaultTab:"Config"})};var v=l(()=>{q();b()});v();export{y as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ba as e,Aca as F,Bca as G,Cca as H,Dca as I,Eca as J,Fca as K,Gca as L,Hca as M,Qba as a,Rba as b,Zba as c,_ba as d,aca as f,bca as g,cca as h,dca as i,eca as j,fca as k,gca as l,hca as m,ica as n,jca as o,kca as p,lca as q,mca as r,nca as s,oca as t,pca as u,qca as v,rca as w,sca as x,tca as y,uca as z,vca as A,wca as B,xca as C,yca as D,zca as E}from"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-z26mhn5a.mjs";M();export{A as shouldSkipPluginAutoupdate,o as saveGlobalConfig,y as saveCurrentProjectConfig,h as resetTrustDialogAcceptedCacheForTesting,l as resetProjectConfigForTests,k as resetGlobalConfigForTests,E as recordFirstStartTime,n as onGlobalConfigChange,m as isProjectConfigKey,j as isPathTrusted,f as isGlobalConfigKey,u as isConfigReadingAllowed,z as isAutoUpdaterDisabled,H as getUserClaudeRulesDir,s as getRemoteControlAtStartup,w as getProjectPathForConfig,D as getOrCreateUserID,F as getMemoryPath,G as getManagedClaudeRulesDir,p as getGlobalConfigWriteCount,r as getGlobalConfig,t as getCustomApiKeyStatus,x as getCurrentProjectConfig,C as getAutoUpdaterDisabledReason,B as formatAutoUpdaterDisabledReason,v as enableConfigs,i as checkHasTrustDialogAccepted,J as _wouldLoseAuthStateForTesting,L as _setGlobalConfigCacheForTesting,I as _getConfigForTesting,K as _buildWrittenGlobalConfig,c as SHOW_CACHE_STATS_MODES,g as PROJECT_CONFIG_KEYS,a as NOTIFICATION_CHANNELS,e as GLOBAL_CONFIG_KEYS,b as EDITOR_MODES,d as DEFAULT_GLOBAL_CONFIG,q as CONFIG_WRITE_DISPLAY_THRESHOLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P6 as a,Q6 as b,R6 as c,S6 as d,T6 as e,U6 as f,V6 as g,W6 as h,X6 as i,Y6 as j,Z6 as k,_6 as l}from"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-z26mhn5a.mjs";l();export{k as SENSITIVE_URL_QUERY_PARAM_NAMES,f as MOONSHOT_API_HOSTS,g as KIMI_CODE_API_HOST,h as GLM_API_HOSTS,a as GITHUB_COPILOT_BASE,b as GITHUB_429_MAX_RETRIES,d as GITHUB_429_MAX_DELAY_SEC,c as GITHUB_429_BASE_DELAY_SEC,e as GEMINI_API_HOST,i as DEEPSEEK_API_HOSTS,j as COPILOT_HEADERS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{gh as O0,hh as Hv}from"./cli-0.6.7-cykfmytk.mjs";import{DP as cv,Ii as b0,Ji as r0,Ki as w0,Li as a0,Qi as Y0,Ri as o0,Vx as p0,Xx as dv,ak as L0,bk as e0,mO as g0,nO as lv,pP as m0}from"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import{GW as k0,HW as pv}from"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import{DX as S0,DZ as F0,YY as H,_Y as z,sZ as u0}from"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import{J1 as K,K1 as Z,L1 as T}from"./cli-0.6.7-hsf1v92p.mjs";import{M1 as kv}from"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import{C_ as y0,J_ as Vv,Maa as Yv,Y7 as P0,Z7 as Kv,e_ as Z0,r_ as I0}from"./cli-0.6.7-p76h2hj4.mjs";import{Cea as V,Iea as V0}from"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Hpa as q0,Lpa as X0}from"./cli-0.6.7-z26mhn5a.mjs";function D0(J){let v=[];return Jv(J,v),Qv(J,v),Zv(J,v),zv(J,v),Wv(J,v),v.sort((Q,X)=>{if(Q.severity!==X.severity)return Q.severity==="warning"?-1:1;return(X.savingsTokens??0)-(Q.savingsTokens??0)}),v}function Jv(J,v){if(J.percentage>=h0)v.push({severity:"warning",title:`Context is ${J.percentage}% full`,detail:J.isAutoCompactEnabled?"Autocompact will trigger soon, which discards older messages. Use /compact now to control what gets kept.":"Autocompact is disabled. Use /compact to free space, or enable autocompact in /config."})}function Qv(J,v){if(!J.messageBreakdown)return;for(let Q of J.messageBreakdown.toolCallsByType){let X=Q.callTokens+Q.resultTokens,U=X/J.rawMaxTokens*100;if(U<N0||X<U0)continue;let W=Xv(Q.name,X,U);if(W)v.push(W)}}function Xv(J,v,Q){let X=V(v);switch(J){case b0:return{severity:"warning",title:`Bash results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Pipe output through head, tail, or grep to reduce result size. Avoid cat on large files — use Read with offset/limit instead.",savingsTokens:Math.floor(v*0.5)};case Y0:return{severity:"info",title:`Read results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Use offset and limit parameters to read only the sections you need. Avoid re-reading entire files when you only need a few lines.",savingsTokens:Math.floor(v*0.3)};case w0:return{severity:"info",title:`Grep results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Add more specific patterns or use the glob or type parameter to narrow file types. Consider Glob for file discovery instead of Grep.",savingsTokens:Math.floor(v*0.3)};case L0:return{severity:"info",title:`WebFetch results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Web page content can be very large. Consider extracting only the specific information needed.",savingsTokens:Math.floor(v*0.4)};default:if(Q>=20)return{severity:"info",title:`${J} using ${X} tokens (${Q.toFixed(0)}%)`,detail:"This tool is consuming a significant portion of context.",savingsTokens:Math.floor(v*0.2)};return null}}function Zv(J,v){if(!J.messageBreakdown)return;let X=J.messageBreakdown.toolCallsByType.find((F)=>F.name===Y0);if(!X)return;let U=X.callTokens+X.resultTokens,W=U/J.rawMaxTokens*100,Y=X.resultTokens/J.rawMaxTokens*100;if(W>=N0&&U>=U0)return;if(Y>=s0&&X.resultTokens>=U0)v.push({severity:"info",title:`File reads using ${V(X.resultTokens)} tokens (${Y.toFixed(0)}%)`,detail:"If you are re-reading files, consider referencing earlier reads. Use offset/limit for large files.",savingsTokens:Math.floor(X.resultTokens*0.3)})}function zv(J,v){let Q=J.memoryFiles.reduce((U,W)=>U+W.tokens,0),X=Q/J.rawMaxTokens*100;if(X>=t0&&Q>=vv){let U=[...J.memoryFiles].sort((W,Y)=>Y.tokens-W.tokens).slice(0,3).map((W)=>{return`${Z0(W.path)} (${V(W.tokens)})`}).join(", ");v.push({severity:"info",title:`Memory files using ${V(Q)} tokens (${X.toFixed(0)}%)`,detail:`Largest: ${U}. Use /memory to review and prune stale entries.`,savingsTokens:Math.floor(Q*0.3)})}}function Wv(J,v){if(!J.isAutoCompactEnabled&&J.percentage>=50&&J.percentage<h0)v.push({severity:"info",title:"Autocompact is disabled",detail:"Without autocompact, you will hit context limits and lose the conversation. Enable it in /config or use /compact manually."})}var N0=15,U0=1e4,s0=5,h0=80,t0=5,vv=5000;var C0=X0(()=>{r0();o0();a0();e0();I0();V0()});function f0(J){let v=A0.c(5),{suggestions:Q}=J;if(Q.length===0)return null;let X;if(v[0]===Symbol.for("react.memo_cache_sentinel"))X=K(z,{bold:!0,children:"Suggestions"}),v[0]=X;else X=v[0];let U;if(v[1]!==Q)U=Q.map(Uv),v[1]=Q,v[2]=U;else U=v[2];let W;if(v[3]!==U)W=Z(H,{flexDirection:"column",marginTop:1,children:[X,U]}),v[3]=U,v[4]=W;else W=v[4];return W}function Uv(J,v){return Z(H,{flexDirection:"column",marginTop:v===0?0:1,children:[Z(H,{children:[K(O0,{status:J.severity,withSpace:!0}),K(z,{bold:!0,children:J.title}),J.savingsTokens?Z(z,{dimColor:!0,children:[" ",P0.arrowRight," save ~",V(J.savingsTokens)]}):null]}),K(H,{marginLeft:2,children:K(z,{dimColor:!0,children:J.detail})})]},v)}var A0;var M0=X0(()=>{Kv();F0();V0();Hv();T();A0=q0(S0(),1)});function $(J,v){return J===v.length-1?"└":"├"}function qv(){let J=G0.c(2);return null}function B0(J){let v=new Map;for(let X of J){let U=y0(X.source),W=v.get(U)||[];W.push(X),v.set(U,W)}for(let[X,U]of v.entries())v.set(X,U.sort((W,Y)=>Y.tokens-W.tokens));let Q=new Map;for(let X of Fv){let U=v.get(X);if(U)Q.set(X,U)}return Q}function R0(J){let v=G0.c(87),{data:Q}=J,{categories:X,totalTokens:U,rawMaxTokens:W,percentage:Y,gridRows:F,model:G,memoryFiles:I,mcpTools:q,deferredBuiltinTools:x,systemTools:r,systemPromptSections:a,agents:o,skills:n,messageBreakdown:W0}=Q,h,D,C,P,b,S,O,A,w,L;if(v[0]!==X||v[1]!==F||v[2]!==q||v[3]!==G||v[4]!==Y||v[5]!==W||v[6]!==r||v[7]!==x||v[8]!==U){let j0=x===void 0?[]:x,l0=X.filter(uv),s;if(v[19]!==X)s=X.some(Ev),v[19]=X,v[20]=s;else s=v[20];let _=s,c0=j0.length>0,p=X.find(Rv);if(D=H,O="column",A=1,v[21]===Symbol.for("react.memo_cache_sentinel"))w=K(z,{bold:!0,children:"Context Usage"}),v[21]=w;else w=v[21];let d;if(v[22]!==F)d=F.map(Bv),v[22]=F,v[23]=d;else d=v[23];let g;if(v[24]!==d)g=K(H,{flexDirection:"column",flexShrink:0,marginLeft:-1,children:d}),v[24]=d,v[25]=g;else g=v[25];let m;if(v[26]!==U)m=V(U),v[26]=U,v[27]=m;else m=v[27];let j;if(v[28]!==W)j=V(W),v[28]=W,v[29]=j;else j=v[29];let l;if(v[30]!==G||v[31]!==Y||v[32]!==m||v[33]!==j)l=Z(z,{dimColor:!0,children:[G," · ",m,"/",j," ","tokens (",Y,"%)"]}),v[30]=G,v[31]=Y,v[32]=m,v[33]=j,v[34]=l;else l=v[34];let t,v0,J0;if(v[35]===Symbol.for("react.memo_cache_sentinel"))t=K(qv,{}),v0=K(z,{children:" "}),J0=K(z,{dimColor:!0,italic:!0,children:"Estimated usage by category"}),v[35]=t,v[36]=v0,v[37]=J0;else t=v[35],v0=v[36],J0=v[37];let Q0;if(v[38]!==W)Q0=(N,i0)=>{let T0=V(N.tokens),$0=N.isDeferred?"N/A":`${(N.tokens/W*100).toFixed(1)}%`,n0=N.name===z0,_0=N.name,x0=N.isDeferred?" ":n0?"⛝":"⛁";return Z(H,{children:[K(z,{color:N.color,children:x0}),Z(z,{children:[" ",_0,": "]}),Z(z,{dimColor:!0,children:[T0," tokens (",$0,")"]})]},i0)},v[38]=W,v[39]=Q0;else Q0=v[39];let K0=l0.map(Q0),c;if(v[40]!==X||v[41]!==W)c=(X.find(Mv)?.tokens??0)>0&&Z(H,{children:[K(z,{dimColor:!0,children:"⛶"}),K(z,{children:" Free space: "}),Z(z,{dimColor:!0,children:[V(X.find(fv)?.tokens||0)," ","(",((X.find(Av)?.tokens||0)/W*100).toFixed(1),"%)"]})]}),v[40]=X,v[41]=W,v[42]=c;else c=v[42];let H0=p&&p.tokens>0&&Z(H,{children:[K(z,{color:p.color,children:"⛝"}),Z(z,{dimColor:!0,children:[" ",p.name,": "]}),Z(z,{dimColor:!0,children:[V(p.tokens)," tokens (",(p.tokens/W*100).toFixed(1),"%)"]})]}),i;if(v[43]!==l||v[44]!==K0||v[45]!==c||v[46]!==H0)i=Z(H,{flexDirection:"column",gap:0,flexShrink:0,children:[l,t,v0,J0,K0,c,H0]}),v[43]=l,v[44]=K0,v[45]=c,v[46]=H0,v[47]=i;else i=v[47];if(v[48]!==g||v[49]!==i)L=Z(H,{flexDirection:"row",gap:2,children:[g,i]}),v[48]=g,v[49]=i,v[50]=L;else L=v[50];if(h=H,C="column",P=-1,v[51]!==_||v[52]!==q)b=q.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"MCP tools"}),Z(z,{dimColor:!0,children:[" ","· /mcp",_?" (loaded on-demand)":""]})]}),q.some(Ov)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Loaded"}),q.filter(Sv).map(Pv)]}),_&&q.some(Cv)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Available"}),q.filter(Dv).map(hv)]}),!_&&q.map(Nv)]}),v[51]=_,v[52]=q,v[53]=b;else b=v[53];S=(r&&r.length>0||c0)&&!1,v[0]=X,v[1]=F,v[2]=q,v[3]=G,v[4]=Y,v[5]=W,v[6]=r,v[7]=x,v[8]=U,v[9]=h,v[10]=D,v[11]=C,v[12]=P,v[13]=b,v[14]=S,v[15]=O,v[16]=A,v[17]=w,v[18]=L}else h=v[9],D=v[10],C=v[11],P=v[12],b=v[13],S=v[14],O=v[15],A=v[16],w=v[17],L=v[18];let f;if(v[54]!==a)f=a&&a.length>0&&!1,v[54]=a,v[55]=f;else f=v[55];let M;if(v[56]!==o)M=o.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Custom agents"}),K(z,{dimColor:!0,children:" · /agents"})]}),Array.from(B0(o).entries()).map(wv)]}),v[56]=o,v[57]=M;else M=v[57];let B;if(v[58]!==I)B=I.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Memory files"}),K(z,{dimColor:!0,children:" · /memory"})]}),I.map(bv)]}),v[58]=I,v[59]=B;else B=v[59];let y;if(v[60]!==n)y=n&&n.tokens>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Skills"}),K(z,{dimColor:!0,children:" · /skills"})]}),Array.from(B0(n.skillFrontmatter).entries()).map(Gv)]}),v[60]=n,v[61]=y;else y=v[61];let R;if(v[62]!==W0)R=W0&&!1,v[62]=W0,v[63]=R;else R=v[63];let E;if(v[64]!==h||v[65]!==f||v[66]!==M||v[67]!==B||v[68]!==y||v[69]!==R||v[70]!==C||v[71]!==P||v[72]!==b||v[73]!==S)E=Z(h,{flexDirection:C,marginLeft:P,children:[b,S,f,M,B,y,R]}),v[64]=h,v[65]=f,v[66]=M,v[67]=B,v[68]=y,v[69]=R,v[70]=C,v[71]=P,v[72]=b,v[73]=S,v[74]=E;else E=v[74];let u;if(v[75]!==Q)u=D0(Q),v[75]=Q,v[76]=u;else u=v[76];let k;if(v[77]!==u)k=K(f0,{suggestions:u}),v[77]=u,v[78]=k;else k=v[78];let e;if(v[79]!==D||v[80]!==E||v[81]!==k||v[82]!==O||v[83]!==A||v[84]!==w||v[85]!==L)e=Z(D,{flexDirection:O,paddingLeft:A,children:[w,L,E,k]}),v[79]=D,v[80]=E,v[81]=k,v[82]=O,v[83]=A,v[84]=w,v[85]=L,v[86]=e;else e=v[86];return e}function Gv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Iv)]},v)}function Iv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function bv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",Z0(J.path),": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function wv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Lv)]},v)}function Lv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.agentType,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Nv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function hv(J,v,Q){return K(H,{children:Z(z,{dimColor:!0,children:[$(v,Q)," ",J.name]})},v)}function Dv(J){return!J.isLoaded}function Cv(J){return!J.isLoaded}function Pv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Sv(J){return J.isLoaded}function Ov(J){return J.isLoaded}function Av(J){return J.name==="Free space"}function fv(J){return J.name==="Free space"}function Mv(J){return J.name==="Free space"}function Bv(J,v){return K(H,{flexDirection:"row",children:J.map(yv)},v)}function yv(J,v){if(J.categoryName==="Free space")return K(z,{dimColor:!0,children:"⛶ "},v);if(J.categoryName===z0)return K(z,{color:J.color,children:"⛝ "},v);return K(z,{color:J.color,children:J.squareFullness>=0.7?"⛁ ":"⛀ "},v)}function Rv(J){return J.name===z0}function Ev(J){return J.isDeferred&&J.name.includes("MCP")}function uv(J){return J.tokens>0&&J.name!=="Free space"&&J.name!==z0&&!J.isDeferred}var G0,z0="Autocompact buffer",Fv;var E0=X0(()=>{F0();C0();I0();V0();Vv();Yv();M0();T();G0=q0(S0(),1);Fv=["Project","User","Managed","Plugin","Built-in"]});function gv({data:J,onDone:v}){let Q=d0.useCallback(()=>v("Context dialog dismissed",{display:"system"}),[v]),X=k0(Q);return u0((U,W)=>{if(W.escape||W.return)Q()}),Z(H,{flexDirection:"column",children:[K(R0,{data:J}),K(z,{dimColor:!0,children:X.pending?`Press ${X.keyName} again to exit`:"Press esc or enter to close"})]})}function mv(J){return m0(J)}async function LJ(J,v){let{messages:Q,getAppState:X,options:{mainLoopModel:U,tools:W}}=v,Y=mv(Q),{messages:F}=await p0(Y),G=process.stdout.columns||80,I=X(),q=await g0(F,U,async()=>I.toolPermissionContext,W,I.agentDefinitions,G,v,void 0,Y);return K(gv,{data:q,onDone:J})}var d0;var jv=X0(()=>{F0();E0();pv();dv();lv();cv();T();d0=q0(kv(),1)});jv();export{LJ as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ih as a,jh as b,kh as c}from"./cli-0.6.7-895afk0q.mjs";import"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import"./cli-0.6.7-z26mhn5a.mjs";c();export{a as collectContextData,b as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Fh as a,Gh as b}from"./cli-0.6.7-3zgmbaw1.mjs";import"./cli-0.6.7-rq1v6xnn.mjs";import"./cli-0.6.7-4r8s96as.mjs";import"./cli-0.6.7-bvke740f.mjs";import"./cli-0.6.7-7q89ngt8.mjs";import"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import"./cli-0.6.7-z26mhn5a.mjs";b();export{a as clearConversation};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$6 as a,a7 as b,b7 as c,c7 as d,d7 as e}from"./cli-0.6.7-ybk07j40.mjs";import"./cli-0.6.7-z26mhn5a.mjs";e();export{d as wrapFetchWithCopilotHeaders,b as messagesContainImage,a as detectCopilotInitiator,c as buildCopilotDynamicHeaders};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{DP as Tq,Gi as d,Hi as Yq,Jj as a,Oj as i,lF as n,mF as Fq,qn as T,rn as Nq,un as l,vn as Iq}from"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import{PW as s,QW as vq}from"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import{CX as zq,DX as Hq,DZ as Mq,YY as c,_Y as u,xX as $}from"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import{J1 as I,K1 as h,L1 as k}from"./cli-0.6.7-hsf1v92p.mjs";import{M1 as Gq}from"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import{Gaa as b,Hca as Xq,Maa as Uq,jca as r,mca as _}from"./cli-0.6.7-p76h2hj4.mjs";import{qea as f,rea as Zq}from"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import{Lga as P,Oga as Vq}from"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Hpa as g,Lpa as Qq}from"./cli-0.6.7-z26mhn5a.mjs";import{mkdir as Kq,writeFile as Rq}from"fs/promises";import{tmpdir as Oq}from"os";import{join as t}from"path";function Pq(Q){let q=d.lexer(a(Q)),V=[];for(let J of q)if(J.type==="code"){let Z=J;V.push({code:Z.text,lang:Z.lang})}return V}function wq(Q){let q=[];for(let V=Q.length-1;V>=0&&q.length<Wq;V--){let J=Q[V];if(J?.type!=="assistant"||J.isApiErrorMessage)continue;let Z=J.message.content;if(!Array.isArray(Z))continue;let U=i(Z,`
|
|
2
|
-
|
|
3
|
-
`);if(U)q.push(U)}return q}function yq(Q){if(Q){let q=Q.replace(/[^a-zA-Z0-9]/g,"");if(q&&q!=="plaintext")return`.${q}`}return".txt"}async function Jq(Q,q){let V=t(x,q);return await Kq(x,{recursive:!0}),await Rq(V,Q,"utf-8"),V}async function m(Q,q){let V=await $(Q);if(V)process.stdout.write(V);let J=b(Q,`
|
|
4
|
-
`)+1,Z=Q.length;try{let U=await Jq(Q,q);return`Copied to clipboard (${Z} characters, ${J} lines)
|
|
5
|
-
Also written to ${U}`}catch{return`Copied to clipboard (${Z} characters, ${J} lines)`}}function Aq(Q,q){let V=Q.split(`
|
|
6
|
-
`)[0]??"";if(f(V)<=q)return V;let J="",Z=0,U=q-1;for(let H of V){let G=f(H);if(Z+G>U)break;J+=H,Z+=G}return J+"…"}function pq(Q){let q=o.c(33),{fullText:V,codeBlocks:J,messageAge:Z,onDone:U}=Q,H=e.useRef("full"),G=`${V.length} chars, ${b(V,`
|
|
7
|
-
`)+1} lines`,M;if(q[0]!==G)M={label:"Full response",value:"full",description:G},q[0]=G,q[1]=M;else M=q[1];let z;if(q[2]!==J||q[3]!==M){let Y;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Y={label:"Always copy full response",value:"always",description:"Skip this picker in the future (revert via /config)"},q[5]=Y;else Y=q[5];z=[M,...J.map(Lq),Y],q[2]=J,q[3]=M,q[4]=z}else z=q[4];let B=z,w;if(q[6]!==J||q[7]!==V)w=function(N){if(N==="full"||N==="always")return{text:V,filename:qq};let X=J[N];return{text:X.code,filename:`copy${yq(X.lang)}`,blockIndex:N}},q[6]=J,q[7]=V,q[8]=w;else w=q[8];let v=w,y;if(q[9]!==J.length||q[10]!==v||q[11]!==Z||q[12]!==U)y=async function(N){let X=v(N);if(N==="always"){if(!_().copyFullResponse)r(Eq);P("tengu_copy",{block_count:J.length,always:!0,message_age:Z});let W=await m(X.text,X.filename);U(`${W}
|
|
8
|
-
Preference saved. Use /config to change copyFullResponse`);return}P("tengu_copy",{selected_block:X.blockIndex,block_count:J.length,message_age:Z});let O=await m(X.text,X.filename);U(O)},q[9]=J.length,q[10]=v,q[11]=Z,q[12]=U,q[13]=y;else y=q[13];let S=y,A;if(q[14]!==J.length||q[15]!==v||q[16]!==Z||q[17]!==U){let Y=async function(X){let O=v(X);P("tengu_copy",{selected_block:O.blockIndex,block_count:J.length,message_age:Z,write_shortcut:!0});try{let W=await Jq(O.text,O.filename);U(`Written to ${W}`)}catch(W){let D=W;U(`Failed to write file: ${D instanceof Error?D.message:D}`)}};A=function(X){if(X.key==="w")X.preventDefault(),Y(H.current)},q[14]=J.length,q[15]=v,q[16]=Z,q[17]=U,q[18]=A}else A=q[18];let C=A,p;if(q[19]===Symbol.for("react.memo_cache_sentinel"))p=I(u,{dimColor:!0,children:"Select content to copy:"}),q[19]=p;else p=q[19];let E;if(q[20]===Symbol.for("react.memo_cache_sentinel"))E=(Y)=>{H.current=Y},q[20]=E;else E=q[20];let F;if(q[21]!==S)F=(Y)=>{S(Y)},q[21]=S,q[22]=F;else F=q[22];let K;if(q[23]!==U)K=()=>{U("Copy cancelled",{display:"system"})},q[23]=U,q[24]=K;else K=q[24];let R;if(q[25]!==B||q[26]!==K||q[27]!==F)R=I(n,{options:B,hideIndexes:!1,onFocus:E,onChange:F,onCancel:K}),q[25]=B,q[26]=K,q[27]=F,q[28]=R;else R=q[28];let L;if(q[29]===Symbol.for("react.memo_cache_sentinel"))L=I(u,{dimColor:!0,children:h(l,{children:[I(T,{shortcut:"enter",action:"copy"}),I(T,{shortcut:"w",action:"write to file"}),I(T,{shortcut:"esc",action:"cancel"})]})}),q[29]=L;else L=q[29];let j;if(q[30]!==C||q[31]!==R)j=I(s,{children:h(c,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:C,children:[p,R,L]})}),q[30]=C,q[31]=R,q[32]=j;else j=q[32];return j}function Eq(Q){return{...Q,copyFullResponse:!0}}function Lq(Q,q){let V=b(Q.code,`
|
|
9
|
-
`)+1;return{label:Aq(Q.code,60),value:q,description:[Q.lang,V>1?`${V} lines`:void 0].filter(Boolean).join(", ")||void 0}}var o,e,x,qq="response.md",Wq=20,aq=async(Q,q,V)=>{let J=wq(q.messages);if(J.length===0)return Q("No assistant message to copy"),null;let Z=0,U=V?.trim();if(U){let z=Number(U);if(!Number.isInteger(z)||z<1)return Q(`Usage: /copy [N] where N is 1 (latest), 2, 3, … Got: ${U}`),null;if(z>J.length)return Q(`Only ${J.length} assistant ${J.length===1?"message":"messages"} available to copy`),null;Z=z-1}let H=J[Z],G=Pq(H),M=_();if(G.length===0||M.copyFullResponse){P("tengu_copy",{always:M.copyFullResponse,block_count:G.length,message_age:Z});let z=await m(H,qq);return Q(z),null}return I(pq,{fullText:H,codeBlocks:G,messageAge:Z,onDone:Q})};var jq=Qq(()=>{Yq();Fq();Iq();Nq();vq();Zq();zq();Mq();Vq();Xq();Tq();Uq();k();o=g(Hq(),1),e=g(Gq(),1),x=t(Oq(),"claude")});jq();export{yq as fileExtension,wq as collectRecentAssistantTexts,aq as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{mu as q,nu as z,oq as p,sq as y}from"./cli-0.6.7-2rxv4h2n.mjs";import"./cli-0.6.7-rp0ejp3a.mjs";import"./cli-0.6.7-vy64g49j.mjs";import"./cli-0.6.7-qnpad07x.mjs";import"./cli-0.6.7-v65b4qmr.mjs";import"./cli-0.6.7-79a1ryqj.mjs";import"./cli-0.6.7-37a1n221.mjs";import"./cli-0.6.7-29j5a7qt.mjs";import"./cli-0.6.7-hcp3t5gk.mjs";import"./cli-0.6.7-sw46gwfw.mjs";import"./cli-0.6.7-15mn3n46.mjs";import"./cli-0.6.7-r4494gs0.mjs";import"./cli-0.6.7-fbkbnkmx.mjs";import"./cli-0.6.7-m7f7sbcz.mjs";import"./cli-0.6.7-axgab18a.mjs";import"./cli-0.6.7-mr3rwnv4.mjs";import"./cli-0.6.7-m5a4md2p.mjs";import"./cli-0.6.7-7eze8zyh.mjs";import"./cli-0.6.7-8nt66wx8.mjs";import"./cli-0.6.7-t4vdc40t.mjs";import"./cli-0.6.7-mq2xzatd.mjs";import"./cli-0.6.7-9qjmzyph.mjs";import"./cli-0.6.7-msab4rsa.mjs";import"./cli-0.6.7-0ecsc6v5.mjs";import"./cli-0.6.7-gp1x8mcf.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-r2phypw4.mjs";import"./cli-0.6.7-me667czz.mjs";import"./cli-0.6.7-pacmjx4t.mjs";import"./cli-0.6.7-ndz1ybhe.mjs";import"./cli-0.6.7-r4njgjve.mjs";import"./cli-0.6.7-3w59rctc.mjs";import"./cli-0.6.7-c9drqby8.mjs";import"./cli-0.6.7-hsf1v92p.mjs";import"./cli-0.6.7-417g4eq7.mjs";import"./cli-0.6.7-a49h84jx.mjs";import"./cli-0.6.7-z7jett9s.mjs";import"./cli-0.6.7-8rckbxrq.mjs";import"./cli-0.6.7-ex9w59mx.mjs";import{X5 as k,q6 as x}from"./cli-0.6.7-mjkd8p19.mjs";import"./cli-0.6.7-g3bdwra6.mjs";import"./cli-0.6.7-tthw17vc.mjs";import"./cli-0.6.7-ej85ys91.mjs";import"./cli-0.6.7-09aymh1b.mjs";import"./cli-0.6.7-bgtwgprg.mjs";import"./cli-0.6.7-p76h2hj4.mjs";import"./cli-0.6.7-7p1zvk1f.mjs";import"./cli-0.6.7-rqfxfpg7.mjs";import"./cli-0.6.7-n9b6fykd.mjs";import"./cli-0.6.7-mh4wva6p.mjs";import"./cli-0.6.7-6ezmhmp0.mjs";import"./cli-0.6.7-a8d5a7gy.mjs";import"./cli-0.6.7-tnrt8ht0.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-0a04vzzk.mjs";import"./cli-0.6.7-wjg0q7hk.mjs";import{Lpa as w}from"./cli-0.6.7-z26mhn5a.mjs";var G=async()=>{if(k()){let g;if(p.isUsingOverage)g="You are currently using your overages to power your Claude Code usage. We will automatically switch you back to your subscription rate limits when they reset";else g="You are currently using your subscription to power your Claude Code usage";return{type:"text",value:g}}return{type:"text",value:q()}};var B=w(()=>{z();y();x()});B();export{G as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./cli-0.6.7-z26mhn5a.mjs";var o=()=>null,n=o;export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ff as a,gf as b,hf as c,if as d,jf as e}from"./cli-0.6.7-qkzax44g.mjs";import"./cli-0.6.7-0c5ban8m.mjs";import"./cli-0.6.7-hvjb13p8.mjs";import"./cli-0.6.7-pd4qacrw.mjs";import"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-z26mhn5a.mjs";e();export{d as updateBridgeSessionTitle,b as getBridgeSession,a as createBridgeSession,c as archiveBridgeSession};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Fha as a,Gha as b,Hha as c,Iha as d,Jha as e,Kha as f,Lha as g,Mha as h,Nha as i,Oha as j,Pha as k,Qha as l,Rha as m}from"./cli-0.6.7-v82zs0dw.mjs";import"./cli-0.6.7-y6pqw2vj.mjs";import"./cli-0.6.7-p140ghs7.mjs";import"./cli-0.6.7-d6md6s9z.mjs";import"./cli-0.6.7-1mvkcg2k.mjs";import"./cli-0.6.7-hsxghzzr.mjs";import"./cli-0.6.7-0fc4sq47.mjs";import"./cli-0.6.7-z26mhn5a.mjs";m();export{g as setHasFormattedOutput,j as logForDebugging,l as logAntError,e as isDebugToStdErr,b as isDebugMode,a as getMinDebugLogLevel,h as getHasFormattedOutput,k as getDebugLogPath,d as getDebugFilter,f as getDebugFilePath,i as flushDebugLogs,c as enableDebugLogging};
|