@claudiolabs/claudin 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -24
- package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +1 -0
- package/dist/chunks/App-1.1.13-d46t1gxs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +6 -0
- package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +1 -0
- package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +1 -0
- package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +1 -0
- package/dist/chunks/agents-1.1.13-86a1wgye.mjs +110 -0
- package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +3 -0
- package/dist/chunks/api-1.1.13-5ffq20rc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +1 -0
- package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +1 -0
- package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +1 -0
- package/dist/chunks/auth-1.1.13-xv576tj3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +1 -0
- package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +4 -0
- package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +1 -0
- package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +1 -0
- package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +4 -0
- package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +1 -0
- package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +1 -0
- package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +1 -0
- package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0dha376x.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +7 -0
- package/dist/chunks/cli-1.1.13-0qy978b3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0y4933cs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-15nbdw38.mjs +2 -0
- package/dist/chunks/cli-1.1.13-17xy86gy.mjs +24 -0
- package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +6 -0
- package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1jf910f2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-24284zna.mjs +2 -0
- package/dist/chunks/cli-1.1.13-284pjmzy.mjs +4 -0
- package/dist/chunks/cli-1.1.13-2964cc2e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2m39r998.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +202 -0
- package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2txesqy8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +2 -0
- package/dist/chunks/cli-1.1.13-46jvx14j.mjs +2 -0
- package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +42 -0
- package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-53ght581.mjs +3 -0
- package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +6 -0
- package/dist/chunks/cli-1.1.13-61mygvzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +2 -0
- package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +12 -0
- package/dist/chunks/cli-1.1.13-669vhsjj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6727vw4f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6b845car.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +4 -0
- package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +17 -0
- package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6k71beqh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-74rczf0f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7s34jqge.mjs +133 -0
- package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-82y6dszx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-86kjp502.mjs +2 -0
- package/dist/chunks/cli-1.1.13-91q67gqp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9609q0ww.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +15 -0
- package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +25 -0
- package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +5 -0
- package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +25 -0
- package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +4 -0
- package/dist/chunks/cli-1.1.13-aac9pss7.mjs +59 -0
- package/dist/chunks/cli-1.1.13-aeq919w1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-b47k2p92.mjs +21 -0
- package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-baxww5k9.mjs +3 -0
- package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cn9g3704.mjs +12 -0
- package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d54qh52e.mjs +3 -0
- package/dist/chunks/cli-1.1.13-d8d30wps.mjs +3 -0
- package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +3 -0
- package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +2 -0
- package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4hsds4b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4k7980n.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e68npf24.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ehaqachs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-epjmphrz.mjs +133 -0
- package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +24 -0
- package/dist/chunks/cli-1.1.13-ewxej7em.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ey931psa.mjs +2 -0
- package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-far5gqfj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fccy9c48.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkcaczca.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +3 -0
- package/dist/chunks/cli-1.1.13-g8k8na90.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +8 -0
- package/dist/chunks/cli-1.1.13-gechs2yp.mjs +4 -0
- package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +18 -0
- package/dist/chunks/cli-1.1.13-gh95gh19.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +39 -0
- package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +16 -0
- package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-hb5bb8jk.mjs +3 -0
- package/dist/chunks/cli-1.1.13-hg8x8693.mjs +6 -0
- package/dist/chunks/cli-1.1.13-hzneg4va.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j02dcs05.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +15 -0
- package/dist/chunks/cli-1.1.13-jdcqc6bd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-je6371k7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +34 -0
- package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +4 -0
- package/dist/chunks/cli-1.1.13-kct81ph3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +15 -0
- package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kq8spsav.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-m5grg33r.mjs +4 -0
- package/dist/chunks/cli-1.1.13-mct1fasm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +17 -0
- package/dist/chunks/cli-1.1.13-mzq23677.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +3 -0
- package/dist/chunks/cli-1.1.13-nr09192d.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pam922jf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pedv9sma.mjs +9 -0
- package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +50 -0
- package/dist/chunks/cli-1.1.13-q1hx591h.mjs +2 -0
- package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +9 -0
- package/dist/chunks/cli-1.1.13-qr4adses.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +3 -0
- package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +1 -0
- package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +24 -0
- package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +3 -0
- package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +2 -0
- package/dist/chunks/cli-1.1.13-segzta4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-shz97pa0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-smefk747.mjs +2 -0
- package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +3 -0
- package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +4 -0
- package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +24 -0
- package/dist/chunks/cli-1.1.13-v06xvs9s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v2synpdg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v32emtk0.mjs +26 -0
- package/dist/chunks/cli-1.1.13-vm8xs878.mjs +3 -0
- package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +4 -0
- package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +45 -0
- package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +66 -0
- package/dist/chunks/cli-1.1.13-wh5smpta.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wje228e3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +58 -0
- package/dist/chunks/cli-1.1.13-x663d461.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x79qava2.mjs +5413 -0
- package/dist/chunks/cli-1.1.13-x83epxhw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xpwxcmvd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y5d299s9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y6pa258f.mjs +4 -0
- package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +20 -0
- package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z9471mhs.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-zmb192fn.mjs +18 -0
- package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +5 -0
- package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +2 -0
- package/dist/chunks/client-1.1.13-6axfwqya.mjs +1 -0
- package/dist/chunks/color-1.1.13-g1rjvg86.mjs +1 -0
- package/dist/chunks/compact-1.1.13-9k4jts81.mjs +3 -0
- package/dist/chunks/config-1.1.13-58bj6t43.mjs +1 -0
- package/dist/chunks/config-1.1.13-csmwn3d0.mjs +1 -0
- package/dist/chunks/constants-1.1.13-cydjncsk.mjs +1 -0
- package/dist/chunks/context-1.1.13-04y3svxc.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +1 -0
- package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +1 -0
- package/dist/chunks/copy-1.1.13-4zq95frp.mjs +9 -0
- package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +1 -0
- package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +1 -0
- package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +1526 -0
- package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +1 -0
- package/dist/chunks/detection-1.1.13-k5td7n26.mjs +1 -0
- package/dist/chunks/diff-1.1.13-d31m696z.mjs +1 -0
- package/dist/chunks/doctor-1.1.13-59947n3f.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +1 -0
- package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +13 -0
- package/dist/chunks/engine-1.1.13-p9g24e16.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +1 -0
- package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +1 -0
- package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +1 -0
- package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +1 -0
- package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +1 -0
- package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +1 -0
- package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +1 -0
- package/dist/chunks/fast-1.1.13-2an1j0he.mjs +1 -0
- package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +1 -0
- package/dist/chunks/git-1.1.13-n4743t7m.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +1 -0
- package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +4 -0
- package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +1 -0
- package/dist/chunks/headless-1.1.13-me11khs4.mjs +2 -0
- package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +6 -0
- package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +1 -0
- package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +3 -0
- package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +1 -0
- package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +79 -0
- package/dist/chunks/ide-1.1.13-699b7xgf.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +1 -0
- package/dist/chunks/index-1.1.13-1magnv9t.mjs +1 -0
- package/dist/chunks/index-1.1.13-20fw0vyg.mjs +1 -0
- package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +1 -0
- package/dist/chunks/index-1.1.13-5fffrw39.mjs +23 -0
- package/dist/chunks/index-1.1.13-7v1v2795.mjs +1 -0
- package/dist/chunks/index-1.1.13-89b63y1a.mjs +1 -0
- package/dist/chunks/index-1.1.13-9hmkds89.mjs +1 -0
- package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +1 -0
- package/dist/chunks/index-1.1.13-hvpk64ts.mjs +9 -0
- package/dist/chunks/index-1.1.13-pfnaxhas.mjs +9 -0
- package/dist/chunks/index-1.1.13-pq81pd76.mjs +2 -0
- package/dist/chunks/index-1.1.13-q7xgkez4.mjs +1 -0
- package/dist/chunks/index-1.1.13-qed5hqgm.mjs +1 -0
- package/dist/chunks/index-1.1.13-qncvk76v.mjs +1 -0
- package/dist/chunks/index-1.1.13-qzm5brgp.mjs +2 -0
- package/dist/chunks/index-1.1.13-sqz3new4.mjs +1 -0
- package/dist/chunks/index-1.1.13-swwn9vsr.mjs +1 -0
- package/dist/chunks/index-1.1.13-tseyy72z.mjs +1 -0
- package/dist/chunks/index-1.1.13-v219xtkm.mjs +1 -0
- package/dist/chunks/index-1.1.13-vbws03kk.mjs +30 -0
- package/dist/chunks/index-1.1.13-vpewasbk.mjs +1 -0
- package/dist/chunks/index-1.1.13-yncdgpnc.mjs +5 -0
- package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +1 -0
- package/dist/chunks/init-1.1.13-6m1d58s6.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +1 -0
- package/dist/chunks/ink-1.1.13-vsh153b4.mjs +1 -0
- package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +870 -0
- package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +1 -0
- package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +2 -0
- package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +1 -0
- package/dist/chunks/log-1.1.13-j05vnw45.mjs +1 -0
- package/dist/chunks/main-1.1.13-9eb7dv86.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +4 -0
- package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +17 -0
- package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +1 -0
- package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +72 -0
- package/dist/chunks/model-1.1.13-e9231b6a.mjs +2 -0
- package/dist/chunks/model-1.1.13-qkp6et1j.mjs +1 -0
- package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +12 -0
- package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +14 -0
- package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +1 -0
- package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +1 -0
- package/dist/chunks/parser-1.1.13-5g8tytma.mjs +1 -0
- package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +1 -0
- package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +3 -0
- package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +1 -0
- package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +1 -0
- package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +1 -0
- package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +1 -0
- package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +2 -0
- package/dist/chunks/print-1.1.13-cba5ekrx.mjs +57 -0
- package/dist/chunks/process-1.1.13-cavp5bw3.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +9 -0
- package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +1 -0
- package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +1 -0
- package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +13 -0
- package/dist/chunks/provider-1.1.13-aec8n85t.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +26 -0
- package/dist/chunks/registry-1.1.13-0gr1a931.mjs +1 -0
- package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +2 -0
- package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +1 -0
- package/dist/chunks/rename-1.1.13-7mj7635m.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +1 -0
- package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +2 -0
- package/dist/chunks/rewind-1.1.13-f1jde571.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +1 -0
- package/dist/chunks/session-1.1.13-je6e2q22.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +1 -0
- package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +1 -0
- package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +5 -0
- package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +1 -0
- package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +1 -0
- package/dist/chunks/state-1.1.13-m97vrspe.mjs +1 -0
- package/dist/chunks/stats-1.1.13-x2ranep4.mjs +6 -0
- package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +1 -0
- package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +1 -0
- package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +1 -0
- package/dist/chunks/teleport-1.1.13-fm868anx.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +1 -0
- package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +1 -0
- package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +1 -0
- package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +1 -0
- package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +69 -0
- package/dist/chunks/types-1.1.13-2f1xtenh.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +4 -0
- package/dist/chunks/update-1.1.13-0hd3pst5.mjs +72 -0
- package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +1 -0
- package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +1 -0
- package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +1 -0
- package/dist/chunks/util-1.1.13-vzt92dj7.mjs +1 -0
- package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +1 -0
- package/dist/chunks/vim-1.1.13-1d635y0m.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +13 -0
- package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +1 -0
- package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +132 -0
- package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +1 -0
- package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +1 -0
- package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-agents.txt +1 -1
- package/dist/help-auth.txt +1 -1
- package/dist/help-auto-mode.txt +1 -1
- package/dist/help-doctor.txt +1 -1
- package/dist/help-install.txt +1 -1
- package/dist/help-mcp.txt +1 -1
- package/dist/help-plugin.txt +1 -1
- package/dist/help-plugins.txt +1 -1
- package/dist/help-setup-token.txt +1 -1
- package/dist/help-update.txt +1 -1
- package/dist/help-upgrade.txt +1 -1
- package/dist/help-workflow.txt +1 -1
- package/dist/help.txt +3 -4
- package/install.cjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.11-k2q6nh9x.mjs +0 -1
- package/dist/chunks/App-1.1.11-krv6wwgp.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.11-9s811hbz.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.11-basm4sc7.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.11-aejfbb8x.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.11-3wxr3fz9.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.11-b4v59b23.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.11-e3abm4me.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.11-aswpafrn.mjs +0 -6
- package/dist/chunks/Doctor-1.1.11-jfetmc28.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.11-sn8jmt3x.mjs +0 -6
- package/dist/chunks/Grove-1.1.11-f2zsmd4t.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.11-7ga25209.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.11-vcp6js2b.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.11-qqr3ve61.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.11-z6eadsg8.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.11-16z484ph.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.11-tv77qzrq.mjs +0 -1
- package/dist/chunks/REPL-1.1.11-eft2tx7z.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.11-hc55dc65.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.11-j4b72t5c.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.11-d2ata0wm.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.11-3gr88x6n.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.11-xf144qy6.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.11-76y2a4zz.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.11-sxwd1d13.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.11-pbh6yxxm.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.11-saggs5cv.mjs +0 -1
- package/dist/chunks/add-dir-1.1.11-4tgfptar.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.11-af225gtm.mjs +0 -1
- package/dist/chunks/agents-1.1.11-0wy5khvz.mjs +0 -3
- package/dist/chunks/agents-1.1.11-40dk22tt.mjs +0 -110
- package/dist/chunks/api-1.1.11-pxj1yw19.mjs +0 -1
- package/dist/chunks/asciicast-1.1.11-wmt09xhy.mjs +0 -1
- package/dist/chunks/assistant-1.1.11-tqk05t61.mjs +0 -1
- package/dist/chunks/auth-1.1.11-nvrxv4q4.mjs +0 -1
- package/dist/chunks/auth-1.1.11-pbwjnx30.mjs +0 -1
- package/dist/chunks/autoMode-1.1.11-22v33wd4.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.11-pqjz5g38.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.11-9xjtajrq.mjs +0 -1
- package/dist/chunks/branch-1.1.11-76tya9ft.mjs +0 -4
- package/dist/chunks/bridge-1.1.11-1m3v2n3k.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.11-fp43q2e3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.11-tqm667fa.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.11-hg46g911.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.11-1yn4135t.mjs +0 -1
- package/dist/chunks/btw-1.1.11-1m97zkn4.mjs +0 -1
- package/dist/chunks/buddy-1.1.11-ymv78npp.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.11-zyrqae8j.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.11-xq2pyhs3.mjs +0 -4
- package/dist/chunks/caches-1.1.11-rx01cbpj.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.11-hcxt0dw3.mjs +0 -1
- package/dist/chunks/claudemd-1.1.11-8xr3pty5.mjs +0 -1
- package/dist/chunks/clear-1.1.11-bj5qfbw4.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.11-5ttzjadf.mjs +0 -1
- package/dist/chunks/cli-1.1.11-00rqxf9s.mjs +0 -2
- package/dist/chunks/cli-1.1.11-0djzxjkz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-0e0p0ywy.mjs +0 -2
- package/dist/chunks/cli-1.1.11-0mhwtkaa.mjs +0 -3
- package/dist/chunks/cli-1.1.11-0vywa3gz.mjs +0 -3
- package/dist/chunks/cli-1.1.11-0x3jb16g.mjs +0 -2
- package/dist/chunks/cli-1.1.11-0zmfx6fs.mjs +0 -2
- package/dist/chunks/cli-1.1.11-1425gpc8.mjs +0 -2
- package/dist/chunks/cli-1.1.11-1515mm11.mjs +0 -21
- package/dist/chunks/cli-1.1.11-178h39tz.mjs +0 -24
- package/dist/chunks/cli-1.1.11-17j0yz1c.mjs +0 -2
- package/dist/chunks/cli-1.1.11-1fkcr5gp.mjs +0 -2
- package/dist/chunks/cli-1.1.11-1he1em03.mjs +0 -2
- package/dist/chunks/cli-1.1.11-1jp85542.mjs +0 -6
- package/dist/chunks/cli-1.1.11-23hz9e80.mjs +0 -59
- package/dist/chunks/cli-1.1.11-2480c28s.mjs +0 -42
- package/dist/chunks/cli-1.1.11-2m78tg8p.mjs +0 -2
- package/dist/chunks/cli-1.1.11-333vj9h0.mjs +0 -6
- package/dist/chunks/cli-1.1.11-3gv2s1c0.mjs +0 -3
- package/dist/chunks/cli-1.1.11-3jw12y1k.mjs +0 -6
- package/dist/chunks/cli-1.1.11-3n6xajnz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-3p62a4zk.mjs +0 -2
- package/dist/chunks/cli-1.1.11-3p6nmjzx.mjs +0 -4
- package/dist/chunks/cli-1.1.11-3re050dw.mjs +0 -2
- package/dist/chunks/cli-1.1.11-3y3ak28a.mjs +0 -2
- package/dist/chunks/cli-1.1.11-47crfax7.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4a192z90.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4a4wbqs3.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4h9jnkae.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4hkr6h2p.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4m87wr6c.mjs +0 -45
- package/dist/chunks/cli-1.1.11-4pqmwv4k.mjs +0 -9
- package/dist/chunks/cli-1.1.11-4x7gdf33.mjs +0 -2
- package/dist/chunks/cli-1.1.11-4yg477hw.mjs +0 -2
- package/dist/chunks/cli-1.1.11-53htvfkn.mjs +0 -2
- package/dist/chunks/cli-1.1.11-54kmn08f.mjs +0 -2
- package/dist/chunks/cli-1.1.11-5716x6c7.mjs +0 -2
- package/dist/chunks/cli-1.1.11-57kjeck2.mjs +0 -2
- package/dist/chunks/cli-1.1.11-58y8zhtr.mjs +0 -26
- package/dist/chunks/cli-1.1.11-5ee40chc.mjs +0 -2
- package/dist/chunks/cli-1.1.11-5evw05k8.mjs +0 -2
- package/dist/chunks/cli-1.1.11-5mcr3f8x.mjs +0 -2
- package/dist/chunks/cli-1.1.11-6ancr21h.mjs +0 -2
- package/dist/chunks/cli-1.1.11-6kk88f11.mjs +0 -4
- package/dist/chunks/cli-1.1.11-6kp3wff0.mjs +0 -3
- package/dist/chunks/cli-1.1.11-6pgzp38k.mjs +0 -2
- package/dist/chunks/cli-1.1.11-6tyfa5hn.mjs +0 -2
- package/dist/chunks/cli-1.1.11-754rwfhh.mjs +0 -2
- package/dist/chunks/cli-1.1.11-7c5dnjyh.mjs +0 -2
- package/dist/chunks/cli-1.1.11-7fqzppxh.mjs +0 -2
- package/dist/chunks/cli-1.1.11-7h7exk8z.mjs +0 -39
- package/dist/chunks/cli-1.1.11-7ns0vhby.mjs +0 -2
- package/dist/chunks/cli-1.1.11-7vtjz4fp.mjs +0 -2
- package/dist/chunks/cli-1.1.11-80jnvwd3.mjs +0 -2
- package/dist/chunks/cli-1.1.11-80y1y33h.mjs +0 -2
- package/dist/chunks/cli-1.1.11-88pynw50.mjs +0 -2
- package/dist/chunks/cli-1.1.11-8j1jeg3y.mjs +0 -2
- package/dist/chunks/cli-1.1.11-8t6wwjcf.mjs +0 -2
- package/dist/chunks/cli-1.1.11-8vmf6185.mjs +0 -2
- package/dist/chunks/cli-1.1.11-99dgyvn6.mjs +0 -5
- package/dist/chunks/cli-1.1.11-9gtaqe5z.mjs +0 -2
- package/dist/chunks/cli-1.1.11-9q076mg1.mjs +0 -2
- package/dist/chunks/cli-1.1.11-9v76e0nn.mjs +0 -3
- package/dist/chunks/cli-1.1.11-9xepp7cw.mjs +0 -2
- package/dist/chunks/cli-1.1.11-9yb6m13t.mjs +0 -2
- package/dist/chunks/cli-1.1.11-a4we9vgp.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ay57kj7t.mjs +0 -2
- package/dist/chunks/cli-1.1.11-aydwe9xx.mjs +0 -8
- package/dist/chunks/cli-1.1.11-azaecepr.mjs +0 -2
- package/dist/chunks/cli-1.1.11-b0bsxy6e.mjs +0 -2
- package/dist/chunks/cli-1.1.11-brfrsyj3.mjs +0 -2
- package/dist/chunks/cli-1.1.11-c2kpn3fs.mjs +0 -2
- package/dist/chunks/cli-1.1.11-c566maxh.mjs +0 -6
- package/dist/chunks/cli-1.1.11-c8yn2sy4.mjs +0 -12
- package/dist/chunks/cli-1.1.11-c9mw7vaf.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ceb5eb1e.mjs +0 -4
- package/dist/chunks/cli-1.1.11-cetgmfd3.mjs +0 -2
- package/dist/chunks/cli-1.1.11-cfd7wcsr.mjs +0 -2
- package/dist/chunks/cli-1.1.11-cj1nzqdk.mjs +0 -6
- package/dist/chunks/cli-1.1.11-ctd6he1r.mjs +0 -2
- package/dist/chunks/cli-1.1.11-cyt97t1g.mjs +0 -2
- package/dist/chunks/cli-1.1.11-d8vrh841.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dcv6a2kq.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dfssr6vt.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dfx7qnxc.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dnp18qxm.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dygnwf66.mjs +0 -2
- package/dist/chunks/cli-1.1.11-dzq0mt2q.mjs +0 -2
- package/dist/chunks/cli-1.1.11-e1nmsb3e.mjs +0 -2
- package/dist/chunks/cli-1.1.11-e5yvpr5d.mjs +0 -133
- package/dist/chunks/cli-1.1.11-e8f5j5pp.mjs +0 -20
- package/dist/chunks/cli-1.1.11-e9h0r9s8.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ecfegt2j.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ef7cg4xt.mjs +0 -2
- package/dist/chunks/cli-1.1.11-en4s7zr1.mjs +0 -2
- package/dist/chunks/cli-1.1.11-epajg619.mjs +0 -2
- package/dist/chunks/cli-1.1.11-erfvptpc.mjs +0 -2
- package/dist/chunks/cli-1.1.11-et6r8n19.mjs +0 -12
- package/dist/chunks/cli-1.1.11-ex37fv7p.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ezt5j484.mjs +0 -7
- package/dist/chunks/cli-1.1.11-fcxz5772.mjs +0 -4
- package/dist/chunks/cli-1.1.11-fmb9eedn.mjs +0 -2
- package/dist/chunks/cli-1.1.11-fmy9jwdc.mjs +0 -3
- package/dist/chunks/cli-1.1.11-g0shs4yx.mjs +0 -17
- package/dist/chunks/cli-1.1.11-g38vgb2g.mjs +0 -2
- package/dist/chunks/cli-1.1.11-g9cesn9x.mjs +0 -2
- package/dist/chunks/cli-1.1.11-gnbty7hn.mjs +0 -9
- package/dist/chunks/cli-1.1.11-gnws5v1r.mjs +0 -15
- package/dist/chunks/cli-1.1.11-gyvneb2n.mjs +0 -2
- package/dist/chunks/cli-1.1.11-hazm6rky.mjs +0 -17
- package/dist/chunks/cli-1.1.11-hbvz2ngt.mjs +0 -2
- package/dist/chunks/cli-1.1.11-j4ym4b26.mjs +0 -2
- package/dist/chunks/cli-1.1.11-jc61pe1h.mjs +0 -15
- package/dist/chunks/cli-1.1.11-jejkqxzx.mjs +0 -2
- package/dist/chunks/cli-1.1.11-js75fbb2.mjs +0 -2
- package/dist/chunks/cli-1.1.11-jt8v99mz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-jvyac5ts.mjs +0 -2
- package/dist/chunks/cli-1.1.11-jzhj2z0q.mjs +0 -4
- package/dist/chunks/cli-1.1.11-jzmj7yys.mjs +0 -18
- package/dist/chunks/cli-1.1.11-k3691mq1.mjs +0 -1
- package/dist/chunks/cli-1.1.11-k7pcdfgm.mjs +0 -2
- package/dist/chunks/cli-1.1.11-k8shpmad.mjs +0 -2
- package/dist/chunks/cli-1.1.11-kj2dg4vg.mjs +0 -2
- package/dist/chunks/cli-1.1.11-kwbasdd3.mjs +0 -2
- package/dist/chunks/cli-1.1.11-m117ak01.mjs +0 -58
- package/dist/chunks/cli-1.1.11-m3mwsg1h.mjs +0 -5
- package/dist/chunks/cli-1.1.11-m4kdt922.mjs +0 -3
- package/dist/chunks/cli-1.1.11-m79xp4zw.mjs +0 -50
- package/dist/chunks/cli-1.1.11-m7dz7jb4.mjs +0 -2
- package/dist/chunks/cli-1.1.11-mjhzsr8x.mjs +0 -2
- package/dist/chunks/cli-1.1.11-mpr8grgt.mjs +0 -6
- package/dist/chunks/cli-1.1.11-n797shcy.mjs +0 -24
- package/dist/chunks/cli-1.1.11-n9eddt48.mjs +0 -133
- package/dist/chunks/cli-1.1.11-na2dfshq.mjs +0 -4
- package/dist/chunks/cli-1.1.11-nbdb2har.mjs +0 -15
- package/dist/chunks/cli-1.1.11-nfcb5zpv.mjs +0 -24
- package/dist/chunks/cli-1.1.11-ng71jh69.mjs +0 -2
- package/dist/chunks/cli-1.1.11-nnxrj2y7.mjs +0 -2
- package/dist/chunks/cli-1.1.11-nqrzeek1.mjs +0 -2
- package/dist/chunks/cli-1.1.11-nsf7da8p.mjs +0 -25
- package/dist/chunks/cli-1.1.11-p0gdcdg7.mjs +0 -2
- package/dist/chunks/cli-1.1.11-p1g4cbqp.mjs +0 -2
- package/dist/chunks/cli-1.1.11-p99a0wsg.mjs +0 -2
- package/dist/chunks/cli-1.1.11-pfnjpp3j.mjs +0 -2
- package/dist/chunks/cli-1.1.11-qd78ng67.mjs +0 -2
- package/dist/chunks/cli-1.1.11-qe68985c.mjs +0 -2
- package/dist/chunks/cli-1.1.11-qxqfwjt2.mjs +0 -12
- package/dist/chunks/cli-1.1.11-qy572ahv.mjs +0 -2
- package/dist/chunks/cli-1.1.11-r6pat8w9.mjs +0 -2
- package/dist/chunks/cli-1.1.11-r6zppx5e.mjs +0 -2
- package/dist/chunks/cli-1.1.11-r737sg77.mjs +0 -2
- package/dist/chunks/cli-1.1.11-re35m5b2.mjs +0 -3
- package/dist/chunks/cli-1.1.11-rm1ytz6k.mjs +0 -2
- package/dist/chunks/cli-1.1.11-s3x93993.mjs +0 -2
- package/dist/chunks/cli-1.1.11-s5fsvj2a.mjs +0 -2
- package/dist/chunks/cli-1.1.11-sby4j4da.mjs +0 -3
- package/dist/chunks/cli-1.1.11-se1r4vmz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-sen20m7k.mjs +0 -2
- package/dist/chunks/cli-1.1.11-smfhs04w.mjs +0 -3
- package/dist/chunks/cli-1.1.11-sph0eaqc.mjs +0 -4
- package/dist/chunks/cli-1.1.11-sptbkfhb.mjs +0 -2
- package/dist/chunks/cli-1.1.11-sxe5a6ht.mjs +0 -2
- package/dist/chunks/cli-1.1.11-sycyfbqa.mjs +0 -2
- package/dist/chunks/cli-1.1.11-t4vzh54z.mjs +0 -2
- package/dist/chunks/cli-1.1.11-t6xvy5kh.mjs +0 -2
- package/dist/chunks/cli-1.1.11-t95hn521.mjs +0 -2
- package/dist/chunks/cli-1.1.11-tg2x8my7.mjs +0 -4
- package/dist/chunks/cli-1.1.11-th7d92cz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-tqtf5qtz.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ty1grp21.mjs +0 -2
- package/dist/chunks/cli-1.1.11-tzw8k1nw.mjs +0 -2
- package/dist/chunks/cli-1.1.11-v0qc9e7x.mjs +0 -2
- package/dist/chunks/cli-1.1.11-v9gb0h1v.mjs +0 -2
- package/dist/chunks/cli-1.1.11-vaqp2v88.mjs +0 -3
- package/dist/chunks/cli-1.1.11-vcbj9ns4.mjs +0 -2
- package/dist/chunks/cli-1.1.11-vdh094gb.mjs +0 -2
- package/dist/chunks/cli-1.1.11-vkw5s1rv.mjs +0 -4
- package/dist/chunks/cli-1.1.11-vqcm2p2k.mjs +0 -3
- package/dist/chunks/cli-1.1.11-vtj7f6xe.mjs +0 -34
- package/dist/chunks/cli-1.1.11-w50fh65p.mjs +0 -2
- package/dist/chunks/cli-1.1.11-wf1jrvag.mjs +0 -2
- package/dist/chunks/cli-1.1.11-wjhta14d.mjs +0 -3
- package/dist/chunks/cli-1.1.11-wkmpy3a6.mjs +0 -2
- package/dist/chunks/cli-1.1.11-wrvqk2kb.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ws3mhebq.mjs +0 -2
- package/dist/chunks/cli-1.1.11-wsr8n6yx.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ww3qs66m.mjs +0 -2
- package/dist/chunks/cli-1.1.11-wzd4xr4g.mjs +0 -2
- package/dist/chunks/cli-1.1.11-x1cwe9h2.mjs +0 -2
- package/dist/chunks/cli-1.1.11-x2px8b33.mjs +0 -4
- package/dist/chunks/cli-1.1.11-x3d1641w.mjs +0 -66
- package/dist/chunks/cli-1.1.11-x4yq8238.mjs +0 -2
- package/dist/chunks/cli-1.1.11-xa1ktjvc.mjs +0 -18
- package/dist/chunks/cli-1.1.11-xdf6ka1p.mjs +0 -3
- package/dist/chunks/cli-1.1.11-xjejq6gc.mjs +0 -2
- package/dist/chunks/cli-1.1.11-xmp31p4m.mjs +0 -2
- package/dist/chunks/cli-1.1.11-xw1gtf4q.mjs +0 -2
- package/dist/chunks/cli-1.1.11-y8jb9ka1.mjs +0 -5382
- package/dist/chunks/cli-1.1.11-ybqaxmsq.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ygstc2fh.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ys88pb52.mjs +0 -2
- package/dist/chunks/cli-1.1.11-ys8qbdxp.mjs +0 -4
- package/dist/chunks/cli-1.1.11-ytd49283.mjs +0 -16
- package/dist/chunks/cli-1.1.11-yv8jze8x.mjs +0 -3
- package/dist/chunks/cli-1.1.11-yx7hmc5y.mjs +0 -24
- package/dist/chunks/cli-1.1.11-yz3byxtx.mjs +0 -202
- package/dist/chunks/cli-1.1.11-z02dbt8v.mjs +0 -25
- package/dist/chunks/cli-1.1.11-z08c87k7.mjs +0 -2
- package/dist/chunks/cli-1.1.11-zmkfqsfj.mjs +0 -2
- package/dist/chunks/cli-1.1.11-zz43hz3c.mjs +0 -2
- package/dist/chunks/client-1.1.11-4fds5q8p.mjs +0 -1
- package/dist/chunks/color-1.1.11-1pjrfnnd.mjs +0 -1
- package/dist/chunks/compact-1.1.11-qvdk635a.mjs +0 -3
- package/dist/chunks/config-1.1.11-3yh6sp7r.mjs +0 -1
- package/dist/chunks/config-1.1.11-qs94ayha.mjs +0 -1
- package/dist/chunks/constants-1.1.11-6f5wtx0e.mjs +0 -1
- package/dist/chunks/context-1.1.11-v76cyrq1.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.11-59s91h4x.mjs +0 -1
- package/dist/chunks/conversation-1.1.11-ve2rcdbk.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.11-awc75paz.mjs +0 -1
- package/dist/chunks/copy-1.1.11-t2yhcnhs.mjs +0 -9
- package/dist/chunks/cost-1.1.11-3qfqxkmj.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.11-d1a5c6qx.mjs +0 -1
- package/dist/chunks/createSession-1.1.11-tepvp40s.mjs +0 -1
- package/dist/chunks/debug-1.1.11-2tghvx1n.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.11-35s0feaf.mjs +0 -1526
- package/dist/chunks/desktop-1.1.11-hwbpq9hq.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.11-1p7kjee0.mjs +0 -1
- package/dist/chunks/detection-1.1.11-96xrmjq1.mjs +0 -1
- package/dist/chunks/diff-1.1.11-13e093sy.mjs +0 -1
- package/dist/chunks/doctor-1.1.11-r1xwax5q.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.11-05h9mhbd.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.11-14kzyy0e.mjs +0 -1
- package/dist/chunks/effort-1.1.11-9avhwp0f.mjs +0 -13
- package/dist/chunks/engine-1.1.11-j24ha45k.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.11-3xh8n4ys.mjs +0 -1
- package/dist/chunks/envUtils-1.1.11-ef7e3q7c.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.11-hxdx739y.mjs +0 -1
- package/dist/chunks/environments-1.1.11-356znhvc.mjs +0 -1
- package/dist/chunks/errors-1.1.11-ev387w5m.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.11-pejs7gw9.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.11-4s6hv328.mjs +0 -1
- package/dist/chunks/exit-1.1.11-v9psfac6.mjs +0 -1
- package/dist/chunks/explorer-1.1.11-e3f0wt2q.mjs +0 -1
- package/dist/chunks/export-1.1.11-3jan1p2n.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.11-3zfk19wt.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.11-ye9dcmbd.mjs +0 -1
- package/dist/chunks/fast-1.1.11-q42apmz5.mjs +0 -1
- package/dist/chunks/feedback-1.1.11-dtj0sby7.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.11-jy7cazzp.mjs +0 -1
- package/dist/chunks/git-1.1.11-x9yx65c5.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.11-bqkgby97.mjs +0 -1
- package/dist/chunks/goal-1.1.11-q2hpatj3.mjs +0 -4
- package/dist/chunks/grove-1.1.11-qxybpwre.mjs +0 -1
- package/dist/chunks/growthbook-1.1.11-3vnmw48g.mjs +0 -1
- package/dist/chunks/headless-1.1.11-w0ppk4vt.mjs +0 -2
- package/dist/chunks/heapdump-1.1.11-vh3qr7jg.mjs +0 -6
- package/dist/chunks/help-1.1.11-p384dp1z.mjs +0 -1
- package/dist/chunks/hookChains-1.1.11-088ye0xc.mjs +0 -3
- package/dist/chunks/hooks-1.1.11-4kkgc487.mjs +0 -79
- package/dist/chunks/hooks-1.1.11-a7p1se3t.mjs +0 -1
- package/dist/chunks/ide-1.1.11-n0zzy5nx.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.11-5xcxbnxj.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.11-y9exjc82.mjs +0 -1
- package/dist/chunks/index-1.1.11-03mzh565.mjs +0 -1
- package/dist/chunks/index-1.1.11-2yms0cys.mjs +0 -1
- package/dist/chunks/index-1.1.11-40px18hy.mjs +0 -2
- package/dist/chunks/index-1.1.11-4nqea2zz.mjs +0 -1
- package/dist/chunks/index-1.1.11-5gttv5kf.mjs +0 -1
- package/dist/chunks/index-1.1.11-68ffeh9a.mjs +0 -1
- package/dist/chunks/index-1.1.11-804qa6by.mjs +0 -1
- package/dist/chunks/index-1.1.11-9pwqbn5r.mjs +0 -1
- package/dist/chunks/index-1.1.11-a3y2aekg.mjs +0 -1
- package/dist/chunks/index-1.1.11-a6z5v5rh.mjs +0 -1
- package/dist/chunks/index-1.1.11-drr89zt1.mjs +0 -1
- package/dist/chunks/index-1.1.11-es7vjyrm.mjs +0 -1
- package/dist/chunks/index-1.1.11-fb4zcaqa.mjs +0 -9
- package/dist/chunks/index-1.1.11-fe66h6cm.mjs +0 -9
- package/dist/chunks/index-1.1.11-fmj2fbg0.mjs +0 -1
- package/dist/chunks/index-1.1.11-ft8kdz1m.mjs +0 -30
- package/dist/chunks/index-1.1.11-g7s48r9e.mjs +0 -1
- package/dist/chunks/index-1.1.11-jg3wztnh.mjs +0 -1
- package/dist/chunks/index-1.1.11-k7y5wmy4.mjs +0 -1
- package/dist/chunks/index-1.1.11-qykdv19z.mjs +0 -2
- package/dist/chunks/index-1.1.11-v4wf2vaf.mjs +0 -23
- package/dist/chunks/index-1.1.11-v83fr53d.mjs +0 -5
- package/dist/chunks/index-1.1.11-wtdppc5t.mjs +0 -1
- package/dist/chunks/init-1.1.11-hmef4hjd.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.11-pwmx5fqy.mjs +0 -1
- package/dist/chunks/ink-1.1.11-jw026dnf.mjs +0 -1
- package/dist/chunks/insights-1.1.11-6dzm6fbk.mjs +0 -870
- package/dist/chunks/install-1.1.11-pmvq4tzr.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.11-6yraca1d.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.11-f7kv64nn.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.11-5vjxebja.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.11-7pncqt0h.mjs +0 -1
- package/dist/chunks/keybindings-1.1.11-t04nc417.mjs +0 -2
- package/dist/chunks/knowledge-1.1.11-14y01py7.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.11-0y248exe.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.11-281da8yy.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.11-smwnwfy1.mjs +0 -1
- package/dist/chunks/log-1.1.11-bg8ah9ag.mjs +0 -1
- package/dist/chunks/main-1.1.11-6myv71xs.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.11-g7a35vm9.mjs +0 -1
- package/dist/chunks/mcp-1.1.11-4pdz9q1w.mjs +0 -17
- package/dist/chunks/mcp-1.1.11-63cbatj7.mjs +0 -1
- package/dist/chunks/mcp-1.1.11-jr7ccm2q.mjs +0 -4
- package/dist/chunks/mcpb-1.1.11-w2vyza13.mjs +0 -1
- package/dist/chunks/memory-1.1.11-hfwa4d07.mjs +0 -72
- package/dist/chunks/model-1.1.11-m73f7dnk.mjs +0 -1
- package/dist/chunks/model-1.1.11-s35tcbyz.mjs +0 -2
- package/dist/chunks/node-1.1.11-h3t9a7m9.mjs +0 -12
- package/dist/chunks/oauth-1.1.11-z19rt783.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.11-hw1h9m6b.mjs +0 -14
- package/dist/chunks/output-style-1.1.11-9wars2zm.mjs +0 -1
- package/dist/chunks/package-L37ZVTF4-1.1.11-xdrqg8t2.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.11-1xctyq5g.mjs +0 -1
- package/dist/chunks/parser-1.1.11-hdctc99h.mjs +0 -1
- package/dist/chunks/passes-1.1.11-cyfzrm0v.mjs +0 -1
- package/dist/chunks/permissions-1.1.11-gmeavwga.mjs +0 -1
- package/dist/chunks/permissions-1.1.11-k82nchw7.mjs +0 -3
- package/dist/chunks/plan-1.1.11-113qc4m4.mjs +0 -1
- package/dist/chunks/plist-1.1.11-tn2gma22.mjs +0 -1
- package/dist/chunks/plugin-1.1.11-v8jsy700.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.11-ak2j3gqk.mjs +0 -1
- package/dist/chunks/plugins-1.1.11-ne541702.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.11-trzavag7.mjs +0 -2
- package/dist/chunks/print-1.1.11-438pp8v9.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.11-mn1z3vsm.mjs +0 -1
- package/dist/chunks/process-1.1.11-eyv3rsh3.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.11-mmp13p2q.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.11-0q3vxz7d.mjs +0 -9
- package/dist/chunks/prompt-1.1.11-r4p751ar.mjs +0 -1
- package/dist/chunks/prompt-1.1.11-yrfr0vn1.mjs +0 -1
- package/dist/chunks/prompts-1.1.11-qxywq1b7.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.11-h9k096sf.mjs +0 -13
- package/dist/chunks/provider-1.1.11-xwrj8dzx.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.11-dwy6je4r.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.11-5x71hcx3.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.11-cex3vev6.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.11-pa8cx5ka.mjs +0 -34
- package/dist/chunks/registry-1.1.11-3s5s5x2w.mjs +0 -1
- package/dist/chunks/release-notes-1.1.11-dcephgep.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.11-06znv97n.mjs +0 -2
- package/dist/chunks/remote-env-1.1.11-ycaxf826.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.11-3f2qdc67.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.11-yr9z4qxr.mjs +0 -1
- package/dist/chunks/rename-1.1.11-cjn09qj8.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.11-ym5wskq3.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.11-b5w7tmfr.mjs +0 -1
- package/dist/chunks/resume-1.1.11-nth616a4.mjs +0 -2
- package/dist/chunks/rewind-1.1.11-57ydss59.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.11-j9g626rf.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.11-pj37xkbn.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.11-ke832djs.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.11-fybgyn3j.mjs +0 -1
- package/dist/chunks/session-1.1.11-85hpfa2y.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.11-wkjk4q5q.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.11-9rq4xh7v.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.11-bmy7c4ce.mjs +0 -1
- package/dist/chunks/settings-1.1.11-x92a7782.mjs +0 -1
- package/dist/chunks/setup-1.1.11-ft54z574.mjs +0 -5
- package/dist/chunks/sinks-1.1.11-qj6hh6fq.mjs +0 -1
- package/dist/chunks/skills-1.1.11-yb1h8f1p.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.11-aymsv2q9.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.11-q539pk5f.mjs +0 -1
- package/dist/chunks/state-1.1.11-z5q89e5v.mjs +0 -1
- package/dist/chunks/stats-1.1.11-5tdk8rvw.mjs +0 -6
- package/dist/chunks/status-1.1.11-xnqp4j47.mjs +0 -1
- package/dist/chunks/stickers-1.1.11-qj2z8gxy.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.11-p65stpt5.mjs +0 -1
- package/dist/chunks/tasks-1.1.11-wxw0xx0j.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.11-60crs4z7.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.11-s3btrevg.mjs +0 -1
- package/dist/chunks/teleport-1.1.11-0xf6aa7g.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.11-pfz13me0.mjs +0 -1
- package/dist/chunks/theme-1.1.11-2p323zvq.mjs +0 -1
- package/dist/chunks/thinkback-1.1.11-s0m1n5ww.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.11-2sq4jkjt.mjs +0 -1
- package/dist/chunks/toolPool-1.1.11-je8wzeg0.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.11-w74d8xmb.mjs +0 -1
- package/dist/chunks/tools-1.1.11-y36gvdes.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.11-x8dc07e5.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.11-sr4p4fht.mjs +0 -69
- package/dist/chunks/types-1.1.11-hmv5s58r.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.11-k569tjhq.mjs +0 -4
- package/dist/chunks/update-1.1.11-p39vapmz.mjs +0 -72
- package/dist/chunks/upgrade-1.1.11-tbgxp1ct.mjs +0 -1
- package/dist/chunks/upload-1.1.11-2ww1n0bh.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.11-1y1aettm.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.11-6g43s7vc.mjs +0 -1
- package/dist/chunks/usage-1.1.11-q123k500.mjs +0 -1
- package/dist/chunks/util-1.1.11-vtdjcaqr.mjs +0 -1
- package/dist/chunks/utils-1.1.11-tratqgvk.mjs +0 -1
- package/dist/chunks/vim-1.1.11-07nhad2c.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.11-w662caa3.mjs +0 -13
- package/dist/chunks/watcher-1.1.11-jjk2rcc6.mjs +0 -1
- package/dist/chunks/wiki-1.1.11-kdevp06r.mjs +0 -132
- package/dist/chunks/workflows-1.1.11-s711sqq1.mjs +0 -1
- package/dist/chunks/worktree-1.1.11-y6c7aw7x.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.11-afx643vn.mjs +0 -1
- package/dist/chunks/wrapper-1.1.11-yx4yqang.mjs +0 -7
- /package/dist/chunks/{cli-1.1.11-qx2jtemb.mjs → cli-1.1.13-8812dqjq.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ao as E,Bo as m,Bp as l,Co as Xq,Dp as Rq,Ep as i,Fp as Aq,Xo as S,ap as Zq}from"./cli-1.1.11-y8jb9ka1.mjs";import{Bca as h,Cca as n,Hca as vq,Jga as D,Rga as Qq,wca as u,yca as g}from"./cli-1.1.11-yz3byxtx.mjs";import{Qia as d,Sia as Uq}from"./cli-1.1.11-x3d1641w.mjs";import{Aka as M,Eka as y,Oka as V,Rka as e,rka as P,ska as v,wka as f}from"./cli-1.1.11-1jp85542.mjs";import{mla as W,nla as O,ola as C,tla as _}from"./cli-1.1.11-sph0eaqc.mjs";import{gsa as p,ysa as qq}from"./cli-1.1.11-yx7hmc5y.mjs";import{_sa as N}from"./cli-1.1.11-s5fsvj2a.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 id,r as jd,nq as kd,lq as ld,Oq as md,QQ as nd,XQ as od,Dq as pd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{DZ as s,H1 as f,c1 as t}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as n,l4 as c,m4 as r}from"./cli-1.1.11-dzq0mt2q.mjs";import{Wsa as m,_sa as l}from"./cli-1.1.11-s5fsvj2a.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as ng,p as og};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X8 as D,x8 as q}from"./cli-1.1.11-ytd49283.mjs";import{Jja as m,Kja as z}from"./cli-1.1.11-17j0yz1c.mjs";import{_sa as x}from"./cli-1.1.11-s5fsvj2a.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
-
export{E as pi,F as qi,K as ri,M as si,G as ti};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{cb as v}from"./cli-1.1.11-qx2jtemb.mjs";import{ef as QK,jf as gK}from"./cli-1.1.11-vqcm2p2k.mjs";import{FM as KK,GQ as yK,HM as uK,Sm as oz,Um as SK,Vo as M,Wo as fK,YK as kz,Yo as sz,ap as hK,dB as tz,eL as FK,fB as ez,gB as mK,gv as jz,iU as b,kJ as pK,kU as aK,lJ as cK,nv as wK,pM as zK,qM as dK,xQ as bz}from"./cli-1.1.11-y8jb9ka1.mjs";import{lZ as Kz,qZ as GK,rZ as Qz,sZ as OK}from"./cli-1.1.11-23hz9e80.mjs";import{D7 as vK,J8 as Fz,L8 as wz,M6 as Dz,N8 as R,Q6 as Iz,U6 as Az,V6 as rz,X8 as yz,a7 as Gz,e5 as U,f7 as G,h7 as Nz,k5 as T,m7 as k,z7 as iz}from"./cli-1.1.11-ytd49283.mjs";import{r9 as A,s9 as UK}from"./cli-1.1.11-3jw12y1k.mjs";import{B_ as Zz,C_ as xK,F$ as gz,Hea as lz,J_ as x,Jga as V,L_ as jK,Lda as H,M$ as bK,Nda as $,Nea as q,Pda as az,Qda as O,Qea as W,Rga as I,Tda as Jz,Wea as Wz,Xaa as t,Xea as Bz,Yea as nz,Zda as B,aba as DK,g$ as $z,gba as e,i$ as MK,jfa as N,kba as IK,p$ as uz,rba as zz,uba as AK}from"./cli-1.1.11-yz3byxtx.mjs";import{rha as j,vha as CK}from"./cli-1.1.11-x2px8b33.mjs";import{Xia as dz,Zia as EK}from"./cli-1.1.11-ww3qs66m.mjs";import{Lja as Z,Oja as L}from"./cli-1.1.11-nnxrj2y7.mjs";import{Aka as o,Eka as LK,uka as r,wka as _K,xka as i}from"./cli-1.1.11-1jp85542.mjs";import{Wka as s,Xka as NK}from"./cli-1.1.11-ygstc2fh.mjs";import{mla as P,ola as n,tla as BK}from"./cli-1.1.11-sph0eaqc.mjs";import{Bla as pz,Hla as cz,Jla as kK,yla as E,zla as S}from"./cli-1.1.11-8vmf6185.mjs";import{Aoa as Rz,Boa as Sz,Coa as xz,Eoa as fz,Opa as l,cpa as hz,ena as w,ina as WK,mra as y,opa as mz,vpa as a}from"./cli-1.1.11-9q076mg1.mjs";import{Xsa as PK}from"./cli-1.1.11-s5fsvj2a.mjs";UK();GK();y();AK();BK();LK();DK();I();NK();IK();WK();_K();OK();import{readFileSync as TK}from"node:fs";var RK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function qQ(){let z=zz()?RK: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 HQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function JQ(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(A.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{TK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(A.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}a(X),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing settings: ${P(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing --setting-sources: ${P(z)}
|
|
5
|
-
`)),process.exit(1)}}async function VQ(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}CK();aK();L();SK();N();vK();jK();kK();bK();xK();MK();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"}I();k();dK();hK();uK();L();N();I();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("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((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})}}L();N();I();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),q((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}`))}}L();N();I();B();function _z(){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=H("localSettings")||{},J={},_=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,_.push("enableAllProjectMcpServers");else if(z)_.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],_.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],_.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(_.includes("enableAllProjectMcpServers")||_.includes("enabledMcpjsonServers")||_.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...F}=D;return F});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:_.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}B();function Lz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}L();N();k();T();B();function Uz(){if(U()!=="firstParty")return;if(!Nz())return;let K=H("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;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}L();k();B();function Oz(){if(!Gz())return;if(H("userSettings")?.model!=="opus")return;if(Dz(Iz()))return;let z="opus[1m]",Q=G(z)===G(Az())?void 0:z;$("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}N();function Tz(){q((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})}y();N();T();B();function Mz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Rz()==="sonnet[1m]")xz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();yz();N();T();B();function Pz(){if(U()!=="firstParty")return;if(!R()&&!Fz()&&!wz())return;let K=H("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($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}L();N();I();FK();B();function Cz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(kz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();yz();N();T();B();function Ez(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(O()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}gK();fK();y();EK();B();yK();L();wK();async function vz(K,z){let Q=await bz(K),X=jz(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}})}}mK();function tX(){try{let K=H("policySettings");if(K){let z=az(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function eX(){let K=G(Sz()??rz());vz(dz(),iz(K,fz())),KK().then(({enabled:z,errors:Q})=>{let X=zK();tz(z,X,sz()),ez(Q,X)}).catch((z)=>V(z))}function lK(){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(E("--use-system-ca"))K.has_use_system_ca=!0;if(E("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function zY(){if(oz())return;let[K,z,Q]=await Promise.all([uz(),gz(),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:nz(),prefers_reduced_motion:O().prefersReducedMotion??!1,...lK()})}var C=12;function KY(){if(W().migrationVersion!==C)Hz(),Vz(),_z(),Ez(),Mz(),Uz(),Pz(),Lz(),Oz(),Tz(),Cz(),q((K)=>K.migrationVersion===C?K:{...K,migrationVersion:C});QK().catch(()=>{})}function QY(){if(hz()){x("info","prefetch_system_context_non_interactive"),b();return}if(lz())x("info","prefetch_system_context_has_trust"),b();else x("info","prefetch_system_context_skipped_no_trust")}function XY(){j("eagerLoadSettings_start");let K=v("--settings");if(K)Xz(K);let z=v("--setting-sources");if(z!==void 0)Yz(z);j("eagerLoadSettings_end")}function YY(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(S(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:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:F,skipWebFetchPreflight:XK,githubActionInputs:p,dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,allowDangerouslySkipPermissionsPassed:qK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:HK,assistantActivationPath:u,isCoordinator:JK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:F,skipWebFetchPreflight:XK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,inProtectedNamespace:cz(),allowDangerouslySkipPermissionsPassed:qK,thinkingType:HK.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:pz()||void 0,is_coordinator:JK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:O().autoUpdatesChannel??"latest"})}catch(VK){V(VK)}}function $Y(K){}function qY(K){return}
|
|
8
|
-
export{qQ as J,HQ as K,JQ as L,VQ as M,tX as N,eX as O,zY as P,KY as Q,QY as R,XY as S,YY as T,ZY as U,$Y as V,qY as W};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ysa as H,_sa as UJ}from"./cli-1.1.11-s5fsvj2a.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
-
export{W1 as x2,QQ as y2,WQ as z2,ZQ as A2,KQ as B2,FJ as C2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{D0 as z,E0 as $,F0 as D,WZ as W,ZZ as Z,_Z as x}from"./cli-1.1.11-23hz9e80.mjs";import{Qea as Q,jfa as Y}from"./cli-1.1.11-yz3byxtx.mjs";import{_sa as C}from"./cli-1.1.11-s5fsvj2a.mjs";function c(){let q=process.env.TERM_PROGRAM;if(q&&O.has(q))return!0;let y=process.env.TERM;if(y&&X.has(y))return!0;let J=W()?.toLowerCase();if(J===void 0)return!1;return k.some((B)=>J.startsWith(B))}function H(q){if(q===void 0||q==="")return null;let y=Number(q);if(!Number.isFinite(y)||y<d||y>w)return null;return y}function K(q){return u.get(q)??Math.max(1,Math.round(1000/q))}function m(){return H(process.env.CLAUDIN_FPS)!==null}function j(){let q=H(process.env.CLAUDIN_FPS);if(q!==null)return K(q);if(Z())return z;let y=H(Q().renderFrameRate);if(y!==null)return K(y);if(c()&&!process.env.TMUX)return h;return z}function I(){let q=j();return String(G.get(q)??Math.round(1000/q))}function P(){$(j())}var g,O,X,k,d=10,w=360,h=8,b,u,G;var L=C(()=>{D();x();Y();g=["auto","120","240","360"],O=new Set(["ghostty","kitty","WezTerm","alacritty","contour","foot","rio","WarpTerminal"]),X=new Set(["xterm-kitty","xterm-ghostty","alacritty","contour","foot","foot-extra","rio"]),k=["ghostty","kitty","wezterm","alacritty","contour","foot","rio","warp"],b=[[60,16],[120,h],[240,4],[360,3]],u=new Map(b),G=new Map(b.map(([q,y])=>[y,q]))});
|
|
2
|
-
export{g as Mg,m as Ng,I as Og,P as Pg,L as Qg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{M4 as M,N4 as E}from"./cli-1.1.11-re35m5b2.mjs";import{Hfa as l,Kfa as L,Lfa as c,ofa as _,uga as S,wfa as F,xga as p}from"./cli-1.1.11-yz3byxtx.mjs";import{Bla as Y,Jla as m}from"./cli-1.1.11-8vmf6185.mjs";import{_sa as B}from"./cli-1.1.11-s5fsvj2a.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
-
export{R as I2,r as J2,o as K2,e as L2,I as M2,O as N2,U as O2,VJ as P2,a as Q2,WJ as R2,yJ as S2,zJ as T2,n as U2,jJ as V2,s as W2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_sa as J}from"./cli-1.1.11-s5fsvj2a.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as Hh,Y as Ih,Z as Jh,V as Kh};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Isa as M0,Jsa as H0}from"./cli-1.1.11-hbvz2ngt.mjs";import{$sa as E,Xsa as L0,Ysa as J,_sa as R0}from"./cli-1.1.11-s5fsvj2a.mjs";var u_=J((Ch,b_)=>{var T=1000,$=T*60,O=$*60,U=O*24,rS=U*7,sS=U*365.25;b_.exports=function(_,S){S=S||{};var z=typeof _;if(z==="string"&&_.length>0)return aS(_);else if(z==="number"&&isFinite(_))return S.long?_0(_):eS(_);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function aS(_){if(_=String(_),_.length>100)return;var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(!S)return;var z=parseFloat(S[1]),h=(S[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return z*sS;case"weeks":case"week":case"w":return z*rS;case"days":case"day":case"d":return z*U;case"hours":case"hour":case"hrs":case"hr":case"h":return z*O;case"minutes":case"minute":case"mins":case"min":case"m":return z*$;case"seconds":case"second":case"secs":case"sec":case"s":return z*T;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return z;default:return}}function eS(_){var S=Math.abs(_);if(S>=U)return Math.round(_/U)+"d";if(S>=O)return Math.round(_/O)+"h";if(S>=$)return Math.round(_/$)+"m";if(S>=T)return Math.round(_/T)+"s";return _+"ms"}function _0(_){var S=Math.abs(_);if(S>=U)return t(_,S,U,"day");if(S>=O)return t(_,S,O,"hour");if(S>=$)return t(_,S,$,"minute");if(S>=T)return t(_,S,T,"second");return _+" ms"}function t(_,S,z,h){var K=S>=z*1.5;return Math.round(_/z)+" "+h+(K?"s":"")}});var J_=J((Ih,m_)=>{function z0(_){z.debug=z,z.default=z,z.coerce=M,z.disable=W,z.enable=K,z.enabled=V,z.humanize=u_(),z.destroy=F,Object.keys(_).forEach((Z)=>{z[Z]=_[Z]}),z.names=[],z.skips=[],z.formatters={};function S(Z){let Y=0;for(let G=0;G<Z.length;G++)Y=(Y<<5)-Y+Z.charCodeAt(G),Y|=0;return z.colors[Math.abs(Y)%z.colors.length]}z.selectColor=S;function z(Z){let Y,G=null,L,x;function H(...N){if(!H.enabled)return;let A=H,n=Number(new Date),lS=n-(Y||n);if(A.diff=lS,A.prev=Y,A.curr=n,Y=n,N[0]=z.coerce(N[0]),typeof N[0]!=="string")N.unshift("%O");let l=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(Z_,tS)=>{if(Z_==="%%")return"%";l++;let g_=z.formatters[tS];if(typeof g_==="function"){let oS=N[l];Z_=g_.call(A,oS),N.splice(l,1),l--}return Z_}),z.formatArgs.call(A,N),(A.log||z.log).apply(A,N)}if(H.namespace=Z,H.useColors=z.useColors(),H.color=z.selectColor(Z),H.extend=h,H.destroy=z.destroy,Object.defineProperty(H,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(L!==z.namespaces)L=z.namespaces,x=z.enabled(Z);return x},set:(N)=>{G=N}}),typeof z.init==="function")z.init(H);return H}function h(Z,Y){let G=z(this.namespace+(typeof Y>"u"?":":Y)+Z);return G.log=this.log,G}function K(Z){z.save(Z),z.namespaces=Z,z.names=[],z.skips=[];let Y=(typeof Z==="string"?Z:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of Y)if(G[0]==="-")z.skips.push(G.slice(1));else z.names.push(G)}function Q(Z,Y){let G=0,L=0,x=-1,H=0;while(G<Z.length)if(L<Y.length&&(Y[L]===Z[G]||Y[L]==="*"))if(Y[L]==="*")x=L,H=G,L++;else G++,L++;else if(x!==-1)L=x+1,H++,G=H;else return!1;while(L<Y.length&&Y[L]==="*")L++;return L===Y.length}function W(){let Z=[...z.names,...z.skips.map((Y)=>"-"+Y)].join(",");return z.enable(""),Z}function V(Z){for(let Y of z.skips)if(Q(Z,Y))return!1;for(let Y of z.names)if(Q(Z,Y))return!0;return!1}function M(Z){if(Z instanceof Error)return Z.stack||Z.message;return Z}function F(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return z.enable(z.load()),z}m_.exports=z0});var i_=J((p_,o)=>{p_.formatArgs=h0;p_.save=K0;p_.load=Q0;p_.useColors=S0;p_.storage=Z0();p_.destroy=(()=>{let _=!1;return()=>{if(!_)_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();p_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function S0(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let _;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function h0(_){if(_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+_[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let S="color: "+this.color;_.splice(1,0,S,"color: inherit");let z=0,h=0;_[0].replace(/%[a-zA-Z%]/g,(K)=>{if(K==="%%")return;if(z++,K==="%c")h=z}),_.splice(h,0,S)}p_.log=console.debug||console.log||(()=>{});function K0(_){try{if(_)p_.storage.setItem("debug",_);else p_.storage.removeItem("debug")}catch(S){}}function Q0(){let _;try{_=p_.storage.getItem("debug")||p_.storage.getItem("DEBUG")}catch(S){}if(!_&&typeof process<"u"&&"env"in process)_=process.env.DEBUG;return _}function Z0(){try{return localStorage}catch(_){}}o.exports=J_()(p_);var{formatters:J0}=o.exports;J0.j=function(_){try{return JSON.stringify(_)}catch(S){return"[UnexpectedJSONParseError]: "+S.message}}});var l_=J((c_,s)=>{var q0=E("tty"),r=E("util");c_.init=U0;c_.log=E0;c_.formatArgs=N0;c_.save=D0;c_.load=A0;c_.useColors=w0;c_.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");c_.colors=[6,2,3,4,5,1];try{let _=(H0(),L0(M0));if(_&&(_.stderr||_).level>=2)c_.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(_){}c_.inspectOpts=Object.keys(process.env).filter((_)=>{return/^debug_/i.test(_)}).reduce((_,S)=>{let z=S.substring(6).toLowerCase().replace(/_([a-z])/g,(K,Q)=>{return Q.toUpperCase()}),h=process.env[S];if(/^(yes|on|true|enabled)$/i.test(h))h=!0;else if(/^(no|off|false|disabled)$/i.test(h))h=!1;else if(h==="null")h=null;else h=Number(h);return _[z]=h,_},{});function w0(){return"colors"in c_.inspectOpts?Boolean(c_.inspectOpts.colors):q0.isatty(process.stderr.fd)}function N0(_){let{namespace:S,useColors:z}=this;if(z){let h=this.color,K="\x1B[3"+(h<8?h:"8;5;"+h),Q=` ${K};1m${S} \x1B[0m`;_[0]=Q+_[0].split(`
|
|
2
|
-
`).join(`
|
|
3
|
-
`+Q),_.push(K+"m+"+s.exports.humanize(this.diff)+"\x1B[0m")}else _[0]=x0()+S+" "+_[0]}function x0(){if(c_.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function E0(..._){return process.stderr.write(r.formatWithOptions(c_.inspectOpts,..._)+`
|
|
4
|
-
`)}function D0(_){if(_)process.env.DEBUG=_;else delete process.env.DEBUG}function A0(){return process.env.DEBUG}function U0(_){_.inspectOpts={};let S=Object.keys(c_.inspectOpts);for(let z=0;z<S.length;z++)_.inspectOpts[S[z]]=c_.inspectOpts[S[z]]}s.exports=J_()(c_);var{formatters:d_}=s.exports;d_.o=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts).split(`
|
|
5
|
-
`).map((S)=>S.trim()).join(" ")};d_.O=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts)}});var t_=J((Oh,Y_)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Y_.exports=i_();else Y_.exports=l_()});function y0(_){try{return new URL(_)}catch{return null}}function Rh(_){var S=(typeof _==="string"?y0(_):_)||{},z=S.protocol,h=S.host,K=S.port;if(typeof h!=="string"||!h||typeof z!=="string")return"";if(z=z.split(":",1)[0],h=h.replace(/:\d*$/,""),K=parseInt(K)||P0[z]||0,!k0(h,K))return"";var Q=W_(z+"_proxy")||W_("all_proxy");if(Q&&Q.indexOf("://")===-1)Q=z+"://"+Q;return Q}function k0(_,S){var z=W_("no_proxy").toLowerCase();if(!z)return!0;if(z==="*")return!1;return z.split(/[,\s]/).every(function(h){if(!h)return!0;var K=h.match(/^(.+):(\d+)$/),Q=K?K[1]:h,W=K?parseInt(K[2]):0;if(W&&W!==S)return!0;if(!/^[.*]/.test(Q))return _!==Q;if(Q.charAt(0)==="*")Q=Q.slice(1);return!_.endsWith(Q)})}function W_(_){return process.env[_.toLowerCase()]||process.env[_.toUpperCase()]||""}var P0;var v0=R0(()=>{P0={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443}});var r_=J((yh,o_)=>{var b;o_.exports=function(){if(!b){try{b=t_()("follow-redirects")}catch(_){}if(typeof b!=="function")b=function(){}}b.apply(null,arguments)}});var a0=J((kh,x_)=>{var m=E("url"),u=m.URL,g0=E("http"),b0=E("https"),X_=E("stream").Writable,L_=E("assert"),s_=r_();(function(){var S=typeof process<"u",z=typeof window<"u"&&typeof document<"u",h=C(Error.captureStackTrace);if(!S&&(z||!h))console.warn("The follow-redirects package should be excluded from browser builds.")})();var M_=!1;try{L_(new u(""))}catch(_){M_=_.code==="ERR_INVALID_URL"}var u0=["Authorization","Proxy-Authorization","Cookie"],m0=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],H_=["abort","aborted","connect","error","socket","timeout"],q_=Object.create(null);H_.forEach(function(_){q_[_]=function(S,z,h){this._redirectable.emit(_,S,z,h)}});var G_=p("ERR_INVALID_URL","Invalid URL",TypeError),V_=p("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),p0=p("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",V_),i0=p("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),d0=p("ERR_STREAM_WRITE_AFTER_END","write after end"),c0=X_.prototype.destroy||e_;function w(_,S){if(X_.call(this),this._sanitizeOptions(_),this._options=_,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],S)this.on("response",S);var z=this;this._onNativeResponse=function(h){try{z._processResponse(h)}catch(K){z.emit("error",K instanceof V_?K:new V_({cause:K}))}},this._headerFilter=new RegExp("^(?:"+u0.concat(_.sensitiveHeaders).map(s0).join("|")+")$","i"),this._performRequest()}w.prototype=Object.create(X_.prototype);w.prototype.abort=function(){N_(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};w.prototype.destroy=function(_){return N_(this._currentRequest,_),c0.call(this,_),this};w.prototype.write=function(_,S,z){if(this._ending)throw new d0;if(!j(_)&&!o0(_))throw TypeError("data should be a string, Buffer or Uint8Array");if(C(S))z=S,S=null;if(_.length===0){if(z)z();return}if(this._requestBodyLength+_.length<=this._options.maxBodyLength)this._requestBodyLength+=_.length,this._requestBodyBuffers.push({data:_,encoding:S}),this._currentRequest.write(_,S,z);else this.emit("error",new i0),this.abort()};w.prototype.end=function(_,S,z){if(C(_))z=_,_=S=null;else if(C(S))z=S,S=null;if(!_)this._ended=this._ending=!0,this._currentRequest.end(null,null,z);else{var h=this,K=this._currentRequest;this.write(_,S,function(){h._ended=!0,K.end(null,null,z)}),this._ending=!0}};w.prototype.setHeader=function(_,S){this._options.headers[_]=S,this._currentRequest.setHeader(_,S)};w.prototype.removeHeader=function(_){delete this._options.headers[_],this._currentRequest.removeHeader(_)};w.prototype.setTimeout=function(_,S){var z=this;function h(W){W.setTimeout(_),W.removeListener("timeout",W.destroy),W.addListener("timeout",W.destroy)}function K(W){if(z._timeout)clearTimeout(z._timeout);z._timeout=setTimeout(function(){z.emit("timeout"),Q()},_),h(W)}function Q(){if(z._timeout)clearTimeout(z._timeout),z._timeout=null;if(z.removeListener("abort",Q),z.removeListener("error",Q),z.removeListener("response",Q),z.removeListener("close",Q),S)z.removeListener("timeout",S);if(!z.socket)z._currentRequest.removeListener("socket",K)}if(S)this.on("timeout",S);if(this.socket)K(this.socket);else this._currentRequest.once("socket",K);return this.on("socket",h),this.on("abort",Q),this.on("error",Q),this.on("response",Q),this.on("close",Q),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(_){w.prototype[_]=function(S,z){return this._currentRequest[_](S,z)}});["aborted","connection","socket"].forEach(function(_){Object.defineProperty(w.prototype,_,{get:function(){return this._currentRequest[_]}})});w.prototype._sanitizeOptions=function(_){if(!_.headers)_.headers={};if(!t0(_.sensitiveHeaders))_.sensitiveHeaders=[];if(_.host){if(!_.hostname)_.hostname=_.host;delete _.host}if(!_.pathname&&_.path){var S=_.path.indexOf("?");if(S<0)_.pathname=_.path;else _.pathname=_.path.substring(0,S),_.search=_.path.substring(S)}};w.prototype._performRequest=function(){var _=this._options.protocol,S=this._options.nativeProtocols[_];if(!S)throw TypeError("Unsupported protocol "+_);if(this._options.agents){var z=_.slice(0,-1);this._options.agent=this._options.agents[z]}var h=this._currentRequest=S.request(this._options,this._onNativeResponse);h._redirectable=this;for(var K of H_)h.on(K,q_[K]);if(this._currentUrl=/^\//.test(this._options.path)?m.format(this._options):this._options.path,this._isRedirect){var Q=0,W=this,V=this._requestBodyBuffers;(function M(F){if(h===W._currentRequest){if(F)W.emit("error",F);else if(Q<V.length){var Z=V[Q++];if(!h.finished)h.write(Z.data,Z.encoding,M)}else if(W._ended)h.end()}})()}};w.prototype._processResponse=function(_){var S=_.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:_.headers,statusCode:S});var z=_.headers.location;if(!z||this._options.followRedirects===!1||S<300||S>=400){_.responseUrl=this._currentUrl,_.redirects=this._redirects,this.emit("response",_),this._requestBodyBuffers=[];return}if(N_(this._currentRequest),_.destroy(),++this._redirectCount>this._options.maxRedirects)throw new p0;var h,K=this._options.beforeRedirect;if(K)h=Object.assign({Host:_.req.getHeader("host")},this._options.headers);var Q=this._options.method;if((S===301||S===302)&&this._options.method==="POST"||S===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],B_(/^content-/i,this._options.headers);var W=B_(/^host$/i,this._options.headers),V=w_(this._currentUrl),M=W||V.host,F=/^\w+:/.test(z)?this._currentUrl:m.format(Object.assign(V,{host:M})),Z=n0(z,F);if(s_("redirecting to",Z.href),this._isRedirect=!0,F_(Z,this._options),Z.protocol!==V.protocol&&Z.protocol!=="https:"||Z.host!==M&&!l0(Z.host,M))B_(this._headerFilter,this._options.headers);if(C(K)){var Y={headers:_.headers,statusCode:S},G={url:F,method:Q,headers:h};K(this._options,Y,G),this._sanitizeOptions(this._options)}this._performRequest()};function a_(_){var S={maxRedirects:21,maxBodyLength:10485760},z={};return Object.keys(_).forEach(function(h){var K=h+":",Q=z[K]=_[h],W=S[h]=Object.create(Q);function V(F,Z,Y){if(r0(F))F=F_(F);else if(j(F))F=F_(w_(F));else Y=Z,Z=_z(F),F={protocol:K};if(C(Z))Y=Z,Z=null;if(Z=Object.assign({maxRedirects:S.maxRedirects,maxBodyLength:S.maxBodyLength},F,Z),Z.nativeProtocols=z,!j(Z.host)&&!j(Z.hostname))Z.hostname="::1";return L_.equal(Z.protocol,K,"protocol mismatch"),s_("options",Z),new w(Z,Y)}function M(F,Z,Y){var G=W.request(F,Z,Y);return G.end(),G}Object.defineProperties(W,{request:{value:V,configurable:!0,enumerable:!0,writable:!0},get:{value:M,configurable:!0,enumerable:!0,writable:!0}})}),S}function e_(){}function w_(_){var S;if(M_)S=new u(_);else if(S=_z(m.parse(_)),!j(S.protocol))throw new G_({input:_});return S}function n0(_,S){return M_?new u(_,S):w_(m.resolve(S,_))}function _z(_){if(/^\[/.test(_.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(_.hostname))throw new G_({input:_.href||_});if(/^\[/.test(_.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(_.host))throw new G_({input:_.href||_});return _}function F_(_,S){var z=S||{};for(var h of m0)z[h]=_[h];if(z.hostname.startsWith("["))z.hostname=z.hostname.slice(1,-1);if(z.port!=="")z.port=Number(z.port);return z.path=z.search?z.pathname+z.search:z.pathname,z}function B_(_,S){var z;for(var h in S)if(_.test(h))z=S[h],delete S[h];return z===null||typeof z>"u"?void 0:String(z).trim()}function p(_,S,z){function h(K){if(C(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,K||{}),this.code=_,this.message=this.cause?S+": "+this.cause.message:S}return h.prototype=new(z||Error),Object.defineProperties(h.prototype,{constructor:{value:h,enumerable:!1},name:{value:"Error ["+_+"]",enumerable:!1}}),h}function N_(_,S){for(var z of H_)_.removeListener(z,q_[z]);_.on("error",e_),_.destroy(S)}function l0(_,S){L_(j(_)&&j(S));var z=_.length-S.length-1;return z>0&&_[z]==="."&&_.endsWith(S)}function t0(_){return _ instanceof Array}function j(_){return typeof _==="string"||_ instanceof String}function C(_){return typeof _==="function"}function o0(_){return typeof _==="object"&&"length"in _}function r0(_){return u&&_ instanceof u}function s0(_){return _.replace(/[\]\\/()*+?.$]/g,"\\$&")}x_.exports=a_({http:g0,https:b0});x_.exports.wrap=a_});var hz=J((vh,Sz)=>{var zz=E("stream").Stream,e0=E("util");Sz.exports=D;function D(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e0.inherits(D,zz);D.create=function(_,S){var z=new this;S=S||{};for(var h in S)z[h]=S[h];z.source=_;var K=_.emit;if(_.emit=function(){return z._handleEmit(arguments),K.apply(_,arguments)},_.on("error",function(){}),z.pauseStream)_.pause();return z};Object.defineProperty(D.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});D.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};D.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};D.prototype.pause=function(){this.source.pause()};D.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(_){this.emit.apply(this,_)}.bind(this)),this._bufferedEvents=[]};D.prototype.pipe=function(){var _=zz.prototype.pipe.apply(this,arguments);return this.resume(),_};D.prototype._handleEmit=function(_){if(this._released){this.emit.apply(this,_);return}if(_[0]==="data")this.dataSize+=_[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(_)};D.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(_))}});var z1=J((gh,Zz)=>{var _1=E("util"),Qz=E("stream").Stream,Kz=hz();Zz.exports=X;function X(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}_1.inherits(X,Qz);X.create=function(_){var S=new this;_=_||{};for(var z in _)S[z]=_[z];return S};X.isStreamLike=function(_){return typeof _!=="function"&&typeof _!=="string"&&typeof _!=="boolean"&&typeof _!=="number"&&!Buffer.isBuffer(_)};X.prototype.append=function(_){var S=X.isStreamLike(_);if(S){if(!(_ instanceof Kz)){var z=Kz.create(_,{maxDataSize:1/0,pauseStream:this.pauseStreams});_.on("data",this._checkDataSize.bind(this)),_=z}if(this._handleErrors(_),this.pauseStreams)_.pause()}return this._streams.push(_),this};X.prototype.pipe=function(_,S){return Qz.prototype.pipe.call(this,_,S),this.resume(),_};X.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};X.prototype._realGetNext=function(){var _=this._streams.shift();if(typeof _>"u"){this.end();return}if(typeof _!=="function"){this._pipeNext(_);return}var S=_;S(function(z){var h=X.isStreamLike(z);if(h)z.on("data",this._checkDataSize.bind(this)),this._handleErrors(z);this._pipeNext(z)}.bind(this))};X.prototype._pipeNext=function(_){this._currentStream=_;var S=X.isStreamLike(_);if(S){_.on("end",this._getNext.bind(this)),_.pipe(this,{end:!1});return}var z=_;this.write(z),this._getNext()};X.prototype._handleErrors=function(_){var S=this;_.on("error",function(z){S._emitError(z)})};X.prototype.write=function(_){this.emit("data",_)};X.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};X.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};X.prototype.end=function(){this._reset(),this.emit("end")};X.prototype.destroy=function(){this._reset(),this.emit("close")};X.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};X.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(_))};X.prototype._updateDataSize=function(){this.dataSize=0;var _=this;if(this._streams.forEach(function(S){if(!S.dataSize)return;_.dataSize+=S.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};X.prototype._emitError=function(_){this._reset(),this.emit("error",_)}});var Yz=J((bh,Jz)=>{Jz.exports=S1;function S1(_){var S=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(S)S(_);else setTimeout(_,0)}});var E_=J((uh,Bz)=>{var Wz=Yz();Bz.exports=h1;function h1(_){var S=!1;return Wz(function(){S=!0}),function(h,K){if(S)_(h,K);else Wz(function(){_(h,K)})}}});var D_=J((mh,Gz)=>{Gz.exports=K1;function K1(_){Object.keys(_.jobs).forEach(Q1.bind(_)),_.jobs={}}function Q1(_){if(typeof this.jobs[_]=="function")this.jobs[_]()}});var A_=J((ph,Fz)=>{var Vz=E_(),Z1=D_();Fz.exports=J1;function J1(_,S,z,h){var K=z.keyedList?z.keyedList[z.index]:z.index;z.jobs[K]=Y1(S,K,_[K],function(Q,W){if(!(K in z.jobs))return;if(delete z.jobs[K],Q)Z1(z);else z.results[K]=W;h(Q,z.results)})}function Y1(_,S,z,h){var K;if(_.length==2)K=_(z,Vz(h));else K=_(z,S,Vz(h));return K}});var U_=J((ih,Xz)=>{Xz.exports=W1;function W1(_,S){var z=!Array.isArray(_),h={index:0,keyedList:z||S?Object.keys(_):null,jobs:{},results:z?{}:[],size:z?Object.keys(_).length:_.length};if(S)h.keyedList.sort(z?S:function(K,Q){return S(_[K],_[Q])});return h}});var f_=J((dh,Lz)=>{var B1=D_(),G1=E_();Lz.exports=V1;function V1(_){if(!Object.keys(this.jobs).length)return;this.index=this.size,B1(this),G1(_)(null,this.results)}});var Hz=J((ch,Mz)=>{var F1=A_(),X1=U_(),L1=f_();Mz.exports=M1;function M1(_,S,z){var h=X1(_);while(h.index<(h.keyedList||_).length)F1(_,S,h,function(K,Q){if(K){z(K,Q);return}if(Object.keys(h.jobs).length===0){z(null,h.results);return}}),h.index++;return L1.bind(h,z)}});var j_=J((nh,a)=>{var qz=A_(),H1=U_(),q1=f_();a.exports=w1;a.exports.ascending=wz;a.exports.descending=N1;function w1(_,S,z,h){var K=H1(_,z);return qz(_,S,K,function Q(W,V){if(W){h(W,V);return}if(K.index++,K.index<(K.keyedList||_).length){qz(_,S,K,Q);return}h(null,K.results)}),q1.bind(K,h)}function wz(_,S){return _<S?-1:_>S?1:0}function N1(_,S){return-1*wz(_,S)}});var xz=J((lh,Nz)=>{var x1=j_();Nz.exports=E1;function E1(_,S,z){return x1(_,S,null,z)}});var D1=J((th,Ez)=>{Ez.exports={parallel:Hz(),serial:xz(),serialOrdered:j_()}});var C_=J((oh,Dz)=>{Dz.exports=Object});var Uz=J((rh,Az)=>{Az.exports=Error});var jz=J((sh,fz)=>{fz.exports=EvalError});var Iz=J((ah,Cz)=>{Cz.exports=RangeError});var $z=J((eh,Tz)=>{Tz.exports=ReferenceError});var Rz=J((_2,Oz)=>{Oz.exports=SyntaxError});var e=J((z2,Pz)=>{Pz.exports=TypeError});var kz=J((S2,yz)=>{yz.exports=URIError});var gz=J((h2,vz)=>{vz.exports=Math.abs});var uz=J((K2,bz)=>{bz.exports=Math.floor});var pz=J((Q2,mz)=>{mz.exports=Math.max});var dz=J((Z2,iz)=>{iz.exports=Math.min});var nz=J((J2,cz)=>{cz.exports=Math.pow});var tz=J((Y2,lz)=>{lz.exports=Math.round});var rz=J((W2,oz)=>{oz.exports=Number.isNaN||function(S){return S!==S}});var az=J((B2,sz)=>{var A1=rz();sz.exports=function(S){if(A1(S)||S===0)return S;return S<0?-1:1}});var _S=J((G2,ez)=>{ez.exports=Object.getOwnPropertyDescriptor});var I_=J((V2,zS)=>{var __=_S();if(__)try{__([],"length")}catch(_){__=null}zS.exports=__});var hS=J((F2,SS)=>{var z_=Object.defineProperty||!1;if(z_)try{z_({},"a",{value:1})}catch(_){z_=!1}SS.exports=z_});var T_=J((X2,KS)=>{KS.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var S={},z=Symbol("test"),h=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(h)!=="[object Symbol]")return!1;var K=42;S[z]=K;for(var Q in S)return!1;if(typeof Object.keys==="function"&&Object.keys(S).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(S).length!==0)return!1;var W=Object.getOwnPropertySymbols(S);if(W.length!==1||W[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(S,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var V=Object.getOwnPropertyDescriptor(S,z);if(V.value!==K||V.enumerable!==!0)return!1}return!0}});var JS=J((L2,ZS)=>{var QS=typeof Symbol<"u"&&Symbol,U1=T_();ZS.exports=function(){if(typeof QS!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof QS("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return U1()}});var $_=J((M2,YS)=>{YS.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var O_=J((H2,WS)=>{var f1=C_();WS.exports=f1.getPrototypeOf||null});var VS=J((q2,GS)=>{var j1="Function.prototype.bind called on incompatible ",C1=Object.prototype.toString,I1=Math.max,T1="[object Function]",BS=function(S,z){var h=[];for(var K=0;K<S.length;K+=1)h[K]=S[K];for(var Q=0;Q<z.length;Q+=1)h[Q+S.length]=z[Q];return h},$1=function(S,z){var h=[];for(var K=z||0,Q=0;K<S.length;K+=1,Q+=1)h[Q]=S[K];return h},O1=function(_,S){var z="";for(var h=0;h<_.length;h+=1)if(z+=_[h],h+1<_.length)z+=S;return z};GS.exports=function(S){var z=this;if(typeof z!=="function"||C1.apply(z)!==T1)throw TypeError(j1+z);var h=$1(arguments,1),K,Q=function(){if(this instanceof K){var Z=z.apply(this,BS(h,arguments));if(Object(Z)===Z)return Z;return this}return z.apply(S,BS(h,arguments))},W=I1(0,z.length-h.length),V=[];for(var M=0;M<W;M++)V[M]="$"+M;if(K=Function("binder","return function ("+O1(V,",")+"){ return binder.apply(this,arguments); }")(Q),z.prototype){var F=function(){};F.prototype=z.prototype,K.prototype=new F,F.prototype=null}return K}});var R=J((w2,FS)=>{var R1=VS();FS.exports=Function.prototype.bind||R1});var S_=J((N2,XS)=>{XS.exports=Function.prototype.call});var R_=J((x2,LS)=>{LS.exports=Function.prototype.apply});var HS=J((E2,MS)=>{MS.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var wS=J((D2,qS)=>{var P1=R(),y1=R_(),k1=S_(),v1=HS();qS.exports=v1||P1.call(k1,y1)});var xS=J((A2,NS)=>{var g1=R(),b1=e(),u1=S_(),m1=wS();NS.exports=function(S){if(S.length<1||typeof S[0]!=="function")throw new b1("a function is required");return m1(g1,u1,S)}});var jS=J((U2,fS)=>{var p1=xS(),ES=I_(),AS;try{AS=[].__proto__===Array.prototype}catch(_){if(!_||typeof _!=="object"||!("code"in _)||_.code!=="ERR_PROTO_ACCESS")throw _}var P_=!!AS&&ES&&ES(Object.prototype,"__proto__"),US=Object,DS=US.getPrototypeOf;fS.exports=P_&&typeof P_.get==="function"?p1([P_.get]):typeof DS==="function"?function(S){return DS(S==null?S:US(S))}:!1});var OS=J((f2,$S)=>{var CS=$_(),IS=O_(),TS=jS();$S.exports=CS?function(S){return CS(S)}:IS?function(S){if(!S||typeof S!=="object"&&typeof S!=="function")throw TypeError("getProto: not an object");return IS(S)}:TS?function(S){return TS(S)}:null});var PS=J((j2,RS)=>{var i1=Function.prototype.call,d1=Object.prototype.hasOwnProperty,c1=R();RS.exports=c1.call(i1,d1)});var uS=J((C2,bS)=>{var B,n1=C_(),l1=Uz(),t1=jz(),o1=Iz(),r1=$z(),v=Rz(),k=e(),s1=kz(),a1=gz(),e1=uz(),_h=pz(),zh=dz(),Sh=nz(),hh=tz(),Kh=az(),vS=Function,y_=function(_){try{return vS('"use strict"; return ('+_+").constructor;")()}catch(S){}},i=I_(),Qh=hS(),k_=function(){throw new k},Zh=i?function(){try{return arguments.callee,k_}catch(_){try{return i(arguments,"callee").get}catch(S){return k_}}}():k_,P=JS()(),q=OS(),Jh=O_(),Yh=$_(),gS=R_(),d=S_(),y={},Wh=typeof Uint8Array>"u"||!q?B:q(Uint8Array),I={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?B:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?B:ArrayBuffer,"%ArrayIteratorPrototype%":P&&q?q([][Symbol.iterator]()):B,"%AsyncFromSyncIteratorPrototype%":B,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?B:Atomics,"%BigInt%":typeof BigInt>"u"?B:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?B:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?B:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?B:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":l1,"%eval%":eval,"%EvalError%":t1,"%Float16Array%":typeof Float16Array>"u"?B:Float16Array,"%Float32Array%":typeof Float32Array>"u"?B:Float32Array,"%Float64Array%":typeof Float64Array>"u"?B:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?B:FinalizationRegistry,"%Function%":vS,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?B:Int8Array,"%Int16Array%":typeof Int16Array>"u"?B:Int16Array,"%Int32Array%":typeof Int32Array>"u"?B:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&q?q(q([][Symbol.iterator]())):B,"%JSON%":typeof JSON==="object"?JSON:B,"%Map%":typeof Map>"u"?B:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!q?B:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n1,"%Object.getOwnPropertyDescriptor%":i,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?B:Promise,"%Proxy%":typeof Proxy>"u"?B:Proxy,"%RangeError%":o1,"%ReferenceError%":r1,"%Reflect%":typeof Reflect>"u"?B:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?B:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!q?B:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?B:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&q?q(""[Symbol.iterator]()):B,"%Symbol%":P?Symbol:B,"%SyntaxError%":v,"%ThrowTypeError%":Zh,"%TypedArray%":Wh,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array>"u"?B:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?B:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?B:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?B:Uint32Array,"%URIError%":s1,"%WeakMap%":typeof WeakMap>"u"?B:WeakMap,"%WeakRef%":typeof WeakRef>"u"?B:WeakRef,"%WeakSet%":typeof WeakSet>"u"?B:WeakSet,"%Function.prototype.call%":d,"%Function.prototype.apply%":gS,"%Object.defineProperty%":Qh,"%Object.getPrototypeOf%":Jh,"%Math.abs%":a1,"%Math.floor%":e1,"%Math.max%":_h,"%Math.min%":zh,"%Math.pow%":Sh,"%Math.round%":hh,"%Math.sign%":Kh,"%Reflect.getPrototypeOf%":Yh};if(q)try{null.error}catch(_){v_=q(q(_)),I["%Error.prototype%"]=v_}var v_,Bh=function _(S){var z;if(S==="%AsyncFunction%")z=y_("async function () {}");else if(S==="%GeneratorFunction%")z=y_("function* () {}");else if(S==="%AsyncGeneratorFunction%")z=y_("async function* () {}");else if(S==="%AsyncGenerator%"){var h=_("%AsyncGeneratorFunction%");if(h)z=h.prototype}else if(S==="%AsyncIteratorPrototype%"){var K=_("%AsyncGenerator%");if(K&&q)z=q(K.prototype)}return I[S]=z,z},yS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=R(),h_=PS(),Gh=c.call(d,Array.prototype.concat),Vh=c.call(gS,Array.prototype.splice),kS=c.call(d,String.prototype.replace),K_=c.call(d,String.prototype.slice),Fh=c.call(d,RegExp.prototype.exec),Xh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Lh=/\\(\\)?/g,Mh=function(S){var z=K_(S,0,1),h=K_(S,-1);if(z==="%"&&h!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");else if(h==="%"&&z!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var K=[];return kS(S,Xh,function(Q,W,V,M){K[K.length]=V?kS(M,Lh,"$1"):W||Q}),K},Hh=function(S,z){var h=S,K;if(h_(yS,h))K=yS[h],h="%"+K[0]+"%";if(h_(I,h)){var Q=I[h];if(Q===y)Q=Bh(h);if(typeof Q>"u"&&!z)throw new k("intrinsic "+S+" exists, but is not available. Please file an issue!");return{alias:K,name:h,value:Q}}throw new v("intrinsic "+S+" does not exist!")};bS.exports=function(S,z){if(typeof S!=="string"||S.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!=="boolean")throw new k('"allowMissing" argument must be a boolean');if(Fh(/^%?[^%]*%?$/,S)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var h=Mh(S),K=h.length>0?h[0]:"",Q=Hh("%"+K+"%",z),W=Q.name,V=Q.value,M=!1,F=Q.alias;if(F)K=F[0],Vh(h,Gh([0,1],F));for(var Z=1,Y=!0;Z<h.length;Z+=1){var G=h[Z],L=K_(G,0,1),x=K_(G,-1);if((L==='"'||L==="'"||L==="`"||(x==='"'||x==="'"||x==="`"))&&L!==x)throw new v("property names with quotes must have matching quotes");if(G==="constructor"||!Y)M=!0;if(K+="."+G,W="%"+K+"%",h_(I,W))V=I[W];else if(V!=null){if(!(G in V)){if(!z)throw new k("base intrinsic for "+S+" exists, but the property is not available.");return}if(i&&Z+1>=h.length){var H=i(V,G);if(Y=!!H,Y&&"get"in H&&!("originalValue"in H.get))V=H.get;else V=V[G]}else Y=h_(V,G),V=V[G];if(Y&&!M)I[W]=V}}return V}});var pS=J((I2,mS)=>{var qh=T_();mS.exports=function(){return qh()&&!!Symbol.toStringTag}});var dS=J((T2,iS)=>{var wh=Function.prototype.call,Nh=Object.prototype.hasOwnProperty,xh=R();iS.exports=xh.call(wh,Nh)});var fh=J(($2,nS)=>{var Eh=uS(),cS=Eh("%Object.defineProperty%",!0),Dh=pS()(),Ah=dS(),Uh=e(),Q_=Dh?Symbol.toStringTag:null;nS.exports=function(S,z){var h=arguments.length>2&&!!arguments[2]&&arguments[2].force,K=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof h<"u"&&typeof h!=="boolean"||typeof K<"u"&&typeof K!=="boolean")throw new Uh("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Q_&&(h||!Ah(S,Q_)))if(cS)cS(S,Q_,{configurable:!K,enumerable:!1,value:z,writable:!1});else S[Q_]=z}});
|
|
6
|
-
export{z1 as zsa,D1 as Asa,R as Bsa,fh as Csa,Rh as Dsa,v0 as Esa,t_ as Fsa,a0 as Gsa};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{t9 as D}from"./cli-1.1.11-e5yvpr5d.mjs";import{Aka as L,Eka as JG,Oka as W,Rka as a}from"./cli-1.1.11-1jp85542.mjs";import{Jla as GG,yla as c,zla as jG}from"./cli-1.1.11-8vmf6185.mjs";import{Lra as U,Mra as g}from"./cli-1.1.11-7ns0vhby.mjs";import{gsa as H,ysa as RG}from"./cli-1.1.11-yx7hmc5y.mjs";import{Fsa as wG}from"./cli-1.1.11-c566maxh.mjs";import{$sa as e,Wsa as WG,_sa as j}from"./cli-1.1.11-s5fsvj2a.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
-
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
-
\r
|
|
4
|
-
`);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
-
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
-
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
|
|
7
|
-
`;let $=n(K);K.write(`${w}\r
|
|
8
|
-
`);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
|
|
9
|
-
`;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
|
|
10
|
-
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
-
`);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.11-5gttv5kf.mjs"),import("./index-1.1.11-fb4zcaqa.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
-
export{hG as Y8,p as Z8,F as _8,gG as $8,aG as a9,pG as b9,KG as c9,MJ as d9,HJ as e9,OG as f9,I as g9,h as h9,qJ as i9,jJ as j9,UJ as k9,_J as l9,FJ as m9,NJ as n9,TJ as o9,vG as p9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_sa as g}from"./cli-1.1.11-s5fsvj2a.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
-
export{Bq as kW,d as lW,$J as mW,DJ as nW,GJ as oW};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Zi as T,bQ as w,cQ as j}from"./cli-1.1.11-y8jb9ka1.mjs";import{Aka as J,Eka as C,Oka as X,Rka as S}from"./cli-1.1.11-1jp85542.mjs";import{nla as b,tla as y}from"./cli-1.1.11-sph0eaqc.mjs";import{Wsa as k,_sa as A}from"./cli-1.1.11-s5fsvj2a.mjs";import{execFile as P}from"child_process";import{isAbsolute as x,join as V,relative as u,sep as D}from"path";import{promisify as h}from"util";async function c(q){try{let{stdout:z}=await m("git",["-c","core.quotepath=false","ls-files"],{cwd:q,encoding:"utf8",timeout:_,maxBuffer:g});return z.split(`
|
|
2
|
-
`).filter((Q)=>Q.length>0)}catch(z){return X(`[rulesLint] git ls-files failed in ${q}: ${String(z)}`),null}}function l(q){if(q.length===0)return!1;if(f.some((z)=>q.includes(z)))return!1;if(x(q))return!1;if(!q.includes("/"))return!1;return/^[\w.@-]+(?:\/[\w.@-]+)+\/?$/.test(q)}function a(q,z){let Q=J();if(Q.existsSync(V(q,z)))return!0;if(!U.test(z))return!1;let W=z.replace(U,"");return[".ts",".tsx"].some((Y)=>Q.existsSync(V(q,W+Y)))}function r(q,z){let Q=z.split("/")[0];if(!Q)return!1;let W=J(),Y=V(q,Q);try{return W.existsSync(Y)&&W.statSync(Y).isDirectory()}catch{return!1}}function s(q){let z=new Set,Q=[];for(let W of q.split(`
|
|
3
|
-
`))for(let Y of W.matchAll(E)){let $=Y[1];if(!$)continue;let H=$.trim().replace(F,"").replace(p,"");if(l(H)&&!z.has(H))z.add(H),Q.push({path:H,line:W})}return Q}async function L(q){let z=J(),Q;try{Q=await z.readdir(q)}catch(Y){let $=b(Y);if($==="ENOENT"||$==="EACCES"||$==="ENOTDIR")return[];throw Y}let W=[];for(let Y of Q){let $=V(q,Y.name);if(Y.isDirectory())W.push(...await L($));else if(Y.isFile()&&Y.name.endsWith(".md"))W.push($)}return W.sort()}function o(q,z){let Q=N.default().add(q);return z.some((W)=>{if(W.startsWith("..")||x(W))return!1;return Q.ignores(W)})}async function Yq(q={}){let z=J(),Q=q.root??z.cwd(),W=await L(V(Q,R)),Y=I.map((Z)=>V(Q,Z)).filter((Z)=>z.existsSync(Z)),$=q.trackedFiles??await c(Q)??null,H=[],G=[];for(let Z of[...W,...Y]){let B;try{B=await z.readFile(Z,{encoding:"utf8"})}catch(K){X(`[rulesLint] unreadable rule file ${Z}: ${String(K)}`);continue}let M=!Z.includes(`${D}rules${D}`),v=w(B);if(!M){for(let K of v.unsupportedKeys)H.push({file:Z,kind:"unsupported_key",severity:"error",message:`frontmatter key \`${K}\` is not supported and is ignored`,fix:K==="globs"?"Rename `globs:` to `paths:` — as written, the rule loads into every session instead of the files you scoped it to.":"Remove the key. Only `paths` is read; anything else leaves the rule unconditional."});if(v.malformedPaths)H.push({file:Z,kind:"malformed_paths",severity:"error",message:"`paths:` is not a string or a list of strings",fix:'Write `paths: "src/**/*.ts"` or a YAML list of strings.'});if(!v.paths)G.push({file:Z,chars:B.length});else if($){if(!o(v.paths,$))H.push({file:Z,kind:"inert_paths",severity:"error",message:`\`paths:\` matches no tracked file (${v.paths.join(", ")})`,fix:"Fix the patterns. As written the rule never loads, which is indistinguishable from a working rule at runtime."})}}for(let{path:K,line:O}of s(v.content)){if(!r(Q,K))continue;if(a(Q,K))continue;if(d.test(O))continue;H.push({file:Z,kind:"missing_path",severity:"warning",message:`cites \`${K}\`, which does not exist`,fix:"Update or remove the reference — a rule that names a moved file sends the agent to the wrong place."})}}return{findings:H,unconditional:G,unconditionalChars:G.reduce((Z,B)=>Z+B.chars,0),filesChecked:W.length+Y.length}}function Zq(q,z){let Q=u(q,z);return Q.length>0&&!Q.startsWith("..")?Q:z}var N,I,R,m,_=1e4,g=33554432,E,p,F,f,d,U;var n=A(()=>{S();y();C();j();N=k(T(),1),I=["AGENTS.md","CLAUDE.md"],R=V(".claudin","rules"),m=h(P),E=/`([^`\n]+)`/g,p=/:\d+(?:-\d+)?$/,F=/[.,;:)\]]+$/,f=["<",">","*","~","...","$","|","://"," ","path/to"],d=/\b(removed|deleted|dropped|no longer|used to|formerly|superseded)\b/i,U=/\.js$/});
|
|
4
|
-
export{Yq as ig,Zq as jg,n as kg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{de as _,fe as v}from"./cli-1.1.11-vcbj9ns4.mjs";import{Ge as Z,He as P}from"./cli-1.1.11-et6r8n19.mjs";import{$x as X,dy as K,ny as Y,py as A}from"./cli-1.1.11-y8jb9ka1.mjs";import{AY as C,xY as V}from"./cli-1.1.11-j4ym4b26.mjs";import{k4 as H,m4 as Q}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as W}from"./cli-1.1.11-d8vrh841.mjs";import{Uga as L,Vga as U}from"./cli-1.1.11-x2px8b33.mjs";import{Wsa as B,_sa as M}from"./cli-1.1.11-s5fsvj2a.mjs";function x({children:q}){let{bindings:D}=Y(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function y(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function b(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let T=(w)=>_(H(X,{children:H(x,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=y(w);for(let w=0;w<N;w+=I){let O=await T([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await b(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var j=M(()=>{U();P();C();A();K();v();Q();J=B(W(),1)});
|
|
2
|
-
export{l as lc,j as mc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_sa as o}from"./cli-1.1.11-s5fsvj2a.mjs";var t=3,n=1,i=32,_="generativelanguage.googleapis.com",s,c="api.kimi.com",p,r,a,E;var e=o(()=>{s=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),r=new Set(["api.deepseek.com"]),a={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as u9,n as v9,i as w9,_ as x9,s as y9,c as z9,p as A9,r as B9,a as C9,E as D9,e as E9};
|