@claudiolabs/claudin 1.1.34 → 1.1.35
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/App-1.1.35-r3nj6jfs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.35-8nvhxyw9.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.35-1ywwnh39.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.35-bvk75rww.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.35-1ct3fw8c.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.35-nt22bzb6.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.35-98xrgmtc.mjs +6 -0
- package/dist/chunks/Doctor-1.1.35-k34y3jy9.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.35-nan1wyke.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.35-kt3ng0j6.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.35-k7wnc3v8.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.35-3dp4jb6e.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.35-6pa67bzn.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.35-4sje6bjv.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.35-99y8t1j9.mjs +1 -0
- package/dist/chunks/REPL-1.1.35-0vqh1ns0.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.35-104fszyr.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.35-xcz2dypc.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.35-nfckw5cx.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.35-6528ybrk.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.35-rqncjk99.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.35-0t2d7g7n.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.35-j9d3asbg.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.35-fkjy6sz1.mjs +1 -0
- package/dist/chunks/add-dir-1.1.35-4gh89hh4.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.35-nx5q66t5.mjs +1 -0
- package/dist/chunks/agents-1.1.35-0kyfdt7w.mjs +3 -0
- package/dist/chunks/agents-1.1.35-1vzstv4y.mjs +110 -0
- package/dist/chunks/api-1.1.35-ab0j2x7t.mjs +1 -0
- package/dist/chunks/asciicast-1.1.35-xgjp2wrs.mjs +1 -0
- package/dist/chunks/auth-1.1.35-2fpa9v9f.mjs +1 -0
- package/dist/chunks/auth-1.1.35-deksnwe8.mjs +1 -0
- package/dist/chunks/autoMode-1.1.35-8d2qr79q.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.35-hg5dxv1t.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.35-5pzsrenf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.35-2kythx4m.mjs +1 -0
- package/dist/chunks/branch-1.1.35-tmksh596.mjs +4 -0
- package/dist/chunks/bridge-1.1.35-0za41yjp.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.35-qtvayvc3.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.35-3mhemdrx.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.35-7awverkv.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.35-5gpfg6h4.mjs +1 -0
- package/dist/chunks/btw-1.1.35-6hy8wabr.mjs +1 -0
- package/dist/chunks/buddy-1.1.35-8z3tb1ne.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.35-adn6dpak.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.35-z3268gay.mjs +4 -0
- package/dist/chunks/caches-1.1.35-1qqfgvsm.mjs +1 -0
- package/dist/chunks/cd-1.1.35-vqy7n0x0.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.35-enw3hpss.mjs +1 -0
- package/dist/chunks/claudemd-1.1.35-wsav3shz.mjs +1 -0
- package/dist/chunks/clear-1.1.35-21ry6n0m.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.35-sg808cbp.mjs +1 -0
- package/dist/chunks/cli-1.1.35-02qx9a8j.mjs +2 -0
- package/dist/chunks/cli-1.1.35-0axe3ev5.mjs +2 -0
- package/dist/chunks/cli-1.1.35-0feday40.mjs +20 -0
- package/dist/chunks/cli-1.1.35-0p69hr1j.mjs +2 -0
- package/dist/chunks/cli-1.1.35-0qrw70p1.mjs +2 -0
- package/dist/chunks/cli-1.1.35-0tc3wmtp.mjs +5 -0
- package/dist/chunks/cli-1.1.35-0vpxr2rk.mjs +2 -0
- package/dist/chunks/cli-1.1.35-0zkzg6at.mjs +2 -0
- package/dist/chunks/cli-1.1.35-1618y169.mjs +2 -0
- package/dist/chunks/cli-1.1.35-18wszrez.mjs +15 -0
- package/dist/chunks/cli-1.1.35-1bzyzrvt.mjs +2 -0
- package/dist/chunks/cli-1.1.35-1ceb2tjb.mjs +2 -0
- package/dist/chunks/cli-1.1.35-1gae8a5m.mjs +2 -0
- package/dist/chunks/cli-1.1.35-1x2wb524.mjs +2 -0
- package/dist/chunks/cli-1.1.35-21w0bna1.mjs +2 -0
- package/dist/chunks/cli-1.1.35-22q1jqqq.mjs +2 -0
- package/dist/chunks/cli-1.1.35-2gxxpyvc.mjs +2 -0
- package/dist/chunks/cli-1.1.35-2sm1x5n8.mjs +2 -0
- package/dist/chunks/cli-1.1.35-2x0m7ewe.mjs +9 -0
- package/dist/chunks/cli-1.1.35-34h7nfzz.mjs +11 -0
- package/dist/chunks/cli-1.1.35-389ej7r1.mjs +2 -0
- package/dist/chunks/cli-1.1.35-38s8y5cf.mjs +2 -0
- package/dist/chunks/cli-1.1.35-3keqk8xr.mjs +2 -0
- package/dist/chunks/cli-1.1.35-3zrjqd93.mjs +2 -0
- package/dist/chunks/cli-1.1.35-41srzc8c.mjs +2 -0
- package/dist/chunks/cli-1.1.35-46bm9f8q.mjs +2 -0
- package/dist/chunks/cli-1.1.35-4d0cm3mc.mjs +2 -0
- package/dist/chunks/cli-1.1.35-4d9merys.mjs +2 -0
- package/dist/chunks/cli-1.1.35-4g77zek0.mjs +24 -0
- package/dist/chunks/cli-1.1.35-4kft2wxe.mjs +2 -0
- package/dist/chunks/cli-1.1.35-4njf7z42.mjs +2 -0
- package/dist/chunks/cli-1.1.35-4typvdqe.mjs +2 -0
- package/dist/chunks/cli-1.1.35-589b1qht.mjs +2 -0
- package/dist/chunks/cli-1.1.35-5b39mwe0.mjs +2 -0
- package/dist/chunks/cli-1.1.35-5j12hjjm.mjs +2 -0
- package/dist/chunks/cli-1.1.35-5v115fee.mjs +2 -0
- package/dist/chunks/cli-1.1.35-61gmwbbt.mjs +2 -0
- package/dist/chunks/cli-1.1.35-688xsqg8.mjs +2 -0
- package/dist/chunks/cli-1.1.35-6c4v5dpe.mjs +15 -0
- package/dist/chunks/cli-1.1.35-6nhv8vhv.mjs +2 -0
- package/dist/chunks/cli-1.1.35-6p10e278.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7g4yw92j.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7hfdc6xn.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7mxbj45y.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7mz6cnfb.mjs +6 -0
- package/dist/chunks/cli-1.1.35-7nsr0a6p.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7p1685r1.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7tt5b2wx.mjs +2 -0
- package/dist/chunks/cli-1.1.35-7y74em05.mjs +2 -0
- package/dist/chunks/cli-1.1.35-82ak1wpt.mjs +7 -0
- package/dist/chunks/cli-1.1.35-854kyr9a.mjs +3 -0
- package/dist/chunks/cli-1.1.35-85zb0hfp.mjs +2 -0
- package/dist/chunks/cli-1.1.35-873xb9w7.mjs +2 -0
- package/dist/chunks/cli-1.1.35-8b1qqrev.mjs +135 -0
- package/dist/chunks/cli-1.1.35-8d9f31xx.mjs +2 -0
- package/dist/chunks/cli-1.1.35-8qdvqjz3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-8ttx7y70.mjs +2 -0
- package/dist/chunks/cli-1.1.35-959df5vk.mjs +2 -0
- package/dist/chunks/cli-1.1.35-9817kkw4.mjs +3 -0
- package/dist/chunks/cli-1.1.35-9dkpx812.mjs +2 -0
- package/dist/chunks/cli-1.1.35-9tnc0a3x.mjs +2 -0
- package/dist/chunks/cli-1.1.35-9z4kwrpr.mjs +6 -0
- package/dist/chunks/cli-1.1.35-a7ygtwdr.mjs +5 -0
- package/dist/chunks/cli-1.1.35-a8677mcz.mjs +2 -0
- package/dist/chunks/cli-1.1.35-a9y8qxsj.mjs +6 -0
- package/dist/chunks/cli-1.1.35-an20pj6q.mjs +2 -0
- package/dist/chunks/cli-1.1.35-arj7fm1n.mjs +2 -0
- package/dist/chunks/cli-1.1.35-b0n88pf7.mjs +2 -0
- package/dist/chunks/cli-1.1.35-bbq4frhw.mjs +2 -0
- package/dist/chunks/cli-1.1.35-bhmad6rp.mjs +3 -0
- package/dist/chunks/cli-1.1.35-bka68014.mjs +2 -0
- package/dist/chunks/cli-1.1.35-bq7wadxz.mjs +2 -0
- package/dist/chunks/cli-1.1.35-c05841mj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-c3vqfrj0.mjs +45 -0
- package/dist/chunks/cli-1.1.35-c4thx500.mjs +26 -0
- package/dist/chunks/cli-1.1.35-cj42e7aq.mjs +24 -0
- package/dist/chunks/cli-1.1.35-cjdzbmst.mjs +2 -0
- package/dist/chunks/cli-1.1.35-cjsf2kh3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-cm0anghq.mjs +2 -0
- package/dist/chunks/cli-1.1.35-cp6wwahj.mjs +4 -0
- package/dist/chunks/cli-1.1.35-d6kd2zv5.mjs +2 -0
- package/dist/chunks/cli-1.1.35-d7n85zf2.mjs +2 -0
- package/dist/chunks/cli-1.1.35-da72zgbs.mjs +50 -0
- package/dist/chunks/cli-1.1.35-dfcj4fkz.mjs +2 -0
- package/dist/chunks/cli-1.1.35-dk4f6kgr.mjs +2 -0
- package/dist/chunks/cli-1.1.35-dnacc640.mjs +252 -0
- package/dist/chunks/cli-1.1.35-dw3fv0g8.mjs +60 -0
- package/dist/chunks/cli-1.1.35-dwaz1jv4.mjs +2 -0
- package/dist/chunks/cli-1.1.35-e08b8j98.mjs +18 -0
- package/dist/chunks/cli-1.1.35-eqcgyqke.mjs +39 -0
- package/dist/chunks/cli-1.1.35-ewtk80cp.mjs +3 -0
- package/dist/chunks/cli-1.1.35-f6sa351s.mjs +5 -0
- package/dist/chunks/cli-1.1.35-f8jgxvev.mjs +2 -0
- package/dist/chunks/cli-1.1.35-fgkpe9g9.mjs +2 -0
- package/dist/chunks/cli-1.1.35-fjtf9x1v.mjs +2 -0
- package/dist/chunks/cli-1.1.35-fr8gap0y.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ftvtbdm6.mjs +4 -0
- package/dist/chunks/cli-1.1.35-fwyc7v71.mjs +7 -0
- package/dist/chunks/cli-1.1.35-fz50q22a.mjs +2 -0
- package/dist/chunks/cli-1.1.35-g2vg6fw2.mjs +2 -0
- package/dist/chunks/cli-1.1.35-g7086zkj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-g74y15na.mjs +2 -0
- package/dist/chunks/cli-1.1.35-gcjyc9x3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-gr966v4t.mjs +2 -0
- package/dist/chunks/cli-1.1.35-h06ng57d.mjs +2 -0
- package/dist/chunks/cli-1.1.35-h262sgvd.mjs +4 -0
- package/dist/chunks/cli-1.1.35-h71ph12s.mjs +2 -0
- package/dist/chunks/cli-1.1.35-h7qpm4z8.mjs +3 -0
- package/dist/chunks/cli-1.1.35-hm1wpf1w.mjs +2 -0
- package/dist/chunks/cli-1.1.35-htvjtg4f.mjs +2 -0
- package/dist/chunks/cli-1.1.35-hwphkmp4.mjs +2 -0
- package/dist/chunks/cli-1.1.35-hy9jtbmb.mjs +5570 -0
- package/dist/chunks/cli-1.1.35-hyqzaskn.mjs +2 -0
- package/dist/chunks/cli-1.1.35-j1ypjsz5.mjs +2 -0
- package/dist/chunks/cli-1.1.35-j7xxkgf1.mjs +133 -0
- package/dist/chunks/cli-1.1.35-jajp8grw.mjs +2 -0
- package/dist/chunks/cli-1.1.35-jdqn8gkp.mjs +2 -0
- package/dist/chunks/cli-1.1.35-jfzp91gv.mjs +2 -0
- package/dist/chunks/cli-1.1.35-jn52m495.mjs +2 -0
- package/dist/chunks/cli-1.1.35-jq1wvnwe.mjs +17 -0
- package/dist/chunks/cli-1.1.35-jrexyjt9.mjs +2 -0
- package/dist/chunks/cli-1.1.35-jvhs6ypf.mjs +10 -0
- package/dist/chunks/cli-1.1.35-jx42cnmn.mjs +15 -0
- package/dist/chunks/cli-1.1.35-k6jh38a3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-kbrngf5h.mjs +2 -0
- package/dist/chunks/cli-1.1.35-kcgcs2dj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-kdw3m4z1.mjs +25 -0
- package/dist/chunks/cli-1.1.35-kh8s6rf2.mjs +4 -0
- package/dist/chunks/cli-1.1.35-kkhrpw6q.mjs +2 -0
- package/dist/chunks/cli-1.1.35-kp2hgrdb.mjs +24 -0
- package/dist/chunks/cli-1.1.35-ktb8z2s9.mjs +3 -0
- package/dist/chunks/cli-1.1.35-kvw88dmk.mjs +2 -0
- package/dist/chunks/cli-1.1.35-kz5tydkv.mjs +2 -0
- package/dist/chunks/cli-1.1.35-m20xytkt.mjs +2 -0
- package/dist/chunks/cli-1.1.35-m6efjk78.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ma6czbht.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ms3xdp4c.mjs +42 -0
- package/dist/chunks/cli-1.1.35-ms5g0jwj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-nahyfraf.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ne21zedp.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ngg53c9c.mjs +2 -0
- package/dist/chunks/cli-1.1.35-pa3rjff6.mjs +2 -0
- package/dist/chunks/cli-1.1.35-pgcrgrc3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-pms9wnd8.mjs +2 -0
- package/dist/chunks/cli-1.1.35-pr69kkhz.mjs +2 -0
- package/dist/chunks/cli-1.1.35-prf6sjs7.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ps66nanc.mjs +2 -0
- package/dist/chunks/cli-1.1.35-pycaqt81.mjs +2 -0
- package/dist/chunks/cli-1.1.35-q1axe4bk.mjs +2 -0
- package/dist/chunks/cli-1.1.35-qb0eb8th.mjs +2 -0
- package/dist/chunks/cli-1.1.35-qbahm5cg.mjs +2 -0
- package/dist/chunks/cli-1.1.35-qgjs5ex0.mjs +7 -0
- package/dist/chunks/cli-1.1.35-qnfq8bw4.mjs +4 -0
- package/dist/chunks/cli-1.1.35-qvdpj1qb.mjs +2 -0
- package/dist/chunks/cli-1.1.35-qxj39xzd.mjs +8 -0
- package/dist/chunks/cli-1.1.35-qygaywxg.mjs +34 -0
- package/dist/chunks/cli-1.1.35-r4rm2297.mjs +4 -0
- package/dist/chunks/cli-1.1.35-r80cjbt8.mjs +2 -0
- package/dist/chunks/cli-1.1.35-rmfsk9nw.mjs +2 -0
- package/dist/chunks/cli-1.1.35-s05wj44h.mjs +3 -0
- package/dist/chunks/cli-1.1.35-s066wwsj.mjs +3 -0
- package/dist/chunks/cli-1.1.35-s367nd6g.mjs +2 -0
- package/dist/chunks/cli-1.1.35-s3d0nchc.mjs +2 -0
- package/dist/chunks/cli-1.1.35-s6n3pb03.mjs +2 -0
- package/dist/chunks/cli-1.1.35-s85hd24a.mjs +16 -0
- package/dist/chunks/cli-1.1.35-sg0tga4d.mjs +2 -0
- package/dist/chunks/cli-1.1.35-swxcv3xf.mjs +6 -0
- package/dist/chunks/cli-1.1.35-szkn08rr.mjs +2 -0
- package/dist/chunks/cli-1.1.35-t2vx6b45.mjs +17 -0
- package/dist/chunks/cli-1.1.35-t5kexs8c.mjs +6 -0
- package/dist/chunks/cli-1.1.35-t8c5b3qj.mjs +4 -0
- package/dist/chunks/cli-1.1.35-ta15z2yx.mjs +10 -0
- package/dist/chunks/cli-1.1.35-tsrq3cxy.mjs +2 -0
- package/dist/chunks/cli-1.1.35-tsx8c30n.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ve889dy8.mjs +3 -0
- package/dist/chunks/cli-1.1.35-w1mzdb9s.mjs +2 -0
- package/dist/chunks/cli-1.1.35-w6kgq9n5.mjs +2 -0
- package/dist/chunks/cli-1.1.35-w73x0912.mjs +2 -0
- package/dist/chunks/cli-1.1.35-w9wzew2x.mjs +4 -0
- package/dist/chunks/cli-1.1.35-wmcp8vyj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-wpa5rfnt.mjs +12 -0
- package/dist/chunks/cli-1.1.35-wtjyzsga.mjs +2 -0
- package/dist/chunks/cli-1.1.35-ww28b5vj.mjs +2 -0
- package/dist/chunks/cli-1.1.35-x5ft52g3.mjs +2 -0
- package/dist/chunks/cli-1.1.35-xbhjhs1c.mjs +3 -0
- package/dist/chunks/cli-1.1.35-xdzsf38z.mjs +2 -0
- package/dist/chunks/cli-1.1.35-xs5mj8ee.mjs +21 -0
- package/dist/chunks/cli-1.1.35-y6bdqv7z.mjs +2 -0
- package/dist/chunks/cli-1.1.35-y6xhcehv.mjs +25 -0
- package/dist/chunks/cli-1.1.35-yns1ngnz.mjs +2 -0
- package/dist/chunks/cli-1.1.35-yta9zrj6.mjs +2 -0
- package/dist/chunks/cli-1.1.35-zbz78cha.mjs +9 -0
- package/dist/chunks/cli-1.1.35-zf7zq3kb.mjs +63 -0
- package/dist/chunks/client-1.1.35-2j9sd0sg.mjs +1 -0
- package/dist/chunks/color-1.1.35-nf9dqw3m.mjs +1 -0
- package/dist/chunks/compact-1.1.35-h8mqxxs0.mjs +2 -0
- package/dist/chunks/config-1.1.35-7t0vfbst.mjs +1 -0
- package/dist/chunks/config-1.1.35-cfhvn2fq.mjs +1 -0
- package/dist/chunks/constants-1.1.35-kst22e3x.mjs +1 -0
- package/dist/chunks/context-1.1.35-2nc26t9y.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.35-0ym77q3t.mjs +1 -0
- package/dist/chunks/conversation-1.1.35-0q4g6qt8.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.35-7a5mc98p.mjs +1 -0
- package/dist/chunks/copy-1.1.35-n37rvhzj.mjs +9 -0
- package/dist/chunks/cost-1.1.35-hjmwjk6s.mjs +1 -0
- package/dist/chunks/createSession-1.1.35-v7c15fc8.mjs +1 -0
- package/dist/chunks/debug-1.1.35-2hf8mhst.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.35-15jcbncs.mjs +1480 -0
- package/dist/chunks/desktop-1.1.35-6w6gjpff.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.35-eztj0q3f.mjs +1 -0
- package/dist/chunks/detection-1.1.35-rfkb2dxe.mjs +1 -0
- package/dist/chunks/diff-1.1.35-xb27tkcx.mjs +1 -0
- package/dist/chunks/doctor-1.1.35-ddg564v7.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.35-1gfkz0p1.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.35-5wsb4bkz.mjs +1 -0
- package/dist/chunks/effort-1.1.35-r53ttmc3.mjs +13 -0
- package/dist/chunks/engine-1.1.35-xthhbk9w.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.35-t6narn79.mjs +1 -0
- package/dist/chunks/envUtils-1.1.35-t6yq14ba.mjs +1 -0
- package/dist/chunks/errors-1.1.35-6m0kryy5.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.35-c7dhfj0z.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.35-39xh2ycx.mjs +1 -0
- package/dist/chunks/exit-1.1.35-zc8g5mnv.mjs +1 -0
- package/dist/chunks/explorer-1.1.35-784hbx9r.mjs +1 -0
- package/dist/chunks/export-1.1.35-5q6zdykx.mjs +2 -0
- package/dist/chunks/fast-1.1.35-fpsnnadp.mjs +1 -0
- package/dist/chunks/feedback-1.1.35-mdm8easg.mjs +16 -0
- package/dist/chunks/git-1.1.35-j2med41y.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.35-4xzf0z5w.mjs +1 -0
- package/dist/chunks/goal-1.1.35-yp44rshy.mjs +4 -0
- package/dist/chunks/headless-1.1.35-rxvrbe58.mjs +2 -0
- package/dist/chunks/heapdump-1.1.35-xkthm0kj.mjs +6 -0
- package/dist/chunks/help-1.1.35-6ppc7eee.mjs +1 -0
- package/dist/chunks/hooks-1.1.35-0e80c1wz.mjs +79 -0
- package/dist/chunks/hooks-1.1.35-f791gbgk.mjs +1 -0
- package/dist/chunks/ide-1.1.35-pz8m36fj.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.35-56y5k454.mjs +1 -0
- package/dist/chunks/import-1.1.35-fcn1y643.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.35-n6b7ppqk.mjs +1 -0
- package/dist/chunks/index-1.1.35-434cwyrk.mjs +1 -0
- package/dist/chunks/index-1.1.35-4ngbsgjz.mjs +1 -0
- package/dist/chunks/index-1.1.35-7nsjazx1.mjs +1 -0
- package/dist/chunks/index-1.1.35-8rnbf6ea.mjs +1 -0
- package/dist/chunks/index-1.1.35-e5amgccf.mjs +1 -0
- package/dist/chunks/index-1.1.35-eejex06g.mjs +5 -0
- package/dist/chunks/index-1.1.35-epm25vr2.mjs +9 -0
- package/dist/chunks/index-1.1.35-jxpschvm.mjs +1 -0
- package/dist/chunks/index-1.1.35-mdgw0byv.mjs +9 -0
- package/dist/chunks/index-1.1.35-n36e4pzf.mjs +1 -0
- package/dist/chunks/index-1.1.35-nnrmrgn5.mjs +30 -0
- package/dist/chunks/index-1.1.35-p1fttaxb.mjs +1 -0
- package/dist/chunks/index-1.1.35-p3ttta20.mjs +1 -0
- package/dist/chunks/index-1.1.35-pjz1v5fa.mjs +1 -0
- package/dist/chunks/index-1.1.35-pqswr512.mjs +23 -0
- package/dist/chunks/index-1.1.35-q464ks4t.mjs +1 -0
- package/dist/chunks/index-1.1.35-r5cefbke.mjs +2 -0
- package/dist/chunks/index-1.1.35-rf0z1h76.mjs +1 -0
- package/dist/chunks/index-1.1.35-wg3dwx0w.mjs +2 -0
- package/dist/chunks/index-1.1.35-xcm76j0n.mjs +1 -0
- package/dist/chunks/index-1.1.35-y7q90201.mjs +1 -0
- package/dist/chunks/index-1.1.35-y9scvznb.mjs +1 -0
- package/dist/chunks/index-1.1.35-yy5qsdz8.mjs +1 -0
- package/dist/chunks/init-1.1.35-hawgzj6s.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.35-aee08exn.mjs +1 -0
- package/dist/chunks/ink-1.1.35-9vhjhx60.mjs +1 -0
- package/dist/chunks/insights-1.1.35-2782qak6.mjs +870 -0
- package/dist/chunks/install-1.1.35-nptjkfk3.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.35-v4ahg5m0.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.35-rc6ch1k0.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.35-1755rb8a.mjs +1 -0
- package/dist/chunks/keybindings-1.1.35-9qz4bvrq.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.35-ff7kd1x3.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.35-nwtm30nv.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.35-jxqkv874.mjs +1 -0
- package/dist/chunks/log-1.1.35-h5x69tbw.mjs +1 -0
- package/dist/chunks/main-1.1.35-1e6064ax.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.35-s6143dpv.mjs +1 -0
- package/dist/chunks/mcp-1.1.35-0tswravz.mjs +1 -0
- package/dist/chunks/mcp-1.1.35-bdv2pgpj.mjs +17 -0
- package/dist/chunks/mcp-1.1.35-khngfse0.mjs +4 -0
- package/dist/chunks/mcpb-1.1.35-p4jn8q66.mjs +1 -0
- package/dist/chunks/memory-1.1.35-zvk9c80b.mjs +128 -0
- package/dist/chunks/model-1.1.35-j8hp9tcm.mjs +1 -0
- package/dist/chunks/model-1.1.35-mb41ksj1.mjs +2 -0
- package/dist/chunks/node-1.1.35-312s6waw.mjs +1 -0
- package/dist/chunks/node-1.1.35-zzk2fc7x.mjs +15 -0
- package/dist/chunks/oauth-1.1.35-2pwvpgey.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.35-6gbm01ym.mjs +14 -0
- package/dist/chunks/output-style-1.1.35-gbk18883.mjs +1 -0
- package/dist/chunks/package-F6O7J2XI-1.1.35-0z3efknf.mjs +1 -0
- package/dist/chunks/permissions-1.1.35-c11nnhp0.mjs +3 -0
- package/dist/chunks/permissions-1.1.35-vqtbrznv.mjs +1 -0
- package/dist/chunks/plan-1.1.35-5nz3m4kh.mjs +1 -0
- package/dist/chunks/plist-1.1.35-4bd0g91w.mjs +1 -0
- package/dist/chunks/plugin-1.1.35-0tg6jzxg.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.35-z1parxqs.mjs +1 -0
- package/dist/chunks/plugins-1.1.35-z14pz0dr.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.35-9dyzn96j.mjs +2 -0
- package/dist/chunks/print-1.1.35-89rm2txf.mjs +57 -0
- package/dist/chunks/process-1.1.35-7x8d7kyn.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.35-hj8xz358.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.35-egejjqfw.mjs +9 -0
- package/dist/chunks/prompt-1.1.35-aaz8q4j6.mjs +1 -0
- package/dist/chunks/prompt-1.1.35-f3fackax.mjs +1 -0
- package/dist/chunks/prompts-1.1.35-58wwfjfd.mjs +1 -0
- package/dist/chunks/provider-1.1.35-xwj158q8.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.35-6wzwgty6.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.35-z9h8ampz.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.35-7ewvmysm.mjs +26 -0
- package/dist/chunks/registry-1.1.35-y4zandg8.mjs +1 -0
- package/dist/chunks/release-notes-1.1.35-s31rkdxh.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.35-18xd3nwy.mjs +2 -0
- package/dist/chunks/remote-env-1.1.35-0v4tk5np.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.35-ev420056.mjs +1 -0
- package/dist/chunks/rename-1.1.35-m8chhebj.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.35-483j4br6.mjs +1 -0
- package/dist/chunks/resume-1.1.35-vaxxp18n.mjs +2 -0
- package/dist/chunks/rewind-1.1.35-scs8763b.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.35-9j5y8k9x.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.35-zjy5t791.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.35-qrmypwca.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.35-c2k8p98n.mjs +1 -0
- package/dist/chunks/session-1.1.35-78ew080a.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.35-0tyr8wn3.mjs +1 -0
- package/dist/chunks/settings-1.1.35-808m5j14.mjs +1 -0
- package/dist/chunks/setup-1.1.35-ebpewe9s.mjs +12 -0
- package/dist/chunks/sinks-1.1.35-nj35kk9h.mjs +1 -0
- package/dist/chunks/skills-1.1.35-zczajd48.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.35-wa5psc2j.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.35-0wac30ap.mjs +1 -0
- package/dist/chunks/state-1.1.35-gcp827qz.mjs +1 -0
- package/dist/chunks/stats-1.1.35-f1kndsge.mjs +1 -0
- package/dist/chunks/status-1.1.35-gwtdrkx2.mjs +1 -0
- package/dist/chunks/stickers-1.1.35-fa69zd3v.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.35-8wsc86ft.mjs +1 -0
- package/dist/chunks/tasks-1.1.35-0wd1t6v2.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.35-13qqfhxa.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.35-wdbfsm1h.mjs +1 -0
- package/dist/chunks/teleport-1.1.35-tmhzqx90.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.35-6xq5nt25.mjs +1 -0
- package/dist/chunks/theme-1.1.35-4b6gd2dx.mjs +1 -0
- package/dist/chunks/thinkback-1.1.35-x88djqdz.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.35-g6n14rjh.mjs +1 -0
- package/dist/chunks/toolPool-1.1.35-0qd67zrc.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.35-54dpcvf8.mjs +1 -0
- package/dist/chunks/tools-1.1.35-3hjsc7mm.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.35-szkdvqcz.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.35-4azkv4s5.mjs +69 -0
- package/dist/chunks/types-1.1.35-ncfe8wzg.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.35-d271ddpn.mjs +4 -0
- package/dist/chunks/update-1.1.35-5zabq625.mjs +72 -0
- package/dist/chunks/upload-1.1.35-gey82edy.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.35-bbztgd01.mjs +14 -0
- package/dist/chunks/usage-1.1.35-sx2ahz77.mjs +1 -0
- package/dist/chunks/util-1.1.35-aph6a5hy.mjs +1 -0
- package/dist/chunks/utils-1.1.35-avpezj08.mjs +1 -0
- package/dist/chunks/vim-1.1.35-e0jh10q6.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.35-baxd01b0.mjs +13 -0
- package/dist/chunks/wiki-1.1.35-cns1572n.mjs +132 -0
- package/dist/chunks/workflows-1.1.35-0r21887z.mjs +1 -0
- package/dist/chunks/worktree-1.1.35-0mj24by3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.35-6ej7pdyw.mjs +1 -0
- package/dist/chunks/wrapper-1.1.35-fpcy8t3v.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.34-5bkzspjw.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.34-v9m1h6yf.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.34-s8q45b8r.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.34-za20vma5.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.34-bfqcybrw.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.34-y3y8zaw0.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.34-2c48wrw2.mjs +0 -6
- package/dist/chunks/Doctor-1.1.34-5pfk2t4c.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.34-jhjx7d79.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.34-fdz2yay1.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.34-9kn20864.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.34-rs0n3tbm.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.34-mb74003t.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.34-bfdfnz31.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.34-mxhsj5pz.mjs +0 -1
- package/dist/chunks/REPL-1.1.34-g9xtcxfm.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.34-wjd1x7s6.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.34-zpsemk3f.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.34-gse2x86w.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.34-cp51s05w.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.34-pcx5e2xc.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.34-s3tfzny5.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.34-g8hnps71.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.34-a1bg24mk.mjs +0 -1
- package/dist/chunks/add-dir-1.1.34-fs7fa841.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.34-ybf25dvm.mjs +0 -1
- package/dist/chunks/agents-1.1.34-6xhfrt25.mjs +0 -3
- package/dist/chunks/agents-1.1.34-wsjsbryq.mjs +0 -110
- package/dist/chunks/api-1.1.34-99hm00p0.mjs +0 -1
- package/dist/chunks/asciicast-1.1.34-qydk3ezz.mjs +0 -1
- package/dist/chunks/auth-1.1.34-32n80bwr.mjs +0 -1
- package/dist/chunks/auth-1.1.34-mhmakxvf.mjs +0 -1
- package/dist/chunks/autoMode-1.1.34-jyxbmbqd.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.34-2b10v0j4.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.34-bd3mdsv9.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.34-v4c2njkh.mjs +0 -1
- package/dist/chunks/branch-1.1.34-949t9ara.mjs +0 -4
- package/dist/chunks/bridge-1.1.34-8jc0ek6w.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.34-kgr2qvyz.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.34-ygna8r55.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.34-saff9rp6.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.34-5apzxa58.mjs +0 -1
- package/dist/chunks/btw-1.1.34-4246e84n.mjs +0 -1
- package/dist/chunks/buddy-1.1.34-kj9mygnh.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.34-gyemr2df.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.34-fqz6k1qv.mjs +0 -4
- package/dist/chunks/caches-1.1.34-ebn0bryh.mjs +0 -1
- package/dist/chunks/cd-1.1.34-6458ex95.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.34-4jr3kmkg.mjs +0 -1
- package/dist/chunks/clear-1.1.34-da0gwb7n.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.34-410eb173.mjs +0 -1
- package/dist/chunks/cli-1.1.34-00hxx56p.mjs +0 -2
- package/dist/chunks/cli-1.1.34-0cmmxs6g.mjs +0 -9
- package/dist/chunks/cli-1.1.34-0f5qa0q0.mjs +0 -2
- package/dist/chunks/cli-1.1.34-0h4whfas.mjs +0 -6
- package/dist/chunks/cli-1.1.34-0kkae10p.mjs +0 -2
- package/dist/chunks/cli-1.1.34-0mjf3pve.mjs +0 -2
- package/dist/chunks/cli-1.1.34-0t1h2v5v.mjs +0 -2
- package/dist/chunks/cli-1.1.34-0zqthr52.mjs +0 -2
- package/dist/chunks/cli-1.1.34-1229x70a.mjs +0 -2
- package/dist/chunks/cli-1.1.34-166q8s04.mjs +0 -24
- package/dist/chunks/cli-1.1.34-1a3s3rqs.mjs +0 -3
- package/dist/chunks/cli-1.1.34-1ategs07.mjs +0 -2
- package/dist/chunks/cli-1.1.34-1m5v3ffj.mjs +0 -2
- package/dist/chunks/cli-1.1.34-1nxczs7m.mjs +0 -3
- package/dist/chunks/cli-1.1.34-1xg52b7q.mjs +0 -12
- package/dist/chunks/cli-1.1.34-20femz8z.mjs +0 -2
- package/dist/chunks/cli-1.1.34-20p72tmb.mjs +0 -20
- package/dist/chunks/cli-1.1.34-21nzcpj6.mjs +0 -5
- package/dist/chunks/cli-1.1.34-24h4yeqf.mjs +0 -2
- package/dist/chunks/cli-1.1.34-2tf44a9a.mjs +0 -2
- package/dist/chunks/cli-1.1.34-33s2xs9e.mjs +0 -2
- package/dist/chunks/cli-1.1.34-372a0qyj.mjs +0 -2
- package/dist/chunks/cli-1.1.34-37g65vk7.mjs +0 -2
- package/dist/chunks/cli-1.1.34-37mgsk8w.mjs +0 -2
- package/dist/chunks/cli-1.1.34-3pr2wgys.mjs +0 -2
- package/dist/chunks/cli-1.1.34-3qpxmhy6.mjs +0 -2
- package/dist/chunks/cli-1.1.34-3rcacat5.mjs +0 -3
- package/dist/chunks/cli-1.1.34-4v8eanby.mjs +0 -2
- package/dist/chunks/cli-1.1.34-4x915j9t.mjs +0 -2
- package/dist/chunks/cli-1.1.34-4y5bvnfe.mjs +0 -2
- package/dist/chunks/cli-1.1.34-4zj4kbw4.mjs +0 -2
- package/dist/chunks/cli-1.1.34-58ergrxf.mjs +0 -7
- package/dist/chunks/cli-1.1.34-59csbz1a.mjs +0 -60
- package/dist/chunks/cli-1.1.34-5ec767fj.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5ffnhvmt.mjs +0 -3
- package/dist/chunks/cli-1.1.34-5jdjfha3.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5jnn83ne.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5mg7y1hs.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5qzy93s7.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5t01yf6x.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5vktvncs.mjs +0 -2
- package/dist/chunks/cli-1.1.34-5z4epq5b.mjs +0 -4
- package/dist/chunks/cli-1.1.34-643n510j.mjs +0 -2
- package/dist/chunks/cli-1.1.34-6jkjn6pd.mjs +0 -2
- package/dist/chunks/cli-1.1.34-6ndxsqp1.mjs +0 -2
- package/dist/chunks/cli-1.1.34-70pxm3rb.mjs +0 -133
- package/dist/chunks/cli-1.1.34-79mxk0bc.mjs +0 -2
- package/dist/chunks/cli-1.1.34-7ad0dt89.mjs +0 -2
- package/dist/chunks/cli-1.1.34-7bcbswdn.mjs +0 -2
- package/dist/chunks/cli-1.1.34-7bxexffs.mjs +0 -6
- package/dist/chunks/cli-1.1.34-7n5bvchq.mjs +0 -2
- package/dist/chunks/cli-1.1.34-7npd3as5.mjs +0 -18
- package/dist/chunks/cli-1.1.34-7rd2xv38.mjs +0 -3
- package/dist/chunks/cli-1.1.34-80nhtgdq.mjs +0 -2
- package/dist/chunks/cli-1.1.34-83s0mm9a.mjs +0 -2
- package/dist/chunks/cli-1.1.34-84707tma.mjs +0 -5491
- package/dist/chunks/cli-1.1.34-859ap6f7.mjs +0 -2
- package/dist/chunks/cli-1.1.34-8r5c91mz.mjs +0 -2
- package/dist/chunks/cli-1.1.34-8s2k8jnr.mjs +0 -39
- package/dist/chunks/cli-1.1.34-8vfey6b5.mjs +0 -2
- package/dist/chunks/cli-1.1.34-92kps6jn.mjs +0 -63
- package/dist/chunks/cli-1.1.34-9jn997h8.mjs +0 -2
- package/dist/chunks/cli-1.1.34-9tctqya9.mjs +0 -6
- package/dist/chunks/cli-1.1.34-9tze8t1x.mjs +0 -2
- package/dist/chunks/cli-1.1.34-9z887t80.mjs +0 -2
- package/dist/chunks/cli-1.1.34-a6gj1b3g.mjs +0 -2
- package/dist/chunks/cli-1.1.34-a7et4z4n.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ajqsr81p.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ak4sm3t1.mjs +0 -2
- package/dist/chunks/cli-1.1.34-axnnzxpw.mjs +0 -2
- package/dist/chunks/cli-1.1.34-b9j8be5k.mjs +0 -2
- package/dist/chunks/cli-1.1.34-bt9brnrs.mjs +0 -2
- package/dist/chunks/cli-1.1.34-c3w48hst.mjs +0 -2
- package/dist/chunks/cli-1.1.34-cp457g25.mjs +0 -11
- package/dist/chunks/cli-1.1.34-cptp243m.mjs +0 -2
- package/dist/chunks/cli-1.1.34-cqxr7fsq.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ctjatnq8.mjs +0 -2
- package/dist/chunks/cli-1.1.34-czhcyzgw.mjs +0 -2
- package/dist/chunks/cli-1.1.34-d0sgyvr1.mjs +0 -4
- package/dist/chunks/cli-1.1.34-d5enzbca.mjs +0 -2
- package/dist/chunks/cli-1.1.34-d8bccy48.mjs +0 -7
- package/dist/chunks/cli-1.1.34-dceap5rk.mjs +0 -4
- package/dist/chunks/cli-1.1.34-dj3hwt6m.mjs +0 -3
- package/dist/chunks/cli-1.1.34-dvx08sv2.mjs +0 -2
- package/dist/chunks/cli-1.1.34-e1vkhvbm.mjs +0 -2
- package/dist/chunks/cli-1.1.34-e4f2qw6n.mjs +0 -2
- package/dist/chunks/cli-1.1.34-e7fd8zh6.mjs +0 -2
- package/dist/chunks/cli-1.1.34-e9rxgan0.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ehad4d4f.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ev8ffgr9.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ew7p2ct8.mjs +0 -2
- package/dist/chunks/cli-1.1.34-exsrnr6k.mjs +0 -2
- package/dist/chunks/cli-1.1.34-f806gv2e.mjs +0 -7
- package/dist/chunks/cli-1.1.34-faavcjnj.mjs +0 -2
- package/dist/chunks/cli-1.1.34-fd3cb4wv.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ff6hyf5n.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ffs3510y.mjs +0 -2
- package/dist/chunks/cli-1.1.34-fgbv1rw4.mjs +0 -17
- package/dist/chunks/cli-1.1.34-fgx6ej2m.mjs +0 -34
- package/dist/chunks/cli-1.1.34-fm4a40ta.mjs +0 -2
- package/dist/chunks/cli-1.1.34-fnds3msv.mjs +0 -6
- package/dist/chunks/cli-1.1.34-ftd1h34q.mjs +0 -2
- package/dist/chunks/cli-1.1.34-g0sqgp9m.mjs +0 -2
- package/dist/chunks/cli-1.1.34-g6kkzzxg.mjs +0 -2
- package/dist/chunks/cli-1.1.34-g7q1qz3e.mjs +0 -2
- package/dist/chunks/cli-1.1.34-g888fgsj.mjs +0 -4
- package/dist/chunks/cli-1.1.34-ge8xp99z.mjs +0 -2
- package/dist/chunks/cli-1.1.34-gmaedxb1.mjs +0 -26
- package/dist/chunks/cli-1.1.34-gsrndv90.mjs +0 -2
- package/dist/chunks/cli-1.1.34-h3ysfavt.mjs +0 -4
- package/dist/chunks/cli-1.1.34-h7927ctg.mjs +0 -2
- package/dist/chunks/cli-1.1.34-h7bcvee5.mjs +0 -2
- package/dist/chunks/cli-1.1.34-h9h6119y.mjs +0 -2
- package/dist/chunks/cli-1.1.34-hdva7ptv.mjs +0 -10
- package/dist/chunks/cli-1.1.34-he92bjvt.mjs +0 -2
- package/dist/chunks/cli-1.1.34-hpn89fzn.mjs +0 -2
- package/dist/chunks/cli-1.1.34-hpt8kch4.mjs +0 -2
- package/dist/chunks/cli-1.1.34-hrw37per.mjs +0 -8
- package/dist/chunks/cli-1.1.34-hsngtgbm.mjs +0 -24
- package/dist/chunks/cli-1.1.34-hyya784q.mjs +0 -2
- package/dist/chunks/cli-1.1.34-j8ab267c.mjs +0 -2
- package/dist/chunks/cli-1.1.34-jkdgk3ns.mjs +0 -2
- package/dist/chunks/cli-1.1.34-jrxh48kf.mjs +0 -4
- package/dist/chunks/cli-1.1.34-jsp1hy0k.mjs +0 -2
- package/dist/chunks/cli-1.1.34-k4zd38bd.mjs +0 -15
- package/dist/chunks/cli-1.1.34-k761g5m2.mjs +0 -2
- package/dist/chunks/cli-1.1.34-k8gmdsqr.mjs +0 -2
- package/dist/chunks/cli-1.1.34-mbeaqq0q.mjs +0 -6
- package/dist/chunks/cli-1.1.34-mhjjf878.mjs +0 -5
- package/dist/chunks/cli-1.1.34-n5t6xk0e.mjs +0 -2
- package/dist/chunks/cli-1.1.34-n5zh4wyg.mjs +0 -42
- package/dist/chunks/cli-1.1.34-ncz9dava.mjs +0 -2
- package/dist/chunks/cli-1.1.34-nr50vg8g.mjs +0 -25
- package/dist/chunks/cli-1.1.34-nxeb9r8s.mjs +0 -2
- package/dist/chunks/cli-1.1.34-p5v4dwpg.mjs +0 -4
- package/dist/chunks/cli-1.1.34-p7yjh2wb.mjs +0 -2
- package/dist/chunks/cli-1.1.34-p9rd6dtm.mjs +0 -2
- package/dist/chunks/cli-1.1.34-q5stzg7k.mjs +0 -2
- package/dist/chunks/cli-1.1.34-q83yydqv.mjs +0 -133
- package/dist/chunks/cli-1.1.34-q8chhxkt.mjs +0 -2
- package/dist/chunks/cli-1.1.34-qc15bhsg.mjs +0 -10
- package/dist/chunks/cli-1.1.34-qef4zhc3.mjs +0 -2
- package/dist/chunks/cli-1.1.34-qs805z7n.mjs +0 -9
- package/dist/chunks/cli-1.1.34-qwd6k5t4.mjs +0 -2
- package/dist/chunks/cli-1.1.34-r222exkd.mjs +0 -2
- package/dist/chunks/cli-1.1.34-r3kdjy4e.mjs +0 -2
- package/dist/chunks/cli-1.1.34-r5dphbcm.mjs +0 -2
- package/dist/chunks/cli-1.1.34-rb7wdjza.mjs +0 -45
- package/dist/chunks/cli-1.1.34-rkx3x9f6.mjs +0 -4
- package/dist/chunks/cli-1.1.34-rqkzp4n2.mjs +0 -2
- package/dist/chunks/cli-1.1.34-rs4xg86x.mjs +0 -2
- package/dist/chunks/cli-1.1.34-s4gsmtx9.mjs +0 -21
- package/dist/chunks/cli-1.1.34-s8c2c7g3.mjs +0 -3
- package/dist/chunks/cli-1.1.34-s9g6mekb.mjs +0 -2
- package/dist/chunks/cli-1.1.34-sfxba1xz.mjs +0 -3
- package/dist/chunks/cli-1.1.34-shm51n5s.mjs +0 -2
- package/dist/chunks/cli-1.1.34-sj1pcnn3.mjs +0 -2
- package/dist/chunks/cli-1.1.34-sq51za8b.mjs +0 -2
- package/dist/chunks/cli-1.1.34-sxpgdyxm.mjs +0 -2
- package/dist/chunks/cli-1.1.34-syx85e6f.mjs +0 -15
- package/dist/chunks/cli-1.1.34-t4rp44p7.mjs +0 -2
- package/dist/chunks/cli-1.1.34-tj5mvsam.mjs +0 -2
- package/dist/chunks/cli-1.1.34-tmwcg7q1.mjs +0 -2
- package/dist/chunks/cli-1.1.34-ty06ehzt.mjs +0 -3
- package/dist/chunks/cli-1.1.34-v2gbtt59.mjs +0 -50
- package/dist/chunks/cli-1.1.34-vdk5kjz7.mjs +0 -15
- package/dist/chunks/cli-1.1.34-vdwfqapw.mjs +0 -2
- package/dist/chunks/cli-1.1.34-vmnqkma9.mjs +0 -2
- package/dist/chunks/cli-1.1.34-vpwwhg8z.mjs +0 -2
- package/dist/chunks/cli-1.1.34-vrsb0pea.mjs +0 -2
- package/dist/chunks/cli-1.1.34-vz14r55x.mjs +0 -3
- package/dist/chunks/cli-1.1.34-w7vjt3vm.mjs +0 -2
- package/dist/chunks/cli-1.1.34-w9ek3z9c.mjs +0 -2
- package/dist/chunks/cli-1.1.34-webjc1s3.mjs +0 -2
- package/dist/chunks/cli-1.1.34-wfb66gsv.mjs +0 -2
- package/dist/chunks/cli-1.1.34-wh74w227.mjs +0 -2
- package/dist/chunks/cli-1.1.34-whbj9gb8.mjs +0 -24
- package/dist/chunks/cli-1.1.34-wqkce8kj.mjs +0 -2
- package/dist/chunks/cli-1.1.34-wwjkncsv.mjs +0 -203
- package/dist/chunks/cli-1.1.34-wwvcrp2d.mjs +0 -2
- package/dist/chunks/cli-1.1.34-xptd4xtb.mjs +0 -2
- package/dist/chunks/cli-1.1.34-xwg0x7p4.mjs +0 -5
- package/dist/chunks/cli-1.1.34-xx555z7d.mjs +0 -25
- package/dist/chunks/cli-1.1.34-yfasvar9.mjs +0 -2
- package/dist/chunks/cli-1.1.34-yk56k2na.mjs +0 -2
- package/dist/chunks/cli-1.1.34-yqryw36t.mjs +0 -2
- package/dist/chunks/cli-1.1.34-yqyrt954.mjs +0 -2
- package/dist/chunks/cli-1.1.34-yrk4mxjw.mjs +0 -16
- package/dist/chunks/cli-1.1.34-z14xw89f.mjs +0 -2
- package/dist/chunks/cli-1.1.34-z1htezxg.mjs +0 -2
- package/dist/chunks/cli-1.1.34-z1tmh10g.mjs +0 -2
- package/dist/chunks/cli-1.1.34-z84fkt5q.mjs +0 -2
- package/dist/chunks/cli-1.1.34-zpsaqq15.mjs +0 -17
- package/dist/chunks/client-1.1.34-4exntck8.mjs +0 -1
- package/dist/chunks/color-1.1.34-d4199wch.mjs +0 -1
- package/dist/chunks/compact-1.1.34-jwr60dt0.mjs +0 -2
- package/dist/chunks/config-1.1.34-acewhfv4.mjs +0 -1
- package/dist/chunks/config-1.1.34-tqzmnvs7.mjs +0 -1
- package/dist/chunks/constants-1.1.34-s2nkrx7g.mjs +0 -1
- package/dist/chunks/context-1.1.34-wc822wp5.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.34-59xb33ys.mjs +0 -1
- package/dist/chunks/conversation-1.1.34-5k03q5nt.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.34-dkmsvh40.mjs +0 -1
- package/dist/chunks/copy-1.1.34-efb24nm3.mjs +0 -9
- package/dist/chunks/cost-1.1.34-nqqv2xjh.mjs +0 -1
- package/dist/chunks/createSession-1.1.34-69d3ep6s.mjs +0 -1
- package/dist/chunks/debug-1.1.34-k568mcye.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.34-16tn959k.mjs +0 -1480
- package/dist/chunks/desktop-1.1.34-p9x626qf.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.34-rqyapz8m.mjs +0 -1
- package/dist/chunks/detection-1.1.34-5xfznq79.mjs +0 -1
- package/dist/chunks/diff-1.1.34-5ggzgzf5.mjs +0 -1
- package/dist/chunks/doctor-1.1.34-j6mbdd5g.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.34-spmjpktf.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.34-a0ptf6h4.mjs +0 -1
- package/dist/chunks/effort-1.1.34-9k8mc8ca.mjs +0 -13
- package/dist/chunks/engine-1.1.34-y28mg4na.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.34-wm7tybv6.mjs +0 -1
- package/dist/chunks/envUtils-1.1.34-rmsh5nt5.mjs +0 -1
- package/dist/chunks/errors-1.1.34-61fzsrh4.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.34-8x8b7p9t.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.34-zemxr8xw.mjs +0 -1
- package/dist/chunks/exit-1.1.34-sw6zmmgn.mjs +0 -1
- package/dist/chunks/explorer-1.1.34-3apnqz0a.mjs +0 -1
- package/dist/chunks/export-1.1.34-1hyv5efm.mjs +0 -2
- package/dist/chunks/fast-1.1.34-3d72mbz1.mjs +0 -1
- package/dist/chunks/feedback-1.1.34-k74bh5v8.mjs +0 -16
- package/dist/chunks/git-1.1.34-p3qv0ed3.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.34-hmjt89m3.mjs +0 -1
- package/dist/chunks/goal-1.1.34-m6dge19b.mjs +0 -4
- package/dist/chunks/headless-1.1.34-hpaadbg6.mjs +0 -2
- package/dist/chunks/heapdump-1.1.34-zc52x1pc.mjs +0 -6
- package/dist/chunks/help-1.1.34-0sgw7jbh.mjs +0 -1
- package/dist/chunks/hooks-1.1.34-8s6pawxx.mjs +0 -1
- package/dist/chunks/hooks-1.1.34-vnm6rywf.mjs +0 -79
- package/dist/chunks/ide-1.1.34-jbcf8ma9.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.34-zrk7wvw2.mjs +0 -1
- package/dist/chunks/import-1.1.34-4j35p307.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.34-pk5t3y0v.mjs +0 -1
- package/dist/chunks/index-1.1.34-086aty1n.mjs +0 -1
- package/dist/chunks/index-1.1.34-0q46c1bj.mjs +0 -1
- package/dist/chunks/index-1.1.34-2j48ar1m.mjs +0 -1
- package/dist/chunks/index-1.1.34-427npr7a.mjs +0 -1
- package/dist/chunks/index-1.1.34-50d0rg8h.mjs +0 -5
- package/dist/chunks/index-1.1.34-50j6q6gr.mjs +0 -1
- package/dist/chunks/index-1.1.34-ehvgt047.mjs +0 -1
- package/dist/chunks/index-1.1.34-faq1af2v.mjs +0 -1
- package/dist/chunks/index-1.1.34-fvrswew9.mjs +0 -2
- package/dist/chunks/index-1.1.34-mx39dxjj.mjs +0 -30
- package/dist/chunks/index-1.1.34-mxpb8hvr.mjs +0 -9
- package/dist/chunks/index-1.1.34-nye63dch.mjs +0 -1
- package/dist/chunks/index-1.1.34-qmmg0npy.mjs +0 -2
- package/dist/chunks/index-1.1.34-qxa3e3cv.mjs +0 -1
- package/dist/chunks/index-1.1.34-snehdv50.mjs +0 -1
- package/dist/chunks/index-1.1.34-t7jsxdbk.mjs +0 -1
- package/dist/chunks/index-1.1.34-wgm8z1dz.mjs +0 -1
- package/dist/chunks/index-1.1.34-wz64a3d4.mjs +0 -9
- package/dist/chunks/index-1.1.34-x83gwj6g.mjs +0 -23
- package/dist/chunks/index-1.1.34-xa114b8t.mjs +0 -1
- package/dist/chunks/index-1.1.34-y10pcdv1.mjs +0 -1
- package/dist/chunks/index-1.1.34-yqzmcm9y.mjs +0 -1
- package/dist/chunks/index-1.1.34-yxzywg42.mjs +0 -1
- package/dist/chunks/init-1.1.34-jdhgqsrc.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.34-b0awafmd.mjs +0 -1
- package/dist/chunks/ink-1.1.34-yb3z87en.mjs +0 -1
- package/dist/chunks/insights-1.1.34-a321wxgf.mjs +0 -870
- package/dist/chunks/install-1.1.34-064wyxwb.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.34-smwffy57.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.34-a5bwj8gk.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.34-pq1b6btm.mjs +0 -1
- package/dist/chunks/keybindings-1.1.34-rq312f3j.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.34-x006sta9.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.34-2w0hm9wz.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.34-t9s8mknk.mjs +0 -1
- package/dist/chunks/log-1.1.34-n41t6etn.mjs +0 -1
- package/dist/chunks/main-1.1.34-gh9n8dgw.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.34-qntg5ykr.mjs +0 -1
- package/dist/chunks/mcp-1.1.34-5mtgev8d.mjs +0 -17
- package/dist/chunks/mcp-1.1.34-61dcjzjk.mjs +0 -4
- package/dist/chunks/mcp-1.1.34-9d1py1ez.mjs +0 -1
- package/dist/chunks/mcpb-1.1.34-x9mxeryp.mjs +0 -1
- package/dist/chunks/memory-1.1.34-sys90hns.mjs +0 -128
- package/dist/chunks/model-1.1.34-v1r14fy7.mjs +0 -1
- package/dist/chunks/model-1.1.34-vks7w05g.mjs +0 -2
- package/dist/chunks/node-1.1.34-5b5b2m9b.mjs +0 -1
- package/dist/chunks/node-1.1.34-sdqnj3qm.mjs +0 -15
- package/dist/chunks/oauth-1.1.34-bbmwrswg.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.34-kj2a4r19.mjs +0 -14
- package/dist/chunks/output-style-1.1.34-a4dykckn.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.34-291qk0fk.mjs +0 -1
- package/dist/chunks/permissions-1.1.34-bqhsed60.mjs +0 -1
- package/dist/chunks/permissions-1.1.34-xkrhteme.mjs +0 -3
- package/dist/chunks/plan-1.1.34-j7qcpv9s.mjs +0 -1
- package/dist/chunks/plist-1.1.34-ykta36sg.mjs +0 -1
- package/dist/chunks/plugin-1.1.34-vszmzh0r.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.34-5xap799m.mjs +0 -1
- package/dist/chunks/plugins-1.1.34-6ea553qa.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.34-xy1pecch.mjs +0 -2
- package/dist/chunks/print-1.1.34-2gdkw86g.mjs +0 -57
- package/dist/chunks/process-1.1.34-fms89mxv.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.34-gcydk2hd.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.34-a3q257ff.mjs +0 -9
- package/dist/chunks/prompt-1.1.34-ctfxsw9h.mjs +0 -1
- package/dist/chunks/prompt-1.1.34-wp8mvh7t.mjs +0 -1
- package/dist/chunks/prompts-1.1.34-bmq3swzy.mjs +0 -1
- package/dist/chunks/provider-1.1.34-00xnjkhs.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.34-psred1pr.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.34-0vamj708.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.34-pmqr2nmf.mjs +0 -26
- package/dist/chunks/registry-1.1.34-sapmjhjz.mjs +0 -1
- package/dist/chunks/release-notes-1.1.34-p6wg8evp.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.34-cd8e00jp.mjs +0 -2
- package/dist/chunks/remote-env-1.1.34-fpepp6cm.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.34-mmxz0ypj.mjs +0 -1
- package/dist/chunks/rename-1.1.34-gwdavcb8.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.34-5yvyazea.mjs +0 -1
- package/dist/chunks/resume-1.1.34-9abwrf3b.mjs +0 -2
- package/dist/chunks/rewind-1.1.34-qf51de9x.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.34-dkd3s4x5.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.34-c0j2ym4w.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.34-ad556paa.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.34-1x2ddxv2.mjs +0 -1
- package/dist/chunks/session-1.1.34-h46ywygv.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.34-tc7rwcvm.mjs +0 -1
- package/dist/chunks/settings-1.1.34-bk3tb34s.mjs +0 -1
- package/dist/chunks/setup-1.1.34-3ddxnk01.mjs +0 -12
- package/dist/chunks/sinks-1.1.34-ww0tcz6j.mjs +0 -1
- package/dist/chunks/skills-1.1.34-3ybbxgjn.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.34-7z13z7v7.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.34-45fyr9wz.mjs +0 -1
- package/dist/chunks/state-1.1.34-pymefs1m.mjs +0 -1
- package/dist/chunks/stats-1.1.34-4jw41qjm.mjs +0 -1
- package/dist/chunks/status-1.1.34-r120pa8k.mjs +0 -1
- package/dist/chunks/stickers-1.1.34-5zsfjhdn.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.34-44r7jf62.mjs +0 -1
- package/dist/chunks/tasks-1.1.34-1mhjk4hs.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.34-jfmrh1r7.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.34-m47hpvj2.mjs +0 -1
- package/dist/chunks/teleport-1.1.34-g7gk9g3q.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.34-8e12gzad.mjs +0 -1
- package/dist/chunks/theme-1.1.34-bvmx3zyc.mjs +0 -1
- package/dist/chunks/thinkback-1.1.34-bz9h3qn7.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.34-azysb61e.mjs +0 -1
- package/dist/chunks/toolPool-1.1.34-tewk9s1e.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.34-70r6c6d3.mjs +0 -1
- package/dist/chunks/tools-1.1.34-a7jpjvb5.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.34-jhn5330j.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.34-8ve160tv.mjs +0 -69
- package/dist/chunks/types-1.1.34-0as4p0wf.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.34-b7bpj27y.mjs +0 -4
- package/dist/chunks/update-1.1.34-wnetpcv6.mjs +0 -72
- package/dist/chunks/upload-1.1.34-3cdkjhmm.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.34-x376823n.mjs +0 -14
- package/dist/chunks/usage-1.1.34-h5bv8trt.mjs +0 -1
- package/dist/chunks/util-1.1.34-7ctz504f.mjs +0 -1
- package/dist/chunks/utils-1.1.34-h9r9ybtj.mjs +0 -1
- package/dist/chunks/vim-1.1.34-4y4504z8.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.34-tnjnpc05.mjs +0 -13
- package/dist/chunks/wiki-1.1.34-53n04tv3.mjs +0 -132
- package/dist/chunks/workflows-1.1.34-zefy425g.mjs +0 -1
- package/dist/chunks/worktree-1.1.34-gzm7041w.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.34-x9qxm01a.mjs +0 -1
- package/dist/chunks/wrapper-1.1.34-jmcmxyrm.mjs +0 -7
- /package/dist/chunks/{cli-1.1.34-1426jsf4.mjs → cli-1.1.35-hnqagxgk.mjs} +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import{T as NJ,U as Mz,V as PJ,W as Sz,X as uz,Y as EJ}from"./cli-1.1.34-3qpxmhy6.mjs";import{_ as Az}from"./cli-1.1.34-yqryw36t.mjs";import{Sa as oz,Ta as _z,Ua as rz,Va as iz,Xa as nz,Ya as sz,Za as tz,_a as ez}from"./cli-1.1.34-g6kkzzxg.mjs";import{Ab as UJ,Bb as RJ,Cb as AJ,yb as _J,zb as CJ}from"./cli-1.1.34-5mg7y1hs.mjs";import{Eb as DJ}from"./cli-1.1.34-webjc1s3.mjs";import{Mb as BJ,Ob as FJ,Qb as WK}from"./cli-1.1.34-z14xw89f.mjs";import{te as az,ue as fJ}from"./cli-1.1.34-k4zd38bd.mjs";import{cf as Iz,ef as OJ,if as $J}from"./cli-1.1.34-tmwcg7q1.mjs";import{Ul as GJ,Uw as VJ,Vl as bz,Vw as $K,fm as KK}from"./cli-1.1.34-84707tma.mjs";import"./cli-1.1.34-sj1pcnn3.mjs";import"./cli-1.1.34-372a0qyj.mjs";import"./cli-1.1.34-vdk5kjz7.mjs";import"./cli-1.1.34-g0sqgp9m.mjs";import"./cli-1.1.34-fgbv1rw4.mjs";import"./cli-1.1.34-nxeb9r8s.mjs";import"./cli-1.1.34-9jn997h8.mjs";import"./cli-1.1.34-yfasvar9.mjs";import"./cli-1.1.34-9z887t80.mjs";import{AV as qJ,EV as YK}from"./cli-1.1.34-c3w48hst.mjs";import"./cli-1.1.34-3rcacat5.mjs";import"./cli-1.1.34-20femz8z.mjs";import"./cli-1.1.34-fgx6ej2m.mjs";import"./cli-1.1.34-59csbz1a.mjs";import"./cli-1.1.34-vz14r55x.mjs";import"./cli-1.1.34-s9g6mekb.mjs";import{HY as hz,KY as ZK}from"./cli-1.1.34-hpn89fzn.mjs";import"./cli-1.1.34-rqkzp4n2.mjs";import"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import"./cli-1.1.34-ff6hyf5n.mjs";import"./cli-1.1.34-bt9brnrs.mjs";import"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-k761g5m2.mjs";import"./cli-1.1.34-8vfey6b5.mjs";import"./cli-1.1.34-7ad0dt89.mjs";import"./cli-1.1.34-fnds3msv.mjs";import"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import{v6 as Q,w6 as xJ}from"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import{y6 as n,z6 as JK}from"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-cp457g25.mjs";import"./cli-1.1.34-ajqsr81p.mjs";import"./cli-1.1.34-e7fd8zh6.mjs";import"./cli-1.1.34-dvx08sv2.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-9tctqya9.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import"./cli-1.1.34-vpwwhg8z.mjs";import{$_ as eJ,M_ as $z,O_ as tJ,T_ as jJ,bca as yz,cca as cz,dca as dz,eca as MJ,n_ as HJ,nga as Rz,o_ as sJ,sga as zK}from"./cli-1.1.34-wwjkncsv.mjs";import{Fga as Hz,Pga as nJ,vga as lz,wga as TJ,yga as Cz}from"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import{Via as ZJ,Wia as vz,_ia as bJ,qja as q,tja as pz}from"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import{Qja as l,Xja as iJ}from"./cli-1.1.34-d0sgyvr1.mjs";import{bka as QJ,jka as rJ}from"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Jqa as p}from"./cli-1.1.34-4x915j9t.mjs";$K();eJ();sJ();pz();tJ();rJ();iJ();nJ();zK();JK();KK();import{randomUUID as WJ}from"crypto";import{hostname as XK,tmpdir as QK}from"os";import{basename as HK,join as jK,resolve as mz}from"path";xJ();fJ();MJ();TJ();pz();var wJ={type:"utf8",errorCorrectionLevel:"L",small:!0};async function kJ(z){return(await az(z,wJ)).split(`
|
|
2
|
-
`).filter((X)=>X.length>0)}function zJ(z){let J=z.write??((Z)=>process.stdout.write(Z)),X=z.verbose,W=0,O="idle",K="Ready",C="",F="",D="",B="",x="",R=null,_=[],M=!1,E=null,P=0,f=0,N=1,w=null,b="single-session",v=new Map,s=null,a=0;function jz(Z){let j=process.stdout.columns||80,T=0;for(let Wz of Z.split(`
|
|
3
|
-
`)){if(Wz.length===0){T++;continue}let Nz=lz(Wz);T+=Math.max(1,Math.ceil(Nz/j))}if(Z.endsWith(`
|
|
4
|
-
`))T--;return T}function h(Z){J(Z),W+=jz(Z)}function t(){if(W<=0)return;q(`[bridge:ui] clearStatusLines count=${W}`),J(`\x1B[${W}A`),J("\x1B[J"),W=0}function Qz(Z){t(),J(Z)}function qz(Z){kJ(Z).then((j)=>{_=j,S()}).catch((j)=>{q(`QR code generation failed: ${j}`,{level:"error"})})}function Jz(){t();let Z=yz[a%yz.length],j="";if(C)j+=Q.dim(" · ")+Q.dim(C);if(F)j+=Q.dim(" · ")+Q.dim(F);h(`${Q.yellow(Z)} ${Q.yellow("Connecting")}${j}
|
|
5
|
-
`)}function Yz(){r(),Jz(),s=setInterval(()=>{a++,Jz()},150)}function r(){if(s)clearInterval(s),s=null}function S(){if(O==="reconnecting"||O==="failed")return;t();let Z=O==="idle";if(M)for(let e of _)h(`${Q.dim(e)}
|
|
6
|
-
`);let j=cz,T=Z?Q.green:Q.cyan,Nz=(Z?Q.green:Q.cyan)(K),Oz="";if(C)Oz+=Q.dim(" · ")+Q.dim(C);if(F&&b!=="worktree")Oz+=Q.dim(" · ")+Q.dim(F);if(h(`${T(j)} ${Nz}${Oz}
|
|
7
|
-
`),N>1){let e=b==="worktree"?"New sessions will be created in an isolated worktree":"New sessions will be created in the current directory";h(` ${Q.dim(`Capacity: ${f}/${N} · ${e}`)}
|
|
8
|
-
`);for(let[,Kz]of v){let c=Kz.title?Cz(Kz.title,35):Q.dim("Attached"),Dz=ez(c,Kz.url),Pz=Kz.activity,H=Pz&&Pz.type!=="result"&&Pz.type!=="error"?Q.dim(` ${Cz(Pz.summary,40)}`):"";h(` ${Dz}${H}
|
|
9
|
-
`)}}if(N===1){let e=b==="single-session"?"Single session · exits when complete":b==="worktree"?`Capacity: ${f}/1 · New sessions will be created in an isolated worktree`:`Capacity: ${f}/1 · New sessions will be created in the current directory`;h(` ${Q.dim(e)}
|
|
10
|
-
`)}if(N===1&&!Z&&E&&Date.now()-P<oz)h(` ${Q.dim(Cz(E,60))}
|
|
11
|
-
`);let Xz=R??D;if(Xz){h(`
|
|
12
|
-
`);let e=Z?nz(Xz):sz(Xz),Kz=M?Q.dim.italic("space to hide QR code"):Q.dim.italic("space to show QR code"),c=w?Q.dim.italic(" · w to toggle spawn mode"):"";h(`${Q.dim(e)}
|
|
13
|
-
`),h(`${Kz}${c}
|
|
14
|
-
`)}}return{printBanner(Z,j){if(B=Z.sessionIngressUrl,x=j,D=rz(j,B),qz(D),X)J(Q.dim("Remote Control")+` v99.0.0
|
|
15
|
-
`);if(X){if(Z.spawnMode!=="single-session")J(Q.dim("Spawn mode: ")+`${Z.spawnMode}
|
|
16
|
-
`),J(Q.dim("Max concurrent sessions: ")+`${Z.maxSessions}
|
|
17
|
-
`);J(Q.dim("Environment ID: ")+`${j}
|
|
18
|
-
`)}if(Z.sandbox)J(Q.dim("Sandbox: ")+`${Q.green("Enabled")}
|
|
19
|
-
`);J(`
|
|
20
|
-
`),Yz()},logSessionStart(Z,j){if(X){let T=Cz(j,80);Qz(Q.dim(`[${_z()}]`)+` Session started: ${Q.white(`"${T}"`)} (${Q.dim(Z)})
|
|
21
|
-
`)}},logSessionComplete(Z,j){Qz(Q.dim(`[${_z()}]`)+` Session ${Q.green("completed")} (${Hz(j)}) ${Q.dim(Z)}
|
|
22
|
-
`)},logSessionFailed(Z,j){Qz(Q.dim(`[${_z()}]`)+` Session ${Q.red("failed")}: ${j} ${Q.dim(Z)}
|
|
23
|
-
`)},logStatus(Z){Qz(Q.dim(`[${_z()}]`)+` ${Z}
|
|
24
|
-
`)},logVerbose(Z){if(X)Qz(Q.dim(`[${_z()}] ${Z}`)+`
|
|
25
|
-
`)},logError(Z){Qz(Q.red(`[${_z()}] Error: ${Z}`)+`
|
|
26
|
-
`)},logReconnected(Z){Qz(Q.dim(`[${_z()}]`)+` ${Q.green("Reconnected")} after ${Hz(Z)}
|
|
27
|
-
`)},setRepoInfo(Z,j){C=Z,F=j},updateIdleStatus(){r(),O="idle",K="Ready",E=null,P=0,R=null,qz(D),S()},setAttached(Z){if(r(),O="attached",K="Connected",E=null,P=0,N<=1)R=iz(Z,x,B),qz(R);S()},updateReconnectingStatus(Z,j){if(r(),t(),O="reconnecting",M)for(let Wz of _)h(`${Q.dim(Wz)}
|
|
28
|
-
`);let T=yz[a%yz.length];a++,h(`${Q.yellow(T)} ${Q.yellow("Reconnecting")} ${Q.dim("·")} ${Q.dim(`retrying in ${Z}`)} ${Q.dim("·")} ${Q.dim(`disconnected ${j}`)}
|
|
29
|
-
`)},updateFailedStatus(Z){r(),t(),O="failed";let j="";if(C)j+=Q.dim(" · ")+Q.dim(C);if(F)j+=Q.dim(" · ")+Q.dim(F);if(h(`${Q.red(dz)} ${Q.red("Remote Control Failed")}${j}
|
|
30
|
-
`),h(`${Q.dim(tz)}
|
|
31
|
-
`),Z)h(`${Q.red(Z)}
|
|
32
|
-
`)},updateSessionStatus(Z,j,T,Wz){if(T.type==="tool_start")E=T.summary,P=Date.now();S()},clearStatus(){r(),t()},toggleQr(){M=!M,S()},updateSessionCount(Z,j,T){if(f===Z&&N===j&&b===T)return;f=Z,N=j,b=T},setSpawnModeDisplay(Z){if(w===Z)return;if(w=Z,Z)b=Z},addSession(Z,j){v.set(Z,{url:j})},updateSessionActivity(Z,j){let T=v.get(Z);if(!T)return;T.activity=j},setSessionTitle(Z,j){let T=v.get(Z);if(!T)return;if(T.title=j,O==="reconnecting"||O==="failed")return;if(N===1)O="titled",K=Cz(j,40);S()},removeSession(Z){v.delete(Z)},refreshDisplay(){if(O==="reconnecting"||O==="failed")return;S()}}}$J();ZK();bJ();$J();import{spawn as IJ}from"child_process";import{createWriteStream as vJ}from"fs";import{tmpdir as hJ}from"os";import{dirname as SJ,join as JJ}from"path";import{createInterface as KJ}from"readline";var mJ=10,gJ=10,uJ=new Set(["PATH","HOME","USERPROFILE","HOMEPATH","HOMEDRIVE","USERNAME","USER","LOGNAME","TEMP","TMP","TMPDIR","SYSTEMROOT","SYSTEMDRIVE","COMSPEC","WINDIR","LANG","LC_ALL","LC_CTYPE","NODE_OPTIONS","NODE_PATH","NODE_ENV","CLAUDE_CODE_ENVIRONMENT_KIND","CLAUDE_CODE_FORCE_SANDBOX","CLAUDIN_BUBBLEWRAP","CLAUDE_CODE_ENTRYPOINT","CLAUDIN_COORDINATOR_MODE","CLAUDE_CODE_PERMISSIONS_VERSION","CLAUDE_CODE_PERMISSIONS_SETTING","TERM","COLORTERM","FORCE_COLOR","NO_COLOR"]);function pJ(z,J){let X={};for(let W of Object.keys(z))if(uJ.has(W))X[W]=z[W];if(X.CLAUDE_CODE_OAUTH_TOKEN=void 0,X.CLAUDE_CODE_ENVIRONMENT_KIND="bridge",J.sandbox)X.CLAUDE_CODE_FORCE_SANDBOX="1";if(X.CLAUDE_CODE_SESSION_ACCESS_TOKEN=J.accessToken,X.CLAUDE_CODE_POST_FOR_SESSION_INGRESS_V2="1",J.useCcrV2)X.CLAUDE_CODE_USE_CCR_V2="1",X.CLAUDE_CODE_WORKER_EPOCH=String(J.workerEpoch);return X}function kz(z){return z.replace(/[^a-zA-Z0-9_-]/g,"_")}var lJ={Read:"Reading",Write:"Writing",Edit:"Editing",MultiEdit:"Editing",Bash:"Running",Glob:"Searching",Grep:"Searching",WebFetch:"Fetching",WebSearch:"Searching",Task:"Running task",FileReadTool:"Reading",FileWriteTool:"Writing",FileEditTool:"Editing",GlobTool:"Searching",GrepTool:"Searching",BashTool:"Running",NotebookEditTool:"Editing notebook",LSP:"LSP"};function cJ(z,J){let X=lJ[z]??z,W=J.file_path??J.filePath??J.pattern??J.command?.slice(0,60)??J.url??J.query??"";if(W)return`${X} ${W}`;return X}function dJ(z,J,X){let W;try{W=vz(z)}catch{return[]}if(!W||typeof W!=="object")return[];let O=W,K=[],C=Date.now();switch(O.type){case"assistant":{let F=O.message;if(!F)break;let D=F.content;if(!Array.isArray(D))break;for(let B of D){if(!B||typeof B!=="object")continue;let x=B;if(x.type==="tool_use"){let R=x.name??"Tool",_=x.input??{},M=cJ(R,_);K.push({type:"tool_start",summary:M,timestamp:C}),X(`[bridge:activity] sessionId=${J} tool_use name=${R} ${oJ(_)}`)}else if(x.type==="text"){let R=x.text??"";if(R.length>0)K.push({type:"text",summary:R.slice(0,80),timestamp:C}),X(`[bridge:activity] sessionId=${J} text "${R.slice(0,100)}"`)}}break}case"result":{let F=O.subtype;if(F==="success")K.push({type:"result",summary:"Session completed",timestamp:C}),X(`[bridge:activity] sessionId=${J} result subtype=success`);else if(F){let B=O.errors?.[0]??`Error: ${F}`;K.push({type:"error",summary:B,timestamp:C}),X(`[bridge:activity] sessionId=${J} result subtype=${F} error="${B}"`)}else X(`[bridge:activity] sessionId=${J} result subtype=undefined`);break}default:break}return K}function aJ(z){if(z.parent_tool_use_id!=null||z.isSynthetic||z.isReplay)return;let X=z.message?.content,W;if(typeof X==="string")W=X;else if(Array.isArray(X)){for(let O of X)if(O&&typeof O==="object"&&O.type==="text"){W=O.text;break}}return W=W?.trim(),W?W:void 0}function oJ(z){let J=[];for(let[X,W]of Object.entries(z)){if(typeof W==="string")J.push(`${X}="${W.slice(0,100)}"`);if(J.length>=3)break}return J.join(" ")}function YJ(z){return{spawn(J,X){let W=kz(J.sessionId),O;if(z.debugFile){let N=z.debugFile.lastIndexOf(".");if(N>0)O=`${z.debugFile.slice(0,N)}-${W}${z.debugFile.slice(N)}`;else O=`${z.debugFile}-${W}`}else if(z.verbose)O=JJ(hJ(),"claude",`bridge-session-${W}.log`);let K=null,C;if(z.debugFile)C=JJ(SJ(z.debugFile),`bridge-transcript-${W}.jsonl`),K=vJ(C,{flags:"a"}),K.on("error",(N)=>{z.onDebug(`[bridge:session] Transcript write error: ${N.message}`),K=null}),z.onDebug(`[bridge:session] Transcript log: ${C}`);let F=[...z.scriptArgs,"--print","--sdk-url",J.sdkUrl,"--session-id",J.sessionId,"--input-format","stream-json","--output-format","stream-json","--replay-user-messages",...z.verbose?["--verbose"]:[],...O?["--debug-file",O]:[],...z.permissionMode?["--permission-mode",z.permissionMode]:[]],D=pJ(z.env,{accessToken:J.accessToken,useCcrV2:J.useCcrV2??!1,workerEpoch:J.workerEpoch,sandbox:z.sandbox});if(z.onDebug(`[bridge:session] Spawning sessionId=${J.sessionId} sdkUrl=${J.sdkUrl} accessToken=${J.accessToken?"present":"MISSING"}`),z.onDebug(`[bridge:session] Child args: ${F.join(" ")}`),O)z.onDebug(`[bridge:session] Debug log: ${O}`);let B=IJ(z.execPath,F,{cwd:X,stdio:["pipe","pipe","pipe"],env:D,windowsHide:!0});z.onDebug(`[bridge:session] sessionId=${J.sessionId} pid=${B.pid}`);let x=[],R=null,_=[],M=!1,E=!1;if(B.stderr)KJ({input:B.stderr}).on("line",(w)=>{if(z.verbose)process.stderr.write(w+`
|
|
33
|
-
`);if(_.length>=gJ)_.shift();_.push(w)});if(B.stdout)KJ({input:B.stdout}).on("line",(w)=>{if(K)K.write(w+`
|
|
34
|
-
`);if(z.onDebug(`[bridge:ws] sessionId=${J.sessionId} <<< ${Iz(w)}`),z.verbose)process.stderr.write(w+`
|
|
35
|
-
`);let b=dJ(w,J.sessionId,z.onDebug);for(let v of b){if(x.length>=mJ)x.shift();x.push(v),R=v,z.onActivity?.(J.sessionId,v)}{let v;try{v=vz(w)}catch{}if(v&&typeof v==="object"){let s=v;if(s.type==="control_request"){if(s.request?.subtype==="can_use_tool"&&z.onPermissionRequest)z.onPermissionRequest(J.sessionId,v,J.accessToken)}else if(s.type==="user"&&!E&&J.onFirstUserMessage){let a=aJ(s);if(a)E=!0,J.onFirstUserMessage(a)}}}});let P=new Promise((N)=>{B.on("close",(w,b)=>{if(K)K.end(),K=null;if(b==="SIGTERM"||b==="SIGINT")z.onDebug(`[bridge:session] sessionId=${J.sessionId} interrupted signal=${b} pid=${B.pid}`),N("interrupted");else if(w===0)z.onDebug(`[bridge:session] sessionId=${J.sessionId} completed exit_code=0 pid=${B.pid}`),N("completed");else z.onDebug(`[bridge:session] sessionId=${J.sessionId} failed exit_code=${w} pid=${B.pid}`),N("failed")}),B.on("error",(w)=>{z.onDebug(`[bridge:session] sessionId=${J.sessionId} spawn error: ${w.message}`),N("failed")})}),f={sessionId:J.sessionId,done:P,activities:x,accessToken:J.accessToken,lastStderr:_,get currentActivity(){return R},kill(){if(!B.killed)if(z.onDebug(`[bridge:session] Sending SIGTERM to sessionId=${J.sessionId} pid=${B.pid}`),process.platform==="win32")B.kill();else B.kill("SIGTERM")},forceKill(){if(!M&&B.pid)if(M=!0,z.onDebug(`[bridge:session] Sending SIGKILL to sessionId=${J.sessionId} pid=${B.pid}`),process.platform==="win32")B.kill();else B.kill("SIGKILL")},writeStdin(N){if(B.stdin&&!B.stdin.destroyed)z.onDebug(`[bridge:ws] sessionId=${J.sessionId} >>> ${Iz(N)}`),B.stdin.write(N)},updateAccessToken(N){f.accessToken=N,f.writeStdin(ZJ({type:"update_environment_variables",variables:{CLAUDE_CODE_SESSION_ACCESS_TOKEN:N}})+`
|
|
36
|
-
`),z.onDebug(`[bridge:session] Sent token refresh via stdin for sessionId=${J.sessionId}`)}};return f}}}YK();WK();var GK={connInitialMs:2000,connCapMs:120000,connGiveUpMs:600000,generalInitialMs:500,generalCapMs:30000,generalGiveUpMs:600000},VK=1000,LJ=32;async function yJ(){return jJ("tengu_ccr_bridge_multi_session")}function XJ(z){return z.connCapMs*2}function qK(){if(HJ()||!process.argv[1])return[];return[process.argv[1]]}function OK(z,J,X){try{return z.spawn(J,X)}catch(W){let O=l(W);return Rz(Error(`Session spawn failed: ${O}`)),O}}async function BK(z,J,X,W,O,K,C,F=GK,D,B){let x=new AbortController;if(C.aborted)x.abort();else C.addEventListener("abort",()=>x.abort(),{once:!0});let R=x.signal,_=new Map,M=new Map,E=new Map,P=new Map,f=new Map,N=new Map,w=new Set,b=new Map,v=new Set,s=new Set,a=EJ(R);async function jz(){let $=!1,H=!1,L=[];for(let[G]of _){let U=E.get(G),I=f.get(G);if(!U||!I)continue;try{await W.heartbeatWork(J,U,I),$=!0}catch(m){if(q(`[bridge:heartbeat] Failed for sessionId=${G} workId=${U}: ${l(m)}`),m instanceof Mz)if(m.status===401||m.status===403)L.push(G);else H=!0}}for(let G of L){K.logVerbose(`Session ${G} token expired — re-queuing via bridge/reconnect`);try{await W.reconnectSession(J,G),q(`[bridge:heartbeat] Re-queued sessionId=${G} via bridge/reconnect`)}catch(U){K.logError(`Failed to refresh session ${G} token: ${l(U)}`),q(`[bridge:heartbeat] reconnectSession(${G}) failed: ${l(U)}`,{level:"error"})}}if(H)return"fatal";if(L.length>0)return"auth_failed";return $?"ok":"failed"}let h=new Set,t=B?DJ({getAccessToken:B,onRefresh:($,H)=>{let L=_.get($);if(!L)return;if(h.has($))K.logVerbose(`Refreshing session ${$} token via bridge/reconnect`),W.reconnectSession(J,$).catch((G)=>{K.logError(`Failed to refresh session ${$} token: ${l(G)}`),q(`[bridge:token] reconnectSession(${$}) failed: ${l(G)}`,{level:"error"})});else L.updateAccessToken(H)},label:"bridge"}):null,Qz=Date.now(),qz=new Set;function Jz($){qz.add($),$.finally(()=>qz.delete($))}let Yz=0,r=0,S=null,Z=null,j=null,T=null,Wz=!1;if(q(`[bridge:work] Starting poll loop spawnMode=${z.spawnMode} maxSessions=${z.maxSessions} environmentId=${J}`),$z("info","bridge_loop_started",{max_sessions:z.maxSessions,spawn_mode:z.spawnMode}),K.printBanner(z,J),K.updateSessionCount(0,z.maxSessions,z.spawnMode),D)K.setAttached(D);function Nz(){K.updateSessionCount(_.size,z.maxSessions,z.spawnMode);for(let[m,Y]of _){let y=Y.currentActivity;if(y)K.updateSessionActivity(P.get(m)??m,y)}if(_.size===0){K.updateIdleStatus();return}let[$,H]=[..._.entries()].pop(),L=M.get($);if(!L)return;let G=H.currentActivity;if(!G||G.type==="result"||G.type==="error"){if(z.maxSessions>1)K.refreshDisplay();return}let U=Hz(Date.now()-L),I=H.activities.filter((m)=>m.type==="tool_start").slice(-5).map((m)=>m.summary);K.updateSessionStatus($,U,G,I)}function Oz(){Xz(),Nz(),T=setInterval(Nz,VK)}function Xz(){if(T)clearInterval(T),T=null}function e($,H,L){return(G)=>{let U=E.get($);_.delete($),M.delete($),E.delete($),f.delete($);let I=P.get($)??$;P.delete($),K.removeSession(I),s.delete(I),h.delete($);let m=N.get($);if(m)clearTimeout(m),N.delete($);t?.cancel($),a.wake();let Y=v.delete($),y=Y&&G==="interrupted"?"failed":G,g=Date.now()-H;q(`[bridge:session] sessionId=${$} workId=${U??"unknown"} exited status=${y} duration=${Hz(g)}`),$z("info","bridge_session_done",{status:y,duration_ms:g}),K.clearStatus(),Xz();let i=L.lastStderr.length>0?L.lastStderr.join(`
|
|
37
|
-
`):void 0,Zz;switch(y){case"completed":K.logSessionComplete($,g);break;case"failed":if(!Y&&!R.aborted)Zz=i??"Process exited with error",K.logSessionFailed($,Zz),Rz(Error(`Bridge session failed: ${Zz}`));break;case"interrupted":K.logVerbose(`Session ${$} interrupted`);break}if(y!=="interrupted"&&U)Jz(Tz(W,J,U,K,F.stopWorkBaseDelayMs)),w.add(U);let d=b.get($);if(d)b.delete($),Jz(bz(d.worktreePath,d.worktreeBranch,d.gitRoot,d.hookBased).catch((zz)=>K.logVerbose(`Failed to remove worktree ${d.worktreePath}: ${l(zz)}`)));if(y!=="interrupted"&&!R.aborted)if(z.spawnMode!=="single-session")Jz(W.archiveSession(I).catch((zz)=>K.logVerbose(`Failed to archive session ${$}: ${l(zz)}`))),q(`[bridge:session] Session ${y}, returning to idle (multi-session mode)`);else{q(`[bridge:session] Session ${y}, aborting poll loop to tear down environment`),x.abort();return}if(!R.aborted)Oz()}}if(!D)Oz();while(!R.aborted){let $=Az();try{let H=await W.pollForWork(J,X,R,$.reclaim_older_than_ms);if(S!==null||Z!==null){let Y=Date.now()-(S??Z??Date.now());K.logReconnected(Y),q(`[bridge:poll] Reconnected after ${Hz(Y)}`)}if(Yz=0,r=0,S=null,Z=null,j=null,!H){if(_.size>=z.maxSessions){let y=$.multisession_poll_interval_ms_at_capacity;if($.non_exclusive_heartbeat_interval_ms>0){let g=y>0?Date.now()+y:null,i="ok",Zz=0;while(!R.aborted&&_.size>=z.maxSessions&&(g===null||Date.now()<g)){let zz=Az();if(zz.non_exclusive_heartbeat_interval_ms<=0)break;let Bz=a.signal();if(i=await jz(),i==="auth_failed"||i==="fatal"){Bz.cleanup();break}Zz++,await n(zz.non_exclusive_heartbeat_interval_ms,Bz.signal),Bz.cleanup()}if((i==="auth_failed"||i==="fatal"?i:R.aborted?"shutdown":_.size<z.maxSessions?"capacity_changed":g!==null&&Date.now()>=g?"poll_due":"config_disabled")==="poll_due")q(`[bridge:poll] Heartbeat poll_due after ${Zz} cycles — falling through to pollForWork`);if(i==="auth_failed"||i==="fatal"){let zz=a.signal();await n(y>0?y:$.non_exclusive_heartbeat_interval_ms,zz.signal),zz.cleanup()}}else if(y>0){let g=a.signal();await n(y,g.signal),g.cleanup()}}else{let y=_.size>0?$.multisession_poll_interval_ms_partial_capacity:$.multisession_poll_interval_ms_not_at_capacity;await n(y,R)}continue}let G=_.size>=z.maxSessions;if(w.has(H.id)){if(q(`[bridge:work] Skipping already-completed workId=${H.id}`),G){let Y=a.signal();if($.non_exclusive_heartbeat_interval_ms>0)await jz(),await n($.non_exclusive_heartbeat_interval_ms,Y.signal);else if($.multisession_poll_interval_ms_at_capacity>0)await n($.multisession_poll_interval_ms_at_capacity,Y.signal);Y.cleanup()}else await n(1000,R);continue}let U;try{U=_J(H.secret)}catch(Y){let y=l(Y);if(K.logError(`Failed to decode work secret for workId=${H.id}: ${y}`),w.add(H.id),Jz(Tz(W,J,H.id,K,F.stopWorkBaseDelayMs)),G){let g=a.signal();if($.non_exclusive_heartbeat_interval_ms>0)await jz(),await n($.non_exclusive_heartbeat_interval_ms,g.signal);else if($.multisession_poll_interval_ms_at_capacity>0)await n($.multisession_poll_interval_ms_at_capacity,g.signal);g.cleanup()}continue}let I=async()=>{q(`[bridge:work] Acknowledging workId=${H.id}`);try{await W.acknowledgeWork(J,H.id,U.session_ingress_token)}catch(Y){q(`[bridge:work] Acknowledge failed workId=${H.id}: ${l(Y)}`)}},m=H.data.type;switch(H.data.type){case"healthcheck":await I(),q("[bridge:work] Healthcheck received"),K.logVerbose("Healthcheck received");break;case"session":{let Y=H.data.id;try{NJ(Y,"session_id")}catch{await I(),K.logError(`Invalid session_id received: ${Y}`);break}let y=_.get(Y);if(y){y.updateAccessToken(U.session_ingress_token),f.set(Y,U.session_ingress_token),E.set(Y,H.id),t?.schedule(Y,U.session_ingress_token),q(`[bridge:work] Updated access token for existing sessionId=${Y} workId=${H.id}`),await I();break}if(_.size>=z.maxSessions){q(`[bridge:work] At capacity (${_.size}/${z.maxSessions}), cannot spawn new session for workId=${H.id}`);break}await I();let g=Date.now(),i,Zz=!1,d;if(U.use_code_sessions===!0||QJ(process.env.CLAUDE_BRIDGE_USE_CCR_V2)){i=RJ(z.apiBaseUrl,Y);for(let V=1;V<=2;V++)try{d=await AJ(i,U.session_ingress_token),Zz=!0,q(`[bridge:session] CCR v2: registered worker sessionId=${Y} epoch=${d} attempt=${V}`);break}catch(k){let u=l(k);if(V<2){if(q(`[bridge:session] CCR v2: registerWorker attempt ${V} failed, retrying: ${u}`),await n(2000,R),R.aborted)break;continue}K.logError(`CCR v2 worker registration failed for session ${Y}: ${u}`),Rz(Error(`registerWorker failed: ${u}`)),w.add(H.id),Jz(Tz(W,J,H.id,K,F.stopWorkBaseDelayMs))}if(!Zz)break}else i=CJ(z.sessionIngressUrl,Y);let{spawnMode:zz,dir:Bz}=z,fz=0;if(zz==="worktree"&&(D===void 0||!UJ(Y,D))){let V=Date.now();try{let k=await GJ(`bridge-${kz(Y)}`);fz=Date.now()-V,b.set(Y,{worktreePath:k.worktreePath,worktreeBranch:k.worktreeBranch,gitRoot:k.gitRoot,hookBased:k.hookBased}),Bz=k.worktreePath,q(`[bridge:session] Created worktree for sessionId=${Y} at ${k.worktreePath}`)}catch(k){let u=l(k);K.logError(`Failed to create worktree for session ${Y}: ${u}`),Rz(Error(`Worktree creation failed: ${u}`)),w.add(H.id),Jz(Tz(W,J,H.id,K,F.stopWorkBaseDelayMs));break}}q(`[bridge:session] Spawning sessionId=${Y} sdkUrl=${i}`);let o=hz(Y),Uz=OK(O,{sessionId:Y,sdkUrl:i,accessToken:U.session_ingress_token,useCcrV2:Zz,workerEpoch:d,onFirstUserMessage:(V)=>{if(s.has(o))return;s.add(o);let k=LK(V);K.setSessionTitle(o,k),q(`[bridge:title] derived title for ${o}: ${k}`),import("./createSession-1.1.34-69d3ep6s.mjs").then(({updateBridgeSessionTitle:u})=>u(o,k,{baseUrl:z.apiBaseUrl})).catch((u)=>q(`[bridge:title] failed to update title for ${o}: ${u}`,{level:"error"}))}},Bz);if(typeof Uz==="string"){K.logError(`Failed to spawn session ${Y}: ${Uz}`);let V=b.get(Y);if(V)b.delete(Y),Jz(bz(V.worktreePath,V.worktreeBranch,V.gitRoot,V.hookBased).catch((k)=>K.logVerbose(`Failed to remove worktree ${V.worktreePath}: ${l(k)}`)));w.add(H.id),Jz(Tz(W,J,H.id,K,F.stopWorkBaseDelayMs));break}let Fz=Uz,wz=Date.now()-g;$z("info","bridge_session_started",{spawn_mode:zz,in_worktree:b.has(Y),spawn_duration_ms:wz,worktree_create_ms:fz}),_.set(Y,Fz),E.set(Y,H.id),f.set(Y,U.session_ingress_token),P.set(Y,o);let Ez=Date.now();M.set(Y,Ez),K.logSessionStart(Y,`Session ${Y}`);let Gz=kz(Y),Vz;if(z.debugFile){let V=z.debugFile.lastIndexOf(".");if(V>0)Vz=`${z.debugFile.slice(0,V)}-${Gz}${z.debugFile.slice(V)}`;else Vz=`${z.debugFile}-${Gz}`}else if(z.verbose)Vz=jK(QK(),"claude",`bridge-session-${Gz}.log`);if(Vz)K.logVerbose(`Debug log: ${Vz}`);K.addSession(o,VJ(o,z.sessionIngressUrl)),Oz(),K.setAttached(o),yK(o,z.apiBaseUrl).then((V)=>{if(V&&_.has(Y))s.add(o),K.setSessionTitle(o,V),q(`[bridge:title] server title for ${o}: ${V}`)}).catch((V)=>q(`[bridge:title] failed to fetch title for ${o}: ${V}`,{level:"error"}));let A=z.sessionTimeoutMs??BJ;if(A>0){let V=setTimeout(_K,A,Y,A,K,v,Fz);N.set(Y,V)}if(Zz)h.add(Y);t?.schedule(Y,U.session_ingress_token),Fz.done.then(e(Y,Ez,Fz));break}default:await I(),q(`[bridge:work] Unknown work type: ${m}, skipping`);break}if(G){let Y=a.signal();if($.non_exclusive_heartbeat_interval_ms>0)await jz(),await n($.non_exclusive_heartbeat_interval_ms,Y.signal);else if($.multisession_poll_interval_ms_at_capacity>0)await n($.multisession_poll_interval_ms_at_capacity,Y.signal);Y.cleanup()}}catch(H){if(R.aborted)break;if(H instanceof Mz){if(Wz=!0,Sz(H.errorType))K.logStatus(H.message);else if(uz(H))q(`[bridge:work] Suppressed 403 error: ${H.message}`);else K.logError(H.message),Rz(H);$z(Sz(H.errorType)?"info":"error","bridge_fatal_error",{status:H.status,error_type:H.errorType});break}let L=OJ(H);if(NK(H)||PK(H)){let G=Date.now();if(j!==null&&G-j>XJ(F))q(`[bridge:work] Detected system sleep (${Math.round((G-j)/1000)}s gap), resetting error budget`),$z("info","bridge_poll_sleep_detected",{gapMs:G-j}),S=null,Yz=0,Z=null,r=0;if(j=G,!S)S=G;let U=G-S;if(U>=F.connGiveUpMs){K.logError(`Server unreachable for ${Math.round(U/60000)} minutes, giving up.`),$z("error","bridge_poll_give_up",{error_type:"connection",elapsed_ms:U}),Wz=!0;break}Z=null,r=0,Yz=Yz?Math.min(Yz*2,F.connCapMs):F.connInitialMs;let I=gz(Yz);if(K.logVerbose(`Connection error, retrying in ${xz(I)} (${Math.round(U/1000)}s elapsed): ${L}`),K.updateReconnectingStatus(xz(I),Hz(U)),Az().non_exclusive_heartbeat_interval_ms>0)await jz();await n(I,R)}else{let G=Date.now();if(j!==null&&G-j>XJ(F))q(`[bridge:work] Detected system sleep (${Math.round((G-j)/1000)}s gap), resetting error budget`),$z("info","bridge_poll_sleep_detected",{gapMs:G-j}),S=null,Yz=0,Z=null,r=0;if(j=G,!Z)Z=G;let U=G-Z;if(U>=F.generalGiveUpMs){K.logError(`Persistent errors for ${Math.round(U/60000)} minutes, giving up.`),$z("error","bridge_poll_give_up",{error_type:"general",elapsed_ms:U}),Wz=!0;break}S=null,Yz=0,r=r?Math.min(r*2,F.generalCapMs):F.generalInitialMs;let I=gz(r);if(K.logVerbose(`Poll failed, retrying in ${xz(I)} (${Math.round(U/1000)}s elapsed): ${L}`),K.updateReconnectingStatus(xz(I),Hz(U)),Az().non_exclusive_heartbeat_interval_ms>0)await jz();await n(I,R)}}}Xz(),K.clearStatus();let Kz=Date.now()-Qz;$z("info","bridge_shutdown",{active_sessions:_.size,loop_duration_ms:Kz});let c=new Set(_.keys());if(D)c.add(D);let Dz=new Map(P);if(_.size>0){q(`[bridge:shutdown] Shutting down ${_.size} active session(s)`),K.logStatus(`Shutting down ${_.size} active session(s)…`);let $=new Map(E);for(let[L,G]of _.entries())q(`[bridge:shutdown] Sending SIGTERM to sessionId=${L}`),G.kill();let H=new AbortController;await Promise.race([Promise.allSettled([..._.values()].map((L)=>L.done)),n(F.shutdownGraceMs??30000,H.signal)]),H.abort();for(let[L,G]of _.entries())q(`[bridge:shutdown] Force-killing stuck sessionId=${L}`),G.forceKill();for(let L of N.values())clearTimeout(L);if(N.clear(),t?.cancelAll(),b.size>0){let L=[...b.values()];b.clear(),q(`[bridge:shutdown] Cleaning up ${L.length} worktree(s)`),await Promise.allSettled(L.map((G)=>bz(G.worktreePath,G.worktreeBranch,G.gitRoot,G.hookBased)))}await Promise.allSettled([...$.entries()].map(([L,G])=>{return W.stopWork(J,G,!0).catch((U)=>K.logVerbose(`Failed to stop work ${G} for session ${L}: ${l(U)}`))}))}if(qz.size>0)await Promise.allSettled([...qz]);if(c.size>0)q(`[bridge:shutdown] Archiving ${c.size} session(s)`),await Promise.allSettled([...c].map(($)=>W.archiveSession(Dz.get($)??hz($)).catch((H)=>K.logVerbose(`Failed to archive session ${$}: ${l(H)}`))));try{await W.deregisterEnvironment(J),q("[bridge:shutdown] Environment deregistered, bridge offline"),K.logVerbose("Environment deregistered.")}catch($){K.logVerbose(`Failed to deregister environment: ${l($)}`)}let{clearBridgePointer:Pz}=await import("./bridgePointer-1.1.34-5apzxa58.mjs");await Pz(z.dir),K.logVerbose("Environment offline.")}var FK=new Set(["ECONNREFUSED","ECONNRESET","ETIMEDOUT","ENETUNREACH","EHOSTUNREACH"]);function NK(z){if(z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&FK.has(z.code))return!0;return!1}function PK(z){return!!z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&z.code==="ERR_BAD_RESPONSE"}function gz(z){return Math.max(0,z+z*0.25*(2*Math.random()-1))}function xz(z){return z>=1000?`${(z/1000).toFixed(1)}s`:`${Math.round(z)}ms`}async function Tz(z,J,X,W,O=1000){for(let C=1;C<=3;C++)try{await z.stopWork(J,X,!1),q(`[bridge:work] stopWork succeeded for workId=${X} on attempt ${C}/3`);return}catch(F){if(F instanceof Mz){if(uz(F))q(`[bridge:work] Suppressed stopWork 403 for ${X}: ${F.message}`);else W.logError(`Failed to stop work ${X}: ${F.message}`);$z("error","bridge_stop_work_failed",{attempts:C,fatal:!0});return}let D=l(F);if(C<3){let B=gz(O*Math.pow(2,C-1));W.logVerbose(`Failed to stop work ${X} (attempt ${C}/3), retrying in ${xz(B)}: ${D}`),await n(B)}else W.logError(`Failed to stop work ${X} after 3 attempts: ${D}`),$z("error","bridge_stop_work_failed",{attempts:3})}}function _K(z,J,X,W,O){q(`[bridge:session] sessionId=${z} timed out after ${Hz(J)}`),X.logSessionFailed(z,`Session timed out after ${Hz(J)}`),W.add(z),O.kill()}var CK=["session","same-dir","worktree"];function UK(z){if(z==="session")return"single-session";if(z==="same-dir")return"same-dir";if(z==="worktree")return"worktree";return`--spawn requires one of: ${CK.join(", ")} (got: ${z??"<missing>"})`}function RK(z){let J=z===void 0?NaN:parseInt(z,10);if(isNaN(J)||J<1)return`--capacity requires a positive integer (got: ${z??"<missing>"})`;return J}function AK(z){let J=!1,X=!1,W,O,K,C,F=!1,D,B,x,R,_=!1;for(let E=0;E<z.length;E++){let P=z[E];if(P==="--help"||P==="-h")F=!0;else if(P==="--verbose"||P==="-v")J=!0;else if(P==="--sandbox")X=!0;else if(P==="--no-sandbox")X=!1;else if(P==="--debug-file"&&E+1<z.length)W=mz(z[++E]);else if(P.startsWith("--debug-file="))W=mz(P.slice(13));else if(P==="--session-timeout"&&E+1<z.length)O=parseInt(z[++E],10)*1000;else if(P.startsWith("--session-timeout="))O=parseInt(P.slice(18),10)*1000;else if(P==="--permission-mode"&&E+1<z.length)K=z[++E];else if(P.startsWith("--permission-mode="))K=P.slice(18);else if(P==="--name"&&E+1<z.length)C=z[++E];else if(P.startsWith("--name="))C=P.slice(7);else if(P==="--spawn"||P.startsWith("--spawn=")){if(D!==void 0)return M("--spawn may only be specified once");let f=P.startsWith("--spawn=")?P.slice(8):z[++E],N=UK(f);if(N==="single-session"||N==="same-dir"||N==="worktree")D=N;else return M(N)}else if(P==="--capacity"||P.startsWith("--capacity=")){if(B!==void 0)return M("--capacity may only be specified once");let f=P.startsWith("--capacity=")?P.slice(11):z[++E],N=RK(f);if(typeof N==="number")B=N;else return M(N)}else if(P==="--create-session-in-dir")x=!0;else if(P==="--no-create-session-in-dir")x=!1;else return M(`Unknown argument: ${P}
|
|
38
|
-
Run 'claudin remote-control --help' for usage.`)}if(D==="single-session"&&B!==void 0)return M("--capacity cannot be used with --spawn=session (single-session mode has fixed capacity 1).");if((R||_)&&(D!==void 0||B!==void 0||x!==void 0))return M("--session-id and --continue cannot be used with --spawn, --capacity, or --create-session-in-dir.");if(R&&_)return M("--session-id and --continue cannot be used together.");return{verbose:J,sandbox:X,debugFile:W,sessionTimeoutMs:O,permissionMode:K,name:C,spawnMode:D,capacity:B,createSessionInDir:x,sessionId:R,continueSession:_,help:F};function M(E){return{verbose:J,sandbox:X,debugFile:W,sessionTimeoutMs:O,permissionMode:K,name:C,spawnMode:D,capacity:B,createSessionInDir:x,sessionId:R,continueSession:_,help:F,error:E}}}async function DK(){let{EXTERNAL_PERMISSION_MODES:z}=await import("./permissions-1.1.34-bqhsed60.mjs"),J=z.join(", "),X=await yJ(),W=X?` --spawn <mode> Spawn mode: same-dir, worktree, session
|
|
39
|
-
(default: same-dir)
|
|
40
|
-
--capacity <N> Max concurrent sessions in worktree or
|
|
41
|
-
same-dir mode (default: ${LJ})
|
|
42
|
-
--[no-]create-session-in-dir Pre-create a session in the current
|
|
43
|
-
directory; in worktree mode this session
|
|
44
|
-
stays in cwd while on-demand sessions get
|
|
45
|
-
isolated worktrees (default: on)
|
|
46
|
-
`:"",C=`
|
|
47
|
-
Remote Control - Connect your local environment to claude.ai/code
|
|
48
|
-
|
|
49
|
-
USAGE
|
|
50
|
-
claudin remote-control [options]
|
|
51
|
-
OPTIONS
|
|
52
|
-
--name <name> Name for the session (shown in claude.ai/code)
|
|
53
|
-
--permission-mode <mode> Permission mode for spawned sessions
|
|
54
|
-
(${J})
|
|
55
|
-
--debug-file <path> Write debug logs to file
|
|
56
|
-
-v, --verbose Enable verbose output
|
|
57
|
-
-h, --help Show this help
|
|
58
|
-
${W}
|
|
59
|
-
DESCRIPTION
|
|
60
|
-
Remote Control allows you to control sessions on your local device from
|
|
61
|
-
claude.ai/code (https://claude.ai/code). Run this command in the
|
|
62
|
-
directory you want to work in, then connect from the Claude app or web.
|
|
63
|
-
${X?`
|
|
64
|
-
Remote Control runs as a persistent server that accepts multiple concurrent
|
|
65
|
-
sessions in the current directory. One session is pre-created on start so
|
|
66
|
-
you have somewhere to type immediately. Use --spawn=worktree to isolate
|
|
67
|
-
each on-demand session in its own git worktree, or --spawn=session for
|
|
68
|
-
the classic single-session mode (exits when that session ends). Press 'w'
|
|
69
|
-
during runtime to toggle between same-dir and worktree.
|
|
70
|
-
`:""}
|
|
71
|
-
NOTES
|
|
72
|
-
- You must be logged in with a Claude account that has a subscription
|
|
73
|
-
- Run \`claudin\` first in the directory to accept the workspace trust dialog
|
|
74
|
-
${X?` - Worktree mode requires a git repository or WorktreeCreate/WorktreeRemove hooks
|
|
75
|
-
`:""}`;console.log(C)}var EK=80;function LK(z){let J=z.replace(/\s+/g," ").trim();return Cz(J,EK)}async function yK(z,J){let{getBridgeSession:X}=await import("./createSession-1.1.34-69d3ep6s.mjs");return(await X(z,{baseUrl:J}))?.title||void 0}async function FZ(z){let J=AK(z);if(J.help){await DK();return}if(J.error)console.error(`Error: ${J.error}`),process.exit(1);let{verbose:X,sandbox:W,debugFile:O,sessionTimeoutMs:K,permissionMode:C,name:F,spawnMode:D,capacity:B,createSessionInDir:x,sessionId:R,continueSession:_}=J,M=R,E,P=D!==void 0||B!==void 0||x!==void 0;if(C!==void 0){let{PERMISSION_MODES:A}=await import("./permissions-1.1.34-bqhsed60.mjs"),V=A;if(!V.includes(C))console.error(`Error: Invalid permission mode '${C}'. Valid modes: ${V.join(", ")}`),process.exit(1)}let f=mz("."),{enableConfigs:N,checkHasTrustDialogAccepted:w}=await import("./config-1.1.34-tqzmnvs7.mjs");N();let{initSinks:b}=await import("./sinks-1.1.34-ww0tcz6j.mjs");b();let v=await yJ();if(P&&!v)console.error("Error: Multi-session Remote Control is not enabled for your account yet."),process.exit(1);let{setOriginalCwd:s,setCwdState:a}=await import("./state-1.1.34-pymefs1m.mjs");if(s(f),a(f),!w())console.error(`Error: Workspace not trusted. Please run \`claude\` in ${f} first to review and accept the workspace trust dialog.`),process.exit(1);let{clearOAuthTokenCache:jz,checkAndRefreshOAuthTokenIfNeeded:h}=await import("./auth-1.1.34-mhmakxvf.mjs"),{getBridgeAccessToken:t,getBridgeBaseUrl:Qz}=await import("./bridgeConfig-1.1.34-kgr2qvyz.mjs");if(!t())console.error(FJ),process.exit(1);let{getGlobalConfig:Jz,saveGlobalConfig:Yz,getCurrentProjectConfig:r,saveCurrentProjectConfig:S}=await import("./config-1.1.34-tqzmnvs7.mjs");if(!Jz().remoteDialogSeen){let V=(await import("readline")).createInterface({input:process.stdin,output:process.stdout});console.log(`
|
|
76
|
-
Remote Control lets you access this CLI session from the web (claude.ai/code)
|
|
77
|
-
or the Claude app, so you can pick up where you left off on any device.
|
|
78
|
-
|
|
79
|
-
You can disconnect remote access anytime by running /remote-control again.
|
|
80
|
-
`);let k=await new Promise((u)=>{V.question("Enable Remote Control? (y/n) ",u)});if(V.close(),Yz((u)=>{if(u.remoteDialogSeen)return u;return{...u,remoteDialogSeen:!0}}),k.toLowerCase()!=="y"&&k.toLowerCase()!=="yes")process.exit(0)}let Z=Qz();if(Z.startsWith("http://")&&!Z.includes("localhost")&&!Z.includes("127.0.0.1"))console.error("Error: Remote Control base URL uses HTTP. Only HTTPS or localhost HTTP is allowed."),process.exit(1);let j=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||Z,{getBranch:T,getRemoteUrl:Wz,findGitRoot:Nz}=await import("./git-1.1.34-p3qv0ed3.mjs"),{hasWorktreeCreateHook:Oz}=await import("./hooks-1.1.34-8s6pawxx.mjs"),Xz=Oz()||Nz(f)!==null,e=v?r().remoteControlSpawnMode:void 0;if(e==="worktree"&&!Xz)console.error("Warning: Saved spawn mode is worktree but this directory is not a git repository. Falling back to same-dir."),e=void 0,S((A)=>{if(A.remoteControlSpawnMode===void 0)return A;return{...A,remoteControlSpawnMode:void 0}});if(v&&!e&&Xz&&D===void 0&&!M&&process.stdin.isTTY){let V=(await import("readline")).createInterface({input:process.stdin,output:process.stdout});console.log(`
|
|
81
|
-
Claude Remote Control is launching in spawn mode which lets you create new sessions in this project from Claude Code on Web or your Mobile app. Learn more here: https://code.claude.com/docs/en/remote-control
|
|
82
|
-
|
|
83
|
-
Spawn mode for this project:
|
|
84
|
-
`+` [1] same-dir — sessions share the current directory (default)
|
|
85
|
-
`+` [2] worktree — each session gets an isolated git worktree
|
|
86
|
-
|
|
87
|
-
`+`This can be changed later or explicitly set with --spawn=same-dir or --spawn=worktree.
|
|
88
|
-
`);let k=await new Promise((Lz)=>{V.question("Choose [1/2] (default: 1): ",Lz)});V.close();let u=k.trim()==="2"?"worktree":"same-dir";e=u,S((Lz)=>{if(Lz.remoteControlSpawnMode===u)return Lz;return{...Lz,remoteControlSpawnMode:u}})}let Kz,c;if(M)c="single-session",Kz="resume";else if(D!==void 0)c=D,Kz="flag";else if(e!==void 0)c=e,Kz="saved";else c=v?"same-dir":"single-session",Kz="gate_default";let Dz=c==="single-session"?1:B??LJ,Pz=x??!0;if(!M){let{clearBridgePointer:A}=await import("./bridgePointer-1.1.34-5apzxa58.mjs");await A(f)}if(c==="worktree"&&!Xz)console.error("Error: Worktree mode requires a git repository or WorktreeCreate hooks configured. Use --spawn=session for single-session mode."),process.exit(1);let $=await T(),H=await Wz(),L=XK(),G=WJ(),{handleOAuth401Error:U}=await import("./auth-1.1.34-mhmakxvf.mjs"),I=PJ({baseUrl:Z,getAccessToken:t,runnerVersion:"99.0.0",onDebug:q,onAuth401:U,getTrustedDeviceToken:qJ}),m=void 0,Y={dir:f,machineName:L,branch:$,gitRepoUrl:H,maxSessions:Dz,spawnMode:c,verbose:X,sandbox:W,bridgeId:G,workerType:"claude_code",environmentId:WJ(),reuseEnvironmentId:m,apiBaseUrl:Z,sessionIngressUrl:j,debugFile:O,sessionTimeoutMs:K};q(`[bridge:init] bridgeId=${G}${m?` reuseEnvironmentId=${m}`:""} dir=${f} branch=${$} gitRepoUrl=${H} machine=${L}`),q(`[bridge:init] apiBaseUrl=${Z} sessionIngressUrl=${j}`),q(`[bridge:init] sandbox=${W}${O?` debugFile=${O}`:""}`);let y,g;try{let A=await I.registerBridgeEnvironment(Y);y=A.environment_id,g=A.environment_secret}catch(A){console.error(A instanceof Mz&&A.status===404?"Remote Control environments are not available for your account.":`Error: ${l(A)}`),process.exit(1)}q(`[bridge:init] Registered, server environmentId=${y}`);let i=Az();$z("info","bridge_started",{max_sessions:Y.maxSessions,sandbox:Y.sandbox,spawn_mode:Y.spawnMode});let Zz=YJ({execPath:process.execPath,scriptArgs:qK(),env:process.env,verbose:X,sandbox:W,debugFile:O,permissionMode:C,onDebug:q,onActivity:(A,V)=>{q(`[bridge:activity] sessionId=${A} ${V.type} ${V.summary}`)},onPermissionRequest:(A,V,k)=>{q(`[bridge:perm] sessionId=${A} tool=${V.request.tool_name} request_id=${V.request_id} (not auto-approving)`)}}),d=zJ({verbose:X}),{parseGitHubRepository:zz}=await import("./detectRepository-1.1.34-rqyapz8m.mjs"),Bz=H?zz(H):null,fz=Bz?Bz.split("/").pop():HK(f);d.setRepoInfo(fz,$);let o=c!=="single-session"&&Xz;if(o)d.setSpawnModeDisplay(c);let Uz=(A)=>{if(A[0]===3||A[0]===4){process.emit("SIGINT");return}if(A[0]===32){d.toggleQr();return}if(A[0]===119){if(!o)return;let V=Y.spawnMode==="same-dir"?"worktree":"same-dir";Y.spawnMode=V,d.logStatus(V==="worktree"?"Spawn mode: worktree (new sessions get isolated git worktrees)":"Spawn mode: same-dir (new sessions share the current directory)"),d.setSpawnModeDisplay(V),d.refreshDisplay(),S((k)=>{if(k.remoteControlSpawnMode===V)return k;return{...k,remoteControlSpawnMode:V}});return}};if(process.stdin.isTTY)process.stdin.setRawMode(!0),process.stdin.resume(),process.stdin.on("data",Uz);let Fz=new AbortController,wz=()=>{q("[bridge:shutdown] SIGINT received, shutting down"),Fz.abort()},Ez=()=>{q("[bridge:shutdown] SIGTERM received, shutting down"),Fz.abort()};process.on("SIGINT",wz),process.on("SIGTERM",Ez);let Gz=null;if(Pz){let{createBridgeSession:A}=await import("./createSession-1.1.34-69d3ep6s.mjs");try{if(Gz=await A({environmentId:y,title:F,events:[],gitRepoUrl:H,branch:$,signal:Fz.signal,baseUrl:Z,getAccessToken:t,permissionMode:C}),Gz)q(`[bridge:init] Created initial session ${Gz}`)}catch(V){q(`[bridge:init] Session creation failed (non-fatal): ${l(V)}`)}}let Vz=null;if(Gz&&c==="single-session"){let{writeBridgePointer:A}=await import("./bridgePointer-1.1.34-5apzxa58.mjs"),V={sessionId:Gz,environmentId:y,source:"standalone"};await A(Y.dir,V),Vz=setInterval(A,3600000,Y.dir,V),Vz.unref?.()}try{await BK(Y,y,g,I,Zz,d,Fz.signal,void 0,Gz??void 0,async()=>{return jz(),await h(),t()})}finally{if(Vz!==null)clearInterval(Vz);if(process.off("SIGINT",wz),process.off("SIGTERM",Ez),process.stdin.off("data",Uz),process.stdin.isTTY)process.stdin.setRawMode(!1);process.stdin.pause()}process.exit(0)}export{BK as runBridgeLoop,AK as parseArgs,PK as isServerError,NK as isConnectionError,FZ as bridgeMain};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Aha as G,Bha as R,qha as Z,rha as $,vha as y,yha as C,zha as I}from"./cli-1.1.34-92kps6jn.mjs";import{Via as X,Wia as Y,_ia as L,qja as A,tja as k}from"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import{Sja as W,Xja as J}from"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import"./cli-1.1.34-4x915j9t.mjs";I();k();J();R();y();L();import{mkdir as f,readFile as N,stat as O,unlink as _,writeFile as E}from"fs/promises";import{dirname as T,join as M}from"path";var S=14400000,j=G(()=>C.object({sessionId:C.string(),environmentId:C.string(),source:C.enum(["standalone","repl"])}));function K(q){return M($(),Z(q),"bridge-pointer.json")}async function h(q,v){let x=K(q);try{await f(T(x),{recursive:!0}),await E(x,X(v),"utf8"),A(`[bridge:pointer] wrote ${x}`)}catch(H){A(`[bridge:pointer] write failed: ${H}`,{level:"warn"})}}async function l(q){let v=K(q),x,H;try{H=(await O(v)).mtimeMs,x=await N(v,"utf8")}catch{return null}let Q=j().safeParse(w(x));if(!Q.success)return A(`[bridge:pointer] invalid schema, clearing: ${v}`),await V(q),null;let U=Math.max(0,Date.now()-H);if(U>S)return A(`[bridge:pointer] stale (>4h mtime), clearing: ${v}`),await V(q),null;return{...Q.data,ageMs:U}}async function V(q){let v=K(q);try{await _(v),A(`[bridge:pointer] cleared ${v}`)}catch(x){if(!W(x))A(`[bridge:pointer] clear failed: ${x}`,{level:"warn"})}}function w(q){try{return Y(q)}catch{return null}}export{h as writeBridgePointer,l as readBridgePointer,K as getBridgePointerPath,V as clearBridgePointer,S as BRIDGE_POINTER_TTL_MS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Qi as a,Ri as AJ}from"./cli-1.1.34-s4gsmtx9.mjs";import{Si as x,Ti as vJ}from"./cli-1.1.34-axnnzxpw.mjs";import{$t as l,AL as bJ,Cs as g,Ds as UJ,Dx as u,Fx as IJ,HG as c,IG as WJ,KC as m,MC as HJ,PP as r,SQ as o,US as s,VS as t,WS as DJ,_P as TJ,au as kJ,fR as hJ,gm as i,hm as QJ,uL as $}from"./cli-1.1.34-84707tma.mjs";import"./cli-1.1.34-sj1pcnn3.mjs";import"./cli-1.1.34-372a0qyj.mjs";import"./cli-1.1.34-vdk5kjz7.mjs";import"./cli-1.1.34-g0sqgp9m.mjs";import"./cli-1.1.34-fgbv1rw4.mjs";import"./cli-1.1.34-nxeb9r8s.mjs";import"./cli-1.1.34-9jn997h8.mjs";import"./cli-1.1.34-yfasvar9.mjs";import"./cli-1.1.34-9z887t80.mjs";import"./cli-1.1.34-c3w48hst.mjs";import"./cli-1.1.34-3rcacat5.mjs";import"./cli-1.1.34-20femz8z.mjs";import"./cli-1.1.34-fgx6ej2m.mjs";import{$X as S,IX as W,KX as b,bY as KJ,pY as NJ,wW as GJ}from"./cli-1.1.34-59csbz1a.mjs";import"./cli-1.1.34-vz14r55x.mjs";import"./cli-1.1.34-s9g6mekb.mjs";import"./cli-1.1.34-hpn89fzn.mjs";import"./cli-1.1.34-rqkzp4n2.mjs";import"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import"./cli-1.1.34-ff6hyf5n.mjs";import"./cli-1.1.34-bt9brnrs.mjs";import"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-k761g5m2.mjs";import{T1 as F,U1 as H,V1 as _}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as zJ}from"./cli-1.1.34-7ad0dt89.mjs";import"./cli-1.1.34-fnds3msv.mjs";import"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-cp457g25.mjs";import"./cli-1.1.34-ajqsr81p.mjs";import"./cli-1.1.34-e7fd8zh6.mjs";import"./cli-1.1.34-dvx08sv2.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-9tctqya9.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import"./cli-1.1.34-vpwwhg8z.mjs";import{D_ as j,Nba as p,Oba as C,Tea as FJ,eca as ZJ}from"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import{Qja as f,Xja as YJ}from"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Eqa as R,Iqa as XJ}from"./cli-1.1.34-4x915j9t.mjs";function BJ(V){let J=n.c(25),{question:Y,context:z,onDone:G}=V,[Z,e]=N.useState(null),[K,y]=N.useState(null),[P,JJ]=N.useState(0),T=N.useRef(null),{rows:VJ}=u(i()),v;if(J[0]===Symbol.for("react.memo_cache_sentinel"))v=()=>JJ(EJ),J[0]=v;else v=J[0];S(v,Z||K?null:80);let A;if(J[1]!==G)A=function(X){if(X.key==="escape"||X.key==="return"||X.key===" "||X.ctrl&&(X.key==="c"||X.key==="d")){X.preventDefault(),G(void 0,{display:"skip"});return}if(X.key==="up"||X.ctrl&&X.key==="p")X.preventDefault(),T.current?.scrollBy(-d);if(X.key==="down"||X.ctrl&&X.key==="n")X.preventDefault(),T.current?.scrollBy(d)},J[1]=G,J[2]=A;else A=J[2];let h=A,w,L;if(J[3]!==z||J[4]!==Y)w=()=>{let q=l();return async function(){try{let O=await MJ(z),M=await a({question:Y,cacheSafeParams:O});if(!q.signal.aborted)if(M.response)e(M.response);else y("No response received")}catch(O){let M=O;if(!q.signal.aborted)y(f(M)||"Failed to get response")}}(),()=>{q.abort()}},L=[Y,z],J[3]=z,J[4]=Y,J[5]=w,J[6]=L;else w=J[5],L=J[6];N.useEffect(w,L);let D=Math.max(5,VJ-wJ-LJ),B;if(J[7]===Symbol.for("react.memo_cache_sentinel"))B=H(b,{color:"warning",bold:!0,children:["/btw"," "]}),J[7]=B;else B=J[7];let Q;if(J[8]!==Y)Q=H(W,{children:[B,F(b,{dimColor:!0,children:Y})]}),J[8]=Y,J[9]=Q;else Q=J[9];let U;if(J[10]!==K||J[11]!==P||J[12]!==Z)U=F(x,{ref:T,flexDirection:"column",flexGrow:1,children:K?F(b,{color:"error",children:K}):Z?F(m,{children:Z}):H(W,{children:[F(c,{frame:P,messageColor:"warning"}),F(b,{color:"warning",children:"Answering..."})]})}),J[10]=K,J[11]=P,J[12]=Z,J[13]=U;else U=J[13];let k;if(J[14]!==D||J[15]!==U)k=F(W,{marginTop:1,marginLeft:2,maxHeight:D,children:U}),J[14]=D,J[15]=U,J[16]=k;else k=J[16];let I;if(J[17]!==K||J[18]!==Z)I=(Z||K)&&F(W,{marginTop:1,children:H(b,{dimColor:!0,children:[p,"/",C," to scroll · Space, Enter, or Escape to dismiss"]})}),J[17]=K,J[18]=Z,J[19]=I;else I=J[19];let E;if(J[20]!==h||J[21]!==Q||J[22]!==k||J[23]!==I)E=H(W,{flexDirection:"column",paddingLeft:2,marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:h,children:[Q,k,I]}),J[20]=h,J[21]=Q,J[22]=k,J[23]=I,J[24]=E;else E=J[24];return E}function EJ(V){return V+1}function qJ(V){let J=V.at(-1);if(J?.type==="assistant"&&J.message.stop_reason===null)return V.slice(0,-1);return V}async function MJ(V){let J=o(qJ(V.messages)),Y=$();if(Y)return{systemPrompt:Y.systemPrompt,userContext:Y.userContext,systemContext:Y.systemContext,toolUseContext:V,forkContextMessages:J};let[z,G,Z]=await Promise.all([r(V.options.tools,V.options.mainLoopModel,[],V.options.mcpClients),t(),s()]);return{systemPrompt:g(z),userContext:G,systemContext:Z,toolUseContext:V,forkContextMessages:J}}async function aJ(V,J,Y){let z=Y?.trim();if(!z)return V("Usage: /btw <your question>",{display:"system"}),null;return j((G)=>({...G,btwUseCount:G.btwUseCount+1})),F(BJ,{question:z,context:J,onDone:V})}var n,N,wJ=5,LJ=6,d=3;var PJ=XJ(()=>{KJ();HJ();WJ();ZJ();TJ();IJ();DJ();QJ();vJ();NJ();kJ();FJ();YJ();bJ();hJ();AJ();UJ();_();n=R(GJ(),1),N=R(zJ(),1)});PJ();export{aJ as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{eW as p,fW as f,gW as a,hW as S}from"./cli-1.1.34-20femz8z.mjs";import{D_ as d,Tea as C}from"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import{eia as m,fia as y,gia as b}from"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Iqa as g}from"./cli-1.1.34-4x915j9t.mjs";function R(t){let o=2166136261;for(let s=0;s<t.length;s++)o^=t.charCodeAt(s),o=Math.imul(o,16777619);return o>>>0}function r(t,o){return t[R(o)%t.length]}function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}function O(){let t=f(),{bones:o}=p(`${t}:buddy`),s=r($,`${t}:prefix`),n=r(A,`${t}:suffix`),i=r(w,`${t}:personality`);return{name:`${s}${n}`,personality:`${i}.`,hatchedAt:Date.now()}}function l(t,o,s=!1){t.setAppState((n)=>({...n,companionReaction:o,companionPetAt:s?Date.now():n.companionPetAt}))}function c(t){t(`Usage: /buddy [status|mute|unmute]
|
|
2
|
-
|
|
3
|
-
Run /buddy with no args to hatch your companion the first time, then pet it on later runs.`,{display:"system"})}async function X(t,o,s){let n=s?.trim().toLowerCase()??"";if(m.includes(n)||n===""){let e=a();if(n!==""||e){if(n!=="")return c(t),null}}if(m.includes(n))return c(t),null;if(y.includes(n)||n==="status"){let e=a();if(!e)return t("No buddy hatched yet. Run /buddy to hatch one.",{display:"system"}),null;return t(`${e.name} is your ${M(e.rarity)} ${e.species}. ${e.personality}`,{display:"system"}),null}if(n==="mute"||n==="unmute"){let e=n==="mute";if(d((u)=>({...u,companionMuted:e})),e)l(o,void 0);return t(`Buddy ${e?"muted":"unmuted"}.`,{display:"system"}),null}if(n!=="")return c(t),null;let i=a();if(!i){let e=O();return d((u)=>({...u,companion:e,companionMuted:!1})),i={...p(`${f()}:buddy`).bones,...e},l(o,`${i.name} the ${i.species} has hatched.`,!0),t(`${i.name} the ${i.species} is now your buddy. Run /buddy again to pet them.`,{display:"system"}),null}let h=`${i.name} ${r(E,`${Date.now()}:${i.name}`)}`;return l(o,h,!0),t(void 0,{display:"skip"}),null}var $,A,w,E;var L=g(()=>{C();S();b();$=["Byte","Echo","Glint","Miso","Nova","Pixel","Rune","Static","Vector","Whisk"],A=["bean","bit","bud","dot","ling","loop","moss","patch","puff","spark"],w=["Curious and quietly encouraging","A patient little watcher with strong debugging instincts","Playful, observant, and suspicious of flaky tests","Calm under pressure and fond of clean diffs","A tiny terminal gremlin who likes successful builds"],E=["leans into the headpat","does a proud little bounce","emits a content beep","looks delighted","wiggles happily"]});L();export{X as call};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{qZ as u,sZ as Vz}from"./cli-1.1.34-rqkzp4n2.mjs";import{DZ as p,HZ as Qz}from"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import{W3 as h,t4 as Nz}from"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import{$fa as zz,Tfa as m,cga as c,fga as Jz}from"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import{qja as L,tja as e}from"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import{Rka as v,upa as r}from"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Iqa as s}from"./cli-1.1.34-4x915j9t.mjs";function Xz(z){if(!z)return"unknown";return z.replace(/-\d{4,}$/,"").replace(/-latest$/,"").replace(/-preview$/,"")}function q(z,N){return N.split(".").reduce((V,U)=>V!=null?V[U]:void 0,z)}async function b(z,N,V,U){let A=Date.now(),C;try{C=await fetch(z,{method:"POST",headers:N,body:JSON.stringify(V)})}catch(H){return{label:U,status:0,elapsed:Date.now()-A,headers:{},usage:null,responseId:null,error:H.message}}let $=Date.now()-A,G={};if(C.headers.forEach((H,O)=>{G[O]=H}),!C.ok){let H=await C.text().catch(()=>"");return{label:U,status:C.status,elapsed:$,headers:G,usage:null,responseId:null,error:H}}let P=await C.text(),D=null,_=null,x=z.endsWith("/responses");for(let H of P.split(`
|
|
2
|
-
|
|
3
|
-
`)){let O=H.split(`
|
|
4
|
-
`).map((w)=>w.trim()).filter(Boolean);if(x){let w=O.find((j)=>j.startsWith("event: ")),B=O.filter((j)=>j.startsWith("data: "));if(!w||!B.length)continue;let Z=w.slice(7).trim();if(Z==="response.completed"||Z==="response.incomplete")try{let j=JSON.parse(B.map((E)=>E.slice(6)).join(`
|
|
5
|
-
`));D=j?.response?.usage??null,_=j?.response?.id??null}catch{}}else for(let w of O){if(!w.startsWith("data: "))continue;let B=w.slice(6).trim();if(B==="[DONE]")continue;try{let Z=JSON.parse(B);if(Z.usage)D=Z.usage,_=Z.id??null}catch{}}}return{label:U,status:C.status,elapsed:$,headers:G,usage:D,responseId:_,error:null}}function y(z){let N=[`--- ${z.label} ---`];if(z.error)return N.push(` ERROR (HTTP ${z.status}): ${z.error.slice(0,200)}`),N.join(`
|
|
6
|
-
`);if(N.push(` HTTP ${z.status} — ${z.elapsed}ms`),z.responseId)N.push(` response.id: ${z.responseId}`);if(z.usage)N.push(" Usage:"),N.push(` ${JSON.stringify(z.usage,null,2).replace(/\n/g,`
|
|
7
|
-
`)}`);else N.push(" Usage: null");for(let V of["openai-processing-ms","x-ratelimit-remaining","x-ratelimit-limit","x-ms-region","x-github-request-id","x-request-id"])if(z.headers[V])N.push(` ${V}: ${z.headers[V]}`);return N.join(`
|
|
8
|
-
`)}var Wz,M,R='Say "hello" and nothing else.',S=3000,Oz=async(z)=>{let N=(z??"").trim().split(/\s+/).filter(Boolean),V=N.includes("--no-key"),U=N.includes("--conv-id"),C=(N.find((J)=>!J.startsWith("--"))||void 0)??h(),$=m({model:C}),G=c(),P=G?.transport==="github_copilot";if(P)p();let D=await u(G),_=G?.apiKey??G?.extras?.githubToken??D.accessToken??"";if(!_)return{type:"text",value:`No API key found. Make sure you are in an active OpenAI-compatible or GitHub Copilot session.
|
|
9
|
-
For GitHub Copilot: run /provider and choose GitHub Copilot.
|
|
10
|
-
For OpenAI-compatible: configure a profile via /provider.`};let x=$.transport==="codex_responses",H=x?"/responses":"/chat/completions",O=`${$.baseUrl}${H}`,w=Xz($.resolvedModel),B=`${v()}:${w}`,Z={"Content-Type":"application/json",Authorization:`Bearer ${_}`,originator:"claudin"};if(P)Object.assign(Z,Wz);if(D.userAgent)Z["User-Agent"]=D.userAgent;if(D.deviceHeaders)Object.assign(Z,D.deviceHeaders);if(U)Z["x-grok-conv-id"]=B;let j;if(x)j={model:$.resolvedModel,instructions:M,input:[{type:"message",role:"user",content:[{type:"input_text",text:R}]}],stream:!0,...V?{}:{store:!1,prompt_cache_key:B}};else j={model:$.resolvedModel,messages:[{role:"system",content:M},{role:"user",content:R}],stream:!0,stream_options:{include_usage:!0},max_tokens:20,...V?{}:{store:!1,prompt_cache_key:B}};let E=[`[cache-probe] Starting cache probe${V?" (--no-key: cache params OMITTED)":""}`,` model: ${$.resolvedModel} (family: ${w})`,` transport: ${$.transport}`,` endpoint: ${O}`,` prompt_cache_key: ${V?"NOT SENT":B}`,` x-grok-conv-id: ${U?B:"NOT SENT"}`,` store: ${V?"NOT SENT":"false"}`,` system prompt: ~${Math.round(M.length/4)} tokens`,` delay between calls: ${S}ms`].join(`
|
|
11
|
-
`);L(E);let Q=await b(O,Z,j,"CALL 1 — Cold (no cache)");if(L(`[cache-probe]
|
|
12
|
-
${y(Q)}`),Q.error)return{type:"text",value:`Cache probe failed on first call: HTTP ${Q.status}
|
|
13
|
-
${Q.error.slice(0,300)}
|
|
14
|
-
|
|
15
|
-
Full details in debug log.`};await new Promise((J)=>setTimeout(J,S));let W=await b(O,Z,j,"CALL 2 — Warm (cache expected)");L(`[cache-probe]
|
|
16
|
-
${y(W)}`);let d=["input_tokens","output_tokens","total_tokens","prompt_tokens","completion_tokens","input_tokens_details.cached_tokens","prompt_tokens_details.cached_tokens","output_tokens_details.reasoning_tokens"],X=["[cache-probe] COMPARISON"];X.push(` ${"Field".padEnd(42)} ${"Call 1".padStart(8)} ${"Call 2".padStart(8)} ${"Delta".padStart(8)}`),X.push(` ${"-".repeat(72)}`);for(let J of d){let Y=q(Q.usage,J),T=q(W.usage,J);if(Y===void 0&&T===void 0)continue;let o=typeof Y==="number"&&typeof T==="number"?T-Y:"";X.push(` ${J.padEnd(42)} ${String(Y??"-").padStart(8)} ${String(T??"-").padStart(8)} ${String(o).padStart(8)}`)}X.push(""),X.push(` Latency: ${Q.elapsed}ms → ${W.elapsed}ms (${W.elapsed-Q.elapsed>0?"+":""}${W.elapsed-Q.elapsed}ms)`);for(let J of["openai-processing-ms","x-ms-region","x-ratelimit-remaining"]){let Y=Q.headers[J],T=W.headers[J];if(Y||T)X.push(` ${J}: ${Y??"-"} → ${T??"-"}`)}let I=q(W.usage,"input_tokens_details.cached_tokens")??q(W.usage,"prompt_tokens_details.cached_tokens")??0,f=Q.usage?.input_tokens??Q.usage?.prompt_tokens??0,F=W.usage?.input_tokens??W.usage?.prompt_tokens??0,k;if(I>0){let J=F>0?Math.round(I/F*100):"?";k=`CACHE HIT: ${I} cached tokens (${J}% of input)`}else if(f===0&&F===0)k="INCONCLUSIVE: Server returns 0 input_tokens — cannot measure";else if(W.elapsed<Q.elapsed*0.6&&f>100)k=`POSSIBLE SILENT CACHING: Call 2 was ${Math.round((1-W.elapsed/Q.elapsed)*100)}% faster but no cached_tokens reported`;else k="NO CACHE DETECTED";X.push(`
|
|
17
|
-
Verdict: ${k}`);function l(J){return{input_tokens:J?.input_tokens??0,output_tokens:J?.output_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}function t(J){return{input_tokens:J?.prompt_tokens??0,output_tokens:J?.completion_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:J?.prompt_tokens_details?.cached_tokens??0}}let g=x?l:t,i=g(Q.usage),K=g(W.usage);if(X.push(""),X.push(` --- What main's shim reports (${x?"codexShim.makeUsage":"openaiShim.convertChunkUsage"}) ---`),X.push(` Call 1: cache_read_input_tokens=${i.cache_read_input_tokens}`),X.push(` Call 2: cache_read_input_tokens=${K.cache_read_input_tokens}`),x&&I>0)X.push(` BUG: Server returned ${I} cached tokens but main's makeUsage() drops it → reports 0`);else if(!x&&K.cache_read_input_tokens>0)X.push(" OK: Chat Completions path on main correctly reads cached_tokens");L(X.join(`
|
|
18
|
-
`));let n=V?" (NO cache key sent)":"",a=x?"codexShim.makeUsage()":"openaiShim.convertChunkUsage()";return{type:"text",value:[`Cache Probe — ${$.resolvedModel} via ${x?"Responses API":"Chat Completions"}${n}`,"",`Call 1: ${Q.elapsed}ms, input=${f}, cached=${q(Q.usage,"input_tokens_details.cached_tokens")??q(Q.usage,"prompt_tokens_details.cached_tokens")??0}`,`Call 2: ${W.elapsed}ms, input=${F}, cached=${I}`,"",k,"",`What main's ${a} reports:`,` Call 2 cache_read_input_tokens = ${K.cache_read_input_tokens}${x&&I>0?" ← BUG: server sent "+I+" but main drops it":""}`,"","Full details written to debug log."].join(`
|
|
19
|
-
`)}};var Zz=s(()=>{r();Jz();zz();e();Qz();Vz();Nz();Wz={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},M=["You are a coding assistant. Answer concisely.","CONTEXT: User is working on a TypeScript project with Bun runtime.",...Array.from({length:80},(z,N)=>`Rule ${N+1}: Follow best practices for TypeScript including strict typing, error handling, testing, and clean code. Prefer explicit types over any. Use const assertions. Await all async operations.`)].join(`
|
|
20
|
-
|
|
21
|
-
`)});Zz();export{Oz as call};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{OZ as P,PZ as Q,RZ as w,YZ as U,a0 as V,b0 as Y,c0 as Z,d0 as A}from"./cli-1.1.34-ff6hyf5n.mjs";import{Iqa as j}from"./cli-1.1.34-4x915j9t.mjs";function H(k,D){let I=new Date(k.timestamp).toISOString(),B=`${I.slice(0,10)} ${I.slice(11,19)}`,J=P(k.metrics);return` #${String(D+1).padStart(3)} ${B} ${k.label.padEnd(28).slice(0,28)} ${J}`}function L(k,D){return`${k.padEnd(18)}${Q(D)}`}var F=20,b=async()=>{let k=Z(),D=Y(),I=U();if(k.length===0)return{type:"text",value:`Cache stats
|
|
2
|
-
No API requests yet this session.
|
|
3
|
-
Start a turn and re-run /cache-stats to see results.`};let B=k.slice(-F),J=k.length-B.length,q=["Cache stats",""];q.push(L("Current turn:",I)),q.push(L("Session total:",D));let G=V();if(G.events>0)q.push(`${"Server clears:".padEnd(18)}${G.events} event${G.events===1?"":"s"}, ${G.clearedToolUses} tool results, ${G.clearedInputTokens.toLocaleString("en-US")} input tokens cleared`);q.push(""),q.push(`Recent requests (${B.length}${J>0?` of ${k.length}, ${J} older omitted`:""}):`),q.push(" # time model cache");for(let[K,$]of B.entries())q.push(H($,k.length-B.length+K));if(B.some((K)=>!K.metrics.supported))q.push(""),q.push(" N/A rows: provider API does not expose cache usage (GitHub Copilot, Ollama)."),q.push(" The request still ran normally — only the metric is unavailable.");return{type:"text",value:q.join(`
|
|
4
|
-
`)}};var N=j(()=>{A();w()});N();export{b as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$h as b,_h as a}from"./cli-1.1.34-ctjatnq8.mjs";import"./cli-1.1.34-h3ysfavt.mjs";import"./cli-1.1.34-84707tma.mjs";import"./cli-1.1.34-sj1pcnn3.mjs";import"./cli-1.1.34-372a0qyj.mjs";import"./cli-1.1.34-vdk5kjz7.mjs";import"./cli-1.1.34-g0sqgp9m.mjs";import"./cli-1.1.34-fgbv1rw4.mjs";import"./cli-1.1.34-nxeb9r8s.mjs";import"./cli-1.1.34-9jn997h8.mjs";import"./cli-1.1.34-yfasvar9.mjs";import"./cli-1.1.34-9z887t80.mjs";import"./cli-1.1.34-c3w48hst.mjs";import"./cli-1.1.34-3rcacat5.mjs";import"./cli-1.1.34-20femz8z.mjs";import"./cli-1.1.34-fgx6ej2m.mjs";import"./cli-1.1.34-59csbz1a.mjs";import"./cli-1.1.34-vz14r55x.mjs";import"./cli-1.1.34-s9g6mekb.mjs";import"./cli-1.1.34-hpn89fzn.mjs";import"./cli-1.1.34-rqkzp4n2.mjs";import"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import"./cli-1.1.34-ff6hyf5n.mjs";import"./cli-1.1.34-bt9brnrs.mjs";import"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-k761g5m2.mjs";import"./cli-1.1.34-8vfey6b5.mjs";import"./cli-1.1.34-7ad0dt89.mjs";import"./cli-1.1.34-fnds3msv.mjs";import"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-cp457g25.mjs";import"./cli-1.1.34-ajqsr81p.mjs";import"./cli-1.1.34-e7fd8zh6.mjs";import"./cli-1.1.34-dvx08sv2.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-9tctqya9.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import"./cli-1.1.34-vpwwhg8z.mjs";import"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import"./cli-1.1.34-4x915j9t.mjs";b();export{a as clearSessionCaches};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{$n as Yz,An as p,Bn as Xz,Dt as j,Et as Bz,Jk as F,Kk as r,Ol as c,PS as P,SS as Kz,Tm as u,_n as l,fm as Qz,kn as W,ln as e,pB as Z,qB as Ez,qm as M,qn as v,uo as x,vm as s,vn as Uz,vo as zz,xn as Vz,yn as n}from"./cli-1.1.34-84707tma.mjs";import"./cli-1.1.34-sj1pcnn3.mjs";import"./cli-1.1.34-372a0qyj.mjs";import"./cli-1.1.34-vdk5kjz7.mjs";import"./cli-1.1.34-g0sqgp9m.mjs";import"./cli-1.1.34-fgbv1rw4.mjs";import"./cli-1.1.34-nxeb9r8s.mjs";import"./cli-1.1.34-9jn997h8.mjs";import"./cli-1.1.34-yfasvar9.mjs";import"./cli-1.1.34-9z887t80.mjs";import"./cli-1.1.34-c3w48hst.mjs";import"./cli-1.1.34-3rcacat5.mjs";import"./cli-1.1.34-20femz8z.mjs";import"./cli-1.1.34-fgx6ej2m.mjs";import"./cli-1.1.34-59csbz1a.mjs";import"./cli-1.1.34-vz14r55x.mjs";import"./cli-1.1.34-s9g6mekb.mjs";import"./cli-1.1.34-hpn89fzn.mjs";import"./cli-1.1.34-rqkzp4n2.mjs";import"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import"./cli-1.1.34-ff6hyf5n.mjs";import"./cli-1.1.34-bt9brnrs.mjs";import"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-k761g5m2.mjs";import"./cli-1.1.34-8vfey6b5.mjs";import"./cli-1.1.34-7ad0dt89.mjs";import"./cli-1.1.34-fnds3msv.mjs";import"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import{v6 as E,w6 as Lz}from"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-cp457g25.mjs";import"./cli-1.1.34-ajqsr81p.mjs";import"./cli-1.1.34-e7fd8zh6.mjs";import"./cli-1.1.34-dvx08sv2.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-9tctqya9.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import"./cli-1.1.34-vpwwhg8z.mjs";import{Kaa as d,nga as g,oea as R,rea as t,saa as y,sga as Nz}from"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import{sha as q,vha as o}from"./cli-1.1.34-92kps6jn.mjs";import{Eha as Y,Gha as f}from"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import{Rka as G,Soa as w,Uka as H,Wka as T,Xka as b,Zka as A,_ka as I,rka as C,ska as m,upa as O}from"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Iqa as $}from"./cli-1.1.34-4x915j9t.mjs";function h(){return k}function S(J){let B=Y();Z(J);let z=Y();try{process.chdir(z)}catch(N){throw Z(B),N}return H(G(),T()??q(b())),A(z),I(z),k=B,Jz(),{previousCwd:B,newCwd:z}}function Jz(){W(),P(),M.cache.clear?.(),F(),x.cache?.clear?.(),R.cache?.clear?.(),y.cache?.clear?.(),j()}var k=null;var D=$(()=>{s();e();r();Kz();zz();t();O();Bz();o();f();Ez();d()});import{dirname as Zz}from"node:path";function _z(J){let B=J.trim();if(!B)return{kind:"empty"};if(B==="-")return{kind:"previous"};return{kind:"path",path:B}}function $z(J,B,z){let N=[B?`${J.previousCwd} kept accessible for this session`:null,"transcript stays under the original project",z?"cancelled the pending /loop wakeup":null,"/cd - to return"].filter((V)=>V!==null);return`Moved this session to ${E.bold(J.newCwd)}
|
|
2
|
-
${E.dim(N.join(" · "))}`}function L(J){return{type:"text",value:J}}async function uz(J,B,z=Gz){let N=_z(J);if(N.kind==="empty")return L(`Usage: ${E.bold("/cd <path>")} — moves this session to another directory.
|
|
3
|
-
${E.dim("/cd - returns to the previous one.")}`);if(z.currentWorktreeSession())return L(`This session is inside a worktree. Use ${E.bold("ExitWorktree")} to leave it first, then ${E.bold("/cd")}.`);let V;if(N.kind==="previous"){let U=z.previousDir();if(!U)return L("This session has not moved yet, so there is no previous directory.");V=U}else V=N.path;let K=await z.resolveDirectory(V);if(K.resultType!=="success"){if(K.resultType==="notADirectory")return L(`${E.bold(K.directoryPath)} is not a directory. Did you mean ${E.bold(Zz(K.absolutePath))}?`);return L(p(K))}if(K.absolutePath===z.currentCwd())return L(`Already in ${E.bold(K.absolutePath)}.`);let a=z.hasPendingWakeup(),Q;try{Q=z.reroot(K.absolutePath)}catch(U){let X=U instanceof Error?U.message:"Unknown error";return g(Error(`/cd failed to move to ${K.absolutePath}: ${X}`)),L(`Could not move to ${E.bold(K.absolutePath)}: ${X}`)}let _=!u(Q.previousCwd,Q.newCwd);if(_){let U=v(B.getAppState().toolPermissionContext,{type:"addDirectories",directories:[Q.previousCwd],destination:"session"});B.setAppState((i)=>({...i,toolPermissionContext:U}));let X=C();if(!X.includes(Q.previousCwd))m([...X,Q.previousCwd])}return z.refreshSandbox(),L($z(Q,_,a))}var Gz;var Hz=$(()=>{Lz();Xz();Uz();Vz();O();Yz();D();f();Nz();Qz();Gz={currentWorktreeSession:c,resolveDirectory:n,reroot:S,previousDir:h,hasPendingWakeup:()=>w()!==null,currentCwd:Y,refreshSandbox:()=>l.refreshConfig()}});Hz();export{_z as parseCdTarget,$z as formatCdResult,uz as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Aca as A,f_ as k,g$ as V,h$ as W,i$ as N,k_ as J,nga as X,sga as H,xca as x}from"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import{Rja as b,Xja as y}from"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import"./cli-1.1.34-4x915j9t.mjs";A();y();J();H();N();import{readdir as L,readFile as U,stat as Z}from"fs/promises";import{homedir as _}from"os";import{join as $}from"path";async function F(){let B=W();if(!V.includes(B))throw Error(`Unsupported platform: ${B} - Claude Desktop integration only works on macOS and WSL.`);if(B==="macos")return $(_(),"Library","Application Support","Claude","claude_desktop_config.json");let K=process.env.USERPROFILE?process.env.USERPROFILE.replace(/\\/g,"/"):null;if(K){let q=`/mnt/c${K.replace(/^[A-Z]:/,"")}/AppData/Roaming/Claude/claude_desktop_config.json`;try{return await Z(q),q}catch{}}try{try{let q=await L("/mnt/c/Users",{withFileTypes:!0});for(let z of q){if(z.name==="Public"||z.name==="Default"||z.name==="Default User"||z.name==="All Users")continue;let I=$("/mnt/c/Users",z.name,"AppData","Roaming","Claude","claude_desktop_config.json");try{return await Z(I),I}catch{}}}catch{}}catch(G){X(G)}throw Error("Could not find Claude Desktop config file in Windows. Make sure Claude Desktop is installed on Windows.")}async function v(){if(!V.includes(W()))throw Error("Unsupported platform - Claude Desktop integration only works on macOS and WSL.");try{let B=await F(),K;try{K=await U(B,{encoding:"utf8"})}catch(I){if(b(I)==="ENOENT")return{};throw I}let G=k(K);if(!G||typeof G!=="object")return{};let q=G.mcpServers;if(!q||typeof q!=="object")return{};let z={};for(let[I,Q]of Object.entries(q)){if(!Q||typeof Q!=="object")continue;let Y=x().safeParse(Q);if(Y.success)z[I]=Y.data}return z}catch(B){return X(B),{}}}export{v as readClaudeDesktopMcpServers,F as getClaudeDesktopConfigPath};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Yh as b,Zh as h}from"./cli-1.1.34-hyya784q.mjs";import"./cli-1.1.34-ctjatnq8.mjs";import"./cli-1.1.34-7npd3as5.mjs";import"./cli-1.1.34-h3ysfavt.mjs";import"./cli-1.1.34-84707tma.mjs";import"./cli-1.1.34-sj1pcnn3.mjs";import"./cli-1.1.34-372a0qyj.mjs";import"./cli-1.1.34-vdk5kjz7.mjs";import"./cli-1.1.34-g0sqgp9m.mjs";import"./cli-1.1.34-fgbv1rw4.mjs";import"./cli-1.1.34-nxeb9r8s.mjs";import"./cli-1.1.34-9jn997h8.mjs";import"./cli-1.1.34-yfasvar9.mjs";import"./cli-1.1.34-9z887t80.mjs";import"./cli-1.1.34-c3w48hst.mjs";import"./cli-1.1.34-3rcacat5.mjs";import"./cli-1.1.34-20femz8z.mjs";import"./cli-1.1.34-fgx6ej2m.mjs";import"./cli-1.1.34-59csbz1a.mjs";import"./cli-1.1.34-vz14r55x.mjs";import"./cli-1.1.34-s9g6mekb.mjs";import"./cli-1.1.34-hpn89fzn.mjs";import"./cli-1.1.34-rqkzp4n2.mjs";import"./cli-1.1.34-z1htezxg.mjs";import"./cli-1.1.34-5ffnhvmt.mjs";import"./cli-1.1.34-ff6hyf5n.mjs";import"./cli-1.1.34-bt9brnrs.mjs";import"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-k761g5m2.mjs";import"./cli-1.1.34-8vfey6b5.mjs";import"./cli-1.1.34-7ad0dt89.mjs";import"./cli-1.1.34-fnds3msv.mjs";import"./cli-1.1.34-yrk4mxjw.mjs";import"./cli-1.1.34-1xg52b7q.mjs";import"./cli-1.1.34-7bxexffs.mjs";import"./cli-1.1.34-70pxm3rb.mjs";import"./cli-1.1.34-4zj4kbw4.mjs";import"./cli-1.1.34-cp457g25.mjs";import"./cli-1.1.34-ajqsr81p.mjs";import"./cli-1.1.34-e7fd8zh6.mjs";import"./cli-1.1.34-dvx08sv2.mjs";import"./cli-1.1.34-hpt8kch4.mjs";import"./cli-1.1.34-9tctqya9.mjs";import"./cli-1.1.34-166q8s04.mjs";import"./cli-1.1.34-mbeaqq0q.mjs";import"./cli-1.1.34-cptp243m.mjs";import"./cli-1.1.34-vpwwhg8z.mjs";import"./cli-1.1.34-wwjkncsv.mjs";import"./cli-1.1.34-p5v4dwpg.mjs";import"./cli-1.1.34-37g65vk7.mjs";import"./cli-1.1.34-z1tmh10g.mjs";import"./cli-1.1.34-92kps6jn.mjs";import"./cli-1.1.34-0t1h2v5v.mjs";import"./cli-1.1.34-5t01yf6x.mjs";import"./cli-1.1.34-xwg0x7p4.mjs";import"./cli-1.1.34-fm4a40ta.mjs";import"./cli-1.1.34-d0sgyvr1.mjs";import"./cli-1.1.34-ev8ffgr9.mjs";import"./cli-1.1.34-qef4zhc3.mjs";import"./cli-1.1.34-n5t6xk0e.mjs";import"./cli-1.1.34-n5zh4wyg.mjs";import{Iqa as g}from"./cli-1.1.34-4x915j9t.mjs";var u=async(p,f)=>{return await b(f),{type:"text",value:""}};var k=g(()=>{h()});k();export{u as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{J1 as a,K1 as b,L1 as c}from"./cli-1.1.34-5ec767fj.mjs";import"./cli-1.1.34-4x915j9t.mjs";c();export{a as getClearTerminalSequence,b as clearTerminal};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Cz as L,Mz as w,pz as y,qz as S,wz as h}from"./cli-1.1.34-84707tma.mjs";import{IX as U,KX as D,OX as v,pY as B,wW as l}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as G,U1 as H,V1 as W}from"./cli-1.1.34-8vfey6b5.mjs";import{Eqa as C,Iqa as M}from"./cli-1.1.34-4x915j9t.mjs";function T(z){let q=u.c(26),{scope:A,parsingErrors:Q,warnings:R}=z,K=Q.length>0,X=R.length>0;if(!K&&!X)return null;let V;if(q[0]!==K||q[1]!==X)V=(K||X)&&H(D,{color:K?"error":"warning",children:["[",K?"Failed to parse":"Contains warnings","]"," "]}),q[0]=K,q[1]=X,q[2]=V;else V=q[2];let I;if(q[3]!==A)I=S(A),q[3]=A,q[4]=I;else I=q[4];let J;if(q[5]!==I)J=G(D,{children:I}),q[5]=I,q[6]=J;else J=q[6];let Y;if(q[7]!==V||q[8]!==J)Y=H(U,{children:[V,J]}),q[7]=V,q[8]=J,q[9]=Y;else Y=q[9];let P;if(q[10]===Symbol.for("react.memo_cache_sentinel"))P=G(D,{dimColor:!0,children:"Location: "}),q[10]=P;else P=q[10];let Z;if(q[11]!==A)Z=y(A),q[11]=A,q[12]=Z;else Z=q[12];let F;if(q[13]!==Z)F=H(U,{children:[P,G(D,{dimColor:!0,children:Z})]}),q[13]=Z,q[14]=F;else F=q[14];let O;if(q[15]!==Q)O=Q.map(E),q[15]=Q,q[16]=O;else O=q[16];let b;if(q[17]!==R)b=R.map(m),q[17]=R,q[18]=b;else b=q[18];let k;if(q[19]!==O||q[20]!==b)k=H(U,{marginLeft:1,flexDirection:"column",children:[O,b]}),q[19]=O,q[20]=b,q[21]=k;else k=q[21];let d;if(q[22]!==k||q[23]!==Y||q[24]!==F)d=H(U,{flexDirection:"column",marginTop:1,children:[Y,F,k]}),q[22]=k,q[23]=Y,q[24]=F,q[25]=d;else d=q[25];return d}function m(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"warning",children:"[Warning]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`warning-${q}`)}function E(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"error",children:"[Error]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`error-${q}`)}function x(){let z=u.c(6),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q={scope:"user",config:L("user")},z[0]=q;else q=z[0];let A;if(z[1]===Symbol.for("react.memo_cache_sentinel"))A={scope:"project",config:L("project")},z[1]=A;else A=z[1];let Q;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Q={scope:"local",config:L("local")},z[2]=Q;else Q=z[2];let R;if(z[3]===Symbol.for("react.memo_cache_sentinel"))R=[q,A,Q,{scope:"enterprise",config:L("enterprise")}],z[3]=R;else R=z[3];let K=R,X=K.some(j),V=K.some(_);if(!X&&!V)return null;let I;if(z[4]===Symbol.for("react.memo_cache_sentinel"))I=G(D,{bold:!0,children:"MCP Config Diagnostics"}),z[4]=I;else I=z[4];let J;if(z[5]===Symbol.for("react.memo_cache_sentinel"))J=H(U,{flexDirection:"column",marginTop:1,marginBottom:1,children:[I,G(U,{marginTop:1,children:H(D,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",G(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),K.map(f)]}),z[5]=J;else J=z[5];return J}function f(z){let{scope:q,config:A}=z;return G(T,{scope:q,parsingErrors:N(A.errors,"fatal"),warnings:N(A.errors,"warning")},q)}function _(z){let{config:q}=z;return N(q.errors,"warning").length>0}function j(z){let{config:q}=z;return N(q.errors,"fatal").length>0}function N(z,q){return z.filter((A)=>A.mcpErrorMetadata?.severity===q)}var u;var p=M(()=>{w();h();B();W();u=C(l(),1)});
|
|
2
|
-
export{x as lg,p as mg};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{Aqa as su,Cqa as K_,Dqa as f_,zqa as V_}from"./cli-1.1.34-zpsaqq15.mjs";import{Gqa as H,Jqa as $_}from"./cli-1.1.34-4x915j9t.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
-
versions published after the first week of January 2027
|
|
3
|
-
will require node >=${E}. You are running node ${_}.
|
|
4
|
-
|
|
5
|
-
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
-
and security updates please upgrade to node >=${E}.
|
|
7
|
-
|
|
8
|
-
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
-
export{W_ as H8,D_ as I8,yu as J8,ou as K8};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Ii as ZJ,Ji as $J,Ki as qJ,Li as zJ,Mi as OJ}from"./cli-1.1.34-czhcyzgw.mjs";import{Ni as QJ,Oi as PJ}from"./cli-1.1.34-0mjf3pve.mjs";import{CA as u,wA as y,xA as b}from"./cli-1.1.34-84707tma.mjs";import{IX as P,KX as U,pY as DJ}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as Y,U1 as L,V1 as WJ}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as m}from"./cli-1.1.34-7ad0dt89.mjs";import{K9 as D,Kaa as HJ,L9 as JJ,oaa as x,oda as l,qaa as c,waa as n,wda as BJ}from"./cli-1.1.34-wwjkncsv.mjs";import{Pga as IJ,yga as YJ,zga as g}from"./cli-1.1.34-p5v4dwpg.mjs";import{Eqa as j,Iqa as I}from"./cli-1.1.34-4x915j9t.mjs";function h(J,Z){let{perFileStats:q}=J,z=[];for(let[Q,$]of q){let K=Z.get(Q),M=$.isUntracked??!1,A=!$.isBinary&&!M&&!K&&!$.renamedFrom,H=$.added+$.removed,V=!A&&!$.isBinary&&H>AJ;z.push({path:Q,linesAdded:$.added,linesRemoved:$.removed,isBinary:$.isBinary,isLargeFile:A,isTruncated:V,isUntracked:M,...$.renamedFrom?{renamedFrom:$.renamedFrom}:{}})}return z.sort((Q,$)=>Q.path.localeCompare($.path)),z}var S,AJ=400;var f=I(()=>{u();S=j(m(),1)});import{basename as w}from"path";function gJ(J,Z){let[q,z]=O.useState([]),[Q,$]=O.useState([]),[K,M]=O.useState(!0),[A,H]=O.useState(0),V=J.join(`
|
|
2
|
-
`),X=Z.join(`
|
|
3
|
-
`);O.useEffect(()=>{let B=!1;M(!0);async function G(){let F=V?V.split(`
|
|
4
|
-
`):[],E=X?X.split(`
|
|
5
|
-
`):[],v=(await Promise.all(E.map((N)=>c(N)))).flat(),_=x(v).filter((N)=>!F.includes(N)).sort((N,C)=>w(N).localeCompare(w(C))),k=x([...F,..._]),T=await Promise.all(k.map(async(N)=>{let[C,p,UJ]=await Promise.all([y(N),b(N),n(N)]);return{root:N,name:w(N),branch:UJ,files:C?h(C,p):[],hunks:p}}));if(!B)z(T),$(k),M(!1)}return G().catch(()=>{if(!B)z([]),$([]),M(!1)}),()=>{B=!0}},[V,X,A]);let W=O.useCallback(()=>H((B)=>B+1),[]);return{groups:q,roots:Q,loading:K,refresh:W}}var O;var VJ=I(()=>{HJ();u();f();O=j(m(),1)});import{basename as d}from"path";function a(J,Z,q){if(J===0)return"";return Z.join("")+(q?NJ:i)}function r(J){return{name:J,dirs:new Map,files:[]}}function GJ(J){let Z=r("");for(let q of J){let z=q.path.split("/");z.pop();let Q=Z;for(let $ of z){let K=Q.dirs.get($);if(!K)K=r($),Q.dirs.set($,K);Q=K}Q.files.push(q)}return Z}function o(J,Z,q,z,Q,$,K,M){let A=[...J.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...J.files].sort((X,W)=>d(X.path).localeCompare(d(W.path))),V=H.length>0;for(let X=0;X<A.length;X++){let W=A[X],B=W.name,G=Z?`${Z}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let _=W.dirs.values().next().value;B=`${B}/${_.name}`,G=`${G}/${_.name}`,W=_}let F=X===A.length-1&&!V,E=`${Q}\x00${G}`,v=z.has(E);if(K.push({kind:"dir",key:E,label:B,depth:q,collapsed:v,guides:a(q,M,F)}),!v){let _=q>=1?[...M,F?_J:i]:M;o(W,G,q+1,z,Q,$,K,_)}}for(let X=0;X<H.length;X++){let W=H[X],B=X===H.length-1;K.push({kind:"file",file:W,root:Q,hunks:$(W.path),depth:q,guides:a(q,M,B)})}}function vJ(J,Z){let q=[],z=J.length>1,Q=0;for(let $ of J){let K=z?1:0;if(z){let M=Z.has($.root);if(q.push({kind:"group",key:$.root,name:$.name,meta:`${$.files.length} ${l($.files.length,"file")} changed`,branch:$.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}o(GJ($.files),"",K,Z,$.root,(M)=>$.hunks.get(M)??[],q,[])}return q}var i="│ ",NJ="└ ",_J=" ";var t=I(()=>{BJ()});function cJ(J){let Z=0;for(let q=0;q<J.length;q++)Z=Math.imul(Z,31)+J.charCodeAt(q)|0;return R[Math.abs(Z)%R.length]}function s(J){let Z=R.length;return R[(J%Z+Z)%Z]}var R;var e=I(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function XJ(){let J=QJ();return{enabled:J,fileIcon:(Z)=>J?qJ(Z):"",fileIconColor:(Z)=>J?zJ(Z):void 0,folderIcon:(Z)=>J?Z?$J:ZJ:"",repoIcon:J?FJ:"",branchIcon:J?EJ:"",pointer:D.pointer}}var FJ="",EJ="";var MJ=I(()=>{JJ();OJ();PJ()});import{basename as LJ}from"path";function kJ(J,Z,q){if(J<=q)return{start:0,end:J};let z=Math.max(0,Z-Math.floor(q/2)),Q=z+q;if(Q>J)Q=J,z=Math.max(0,Q-q);return{start:z,end:Q}}function zZ(J){return J.flatMap((Z)=>Z.files)}function QZ({rows:J,selectedIndex:Z,maxVisible:q,width:z,statusByPath:Q,alignFiles:$}){let K=KJ.useMemo(XJ,[]),M=J.length;if(M===0)return Y(U,{dimColor:!0,children:"No changed files"});let{start:A,end:H}=kJ(M,Z,q),V=[];for(let X=A;X<H;X++){let W=J[X];V.push(Y(CJ,{row:W,isSelected:X===Z,width:z,glyphs:K,alignFiles:$,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(P,{flexDirection:"column",children:[A>0&&Y(U,{dimColor:!0,children:` ↑ ${A} more`}),V,H<M&&Y(U,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function CJ({row:J,isSelected:Z,width:q,glyphs:z,statusColor:Q,alignFiles:$}){if(J.kind==="group"){let E=Z?`${z.pointer} `:" ",v=J.collapsed?D.triangleRight:D.triangleDown;return L(U,{dimColor:!Z,bold:Z,children:[`${E}${v} `,z.repoIcon&&Y(U,{color:s(J.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),J.name," ",Y(U,{bold:!0,children:J.meta}),J.branch&&Y(U,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${J.branch}`})]})}let K=Z?`${z.pointer} `:" ",M=J.guides,A=2+J.depth*2;if(J.kind==="dir"){let E=J.collapsed?D.triangleRight:D.triangleDown,v=z.folderIcon(!J.collapsed),_=v?`${v} `:"",k=Math.max(4,q-A-2-(_?2:0)-1),T=g(J.label,k);return L(P,{width:q,flexDirection:"row",children:[Y(P,{flexShrink:1,overflow:"hidden",children:L(U,{wrap:"truncate",bold:Z,inverse:Z,children:[K,Y(U,{dimColor:!Z,children:M}),`${E} ${_}${T}`]})}),Y(P,{flexGrow:1})]})}let H=z.fileIcon(J.file.path),V=H?`${H} `:"",X=Z?void 0:z.fileIconColor(J.file.path),W=$?" ":"",B=J.file.isBinary||J.file.isLargeFile||J.file.renamedFrom?9:0,G=Math.max(4,q-A-W.length-(V?2:0)-B-1),F=J.label?g(J.label,G):YJ(LJ(J.file.path),G);return L(P,{width:q,flexDirection:"row",children:[Y(P,{flexShrink:1,overflow:"hidden",children:L(U,{wrap:"truncate",bold:Z,inverse:Z,children:[K,Y(U,{dimColor:!Z,children:M}),W,X?Y(U,{color:X,children:V}):V,Q&&!Z?Y(U,{color:Q,children:F}):F]})}),Y(P,{flexGrow:1}),Y(P,{flexShrink:0,children:Y(RJ,{file:J.file,isSelected:Z})})]})}function RJ({file:J,isSelected:Z}){if(J.isBinary)return Y(U,{dimColor:!Z,italic:!0,wrap:"truncate",children:"binary"});if(J.isLargeFile)return Y(U,{dimColor:!Z,italic:!0,wrap:"truncate",children:"large"});if(J.renamedFrom)return Y(U,{dimColor:!Z,italic:!0,wrap:"truncate",children:"renamed"});return null}var KJ,qZ=80;var TJ=I(()=>{JJ();DJ();IJ();e();t();MJ();WJ();KJ=j(m(),1)});function WZ(J,Z){return Z+J.split("\x1B[0m").join("\x1B[0m"+Z).split("\x1B[49m").join(Z)+"\x1B[49m"}var jJ=()=>{};
|
|
6
|
-
export{gJ as Eh,VJ as Fh,XJ as Gh,MJ as Hh,cJ as Ih,e as Jh,vJ as Kh,t as Lh,qZ as Mh,zZ as Nh,QZ as Oh,TJ as Ph,WZ as Qh,jJ as Rh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{KJ as Y,fR as R,kk as Q,lk as I,sm as W,vm as P}from"./cli-1.1.34-84707tma.mjs";import{tga as B,uga as f}from"./cli-1.1.34-p5v4dwpg.mjs";import{Nha as H,Oha as J,gia as F}from"./cli-1.1.34-0t1h2v5v.mjs";import{Rka as x,upa as $}from"./cli-1.1.34-qef4zhc3.mjs";import{Iqa as Z}from"./cli-1.1.34-4x915j9t.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
-
export{S as Re,V as Se,X as Te,r as Ue,w as Ve,T as We,G as Xe};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bka as B,cka as H,jka as V}from"./cli-1.1.34-ev8ffgr9.mjs";import{Iqa as Q}from"./cli-1.1.34-4x915j9t.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Ni,Y as Oi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ka as F,Xka as z,upa as I}from"./cli-1.1.34-qef4zhc3.mjs";import{Iqa as E}from"./cli-1.1.34-4x915j9t.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="fork-boilerplate",h="Your directive: ",l,w;var N=E(()=>{l=["help","-h","--help"],w=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
-
export{U as Cha,K as Dha,V as Eha,W as Fha,M as Gha,Y as Hha,Z as Iha,$ as Jha,j as Kha,q as Lha,B as Mha,L as Nha,R as Oha,_ as Pha,b as Qha,x as Rha,A as Sha,T as Tha,k as Uha,p as Vha,u as Wha,v as Xha,y as Yha,f as Zha,C as _ha,S as $ha,O as aia,m as bia,g as cia,h as dia,l as eia,w as fia,N as gia};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A9 as $,B9 as T,w9 as _}from"./cli-1.1.34-vpwwhg8z.mjs";import{D_ as W,F_ as V,Kaa as D,S$ as U,Tea as j,kaa as Z,laa as w,maa as k,v$ as Y}from"./cli-1.1.34-wwjkncsv.mjs";import{qja as N,tja as M}from"./cli-1.1.34-xwg0x7p4.mjs";import{Xka as X,upa as O}from"./cli-1.1.34-qef4zhc3.mjs";O();j();M();T();U();w();D();import{realpath as x}from"fs/promises";async function y(){try{let q=await _();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=k(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(Y));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Z(q);if(!I)return!1;let z=$(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{y,f as z,P as A,d as B,l as C};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Fd as O,Gd as Q,Jd as U,Kd as $}from"./cli-1.1.34-1m5v3ffj.mjs";import{$E as N,lF as _}from"./cli-1.1.34-84707tma.mjs";import{IX as G,KX as w,pY as Z}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as q,U1 as F,V1 as K}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as Y}from"./cli-1.1.34-7ad0dt89.mjs";import{Eqa as W,Iqa as X}from"./cli-1.1.34-4x915j9t.mjs";function R({enabled:J,onDismiss:H}){let[z,A]=V.useState(()=>J?{kind:"prompt"}:{kind:"hidden"});if(!J||z.kind==="hidden")return null;if(z.kind==="running")return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),q(w,{dimColor:!0,children:"Copying API tokens and provider profiles."})]});if(z.kind==="success"||z.kind==="error"){let I=z.kind==="success"?"success":"warning",E=z.kind==="success"?"Migration complete":"Migration finished with warnings";return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:I,bold:!0,children:E}),q(w,{children:Q(z.report)}),q(w,{dimColor:!0,children:"Next: /import brings skills, MCP servers, agents and slash commands — from Claude Code, and from Codex, Gemini CLI, Qwen Code, opencode, Kimi CLI and Cursor."})]})}return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),q(w,{children:"Copy the Claude Code sign-in — API tokens and provider profiles — into ~/.claudin/?"}),q(N,{options:[{value:"migrate",label:"Copy my sign-in",description:"Tokens only. Run /import for skills, MCP, agents."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(I)=>{if(I==="skip"){U(),A({kind:"hidden"}),H?.("skipped");return}A({kind:"running"}),(async()=>{let E=await O();A({kind:E.errors.length===0?"success":"error",report:E}),H?.("migrated")})()},onCancel:()=>{A({kind:"hidden"}),H?.("skipped")},visibleOptionCount:2})]})}var V;var f=X(()=>{Z();$();_();K();V=W(Y(),1)});
|
|
2
|
-
export{R as Dd,f as Ed};
|