@claudiolabs/claudin 0.5.13 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/claudin +78 -20
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +1 -0
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +3 -0
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +1 -0
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +1 -0
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +1 -0
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +1 -0
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +3 -0
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +110 -0
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +1 -0
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +1 -0
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +1 -0
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +1 -0
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +1 -0
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +1 -0
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +1 -0
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +1 -0
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +3 -0
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +4 -0
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +1 -0
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +1 -0
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +1 -0
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +12 -0
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +20 -0
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +45 -0
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +17 -0
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +2 -0
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2hnyx7jy.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +18 -0
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +4 -0
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +16 -0
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +17 -0
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +2 -0
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +18 -0
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-6hak6gny.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +12 -0
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +4 -0
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +9 -0
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +133 -0
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +5 -0
- package/dist/chunks/cli-0.6.0-9zx9qdaq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +193 -0
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +2 -0
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +4 -0
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +3 -0
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +2 -0
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +3 -0
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +2 -0
- package/dist/chunks/cli-0.6.0-djm9knfa.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +4 -0
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +3 -0
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +3 -0
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +4 -0
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +6 -0
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +34 -0
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +7 -0
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +50 -0
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +67 -0
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +9 -0
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +8 -0
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +6 -0
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +5 -0
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +4 -0
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +58 -0
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +42 -0
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +6 -0
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +59 -0
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +4 -0
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +15 -0
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +21 -0
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +2 -0
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +12 -0
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +3 -0
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +25 -0
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +2 -0
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +5321 -0
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +4 -0
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +18 -0
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +133 -0
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +10 -0
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +39 -0
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +1 -0
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +24 -0
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +5 -0
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +24 -0
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +1 -0
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +1 -0
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +3 -0
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +1 -0
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +1 -0
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +1 -0
- package/dist/chunks/context-0.6.0-t33461h9.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +1 -0
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +1 -0
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +9 -0
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +1 -0
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +1 -0
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +1365 -0
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +1 -0
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +1 -0
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +1 -0
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +1 -0
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +10 -0
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +1 -0
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +1 -0
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +1 -0
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +1 -0
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +1 -0
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +1 -0
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +1 -0
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +1 -0
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +4 -0
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +1 -0
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +1 -0
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +2 -0
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +6 -0
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +1 -0
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +3 -0
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +79 -0
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +1 -0
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +1 -0
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +1 -0
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +1 -0
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +2 -0
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +2 -0
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +1 -0
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +1 -0
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +9 -0
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +1 -0
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +1 -0
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +1 -0
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +5 -0
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +1 -0
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +1 -0
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +30 -0
- package/dist/chunks/index-0.6.0-nst006cq.mjs +17 -0
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +1 -0
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +1 -0
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +9 -0
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +1 -0
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +1 -0
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +1 -0
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +1 -0
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +1 -0
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +1 -0
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +870 -0
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +1 -0
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +2 -0
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +1 -0
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +1 -0
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +4 -0
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +17 -0
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +1 -0
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +3 -0
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +2 -0
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +1 -0
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +2 -0
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +12 -0
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +14 -0
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +1 -0
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +1 -0
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +1 -0
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +3 -0
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +1 -0
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +1 -0
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +1 -0
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +2 -0
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +1 -0
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +9 -0
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +1 -0
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +1 -0
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +13 -0
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +34 -0
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +1 -0
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +2 -0
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +1 -0
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +1 -0
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +2 -0
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +1 -0
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +1 -0
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +1 -0
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +5 -0
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +1 -0
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +1 -0
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +1 -0
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +6 -0
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +1 -0
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +1 -0
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +1 -0
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +1 -0
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +1 -0
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +1 -0
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +1 -0
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +4 -0
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +86 -0
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +1 -0
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +1 -0
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +1 -0
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +1 -0
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +1 -0
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +1 -0
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +132 -0
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +1 -0
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
- package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
- package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
- package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
- /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.6.0-hcx40dgf.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.6.0-ktf52b8k.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.6.0-td7dsace.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$K as P,Hh as M,Ih as W,_K as O,aL as Q,bL as U,eL as X}from"./cli-0.5.13-2vy5qjm5.mjs";import{eoa as V}from"./cli-0.5.13-rmc7f4b8.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as ug,$ as vg};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{pb as b}from"./cli-0.5.13-hwcqeqbn.mjs";import{mf as zK,rf as dK}from"./cli-0.5.13-jc4m6d2k.mjs";import{$I as cK,$u as xK,CG as hK,DG as mK,FQ as j,Gy as oz,HQ as uK,Iy as sz,JI as tz,Jy as fK,KI as pK,Uu as Cz,ZI as ez,cl as rz,el as bK,fn as M,gn as vK,iM as Ez,in as iz,mn as SK,qH as wz,rM as FK,yH as MK}from"./cli-0.5.13-2vy5qjm5.mjs";import{MV as Kz,RV as AK,SV as Qz,TV as GK}from"./cli-0.5.13-tr9s34te.mjs";import{A2 as k,L2 as nz,P2 as jK,V3 as Tz,X3 as Mz,Z3 as R,h2 as Uz,h4 as xz,i2 as lz,o2 as Dz,r0 as U,t2 as I,v2 as _z,w0 as O}from"./cli-0.5.13-p4f4h0g7.mjs";import{D4 as G,E4 as _K}from"./cli-0.5.13-5tva2fr1.mjs";import{Fca as V,Haa as gz,I6 as Zz,I7 as dz,J6 as RK,L$ as q,N$ as H,Naa as $,Nca as A,P$ as uz,P7 as EK,Q$ as S,Q6 as T,Qaa as W,R$ as kz,S6 as CK,U$ as Jz,Waa as Wz,Xaa as Bz,Y8 as t,Yaa as az,_$ as _,b9 as LK,h9 as e,iba as L,l9 as UK,m7 as $z,o7 as TK,s7 as cz,s9 as zz,u9 as DK}from"./cli-0.5.13-p70x9j1v.mjs";import{nda as E,sda as kK}from"./cli-0.5.13-sfjdg8y7.mjs";import{tea as pz,uea as PK}from"./cli-0.5.13-cwy43qr2.mjs";import{hfa as Z,jfa as N}from"./cli-0.5.13-ktrr6zcr.mjs";import{$fa as BK,Rfa as r,Tfa as WK,Ufa as i,Xfa as o}from"./cli-0.5.13-a9gqqmjh.mjs";import{rga as s,sga as NK}from"./cli-0.5.13-g76ge0hv.mjs";import{Dga as y,Fga as n,Kga as VK}from"./cli-0.5.13-ywwd10c0.mjs";import{Pga as C,Qga as v,Sga as hz,Yga as mz,_ga as yK}from"./cli-0.5.13-vhjxq97s.mjs";import{Dka as fz,Kka as a,Pja as Iz,Qja as bz,Rja as Oz,Tja as vz,bla as l,rka as Sz,via as F,vma as w,zia as JK}from"./cli-0.5.13-chdvhgrk.mjs";import{boa as wK}from"./cli-0.5.13-rmc7f4b8.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
|
|
5
|
-
`)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
|
|
8
|
-
export{ZQ as M,$Q as N,qQ as O,HQ as P,nX as Q,rX as R,iX as S,oX as T,sX as U,tX as V,eX as W,zY as X,KY as Y,QY as Z};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eoa as P}from"./cli-0.5.13-rmc7f4b8.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
-
export{k as lT,w as mT,H as nT,g as oT,V as pT,W as qT,L as rT,Y as sT};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{hd as m,id as v,jd as wk}from"./cli-0.5.13-4yqsxc90.mjs";import{Ay as Gk,CC as Lk,CO as jk,Ts as l,Us as Vk,YD as n,ZD as V,Zl as p,_D as i,_l as zk,bE as Tk,jL as o,lL as t,oL as Dk,sL as e,tL as Uk,wC as g,xC as a,xO as r,yO as kk,zy as s}from"./cli-0.5.13-2vy5qjm5.mjs";import{T0 as d,V0 as Ok,r0 as T,w0 as Jk}from"./cli-0.5.13-p4f4h0g7.mjs";import{B4 as Mk,n4 as f,o4 as Ik,y4 as c}from"./cli-0.5.13-gw433gw1.mjs";import{p6 as S,u6 as _k}from"./cli-0.5.13-kry2fk76.mjs";import{L$ as j,Q6 as K,Qaa as x,S6 as Zk,T7 as P,Uaa as b,X7 as $k,_$ as Kk,bba as u,iba as $,qca as _,tca as Hk}from"./cli-0.5.13-p70x9j1v.mjs";import{nda as J,sda as Yk}from"./cli-0.5.13-sfjdg8y7.mjs";import{ffa as L,gfa as Bk}from"./cli-0.5.13-vee98ybt.mjs";import{jga as B,mfa as O,mga as U,ofa as Rk}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as Y,Kga as Xk,xga as h}from"./cli-0.5.13-ywwd10c0.mjs";import{Qga as E,_ga as Wk}from"./cli-0.5.13-vhjxq97s.mjs";import{$ja as F,bka as y,rka as w,vma as z}from"./cli-0.5.13-chdvhgrk.mjs";import{Uma as A,Vma as Qk}from"./cli-0.5.13-p7q9grjp.mjs";import{foa as W}from"./cli-0.5.13-rmc7f4b8.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.5.13-2t54ma0f.mjs"),import("./growthbook-0.5.13-hnyag67m.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.5.13-qxsd8pz8.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.5.13-6fym13ah.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.5.13-ea9wnqk5.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
-
`),kk(1);return}return import("./InvalidConfigDialog-0.5.13-9azv44xk.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.5.13-qe85v218.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
-
export{Yq as da,Zq as ea};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{pga as ZX,sga as y8}from"./cli-0.5.13-g76ge0hv.mjs";import{Ega as r,Kga as R8}from"./cli-0.5.13-ywwd10c0.mjs";import{Nga as $X,Qga as NJ,_ga as j8}from"./cli-0.5.13-vhjxq97s.mjs";import{$ga as dQ,Aha as v6,Dha as l,Eha as wQ,Eia as XX,Fha as w,Gha as kQ,Jha as yJ,Kha as OX,Lha as h,Mha as vJ,Nha as tJ,Oha as hX,Pha as hJ,Qha as wX,Rha as y,Sha as OJ,Tha as gQ,Uha as m6,Xha as O,Yha as GJ,aha as P6,fha as qJ,gha as oX,jha as eJ,kha as fX,lha as fQ,mha as T6,nha as $Q,oha as cX,rha as JQ,sha as pX,tha as g,uha as oJ,vha as n,vma as sQ,wha as LQ,zha as pQ}from"./cli-0.5.13-chdvhgrk.mjs";import{Cma as cJ,Dma as TX,Ema as HJ,Fma as J6,Ima as L,Jma as XJ,Oma as LJ,Pma as zX,Uma as V,Vma as xJ,wma as SJ,xma as CX}from"./cli-0.5.13-p7q9grjp.mjs";import{doa as uJ,eoa as U,goa as N,hoa as W}from"./cli-0.5.13-rmc7f4b8.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
-
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
-
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
-
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
-
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
-
export{zJ as kfa,BJ as lfa,IJ as mfa,r8 as nfa,CJ as ofa,e as pfa,_J as qfa,m as rfa,JJ as sfa,j as tfa,QJ as ufa,R as vfa,k as wfa,_ as xfa,d as yfa,$J as zfa,lJ as Afa,iJ as Bfa,rJ as Cfa,b as Dfa,ZJ as Efa,ZQ as Ffa,YQ as Gfa,BQ as Hfa,IQ as Ifa,RQ as Jfa,AQ as Kfa,nQ as Lfa,lQ as Mfa,E as Nfa,KJ as Ofa,I8 as Pfa,C8 as Qfa,F8 as Rfa,V8 as Sfa,UJ as Tfa,JX as Ufa,H1 as Vfa,G1 as Wfa,s as Xfa,K1 as Yfa,U1 as Zfa,N1 as _fa,QX as $fa,g8 as aga,T as bga,L1 as cga,b8 as dga,GX as ega,KX as fga,_1 as gga,S1 as hga,O1 as iga,D8 as jga,UX as kga,w1 as lga,aQ as mga};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hfa as X,jfa as z}from"./cli-0.5.13-ktrr6zcr.mjs";import{Ofa as Z,Tfa as O,jga as $,mga as P}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as Y,Kga as H}from"./cli-0.5.13-ywwd10c0.mjs";import{eoa as x}from"./cli-0.5.13-rmc7f4b8.mjs";function h(q){return q.replace(w,(Q,J,K)=>{if(K.length<F)return`"${J}":"[REDACTED]"`;let V=`${K.slice(0,8)}...${K.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let Q=typeof q==="string"?q:Z(q),J=h(Q);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function R(q){let Q=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let K=J.data,V=typeof K.message==="string"?K.message:typeof K.error==="object"&&K.error&&("message"in K.error)&&typeof K.error.message==="string"?K.error.message:void 0;if(V)return`${Q}: ${V}`}}return Q}function U(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function j(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function D(q,Q,J){if(Q)$(Q);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
-
export{N as le,R as me,U as ne,j as oe,D as pe,m as qe};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{coa as I,eoa as YJ}from"./cli-0.5.13-rmc7f4b8.mjs";var N=I((FJ,Iq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Iq.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=I((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=I((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var O1=L.re=[],I1=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($),W=w1++;F1(q,W,$),z[q]=W,j[W]=$,H1[W]=Q,O1[W]=new RegExp($,J?"g":void 0),I1[W]=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,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);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=I((IJ,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=I((HJ,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 D=I((wJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),X1=b(),{compareIdentifiers:e}=o(),P1=(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($=X1($),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 W=+Q;if(W>=0&&W<f)return W}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 W=this.prerelease.length;while(--W>=0)if(typeof this.prerelease[W]==="number")this.prerelease[W]++,W=-2;if(W===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let W=[$,Q];if(J===!1)W=[$];if(P1(this.prerelease,$)){let Z=this.prerelease[$.split(".").length];if(isNaN(Z))this.prerelease=W}else this.prerelease=W}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=I((yJ,Pq)=>{var Xq=D(),_1=(q,$,J=!1)=>{if(q instanceof Xq)return q;try{return new Xq(q,$)}catch(Q){if(!J)return null;throw Q}};Pq.exports=_1});var Aq=I((BJ,_q)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};_q.exports=L1});var Eq=I((xJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=I((DJ,Cq)=>{var Nq=D(),C1=(q,$,J,Q,W)=>{if(typeof J==="string")W=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,W).version}catch(Z){return null}};Cq.exports=C1});var uq=I((GJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),W=J.compare(Q);if(W===0)return null;let Z=W>0,K=Z?J:Q,Y=Z?Q:J,U=!!K.prerelease.length;if(!!Y.prerelease.length&&!U){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let F=U?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=S1});var Mq=I((VJ,Tq)=>{var R1=D(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=I((XJ,bq)=>{var u1=D(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=I((PJ,fq)=>{var M1=D(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=I((_J,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var P=I((AJ,cq)=>{var gq=D(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=I((LJ,mq)=>{var d1=P(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=I((EJ,sq)=>{var g1=P(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=I((NJ,iq)=>{var nq=D(),m1=(q,$,J)=>{let Q=new nq(q,J),W=new nq($,J);return Q.compare(W)||Q.compareBuild(W)};iq.exports=m1});var rq=I((CJ,tq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));tq.exports=s1});var eq=I((SJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=I((RJ,q0)=>{var i1=P(),t1=(q,$,J)=>i1(q,$,J)>0;q0.exports=t1});var g=I((kJ,$0)=>{var r1=P(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=I((uJ,J0)=>{var e1=P(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=I((TJ,Q0)=>{var $$=P(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=I((MJ,W0)=>{var Q$=P(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=I((bJ,Z0)=>{var Z$=P(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=I((hJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),O$=m(),I$=(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 O$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=I$});var z0=I((fJ,j0)=>{var H$=D(),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 U=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],H;while((H=U.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;U.lastIndex=H.index+H[1].length+H[2].length}U.lastIndex=-1}if(J===null)return null;let Q=J[2],W=J[3]||"0",Z=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${W}.${Z}${K}${Y}`,$)};j0.exports=y$});var U0=I((vJ,Y0)=>{var B$=E(),x$=N(),D$=D(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&X$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},X$=(q,$)=>{if(P$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},P$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var I0=I((dJ,O0)=>{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}}O0.exports=F0});var _=I((lJ,B0)=>{var _$=/\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(_$," "),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 W=this.options.loose,Z=W?V[G.HYPHENRANGELOOSE]:V[G.HYPHENRANGE];q=q.replace(Z,p$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(V[G.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(V[G.TILDETRIM],S$),B("tilde trim",q),q=q.replace(V[G.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((F)=>b$(F,this.options)).join(" ").split(/\s+/).map((F)=>m$(F,this.options));if(W)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(V[G.COMPARATORLOOSE])});B("range list",K);let Y=new Map,U=K.map((F)=>new Qq(F,this.options));for(let F of U){if(w0(F))return[F];Y.set(F.value,F)}if(Y.size>1&&Y.has(""))Y.delete("");let H=[...Y.values()];return H0.set(J,H),H}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((W)=>{return Q.every((Z)=>{return W.intersects(Z,$)})})})})}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(s$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=I0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=D(),{safeRe:V,src:N$,t:G,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[G.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),W=Q.pop();while(J&&Q.length)J=Q.every((Z)=>{return W.intersects(Z,$)}),W=Q.pop();return J},b$=(q,$)=>{return q=q.replace(V[G.BUILD],""),B("comp",q,$),q=v$(q,$),B("caret",q),q=h$(q,$),B("tildes",q),q=l$(q,$),B("xrange",q),q=c$(q,$),B("stars",q),q},X=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>f$(J,$)).join(" ")},f$=(q,$)=>{let J=$.loose?V[G.TILDELOOSE]:V[G.TILDE];return q.replace(J,(Q,W,Z,K,Y)=>{B("tilde",q,Q,W,Z,K,Y);let U;if(X(W))U="";else if(X(Z))U=`>=${W}.0.0 <${+W+1}.0.0-0`;else if(X(K))U=`>=${W}.${Z}.0 <${W}.${+Z+1}.0-0`;else if(Y)B("replaceTilde pr",Y),U=`>=${W}.${Z}.${K}-${Y} <${W}.${+Z+1}.0-0`;else U=`>=${W}.${Z}.${K} <${W}.${+Z+1}.0-0`;return B("tilde return",U),U})},v$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>d$(J,$)).join(" ")},d$=(q,$)=>{B("caret",q,$);let J=$.loose?V[G.CARETLOOSE]:V[G.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(W,Z,K,Y,U)=>{B("caret",q,W,Z,K,Y,U);let H;if(X(Z))H="";else if(X(K))H=`>=${Z}.0.0${Q} <${+Z+1}.0.0-0`;else if(X(Y))if(Z==="0")H=`>=${Z}.${K}.0${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.0${Q} <${+Z+1}.0.0-0`;else if(U)if(B("replaceCaret pr",U),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}-${U} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}-${U} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y}-${U} <${+Z+1}.0.0-0`;else if(B("no pr"),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}${Q} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y} <${+Z+1}.0.0-0`;return B("caret return",H),H})},l$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>g$(J,$)).join(" ")},g$=(q,$)=>{q=q.trim();let J=$.loose?V[G.XRANGELOOSE]:V[G.XRANGE];return q.replace(J,(Q,W,Z,K,Y,U)=>{B("xRange",q,Q,W,Z,K,Y,U);let H=X(Z),F=H||X(K),y=F||X(Y),x=y;if(W==="="&&x)W="";if(U=$.includePrerelease?"-0":"",H)if(W===">"||W==="<")Q="<0.0.0-0";else Q="*";else if(W&&x){if(F)K=0;if(Y=0,W===">")if(W=">=",F)Z=+Z+1,K=0,Y=0;else K=+K+1,Y=0;else if(W==="<=")if(W="<",F)Z=+Z+1;else K=+K+1;if(W==="<")U="-0";Q=`${W+Z}.${K}.${Y}${U}`}else if(F)Q=`>=${Z}.0.0${U} <${+Z+1}.0.0-0`;else if(y)Q=`>=${Z}.${K}.0${U} <${Z}.${+K+1}.0-0`;return B("xRange return",Q),Q})},c$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(V[G.STAR],"")},m$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(V[$.includePrerelease?G.GTE0PRE:G.GTE0],"")},p$=(q)=>($,J,Q,W,Z,K,Y,U,H,F,y,x)=>{if(X(Q))J="";else if(X(W))J=`>=${Q}.0.0${q?"-0":""}`;else if(X(Z))J=`>=${Q}.${W}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(X(H))U="";else if(X(F))U=`<${+H+1}.0.0-0`;else if(X(y))U=`<${H}.${+F+1}.0-0`;else if(x)U=`<=${H}.${F}.${y}-${x}`;else if(q)U=`<${H}.${F}.${+y+1}-0`;else U=`<=${U}`;return`${J} ${U}`.trim()},s$=(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 W=q[Q].semver;if(W.major===$.major&&W.minor===$.minor&&W.patch===$.patch)return!0}}return!1}return!0}});var u=I((gJ,P0)=>{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 X0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new X0(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}}P0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=D(),X0=_()});var M=I((cJ,_0)=>{var a$=_(),n$=(q,$,J)=>{try{$=new a$($,J)}catch(Q){return!1}return $.test(q)};_0.exports=n$});var L0=I((mJ,A0)=>{var i$=_(),t$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=t$});var N0=I((pJ,E0)=>{var r$=D(),o$=_(),e$=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new o$($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===-1)Q=K,W=new r$(Q,J)}}),Q};E0.exports=e$});var S0=I((sJ,C0)=>{var q9=D(),$9=_(),J9=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new $9($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===1)Q=K,W=new q9(Q,J)}}),Q};C0.exports=J9});var u0=I((aJ,k0)=>{var Kq=D(),Q9=_(),R0=R(),W9=(q,$)=>{q=new Q9(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 W=q.set[Q],Z=null;if(W.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(!Z||R0(Y,Z))Z=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),Z&&(!J||R0(J,Z)))J=Z}if(J&&q.test(J))return J;return null};k0.exports=W9});var M0=I((nJ,T0)=>{var Z9=_(),K9=(q,$)=>{try{return new Z9(q,$).range||"*"}catch(J){return null}};T0.exports=K9});var n=I((iJ,v0)=>{var j9=D(),f0=u(),{ANY:z9}=f0,Y9=_(),U9=M(),b0=R(),h0=g(),F9=m(),O9=c(),I9=(q,$,J,Q)=>{q=new j9(q,Q),$=new Y9($,Q);let W,Z,K,Y,U;switch(J){case">":W=b0,Z=F9,K=h0,Y=">",U=">=";break;case"<":W=h0,Z=O9,K=b0,Y="<",U="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(U9(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((O)=>{if(O.semver===z9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,W(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===U)return!1;if((!x.operator||x.operator===Y)&&Z(q,x.semver))return!1;else if(x.operator===U&&K(q,x.semver))return!1}return!0};v0.exports=I9});var l0=I((tJ,d0)=>{var H9=n(),w9=(q,$,J)=>H9(q,$,">",J);d0.exports=w9});var c0=I((rJ,g0)=>{var y9=n(),B9=(q,$,J)=>y9(q,$,"<",J);g0.exports=B9});var s0=I((oJ,p0)=>{var m0=_(),x9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=x9});var n0=I((eJ,a0)=>{var D9=M(),G9=P();a0.exports=(q,$,J)=>{let Q=[],W=null,Z=null,K=q.sort((F,y)=>G9(F,y,J));for(let F of K)if(D9(F,$,J)){if(Z=F,!W)W=F}else{if(Z)Q.push([W,Z]);Z=null,W=null}if(W)Q.push([W,null]);let Y=[];for(let[F,y]of Q)if(F===y)Y.push(F);else if(!y&&F===K[0])Y.push("*");else if(!y)Y.push(`>=${F}`);else if(F===K[0])Y.push(`<=${y}`);else Y.push(`${F} - ${y}`);let U=Y.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return U.length<H.length?U:$}});var q1=I((qQ,e0)=>{var i0=_(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=P(),V9=(q,$,J={})=>{if(q===$)return!0;q=new i0(q,J),$=new i0($,J);let Q=!1;q:for(let W of q.set){for(let Z of $.set){let K=P9(W,Z,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},X9=[new Yq(">=0.0.0-0")],t0=[new Yq(">=0.0.0")],P9=(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=X9;else q=t0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=t0;let Q=new Set,W,Z;for(let O of q)if(O.operator===">"||O.operator===">=")W=r0(W,O,J);else if(O.operator==="<"||O.operator==="<=")Z=o0(Z,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(W&&Z){if(K=Uq(W.semver,Z.semver,J),K>0)return null;else if(K===0&&(W.operator!==">="||Z.operator!=="<="))return null}for(let O of Q){if(W&&!zq(O,String(W),J))return null;if(Z&&!zq(O,String(Z),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,U,H,F,y=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1,x=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1;if(y&&y.prerelease.length===1&&Z.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(F=F||O.operator===">"||O.operator===">=",H=H||O.operator==="<"||O.operator==="<=",W){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(W,O,J),Y===O&&Y!==W)return!1}else if(W.operator===">="&&!O.test(W.semver))return!1}if(Z){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(U=o0(Z,O,J),U===O&&U!==Z)return!1}else if(Z.operator==="<="&&!O.test(Z.semver))return!1}if(!O.operator&&(Z||W)&&K!==0)return!1}if(W&&H&&!Z&&K!==0)return!1;if(Z&&F&&!W&&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=V9});var W1=I(($Q,Q1)=>{var Fq=C(),$1=N(),_9=D(),J1=o(),A9=E(),L9=Aq(),E9=Eq(),N9=Sq(),C9=uq(),S9=Mq(),R9=hq(),k9=vq(),u9=lq(),T9=P(),M9=pq(),b9=aq(),h9=l(),f9=rq(),v9=eq(),d9=R(),l9=g(),g9=qq(),c9=$q(),m9=c(),p9=m(),s9=Jq(),a9=z0(),n9=U0(),i9=u(),t9=_(),r9=M(),o9=L0(),e9=N0(),qJ=S0(),$J=u0(),JJ=M0(),QJ=n(),WJ=l0(),ZJ=c0(),KJ=s0(),jJ=n0(),zJ=q1();Q1.exports={parse:A9,valid:L9,clean:E9,inc:N9,diff:C9,major:S9,minor:R9,patch:k9,prerelease:u9,compare:T9,rcompare:M9,compareLoose:b9,compareBuild:h9,sort:f9,rsort:v9,gt:d9,lt:l9,eq:g9,neq:c9,gte:m9,lte:p9,cmp:s9,coerce:a9,truncate:n9,Comparator:i9,Range:t9,satisfies:r9,toComparators:o9,maxSatisfying:e9,minSatisfying:qJ,minVersion:$J,validRange:JJ,outside:QJ,gtr:WJ,ltr:ZJ,intersects:KJ,simplifyRange:jJ,subset:zJ,SemVer:_9,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 i(){if(!Oq)Oq=W1();return Oq}function JQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return i().gt(q,$,{loose:!0})}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return i().gte(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return i().lt(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return i().satisfies(q,$,{loose:!0})}var Oq;var UJ=()=>{};
|
|
2
|
-
export{W1 as TY,JQ as UY,QQ as VY,WQ as WY,ZQ as XY,UJ as YY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kD as R,lD as E,mD as l,nD as i,oD as c,pD as w,qD as O,uD as y,vD as e}from"./cli-0.5.13-2vy5qjm5.mjs";import{kV as x,lV as s}from"./cli-0.5.13-qrn019we.mjs";import{RX as Q,aY as K,cW as n,kX as j,lX as r,vX as k,xX as W}from"./cli-0.5.13-tr9s34te.mjs";import{EZ as A,FZ as V,GZ as D,HZ as v}from"./cli-0.5.13-f1e673b2.mjs";import{IZ as t}from"./cli-0.5.13-d1xn4v80.mjs";import{aoa as q,eoa as p}from"./cli-0.5.13-rmc7f4b8.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
|
|
2
|
-
export{X1 as _f,u as $f,W1 as ag,B1 as bg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{id as L,jd as m}from"./cli-0.5.13-4yqsxc90.mjs";import{pd as O,qd as G,rd as u}from"./cli-0.5.13-fjs5qecq.mjs";import{B3 as A,h4 as E,s3 as U,w3 as k}from"./cli-0.5.13-p4f4h0g7.mjs";import{Fba as x,Fca as y,N$ as N,Naa as F,Nca as C,Qaa as D,Xaa as Q,_$ as g,a_ as K,b_ as Z,h_ as P,iba as h,qba as R,wba as _,xba as $}from"./cli-0.5.13-p70x9j1v.mjs";import{Cga as Y,Kga as f}from"./cli-0.5.13-ywwd10c0.mjs";import{Rja as J,vma as b}from"./cli-0.5.13-chdvhgrk.mjs";import{eoa as T}from"./cli-0.5.13-rmc7f4b8.mjs";function n(){V=!0}function M(){if(!V)return!1;return V=!1,!0}function a(j){return(z)=>({...z,...typeof j.permission_mode==="string"?{toolPermissionContext:{...z.toolPermissionContext,mode:Z(j.permission_mode)}}:{},...typeof j.is_ultraplan_mode==="boolean"?{isUltraplanMode:j.is_ultraplan_mode}:{}})}function t({newState:j,oldState:z}){let W=M(),X=z.toolPermissionContext.mode,H=j.toolPermissionContext.mode;if(X!==H){let q=K(X),B=K(H);if(q!==B){let I=B==="plan"&&j.isUltraplanMode&&!z.isUltraplanMode?!0:null;O({permission_mode:B,is_ultraplan_mode:I})}G(H)}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel===null){if(J(null),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:void 0}));else N("userSettings",{model:void 0}),$()}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel!==null){if(J(j.mainLoopModel),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:j.mainLoopModel??void 0}));else N("userSettings",{model:j.mainLoopModel}),_(j.mainLoopModel)}if(j.expandedView!==z.expandedView){let q=j.expandedView==="tasks",B=j.expandedView==="teammates";if(D().showExpandedTodos!==q||D().showSpinnerTree!==B)F((I)=>({...I,showExpandedTodos:q,showSpinnerTree:B}))}if(j.verbose!==z.verbose&&D().verbose!==j.verbose){let q=j.verbose;F((B)=>({...B,verbose:q}))}if(j.collapseSubagentProgress!==z.collapseSubagentProgress&&D().collapseSubagentProgress!==j.collapseSubagentProgress){let q=j.collapseSubagentProgress;F((B)=>({...B,collapseSubagentProgress:q}))}if(j.settings!==z.settings)try{if(U(),k(),A(),j.settings.env!==z.settings.env)L()}catch(q){y(Y(q))}}var V=!1;var c=T(()=>{b();E();h();f();C();m();x();P();u();g()});
|
|
2
|
-
export{n as dd,a as ed,t as fd,c as gd};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{$na as Z}from"./cli-0.5.13-epjykaww.mjs";import{coa as Y,foa as O}from"./cli-0.5.13-rmc7f4b8.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
-
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
-
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
-
export{ye as Una};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sda as q,Uda as A,Vda as x,Wda as B}from"./cli-0.5.13-yc6wyazy.mjs";import{Tfa as J}from"./cli-0.5.13-a9gqqmjh.mjs";import{Kga as G}from"./cli-0.5.13-ywwd10c0.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Dg as c,Eg as _f}from"./cli-0.5.13-8wrj5aqm.mjs";import{Ek as y,FP as g,Fs as h,Gs as Qf,Kk as zf,Ok as N,Qz as m,RA as M,Sj as s,Sq as E,Tj as e,Tk as Bf,Tq as Jf,UA as Yf,XN as I,Zj as w,bv as C,cv as Vf,dA as T,eA as Xf,ei as O,fQ as Df,gQ as S,hq as L,iq as P,jq as Gf,lP as v,oC as u,ri as R,si as t,sk as ff,vC as Zf,wO as jf,yP as A}from"./cli-0.5.13-2vy5qjm5.mjs";import{Fca as H,Nca as a}from"./cli-0.5.13-p70x9j1v.mjs";import{hfa as F,jfa as o}from"./cli-0.5.13-ktrr6zcr.mjs";import{Dja as x,Eia as U,Fia as W,Kia as q,vma as r}from"./cli-0.5.13-chdvhgrk.mjs";import{boa as K,eoa as n}from"./cli-0.5.13-rmc7f4b8.mjs";import{randomUUID as $f}from"crypto";async function Tf({setMessages:V,readFileState:l,discoveredSkillNames:p,loadedNestedMemoryPaths:k,getAppState:G,setAppState:J,setConversationId:X}){let Y=I();await m("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=x();if(Z)F("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(u(f))Q.add(f.agentId),_.push(f);else if(C(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X($f());if(c(Q),T(q()),l.clear(),p?.clear(),k?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(E(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(i){H(i)}L(D)}return{...f,tasks:B,attribution:h(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});y(),A();let d=U();W({setCurrentAsParent:!0}),N(d),await v();for(let f of _){if(f.status!=="running")continue;P(f.id,O(R(f.agentId)))}{let{saveMode:f}=(S(),K(Df)),{isCoordinatorMode:B}=(e(),K(s));f(B()?"coordinator":"normal")}let b=w();if(b)g(b);let j=await M("clear");if(j.length>0)V(()=>j)}var bf=n(()=>{r();o();Vf();Zf();Jf();t();Qf();jf();a();zf();Xf();Yf();S();Gf();Bf();ff();_f()});
|
|
2
|
-
export{Tf as Bg,bf as Cg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Mm as E,Nm as m,Nn as l,Om as Xq,On as Rq,Pn as i,Qn as Aq,hn as S,mn as Zq}from"./cli-0.5.13-2vy5qjm5.mjs";import{B_ as h,C_ as n,Fca as D,H_ as vq,Nca as Qq,w_ as u,y_ as g}from"./cli-0.5.13-p70x9j1v.mjs";import{Sda as d,Uda as Uq}from"./cli-0.5.13-yc6wyazy.mjs";import{$fa as y,Ofa as P,Pfa as v,Tfa as f,Xfa as M,jga as V,mga as e}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as W,Ega as O,Fga as C,Kga as _}from"./cli-0.5.13-ywwd10c0.mjs";import{Hna as qq,pna as p}from"./cli-0.5.13-667jxcab.mjs";import{eoa as N}from"./cli-0.5.13-rmc7f4b8.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 fc,r as gc,nq as hc,lq as ic,Oq as jc,QQ as kc,XQ as lc,Dq as mc};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{q as j,r as v}from"./cli-0.5.13-xvg417w8.mjs";import{Mf as C}from"./cli-0.5.13-j7mzv9r7.mjs";import{rR as S,sR as b}from"./cli-0.5.13-kt5d0qv4.mjs";import{WY as R,YY as E}from"./cli-0.5.13-adphma77.mjs";import{Sda as Z,Uda as U,Vda as w,Wda as z}from"./cli-0.5.13-yc6wyazy.mjs";import{dea as L,qea as I}from"./cli-0.5.13-j97wk70q.mjs";import{Ofa as D,Pfa as T,Tfa as u,jga as M,mga as l}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as f,Kga as p}from"./cli-0.5.13-ywwd10c0.mjs";import{Hna as h,pna as k}from"./cli-0.5.13-667jxcab.mjs";U();I();z();E();C();var F={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},m=w(()=>Z.object({init_retry_max_attempts:Z.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:Z.number().int().min(100).default(500),init_retry_jitter_fraction:Z.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:Z.number().int().min(500).default(4000),http_timeout_ms:Z.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:Z.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:Z.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:Z.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:Z.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:Z.number().int().min(500).max(2000).default(1500),connect_timeout_ms:Z.number().int().min(5000).max(60000).default(15000),min_version:Z.string().refine((J)=>{try{return R(J,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:Z.boolean().default(!1)}));async function y(){let J=await L("tengu_bridge_repl_v2_config",F),K=m().safeParse(J);return K.success?K.data:F}async function o(){let J=await y();if(J.min_version&&R("99.0.0",J.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${J.min_version} or higher is required. Run \`claudin update\` to update.`;return null}h();u();function JJ(J){let K=Buffer.from(J,"base64url").toString("utf-8"),X=T(K);if(!X||typeof X!=="object"||!("version"in X)||X.version!==1)throw Error(`Unsupported work secret version: ${X&&typeof X==="object"&&"version"in X?X.version:"unknown"}`);let Y=X;if(typeof Y.session_ingress_token!=="string"||Y.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof Y.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return X}function KJ(J,K){let X=new URL(J).hostname,Y=X==="localhost"||X==="127.0.0.1",x=Y?"ws":"wss",H=Y?"v2":"v1",P=J.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${x}://${P}/${H}/session_ingress/ws/${K}`}function QJ(J,K){if(J===K)return!0;let X=J.slice(J.lastIndexOf("_")+1),Y=K.slice(K.lastIndexOf("_")+1);return X.length>=4&&X===Y}function XJ(J,K){return`${J.replace(/\/+$/,"")}/v1/code/sessions/${K}`}async function B(J,K){let X=await k.post(`${J}/worker/register`,{},{headers:{Authorization:`Bearer ${K}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),Y=X.data?.worker_epoch,x=typeof Y==="string"?Number(Y):Y;if(typeof x!=="number"||!Number.isFinite(x)||!Number.isSafeInteger(x))throw Error(`registerWorker: invalid worker_epoch in response: ${D(X.data)}`);return x}l();p();b();function WJ(J){return{write:(K)=>J.write(K),writeBatch:(K)=>J.writeBatch(K),close:()=>J.close(),isConnectedStatus:()=>J.isConnectedStatus(),getStateLabel:()=>J.getStateLabel(),setOnData:(K)=>J.setOnData(K),setOnClose:(K)=>J.setOnClose(K),setOnConnect:(K)=>J.setOnConnect(K),connect:()=>void J.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return J.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function HJ(J){let{sessionUrl:K,ingressToken:X,sessionId:Y,initialSequenceNum:x,getAuthToken:H}=J,P;if(H)P=()=>{let Q=H();if(!Q)return{};return{Authorization:`Bearer ${Q}`}};else S(X);let O=J.epoch??await B(K,X);M(`[bridge:repl] CCR v2: worker sessionId=${Y} epoch=${O}${J.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(K);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let q=new v(V,{},Y,void 0,x,P),G,$=new j(q,new URL(K),{getAuthHeaders:P,heartbeatIntervalMs:J.heartbeatIntervalMs,heartbeatJitterFraction:J.heartbeatJitterFraction,onEpochMismatch:()=>{M("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{$.close(),q.close(),G?.(4090)}catch(Q){M(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${f(Q)}`,{level:"error"})}throw Error("epoch superseded")}});q.setOnEvent((Q)=>{$.reportDelivery(Q.event_id,"received"),$.reportDelivery(Q.event_id,"processed")});let _,N=!1,A=!1;return{write(Q){return $.writeEvent(Q)},async writeBatch(Q){for(let W of Q){if(A)break;await $.writeEvent(W)}},close(){A=!0,$.close(),q.close()},isConnectedStatus(){return N},getStateLabel(){if(q.isClosedStatus())return"closed";if(q.isConnectedStatus())return N?"connected":"init";return"connecting"},setOnData(Q){q.setOnData(Q)},setOnClose(Q){G=Q,q.setOnClose((W)=>{$.close(),Q(W??4092)})},setOnConnect(Q){_=Q},getLastSequenceNum(){return q.getLastSequenceNum()},droppedBatchCount:0,reportState(Q){$.reportState(Q)},reportMetadata(Q){$.reportMetadata(Q)},reportDelivery(Q,W){$.reportDelivery(Q,W)},flush(){return $.flush()},connect(){if(!J.outboundOnly)q.connect();$.initialize(O).then(()=>{N=!0,M(`[bridge:repl] v2 transport ready for writes (epoch=${O}, sse=${q.isConnectedStatus()?"open":"opening"})`),_?.()},(Q)=>{M(`[bridge:repl] CCR v2 initialize failed: ${f(Q)}`,{level:"error"}),$.close(),q.close(),G?.(4091)})}}}class g{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...J){if(!this._active)return!1;return this._pending.push(...J),!0}drop(){this._active=!1;let J=this._pending.length;return this._pending.length=0,J}deactivate(){this._active=!1}}
|
|
3
|
-
export{y as e,o as f,JJ as g,KJ as h,QJ as i,XJ as j,WJ as k,HJ as l,g as m};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ama as Y5,Bma as N8,Cma as q,Dma as y,Ema as S,Fma as kQ,Gma as L,Hma as a,Ima as n5,Jma as t8,Kma as R5,Lma as C8,Mma as E,Nma as h8,Oma as P,Pma as x1,Qma as d,Rma as xQ,Sma as o,Tma as UQ,Uma as l5,Vma as xY,wma as _Q,xma as JJ,yma as v,zma as I1}from"./cli-0.5.13-p7q9grjp.mjs";import{doa as aQ,eoa as X}from"./cli-0.5.13-rmc7f4b8.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{I1();QQ=h$});function j$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=j$});function n$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=n$});function b$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=b$});function u$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<i$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new o(Z)}return Y.set(Q,J),this.size=Y.size,this}var i$=200,KQ;var BQ=X(()=>{I1();xQ();UQ();KQ=u$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var C1=X(()=>{I1();$Q();YQ();XQ();WQ();BQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function l$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",GQ;var NQ=X(()=>{GQ=l$});function c$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=c$});function r(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new o;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();r.prototype.add=r.prototype.push=GQ;r.prototype.has=wQ;FQ=r});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function r$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=r$});function t$(Q,J,Y,Z,H,W){var x=Y&s$,U=Q.length,G=J.length;if(U!=G&&!(x&&G>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&a$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var s$=1,a$=2,s;var _1=X(()=>{RQ();DQ();VQ();s=t$});var e$,k1;var MQ=X(()=>{y();e$=q.Uint8Array,k1=e$});function QJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=$J});function FJ(Q,J,Y,Z,H,W,x){switch(Y){case zJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case wJ:if(Q.byteLength!=J.byteLength||!W(new k1(Q),new k1(J)))return!1;return!0;case XJ:case HJ:case UJ:return _Q(+Q,+J);case WJ:return Q.name==J.name&&Q.message==J.message;case KJ:case GJ:return Q==J+"";case xJ:var U=LQ;case BJ:var G=Z&YJ;if(U||(U=PQ),Q.size!=J.size&&!G)return!1;var K=x.get(Q);if(K)return K==J;Z|=ZJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case NJ:if(E1)return E1.call(Q)==E1.call(J)}return!1}var YJ=1,ZJ=2,XJ="[object Boolean]",HJ="[object Date]",WJ="[object Error]",xJ="[object Map]",UJ="[object Number]",KJ="[object RegExp]",BJ="[object Set]",GJ="[object String]",NJ="[object Symbol]",wJ="[object ArrayBuffer]",zJ="[object DataView]",CQ,E1,EQ;var vQ=X(()=>{kQ();MQ();JJ();_1();fQ();IQ();CQ=S?S.prototype:void 0,E1=CQ?CQ.valueOf:void 0;EQ=FJ});function RJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=RJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function DJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=DJ});function OJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=OJ});function VJ(){return[]}var AQ;var hQ=X(()=>{AQ=VJ});var MJ,LJ,jQ,fJ,nQ;var bQ=X(()=>{mQ();hQ();MJ=Object.prototype,LJ=MJ.propertyIsEnumerable,jQ=Object.getOwnPropertySymbols,fJ=!jQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(jQ(Q),function(J){return LJ.call(Q,J)})},nQ=fJ});function PJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=PJ});function IJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=IJ});function _J(Q){return O(Q)&&L(Q)==CJ}var CJ="[object Arguments]",v1;var TQ=X(()=>{a();m();v1=_J});var lQ,kJ,EJ,vJ,t;var d1=X(()=>{TQ();m();lQ=Object.prototype,kJ=lQ.hasOwnProperty,EJ=lQ.propertyIsEnumerable,vJ=v1(function(){return arguments}())?v1:function(Q){return O(Q)&&kJ.call(Q,"callee")&&!EJ.call(Q,"callee")},t=vJ});function dJ(){return!1}var cQ;var oQ=X(()=>{cQ=dJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,rQ,gJ,sQ,pJ,yJ,A;var g1=X(()=>{y();oQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,rQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,gJ=rQ&&rQ.exports===tQ,sQ=gJ?q.Buffer:void 0,pJ=sQ?sQ.isBuffer:void 0,yJ=pJ||cQ,A=yJ});function AJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&mJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,mJ,$1;var p1=X(()=>{mJ=/^(?:0|[1-9]\d*)$/;$1=AJ});function jJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,h;var J1=X(()=>{h=jJ});function B8(Q){return O(Q)&&h(Q.length)&&!!B[L(Q)]}var nJ="[object Arguments]",bJ="[object Array]",iJ="[object Boolean]",uJ="[object Date]",TJ="[object Error]",lJ="[object Function]",cJ="[object Map]",oJ="[object Number]",rJ="[object Object]",sJ="[object RegExp]",aJ="[object Set]",tJ="[object String]",eJ="[object WeakMap]",Q8="[object ArrayBuffer]",$8="[object DataView]",J8="[object Float32Array]",Y8="[object Float64Array]",Z8="[object Int8Array]",X8="[object Int16Array]",H8="[object Int32Array]",W8="[object Uint8Array]",x8="[object Uint8ClampedArray]",U8="[object Uint16Array]",K8="[object Uint32Array]",B,eQ;var Q5=X(()=>{a();J1();m();B={};B[J8]=B[Y8]=B[Z8]=B[X8]=B[H8]=B[W8]=B[x8]=B[U8]=B[K8]=!0;B[nJ]=B[bJ]=B[Q8]=B[iJ]=B[$8]=B[uJ]=B[TJ]=B[lJ]=B[cJ]=B[oJ]=B[rJ]=B[sJ]=B[aJ]=B[tJ]=B[eJ]=!1;eQ=B8});function G8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=G8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,w8,y1,z8,X1;var X5=X(()=>{N8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,w8=i&&i.exports===Z5,y1=w8&&Y5.process,z8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return y1&&y1.binding&&y1.binding("util")}catch(J){}}(),X1=z8});var H5,F8,H1;var S1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,F8=H5?$5(H5):eQ,H1=F8});function D8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],G=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,G))))U.push(K);return U}var R8,q8,W5;var x5=X(()=>{uQ();d1();M();g1();p1();S1();R8=Object.prototype,q8=R8.hasOwnProperty;W5=D8});function V8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||O8;return Q===Y}var O8,U5;var K5=X(()=>{O8=Object.prototype;U5=V8});function M8(Q,J){return function(Y){return Q(J(Y))}}var B5;var G5=X(()=>{B5=M8});var L8,N5;var w5=X(()=>{G5();L8=B5(Object.keys,Object),N5=L8});function I8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(P8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var f8,P8,z5;var F5=X(()=>{K5();w5();f8=Object.prototype,P8=f8.hasOwnProperty;z5=I8});function _8(Q){return Q!=null&&h(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{C8();J1();q5=_8});function k8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var m1=X(()=>{x5();F5();D5();W1=k8});function E8(Q){return pQ(Q,W1,nQ)}var A1;var O5=X(()=>{yQ();bQ();m1();A1=E8});function p8(Q,J,Y,Z,H,W){var x=Y&v8,U=A1(Q),G=U.length,K=A1(J),F=K.length;if(G!=F&&!x)return!1;var z=G;while(z--){var N=U[z];if(!(x?N in J:g8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<G){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var l=Q.constructor,c=J.constructor;if(l!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof l=="function"&&l instanceof l&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var v8=1,d8,g8,V5;var M5=X(()=>{O5();d8=Object.prototype,g8=d8.hasOwnProperty;V5=p8});var y8,U1;var L5=X(()=>{x1();y();y8=P(q,"DataView"),U1=y8});var S8,K1;var f5=X(()=>{x1();y();S8=P(q,"Promise"),K1=S8});var m8,B1;var P5=X(()=>{x1();y();m8=P(q,"Set"),B1=m8});var A8,G1;var I5=X(()=>{x1();y();A8=P(q,"WeakMap"),G1=A8});var C5="[object Map]",j8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",n8,b8,i8,u8,T8,k,h1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();n8=E(U1),b8=E(d),i8=E(K1),u8=E(B1),T8=E(G1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||B1&&k(new B1)!=k5||G1&&k(new G1)!=E5)k=function(Q){var J=L(Q),Y=J==j8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case n8:return v5;case b8:return C5;case i8:return _5;case u8:return k5;case T8:return E5}return J};h1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),G=x?p5:h1(Q),K=U?p5:h1(J);G=G==g5?N1:G,K=K==g5?N1:K;var F=G==N1,z=K==N1,N=G==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,G,Y,Z,H,W);if(!(Y&l8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var l8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",c8,y5,S5;var m5=X(()=>{C1();_1();vQ();M5();d5();M();g1();S1();c8=Object.prototype,y5=c8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function a8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var G=U[0],K=Q[G],F=U[1];if(x&&U[2]){if(K===void 0&&!(G in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,G,Q,J,z);if(!(N===void 0?w1(F,K,r8|s8,Z,z):N))return!1}}return!0}var r8=1,s8=2,h5;var j5=X(()=>{C1();j1();h5=a8});function e8(Q){return Q===Q&&!n5(Q)}var z1;var n1=X(()=>{t8();z1=e8});function QY(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{n1();m1();b5=QY});function $Y(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var b1=X(()=>{F1=$Y});function JY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||h5(Y,Q,J)}}var u5;var T5=X(()=>{j5();i5();b1();u5=JY});function ZY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==YY}var YY="[object Symbol]",j;var R1=X(()=>{a();m();j=ZY});function WY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||j(Q))return!0;return HY.test(Q)||!XY.test(Q)||J!=null&&Q in Object(J)}var XY,HY,n;var q1=X(()=>{M();R1();XY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,HY=/^\w*$/;n=WY});function KY(Q){var J=l5(Q,function(Z){if(Y.size===UY)Y.clear();return Z}),Y=J.cache;return J}var UY=500,c5;var o5=X(()=>{xY();c5=KY});var BY,GY,NY,r5;var s5=X(()=>{o5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,GY=/\\(\\)?/g,NY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(GY,"$1"):Z||Y)}),J}),r5=NY});function wY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=wY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(j(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-zY?"-0":J}var zY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function FY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=FY});function RY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:r5(Z$(Q))}var D1;var i1=X(()=>{M();q1();s5();X$();D1=RY});function DY(Q){if(typeof Q=="string"||j(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=DY});function OY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var u1=X(()=>{i1();u();O1=OY});function VY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{u1();H$=VY});function MY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=MY});function LY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&h(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var B$=X(()=>{i1();d1();M();p1();J1();u();K$=LY});function fY(Q,J){return Q!=null&&K$(Q,J,x$)}var G$;var N$=X(()=>{U$();B$();G$=fY});function CY(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?G$(Y,Q):w1(J,Z,PY|IY)}}var PY=1,IY=2,w$;var z$=X(()=>{j1();W$();N$();q1();n1();b1();u();w$=CY});function _Y(Q){return Q}var F$;var R$=X(()=>{F$=_Y});function kY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=kY});function EY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{u1();O$=EY});function vY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=vY});function dY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{T5();z$();R$();M();L$();f$=dY});function gY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=gY});function pY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=pY});import{randomUUID as T1}from"crypto";var k$=()=>{};function hX(){return l1}function jX(Q){l1=Q}function nX(Q){return V1.has(Q)?V1.get(Q):void 0}function bX(Q,J){V1.set(Q,J)}function iX(Q){return c1.get(Q)}function uX(Q,J){c1.set(Q,J)}function E$(){l1=null,V1.clear(),c1.clear()}function TX(){return o1}function lX(Q){o1=Q}function cX(){o1=void 0}var l1=null,V1,c1,o1;var v$=X(()=>{V1=new Map;c1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as yY}from"process";function J9(Q){return r1.add(Q),()=>r1.delete(Q)}function Y9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=yY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:T1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,lspRecommendationShownThisSession:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function Z9(){return $.sessionId}function X9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=T1(),$.sessionProjectDir=null,f1.emit($.sessionId),$.sessionId}function H9(){return $.parentSessionId}function W9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,f1.emit(Q)}function U9(){return $.sessionProjectDir}function K9(){return $.originalCwd}function B9(){return $.projectRoot}function G9(Q){$.originalCwd=Q.normalize("NFC")}function N9(Q){$.projectRoot=Q.normalize("NFC")}function w9(){return $.cwd}function z9(Q){$.cwd=Q.normalize("NFC")}function F9(){return $.directConnectServerUrl}function R9(Q){$.directConnectServerUrl=Q}function q9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function D9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function O9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function V9(){return $.totalCostUSD}function M9(){return $.totalAPIDuration}function L9(){return Date.now()-$.startTime}function f9(){return $.totalAPIDurationWithoutRetries}function P9(){return $.totalToolDuration}function I9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function C9(){return $.turnHookDurationMs}function _9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function k9(){$.turnHookDurationMs=0,$.turnHookCount=0}function E9(){return $.turnHookCount}function v9(){return $.turnToolDurationMs}function d9(){$.turnToolDurationMs=0,$.turnToolCount=0}function g9(){return $.turnToolCount}function p9(){return $.turnClassifierDurationMs}function y9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function S9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function m9(){return $.turnClassifierCount}function A9(){return $.statsStore}function h9(Q){$.statsStore=Q}function j9(Q){if(Q)S$();else s1=!0}function n9(){if(s1)S$()}function S$(){$.lastInteractionTime=Date.now(),s1=!1}function b9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function i9(){return $.totalLinesAdded}function u9(){return $.totalLinesRemoved}function T9(){return b(Object.values($.modelUsage),"inputTokens")}function m$(){return b(Object.values($.modelUsage),"outputTokens")}function l9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function c9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function o9(){return b(Object.values($.modelUsage),"webSearchRequests")}function r9(){return m$()-a1}function s9(){return t1}function a9(Q){a1=m$(),t1=Q,P1=0}function t9(){return P1}function e9(){P1++}function QH(){$.hasUnknownModelCost=!0}function $H(){return $.hasUnknownModelCost}function JH(){return $.lastMainRequestId}function YH(Q){$.lastMainRequestId=Q}function ZH(){return $.lastApiCompletionTimestamp}function XH(Q){$.lastApiCompletionTimestamp=Q}function HH(){$.pendingPostCompaction=!0}function WH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function xH(){return $.lastInteractionTime}function UH(){if(M1=!0,T)clearTimeout(T);T=setTimeout(()=>{M1=!1,T=void 0},A$),T.unref?.()}function KH(){return M1}async function BH(){while(M1)await new Promise((Q)=>setTimeout(Q,A$).unref?.())}function GH(){return $.modelUsage}function NH(Q){return $.modelUsage[Q]}function wH(){return $.mainLoopModelOverride}function zH(){return $.initialMainLoopModel}function FH(Q){$.mainLoopModelOverride=Q}function RH(Q){$.initialMainLoopModel=Q}function qH(){return $.sdkBetas}function DH(Q){$.sdkBetas=Q}function OH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function VH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function MH(){throw Error("resetStateForTests can only be called in tests")}function LH(){return $.modelStrings}function fH(Q){$.modelStrings=Q}function PH(){$.modelStrings=null}function IH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function CH(){return $.meter}function _H(){return $.sessionCounter}function kH(){return $.locCounter}function EH(){return $.prCounter}function vH(){return $.commitCounter}function dH(){return $.costCounter}function gH(){return $.tokenCounter}function pH(){return $.codeEditToolDecisionCounter}function yH(){return $.activeTimeCounter}function SH(){return $.loggerProvider}function mH(Q){$.loggerProvider=Q}function AH(){return $.eventLogger}function hH(Q){$.eventLogger=Q}function jH(){return $.meterProvider}function nH(Q){$.meterProvider=Q}function bH(){return $.tracerProvider}function iH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function uH(){return $.isInteractive}function TH(Q){$.isInteractive=Q}function lH(){return $.clientType}function cH(Q){$.clientType=Q}function oH(){return $.sdkAgentProgressSummariesEnabled}function rH(Q){$.sdkAgentProgressSummariesEnabled=Q}function sH(){return $.kairosActive}function aH(Q){$.kairosActive=Q,L1()}function tH(){return $.strictToolResultPairing}function eH(Q){$.strictToolResultPairing=Q}function Q4(){return $.userMsgOptIn}function $4(Q){$.userMsgOptIn=Q,L1()}function J4(){return $.sessionSource}function Y4(Q){$.sessionSource=Q}function Z4(){return $.questionPreviewFormat}function X4(Q){$.questionPreviewFormat=Q}function H4(){return $.agentColorMap}function W4(){return $.flagSettingsPath}function x4(Q){$.flagSettingsPath=Q}function U4(){return $.flagSettingsInline}function K4(Q){$.flagSettingsInline=Q}function B4(){return $.sessionIngressToken}function G4(Q){$.sessionIngressToken=Q}function N4(){return $.oauthTokenFromFd}function w4(Q){$.oauthTokenFromFd=Q}function z4(){return $.apiKeyFromFd}function F4(Q){$.apiKeyFromFd=Q}function R4(Q){$.lastAPIRequest=Q}function q4(){return $.lastAPIRequest}function D4(Q){$.lastAPIRequestMessages=Q}function O4(){return $.lastAPIRequestMessages}function V4(Q){$.lastClassifierRequests=Q}function M4(){return $.lastClassifierRequests}function L4(Q){$.cachedClaudeMdContent=Q}function f4(){return $.cachedClaudeMdContent}function P4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function I4(){return $.allowedSettingSources}function C4(Q){$.allowedSettingSources=Q}function _4(){return SY()&&$.clientType!=="claude-vscode"}function k4(Q){$.inlinePlugins=Q}function E4(){return $.inlinePlugins}function v4(Q){$.useCoworkPlugins=Q,E$()}function d4(){return $.useCoworkPlugins}function g4(Q){$.sessionBypassPermissionsMode=Q}function p4(){return $.sessionBypassPermissionsMode}function y4(Q){$.scheduledTasksEnabled=Q}function S4(){return $.scheduledTasksEnabled}function m4(){return $.sessionCronTasks}function A4(Q){$.sessionCronTasks.push(Q)}function h4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function j4(Q){$.sessionTrustAccepted=Q}function n4(){return $.sessionTrustAccepted}function b4(Q){$.sessionPersistenceDisabled=Q}function i4(){return $.sessionPersistenceDisabled}function u4(){return $.hasExitedPlanMode}function T4(Q){$.hasExitedPlanMode=Q}function l4(){return $.needsPlanModeExitAttachment}function c4(Q){$.needsPlanModeExitAttachment=Q}function o4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function r4(){return $.needsAutoModeExitAttachment}function s4(Q){$.needsAutoModeExitAttachment=Q}function a4(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function t4(){return $.lspRecommendationShownThisSession}function e4(Q){$.lspRecommendationShownThisSession=Q}function Q3(Q){$.initJsonSchema=Q}function $3(){return $.initJsonSchema}function J3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function Y3(){return $.registeredHooks}function Z3(){$.registeredHooks=null}function X3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function H3(){$.initJsonSchema=null,$.registeredHooks=null}function W3(){return $.planSlugCache}function x3(){return $.sessionCreatedTeams}function U3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function K3(){return $.teleportedSessionInfo}function B3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function G3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function N3(){return $.invokedSkills}function w3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function z3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function F3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function R3(Q,J){}function q3(){return mY}function D3(){return $.mainThreadAgentType}function O3(Q){$.mainThreadAgentType=Q}function V3(){return $.isRemoteMode}function M3(Q){$.isRemoteMode=Q}function L3(){return $.systemPromptSectionCache}function f3(Q,J){$.systemPromptSectionCache.set(Q,J)}function P3(){$.systemPromptSectionCache.clear()}function I3(){return $.lastEmittedDate}function C3(Q){$.lastEmittedDate=Q}function _3(){return $.additionalDirectoriesForClaudeMd}function k3(Q){$.additionalDirectoriesForClaudeMd=Q}function E3(){return $.allowedChannels}function v3(Q){$.allowedChannels=Q,L1()}function d3(){return $.hasDevChannels}function g3(Q){$.hasDevChannels=Q}function p3(){return $.largeSystemPromptDetected}function y3(Q){$.largeSystemPromptDetected=Q}function S3(){return $.afkModeHeaderLatched}function m3(Q){$.afkModeHeaderLatched=Q}function A3(){return $.fastModeHeaderLatched}function h3(Q){$.fastModeHeaderLatched=Q}function j3(){return $.thinkingClearLatched}function n3(Q){$.thinkingClearLatched=Q}function b3(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null}function i3(){return $.promptId}function u3(Q){$.promptId=Q}function T3(){return!1}function l3(){return null}var r1,$,f1,x9,s1=!1,a1=0,t1=null,P1=0,M1=!1,T,A$=150,mY;var AY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();f1=d$(),x9=f1.subscribe;mY=[]});
|
|
2
|
-
export{p as $ga,C1 as aha,FQ as bha,RQ as cha,OQ as dha,VQ as eha,k1 as fha,MQ as gha,PQ as hha,IQ as iha,dQ as jha,gQ as kha,w as lha,M as mha,pQ as nha,yQ as oha,SQ as pha,mQ as qha,AQ as rha,hQ as sha,nQ as tha,bQ as uha,O as vha,m as wha,t as xha,d1 as yha,A as zha,g1 as Aha,$1 as Bha,p1 as Cha,$5 as Dha,J5 as Eha,X1 as Fha,X5 as Gha,H1 as Hha,S1 as Iha,W5 as Jha,x5 as Kha,U5 as Lha,K5 as Mha,B5 as Nha,G5 as Oha,q5 as Pha,D5 as Qha,W1 as Rha,m1 as Sha,A1 as Tha,O5 as Uha,B1 as Vha,P5 as Wha,h1 as Xha,d5 as Yha,w1 as Zha,j1 as _ha,j as $ha,R1 as aia,a5 as bia,t5 as cia,Z$ as dia,X$ as eia,D1 as fia,i1 as gia,I as hia,u as iia,O1 as jia,u1 as kia,F$ as lia,R$ as mia,f$ as nia,P$ as oia,hX as pia,jX as qia,nX as ria,bX as sia,iX as tia,uX as uia,E$ as via,TX as wia,lX as xia,cX as yia,v$ as zia,d$ as Aia,g$ as Bia,J9 as Cia,Y9 as Dia,Z9 as Eia,X9 as Fia,H9 as Gia,W9 as Hia,x9 as Iia,U9 as Jia,K9 as Kia,B9 as Lia,G9 as Mia,N9 as Nia,w9 as Oia,z9 as Pia,F9 as Qia,R9 as Ria,q9 as Sia,D9 as Tia,O9 as Uia,V9 as Via,M9 as Wia,L9 as Xia,f9 as Yia,P9 as Zia,I9 as _ia,C9 as $ia,_9 as aja,k9 as bja,E9 as cja,v9 as dja,d9 as eja,g9 as fja,p9 as gja,y9 as hja,S9 as ija,m9 as jja,A9 as kja,h9 as lja,j9 as mja,n9 as nja,b9 as oja,i9 as pja,u9 as qja,T9 as rja,m$ as sja,l9 as tja,c9 as uja,o9 as vja,r9 as wja,s9 as xja,a9 as yja,t9 as zja,e9 as Aja,QH as Bja,$H as Cja,JH as Dja,YH as Eja,ZH as Fja,XH as Gja,HH as Hja,WH as Ija,xH as Jja,UH as Kja,KH as Lja,BH as Mja,GH as Nja,NH as Oja,wH as Pja,zH as Qja,FH as Rja,RH as Sja,qH as Tja,DH as Uja,OH as Vja,VH as Wja,MH as Xja,LH as Yja,fH as Zja,PH as _ja,IH as $ja,CH as aka,_H as bka,kH as cka,EH as dka,vH as eka,dH as fka,gH as gka,pH as hka,yH as ika,SH as jka,mH as kka,AH as lka,hH as mka,jH as nka,nH as oka,bH as pka,iH as qka,SY as rka,uH as ska,TH as tka,lH as uka,cH as vka,oH as wka,rH as xka,sH as yka,aH as zka,tH as Aka,eH as Bka,Q4 as Cka,$4 as Dka,J4 as Eka,Y4 as Fka,Z4 as Gka,X4 as Hka,H4 as Ika,W4 as Jka,x4 as Kka,U4 as Lka,K4 as Mka,B4 as Nka,G4 as Oka,N4 as Pka,w4 as Qka,z4 as Rka,F4 as Ska,R4 as Tka,q4 as Uka,D4 as Vka,O4 as Wka,V4 as Xka,M4 as Yka,L4 as Zka,f4 as _ka,P4 as $ka,I4 as ala,C4 as bla,_4 as cla,k4 as dla,E4 as ela,v4 as fla,d4 as gla,g4 as hla,p4 as ila,y4 as jla,S4 as kla,m4 as lla,A4 as mla,h4 as nla,j4 as ola,n4 as pla,b4 as qla,i4 as rla,u4 as sla,T4 as tla,l4 as ula,c4 as vla,o4 as wla,r4 as xla,s4 as yla,a4 as zla,t4 as Ala,e4 as Bla,Q3 as Cla,$3 as Dla,J3 as Ela,Y3 as Fla,Z3 as Gla,X3 as Hla,H3 as Ila,W3 as Jla,x3 as Kla,U3 as Lla,K3 as Mla,B3 as Nla,G3 as Ola,N3 as Pla,w3 as Qla,z3 as Rla,F3 as Sla,R3 as Tla,q3 as Ula,D3 as Vla,O3 as Wla,V3 as Xla,M3 as Yla,L3 as Zla,f3 as _la,P3 as $la,I3 as ama,C3 as bma,_3 as cma,k3 as dma,E3 as ema,v3 as fma,d3 as gma,g3 as hma,p3 as ima,y3 as jma,S3 as kma,m3 as lma,A3 as mma,h3 as nma,j3 as oma,n3 as pma,b3 as qma,i3 as rma,u3 as sma,T3 as tma,l3 as uma,AY as vma};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Td as j,Ud as w,Vd as _,Wd as D,Xd as L,Yd as A,Zd as O}from"./cli-0.5.13-hgrj8csf.mjs";import{AO as h,Bn as R,CO as y,En as b,Ey as W,Hy as V,JI as X,Jy as C,KI as I}from"./cli-0.5.13-2vy5qjm5.mjs";import{D6 as Q,E6 as N,Fca as U,Nca as S}from"./cli-0.5.13-p70x9j1v.mjs";import{hfa as K,jfa as v}from"./cli-0.5.13-ktrr6zcr.mjs";import{oga as x,sga as M}from"./cli-0.5.13-g76ge0hv.mjs";import{Dga as B,Kga as F}from"./cli-0.5.13-ywwd10c0.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("tengu_plugin_command_failed",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_installed_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("tengu_plugin_uninstalled_cli",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_enabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_disabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("tengu_plugin_disabled_all_cli",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
-
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
-
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_updated_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
-
export{g as s,a as t,i as u,u as v,n as w,r as x};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eoa as f}from"./cli-0.5.13-rmc7f4b8.mjs";function j(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function V(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function k(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(x);if(K){let W=Number(K[1]),$=Number(K[2]);if(W===10)return!0;if(W===172&&$>=16&&$<=31)return!0;if(W===192&&$===168)return!0;if(W===127)return!0;if(W===169&&$===254)return!0;if(W===100&&$>=64&&$<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||L.test(B)||Y.test(B))return!0;return!1}function C(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(k(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let z=q,B=j(z.cache_read_input_tokens);if(B>0)return B;let K=j(V(q,["input_tokens_details","cached_tokens"]))||j(V(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=j(z.cached_tokens);if(W>0)return W;let $=j(z.prompt_cache_hit_tokens);if($>0)return $;let Q=j(z.cached_content_token_count);if(Q>0)return Q;return 0}function M(q){let z=A(q),B=q??{},K=j(B.input_tokens)||j(B.prompt_tokens),W=K>=z?K-z:K,$=j(B.output_tokens)||j(B.completion_tokens);return{input_tokens:W,output_tokens:$,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function U(q,z){if(!q||typeof q!=="object")return G;let B=q,K=j(B.cache_read_input_tokens),W=j(B.cache_creation_input_tokens),$=j(B.input_tokens);if(z==="copilot"||z==="ollama")return G;if(z==="self-hosted"&&K===0&&W===0)return G;let Q=K+W+$;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function w(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${H(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${H(q.read)}`,`created=${H(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function H(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(F,"")}k`;return`${(q/1e6).toFixed(1).replace(F,"")}m`}function Z(q,z){if(!q.supported&&!z.supported)return G;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var G,x,L,Y,F;var y=f(()=>{G={read:0,created:0,total:0,hitRate:null,supported:!1};x=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,L=/^fc[0-9a-f]{0,2}:/,Y=/^fd[0-9a-f]{0,2}:/,F=/\.0$/});function O(q){return{currentTurn:X,session:X,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function _(q,z){J.currentTurn=Z(J.currentTurn,q),J.session=Z(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(){J.currentTurn=X}function g(){J.currentTurn=X,J.session=X,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function N(){return J.currentTurn}function R(){return J.session}function b(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var D=500,X,J;var S=f(()=>{y();X={read:0,created:0,total:0,hitRate:null,supported:!1};J=O(D)});
|
|
2
|
-
export{C as ZU,M as _U,U as $U,w as aV,I as bV,y as cV,_ as dV,E as eV,g as fV,N as gV,R as hV,b as iV,S as jV};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{$m as cJ,AH as BJ,BH as pJ,Eh as dJ,ZN as TJ,Zm as DJ,vO as jJ,wO as ZV,zH as IJ}from"./cli-0.5.13-2vy5qjm5.mjs";import{Fca as L,Nca as hJ,P7 as fJ,Q$ as WJ,Qaa as NJ,V6 as c,W6 as PJ,Y7 as qJ,_$ as gJ,a8 as mJ,iba as uJ,p7 as VJ,r7 as p}from"./cli-0.5.13-p70x9j1v.mjs";import{tea as j,uea as kJ}from"./cli-0.5.13-cwy43qr2.mjs";import{hfa as f,jfa as zJ}from"./cli-0.5.13-ktrr6zcr.mjs";import{$fa as bJ,Xfa as JJ,jga as Q,mga as yJ}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as e,Kga as SJ}from"./cli-0.5.13-ywwd10c0.mjs";import{Aia as AJ,Bia as wJ}from"./cli-0.5.13-chdvhgrk.mjs";import{aoa as LJ,eoa as XJ}from"./cli-0.5.13-rmc7f4b8.mjs";class d{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await y(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let H=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,H)W(),H=!1;await y(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=CJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let H=W.charCodeAt(Y);if(H>=97&&H<=122)V|=1<<H-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),H=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);H[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,X=[],N=-1/0,{paths:D,lowerPaths:q,charBits:x,pathLens:U,readyCount:m}=this;J:for(let M=0;M<m;M++){if((x[M]&$)!==$)continue;let B=Z?D[M]:q[M],E=B.indexOf(H[0]);if(E===-1)continue;b[0]=E;let R=0,g=0,u=E;for(let A=1;A<Y;A++){if(E=B.indexOf(H[A],u+1),E===-1)continue J;b[A]=E;let F=E-u-1;if(F===0)g+=4;else R+=3+F*1;u=E}if(X.length===W&&_+g-R<=N)continue;let S=D[M],UJ=U[M],T=Y*16+g-R;T+=HJ(S,b[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,b[A],!1);if(T+=Math.max(0,32-(UJ>>2)),X.length<W){if(X.push({path:S,fuzzScore:T}),X.length===W)X.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=X[0].fuzzScore}else if(T>N){let A=0,F=X.length;while(A<F){let h=A+F>>1;if(X[h].fuzzScore<T)A=h+1;else F=h}X.splice(A,0,{path:S,fuzzScore:T}),X.shift(),N=X[0].fuzzScore}}X.sort((M,B)=>B.fuzzScore-M.fuzzScore);let I=X.length,w=Math.max(I,1),z=Array(I);for(let M=0;M<I;M++){let B=X[M].path,E=M/w,R=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:R}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(vJ(V))return 8;if(GJ(V)&&RJ(J.charCodeAt(W)))return 6;return 0}function vJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function RJ(J){return J>=65&&J<=90}function y(){return new Promise((J)=>setImmediate(J))}function CJ(J,W){let Z=new Set;for(let Y of J){let H=Y.length;for(let _=0;_<Y.length;_++){let X=Y.charCodeAt(_);if(X===47||X===92){H=_;break}}let $=Y.slice(0,H);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,H)=>{let $=Y.length-H.length;if($!==0)return $;return Y<H?-1:Y>H?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var _J=4,b;var QJ=XJ(()=>{b=new Int32Array(64)});import{statSync as lJ}from"fs";import*as O from"path";function l(){if(!K)K=new d;return K}function UV(){K=null,v=null,G++,k=null,C=[],ZJ=[],$J=[],YJ.clear(),n=null,s=null,o=0,a=null,i=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let H=J[Y];for(let $=0;$<H.length;$++)V=(V^H.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let H=0;H<Y.length;H++)V=(V^Y.charCodeAt(H))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function nJ(){let J=VJ(j());if(!J)return null;try{return lJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function MJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function sJ(J){if(J.length===0)return;if(!K||C.length===0)return;let W=await FJ(J),Z=[...C,...ZJ,...$J,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${C.length} tracked + ${J.length} untracked files`)}async function OJ(J,W){let Z=`${J}:${W}`;if(s===Z)return n;let V=JJ(),Y=[".ignore",".rgignore"],H=[...new Set([J,W])],$=KJ.default(),_=!1,X=H.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(X.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${X[q]}`)}let D=_?$:null;return n=D,s=Z,D}async function oJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=VJ(j());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=j(),H=Date.now(),$=await c(p(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-H}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean),X=MJ(_,V,Y),N=await OJ(V,Y);if(N){let q=X.length;X=N.filter(X),Q(`[FileIndex] applied ignore patterns: ${q} -> ${X.length} files`)}C=X;let D=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${X.length} tracked files in ${D}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:X.length,tracked_count:X.length,untracked_count:0,duration_ms:D}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=G;k=c(p(),q,{timeout:1e4,cwd:V}).then(async(U)=>{if(x!==G)return;if(U.code===0){let m=U.stdout.trim().split(`
|
|
3
|
-
`).filter(Boolean),I=MJ(m,V,Y),w=await OJ(V,Y);if(w&&I.length>0){let z=I.length;I=w.filter(I),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${I.length} files`)}Q(`[FileIndex] background untracked fetch: ${I.length} files`),sJ(I)}}).catch((U)=>{Q(`[FileIndex] background untracked fetch failed: ${U}`)}).finally(()=>{k=null})}return X}catch(Y){return Q(`[FileIndex] git ls-files error: ${e(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(aJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>_J)await y(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function aJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let H=O.dirname(J[Y]);while(H!=="."&&!V.has(H)){let $=O.dirname(H);if($===H)break;V.add(H),H=$}}}async function iJ(J){return(await Promise.all(IJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function rJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await oJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;Q("[FileIndex] git ls-files returned null, falling back to ripgrep");let V=Date.now(),Y=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)Y.push("--no-ignore-vcs");let $=(await DJ(Y,".",J)).map((X)=>O.relative(j(),X)),_=Date.now()-V;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function tJ(){let J=AbortSignal.timeout(1e4),W=l();try{let Z=WJ(),V=NJ(),Y=Z.respectGitignore??V.respectGitignore??!0,H=j(),[$,_]=await Promise.all([rJ(J,Y),iJ(H)]);ZJ=_;let X=[...$,..._],N=await FJ(X);$J=N;let D=[...N,...X],q=xJ(D);if(q!==i)await W.loadFromFileListAsync(D).done,i=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){L(Z)}return W}function eJ(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function vV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=eJ(Z,Y),Z==="")return""}return Z}function r(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function JV(J,W){return J.search(W,t).map((V)=>r(V.path,V.score))}function EJ(){if(v)return;let J=nJ();if(K){if(!(J!==null&&J!==a)&&Date.now()-o<VV)return}let W=G,Z=Date.now();l(),v=tJ().then((V)=>{if(W!==G)return V;return v=null,YJ.emit(),a=J,o=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${e(V)}`),L(V),W===G)v=null;return l()})}async function WV(){let J=JJ(),W=j();try{return(await J.readdir(W)).map((V)=>{let Y=O.join(W,V.name),H=O.relative(W,Y);return V.isDirectory()?H+O.sep:H})}catch(Z){return L(Z),[]}}async function GV(J,W=!1){if(!J&&!W)return[];if(WJ().fileSuggestion?.type==="command"){let V={...TJ(),query:J};return(await jJ(V)).slice(0,t).map(r)}if(J===""||J==="."||J==="./"){let V=await WV();return EJ(),V.slice(0,t).map(r)}let Z=Date.now();try{let V=v!==null;EJ();let Y=J,H="."+O.sep;if(J.startsWith(H))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=K?JV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return L(V),[]}}function RV(J,W,Z,V,Y,H){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let X=V+$.length;H(X)}var KJ,K=null,v=null,YJ,jV,G=0,k=null,C,ZJ,$J,n=null,s=null,o=0,a=null,i=null,P=null,t=15,VV=5000;var YV=XJ(()=>{pJ();QJ();zJ();uJ();kJ();yJ();SJ();PJ();bJ();fJ();ZV();hJ();mJ();cJ();gJ();wJ();KJ=LJ(dJ(),1);YJ=AJ(),jV=YJ.subscribe,C=[],ZJ=[],$J=[]});
|
|
4
|
-
export{jV as Fg,UV as Gg,vV as Hg,EJ as Ig,GV as Jg,RV as Kg,YV as Lg};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{$C as F,Dm as D,Hm as r,aD as y,dD as S,jD as o}from"./cli-0.5.13-2vy5qjm5.mjs";import{SV as A,TV as l,UV as z,VV as O}from"./cli-0.5.13-tr9s34te.mjs";import{k7 as x,l7 as d,n7 as b,o7 as g}from"./cli-0.5.13-p70x9j1v.mjs";import{$fa as c,Rfa as k,Tfa as p,Xfa as L,jga as V,mga as I}from"./cli-0.5.13-a9gqqmjh.mjs";import{Uma as T,Vma as C}from"./cli-0.5.13-p7q9grjp.mjs";import{eoa as w}from"./cli-0.5.13-rmc7f4b8.mjs";import{spawn as G,spawnSync as _}from"child_process";import{basename as R}from"path";function u(q){return!!b(q)}function N(q){let H=R(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function m(q,H,B){if(!B)return[H];if(f.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=N(B);if(Q){let W=m(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>V(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&P.test(R(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=_(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=_(X,M,W)}if(Z.error)return V(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,P,f,v;var j=w(()=>{C();O();I();g();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],P=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,f=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>u(H))})});function a(q){return N(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=s[J]??J;return x(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${D(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=y(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Nq(q,H){let B=L(),J=A();try{let X=H?S(q,H):q;k(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var s;var t=w(()=>{o();O();j();d();c();r();p();l();s={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as xf,v as yf,j as zf,i as Af,Nq as Bf,t as Cf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eoa as B}from"./cli-0.5.13-rmc7f4b8.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
|
|
2
|
-
export{F as xh,C as yh};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{Aw as B,Bw as U,IM as L,IN as N,JM as w,WN as d}from"./cli-0.5.13-2vy5qjm5.mjs";import{e9 as z,l9 as F,o$ as P}from"./cli-0.5.13-p70x9j1v.mjs";import{cda as H,ida as v}from"./cli-0.5.13-sfjdg8y7.mjs";import{eoa as j}from"./cli-0.5.13-rmc7f4b8.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
-
|
|
3
|
-
`;h+=`**Model:** ${Z}
|
|
4
|
-
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
-
`,h+=`
|
|
6
|
-
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
-
|
|
8
|
-
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
-
`,h+=`|----------|--------|------------|
|
|
10
|
-
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
-
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
-
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
-
`}h+=`
|
|
14
|
-
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
-
|
|
16
|
-
`,h+=`| Tool | Server | Tokens |
|
|
17
|
-
`,h+=`|------|--------|--------|
|
|
18
|
-
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
-
`;h+=`
|
|
20
|
-
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
-
|
|
22
|
-
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
-
`,h+=`|------------|--------|--------|
|
|
24
|
-
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
-
`}h+=`
|
|
26
|
-
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
-
|
|
28
|
-
`,h+=`| Type | Path | Tokens |
|
|
29
|
-
`,h+=`|------|------|--------|
|
|
30
|
-
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
-
`;h+=`
|
|
32
|
-
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
-
|
|
34
|
-
`,h+=`| Skill | Source | Tokens |
|
|
35
|
-
`,h+=`|-------|--------|--------|
|
|
36
|
-
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
-
`;h+=`
|
|
38
|
-
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
-
export{V as jg,g as kg,A as lg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Kia as z,Oia as B,vma as H}from"./cli-0.5.13-chdvhgrk.mjs";import{eoa as x}from"./cli-0.5.13-rmc7f4b8.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
-
export{Q as rea,J as sea,R as tea,K as uea,U as vea,V as wea,W as xea,X as yea,Y as zea,Z as Aea,$ as Bea,j as Cea,q as Dea,A as Eea,G as Fea,L as Gea,_ as Hea,b as Iea,k as Jea,p as Kea,v as Lea,C as Mea,O as Nea,y as Oea,S as Pea,f as Qea,m as Rea,u as Sea,h as Tea,l as Uea,w as Vea,g as Wea,d as Xea,M as Yea};
|