@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,2 +0,0 @@
|
|
|
1
|
-
import{nj as Pq,rj as Sq,uj as Q,vj as hq}from"./cli-0.1.15-26hkdean.mjs";import{VR as Uq,WR as Iq,ZR as _q}from"./cli-0.1.15-4fc5wnse.mjs";import{AU as J,CU as L,QS as jq,fV as nq}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as H,FV as O,GV as vq}from"./cli-0.1.15-gxgy4enj.mjs";import{F0 as bq,G0 as Mq,Z0 as yq}from"./cli-0.1.15-q35rzjnz.mjs";import{T8 as Nq,V8 as gq,X$ as Rq,i7 as Xq,k7 as kq,oaa as fq}from"./cli-0.1.15-4892kydg.mjs";import{Ida as Bq}from"./cli-0.1.15-wfn10357.mjs";import{Zla as pq,bma as Gq}from"./cli-0.1.15-mhbfhhf6.mjs";function xq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function mq(V,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return V.length>0&&!/^\s/.test(V)&&!V.startsWith("\x1B")}var Wq=Gq(()=>{_q();fq();gq()});function T(V){return V.replace(/\+/g," + ")}function qD(V){let q=Eq.c(99),{dimColor:D,fixedWidth:Aq,gap:x,paddingX:m}=V,l=Q("app:toggleTranscript","Global","ctrl+o"),_;if(q[0]!==l)_=T(l),q[0]=l,q[1]=_;else _=q[1];let e=_,d=Q("app:toggleTodos","Global","ctrl+t"),p;if(q[2]!==d)p=T(d),q[2]=d,q[3]=p;else p=q[3];let s=p,i=Q("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=T(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=Q("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=T($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=Q("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=T(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Dq=Q("chat:modelPicker","Chat","alt+p"),j;if(q[10]!==Dq)j=T(Dq),q[10]=Dq,q[11]=j;else j=q[11];let Hq=j,Jq=Q("chat:fastMode","Chat","alt+o"),n;if(q[12]!==Jq)n=T(Jq),q[12]=Jq,q[13]=n;else n=q[13];let Lq=n,Oq=Q("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Oq)S=T(Oq),q[14]=Oq,q[15]=S;else S=q[15];let Qq=S,Tq=Q("app:toggleTerminal","Global","meta+j"),h;if(q[16]!==Tq)h=T(Tq),q[16]=Tq,q[17]=h;else h=q[17];let Fq=h,Vq=Q("chat:imagePaste","Chat","ctrl+v"),a;if(q[18]!==Vq)a=T(Vq),q[18]=Vq,q[19]=a;else a=q[19];let Yq=a,C;if(q[20]!==D||q[21]!==Fq)C=null,q[20]=D,q[21]=Fq,q[22]=C;else C=q[22];let Zq=C,wq=Aq?24:void 0,Y;if(q[23]!==D)Y=H(J,{children:H(L,{dimColor:D,children:"! for bash mode"})}),q[23]=D,q[24]=Y;else Y=q[24];let Z;if(q[25]!==D)Z=H(J,{children:H(L,{dimColor:D,children:"/ for commands"})}),q[25]=D,q[26]=Z;else Z=q[26];let w;if(q[27]!==D)w=H(J,{children:H(L,{dimColor:D,children:"@ for file paths"})}),q[27]=D,q[28]=w;else w=q[28];let z;if(q[29]!==D)z=H(J,{children:H(L,{dimColor:D,children:"& for background"})}),q[29]=D,q[30]=z;else z=q[30];let A;if(q[31]!==D)A=H(J,{children:H(L,{dimColor:D,children:"/btw for side question"})}),q[31]=D,q[32]=A;else A=q[32];let F;if(q[33]!==wq||q[34]!==Y||q[35]!==Z||q[36]!==w||q[37]!==z||q[38]!==A)F=O(J,{flexDirection:"column",width:wq,children:[Y,Z,w,z,A]}),q[33]=wq,q[34]=Y,q[35]=Z,q[36]=w,q[37]=z,q[38]=A,q[39]=F;else F=q[39];let zq=Aq?35:void 0,G;if(q[40]!==D)G=H(J,{children:H(L,{dimColor:D,children:"double tap esc to clear input"})}),q[40]=D,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==D)N=H(J,{children:O(L,{dimColor:D,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=D,q[44]=N;else N=q[44];let R;if(q[45]!==D||q[46]!==e)R=H(J,{children:O(L,{dimColor:D,children:[e," for verbose output"]})}),q[45]=D,q[46]=e,q[47]=R;else R=q[47];let U;if(q[48]!==D||q[49]!==s)U=H(J,{children:O(L,{dimColor:D,children:[s," to toggle tasks"]})}),q[48]=D,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==D)I=H(J,{children:H(L,{dimColor:D,children:c})}),q[52]=D,q[53]=I;else I=q[53];let K;if(q[54]!==zq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==Zq)K=O(J,{flexDirection:"column",width:zq,children:[G,N,R,U,Zq,I]}),q[54]=zq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=Zq,q[61]=K;else K=q[61];let W;if(q[62]!==D||q[63]!==r)W=H(J,{children:O(L,{dimColor:D,children:[r," to undo"]})}),q[62]=D,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==D)v=Xq()!=="windows"&&H(J,{children:H(L,{dimColor:D,children:"ctrl + z to suspend"})}),q[65]=D,q[66]=v;else v=q[66];let X;if(q[67]!==D||q[68]!==Yq)X=H(J,{children:O(L,{dimColor:D,children:[Yq," to paste images"]})}),q[67]=D,q[68]=Yq,q[69]=X;else X=q[69];let b;if(q[70]!==D||q[71]!==Hq)b=H(J,{children:O(L,{dimColor:D,children:[Hq," to switch model"]})}),q[70]=D,q[71]=Hq,q[72]=b;else b=q[72];let M;if(q[73]!==D||q[74]!==Lq)M=bq()&&Mq()&&H(J,{children:O(L,{dimColor:D,children:[Lq," to toggle fast mode"]})}),q[73]=D,q[74]=Lq,q[75]=M;else M=q[75];let P;if(q[76]!==D||q[77]!==o)P=H(J,{children:O(L,{dimColor:D,children:[o," to stash prompt"]})}),q[76]=D,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==D||q[80]!==Qq)E=H(J,{children:O(L,{dimColor:D,children:[Qq," to edit in $EDITOR"]})}),q[79]=D,q[80]=Qq,q[81]=E;else E=q[81];let g;if(q[82]!==D)g=Pq()&&H(J,{children:H(L,{dimColor:D,children:"/keybindings to customize"})}),q[82]=D,q[83]=g;else g=q[83];let f;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)f=O(J,{flexDirection:"column",children:[W,v,X,b,M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=f;else f=q[92];let u;if(q[93]!==x||q[94]!==m||q[95]!==F||q[96]!==K||q[97]!==f)u=O(J,{paddingX:m,flexDirection:"row",gap:x,children:[F,K,f]}),q[93]=x,q[94]=m,q[95]=F,q[96]=K,q[97]=f,q[98]=u;else u=q[98];return u}var Eq;var aq=Gq(()=>{nq();kq();Sq();hq();Bq();yq();Wq();vq();Eq=pq(jq(),1)});
|
|
2
|
-
export{xq as Ve,mq as We,Wq as Xe,qD as Ye,aq as Ze};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{B2 as W,GZ as x,KZ as G,LZ as Y,_2 as j,y3 as f}from"./cli-0.1.15-q35rzjnz.mjs";import{I7 as J,J7 as Q,M7 as m}from"./cli-0.1.15-4892kydg.mjs";import{ada as w,ida as F}from"./cli-0.1.15-6mad0r56.mjs";import{bma as Z}from"./cli-0.1.15-mhbfhhf6.mjs";function U(){q=void 0,J()}function u(){if(q!==void 0)return q;if(x()!=="firstParty")return q=Q(!1);if(!G())return q=Q(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=Q(!1);let z=j();if(z?.accessToken&&z.subscriptionType===null)return q=Q(!0);if(z?.accessToken&&z.scopes?.includes(w)&&(z.subscriptionType==="enterprise"||z.subscriptionType==="team"))return q=Q(!0);try{let{key:$}=W({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=Q(!0)}catch{}return q=Q(!1)}var q;var B=Z(()=>{F();f();Y();m()});function p(z){let $=z.toUpperCase();return V.has($)||X.some((M)=>$.startsWith(M))}var V,X,y,D;var K=Z(()=>{V=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),X=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],D=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
-
export{U as qY,u as rY,B as sY,p as tY,y as uY,D as vY,K as wY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ama as x,bma as z}from"./cli-0.1.15-mhbfhhf6.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
-
export{A as _R,F as $R,G as aS,H as bS,J as cS};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{rY as N,sY as k,tY as F,vY as U,wY as p}from"./cli-0.1.15-b6gdqjbg.mjs";import{B3 as L,C3 as M,F3 as O,H3 as P,P3 as x,R3 as H,S3 as V}from"./cli-0.1.15-5denzf1p.mjs";import{D8 as I,F8 as b,X$ as Z,X_ as X,a$ as Y,j$ as D,oaa as K}from"./cli-0.1.15-4892kydg.mjs";import{Dfa as $,Nfa as G}from"./cli-0.1.15-9pe3dbgs.mjs";k();M();K();G();p();P();V();b();D();function A(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:j,...m}=q;return m}function R(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}var W;function _(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return _(R(A(q)))}var h=["userSettings","flagSettings","policySettings"];function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function o(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}
|
|
2
|
-
export{S as oY,o as pY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{pr as H,sr as L}from"./cli-0.1.15-26hkdean.mjs";import{F8 as K,y8 as G}from"./cli-0.1.15-4892kydg.mjs";import{bma as J}from"./cli-0.1.15-mhbfhhf6.mjs";function T(q,w){let z=new Map;for(let h of w)z.set(h.agentType,h);let C=new Set,E=[];for(let h of q){let F=`${h.agentType}:${h.source}`;if(C.has(F))continue;C.add(F);let x=z.get(h.agentType),I=x&&x.source!==h.source?x.source:void 0;E.push({...h,overriddenBy:I})}return E}function U(q){let w=q.model||H();if(!w)return;return w==="inherit"?"inherit":w}function V(q){return G(q).toLowerCase()}function W(q,w){return q.agentType.localeCompare(w.agentType,void 0,{sensitivity:"base"})}var R;var O=J(()=>{L();K();R=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
-
export{R as wb,T as xb,U as yb,V as zb,W as Ab,O as Bb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AU as Y,CU as u,QS as u2,ZS as Z,fV as e2}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as t,FV as o,GV as U}from"./cli-0.1.15-gxgy4enj.mjs";import{T8 as X,V8 as j}from"./cli-0.1.15-4892kydg.mjs";import{Zla as s}from"./cli-0.1.15-mhbfhhf6.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudio"," "]}),o(u,{dimColor:!0,children:["v","0.1.15"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudio"," "]}),o(u,{dimColor:!0,children:["v","0.1.15"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.1.15"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.1.15"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
-
export{c2 as _a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Md as V,Od as D}from"./cli-0.1.15-2vwx57re.mjs";import{Cn as L,Dn as q,MH as Q,_H as w,jJ as U,lJ as B}from"./cli-0.1.15-26hkdean.mjs";import{q8 as K,v8 as k}from"./cli-0.1.15-4892kydg.mjs";import{Yea as G,cfa as _,wfa as I,zfa as $}from"./cli-0.1.15-nk50qhet.mjs";import{bma as Z}from"./cli-0.1.15-mhbfhhf6.mjs";async function h(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:L(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=Q(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var F=Z(()=>{B();$();_();k();w();D();q()});
|
|
2
|
-
export{h as Kd,F as Ld};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as n}from"./cli-0.1.15-mhbfhhf6.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
-
export{o as yP,e as zP,i as AP,g as BP,r as CP,u as DP,f as EP,l as FP,t as GP};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as j}from"./cli-0.1.15-mhbfhhf6.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
-
export{x as fX,y as gX,z as hX,A as iX,B as jX,C as kX,D as lX,k as mX};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{ef as qJ,ff as CQ}from"./cli-0.1.15-82r3zgmq.mjs";import{nf as iJ,pf as eQ}from"./cli-0.1.15-2h647znt.mjs";import{Hg as vJ,Jg as fJ,Kg as lQ}from"./cli-0.1.15-pcqjreq6.mjs";import{$F as oQ,At as NJ,By as g,CG as aQ,Dt as bJ,Et as EJ,Ft as _J,Hk as hJ,Ht as pJ,Ih as TJ,JL as rJ,Jv as e,Jy as gQ,Kv as zQ,Lh as cQ,Nt as nQ,Sk as SJ,_F as I,_k as mQ,aN as QZ,fq as CJ,hG as cJ,iv as yJ,jq as iQ,jv as hQ,nv as PJ,ov as SQ,rG as sQ,rM as oJ,rs as N,sj as O,ss as ZQ,tj as uQ,wt as FJ,yt as DJ,zG as uJ}from"./cli-0.1.15-26hkdean.mjs";import{hQ as u,iQ as m,yQ as jQ}from"./cli-0.1.15-3jz926ax.mjs";import{dR as dJ,eR as rQ}from"./cli-0.1.15-216kns0c.mjs";import{BR as IQ,pR as BJ}from"./cli-0.1.15-nx5v1cvm.mjs";import{HR as lJ,IR as nJ,JR as gJ,NR as JZ}from"./cli-0.1.15-ajg1d1bh.mjs";import{TR as mJ,ZR as tQ}from"./cli-0.1.15-4fc5wnse.mjs";import{AU as i,CU as LJ,QS as xQ,fV as TQ,yU as R,zU as dQ}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as P,FV as kJ,GV as YJ}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as AQ}from"./cli-0.1.15-tp614m5f.mjs";import{_V as HJ,aW as MQ}from"./cli-0.1.15-y6fkcbes.mjs";import{GZ as sJ,LZ as XZ,N1 as _Q,f3 as v,o1 as AJ,p1 as xJ,y3 as pQ}from"./cli-0.1.15-q35rzjnz.mjs";import{E3 as d,H3 as RQ,M3 as KJ,N3 as XJ,S3 as kQ}from"./cli-0.1.15-5denzf1p.mjs";import{U3 as wJ,V3 as EQ}from"./cli-0.1.15-fmnyh9j9.mjs";import{$6 as IJ,$_ as f,K6 as r,L6 as o,T8 as V,U$ as M,V8 as a,X$ as Y,X_ as jJ,_5 as W,a$ as n,aaa as E,baa as t,d6 as x,g7 as s,i7 as $,j$ as bQ,k7 as NQ,m6 as D,n6 as QQ,oaa as T}from"./cli-0.1.15-4892kydg.mjs";import{vca as F,wca as JQ}from"./cli-0.1.15-rr65b3dk.mjs";import{hda as GJ,ida as UQ}from"./cli-0.1.15-6mad0r56.mjs";import{Hda as VJ,Ida as UJ,wda as L}from"./cli-0.1.15-wfn10357.mjs";import{yea as RJ,zea as wQ}from"./cli-0.1.15-b7f6hacc.mjs";import{Yea as ZJ,cfa as WQ,efa as p,ffa as zJ,ifa as VQ,wfa as K,zfa as h}from"./cli-0.1.15-nk50qhet.mjs";import{Lla as b,Mla as eJ}from"./cli-0.1.15-p5ty029c.mjs";import{Zla as WJ,cma as YQ}from"./cli-0.1.15-mhbfhhf6.mjs";eJ();ZQ();JQ();T();a();QQ();s();x();zQ();var GQ=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function KQ(Q){return!GQ.some((J)=>J.test(Q))}function XQ(Q,J){let Z=[],z=new Set,X=new Map;for(let G=1;Z.length<J&&G<=J;G++)for(let H of Q){if(Z.length>=J)break;if(!KQ(H))continue;let B=Math.max(H.lastIndexOf("/"),H.lastIndexOf("\\")),U=B>=0?H.slice(B+1):H;if(!U||z.has(U))continue;let k=B>=0?H.slice(0,B):".";if((X.get(k)??0)>=G)continue;Z.push(U),z.add(U),X.set(k,(X.get(k)??0)+1)}return Z.length>=J?Z:[]}async function HQ(){if(V.platform==="win32")return[];if(!await o())return[];try{let Q=await e(),J=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],Z=new Map,z=(G)=>{for(let H of G.split(`
|
|
2
|
-
`)){let B=H.trim();if(B)Z.set(B,(Z.get(B)??0)+1)}};if(Q){let{stdout:G}=await D("git",[...J,`--author=${Q}`],{cwd:F()});z(G)}if(Z.size<10){let{stdout:G}=await D(r(),J,{cwd:F()});z(G)}let X=Array.from(Z.entries()).sort((G,H)=>H[1]-G[1]).map(([G])=>G);return XQ(X,5)}catch(Q){return W(Q),[]}}var BQ=604800000,qZ=b(()=>{let Q=E(),J=Q.exampleFiles?.length?N(Q.exampleFiles):"<filepath>",Z=["fix lint errors","fix typecheck errors",`how does ${J} work?`,`refactor ${J}`,"how do I log an error?",`edit ${J} to...`,`write a test for ${J}`,"create a util logging.py that..."];return`Try "${N(Z)}"`}),MZ=b(async()=>{let Q=E(),J=Date.now(),Z=Q.exampleFilesGeneratedAt??0;if(J-Z>BQ)Q.exampleFiles=[];if(!Q.exampleFiles?.length)HQ().then((z)=>{if(z.length)t((X)=>({...X,exampleFiles:z,exampleFilesGeneratedAt:Date.now()}))})});h();x();MQ();UQ();h();WQ();x();RQ();kQ();VQ();import{randomUUID as LQ}from"crypto";var JJ=2000,QJ=5,yQ=30000,_=3,PQ=new Set([4003]);function qQ(Q){if(typeof Q!=="object"||Q===null||!("type"in Q))return!1;return typeof Q.type==="string"}class c{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(Q,J,Z,z){this.sessionId=Q;this.orgUuid=J;this.getAccessToken=Z;this.callbacks=z}async connect(){if(this.state==="connecting"){K("[SessionsWebSocket] Already connecting");return}this.state="connecting";let J=`${GJ().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;K(`[SessionsWebSocket] Connecting to ${J}`);let z={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let X=new globalThis.WebSocket(J,{headers:z,proxy:XJ(J),tls:d()||void 0});this.ws=X,X.addEventListener("open",()=>{K("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),X.addEventListener("message",(G)=>{let H=typeof G.data==="string"?G.data:String(G.data);this.handleMessage(H)}),X.addEventListener("error",()=>{let G=Error("[SessionsWebSocket] WebSocket error");W(G),this.callbacks.onError?.(G)}),X.addEventListener("close",(G)=>{K(`[SessionsWebSocket] Closed: code=${G.code} reason=${G.reason}`),this.handleClose(G.code)}),X.addEventListener("pong",()=>{K("[SessionsWebSocket] Pong received")})}else{let{default:X}=await import("./wrapper-0.1.15-dw3awx2b.mjs"),G=new X(J,{headers:z,agent:KJ(J),...d()});this.ws=G,G.on("open",()=>{K("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),G.on("message",(H)=>{this.handleMessage(H.toString())}),G.on("error",(H)=>{W(Error(`[SessionsWebSocket] Error: ${H.message}`)),this.callbacks.onError?.(H)}),G.on("close",(H,B)=>{K(`[SessionsWebSocket] Closed: code=${H} reason=${B.toString()}`),this.handleClose(H)}),G.on("pong",()=>{K("[SessionsWebSocket] Pong received")})}}handleMessage(Q){try{let J=zJ(Q);if(qQ(J))this.callbacks.onMessage(J);else K(`[SessionsWebSocket] Ignoring message type: ${typeof J==="object"&&J!==null&&"type"in J?String(J.type):"unknown"}`)}catch(J){W(Error(`[SessionsWebSocket] Failed to parse message: ${ZJ(J)}`))}}handleClose(Q){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let J=this.state;if(this.state="closed",PQ.has(Q)){K(`[SessionsWebSocket] Permanent close code ${Q}, not reconnecting`),this.callbacks.onClose?.();return}if(Q===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>_){K(`[SessionsWebSocket] 4001 retry budget exhausted (${_}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(JJ*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${_}`);return}if(J==="connected"&&this.reconnectAttempts<QJ)this.reconnectAttempts++,this.scheduleReconnect(JJ,`attempt ${this.reconnectAttempts}/${QJ}`);else K("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(Q,J){this.callbacks.onReconnecting?.(),K(`[SessionsWebSocket] Scheduling reconnect (${J}) in ${Q}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},Q)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},yQ)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(Q){if(!this.ws||this.state!=="connected"){W(Error("[SessionsWebSocket] Cannot send: not connected"));return}K("[SessionsWebSocket] Sending control response"),this.ws.send(p(Q))}sendControlRequest(Q){if(!this.ws||this.state!=="connected"){W(Error("[SessionsWebSocket] Cannot send: not connected"));return}let J={type:"control_request",request_id:LQ(),request:Q};K(`[SessionsWebSocket] Sending control request: ${Q.subtype}`),this.ws.send(p(J))}isConnected(){return this.state==="connected"}close(){if(K("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){K("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function $Q(Q){return Q.type!=="control_request"&&Q.type!=="control_response"&&Q.type!=="control_cancel_request"}class OQ{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(Q,J){this.config=Q;this.callbacks=J}connect(){K(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let Q={onMessage:(J)=>this.handleMessage(J),onConnected:()=>{K("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{K("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{K("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(J)=>{W(J),this.callbacks.onError?.(J)}};this.websocket=new c(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,Q),this.websocket.connect()}handleMessage(Q){if(Q.type==="control_request"){this.handleControlRequest(Q);return}if(Q.type==="control_cancel_request"){let{request_id:J}=Q,Z=this.pendingPermissionRequests.get(J);K(`[RemoteSessionManager] Permission request cancelled: ${J}`),this.pendingPermissionRequests.delete(J),this.callbacks.onPermissionCancelled?.(J,Z?.tool_use_id);return}if(Q.type==="control_response"){K("[RemoteSessionManager] Received control response");return}if($Q(Q))this.callbacks.onMessage(Q)}handleControlRequest(Q){let{request_id:J,request:Z}=Q;if(Z.subtype==="can_use_tool")K(`[RemoteSessionManager] Permission request for tool: ${Z.tool_name}`),this.pendingPermissionRequests.set(J,Z),this.callbacks.onPermissionRequest(Z,J);else{K(`[RemoteSessionManager] Unsupported control request subtype: ${Z.subtype}`);let z={type:"control_response",response:{subtype:"error",request_id:J,error:`Unsupported control request subtype: ${Z.subtype}`}};this.websocket?.sendControlResponse(z)}}async sendMessage(Q,J){K(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Z=await HJ(this.config.sessionId,Q,J);if(!Z)W(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Z}respondToPermissionRequest(Q,J){if(!this.pendingPermissionRequests.get(Q)){W(Error(`[RemoteSessionManager] No pending permission request with ID: ${Q}`));return}this.pendingPermissionRequests.delete(Q);let z={type:"control_response",response:{subtype:"success",request_id:Q,response:{behavior:J.behavior,...J.behavior==="allow"?{updatedInput:J.updatedInput}:{message:J.message}}}};K(`[RemoteSessionManager] Sending permission response: ${J.behavior}`),this.websocket?.sendControlResponse(z)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){K("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){K("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){K("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function DZ(Q,J,Z,z=!1,X=!1){return{sessionId:Q,getAccessToken:J,orgUuid:Z,hasInitialPrompt:z,viewerOnly:X}}h();x();IQ();jQ();function dZ(){let Q=BJ();if(!Q?.teamName||!Q?.agentName){K("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:J,agentId:Z,agentName:z}=Q,X=m(J);if(!X){W(Error(`[computeInitialTeamContext] Could not read team file for ${J}`));return}let G=u(J),H=!Z;return K(`[Reconnection] Computed initial team context for ${H?"leader":`teammate ${z}`} in team ${J}`),{teamName:J,teamFilePath:G,leadAgentId:X.leadAgentId,selfAgentId:Z,selfAgentName:z,isLeader:H,teammates:{}}}function cZ(Q,J,Z){let z=m(J);if(!z){W(Error(`[initializeTeammateContextFromSession] Could not read team file for ${J} (agent: ${Z})`));return}let X=z.members.find((B)=>B.name===Z);if(!X)K(`[Reconnection] Member ${Z} not found in team ${J} - may have been removed`);let G=X?.agentId,H=u(J);Q((B)=>({...B,teamContext:{teamName:J,teamFilePath:H,leadAgentId:z.leadAgentId,selfAgentId:G,selfAgentName:Z,isLeader:!1,teammates:{}}})),K(`[Reconnection] Initialized agent context from session for ${Z} in team ${J}`)}TQ();UJ();wQ();T();hQ();CQ();SQ();YJ();var MJ=WJ(xQ(),1),S=WJ(AQ(),1),vQ={enable_shortcut_tip:!1,enable_startup_dialog:!1};function l(){return VJ("tengu_desktop_upsell",vQ)}function fQ(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function sZ(){if(!fQ())return!1;if(!l().enable_startup_dialog)return!1;let Q=Y();if(Q.desktopUpsellDismissed)return!1;if((Q.desktopUpsellSeenCount??0)>=3)return!1;return!0}function aZ(Q){let J=MJ.c(14),{onDone:Z}=Q,[z,X]=S.useState(!1),G;if(J[0]===Symbol.for("react.memo_cache_sentinel"))G=[],J[0]=G;else G=J[0];if(S.useEffect(DQ,G),z){let q;if(J[1]!==Z)q=P(qJ,{onDone:()=>Z()}),J[1]=Z,J[2]=q;else q=J[2];return q}let H;if(J[3]!==Z)H=function(tJ){switch(tJ){case"try":{X(!0);return}case"never":{M(FQ),Z();return}case"not-now":{Z();return}}},J[3]=Z,J[4]=H;else H=J[4];let B=H,U;if(J[5]===Symbol.for("react.memo_cache_sentinel"))U={label:"Open in Claude Code Desktop",value:"try"},J[5]=U;else U=J[5];let k;if(J[6]===Symbol.for("react.memo_cache_sentinel"))k={label:"Not now",value:"not-now"},J[6]=k;else k=J[6];let j;if(J[7]===Symbol.for("react.memo_cache_sentinel"))j=[U,k,{label:"Don't ask again",value:"never"}],J[7]=j;else j=J[7];let aJ=j,w;if(J[8]===Symbol.for("react.memo_cache_sentinel"))w=P(i,{marginBottom:1,children:P(LJ,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),J[8]=w;else w=J[8];let y;if(J[9]!==B)y=()=>B("not-now"),J[9]=B,J[10]=y;else y=J[10];let A;if(J[11]!==B||J[12]!==y)A=P(PJ,{title:"Try Claude Code Desktop",children:kJ(i,{flexDirection:"column",paddingX:2,paddingY:1,children:[w,P(yJ,{options:aJ,onChange:B,onCancel:y})]})}),J[11]=B,J[12]=y,J[13]=A;else A=J[13];return A}function FQ(Q){if(Q.desktopUpsellDismissed)return Q;return{...Q,desktopUpsellDismissed:!0}}function DQ(){let Q=(Y().desktopUpsellSeenCount??0)+1;M((J)=>{if((J.desktopUpsellSeenCount??0)>=Q)return J;return{...J,desktopUpsellSeenCount:Q}}),RJ("tengu_desktop_upsell_shown",{seen_count:Q})}EQ();h();gQ();bQ();tQ();dQ();eQ();uQ();iQ();pQ();rQ();T();mQ();a();cQ();s();nQ();_Q();NQ();aQ();sQ();oQ();QZ();UJ();lQ();JZ();T();function Q0(Q){let J=Y().numStartups;M((Z)=>{let z=Z.tipsHistory??{};if(z[Q]===J)return Z;return{...Z,tipsHistory:{...z,[Q]:J}}})}function $J(Q){let J=Y(),Z=J.tipsHistory?.[Q];if(!Z)return 1/0;return J.numStartups-Z}var C;async function ZZ(){if(C!==void 0)return C;let Q=await cJ();return C=I in Q,C}async function OJ(Q,J,Z){if(!await ZZ())return!1;if(uJ(`${Q}@${I}`))return!1;let{bashTools:z}=J??{};if(Z.cli&&z?.size){if(Z.cli.some((X)=>z.has(X)))return!0}if(Z.filePath&&J?.readFileState){if(TJ(J.readFileState).some((G)=>Z.filePath.test(G)))return!0}return!1}var zZ=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return Y().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${O("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let Q=Y();return(Q.lastPlanModeUse?(Date.now()-Q.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let Q=Y(),J=n(),Z=Boolean(Q.lastPlanModeUse),z=Boolean(J?.permissions?.defaultMode);return Z&&!z}catch(Q){return K(`Failed to check default-permission-mode-config tip relevance: ${Q}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let Q=Y();return await IJ()<=1&&Q.numStartups>50}catch(Q){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let Q=Y();return Q.numStartups>5&&Q.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(oJ())return!1;return await dJ()>=2}},{id:"terminal-setup",content:async()=>V.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let Q=Y();if(V.terminal==="Apple_Terminal")return!Q.optionAsMetaKeyInstalled;return!Q.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>V.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let Q=Y();return Boolean((V.terminal==="Apple_Terminal"?Q.optionAsMetaKeyInstalled:Q.shiftEnterKeyBindingInstalled)&&Q.numStartups>3)}},{id:"shift-enter-setup",content:async()=>V.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!mJ())return!1;let Q=Y();return!(V.terminal==="Apple_Terminal"?Q.optionAsMetaKeyInstalled:Q.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return Y().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&wJ.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>$()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>n().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return Y().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${V.terminal==="vscode"?"code":V.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!FJ())return!1;if($()!=="macos")return!1;switch(V.terminal){case"vscode":return!await _J();case"cursor":return!await bJ();case"windsurf":return!await EJ();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(DJ())return!1;if((await NJ()).length!==0)return!1;return(await pJ()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!Y().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!Y().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return Y().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!V.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>$()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!g()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>g()},{id:"continue",content:async()=>"Run claude --continue or claude --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>rJ()&&Y().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudio/skills/ in your project or ~/.claudio/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return Y().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${O("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${O("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return Y().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return Y().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>$()!=="linux"},{id:"desktop-shortcut",content:async(Q)=>{return`Continue your session in Claude Code Desktop with ${R("suggestion",Q.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!l().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${O("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let Q=Y(),Z=AJ()==="opusplan",z=Q.lastPlanModeUse?(Date.now()-Q.lastPlanModeUse)/86400000:1/0;return Z&&z>3}},{id:"frontend-design-plugin",content:async(Q)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
3
|
-
${R("suggestion",Q.theme)(`/plugin install frontend-design@${I}`)}`},cooldownSessions:3,isRelevant:async(Q)=>OJ("frontend-design",Q,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(Q)=>{return`Working with Vercel? Install the vercel plugin:
|
|
4
|
-
${R("suggestion",Q.theme)(`/plugin install vercel@${I}`)}`},cooldownSessions:3,isRelevant:async(Q)=>OJ("vercel",Q,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(Q)=>{let Z=R("suggestion",Q.theme)("/effort high");return L("tengu_tide_elm","off")==="copy_b"?`Use ${Z} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${Z} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!v())return!1;if(!hJ(xJ()))return!1;if(jJ("policySettings")?.effortLevel!==void 0)return!1;if(SJ()!==void 0)return!1;let Q=f().effortLevel;if(Q==="high"||Q==="max")return!1;return L("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(Q)=>{let J=R("suggestion",Q.theme);return L("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${J("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${J('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!v())return!1;return L("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(Q)=>{let J=R("suggestion",Q.theme);return L("tengu_timber_lark","off")==="copy_b"?`Use ${J("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${J("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!v())return!1;if(!CJ())return!1;return L("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(Q)=>{let J=R("claude",Q.theme),Z=gJ();return Z?`Share Claude Code and earn ${J(nJ(Z))} of extra usage · ${J("/passes")}`:`You have free guest passes to share · ${J("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(Y().hasVisitedPasses)return!1;let{eligible:J}=lJ();return J}},{id:"overage-credit",content:async(Q)=>{let J=R("claude",Q.theme),Z=vJ(),z=Z?fJ(Z):null;if(!z)return"";return`${J(`${z} in extra usage, on us`)} · third-party apps · ${J("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>iJ()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return Y().numStartups>5}}],GZ=[];function KZ(){let J=f().spinnerTipsOverride;if(!J?.tips?.length)return[];return J.tips.map((Z,z)=>({id:`custom-tip-${z}`,content:async()=>Z,cooldownSessions:0,isRelevant:async()=>!0}))}async function v0(Q){let Z=f().spinnerTipsOverride,z=KZ();if(Z?.excludeDefault&&z.length>0)return z;let X=[...zZ,...GZ],G=await Promise.all(X.map((B)=>B.isRelevant(Q)));return[...X.filter((B,U)=>G[U]).filter((B)=>$J(B.id)>=B.cooldownSessions),...z]}XZ();var HZ={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function BZ(Q){let J=Q.toLowerCase(),Z=sJ();for(let[z,X]of Object.entries(HZ)){let G=X.retirementDates[Z];if(!J.includes(z)||!G)continue;return{isDeprecated:!0,modelName:X.modelName,retirementDate:G}}return{isDeprecated:!1}}function D0(Q){if(!Q)return null;let J=BZ(Q);if(!J.isDeprecated)return null;return`⚠ ${J.modelName} will be retired on ${J.retirementDate}. Consider switching to a newer model.`}function b0(Q,J=process.argv){for(let Z=0;Z<J.length;Z++){let z=J[Z];if(z?.startsWith(`${Q}=`))return z.slice(Q.length+1);if(z===Q&&Z+1<J.length)return J[Z+1]}return}
|
|
5
|
-
export{qZ as pa,MZ as qa,OQ as ra,DZ as sa,dZ as ta,cZ as ua,Q0 as va,$J as wa,sZ as xa,aZ as ya,v0 as za,D0 as Aa,b0 as Ba};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{iv as A,kv as O,rt as M,st as G}from"./cli-0.1.15-26hkdean.mjs";import{AU as w,CU as d,GU as v,QS as U,fV as W}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as a,FV as i,GV as S}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as N}from"./cli-0.1.15-tp614m5f.mjs";import{baa as I,oaa as P}from"./cli-0.1.15-4892kydg.mjs";import{yea as h,zea as L}from"./cli-0.1.15-b7f6hacc.mjs";import{Zla as b,bma as B}from"./cli-0.1.15-mhbfhhf6.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as $}from"./cli-0.1.15-mhbfhhf6.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function E(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function y(z=1){return z===0?"":J(z,"S")}function a(z=1){return z===0?"":J(z,"T")}function n(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,o,c,t,r,i,e,s,zz,Jz,Qz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u"),F=J(2,"K"),K=J(2,"J"),o=J(3,"J");c=J("r"),t=J("200~"),r=J("201~"),i=J("I"),e=J("O"),s=J(">1u"),zz=J("<u"),Jz=J(">4;2m"),Qz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,$z;var f=$(()=>{v();P=J(0,"f");$z=T()});
|
|
2
|
-
export{d as LY,Y as MY,h as NY,j as OY,H as PY,w as QY,L as RY,x as SY,A as TY,N as UY,J as VY,g as WY,I as XY,_ as YY,u as ZY,R as _Y,C as $Y,q as aZ,S as bZ,K as cZ,E as dZ,y as eZ,a as fZ,n as gZ,c as hZ,t as iZ,r as jZ,i as kZ,e as lZ,s as mZ,zz as nZ,Jz as oZ,Qz as pZ,v as qZ,T as rZ,$z as sZ,f as tZ};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{S6 as Q,g7 as _}from"./cli-0.1.15-4892kydg.mjs";import{vca as I,wca as V}from"./cli-0.1.15-rr65b3dk.mjs";import{wfa as B,zfa as X}from"./cli-0.1.15-nk50qhet.mjs";import{bma as T}from"./cli-0.1.15-mhbfhhf6.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{V();X();_();A=new Map});
|
|
2
|
-
export{j as D4,P as E4,Y as F4,S as G4,O as H4,D as I4,Z as J4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{iv as O,kv as j,rt as y,st as p}from"./cli-0.1.15-26hkdean.mjs";import{AU as F,CU as I,GU as R,QS as S,fV as v}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as Z,FV as N,GV as U}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as d}from"./cli-0.1.15-tp614m5f.mjs";import{Z_ as M,j$ as E}from"./cli-0.1.15-4892kydg.mjs";import{yea as H,zea as b}from"./cli-0.1.15-b7f6hacc.mjs";import{Zla as k}from"./cli-0.1.15-mhbfhhf6.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claude handle permission prompts automatically — Claude checks each tool call for risky actions and prompt injection before executing. Actions Claude identifies as safe are executed, while actions Claude identifies as risky are blocked and Claude may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claude can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
|
|
2
|
-
export{x as Ra,l as Sa};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{nd as c,td as Eq}from"./cli-0.1.15-zf1s8y92.mjs";import{$j as S,CG as Cq,FG as b,GG as Lq,JG as Hq,KG as Jq,MF as v,MG as vq,NF as m,NG as y,OG as Qq,PF as Oq,PG as Xq,QG as Yq,Qj as s,RG as $q,SG as d,Sj as Tq,VG as Dq,Wj as A,Wz as l,Xz as wq,Yj as D,Zj as Mq,_j as h,ak as Rq,gG as n,gl as i,il as Fq,mG as e,nG as P,rG as jq,sG as O,tG as qq,vG as I,wG as Gq,wk as t,xk as Aq}from"./cli-0.1.15-26hkdean.mjs";import{X_ as F,Z_ as L,_5 as a,d6 as Kq,j$ as Bq,r_ as V,z_ as _q}from"./cli-0.1.15-4892kydg.mjs";import{Xea as o,_ea as N,cfa as Uq,mfa as p,qfa as Wq}from"./cli-0.1.15-nk50qhet.mjs";import{Bha as f,mla as xq}from"./cli-0.1.15-12azgmva.mjs";import{bma as Zq}from"./cli-0.1.15-mhbfhhf6.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudio/settings.json, shared with your team). To disable just for you: claudio plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(i(Q),G)await t(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(s(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
-
${G.join(`
|
|
3
|
-
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Tq();Uq();Wq();Kq();Oq();Rq();Cq();jq();Aq();Mq();vq();Dq();Fq();wq();Eq();Lq();Bq();_q();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
-
export{k as ad,HG as bd,JG as cd,QG as dd,kq as ed,XG as fd,YG as gd,$G as hd,zG as id,ZG as jd,xG as kd,hq as ld};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Jt as D,Nt as r,pE as F,qE as y,tE as S,zE as o}from"./cli-0.1.15-26hkdean.mjs";import{MT as A,NT as l,qU as z,rU as O}from"./cli-0.1.15-68f0jtkh.mjs";import{D6 as x,E6 as d,G6 as b,H6 as g}from"./cli-0.1.15-4892kydg.mjs";import{hfa as k,ifa as p,mfa as L,qfa as c,wfa as V,zfa as I}from"./cli-0.1.15-nk50qhet.mjs";import{Lla as T,Mla as C}from"./cli-0.1.15-p5ty029c.mjs";import{bma as w}from"./cli-0.1.15-mhbfhhf6.mjs";import{spawn as G,spawnSync as _}from"child_process";import{basename as R}from"path";function u(q){return!!b(q)}function N(q){let H=R(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function m(q,H,B){if(!B)return[H];if(f.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=N(B);if(Q){let W=m(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>V(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&P.test(R(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=_(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=_(X,M,W)}if(Z.error)return V(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,P,f,v;var j=w(()=>{C();O();I();g();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],P=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,f=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>u(H))})});function a(q){return N(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=s[J]??J;return x(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${D(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=y(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Nq(q,H){let B=L(),J=A();try{let X=H?S(q,H):q;k(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var s;var t=w(()=>{o();O();j();d();c();r();p();l();s={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as _e,v as $e,j as af,i as bf,Nq as cf,t as df};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as C}from"./cli-0.1.15-mhbfhhf6.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
|
|
2
|
-
export{L as Ng,M as Og,N as Pg,H as Qg};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{DN as TJ,Fj as DJ,Hj as cJ,Lj as IJ,Mj as BJ,Nj as pJ,Ug as dJ,kO as jJ,oO as ZV}from"./cli-0.1.15-26hkdean.mjs";import{$_ as WJ,I6 as VJ,K6 as p,X$ as NJ,_5 as L,d6 as kJ,g7 as fJ,j$ as uJ,m6 as c,n6 as PJ,oaa as hJ,q7 as qJ,u7 as mJ}from"./cli-0.1.15-4892kydg.mjs";import{vca as j,wca as zJ}from"./cli-0.1.15-rr65b3dk.mjs";import{yea as f,zea as gJ}from"./cli-0.1.15-b7f6hacc.mjs";import{Yea as e,cfa as SJ,mfa as JJ,qfa as bJ,wfa as Q,zfa as yJ}from"./cli-0.1.15-nk50qhet.mjs";import{tha as AJ,uha as wJ}from"./cli-0.1.15-12azgmva.mjs";import{Zla as LJ,bma as XJ}from"./cli-0.1.15-mhbfhhf6.mjs";class d{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await y(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let H=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,H)W(),H=!1;await y(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=CJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let H=W.charCodeAt(Y);if(H>=97&&H<=122)V|=1<<H-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),H=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);H[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,X=[],N=-1/0,{paths:D,lowerPaths:q,charBits:x,pathLens:U,readyCount:m}=this;J:for(let M=0;M<m;M++){if((x[M]&$)!==$)continue;let B=Z?D[M]:q[M],E=B.indexOf(H[0]);if(E===-1)continue;b[0]=E;let R=0,g=0,u=E;for(let A=1;A<Y;A++){if(E=B.indexOf(H[A],u+1),E===-1)continue J;b[A]=E;let F=E-u-1;if(F===0)g+=4;else R+=3+F*1;u=E}if(X.length===W&&_+g-R<=N)continue;let S=D[M],UJ=U[M],T=Y*16+g-R;T+=HJ(S,b[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,b[A],!1);if(T+=Math.max(0,32-(UJ>>2)),X.length<W){if(X.push({path:S,fuzzScore:T}),X.length===W)X.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=X[0].fuzzScore}else if(T>N){let A=0,F=X.length;while(A<F){let h=A+F>>1;if(X[h].fuzzScore<T)A=h+1;else F=h}X.splice(A,0,{path:S,fuzzScore:T}),X.shift(),N=X[0].fuzzScore}}X.sort((M,B)=>B.fuzzScore-M.fuzzScore);let I=X.length,w=Math.max(I,1),z=Array(I);for(let M=0;M<I;M++){let B=X[M].path,E=M/w,R=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:R}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(vJ(V))return 8;if(GJ(V)&&RJ(J.charCodeAt(W)))return 6;return 0}function vJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function RJ(J){return J>=65&&J<=90}function y(){return new Promise((J)=>setImmediate(J))}function CJ(J,W){let Z=new Set;for(let Y of J){let H=Y.length;for(let _=0;_<Y.length;_++){let X=Y.charCodeAt(_);if(X===47||X===92){H=_;break}}let $=Y.slice(0,H);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,H)=>{let $=Y.length-H.length;if($!==0)return $;return Y<H?-1:Y>H?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var _J=4,b;var QJ=XJ(()=>{b=new Int32Array(64)});import{statSync as lJ}from"fs";import*as O from"path";function l(){if(!K)K=new d;return K}function UV(){K=null,v=null,G++,k=null,C=[],ZJ=[],$J=[],YJ.clear(),n=null,s=null,o=0,a=null,i=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let H=J[Y];for(let $=0;$<H.length;$++)V=(V^H.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let H=0;H<Y.length;H++)V=(V^Y.charCodeAt(H))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function nJ(){let J=VJ(j());if(!J)return null;try{return lJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function MJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function sJ(J){if(J.length===0)return;if(!K||C.length===0)return;let W=await FJ(J),Z=[...C,...ZJ,...$J,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${C.length} tracked + ${J.length} untracked files`)}async function OJ(J,W){let Z=`${J}:${W}`;if(s===Z)return n;let V=JJ(),Y=[".ignore",".rgignore"],H=[...new Set([J,W])],$=KJ.default(),_=!1,X=H.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(X.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${X[q]}`)}let D=_?$:null;return n=D,s=Z,D}async function oJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=VJ(j());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=j(),H=Date.now(),$=await c(p(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-H}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean),X=MJ(_,V,Y),N=await OJ(V,Y);if(N){let q=X.length;X=N.filter(X),Q(`[FileIndex] applied ignore patterns: ${q} -> ${X.length} files`)}C=X;let D=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${X.length} tracked files in ${D}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:X.length,tracked_count:X.length,untracked_count:0,duration_ms:D}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=G;k=c(p(),q,{timeout:1e4,cwd:V}).then(async(U)=>{if(x!==G)return;if(U.code===0){let m=U.stdout.trim().split(`
|
|
3
|
-
`).filter(Boolean),I=MJ(m,V,Y),w=await OJ(V,Y);if(w&&I.length>0){let z=I.length;I=w.filter(I),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${I.length} files`)}Q(`[FileIndex] background untracked fetch: ${I.length} files`),sJ(I)}}).catch((U)=>{Q(`[FileIndex] background untracked fetch failed: ${U}`)}).finally(()=>{k=null})}return X}catch(Y){return Q(`[FileIndex] git ls-files error: ${e(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(aJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>_J)await y(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function aJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let H=O.dirname(J[Y]);while(H!=="."&&!V.has(H)){let $=O.dirname(H);if($===H)break;V.add(H),H=$}}}async function iJ(J){return(await Promise.all(IJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function rJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await oJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;Q("[FileIndex] git ls-files returned null, falling back to ripgrep");let V=Date.now(),Y=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)Y.push("--no-ignore-vcs");let $=(await DJ(Y,".",J)).map((X)=>O.relative(j(),X)),_=Date.now()-V;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function tJ(){let J=AbortSignal.timeout(1e4),W=l();try{let Z=WJ(),V=NJ(),Y=Z.respectGitignore??V.respectGitignore??!0,H=j(),[$,_]=await Promise.all([rJ(J,Y),iJ(H)]);ZJ=_;let X=[...$,..._],N=await FJ(X);$J=N;let D=[...N,...X],q=xJ(D);if(q!==i)await W.loadFromFileListAsync(D).done,i=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){L(Z)}return W}function eJ(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function vV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=eJ(Z,Y),Z==="")return""}return Z}function r(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function JV(J,W){return J.search(W,t).map((V)=>r(V.path,V.score))}function EJ(){if(v)return;let J=nJ();if(K){if(!(J!==null&&J!==a)&&Date.now()-o<VV)return}let W=G,Z=Date.now();l(),v=tJ().then((V)=>{if(W!==G)return V;return v=null,YJ.emit(),a=J,o=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${e(V)}`),L(V),W===G)v=null;return l()})}async function WV(){let J=JJ(),W=j();try{return(await J.readdir(W)).map((V)=>{let Y=O.join(W,V.name),H=O.relative(W,Y);return V.isDirectory()?H+O.sep:H})}catch(Z){return L(Z),[]}}async function GV(J,W=!1){if(!J&&!W)return[];if(WJ().fileSuggestion?.type==="command"){let V={...TJ(),query:J};return(await jJ(V)).slice(0,t).map(r)}if(J===""||J==="."||J==="./"){let V=await WV();return EJ(),V.slice(0,t).map(r)}let Z=Date.now();try{let V=v!==null;EJ();let Y=J,H="."+O.sep;if(J.startsWith(H))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=K?JV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return L(V),[]}}function RV(J,W,Z,V,Y,H){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let X=V+$.length;H(X)}var KJ,K=null,v=null,YJ,jV,G=0,k=null,C,ZJ,$J,n=null,s=null,o=0,a=null,i=null,P=null,t=15,VV=5000;var YV=XJ(()=>{pJ();QJ();gJ();hJ();zJ();yJ();SJ();PJ();bJ();fJ();ZV();kJ();mJ();cJ();uJ();wJ();KJ=LJ(dJ(),1);YJ=AJ(),jV=YJ.subscribe,C=[],ZJ=[],$J=[]});
|
|
4
|
-
export{jV as ag,UV as bg,vV as cg,EJ as dg,GV as eg,RV as fg,YV as gg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gF as x,jF as A}from"./cli-0.1.15-26hkdean.mjs";import{bma as z}from"./cli-0.1.15-mhbfhhf6.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Gq as $,Hq as k,Nq as N,Tq as C,br as V}from"./cli-0.1.15-26hkdean.mjs";import{AU as f,CU as t,GU as v,QS as P,fV as D}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as n,FV as i,GV as M}from"./cli-0.1.15-gxgy4enj.mjs";import{Zla as w,bma as L}from"./cli-0.1.15-mhbfhhf6.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{V();N();D();M();b=w(P(),1)});
|
|
2
|
-
export{J as Te,z as Ue};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{OV as N,PV as V,QV as D}from"./cli-0.1.15-asts8hm3.mjs";import{GZ as Y,LZ as _,_2 as J,a3 as $,d3 as B,y3 as x,z2 as Z}from"./cli-0.1.15-q35rzjnz.mjs";import{$4 as R,K4 as X}from"./cli-0.1.15-x69hfzmj.mjs";import{cda as Q,ida as P}from"./cli-0.1.15-6mad0r56.mjs";import{bma as W}from"./cli-0.1.15-mhbfhhf6.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudio-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
|
|
2
|
-
export{E as IV,I as JV,w as KV,C as LV,O as MV,H as NV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_2 as q,y3 as D}from"./cli-0.1.15-q35rzjnz.mjs";import{hda as m,ida as z}from"./cli-0.1.15-6mad0r56.mjs";import{bma as x}from"./cli-0.1.15-mhbfhhf6.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
-
export{E as Fd,F as Gd,K as Hd,M as Id,G as Jd};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{bma as j}from"./cli-0.1.15-mhbfhhf6.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
|
|
2
|
-
`:`
|
|
3
|
-
`)+z,H=D+1,D=q.indexOf(`
|
|
4
|
-
`,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
|
|
5
|
-
`);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
|
|
6
|
-
export{o as T3,O1 as U3,e as V3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hK as R,iK as j,jK as Q,kK as x,lK as E,mK as l,nK as i,rK as c,sK as r}from"./cli-0.1.15-26hkdean.mjs";import{qS as S,rS as t}from"./cli-0.1.15-8v8bskr0.mjs";import{AU as O,CU as W,QS as b1,WU as k,fV as K,nU as p,oU as u}from"./cli-0.1.15-68f0jtkh.mjs";import{DV as A,EV as V,FV as D,GV as w}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as n}from"./cli-0.1.15-tp614m5f.mjs";import{Zla as v,bma as q}from"./cli-0.1.15-mhbfhhf6.mjs";function s(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function e(J){return(J.ctrl||J.meta)&&J.key==="y"}function G1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=S(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=c.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!s(d))Q();if(!e(d))i();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=j();if(T.length>0){let X=F.offset,M=F.insert(T);x(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=E();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;l(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!d1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return k((d,F,T)=>{z(new p(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,d1;var T1=q(()=>{u();K();r();t();U=v(n(),1);d1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});function V1(J){let b=y.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(O,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var y;var B1=q(()=>{K();w();y=v(b1(),1)});
|
|
2
|
-
export{V1 as Hf,B1 as If,G1 as Jf,T1 as Kf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{yea as $,zea as P}from"./cli-0.1.15-b7f6hacc.mjs";import{Yea as X,cfa as z,efa as Y,ifa as H,wfa as Z,zfa as O}from"./cli-0.1.15-nk50qhet.mjs";import{bma as x}from"./cli-0.1.15-mhbfhhf6.mjs";function h(q){return q.replace(w,(Q,J,K)=>{if(K.length<F)return`"${J}":"[REDACTED]"`;let V=`${K.slice(0,8)}...${K.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let Q=typeof q==="string"?q:Y(q),J=h(Q);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function R(q){let Q=X(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let K=J.data,V=typeof K.message==="string"?K.message:typeof K.error==="object"&&K.error&&("message"in K.error)&&typeof K.error.message==="string"?K.error.message:void 0;if(V)return`${Q}: ${V}`}}return Q}function U(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function j(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function D(q,Q,J){if(Q)Z(Q);$("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{P();O();z();H();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
-
export{N as zd,R as Ad,U as Bd,j as Cd,D as Dd,m as Ed};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kd as j,ld as E}from"./cli-0.1.15-e494j2sj.mjs";import{CG as f,Wj as W,Zj as v,eG as X,gG as Y,pG as Z,rG as w,vG as _,yG as $}from"./cli-0.1.15-26hkdean.mjs";import{K9 as S,X9 as A,_5 as Q,d6 as T,daa as V,oaa as N}from"./cli-0.1.15-4892kydg.mjs";import{Yea as L,cfa as K,wfa as B,zfa as R}from"./cli-0.1.15-nk50qhet.mjs";import{bma as y}from"./cli-0.1.15-mhbfhhf6.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:S(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(V()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){Q(q)}})()}var J=null,G=null;var U=y(()=>{E();N();R();K();T();f();w();v();A()});
|
|
2
|
-
export{d as _b,P as $b,t as ac,U as bc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{nI as Q,oI as $}from"./cli-0.1.15-26hkdean.mjs";import{gga as V,gha as W,hga as P,hha as E}from"./cli-0.1.15-12azgmva.mjs";import{bma as L}from"./cli-0.1.15-mhbfhhf6.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as Ib,C as Jb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AT as Y,BT as p,gU as v,hU as Z,iU as D,wT as T,xT as X,yT as I}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as P,GV as V}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as H}from"./cli-0.1.15-tp614m5f.mjs";import{Bia as W,mla as F}from"./cli-0.1.15-12azgmva.mjs";import{Zla as A,bma as C}from"./cli-0.1.15-mhbfhhf6.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
|
-
export{u as wg,M as xg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as H}from"./cli-0.1.15-mhbfhhf6.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
-
export{F as rea,K as sea,M as tea,N as uea,O as vea,P as wea,J as xea};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vg as M,Wg as W,sJ as O,tJ as P,uJ as Q,vJ as U,yJ as X}from"./cli-0.1.15-26hkdean.mjs";import{bma as V}from"./cli-0.1.15-mhbfhhf6.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as Oe,$ as Pe};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ib as K,Jb as Y}from"./cli-0.1.15-ghvjjc4g.mjs";import{Fq as J,Nq as X,kq as H,lq as U,pq as V,qq as W,ym as G,zm as B}from"./cli-0.1.15-26hkdean.mjs";import{_la as q,bma as v}from"./cli-0.1.15-mhbfhhf6.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>H.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(G([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();B();U();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(W(),q(V))});
|
|
2
|
-
export{P as Eb,C as Fb,A as Gb,D as Hb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{LV as K,NV as Z}from"./cli-0.1.15-f8abjagh.mjs";import{OV as J,QV as Y}from"./cli-0.1.15-asts8hm3.mjs";import{_2 as D,d0 as B,d3 as F,e3 as G,i0 as W,y3 as X}from"./cli-0.1.15-q35rzjnz.mjs";import{$4 as V,K4 as z}from"./cli-0.1.15-x69hfzmj.mjs";import{hda as y,ida as Q}from"./cli-0.1.15-6mad0r56.mjs";import{bma as N}from"./cli-0.1.15-mhbfhhf6.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
|
|
2
|
-
export{P as Lg,_ as Mg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as l}from"./cli-0.1.15-mhbfhhf6.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
|
|
2
|
-
export{u as DV,E as EV,a as FV,c as GV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{zea as Y}from"./cli-0.1.15-b7f6hacc.mjs";import{zfa as V}from"./cli-0.1.15-nk50qhet.mjs";import{bma as X}from"./cli-0.1.15-mhbfhhf6.mjs";var _,O;var F=X(()=>{_=Promise.resolve(),O=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});async function D(){}async function C(z){if(!z||z.length>G)return null;return null}async function u(z){if(!z||z.length>G)return null;return null}function b(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&U.has(J.text)?[J.text]:[]}let Z=[],$=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!$&&J.type==="word"){$=!0,Z.push(J.text);continue}if(q.has(J.type))Z.push(H(J.text));else if(Q.has(J.type))break}return Z}function H(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var G=1e4,U,q,Q,y;var M=X(()=>{Y();V();F();U=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),q=new Set(["word","string","raw_string","number"]),Q=new Set(["command_substitution","process_substitution"]);y=Symbol("parse-aborted")});
|
|
2
|
-
export{O as gY,F as hY,D as iY,C as jY,y as kY,u as lY,b as mY,M as nY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bma as F}from"./cli-0.1.15-mhbfhhf6.mjs";function V(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function A(q,z){let B=q;for(let J of z){if(B==null||typeof B!=="object")return;B=B[J]}return B}function L(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let K=q.toLowerCase();return K.includes("localhost")||K.includes("127.0.0.1")||K.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let J=B.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(J){let K=Number(J[1]),Q=Number(J[2]);if(K===10)return!0;if(K===172&&Q>=16&&Q<=31)return!0;if(K===192&&Q===168)return!0;if(K===127)return!0;if(K===169&&Q===254)return!0;if(K===100&&Q>=64&&Q<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||/^fc[0-9a-f]{0,2}:/.test(B)||/^fd[0-9a-f]{0,2}:/.test(B))return!0;return!1}function O(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(L(B))return"self-hosted";let J=B.toLowerCase();if(J.includes(":11434"))return"ollama";if(J.includes("moonshot")||J.includes("kimi"))return"kimi";if(J.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function f(q){if(!q||typeof q!=="object")return 0;let z=q,B=V(z.cache_read_input_tokens);if(B>0)return B;let J=V(A(q,["input_tokens_details","cached_tokens"]))||V(A(q,["prompt_tokens_details","cached_tokens"]));if(J>0)return J;let K=V(z.cached_tokens);if(K>0)return K;let Q=V(z.prompt_cache_hit_tokens);if(Q>0)return Q;let W=V(z.cached_content_token_count);if(W>0)return W;return 0}function Y(q){let z=f(q),B=q??{},J=V(B.input_tokens)||V(B.prompt_tokens),K=J>=z?J-z:J,Q=V(B.output_tokens)||V(B.completion_tokens);return{input_tokens:K,output_tokens:Q,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function k(q,z){if(!q||typeof q!=="object")return $;let B=q,J=V(B.cache_read_input_tokens),K=V(B.cache_creation_input_tokens),Q=V(B.input_tokens);if(z==="copilot"||z==="ollama")return $;if(z==="self-hosted"&&J===0&&K===0)return $;let W=J+K+Q;return{read:J,created:K,total:W,hitRate:W>0?Math.min(1,J/W):null,supported:!0}}function _(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${j(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${j(q.read)}`,`created=${j(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function j(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(/\.0$/,"")}k`;return`${(q/1e6).toFixed(1).replace(/\.0$/,"")}m`}function X(q,z){if(!q.supported&&!z.supported)return $;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,J=q.created+z.created,K=q.total+z.total;return{read:B,created:J,total:K,hitRate:K>0?B/K:null,supported:!0}}var $;var H=F(()=>{$={read:0,created:0,total:0,hitRate:null,supported:!1}});function D(q){return{currentTurn:Z,session:Z,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function S(q,z){G.currentTurn=X(G.currentTurn,q),G.session=X(G.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(G.history[G.historyWriteIdx]=B,G.historyWriteIdx=(G.historyWriteIdx+1)%G.historyMax,G.historySize<G.historyMax)G.historySize++}function M(){G.currentTurn=Z}function E(){G.currentTurn=Z,G.session=Z,G.history=Array(G.historyMax),G.historyWriteIdx=0,G.historySize=0}function w(){return G.currentTurn}function P(){return G.session}function T(){if(G.historySize<G.historyMax)return G.history.slice(0,G.historySize);let q=G.history.slice(G.historyWriteIdx),z=G.history.slice(0,G.historyWriteIdx);return q.concat(z)}var y=500,Z,G;var x=F(()=>{H();Z={read:0,created:0,total:0,hitRate:null,supported:!1};G=D(y)});
|
|
2
|
-
export{O as dS,Y as eS,k as fS,_ as gS,I as hS,H as iS,S as jS,M as kS,E as lS,w as mS,P as nS,T as oS,x as pS};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{XJ as C,_J as X}from"./cli-0.1.15-26hkdean.mjs";import{HV as W}from"./cli-0.1.15-tp614m5f.mjs";import{H1 as J,N1 as V,v1 as I}from"./cli-0.1.15-q35rzjnz.mjs";import{Ida as T,nda as H}from"./cli-0.1.15-wfn10357.mjs";import{Zla as P,bma as Q}from"./cli-0.1.15-mhbfhhf6.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
-
export{v as Kb,Y as Lb};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{Hr as r,Ir as Xq,Ru as x,Su as s,Tu as C,Vu as n,Wu as $,Yu as Zq,iv as o,kv as Mq,rt as d,st as Yq,wj as E,xj as Uq}from"./cli-0.1.15-26hkdean.mjs";import{AU as N,CU as U,GU as V,QS as Jq,WU as a,fV as Qq}from"./cli-0.1.15-68f0jtkh.mjs";import{DV as u,EV as J,FV as X,GV as g}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as zq}from"./cli-0.1.15-tp614m5f.mjs";import{yea as w,zea as qq}from"./cli-0.1.15-b7f6hacc.mjs";import{Zla as i,bma as t}from"./cli-0.1.15-mhbfhhf6.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
|
-
| \\ \\
|
|
3
|
-
| NEW TERMS \\__\\
|
|
4
|
-
| |
|
|
5
|
-
| ---------- |
|
|
6
|
-
| ---------- |
|
|
7
|
-
| ---------- |
|
|
8
|
-
| ---------- |
|
|
9
|
-
| ---------- |
|
|
10
|
-
| |
|
|
11
|
-
|______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
|
|
12
|
-
export{kq as rc,_q as sc,Aq as tc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{l6 as z,n6 as G}from"./cli-0.1.15-4892kydg.mjs";import{bma as D}from"./cli-0.1.15-mhbfhhf6.mjs";function H(k){let g;try{g=new URL(k)}catch(A){throw Error(`Invalid URL format: ${k}`)}if(g.protocol!=="http:"&&g.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${g.protocol}`)}async function K(k){try{let g=process.platform;if(g==="win32"){let{code:C}=await z("explorer",[k]);return C===0}let A=g==="darwin"?"open":"xdg-open",{code:B}=await z(A,[k]);return B===0}catch(g){return!1}}async function L(k){try{H(k);let g=process.env.BROWSER,A=process.platform;if(A==="win32"){if(g){let{code:C}=await z(g,[`"${k}"`]);return C===0}let{code:B}=await z("rundll32",["url,OpenURL",k],{});return B===0}else{let B=g||(A==="darwin"?"open":"xdg-open"),{code:C}=await z(B,[k]);return C===0}}catch(g){return!1}}var I=D(()=>{G()});
|
|
2
|
-
export{K as bW,L as cW,I as dW};
|
|
@@ -1,2 +0,0 @@
|
|
|
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.1.15-26hkdean.mjs";import{$4 as Qq,K4 as p}from"./cli-0.1.15-x69hfzmj.mjs";import{M9 as u,O9 as g,R9 as h,S9 as n,X9 as vq,_5 as D,d6 as qq}from"./cli-0.1.15-4892kydg.mjs";import{oca as d,qca as Uq}from"./cli-0.1.15-gmdv5ny8.mjs";import{Yea as W,Zea as O,_ea as C,cfa as _,efa as P,ffa as v,ifa as f,mfa as M,qfa as y,wfa as V,zfa as e}from"./cli-0.1.15-nk50qhet.mjs";import{bma as N}from"./cli-0.1.15-mhbfhhf6.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};
|