@claudiolabs/claudio 0.1.15 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
- package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.15-86m0j64m.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
- package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
- package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
- package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
- package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
- package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
- package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
- package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.2.0-mkbxpe3a.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
- package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
- package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
- package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
- package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
- package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
- package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
- package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
- package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
- package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
- package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
- package/dist/chunks/{autoMode-0.1.15-p9r45wxy.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
- package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
- package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
- package/dist/chunks/{btw-0.1.15-q693ppfr.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
- package/dist/chunks/{buddy-0.1.15-vcca6k2p.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
- package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
- package/dist/chunks/{cache-probe-0.1.15-dfdjj53r.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.15-v9v9y02q.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
- package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
- package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
- package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
- package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
- package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
- package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
- package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
- package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
- package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-4fc5wnse.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
- package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
- package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
- package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-vwb8h4r1.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.15-ncammv2n.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
- package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
- package/dist/chunks/{cli-0.1.15-nkn6jfmb.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
- package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
- package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
- package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
- package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
- package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
- package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
- package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
- package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
- package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
- package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-rq9n4js4.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.15-20tvdt2s.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
- package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
- package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
- package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
- package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
- package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
- package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
- package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
- package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
- package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
- package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
- package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
- package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
- package/dist/chunks/{cli-0.1.15-m0v1d1kt.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
- package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
- package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
- package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
- package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-zap1wk9j.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-xe4dq144.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
- package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
- package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-mhbfhhf6.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
- package/dist/chunks/{cli-0.1.15-rv6zpjh8.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
- package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-68f0jtkh.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
- package/dist/chunks/{cli-0.1.15-dp2e8j4f.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
- package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-26hkdean.mjs → cli-0.2.0-cs8e9514.mjs} +817 -949
- package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
- package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-x69hfzmj.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
- package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
- package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
- package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-nk50qhet.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
- package/dist/chunks/{cli-0.1.15-e2e7hn7p.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
- package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
- package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-d9nfa2yf.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
- package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
- package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-gmdv5ny8.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
- package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
- package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
- package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
- package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
- package/dist/chunks/{cli-0.1.15-gkzany0s.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-4892kydg.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
- package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
- package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
- package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-cr7qy3wd.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
- package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
- package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
- package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
- package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
- package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
- package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
- package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
- package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
- package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
- package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
- package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
- package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
- package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
- package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-jy7cjb23.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-v07ep52w.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
- package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
- package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
- package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
- package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
- package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
- package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-2vwx57re.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
- package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
- package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
- package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
- package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
- package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
- package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
- package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
- package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
- package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-5denzf1p.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
- package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
- package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
- package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
- package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-b7p48xfw.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.15-qns6xv34.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
- package/dist/chunks/{cli-0.1.15-6nwbd09n.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
- package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
- package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
- package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
- package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
- package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-rbx47sc3.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
- package/dist/chunks/{cli-0.1.15-xaw2s45s.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
- package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
- package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
- package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
- package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
- package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-rvtve9kq.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
- package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-8sgewact.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
- package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
- package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
- package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-htms4w3h.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
- package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
- package/dist/chunks/{cli-0.1.15-23cavaaa.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
- package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
- package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
- package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
- package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
- package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
- package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
- package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
- package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
- package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
- package/dist/chunks/{context-0.1.15-ghkedaaw.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
- package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
- package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
- package/dist/chunks/{copy-0.1.15-53q3e2fk.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
- package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
- package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
- package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
- package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
- package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
- package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
- package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
- package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
- package/dist/chunks/{effort-0.1.15-5za6yh63.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
- package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
- package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
- package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
- package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
- package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
- package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
- package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
- package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
- package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
- package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
- package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
- package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
- package/dist/chunks/{hooks-0.1.15-f81kq7m2.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
- package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
- package/dist/chunks/{ide-0.1.15-xepj09gj.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
- package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
- package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
- package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
- package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
- package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
- package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
- package/dist/chunks/{index-0.1.15-77j1wp6f.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
- package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
- package/dist/chunks/{index-0.1.15-f1y1067a.mjs → index-0.2.0-b71emahw.mjs} +1 -1
- package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
- package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
- package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
- package/dist/chunks/{index-0.1.15-15ftbc8a.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
- package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
- package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
- package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
- package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
- package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
- package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
- package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
- package/dist/chunks/{index-0.1.15-tf5b20vy.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
- package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
- package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
- package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
- package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
- package/dist/chunks/{insights-0.1.15-2zt9898j.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
- package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
- package/dist/chunks/{install-github-app-0.1.15-h746hza3.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
- package/dist/chunks/{instrumentation-0.1.15-bwm4tb1y.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
- package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
- package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
- package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
- package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
- package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
- package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
- package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
- package/dist/chunks/{mcp-0.1.15-tw9s435t.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
- package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
- package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
- package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
- package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
- package/dist/chunks/{mobile-0.1.15-sm8kbft4.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
- package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
- package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
- package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
- package/dist/chunks/{openaiShim-0.1.15-0yryhq9r.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
- package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
- package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
- package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
- package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
- package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
- package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
- package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
- package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
- package/dist/chunks/{plugins-0.1.15-3rpwr86v.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
- package/dist/chunks/{print-0.1.15-64y2p7wj.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
- package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
- package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
- package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
- package/dist/chunks/{processSlashCommand-0.1.15-mee2mbyy.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
- package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
- package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
- package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
- package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
- package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
- package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
- package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
- package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
- package/dist/chunks/{remote-env-0.1.15-fd5z1adp.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
- package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
- package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
- package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
- package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
- package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
- package/dist/chunks/{sandbox-toggle-0.1.15-fn86ac4p.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
- package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
- package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
- package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
- package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
- package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
- package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
- package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
- package/dist/chunks/{stats-0.1.15-3c4f5zp4.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
- package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
- package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
- package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
- package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
- package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
- package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
- package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
- package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
- package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
- package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
- package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
- package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.15-pmxpe7z8.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.15-3gjgaeyn.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
- package/dist/chunks/{update-0.1.15-jtd1h3e7.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
- package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.15-wtbs40ct.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
- package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
- package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
- package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
- package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
- package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
- package/dist/chunks/{wiki-0.1.15-pp951r9h.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
- package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
- package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +0 -1
- package/dist/chunks/App-0.1.15-skbrajfh.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.1.15-3wyrkte5.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +0 -1
- package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +0 -1
- package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +0 -1
- package/dist/chunks/InProcessTransport-0.1.15-p32k8qva.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +0 -1
- package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +0 -1
- package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +0 -1
- package/dist/chunks/agents-0.1.15-vkekdkan.mjs +0 -3
- package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +0 -111
- package/dist/chunks/api-0.1.15-jq17qdd8.mjs +0 -1
- package/dist/chunks/asciicast-0.1.15-4t4tanfk.mjs +0 -1
- package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +0 -1
- package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +0 -1
- package/dist/chunks/auth-0.1.15-x6bxj6d1.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +0 -1
- package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +0 -4
- package/dist/chunks/bridgePointer-0.1.15-p6kq1zz7.mjs +0 -1
- package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +0 -1
- package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.1.15-rxtx8hbf.mjs +0 -1
- package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +0 -1
- package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +0 -1
- package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +0 -2
- package/dist/chunks/cli-0.1.15-0g0abv7y.mjs +0 -2
- package/dist/chunks/cli-0.1.15-11sdbfxy.mjs +0 -4
- package/dist/chunks/cli-0.1.15-12azgmva.mjs +0 -2
- package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +0 -2
- package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +0 -2
- package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +0 -2
- package/dist/chunks/cli-0.1.15-216kns0c.mjs +0 -2
- package/dist/chunks/cli-0.1.15-229xqnrp.mjs +0 -2
- package/dist/chunks/cli-0.1.15-2ccapgj1.mjs +0 -2
- package/dist/chunks/cli-0.1.15-2h647znt.mjs +0 -2
- package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +0 -2
- package/dist/chunks/cli-0.1.15-30tz5ck8.mjs +0 -2
- package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +0 -2
- package/dist/chunks/cli-0.1.15-3jz926ax.mjs +0 -2
- package/dist/chunks/cli-0.1.15-3qwnw3ca.mjs +0 -2
- package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +0 -2
- package/dist/chunks/cli-0.1.15-3z0tzzs8.mjs +0 -2
- package/dist/chunks/cli-0.1.15-4hnhxg2w.mjs +0 -2
- package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +0 -2
- package/dist/chunks/cli-0.1.15-4y7051f2.mjs +0 -2
- package/dist/chunks/cli-0.1.15-5g0zxgxn.mjs +0 -2
- package/dist/chunks/cli-0.1.15-5qx5p8cd.mjs +0 -2
- package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +0 -2
- package/dist/chunks/cli-0.1.15-69kq5chw.mjs +0 -2
- package/dist/chunks/cli-0.1.15-6mad0r56.mjs +0 -2
- package/dist/chunks/cli-0.1.15-6r12ayea.mjs +0 -2
- package/dist/chunks/cli-0.1.15-6r630k68.mjs +0 -9
- package/dist/chunks/cli-0.1.15-77346q11.mjs +0 -7
- package/dist/chunks/cli-0.1.15-7myqm617.mjs +0 -2
- package/dist/chunks/cli-0.1.15-7rr53z40.mjs +0 -2
- package/dist/chunks/cli-0.1.15-82r3zgmq.mjs +0 -3
- package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +0 -2
- package/dist/chunks/cli-0.1.15-8v8bskr0.mjs +0 -2
- package/dist/chunks/cli-0.1.15-90ye3yqx.mjs +0 -2
- package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +0 -2
- package/dist/chunks/cli-0.1.15-9m2znwvb.mjs +0 -4
- package/dist/chunks/cli-0.1.15-9pe3dbgs.mjs +0 -2
- package/dist/chunks/cli-0.1.15-9w140hjt.mjs +0 -2
- package/dist/chunks/cli-0.1.15-a10ekh15.mjs +0 -2
- package/dist/chunks/cli-0.1.15-a8kgfrkd.mjs +0 -2
- package/dist/chunks/cli-0.1.15-acdm8b28.mjs +0 -17
- package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +0 -2
- package/dist/chunks/cli-0.1.15-asts8hm3.mjs +0 -2
- package/dist/chunks/cli-0.1.15-b1t6c81s.mjs +0 -2
- package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +0 -2
- package/dist/chunks/cli-0.1.15-b6gdqjbg.mjs +0 -2
- package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +0 -2
- package/dist/chunks/cli-0.1.15-be4mz6ka.mjs +0 -2
- package/dist/chunks/cli-0.1.15-behp1dag.mjs +0 -2
- package/dist/chunks/cli-0.1.15-bfd337b0.mjs +0 -2
- package/dist/chunks/cli-0.1.15-bpcmpy8b.mjs +0 -2
- package/dist/chunks/cli-0.1.15-bz57rf9t.mjs +0 -2
- package/dist/chunks/cli-0.1.15-cbseyggr.mjs +0 -2
- package/dist/chunks/cli-0.1.15-cenwnwnx.mjs +0 -2
- package/dist/chunks/cli-0.1.15-cf4s92e9.mjs +0 -2
- package/dist/chunks/cli-0.1.15-cqzrzsh5.mjs +0 -5
- package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +0 -2
- package/dist/chunks/cli-0.1.15-dcabmk2v.mjs +0 -2
- package/dist/chunks/cli-0.1.15-dcxa8b6s.mjs +0 -2
- package/dist/chunks/cli-0.1.15-dq954y1q.mjs +0 -2
- package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +0 -2
- package/dist/chunks/cli-0.1.15-e494j2sj.mjs +0 -4
- package/dist/chunks/cli-0.1.15-e64w5wan.mjs +0 -5
- package/dist/chunks/cli-0.1.15-e70ktyft.mjs +0 -2
- package/dist/chunks/cli-0.1.15-em40knm7.mjs +0 -4
- package/dist/chunks/cli-0.1.15-en9ppdbd.mjs +0 -2
- package/dist/chunks/cli-0.1.15-f838g4vw.mjs +0 -2
- package/dist/chunks/cli-0.1.15-f8abjagh.mjs +0 -2
- package/dist/chunks/cli-0.1.15-fe92jeft.mjs +0 -2
- package/dist/chunks/cli-0.1.15-fmnyh9j9.mjs +0 -6
- package/dist/chunks/cli-0.1.15-fr83vs1y.mjs +0 -2
- package/dist/chunks/cli-0.1.15-ft6xtjsa.mjs +0 -2
- package/dist/chunks/cli-0.1.15-g5wt8d3g.mjs +0 -2
- package/dist/chunks/cli-0.1.15-ghvjjc4g.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gn4wnxx3.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gqf82qvm.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gqp8kzp0.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gtn9gx9w.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +0 -2
- package/dist/chunks/cli-0.1.15-gxgy4enj.mjs +0 -2
- package/dist/chunks/cli-0.1.15-h3a2cbdb.mjs +0 -2
- package/dist/chunks/cli-0.1.15-h4erh2cn.mjs +0 -2
- package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +0 -2
- package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +0 -12
- package/dist/chunks/cli-0.1.15-j5m3s9r5.mjs +0 -2
- package/dist/chunks/cli-0.1.15-k0bn0cze.mjs +0 -2
- package/dist/chunks/cli-0.1.15-knpxv22b.mjs +0 -2
- package/dist/chunks/cli-0.1.15-ks9rz9tk.mjs +0 -5
- package/dist/chunks/cli-0.1.15-kw7che8m.mjs +0 -2
- package/dist/chunks/cli-0.1.15-m7gtc61y.mjs +0 -2
- package/dist/chunks/cli-0.1.15-my0y22r7.mjs +0 -6
- package/dist/chunks/cli-0.1.15-n97y4hq4.mjs +0 -2
- package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +0 -2
- package/dist/chunks/cli-0.1.15-njg0k6ga.mjs +0 -2
- package/dist/chunks/cli-0.1.15-nts79xbr.mjs +0 -2
- package/dist/chunks/cli-0.1.15-nw94frpp.mjs +0 -2
- package/dist/chunks/cli-0.1.15-nx5v1cvm.mjs +0 -2
- package/dist/chunks/cli-0.1.15-p159ga3t.mjs +0 -2
- package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +0 -2
- package/dist/chunks/cli-0.1.15-p5ty029c.mjs +0 -2
- package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +0 -2
- package/dist/chunks/cli-0.1.15-pxf97j8y.mjs +0 -2
- package/dist/chunks/cli-0.1.15-pya8tbx3.mjs +0 -2
- package/dist/chunks/cli-0.1.15-q021qg07.mjs +0 -2
- package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +0 -16
- package/dist/chunks/cli-0.1.15-qhz07at6.mjs +0 -2
- package/dist/chunks/cli-0.1.15-r626437v.mjs +0 -2
- package/dist/chunks/cli-0.1.15-r8qzzahw.mjs +0 -2
- package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +0 -2
- package/dist/chunks/cli-0.1.15-rr65b3dk.mjs +0 -2
- package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +0 -4
- package/dist/chunks/cli-0.1.15-rwx8446j.mjs +0 -2
- package/dist/chunks/cli-0.1.15-s7trme0x.mjs +0 -2
- package/dist/chunks/cli-0.1.15-sct02cw6.mjs +0 -5
- package/dist/chunks/cli-0.1.15-sd5jysf2.mjs +0 -2
- package/dist/chunks/cli-0.1.15-sg3n1v0w.mjs +0 -2
- package/dist/chunks/cli-0.1.15-svhrqvzp.mjs +0 -3
- package/dist/chunks/cli-0.1.15-tj4kzvth.mjs +0 -2
- package/dist/chunks/cli-0.1.15-tn4214gj.mjs +0 -2
- package/dist/chunks/cli-0.1.15-tp614m5f.mjs +0 -2
- package/dist/chunks/cli-0.1.15-twq0mjmr.mjs +0 -2
- package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +0 -3
- package/dist/chunks/cli-0.1.15-vzk22hwe.mjs +0 -2
- package/dist/chunks/cli-0.1.15-w8q8f37x.mjs +0 -2
- package/dist/chunks/cli-0.1.15-wfn10357.mjs +0 -2
- package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +0 -2
- package/dist/chunks/cli-0.1.15-wn40n534.mjs +0 -2
- package/dist/chunks/cli-0.1.15-x3yhaxm9.mjs +0 -2
- package/dist/chunks/cli-0.1.15-xery8c8c.mjs +0 -2
- package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +0 -2
- package/dist/chunks/cli-0.1.15-y6fkcbes.mjs +0 -2
- package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +0 -2
- package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +0 -2
- package/dist/chunks/cli-0.1.15-yjxhk7qj.mjs +0 -2
- package/dist/chunks/cli-0.1.15-ywed2hpz.mjs +0 -2
- package/dist/chunks/cli-0.1.15-yxm6wwfz.mjs +0 -2
- package/dist/chunks/cli-0.1.15-yym7bka2.mjs +0 -2
- package/dist/chunks/cli-0.1.15-z2yexprk.mjs +0 -4
- package/dist/chunks/cli-0.1.15-z35x5bfj.mjs +0 -2
- package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +0 -2
- package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +0 -2
- package/dist/chunks/client-0.1.15-pbb4218v.mjs +0 -1
- package/dist/chunks/color-0.1.15-w9tvjt51.mjs +0 -1
- package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +0 -3
- package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +0 -1
- package/dist/chunks/config-0.1.15-r15yk3zr.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +0 -1
- package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +0 -1
- package/dist/chunks/cost-0.1.15-garxyfxy.mjs +0 -1
- package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +0 -1
- package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +0 -1
- package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +0 -1
- package/dist/chunks/diff-0.1.15-gc5686z3.mjs +0 -1
- package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +0 -1
- package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +0 -1
- package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +0 -1
- package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +0 -1
- package/dist/chunks/export-0.1.15-h5n9s624.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +0 -1
- package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +0 -1
- package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.1.15-pss0293k.mjs +0 -1
- package/dist/chunks/git-0.1.15-002t17pq.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +0 -1
- package/dist/chunks/growthbook-0.1.15-m7gdvgqa.mjs +0 -1
- package/dist/chunks/heapdump-0.1.15-s8h9rwpe.mjs +0 -6
- package/dist/chunks/help-0.1.15-y48dg88b.mjs +0 -1
- package/dist/chunks/hookChains-0.1.15-z46c2xkf.mjs +0 -3
- package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +0 -1
- package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +0 -1
- package/dist/chunks/index-0.1.15-0z186jwx.mjs +0 -1
- package/dist/chunks/index-0.1.15-136649ke.mjs +0 -1
- package/dist/chunks/index-0.1.15-1r19582s.mjs +0 -1
- package/dist/chunks/index-0.1.15-3jxezstk.mjs +0 -1
- package/dist/chunks/index-0.1.15-52zxtxf2.mjs +0 -1
- package/dist/chunks/index-0.1.15-628tag5v.mjs +0 -1
- package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +0 -1
- package/dist/chunks/index-0.1.15-832xm57n.mjs +0 -1
- package/dist/chunks/index-0.1.15-abzge0fa.mjs +0 -1
- package/dist/chunks/index-0.1.15-b9sdtjj4.mjs +0 -9
- package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +0 -1
- package/dist/chunks/index-0.1.15-d4ea93sj.mjs +0 -9
- package/dist/chunks/index-0.1.15-n2q4dkvc.mjs +0 -1
- package/dist/chunks/index-0.1.15-nzmg6zng.mjs +0 -1
- package/dist/chunks/index-0.1.15-r9ck21mp.mjs +0 -1
- package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +0 -1
- package/dist/chunks/index-0.1.15-x8ghxne4.mjs +0 -2
- package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +0 -1
- package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +0 -1
- package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +0 -1
- package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +0 -1
- package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +0 -2
- package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +0 -1
- package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +0 -1
- package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +0 -1
- package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +0 -1
- package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +0 -4
- package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +0 -1
- package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +0 -1
- package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +0 -3
- package/dist/chunks/model-0.1.15-843f7654.mjs +0 -1
- package/dist/chunks/model-0.1.15-e62wxf7h.mjs +0 -2
- package/dist/chunks/oauth-0.1.15-gxgmqwwx.mjs +0 -1
- package/dist/chunks/output-style-0.1.15-d20e4vc3.mjs +0 -1
- package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +0 -1
- package/dist/chunks/parser-0.1.15-wbja947p.mjs +0 -1
- package/dist/chunks/passes-0.1.15-726y1cyq.mjs +0 -1
- package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +0 -3
- package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +0 -1
- package/dist/chunks/plist-0.1.15-fseac2c0.mjs +0 -1
- package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +0 -1
- package/dist/chunks/process-0.1.15-g6km3z8k.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +0 -1
- package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +0 -1
- package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +0 -1
- package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +0 -1
- package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +0 -1
- package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +0 -1
- package/dist/chunks/release-notes-0.1.15-1g908440.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +0 -2
- package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +0 -1
- package/dist/chunks/rename-0.1.15-8079z5ff.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +0 -1
- package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +0 -2
- package/dist/chunks/rewind-0.1.15-fevxgefp.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +0 -1
- package/dist/chunks/session-0.1.15-crg226x4.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +0 -1
- package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +0 -5
- package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +0 -1
- package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +0 -1
- package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +0 -1
- package/dist/chunks/status-0.1.15-cvscafrs.mjs +0 -1
- package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +0 -1
- package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +0 -1
- package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +0 -1
- package/dist/chunks/theme-0.1.15-zq998m8x.mjs +0 -1
- package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +0 -1
- package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +0 -1
- package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +0 -1
- package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +0 -1
- package/dist/chunks/util-0.1.15-vs1eanbw.mjs +0 -1
- package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +0 -1
- package/dist/chunks/vim-0.1.15-syferjfa.mjs +0 -1
- package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +0 -1
- package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +0 -1
- package/dist/chunks/wrapper-0.1.15-dw3awx2b.mjs +0 -7
- /package/dist/chunks/{cli-0.1.15-7mfwj2xs.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.15-7ve9h395.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.15-p6bypqrv.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.15-618hqv9f.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p6 as M,r6 as K,s6 as Q}from"./cli-0.2.0-g2h1t6ke.mjs";import{gma as O}from"./cli-0.2.0-b8hs09nv.mjs";function X(k){if(k<=1)return!1;try{return process.kill(k,0),!0}catch{return!1}}async function Y(k,z=10){if(process.platform==="win32"){let B=`
|
|
2
2
|
$pid = ${String(k)}
|
|
3
3
|
$ancestors = @()
|
|
4
4
|
for ($i = 0; $i -lt ${z}; $i++) {
|
|
@@ -21,4 +21,4 @@ import{k6 as M,m6 as K,n6 as Q}from"./cli-0.1.15-4892kydg.mjs";import{bma as O}f
|
|
|
21
21
|
}
|
|
22
22
|
$commands -join [char]0
|
|
23
23
|
`.trim(),H=await K("powershell.exe",["-NoProfile","-Command",B],{timeout:3000});if(H.code!==0||!H.stdout?.trim())return[];return H.stdout.split("\x00").filter(Boolean)}let J=`currentpid=${String(k)}; for i in $(seq 1 ${z}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,q=await K("sh",["-c",J],{timeout:3000});if(q.code!==0||!q.stdout?.trim())return[];return q.stdout.split("\x00").filter(Boolean)}var U=O(()=>{Q()});
|
|
24
|
-
export{X as
|
|
24
|
+
export{X as YW,Y as ZW,Z as _W,$ as $W,U as aX};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{yg as p}from"./cli-0.2.0-hzzgbj9r.mjs";import{EK as I,FK as P,IK as t,yk as W,zk as l}from"./cli-0.2.0-cs8e9514.mjs";import{EV as J}from"./cli-0.2.0-9ez4c6sj.mjs";import{RV as H,SV as i}from"./cli-0.2.0-4vbz1xrx.mjs";import{TV as C,VV as n}from"./cli-0.2.0-3y7hn5v2.mjs";import{D3 as c,E2 as v,LZ as S,QZ as m,d3 as R,j3 as V}from"./cli-0.2.0-h2wnach8.mjs";import{P4 as Q,e5 as u}from"./cli-0.2.0-da216rmz.mjs";import{$5 as M,Aba as D,Dba as g,Z$ as T,_5 as Z,aaa as X,d6 as _,i6 as f,qba as k,rba as Y,taa as O,xba as y}from"./cli-0.2.0-g2h1t6ke.mjs";import{wca as $,xca as h}from"./cli-0.2.0-f7tp61b0.mjs";import{hda as q,mda as E,nda as A}from"./cli-0.2.0-98h2e6bt.mjs";import{Bfa as x,Efa as b}from"./cli-0.2.0-e9xwjcb3.mjs";import{gma as U}from"./cli-0.2.0-b8hs09nv.mjs";async function s(){if(Z())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let G=`${E().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":q};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(G,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=k(),G=await P({baseUrl:F,apiKey:D()?.apiKey});if(G===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:G.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:G,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,G)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),T((B)=>({...B,clientDataCache:G,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){_(w)}}var d;var r=U(()=>{u();l();c();p();A();O();b();i();h();f();m();M();t();n();g();y();d=$(()=>J.object({client_data:J.record(J.unknown()).nullish(),additional_model_options:J.array(J.object({model:J.string(),name:J.string(),description:J.string()}).transform(({model:w,name:F,description:G})=>({value:w,label:F,description:G}))).nullish()}))});
|
|
2
|
+
export{Yj as qb,r as rb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Hg as R,Jg as y,Kg as v}from"./cli-0.2.0-pa834vt3.mjs";import{HU as K,VS as c,kV as E}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as O,JV as N,KV as M,LV as U}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as G}from"./cli-0.2.0-gsw60zfe.mjs";import{aaa as L,taa as b}from"./cli-0.2.0-g2h1t6ke.mjs";import{$da as Z,lea as W}from"./cli-0.2.0-p0dd7k39.mjs";import{Eea as p}from"./cli-0.2.0-35xeqadb.mjs";import{cma as F,gma as j}from"./cli-0.2.0-b8hs09nv.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
+
export{f as mf,r as nf,n as of,l as pf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{VS as f}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as p,LV as c}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as M}from"./cli-0.2.0-gsw60zfe.mjs";import{cma as o}from"./cli-0.2.0-b8hs09nv.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
|
|
2
|
+
export{a as db,l as eb};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Zla as V_,_la as su,ama as K_,bma as f_}from"./cli-0.2.0-dtsxeqwx.mjs";import{ema as H,hma as $_}from"./cli-0.2.0-b8hs09nv.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
+
versions published after the first week of January 2027
|
|
3
|
+
will require node >=${E}. You are running node ${_}.
|
|
4
|
+
|
|
5
|
+
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
+
and security updates please upgrade to node >=${E}.
|
|
7
|
+
|
|
8
|
+
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
+
export{W_ as Sla,D_ as Tla,yu as Ula,ou as Vla};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ema as O,gma as r9}from"./cli-0.2.0-b8hs09nv.mjs";var C=O((o9,Oq)=>{var Z0=Number.MAX_SAFE_INTEGER||9007199254740991,W0=["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:Z0,RELEASE_TYPES:W0,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var R=O((e9,Hq)=>{var K0=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=K0});var E=O((A,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:j0,MAX_LENGTH:z0}=C(),U0=R();A=wq.exports={};var Y0=A.re=[],F0=A.safeRe=[],j=A.src=[],I0=A.safeSrc=[],z=A.t={},O0=0,o="[a-zA-Z0-9-]",H0=[["\\s",1],["\\d",z0],[o,j0]],w0=(q)=>{for(let[$,J]of H0)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=w0($),Z=O0++;U0(q,Z,$),z[q]=Z,j[Z]=$,I0[Z]=Q,Y0[Z]=new RegExp($,J?"g":void 0),F0[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${o}*`);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",`${o}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);A.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);A.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);A.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 f=O((qJ,yq)=>{var y0=Object.freeze({loose:!0}),B0=Object.freeze({}),x0=(q)=>{if(!q)return B0;if(typeof q!=="object")return y0;return q};yq.exports=x0});var e=O(($J,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},D0=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:D0}});var D=O((JJ,Vq)=>{var h=R(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:v}=C(),{safeRe:d,t:l}=E(),G0=f(),{compareIdentifiers:qq}=e();class L{constructor(q,$){if($=G0($),q instanceof L)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?d[l.LOOSE]:d[l.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>v||this.major<0)throw TypeError("Invalid major version");if(this.minor>v||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>v||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<v)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 L)){if(typeof q==="string"&&q===this.version)return 0;q=new L(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof L))q=new L(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 L))q=new L(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 qq(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof L))q=new L(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 qq(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?d[l.PRERELEASELOOSE]:d[l.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(qq(this.prerelease[0],$)===0){if(isNaN(this.prerelease[1]))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=L});var N=O((QJ,Pq)=>{var Xq=D(),V0=(q,$,J=!1)=>{if(q instanceof Xq)return q;try{return new Xq(q,$)}catch(Q){if(!J)return null;throw Q}};Pq.exports=V0});var Lq=O((ZJ,_q)=>{var X0=N(),P0=(q,$)=>{let J=X0(q,$);return J?J.version:null};_q.exports=P0});var Nq=O((WJ,Aq)=>{var _0=N(),L0=(q,$)=>{let J=_0(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Aq.exports=L0});var Rq=O((KJ,Cq)=>{var Eq=D(),A0=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Eq(q instanceof Eq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=A0});var uq=O((jJ,kq)=>{var Sq=N(),N0=(q,$)=>{let J=Sq(q,null,!0),Q=Sq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,U=W?Q:J,Y=!!K.prerelease.length;if(!!U.prerelease.length&&!Y){if(!U.patch&&!U.minor)return"major";if(U.compareMain(K)===0){if(U.minor&&!U.patch)return"minor";return"patch"}}let F=Y?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=N0});var Mq=O((zJ,Tq)=>{var E0=D(),C0=(q,$)=>new E0(q,$).major;Tq.exports=C0});var fq=O((UJ,bq)=>{var R0=D(),S0=(q,$)=>new R0(q,$).minor;bq.exports=S0});var vq=O((YJ,hq)=>{var k0=D(),u0=(q,$)=>new k0(q,$).patch;hq.exports=u0});var lq=O((FJ,dq)=>{var T0=N(),M0=(q,$)=>{let J=T0(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=M0});var P=O((IJ,cq)=>{var gq=D(),b0=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=b0});var pq=O((OJ,mq)=>{var f0=P(),h0=(q,$,J)=>f0($,q,J);mq.exports=h0});var aq=O((HJ,sq)=>{var v0=P(),d0=(q,$)=>v0(q,$,!0);sq.exports=d0});var g=O((wJ,iq)=>{var nq=D(),l0=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};iq.exports=l0});var tq=O((yJ,rq)=>{var g0=g(),c0=(q,$)=>q.sort((J,Q)=>g0(J,Q,$));rq.exports=c0});var eq=O((BJ,oq)=>{var m0=g(),p0=(q,$)=>q.sort((J,Q)=>m0(Q,J,$));oq.exports=p0});var S=O((xJ,q1)=>{var s0=P(),a0=(q,$,J)=>s0(q,$,J)>0;q1.exports=a0});var c=O((DJ,$1)=>{var n0=P(),i0=(q,$,J)=>n0(q,$,J)<0;$1.exports=i0});var $q=O((GJ,J1)=>{var r0=P(),t0=(q,$,J)=>r0(q,$,J)===0;J1.exports=t0});var Jq=O((VJ,Q1)=>{var o0=P(),e0=(q,$,J)=>o0(q,$,J)!==0;Q1.exports=e0});var m=O((XJ,Z1)=>{var q$=P(),$$=(q,$,J)=>q$(q,$,J)>=0;Z1.exports=$$});var p=O((PJ,W1)=>{var J$=P(),Q$=(q,$,J)=>J$(q,$,J)<=0;W1.exports=Q$});var Qq=O((_J,K1)=>{var Z$=$q(),W$=Jq(),K$=S(),j$=m(),z$=c(),U$=p(),Y$=(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 Z$(q,J,Q);case"!=":return W$(q,J,Q);case">":return K$(q,J,Q);case">=":return j$(q,J,Q);case"<":return z$(q,J,Q);case"<=":return U$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K1.exports=Y$});var z1=O((LJ,j1)=>{var F$=D(),I$=N(),{safeRe:s,t:a}=E(),O$=(q,$)=>{if(q instanceof F$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?s[a.COERCEFULL]:s[a.COERCE]);else{let Y=$.includePrerelease?s[a.COERCERTLFULL]:s[a.COERCERTL],H;while((H=Y.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;Y.lastIndex=H.index+H[1].length+H[2].length}Y.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]}`:"",U=$.includePrerelease&&J[6]?`+${J[6]}`:"";return I$(`${Q}.${Z}.${W}${K}${U}`,$)};j1.exports=O$});var F1=O((AJ,Y1)=>{class U1{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}}Y1.exports=U1});var _=O((NJ,w1)=>{var H$=/\s+/g;class k{constructor(q,$){if($=y$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Zq)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(H$," "),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)=>!O1(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&&P$(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){let J=((this.options.includePrerelease&&V$)|(this.options.loose&&X$))+":"+q,Q=I1.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?V[G.HYPHENRANGELOOSE]:V[G.HYPHENRANGE];q=q.replace(W,u$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(V[G.COMPARATORTRIM],x$),B("comparator trim",q),q=q.replace(V[G.TILDETRIM],D$),B("tilde trim",q),q=q.replace(V[G.CARETTRIM],G$),B("caret trim",q);let K=q.split(" ").map((F)=>_$(F,this.options)).join(" ").split(/\s+/).map((F)=>k$(F,this.options));if(Z)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(V[G.COMPARATORLOOSE])});B("range list",K);let U=new Map,Y=K.map((F)=>new Zq(F,this.options));for(let F of Y){if(O1(F))return[F];U.set(F.value,F)}if(U.size>1&&U.has(""))U.delete("");let H=[...U.values()];return I1.set(J,H),H}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return H1(J,$)&&q.set.some((Q)=>{return H1(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 B$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(T$(this.set[$],q,this.options))return!0;return!1}}w1.exports=k;var w$=F1(),I1=new w$,y$=f(),Zq=u(),B=R(),B$=D(),{safeRe:V,t:G,comparatorTrimReplace:x$,tildeTrimReplace:D$,caretTrimReplace:G$}=E(),{FLAG_INCLUDE_PRERELEASE:V$,FLAG_LOOSE:X$}=C(),O1=(q)=>q.value==="<0.0.0-0",P$=(q)=>q.value==="",H1=(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},_$=(q,$)=>{return q=q.replace(V[G.BUILD],""),B("comp",q,$),q=N$(q,$),B("caret",q),q=L$(q,$),B("tildes",q),q=C$(q,$),B("xrange",q),q=S$(q,$),B("stars",q),q},X=(q)=>!q||q.toLowerCase()==="x"||q==="*",L$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>A$(J,$)).join(" ")},A$=(q,$)=>{let J=$.loose?V[G.TILDELOOSE]:V[G.TILDE];return q.replace(J,(Q,Z,W,K,U)=>{B("tilde",q,Q,Z,W,K,U);let Y;if(X(Z))Y="";else if(X(W))Y=`>=${Z}.0.0 <${+Z+1}.0.0-0`;else if(X(K))Y=`>=${Z}.${W}.0 <${Z}.${+W+1}.0-0`;else if(U)B("replaceTilde pr",U),Y=`>=${Z}.${W}.${K}-${U} <${Z}.${+W+1}.0-0`;else Y=`>=${Z}.${W}.${K} <${Z}.${+W+1}.0-0`;return B("tilde return",Y),Y})},N$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>E$(J,$)).join(" ")},E$=(q,$)=>{B("caret",q,$);let J=$.loose?V[G.CARETLOOSE]:V[G.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,U,Y)=>{B("caret",q,Z,W,K,U,Y);let H;if(X(W))H="";else if(X(K))H=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(X(U))if(W==="0")H=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(Y)if(B("replaceCaret pr",Y),W==="0")if(K==="0")H=`>=${W}.${K}.${U}-${Y} <${W}.${K}.${+U+1}-0`;else H=`>=${W}.${K}.${U}-${Y} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.${U}-${Y} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")H=`>=${W}.${K}.${U}${Q} <${W}.${K}.${+U+1}-0`;else H=`>=${W}.${K}.${U}${Q} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.${U} <${+W+1}.0.0-0`;return B("caret return",H),H})},C$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>R$(J,$)).join(" ")},R$=(q,$)=>{q=q.trim();let J=$.loose?V[G.XRANGELOOSE]:V[G.XRANGE];return q.replace(J,(Q,Z,W,K,U,Y)=>{B("xRange",q,Q,Z,W,K,U,Y);let H=X(W),F=H||X(K),y=F||X(U),x=y;if(Z==="="&&x)Z="";if(Y=$.includePrerelease?"-0":"",H)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(F)K=0;if(U=0,Z===">")if(Z=">=",F)W=+W+1,K=0,U=0;else K=+K+1,U=0;else if(Z==="<=")if(Z="<",F)W=+W+1;else K=+K+1;if(Z==="<")Y="-0";Q=`${Z+W}.${K}.${U}${Y}`}else if(F)Q=`>=${W}.0.0${Y} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${Y} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},S$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(V[G.STAR],"")},k$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(V[$.includePrerelease?G.GTE0PRE:G.GTE0],"")},u$=(q)=>($,J,Q,Z,W,K,U,Y,H,F,y,x)=>{if(X(Q))J="";else if(X(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(X(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(X(H))Y="";else if(X(F))Y=`<${+H+1}.0.0-0`;else if(X(y))Y=`<${H}.${+F+1}.0-0`;else if(x)Y=`<=${H}.${F}.${y}-${x}`;else if(q)Y=`<${H}.${F}.${+y+1}-0`;else Y=`<=${Y}`;return`${J} ${Y}`.trim()},T$=(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===Zq.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=O((EJ,V1)=>{var T=Symbol("SemVer ANY");class n{static get ANY(){return T}constructor(q,$){if($=y1($),q instanceof n)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Kq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Kq("comp",this)}parse(q){let $=this.options.loose?B1[x1.COMPARATORLOOSE]:B1[x1.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 D1(J[2],this.options.loose)}toString(){return this.value}test(q){if(Kq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new D1(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof n))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new G1(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new G1(this.value,$).test(q.semver)}if($=y1($),$.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}}V1.exports=n;var y1=f(),{safeRe:B1,t:x1}=E(),Wq=Qq(),Kq=R(),D1=D(),G1=_()});var M=O((CJ,X1)=>{var M$=_(),b$=(q,$,J)=>{try{$=new M$($,J)}catch(Q){return!1}return $.test(q)};X1.exports=b$});var _1=O((RJ,P1)=>{var f$=_(),h$=(q,$)=>new f$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));P1.exports=h$});var A1=O((SJ,L1)=>{var v$=D(),d$=_(),l$=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new d$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new v$(Q,J)}}),Q};L1.exports=l$});var E1=O((kJ,N1)=>{var g$=D(),c$=_(),m$=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new c$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new g$(Q,J)}}),Q};N1.exports=m$});var S1=O((uJ,R1)=>{var jq=D(),p$=_(),C1=S(),s$=(q,$)=>{q=new p$(q,$);let J=new jq("0.0.0");if(q.test(J))return J;if(J=new jq("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 U=new jq(K.semver.version);switch(K.operator){case">":if(U.prerelease.length===0)U.patch++;else U.prerelease.push(0);U.raw=U.format();case"":case">=":if(!W||C1(U,W))W=U;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||C1(J,W)))J=W}if(J&&q.test(J))return J;return null};R1.exports=s$});var u1=O((TJ,k1)=>{var a$=_(),n$=(q,$)=>{try{return new a$(q,$).range||"*"}catch(J){return null}};k1.exports=n$});var i=O((MJ,f1)=>{var i$=D(),b1=u(),{ANY:r$}=b1,t$=_(),o$=M(),T1=S(),M1=c(),e$=p(),q9=m(),$9=(q,$,J,Q)=>{q=new i$(q,Q),$=new t$($,Q);let Z,W,K,U,Y;switch(J){case">":Z=T1,W=e$,K=M1,U=">",Y=">=";break;case"<":Z=M1,W=q9,K=T1,U="<",Y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(o$(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((I)=>{if(I.semver===r$)I=new b1(">=0.0.0");if(y=y||I,x=x||I,Z(I.semver,y.semver,Q))y=I;else if(K(I.semver,x.semver,Q))x=I}),y.operator===U||y.operator===Y)return!1;if((!x.operator||x.operator===U)&&W(q,x.semver))return!1;else if(x.operator===Y&&K(q,x.semver))return!1}return!0};f1.exports=$9});var v1=O((bJ,h1)=>{var J9=i(),Q9=(q,$,J)=>J9(q,$,">",J);h1.exports=Q9});var l1=O((fJ,d1)=>{var Z9=i(),W9=(q,$,J)=>Z9(q,$,"<",J);d1.exports=W9});var m1=O((hJ,c1)=>{var g1=_(),K9=(q,$,J)=>{return q=new g1(q,J),$=new g1($,J),q.intersects($,J)};c1.exports=K9});var s1=O((vJ,p1)=>{var j9=M(),z9=P();p1.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((F,y)=>z9(F,y,J));for(let F of K)if(j9(F,$,J)){if(W=F,!Z)Z=F}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let U=[];for(let[F,y]of Q)if(F===y)U.push(F);else if(!y&&F===K[0])U.push("*");else if(!y)U.push(`>=${F}`);else if(F===K[0])U.push(`<=${y}`);else U.push(`${F} - ${y}`);let Y=U.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return Y.length<H.length?Y:$}});var o1=O((dJ,t1)=>{var a1=_(),Uq=u(),{ANY:zq}=Uq,b=M(),Yq=P(),U9=(q,$,J={})=>{if(q===$)return!0;q=new a1(q,J),$=new a1($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=F9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},Y9=[new Uq(">=0.0.0-0")],n1=[new Uq(">=0.0.0")],F9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===zq)if($.length===1&&$[0].semver===zq)return!0;else if(J.includePrerelease)q=Y9;else q=n1;if($.length===1&&$[0].semver===zq)if(J.includePrerelease)return!0;else $=n1;let Q=new Set,Z,W;for(let I of q)if(I.operator===">"||I.operator===">=")Z=i1(Z,I,J);else if(I.operator==="<"||I.operator==="<=")W=r1(W,I,J);else Q.add(I.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Yq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let I of Q){if(Z&&!b(I,String(Z),J))return null;if(W&&!b(I,String(W),J))return null;for(let Q0 of $)if(!b(I,String(Q0),J))return!1;return!0}let U,Y,H,F,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 I of $){if(F=F||I.operator===">"||I.operator===">=",H=H||I.operator==="<"||I.operator==="<=",Z){if(x){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===x.major&&I.semver.minor===x.minor&&I.semver.patch===x.patch)x=!1}if(I.operator===">"||I.operator===">="){if(U=i1(Z,I,J),U===I&&U!==Z)return!1}else if(Z.operator===">="&&!b(Z.semver,String(I),J))return!1}if(W){if(y){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===y.major&&I.semver.minor===y.minor&&I.semver.patch===y.patch)y=!1}if(I.operator==="<"||I.operator==="<="){if(Y=r1(W,I,J),Y===I&&Y!==W)return!1}else if(W.operator==="<="&&!b(W.semver,String(I),J))return!1}if(!I.operator&&(W||Z)&&K!==0)return!1}if(Z&&H&&!W&&K!==0)return!1;if(W&&F&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},i1=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},r1=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};t1.exports=U9});var J0=O((lJ,$0)=>{var Fq=E(),e1=C(),I9=D(),q0=e(),O9=N(),H9=Lq(),w9=Nq(),y9=Rq(),B9=uq(),x9=Mq(),D9=fq(),G9=vq(),V9=lq(),X9=P(),P9=pq(),_9=aq(),L9=g(),A9=tq(),N9=eq(),E9=S(),C9=c(),R9=$q(),S9=Jq(),k9=m(),u9=p(),T9=Qq(),M9=z1(),b9=u(),f9=_(),h9=M(),v9=_1(),d9=A1(),l9=E1(),g9=S1(),c9=u1(),m9=i(),p9=v1(),s9=l1(),a9=m1(),n9=s1(),i9=o1();$0.exports={parse:O9,valid:H9,clean:w9,inc:y9,diff:B9,major:x9,minor:D9,patch:G9,prerelease:V9,compare:X9,rcompare:P9,compareLoose:_9,compareBuild:L9,sort:A9,rsort:N9,gt:E9,lt:C9,eq:R9,neq:S9,gte:k9,lte:u9,cmp:T9,coerce:M9,Comparator:b9,Range:f9,satisfies:h9,toComparators:v9,maxSatisfying:d9,minSatisfying:l9,minVersion:g9,validRange:c9,outside:m9,gtr:p9,ltr:s9,intersects:a9,simplifyRange:n9,subset:i9,SemVer:I9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:e1.SEMVER_SPEC_VERSION,RELEASE_TYPES:e1.RELEASE_TYPES,compareIdentifiers:q0.compareIdentifiers,rcompareIdentifiers:q0.rcompareIdentifiers}});function r(){if(!Iq)Iq=J0();return Iq}function gJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return r().gt(q,$,{loose:!0})}function cJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return r().gte(q,$,{loose:!0})}function mJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return r().lt(q,$,{loose:!0})}function pJ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return r().satisfies(q,$,{loose:!0})}var Iq;var t9=()=>{};
|
|
2
|
+
export{J0 as sV,gJ as tV,cJ as uV,mJ as vV,pJ as wV,t9 as xV};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{G as j,H as v}from"./cli-0.
|
|
1
|
+
import{G as j,H as v}from"./cli-0.2.0-mne4f86b.mjs";import{vf as C}from"./cli-0.2.0-mstcexpv.mjs";import{bP as S,cP as b}from"./cli-0.2.0-1mbgzd60.mjs";import{vV as R,xV as E}from"./cli-0.2.0-t0j5fnc5.mjs";import{P4 as k,e5 as h}from"./cli-0.2.0-da216rmz.mjs";import{tca as Z,vca as U,wca as w,xca as z}from"./cli-0.2.0-f7tp61b0.mjs";import{Ada as L,Nda as I}from"./cli-0.2.0-qcr87znh.mjs";import{Bfa as M,Efa as l,bfa as f,hfa as p,jfa as D,kfa as T,nfa as u}from"./cli-0.2.0-e9xwjcb3.mjs";U();I();z();E();C();var F={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},m=w(()=>Z.object({init_retry_max_attempts:Z.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:Z.number().int().min(100).default(500),init_retry_jitter_fraction:Z.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:Z.number().int().min(500).default(4000),http_timeout_ms:Z.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:Z.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:Z.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:Z.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:Z.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:Z.number().int().min(500).max(2000).default(1500),connect_timeout_ms:Z.number().int().min(5000).max(60000).default(15000),min_version:Z.string().refine((J)=>{try{return R(J,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:Z.boolean().default(!1)}));async function y(){let J=await L("tengu_bridge_repl_v2_config",F),K=m().safeParse(J);return K.success?K.data:F}async function o(){let J=await y();if(J.min_version&&R("99.0.0",J.min_version))return`Your version of Claudio (99.0.0) is too old for Remote Control.
|
|
2
2
|
Version ${J.min_version} or higher is required. Run \`claudio update\` to update.`;return null}h();u();function JJ(J){let K=Buffer.from(J,"base64url").toString("utf-8"),X=T(K);if(!X||typeof X!=="object"||!("version"in X)||X.version!==1)throw Error(`Unsupported work secret version: ${X&&typeof X==="object"&&"version"in X?X.version:"unknown"}`);let Y=X;if(typeof Y.session_ingress_token!=="string"||Y.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof Y.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return X}function KJ(J,K){let X=new URL(J).hostname,Y=X==="localhost"||X==="127.0.0.1",x=Y?"ws":"wss",H=Y?"v2":"v1",P=J.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${x}://${P}/${H}/session_ingress/ws/${K}`}function QJ(J,K){if(J===K)return!0;let X=J.slice(J.lastIndexOf("_")+1),Y=K.slice(K.lastIndexOf("_")+1);return X.length>=4&&X===Y}function XJ(J,K){return`${J.replace(/\/+$/,"")}/v1/code/sessions/${K}`}async function B(J,K){let X=await k.post(`${J}/worker/register`,{},{headers:{Authorization:`Bearer ${K}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),Y=X.data?.worker_epoch,x=typeof Y==="string"?Number(Y):Y;if(typeof x!=="number"||!Number.isFinite(x)||!Number.isSafeInteger(x))throw Error(`registerWorker: invalid worker_epoch in response: ${D(X.data)}`);return x}l();p();b();function WJ(J){return{write:(K)=>J.write(K),writeBatch:(K)=>J.writeBatch(K),close:()=>J.close(),isConnectedStatus:()=>J.isConnectedStatus(),getStateLabel:()=>J.getStateLabel(),setOnData:(K)=>J.setOnData(K),setOnClose:(K)=>J.setOnClose(K),setOnConnect:(K)=>J.setOnConnect(K),connect:()=>void J.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return J.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function HJ(J){let{sessionUrl:K,ingressToken:X,sessionId:Y,initialSequenceNum:x,getAuthToken:H}=J,P;if(H)P=()=>{let Q=H();if(!Q)return{};return{Authorization:`Bearer ${Q}`}};else S(X);let O=J.epoch??await B(K,X);M(`[bridge:repl] CCR v2: worker sessionId=${Y} epoch=${O}${J.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(K);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let q=new v(V,{},Y,void 0,x,P),G,$=new j(q,new URL(K),{getAuthHeaders:P,heartbeatIntervalMs:J.heartbeatIntervalMs,heartbeatJitterFraction:J.heartbeatJitterFraction,onEpochMismatch:()=>{M("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{$.close(),q.close(),G?.(4090)}catch(Q){M(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${f(Q)}`,{level:"error"})}throw Error("epoch superseded")}});q.setOnEvent((Q)=>{$.reportDelivery(Q.event_id,"received"),$.reportDelivery(Q.event_id,"processed")});let _,N=!1,A=!1;return{write(Q){return $.writeEvent(Q)},async writeBatch(Q){for(let W of Q){if(A)break;await $.writeEvent(W)}},close(){A=!0,$.close(),q.close()},isConnectedStatus(){return N},getStateLabel(){if(q.isClosedStatus())return"closed";if(q.isConnectedStatus())return N?"connected":"init";return"connecting"},setOnData(Q){q.setOnData(Q)},setOnClose(Q){G=Q,q.setOnClose((W)=>{$.close(),Q(W??4092)})},setOnConnect(Q){_=Q},getLastSequenceNum(){return q.getLastSequenceNum()},droppedBatchCount:0,reportState(Q){$.reportState(Q)},reportMetadata(Q){$.reportMetadata(Q)},reportDelivery(Q,W){$.reportDelivery(Q,W)},flush(){return $.flush()},connect(){if(!J.outboundOnly)q.connect();$.initialize(O).then(()=>{N=!0,M(`[bridge:repl] v2 transport ready for writes (epoch=${O}, sse=${q.isConnectedStatus()?"open":"opening"})`),_?.()},(Q)=>{M(`[bridge:repl] CCR v2 initialize failed: ${f(Q)}`,{level:"error"}),$.close(),q.close(),G?.(4091)})}}}class g{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...J){if(!this._active)return!1;return this._pending.push(...J),!0}drop(){this._active=!1;let J=this._pending.length;return this._pending.length=0,J}deactivate(){this._active=!1}}
|
|
3
3
|
export{y as u,o as v,JJ as w,KJ as x,QJ as y,XJ as z,WJ as A,HJ as B,g as C};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{GO as T,IO as d,JO as v,Np as X,PO as Hf,Sp as _f,Uu as i,Vu as Kf,eN as zf,fN as Bf,nv as c,ov as Yf,pA as Z,qA as qf,vO as u,ws as a,wt as m,xs as Jf,xt as Af,xy as D,yy as $f}from"./cli-0.2.0-cs8e9514.mjs";import{FU as N,HU as M,VS as If,kV as Of}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as Y,KV as R,LV as P}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as yf}from"./cli-0.2.0-gsw60zfe.mjs";import{q6 as b,s6 as ff}from"./cli-0.2.0-g2h1t6ke.mjs";import{Dea as L,Eea as Gf}from"./cli-0.2.0-35xeqadb.mjs";import{Bfa as W,Efa as e}from"./cli-0.2.0-e9xwjcb3.mjs";import{cma as g,dma as s,gma as k}from"./cli-0.2.0-b8hs09nv.mjs";function E(){(Bf(),s(zf)).saveWorktreeState(null)}function S({onDone:K,onCancel:_}){let[$,y]=q.useState("loading"),[O,I]=q.useState([]),[G,z]=q.useState(0),[p,A]=q.useState(),f=u();if(q.useEffect(()=>{async function B(){let J=[],H=await b("git",["status","--porcelain"]);if(H.stdout)J=H.stdout.split(`
|
|
2
2
|
`).filter((V)=>V.trim()!==""),I(J);if(f){let{stdout:V}=await b("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(V.trim())||0;if(z(w),J.length===0&&w===0){y("removing"),v().then(()=>{process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A("Worktree removed (no changes)")}).catch((t)=>{W(`Failed to clean up worktree: ${t}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway")}).then(()=>{y("done")});return}else y("asking")}}B()},[f]),q.useEffect(()=>{if($==="done")K(p)},[$,K,p]),!f)return K("No active worktree session found",{display:"system"}),null;if($==="loading"||$==="done")return null;async function j(B){if(!f)return;let J=Boolean(f.tmuxSessionName);if(B==="keep"||B==="keep-with-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),await d(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),J)A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(B==="keep-kill-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),f.tmuxSessionName)await T(f.tmuxSessionName);await d(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(B==="remove"||B==="remove-with-tmux"){if(y("removing"),L("tengu_worktree_removed",{commits:G,changed_files:O.length}),f.tmuxSessionName)await T(f.tmuxSessionName);try{await v(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.()}catch(V){W(`Failed to clean up worktree: ${V}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway"),y("done");return}let H=J?" Tmux session terminated.":"";if(G>0&&O.length>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${H}`);else if(G>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${H}`);else if(O.length>0)A(`Worktree removed. Uncommitted changes were discarded.${H}`);else A(`Worktree removed.${H}`);y("done")}}if($==="keeping")return R(N,{flexDirection:"row",marginY:1,children:[Y(D,{}),Y(M,{children:"Keeping worktree…"})]});if($==="removing")return R(N,{flexDirection:"row",marginY:1,children:[Y(D,{}),Y(M,{children:"Removing worktree…"})]});let x=f.worktreeBranch,U=O.length>0,F=G>0,Q="";if(U&&F)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(U)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(F)Q=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else Q="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(_){_();return}j("keep")}let h=U||F?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Y(m,{title:"Exiting worktree session",subtitle:Q,onCancel:r,children:Y(c,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:j})})}var q;var l=k(()=>{Gf();e();Of();ff();_f();qf();Hf();Yf();Af();$f();P();q=g(yf(),1)});function Vf(){return a(Qf)??"Goodbye!"}function xf(K){let _=n.c(5),{showWorktree:$,onDone:y,onCancel:O}=K,I;if(_[0]!==y)I=async function(p){y(p??Vf()),await i(0,"prompt_input_exit")},_[0]=y,_[1]=I;else I=_[1];let G=I;if($){let z;if(_[2]!==O||_[3]!==G)z=Y(S,{onDone:G,onCancel:O}),_[2]=O,_[3]=G,_[4]=z;else z=_[4];return z}return null}var n,Qf;var Xf=k(()=>{Jf();Kf();l();P();n=g(If(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
3
|
export{xf as mb,Xf as nb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lF as x,oF as A}from"./cli-0.2.0-cs8e9514.mjs";import{gma as z}from"./cli-0.2.0-b8hs09nv.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var B=z(()=>{A()});
|
|
2
|
+
export{G as Qe,H as Re,B as Se};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{nv as A,pv as O,wt as M,xt as G}from"./cli-0.2.0-cs8e9514.mjs";import{FU as w,HU as d,LU as v,VS as U,kV as W}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as a,KV as i,LV as S}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as N}from"./cli-0.2.0-gsw60zfe.mjs";import{gaa as I,taa as P}from"./cli-0.2.0-g2h1t6ke.mjs";import{Dea as h,Eea as L}from"./cli-0.2.0-35xeqadb.mjs";import{cma as b,gma as B}from"./cli-0.2.0-b8hs09nv.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=a(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&i(w,{flexDirection:"column",children:[a(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=i(d,{dimColor:!0,children:["Important: Only use Claude Code with files you trust. Accessing untrusted files may pose security risks"," ",a(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=a(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=i(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return i(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
|
|
2
|
+
export{V as kf,z as lf};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Ie as LJ,Je as WQ}from"./cli-0.2.0-k438c5g3.mjs";import{Ke as PJ,Le as hQ}from"./cli-0.2.0-y93dcrnm.mjs";import{Me as hJ,Ne as RQ}from"./cli-0.2.0-55mg69qb.mjs";import{Oe as nq,Pe as xJ}from"./cli-0.2.0-9t5wq1kd.mjs";import{Qe as wq,Re as eq,Se as rJ}from"./cli-0.2.0-vdhcg4g4.mjs";import{Te as WJ,Ue as HQ}from"./cli-0.2.0-m81s8n1j.mjs";import{Oj as YJ,Pj as YQ,Qh as Fq,Uh as aq,Vv as KJ,XE as oq,Xh as iq,Xv as VJ,ZE as $J,Zv as VQ,aK as g,cC as HJ,dC as RJ,dK as wQ,eC as FQ,fw as vq,gw as XQ,hA as UJ,hi as lJ,hw as XJ,iA as BQ,iw as yQ,jA as FJ,jw as yJ,kA as wJ,kw as NJ,lA as UQ,lF as Aq,lw as BJ,mw as NQ,nj as uq,oF as gJ,oj as mq,qj as pq,qk as P,rj as fJ,rk as Tq}from"./cli-0.2.0-cs8e9514.mjs";import{JR as GJ,KR as GQ}from"./cli-0.2.0-r3f7ephj.mjs";import{KS as zJ,LS as zQ,TS as Mq,US as KQ}from"./cli-0.2.0-zdr99w6n.mjs";import{FU as y,HU as Q,VS as Pq,kV as Oq}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as h,JV as Y,KV as Z,LV as c}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as ZQ}from"./cli-0.2.0-gsw60zfe.mjs";import{S1 as cJ,e2 as ZJ,g2 as QQ,u1 as rq}from"./cli-0.2.0-h2wnach8.mjs";import{E_ as TJ,Y7 as Iq,e$ as QJ,j6 as $,k6 as tJ,o$ as JQ,s8 as qQ,s_ as gq,t_ as dJ,w_ as xq}from"./cli-0.2.0-g2h1t6ke.mjs";import{Ffa as JJ,Sfa as sJ}from"./cli-0.2.0-xmf20rrm.mjs";import{Gha as qJ,rla as eJ}from"./cli-0.2.0-gmq4bxtp.mjs";import{cma as Bq,gma as Uq}from"./cli-0.2.0-b8hs09nv.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function aJ(){let J=iq(await aq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function iJ(J){if(!J)return null;let q=eq(J);if(q<=wq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function oJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await oq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function nJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function sq(J,q,V){let[G,K,X,B]=await Promise.all([aJ(),iJ(q),oJ(J,V,q),nJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var tq=Uq(()=>{gJ();$J();lJ();cJ();dJ();xJ();Tq();rJ();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);GJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:FJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-7")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudio","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await sq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),yJ()){let Lq=bq(XJ(),"claude","locks"),DJ=BJ(Lq),SJ=NJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
+
`)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
+
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",YJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=UJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?VJ:KJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();KQ();RQ();$q();WQ();hQ();GQ();Oq();zQ();wQ();YQ();VQ();tq();XQ();BQ();qQ();NQ();JQ();UQ();FQ();yQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
+
export{pZ as Ge,cQ as He};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wa as Uq}from"./cli-0.2.0-rnpcefe5.mjs";import{AC as w,Ap as zq,BC as nq,BF as g,Cp as pq,EF as Lq,EM as Rq,El as qq,Eu as Jq,FM as L,Fu as iq,GA as Y,Hl as _,IA as p,JA as d,LA as _q,My as Kq,Nl as cq,Np as W,OA as Qq,Oy as lq,PA as Xq,PO as eq,QN as l,Sp as dq,TA as oq,UH as $q,Vh as b,Vp as Gq,Wp as gq,Yo as hq,aM as Bq,bM as Vq,cM as Yq,dI as sq,fN as tq,hO as a,hi as mq,jL as u,kL as i,pA as v,qA as aq,tO as Tq,uL as Oq,vO as D,wO as x,xM as yq}from"./cli-0.2.0-cs8e9514.mjs";import{BP as h,CP as Mq}from"./cli-0.2.0-1br2y5jr.mjs";import{TP as Hq,fQ as uq}from"./cli-0.2.0-zxm7fqen.mjs";import{gR as Zq,jR as rq}from"./cli-0.2.0-087sjqr6.mjs";import{M1 as e,S1 as Aq}from"./cli-0.2.0-h2wnach8.mjs";import{Aca as T,Bca as Sq}from"./cli-0.2.0-h9tvrrx9.mjs";import{Dea as c,Eea as Nq}from"./cli-0.2.0-35xeqadb.mjs";import{Bfa as B,Efa as m,Hea as S,Jea as Fq,rfa as A,vfa as Iq}from"./cli-0.2.0-e9xwjcb3.mjs";import{Aha as n,Dha as r,Iha as O,Lia as s,Nia as t,Ska as E,_ka as C,rla as f,yha as P,zha as Eq}from"./cli-0.2.0-gmq4bxtp.mjs";Mq();f();Oq();Nq();_q();Lq();Fq();m();Iq();Tq();Eq();import*as $ from"path";var bq=1000,Wq=500,vq=300,wq=2000,Dq=typeof Bun<"u",X=null,Z=null,y=new Set,N=!1,M=!1,k=!1,j=null,U=P(),R=null;async function xq(){if(N||M)return;if(N=!0,!k)k=!0,d(()=>{u(),U.emit()});let q=await Pq();if(q.length===0)return;B(`Watching for changes in skill/command directories: ${q.join(", ")}...`),X=h.watch(q,{persistent:!0,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:R?.stabilityThreshold??bq,pollInterval:R?.pollInterval??Wq},ignored:(z,G)=>{if(G&&!G.isFile()&&!G.isDirectory())return!0;return z.split($.sep).some((H)=>H===".git")},ignorePermissionErrors:!0,usePolling:Dq,interval:R?.chokidarInterval??wq,atomic:!0}),X.on("add",I),X.on("change",I),X.on("unlink",I),j=S(async()=>{await o()})}function o(){if(M=!0,j)j(),j=null;let q=Promise.resolve();if(X)q=X.close(),X=null;if(Z)clearTimeout(Z),Z=null;return y.clear(),U.clear(),q}var kq=U.subscribe;async function Pq(){let q=A(),z=[],G=Y("userSettings","skills");if(G)try{await q.stat(G),z.push(G)}catch{}let H=Y("userSettings","commands");if(H)try{await q.stat(H),z.push(H)}catch{}let J=Y("projectSettings","skills");if(J)try{let K=$.resolve(J);await q.stat(K),z.push(K)}catch{}let Q=Y("projectSettings","commands");if(Q)try{let K=$.resolve(Q);await q.stat(K),z.push(K)}catch{}for(let K of C()){let V=$.join(K,".claudio","skills");try{await q.stat(V),z.push(V)}catch{}}return z}function I(q){B(`Detected skill change: ${q}`),c("tengu_skill_file_changed",{source:"chokidar"}),Cq(q)}function Cq(q){if(y.add(q),Z)clearTimeout(Z);Z=setTimeout(async()=>{Z=null;let z=[...y];y.clear();let G=await a("skills",z[0]);if(l(G)){B(`ConfigChange hook blocked skill reload (${z.length} paths)`);return}p(),i(),g(),U.emit()},R?.reloadDebounce??vq)}async function fq(q){if(X)await X.close(),X=null;if(Z)clearTimeout(Z),Z=null;y.clear(),U.clear(),N=!1,M=!1,R=q??null}var Fz={initialize:xq,dispose:o,subscribe:kq,resetForTesting:fq};f();nq();oq();cq();gq();pq();import{dirname as qz}from"path";mq();hq();rq();Sq();m();lq();sq();Aq();dq();aq();tq();uq();iq();eq();function zz(q){for(let z=q.length-1;z>=0;z--){let G=q[z];if(G?.type!=="assistant")continue;let H=G.message.content.find((K)=>K.type==="tool_use"&&K.name===Gq);if(!H||H.type!=="tool_use")continue;let J=H.input;if(J===null||typeof J!=="object")return[];let Q=Jq().safeParse(J.todos);return Q.success?Q.data:[]}return[]}function uz(q,z){if(q.fileHistorySnapshots&&q.fileHistorySnapshots.length>0)Kq(q.fileHistorySnapshots,(G)=>{z((H)=>({...H,fileHistory:G}))});if(!Hq()&&q.messages&&q.messages.length>0){let G=zz(q.messages);if(G.length>0){let H=n();z((J)=>({...J,todos:{...J.todos,[H]:G}}))}}}function Gz(q){return}function Hz(q,z){if(!q&&!z)return;return{name:q??"",color:z==="default"?void 0:z}}function Jz(q,z,G){if(z)return{agentDefinition:z,agentType:void 0};if(!q)return E(void 0),{agentDefinition:void 0,agentType:void 0};let H=G.activeAgents.find((J)=>J.agentType===q);if(!H)return B(`Resumed session had agent "${q}" but it is no longer available. Using default behavior.`),E(void 0),{agentDefinition:void 0,agentType:void 0};if(E(H.agentType),!s()&&H.model&&H.model!=="inherit")t(e(H.model));return{agentDefinition:H,agentType:H.agentType}}async function Kz(q,z,G,H){if(!q)return H;_.cache.clear?.();let J=await _(z),Q=[...J.allAgents,...G];return{...J,allAgents:Q,activeAgents:qq(Q)}}function Qz(q){let z=D();if(z){L(z);return}if(!q)return;try{process.chdir(q.worktreePath)}catch{L(null);return}v(q.worktreePath),O(T()),x(q),b(),w(),W.cache.clear?.()}function iz(){let q=D();if(!q)return;x(null),b(),w(),W.cache.clear?.();try{process.chdir(q.originalCwd)}catch{return}v(q.originalCwd),O(T())}async function lz(q,z,G){let H;if(H=G.modeApi?.matchSessionMode(q.mode),H)q.messages.push($q(H,"warning"));if(!z.forkSession){let F=z.sessionIdOverride??q.sessionId;if(F){if(r(zq(F),z.transcriptPath?qz(z.transcriptPath):null),await Uq(),await Vq(),!Qq(F))Xq(q.messages)}}else if(q.contentReplacements?.length)await Bq(q.contentReplacements);if(yq(z.forkSession?{...q,worktreeSession:void 0}:q),!z.forkSession)Qz(q.worktreeSession),Yq();let{agentDefinition:J,agentType:Q}=Jz(q.agentSetting,G.mainThreadAgentDefinition,G.agentDefinitions);Rq(G.modeApi?.isCoordinatorMode()?"coordinator":"normal");let K=z.includeAttribution?Gz(q):void 0,V=Hz(q.agentName,q.agentColor);Zq(q.agentName);let jq=await Kz(!!H,G.currentCwd,G.cliAgents,G.agentDefinitions);return{messages:q.messages,fileHistorySnapshots:q.fileHistorySnapshots,contentReplacements:q.contentReplacements,agentName:q.agentName,agentColor:q.agentColor==="default"?void 0:q.agentColor,restoredAgentDef:J,initialState:{...G.initialState,...Q&&{agent:Q},...K&&{attribution:K},...V&&{standaloneAgentContext:V},agentDefinitions:jq}}}
|
|
2
|
+
export{Fz as Ca,uz as Da,Hz as Ea,Jz as Fa,Qz as Ga,iz as Ha,lz as Ia};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mh as l,Nh as Rq,Oh as i,Ph as Aq,bk as E,ck as m,dk as Xq,sk as S,xk as Zq}from"./cli-0.2.0-cs8e9514.mjs";import{P4 as p,e5 as Qq}from"./cli-0.2.0-da216rmz.mjs";import{R9 as u,T9 as g,W9 as h,X9 as n,a_ as vq,d6 as D,i6 as qq}from"./cli-0.2.0-g2h1t6ke.mjs";import{tca as d,vca as Uq}from"./cli-0.2.0-f7tp61b0.mjs";import{Bfa as V,Efa as e,bfa as W,cfa as O,dfa as C,hfa as _,jfa as P,kfa as v,nfa as f,rfa as M,vfa as y}from"./cli-0.2.0-e9xwjcb3.mjs";import{gma as N}from"./cli-0.2.0-b8hs09nv.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 Mb,r as Nb,nq as Ob,lq as Pb,Oq as Qb,QQ as Rb,XQ as Sb,Dq as Tb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mr as S,Nr as $q,Uu as u,Vu as Wq,aB as c,aK as h,bB as T,bK as a,cB as Vq,dK as Iq,fB as r,gB as Fq,nv as g,pv as _q,uj as m,vj as Xq,wj as V,xj as Yq}from"./cli-0.2.0-cs8e9514.mjs";import{JR as p,KR as zq}from"./cli-0.2.0-r3f7ephj.mjs";import{HS as j,IS as Qq,JS as d,LS as Zq,vS as w,wS as Nq}from"./cli-0.2.0-zdr99w6n.mjs";import{FU as J,HU as N,cT as v,dT as H,eT as y,kV as Lq}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as _,JV as q,KV as G,LV as B}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as Jq}from"./cli-0.2.0-gsw60zfe.mjs";import{c$ as b,o$ as Gq}from"./cli-0.2.0-g2h1t6ke.mjs";import{cma as e,gma as qq}from"./cli-0.2.0-b8hs09nv.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=h((L)=>L.settings.syntaxHighlightingDisabled??!1),E=a();j("ThemePicker",!0);let W=m("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);d("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=p($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else u(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(g,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Oq,{patch:Aq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(S,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Oq,Aq;var Uq=qq(()=>{zq();Nq();Lq();Qq();Zq();Xq();Iq();Wq();Gq();_q();$q();Yq();Vq();Fq();B();Q=e(Jq(),1),Oq=r,Aq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
+
export{mq as Ff,Uq as Gf};
|