@claudiolabs/claudin 1.1.38 → 1.1.40
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.40-eb4xn79h.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.40-s12f36rk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.40-08yczhe8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.40-xw7040fw.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.40-ejq4fmn7.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.40-n8xq1ghm.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.40-2ykfyp2y.mjs +6 -0
- package/dist/chunks/Doctor-1.1.40-5q8gn92n.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.40-qbvaevt6.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.40-tbt91h1c.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.40-bx3xnmmr.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.40-kg7st12w.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.40-d7hcx55h.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.40-mwq5eg90.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.40-z85fnyyw.mjs +1 -0
- package/dist/chunks/REPL-1.1.40-h9ccg2t4.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.40-0ghfz7ak.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.40-39n922s2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.40-shkd3dr0.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.40-5e4necay.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.40-kfzg6nqe.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.40-x1k41dnq.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.40-3r59c8nw.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.40-8ywrwcaw.mjs +1 -0
- package/dist/chunks/add-dir-1.1.40-4etvgznk.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.40-0jgkahp3.mjs +1 -0
- package/dist/chunks/agents-1.1.40-aa2gqrkq.mjs +110 -0
- package/dist/chunks/agents-1.1.40-v0vqxazw.mjs +3 -0
- package/dist/chunks/api-1.1.40-dwsbnjc3.mjs +1 -0
- package/dist/chunks/asciicast-1.1.40-y0e6w0q6.mjs +1 -0
- package/dist/chunks/auth-1.1.40-43w4cqf5.mjs +1 -0
- package/dist/chunks/auth-1.1.40-jhdwprg7.mjs +1 -0
- package/dist/chunks/autoMode-1.1.40-gy1w9r7y.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.40-8jjzstby.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.40-q7a2hm0c.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.40-pnakm6fp.mjs +1 -0
- package/dist/chunks/branch-1.1.40-1aq0shtd.mjs +4 -0
- package/dist/chunks/bridge-1.1.40-jngt6dkf.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.40-6zjr3dgb.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.40-5ra4n5cw.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.40-q22hv9eb.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.40-8nvycyyd.mjs +1 -0
- package/dist/chunks/btw-1.1.40-vqdnk39f.mjs +1 -0
- package/dist/chunks/buddy-1.1.40-wkym7yqv.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.40-5ac1ane9.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.40-dc4nspga.mjs +4 -0
- package/dist/chunks/caches-1.1.40-9ej2vasg.mjs +1 -0
- package/dist/chunks/cd-1.1.40-d5jhbgzp.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.40-2wmbzv9t.mjs +1 -0
- package/dist/chunks/claudemd-1.1.40-5bw0jeka.mjs +1 -0
- package/dist/chunks/clear-1.1.40-3gpjnsv0.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.40-ny8kqt7d.mjs +1 -0
- package/dist/chunks/cli-1.1.40-0507kdps.mjs +2 -0
- package/dist/chunks/cli-1.1.40-05q41dcq.mjs +63 -0
- package/dist/chunks/cli-1.1.40-0a9nnbar.mjs +2 -0
- package/dist/chunks/cli-1.1.40-0hb84ejd.mjs +2 -0
- package/dist/chunks/cli-1.1.40-0p3na6a1.mjs +2 -0
- package/dist/chunks/cli-1.1.40-0vdhw7mm.mjs +3 -0
- package/dist/chunks/cli-1.1.40-0z5szwzt.mjs +2 -0
- package/dist/chunks/cli-1.1.40-13ccwz6g.mjs +2 -0
- package/dist/chunks/cli-1.1.40-13e9gynq.mjs +16 -0
- package/dist/chunks/cli-1.1.40-14x4xtjy.mjs +2 -0
- package/dist/chunks/cli-1.1.40-1a4pn4ww.mjs +2 -0
- package/dist/chunks/cli-1.1.40-1pe6rcmh.mjs +2 -0
- package/dist/chunks/cli-1.1.40-1r9pwsgr.mjs +2 -0
- package/dist/chunks/cli-1.1.40-1z293953.mjs +2 -0
- package/dist/chunks/cli-1.1.40-202jxgqx.mjs +2 -0
- package/dist/chunks/cli-1.1.40-25wt0y2a.mjs +2 -0
- package/dist/chunks/cli-1.1.40-2e8t1hzy.mjs +2 -0
- package/dist/chunks/cli-1.1.40-2j20ecjm.mjs +11 -0
- package/dist/chunks/cli-1.1.40-2ndseghs.mjs +2 -0
- package/dist/chunks/cli-1.1.40-2ted9r2b.mjs +2 -0
- package/dist/chunks/cli-1.1.40-2z1ppytd.mjs +2 -0
- package/dist/chunks/cli-1.1.40-390v6b8q.mjs +2 -0
- package/dist/chunks/cli-1.1.40-3e58725b.mjs +3 -0
- package/dist/chunks/cli-1.1.40-3hqepe0h.mjs +34 -0
- package/dist/chunks/cli-1.1.40-3m4n20em.mjs +2 -0
- package/dist/chunks/cli-1.1.40-4a1p6q3b.mjs +2 -0
- package/dist/chunks/cli-1.1.40-4d4b7cw2.mjs +2 -0
- package/dist/chunks/cli-1.1.40-4d6gye21.mjs +2 -0
- package/dist/chunks/cli-1.1.40-586jg9as.mjs +4 -0
- package/dist/chunks/cli-1.1.40-5m7tntdx.mjs +2 -0
- package/dist/chunks/cli-1.1.40-5szxfmd7.mjs +2 -0
- package/dist/chunks/cli-1.1.40-5x38x6mx.mjs +2 -0
- package/dist/chunks/cli-1.1.40-66c2dzxw.mjs +8 -0
- package/dist/chunks/cli-1.1.40-6bv738vq.mjs +2 -0
- package/dist/chunks/cli-1.1.40-6evbnv5e.mjs +4 -0
- package/dist/chunks/cli-1.1.40-6gc7p5by.mjs +2 -0
- package/dist/chunks/cli-1.1.40-6v8d2hq7.mjs +18 -0
- package/dist/chunks/cli-1.1.40-718chdj8.mjs +2 -0
- package/dist/chunks/cli-1.1.40-75jka1rb.mjs +2 -0
- package/dist/chunks/cli-1.1.40-77d85srw.mjs +2 -0
- package/dist/chunks/cli-1.1.40-7mtszf6q.mjs +2 -0
- package/dist/chunks/cli-1.1.40-7p7pbsj7.mjs +3 -0
- package/dist/chunks/cli-1.1.40-7sp5dtqz.mjs +2 -0
- package/dist/chunks/cli-1.1.40-7xegymwp.mjs +3 -0
- package/dist/chunks/cli-1.1.40-88vceqkj.mjs +6 -0
- package/dist/chunks/cli-1.1.40-8dzrhmwv.mjs +2 -0
- package/dist/chunks/cli-1.1.40-8j3wdrn6.mjs +2 -0
- package/dist/chunks/cli-1.1.40-8jkb2pk8.mjs +3 -0
- package/dist/chunks/cli-1.1.40-8tkx8d1m.mjs +50 -0
- package/dist/chunks/cli-1.1.40-8x5yey3y.mjs +20 -0
- package/dist/chunks/cli-1.1.40-8xvdt1py.mjs +2 -0
- package/dist/chunks/cli-1.1.40-8zhx2a4q.mjs +2 -0
- package/dist/chunks/cli-1.1.40-904bkcqe.mjs +2 -0
- package/dist/chunks/cli-1.1.40-9bqkn2xd.mjs +2 -0
- package/dist/chunks/cli-1.1.40-9ktcep8b.mjs +2 -0
- package/dist/chunks/cli-1.1.40-a8ztxtkt.mjs +2 -0
- package/dist/chunks/cli-1.1.40-a94m02ck.mjs +2 -0
- package/dist/chunks/cli-1.1.40-a9t3gajj.mjs +2 -0
- package/dist/chunks/cli-1.1.40-aaec6y8n.mjs +2 -0
- package/dist/chunks/cli-1.1.40-aknkj6rt.mjs +2 -0
- package/dist/chunks/cli-1.1.40-asmc6tcr.mjs +2 -0
- package/dist/chunks/cli-1.1.40-b37e0jb8.mjs +6 -0
- package/dist/chunks/cli-1.1.40-bdt7jzc8.mjs +12 -0
- package/dist/chunks/cli-1.1.40-beywxqng.mjs +2 -0
- package/dist/chunks/cli-1.1.40-bh7z7ek2.mjs +2 -0
- package/dist/chunks/cli-1.1.40-bkxrf16s.mjs +2 -0
- package/dist/chunks/cli-1.1.40-cacr2bwg.mjs +135 -0
- package/dist/chunks/cli-1.1.40-cjmpr9fj.mjs +6 -0
- package/dist/chunks/cli-1.1.40-cjtb9y6z.mjs +2 -0
- package/dist/chunks/cli-1.1.40-ckjrbh6b.mjs +60 -0
- package/dist/chunks/cli-1.1.40-cr76k9c5.mjs +2 -0
- package/dist/chunks/cli-1.1.40-cy642er2.mjs +5 -0
- package/dist/chunks/cli-1.1.40-czkgycwy.mjs +2 -0
- package/dist/chunks/cli-1.1.40-d94fysd2.mjs +2 -0
- package/dist/chunks/cli-1.1.40-dbt9wvcg.mjs +133 -0
- package/dist/chunks/cli-1.1.40-dcgb31te.mjs +2 -0
- package/dist/chunks/cli-1.1.40-dsncefwy.mjs +2 -0
- package/dist/chunks/cli-1.1.40-e6xs2c7n.mjs +2 -0
- package/dist/chunks/cli-1.1.40-evm7c2fk.mjs +2 -0
- package/dist/chunks/cli-1.1.40-f4906zck.mjs +3 -0
- package/dist/chunks/cli-1.1.40-fewramj2.mjs +2 -0
- package/dist/chunks/cli-1.1.40-fjbq162e.mjs +24 -0
- package/dist/chunks/cli-1.1.40-fn6qzvk2.mjs +17 -0
- package/dist/chunks/cli-1.1.40-fqcnge4w.mjs +4 -0
- package/dist/chunks/cli-1.1.40-fwxd22jm.mjs +2 -0
- package/dist/chunks/cli-1.1.40-g1vnzwpn.mjs +2 -0
- package/dist/chunks/cli-1.1.40-gk34ey8n.mjs +24 -0
- package/dist/chunks/cli-1.1.40-gv0xj4g0.mjs +2 -0
- package/dist/chunks/cli-1.1.40-gym1gqwr.mjs +2 -0
- package/dist/chunks/cli-1.1.40-h2t9z1xa.mjs +2 -0
- package/dist/chunks/cli-1.1.40-h5r5wmqv.mjs +3 -0
- package/dist/chunks/cli-1.1.40-h6v9p00b.mjs +2 -0
- package/dist/chunks/cli-1.1.40-h87wvfsr.mjs +24 -0
- package/dist/chunks/cli-1.1.40-h9vf8tb3.mjs +2 -0
- package/dist/chunks/cli-1.1.40-hdf9qdf0.mjs +2 -0
- package/dist/chunks/cli-1.1.40-hf5jtfgb.mjs +2 -0
- package/dist/chunks/cli-1.1.40-hfe06y9j.mjs +250 -0
- package/dist/chunks/cli-1.1.40-hn5j9ca8.mjs +3 -0
- package/dist/chunks/cli-1.1.40-j3mmbyn6.mjs +2 -0
- package/dist/chunks/cli-1.1.40-j822dmk0.mjs +2 -0
- package/dist/chunks/cli-1.1.40-jc0pv06v.mjs +2 -0
- package/dist/chunks/cli-1.1.40-jdhz6qrn.mjs +4 -0
- package/dist/chunks/cli-1.1.40-jdyqkhjm.mjs +15 -0
- package/dist/chunks/cli-1.1.40-jxfk62k7.mjs +2 -0
- package/dist/chunks/cli-1.1.40-jxt31ej7.mjs +2 -0
- package/dist/chunks/cli-1.1.40-k3z93zzh.mjs +2 -0
- package/dist/chunks/cli-1.1.40-k9ms1jzt.mjs +2 -0
- package/dist/chunks/cli-1.1.40-kafpmwa6.mjs +2 -0
- package/dist/chunks/cli-1.1.40-kcs8jb1x.mjs +2 -0
- package/dist/chunks/cli-1.1.40-kn1916j7.mjs +2 -0
- package/dist/chunks/cli-1.1.40-knp59dzj.mjs +25 -0
- package/dist/chunks/cli-1.1.40-ksaxg9vb.mjs +2 -0
- package/dist/chunks/cli-1.1.40-kvhhhzww.mjs +2 -0
- package/dist/chunks/cli-1.1.40-m0j9t9he.mjs +2 -0
- package/dist/chunks/cli-1.1.40-m0km8bx0.mjs +2 -0
- package/dist/chunks/cli-1.1.40-m3m3zyes.mjs +2 -0
- package/dist/chunks/cli-1.1.40-m4hyy4k1.mjs +2 -0
- package/dist/chunks/cli-1.1.40-mtj9edbn.mjs +2 -0
- package/dist/chunks/cli-1.1.40-mtqb5txt.mjs +2 -0
- package/dist/chunks/cli-1.1.40-n9wve56a.mjs +2 -0
- package/dist/chunks/cli-1.1.40-ncvv73yk.mjs +2 -0
- package/dist/chunks/cli-1.1.40-nj4dbcsq.mjs +5 -0
- package/dist/chunks/cli-1.1.40-nvwa39p8.mjs +2 -0
- package/dist/chunks/cli-1.1.40-p0d9ms1q.mjs +2 -0
- package/dist/chunks/cli-1.1.40-p1ezfj24.mjs +2 -0
- package/dist/chunks/cli-1.1.40-p3jhg1v9.mjs +2 -0
- package/dist/chunks/cli-1.1.40-p6sasq8k.mjs +2 -0
- package/dist/chunks/cli-1.1.40-pmw99nnn.mjs +2 -0
- package/dist/chunks/cli-1.1.40-ptbes5dy.mjs +2 -0
- package/dist/chunks/cli-1.1.40-qbqaea7j.mjs +2 -0
- package/dist/chunks/cli-1.1.40-qj79t43w.mjs +2 -0
- package/dist/chunks/cli-1.1.40-qrryep7k.mjs +2 -0
- package/dist/chunks/cli-1.1.40-r0e1tymb.mjs +4 -0
- package/dist/chunks/cli-1.1.40-rcfj1etg.mjs +2 -0
- package/dist/chunks/cli-1.1.40-rq9y2zd8.mjs +4 -0
- package/dist/chunks/cli-1.1.40-rwbr7d1h.mjs +2 -0
- package/dist/chunks/cli-1.1.40-s5zzvtq2.mjs +2 -0
- package/dist/chunks/cli-1.1.40-sa2ca2mh.mjs +2 -0
- package/dist/chunks/cli-1.1.40-sh39fzfc.mjs +2 -0
- package/dist/chunks/cli-1.1.40-sjmpb8kv.mjs +2 -0
- package/dist/chunks/cli-1.1.40-sw6avn9f.mjs +15 -0
- package/dist/chunks/cli-1.1.40-swnje8x1.mjs +2 -0
- package/dist/chunks/cli-1.1.40-t3fwj4bx.mjs +2 -0
- package/dist/chunks/cli-1.1.40-t6s30nmj.mjs +10 -0
- package/dist/chunks/cli-1.1.40-tb7zgp10.mjs +2 -0
- package/dist/chunks/cli-1.1.40-tbjmztnt.mjs +7 -0
- package/dist/chunks/cli-1.1.40-test5hfq.mjs +9 -0
- package/dist/chunks/cli-1.1.40-tjxcmknk.mjs +10 -0
- package/dist/chunks/cli-1.1.40-tpcjtjay.mjs +2 -0
- package/dist/chunks/cli-1.1.40-vemj3v7n.mjs +2 -0
- package/dist/chunks/cli-1.1.40-vjrn2xbp.mjs +39 -0
- package/dist/chunks/cli-1.1.40-vnckyxj2.mjs +6 -0
- package/dist/chunks/cli-1.1.40-vzsswgmp.mjs +2 -0
- package/dist/chunks/cli-1.1.40-wgmkydqq.mjs +2 -0
- package/dist/chunks/cli-1.1.40-wh51ya47.mjs +5524 -0
- package/dist/chunks/cli-1.1.40-wwtg9jyr.mjs +2 -0
- package/dist/chunks/cli-1.1.40-x07axsvg.mjs +3 -0
- package/dist/chunks/cli-1.1.40-x0em3hsa.mjs +42 -0
- package/dist/chunks/cli-1.1.40-x155sz4a.mjs +2 -0
- package/dist/chunks/cli-1.1.40-x8fyash9.mjs +2 -0
- package/dist/chunks/cli-1.1.40-xjt6qe30.mjs +2 -0
- package/dist/chunks/cli-1.1.40-xrdf30ff.mjs +4 -0
- package/dist/chunks/cli-1.1.40-xsx6q1wa.mjs +2 -0
- package/dist/chunks/cli-1.1.40-xty2k2d8.mjs +2 -0
- package/dist/chunks/cli-1.1.40-xvw930pn.mjs +4 -0
- package/dist/chunks/cli-1.1.40-xxr2978q.mjs +2 -0
- package/dist/chunks/cli-1.1.40-xz65jcaq.mjs +2 -0
- package/dist/chunks/cli-1.1.40-yb9c5882.mjs +6 -0
- package/dist/chunks/cli-1.1.40-ycdfy6nf.mjs +15 -0
- package/dist/chunks/cli-1.1.40-yggza6ab.mjs +2 -0
- package/dist/chunks/cli-1.1.40-ypd0pmm1.mjs +9 -0
- package/dist/chunks/cli-1.1.40-yxch4yjw.mjs +2 -0
- package/dist/chunks/cli-1.1.40-yyx9dq0t.mjs +2 -0
- package/dist/chunks/cli-1.1.40-z2y2xwz9.mjs +21 -0
- package/dist/chunks/cli-1.1.40-z3hcyy04.mjs +25 -0
- package/dist/chunks/cli-1.1.40-z4zyefya.mjs +10 -0
- package/dist/chunks/cli-1.1.40-zc4hs061.mjs +2 -0
- package/dist/chunks/cli-1.1.40-zjd4syvr.mjs +2 -0
- package/dist/chunks/cli-1.1.40-zn2yvg4w.mjs +7 -0
- package/dist/chunks/cli-1.1.40-zwpz8d3c.mjs +2 -0
- package/dist/chunks/cli-1.1.40-zx6c6dj7.mjs +2 -0
- package/dist/chunks/cli-1.1.40-zxgbpq09.mjs +2 -0
- package/dist/chunks/cli-1.1.40-zz1e7ypt.mjs +2 -0
- package/dist/chunks/client-1.1.40-7wf4ewe0.mjs +1 -0
- package/dist/chunks/color-1.1.40-v7cj369z.mjs +1 -0
- package/dist/chunks/compact-1.1.40-9frgndw1.mjs +2 -0
- package/dist/chunks/config-1.1.40-hpmvve33.mjs +1 -0
- package/dist/chunks/config-1.1.40-vyqe5y0b.mjs +1 -0
- package/dist/chunks/constants-1.1.40-ddn3fezq.mjs +1 -0
- package/dist/chunks/context-1.1.40-v3bm6v6h.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.40-grk3112n.mjs +1 -0
- package/dist/chunks/conversation-1.1.40-18fff5dm.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.40-8mws1sed.mjs +1 -0
- package/dist/chunks/copy-1.1.40-0j7zfq2m.mjs +9 -0
- package/dist/chunks/cost-1.1.40-haa10e3n.mjs +1 -0
- package/dist/chunks/createSession-1.1.40-m1yre1z2.mjs +1 -0
- package/dist/chunks/debug-1.1.40-jb16xf0z.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.40-6jxq6wj1.mjs +1458 -0
- package/dist/chunks/desktop-1.1.40-78kvtn3w.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.40-bfsfnrg0.mjs +1 -0
- package/dist/chunks/detection-1.1.40-ynqhwygh.mjs +1 -0
- package/dist/chunks/diff-1.1.40-ry5r3hxm.mjs +1 -0
- package/dist/chunks/doctor-1.1.40-3jq6vt4j.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.40-xkn6p433.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.40-cgnyfxrr.mjs +1 -0
- package/dist/chunks/effort-1.1.40-x92e5y73.mjs +13 -0
- package/dist/chunks/engine-1.1.40-xfhy56h0.mjs +1 -0
- package/dist/chunks/envUtils-1.1.40-x04vk5d2.mjs +1 -0
- package/dist/chunks/errors-1.1.40-5rmm9jgq.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.40-0bqsxh7q.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.40-ckxrp2ds.mjs +1 -0
- package/dist/chunks/exit-1.1.40-3z02mbj5.mjs +1 -0
- package/dist/chunks/explorer-1.1.40-wd802dbj.mjs +1 -0
- package/dist/chunks/export-1.1.40-jfwshttx.mjs +2 -0
- package/dist/chunks/fast-1.1.40-60ervp24.mjs +1 -0
- package/dist/chunks/feedback-1.1.40-prjs4btg.mjs +16 -0
- package/dist/chunks/git-1.1.40-j53g8ee0.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.40-mcem604d.mjs +1 -0
- package/dist/chunks/goal-1.1.40-g8esr771.mjs +4 -0
- package/dist/chunks/headless-1.1.40-vr772edq.mjs +2 -0
- package/dist/chunks/heapdump-1.1.40-8rmhv3eq.mjs +6 -0
- package/dist/chunks/help-1.1.40-x9vde04q.mjs +1 -0
- package/dist/chunks/hooks-1.1.40-gm4rps4s.mjs +79 -0
- package/dist/chunks/hooks-1.1.40-wb0fy1tx.mjs +1 -0
- package/dist/chunks/ide-1.1.40-ymf3dffe.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.40-kk0nhrm1.mjs +1 -0
- package/dist/chunks/import-1.1.40-8q1yygwm.mjs +260 -0
- package/dist/chunks/inboundAttachments-1.1.40-gdzw0a60.mjs +1 -0
- package/dist/chunks/index-1.1.40-1036v870.mjs +1 -0
- package/dist/chunks/index-1.1.40-2pnxjnrq.mjs +9 -0
- package/dist/chunks/index-1.1.40-3dg7neyn.mjs +1 -0
- package/dist/chunks/index-1.1.40-3wmvffnj.mjs +1 -0
- package/dist/chunks/index-1.1.40-6h7p7965.mjs +5 -0
- package/dist/chunks/index-1.1.40-7m7py5an.mjs +1 -0
- package/dist/chunks/index-1.1.40-7thhkf50.mjs +1 -0
- package/dist/chunks/index-1.1.40-7zb9nwfm.mjs +1 -0
- package/dist/chunks/index-1.1.40-a4nq3a6p.mjs +23 -0
- package/dist/chunks/index-1.1.40-agp7ccgc.mjs +2 -0
- package/dist/chunks/index-1.1.40-ce1vrpmy.mjs +1 -0
- package/dist/chunks/index-1.1.40-d7gm1zpq.mjs +1 -0
- package/dist/chunks/index-1.1.40-e5mrxhrw.mjs +9 -0
- package/dist/chunks/index-1.1.40-hqxrsc3k.mjs +30 -0
- package/dist/chunks/index-1.1.40-hyjbaxfp.mjs +1 -0
- package/dist/chunks/index-1.1.40-kxj8bd6n.mjs +1 -0
- package/dist/chunks/index-1.1.40-m8hvmnp3.mjs +2 -0
- package/dist/chunks/index-1.1.40-re5y6sqg.mjs +1 -0
- package/dist/chunks/index-1.1.40-rxqg2zmw.mjs +1 -0
- package/dist/chunks/index-1.1.40-scsfdxb9.mjs +1 -0
- package/dist/chunks/index-1.1.40-sebq5zf0.mjs +1 -0
- package/dist/chunks/index-1.1.40-sw11xm4f.mjs +1 -0
- package/dist/chunks/index-1.1.40-wm4s6wvy.mjs +1 -0
- package/dist/chunks/init-1.1.40-t57rwm04.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.40-mjwfh9qk.mjs +1 -0
- package/dist/chunks/ink-1.1.40-9d6z3zms.mjs +1 -0
- package/dist/chunks/insights-1.1.40-a9638asy.mjs +870 -0
- package/dist/chunks/install-1.1.40-zxccztd6.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.40-zf5bv85a.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.40-5zhc4ky1.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.40-8b699chw.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.40-pf10bcf1.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.40-2phb1zja.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.40-nyy8edra.mjs +1 -0
- package/dist/chunks/log-1.1.40-bd06efpx.mjs +1 -0
- package/dist/chunks/main-1.1.40-jsd88fnb.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.40-5bct44v9.mjs +1 -0
- package/dist/chunks/mcp-1.1.40-gwsy9z99.mjs +17 -0
- package/dist/chunks/mcp-1.1.40-ne4zhaas.mjs +4 -0
- package/dist/chunks/mcp-1.1.40-w28yghrq.mjs +1 -0
- package/dist/chunks/mcpb-1.1.40-rmczagzm.mjs +1 -0
- package/dist/chunks/memory-1.1.40-bw1f5kas.mjs +128 -0
- package/dist/chunks/model-1.1.40-abq8e5vn.mjs +1 -0
- package/dist/chunks/model-1.1.40-mchqmvyj.mjs +2 -0
- package/dist/chunks/new-1.1.40-52px2j2q.mjs +1 -0
- package/dist/chunks/node-1.1.40-9cewz2cq.mjs +1 -0
- package/dist/chunks/node-1.1.40-feq5eqhb.mjs +15 -0
- package/dist/chunks/oauth-1.1.40-g2ddff91.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.40-1f1x96vz.mjs +14 -0
- package/dist/chunks/output-style-1.1.40-57gexey1.mjs +1 -0
- package/dist/chunks/package-V72LKFNW-1.1.40-fsxygmx4.mjs +1 -0
- package/dist/chunks/permissions-1.1.40-a3gt3a6r.mjs +1 -0
- package/dist/chunks/permissions-1.1.40-tk64h5pw.mjs +3 -0
- package/dist/chunks/plan-1.1.40-qktxc0xv.mjs +1 -0
- package/dist/chunks/plist-1.1.40-syaedef6.mjs +1 -0
- package/dist/chunks/plugin-1.1.40-40707xv2.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.40-0s8z5pda.mjs +1 -0
- package/dist/chunks/plugins-1.1.40-36g7cedj.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.40-xs0mts7r.mjs +2 -0
- package/dist/chunks/print-1.1.40-n8tbgpmb.mjs +57 -0
- package/dist/chunks/process-1.1.40-2d6jw6ja.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.40-9wg7776s.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.40-xt635hzb.mjs +9 -0
- package/dist/chunks/prompt-1.1.40-384zryvv.mjs +1 -0
- package/dist/chunks/prompt-1.1.40-fafe7d93.mjs +1 -0
- package/dist/chunks/prompts-1.1.40-dkjt46vt.mjs +1 -0
- package/dist/chunks/provider-1.1.40-jdhrf16x.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.40-bw1gvrwa.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.40-grkw6t7j.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.40-829pxw1w.mjs +26 -0
- package/dist/chunks/registry-1.1.40-gcsbpq05.mjs +1 -0
- package/dist/chunks/release-notes-1.1.40-7k7w7byk.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.40-0hnncx1c.mjs +2 -0
- package/dist/chunks/remote-env-1.1.40-8yjn1yy1.mjs +1 -0
- package/dist/chunks/rename-1.1.40-k97agc44.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.40-t07rfxt3.mjs +1 -0
- package/dist/chunks/resume-1.1.40-aztvxhw1.mjs +2 -0
- package/dist/chunks/rewind-1.1.40-qqcys5j3.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.40-1phbx46q.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.40-4zdbvgxr.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.40-w8261442.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.40-3jcyaq2m.mjs +1 -0
- package/dist/chunks/session-1.1.40-t3q2q12k.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.40-k9kv0fc5.mjs +1 -0
- package/dist/chunks/settings-1.1.40-xk0psj3p.mjs +1 -0
- package/dist/chunks/setup-1.1.40-k28y0vhd.mjs +12 -0
- package/dist/chunks/sinks-1.1.40-jmrhph0p.mjs +1 -0
- package/dist/chunks/skills-1.1.40-p548yntr.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.40-r0r0td60.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.40-9k4m0y14.mjs +1 -0
- package/dist/chunks/state-1.1.40-48n6bztp.mjs +1 -0
- package/dist/chunks/stats-1.1.40-7b8de2xc.mjs +1 -0
- package/dist/chunks/status-1.1.40-y6f9m60d.mjs +1 -0
- package/dist/chunks/stickers-1.1.40-6861rtwc.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.40-j8teh9py.mjs +1 -0
- package/dist/chunks/tasks-1.1.40-z0pdc2v6.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.40-dg7kse00.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.40-h0ps5f8m.mjs +1 -0
- package/dist/chunks/teleport-1.1.40-968xt0kq.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.40-tyj663fm.mjs +1 -0
- package/dist/chunks/theme-1.1.40-pt3gmfb7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.40-7evty87j.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.40-js92r1j0.mjs +1 -0
- package/dist/chunks/tools-1.1.40-3xs7vby7.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.40-r64pb7jc.mjs +69 -0
- package/dist/chunks/types-1.1.40-106z8mxc.mjs +1 -0
- package/dist/chunks/update-1.1.40-t843j2px.mjs +72 -0
- package/dist/chunks/upload-1.1.40-mq50976a.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.40-8sq5v7b7.mjs +14 -0
- package/dist/chunks/usage-1.1.40-m5z82r48.mjs +1 -0
- package/dist/chunks/util-1.1.40-wt30k81w.mjs +1 -0
- package/dist/chunks/utils-1.1.40-59bpagj3.mjs +1 -0
- package/dist/chunks/vim-1.1.40-4kra5190.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.40-2vzyqrvn.mjs +13 -0
- package/dist/chunks/wiki-1.1.40-c29899s1.mjs +132 -0
- package/dist/chunks/workflows-1.1.40-heqcwgty.mjs +1 -0
- package/dist/chunks/worktree-1.1.40-mw6zf174.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.40-2wrpxrjt.mjs +1 -0
- package/dist/chunks/wrapper-1.1.40-07rbayqn.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.38-ywjx5zwg.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.38-g8aaewqn.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.38-3xp2vky0.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.38-ng5ew4f1.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.38-pb4syd5b.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.38-v5m7388w.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.38-7xpy0azc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.38-8c786cbs.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.38-gsmc5cbg.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.38-34mcvk0g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.38-4tzaxt0t.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.38-5aqykfy4.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.38-hg33ngjd.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.38-e0dgakf3.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.38-s1stmw8z.mjs +0 -1
- package/dist/chunks/REPL-1.1.38-24nb99vc.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.38-ph61hy3h.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.38-waf94h4c.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.38-8zeez0vw.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.38-x67yqx1x.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.38-s7acgm11.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.38-xdxg0v37.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.38-ze3nezmq.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.38-4hejnp0f.mjs +0 -1
- package/dist/chunks/add-dir-1.1.38-9njmqx1q.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.38-2vgbffh0.mjs +0 -1
- package/dist/chunks/agents-1.1.38-p9ee8aj6.mjs +0 -3
- package/dist/chunks/agents-1.1.38-td2q9455.mjs +0 -110
- package/dist/chunks/api-1.1.38-8mx12h9x.mjs +0 -1
- package/dist/chunks/asciicast-1.1.38-ge5twq4b.mjs +0 -1
- package/dist/chunks/auth-1.1.38-qd9cf36r.mjs +0 -1
- package/dist/chunks/auth-1.1.38-z9s1s7ya.mjs +0 -1
- package/dist/chunks/autoMode-1.1.38-k48yn49s.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.38-akdcfhnr.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.38-x4vhee3g.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.38-bvd35tyn.mjs +0 -1
- package/dist/chunks/branch-1.1.38-ne2jsk2x.mjs +0 -4
- package/dist/chunks/bridge-1.1.38-vdxahb1p.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.38-yf7zjpvf.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.38-eszbcc63.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.38-ywfxh5hm.mjs +0 -64
- package/dist/chunks/bridgePointer-1.1.38-jvevzgc3.mjs +0 -1
- package/dist/chunks/btw-1.1.38-hqjfa45a.mjs +0 -1
- package/dist/chunks/buddy-1.1.38-rq8ak7jk.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.38-dvwdm93b.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.38-pxpr6at8.mjs +0 -4
- package/dist/chunks/caches-1.1.38-mxte3pjs.mjs +0 -1
- package/dist/chunks/cd-1.1.38-nj8jwk5n.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.38-94tj322p.mjs +0 -1
- package/dist/chunks/claudemd-1.1.38-y4ajc9p8.mjs +0 -1
- package/dist/chunks/clear-1.1.38-17hx54za.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.38-e3qy2b07.mjs +0 -1
- package/dist/chunks/cli-1.1.38-06jvwc43.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0cf6ttc6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0dj1dmtd.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0q1t1zs8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0x84gwbc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-16r42mm1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1bv62dee.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1c3thcc3.mjs +0 -10
- package/dist/chunks/cli-1.1.38-1e3jefp8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1jc6vgde.mjs +0 -25
- package/dist/chunks/cli-1.1.38-1k5hq477.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1kce30qe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1wavwd72.mjs +0 -10
- package/dist/chunks/cli-1.1.38-20a2a6n3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-21x08w6j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2a4wcbby.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2jp2m8e4.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2p7f0cx3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2x7b4x0w.mjs +0 -3
- package/dist/chunks/cli-1.1.38-2zbkp90c.mjs +0 -2
- package/dist/chunks/cli-1.1.38-37he9dkq.mjs +0 -2
- package/dist/chunks/cli-1.1.38-38f3b9as.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3a7tvcmx.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3c43sfc3.mjs +0 -34
- package/dist/chunks/cli-1.1.38-3d6qg7yb.mjs +0 -7
- package/dist/chunks/cli-1.1.38-3ez6bs0j.mjs +0 -39
- package/dist/chunks/cli-1.1.38-3gyfttrt.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3j9z8bce.mjs +0 -11
- package/dist/chunks/cli-1.1.38-3q70db32.mjs +0 -2
- package/dist/chunks/cli-1.1.38-41hbjb5d.mjs +0 -3
- package/dist/chunks/cli-1.1.38-44ay6q12.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4dvqxnwp.mjs +0 -9
- package/dist/chunks/cli-1.1.38-4g2k1n93.mjs +0 -133
- package/dist/chunks/cli-1.1.38-4vabm3a1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4wdys8df.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4x6r8r0g.mjs +0 -21
- package/dist/chunks/cli-1.1.38-5zr9x873.mjs +0 -18
- package/dist/chunks/cli-1.1.38-62gxd3va.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6dwdjwfe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6g33twaj.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6hng9dxr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7a0vpxbg.mjs +0 -7
- package/dist/chunks/cli-1.1.38-7vygkwbt.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7wqs4198.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7y52ea97.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7zvbnxfm.mjs +0 -2
- package/dist/chunks/cli-1.1.38-839xw74z.mjs +0 -24
- package/dist/chunks/cli-1.1.38-8br976cg.mjs +0 -2
- package/dist/chunks/cli-1.1.38-8jshtkmf.mjs +0 -2
- package/dist/chunks/cli-1.1.38-8m9096qg.mjs +0 -6
- package/dist/chunks/cli-1.1.38-91q945ws.mjs +0 -3
- package/dist/chunks/cli-1.1.38-92g30wbv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-9p14cyab.mjs +0 -2
- package/dist/chunks/cli-1.1.38-9x263zph.mjs +0 -10
- package/dist/chunks/cli-1.1.38-a2j7607w.mjs +0 -2
- package/dist/chunks/cli-1.1.38-a678cgp1.mjs +0 -251
- package/dist/chunks/cli-1.1.38-a9wkqach.mjs +0 -2
- package/dist/chunks/cli-1.1.38-abavft6n.mjs +0 -6
- package/dist/chunks/cli-1.1.38-ac33weys.mjs +0 -2
- package/dist/chunks/cli-1.1.38-an3fdzsz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-aspnz4m6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-axhwttsc.mjs +0 -9
- package/dist/chunks/cli-1.1.38-azkppcr1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-azv9c3jv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-b56dgy8f.mjs +0 -2
- package/dist/chunks/cli-1.1.38-c0w5gdqr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-c7x1esyq.mjs +0 -6
- package/dist/chunks/cli-1.1.38-cmnad0aj.mjs +0 -8
- package/dist/chunks/cli-1.1.38-cp5m26rk.mjs +0 -3
- package/dist/chunks/cli-1.1.38-cpq50ma6.mjs +0 -15
- package/dist/chunks/cli-1.1.38-cq1f1j06.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ctcgmvy1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-d3xjq2jk.mjs +0 -4
- package/dist/chunks/cli-1.1.38-dfcp3asv.mjs +0 -17
- package/dist/chunks/cli-1.1.38-dggxcj2x.mjs +0 -2
- package/dist/chunks/cli-1.1.38-dxtw8tjv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-dz4qs0ht.mjs +0 -2
- package/dist/chunks/cli-1.1.38-e09rc4b8.mjs +0 -20
- package/dist/chunks/cli-1.1.38-e0q3xyay.mjs +0 -2
- package/dist/chunks/cli-1.1.38-e5by1ynv.mjs +0 -6
- package/dist/chunks/cli-1.1.38-e6j30tde.mjs +0 -3
- package/dist/chunks/cli-1.1.38-e84gxv9a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-eafpexwg.mjs +0 -2
- package/dist/chunks/cli-1.1.38-exexvj4k.mjs +0 -5
- package/dist/chunks/cli-1.1.38-f6be5pxz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-f7fq44hz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fembxywm.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ffkc8ker.mjs +0 -42
- package/dist/chunks/cli-1.1.38-fgwfzs50.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fr1kxnk2.mjs +0 -2
- package/dist/chunks/cli-1.1.38-frcvjcgw.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fyw4xbm7.mjs +0 -3
- package/dist/chunks/cli-1.1.38-g94v4hq7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gdcz0rss.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gp49bfxk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gqpmcnnv.mjs +0 -15
- package/dist/chunks/cli-1.1.38-gtjexepq.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h013mt1h.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h0643t2a.mjs +0 -63
- package/dist/chunks/cli-1.1.38-h1fqbjjb.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h2f789qa.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h6qtpp5r.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h83nx1a5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-haa4vwxj.mjs +0 -2
- package/dist/chunks/cli-1.1.38-hkbb3sr7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-hvc5ed6c.mjs +0 -2
- package/dist/chunks/cli-1.1.38-jakpq48k.mjs +0 -2
- package/dist/chunks/cli-1.1.38-jr0vb3er.mjs +0 -4
- package/dist/chunks/cli-1.1.38-jrf85w1a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ka1w0zwc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kcykd1e5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kjt1gn6d.mjs +0 -135
- package/dist/chunks/cli-1.1.38-kns8wjke.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kqkm7ndz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-m66mmsr6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-m9k89rb6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-mbfqg6za.mjs +0 -3
- package/dist/chunks/cli-1.1.38-md7mbf9q.mjs +0 -2
- package/dist/chunks/cli-1.1.38-mh6a6g83.mjs +0 -4
- package/dist/chunks/cli-1.1.38-mnr9k9j8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-n5tx4p12.mjs +0 -15
- package/dist/chunks/cli-1.1.38-n9xftqbp.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ndbzsvf1.mjs +0 -4
- package/dist/chunks/cli-1.1.38-nmmd7xh9.mjs +0 -4
- package/dist/chunks/cli-1.1.38-npc1f8rb.mjs +0 -3
- package/dist/chunks/cli-1.1.38-nr3yx2kb.mjs +0 -4
- package/dist/chunks/cli-1.1.38-nzbcas3j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pab9ct4p.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pah268nz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pdv3syxb.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pe2vd8sk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pksnvm8s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pnngv0r7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-q3emeb23.mjs +0 -2
- package/dist/chunks/cli-1.1.38-q3yhkwkh.mjs +0 -3
- package/dist/chunks/cli-1.1.38-q8ewcabe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qackcmc3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qebn65cx.mjs +0 -50
- package/dist/chunks/cli-1.1.38-qfpkjbx1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qv0rqvhj.mjs +0 -4
- package/dist/chunks/cli-1.1.38-qw1jxc9j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qwkjfytz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qyg5n01q.mjs +0 -2
- package/dist/chunks/cli-1.1.38-r3r6jmgz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-rp0tsnde.mjs +0 -2
- package/dist/chunks/cli-1.1.38-rvjmh1y0.mjs +0 -4
- package/dist/chunks/cli-1.1.38-s1nggz9g.mjs +0 -16
- package/dist/chunks/cli-1.1.38-s8evhc7a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-sjrfgskz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-sywjrgh0.mjs +0 -2
- package/dist/chunks/cli-1.1.38-t8k5snq9.mjs +0 -24
- package/dist/chunks/cli-1.1.38-tk968ykv.mjs +0 -5497
- package/dist/chunks/cli-1.1.38-tvh77h3r.mjs +0 -2
- package/dist/chunks/cli-1.1.38-v40xwwad.mjs +0 -2
- package/dist/chunks/cli-1.1.38-vbxptsq5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-wbww08bk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ww8j7xpn.mjs +0 -2
- package/dist/chunks/cli-1.1.38-wwezb1bz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-x0j2v4e5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xag86y98.mjs +0 -24
- package/dist/chunks/cli-1.1.38-xf78kmy6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xpar3nmx.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xpjv8r2g.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xr1c1bn4.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xvwb3d6n.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y1w55df3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y3k2y9f2.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y57qzkxr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y66mw08s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y79rqp8p.mjs +0 -60
- package/dist/chunks/cli-1.1.38-y7ahpffc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yctmyw1a.mjs +0 -25
- package/dist/chunks/cli-1.1.38-yfhvhcvt.mjs +0 -5
- package/dist/chunks/cli-1.1.38-ygyme6j6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yhp9b0b0.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yk5s276s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z02gnn41.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z2mnaz67.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z6abxdx3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z8x4q5cc.mjs +0 -12
- package/dist/chunks/cli-1.1.38-z9faf3ft.mjs +0 -6
- package/dist/chunks/cli-1.1.38-zj7fa197.mjs +0 -2
- package/dist/chunks/cli-1.1.38-zx5nqvq6.mjs +0 -2
- package/dist/chunks/client-1.1.38-7hcrtb3q.mjs +0 -1
- package/dist/chunks/color-1.1.38-eqrtxm9k.mjs +0 -1
- package/dist/chunks/compact-1.1.38-ya34rk57.mjs +0 -2
- package/dist/chunks/config-1.1.38-bbe0h0fj.mjs +0 -1
- package/dist/chunks/config-1.1.38-bfaptzc8.mjs +0 -1
- package/dist/chunks/constants-1.1.38-yytvwzgs.mjs +0 -1
- package/dist/chunks/context-1.1.38-2mgwzmk2.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.38-8bj0e1ac.mjs +0 -1
- package/dist/chunks/conversation-1.1.38-9hdq28pm.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.38-s4pj5tsz.mjs +0 -1
- package/dist/chunks/copy-1.1.38-f83q42a2.mjs +0 -9
- package/dist/chunks/cost-1.1.38-8wheqk0q.mjs +0 -1
- package/dist/chunks/createSession-1.1.38-m815jqhf.mjs +0 -1
- package/dist/chunks/debug-1.1.38-0nc58m79.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.38-t4spryyh.mjs +0 -1458
- package/dist/chunks/desktop-1.1.38-6tbjry9x.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.38-fkd9xdma.mjs +0 -1
- package/dist/chunks/detection-1.1.38-21frnq82.mjs +0 -1
- package/dist/chunks/diff-1.1.38-bqd4vh6q.mjs +0 -1
- package/dist/chunks/doctor-1.1.38-yedjk1t9.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.38-2tq437dy.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.38-ag144tcy.mjs +0 -1
- package/dist/chunks/effort-1.1.38-w8zmwjyn.mjs +0 -13
- package/dist/chunks/engine-1.1.38-9p06hk6t.mjs +0 -1
- package/dist/chunks/envUtils-1.1.38-0x5t3jcn.mjs +0 -1
- package/dist/chunks/errors-1.1.38-x5yfskn2.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.38-j3f50kg4.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.38-vtsaz9ex.mjs +0 -1
- package/dist/chunks/exit-1.1.38-2az07cgq.mjs +0 -1
- package/dist/chunks/explorer-1.1.38-f8v6fw0n.mjs +0 -1
- package/dist/chunks/export-1.1.38-ryfsevs9.mjs +0 -2
- package/dist/chunks/fast-1.1.38-pqjeb7br.mjs +0 -1
- package/dist/chunks/feedback-1.1.38-a735me7a.mjs +0 -16
- package/dist/chunks/git-1.1.38-ea24mp87.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.38-mrk9kw4h.mjs +0 -1
- package/dist/chunks/goal-1.1.38-t7b2x0m7.mjs +0 -4
- package/dist/chunks/headless-1.1.38-xa7n2h6a.mjs +0 -2
- package/dist/chunks/heapdump-1.1.38-0kkahje0.mjs +0 -6
- package/dist/chunks/help-1.1.38-c6fc5w2g.mjs +0 -1
- package/dist/chunks/hooks-1.1.38-020dm4m5.mjs +0 -79
- package/dist/chunks/hooks-1.1.38-d6nx1th8.mjs +0 -1
- package/dist/chunks/ide-1.1.38-w88jdkwh.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.38-dr7f0p7d.mjs +0 -1
- package/dist/chunks/import-1.1.38-tjgkgqtj.mjs +0 -260
- package/dist/chunks/inboundAttachments-1.1.38-96y0me8c.mjs +0 -1
- package/dist/chunks/index-1.1.38-0p1da46q.mjs +0 -1
- package/dist/chunks/index-1.1.38-0vkksyqf.mjs +0 -1
- package/dist/chunks/index-1.1.38-32wb94y5.mjs +0 -1
- package/dist/chunks/index-1.1.38-b7v4mc41.mjs +0 -1
- package/dist/chunks/index-1.1.38-d5147beb.mjs +0 -1
- package/dist/chunks/index-1.1.38-e7f6p4gc.mjs +0 -2
- package/dist/chunks/index-1.1.38-fmvxdssr.mjs +0 -1
- package/dist/chunks/index-1.1.38-fx4e6n5y.mjs +0 -9
- package/dist/chunks/index-1.1.38-g6wrndbn.mjs +0 -1
- package/dist/chunks/index-1.1.38-h6safnqh.mjs +0 -1
- package/dist/chunks/index-1.1.38-he0r1v5h.mjs +0 -1
- package/dist/chunks/index-1.1.38-nqht0jy4.mjs +0 -1
- package/dist/chunks/index-1.1.38-nzxyzk3n.mjs +0 -1
- package/dist/chunks/index-1.1.38-psktz1tc.mjs +0 -23
- package/dist/chunks/index-1.1.38-r550x6ay.mjs +0 -2
- package/dist/chunks/index-1.1.38-t56hya6b.mjs +0 -9
- package/dist/chunks/index-1.1.38-t8ehet13.mjs +0 -1
- package/dist/chunks/index-1.1.38-trn75xj8.mjs +0 -1
- package/dist/chunks/index-1.1.38-tz1ab367.mjs +0 -1
- package/dist/chunks/index-1.1.38-wj6bvgqh.mjs +0 -1
- package/dist/chunks/index-1.1.38-wwvwtd47.mjs +0 -30
- package/dist/chunks/index-1.1.38-x4crzvcp.mjs +0 -5
- package/dist/chunks/index-1.1.38-xwfqwn8f.mjs +0 -1
- package/dist/chunks/init-1.1.38-kt9fktc1.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.38-89egcf9a.mjs +0 -1
- package/dist/chunks/ink-1.1.38-jgsp2t7f.mjs +0 -1
- package/dist/chunks/insights-1.1.38-hq19aerm.mjs +0 -870
- package/dist/chunks/install-1.1.38-gyyxk8ck.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.38-f2jf37sk.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.38-tset69kh.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.38-m06ry3jx.mjs +0 -1
- package/dist/chunks/latestVersionCache-1.1.38-1c7vvamf.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.38-0bgzxgy4.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.38-07neaje5.mjs +0 -1
- package/dist/chunks/log-1.1.38-7yxczk1m.mjs +0 -1
- package/dist/chunks/main-1.1.38-ckkpf6pm.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.38-wgkdf5th.mjs +0 -1
- package/dist/chunks/mcp-1.1.38-5g1dkaq3.mjs +0 -4
- package/dist/chunks/mcp-1.1.38-pv2q4v1t.mjs +0 -1
- package/dist/chunks/mcp-1.1.38-rw32ezwj.mjs +0 -17
- package/dist/chunks/mcpb-1.1.38-2j8knvey.mjs +0 -1
- package/dist/chunks/memory-1.1.38-ee240zz4.mjs +0 -128
- package/dist/chunks/model-1.1.38-0ap9xmp3.mjs +0 -1
- package/dist/chunks/model-1.1.38-5qmke302.mjs +0 -2
- package/dist/chunks/new-1.1.38-ahnzb47c.mjs +0 -1
- package/dist/chunks/node-1.1.38-8hxn3e6r.mjs +0 -15
- package/dist/chunks/node-1.1.38-v0zbmtyr.mjs +0 -1
- package/dist/chunks/oauth-1.1.38-5me1vtg3.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.38-12snq1gc.mjs +0 -14
- package/dist/chunks/output-style-1.1.38-zb5mtnss.mjs +0 -1
- package/dist/chunks/package-V72LKFNW-1.1.38-q7hcwdtx.mjs +0 -1
- package/dist/chunks/permissions-1.1.38-5kw7w85c.mjs +0 -1
- package/dist/chunks/permissions-1.1.38-nk2ndszr.mjs +0 -3
- package/dist/chunks/plan-1.1.38-z3dqqjh7.mjs +0 -1
- package/dist/chunks/plist-1.1.38-56sqgq6h.mjs +0 -1
- package/dist/chunks/plugin-1.1.38-03de52xp.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.38-0v5j57bh.mjs +0 -1
- package/dist/chunks/plugins-1.1.38-zmnat29k.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.38-s4pt4ahn.mjs +0 -2
- package/dist/chunks/print-1.1.38-9ar632da.mjs +0 -57
- package/dist/chunks/process-1.1.38-ndydtgs9.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.38-xj8xy6j7.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.38-rq94k8j4.mjs +0 -9
- package/dist/chunks/prompt-1.1.38-q5jst5dw.mjs +0 -1
- package/dist/chunks/prompt-1.1.38-qwzt31qc.mjs +0 -1
- package/dist/chunks/prompts-1.1.38-brvz08qv.mjs +0 -1
- package/dist/chunks/provider-1.1.38-zvnh7rf6.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.38-a0jrr70y.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.38-qj7m9ae0.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.38-kn98yfrh.mjs +0 -26
- package/dist/chunks/registry-1.1.38-02xa1gxq.mjs +0 -1
- package/dist/chunks/release-notes-1.1.38-kmxj255k.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.38-n429fwj8.mjs +0 -2
- package/dist/chunks/remote-env-1.1.38-4ecvn8ra.mjs +0 -1
- package/dist/chunks/rename-1.1.38-ah715pv0.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.38-d6n16rnp.mjs +0 -1
- package/dist/chunks/resume-1.1.38-tv3f819g.mjs +0 -2
- package/dist/chunks/rewind-1.1.38-6wc124dk.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.38-d7ta609y.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.38-n01n145x.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.38-pyjs3awv.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.38-54tec9n4.mjs +0 -1
- package/dist/chunks/session-1.1.38-d20mp4b0.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.38-44je31rv.mjs +0 -1
- package/dist/chunks/settings-1.1.38-x6fb5kk1.mjs +0 -1
- package/dist/chunks/setup-1.1.38-cryd3k7j.mjs +0 -12
- package/dist/chunks/sinks-1.1.38-xt06cywv.mjs +0 -1
- package/dist/chunks/skills-1.1.38-7kbrgpe5.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.38-w24hm0h1.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.38-pmp6wqj9.mjs +0 -1
- package/dist/chunks/state-1.1.38-ttzekhjw.mjs +0 -1
- package/dist/chunks/stats-1.1.38-w347vz1w.mjs +0 -1
- package/dist/chunks/status-1.1.38-h7pzkbmj.mjs +0 -1
- package/dist/chunks/stickers-1.1.38-p6n5mskj.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.38-3b6nr5kd.mjs +0 -1
- package/dist/chunks/tasks-1.1.38-jrznh7eb.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.38-b920q217.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.38-30rjbjkp.mjs +0 -1
- package/dist/chunks/teleport-1.1.38-kqj15kwz.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.38-a1j9tav3.mjs +0 -1
- package/dist/chunks/theme-1.1.38-zqgshtd8.mjs +0 -1
- package/dist/chunks/toolPool-1.1.38-rjxnejc9.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.38-bsgpwrqw.mjs +0 -1
- package/dist/chunks/tools-1.1.38-hphgtq98.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.38-6zmefgdf.mjs +0 -69
- package/dist/chunks/types-1.1.38-yaz6xzxg.mjs +0 -1
- package/dist/chunks/update-1.1.38-qkmfgy3f.mjs +0 -72
- package/dist/chunks/upload-1.1.38-25jm1g5x.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.38-kdzcx35q.mjs +0 -14
- package/dist/chunks/usage-1.1.38-17yqaf62.mjs +0 -1
- package/dist/chunks/util-1.1.38-e3nemqk5.mjs +0 -1
- package/dist/chunks/utils-1.1.38-709jv8e9.mjs +0 -1
- package/dist/chunks/vim-1.1.38-jtz13d73.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.38-fb6heqjg.mjs +0 -13
- package/dist/chunks/wiki-1.1.38-fpkcyk67.mjs +0 -132
- package/dist/chunks/workflows-1.1.38-mj7dax7d.mjs +0 -1
- package/dist/chunks/worktree-1.1.38-9zf6zp7r.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.38-01veveaw.mjs +0 -1
- package/dist/chunks/wrapper-1.1.38-7cvdwcn2.mjs +0 -7
- /package/dist/chunks/{cli-1.1.38-5edb5t1a.mjs → cli-1.1.40-1y2tz88m.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-fckt5c5p.mjs → cli-1.1.40-3xg2bc7f.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-g4av033p.mjs → cli-1.1.40-8vgr1z6h.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-48ykmxgd.mjs → cli-1.1.40-x18jz9h5.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-0sbej1sm.mjs → cli-1.1.40-ys83fnw1.mjs} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import{Aa as oz,Ca as rz,Da as nz,Ea as iz,Fa as sz,xa as cz,ya as Nz,za as az}from"./cli-1.1.40-8j3wdrn6.mjs";import{$a as BJ,ab as Lz,bb as CJ,cb as kz,db as hz,eb as FJ,fb as NJ,gb as PJ,hb as _J,ib as UJ,jb as RJ}from"./cli-1.1.40-kvhhhzww.mjs";import{lb as Uz,nb as AJ}from"./cli-1.1.40-j3mmbyn6.mjs";import{Cb as qJ,Eb as OJ,Gb as ZK}from"./cli-1.1.40-nvwa39p8.mjs";import{$d as dz,ae as yJ}from"./cli-1.1.40-jdyqkhjm.mjs";import{Re as fz,Te as VJ,We as $J}from"./cli-1.1.40-gv0xj4g0.mjs";import{$l as wz,Uv as GJ,Vv as KK,_l as jJ,lm as zK,ok as KJ,pk as ZJ,qk as fJ}from"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import{pY as vz,sY as JK}from"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import"./cli-1.1.40-rwbr7d1h.mjs";import"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import{d6 as H,e6 as LJ}from"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import{g6 as i,h6 as eJ}from"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import{Aba as lz,Bba as MJ,Rfa as _z,W9 as QJ,Wfa as tJ,X9 as iJ,t_ as Zz,v_ as sJ,yba as Rz,zba as pz}from"./cli-1.1.40-hfe06y9j.mjs";import{Zfa as uz,_fa as EJ,aga as Pz,hga as jz,rga as nJ}from"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import{$ia as bz,_ia as JJ,dja as TJ,vja as V,yja as gz}from"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import{Vja as h,aka as rJ}from"./cli-1.1.40-rq9y2zd8.mjs";import{gka as HJ,oka as oJ}from"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Oqa as o}from"./cli-1.1.40-jxfk62k7.mjs";KK();iJ();gz();sJ();oJ();rJ();nJ();tJ();eJ();zK();import{randomUUID as WJ}from"crypto";import{hostname as $K,tmpdir as YK}from"os";import{basename as WK,join as XK,resolve as Iz}from"path";LJ();yJ();MJ();EJ();gz();var wJ={type:"utf8",errorCorrectionLevel:"L",small:!0};async function xJ(z){return(await dz(z,wJ)).split(`
|
|
2
|
+
`).filter((W)=>W.length>0)}function tz(z){let J=z.write??((Z)=>process.stdout.write(Z)),W=z.verbose,$=0,q="idle",K="Ready",_="",B="",E="",O="",w="",U=null,N=[],f=!1,A=null,F=0,x=0,C=1,T=null,b="single-session",I=new Map,s=null,l=0;function Gz(Z){let G=process.stdout.columns||80,L=0;for(let e of Z.split(`
|
|
3
|
+
`)){if(e.length===0){L++;continue}let $z=uz(e);L+=Math.max(1,Math.ceil($z/G))}if(Z.endsWith(`
|
|
4
|
+
`))L--;return L}function k(Z){J(Z),$+=Gz(Z)}function zz(){if($<=0)return;V(`[bridge:ui] clearStatusLines count=${$}`),J(`\x1B[${$}A`),J("\x1B[J"),$=0}function Vz(Z){zz(),J(Z)}function qz(Z){xJ(Z).then((G)=>{N=G,g()}).catch((G)=>{V(`QR code generation failed: ${G}`,{level:"error"})})}function Jz(){zz();let Z=Rz[l%Rz.length],G="";if(_)G+=H.dim(" · ")+H.dim(_);if(B)G+=H.dim(" · ")+H.dim(B);k(`${H.yellow(Z)} ${H.yellow("Connecting")}${G}
|
|
5
|
+
`)}function m(){d(),Jz(),s=setInterval(()=>{l++,Jz()},150)}function d(){if(s)clearInterval(s),s=null}function g(){if(q==="reconnecting"||q==="failed")return;zz();let Z=q==="idle";if(f)for(let Xz of N)k(`${H.dim(Xz)}
|
|
6
|
+
`);let G=pz,L=Z?H.green:H.cyan,$z=(Z?H.green:H.cyan)(K),Oz="";if(_)Oz+=H.dim(" · ")+H.dim(_);if(B&&b!=="worktree")Oz+=H.dim(" · ")+H.dim(B);if(k(`${L(G)} ${$z}${Oz}
|
|
7
|
+
`),C>1){let Xz=b==="worktree"?"New sessions will be created in an isolated worktree":"New sessions will be created in the current directory";k(` ${H.dim(`Capacity: ${x}/${C} · ${Xz}`)}
|
|
8
|
+
`);for(let[,Hz]of I){let Yz=Hz.title?Pz(Hz.title,35):H.dim("Attached"),Qz=sz(Yz,Hz.url),Wz=Hz.activity,Q=Wz&&Wz.type!=="result"&&Wz.type!=="error"?H.dim(` ${Pz(Wz.summary,40)}`):"";k(` ${Qz}${Q}
|
|
9
|
+
`)}}if(C===1){let Xz=b==="single-session"?"Single session · exits when complete":b==="worktree"?`Capacity: ${x}/1 · New sessions will be created in an isolated worktree`:`Capacity: ${x}/1 · New sessions will be created in the current directory`;k(` ${H.dim(Xz)}
|
|
10
|
+
`)}if(C===1&&!Z&&A&&Date.now()-F<cz)k(` ${H.dim(Pz(A,60))}
|
|
11
|
+
`);let Bz=U??E;if(Bz){k(`
|
|
12
|
+
`);let Xz=Z?rz(Bz):nz(Bz),Hz=f?H.dim.italic("space to hide QR code"):H.dim.italic("space to show QR code"),Yz=T?H.dim.italic(" · w to toggle spawn mode"):"";k(`${H.dim(Xz)}
|
|
13
|
+
`),k(`${Hz}${Yz}
|
|
14
|
+
`)}}return{printBanner(Z,G){if(O=Z.sessionIngressUrl,w=G,E=az(G,O),qz(E),W)J(H.dim("Remote Control")+` v99.0.0
|
|
15
|
+
`);if(W){if(Z.spawnMode!=="single-session")J(H.dim("Spawn mode: ")+`${Z.spawnMode}
|
|
16
|
+
`),J(H.dim("Max concurrent sessions: ")+`${Z.maxSessions}
|
|
17
|
+
`);J(H.dim("Environment ID: ")+`${G}
|
|
18
|
+
`)}if(Z.sandbox)J(H.dim("Sandbox: ")+`${H.green("Enabled")}
|
|
19
|
+
`);J(`
|
|
20
|
+
`),m()},logSessionStart(Z,G){if(W){let L=Pz(G,80);Vz(H.dim(`[${Nz()}]`)+` Session started: ${H.white(`"${L}"`)} (${H.dim(Z)})
|
|
21
|
+
`)}},logSessionComplete(Z,G){Vz(H.dim(`[${Nz()}]`)+` Session ${H.green("completed")} (${jz(G)}) ${H.dim(Z)}
|
|
22
|
+
`)},logSessionFailed(Z,G){Vz(H.dim(`[${Nz()}]`)+` Session ${H.red("failed")}: ${G} ${H.dim(Z)}
|
|
23
|
+
`)},logStatus(Z){Vz(H.dim(`[${Nz()}]`)+` ${Z}
|
|
24
|
+
`)},logVerbose(Z){if(W)Vz(H.dim(`[${Nz()}] ${Z}`)+`
|
|
25
|
+
`)},logError(Z){Vz(H.red(`[${Nz()}] Error: ${Z}`)+`
|
|
26
|
+
`)},logReconnected(Z){Vz(H.dim(`[${Nz()}]`)+` ${H.green("Reconnected")} after ${jz(Z)}
|
|
27
|
+
`)},setRepoInfo(Z,G){_=Z,B=G},updateIdleStatus(){d(),q="idle",K="Ready",A=null,F=0,U=null,qz(E),g()},setAttached(Z){if(d(),q="attached",K="Connected",A=null,F=0,C<=1)U=oz(Z,w,O),qz(U);g()},updateReconnectingStatus(Z,G){if(d(),zz(),q="reconnecting",f)for(let e of N)k(`${H.dim(e)}
|
|
28
|
+
`);let L=Rz[l%Rz.length];l++,k(`${H.yellow(L)} ${H.yellow("Reconnecting")} ${H.dim("·")} ${H.dim(`retrying in ${Z}`)} ${H.dim("·")} ${H.dim(`disconnected ${G}`)}
|
|
29
|
+
`)},updateFailedStatus(Z){d(),zz(),q="failed";let G="";if(_)G+=H.dim(" · ")+H.dim(_);if(B)G+=H.dim(" · ")+H.dim(B);if(k(`${H.red(lz)} ${H.red("Remote Control Failed")}${G}
|
|
30
|
+
`),k(`${H.dim(iz)}
|
|
31
|
+
`),Z)k(`${H.red(Z)}
|
|
32
|
+
`)},updateSessionStatus(Z,G,L,e){if(L.type==="tool_start")A=L.summary,F=Date.now();g()},clearStatus(){d(),zz()},toggleQr(){f=!f,g()},updateSessionCount(Z,G,L){if(x===Z&&C===G&&b===L)return;x=Z,C=G,b=L},setSpawnModeDisplay(Z){if(T===Z)return;if(T=Z,Z)b=Z},addSession(Z,G){I.set(Z,{url:G})},updateSessionActivity(Z,G){let L=I.get(Z);if(!L)return;L.activity=G},setSessionTitle(Z,G){let L=I.get(Z);if(!L)return;if(L.title=G,q==="reconnecting"||q==="failed")return;if(C===1)q="titled",K=Pz(G,40);g()},removeSession(Z){I.delete(Z)},refreshDisplay(){if(q==="reconnecting"||q==="failed")return;g()}}}$J();JK();TJ();$J();fJ();import{spawn as bJ}from"child_process";import{createWriteStream as vJ}from"fs";import{tmpdir as kJ}from"os";import{dirname as IJ,join as ez}from"path";import{createInterface as zJ}from"readline";var SJ=10,hJ=10,mJ=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 gJ(z,J){let W={};for(let $ of Object.keys(z))if(mJ.has($))W[$]=z[$];if(W.CLAUDE_CODE_OAUTH_TOKEN=void 0,W.CLAUDE_CODE_ENVIRONMENT_KIND="bridge",J.sandbox)W.CLAUDE_CODE_FORCE_SANDBOX="1";if(W.CLAUDE_CODE_SESSION_ACCESS_TOKEN=J.accessToken,W.CLAUDE_CODE_POST_FOR_SESSION_INGRESS_V2="1",J.useCcrV2)W.CLAUDE_CODE_USE_CCR_V2="1",W.CLAUDE_CODE_WORKER_EPOCH=String(J.workerEpoch);return W}function yz(z){return z.replace(/[^a-zA-Z0-9_-]/g,"_")}var uJ={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 pJ(z){let J=KJ(z);if(J.file_paths===void 0)return;let[W,...$]=ZJ(J);return $.length>0?`${W} (+${$.length} more)`:W}function lJ(z,J){let W=uJ[z]??z,$=pJ(J)??J.file_path??J.filePath??J.pattern??J.command?.slice(0,60)??J.url??J.query??"";if($)return`${W} ${$}`;return W}function dJ(z,J,W){let $;try{$=bz(z)}catch{return[]}if(!$||typeof $!=="object")return[];let q=$,K=[],_=Date.now();switch(q.type){case"assistant":{let B=q.message;if(!B)break;let E=B.content;if(!Array.isArray(E))break;for(let O of E){if(!O||typeof O!=="object")continue;let w=O;if(w.type==="tool_use"){let U=w.name??"Tool",N=w.input??{},f=lJ(U,N);K.push({type:"tool_start",summary:f,timestamp:_}),W(`[bridge:activity] sessionId=${J} tool_use name=${U} ${aJ(N)}`)}else if(w.type==="text"){let U=w.text??"";if(U.length>0)K.push({type:"text",summary:U.slice(0,80),timestamp:_}),W(`[bridge:activity] sessionId=${J} text "${U.slice(0,100)}"`)}}break}case"result":{let B=q.subtype;if(B==="success")K.push({type:"result",summary:"Session completed",timestamp:_}),W(`[bridge:activity] sessionId=${J} result subtype=success`);else if(B){let O=q.errors?.[0]??`Error: ${B}`;K.push({type:"error",summary:O,timestamp:_}),W(`[bridge:activity] sessionId=${J} result subtype=${B} error="${O}"`)}else W(`[bridge:activity] sessionId=${J} result subtype=undefined`);break}default:break}return K}function cJ(z){if(z.parent_tool_use_id!=null||z.isSynthetic||z.isReplay)return;let W=z.message?.content,$;if(typeof W==="string")$=W;else if(Array.isArray(W)){for(let q of W)if(q&&typeof q==="object"&&q.type==="text"){$=q.text;break}}return $=$?.trim(),$?$:void 0}function aJ(z){let J=[];for(let[W,$]of Object.entries(z)){if(typeof $==="string")J.push(`${W}="${$.slice(0,100)}"`);if(J.length>=3)break}return J.join(" ")}function YJ(z){return{spawn(J,W){let $=yz(J.sessionId),q;if(z.debugFile){let C=z.debugFile.lastIndexOf(".");if(C>0)q=`${z.debugFile.slice(0,C)}-${$}${z.debugFile.slice(C)}`;else q=`${z.debugFile}-${$}`}else if(z.verbose)q=ez(kJ(),"claude",`bridge-session-${$}.log`);let K=null,_;if(z.debugFile)_=ez(IJ(z.debugFile),`bridge-transcript-${$}.jsonl`),K=vJ(_,{flags:"a"}),K.on("error",(C)=>{z.onDebug(`[bridge:session] Transcript write error: ${C.message}`),K=null}),z.onDebug(`[bridge:session] Transcript log: ${_}`);let B=[...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"]:[],...q?["--debug-file",q]:[],...z.permissionMode?["--permission-mode",z.permissionMode]:[]],E=gJ(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: ${B.join(" ")}`),q)z.onDebug(`[bridge:session] Debug log: ${q}`);let O=bJ(z.execPath,B,{cwd:W,stdio:["pipe","pipe","pipe"],env:E,windowsHide:!0});z.onDebug(`[bridge:session] sessionId=${J.sessionId} pid=${O.pid}`);let w=[],U=null,N=[],f=!1,A=!1;if(O.stderr)zJ({input:O.stderr}).on("line",(T)=>{if(z.verbose)process.stderr.write(T+`
|
|
33
|
+
`);if(N.length>=hJ)N.shift();N.push(T)});if(O.stdout)zJ({input:O.stdout}).on("line",(T)=>{if(K)K.write(T+`
|
|
34
|
+
`);if(z.onDebug(`[bridge:ws] sessionId=${J.sessionId} <<< ${fz(T)}`),z.verbose)process.stderr.write(T+`
|
|
35
|
+
`);let b=dJ(T,J.sessionId,z.onDebug);for(let I of b){if(w.length>=SJ)w.shift();w.push(I),U=I,z.onActivity?.(J.sessionId,I)}{let I;try{I=bz(T)}catch{}if(I&&typeof I==="object"){let s=I;if(s.type==="control_request"){if(s.request?.subtype==="can_use_tool"&&z.onPermissionRequest)z.onPermissionRequest(J.sessionId,I,J.accessToken)}else if(s.type==="user"&&!A&&J.onFirstUserMessage){let l=cJ(s);if(l)A=!0,J.onFirstUserMessage(l)}}}});let F=new Promise((C)=>{O.on("close",(T,b)=>{if(K)K.end(),K=null;if(b==="SIGTERM"||b==="SIGINT")z.onDebug(`[bridge:session] sessionId=${J.sessionId} interrupted signal=${b} pid=${O.pid}`),C("interrupted");else if(T===0)z.onDebug(`[bridge:session] sessionId=${J.sessionId} completed exit_code=0 pid=${O.pid}`),C("completed");else z.onDebug(`[bridge:session] sessionId=${J.sessionId} failed exit_code=${T} pid=${O.pid}`),C("failed")}),O.on("error",(T)=>{z.onDebug(`[bridge:session] sessionId=${J.sessionId} spawn error: ${T.message}`),C("failed")})}),x={sessionId:J.sessionId,done:F,activities:w,accessToken:J.accessToken,lastStderr:N,get currentActivity(){return U},kill(){if(!O.killed)if(z.onDebug(`[bridge:session] Sending SIGTERM to sessionId=${J.sessionId} pid=${O.pid}`),process.platform==="win32")O.kill();else O.kill("SIGTERM")},forceKill(){if(!f&&O.pid)if(f=!0,z.onDebug(`[bridge:session] Sending SIGKILL to sessionId=${J.sessionId} pid=${O.pid}`),process.platform==="win32")O.kill();else O.kill("SIGKILL")},writeStdin(C){if(O.stdin&&!O.stdin.destroyed)z.onDebug(`[bridge:ws] sessionId=${J.sessionId} >>> ${fz(C)}`),O.stdin.write(C)},updateAccessToken(C){x.accessToken=C,x.writeStdin(JJ({type:"update_environment_variables",variables:{CLAUDE_CODE_SESSION_ACCESS_TOKEN:C}})+`
|
|
36
|
+
`),z.onDebug(`[bridge:session] Sent token refresh via stdin for sessionId=${J.sessionId}`)}};return x}}}ZK();var HK={connInitialMs:2000,connCapMs:120000,connGiveUpMs:600000,generalInitialMs:500,generalCapMs:30000,generalGiveUpMs:600000},QK=1000;function XJ(z){return z.connCapMs*2}function jK(){if(QJ()||!process.argv[1])return[];return[process.argv[1]]}function GK(z,J,W){try{return z.spawn(J,W)}catch($){let q=h($);return _z(Error(`Session spawn failed: ${q}`)),q}}async function VK(z,J,W,$,q,K,_,B=HK,E,O){let w=new AbortController;if(_.aborted)w.abort();else _.addEventListener("abort",()=>w.abort(),{once:!0});let U=w.signal,N=new Map,f=new Map,A=new Map,F=new Map,x=new Map,C=new Map,T=new Set,b=new Map,I=new Set,s=new Set,l=RJ(U);async function Gz(){let Y=!1,Q=!1,R=[];for(let[j]of N){let P=A.get(j),v=x.get(j);if(!P||!v)continue;try{await $.heartbeatWork(J,P,v),Y=!0}catch(c){if(V(`[bridge:heartbeat] Failed for sessionId=${j} workId=${P}: ${h(c)}`),c instanceof Lz)if(c.status===401||c.status===403)R.push(j);else Q=!0}}for(let j of R){K.logVerbose(`Session ${j} token expired — re-queuing via bridge/reconnect`);try{await $.reconnectSession(J,j),V(`[bridge:heartbeat] Re-queued sessionId=${j} via bridge/reconnect`)}catch(P){K.logError(`Failed to refresh session ${j} token: ${h(P)}`),V(`[bridge:heartbeat] reconnectSession(${j}) failed: ${h(P)}`,{level:"error"})}}if(Q)return"fatal";if(R.length>0)return"auth_failed";return Y?"ok":"failed"}let k=new Set,zz=O?AJ({getAccessToken:O,onRefresh:(Y,Q)=>{let R=N.get(Y);if(!R)return;if(k.has(Y))K.logVerbose(`Refreshing session ${Y} token via bridge/reconnect`),$.reconnectSession(J,Y).catch((j)=>{K.logError(`Failed to refresh session ${Y} token: ${h(j)}`),V(`[bridge:token] reconnectSession(${Y}) failed: ${h(j)}`,{level:"error"})});else R.updateAccessToken(Q)},label:"bridge"}):null,Vz=Date.now(),qz=new Set;function Jz(Y){qz.add(Y),Y.finally(()=>qz.delete(Y))}let m=0,d=0,g=null,Z=null,G=null,L=null,e=!1;if(V(`[bridge:work] Starting poll loop spawnMode=${z.spawnMode} maxSessions=${z.maxSessions} environmentId=${J}`),Zz("info","bridge_loop_started",{max_sessions:z.maxSessions,spawn_mode:z.spawnMode}),K.printBanner(z,J),K.updateSessionCount(0,z.maxSessions,z.spawnMode),E)K.setAttached(E);function $z(){K.updateSessionCount(N.size,z.maxSessions,z.spawnMode);for(let[c,X]of N){let M=X.currentActivity;if(M)K.updateSessionActivity(F.get(c)??c,M)}if(N.size===0){K.updateIdleStatus();return}let[Y,Q]=[...N.entries()].pop(),R=f.get(Y);if(!R)return;let j=Q.currentActivity;if(!j||j.type==="result"||j.type==="error"){if(z.maxSessions>1)K.refreshDisplay();return}let P=jz(Date.now()-R),v=Q.activities.filter((c)=>c.type==="tool_start").slice(-5).map((c)=>c.summary);K.updateSessionStatus(Y,P,j,v)}function Oz(){Bz(),$z(),L=setInterval($z,QK)}function Bz(){if(L)clearInterval(L),L=null}function Xz(Y,Q,R){return(j)=>{let P=A.get(Y);N.delete(Y),f.delete(Y),A.delete(Y),x.delete(Y);let v=F.get(Y)??Y;F.delete(Y),K.removeSession(v),s.delete(v),k.delete(Y);let c=C.get(Y);if(c)clearTimeout(c),C.delete(Y);zz?.cancel(Y),l.wake();let X=I.delete(Y),M=X&&j==="interrupted"?"failed":j,S=Date.now()-Q;V(`[bridge:session] sessionId=${Y} workId=${P??"unknown"} exited status=${M} duration=${jz(S)}`),Zz("info","bridge_session_done",{status:M,duration_ms:S}),K.clearStatus(),Bz();let u=R.lastStderr.length>0?R.lastStderr.join(`
|
|
37
|
+
`):void 0,a;switch(M){case"completed":K.logSessionComplete(Y,S);break;case"failed":if(!X&&!U.aborted)a=u??"Process exited with error",K.logSessionFailed(Y,a),_z(Error(`Bridge session failed: ${a}`));break;case"interrupted":K.logVerbose(`Session ${Y} interrupted`);break}if(M!=="interrupted"&&P)Jz(Dz($,J,P,K,B.stopWorkBaseDelayMs)),T.add(P);let Kz=b.get(Y);if(Kz)b.delete(Y),Jz(wz(Kz.worktreePath,Kz.worktreeBranch,Kz.gitRoot,Kz.hookBased).catch((r)=>K.logVerbose(`Failed to remove worktree ${Kz.worktreePath}: ${h(r)}`)));if(M!=="interrupted"&&!U.aborted)if(z.spawnMode!=="single-session")Jz($.archiveSession(v).catch((r)=>K.logVerbose(`Failed to archive session ${Y}: ${h(r)}`))),V(`[bridge:session] Session ${M}, returning to idle (multi-session mode)`);else{V(`[bridge:session] Session ${M}, aborting poll loop to tear down environment`),w.abort();return}if(!U.aborted)Oz()}}if(!E)Oz();while(!U.aborted){let Y=Uz();try{let Q=await $.pollForWork(J,W,U,Y.reclaim_older_than_ms);if(g!==null||Z!==null){let X=Date.now()-(g??Z??Date.now());K.logReconnected(X),V(`[bridge:poll] Reconnected after ${jz(X)}`)}if(m=0,d=0,g=null,Z=null,G=null,!Q){if(N.size>=z.maxSessions){let M=Y.multisession_poll_interval_ms_at_capacity;if(Y.non_exclusive_heartbeat_interval_ms>0){let S=M>0?Date.now()+M:null,u="ok",a=0;while(!U.aborted&&N.size>=z.maxSessions&&(S===null||Date.now()<S)){let r=Uz();if(r.non_exclusive_heartbeat_interval_ms<=0)break;let D=l.signal();if(u=await Gz(),u==="auth_failed"||u==="fatal"){D.cleanup();break}a++,await i(r.non_exclusive_heartbeat_interval_ms,D.signal),D.cleanup()}if((u==="auth_failed"||u==="fatal"?u:U.aborted?"shutdown":N.size<z.maxSessions?"capacity_changed":S!==null&&Date.now()>=S?"poll_due":"config_disabled")==="poll_due")V(`[bridge:poll] Heartbeat poll_due after ${a} cycles — falling through to pollForWork`);if(u==="auth_failed"||u==="fatal"){let r=l.signal();await i(M>0?M:Y.non_exclusive_heartbeat_interval_ms,r.signal),r.cleanup()}}else if(M>0){let S=l.signal();await i(M,S.signal),S.cleanup()}}else{let M=N.size>0?Y.multisession_poll_interval_ms_partial_capacity:Y.multisession_poll_interval_ms_not_at_capacity;await i(M,U)}continue}let j=N.size>=z.maxSessions;if(T.has(Q.id)){if(V(`[bridge:work] Skipping already-completed workId=${Q.id}`),j){let X=l.signal();if(Y.non_exclusive_heartbeat_interval_ms>0)await Gz(),await i(Y.non_exclusive_heartbeat_interval_ms,X.signal);else if(Y.multisession_poll_interval_ms_at_capacity>0)await i(Y.multisession_poll_interval_ms_at_capacity,X.signal);X.cleanup()}else await i(1000,U);continue}let P;try{P=FJ(Q.secret)}catch(X){let M=h(X);if(K.logError(`Failed to decode work secret for workId=${Q.id}: ${M}`),T.add(Q.id),Jz(Dz($,J,Q.id,K,B.stopWorkBaseDelayMs)),j){let S=l.signal();if(Y.non_exclusive_heartbeat_interval_ms>0)await Gz(),await i(Y.non_exclusive_heartbeat_interval_ms,S.signal);else if(Y.multisession_poll_interval_ms_at_capacity>0)await i(Y.multisession_poll_interval_ms_at_capacity,S.signal);S.cleanup()}continue}let v=async()=>{V(`[bridge:work] Acknowledging workId=${Q.id}`);try{await $.acknowledgeWork(J,Q.id,P.session_ingress_token)}catch(X){V(`[bridge:work] Acknowledge failed workId=${Q.id}: ${h(X)}`)}},c=Q.data.type;switch(Q.data.type){case"healthcheck":await v(),V("[bridge:work] Healthcheck received"),K.logVerbose("Healthcheck received");break;case"session":{let X=Q.data.id;try{BJ(X,"session_id")}catch{await v(),K.logError(`Invalid session_id received: ${X}`);break}let M=N.get(X);if(M){M.updateAccessToken(P.session_ingress_token),x.set(X,P.session_ingress_token),A.set(X,Q.id),zz?.schedule(X,P.session_ingress_token),V(`[bridge:work] Updated access token for existing sessionId=${X} workId=${Q.id}`),await v();break}if(N.size>=z.maxSessions){V(`[bridge:work] At capacity (${N.size}/${z.maxSessions}), cannot spawn new session for workId=${Q.id}`);break}await v();let S=Date.now(),u,a=!1,Kz;if(P.use_code_sessions===!0||HJ(process.env.CLAUDE_BRIDGE_USE_CCR_V2)){u=_J(z.apiBaseUrl,X);for(let y=1;y<=2;y++)try{Kz=await UJ(u,P.session_ingress_token),a=!0,V(`[bridge:session] CCR v2: registered worker sessionId=${X} epoch=${Kz} attempt=${y}`);break}catch(t){let Cz=h(t);if(y<2){if(V(`[bridge:session] CCR v2: registerWorker attempt ${y} failed, retrying: ${Cz}`),await i(2000,U),U.aborted)break;continue}K.logError(`CCR v2 worker registration failed for session ${X}: ${Cz}`),_z(Error(`registerWorker failed: ${Cz}`)),T.add(Q.id),Jz(Dz($,J,Q.id,K,B.stopWorkBaseDelayMs))}if(!a)break}else u=NJ(z.sessionIngressUrl,X);let{spawnMode:r,dir:D}=z,n=0;if(r==="worktree"&&(E===void 0||!PJ(X,E))){let y=Date.now();try{let t=await jJ(`bridge-${yz(X)}`);n=Date.now()-y,b.set(X,{worktreePath:t.worktreePath,worktreeBranch:t.worktreeBranch,gitRoot:t.gitRoot,hookBased:t.hookBased}),D=t.worktreePath,V(`[bridge:session] Created worktree for sessionId=${X} at ${t.worktreePath}`)}catch(t){let Cz=h(t);K.logError(`Failed to create worktree for session ${X}: ${Cz}`),_z(Error(`Worktree creation failed: ${Cz}`)),T.add(Q.id),Jz(Dz($,J,Q.id,K,B.stopWorkBaseDelayMs));break}}V(`[bridge:session] Spawning sessionId=${X} sdkUrl=${u}`);let p=vz(X),Fz=GK(q,{sessionId:X,sdkUrl:u,accessToken:P.session_ingress_token,useCcrV2:a,workerEpoch:Kz,onFirstUserMessage:(y)=>{if(s.has(p))return;s.add(p);let t=RK(y);K.setSessionTitle(p,t),V(`[bridge:title] derived title for ${p}: ${t}`),import("./createSession-1.1.40-m1yre1z2.mjs").then(({updateBridgeSessionTitle:Cz})=>Cz(p,t,{baseUrl:z.apiBaseUrl})).catch((Cz)=>V(`[bridge:title] failed to update title for ${p}: ${Cz}`,{level:"error"}))}},D);if(typeof Fz==="string"){K.logError(`Failed to spawn session ${X}: ${Fz}`);let y=b.get(X);if(y)b.delete(X),Jz(wz(y.worktreePath,y.worktreeBranch,y.gitRoot,y.hookBased).catch((t)=>K.logVerbose(`Failed to remove worktree ${y.worktreePath}: ${h(t)}`)));T.add(Q.id),Jz(Dz($,J,Q.id,K,B.stopWorkBaseDelayMs));break}let Mz=Fz,DJ=Date.now()-S;Zz("info","bridge_session_started",{spawn_mode:r,in_worktree:b.has(X),spawn_duration_ms:DJ,worktree_create_ms:n}),N.set(X,Mz),A.set(X,Q.id),x.set(X,P.session_ingress_token),F.set(X,p);let mz=Date.now();f.set(X,mz),K.logSessionStart(X,`Session ${X}`);let xz=yz(X),Az;if(z.debugFile){let y=z.debugFile.lastIndexOf(".");if(y>0)Az=`${z.debugFile.slice(0,y)}-${xz}${z.debugFile.slice(y)}`;else Az=`${z.debugFile}-${xz}`}else if(z.verbose)Az=XK(YK(),"claude",`bridge-session-${xz}.log`);if(Az)K.logVerbose(`Debug log: ${Az}`);K.addSession(p,GJ(p,z.sessionIngressUrl)),Oz(),K.setAttached(p),DK(p,z.apiBaseUrl).then((y)=>{if(y&&N.has(X))s.add(p),K.setSessionTitle(p,y),V(`[bridge:title] server title for ${p}: ${y}`)}).catch((y)=>V(`[bridge:title] failed to fetch title for ${p}: ${y}`,{level:"error"}));let Tz=z.sessionTimeoutMs??qJ;if(Tz>0){let y=setTimeout(CK,Tz,X,Tz,K,I,Mz);C.set(X,y)}if(a)k.add(X);zz?.schedule(X,P.session_ingress_token),Mz.done.then(Xz(X,mz,Mz));break}default:await v(),V(`[bridge:work] Unknown work type: ${c}, skipping`);break}if(j){let X=l.signal();if(Y.non_exclusive_heartbeat_interval_ms>0)await Gz(),await i(Y.non_exclusive_heartbeat_interval_ms,X.signal);else if(Y.multisession_poll_interval_ms_at_capacity>0)await i(Y.multisession_poll_interval_ms_at_capacity,X.signal);X.cleanup()}}catch(Q){if(U.aborted)break;if(Q instanceof Lz){if(e=!0,kz(Q.errorType))K.logStatus(Q.message);else if(hz(Q))V(`[bridge:work] Suppressed 403 error: ${Q.message}`);else K.logError(Q.message),_z(Q);Zz(kz(Q.errorType)?"info":"error","bridge_fatal_error",{status:Q.status,error_type:Q.errorType});break}let R=VJ(Q);if(OK(Q)||BK(Q)){let j=Date.now();if(G!==null&&j-G>XJ(B))V(`[bridge:work] Detected system sleep (${Math.round((j-G)/1000)}s gap), resetting error budget`),Zz("info","bridge_poll_sleep_detected",{gapMs:j-G}),g=null,m=0,Z=null,d=0;if(G=j,!g)g=j;let P=j-g;if(P>=B.connGiveUpMs){K.logError(`Server unreachable for ${Math.round(P/60000)} minutes, giving up.`),Zz("error","bridge_poll_give_up",{error_type:"connection",elapsed_ms:P}),e=!0;break}Z=null,d=0,m=m?Math.min(m*2,B.connCapMs):B.connInitialMs;let v=Sz(m);if(K.logVerbose(`Connection error, retrying in ${Ez(v)} (${Math.round(P/1000)}s elapsed): ${R}`),K.updateReconnectingStatus(Ez(v),jz(P)),Uz().non_exclusive_heartbeat_interval_ms>0)await Gz();await i(v,U)}else{let j=Date.now();if(G!==null&&j-G>XJ(B))V(`[bridge:work] Detected system sleep (${Math.round((j-G)/1000)}s gap), resetting error budget`),Zz("info","bridge_poll_sleep_detected",{gapMs:j-G}),g=null,m=0,Z=null,d=0;if(G=j,!Z)Z=j;let P=j-Z;if(P>=B.generalGiveUpMs){K.logError(`Persistent errors for ${Math.round(P/60000)} minutes, giving up.`),Zz("error","bridge_poll_give_up",{error_type:"general",elapsed_ms:P}),e=!0;break}g=null,m=0,d=d?Math.min(d*2,B.generalCapMs):B.generalInitialMs;let v=Sz(d);if(K.logVerbose(`Poll failed, retrying in ${Ez(v)} (${Math.round(P/1000)}s elapsed): ${R}`),K.updateReconnectingStatus(Ez(v),jz(P)),Uz().non_exclusive_heartbeat_interval_ms>0)await Gz();await i(v,U)}}}Bz(),K.clearStatus();let Hz=Date.now()-Vz;Zz("info","bridge_shutdown",{active_sessions:N.size,loop_duration_ms:Hz});let Yz=new Set(N.keys());if(E)Yz.add(E);let Qz=new Map(F);if(N.size>0){V(`[bridge:shutdown] Shutting down ${N.size} active session(s)`),K.logStatus(`Shutting down ${N.size} active session(s)…`);let Y=new Map(A);for(let[R,j]of N.entries())V(`[bridge:shutdown] Sending SIGTERM to sessionId=${R}`),j.kill();let Q=new AbortController;await Promise.race([Promise.allSettled([...N.values()].map((R)=>R.done)),i(B.shutdownGraceMs??30000,Q.signal)]),Q.abort();for(let[R,j]of N.entries())V(`[bridge:shutdown] Force-killing stuck sessionId=${R}`),j.forceKill();for(let R of C.values())clearTimeout(R);if(C.clear(),zz?.cancelAll(),b.size>0){let R=[...b.values()];b.clear(),V(`[bridge:shutdown] Cleaning up ${R.length} worktree(s)`),await Promise.allSettled(R.map((j)=>wz(j.worktreePath,j.worktreeBranch,j.gitRoot,j.hookBased)))}await Promise.allSettled([...Y.entries()].map(([R,j])=>{return $.stopWork(J,j,!0).catch((P)=>K.logVerbose(`Failed to stop work ${j} for session ${R}: ${h(P)}`))}))}if(qz.size>0)await Promise.allSettled([...qz]);if(Yz.size>0)V(`[bridge:shutdown] Archiving ${Yz.size} session(s)`),await Promise.allSettled([...Yz].map((Y)=>$.archiveSession(Qz.get(Y)??vz(Y)).catch((Q)=>K.logVerbose(`Failed to archive session ${Y}: ${h(Q)}`))));try{await $.deregisterEnvironment(J),V("[bridge:shutdown] Environment deregistered, bridge offline"),K.logVerbose("Environment deregistered.")}catch(Y){K.logVerbose(`Failed to deregister environment: ${h(Y)}`)}let{clearBridgePointer:Wz}=await import("./bridgePointer-1.1.40-8nvycyyd.mjs");await Wz(z.dir),K.logVerbose("Environment offline.")}var qK=new Set(["ECONNREFUSED","ECONNRESET","ETIMEDOUT","ENETUNREACH","EHOSTUNREACH"]);function OK(z){if(z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&qK.has(z.code))return!0;return!1}function BK(z){return!!z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&z.code==="ERR_BAD_RESPONSE"}function Sz(z){return Math.max(0,z+z*0.25*(2*Math.random()-1))}function Ez(z){return z>=1000?`${(z/1000).toFixed(1)}s`:`${Math.round(z)}ms`}async function Dz(z,J,W,$,q=1000){for(let _=1;_<=3;_++)try{await z.stopWork(J,W,!1),V(`[bridge:work] stopWork succeeded for workId=${W} on attempt ${_}/3`);return}catch(B){if(B instanceof Lz){if(hz(B))V(`[bridge:work] Suppressed stopWork 403 for ${W}: ${B.message}`);else $.logError(`Failed to stop work ${W}: ${B.message}`);Zz("error","bridge_stop_work_failed",{attempts:_,fatal:!0});return}let E=h(B);if(_<3){let O=Sz(q*Math.pow(2,_-1));$.logVerbose(`Failed to stop work ${W} (attempt ${_}/3), retrying in ${Ez(O)}: ${E}`),await i(O)}else $.logError(`Failed to stop work ${W} after 3 attempts: ${E}`),Zz("error","bridge_stop_work_failed",{attempts:3})}}function CK(z,J,W,$,q){V(`[bridge:session] sessionId=${z} timed out after ${jz(J)}`),W.logSessionFailed(z,`Session timed out after ${jz(J)}`),$.add(z),q.kill()}var FK=["session","same-dir","worktree"];function NK(z){if(z==="session")return"single-session";if(z==="same-dir")return"same-dir";if(z==="worktree")return"worktree";return`--spawn requires one of: ${FK.join(", ")} (got: ${z??"<missing>"})`}function PK(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 _K(z){let J=!1,W=!1,$,q,K,_,B=!1,E,O,w,U,N=!1;for(let A=0;A<z.length;A++){let F=z[A];if(F==="--help"||F==="-h")B=!0;else if(F==="--verbose"||F==="-v")J=!0;else if(F==="--sandbox")W=!0;else if(F==="--no-sandbox")W=!1;else if(F==="--debug-file"&&A+1<z.length)$=Iz(z[++A]);else if(F.startsWith("--debug-file="))$=Iz(F.slice(13));else if(F==="--session-timeout"&&A+1<z.length)q=parseInt(z[++A],10)*1000;else if(F.startsWith("--session-timeout="))q=parseInt(F.slice(18),10)*1000;else if(F==="--permission-mode"&&A+1<z.length)K=z[++A];else if(F.startsWith("--permission-mode="))K=F.slice(18);else if(F==="--name"&&A+1<z.length)_=z[++A];else if(F.startsWith("--name="))_=F.slice(7);else if(F==="--spawn"||F.startsWith("--spawn=")){if(E!==void 0)return f("--spawn may only be specified once");let x=F.startsWith("--spawn=")?F.slice(8):z[++A],C=NK(x);if(C==="single-session"||C==="same-dir"||C==="worktree")E=C;else return f(C)}else if(F==="--capacity"||F.startsWith("--capacity=")){if(O!==void 0)return f("--capacity may only be specified once");let x=F.startsWith("--capacity=")?F.slice(11):z[++A],C=PK(x);if(typeof C==="number")O=C;else return f(C)}else if(F==="--create-session-in-dir")w=!0;else if(F==="--no-create-session-in-dir")w=!1;else return f(`Unknown argument: ${F}
|
|
38
|
+
Run 'claudin remote-control --help' for usage.`)}if(E==="single-session"&&O!==void 0)return f("--capacity cannot be used with --spawn=session (single-session mode has fixed capacity 1).");if((U||N)&&(E!==void 0||O!==void 0||w!==void 0))return f("--session-id and --continue cannot be used with --spawn, --capacity, or --create-session-in-dir.");if(U&&N)return f("--session-id and --continue cannot be used together.");return{verbose:J,sandbox:W,debugFile:$,sessionTimeoutMs:q,permissionMode:K,name:_,spawnMode:E,capacity:O,createSessionInDir:w,sessionId:U,continueSession:N,help:B};function f(A){return{verbose:J,sandbox:W,debugFile:$,sessionTimeoutMs:q,permissionMode:K,name:_,spawnMode:E,capacity:O,createSessionInDir:w,sessionId:U,continueSession:N,help:B,error:A}}}async function UK(){let{EXTERNAL_PERMISSION_MODES:z}=await import("./permissions-1.1.40-a3gt3a6r.mjs"),W=`
|
|
39
|
+
Remote Control - Connect your local environment to claude.ai/code
|
|
40
|
+
|
|
41
|
+
USAGE
|
|
42
|
+
claudin remote-control [options]
|
|
43
|
+
OPTIONS
|
|
44
|
+
--name <name> Name for the session (shown in claude.ai/code)
|
|
45
|
+
--permission-mode <mode> Permission mode for spawned sessions
|
|
46
|
+
(${z.join(", ")})
|
|
47
|
+
--debug-file <path> Write debug logs to file
|
|
48
|
+
-v, --verbose Enable verbose output
|
|
49
|
+
-h, --help Show this help
|
|
50
|
+
|
|
51
|
+
DESCRIPTION
|
|
52
|
+
Remote Control allows you to control sessions on your local device from
|
|
53
|
+
claude.ai/code (https://claude.ai/code). Run this command in the
|
|
54
|
+
directory you want to work in, then connect from the Claude app or web.
|
|
55
|
+
|
|
56
|
+
NOTES
|
|
57
|
+
- You must be logged in with a Claude account that has a subscription
|
|
58
|
+
- Run \`claudin\` first in the directory to accept the workspace trust dialog
|
|
59
|
+
`;console.log(W)}var AK=80;function RK(z){let J=z.replace(/\s+/g," ").trim();return Pz(J,AK)}async function DK(z,J){let{getBridgeSession:W}=await import("./createSession-1.1.40-m1yre1z2.mjs");return(await W(z,{baseUrl:J}))?.title||void 0}async function VZ(z){let J=_K(z);if(J.help){await UK();return}if(J.error)console.error(`Error: ${J.error}`),process.exit(1);let{verbose:W,sandbox:$,debugFile:q,sessionTimeoutMs:K,permissionMode:_,name:B,spawnMode:E,capacity:O,createSessionInDir:w,sessionId:U,continueSession:N}=J,f=U,A,F=E!==void 0||O!==void 0||w!==void 0;if(_!==void 0){let{PERMISSION_MODES:D}=await import("./permissions-1.1.40-a3gt3a6r.mjs"),n=D;if(!n.includes(_))console.error(`Error: Invalid permission mode '${_}'. Valid modes: ${n.join(", ")}`),process.exit(1)}let x=Iz("."),{enableConfigs:C,checkHasTrustDialogAccepted:T}=await import("./config-1.1.40-hpmvve33.mjs");C();let{initSinks:b}=await import("./sinks-1.1.40-jmrhph0p.mjs");if(b(),F)console.error("Error: Multi-session Remote Control is not enabled for your account yet."),process.exit(1);let{setOriginalCwd:I,setCwdState:s}=await import("./state-1.1.40-48n6bztp.mjs");if(I(x),s(x),!T())console.error(`Error: Workspace not trusted. Please run \`claude\` in ${x} first to review and accept the workspace trust dialog.`),process.exit(1);let{clearOAuthTokenCache:l,checkAndRefreshOAuthTokenIfNeeded:Gz}=await import("./auth-1.1.40-jhdwprg7.mjs"),{getBridgeAccessToken:k,getBridgeBaseUrl:zz}=await import("./bridgeConfig-1.1.40-6zjr3dgb.mjs");if(!k())console.error(OJ),process.exit(1);let{getGlobalConfig:qz,saveGlobalConfig:Jz}=await import("./config-1.1.40-hpmvve33.mjs");if(!qz().remoteDialogSeen){let n=(await import("readline")).createInterface({input:process.stdin,output:process.stdout});console.log(`
|
|
60
|
+
Remote Control lets you access this CLI session from the web (claude.ai/code)
|
|
61
|
+
or the Claude app, so you can pick up where you left off on any device.
|
|
62
|
+
|
|
63
|
+
You can disconnect remote access anytime by running /remote-control again.
|
|
64
|
+
`);let p=await new Promise((Fz)=>{n.question("Enable Remote Control? (y/n) ",Fz)});if(n.close(),Jz((Fz)=>{if(Fz.remoteDialogSeen)return Fz;return{...Fz,remoteDialogSeen:!0}}),p.toLowerCase()!=="y"&&p.toLowerCase()!=="yes")process.exit(0)}let m=zz();if(m.startsWith("http://")&&!m.includes("localhost")&&!m.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 d=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||m,{getBranch:g,getRemoteUrl:Z}=await import("./git-1.1.40-j53g8ee0.mjs"),G="single-session",L=1;if(!f){let{clearBridgePointer:D}=await import("./bridgePointer-1.1.40-8nvycyyd.mjs");await D(x)}let e=await g(),$z=await Z(),Oz=$K(),Bz=WJ(),{handleOAuth401Error:Xz}=await import("./auth-1.1.40-jhdwprg7.mjs"),Hz=CJ({baseUrl:m,getAccessToken:k,runnerVersion:"99.0.0",onDebug:V,onAuth401:Xz}),Yz=void 0,Qz={dir:x,machineName:Oz,branch:e,gitRepoUrl:$z,maxSessions:L,spawnMode:G,verbose:W,sandbox:$,bridgeId:Bz,workerType:"claude_code",environmentId:WJ(),reuseEnvironmentId:Yz,apiBaseUrl:m,sessionIngressUrl:d,debugFile:q,sessionTimeoutMs:K};V(`[bridge:init] bridgeId=${Bz}${Yz?` reuseEnvironmentId=${Yz}`:""} dir=${x} branch=${e} gitRepoUrl=${$z} machine=${Oz}`),V(`[bridge:init] apiBaseUrl=${m} sessionIngressUrl=${d}`),V(`[bridge:init] sandbox=${$}${q?` debugFile=${q}`:""}`);let Wz,Y;try{let D=await Hz.registerBridgeEnvironment(Qz);Wz=D.environment_id,Y=D.environment_secret}catch(D){console.error(D instanceof Lz&&D.status===404?"Remote Control environments are not available for your account.":`Error: ${h(D)}`),process.exit(1)}V(`[bridge:init] Registered, server environmentId=${Wz}`);let Q=Uz();Zz("info","bridge_started",{max_sessions:Qz.maxSessions,sandbox:Qz.sandbox,spawn_mode:Qz.spawnMode});let R=YJ({execPath:process.execPath,scriptArgs:jK(),env:process.env,verbose:W,sandbox:$,debugFile:q,permissionMode:_,onDebug:V,onActivity:(D,n)=>{V(`[bridge:activity] sessionId=${D} ${n.type} ${n.summary}`)},onPermissionRequest:(D,n,p)=>{V(`[bridge:perm] sessionId=${D} tool=${n.request.tool_name} request_id=${n.request_id} (not auto-approving)`)}}),j=tz({verbose:W}),{parseGitHubRepository:P}=await import("./detectRepository-1.1.40-bfsfnrg0.mjs"),v=$z?P($z):null,c=v?v.split("/").pop():WK(x);j.setRepoInfo(c,e);let X=(D)=>{if(D[0]===3||D[0]===4){process.emit("SIGINT");return}if(D[0]===32){j.toggleQr();return}};if(process.stdin.isTTY)process.stdin.setRawMode(!0),process.stdin.resume(),process.stdin.on("data",X);let M=new AbortController,S=()=>{V("[bridge:shutdown] SIGINT received, shutting down"),M.abort()},u=()=>{V("[bridge:shutdown] SIGTERM received, shutting down"),M.abort()};process.on("SIGINT",S),process.on("SIGTERM",u);let a=null,{createBridgeSession:Kz}=await import("./createSession-1.1.40-m1yre1z2.mjs");try{if(a=await Kz({environmentId:Wz,title:B,events:[],gitRepoUrl:$z,branch:e,signal:M.signal,baseUrl:m,getAccessToken:k,permissionMode:_}),a)V(`[bridge:init] Created initial session ${a}`)}catch(D){V(`[bridge:init] Session creation failed (non-fatal): ${h(D)}`)}let r=null;if(a){let{writeBridgePointer:D}=await import("./bridgePointer-1.1.40-8nvycyyd.mjs"),n={sessionId:a,environmentId:Wz,source:"standalone"};await D(Qz.dir,n),r=setInterval(D,3600000,Qz.dir,n),r.unref?.()}try{await VK(Qz,Wz,Y,Hz,R,j,M.signal,void 0,a??void 0,async()=>{return l(),await Gz(),k()})}finally{if(r!==null)clearInterval(r);if(process.off("SIGINT",S),process.off("SIGTERM",u),process.stdin.off("data",X),process.stdin.isTTY)process.stdin.setRawMode(!1);process.stdin.pause()}process.exit(0)}export{VK as runBridgeLoop,_K as parseArgs,BK as isServerError,OK as isConnectionError,VZ as bridgeMain};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Aha as C,Bha as I,Cha as G,Dha as R,Uga as Z,Vga as $,Zga as y}from"./cli-1.1.40-05q41dcq.mjs";import{$ia as Y,_ia as X,dja as L,vja as A,yja as k}from"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import{Xja as W,aka as J}from"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ah as a,Bh as AJ}from"./cli-1.1.40-z2y2xwz9.mjs";import{Ch as x,Dh as vJ}from"./cli-1.1.40-2e8t1hzy.mjs";import{Ex as u,GC as m,Gq as g,Gx as IJ,Hq as UJ,IC as HJ,_P as r,aR as o,bx as l,cT as s,cx as kJ,dM as $,dT as t,eT as DJ,hM as bJ,mm as i,nQ as TJ,nm as QJ,pR as hJ,vG as c,wG as WJ}from"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import{$X as NJ,MX as S,OX as KJ,hW as GJ,tX as W,vX as b}from"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import{C1 as F,D1 as H,E1 as _}from"./cli-1.1.40-rwbr7d1h.mjs";import{F1 as zJ}from"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import{Bba as ZJ,iba as p,jba as C,k_ as j,vea as FJ}from"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import{Vja as f,aka as YJ}from"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Jqa as R,Nqa as XJ}from"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{RV as p,SV as f,TV as a,UV as S}from"./cli-1.1.40-p0d9ms1q.mjs";import{k_ as d,vea as C}from"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import{jia as m,kia as y,lia as b}from"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Nqa as g}from"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{_Y as u,aZ as Vz}from"./cli-1.1.40-8dzrhmwv.mjs";import{lZ as p,pZ as Qz}from"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import{G3 as h,d4 as Nz}from"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import{Dfa as zz,Gfa as c,Jfa as Jz,vfa as m}from"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import{vja as L,yja as e}from"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import{Wka as v,zpa as r}from"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Nqa as s}from"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{GZ as U,KZ as V,LZ as Y,MZ as Z,NZ as A,wZ as P,xZ as Q,zZ as w}from"./cli-1.1.40-p3jhg1v9.mjs";import{Nqa as j}from"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ph as a,Qh as b}from"./cli-1.1.40-x155sz4a.mjs";import"./cli-1.1.40-fqcnge4w.mjs";import"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import"./cli-1.1.40-rwbr7d1h.mjs";import"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import"./cli-1.1.40-jxfk62k7.mjs";b();export{a as clearSessionCaches};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Bm as r,Dp as x,Ep as e,Kk as F,Lk as t,Pm as c,Tq as p,UN as Z,Ul as g,Uq as Vz,VN as zz,Vn as W,Wn as s,YS as P,aT as Ez,kn as u,lm as Lz,pn as Nz,rn as Qz,sn as v,un as n,vn as Uz,wm as M}from"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import"./cli-1.1.40-rwbr7d1h.mjs";import"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import{d6 as E,e6 as Jz}from"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import{N$ as q,Rfa as w,Sda as R,Vda as d,Wfa as Kz,daa as o}from"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import{Wga as f,Zga as i}from"./cli-1.1.40-05q41dcq.mjs";import{Gha as Y,Iha as O}from"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import{$ka as T,Wka as G,Yoa as C,Zka as H,ala as b,cla as y,dla as A,wka as D,xka as m,zpa as I}from"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Nqa as $}from"./cli-1.1.40-jxfk62k7.mjs";function k(){return j}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()??f(b())),y(z),A(z),j=B,Bz(),{previousCwd:B,newCwd:z}}function Bz(){P(),M.cache.clear?.(),F(),x.cache?.clear?.(),R.cache?.clear?.(),q.cache?.clear?.(),W()}var j=null;var h=$(()=>{r();t();Ez();e();d();I();s();i();O();zz();o()});import{dirname as Xz}from"node:path";function Yz(J){let B=J.trim();if(!B)return{kind:"empty"};if(B==="-")return{kind:"previous"};return{kind:"path",path:B}}function Zz(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 wz(J,B,z=_z){let N=Yz(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(Xz(K.absolutePath))}?`);return L(n(K))}if(K.absolutePath===z.currentCwd())return L(`Already in ${E.bold(K.absolutePath)}.`);let l=z.hasPendingWakeup(),Q;try{Q=z.reroot(K.absolutePath)}catch(U){let X=U instanceof Error?U.message:"Unknown error";return w(Error(`/cd failed to move to ${K.absolutePath}: ${X}`)),L(`Could not move to ${E.bold(K.absolutePath)}: ${X}`)}let _=!c(Q.previousCwd,Q.newCwd);if(_){let U=u(B.getAppState().toolPermissionContext,{type:"addDirectories",directories:[Q.previousCwd],destination:"session"});B.setAppState((a)=>({...a,toolPermissionContext:U}));let X=D();if(!X.includes(Q.previousCwd))m([...X,Q.previousCwd])}return z.refreshSandbox(),L(Zz(Q,_,l))}var _z;var $z=$(()=>{Jz();Uz();Nz();Qz();I();Vz();h();O();Kz();Lz();_z={currentWorktreeSession:g,resolveDirectory:v,reroot:S,previousDir:k,hasPendingWakeup:()=>C()!==null,currentCwd:Y,refreshSandbox:()=>p.refreshConfig()}});$z();export{Yz as parseCdTarget,Zz as formatCdResult,wz as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C_ as V,D_ as W,E_ as N,O9 as k,Rfa as X,T9 as J,Uba as x,Wfa as H,Xba as A}from"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import{Wja as b,aka as y}from"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import"./cli-1.1.40-jxfk62k7.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$S as p,OS as c,PS as d,QS as e,RS as f,SS as g,TS as h,US as i,VS as j,WS as k,XS as l,YS as m,ZS as n,_S as o,aT as q,iN as a,jN as b}from"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import"./cli-1.1.40-rwbr7d1h.mjs";import"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import"./cli-1.1.40-jxfk62k7.mjs";q();export{p as shouldShowClaudeMdExternalIncludesWarning,n as resetGetMemoryFilesCache,a as processMemoryFile,b as processMdRules,k as processConditionedMdRules,e as isMemoryFilePath,g as hasExternalClaudeMdIncludes,i as getMemoryFilesForNestedDirectory,l as getMemoryFiles,h as getManagedAndUserConditionalRules,d as getLargeMemoryFiles,f as getExternalClaudeMdIncludes,j as getConditionalRulesForCwdLevelDirectory,o as getClaudeMds,m as clearMemoryFileCaches,c as MAX_MEMORY_CHARACTER_COUNT};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Nh as f,Oh as y}from"./cli-1.1.40-tpcjtjay.mjs";import"./cli-1.1.40-x155sz4a.mjs";import"./cli-1.1.40-6v8d2hq7.mjs";import{Zh as h,_h as z}from"./cli-1.1.40-aaec6y8n.mjs";import"./cli-1.1.40-fqcnge4w.mjs";import"./cli-1.1.40-wh51ya47.mjs";import"./cli-1.1.40-p6sasq8k.mjs";import"./cli-1.1.40-ycdfy6nf.mjs";import"./cli-1.1.40-d94fysd2.mjs";import"./cli-1.1.40-718chdj8.mjs";import"./cli-1.1.40-13ccwz6g.mjs";import"./cli-1.1.40-a8ztxtkt.mjs";import"./cli-1.1.40-yggza6ab.mjs";import"./cli-1.1.40-zc4hs061.mjs";import"./cli-1.1.40-beywxqng.mjs";import"./cli-1.1.40-p0d9ms1q.mjs";import"./cli-1.1.40-3hqepe0h.mjs";import"./cli-1.1.40-ckjrbh6b.mjs";import"./cli-1.1.40-h5r5wmqv.mjs";import"./cli-1.1.40-mtqb5txt.mjs";import"./cli-1.1.40-e6xs2c7n.mjs";import"./cli-1.1.40-8dzrhmwv.mjs";import"./cli-1.1.40-1z293953.mjs";import"./cli-1.1.40-0vdhw7mm.mjs";import"./cli-1.1.40-p3jhg1v9.mjs";import"./cli-1.1.40-cjtb9y6z.mjs";import"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-x8fyash9.mjs";import"./cli-1.1.40-rwbr7d1h.mjs";import"./cli-1.1.40-202jxgqx.mjs";import"./cli-1.1.40-vnckyxj2.mjs";import"./cli-1.1.40-13e9gynq.mjs";import"./cli-1.1.40-bdt7jzc8.mjs";import"./cli-1.1.40-cjmpr9fj.mjs";import"./cli-1.1.40-dbt9wvcg.mjs";import"./cli-1.1.40-0z5szwzt.mjs";import"./cli-1.1.40-2j20ecjm.mjs";import"./cli-1.1.40-xxr2978q.mjs";import"./cli-1.1.40-6gc7p5by.mjs";import"./cli-1.1.40-jc0pv06v.mjs";import"./cli-1.1.40-75jka1rb.mjs";import"./cli-1.1.40-yb9c5882.mjs";import"./cli-1.1.40-gk34ey8n.mjs";import"./cli-1.1.40-88vceqkj.mjs";import"./cli-1.1.40-m4hyy4k1.mjs";import"./cli-1.1.40-5x38x6mx.mjs";import"./cli-1.1.40-hfe06y9j.mjs";import"./cli-1.1.40-6evbnv5e.mjs";import"./cli-1.1.40-hf5jtfgb.mjs";import"./cli-1.1.40-zz1e7ypt.mjs";import"./cli-1.1.40-05q41dcq.mjs";import"./cli-1.1.40-904bkcqe.mjs";import"./cli-1.1.40-2ted9r2b.mjs";import"./cli-1.1.40-cy642er2.mjs";import"./cli-1.1.40-fwxd22jm.mjs";import"./cli-1.1.40-rq9y2zd8.mjs";import"./cli-1.1.40-tb7zgp10.mjs";import{Wka as b,zpa as w}from"./cli-1.1.40-5m7tntdx.mjs";import"./cli-1.1.40-m0j9t9he.mjs";import"./cli-1.1.40-x0em3hsa.mjs";import{Nqa as q}from"./cli-1.1.40-jxfk62k7.mjs";var G=async(B,k)=>{let m=b();return await f(k),h(m),{type:"text",value:""}};var A=q(()=>{y();w();z()});A();export{G as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t1 as a,u1 as b,v1 as c}from"./cli-1.1.40-1a4pn4ww.mjs";import"./cli-1.1.40-jxfk62k7.mjs";c();export{a as getClearTerminalSequence,b as clearTerminal};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{AN as j,GN as I,HP as P,NS as p,UM as K,WM as A,XM as T,ZM as u,aN as b,vN as n,yP as _,zP as f}from"./cli-1.1.40-wh51ya47.mjs";import{vV as M,wV as m}from"./cli-1.1.40-beywxqng.mjs";import{Aia as c,hja as F,lja as C,vja as Z,yia as E,yja as S}from"./cli-1.1.40-cy642er2.mjs";import{Uka as v,Vka as g,wka as Y,zpa as k}from"./cli-1.1.40-5m7tntdx.mjs";m();k();P();u();n();c();S();C();p();g();import*as H from"path";var r=1000,i=500,d=300,o=2000,l=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=v(),U=null;async function e(){if(B||D)return;if(B=!0,!V)V=!0,T(()=>{_(),W.emit()});let q=await t();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=M.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??r,pollInterval:U?.pollInterval??i},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:l,interval:U?.chokidarInterval??o,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=E(async()=>{await L()})}function L(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var h=W.subscribe;async function t(){let q=F(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of Y()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),s(q)}function s(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await I("skills",w[0]);if(j(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}A(),f(),b(),W.emit()},U?.reloadDebounce??d)}async function a(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Uq={initialize:e,dispose:L,subscribe:h,resetForTesting:a};
|
|
2
|
+
export{Uq as La};
|