@claudiolabs/claudin 0.6.3 → 0.6.5
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.6.5-9pre88qb.mjs +1 -0
- package/dist/chunks/App-0.6.5-syfacmqb.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.5-2rrtj277.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.5-8deawh7z.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.5-8e3v3cgx.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.5-3pjygvs2.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.5-s2js1wag.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.5-36z08571.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.5-g256mdz0.mjs +3 -0
- package/dist/chunks/Doctor-0.6.5-vty8ec8n.mjs +1 -0
- package/dist/chunks/Grove-0.6.5-p00f24rh.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.5-53j2wh9w.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.5-gtpj7hn7.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.5-3d3v9kn1.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.5-mnbsk1bz.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.5-9r9rkgj0.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.5-yb8w75gs.mjs +1 -0
- package/dist/chunks/REPL-0.6.5-wqyg8nfv.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.5-0d1tkqfd.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.5-n5pa0d9r.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.5-t863eyfb.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.5-11ykz8de.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.5-dn6dvzvv.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.5-yd46t6dv.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.5-6kssfnkp.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.5-mdbqw8dc.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.5-wpe1bnhr.mjs +1 -0
- package/dist/chunks/add-dir-0.6.5-zphaxr62.mjs +1 -0
- package/dist/chunks/agents-0.6.5-9rhdp3vp.mjs +110 -0
- package/dist/chunks/agents-0.6.5-krnahvn4.mjs +3 -0
- package/dist/chunks/api-0.6.5-vfnxfssn.mjs +1 -0
- package/dist/chunks/asciicast-0.6.5-hr205c81.mjs +1 -0
- package/dist/chunks/assistant-0.6.5-nfbsgssx.mjs +1 -0
- package/dist/chunks/auth-0.6.5-9baxvtxg.mjs +1 -0
- package/dist/chunks/auth-0.6.5-cq4yrhn2.mjs +1 -0
- package/dist/chunks/autoMode-0.6.5-kzhwpmfg.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.5-bkzpv0pd.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.5-2mkev4qh.mjs +1 -0
- package/dist/chunks/branch-0.6.5-8vtt7esr.mjs +4 -0
- package/dist/chunks/bridge-0.6.5-9c1v2e52.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.5-w77y3p5n.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.5-k6hvamvf.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.5-pea2hztr.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.5-87t92nmh.mjs +1 -0
- package/dist/chunks/btw-0.6.5-xhyyarh0.mjs +1 -0
- package/dist/chunks/buddy-0.6.5-g9csmkdw.mjs +3 -0
- package/dist/chunks/cacache-0.6.5-kzjmbjve.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.5-c2br8x9m.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.5-kbdcab9q.mjs +4 -0
- package/dist/chunks/caches-0.6.5-nwzvsny2.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.5-51tkmdr1.mjs +1 -0
- package/dist/chunks/claudemd-0.6.5-212twher.mjs +1 -0
- package/dist/chunks/clear-0.6.5-yg0wcbw4.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.5-0c24f1yy.mjs +1 -0
- package/dist/chunks/cli-0.6.5-00kbsd9f.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0356tc6y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-06d8zge2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0j7fzwkx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0pt0eq6a.mjs +3 -0
- package/dist/chunks/cli-0.6.5-13g3042y.mjs +12 -0
- package/dist/chunks/cli-0.6.5-192npvx3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-19mg5dfx.mjs +6 -0
- package/dist/chunks/cli-0.6.5-1bz46ywp.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1fqhk4mv.mjs +9 -0
- package/dist/chunks/cli-0.6.5-1k5wyv3x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1m46f13z.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1r4j3nda.mjs +58 -0
- package/dist/chunks/cli-0.6.5-2dq7pa8p.mjs +34 -0
- package/dist/chunks/cli-0.6.5-2s673b9m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-38gqwg2m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-3hemanw8.mjs +15 -0
- package/dist/chunks/cli-0.6.5-3p5vg2yx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-3ybp7ww7.mjs +6 -0
- package/dist/chunks/cli-0.6.5-406dcpxw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-41tc50h9.mjs +2 -0
- package/dist/chunks/cli-0.6.5-477kp2fg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-47s6s6ew.mjs +2 -0
- package/dist/chunks/cli-0.6.5-4k3kk3pr.mjs +17 -0
- package/dist/chunks/cli-0.6.5-4whh4m3h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-54w728vm.mjs +2 -0
- package/dist/chunks/cli-0.6.5-57jmtd2z.mjs +2 -0
- package/dist/chunks/cli-0.6.5-58ck75qn.mjs +2 -0
- package/dist/chunks/cli-0.6.5-5py2stcw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-5rpfanmw.mjs +3 -0
- package/dist/chunks/cli-0.6.5-5t6d3asz.mjs +5347 -0
- package/dist/chunks/cli-0.6.5-5wr197ms.mjs +25 -0
- package/dist/chunks/cli-0.6.5-5ymbb1v4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-60hfev34.mjs +2 -0
- package/dist/chunks/cli-0.6.5-61tnv5c7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6829jyhh.mjs +9 -0
- package/dist/chunks/cli-0.6.5-69f24h9w.mjs +8 -0
- package/dist/chunks/cli-0.6.5-6ab8b50h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6e6pv00e.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6ev1k0qv.mjs +133 -0
- package/dist/chunks/cli-0.6.5-6q2d7p49.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6qvtcs5y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6wpz6mks.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6x91apzw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-72v6gjqf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7am1hb1v.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7tzhpeyn.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7vnp5x55.mjs +15 -0
- package/dist/chunks/cli-0.6.5-81fzcvec.mjs +4 -0
- package/dist/chunks/cli-0.6.5-87qz97g2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-8hsxq1p3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-8zsy7h21.mjs +2 -0
- package/dist/chunks/cli-0.6.5-95a4872h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-983fq4aj.mjs +7 -0
- package/dist/chunks/cli-0.6.5-987r1x1q.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9cs6r2j7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9d9gmzev.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9g1pn7jy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9g7p6wdj.mjs +5 -0
- package/dist/chunks/cli-0.6.5-9hp0d08c.mjs +2 -0
- package/dist/chunks/cli-0.6.5-a0ke5n08.mjs +2 -0
- package/dist/chunks/cli-0.6.5-a1csk51d.mjs +3 -0
- package/dist/chunks/cli-0.6.5-a23zsgke.mjs +3 -0
- package/dist/chunks/cli-0.6.5-a8za8sjg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-akw85jbw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-amtt1tbm.mjs +39 -0
- package/dist/chunks/cli-0.6.5-awhfeefv.mjs +5 -0
- package/dist/chunks/cli-0.6.5-azwzatpd.mjs +20 -0
- package/dist/chunks/cli-0.6.5-b7x38zg8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-bm7v9qp0.mjs +2 -0
- package/dist/chunks/cli-0.6.5-brk2sfdw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-bzz83kdv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-c0nyamvd.mjs +17 -0
- package/dist/chunks/cli-0.6.5-c4v4vgw4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-c7yx03g7.mjs +16 -0
- package/dist/chunks/cli-0.6.5-ce51qb6k.mjs +4 -0
- package/dist/chunks/cli-0.6.5-ckc9hr8m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-cwaewkgb.mjs +2 -0
- package/dist/chunks/cli-0.6.5-czc9nvxh.mjs +133 -0
- package/dist/chunks/cli-0.6.5-d7nvtk63.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dcr7rpqe.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dm2rwpsb.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dy5v4gms.mjs +3 -0
- package/dist/chunks/cli-0.6.5-e47bwdgy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e5pzxdbx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e7k35s7j.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e9t7harq.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ef17hb7w.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ef6b5qvc.mjs +193 -0
- package/dist/chunks/cli-0.6.5-efh1xzne.mjs +24 -0
- package/dist/chunks/cli-0.6.5-efsxkpxr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ej3jf59h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-env00jtm.mjs +1 -0
- package/dist/chunks/cli-0.6.5-eq4cscgw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-eqk6q7pf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ev41fmky.mjs +2 -0
- package/dist/chunks/cli-0.6.5-f34ttkbg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-f4x1fb90.mjs +4 -0
- package/dist/chunks/cli-0.6.5-f71ncwzk.mjs +59 -0
- package/dist/chunks/cli-0.6.5-fg2a16s4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g43wnabd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g7d8vsb2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g8qt9gm7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-gjzdpmdx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-gk89f6jk.mjs +4 -0
- package/dist/chunks/cli-0.6.5-gw6ygdnq.mjs +3 -0
- package/dist/chunks/cli-0.6.5-h08jc3cj.mjs +18 -0
- package/dist/chunks/cli-0.6.5-h0xnjwg1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-h3cch37f.mjs +2 -0
- package/dist/chunks/cli-0.6.5-h5x9r5ap.mjs +50 -0
- package/dist/chunks/cli-0.6.5-j45setk1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-j5v5jpq8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-je97ssab.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jqbkgjhs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jrnx4znh.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jygg6ynx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k15yzap9.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k74repdw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k8vb0qqx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k8vgyecf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kac7d6qe.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kd1sw5qm.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ke48d24y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-khsn0wkk.mjs +21 -0
- package/dist/chunks/cli-0.6.5-kjntnfas.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kqhpzqdw.mjs +67 -0
- package/dist/chunks/cli-0.6.5-kr0q8v74.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kxwg80ye.mjs +42 -0
- package/dist/chunks/cli-0.6.5-kyp268ew.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kzr5p1mv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kztnt6aq.mjs +2 -0
- package/dist/chunks/cli-0.6.5-m2619f84.mjs +2 -0
- package/dist/chunks/cli-0.6.5-mgv2cvps.mjs +45 -0
- package/dist/chunks/cli-0.6.5-mpdvzrnw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-mtx91sgr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-n4hnag3x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-n64fe6ey.mjs +2 -0
- package/dist/chunks/cli-0.6.5-nd6kqcck.mjs +2 -0
- package/dist/chunks/cli-0.6.5-nngqh0bh.mjs +2 -0
- package/dist/chunks/cli-0.6.5-p6n42hmh.mjs +4 -0
- package/dist/chunks/cli-0.6.5-pa3ap7rs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pbahk0n4.mjs +12 -0
- package/dist/chunks/cli-0.6.5-pbyhms5s.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pev4540w.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pgs0eeqg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pky7r4pf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pv1b8wyy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pw1077hd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pynms6t8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pz5add8h.mjs +4 -0
- package/dist/chunks/cli-0.6.5-q027r0rf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q1qpax7b.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q2z0n0me.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q4gh8d4w.mjs +6 -0
- package/dist/chunks/cli-0.6.5-q67zwknt.mjs +4 -0
- package/dist/chunks/cli-0.6.5-qhq9tmd4.mjs +24 -0
- package/dist/chunks/cli-0.6.5-qx67z0cv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-r06ahe39.mjs +3 -0
- package/dist/chunks/cli-0.6.5-r2khv6re.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ras9cma3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-rkjw25m5.mjs +2 -0
- package/dist/chunks/cli-0.6.5-rrteyxna.mjs +5 -0
- package/dist/chunks/cli-0.6.5-rsve86mh.mjs +12 -0
- package/dist/chunks/cli-0.6.5-rvnz8f4b.mjs +3 -0
- package/dist/chunks/cli-0.6.5-ry2zfh45.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s1ahtmc1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s42kf4d5.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s580r0vs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-sph3w6xt.mjs +2 -0
- package/dist/chunks/cli-0.6.5-svr5tx29.mjs +2 -0
- package/dist/chunks/cli-0.6.5-sz8mbg6v.mjs +2 -0
- package/dist/chunks/cli-0.6.5-t0x65qv4.mjs +26 -0
- package/dist/chunks/cli-0.6.5-t4tz7xht.mjs +18 -0
- package/dist/chunks/cli-0.6.5-th48yhz2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-thfwpyjp.mjs +2 -0
- package/dist/chunks/cli-0.6.5-tj3hcx9x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-tqwbfn5c.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ts0kvt5k.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vbw9z7ya.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vj647gqr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vjydf7v2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vn8pa80z.mjs +3 -0
- package/dist/chunks/cli-0.6.5-vpebat6v.mjs +4 -0
- package/dist/chunks/cli-0.6.5-vqb4jtcr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vsmwyh7p.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vywqm5j0.mjs +2 -0
- package/dist/chunks/cli-0.6.5-w2qf3sbz.mjs +2 -0
- package/dist/chunks/cli-0.6.5-wa6b2ksg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-wgdp3ytt.mjs +15 -0
- package/dist/chunks/cli-0.6.5-xbz59an6.mjs +2 -0
- package/dist/chunks/cli-0.6.5-xngsek99.mjs +3 -0
- package/dist/chunks/cli-0.6.5-xwvfjaga.mjs +2 -0
- package/dist/chunks/cli-0.6.5-xxnhfq1f.mjs +3 -0
- package/dist/chunks/cli-0.6.5-xxtrec34.mjs +2 -0
- package/dist/chunks/cli-0.6.5-y4kbaj8m.mjs +3 -0
- package/dist/chunks/cli-0.6.5-ybxktrwn.mjs +4 -0
- package/dist/chunks/cli-0.6.5-ynxewk0a.mjs +18 -0
- package/dist/chunks/cli-0.6.5-yv4805v6.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ywh9eaz9.mjs +3 -0
- package/dist/chunks/cli-0.6.5-yy3mtt7p.mjs +4 -0
- package/dist/chunks/cli-0.6.5-z5qqy4bb.mjs +10 -0
- package/dist/chunks/cli-0.6.5-z64827fd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-zxppzj42.mjs +3 -0
- package/dist/chunks/client-0.6.5-kcsx56gb.mjs +1 -0
- package/dist/chunks/color-0.6.5-m4adc5zy.mjs +1 -0
- package/dist/chunks/compact-0.6.5-pp3jftxy.mjs +3 -0
- package/dist/chunks/config-0.6.5-4t1bbgpf.mjs +1 -0
- package/dist/chunks/config-0.6.5-8j3ajra5.mjs +1 -0
- package/dist/chunks/constants-0.6.5-z1rfnbw0.mjs +1 -0
- package/dist/chunks/context-0.6.5-k4dkxskt.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.5-t2s33qfv.mjs +1 -0
- package/dist/chunks/conversation-0.6.5-wtjv42fh.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.5-t5d64yyd.mjs +1 -0
- package/dist/chunks/copy-0.6.5-r2cah677.mjs +9 -0
- package/dist/chunks/cost-0.6.5-8bs4d6y0.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.5-7p69k83d.mjs +1 -0
- package/dist/chunks/createSession-0.6.5-fwtmdngf.mjs +1 -0
- package/dist/chunks/debug-0.6.5-xmxftwgk.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.5-z6w9jmje.mjs +1367 -0
- package/dist/chunks/desktop-0.6.5-fargeve3.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.5-ymk4cd49.mjs +1 -0
- package/dist/chunks/detection-0.6.5-9v4p8jdz.mjs +1 -0
- package/dist/chunks/diff-0.6.5-8ja76cbj.mjs +1 -0
- package/dist/chunks/doctor-0.6.5-j9ztya6c.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.5-4rk9v7gn.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.5-jnt6pqdj.mjs +1 -0
- package/dist/chunks/effort-0.6.5-wn6gayah.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.5-eptez4tg.mjs +1 -0
- package/dist/chunks/envUtils-0.6.5-62qkktte.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.5-zdqp06ex.mjs +1 -0
- package/dist/chunks/environments-0.6.5-4cxm9f2v.mjs +1 -0
- package/dist/chunks/errors-0.6.5-zrzdygzb.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.5-c4p6gs14.mjs +1 -0
- package/dist/chunks/exit-0.6.5-491d2dm3.mjs +1 -0
- package/dist/chunks/export-0.6.5-ydgbaqvw.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.5-qc1chr9f.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.5-g2ratb24.mjs +1 -0
- package/dist/chunks/fast-0.6.5-19egbvsn.mjs +1 -0
- package/dist/chunks/feedback-0.6.5-r15hzy5x.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.5-h0wam92d.mjs +1 -0
- package/dist/chunks/git-0.6.5-kd4a5hgs.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.5-ahxqf63c.mjs +1 -0
- package/dist/chunks/goal-0.6.5-kyahd6wn.mjs +4 -0
- package/dist/chunks/grove-0.6.5-qjgh7ss3.mjs +1 -0
- package/dist/chunks/growthbook-0.6.5-ax1nfvk4.mjs +1 -0
- package/dist/chunks/headless-0.6.5-4pg9fsvq.mjs +2 -0
- package/dist/chunks/heapdump-0.6.5-9k0vppqs.mjs +6 -0
- package/dist/chunks/help-0.6.5-tfhm2beq.mjs +1 -0
- package/dist/chunks/hookChains-0.6.5-6szjehhz.mjs +3 -0
- package/dist/chunks/hooks-0.6.5-dgpkkjn0.mjs +79 -0
- package/dist/chunks/hooks-0.6.5-w5dctm3q.mjs +1 -0
- package/dist/chunks/ide-0.6.5-13et7be7.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.5-hnw96fqh.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.5-qc951hng.mjs +1 -0
- package/dist/chunks/index-0.6.5-01x1ejhn.mjs +1 -0
- package/dist/chunks/index-0.6.5-0abf9jmk.mjs +1 -0
- package/dist/chunks/index-0.6.5-1mp331dd.mjs +1 -0
- package/dist/chunks/index-0.6.5-1sg6s6z6.mjs +1 -0
- package/dist/chunks/index-0.6.5-4q6jjbs7.mjs +1 -0
- package/dist/chunks/index-0.6.5-6sk15ws5.mjs +2 -0
- package/dist/chunks/index-0.6.5-6t864t2c.mjs +1 -0
- package/dist/chunks/index-0.6.5-6xqpvv54.mjs +30 -0
- package/dist/chunks/index-0.6.5-7zhnqzn2.mjs +1 -0
- package/dist/chunks/index-0.6.5-89hxhv95.mjs +1 -0
- package/dist/chunks/index-0.6.5-aty810n8.mjs +1 -0
- package/dist/chunks/index-0.6.5-c2hwywv3.mjs +1 -0
- package/dist/chunks/index-0.6.5-e2wq7gh6.mjs +2 -0
- package/dist/chunks/index-0.6.5-g0kwgaqr.mjs +17 -0
- package/dist/chunks/index-0.6.5-gtcspa71.mjs +1 -0
- package/dist/chunks/index-0.6.5-h3efeppv.mjs +1 -0
- package/dist/chunks/index-0.6.5-m5ejvtqa.mjs +1 -0
- package/dist/chunks/index-0.6.5-mh7r1b3g.mjs +1 -0
- package/dist/chunks/index-0.6.5-pvve2ng4.mjs +5 -0
- package/dist/chunks/index-0.6.5-snpzxxv3.mjs +9 -0
- package/dist/chunks/index-0.6.5-tfw7v414.mjs +9 -0
- package/dist/chunks/index-0.6.5-wjkwk8e7.mjs +1 -0
- package/dist/chunks/index-0.6.5-z62wqvcx.mjs +1 -0
- package/dist/chunks/init-0.6.5-zhc6fyd5.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.5-7r1y5662.mjs +1 -0
- package/dist/chunks/ink-0.6.5-tndp68zg.mjs +1 -0
- package/dist/chunks/insights-0.6.5-vqzkktqr.mjs +870 -0
- package/dist/chunks/install-0.6.5-5gr23h3m.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.5-tng076rr.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.5-gsz9yrym.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.5-nqsng4g6.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.5-k1pvqxme.mjs +1 -0
- package/dist/chunks/keybindings-0.6.5-xerpw7ac.mjs +2 -0
- package/dist/chunks/knowledge-0.6.5-3cqswtp3.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.5-mvrgq9dd.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.5-h16ggtfs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.5-35e6kcw6.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.5-qm874zd2.mjs +1 -0
- package/dist/chunks/log-0.6.5-xge4vs13.mjs +1 -0
- package/dist/chunks/main-0.6.5-4pf8xcyc.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.5-qbgyznrt.mjs +1 -0
- package/dist/chunks/mcp-0.6.5-293k7n7h.mjs +4 -0
- package/dist/chunks/mcp-0.6.5-45d2qxwd.mjs +17 -0
- package/dist/chunks/mcp-0.6.5-b5jvd286.mjs +1 -0
- package/dist/chunks/mcpb-0.6.5-e68tqw35.mjs +1 -0
- package/dist/chunks/memory-0.6.5-9htftc81.mjs +3 -0
- package/dist/chunks/model-0.6.5-rpyjsh6m.mjs +1 -0
- package/dist/chunks/model-0.6.5-zsk9vwg7.mjs +2 -0
- package/dist/chunks/node-0.6.5-j42ec4dm.mjs +12 -0
- package/dist/chunks/oauth-0.6.5-d8r75abq.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.5-deev7qr4.mjs +14 -0
- package/dist/chunks/output-style-0.6.5-t4my27zb.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.5-a34phgmb.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.5-3rw1krw2.mjs +1 -0
- package/dist/chunks/parser-0.6.5-hnbj9e8f.mjs +1 -0
- package/dist/chunks/passes-0.6.5-9x43pms7.mjs +1 -0
- package/dist/chunks/permissions-0.6.5-aymv501j.mjs +1 -0
- package/dist/chunks/permissions-0.6.5-y4jnw514.mjs +3 -0
- package/dist/chunks/plan-0.6.5-kct7xqkt.mjs +1 -0
- package/dist/chunks/plist-0.6.5-gp660say.mjs +1 -0
- package/dist/chunks/plugin-0.6.5-5vnph48t.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.5-y74n8rfx.mjs +1 -0
- package/dist/chunks/plugins-0.6.5-y0xna858.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.5-gd8pge33.mjs +2 -0
- package/dist/chunks/print-0.6.5-zr884wv0.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.5-gm8tkeqk.mjs +1 -0
- package/dist/chunks/process-0.6.5-ha5587zb.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.5-qpanbrjt.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.5-0zzej132.mjs +9 -0
- package/dist/chunks/prompt-0.6.5-n2e16857.mjs +1 -0
- package/dist/chunks/prompt-0.6.5-yd9wwvye.mjs +1 -0
- package/dist/chunks/prompts-0.6.5-4h181zjj.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.5-btkqsev6.mjs +13 -0
- package/dist/chunks/provider-0.6.5-pk6rtf1a.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.5-spn4hk2w.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.5-j9fqm33r.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.5-n0s4jxw7.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.5-s6pemg0a.mjs +34 -0
- package/dist/chunks/registry-0.6.5-q9cda2p7.mjs +1 -0
- package/dist/chunks/release-notes-0.6.5-5s8sv8ea.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.5-bqh5fz13.mjs +2 -0
- package/dist/chunks/remote-env-0.6.5-29f08tqs.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.5-gk9afz22.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.5-w7r3dh6h.mjs +1 -0
- package/dist/chunks/rename-0.6.5-es4wyt7z.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.5-66va2rkv.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.5-xzbbew8q.mjs +1 -0
- package/dist/chunks/resume-0.6.5-q2e001ra.mjs +2 -0
- package/dist/chunks/rewind-0.6.5-hhxvb1pk.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.5-smyb5d6s.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.5-6zvjjrgg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.5-ch59ryyz.mjs +1 -0
- package/dist/chunks/session-0.6.5-22r80wyd.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.5-aae5t467.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.5-a6xg367a.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.5-dqg82tdb.mjs +1 -0
- package/dist/chunks/settings-0.6.5-egjxpxrx.mjs +1 -0
- package/dist/chunks/setup-0.6.5-ks0cjhc0.mjs +5 -0
- package/dist/chunks/sinks-0.6.5-vnqdp1xs.mjs +1 -0
- package/dist/chunks/skills-0.6.5-fhq4v7kx.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.5-qg0j96r8.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.5-kgegmr3s.mjs +1 -0
- package/dist/chunks/state-0.6.5-s7hqk377.mjs +1 -0
- package/dist/chunks/stats-0.6.5-1c35kfn8.mjs +6 -0
- package/dist/chunks/status-0.6.5-wxfn3y7k.mjs +1 -0
- package/dist/chunks/stickers-0.6.5-vr2yr1fh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.5-p4nz5egm.mjs +1 -0
- package/dist/chunks/tasks-0.6.5-jq5x8fny.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.5-s5tew7t1.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.5-0yh7b47q.mjs +1 -0
- package/dist/chunks/teleport-0.6.5-hmv7mh01.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.5-k9d4e82r.mjs +1 -0
- package/dist/chunks/theme-0.6.5-24hr0s0e.mjs +1 -0
- package/dist/chunks/thinkback-0.6.5-6997cmgj.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.5-5bm6dv3e.mjs +1 -0
- package/dist/chunks/toolPool-0.6.5-599y15ba.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.5-acm72rsk.mjs +1 -0
- package/dist/chunks/tools-0.6.5-kydccz7r.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.5-44vjv9at.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.5-s2n7faa4.mjs +69 -0
- package/dist/chunks/types-0.6.5-h60ghfcx.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.5-vhpd8cxc.mjs +4 -0
- package/dist/chunks/update-0.6.5-j61jnpbt.mjs +86 -0
- package/dist/chunks/upgrade-0.6.5-yg323wxz.mjs +1 -0
- package/dist/chunks/upload-0.6.5-5tsm3bt7.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.5-0ayrwt4t.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.5-6sb73p95.mjs +1 -0
- package/dist/chunks/usage-0.6.5-0tjr5c54.mjs +1 -0
- package/dist/chunks/util-0.6.5-xcfvn255.mjs +1 -0
- package/dist/chunks/utils-0.6.5-gjqewwe3.mjs +1 -0
- package/dist/chunks/vim-0.6.5-hmp35ayy.mjs +1 -0
- package/dist/chunks/watcher-0.6.5-jra6eh4m.mjs +1 -0
- package/dist/chunks/wiki-0.6.5-0k1cftcn.mjs +132 -0
- package/dist/chunks/worktree-0.6.5-a5vvycs0.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.5-rva8222w.mjs +1 -0
- package/dist/chunks/wrapper-0.6.5-0bxnwc77.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +0 -1
- package/dist/chunks/App-0.6.3-bf23q7fe.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +0 -3
- package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +0 -1
- package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +0 -1
- package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +0 -1
- package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +0 -1
- package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +0 -3
- package/dist/chunks/agents-0.6.3-x369fczx.mjs +0 -110
- package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +0 -1
- package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +0 -1
- package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +0 -1
- package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +0 -1
- package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +0 -1
- package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +0 -1
- package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +0 -1
- package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +0 -1
- package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +0 -3
- package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +0 -4
- package/dist/chunks/caches-0.6.3-ab262f7m.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +0 -1
- package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +0 -1
- package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +0 -1
- package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0xzsm005.mjs +0 -2
- package/dist/chunks/cli-0.6.3-1h3a97cb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-20mtfrec.mjs +0 -2
- package/dist/chunks/cli-0.6.3-29t031py.mjs +0 -2
- package/dist/chunks/cli-0.6.3-2seqm104.mjs +0 -4
- package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-307m09be.mjs +0 -3
- package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +0 -58
- package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +0 -2
- package/dist/chunks/cli-0.6.3-3sga01kt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4jyjt985.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4k4zf43b.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4n393st8.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +0 -12
- package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4z9781g7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +0 -18
- package/dist/chunks/cli-0.6.3-5nfphar2.mjs +0 -3
- package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +0 -4
- package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6a21y020.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +0 -6
- package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +0 -4
- package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +0 -4
- package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +0 -3
- package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +0 -17
- package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6njpepxe.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +0 -34
- package/dist/chunks/cli-0.6.3-7g460zkw.mjs +0 -2
- package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +0 -3
- package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +0 -4
- package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-92mddczk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-94pqfzn3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-97118c51.mjs +0 -2
- package/dist/chunks/cli-0.6.3-99kq55gd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +0 -2
- package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +0 -45
- package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aazxr34f.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +0 -3
- package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +0 -3
- package/dist/chunks/cli-0.6.3-aw337kkj.mjs +0 -3
- package/dist/chunks/cli-0.6.3-b773k4ts.mjs +0 -2
- package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +0 -2
- package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-be9988sa.mjs +0 -67
- package/dist/chunks/cli-0.6.3-bm4fb040.mjs +0 -2
- package/dist/chunks/cli-0.6.3-bv459f1w.mjs +0 -50
- package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ce093xrt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +0 -9
- package/dist/chunks/cli-0.6.3-cn73stdt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +0 -25
- package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +0 -193
- package/dist/chunks/cli-0.6.3-dcddpada.mjs +0 -2
- package/dist/chunks/cli-0.6.3-djx10r48.mjs +0 -2
- package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +0 -42
- package/dist/chunks/cli-0.6.3-dvsz6151.mjs +0 -26
- package/dist/chunks/cli-0.6.3-dx1n041e.mjs +0 -4
- package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ecnnpsad.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-efydy6w2.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +0 -10
- package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +0 -5
- package/dist/chunks/cli-0.6.3-eytmae68.mjs +0 -2
- package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +0 -2
- package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fdye25f4.mjs +0 -21
- package/dist/chunks/cli-0.6.3-fhets69t.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fws87r5f.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fz79skca.mjs +0 -133
- package/dist/chunks/cli-0.6.3-g48fakzt.mjs +0 -4
- package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +0 -18
- package/dist/chunks/cli-0.6.3-g4y759q5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +0 -2
- package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gcncppqh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-grerfrmn.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gywe2011.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +0 -15
- package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +0 -3
- package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +0 -2
- package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +0 -3
- package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-jc158pav.mjs +0 -3
- package/dist/chunks/cli-0.6.3-jh5sabys.mjs +0 -2
- package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-k2n0q631.mjs +0 -39
- package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +0 -3
- package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +0 -5323
- package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +0 -18
- package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +0 -7
- package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +0 -2
- package/dist/chunks/cli-0.6.3-mwvq805r.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n95caxs7.mjs +0 -6
- package/dist/chunks/cli-0.6.3-nawttnnp.mjs +0 -16
- package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +0 -4
- package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +0 -15
- package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +0 -2
- package/dist/chunks/cli-0.6.3-przsjt5w.mjs +0 -2
- package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +0 -2
- package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +0 -15
- package/dist/chunks/cli-0.6.3-qse47680.mjs +0 -5
- package/dist/chunks/cli-0.6.3-qt063vx3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r08n6yst.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r8snnnev.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +0 -2
- package/dist/chunks/cli-0.6.3-razq4hma.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +0 -24
- package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +0 -9
- package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rm69szc5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +0 -4
- package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +0 -133
- package/dist/chunks/cli-0.6.3-rzva33s6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-s12drscf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +0 -2
- package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +0 -59
- package/dist/chunks/cli-0.6.3-te71cc6c.mjs +0 -8
- package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +0 -6
- package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +0 -12
- package/dist/chunks/cli-0.6.3-v522ej7z.mjs +0 -3
- package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ve8f981m.mjs +0 -3
- package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +0 -17
- package/dist/chunks/cli-0.6.3-w038em13.mjs +0 -2
- package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +0 -24
- package/dist/chunks/cli-0.6.3-whtn6spz.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wvdzc276.mjs +0 -1
- package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +0 -20
- package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +0 -2
- package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +0 -5
- package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +0 -2
- package/dist/chunks/cli-0.6.3-xewp168m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y30hptm0.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y61armem.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +0 -2
- package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ysazbe18.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z19b5v43.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +0 -4
- package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +0 -12
- package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +0 -2
- package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +0 -1
- package/dist/chunks/color-0.6.3-2hpfj774.mjs +0 -1
- package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +0 -3
- package/dist/chunks/config-0.6.3-tjhtvb07.mjs +0 -1
- package/dist/chunks/config-0.6.3-z2wgyz10.mjs +0 -1
- package/dist/chunks/constants-0.6.3-qha9fz15.mjs +0 -1
- package/dist/chunks/context-0.6.3-vka61j1y.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +0 -1
- package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +0 -1
- package/dist/chunks/copy-0.6.3-gekdww8z.mjs +0 -9
- package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +0 -1
- package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +0 -1
- package/dist/chunks/debug-0.6.3-66czfwwr.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +0 -1365
- package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +0 -1
- package/dist/chunks/detection-0.6.3-1y7661gd.mjs +0 -1
- package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +0 -1
- package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +0 -1
- package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +0 -10
- package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +0 -1
- package/dist/chunks/environments-0.6.3-2tyy264w.mjs +0 -1
- package/dist/chunks/errors-0.6.3-65brz247.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +0 -1
- package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +0 -1
- package/dist/chunks/export-0.6.3-e2mjekav.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +0 -1
- package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +0 -1
- package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +0 -1
- package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +0 -1
- package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +0 -4
- package/dist/chunks/grove-0.6.3-mmn276sp.mjs +0 -1
- package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +0 -1
- package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +0 -2
- package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +0 -6
- package/dist/chunks/help-0.6.3-wf4xf793.mjs +0 -1
- package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +0 -3
- package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +0 -79
- package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +0 -1
- package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +0 -1
- package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +0 -9
- package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +0 -5
- package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +0 -2
- package/dist/chunks/index-0.6.3-2bzz31fe.mjs +0 -1
- package/dist/chunks/index-0.6.3-55v75g6w.mjs +0 -1
- package/dist/chunks/index-0.6.3-6rpbscw7.mjs +0 -17
- package/dist/chunks/index-0.6.3-7mch7z3a.mjs +0 -1
- package/dist/chunks/index-0.6.3-858y11er.mjs +0 -1
- package/dist/chunks/index-0.6.3-a40sh9ap.mjs +0 -1
- package/dist/chunks/index-0.6.3-aj0c98mr.mjs +0 -1
- package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +0 -1
- package/dist/chunks/index-0.6.3-f5732qxw.mjs +0 -1
- package/dist/chunks/index-0.6.3-f5w18za6.mjs +0 -1
- package/dist/chunks/index-0.6.3-f6h116cn.mjs +0 -2
- package/dist/chunks/index-0.6.3-htq5dpvs.mjs +0 -30
- package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +0 -1
- package/dist/chunks/index-0.6.3-kadhv0zg.mjs +0 -9
- package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +0 -1
- package/dist/chunks/index-0.6.3-w2hywyvr.mjs +0 -1
- package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +0 -1
- package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +0 -1
- package/dist/chunks/index-0.6.3-yvah3e6g.mjs +0 -1
- package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +0 -1
- package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +0 -1
- package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +0 -870
- package/dist/chunks/install-0.6.3-y9zek66z.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +0 -1
- package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +0 -2
- package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +0 -1
- package/dist/chunks/log-0.6.3-g789gq0t.mjs +0 -1
- package/dist/chunks/main-0.6.3-50ac806r.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +0 -1
- package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +0 -4
- package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +0 -17
- package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +0 -1
- package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +0 -1
- package/dist/chunks/memory-0.6.3-03636fpt.mjs +0 -3
- package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +0 -2
- package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +0 -1
- package/dist/chunks/model-0.6.3-yzwee2pm.mjs +0 -2
- package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +0 -12
- package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +0 -14
- package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +0 -1
- package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +0 -1
- package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +0 -1
- package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +0 -3
- package/dist/chunks/plan-0.6.3-2fftma7h.mjs +0 -1
- package/dist/chunks/plist-0.6.3-h310zzhq.mjs +0 -1
- package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +0 -1
- package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +0 -2
- package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +0 -1
- package/dist/chunks/process-0.6.3-xfesfn5r.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +0 -9
- package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +0 -1
- package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +0 -1
- package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +0 -13
- package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +0 -34
- package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +0 -1
- package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +0 -2
- package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +0 -1
- package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +0 -1
- package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +0 -2
- package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +0 -1
- package/dist/chunks/session-0.6.3-697bvb39.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +0 -1
- package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +0 -1
- package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +0 -5
- package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +0 -1
- package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +0 -1
- package/dist/chunks/state-0.6.3-e3zvped3.mjs +0 -1
- package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +0 -6
- package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +0 -1
- package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +0 -1
- package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +0 -1
- package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +0 -1
- package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +0 -1
- package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +0 -1
- package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +0 -1
- package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +0 -4
- package/dist/chunks/update-0.6.3-6tah7v14.mjs +0 -86
- package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +0 -1
- package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +0 -1
- package/dist/chunks/util-0.6.3-e72k34ck.mjs +0 -1
- package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +0 -1
- package/dist/chunks/vim-0.6.3-r0f9g732.mjs +0 -1
- package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +0 -1
- package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +0 -132
- package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +0 -1
- package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +0 -7
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{kpa as Z}from"./cli-0.6.5-4k3kk3pr.mjs";import{npa as Y,qpa as O}from"./cli-0.6.5-bm7v9qp0.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
+
export{ye as dpa};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{fV as T,qV as c}from"./cli-0.6.5-th48yhz2.mjs";import{$Z as w,c0 as n}from"./cli-0.6.5-n4hnag3x.mjs";import{P8 as y,Q8 as g,R7 as M,T7 as X,U7 as f}from"./cli-0.6.5-ef6b5qvc.mjs";import{Tga as K,Uga as v,Yga as m,oha as Z,rga as R,rha as h,tga as F}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as Y,Nha as W,Pha as D}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as E,dia as S}from"./cli-0.6.5-s580r0vs.mjs";import{Gna as j,Jja as k,Nja as A,Pja as N}from"./cli-0.6.5-ckc9hr8m.mjs";import{ppa as H}from"./cli-0.6.5-bm7v9qp0.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
|
|
2
|
+
$pid = ${String(q)}
|
|
3
|
+
$ancestors = @()
|
|
4
|
+
for ($i = 0; $i -lt ${J}; $i++) {
|
|
5
|
+
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
|
|
6
|
+
if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
7
|
+
$pid = $proc.ParentProcessId
|
|
8
|
+
$ancestors += $pid
|
|
9
|
+
}
|
|
10
|
+
$ancestors -join ','
|
|
11
|
+
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
|
|
12
|
+
`).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
|
|
13
|
+
$currentPid = ${String(q)}
|
|
14
|
+
$commands = @()
|
|
15
|
+
for ($i = 0; $i -lt ${J}; $i++) {
|
|
16
|
+
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
|
|
17
|
+
if (-not $proc) { break }
|
|
18
|
+
if ($proc.CommandLine) { $commands += $proc.CommandLine }
|
|
19
|
+
if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
20
|
+
$currentPid = $proc.ParentProcessId
|
|
21
|
+
}
|
|
22
|
+
$commands -join [char]0
|
|
23
|
+
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
|
|
24
|
+
export{O as MU,i as NU,e as OU,qq as PU,_ as QU,Uq as RU,Bq as SU,C as TU,Mq as UU,I as VU,Aq as WU,d as XU,r as YU,t as ZU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{oga as f}from"./cli-0.6.5-6qvtcs5y.mjs";import{rha as h}from"./cli-0.6.5-q4gh8d4w.mjs";import{ppa as Z}from"./cli-0.6.5-bm7v9qp0.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
|
|
2
|
+
export{K as N0,w as O0,kz as P0,oz as Q0,pz as R0,dz as S0,nz as T0,L as U0};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{F0 as d,G0 as X,K0 as N}from"./cli-0.6.5-wa6b2ksg.mjs";import{Fda as B,Lba as U,Nda as y,Oba as G,hca as p,iba as O,jba as f}from"./cli-0.6.5-ef6b5qvc.mjs";import{Hha as x,Pha as b}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as H,dia as E}from"./cli-0.6.5-s580r0vs.mjs";import{Gna as P,wla as w}from"./cli-0.6.5-ckc9hr8m.mjs";import{Aoa as k,Soa as S}from"./cli-0.6.5-ynxewk0a.mjs";import{lpa as M,ppa as R}from"./cli-0.6.5-bm7v9qp0.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
+
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();p();E();b();y();f();N();T=M(d(),1)});
|
|
3
|
+
export{zq as Ff,Jq as Gf,C as Hf,h as If,Kq as Jf,Qq as Kf,g as Lf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Oba as P,hca as y}from"./cli-0.6.5-ef6b5qvc.mjs";import{ppa as U}from"./cli-0.6.5-bm7v9qp0.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
+
export{G as uV,M as vV,N as wV,Y as xV,C as yV,_ as zV,R as AV,f as BV,E as CV,I as DV,k as EV,A as FV,b as GV,h as HV,m as IV,p as JV,u as KV,T as LV,e as MV,W as NV,a as OV,s as PV,r as QV,g as RV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{IT as k,JT as f,ZT as u}from"./cli-0.6.5-vj647gqr.mjs";import{eV as C,qV as d}from"./cli-0.6.5-th48yhz2.mjs";import{I1 as A,K1 as F}from"./cli-0.6.5-95a4872h.mjs";import{e2 as q,j2 as i}from"./cli-0.6.5-c7yx03g7.mjs";import{Z5 as W,a6 as _,h6 as j,i6 as w,n6 as I}from"./cli-0.6.5-1fqhk4mv.mjs";import{Fda as V,Nda as U}from"./cli-0.6.5-ef6b5qvc.mjs";import{jga as M,kga as v}from"./cli-0.6.5-kzr5p1mv.mjs";import{Tga as X,Uga as R,Yga as p,oha as J,rha as x}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as P,Pha as T}from"./cli-0.6.5-ce51qb6k.mjs";import{qpa as O}from"./cli-0.6.5-bm7v9qp0.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-0.6.5-0bxnwc77.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[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(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"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 l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
+
export{b as ua,$z as va,Xz as wa,Wz as xa,Lz as ya};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gna as H,Pja as z,Tja as B}from"./cli-0.6.5-ckc9hr8m.mjs";import{ppa as x}from"./cli-0.6.5-bm7v9qp0.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
+
export{Q as vfa,J as wfa,R as xfa,K as yfa,U as zfa,V as Afa,W as Bfa,X as Cfa,Y as Dfa,Z as Efa,$ as Ffa,j as Gfa,q as Hfa,A as Ifa,G as Jfa,L as Kfa,_ as Lfa,b as Mfa,k as Nfa,p as Ofa,v as Pfa,C as Qfa,O as Rfa,y as Sfa,S as Tfa,f as Ufa,m as Vfa,u as Wfa,h as Xfa,l as Yfa,w as Zfa,g as _fa,d as $fa,M as aga};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{fb as U}from"./cli-0.6.5-983fq4aj.mjs";import{fs as N,gs as b}from"./cli-0.6.5-5t6d3asz.mjs";import{_T as F,bU as d,cU as _,dU as M,iU as I}from"./cli-0.6.5-pw1077hd.mjs";import{Z5 as B,a6 as T,h6 as x,i6 as H,n6 as v}from"./cli-0.6.5-1fqhk4mv.mjs";import{O7 as Z,Q7 as P}from"./cli-0.6.5-ef6b5qvc.mjs";import{lga as O,oga as D}from"./cli-0.6.5-6qvtcs5y.mjs";import{Tga as z,Yga as S,oha as Y,rha as A}from"./cli-0.6.5-q4gh8d4w.mjs";import{Vha as L,dia as f}from"./cli-0.6.5-s580r0vs.mjs";import{Aoa as y,Soa as i}from"./cli-0.6.5-ynxewk0a.mjs";import{qpa as k}from"./cli-0.6.5-bm7v9qp0.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
|
|
2
|
+
`,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.6.5-0bxnwc77.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
|
|
3
|
+
`;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
|
|
4
|
+
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
|
+
export{W as Ua,n as Va};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{$m as Uq,ID as x,JD as s,KD as C,MD as n,ND as $,PD as Zq,QE as o,SE as Mq,_m as E,cn as r,dn as Xq,gn as d,hn as Yq}from"./cli-0.6.5-5t6d3asz.mjs";import{BY as N,DY as U,HY as V,XY as a,gX as Jq,gZ as Qq}from"./cli-0.6.5-f71ncwzk.mjs";import{l1 as u,m1 as J,n1 as X,o1 as g}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as zq}from"./cli-0.6.5-vqb4jtcr.mjs";import{lga as w,oga as qq}from"./cli-0.6.5-6qvtcs5y.mjs";import{lpa as i,ppa as t}from"./cli-0.6.5-bm7v9qp0.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 de,_q as ee,Aq as fe};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{AY as s,BY as F,DY as V,gX as t,gZ as o,pX as p,zY as j}from"./cli-0.6.5-f71ncwzk.mjs";import{m1 as w,n1 as g,o1 as y}from"./cli-0.6.5-8hsxq1p3.mjs";import{B7 as $,C7 as a,I7 as _,J7 as n}from"./cli-0.6.5-ef6b5qvc.mjs";import{lpa as i,ppa as v}from"./cli-0.6.5-bm7v9qp0.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
|
+
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
|
+
export{Hq as Of,Mq as Pf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ppa as P}from"./cli-0.6.5-bm7v9qp0.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
+
export{k as EU,w as FU,H as GU,g as HU,V as IU,W as JU,L as KU,Y as LU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{w1 as N,x1 as V,y1 as D}from"./cli-0.6.5-k74repdw.mjs";import{A5 as B,V5 as x,W4 as Z,e2 as Y,j2 as _,v5 as J,x5 as $}from"./cli-0.6.5-c7yx03g7.mjs";import{ega as Q,kga as P}from"./cli-0.6.5-kzr5p1mv.mjs";import{Aoa as X,Soa as R}from"./cli-0.6.5-ynxewk0a.mjs";import{ppa as W}from"./cli-0.6.5-bm7v9qp0.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`Claudin-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 q1,I as r1,w as s1,C as t1,O as u1,H as v1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{doa as M,eoa as Y}from"./cli-0.6.5-6ab8b50h.mjs";import{ppa as W}from"./cli-0.6.5-bm7v9qp0.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
+
export{$ as Qha,N as Rha,X as Sha,_ as Tha,j as Uha,U as Vha,I as Wha,S as Xha,T as Yha,c as Zha,L as _ha,w as $ha,z as aia,O as bia,x as cia,k as dia};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{fi as R,hi as y,ii as v}from"./cli-0.6.5-thfwpyjp.mjs";import{DY as K,gX as c,gZ as E}from"./cli-0.6.5-f71ncwzk.mjs";import{l1 as O,m1 as N,n1 as M,o1 as U}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as G}from"./cli-0.6.5-vqb4jtcr.mjs";import{Oba as L,hca as b}from"./cli-0.6.5-ef6b5qvc.mjs";import{Yda as Z,iea as W}from"./cli-0.6.5-pz5add8h.mjs";import{oga as p}from"./cli-0.6.5-6qvtcs5y.mjs";import{lpa as F,ppa as j}from"./cli-0.6.5-bm7v9qp0.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
+
export{f as sg,r as tg,n as ug,l as vg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{BY as Y,DY as u,gX as u2,gZ as e2,pX as Z}from"./cli-0.6.5-f71ncwzk.mjs";import{m1 as t,n1 as o,o1 as U}from"./cli-0.6.5-8hsxq1p3.mjs";import{x_ as X,z_ as j}from"./cli-0.6.5-ef6b5qvc.mjs";import{lpa as s}from"./cli-0.6.5-bm7v9qp0.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 Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.5"," "]})]}),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 Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.5"," "]})]}),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.6.5"," "]}),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.6.5"," "]}),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 O};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{SY as W,eZ as X,gX as f,gZ as k}from"./cli-0.6.5-f71ncwzk.mjs";import{l1 as V,m1 as J,o1 as K}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as P}from"./cli-0.6.5-vqb4jtcr.mjs";import{Qda as U,Rda as O}from"./cli-0.6.5-pz5add8h.mjs";import{lpa as Q,ppa as L}from"./cli-0.6.5-bm7v9qp0.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
|
|
2
|
+
export{g as Xd,N as Yd,j as Zd};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
class H extends Error{constructor(z,J,Q){super(Q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=J,this.exitCode=z,this.nestedError=void 0}}class K extends H{constructor(z){super(1,"commander.invalidArgument",z);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class S{constructor(z,J){this.flags=z,this.description=J||"",this.required=z.includes("<"),this.optional=z.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(z),this.mandatory=!1;let Q=w(z);if(this.short=Q.shortFlag,this.long=Q.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}preset(z){return this.presetArg=z,this}conflicts(z){return this.conflictsWith=this.conflictsWith.concat(z),this}implies(z){let J=z;if(typeof z==="string")J={[z]:!0};return this.implied=Object.assign(this.implied||{},J),this}env(z){return this.envVar=z,this}argParser(z){return this.parseArg=z,this}makeOptionMandatory(z=!0){return this.mandatory=!!z,this}hideHelp(z=!0){return this.hidden=!!z,this}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return F(this.name().replace(/^no-/,""));return F(this.name())}helpGroup(z){return this.helpGroupHeading=z,this}is(z){return this.short===z||this.long===z}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class V{constructor(z){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,z.forEach((J)=>{if(J.negate)this.negativeOptions.set(J.attributeName(),J);else this.positiveOptions.set(J.attributeName(),J)}),this.negativeOptions.forEach((J,Q)=>{if(this.positiveOptions.has(Q))this.dualOptions.add(Q)})}valueFromOption(z,J){let Q=J.attributeName();if(!this.dualOptions.has(Q))return!0;let X=this.negativeOptions.get(Q).presetArg,Y=X!==void 0?X:!1;return J.negate===(Y===z)}}function F(z){return z.split("-").reduce((J,Q)=>{return J+Q[0].toUpperCase()+Q.slice(1)})}function w(z){let J,Q,X=/^-[^-]$/,Y=/^--[^-]/,Z=z.split(/[ |,]+/).concat("guard");if(X.test(Z[0]))J=Z.shift();if(Y.test(Z[0]))Q=Z.shift();if(!J&&X.test(Z[0]))J=Z.shift();if(!J&&Y.test(Z[0]))J=Q,Q=Z.shift();if(Z[0].startsWith("-")){let $=Z[0],_=`option creation failed due to '${$}' in option flags '${z}'`;if(/^-[^-][^-]/.test($))throw Error(`${_}
|
|
2
|
+
- a short flag is a single dash and a single character
|
|
3
|
+
- either use a single dash and a single character (for a short flag)
|
|
4
|
+
- or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(X.test($))throw Error(`${_}
|
|
5
|
+
- too many short flags`);if(Y.test($))throw Error(`${_}
|
|
6
|
+
- too many long flags`);throw Error(`${_}
|
|
7
|
+
- unrecognised flag format`)}if(J===void 0&&Q===void 0)throw Error(`option creation failed due to no flags found in '${z}'.`);return{shortFlag:J,longFlag:Q}}import{EventEmitter as O}from"node:events";import N from"node:child_process";import U from"node:path";import I from"node:fs";import G from"node:process";import{stripVTControlCharacters as x}from"node:util";class W{constructor(z,J){switch(this.description=J||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,z[0]){case"<":this.required=!0,this._name=z.slice(1,-1);break;case"[":this.required=!1,this._name=z.slice(1,-1);break;default:this.required=!0,this._name=z;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}argParser(z){return this.parseArg=z,this}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function P(z){let J=z.name()+(z.variadic===!0?"...":"");return z.required?"<"+J+">":"["+J+"]"}import{stripVTControlCharacters as k}from"node:util";class j{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(z){this.helpWidth=this.helpWidth??z.helpWidth??80}visibleCommands(z){let J=z.commands.filter((X)=>!X._hidden),Q=z._getHelpCommand();if(Q&&!Q._hidden)J.push(Q);if(this.sortSubcommands)J.sort((X,Y)=>{return X.name().localeCompare(Y.name())});return J}compareOptions(z,J){let Q=(X)=>{return X.short?X.short.replace(/^-/,""):X.long.replace(/^--/,"")};return Q(z).localeCompare(Q(J))}visibleOptions(z){let J=z.options.filter((X)=>!X.hidden),Q=z._getHelpOption();if(Q&&!Q.hidden){let X=Q.short&&z._findOption(Q.short),Y=Q.long&&z._findOption(Q.long);if(!X&&!Y)J.push(Q);else if(Q.long&&!Y)J.push(z.createOption(Q.long,Q.description));else if(Q.short&&!X)J.push(z.createOption(Q.short,Q.description))}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleGlobalOptions(z){if(!this.showGlobalOptions)return[];let J=[];for(let Q=z.parent;Q;Q=Q.parent){let X=Q.options.filter((Y)=>!Y.hidden);J.push(...X)}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleArguments(z){if(z._argsDescription)z.registeredArguments.forEach((J)=>{J.description=J.description||z._argsDescription[J.name()]||""});if(z.registeredArguments.find((J)=>J.description))return z.registeredArguments;return[]}subcommandTerm(z){let J=z.registeredArguments.map((Q)=>P(Q)).join(" ");return z._name+(z._aliases[0]?"|"+z._aliases[0]:"")+(z.options.length?" [options]":"")+(J?" "+J:"")}optionTerm(z){return z.flags}argumentTerm(z){return z.name()}longestSubcommandTermLength(z,J){return J.visibleCommands(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleSubcommandTerm(J.subcommandTerm(X))))},0)}longestOptionTermLength(z,J){return J.visibleOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestGlobalOptionTermLength(z,J){return J.visibleGlobalOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestArgumentTermLength(z,J){return J.visibleArguments(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleArgumentTerm(J.argumentTerm(X))))},0)}commandUsage(z){let J=z._name;if(z._aliases[0])J=J+"|"+z._aliases[0];let Q="";for(let X=z.parent;X;X=X.parent)Q=X.name()+" "+Q;return Q+J+" "+z.usage()}commandDescription(z){return z.description()}subcommandDescription(z){return z.summary()||z.description()}optionDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0){if(z.required||z.optional||z.isBoolean()&&typeof z.defaultValue==="boolean")J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`)}if(z.presetArg!==void 0&&z.optional)J.push(`preset: ${JSON.stringify(z.presetArg)}`);if(z.envVar!==void 0)J.push(`env: ${z.envVar}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}argumentDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0)J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}formatItemList(z,J,Q){if(J.length===0)return[];return[Q.styleTitle(z),...J,""]}groupItems(z,J,Q){let X=new Map;return z.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[])}),J.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[]);X.get(Z).push(Y)}),X}formatHelp(z,J){let Q=J.padWidth(z,J),X=J.helpWidth??80;function Y(R,B){return J.formatItem(R,Q,B,J)}let Z=[`${J.styleTitle("Usage:")} ${J.styleUsage(J.commandUsage(z))}`,""],$=J.commandDescription(z);if($.length>0)Z=Z.concat([J.boxWrap(J.styleCommandDescription($),X),""]);let _=J.visibleArguments(z).map((R)=>{return Y(J.styleArgumentTerm(J.argumentTerm(R)),J.styleArgumentDescription(J.argumentDescription(R)))});if(Z=Z.concat(this.formatItemList("Arguments:",_,J)),this.groupItems(z.options,J.visibleOptions(z),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleOptionTerm(J.optionTerm(M)),J.styleOptionDescription(J.optionDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),J.showGlobalOptions){let R=J.visibleGlobalOptions(z).map((B)=>{return Y(J.styleOptionTerm(J.optionTerm(B)),J.styleOptionDescription(J.optionDescription(B)))});Z=Z.concat(this.formatItemList("Global Options:",R,J))}return this.groupItems(z.commands,J.visibleCommands(z),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleSubcommandTerm(J.subcommandTerm(M)),J.styleSubcommandDescription(J.subcommandDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),Z.join(`
|
|
8
|
+
`)}displayWidth(z){return k(z).length}styleTitle(z){return z}styleUsage(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J==="[command]")return this.styleSubcommandText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleCommandText(J)}).join(" ")}styleCommandDescription(z){return this.styleDescriptionText(z)}styleOptionDescription(z){return this.styleDescriptionText(z)}styleSubcommandDescription(z){return this.styleDescriptionText(z)}styleArgumentDescription(z){return this.styleDescriptionText(z)}styleDescriptionText(z){return z}styleOptionTerm(z){return this.styleOptionText(z)}styleSubcommandTerm(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleSubcommandText(J)}).join(" ")}styleArgumentTerm(z){return this.styleArgumentText(z)}styleOptionText(z){return z}styleArgumentText(z){return z}styleSubcommandText(z){return z}styleCommandText(z){return z}padWidth(z,J){return Math.max(J.longestOptionTermLength(z,J),J.longestGlobalOptionTermLength(z,J),J.longestSubcommandTermLength(z,J),J.longestArgumentTermLength(z,J))}preformatted(z){return/\n[^\S\r\n]/.test(z)}formatItem(z,J,Q,X){let Z=" ".repeat(2);if(!Q)return Z+z;let $=z.padEnd(J+z.length-X.displayWidth(z)),_=2,q=(this.helpWidth??80)-J-_-2,R;if(q<this.minWidthToWrap||X.preformatted(Q))R=Q;else R=X.boxWrap(Q,q).replace(/\n/g,`
|
|
9
|
+
`+" ".repeat(J+_));return Z+$+" ".repeat(_)+R.replace(/\n/g,`
|
|
10
|
+
${Z}`)}boxWrap(z,J){if(J<this.minWidthToWrap)return z;let Q=z.split(/\r\n|\n/),X=/[\s]*[^\s]+/g,Y=[];return Q.forEach((Z)=>{let $=Z.match(X);if($===null){Y.push("");return}let _=[$.shift()],T=this.displayWidth(_[0]);$.forEach((q)=>{let R=this.displayWidth(q);if(T+R<=J){_.push(q),T+=R;return}Y.push(_.join(""));let B=q.trimStart();_=[B],T=this.displayWidth(B)}),Y.push(_.join(""))}),Y.join(`
|
|
11
|
+
`)}}function C(z,J){if(Math.abs(z.length-J.length)>3)return Math.max(z.length,J.length);let Q=[];for(let X=0;X<=z.length;X++)Q[X]=[X];for(let X=0;X<=J.length;X++)Q[0][X]=X;for(let X=1;X<=J.length;X++)for(let Y=1;Y<=z.length;Y++){let Z;if(z[Y-1]===J[X-1])Z=0;else Z=1;if(Q[Y][X]=Math.min(Q[Y-1][X]+1,Q[Y][X-1]+1,Q[Y-1][X-1]+Z),Y>1&&X>1&&z[Y-1]===J[X-2]&&z[Y-2]===J[X-1])Q[Y][X]=Math.min(Q[Y][X],Q[Y-2][X-2]+1)}return Q[z.length][J.length]}function D(z,J){if(!J||J.length===0)return"";J=Array.from(new Set(J));let Q=z.startsWith("--");if(Q)z=z.slice(2),J=J.map(($)=>$.slice(2));let X=[],Y=3,Z=0.4;if(J.forEach(($)=>{if($.length<=1)return;let _=C(z,$),T=Math.max(z.length,$.length);if((T-_)/T>Z){if(_<Y)Y=_,X=[$];else if(_===Y)X.push($)}}),X.sort(($,_)=>$.localeCompare(_)),Q)X=X.map(($)=>`--${$}`);if(X.length>1)return`
|
|
12
|
+
(Did you mean one of ${X.join(", ")}?)`;if(X.length===1)return`
|
|
13
|
+
(Did you mean ${X[0]}?)`;return""}class E extends O{constructor(z){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=z||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(J)=>G.stdout.write(J),writeErr:(J)=>G.stderr.write(J),outputError:(J,Q)=>Q(J),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>A()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>A()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(J)=>x(J)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(z){return this._outputConfiguration=z._outputConfiguration,this._helpOption=z._helpOption,this._helpCommand=z._helpCommand,this._helpConfiguration=z._helpConfiguration,this._exitCallback=z._exitCallback,this._storeOptionsAsProperties=z._storeOptionsAsProperties,this._combineFlagAndOptionalValue=z._combineFlagAndOptionalValue,this._allowExcessArguments=z._allowExcessArguments,this._enablePositionalOptions=z._enablePositionalOptions,this._showHelpAfterError=z._showHelpAfterError,this._showSuggestionAfterError=z._showSuggestionAfterError,this}_getCommandAndAncestors(){let z=[];for(let J=this;J;J=J.parent)z.push(J);return z}command(z,J,Q){let X=J,Y=Q;if(typeof X==="object"&&X!==null)Y=X,X=null;Y=Y||{};let[,Z,$]=z.match(/([^ ]+) *(.*)/),_=this.createCommand(Z);if(X)_.description(X),_._executableHandler=!0;if(Y.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(Y.noHelp||Y.hidden),_._executableFile=Y.executableFile||null,$)_.arguments($);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),X)return this;return _}createCommand(z){return new E(z)}createHelp(){return Object.assign(new j,this.configureHelp())}configureHelp(z){if(z===void 0)return this._helpConfiguration;return this._helpConfiguration=z,this}configureOutput(z){if(z===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...z},this}showHelpAfterError(z=!0){if(typeof z!=="string")z=!!z;return this._showHelpAfterError=z,this}showSuggestionAfterError(z=!0){return this._showSuggestionAfterError=!!z,this}addCommand(z,J){if(!z._name)throw Error(`Command passed to .addCommand() must have a name
|
|
14
|
+
- specify the name in Command constructor or using .name()`);if(J=J||{},J.isDefault)this._defaultCommandName=z._name;if(J.noHelp||J.hidden)z._hidden=!0;return this._registerCommand(z),z.parent=this,z._checkForBrokenPassThrough(),this}createArgument(z,J){return new W(z,J)}argument(z,J,Q,X){let Y=this.createArgument(z,J);if(typeof Q==="function")Y.default(X).argParser(Q);else Y.default(Q);return this.addArgument(Y),this}arguments(z){return z.trim().split(/ +/).forEach((J)=>{this.argument(J)}),this}addArgument(z){let J=this.registeredArguments.slice(-1)[0];if(J?.variadic)throw Error(`only the last argument can be variadic '${J.name()}'`);if(z.required&&z.defaultValue!==void 0&&z.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${z.name()}'`);return this.registeredArguments.push(z),this}helpCommand(z,J){if(typeof z==="boolean"){if(this._addImplicitHelpCommand=z,z&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let Q=z??"help [command]",[,X,Y]=Q.match(/([^ ]+) *(.*)/),Z=J??"display help for command",$=this.createCommand(X);if($.helpOption(!1),Y)$.arguments(Y);if(Z)$.description(Z);if(this._addImplicitHelpCommand=!0,this._helpCommand=$,z||J)this._initCommandGroup($);return this}addHelpCommand(z,J){if(typeof z!=="object")return this.helpCommand(z,J),this;return this._addImplicitHelpCommand=!0,this._helpCommand=z,this._initCommandGroup(z),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(z,J){let Q=["preSubcommand","preAction","postAction"];if(!Q.includes(z))throw Error(`Unexpected value for event passed to hook : '${z}'.
|
|
15
|
+
Expecting one of '${Q.join("', '")}'`);if(this._lifeCycleHooks[z])this._lifeCycleHooks[z].push(J);else this._lifeCycleHooks[z]=[J];return this}exitOverride(z){if(z)this._exitCallback=z;else this._exitCallback=(J)=>{if(J.code!=="commander.executeSubCommandAsync")throw J};return this}_exit(z,J,Q){if(this._exitCallback)this._exitCallback(new H(z,J,Q));G.exit(z)}action(z){let J=(Q)=>{let X=this.registeredArguments.length,Y=Q.slice(0,X);if(this._storeOptionsAsProperties)Y[X]=this;else Y[X]=this.opts();return Y.push(this),z.apply(this,Y)};return this._actionHandler=J,this}createOption(z,J){return new S(z,J)}_callParseArg(z,J,Q,X){try{return z.parseArg(J,Q)}catch(Y){if(Y.code==="commander.invalidArgument"){let Z=`${X} ${Y.message}`;this.error(Z,{exitCode:Y.exitCode,code:Y.code})}throw Y}}_registerOption(z){let J=z.short&&this._findOption(z.short)||z.long&&this._findOption(z.long);if(J){let Q=z.long&&this._findOption(z.long)?z.long:z.short;throw Error(`Cannot add option '${z.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${Q}'
|
|
16
|
+
- already used by option '${J.flags}'`)}this._initOptionGroup(z),this.options.push(z)}_registerCommand(z){let J=(X)=>{return[X.name()].concat(X.aliases())},Q=J(z).find((X)=>this._findCommand(X));if(Q){let X=J(this._findCommand(Q)).join("|"),Y=J(z).join("|");throw Error(`cannot add command '${Y}' as already have command '${X}'`)}this._initCommandGroup(z),this.commands.push(z)}addOption(z){this._registerOption(z);let J=z.name(),Q=z.attributeName();if(z.defaultValue!==void 0)this.setOptionValueWithSource(Q,z.defaultValue,"default");let X=(Y,Z,$)=>{if(Y==null&&z.presetArg!==void 0)Y=z.presetArg;let _=this.getOptionValue(Q);if(Y!==null&&z.parseArg)Y=this._callParseArg(z,Y,_,Z);else if(Y!==null&&z.variadic)Y=z._collectValue(Y,_);if(Y==null)if(z.negate)Y=!1;else if(z.isBoolean()||z.optional)Y=!0;else Y="";this.setOptionValueWithSource(Q,Y,$)};if(this.on("option:"+J,(Y)=>{let Z=`error: option '${z.flags}' argument '${Y}' is invalid.`;X(Y,Z,"cli")}),z.envVar)this.on("optionEnv:"+J,(Y)=>{let Z=`error: option '${z.flags}' value '${Y}' from env '${z.envVar}' is invalid.`;X(Y,Z,"env")});return this}_optionEx(z,J,Q,X,Y){if(typeof J==="object"&&J instanceof S)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Z=this.createOption(J,Q);if(Z.makeOptionMandatory(!!z.mandatory),typeof X==="function")Z.default(Y).argParser(X);else if(X instanceof RegExp){let $=X;X=(_,T)=>{let q=$.exec(_);return q?q[0]:T},Z.default(Y).argParser(X)}else Z.default(X);return this.addOption(Z)}option(z,J,Q,X){return this._optionEx({},z,J,Q,X)}requiredOption(z,J,Q,X){return this._optionEx({mandatory:!0},z,J,Q,X)}combineFlagAndOptionalValue(z=!0){return this._combineFlagAndOptionalValue=!!z,this}allowUnknownOption(z=!0){return this._allowUnknownOption=!!z,this}allowExcessArguments(z=!0){return this._allowExcessArguments=!!z,this}enablePositionalOptions(z=!0){return this._enablePositionalOptions=!!z,this}passThroughOptions(z=!0){return this._passThroughOptions=!!z,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(z=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!z,this}getOptionValue(z){if(this._storeOptionsAsProperties)return this[z];return this._optionValues[z]}setOptionValue(z,J){return this.setOptionValueWithSource(z,J,void 0)}setOptionValueWithSource(z,J,Q){if(this._storeOptionsAsProperties)this[z]=J;else this._optionValues[z]=J;return this._optionValueSources[z]=Q,this}getOptionValueSource(z){return this._optionValueSources[z]}getOptionValueSourceWithGlobals(z){let J;return this._getCommandAndAncestors().forEach((Q)=>{if(Q.getOptionValueSource(z)!==void 0)J=Q.getOptionValueSource(z)}),J}_prepareUserArgs(z,J){if(z!==void 0&&!Array.isArray(z))throw Error("first parameter to parse must be array or undefined");if(J=J||{},z===void 0&&J.from===void 0){if(G.versions?.electron)J.from="electron";let X=G.execArgv??[];if(X.includes("-e")||X.includes("--eval")||X.includes("-p")||X.includes("--print"))J.from="eval"}if(z===void 0)z=G.argv;this.rawArgs=z.slice();let Q;switch(J.from){case void 0:case"node":this._scriptPath=z[1],Q=z.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=z[1],Q=z.slice(2);else Q=z.slice(1);break;case"user":Q=z.slice(0);break;case"eval":Q=z.slice(1);break;default:throw Error(`unexpected parse option { from: '${J.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Q}parse(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return this._parseCommand([],Q),this}async parseAsync(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return await this._parseCommand([],Q),this}_prepareForParse(){if(this._savedState===null)this.options.filter((z)=>z.negate&&z.defaultValue===void 0&&this.getOptionValue(z.attributeName())===void 0).forEach((z)=>{let J=z.long.replace(/^--no-/,"--");if(!this._findOption(J))this.setOptionValueWithSource(z.attributeName(),!0,"default")}),this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
|
|
17
|
+
- either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(z,J,Q){if(I.existsSync(z))return;let X=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",Y=`'${z}' does not exist
|
|
18
|
+
- if '${Q}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
19
|
+
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
20
|
+
- ${X}`;throw Error(Y)}_executeSubCommand(z,J){J=J.slice();let Q=[".js",".ts",".tsx",".mjs",".cjs"];function X(q,R){let B=U.resolve(q,R);if(I.existsSync(B))return B;if(Q.includes(U.extname(R)))return;let L=Q.find((M)=>I.existsSync(`${B}${M}`));if(L)return`${B}${L}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=z._executableFile||`${this._name}-${z._name}`,Z=this._executableDir||"";if(this._scriptPath){let q;try{q=I.realpathSync(this._scriptPath)}catch{q=this._scriptPath}Z=U.resolve(U.dirname(q),Z)}if(Z){let q=X(Z,Y);if(!q&&!z._executableFile&&this._scriptPath){let R=U.basename(this._scriptPath,U.extname(this._scriptPath));if(R!==this._name)q=X(Z,`${R}-${z._name}`)}Y=q||Y}let $=Q.includes(U.extname(Y)),_;if(G.platform!=="win32")if($)J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.argv[0],J,{stdio:"inherit"});else _=N.spawn(Y,J,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,z._name),J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.execPath,J,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",(q)=>{if(q=q??1,!T)G.exit(q);else T(new H(q,"commander.executeSubCommandAsync","(close)"))}),_.on("error",(q)=>{if(q.code==="ENOENT")this._checkForMissingExecutable(Y,Z,z._name);else if(q.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new H(1,"commander.executeSubCommandAsync","(error)");R.nestedError=q,T(R)}}),this.runningCommand=_}_dispatchSubcommand(z,J,Q){let X=this._findCommand(z);if(!X)this.help({error:!0});X._prepareForParse();let Y;return Y=this._chainOrCallSubCommandHook(Y,X,"preSubcommand"),Y=this._chainOrCall(Y,()=>{if(X._executableHandler)this._executeSubCommand(X,J.concat(Q));else return X._parseCommand(J,Q)}),Y}_dispatchHelpCommand(z){if(!z)this.help();let J=this._findCommand(z);if(J&&!J._executableHandler)J.help();return this._dispatchSubcommand(z,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((z,J)=>{if(z.required&&this.args[J]==null)this.missingArgument(z.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let z=(Q,X,Y)=>{let Z=X;if(X!==null&&Q.parseArg){let $=`error: command-argument value '${X}' is invalid for argument '${Q.name()}'.`;Z=this._callParseArg(Q,X,Y,$)}return Z};this._checkNumberOfArguments();let J=[];this.registeredArguments.forEach((Q,X)=>{let Y=Q.defaultValue;if(Q.variadic){if(X<this.args.length){if(Y=this.args.slice(X),Q.parseArg)Y=Y.reduce((Z,$)=>{return z(Q,$,Z)},Q.defaultValue)}else if(Y===void 0)Y=[]}else if(X<this.args.length){if(Y=this.args[X],Q.parseArg)Y=z(Q,Y,Q.defaultValue)}J[X]=Y}),this.processedArgs=J}_chainOrCall(z,J){if(z?.then&&typeof z.then==="function")return z.then(()=>J());return J()}_chainOrCallHooks(z,J){let Q=z,X=[];if(this._getCommandAndAncestors().reverse().filter((Y)=>Y._lifeCycleHooks[J]!==void 0).forEach((Y)=>{Y._lifeCycleHooks[J].forEach((Z)=>{X.push({hookedCommand:Y,callback:Z})})}),J==="postAction")X.reverse();return X.forEach((Y)=>{Q=this._chainOrCall(Q,()=>{return Y.callback(Y.hookedCommand,this)})}),Q}_chainOrCallSubCommandHook(z,J,Q){let X=z;if(this._lifeCycleHooks[Q]!==void 0)this._lifeCycleHooks[Q].forEach((Y)=>{X=this._chainOrCall(X,()=>{return Y(this,J)})});return X}_parseCommand(z,J){let Q=this.parseOptions(J);if(this._parseOptionsEnv(),this._parseOptionsImplied(),z=z.concat(Q.operands),J=Q.unknown,this.args=z.concat(J),z&&this._findCommand(z[0]))return this._dispatchSubcommand(z[0],z.slice(1),J);if(this._getHelpCommand()&&z[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(z[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(J),this._dispatchSubcommand(this._defaultCommandName,z,J);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(Q.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let X=()=>{if(Q.unknown.length>0)this.unknownOption(Q.unknown[0])},Y=`command:${this.name()}`;if(this._actionHandler){X(),this._processArguments();let Z;if(Z=this._chainOrCallHooks(Z,"preAction"),Z=this._chainOrCall(Z,()=>this._actionHandler(this.processedArgs)),this.parent)Z=this._chainOrCall(Z,()=>{this.parent.emit(Y,z,J)});return Z=this._chainOrCallHooks(Z,"postAction"),Z}if(this.parent?.listenerCount(Y))X(),this._processArguments(),this.parent.emit(Y,z,J);else if(z.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",z,J);if(this.listenerCount("command:*"))this.emit("command:*",z,J);else if(this.commands.length)this.unknownCommand();else X(),this._processArguments()}else if(this.commands.length)X(),this.help({error:!0});else X(),this._processArguments()}_findCommand(z){if(!z)return;return this.commands.find((J)=>J._name===z||J._aliases.includes(z))}_findOption(z){return this.options.find((J)=>J.is(z))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((z)=>{z.options.forEach((J)=>{if(J.mandatory&&z.getOptionValue(J.attributeName())===void 0)z.missingMandatoryOptionValue(J)})})}_checkForConflictingLocalOptions(){let z=this.options.filter((Q)=>{let X=Q.attributeName();if(this.getOptionValue(X)===void 0)return!1;return this.getOptionValueSource(X)!=="default"});z.filter((Q)=>Q.conflictsWith.length>0).forEach((Q)=>{let X=z.find((Y)=>Q.conflictsWith.includes(Y.attributeName()));if(X)this._conflictingOption(Q,X)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((z)=>{z._checkForConflictingLocalOptions()})}parseOptions(z){let J=[],Q=[],X=J;function Y(q){return q.length>1&&q[0]==="-"}let Z=(q)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(q))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},$=null,_=null,T=0;while(T<z.length||_){let q=_??z[T++];if(_=null,q==="--"){if(X===Q)X.push(q);X.push(...z.slice(T));break}if($&&(!Y(q)||Z(q))){this.emit(`option:${$.name()}`,q);continue}if($=null,Y(q)){let R=this._findOption(q);if(R){if(R.required){let B=z[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<z.length&&(!Y(z[T])||Z(z[T])))B=z[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);$=R.variadic?R:null;continue}}if(q.length>2&&q[0]==="-"&&q[1]!=="-"){let R=this._findOption(`-${q[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,q.slice(2));else this.emit(`option:${R.name()}`),_=`-${q.slice(2)}`;continue}}if(/^--[^=]+=/.test(q)){let R=q.indexOf("="),B=this._findOption(q.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,q.slice(R+1));continue}}if(X===J&&Y(q)&&!(this.commands.length===0&&Z(q)))X=Q;if((this._enablePositionalOptions||this._passThroughOptions)&&J.length===0&&Q.length===0){if(this._findCommand(q)){J.push(q),Q.push(...z.slice(T));break}else if(this._getHelpCommand()&&q===this._getHelpCommand().name()){J.push(q,...z.slice(T));break}else if(this._defaultCommandName){Q.push(q,...z.slice(T));break}}if(this._passThroughOptions){X.push(q,...z.slice(T));break}X.push(q)}return{operands:J,unknown:Q}}opts(){if(this._storeOptionsAsProperties){let z={},J=this.options.length;for(let Q=0;Q<J;Q++){let X=this.options[Q].attributeName();z[X]=X===this._versionOptionName?this._version:this[X]}return z}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((z,J)=>Object.assign(z,J.opts()),{})}error(z,J){if(this._outputConfiguration.outputError(`${z}
|
|
21
|
+
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
22
|
+
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
|
|
23
|
+
`),this.outputHelp({error:!0});let Q=J||{},X=Q.exitCode||1,Y=Q.code||"commander.error";this._exit(X,Y,z)}_parseOptionsEnv(){this.options.forEach((z)=>{if(z.envVar&&z.envVar in G.env){let J=z.attributeName();if(this.getOptionValue(J)===void 0||["default","config","env"].includes(this.getOptionValueSource(J)))if(z.required||z.optional)this.emit(`optionEnv:${z.name()}`,G.env[z.envVar]);else this.emit(`optionEnv:${z.name()}`)}})}_parseOptionsImplied(){let z=new V(this.options),J=(Q)=>{return this.getOptionValue(Q)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Q))};this.options.filter((Q)=>Q.implied!==void 0&&J(Q.attributeName())&&z.valueFromOption(this.getOptionValue(Q.attributeName()),Q)).forEach((Q)=>{Object.keys(Q.implied).filter((X)=>!J(X)).forEach((X)=>{this.setOptionValueWithSource(X,Q.implied[X],"implied")})})}missingArgument(z){let J=`error: missing required argument '${z}'`;this.error(J,{code:"commander.missingArgument"})}optionMissingArgument(z){let J=`error: option '${z.flags}' argument missing`;this.error(J,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(z){let J=`error: required option '${z.flags}' not specified`;this.error(J,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(z,J){let Q=(Z)=>{let $=Z.attributeName(),_=this.getOptionValue($),T=this.options.find((R)=>R.negate&&$===R.attributeName()),q=this.options.find((R)=>!R.negate&&$===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return q||Z},X=(Z)=>{let $=Q(Z),_=$.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${$.envVar}'`;return`option '${$.flags}'`},Y=`error: ${X(z)} cannot be used with ${X(J)}`;this.error(Y,{code:"commander.conflictingOption"})}unknownOption(z){if(this._allowUnknownOption)return;let J="";if(z.startsWith("--")&&this._showSuggestionAfterError){let X=[],Y=this;do{let Z=Y.createHelp().visibleOptions(Y).filter(($)=>$.long).map(($)=>$.long);X=X.concat(Z),Y=Y.parent}while(Y&&!Y._enablePositionalOptions);J=D(z,X)}let Q=`error: unknown option '${z}'${J}`;this.error(Q,{code:"commander.unknownOption"})}_excessArguments(z){if(this._allowExcessArguments)return;let J=this.registeredArguments.length,Q=J===1?"":"s",X=z.length,Y=this.parent?` for '${this.name()}'`:"",Z=z.join(", "),$=`error: too many arguments${Y}. Expected ${J} argument${Q} but got ${X}: ${Z}.`;this.error($,{code:"commander.excessArguments"})}unknownCommand(){let z=this.args[0],J="";if(this._showSuggestionAfterError){let X=[];this.createHelp().visibleCommands(this).forEach((Y)=>{if(X.push(Y.name()),Y.alias())X.push(Y.alias())}),J=D(z,X)}let Q=`error: unknown command '${z}'${J}`;this.error(Q,{code:"commander.unknownCommand"})}version(z,J,Q){if(z===void 0)return this._version;this._version=z,J=J||"-V, --version",Q=Q||"output the version number";let X=this.createOption(J,Q);return this._versionOptionName=X.attributeName(),this._registerOption(X),this.on("option:"+X.name(),()=>{this._outputConfiguration.writeOut(`${z}
|
|
24
|
+
`),this._exit(0,"commander.version",z)}),this}description(z,J){if(z===void 0&&J===void 0)return this._description;if(this._description=z,J)this._argsDescription=J;return this}summary(z){if(z===void 0)return this._summary;return this._summary=z,this}alias(z){if(z===void 0)return this._aliases[0];let J=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)J=this.commands[this.commands.length-1];if(z===J._name)throw Error("Command alias can't be the same as its name");let Q=this.parent?._findCommand(z);if(Q){let X=[Q.name()].concat(Q.aliases()).join("|");throw Error(`cannot add alias '${z}' to command '${this.name()}' as already have command '${X}'`)}return J._aliases.push(z),this}aliases(z){if(z===void 0)return this._aliases;return z.forEach((J)=>this.alias(J)),this}usage(z){if(z===void 0){if(this._usage)return this._usage;let J=this.registeredArguments.map((Q)=>{return P(Q)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?J:[]).join(" ")}return this._usage=z,this}name(z){if(z===void 0)return this._name;return this._name=z,this}helpGroup(z){if(z===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=z,this}commandsGroup(z){if(z===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=z,this}optionsGroup(z){if(z===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=z,this}_initOptionGroup(z){if(this._defaultOptionGroup&&!z.helpGroupHeading)z.helpGroup(this._defaultOptionGroup)}_initCommandGroup(z){if(this._defaultCommandGroup&&!z.helpGroup())z.helpGroup(this._defaultCommandGroup)}nameFromFilename(z){return this._name=U.basename(z,U.extname(z)),this}executableDir(z){if(z===void 0)return this._executableDir;return this._executableDir=z,this}helpInformation(z){let J=this.createHelp(),Q=this._getOutputContext(z);J.prepareContext({error:Q.error,helpWidth:Q.helpWidth,outputHasColors:Q.hasColors});let X=J.formatHelp(this,J);if(Q.hasColors)return X;return this._outputConfiguration.stripColor(X)}_getOutputContext(z){z=z||{};let J=!!z.error,Q,X,Y;if(J)Q=($)=>this._outputConfiguration.writeErr($),X=this._outputConfiguration.getErrHasColors(),Y=this._outputConfiguration.getErrHelpWidth();else Q=($)=>this._outputConfiguration.writeOut($),X=this._outputConfiguration.getOutHasColors(),Y=this._outputConfiguration.getOutHelpWidth();return{error:J,write:($)=>{if(!X)$=this._outputConfiguration.stripColor($);return Q($)},hasColors:X,helpWidth:Y}}outputHelp(z){let J;if(typeof z==="function")J=z,z=void 0;let Q=this._getOutputContext(z),X={error:Q.error,write:Q.write,command:this};this._getCommandAndAncestors().reverse().forEach((Z)=>Z.emit("beforeAllHelp",X)),this.emit("beforeHelp",X);let Y=this.helpInformation({error:Q.error});if(J){if(Y=J(Y),typeof Y!=="string"&&!Buffer.isBuffer(Y))throw Error("outputHelp callback must return a string or a Buffer")}if(Q.write(Y),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",X),this._getCommandAndAncestors().forEach((Z)=>Z.emit("afterAllHelp",X))}helpOption(z,J){if(typeof z==="boolean"){if(z){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(z??"-h, --help",J??"display help for command"),z||J)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(z){return this._helpOption=z,this._initOptionGroup(z),this}help(z){this.outputHelp(z);let J=Number(G.exitCode??0);if(J===0&&z&&typeof z!=="function"&&z.error)J=1;this._exit(J,"commander.help","(outputHelp)")}addHelpText(z,J){let Q=["beforeAll","before","after","afterAll"];if(!Q.includes(z))throw Error(`Unexpected value for position to addHelpText.
|
|
25
|
+
Expecting one of '${Q.join("', '")}'`);let X=`${z}Help`;return this.on(X,(Y)=>{let Z;if(typeof J==="function")Z=J({error:Y.error,command:Y.command});else Z=J;if(Z)Y.write(`${Z}
|
|
26
|
+
`)}),this}_outputHelpIfRequested(z){let J=this._getHelpOption();if(J&&z.find((X)=>J.is(X)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function y(z){return z.map((J)=>{if(!J.startsWith("--inspect"))return J;let Q,X="127.0.0.1",Y="9229",Z;if((Z=J.match(/^(--inspect(-brk)?)$/))!==null)Q=Z[1];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Q=Z[1],/^\d+$/.test(Z[3]))Y=Z[3];else X=Z[3];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Q=Z[1],X=Z[3],Y=Z[4];if(Q&&Y!=="0")return`${Q}=${X}:${parseInt(Y)+1}`;return J})}function A(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}var qz=new E;export{K as I,S as J,E as K};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{LH as Q,OH as F}from"./cli-0.6.5-5t6d3asz.mjs";import{oha as b,rha as y}from"./cli-0.6.5-q4gh8d4w.mjs";import{Kha as x,Pha as f}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as w,dia as R}from"./cli-0.6.5-s580r0vs.mjs";import{Gna as K,Nja as $,Qja as j}from"./cli-0.6.5-ckc9hr8m.mjs";import{ppa as v}from"./cli-0.6.5-bm7v9qp0.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
|
|
2
|
+
|
|
3
|
+
`:"",B=k===G?`
|
|
4
|
+
|
|
5
|
+
${c}`:"";return`Scheduled loop tick.
|
|
6
|
+
|
|
7
|
+
${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
|
|
8
|
+
|
|
9
|
+
If .claudin/loop.md exists, read it and follow it.
|
|
10
|
+
Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
|
|
11
|
+
Otherwise:
|
|
12
|
+
- continue any unfinished work from the conversation
|
|
13
|
+
- tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
|
|
14
|
+
- run cleanup passes such as bug hunts or simplification when nothing else is pending
|
|
15
|
+
|
|
16
|
+
Do not start new initiatives outside that scope.
|
|
17
|
+
Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
|
|
18
|
+
export{Y as Eh,G as Fh,D as Gh,g as Hh,M as Ih,U as Jh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vha as q,dia as U}from"./cli-0.6.5-s580r0vs.mjs";import{opa as L,ppa as X}from"./cli-0.6.5-bm7v9qp0.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
+
export{G as _U,Y as $U,Z as aV,$ as bV,Q as cV,_ as dV,v as eV,E as fV,A as gV,h as hV,u as iV,f as jV,w as kV,S as lV,P as mV,I as nV,l as oV,y as pV,g as qV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{K1 as m}from"./cli-0.6.5-95a4872h.mjs";import{D5 as K,V5 as $}from"./cli-0.6.5-c7yx03g7.mjs";import{Lba as Q,Nda as Z,Oba as J,hca as Y,jba as X}from"./cli-0.6.5-ef6b5qvc.mjs";import{kga as W}from"./cli-0.6.5-kzr5p1mv.mjs";import{ppa as V}from"./cli-0.6.5-bm7v9qp0.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
+
export{y as fi,G as gi,U as hi,w as ii};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{oha as Q,rha as $}from"./cli-0.6.5-q4gh8d4w.mjs";import{Kha as K,Pha as Z}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as J,dia as Y}from"./cli-0.6.5-s580r0vs.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
|
|
2
|
+
export{T as Q,w as R,y as S};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ru as C,Uu as X}from"./cli-0.6.5-5t6d3asz.mjs";import{p1 as W}from"./cli-0.6.5-vqb4jtcr.mjs";import{V3 as I,f4 as J,m4 as V}from"./cli-0.6.5-c7yx03g7.mjs";import{Eea as H,Zea as T}from"./cli-0.6.5-kac7d6qe.mjs";import{lpa as P,ppa as Q}from"./cli-0.6.5-bm7v9qp0.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 Yc,Y as Zc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hpa as n}from"./cli-0.6.5-4k3kk3pr.mjs";import{npa as r}from"./cli-0.6.5-bm7v9qp0.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
+
export{i as l7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_U as YJ,cV as DJ,gV as vJ,hV as c,iV as SJ,qV as ZJ}from"./cli-0.6.5-th48yhz2.mjs";import{c1 as CJ,j1 as TJ}from"./cli-0.6.5-q1qpax7b.mjs";import{Fda as p,N8 as NJ,Nda as wJ,T7 as OJ,U7 as FJ,fba as S,hba as yJ,p8 as xJ,u9 as jJ}from"./cli-0.6.5-ef6b5qvc.mjs";import{qfa as R,sfa as VJ,tfa as w,ufa as XJ}from"./cli-0.6.5-kqhpzqdw.mjs";import{Tga as v,Uga as y,Yga as JJ,oha as G,rha as QJ}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as W,Jha as C,Pha as e}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as s,Tha as I,Vha as t,dia as a}from"./cli-0.6.5-s580r0vs.mjs";import{Fja as r,Gja as MJ,Gna as m,Jja as d,Qma as L,wla as i}from"./cli-0.6.5-ckc9hr8m.mjs";import{ppa as T,qpa as BJ}from"./cli-0.6.5-bm7v9qp0.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-0.6.5-q9cda2p7.mjs"),import("./detection-0.6.5-9v4p8jdz.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
+
export{HQ as jT,UQ as kT,BQ as lT,fJ as mT,OQ as nT,xQ as oT,CQ as pT,_J as qT,E as rT,bJ as sT,vQ as tT,O as uT,j as vT,SQ as wT,h as xT,AQ as yT,zQ as zT,MQ as AT,HJ as BT,n as CT,UJ as DT,oQ as ET,zJ as FT,nQ as GT,u as HT,F as IT,H as JT,kJ as KT,rJ as LT,kQ as MT,rQ as NT,dQ as OT,iQ as PT,mQ as QT,dJ as RT,sQ as ST,tQ as TT,aQ as UT,eQ as VT,JV as WT,QV as XT,sJ as YT,tJ as ZT};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vha as w,dia as F}from"./cli-0.6.5-s580r0vs.mjs";import{ppa as D}from"./cli-0.6.5-bm7v9qp0.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
+
export{Q as gT,V as hT,L as iT};
|