@claudiolabs/claudin 0.7.5 → 0.7.6
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.7.6-02vh9vk8.mjs +1 -0
- package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +1 -0
- package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +7 -0
- package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +6 -0
- package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +1 -0
- package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +1 -0
- package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +1 -0
- package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +1 -0
- package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +1 -0
- package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +1 -0
- package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +1 -0
- package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +1 -0
- package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +1 -0
- package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +3 -0
- package/dist/chunks/agents-0.7.6-n608c3qr.mjs +110 -0
- package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +1 -0
- package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +1 -0
- package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +1 -0
- package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +1 -0
- package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +1 -0
- package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +48 -0
- package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +1 -0
- package/dist/chunks/branch-0.7.6-05rh36he.mjs +4 -0
- package/dist/chunks/bridge-0.7.6-wddny37r.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +1 -0
- package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +88 -0
- package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +1 -0
- package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +1 -0
- package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +3 -0
- package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +1 -0
- package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +21 -0
- package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +4 -0
- package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +1 -0
- package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +1 -0
- package/dist/chunks/clear-0.7.6-h2vf452p.mjs +1 -0
- package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +1 -0
- package/dist/chunks/cli-0.7.6-010st6wr.mjs +2 -0
- package/dist/chunks/cli-0.7.6-07eesex8.mjs +2 -0
- package/dist/chunks/cli-0.7.6-09hcxer2.mjs +2 -0
- package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +2 -0
- package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +4 -0
- package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +2 -0
- package/dist/chunks/cli-0.7.6-0h46deez.mjs +2 -0
- package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +6 -0
- package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +4 -0
- package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +2 -0
- package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1dqh462b.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +2 -0
- package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +2 -0
- package/dist/chunks/cli-0.7.6-29snre4z.mjs +2 -0
- package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +3 -0
- package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +6 -0
- package/dist/chunks/cli-0.7.6-2nmq534s.mjs +26 -0
- package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +12 -0
- package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +2 -0
- package/dist/chunks/cli-0.7.6-310844c3.mjs +4 -0
- package/dist/chunks/cli-0.7.6-39q0e172.mjs +2 -0
- package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +2 -0
- package/dist/chunks/cli-0.7.6-43kp2p25.mjs +2 -0
- package/dist/chunks/cli-0.7.6-471rvdw2.mjs +2 -0
- package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +3 -0
- package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +2 -0
- package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +2 -0
- package/dist/chunks/cli-0.7.6-4v3f036y.mjs +2 -0
- package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +2 -0
- package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +2 -0
- package/dist/chunks/cli-0.7.6-517m3gcx.mjs +2 -0
- package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +59 -0
- package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +2 -0
- package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +2 -0
- package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +2 -0
- package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +5 -0
- package/dist/chunks/cli-0.7.6-5wj27v22.mjs +18 -0
- package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +2 -0
- package/dist/chunks/cli-0.7.6-62ea895q.mjs +2 -0
- package/dist/chunks/cli-0.7.6-67tqckbs.mjs +133 -0
- package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +4 -0
- package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +2 -0
- package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +2 -0
- package/dist/chunks/cli-0.7.6-73h798cq.mjs +2 -0
- package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +2 -0
- package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +2 -0
- package/dist/chunks/cli-0.7.6-7mzraehr.mjs +16 -0
- package/dist/chunks/cli-0.7.6-7szsqp12.mjs +2 -0
- package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +3 -0
- package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8k508w7p.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8srvcg12.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +2 -0
- package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +2 -0
- package/dist/chunks/cli-0.7.6-9508tj8e.mjs +17 -0
- package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +2 -0
- package/dist/chunks/cli-0.7.6-9a706kh3.mjs +2 -0
- package/dist/chunks/cli-0.7.6-9w6egknj.mjs +8 -0
- package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +4 -0
- package/dist/chunks/cli-0.7.6-am0sf3er.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +12 -0
- package/dist/chunks/cli-0.7.6-ayd8297m.mjs +3 -0
- package/dist/chunks/cli-0.7.6-azjnjp5p.mjs +2 -0
- package/dist/chunks/cli-0.7.6-b39v6rz1.mjs +2 -0
- package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +2 -0
- package/dist/chunks/cli-0.7.6-berqrfpz.mjs +2 -0
- package/dist/chunks/cli-0.7.6-bese1aqp.mjs +2 -0
- package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +2 -0
- package/dist/chunks/cli-0.7.6-c3npkenn.mjs +1 -0
- package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +2 -0
- package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +2 -0
- package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +2 -0
- package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +3 -0
- package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +2 -0
- package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +18 -0
- package/dist/chunks/cli-0.7.6-d4rmetja.mjs +2 -0
- package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +2 -0
- package/dist/chunks/cli-0.7.6-d8hz302t.mjs +2 -0
- package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +4 -0
- package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +2 -0
- package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +4 -0
- package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +2 -0
- package/dist/chunks/cli-0.7.6-dq87daze.mjs +2 -0
- package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +10 -0
- package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +2 -0
- package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +58 -0
- package/dist/chunks/cli-0.7.6-edjsszs3.mjs +12 -0
- package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ejjekwys.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ek2a439r.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +2 -0
- package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +3 -0
- package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +2 -0
- package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +2 -0
- package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +2 -0
- package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +199 -0
- package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +17 -0
- package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +2 -0
- package/dist/chunks/cli-0.7.6-g1gd1372.mjs +5 -0
- package/dist/chunks/cli-0.7.6-g2437s1w.mjs +2 -0
- package/dist/chunks/cli-0.7.6-g44g34fb.mjs +2 -0
- package/dist/chunks/cli-0.7.6-g5cva69z.mjs +2 -0
- package/dist/chunks/cli-0.7.6-g736y207.mjs +39 -0
- package/dist/chunks/cli-0.7.6-g802sp0p.mjs +2 -0
- package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +45 -0
- package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +3 -0
- package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +2 -0
- package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +2 -0
- package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +2 -0
- package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +9 -0
- package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +15 -0
- package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +2 -0
- package/dist/chunks/cli-0.7.6-j9p952mf.mjs +2 -0
- package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +2 -0
- package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +6 -0
- package/dist/chunks/cli-0.7.6-jpjn976y.mjs +2 -0
- package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +2 -0
- package/dist/chunks/cli-0.7.6-jwqgj667.mjs +2 -0
- package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +3 -0
- package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +4 -0
- package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +67 -0
- package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +2 -0
- package/dist/chunks/cli-0.7.6-m51wgngt.mjs +2 -0
- package/dist/chunks/cli-0.7.6-md1ramb7.mjs +2 -0
- package/dist/chunks/cli-0.7.6-md31wz8f.mjs +2 -0
- package/dist/chunks/cli-0.7.6-md4x57wd.mjs +2 -0
- package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +2 -0
- package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +3 -0
- package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +2 -0
- package/dist/chunks/cli-0.7.6-p2268sge.mjs +2 -0
- package/dist/chunks/cli-0.7.6-pasrzvza.mjs +2 -0
- package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +2 -0
- package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +3 -0
- package/dist/chunks/cli-0.7.6-pzk668w8.mjs +2 -0
- package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +5471 -0
- package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +6 -0
- package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +2 -0
- package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +2 -0
- package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +2 -0
- package/dist/chunks/cli-0.7.6-r78s2g03.mjs +18 -0
- package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +5 -0
- package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +2 -0
- package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +2 -0
- package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +2 -0
- package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +2 -0
- package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +24 -0
- package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +7 -0
- package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +2 -0
- package/dist/chunks/cli-0.7.6-svqwyxab.mjs +42 -0
- package/dist/chunks/cli-0.7.6-sznceb3v.mjs +2 -0
- package/dist/chunks/cli-0.7.6-t224fm0b.mjs +2 -0
- package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +2 -0
- package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +2 -0
- package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +2 -0
- package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +2 -0
- package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +2 -0
- package/dist/chunks/cli-0.7.6-vhan81qg.mjs +2 -0
- package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +2 -0
- package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +2 -0
- package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +4 -0
- package/dist/chunks/cli-0.7.6-w5smxper.mjs +2 -0
- package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +2 -0
- package/dist/chunks/cli-0.7.6-w66170ej.mjs +2 -0
- package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +3 -0
- package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +3 -0
- package/dist/chunks/cli-0.7.6-wepz3cym.mjs +4 -0
- package/dist/chunks/cli-0.7.6-wmhr2zkd.mjs +2 -0
- package/dist/chunks/cli-0.7.6-wmk10em6.mjs +2 -0
- package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +2 -0
- package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +2 -0
- package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +2 -0
- package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +34 -0
- package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +20 -0
- package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +2 -0
- package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +25 -0
- package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +2 -0
- package/dist/chunks/cli-0.7.6-xky4ty14.mjs +2 -0
- package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +2 -0
- package/dist/chunks/cli-0.7.6-xyx40s83.mjs +21 -0
- package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +24 -0
- package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +2 -0
- package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +133 -0
- package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +15 -0
- package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +24 -0
- package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +2 -0
- package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +12 -0
- package/dist/chunks/cli-0.7.6-ywg6e349.mjs +25 -0
- package/dist/chunks/cli-0.7.6-z13va0jc.mjs +2 -0
- package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +2 -0
- package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +3 -0
- package/dist/chunks/cli-0.7.6-zepjez10.mjs +50 -0
- package/dist/chunks/cli-0.7.6-zmkr521v.mjs +15 -0
- package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +2 -0
- package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +2 -0
- package/dist/chunks/client-0.7.6-s5r00qzn.mjs +1 -0
- package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +1 -0
- package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +3 -0
- package/dist/chunks/config-0.7.6-0wrs7d25.mjs +1 -0
- package/dist/chunks/config-0.7.6-28k8xgy7.mjs +1 -0
- package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +1 -0
- package/dist/chunks/context-0.7.6-efvp1txb.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +1 -0
- package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +1 -0
- package/dist/chunks/copy-0.7.6-tb3stmba.mjs +9 -0
- package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +1 -0
- package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +1 -0
- package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +1 -0
- package/dist/chunks/debug-0.7.6-29wym0xr.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +1446 -0
- package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +1 -0
- package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +1 -0
- package/dist/chunks/detection-0.7.6-rg544p2p.mjs +1 -0
- package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +1 -0
- package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +1 -0
- package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +1 -0
- package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +10 -0
- package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +1 -0
- package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +1 -0
- package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +1 -0
- package/dist/chunks/environments-0.7.6-4vj956d6.mjs +1 -0
- package/dist/chunks/errors-0.7.6-3rfme91e.mjs +1 -0
- package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +1 -0
- package/dist/chunks/exit-0.7.6-1zq90j34.mjs +1 -0
- package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +1 -0
- package/dist/chunks/export-0.7.6-6annregx.mjs +2 -0
- package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +1 -0
- package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +1 -0
- package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +1 -0
- package/dist/chunks/git-0.7.6-z2fwspdf.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +1 -0
- package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +4 -0
- package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +1 -0
- package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +1 -0
- package/dist/chunks/headless-0.7.6-0624t1g9.mjs +2 -0
- package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +6 -0
- package/dist/chunks/help-0.7.6-cgg68b97.mjs +1 -0
- package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +3 -0
- package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +79 -0
- package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +1 -0
- package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +1 -0
- package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +9 -0
- package/dist/chunks/index-0.7.6-2zatk70c.mjs +1 -0
- package/dist/chunks/index-0.7.6-415hw608.mjs +1 -0
- package/dist/chunks/index-0.7.6-7wrzedvg.mjs +1 -0
- package/dist/chunks/index-0.7.6-98ws3n8p.mjs +1 -0
- package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +1 -0
- package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +1 -0
- package/dist/chunks/index-0.7.6-djapsy32.mjs +1 -0
- package/dist/chunks/index-0.7.6-efatyc79.mjs +17 -0
- package/dist/chunks/index-0.7.6-egyaf79a.mjs +5 -0
- package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +1 -0
- package/dist/chunks/index-0.7.6-h2kqerxv.mjs +1 -0
- package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +1 -0
- package/dist/chunks/index-0.7.6-jk32t8wg.mjs +1 -0
- package/dist/chunks/index-0.7.6-k60v4n8g.mjs +9 -0
- package/dist/chunks/index-0.7.6-kb22mqnf.mjs +2 -0
- package/dist/chunks/index-0.7.6-mj4y74z8.mjs +1 -0
- package/dist/chunks/index-0.7.6-pkyqwagx.mjs +1 -0
- package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +1 -0
- package/dist/chunks/index-0.7.6-tc2zr05j.mjs +2 -0
- package/dist/chunks/index-0.7.6-tk8kmvah.mjs +1 -0
- package/dist/chunks/index-0.7.6-vhgb870z.mjs +1 -0
- package/dist/chunks/index-0.7.6-yndsc291.mjs +30 -0
- package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +1 -0
- package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +1 -0
- package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +1 -0
- package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +870 -0
- package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +1 -0
- package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +149 -0
- package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +1 -0
- package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +1 -0
- package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +2 -0
- package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +1 -0
- package/dist/chunks/log-0.7.6-n1gwe75k.mjs +1 -0
- package/dist/chunks/main-0.7.6-787at8bh.mjs +1 -0
- package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +1 -0
- package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +4 -0
- package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +1 -0
- package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +17 -0
- package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +1 -0
- package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +3 -0
- package/dist/chunks/model-0.7.6-10bxpdy1.mjs +2 -0
- package/dist/chunks/model-0.7.6-463cgk44.mjs +1 -0
- package/dist/chunks/node-0.7.6-yq8nb00v.mjs +12 -0
- package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +1 -0
- package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +14 -0
- package/dist/chunks/output-style-0.7.6-cs808te7.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +1 -0
- package/dist/chunks/parser-0.7.6-eae6w23n.mjs +1 -0
- package/dist/chunks/passes-0.7.6-k46cf658.mjs +1 -0
- package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +1 -0
- package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +3 -0
- package/dist/chunks/plan-0.7.6-ry44stze.mjs +1 -0
- package/dist/chunks/plist-0.7.6-0vee72zr.mjs +1 -0
- package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +1 -0
- package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +9 -0
- package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +2 -0
- package/dist/chunks/print-0.7.6-qddcs91f.mjs +57 -0
- package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +1 -0
- package/dist/chunks/process-0.7.6-6b1s37w1.mjs +1 -0
- package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +9 -0
- package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +1 -0
- package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +1 -0
- package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +1 -0
- package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +13 -0
- package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +2 -0
- package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +1 -0
- package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +34 -0
- package/dist/chunks/registry-0.7.6-gat54dy3.mjs +1 -0
- package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +5 -0
- package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +2 -0
- package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +1 -0
- package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +1 -0
- package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +1 -0
- package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +1 -0
- package/dist/chunks/resume-0.7.6-za9pttkz.mjs +2 -0
- package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +1 -0
- package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +1 -0
- package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +1 -0
- package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +1 -0
- package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +1 -0
- package/dist/chunks/setup-0.7.6-f52y5q94.mjs +5 -0
- package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +1 -0
- package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +1 -0
- package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +1 -0
- package/dist/chunks/state-0.7.6-exkbe4vf.mjs +1 -0
- package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +6 -0
- package/dist/chunks/status-0.7.6-etkntf2w.mjs +1 -0
- package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +1 -0
- package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +1 -0
- package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +1 -0
- package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +1 -0
- package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +1 -0
- package/dist/chunks/theme-0.7.6-artxd1km.mjs +1 -0
- package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +1 -0
- package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +1 -0
- package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +1 -0
- package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +1 -0
- package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +1 -0
- package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +69 -0
- package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +4 -0
- package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +86 -0
- package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +1 -0
- package/dist/chunks/upload-0.7.6-6880h5gd.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +1 -0
- package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +1 -0
- package/dist/chunks/util-0.7.6-0cm7xj78.mjs +1 -0
- package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +1 -0
- package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +1 -0
- package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +1 -0
- package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +132 -0
- package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +1 -0
- package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +1 -0
- package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +5 -5
- package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +0 -1
- package/dist/chunks/App-0.7.5-acjfhz7f.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +0 -1
- package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +0 -7
- package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +0 -6
- package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +0 -1
- package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +0 -1
- package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +0 -1
- package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +0 -1
- package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +0 -1
- package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +0 -1
- package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +0 -1
- package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +0 -1
- package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +0 -1
- package/dist/chunks/agents-0.7.5-4qcppggm.mjs +0 -110
- package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +0 -3
- package/dist/chunks/api-0.7.5-fcbv21bw.mjs +0 -1
- package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +0 -1
- package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +0 -1
- package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +0 -1
- package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +0 -1
- package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +0 -48
- package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +0 -1
- package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +0 -4
- package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +0 -1
- package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +0 -88
- package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +0 -1
- package/dist/chunks/btw-0.7.5-yawwzr37.mjs +0 -1
- package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +0 -3
- package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +0 -1
- package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +0 -21
- package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +0 -4
- package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +0 -1
- package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +0 -1
- package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +0 -1
- package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +0 -1
- package/dist/chunks/cli-0.7.5-012a6zfk.mjs +0 -2
- package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +0 -2
- package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +0 -2
- package/dist/chunks/cli-0.7.5-10stvena.mjs +0 -2
- package/dist/chunks/cli-0.7.5-1130jhj6.mjs +0 -5469
- package/dist/chunks/cli-0.7.5-137tt9mn.mjs +0 -42
- package/dist/chunks/cli-0.7.5-1raty5m9.mjs +0 -2
- package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +0 -2
- package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +0 -17
- package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +0 -2
- package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +0 -2
- package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +0 -2
- package/dist/chunks/cli-0.7.5-2czfx8da.mjs +0 -2
- package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +0 -2
- package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +0 -3
- package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +0 -2
- package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +0 -2
- package/dist/chunks/cli-0.7.5-40m9mj91.mjs +0 -133
- package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +0 -2
- package/dist/chunks/cli-0.7.5-49f39qnb.mjs +0 -2
- package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +0 -59
- package/dist/chunks/cli-0.7.5-4pc187my.mjs +0 -2
- package/dist/chunks/cli-0.7.5-4pekv38x.mjs +0 -2
- package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +0 -2
- package/dist/chunks/cli-0.7.5-510b39kd.mjs +0 -3
- package/dist/chunks/cli-0.7.5-529cdx0d.mjs +0 -2
- package/dist/chunks/cli-0.7.5-56navtps.mjs +0 -3
- package/dist/chunks/cli-0.7.5-57cepgzg.mjs +0 -4
- package/dist/chunks/cli-0.7.5-5a315ky8.mjs +0 -17
- package/dist/chunks/cli-0.7.5-5nkj9199.mjs +0 -2
- package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +0 -15
- package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +0 -3
- package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +0 -3
- package/dist/chunks/cli-0.7.5-5z67f2be.mjs +0 -18
- package/dist/chunks/cli-0.7.5-60age1v3.mjs +0 -3
- package/dist/chunks/cli-0.7.5-614rpqd6.mjs +0 -2
- package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +0 -34
- package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +0 -2
- package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +0 -2
- package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +0 -2
- package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +0 -2
- package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +0 -2
- package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +0 -2
- package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +0 -2
- package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +0 -6
- package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +0 -45
- package/dist/chunks/cli-0.7.5-80je81v4.mjs +0 -2
- package/dist/chunks/cli-0.7.5-81aasr9m.mjs +0 -2
- package/dist/chunks/cli-0.7.5-84ksc40j.mjs +0 -25
- package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +0 -15
- package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +0 -2
- package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +0 -2
- package/dist/chunks/cli-0.7.5-92scwwjf.mjs +0 -24
- package/dist/chunks/cli-0.7.5-975by9n8.mjs +0 -3
- package/dist/chunks/cli-0.7.5-987zbyps.mjs +0 -2
- package/dist/chunks/cli-0.7.5-99wdc670.mjs +0 -24
- package/dist/chunks/cli-0.7.5-9na53kvh.mjs +0 -2
- package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +0 -5
- package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +0 -133
- package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +0 -2
- package/dist/chunks/cli-0.7.5-a36ctp71.mjs +0 -6
- package/dist/chunks/cli-0.7.5-acfkszsn.mjs +0 -8
- package/dist/chunks/cli-0.7.5-akxpdesn.mjs +0 -2
- package/dist/chunks/cli-0.7.5-aphrc23w.mjs +0 -2
- package/dist/chunks/cli-0.7.5-apycan2y.mjs +0 -2
- package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +0 -2
- package/dist/chunks/cli-0.7.5-atzfkz67.mjs +0 -2
- package/dist/chunks/cli-0.7.5-az0dwafe.mjs +0 -2
- package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +0 -2
- package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +0 -2
- package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +0 -2
- package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +0 -2
- package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +0 -2
- package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +0 -2
- package/dist/chunks/cli-0.7.5-c3w496ap.mjs +0 -3
- package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +0 -2
- package/dist/chunks/cli-0.7.5-ca0xearm.mjs +0 -2
- package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +0 -2
- package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +0 -2
- package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +0 -20
- package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +0 -2
- package/dist/chunks/cli-0.7.5-dc34hzge.mjs +0 -12
- package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +0 -2
- package/dist/chunks/cli-0.7.5-dp4tresm.mjs +0 -2
- package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +0 -2
- package/dist/chunks/cli-0.7.5-dzyyype0.mjs +0 -2
- package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +0 -10
- package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +0 -2
- package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +0 -2
- package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +0 -2
- package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +0 -2
- package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +0 -2
- package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +0 -5
- package/dist/chunks/cli-0.7.5-f9v35634.mjs +0 -2
- package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +0 -2
- package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +0 -12
- package/dist/chunks/cli-0.7.5-ftngeevg.mjs +0 -2
- package/dist/chunks/cli-0.7.5-fzamc565.mjs +0 -3
- package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +0 -4
- package/dist/chunks/cli-0.7.5-fzqampqh.mjs +0 -4
- package/dist/chunks/cli-0.7.5-g3ejs520.mjs +0 -2
- package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +0 -2
- package/dist/chunks/cli-0.7.5-gbz8thht.mjs +0 -50
- package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +0 -3
- package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +0 -2
- package/dist/chunks/cli-0.7.5-gfq85y17.mjs +0 -2
- package/dist/chunks/cli-0.7.5-gh00zb08.mjs +0 -18
- package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +0 -194
- package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +0 -2
- package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +0 -2
- package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +0 -2
- package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +0 -2
- package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +0 -9
- package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +0 -2
- package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +0 -2
- package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +0 -2
- package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +0 -2
- package/dist/chunks/cli-0.7.5-jc93grn1.mjs +0 -2
- package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +0 -2
- package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +0 -2
- package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +0 -39
- package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +0 -4
- package/dist/chunks/cli-0.7.5-krbmx93g.mjs +0 -2
- package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +0 -7
- package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +0 -2
- package/dist/chunks/cli-0.7.5-medd7tha.mjs +0 -2
- package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +0 -2
- package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +0 -2
- package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +0 -2
- package/dist/chunks/cli-0.7.5-mkypasee.mjs +0 -3
- package/dist/chunks/cli-0.7.5-mtaq950q.mjs +0 -2
- package/dist/chunks/cli-0.7.5-myvw92ta.mjs +0 -2
- package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +0 -4
- package/dist/chunks/cli-0.7.5-p72rah24.mjs +0 -2
- package/dist/chunks/cli-0.7.5-paykwdd9.mjs +0 -26
- package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +0 -2
- package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +0 -67
- package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +0 -2
- package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +0 -2
- package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +0 -2
- package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +0 -4
- package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +0 -3
- package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +0 -5
- package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rahmqve7.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rbv538zg.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +0 -2
- package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +0 -16
- package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +0 -58
- package/dist/chunks/cli-0.7.5-sq0v922e.mjs +0 -6
- package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +0 -2
- package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +0 -4
- package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +0 -2
- package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +0 -2
- package/dist/chunks/cli-0.7.5-v8apq7df.mjs +0 -15
- package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +0 -2
- package/dist/chunks/cli-0.7.5-vktpnz25.mjs +0 -2
- package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +0 -6
- package/dist/chunks/cli-0.7.5-vzssapx0.mjs +0 -2
- package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +0 -18
- package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +0 -2
- package/dist/chunks/cli-0.7.5-wj3w13az.mjs +0 -2
- package/dist/chunks/cli-0.7.5-wjfmb762.mjs +0 -2
- package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +0 -4
- package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +0 -2
- package/dist/chunks/cli-0.7.5-x2z686xj.mjs +0 -25
- package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +0 -12
- package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +0 -24
- package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +0 -2
- package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +0 -3
- package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +0 -12
- package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +0 -2
- package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +0 -1
- package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +0 -21
- package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +0 -2
- package/dist/chunks/cli-0.7.5-yr70t57x.mjs +0 -2
- package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +0 -2
- package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +0 -2
- package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +0 -4
- package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +0 -4
- package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +0 -2
- package/dist/chunks/cli-0.7.5-zftjc44p.mjs +0 -2
- package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +0 -2
- package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +0 -2
- package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +0 -2
- package/dist/chunks/client-0.7.5-w36k0xa4.mjs +0 -1
- package/dist/chunks/color-0.7.5-6q028b6j.mjs +0 -1
- package/dist/chunks/compact-0.7.5-brw7r66h.mjs +0 -3
- package/dist/chunks/config-0.7.5-23y0vmxv.mjs +0 -1
- package/dist/chunks/config-0.7.5-scfm2ghv.mjs +0 -1
- package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +0 -1
- package/dist/chunks/context-0.7.5-5sr5p20h.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +0 -1
- package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +0 -1
- package/dist/chunks/copy-0.7.5-1j6r3503.mjs +0 -9
- package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +0 -1
- package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +0 -1
- package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +0 -1
- package/dist/chunks/debug-0.7.5-f7ay5633.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +0 -1446
- package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +0 -1
- package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +0 -1
- package/dist/chunks/detection-0.7.5-g5p116dy.mjs +0 -1
- package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +0 -1
- package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +0 -1
- package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +0 -1
- package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +0 -10
- package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +0 -1
- package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +0 -1
- package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +0 -1
- package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +0 -1
- package/dist/chunks/errors-0.7.5-39sxdk37.mjs +0 -1
- package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +0 -1
- package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +0 -1
- package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +0 -1
- package/dist/chunks/export-0.7.5-34j4n9kh.mjs +0 -2
- package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +0 -1
- package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +0 -1
- package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +0 -1
- package/dist/chunks/git-0.7.5-e2235c1t.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +0 -1
- package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +0 -4
- package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +0 -1
- package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +0 -1
- package/dist/chunks/headless-0.7.5-wbtxesec.mjs +0 -2
- package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +0 -6
- package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +0 -1
- package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +0 -3
- package/dist/chunks/hooks-0.7.5-167mv9th.mjs +0 -1
- package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +0 -79
- package/dist/chunks/ide-0.7.5-n6hvszan.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +0 -1
- package/dist/chunks/index-0.7.5-5j4305xq.mjs +0 -1
- package/dist/chunks/index-0.7.5-63xhx5j4.mjs +0 -1
- package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +0 -9
- package/dist/chunks/index-0.7.5-a12krakj.mjs +0 -2
- package/dist/chunks/index-0.7.5-bsq6e16w.mjs +0 -1
- package/dist/chunks/index-0.7.5-caethvnv.mjs +0 -1
- package/dist/chunks/index-0.7.5-cx1vr981.mjs +0 -17
- package/dist/chunks/index-0.7.5-dcd3w04q.mjs +0 -1
- package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +0 -9
- package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +0 -2
- package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +0 -5
- package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +0 -1
- package/dist/chunks/index-0.7.5-kzhpap3n.mjs +0 -1
- package/dist/chunks/index-0.7.5-njd4yt57.mjs +0 -1
- package/dist/chunks/index-0.7.5-r1ny63xd.mjs +0 -1
- package/dist/chunks/index-0.7.5-ry24w7t2.mjs +0 -1
- package/dist/chunks/index-0.7.5-syzp921n.mjs +0 -30
- package/dist/chunks/index-0.7.5-t7jx62n3.mjs +0 -1
- package/dist/chunks/index-0.7.5-wj36e6k0.mjs +0 -1
- package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +0 -1
- package/dist/chunks/index-0.7.5-yzrfjy23.mjs +0 -1
- package/dist/chunks/index-0.7.5-zfker4t5.mjs +0 -1
- package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +0 -1
- package/dist/chunks/init-0.7.5-hh6v113j.mjs +0 -1
- package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +0 -1
- package/dist/chunks/ink-0.7.5-56yev9n3.mjs +0 -1
- package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +0 -870
- package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +0 -1
- package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +0 -149
- package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +0 -1
- package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +0 -1
- package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +0 -2
- package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +0 -1
- package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +0 -1
- package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +0 -1
- package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +0 -1
- package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +0 -1
- package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +0 -4
- package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +0 -17
- package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +0 -1
- package/dist/chunks/memory-0.7.5-fvpt844c.mjs +0 -3
- package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +0 -2
- package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +0 -1
- package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +0 -12
- package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +0 -1
- package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +0 -14
- package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +0 -1
- package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +0 -1
- package/dist/chunks/passes-0.7.5-4axt111x.mjs +0 -1
- package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +0 -3
- package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +0 -1
- package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +0 -1
- package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +0 -1
- package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +0 -1
- package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +0 -9
- package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +0 -2
- package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +0 -57
- package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +0 -1
- package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +0 -9
- package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +0 -1
- package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +0 -1
- package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +0 -1
- package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +0 -13
- package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +0 -2
- package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +0 -1
- package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +0 -34
- package/dist/chunks/registry-0.7.5-whsh7x53.mjs +0 -1
- package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +0 -5
- package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +0 -2
- package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +0 -1
- package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +0 -1
- package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +0 -1
- package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +0 -1
- package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +0 -2
- package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +0 -1
- package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +0 -1
- package/dist/chunks/session-0.7.5-hkxz3wye.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +0 -1
- package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +0 -1
- package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +0 -1
- package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +0 -5
- package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +0 -1
- package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +0 -1
- package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +0 -1
- package/dist/chunks/state-0.7.5-ak36peq3.mjs +0 -1
- package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +0 -6
- package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +0 -1
- package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +0 -1
- package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +0 -1
- package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +0 -1
- package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +0 -1
- package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +0 -1
- package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +0 -1
- package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +0 -1
- package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +0 -1
- package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +0 -1
- package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +0 -1
- package/dist/chunks/tools-0.7.5-a8e705rj.mjs +0 -1
- package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +0 -69
- package/dist/chunks/types-0.7.5-63qbfwst.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +0 -4
- package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +0 -86
- package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +0 -1
- package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +0 -1
- package/dist/chunks/usage-0.7.5-36hanm9f.mjs +0 -1
- package/dist/chunks/util-0.7.5-90a4jn87.mjs +0 -1
- package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +0 -1
- package/dist/chunks/vim-0.7.5-nptszgna.mjs +0 -1
- package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +0 -1
- package/dist/chunks/wiki-0.7.5-zngdktge.mjs +0 -132
- package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +0 -1
- package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +0 -1
- package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +0 -7
- /package/dist/chunks/{cli-0.7.5-jk7d368h.mjs → cli-0.7.6-pef1cr89.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vqa as H,Xqa as UJ}from"./cli-0.7.6-jpjn976y.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
+
export{W1 as A1,QQ as B1,WQ as C1,ZQ as D1,KQ as E1,FJ as F1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Lpa as M,Mpa as Y}from"./cli-0.7.6-xg6ka3pp.mjs";import{Xqa as W}from"./cli-0.7.6-jpjn976y.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
+
export{$ as wja,N as xja,X as yja,_ as zja,j as Aja,U as Bja,I as Cja,S as Dja,T as Eja,c as Fja,L as Gja,w as Hja,z as Ija,O as Jja,x as Kja,k as Lja};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{k3 as m}from"./cli-0.7.6-vhan81qg.mjs";import{d7 as K,v7 as $}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as Y,Lca as X,mda as Q,ofa as Z,pda as J}from"./cli-0.7.6-fn56g2cc.mjs";import{Mha as W}from"./cli-0.7.6-5qabm4xe.mjs";import{Xqa as V}from"./cli-0.7.6-jpjn976y.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
+
export{y as Ii,G as Ji,U as Ki,w as Li};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wqa as x,Xqa as z}from"./cli-0.7.6-jpjn976y.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
+
export{A as G1,F as H1,G as I1,H as J1,J as K1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xqa as H}from"./cli-0.7.6-jpjn976y.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
+
export{F as Wfa,K as Xfa,M as Yfa,N as Zfa,O as _fa,P as $fa,J as aga};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bx as C,Ex as X}from"./cli-0.7.6-qan5xxdc.mjs";import{R2 as W}from"./cli-0.7.6-471rvdw2.mjs";import{H5 as J,O5 as V,v5 as I}from"./cli-0.7.6-7mzraehr.mjs";import{Aga as T,fga as H}from"./cli-0.7.6-ek2a439r.mjs";import{Tqa as P,Xqa as Q}from"./cli-0.7.6-jpjn976y.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
+
export{v as jd,Y as kd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{j9 as B,l9 as p}from"./cli-0.7.6-fn56g2cc.mjs";import{Nha as C,Qha as y}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as V,Tia as M,uia as T,yia as x}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as L,vja as c}from"./cli-0.7.6-310844c3.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
+
export{E as Rb,I as Sb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Id as x,Jd as o}from"./cli-0.7.6-0b47jy2g.mjs";import{$y as u,DK as O,EC as M,EK as a,Gz as K,Iz as m,KC as l,PK as R,SK as i,Uy as $,VL as W,Vy as d,YL as t,Zy as y,dp as Y,fp as g,mu as Z,su as v}from"./cli-0.7.6-qan5xxdc.mjs";import{gfa as X,ofa as h}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as I,Tia as c}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as V,vja as f}from"./cli-0.7.6-310844c3.mjs";import{mpa as _,vla as U}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as C}from"./cli-0.7.6-jpjn976y.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
+
export{Lj as Ed,p as Fd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{OF as U,PF as A,TF as V,UF as E}from"./cli-0.7.6-qan5xxdc.mjs";import{dW as W,lW as G}from"./cli-0.7.6-2ff9pq9s.mjs";import{I0 as O,b0 as F,d0 as H}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as q,P2 as K,Q2 as L}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as I}from"./cli-0.7.6-471rvdw2.mjs";import{X6 as Q,v7 as p}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as $,mda as M,pda as N}from"./cli-0.7.6-fn56g2cc.mjs";import{Tqa as Z,Xqa as _}from"./cli-0.7.6-jpjn976y.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
|
|
2
|
+
export{b as ec,d as fc,P as gc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ii as R,Ki as y,Li as v}from"./cli-0.7.6-1bfz5qa5.mjs";import{I0 as E,IY as c,d0 as K}from"./cli-0.7.6-56h0kfkw.mjs";import{N2 as O,O2 as N,P2 as M,Q2 as U}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as G}from"./cli-0.7.6-471rvdw2.mjs";import{Kda as b,pda as L}from"./cli-0.7.6-fn56g2cc.mjs";import{Lfa as W,zfa as Z}from"./cli-0.7.6-0ekx5n2q.mjs";import{Qha as p}from"./cli-0.7.6-z4k83sx6.mjs";import{Tqa as F,Xqa as j}from"./cli-0.7.6-jpjn976y.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
+
export{f as Ng,r as Og,n as Pg,l as Qg};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{D1 as k,F1 as w}from"./cli-0.7.6-0tt8ccr8.mjs";import{b7 as j,v7 as v}from"./cli-0.7.6-7mzraehr.mjs";import{Aga as s,oga as d,zga as h}from"./cli-0.7.6-ek2a439r.mjs";import{Lja as q}from"./cli-0.7.6-0wr25ecz.mjs";import{Xqa as p}from"./cli-0.7.6-jpjn976y.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
+
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
+
export{x as dW,O as eW,P as fW,Q as gW,R as hW,U as iW,W as jW,X as kW,z as lW};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Xqa as j}from"./cli-0.7.6-jpjn976y.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`)+z,H=D+1,D=q.indexOf(`
|
|
4
|
+
`,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
|
|
5
|
+
`);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
|
|
6
|
+
export{o as Q7,O1 as R7,e as S7};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
class H extends Error{constructor(z,J,Q){super(Q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=J,this.exitCode=z,this.nestedError=void 0}}class K extends H{constructor(z){super(1,"commander.invalidArgument",z);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class S{constructor(z,J){this.flags=z,this.description=J||"",this.required=z.includes("<"),this.optional=z.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(z),this.mandatory=!1;let Q=w(z);if(this.short=Q.shortFlag,this.long=Q.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}preset(z){return this.presetArg=z,this}conflicts(z){return this.conflictsWith=this.conflictsWith.concat(z),this}implies(z){let J=z;if(typeof z==="string")J={[z]:!0};return this.implied=Object.assign(this.implied||{},J),this}env(z){return this.envVar=z,this}argParser(z){return this.parseArg=z,this}makeOptionMandatory(z=!0){return this.mandatory=!!z,this}hideHelp(z=!0){return this.hidden=!!z,this}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return F(this.name().replace(/^no-/,""));return F(this.name())}helpGroup(z){return this.helpGroupHeading=z,this}is(z){return this.short===z||this.long===z}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class V{constructor(z){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,z.forEach((J)=>{if(J.negate)this.negativeOptions.set(J.attributeName(),J);else this.positiveOptions.set(J.attributeName(),J)}),this.negativeOptions.forEach((J,Q)=>{if(this.positiveOptions.has(Q))this.dualOptions.add(Q)})}valueFromOption(z,J){let Q=J.attributeName();if(!this.dualOptions.has(Q))return!0;let X=this.negativeOptions.get(Q).presetArg,Y=X!==void 0?X:!1;return J.negate===(Y===z)}}function F(z){return z.split("-").reduce((J,Q)=>{return J+Q[0].toUpperCase()+Q.slice(1)})}function w(z){let J,Q,X=/^-[^-]$/,Y=/^--[^-]/,Z=z.split(/[ |,]+/).concat("guard");if(X.test(Z[0]))J=Z.shift();if(Y.test(Z[0]))Q=Z.shift();if(!J&&X.test(Z[0]))J=Z.shift();if(!J&&Y.test(Z[0]))J=Q,Q=Z.shift();if(Z[0].startsWith("-")){let $=Z[0],_=`option creation failed due to '${$}' in option flags '${z}'`;if(/^-[^-][^-]/.test($))throw Error(`${_}
|
|
2
|
+
- a short flag is a single dash and a single character
|
|
3
|
+
- either use a single dash and a single character (for a short flag)
|
|
4
|
+
- or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(X.test($))throw Error(`${_}
|
|
5
|
+
- too many short flags`);if(Y.test($))throw Error(`${_}
|
|
6
|
+
- too many long flags`);throw Error(`${_}
|
|
7
|
+
- unrecognised flag format`)}if(J===void 0&&Q===void 0)throw Error(`option creation failed due to no flags found in '${z}'.`);return{shortFlag:J,longFlag:Q}}import{EventEmitter as O}from"node:events";import N from"node:child_process";import U from"node:path";import I from"node:fs";import G from"node:process";import{stripVTControlCharacters as x}from"node:util";class W{constructor(z,J){switch(this.description=J||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,z[0]){case"<":this.required=!0,this._name=z.slice(1,-1);break;case"[":this.required=!1,this._name=z.slice(1,-1);break;default:this.required=!0,this._name=z;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}argParser(z){return this.parseArg=z,this}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function P(z){let J=z.name()+(z.variadic===!0?"...":"");return z.required?"<"+J+">":"["+J+"]"}import{stripVTControlCharacters as k}from"node:util";class j{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(z){this.helpWidth=this.helpWidth??z.helpWidth??80}visibleCommands(z){let J=z.commands.filter((X)=>!X._hidden),Q=z._getHelpCommand();if(Q&&!Q._hidden)J.push(Q);if(this.sortSubcommands)J.sort((X,Y)=>{return X.name().localeCompare(Y.name())});return J}compareOptions(z,J){let Q=(X)=>{return X.short?X.short.replace(/^-/,""):X.long.replace(/^--/,"")};return Q(z).localeCompare(Q(J))}visibleOptions(z){let J=z.options.filter((X)=>!X.hidden),Q=z._getHelpOption();if(Q&&!Q.hidden){let X=Q.short&&z._findOption(Q.short),Y=Q.long&&z._findOption(Q.long);if(!X&&!Y)J.push(Q);else if(Q.long&&!Y)J.push(z.createOption(Q.long,Q.description));else if(Q.short&&!X)J.push(z.createOption(Q.short,Q.description))}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleGlobalOptions(z){if(!this.showGlobalOptions)return[];let J=[];for(let Q=z.parent;Q;Q=Q.parent){let X=Q.options.filter((Y)=>!Y.hidden);J.push(...X)}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleArguments(z){if(z._argsDescription)z.registeredArguments.forEach((J)=>{J.description=J.description||z._argsDescription[J.name()]||""});if(z.registeredArguments.find((J)=>J.description))return z.registeredArguments;return[]}subcommandTerm(z){let J=z.registeredArguments.map((Q)=>P(Q)).join(" ");return z._name+(z._aliases[0]?"|"+z._aliases[0]:"")+(z.options.length?" [options]":"")+(J?" "+J:"")}optionTerm(z){return z.flags}argumentTerm(z){return z.name()}longestSubcommandTermLength(z,J){return J.visibleCommands(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleSubcommandTerm(J.subcommandTerm(X))))},0)}longestOptionTermLength(z,J){return J.visibleOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestGlobalOptionTermLength(z,J){return J.visibleGlobalOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestArgumentTermLength(z,J){return J.visibleArguments(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleArgumentTerm(J.argumentTerm(X))))},0)}commandUsage(z){let J=z._name;if(z._aliases[0])J=J+"|"+z._aliases[0];let Q="";for(let X=z.parent;X;X=X.parent)Q=X.name()+" "+Q;return Q+J+" "+z.usage()}commandDescription(z){return z.description()}subcommandDescription(z){return z.summary()||z.description()}optionDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0){if(z.required||z.optional||z.isBoolean()&&typeof z.defaultValue==="boolean")J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`)}if(z.presetArg!==void 0&&z.optional)J.push(`preset: ${JSON.stringify(z.presetArg)}`);if(z.envVar!==void 0)J.push(`env: ${z.envVar}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}argumentDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0)J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}formatItemList(z,J,Q){if(J.length===0)return[];return[Q.styleTitle(z),...J,""]}groupItems(z,J,Q){let X=new Map;return z.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[])}),J.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[]);X.get(Z).push(Y)}),X}formatHelp(z,J){let Q=J.padWidth(z,J),X=J.helpWidth??80;function Y(R,B){return J.formatItem(R,Q,B,J)}let Z=[`${J.styleTitle("Usage:")} ${J.styleUsage(J.commandUsage(z))}`,""],$=J.commandDescription(z);if($.length>0)Z=Z.concat([J.boxWrap(J.styleCommandDescription($),X),""]);let _=J.visibleArguments(z).map((R)=>{return Y(J.styleArgumentTerm(J.argumentTerm(R)),J.styleArgumentDescription(J.argumentDescription(R)))});if(Z=Z.concat(this.formatItemList("Arguments:",_,J)),this.groupItems(z.options,J.visibleOptions(z),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleOptionTerm(J.optionTerm(M)),J.styleOptionDescription(J.optionDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),J.showGlobalOptions){let R=J.visibleGlobalOptions(z).map((B)=>{return Y(J.styleOptionTerm(J.optionTerm(B)),J.styleOptionDescription(J.optionDescription(B)))});Z=Z.concat(this.formatItemList("Global Options:",R,J))}return this.groupItems(z.commands,J.visibleCommands(z),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleSubcommandTerm(J.subcommandTerm(M)),J.styleSubcommandDescription(J.subcommandDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),Z.join(`
|
|
8
|
+
`)}displayWidth(z){return k(z).length}styleTitle(z){return z}styleUsage(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J==="[command]")return this.styleSubcommandText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleCommandText(J)}).join(" ")}styleCommandDescription(z){return this.styleDescriptionText(z)}styleOptionDescription(z){return this.styleDescriptionText(z)}styleSubcommandDescription(z){return this.styleDescriptionText(z)}styleArgumentDescription(z){return this.styleDescriptionText(z)}styleDescriptionText(z){return z}styleOptionTerm(z){return this.styleOptionText(z)}styleSubcommandTerm(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleSubcommandText(J)}).join(" ")}styleArgumentTerm(z){return this.styleArgumentText(z)}styleOptionText(z){return z}styleArgumentText(z){return z}styleSubcommandText(z){return z}styleCommandText(z){return z}padWidth(z,J){return Math.max(J.longestOptionTermLength(z,J),J.longestGlobalOptionTermLength(z,J),J.longestSubcommandTermLength(z,J),J.longestArgumentTermLength(z,J))}preformatted(z){return/\n[^\S\r\n]/.test(z)}formatItem(z,J,Q,X){let Z=" ".repeat(2);if(!Q)return Z+z;let $=z.padEnd(J+z.length-X.displayWidth(z)),_=2,q=(this.helpWidth??80)-J-_-2,R;if(q<this.minWidthToWrap||X.preformatted(Q))R=Q;else R=X.boxWrap(Q,q).replace(/\n/g,`
|
|
9
|
+
`+" ".repeat(J+_));return Z+$+" ".repeat(_)+R.replace(/\n/g,`
|
|
10
|
+
${Z}`)}boxWrap(z,J){if(J<this.minWidthToWrap)return z;let Q=z.split(/\r\n|\n/),X=/[\s]*[^\s]+/g,Y=[];return Q.forEach((Z)=>{let $=Z.match(X);if($===null){Y.push("");return}let _=[$.shift()],T=this.displayWidth(_[0]);$.forEach((q)=>{let R=this.displayWidth(q);if(T+R<=J){_.push(q),T+=R;return}Y.push(_.join(""));let B=q.trimStart();_=[B],T=this.displayWidth(B)}),Y.push(_.join(""))}),Y.join(`
|
|
11
|
+
`)}}function C(z,J){if(Math.abs(z.length-J.length)>3)return Math.max(z.length,J.length);let Q=[];for(let X=0;X<=z.length;X++)Q[X]=[X];for(let X=0;X<=J.length;X++)Q[0][X]=X;for(let X=1;X<=J.length;X++)for(let Y=1;Y<=z.length;Y++){let Z;if(z[Y-1]===J[X-1])Z=0;else Z=1;if(Q[Y][X]=Math.min(Q[Y-1][X]+1,Q[Y][X-1]+1,Q[Y-1][X-1]+Z),Y>1&&X>1&&z[Y-1]===J[X-2]&&z[Y-2]===J[X-1])Q[Y][X]=Math.min(Q[Y][X],Q[Y-2][X-2]+1)}return Q[z.length][J.length]}function D(z,J){if(!J||J.length===0)return"";J=Array.from(new Set(J));let Q=z.startsWith("--");if(Q)z=z.slice(2),J=J.map(($)=>$.slice(2));let X=[],Y=3,Z=0.4;if(J.forEach(($)=>{if($.length<=1)return;let _=C(z,$),T=Math.max(z.length,$.length);if((T-_)/T>Z){if(_<Y)Y=_,X=[$];else if(_===Y)X.push($)}}),X.sort(($,_)=>$.localeCompare(_)),Q)X=X.map(($)=>`--${$}`);if(X.length>1)return`
|
|
12
|
+
(Did you mean one of ${X.join(", ")}?)`;if(X.length===1)return`
|
|
13
|
+
(Did you mean ${X[0]}?)`;return""}class E extends O{constructor(z){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=z||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(J)=>G.stdout.write(J),writeErr:(J)=>G.stderr.write(J),outputError:(J,Q)=>Q(J),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>A()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>A()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(J)=>x(J)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(z){return this._outputConfiguration=z._outputConfiguration,this._helpOption=z._helpOption,this._helpCommand=z._helpCommand,this._helpConfiguration=z._helpConfiguration,this._exitCallback=z._exitCallback,this._storeOptionsAsProperties=z._storeOptionsAsProperties,this._combineFlagAndOptionalValue=z._combineFlagAndOptionalValue,this._allowExcessArguments=z._allowExcessArguments,this._enablePositionalOptions=z._enablePositionalOptions,this._showHelpAfterError=z._showHelpAfterError,this._showSuggestionAfterError=z._showSuggestionAfterError,this}_getCommandAndAncestors(){let z=[];for(let J=this;J;J=J.parent)z.push(J);return z}command(z,J,Q){let X=J,Y=Q;if(typeof X==="object"&&X!==null)Y=X,X=null;Y=Y||{};let[,Z,$]=z.match(/([^ ]+) *(.*)/),_=this.createCommand(Z);if(X)_.description(X),_._executableHandler=!0;if(Y.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(Y.noHelp||Y.hidden),_._executableFile=Y.executableFile||null,$)_.arguments($);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),X)return this;return _}createCommand(z){return new E(z)}createHelp(){return Object.assign(new j,this.configureHelp())}configureHelp(z){if(z===void 0)return this._helpConfiguration;return this._helpConfiguration=z,this}configureOutput(z){if(z===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...z},this}showHelpAfterError(z=!0){if(typeof z!=="string")z=!!z;return this._showHelpAfterError=z,this}showSuggestionAfterError(z=!0){return this._showSuggestionAfterError=!!z,this}addCommand(z,J){if(!z._name)throw Error(`Command passed to .addCommand() must have a name
|
|
14
|
+
- specify the name in Command constructor or using .name()`);if(J=J||{},J.isDefault)this._defaultCommandName=z._name;if(J.noHelp||J.hidden)z._hidden=!0;return this._registerCommand(z),z.parent=this,z._checkForBrokenPassThrough(),this}createArgument(z,J){return new W(z,J)}argument(z,J,Q,X){let Y=this.createArgument(z,J);if(typeof Q==="function")Y.default(X).argParser(Q);else Y.default(Q);return this.addArgument(Y),this}arguments(z){return z.trim().split(/ +/).forEach((J)=>{this.argument(J)}),this}addArgument(z){let J=this.registeredArguments.slice(-1)[0];if(J?.variadic)throw Error(`only the last argument can be variadic '${J.name()}'`);if(z.required&&z.defaultValue!==void 0&&z.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${z.name()}'`);return this.registeredArguments.push(z),this}helpCommand(z,J){if(typeof z==="boolean"){if(this._addImplicitHelpCommand=z,z&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let Q=z??"help [command]",[,X,Y]=Q.match(/([^ ]+) *(.*)/),Z=J??"display help for command",$=this.createCommand(X);if($.helpOption(!1),Y)$.arguments(Y);if(Z)$.description(Z);if(this._addImplicitHelpCommand=!0,this._helpCommand=$,z||J)this._initCommandGroup($);return this}addHelpCommand(z,J){if(typeof z!=="object")return this.helpCommand(z,J),this;return this._addImplicitHelpCommand=!0,this._helpCommand=z,this._initCommandGroup(z),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(z,J){let Q=["preSubcommand","preAction","postAction"];if(!Q.includes(z))throw Error(`Unexpected value for event passed to hook : '${z}'.
|
|
15
|
+
Expecting one of '${Q.join("', '")}'`);if(this._lifeCycleHooks[z])this._lifeCycleHooks[z].push(J);else this._lifeCycleHooks[z]=[J];return this}exitOverride(z){if(z)this._exitCallback=z;else this._exitCallback=(J)=>{if(J.code!=="commander.executeSubCommandAsync")throw J};return this}_exit(z,J,Q){if(this._exitCallback)this._exitCallback(new H(z,J,Q));G.exit(z)}action(z){let J=(Q)=>{let X=this.registeredArguments.length,Y=Q.slice(0,X);if(this._storeOptionsAsProperties)Y[X]=this;else Y[X]=this.opts();return Y.push(this),z.apply(this,Y)};return this._actionHandler=J,this}createOption(z,J){return new S(z,J)}_callParseArg(z,J,Q,X){try{return z.parseArg(J,Q)}catch(Y){if(Y.code==="commander.invalidArgument"){let Z=`${X} ${Y.message}`;this.error(Z,{exitCode:Y.exitCode,code:Y.code})}throw Y}}_registerOption(z){let J=z.short&&this._findOption(z.short)||z.long&&this._findOption(z.long);if(J){let Q=z.long&&this._findOption(z.long)?z.long:z.short;throw Error(`Cannot add option '${z.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${Q}'
|
|
16
|
+
- already used by option '${J.flags}'`)}this._initOptionGroup(z),this.options.push(z)}_registerCommand(z){let J=(X)=>{return[X.name()].concat(X.aliases())},Q=J(z).find((X)=>this._findCommand(X));if(Q){let X=J(this._findCommand(Q)).join("|"),Y=J(z).join("|");throw Error(`cannot add command '${Y}' as already have command '${X}'`)}this._initCommandGroup(z),this.commands.push(z)}addOption(z){this._registerOption(z);let J=z.name(),Q=z.attributeName();if(z.defaultValue!==void 0)this.setOptionValueWithSource(Q,z.defaultValue,"default");let X=(Y,Z,$)=>{if(Y==null&&z.presetArg!==void 0)Y=z.presetArg;let _=this.getOptionValue(Q);if(Y!==null&&z.parseArg)Y=this._callParseArg(z,Y,_,Z);else if(Y!==null&&z.variadic)Y=z._collectValue(Y,_);if(Y==null)if(z.negate)Y=!1;else if(z.isBoolean()||z.optional)Y=!0;else Y="";this.setOptionValueWithSource(Q,Y,$)};if(this.on("option:"+J,(Y)=>{let Z=`error: option '${z.flags}' argument '${Y}' is invalid.`;X(Y,Z,"cli")}),z.envVar)this.on("optionEnv:"+J,(Y)=>{let Z=`error: option '${z.flags}' value '${Y}' from env '${z.envVar}' is invalid.`;X(Y,Z,"env")});return this}_optionEx(z,J,Q,X,Y){if(typeof J==="object"&&J instanceof S)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Z=this.createOption(J,Q);if(Z.makeOptionMandatory(!!z.mandatory),typeof X==="function")Z.default(Y).argParser(X);else if(X instanceof RegExp){let $=X;X=(_,T)=>{let q=$.exec(_);return q?q[0]:T},Z.default(Y).argParser(X)}else Z.default(X);return this.addOption(Z)}option(z,J,Q,X){return this._optionEx({},z,J,Q,X)}requiredOption(z,J,Q,X){return this._optionEx({mandatory:!0},z,J,Q,X)}combineFlagAndOptionalValue(z=!0){return this._combineFlagAndOptionalValue=!!z,this}allowUnknownOption(z=!0){return this._allowUnknownOption=!!z,this}allowExcessArguments(z=!0){return this._allowExcessArguments=!!z,this}enablePositionalOptions(z=!0){return this._enablePositionalOptions=!!z,this}passThroughOptions(z=!0){return this._passThroughOptions=!!z,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(z=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!z,this}getOptionValue(z){if(this._storeOptionsAsProperties)return this[z];return this._optionValues[z]}setOptionValue(z,J){return this.setOptionValueWithSource(z,J,void 0)}setOptionValueWithSource(z,J,Q){if(this._storeOptionsAsProperties)this[z]=J;else this._optionValues[z]=J;return this._optionValueSources[z]=Q,this}getOptionValueSource(z){return this._optionValueSources[z]}getOptionValueSourceWithGlobals(z){let J;return this._getCommandAndAncestors().forEach((Q)=>{if(Q.getOptionValueSource(z)!==void 0)J=Q.getOptionValueSource(z)}),J}_prepareUserArgs(z,J){if(z!==void 0&&!Array.isArray(z))throw Error("first parameter to parse must be array or undefined");if(J=J||{},z===void 0&&J.from===void 0){if(G.versions?.electron)J.from="electron";let X=G.execArgv??[];if(X.includes("-e")||X.includes("--eval")||X.includes("-p")||X.includes("--print"))J.from="eval"}if(z===void 0)z=G.argv;this.rawArgs=z.slice();let Q;switch(J.from){case void 0:case"node":this._scriptPath=z[1],Q=z.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=z[1],Q=z.slice(2);else Q=z.slice(1);break;case"user":Q=z.slice(0);break;case"eval":Q=z.slice(1);break;default:throw Error(`unexpected parse option { from: '${J.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Q}parse(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return this._parseCommand([],Q),this}async parseAsync(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return await this._parseCommand([],Q),this}_prepareForParse(){if(this._savedState===null)this.options.filter((z)=>z.negate&&z.defaultValue===void 0&&this.getOptionValue(z.attributeName())===void 0).forEach((z)=>{let J=z.long.replace(/^--no-/,"--");if(!this._findOption(J))this.setOptionValueWithSource(z.attributeName(),!0,"default")}),this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
|
|
17
|
+
- either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(z,J,Q){if(I.existsSync(z))return;let X=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",Y=`'${z}' does not exist
|
|
18
|
+
- if '${Q}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
19
|
+
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
20
|
+
- ${X}`;throw Error(Y)}_executeSubCommand(z,J){J=J.slice();let Q=[".js",".ts",".tsx",".mjs",".cjs"];function X(q,R){let B=U.resolve(q,R);if(I.existsSync(B))return B;if(Q.includes(U.extname(R)))return;let L=Q.find((M)=>I.existsSync(`${B}${M}`));if(L)return`${B}${L}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=z._executableFile||`${this._name}-${z._name}`,Z=this._executableDir||"";if(this._scriptPath){let q;try{q=I.realpathSync(this._scriptPath)}catch{q=this._scriptPath}Z=U.resolve(U.dirname(q),Z)}if(Z){let q=X(Z,Y);if(!q&&!z._executableFile&&this._scriptPath){let R=U.basename(this._scriptPath,U.extname(this._scriptPath));if(R!==this._name)q=X(Z,`${R}-${z._name}`)}Y=q||Y}let $=Q.includes(U.extname(Y)),_;if(G.platform!=="win32")if($)J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.argv[0],J,{stdio:"inherit"});else _=N.spawn(Y,J,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,z._name),J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.execPath,J,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",(q)=>{if(q=q??1,!T)G.exit(q);else T(new H(q,"commander.executeSubCommandAsync","(close)"))}),_.on("error",(q)=>{if(q.code==="ENOENT")this._checkForMissingExecutable(Y,Z,z._name);else if(q.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new H(1,"commander.executeSubCommandAsync","(error)");R.nestedError=q,T(R)}}),this.runningCommand=_}_dispatchSubcommand(z,J,Q){let X=this._findCommand(z);if(!X)this.help({error:!0});X._prepareForParse();let Y;return Y=this._chainOrCallSubCommandHook(Y,X,"preSubcommand"),Y=this._chainOrCall(Y,()=>{if(X._executableHandler)this._executeSubCommand(X,J.concat(Q));else return X._parseCommand(J,Q)}),Y}_dispatchHelpCommand(z){if(!z)this.help();let J=this._findCommand(z);if(J&&!J._executableHandler)J.help();return this._dispatchSubcommand(z,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((z,J)=>{if(z.required&&this.args[J]==null)this.missingArgument(z.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let z=(Q,X,Y)=>{let Z=X;if(X!==null&&Q.parseArg){let $=`error: command-argument value '${X}' is invalid for argument '${Q.name()}'.`;Z=this._callParseArg(Q,X,Y,$)}return Z};this._checkNumberOfArguments();let J=[];this.registeredArguments.forEach((Q,X)=>{let Y=Q.defaultValue;if(Q.variadic){if(X<this.args.length){if(Y=this.args.slice(X),Q.parseArg)Y=Y.reduce((Z,$)=>{return z(Q,$,Z)},Q.defaultValue)}else if(Y===void 0)Y=[]}else if(X<this.args.length){if(Y=this.args[X],Q.parseArg)Y=z(Q,Y,Q.defaultValue)}J[X]=Y}),this.processedArgs=J}_chainOrCall(z,J){if(z?.then&&typeof z.then==="function")return z.then(()=>J());return J()}_chainOrCallHooks(z,J){let Q=z,X=[];if(this._getCommandAndAncestors().reverse().filter((Y)=>Y._lifeCycleHooks[J]!==void 0).forEach((Y)=>{Y._lifeCycleHooks[J].forEach((Z)=>{X.push({hookedCommand:Y,callback:Z})})}),J==="postAction")X.reverse();return X.forEach((Y)=>{Q=this._chainOrCall(Q,()=>{return Y.callback(Y.hookedCommand,this)})}),Q}_chainOrCallSubCommandHook(z,J,Q){let X=z;if(this._lifeCycleHooks[Q]!==void 0)this._lifeCycleHooks[Q].forEach((Y)=>{X=this._chainOrCall(X,()=>{return Y(this,J)})});return X}_parseCommand(z,J){let Q=this.parseOptions(J);if(this._parseOptionsEnv(),this._parseOptionsImplied(),z=z.concat(Q.operands),J=Q.unknown,this.args=z.concat(J),z&&this._findCommand(z[0]))return this._dispatchSubcommand(z[0],z.slice(1),J);if(this._getHelpCommand()&&z[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(z[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(J),this._dispatchSubcommand(this._defaultCommandName,z,J);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(Q.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let X=()=>{if(Q.unknown.length>0)this.unknownOption(Q.unknown[0])},Y=`command:${this.name()}`;if(this._actionHandler){X(),this._processArguments();let Z;if(Z=this._chainOrCallHooks(Z,"preAction"),Z=this._chainOrCall(Z,()=>this._actionHandler(this.processedArgs)),this.parent)Z=this._chainOrCall(Z,()=>{this.parent.emit(Y,z,J)});return Z=this._chainOrCallHooks(Z,"postAction"),Z}if(this.parent?.listenerCount(Y))X(),this._processArguments(),this.parent.emit(Y,z,J);else if(z.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",z,J);if(this.listenerCount("command:*"))this.emit("command:*",z,J);else if(this.commands.length)this.unknownCommand();else X(),this._processArguments()}else if(this.commands.length)X(),this.help({error:!0});else X(),this._processArguments()}_findCommand(z){if(!z)return;return this.commands.find((J)=>J._name===z||J._aliases.includes(z))}_findOption(z){return this.options.find((J)=>J.is(z))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((z)=>{z.options.forEach((J)=>{if(J.mandatory&&z.getOptionValue(J.attributeName())===void 0)z.missingMandatoryOptionValue(J)})})}_checkForConflictingLocalOptions(){let z=this.options.filter((Q)=>{let X=Q.attributeName();if(this.getOptionValue(X)===void 0)return!1;return this.getOptionValueSource(X)!=="default"});z.filter((Q)=>Q.conflictsWith.length>0).forEach((Q)=>{let X=z.find((Y)=>Q.conflictsWith.includes(Y.attributeName()));if(X)this._conflictingOption(Q,X)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((z)=>{z._checkForConflictingLocalOptions()})}parseOptions(z){let J=[],Q=[],X=J;function Y(q){return q.length>1&&q[0]==="-"}let Z=(q)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(q))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},$=null,_=null,T=0;while(T<z.length||_){let q=_??z[T++];if(_=null,q==="--"){if(X===Q)X.push(q);X.push(...z.slice(T));break}if($&&(!Y(q)||Z(q))){this.emit(`option:${$.name()}`,q);continue}if($=null,Y(q)){let R=this._findOption(q);if(R){if(R.required){let B=z[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<z.length&&(!Y(z[T])||Z(z[T])))B=z[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);$=R.variadic?R:null;continue}}if(q.length>2&&q[0]==="-"&&q[1]!=="-"){let R=this._findOption(`-${q[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,q.slice(2));else this.emit(`option:${R.name()}`),_=`-${q.slice(2)}`;continue}}if(/^--[^=]+=/.test(q)){let R=q.indexOf("="),B=this._findOption(q.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,q.slice(R+1));continue}}if(X===J&&Y(q)&&!(this.commands.length===0&&Z(q)))X=Q;if((this._enablePositionalOptions||this._passThroughOptions)&&J.length===0&&Q.length===0){if(this._findCommand(q)){J.push(q),Q.push(...z.slice(T));break}else if(this._getHelpCommand()&&q===this._getHelpCommand().name()){J.push(q,...z.slice(T));break}else if(this._defaultCommandName){Q.push(q,...z.slice(T));break}}if(this._passThroughOptions){X.push(q,...z.slice(T));break}X.push(q)}return{operands:J,unknown:Q}}opts(){if(this._storeOptionsAsProperties){let z={},J=this.options.length;for(let Q=0;Q<J;Q++){let X=this.options[Q].attributeName();z[X]=X===this._versionOptionName?this._version:this[X]}return z}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((z,J)=>Object.assign(z,J.opts()),{})}error(z,J){if(this._outputConfiguration.outputError(`${z}
|
|
21
|
+
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
22
|
+
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
|
|
23
|
+
`),this.outputHelp({error:!0});let Q=J||{},X=Q.exitCode||1,Y=Q.code||"commander.error";this._exit(X,Y,z)}_parseOptionsEnv(){this.options.forEach((z)=>{if(z.envVar&&z.envVar in G.env){let J=z.attributeName();if(this.getOptionValue(J)===void 0||["default","config","env"].includes(this.getOptionValueSource(J)))if(z.required||z.optional)this.emit(`optionEnv:${z.name()}`,G.env[z.envVar]);else this.emit(`optionEnv:${z.name()}`)}})}_parseOptionsImplied(){let z=new V(this.options),J=(Q)=>{return this.getOptionValue(Q)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Q))};this.options.filter((Q)=>Q.implied!==void 0&&J(Q.attributeName())&&z.valueFromOption(this.getOptionValue(Q.attributeName()),Q)).forEach((Q)=>{Object.keys(Q.implied).filter((X)=>!J(X)).forEach((X)=>{this.setOptionValueWithSource(X,Q.implied[X],"implied")})})}missingArgument(z){let J=`error: missing required argument '${z}'`;this.error(J,{code:"commander.missingArgument"})}optionMissingArgument(z){let J=`error: option '${z.flags}' argument missing`;this.error(J,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(z){let J=`error: required option '${z.flags}' not specified`;this.error(J,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(z,J){let Q=(Z)=>{let $=Z.attributeName(),_=this.getOptionValue($),T=this.options.find((R)=>R.negate&&$===R.attributeName()),q=this.options.find((R)=>!R.negate&&$===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return q||Z},X=(Z)=>{let $=Q(Z),_=$.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${$.envVar}'`;return`option '${$.flags}'`},Y=`error: ${X(z)} cannot be used with ${X(J)}`;this.error(Y,{code:"commander.conflictingOption"})}unknownOption(z){if(this._allowUnknownOption)return;let J="";if(z.startsWith("--")&&this._showSuggestionAfterError){let X=[],Y=this;do{let Z=Y.createHelp().visibleOptions(Y).filter(($)=>$.long).map(($)=>$.long);X=X.concat(Z),Y=Y.parent}while(Y&&!Y._enablePositionalOptions);J=D(z,X)}let Q=`error: unknown option '${z}'${J}`;this.error(Q,{code:"commander.unknownOption"})}_excessArguments(z){if(this._allowExcessArguments)return;let J=this.registeredArguments.length,Q=J===1?"":"s",X=z.length,Y=this.parent?` for '${this.name()}'`:"",Z=z.join(", "),$=`error: too many arguments${Y}. Expected ${J} argument${Q} but got ${X}: ${Z}.`;this.error($,{code:"commander.excessArguments"})}unknownCommand(){let z=this.args[0],J="";if(this._showSuggestionAfterError){let X=[];this.createHelp().visibleCommands(this).forEach((Y)=>{if(X.push(Y.name()),Y.alias())X.push(Y.alias())}),J=D(z,X)}let Q=`error: unknown command '${z}'${J}`;this.error(Q,{code:"commander.unknownCommand"})}version(z,J,Q){if(z===void 0)return this._version;this._version=z,J=J||"-V, --version",Q=Q||"output the version number";let X=this.createOption(J,Q);return this._versionOptionName=X.attributeName(),this._registerOption(X),this.on("option:"+X.name(),()=>{this._outputConfiguration.writeOut(`${z}
|
|
24
|
+
`),this._exit(0,"commander.version",z)}),this}description(z,J){if(z===void 0&&J===void 0)return this._description;if(this._description=z,J)this._argsDescription=J;return this}summary(z){if(z===void 0)return this._summary;return this._summary=z,this}alias(z){if(z===void 0)return this._aliases[0];let J=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)J=this.commands[this.commands.length-1];if(z===J._name)throw Error("Command alias can't be the same as its name");let Q=this.parent?._findCommand(z);if(Q){let X=[Q.name()].concat(Q.aliases()).join("|");throw Error(`cannot add alias '${z}' to command '${this.name()}' as already have command '${X}'`)}return J._aliases.push(z),this}aliases(z){if(z===void 0)return this._aliases;return z.forEach((J)=>this.alias(J)),this}usage(z){if(z===void 0){if(this._usage)return this._usage;let J=this.registeredArguments.map((Q)=>{return P(Q)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?J:[]).join(" ")}return this._usage=z,this}name(z){if(z===void 0)return this._name;return this._name=z,this}helpGroup(z){if(z===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=z,this}commandsGroup(z){if(z===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=z,this}optionsGroup(z){if(z===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=z,this}_initOptionGroup(z){if(this._defaultOptionGroup&&!z.helpGroupHeading)z.helpGroup(this._defaultOptionGroup)}_initCommandGroup(z){if(this._defaultCommandGroup&&!z.helpGroup())z.helpGroup(this._defaultCommandGroup)}nameFromFilename(z){return this._name=U.basename(z,U.extname(z)),this}executableDir(z){if(z===void 0)return this._executableDir;return this._executableDir=z,this}helpInformation(z){let J=this.createHelp(),Q=this._getOutputContext(z);J.prepareContext({error:Q.error,helpWidth:Q.helpWidth,outputHasColors:Q.hasColors});let X=J.formatHelp(this,J);if(Q.hasColors)return X;return this._outputConfiguration.stripColor(X)}_getOutputContext(z){z=z||{};let J=!!z.error,Q,X,Y;if(J)Q=($)=>this._outputConfiguration.writeErr($),X=this._outputConfiguration.getErrHasColors(),Y=this._outputConfiguration.getErrHelpWidth();else Q=($)=>this._outputConfiguration.writeOut($),X=this._outputConfiguration.getOutHasColors(),Y=this._outputConfiguration.getOutHelpWidth();return{error:J,write:($)=>{if(!X)$=this._outputConfiguration.stripColor($);return Q($)},hasColors:X,helpWidth:Y}}outputHelp(z){let J;if(typeof z==="function")J=z,z=void 0;let Q=this._getOutputContext(z),X={error:Q.error,write:Q.write,command:this};this._getCommandAndAncestors().reverse().forEach((Z)=>Z.emit("beforeAllHelp",X)),this.emit("beforeHelp",X);let Y=this.helpInformation({error:Q.error});if(J){if(Y=J(Y),typeof Y!=="string"&&!Buffer.isBuffer(Y))throw Error("outputHelp callback must return a string or a Buffer")}if(Q.write(Y),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",X),this._getCommandAndAncestors().forEach((Z)=>Z.emit("afterAllHelp",X))}helpOption(z,J){if(typeof z==="boolean"){if(z){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(z??"-h, --help",J??"display help for command"),z||J)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(z){return this._helpOption=z,this._initOptionGroup(z),this}help(z){this.outputHelp(z);let J=Number(G.exitCode??0);if(J===0&&z&&typeof z!=="function"&&z.error)J=1;this._exit(J,"commander.help","(outputHelp)")}addHelpText(z,J){let Q=["beforeAll","before","after","afterAll"];if(!Q.includes(z))throw Error(`Unexpected value for position to addHelpText.
|
|
25
|
+
Expecting one of '${Q.join("', '")}'`);let X=`${z}Help`;return this.on(X,(Y)=>{let Z;if(typeof J==="function")Z=J({error:Y.error,command:Y.command});else Z=J;if(Z)Y.write(`${Z}
|
|
26
|
+
`)}),this}_outputHelpIfRequested(z){let J=this._getHelpOption();if(J&&z.find((X)=>J.is(X)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function y(z){return z.map((J)=>{if(!J.startsWith("--inspect"))return J;let Q,X="127.0.0.1",Y="9229",Z;if((Z=J.match(/^(--inspect(-brk)?)$/))!==null)Q=Z[1];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Q=Z[1],/^\d+$/.test(Z[3]))Y=Z[3];else X=Z[3];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Q=Z[1],X=Z[3],Y=Z[4];if(Q&&Y!=="0")return`${Q}=${X}:${parseInt(Y)+1}`;return J})}function A(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}var qz=new E;export{K as r,S as s,E as t};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{T7 as D}from"./cli-0.7.6-67tqckbs.mjs";import{Cia as L,Gia as JG,Qia as W,Tia as a}from"./cli-0.7.6-jmpc9xmj.mjs";import{Aja as c,Bja as jG,Lja as GG}from"./cli-0.7.6-0wr25ecz.mjs";import{Lpa as U,Mpa as g}from"./cli-0.7.6-xg6ka3pp.mjs";import{gqa as H,yqa as RG}from"./cli-0.7.6-r78s2g03.mjs";import{Cqa as wG}from"./cli-0.7.6-ama4wyv2.mjs";import{Tqa as WG,Xqa as j,Yqa as e}from"./cli-0.7.6-jpjn976y.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
+
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
+
\r
|
|
4
|
+
`);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
+
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
+
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
|
|
7
|
+
`;let $=n(K);K.write(`${w}\r
|
|
8
|
+
`);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
|
|
9
|
+
`;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
|
|
10
|
+
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
+
`);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.7.6-ew2v6b0x.mjs"),import("./index-0.7.6-2rpgkwj4.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
+
export{hG as w7,p as x7,F as y7,gG as z7,aG as A7,pG as B7,KG as C7,MJ as D7,HJ as E7,OG as F7,I as G7,h as H7,qJ as I7,jJ as J7,UJ as K7,_J as L7,FJ as M7,NJ as N7,TJ as O7,vG as P7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C9 as Z,E9 as f,Tea as B,Wea as K,jea as $,kea as y}from"./cli-0.7.6-fn56g2cc.mjs";import{Dja as Y,Lja as E}from"./cli-0.7.6-0wr25ecz.mjs";import{Xqa as N,Yqa as x}from"./cli-0.7.6-jpjn976y.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
+
export{D as ti,s as ui,g as vi};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Rpa as Q,Spa as V,Tpa as W,Upa as X,Vpa as Y,Wpa as Z,fqa as w}from"./cli-0.7.6-svqwyxab.mjs";import{Xqa as v}from"./cli-0.7.6-jpjn976y.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
+
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
+
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
+
export{B as _ia,L as $ia,_ as aja,S as bja,k as cja,F as dja,D as eja,P as fja,x as gja,y as hja,T as ija,O as jja,R as kja,U as lja,f as mja,N as nja,I as oja,$ as pja,A as qja,p as rja,C as sja,h as tja,E as uja,b as vja};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ap as Rq,Bp as i,Cp as Aq,Uo as S,Zo as Zq,xo as E,yo as m,yp as l,zo as Xq}from"./cli-0.7.6-qan5xxdc.mjs";import{$aa as h,Waa as u,Yaa as g,aba as n,fba as vq,gfa as D,ofa as Qq}from"./cli-0.7.6-fn56g2cc.mjs";import{Tga as d,Vga as Uq}from"./cli-0.7.6-k5r0yz41.mjs";import{Cia as M,Gia as y,Qia as V,Tia as e,tia as P,uia as v,yia as f}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as W,pja as O,qja as C,vja as _}from"./cli-0.7.6-310844c3.mjs";import{gqa as p,yqa as qq}from"./cli-0.7.6-r78s2g03.mjs";import{Xqa as N}from"./cli-0.7.6-jpjn976y.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 ld,r as md,nq as nd,lq as od,Oq as pd,QQ as qd,XQ as rd,Dq as sd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{K8 as Z,O8 as _,P8 as w}from"./cli-0.7.6-hsa9j8sb.mjs";import{K9 as $,Kda as j,X_ as k,l_ as T,mda as W,pda as V,s$ as D,y9 as Y,z9 as U}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as N,Tia as M}from"./cli-0.7.6-jmpc9xmj.mjs";import{mpa as O,vla as X}from"./cli-0.7.6-bfwq4dm5.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
+
export{b as gb,y as hb,P as ib,d as jb,c as kb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xqa as n}from"./cli-0.7.6-jpjn976y.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
+
export{o as wV,e as xV,i as yV,g as zV,r as AV,u as BV,f as CV,l as DV,t as EV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vqa as j}from"./cli-0.7.6-jpjn976y.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
+
export{Lt as R2};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{D as G0}from"./cli-0.7.6-4eaywsgw.mjs";import{V as p0}from"./cli-0.7.6-jzk3fxqa.mjs";import{gb as E0}from"./cli-0.7.6-3vqf88sk.mjs";import{lb as k0}from"./cli-0.7.6-j9p952mf.mjs";import{Fc as P0,Hc as Fc}from"./cli-0.7.6-ccbtfaqn.mjs";import{Kc as N,Lc as uc}from"./cli-0.7.6-v3rjsfcr.mjs";import{Nc as Q0,Oc as hc}from"./cli-0.7.6-8vdxmbjt.mjs";import{hd as n0,id as x0}from"./cli-0.7.6-md1ramb7.mjs";import{Ax as X,EG as y0,EM as u0,Ex as l0,FG as _c,GM as r0,JE as Y0,MF as m0,NE as lc,NF as g0,OF as r,QF as A0,Qn as p,Rn as K0,Sn as f0,Tn as N0,Un as i0,VF as Y,Vn as d0,WF as M0,XF as Z0,YF as Mc,Yn as W,Zn as j,aT as O0,gM as _0,kT as b0,lR as d,mT as B0,nR as W0,pR as Ic,pT as ac,qM as j0,sT as D0,uT as Tc}from"./cli-0.7.6-qan5xxdc.mjs";import{I0 as x,IY as G,ZY as X0,b0 as c0,bZ as oc,d0 as y,h0 as g}from"./cli-0.7.6-56h0kfkw.mjs";import{N2 as e,O2 as m,P2 as U,Q2 as C}from"./cli-0.7.6-8k508w7p.mjs";import{H3 as H0,L3 as mc,n4 as J0,o4 as nc}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as I0,Tea as z0,Wea as ic,gda as V0,lca as V,mda as s,pca as J,pda as t,rda as q0,sca as w0,uca as U0,yca as k}from"./cli-0.7.6-fn56g2cc.mjs";import{Qfa as R,Vfa as cc}from"./cli-0.7.6-0ekx5n2q.mjs";import{Aga as fc,mga as C0,uga as L0}from"./cli-0.7.6-ek2a439r.mjs";import{Nha as q,Qha as E}from"./cli-0.7.6-z4k83sx6.mjs";import{Tia as $0}from"./cli-0.7.6-jmpc9xmj.mjs";import{Bja as K,Ija as R0,Lja as e0}from"./cli-0.7.6-0wr25ecz.mjs";import{Yla as a0,coa as T0,mpa as v0}from"./cli-0.7.6-bfwq4dm5.mjs";import{Tqa as D,Yqa as L}from"./cli-0.7.6-jpjn976y.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.7.6-3eyfg9zt.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.7.6-jqrhx95e.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.7.6-18f6pde2.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.7.6-bsjh0666.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.7.6-1d3f84xj.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.7.6-3ds3vmhq.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.7.6-014qynp3.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.7.6-5axvmtp3.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
+
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
+
export{Cc as v,Lc as w,Gf as x,wc as y,z,Ef as A,kf as B,pf as C};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{E as D}from"./cli-0.7.6-b39v6rz1.mjs";import{O as x}from"./cli-0.7.6-9w6egknj.mjs";import{$a as A}from"./cli-0.7.6-0n7tfcxz.mjs";import{ab as L}from"./cli-0.7.6-69hzrwk9.mjs";import{Ho as k,Io as U,Lo as F,Mo as p,tT as b,uT as u}from"./cli-0.7.6-qan5xxdc.mjs";import{eU as O,hU as c}from"./cli-0.7.6-md31wz8f.mjs";import{G3 as Y,L3 as I,P5 as w,Q5 as M,Q6 as E,R6 as G,v7 as m}from"./cli-0.7.6-7mzraehr.mjs";import{Kca as X,Lca as B,Tea as $,Wea as z}from"./cli-0.7.6-fn56g2cc.mjs";import{$ga as y,_ga as _}from"./cli-0.7.6-8h5rwm21.mjs";import{Qia as K,Tia as T}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as V,vja as S}from"./cli-0.7.6-310844c3.mjs";import{Bja as J,Dja as N,Lja as v}from"./cli-0.7.6-0wr25ecz.mjs";import{gqa as W,yqa as j}from"./cli-0.7.6-r78s2g03.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
+
export{Xq as D};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xqa as o}from"./cli-0.7.6-jpjn976y.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
+
export{t as U7,i as V7,n as W7,s as X7,c as Y7,r as Z7,a as _7,p as $7,_ as a8,S as b8,E as c8,e as d8};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bja as q,Lja as U}from"./cli-0.7.6-0wr25ecz.mjs";import{Wqa as L,Xqa as X}from"./cli-0.7.6-jpjn976y.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
+
export{G as $W,Y as aX,Z as bX,$ as cX,Q as dX,_ as eX,v as fX,E as gX,A as hX,h as iX,u as jX,f as kX,w as lX,S as mX,P as nX,I as oX,l as pX,y as qX,g as rX};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I0 as f,IY as s,d0 as t}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as n,P2 as c,Q2 as r}from"./cli-0.7.6-8k508w7p.mjs";import{Tqa as m,Xqa as l}from"./cli-0.7.6-jpjn976y.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
+
export{T as og,p as pg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mx as Pq,On as T,Pn as Cq,Qx as cq}from"./cli-0.7.6-qan5xxdc.mjs";import{jY as Uq,kY as Iq,nY as kq}from"./cli-0.7.6-xczzrd9d.mjs";import{I0 as hq,IY as aq,b0 as L,d0 as O}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as J,P2 as Q,Q2 as vq}from"./cli-0.7.6-8k508w7p.mjs";import{G4 as bq,H4 as Mq,_4 as Sq}from"./cli-0.7.6-7mzraehr.mjs";import{$$ as fq,Kda as Bq,Z$ as Nq,n_ as Xq,o_ as jq,pda as Rq}from"./cli-0.7.6-fn56g2cc.mjs";import{Aga as nq}from"./cli-0.7.6-ek2a439r.mjs";import{Tqa as yq,Xqa as Gq}from"./cli-0.7.6-jpjn976y.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
|
|
2
|
+
export{dq as Bf,eq as Cf,Wq as Df,LH as Ef,uq as Ff};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Kw as I,Lw as P,Pw as t,wp as W,xp as n}from"./cli-0.7.6-qan5xxdc.mjs";import{W2 as H,X2 as p}from"./cli-0.7.6-7szsqp12.mjs";import{Y2 as C,_2 as i}from"./cli-0.7.6-0gzsv22g.mjs";import{G3 as S,L3 as c,X6 as R,b7 as V,v7 as l,w6 as v}from"./cli-0.7.6-7mzraehr.mjs";import{Jea as T,Kca as q,Kda as O,Kea as Y,Lca as u,Qea as y,Tea as k,Wea as g,gfa as D,mda as E,ofa as m,pda as X}from"./cli-0.7.6-fn56g2cc.mjs";import{Tga as G,Vga as f,Wga as $,Xga as h}from"./cli-0.7.6-k5r0yz41.mjs";import{Gha as Z,Lha as _,Mha as M}from"./cli-0.7.6-5qabm4xe.mjs";import{Qia as x,Tia as b}from"./cli-0.7.6-jmpc9xmj.mjs";import{gqa as Q,yqa as A}from"./cli-0.7.6-r78s2g03.mjs";import{Xqa as U}from"./cli-0.7.6-jpjn976y.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
+
export{Yj as qc,r as rc};
|