@claudiolabs/claudin 0.5.12 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +1 -0
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +3 -0
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +1 -0
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +1 -0
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +1 -0
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +1 -0
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +3 -0
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +110 -0
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +1 -0
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +1 -0
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +1 -0
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +1 -0
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +1 -0
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +1 -0
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +1 -0
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +1 -0
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +3 -0
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +4 -0
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +1 -0
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +1 -0
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +1 -0
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +3 -0
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +2 -0
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +3 -0
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +2 -0
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +2 -0
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +45 -0
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +5276 -0
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +4 -0
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +2 -0
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +6 -0
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +2 -0
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +18 -0
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +2 -0
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +4 -0
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +2 -0
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +15 -0
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +2 -0
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +2 -0
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +8 -0
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +2 -0
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +3 -0
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +6 -0
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-adphma77.mjs +2 -0
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +2 -0
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +2 -0
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +4 -0
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +1 -0
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +3 -0
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +4 -0
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +4 -0
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +5 -0
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +39 -0
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +24 -0
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +15 -0
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +24 -0
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +2 -0
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +34 -0
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +17 -0
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +10 -0
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +2 -0
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +4 -0
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +3 -0
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +2 -0
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +2 -0
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +2 -0
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +2 -0
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +15 -0
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +12 -0
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +12 -0
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +9 -0
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +17 -0
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +2 -0
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +25 -0
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +4 -0
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +2 -0
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +2 -0
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +3 -0
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +9 -0
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +2 -0
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +6 -0
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +2 -0
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +2 -0
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +133 -0
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +16 -0
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +2 -0
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +193 -0
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +18 -0
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +3 -0
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +2 -0
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +58 -0
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +2 -0
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +4 -0
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +42 -0
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +3 -0
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-teedketa.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +3 -0
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +21 -0
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +59 -0
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +3 -0
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +3 -0
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +2 -0
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +5 -0
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +2 -0
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +5 -0
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +7 -0
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +2 -0
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +2 -0
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +67 -0
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +20 -0
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +12 -0
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +4 -0
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +2 -0
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +2 -0
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +3 -0
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +4 -0
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +50 -0
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +133 -0
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +1 -0
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +1 -0
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +3 -0
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +1 -0
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +1 -0
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +1 -0
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +1 -0
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +9 -0
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +1 -0
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +1 -0
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +1177 -0
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +1 -0
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +1 -0
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +1 -0
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +1 -0
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +10 -0
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +1 -0
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +1 -0
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +1 -0
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +1 -0
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +1 -0
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +1 -0
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +1 -0
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +1 -0
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +1 -0
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +1 -0
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +2 -0
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +6 -0
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +1 -0
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +3 -0
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +1 -0
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +79 -0
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +1 -0
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +1 -0
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +1 -0
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +17 -0
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +9 -0
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +1 -0
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +1 -0
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +1 -0
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +1 -0
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +1 -0
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +2 -0
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +1 -0
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +30 -0
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +1 -0
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +1 -0
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +1 -0
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +5 -0
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +1 -0
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +9 -0
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +1 -0
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +2 -0
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +1 -0
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +1 -0
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +1 -0
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +1 -0
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +870 -0
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +1 -0
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +2 -0
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +1 -0
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +1 -0
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +1 -0
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +4 -0
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +17 -0
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +1 -0
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +1 -0
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +3 -0
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +2 -0
- package/dist/chunks/model-0.5.13-02rcx381.mjs +1 -0
- package/dist/chunks/model-0.5.13-nn224m13.mjs +2 -0
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +12 -0
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +14 -0
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +1 -0
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +1 -0
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +1 -0
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +3 -0
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +1 -0
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +1 -0
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +1 -0
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +2 -0
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +1 -0
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +9 -0
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +1 -0
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +1 -0
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +13 -0
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +34 -0
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +1 -0
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +2 -0
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +1 -0
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +1 -0
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +2 -0
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +1 -0
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +1 -0
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +1 -0
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +5 -0
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +1 -0
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +1 -0
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +1 -0
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +6 -0
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +1 -0
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +1 -0
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +1 -0
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +1 -0
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +1 -0
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +1 -0
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +1 -0
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +4 -0
- package/dist/chunks/update-0.5.13-r5daertf.mjs +86 -0
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +1 -0
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +1 -0
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +1 -0
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +1 -0
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +1 -0
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +1 -0
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +132 -0
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +1 -0
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.12-smdrq819.mjs +0 -1
- package/dist/chunks/App-0.5.12-r5wjd7s8.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.12-ne9g2ryd.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.12-xsd6p7kt.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.12-ssrkfkmd.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.12-q6qcrrj2.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.12-gfcmcgxz.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.12-e1f2czf7.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.12-vnm4mz9c.mjs +0 -3
- package/dist/chunks/Doctor-0.5.12-rtbvt5mw.mjs +0 -1
- package/dist/chunks/Grove-0.5.12-qv18jfe4.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.12-tp63kb2y.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.12-q3wspzrk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.12-ksv56j0p.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.12-ekgs1jgb.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.12-sjtsxgzz.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.12-sjdymhw7.mjs +0 -1
- package/dist/chunks/REPL-0.5.12-8h9bmdjx.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.12-wpm4mfaa.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.12-n8kyqhdr.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.12-30xn93y9.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.12-e3fg3amd.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.12-hk2rzdh9.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.12-jevh3zhx.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.12-9ggdsbtq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.12-h0w01e8v.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.12-gs3tp52z.mjs +0 -1
- package/dist/chunks/add-dir-0.5.12-20s2bbpb.mjs +0 -1
- package/dist/chunks/agents-0.5.12-3hsbstfa.mjs +0 -3
- package/dist/chunks/agents-0.5.12-s6qbjsne.mjs +0 -110
- package/dist/chunks/api-0.5.12-0wrh71sa.mjs +0 -1
- package/dist/chunks/asciicast-0.5.12-rjjtzjz5.mjs +0 -1
- package/dist/chunks/assistant-0.5.12-wv5tm7qb.mjs +0 -1
- package/dist/chunks/auth-0.5.12-1jvg770t.mjs +0 -1
- package/dist/chunks/auth-0.5.12-s2b8vrty.mjs +0 -1
- package/dist/chunks/autoMode-0.5.12-ka6ppwmf.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.12-gdprekp5.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.12-1yfjbpvk.mjs +0 -1
- package/dist/chunks/branch-0.5.12-j64r58dd.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.12-x983by3j.mjs +0 -1
- package/dist/chunks/btw-0.5.12-kgz89wa7.mjs +0 -1
- package/dist/chunks/buddy-0.5.12-r9nysssz.mjs +0 -3
- package/dist/chunks/cacache-0.5.12-4170vfc6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.12-5nr9y8e3.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.12-bgxk3p2h.mjs +0 -4
- package/dist/chunks/caches-0.5.12-95zf6qzv.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.12-23kdtzwn.mjs +0 -1
- package/dist/chunks/claudemd-0.5.12-nyakrtyn.mjs +0 -1
- package/dist/chunks/clear-0.5.12-tngfq6r4.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.12-g53rj1ba.mjs +0 -1
- package/dist/chunks/cli-0.5.12-02t9z38y.mjs +0 -2
- package/dist/chunks/cli-0.5.12-02yr8j71.mjs +0 -3
- package/dist/chunks/cli-0.5.12-057c2cp2.mjs +0 -5
- package/dist/chunks/cli-0.5.12-07kx3k7b.mjs +0 -2
- package/dist/chunks/cli-0.5.12-097tmfjr.mjs +0 -2
- package/dist/chunks/cli-0.5.12-0qasc0ef.mjs +0 -2
- package/dist/chunks/cli-0.5.12-11b979hs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-15jvdvek.mjs +0 -3
- package/dist/chunks/cli-0.5.12-1fs9t3y1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-1vyz0tt9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-27ngaysm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2fqmc1dw.mjs +0 -17
- package/dist/chunks/cli-0.5.12-2jxq8gnm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2thv7xjf.mjs +0 -133
- package/dist/chunks/cli-0.5.12-2tqpkne4.mjs +0 -3
- package/dist/chunks/cli-0.5.12-2wf629mh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2zcpj03a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-30h4rkq5.mjs +0 -4
- package/dist/chunks/cli-0.5.12-34cd39ve.mjs +0 -2
- package/dist/chunks/cli-0.5.12-36swspqa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3t06hwwh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3v7zr435.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3vz2jvfs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3zwt5bt4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-41eae9ef.mjs +0 -2
- package/dist/chunks/cli-0.5.12-47dbnsz1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-495d826j.mjs +0 -18
- package/dist/chunks/cli-0.5.12-4dn79vqp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-4dxe3951.mjs +0 -2
- package/dist/chunks/cli-0.5.12-4h4yvgep.mjs +0 -4
- package/dist/chunks/cli-0.5.12-5d3qcvf5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-5qad6x1n.mjs +0 -2
- package/dist/chunks/cli-0.5.12-60w1a0bs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-62bfegwf.mjs +0 -3
- package/dist/chunks/cli-0.5.12-63mc4ryd.mjs +0 -2
- package/dist/chunks/cli-0.5.12-6h1z8rhs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7bxdfxh2.mjs +0 -7
- package/dist/chunks/cli-0.5.12-7c345wdv.mjs +0 -15
- package/dist/chunks/cli-0.5.12-7cn41yy7.mjs +0 -6
- package/dist/chunks/cli-0.5.12-7dj55dt9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7j2hryxc.mjs +0 -3
- package/dist/chunks/cli-0.5.12-7p67dbr2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7repzgzv.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7vxpqr5a.mjs +0 -67
- package/dist/chunks/cli-0.5.12-7zb3ptxb.mjs +0 -2
- package/dist/chunks/cli-0.5.12-8j9p82ea.mjs +0 -2
- package/dist/chunks/cli-0.5.12-8v5w8znc.mjs +0 -9
- package/dist/chunks/cli-0.5.12-8vg9yqcp.mjs +0 -3
- package/dist/chunks/cli-0.5.12-8wzyrrzj.mjs +0 -10
- package/dist/chunks/cli-0.5.12-96ne669g.mjs +0 -25
- package/dist/chunks/cli-0.5.12-9mq24qzr.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9q9g02p5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9qdgpa04.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9zz4wk90.mjs +0 -2
- package/dist/chunks/cli-0.5.12-afky60yh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ajgk4ksj.mjs +0 -2
- package/dist/chunks/cli-0.5.12-am3j4jcx.mjs +0 -12
- package/dist/chunks/cli-0.5.12-aqgqkjt4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-asbn3d19.mjs +0 -2
- package/dist/chunks/cli-0.5.12-b2d3jjn3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-b73xqvce.mjs +0 -2
- package/dist/chunks/cli-0.5.12-brdpkyjd.mjs +0 -4
- package/dist/chunks/cli-0.5.12-bw549ry1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-bx2t76qp.mjs +0 -3
- package/dist/chunks/cli-0.5.12-bxsvvg0q.mjs +0 -2
- package/dist/chunks/cli-0.5.12-bzab36pn.mjs +0 -15
- package/dist/chunks/cli-0.5.12-c2yq69h9.mjs +0 -17
- package/dist/chunks/cli-0.5.12-c40vvkn4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-c6whkxmz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-c8f4daey.mjs +0 -2
- package/dist/chunks/cli-0.5.12-caz6gx12.mjs +0 -2
- package/dist/chunks/cli-0.5.12-cbevkwg4.mjs +0 -3
- package/dist/chunks/cli-0.5.12-cqv7z22w.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ctqkj6ve.mjs +0 -6
- package/dist/chunks/cli-0.5.12-cw1qs4bg.mjs +0 -24
- package/dist/chunks/cli-0.5.12-cwbm4b6n.mjs +0 -2
- package/dist/chunks/cli-0.5.12-d158qgn4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-dda4jky0.mjs +0 -2
- package/dist/chunks/cli-0.5.12-dpm51wzp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-eb1c0sqs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ecgx5n54.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f141d2qa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f15xspgt.mjs +0 -18
- package/dist/chunks/cli-0.5.12-f5pfjvdk.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f8850v2j.mjs +0 -42
- package/dist/chunks/cli-0.5.12-f99c5512.mjs +0 -24
- package/dist/chunks/cli-0.5.12-fqp5s15p.mjs +0 -59
- package/dist/chunks/cli-0.5.12-g4ffbdep.mjs +0 -2
- package/dist/chunks/cli-0.5.12-g4wb8mj2.mjs +0 -193
- package/dist/chunks/cli-0.5.12-gfm1s8a2.mjs +0 -4
- package/dist/chunks/cli-0.5.12-ghtxkxqx.mjs +0 -2
- package/dist/chunks/cli-0.5.12-gt83ysr0.mjs +0 -9
- package/dist/chunks/cli-0.5.12-gwg1e43k.mjs +0 -34
- package/dist/chunks/cli-0.5.12-had5m07e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-hp0508v9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-hvtcdcev.mjs +0 -2
- package/dist/chunks/cli-0.5.12-j3j0qej1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-j75ba781.mjs +0 -2
- package/dist/chunks/cli-0.5.12-jp1r2jw2.mjs +0 -1
- package/dist/chunks/cli-0.5.12-jy79msaa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-k1crwtdc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-k976aej3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kez9r81a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-khvy67r3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kkfzbxw6.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kr31tdde.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ktv3envc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-m22yxpb9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-m2gh4ewc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-mgke70yz.mjs +0 -39
- package/dist/chunks/cli-0.5.12-n1ax8ehf.mjs +0 -2
- package/dist/chunks/cli-0.5.12-n1wc50h4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-n4bfatc5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nb3q4dfs.mjs +0 -4
- package/dist/chunks/cli-0.5.12-nbcjwzzn.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ne0f51vh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nf7cvq82.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nj5yya0e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nytegfxk.mjs +0 -4
- package/dist/chunks/cli-0.5.12-p4mf644w.mjs +0 -2
- package/dist/chunks/cli-0.5.12-p5ps8gf0.mjs +0 -6
- package/dist/chunks/cli-0.5.12-p7shsask.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pdqnfqg3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pp1549k7.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pp1f55mm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pq058s0e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pwee4pmy.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pycnjaeg.mjs +0 -16
- package/dist/chunks/cli-0.5.12-pzvv2jfe.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qafa6js8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qdhvs7zg.mjs +0 -5
- package/dist/chunks/cli-0.5.12-qew4mzgp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qffnerrz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qt5dmgd4.mjs +0 -58
- package/dist/chunks/cli-0.5.12-qvbpbpwc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-r1nnkaek.mjs +0 -3
- package/dist/chunks/cli-0.5.12-r1p7bcf8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-r6bpk4tm.mjs +0 -50
- package/dist/chunks/cli-0.5.12-rb8we522.mjs +0 -2
- package/dist/chunks/cli-0.5.12-rc1p9wk6.mjs +0 -3
- package/dist/chunks/cli-0.5.12-rt0k97yj.mjs +0 -12
- package/dist/chunks/cli-0.5.12-rw2tcb8a.mjs +0 -21
- package/dist/chunks/cli-0.5.12-s0h788we.mjs +0 -2
- package/dist/chunks/cli-0.5.12-sb5ec9ms.mjs +0 -2
- package/dist/chunks/cli-0.5.12-sd5469b2.mjs +0 -3
- package/dist/chunks/cli-0.5.12-senanaj4.mjs +0 -15
- package/dist/chunks/cli-0.5.12-ssw8vd5p.mjs +0 -45
- package/dist/chunks/cli-0.5.12-tczcdzf3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-tfdwzg37.mjs +0 -4
- package/dist/chunks/cli-0.5.12-tnk4m7zs.mjs +0 -8
- package/dist/chunks/cli-0.5.12-tnq5ajv3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-va0ce6hc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vkgwh6kg.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vp5smcs1.mjs +0 -4
- package/dist/chunks/cli-0.5.12-vrbqnjp6.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vs30tjk8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vw8gp4d2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vwd5aqnh.mjs +0 -20
- package/dist/chunks/cli-0.5.12-w00qj83e.mjs +0 -133
- package/dist/chunks/cli-0.5.12-w02bmj5v.mjs +0 -2
- package/dist/chunks/cli-0.5.12-w3hy6c60.mjs +0 -2
- package/dist/chunks/cli-0.5.12-w7m7knvf.mjs +0 -4
- package/dist/chunks/cli-0.5.12-wgqarp3j.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wgqshyyq.mjs +0 -2
- package/dist/chunks/cli-0.5.12-whfz3xsx.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wqg58esg.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wqn70xss.mjs +0 -2
- package/dist/chunks/cli-0.5.12-x3r8qtwj.mjs +0 -12
- package/dist/chunks/cli-0.5.12-x479axrj.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xdrtyw81.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xdx5bcxv.mjs +0 -5
- package/dist/chunks/cli-0.5.12-xg7a0dy4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xhf4y2sm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xsyxpmwt.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xyf8b9hh.mjs +0 -4
- package/dist/chunks/cli-0.5.12-xysz4vte.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xzeb7mtb.mjs +0 -2
- package/dist/chunks/cli-0.5.12-y2kq7fe8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-y66stscm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-yq8ds97a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ysy6e9rz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-yxvbh81c.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z100r543.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z2yzdy27.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z6vekb4d.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zbcr8cbk.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zc0qwdy2.mjs +0 -5268
- package/dist/chunks/cli-0.5.12-zd5fps7m.mjs +0 -3
- package/dist/chunks/cli-0.5.12-zf4k1ja2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zsjs6asf.mjs +0 -2
- package/dist/chunks/client-0.5.12-25cxceb6.mjs +0 -1
- package/dist/chunks/color-0.5.12-7ag99jgh.mjs +0 -1
- package/dist/chunks/compact-0.5.12-tkdapr9z.mjs +0 -3
- package/dist/chunks/config-0.5.12-0c9spewv.mjs +0 -1
- package/dist/chunks/config-0.5.12-vc9je2fj.mjs +0 -1
- package/dist/chunks/context-0.5.12-rznd55j3.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.12-fm064xkc.mjs +0 -1
- package/dist/chunks/conversation-0.5.12-rstja52a.mjs +0 -1
- package/dist/chunks/copy-0.5.12-wfyfcx1t.mjs +0 -9
- package/dist/chunks/cost-0.5.12-5t5ppkhd.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.12-n4gfgvy0.mjs +0 -1
- package/dist/chunks/createSession-0.5.12-vberyedq.mjs +0 -1
- package/dist/chunks/debug-0.5.12-6tk66dq2.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.12-cd6kj7vb.mjs +0 -1177
- package/dist/chunks/desktop-0.5.12-t4zetpqs.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.12-4rer36ef.mjs +0 -1
- package/dist/chunks/detection-0.5.12-kc620t5m.mjs +0 -1
- package/dist/chunks/diff-0.5.12-t1nwyr97.mjs +0 -1
- package/dist/chunks/doctor-0.5.12-6ehwnc02.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.12-715ngvgm.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.12-9c0k1b2s.mjs +0 -1
- package/dist/chunks/effort-0.5.12-tge1ba18.mjs +0 -10
- package/dist/chunks/envUtils-0.5.12-4210d9jh.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.12-fpz6s66f.mjs +0 -1
- package/dist/chunks/environments-0.5.12-yjkrj1h3.mjs +0 -1
- package/dist/chunks/errors-0.5.12-hx01gb7f.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.12-228rhbph.mjs +0 -1
- package/dist/chunks/exit-0.5.12-x0w90ajb.mjs +0 -1
- package/dist/chunks/export-0.5.12-cdv2fqe2.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.12-d0ypcf8h.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.12-1xmkn7xb.mjs +0 -1
- package/dist/chunks/fast-0.5.12-pm7p7cea.mjs +0 -1
- package/dist/chunks/feedback-0.5.12-k7w5ac6x.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.12-jbg4z87y.mjs +0 -1
- package/dist/chunks/git-0.5.12-rpqpwk1g.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.12-gc6bcfrs.mjs +0 -1
- package/dist/chunks/grove-0.5.12-g5c6bca9.mjs +0 -1
- package/dist/chunks/growthbook-0.5.12-d3dr2a5b.mjs +0 -1
- package/dist/chunks/headless-0.5.12-4en0ynj2.mjs +0 -2
- package/dist/chunks/heapdump-0.5.12-bwv2jy65.mjs +0 -6
- package/dist/chunks/help-0.5.12-m0n3bja4.mjs +0 -1
- package/dist/chunks/hookChains-0.5.12-ybpwc19k.mjs +0 -3
- package/dist/chunks/hooks-0.5.12-gd1zgq76.mjs +0 -1
- package/dist/chunks/hooks-0.5.12-kmtv873b.mjs +0 -79
- package/dist/chunks/ide-0.5.12-kh015qjb.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.12-gskzpn6n.mjs +0 -1
- package/dist/chunks/index-0.5.12-0qdxjc4v.mjs +0 -30
- package/dist/chunks/index-0.5.12-1ms14gcb.mjs +0 -1
- package/dist/chunks/index-0.5.12-23xwq3mj.mjs +0 -1
- package/dist/chunks/index-0.5.12-3k0mgkby.mjs +0 -5
- package/dist/chunks/index-0.5.12-3qxmsrhf.mjs +0 -1
- package/dist/chunks/index-0.5.12-5nwrep7m.mjs +0 -1
- package/dist/chunks/index-0.5.12-5zp8ghw8.mjs +0 -2
- package/dist/chunks/index-0.5.12-6t3ctwhj.mjs +0 -1
- package/dist/chunks/index-0.5.12-bb0dxhht.mjs +0 -1
- package/dist/chunks/index-0.5.12-cdvaqvrt.mjs +0 -1
- package/dist/chunks/index-0.5.12-e3g06gch.mjs +0 -2
- package/dist/chunks/index-0.5.12-g0waf7b4.mjs +0 -1
- package/dist/chunks/index-0.5.12-k2yx7rgg.mjs +0 -1
- package/dist/chunks/index-0.5.12-pqbbvhvf.mjs +0 -17
- package/dist/chunks/index-0.5.12-v34jg9ty.mjs +0 -1
- package/dist/chunks/index-0.5.12-vd2ps0yn.mjs +0 -1
- package/dist/chunks/index-0.5.12-vk2f44v8.mjs +0 -9
- package/dist/chunks/index-0.5.12-vqmfkmk5.mjs +0 -1
- package/dist/chunks/index-0.5.12-vxrpnsbd.mjs +0 -1
- package/dist/chunks/index-0.5.12-w00wq0mv.mjs +0 -1
- package/dist/chunks/index-0.5.12-wq1ac3z9.mjs +0 -1
- package/dist/chunks/index-0.5.12-z05jb67f.mjs +0 -9
- package/dist/chunks/init-0.5.12-dek8tx6c.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.12-tzmcc68e.mjs +0 -1
- package/dist/chunks/ink-0.5.12-pa331vem.mjs +0 -1
- package/dist/chunks/insights-0.5.12-5vdjmpbj.mjs +0 -870
- package/dist/chunks/install-0.5.12-vegjn29b.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.12-x1q07njz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.12-xdebh0fz.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.12-t5wdqnhp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.12-fs831eqt.mjs +0 -1
- package/dist/chunks/keybindings-0.5.12-c5ptskwf.mjs +0 -2
- package/dist/chunks/knowledge-0.5.12-vqnz3rhj.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.12-6ea56sj8.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.12-q3cab4jf.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.12-teg232ka.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.12-zqfepr29.mjs +0 -1
- package/dist/chunks/log-0.5.12-hb77k1c6.mjs +0 -1
- package/dist/chunks/main-0.5.12-a5ye3nrk.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.12-9m0enspy.mjs +0 -1
- package/dist/chunks/mcp-0.5.12-0g4by910.mjs +0 -1
- package/dist/chunks/mcp-0.5.12-kmsa1db8.mjs +0 -17
- package/dist/chunks/mcp-0.5.12-tpprk6qh.mjs +0 -4
- package/dist/chunks/mcpb-0.5.12-40x6rp03.mjs +0 -1
- package/dist/chunks/memory-0.5.12-31smeswe.mjs +0 -3
- package/dist/chunks/mobile-0.5.12-trtv6cx8.mjs +0 -2
- package/dist/chunks/model-0.5.12-dwyagyf8.mjs +0 -2
- package/dist/chunks/model-0.5.12-ncsht9ca.mjs +0 -1
- package/dist/chunks/node-0.5.12-n3y2efbq.mjs +0 -12
- package/dist/chunks/oauth-0.5.12-vz32m3f2.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.12-5vwewpct.mjs +0 -14
- package/dist/chunks/output-style-0.5.12-j7kzxe0j.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.12-pcrvwm89.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.12-k9xxsfd1.mjs +0 -1
- package/dist/chunks/parser-0.5.12-dztg8ppe.mjs +0 -1
- package/dist/chunks/passes-0.5.12-5z8tw34t.mjs +0 -1
- package/dist/chunks/permissions-0.5.12-rww5yb80.mjs +0 -3
- package/dist/chunks/plan-0.5.12-69ntjye7.mjs +0 -1
- package/dist/chunks/plist-0.5.12-3ab3ry0j.mjs +0 -1
- package/dist/chunks/plugin-0.5.12-k1c1ggj8.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.12-4nzjv877.mjs +0 -1
- package/dist/chunks/plugins-0.5.12-gjxv18dm.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.12-z0z4xe2p.mjs +0 -2
- package/dist/chunks/print-0.5.12-9y9vvttb.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.12-w3hpvv24.mjs +0 -1
- package/dist/chunks/process-0.5.12-esywnb4j.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.12-24r2r258.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.12-pt79vh2t.mjs +0 -9
- package/dist/chunks/prompt-0.5.12-hc11zacw.mjs +0 -1
- package/dist/chunks/prompt-0.5.12-txnbkzk6.mjs +0 -1
- package/dist/chunks/prompts-0.5.12-r29ww1bz.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.12-sg2pjg74.mjs +0 -13
- package/dist/chunks/provider-0.5.12-kdvewq5e.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.12-z3pct3be.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.12-637xxs9q.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.12-e7czq7ff.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.12-5jq9w7c4.mjs +0 -34
- package/dist/chunks/registry-0.5.12-dcz74t85.mjs +0 -1
- package/dist/chunks/release-notes-0.5.12-acaycqgr.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.12-07m62xd2.mjs +0 -2
- package/dist/chunks/remote-env-0.5.12-8ffhqnh9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.12-qes76y4j.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.12-wqh0sh5p.mjs +0 -1
- package/dist/chunks/rename-0.5.12-pefg421m.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.12-mrx144v7.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.12-xyajjb89.mjs +0 -1
- package/dist/chunks/resume-0.5.12-yz9ysprz.mjs +0 -2
- package/dist/chunks/rewind-0.5.12-7n5x67g8.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.12-mn1xh15m.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.12-g1r9b0p8.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.12-w1rx9eck.mjs +0 -1
- package/dist/chunks/session-0.5.12-t3cd84ep.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.12-905y94g7.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.12-9f5qb84p.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.12-b88eps8r.mjs +0 -1
- package/dist/chunks/settings-0.5.12-ascz750g.mjs +0 -1
- package/dist/chunks/setup-0.5.12-k4bb1v5t.mjs +0 -5
- package/dist/chunks/sinks-0.5.12-wra2rxct.mjs +0 -1
- package/dist/chunks/skills-0.5.12-tzetjssj.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.12-4mesbnz6.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.12-j9pvbhww.mjs +0 -1
- package/dist/chunks/state-0.5.12-fmbxq91j.mjs +0 -1
- package/dist/chunks/stats-0.5.12-6dftg0mb.mjs +0 -6
- package/dist/chunks/status-0.5.12-prhem3mn.mjs +0 -1
- package/dist/chunks/stickers-0.5.12-t4kmsdfn.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.12-bbjh5kcq.mjs +0 -1
- package/dist/chunks/tasks-0.5.12-5zkvc91z.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.12-4993s40p.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.12-003j14d2.mjs +0 -1
- package/dist/chunks/teleport-0.5.12-qc9n0e99.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.12-e0q1ppyp.mjs +0 -1
- package/dist/chunks/theme-0.5.12-j3m1w193.mjs +0 -1
- package/dist/chunks/thinkback-0.5.12-q0g2nxf8.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.12-q3xptm32.mjs +0 -1
- package/dist/chunks/toolPool-0.5.12-99zz2z7m.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.12-msyjmzw4.mjs +0 -1
- package/dist/chunks/tools-0.5.12-rfpyvm5z.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.12-x17za0q6.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.12-pe30j67r.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.12-3ns0qpr7.mjs +0 -4
- package/dist/chunks/update-0.5.12-4hgf7mr4.mjs +0 -86
- package/dist/chunks/upgrade-0.5.12-7gs6mxyh.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.12-1v1wp95x.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.12-2w5y94ch.mjs +0 -1
- package/dist/chunks/usage-0.5.12-e4h5kk04.mjs +0 -1
- package/dist/chunks/util-0.5.12-2p0n6pkd.mjs +0 -1
- package/dist/chunks/utils-0.5.12-6hw9zr7a.mjs +0 -1
- package/dist/chunks/vim-0.5.12-f95wabwk.mjs +0 -1
- package/dist/chunks/watcher-0.5.12-0qy95ccm.mjs +0 -1
- package/dist/chunks/wiki-0.5.12-1h2k88h1.mjs +0 -132
- package/dist/chunks/worktree-0.5.12-0svdfkzh.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.12-qxdddvwv.mjs +0 -1
- package/dist/chunks/wrapper-0.5.12-553s8689.mjs +0 -7
- /package/dist/chunks/{cli-0.5.12-9ghkvy4m.mjs → cli-0.5.13-07hv5jdz.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.12-r4t180q2.mjs → cli-0.5.13-c4q1pthh.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.12-paj8nhxk.mjs → cli-0.5.13-epw9z05w.mjs} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{Za as LY}from"./cli-0.5.13-mpqhbtwc.mjs";import{od as HY,rd as lQ}from"./cli-0.5.13-fjs5qecq.mjs";import{xh as kY,yh as zW}from"./cli-0.5.13-cs4r7txx.mjs";import{AN as dY,Aj as Z0,Av as h0,Az as qW,BN as SZ,Bj as L9,Bv as k0,By as MY,CH as yY,Cj as z9,Cv as xZ,Cy as bY,Dj as iY,Dv as pZ,Dy as JW,Ei as RY,Ev as x0,Ez as pY,FH as XW,FN as hZ,Fv as p0,Fz as DW,Gv as u0,Hv as m0,Iv as c0,Jv as g0,Kv as d0,Ln as O9,Lv as l0,Mn as dW,Mv as a0,ND as M0,Nv as WQ,OD as a9,Rr as s0,Rx as SY,Sr as fQ,Tr as VY,Ur as mQ,Ut as F0,Ux as BW,Vr as fY,WN as wZ,Xt as l9,Zk as UZ,al as EZ,bl as o0,cB as KY,cL as JY,cM as uY,dB as cQ,eL as dQ,er as $0,gO as lY,hr as j0,ir as TZ,kI as U9,lM as mY,mI as E9,mr as d9,nM as cY,oB as GY,oN as s,oo as nZ,pB as gQ,pO as aY,po as qY,qB as IY,qI as y9,qo as $Z,rM as AW,ro as DY,sB as HW,sj as J9,tO as NY,tj as SW,ty as hY,uN as gY,uj as H9,vj as N9,vy as LW,wB as i,wO as BY,wi as XZ,wj as FZ,wv as R0,xI as lW,xj as eZ,xv as kZ,yB as vW,yF as b0,yj as B9,yv as f0,zF as n9,zi as w0,zj as WZ,zv as S0,zz as xY}from"./cli-0.5.13-2vy5qjm5.mjs";import{RT as eY,VT as bW}from"./cli-0.5.13-dxs15ka8.mjs";import{yU as y0,zU as c9}from"./cli-0.5.13-teedketa.mjs";import{AV as m9,GV as P0,HV as g9,kV as O0,lV as u9,yV as U0,zV as E0}from"./cli-0.5.13-qrn019we.mjs";import{aY as p9,cW as x9,vX as p,xX as F}from"./cli-0.5.13-tr9s34te.mjs";import{EZ as a,FZ as E,GZ as M,HZ as V0}from"./cli-0.5.13-f1e673b2.mjs";import{IZ as k9}from"./cli-0.5.13-d1xn4v80.mjs";import{H1 as UY,L1 as QW,h4 as WW,k3 as EY}from"./cli-0.5.13-p4f4h0g7.mjs";import{A_ as w9,Bca as h9,D6 as vZ,E6 as R9,Fca as e,H_ as gW,Nca as _0,P7 as mW,Q6 as XY,R$ as OY,S6 as uQ,S_ as _Y,T_ as wY,V8 as cW,V_ as ZW,Y8 as tY,_$ as YW,b9 as MW,q7 as A9,u8 as IZ,w8 as f9,yca as A0,z8 as _9}from"./cli-0.5.13-p70x9j1v.mjs";import{Yca as J0,eda as H0,ida as T9}from"./cli-0.5.13-sfjdg8y7.mjs";import{Sda as Y,Tda as k,Uda as KZ,Vda as q,Wda as OZ}from"./cli-0.5.13-yc6wyazy.mjs";import{fea as nY,qea as OW}from"./cli-0.5.13-j97wk70q.mjs";import{Aea as B0,Bea as L0,Cea as z0,Fea as q0,Gea as D0,Sea as v0,Yea as S9,tea as AY,uea as eQ,wea as CZ,zea as N0}from"./cli-0.5.13-cwy43qr2.mjs";import{hfa as d,jfa as _Z}from"./cli-0.5.13-ktrr6zcr.mjs";import{Ofa as ZZ,Pfa as QY,Tfa as PZ,jga as b,mfa as sY,mga as GZ,ofa as FW}from"./cli-0.5.13-a9gqqmjh.mjs";import{oga as WY,sga as pQ}from"./cli-0.5.13-g76ge0hv.mjs";import{Dga as v9,Ega as oZ,Kga as gZ,vga as YY}from"./cli-0.5.13-ywwd10c0.mjs";import{Eia as JZ,Kia as Y0,Lia as oY,Tja as vY,jla as V9,kla as zZ,lla as K9,nla as G9,sma as FY,vma as HZ}from"./cli-0.5.13-chdvhgrk.mjs";import{aoa as G0,doa as fZ,eoa as AZ,foa as aZ}from"./cli-0.5.13-rmc7f4b8.mjs";var YQ={};fZ(YQ,{selectableUserMessagesFilter:()=>T0,messagesAfterAreOnlySynthetic:()=>ZQ,MessageSelector:()=>r9});import{randomUUID as i9}from"crypto";import*as QZ from"path";function I0(Q){return Q.type==="text"}function RZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function r9({messages:Q,onPreRestore:Z,onRestoreMessage:W,onRestoreCode:X,onSummarize:V,onClose:J,preselectedMessage:K}){let H=F0((U)=>U.fileHistory),[B,z]=I.useState(void 0),G=$0(),L=I.useMemo(i9,[]),w=I.useMemo(()=>[...Q.filter(T0),{...s({content:""}),uuid:L}],[Q,L]),[v,_]=I.useState(w.length-1),P=Math.max(0,Math.min(v-Math.floor(bZ/2),w.length-bZ)),C=w.length>1,[D,$]=I.useState(K),[y,T]=I.useState(void 0);I.useEffect(()=>{if(!K||!G)return;let U=!1;return TZ(H,K.uuid).then((f)=>{if(!U)T(f)}),()=>{U=!0}},[K,G,H]);let[O,j]=I.useState(!1),[l,n]=I.useState(null),[S,m]=I.useState("both"),[g,x]=I.useState(""),[A,N]=I.useState("");function R(U){let f=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],u={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return f.push({value:"summarize",label:"Summarize from here",...u,onChange:x}),f.push({value:"nevermind",label:"Never mind"}),f}I.useEffect(()=>{d("tengu_message_selector_opened",{})},[]);async function h(U){Z(),j(!0);try{await W(U),j(!1),J()}catch(f){e(f),j(!1),z(`Failed to restore the conversation:
|
|
2
|
+
${f}`)}}async function r(U){let f=Q.indexOf(U),u=Q.length-1-f;if(d("tengu_message_selector_selected",{index_from_end:u,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){J();return}if(!G){await h(U);return}let c=await TZ(H,U.uuid);$(U),T(c)}async function t(U){if(d("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(K)J();else $(void 0);return}if(RZ(U)){Z(),j(!0),n(U),z(void 0);try{let c=U==="summarize_up_to"?"up_to":"from",YZ=(c==="up_to"?A:g).trim()||void 0;await V(D,YZ,c),j(!1),n(null),$(void 0),J()}catch(c){e(c),j(!1),n(null),$(void 0),z(`Failed to summarize:
|
|
3
|
+
${c}`)}return}Z(),j(!0),z(void 0);let f=null,u=null;if(U==="code"||U==="both")try{await X(D)}catch(c){f=c,e(f)}if(U==="conversation"||U==="both")try{await W(D)}catch(c){u=c,e(u)}if(j(!1),$(void 0),u&&f)z(`Failed to restore the conversation and code:
|
|
4
|
+
${u}
|
|
5
|
+
${f}`);else if(u)z(`Failed to restore the conversation:
|
|
6
|
+
${u}`);else if(f)z(`Failed to restore the code:
|
|
7
|
+
${f}`);else J()}let Q0=y0(),$9=I.useCallback(()=>{if(D&&!K){$(void 0);return}d("tengu_message_selector_cancelled",{}),J()},[J,D,K]),j9=I.useCallback(()=>_((U)=>Math.max(0,U-1)),[]),F9=I.useCallback(()=>_((U)=>Math.min(w.length-1,U+1)),[w.length]),M9=I.useCallback(()=>_(0),[]),b9=I.useCallback(()=>_(w.length-1),[w.length]),I9=I.useCallback(()=>{let U=w[v];if(U)r(U)},[w,v,r]);U0("confirm:no",$9,{context:"Confirmation",isActive:!D}),E0({"messageSelector:up":j9,"messageSelector:down":F9,"messageSelector:top":M9,"messageSelector:bottom":b9,"messageSelector:select":I9},{context:"MessageSelector",isActive:!O&&!B&&!D&&C});let[W0,X0]=I.useState({});I.useEffect(()=>{async function U(){if(!G)return;Promise.all(w.map(async(f,u)=>{if(f.uuid!==L){let c=j0(H,f.uuid),YZ=w.at(u+1),DZ=c?e9(Q,f.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(DZ!==void 0)X0((o)=>({...o,[u]:DZ}));else X0((o)=>({...o,[u]:void 0}))}}))}U()},[w,Q,L,H,G]);let qZ=G&&y?.filesChanged&&y.filesChanged.length>0,C9=!B&&!D&&!K&&C;return M(p,{flexDirection:"column",width:"100%",children:[E(P0,{color:"suggestion"}),M(p,{flexDirection:"column",marginX:1,gap:1,children:[E(F,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:M(F,{color:"error",children:["Error: ",B]})}),!C&&E(a,{children:E(F,{children:"Nothing to rewind to yet."})}),!B&&D&&C&&M(a,{children:[M(F,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),M(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(K0,{userMessage:D,color:"text",isCurrent:!1}),M(F,{dimColor:!0,children:["(",H0(new Date(D.timestamp)),")"]})]}),E(s9,{selectedRestoreOption:S,canRestoreCode:!!qZ,diffStatsForRestore:y}),O&&RZ(l)?M(p,{flexDirection:"row",gap:1,children:[E(b0,{}),E(F,{children:"Summarizing…"})]}):E(M0,{isDisabled:O,options:R(!!qZ),defaultFocusValue:qZ?"both":"conversation",onFocus:(U)=>m(U),onChange:(U)=>t(U),onCancel:()=>K?J():$(void 0)}),qZ&&E(p,{marginBottom:1,children:M(F,{dimColor:!0,children:[vZ.warning," Rewinding does not affect files edited manually or via bash."]})})]}),C9&&M(a,{children:[G?E(F,{children:"Restore the code and/or conversation to the point before…"}):E(F,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:w.slice(P,P+bZ).map((U,f)=>{let u=P+f,c=u===v,YZ=U.uuid===L,DZ=u in W0,o=W0[u],MZ=o?.filesChanged&&o.filesChanged.length;return M(p,{height:G?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:c?M(F,{color:"permission",bold:!0,children:[vZ.pointer," "]}):E(F,{children:" "})}),M(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(K0,{userMessage:U,color:c?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),G&&DZ&&E(p,{height:1,flexDirection:"row",children:o?E(a,{children:E(F,{dimColor:!c,color:"inactive",children:MZ?M(a,{children:[MZ===1&&o.filesChanged[0]?`${QZ.basename(o.filesChanged[0])} `:`${MZ} files changed `,E(C0,{diffStats:o})]}):E(a,{children:"No code changes"})})}):M(F,{dimColor:!0,color:"warning",children:[vZ.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(F,{dimColor:!0,italic:!0,children:Q0.pending?M(a,{children:["Press ",Q0.keyName," again to exit"]}):M(a,{children:[!B&&C&&"Enter to continue · ","Esc to exit"]})})]})]})}function o9(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function s9(Q){let Z=VZ.c(11),{selectedRestoreOption:W,canRestoreCode:X,diffStatsForRestore:V}=Q,J=X&&(W==="both"||W==="code"),K;if(Z[0]!==W)K=o9(W),Z[0]=W,Z[1]=K;else K=Z[1];let H;if(Z[2]!==K)H=E(F,{dimColor:!0,children:K}),Z[2]=K,Z[3]=H;else H=Z[3];let B;if(Z[4]!==V||Z[5]!==W||Z[6]!==J)B=!RZ(W)&&(J?E(t9,{diffStatsForRestore:V}):E(F,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=V,Z[5]=W,Z[6]=J,Z[7]=B;else B=Z[7];let z;if(Z[8]!==H||Z[9]!==B)z=M(p,{flexDirection:"column",children:[H,B]}),Z[8]=H,Z[9]=B,Z[10]=z;else z=Z[10];return z}function t9(Q){let Z=VZ.c(14),{diffStatsForRestore:W}=Q;if(W===void 0)return;if(!W.filesChanged||!W.filesChanged[0]){let H;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))H=E(F,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=H;else H=Z[0];return H}let X=W.filesChanged.length,V;if(X===1){let H;if(Z[1]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[1]=W.filesChanged[0],Z[2]=H;else H=Z[2];V=H}else if(X===2){let H;if(Z[3]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[3]=W.filesChanged[0],Z[4]=H;else H=Z[4];let B=H,z;if(Z[5]!==W.filesChanged[1])z=QZ.basename(W.filesChanged[1]||""),Z[5]=W.filesChanged[1],Z[6]=z;else z=Z[6];V=`${B} and ${z}`}else{let H;if(Z[7]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[7]=W.filesChanged[0],Z[8]=H;else H=Z[8];V=`${H} and ${W.filesChanged.length-1} other files`}let J;if(Z[9]!==W)J=E(C0,{diffStats:W}),Z[9]=W,Z[10]=J;else J=Z[10];let K;if(Z[11]!==V||Z[12]!==J)K=E(a,{children:M(F,{dimColor:!0,children:["The code will be restored"," ",J," in ",V,"."]})}),Z[11]=V,Z[12]=J,Z[13]=K;else K=Z[13];return K}function C0(Q){let Z=VZ.c(7),{diffStats:W}=Q;if(!W||!W.filesChanged)return;let X;if(Z[0]!==W.insertions)X=M(F,{color:"diffAddedWord",children:["+",W.insertions," "]}),Z[0]=W.insertions,Z[1]=X;else X=Z[1];let V;if(Z[2]!==W.deletions)V=M(F,{color:"diffRemovedWord",children:["-",W.deletions]}),Z[2]=W.deletions,Z[3]=V;else V=Z[3];let J;if(Z[4]!==X||Z[5]!==V)J=M(a,{children:[X,V]}),Z[4]=X,Z[5]=V,Z[6]=J;else J=Z[6];return J}function K0(Q){let Z=VZ.c(31),{userMessage:W,color:X,dimColor:V,isCurrent:J,paddingRight:K}=Q,{columns:H}=O0();if(J){let T;if(Z[0]!==X||Z[1]!==V)T=E(p,{width:"100%",children:E(F,{italic:!0,color:X,dimColor:V,children:"(current)"})}),Z[0]=X,Z[1]=V,Z[2]=T;else T=Z[2];return T}let B=W.message.content,z=typeof B==="string"?null:B[B.length-1],G,L,w,v,_,P,C,D;if(Z[3]!==X||Z[4]!==H||Z[5]!==B||Z[6]!==V||Z[7]!==z||Z[8]!==K){D=Symbol.for("react.early_return_sentinel");Z:{let T=typeof B==="string"?B.trim():z&&I0(z)?z.text.trim():"(no prompt)",O=A0(T);if(w0(O)){let j;if(Z[17]!==X||Z[18]!==V)j=E(p,{flexDirection:"row",width:"100%",children:E(F,{italic:!0,color:X,dimColor:V,children:"((empty message))"})}),Z[17]=X,Z[18]=V,Z[19]=j;else j=Z[19];D=j;break Z}if(O.includes("<bash-input>")){let j=XZ(O,"bash-input");if(j){let l;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))l=E(F,{color:"bashBorder",children:"!"}),Z[20]=l;else l=Z[20];D=M(p,{flexDirection:"row",width:"100%",children:[l,M(F,{color:X,dimColor:V,children:[" ",j]})]});break Z}}if(O.includes(`<${CZ}>`)){let j=XZ(O,CZ),l=XZ(O,"command-args"),n=XZ(O,"skill-format")==="true";if(j)if(n){D=E(p,{flexDirection:"row",width:"100%",children:M(F,{color:X,dimColor:V,children:["Skill(",j,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:M(F,{color:X,dimColor:V,children:["/",j," ",l]})});break Z}}L=p,P="row",C="100%",G=F,w=X,v=V,_=K?J0(O,H-K,!0):O.slice(0,500).split(`
|
|
8
|
+
`).slice(0,4).join(`
|
|
9
|
+
`)}Z[3]=X,Z[4]=H,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=K,Z[9]=G,Z[10]=L,Z[11]=w,Z[12]=v,Z[13]=_,Z[14]=P,Z[15]=C,Z[16]=D}else G=Z[9],L=Z[10],w=Z[11],v=Z[12],_=Z[13],P=Z[14],C=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let $;if(Z[21]!==G||Z[22]!==w||Z[23]!==v||Z[24]!==_)$=E(G,{color:w,dimColor:v,children:_}),Z[21]=G,Z[22]=w,Z[23]=v,Z[24]=_,Z[25]=$;else $=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==C||Z[29]!==$)y=E(L,{flexDirection:P,width:C,children:$}),Z[26]=L,Z[27]=P,Z[28]=C,Z[29]=$,Z[30]=y;else y=Z[30];return y}function e9(Q,Z,W){let X=Q.findIndex((B)=>B.uuid===Z);if(X===-1)return;let V=W?Q.findIndex((B)=>B.uuid===W):Q.length;if(V===-1)V=Q.length;let J=[],K=0,H=0;for(let B=X+1;B<V;B++){let z=Q[B];if(!z||!hZ(z))continue;let G=z.toolUseResult;if(!G||!G.filePath||!G.structuredPatch)continue;if(!J.includes(G.filePath))J.push(G.filePath);try{if("type"in G&&G.type==="create")K+=G.content.split(/\r?\n/).length;else for(let L of G.structuredPatch){let w=IZ(L.lines,(_)=>_.startsWith("+")),v=IZ(L.lines,(_)=>_.startsWith("-"));K+=w,H+=v}}catch{continue}}return{filesChanged:J,insertions:K,deletions:H}}function T0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(SZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,W=typeof Z==="string"?null:Z[Z.length-1],X=typeof Z==="string"?Z.trim():W&&I0(W)?W.text.trim():"";if(X.indexOf(`<${L0}>`)!==-1||X.indexOf(`<${z0}>`)!==-1||X.indexOf(`<${N0}>`)!==-1||X.indexOf(`<${B0}>`)!==-1||X.indexOf(`<${D0}>`)!==-1||X.indexOf(`<${q0}>`)!==-1||X.indexOf(`<${v0}`)!==-1)return!1;return!0}function ZQ(Q,Z){for(let W=Z+1;W<Q.length;W++){let X=Q[W];if(!X)continue;if(SZ(X))continue;if(hZ(X))continue;if(X.type==="progress")continue;if(X.type==="system")continue;if(X.type==="attachment")continue;if(X.type==="user"&&X.isMeta)continue;if(X.type==="assistant"){let V=X.message.content;if(Array.isArray(V)){if(V.some((K)=>K.type==="text"&&K.text.trim()||K.type==="tool_use"))return!1}continue}if(X.type==="user")return!1}return!0}var VZ,I,bZ=7;var QQ=AZ(()=>{R9();_Z();l9();d9();_0();c9();p9();m9();h9();wZ();a9();n9();u9();S9();f9();T9();g9();V0();VZ=G0(x9(),1),I=G0(k9(),1)});var $W={};fZ($W,{getCronJitterConfig:()=>PW});function PW(){let Q=nY("tengu_kairos_cron_config",WZ,UW),Z=yW().safeParse(Q);return Z.success?Z.data:WZ}var UW=60000,iZ=1800000,EW=2592000000,yW;var jW=AZ(()=>{KZ();OW();iY();OZ();yW=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(iZ),oneShotMaxMs:Y.number().int().min(0).max(iZ),oneShotFloorMs:Y.number().int().min(0).max(iZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(EW).default(WZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as IW,readFile as CW,unlink as Z9,writeFile as sZ}from"fs/promises";import{dirname as TW,join as Y9}from"path";function BZ(Q){return Y9(Q??oY(),RW)}async function Q9(Q){let Z;try{Z=await CW(BZ(Q),"utf8")}catch{return}let W=fW().safeParse(tY(Z,!1));return W.success?W.data:void 0}async function rY(Q,Z){let W=BZ(Z),X=ZZ(Q);try{return await sZ(W,X,{flag:"wx"}),!0}catch(V){let J=oZ(V);if(J==="EEXIST")return!1;if(J==="ENOENT"){await IW(TW(W),{recursive:!0});try{return await sZ(W,X,{flag:"wx"}),!0}catch(K){if(oZ(K)==="EEXIST")return!1;throw K}}throw V}}function rZ(Q){jZ?.(),jZ=sY(async()=>{await LZ(Q)})}async function tZ(Q){let Z=Q?.dir,W=Q?.lockIdentity??JZ(),X={sessionId:W,pid:process.pid,acquiredAt:Date.now()};if(await rY(X,Z))return NZ=void 0,rZ(Q),b(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await Q9(Z);if(V?.sessionId===W){if(V.pid!==process.pid)await sZ(BZ(Z),ZZ(X)),rZ(Q);return!0}if(V&&eY(V.pid)){if(NZ!==V.sessionId)NZ=V.sessionId,b(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)b(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await Z9(BZ(Z)).catch(()=>{}),await rY(X,Z))return NZ=void 0,rZ(Q),!0;return!1}async function LZ(Q){jZ?.(),jZ=void 0,NZ=void 0;let Z=Q?.dir,W=Q?.lockIdentity??JZ(),X=await Q9(Z);if(!X||X.sessionId!==W)return;try{await Z9(BZ(Z)),b("[ScheduledTasks] released scheduler lock")}catch{}}var RW,fW,jZ,NZ;var W9=AZ(()=>{KZ();HZ();FW();GZ();gZ();bW();MW();OZ();PZ();RW=Y9(".claudin","scheduled_tasks.lock"),fW=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var pW={};fZ(pW,{isRecurringTaskAged:()=>q9,createCronScheduler:()=>xW,buildMissedTaskNotification:()=>D9});function q9(Q,Z,W){if(W===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=W)}function xW(Q){let{onFire:Z,isLoading:W,assistantMode:X=!1,onFireTask:V,onMissed:J,dir:K,lockIdentity:H,getJitterConfig:B,isKilled:z,filter:G}=Q,L=K||H?{dir:K,lockIdentity:H}:void 0,w=[],v=new Map,_=new Set,P=new Set,C=null,D=null,$=null,y=null,T=!1,O=!1;async function j(S){let m=await N9(K);if(T)return;if(w=m,!S)return;let g=Date.now(),x=z9(m,g).filter((A)=>!A.recurring&&!_.has(A.id)&&(!G||G(A)));if(x.length>0){for(let A of x)_.add(A.id),v.set(A.id,1/0);if(d("tengu_scheduled_task_missed",{count:x.length,taskIds:x.map((A)=>A.id).join(",")}),J)J(x);else Z(D9(x));eZ(x.map((A)=>A.id),K).catch((A)=>b(`[ScheduledTasks] failed to remove missed tasks: ${A}`)),b(`[ScheduledTasks] surfaced ${x.length} missed one-shot task(s)`)}}function l(){if(z?.())return;if(W()&&!X)return;let S=Date.now(),m=new Set,g=[],x=B?.()??WZ;function A(N,R){if(G&&!G(N))return;if(m.add(N.id),P.has(N.id))return;let h=v.get(N.id);if(h===void 0)h=N.recurring?Z0(N.cron,N.lastFiredAt??N.createdAt,N.id,x)??1/0:L9(N.cron,N.createdAt,N.id,x)??1/0,v.set(N.id,h),b(`[ScheduledTasks] scheduled ${N.id} for ${h===1/0?"never":new Date(h).toISOString()}`);if(S<h)return;if(b(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),d("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id}),V)V(N);else Z(N.prompt);let r=q9(N,S,x.recurringMaxAgeMs);if(r){let t=Math.floor((S-N.createdAt)/1000/60/60);b(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),d("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!r){let t=Z0(N.cron,S,N.id,x)??1/0;if(v.set(N.id,t),!R)g.push(N.id)}else if(R)G9([N.id]),v.delete(N.id);else P.add(N.id),eZ([N.id],K).catch((t)=>b(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>P.delete(N.id)),v.delete(N.id)}if(O){for(let N of w)A(N,!1);if(g.length>0){for(let N of g)P.add(N);B9(g,S,K).catch((N)=>b(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of g)P.delete(N)})}}if(K===void 0)for(let N of K9())A(N,!0);if(m.size===0){v.clear();return}for(let N of v.keys())if(!m.has(N))v.delete(N)}async function n(){if(T)return;if(C)clearInterval(C),C=null;let{default:S}=await import("./index-0.5.13-9zz559q7.mjs");if(T)return;if(O=await tZ(L).catch(()=>!1),T){if(O)O=!1,LZ(L);return}if(!O)$=setInterval(()=>{tZ(L).then((g)=>{if(T){if(g)LZ(L);return}if(g){if(O=!0,$)clearInterval($),$=null}}).catch((g)=>b(String(g),{level:"error"}))},kW),$.unref?.();j(!0);let m=H9(K);y=S.watch(m,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:hW},ignorePermissionErrors:!0}),y.on("add",()=>void j(!1)),y.on("change",()=>void j(!1)),y.on("unlink",()=>{if(!T)w=[],v.clear()}),D=setInterval(l,X9),D.unref?.()}return{start(){if(T=!1,K!==void 0){b(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${FZ(K)}`),n();return}if(b(`[ScheduledTasks] scheduler start() — enabled=${zZ()}, hasTasks=${FZ()}`),!zZ()&&(X||FZ()))V9(!0);if(zZ()){n();return}C=setInterval((S)=>{if(zZ())S()},X9,n),C.unref?.()},stop(){if(T=!0,C)clearInterval(C),C=null;if(D)clearInterval(D),D=null;if($)clearInterval($),$=null;if(y?.close(),y=null,O)O=!1,LZ(L)},getNextFireTime(){let S=1/0;for(let m of v.values())if(m<S)S=m;return S===1/0?null:S}}}function D9(Q){let Z=Q.length>1,W=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
|
|
10
|
+
|
|
11
|
+
Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,X=Q.map((V)=>{let J=`[${J9(V.cron)}, created ${new Date(V.createdAt).toLocaleString()}]`,K=(V.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),H="`".repeat(Math.max(3,K+1));return`${J}
|
|
12
|
+
${H}
|
|
13
|
+
${V.prompt}
|
|
14
|
+
${H}`});return`${W}
|
|
15
|
+
|
|
16
|
+
${X.join(`
|
|
17
|
+
|
|
18
|
+
`)}`}var X9=1000,hW=300,kW=5000;var uW=AZ(()=>{HZ();_Z();SW();iY();W9();GZ()});import{randomUUID as cZ}from"crypto";KZ();OZ();WQ();var XQ=q(()=>Y.unknown()),VQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),KQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(h0(),Y.array(VQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),u0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),A6=q(()=>Y.object({commands:Y.array(xZ()),agents:Y.array(pZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(x0()),account:p0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:a0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),GQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),JQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(f0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),HQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:S0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),NQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),BQ=q(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),LQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),_6=q(()=>Y.object({mcpServers:Y.array(kZ())}).describe("Response containing the current status of all MCP server connections.")),zQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),qQ=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),DQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),w6=q(()=>Y.object({categories:Y.array(qQ()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(DQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),vQ=q(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),O6=q(()=>Y.object({canRewind:Y.boolean(),error:Y.string().optional(),filesChanged:Y.array(Y.string()).optional(),insertions:Y.number().optional(),deletions:Y.number().optional()}).describe("Result of a rewindFiles operation.")),AQ=q(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),U6=q(()=>Y.object({cancelled:Y.boolean()}).describe("Result of a cancel_async_message operation. cancelled=false means the message was not in the queue (already dequeued or never enqueued).")),_Q=q(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),wQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:k0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),OQ=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:XQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),UQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),R0())}).describe("Replaces the set of dynamically managed MCP servers.")),E6=q(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),EQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),y6=q(()=>Y.object({commands:Y.array(xZ()),agents:Y.array(pZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(kZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),yQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),PQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),$Q=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),jQ=q(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),FQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),P6=q(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),MQ=q(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),n0=q(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),bQ=q(()=>Y.union([GQ(),JQ(),KQ(),HQ(),NQ(),BQ(),LQ(),zQ(),wQ(),OQ(),vQ(),AQ(),_Q(),UQ(),EQ(),yQ(),PQ(),$Q(),jQ(),FQ(),MQ()])),uZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:bQ()})),IQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),CQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>uZ())).optional()})),i0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([IQ(),CQ()])})),TQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),r0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),RQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),$6=q(()=>Y.union([l0(),c0(),g0(),d0(),i0(),uZ(),TQ(),r0()])),j6=q(()=>Y.union([m0(),uZ(),i0(),r0(),RQ()]));mQ();GZ();uQ();gZ();KZ();GZ();OZ();o0();fQ();var R6=q(()=>k.object({tool_name:k.string().describe("The name of the tool requesting permission"),input:k.record(k.string(),k.unknown()).describe("The input for the tool"),tool_use_id:k.string().optional().describe("The unique tool use request ID")})),t0=q(()=>k.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),SQ=q(()=>k.object({behavior:k.literal("allow"),updatedInput:k.record(k.string(),k.unknown()),updatedPermissions:k.array(s0()).optional().catch((Q)=>{b(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:k.string().optional(),decisionClassification:t0()})),hQ=q(()=>k.object({behavior:k.literal("deny"),message:k.string(),interrupt:k.boolean().optional(),toolUseID:k.string().optional(),decisionClassification:t0()})),mZ=q(()=>k.union([SQ(),hQ()]));function yZ(Q,Z,W,X){let V={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let J=Q.updatedPermissions;if(J)X.setAppState((H)=>({...H,toolPermissionContext:UZ(H.toolPermissionContext,J)})),EZ(J);let K=Object.keys(Q.updatedInput).length>0?Q.updatedInput:W;return{...Q,updatedInput:K,decisionReason:V}}else if(Q.behavior==="deny"&&Q.interrupt)b(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),X.abortController.abort();return{...Q,decisionReason:V}}dQ();pQ();PZ();KZ();cQ();BY();o0();lQ();PZ();gQ();PZ();var kQ=/\u2028|\u2029/g;function xQ(Q){return Q.replace(kQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function e0(Q){return xQ(ZZ(Q))}var aQ="SandboxNetworkAccess";function nQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function iQ(Q,Z,W,X){let V;try{V=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{V=Q.name}return{tool_name:Q.name,action_description:V,tool_use_id:W,request_id:X,input:Z}}var rQ=1000;class oQ{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new GY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>rQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
|
|
19
|
+
`)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let W=Q.indexOf(`
|
|
20
|
+
`);if(W===-1)break;let X=Q.slice(0,W);Q=Q.slice(W+1);let V=await this.processLine(X);if(V)XY("info","cli_stdin_message_parsed",{type:V.type}),yield V}}.bind(this);yield*Z();for await(let W of this.input)Q+=W,yield*Z();if(Q){let W=await this.processLine(Q);if(W)yield W}this.inputClosed=!0;for(let W of this.pendingRequests.values())W.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let W=this.pendingRequests.get(Z);if(!W)return;if(this.trackResolvedToolUseId(W.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")W.reject(Error(Q.response.error));else{let X=Q.response.response;if(W.schema)try{W.resolve(W.schema.parse(X))}catch(V){W.reject(V)}else W.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=LY(QY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let W=Object.keys(Z.variables);for(let[X,V]of Object.entries(Z.variables))process.env[X]=V;b(`[structuredIO] applied update_environment_variables: ${W.join(", ")}`);return}if(Z.type==="control_response"){let W="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(W)KY(W,"completed");let X=this.pendingRequests.get(Z.response.request_id);if(!X){let K=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof K==="string"&&this.resolvedToolUseIds.has(K)){b(`Ignoring duplicate control_response for already-resolved toolUseID=${K} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z.response.request_id),X.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){X.reject(Error(Z.response.error));return}let V=Z.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(J){X.reject(J)}else X.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){b(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)ZY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")ZY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){WY(e0(Q)+`
|
|
21
|
+
`)}async sendRequest(Q,Z,W,X=cZ()){let V={type:"control_request",request_id:X,request:Q};if(this.inputClosed)throw Error("Stream closed");if(W?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(V),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(V);let J=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:X});let K=this.pendingRequests.get(X);if(K)this.trackResolvedToolUseId(K.request),K.reject(new YY)};if(W)W.addEventListener("abort",J,{once:!0});try{return await new Promise((K,H)=>{this.pendingRequests.set(X,{request:{type:"control_request",request_id:X,request:Q},resolve:(B)=>{K(B)},reject:H,schema:Z})})}finally{if(W)W.removeEventListener("abort",J);this.pendingRequests.delete(X)}}createCanUseTool(Q){return async(Z,W,X,V,J,K)=>{let H=K??await JY(Z,W,X,V,J);if(H.behavior==="allow"||H.behavior==="deny")return H;let B=new AbortController,z=X.abortController.signal,G=()=>B.abort();z.addEventListener("abort",G,{once:!0});try{let L=sQ(Z.name,J,W,X,H.suggestions).then((P)=>({source:"hook",decision:P})),w=cZ();Q?.(iQ(Z,W,J,w));let v=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:W,permission_suggestions:H.suggestions,blocked_path:H.blockedPath,decision_reason:nQ(H.decisionReason),tool_use_id:J,agent_id:X.agentId},mZ(),B.signal,w).then((P)=>({source:"sdk",result:P})),_=await Promise.race([L,v]);if(_.source==="hook"){if(_.decision)return v.catch(()=>{}),B.abort(),_.decision;let P=await v;return yZ(P.result,Z,W,X)}return yZ(_.result,Z,W,X)}catch(L){return yZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:J},Z,W,X)}finally{if(this.getPendingPermissionRequests().length===0)HY("running");z.removeEventListener("abort",G)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(W,X,V)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:W,tool_use_id:X||void 0},VY(),V)}catch(J){return console.error(`Error in hook callback ${Q}:`,J),{}}}}}async handleElicitation(Q,Z,W,X,V,J,K){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:V,url:J,elicitation_id:K,requested_schema:W},n0(),X)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:aQ,input:{host:Q.host},tool_use_id:cZ(),description:`Allow network connection to ${Q.host}?`},mZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function ZY(Q){console.error(Q),process.exit(1)}async function sQ(Q,Z,W,X,V){let K=X.getAppState().toolPermissionContext.mode,H=NY(Q,Z,W,X,K,V,X.abortController.signal);for await(let B of H)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let G=z.updatedInput||W,L=z.updatedPermissions??[];if(L.length>0){EZ(L);let w=X.getAppState(),v=UZ(w.toolPermissionContext,L);X.setAppState((_)=>{if(_.toolPermissionContext===v)return _;return{..._,toolPermissionContext:v}})}return{behavior:"allow",updatedInput:G,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}DY();function XX(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let W="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?tQ(Z):Z,uuid:W}}function tQ(Q){if(!Q.some(zY))return Q;return Q.map((Z)=>{if(!zY(Z))return Z;let W=Z.source,X=typeof W.mediaType==="string"&&W.mediaType?W.mediaType:qY(Z.source.data);return{...Z,source:{type:"base64",media_type:X,data:Z.source.data}}})}function zY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}HZ();XW();ZW();WW();eQ();QW();YW();import{randomUUID as VW}from"crypto";function KW(Q){return Q===_Y?wY:Q}function qX(Q){let W=OY()?.outputStyle??yY,X={type:"system",subtype:"init",cwd:AY(),session_id:JZ(),tools:Q.tools.map((V)=>KW(V.name)),mcp_servers:Q.mcpClients.map((V)=>({name:V.name,status:V.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),apiKeySource:EY().source,betas:vY(),claude_code_version:"99.0.0",output_style:W,agents:Q.agents.map((V)=>V.agentType),skills:Q.skills.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),plugins:Q.plugins.map((V)=>({name:V.name,path:V.path,source:V.source})),uuid:VW()};return X.fast_mode_state=UY(Q.model,Q.fastMode),X}var PY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function GW(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let X=[],V=null,J=0,K=(G)=>!!G&&/[\p{L}\p{N}_]/u.test(G);for(let G=0;G<Q.length;G++){let L=Q[G];if(V){if(V==="["&&L==="["){J=G;continue}if(L!==PY[V])continue;if(V==="'"&&K(Q[G+1]))continue;X.push({start:J,end:G+1}),V=null}else if(L==="<"&&G+1<Q.length&&/[a-zA-Z/]/.test(Q[G+1])||L==="'"&&!K(Q[G-1])||L!=="<"&&L!=="'"&&L in PY)V=L,J=G}let H=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let G of z){if(G.index===void 0)continue;let L=G.index,w=L+G[0].length;if(X.some((P)=>L>=P.start&&L<P.end))continue;let v=Q[L-1],_=Q[w];if(v==="/"||v==="\\"||v==="-")continue;if(_==="/"||_==="\\"||_==="-"||_==="?")continue;if(_==="."&&K(Q[w+1]))continue;H.push({word:G[0],start:L,end:w})}return H}function vX(Q){return GW(Q,"ultrareview")}_Z();wZ();AW();qW();DW();LW();BY();DY();BW();wZ();vW();zW();import{randomUUID as _W}from"crypto";HZ();_Z();wZ();JW();HW();import{randomUUID as NW}from"crypto";function $Y(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function jY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function CY(Q,Z,W,X,V,J,K){let H=NW();FY(H);let B=typeof Q==="string"?Q:Q.find((v)=>v.type==="text")?.text||"";IY(B);let z=typeof Q==="string"?Q:Q.findLast((v)=>v.type==="text")?.text||"";if(z)bY("user_prompt",{prompt_length:String(z.length),prompt:MY(z),"prompt.id":H});let G=$Y(B),L=jY(B);if(d("tengu_input_prompt",{is_negative:G,is_keep_going:L}),Z.length>0){let v=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...v,...Z],uuid:V,imagePasteIds:W.length>0?W:void 0,permissionMode:J,isMeta:K||void 0}),...X],shouldQuery:!0}}return{messages:[s({content:Q,uuid:V,permissionMode:J,isMeta:K||void 0}),...X],shouldQuery:!0}}async function dX({input:Q,preExpansionInput:Z,mode:W,setToolJSX:X,context:V,pastedContents:J,ideSelection:K,messages:H,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:G,querySource:L,canUseTool:w,skipSlashCommands:v,bridgeOrigin:_,isMeta:P,skipAttachments:C}){let D=typeof Q==="string"?Q:null;if(W==="prompt"&&D!==null&&!P)B?.(D);i("query_process_user_input_base_start");let $=V.getAppState(),y=await wW(Q,W,X,V,J,K,H,z,G,L,w,$.toolPermissionContext.mode,v,_,P,C,Z);if(i("query_process_user_input_base_end"),!y.shouldQuery)return y;i("query_hooks_start");let T=RY(Q)||"";for await(let O of aY(T,$.toolPermissionContext.mode,V,V.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let j=lY(O.blockingError);return{messages:[gY(`${j}
|
|
22
|
+
|
|
23
|
+
Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let j=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:j})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(fY({type:"hook_additional_context",content:O.additionalContexts.map(TY),hookName:"UserPromptSubmit",toolUseID:`hook-${_W()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:TY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return i("query_hooks_end"),y}var dZ=1e4;function TY(Q){if(Q.length>dZ)return`${Q.substring(0,dZ)}… [output truncated - exceeded ${dZ} characters]`;return Q}async function wW(Q,Z,W,X,V,J,K,H,B,z,G,L,w,v,_,P,C){let D=null,$=[],y=[],T=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){i("query_image_processing_start");let A=[];for(let R of Q)if(R.type==="image"){let h=await nZ(R);if(h.dimensions){let r=$Z(h.dimensions);if(r)y.push(r)}A.push(h.block)}else A.push(R);T=A,i("query_image_processing_end");let N=A[A.length-1];if(N?.type==="text")D=N.text,$=A.slice(0,-1);else $=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=V?Object.values(V).filter(xY):[],j=O.map((A)=>A.id),l=V?await SY(V):new Map;i("query_pasted_image_processing_start");let n=await Promise.all(O.map(async(A)=>{let N={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return d("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await nZ(N),originalDimensions:A.dimensions,sourcePath:A.sourcePath??l.get(A.id)}})),S=[];for(let{resized:A,originalDimensions:N,sourcePath:R}of n){if(A.dimensions){let h=$Z(A.dimensions,R);if(h)y.push(h)}else if(N){let h=$Z(N,R);if(h)y.push(h)}else if(R)y.push(`[Image source: ${R}]`);S.push(A.block)}i("query_pasted_image_processing_end");let m=w;if(v&&D!==null&&D.startsWith("/")){let A=kY(D),N=A?cY(A.commandName,X.options.commands):void 0;if(N)if(mY(N))m=!1;else{let R=`/${uY(N)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:H}),dY(`<local-command-stdout>${R}</local-command-stdout>`)],shouldQuery:!1,resultText:R}}}let g=!P&&D!==null&&(Z!=="prompt"||m||!D.startsWith("/"));i("query_attachment_loading_start");let x=g?await hY(pY(D,X,J??null,[],K,z)):[];if(i("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.5.13-9yggekvh.mjs");return lZ(await A(D,$,x,X,W),y)}if(D!==null&&!m&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.5.13-q15qa3ee.mjs"),N=await A(D,$,S,x,X,W,H,B,G);return lZ(N,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),N=x.find((R)=>R.attachment.type==="agent_mention");if(N){let R=`@agent-${N.attachment.agentType}`,h=A===R,r=A.startsWith(R)&&!h;d("tengu_subagent_at_mention",{is_subagent_only:h,is_prefix:r})}}return lZ(CY(T,S,j,x,H,L,_),y)}function lZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((W)=>({type:"text",text:W})),isMeta:!0}));return Q}dW();HZ();GZ();gZ();cW();mW();_0();lW();gW();import{isAbsolute as aW,resolve as nW}from"path";function iW(Q,Z,W){let X=[],V=[],J=[];for(let[K,H]of Object.entries(Q)){let B=Z[K],z=P9(H.source,W?.projectRoot);if(!B)X.push(K);else if(H.sourceIsFallback)J.push(K);else if(!O9(z,B.source))V.push({name:K,declaredSource:z,materializedSource:B.source});else J.push(K)}return{missing:X,sourceChanged:V,upToDate:J}}async function PV(Q){let Z=U9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let W;try{W=await E9()}catch(G){e(G),W={}}let X=iW(Z,W,{projectRoot:Y0()}),V=[...X.missing.map((G)=>({name:G,source:P9(Z[G].source),action:"install"})),...X.sourceChanged.map(({name:G,declaredSource:L})=>({name:G,source:L,action:"update"}))],J=[],K=[];for(let G of V){if(Q?.skip?.(G.name,G.source)){J.push(G.name);continue}if(G.action==="update"&&w9(G.source)&&!await _9(G.source.path)){b(`[reconcile] '${G.name}' declared path does not exist; keeping materialized entry`),J.push(G.name);continue}K.push(G)}if(K.length===0)return{installed:[],updated:[],failed:[],upToDate:X.upToDate,skipped:J};b(`[reconcile] ${K.length} marketplace(s): ${K.map((G)=>`${G.name}(${G.action})`).join(", ")}`);let H=[],B=[],z=[];for(let G=0;G<K.length;G++){let{name:L,source:w,action:v}=K[G];Q?.onProgress?.({type:"installing",name:L,action:v,index:G+1,total:K.length});try{let _=await y9(w);if(v==="install")H.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:_.alreadyMaterialized})}catch(_){let P=v9(_);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(_)}}return{installed:H,updated:B,failed:z,upToDate:X.upToDate,skipped:J}}function P9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!aW(Q.path)){let W=Z??Y0(),X=A9(W);return{...Q,path:nW(X??W,Q.path)}}return Q}
|
|
24
|
+
export{XX as la,KW as ma,qX as na,r9 as oa,T0 as pa,ZQ as qa,YQ as ra,QQ as sa,vX as ta,dX as ua,mZ as va,yZ as wa,e0 as xa,oQ as ya,iW as za,PV as Aa,PW as Ba,$W as Ca,jW as Da,xW as Ea,pW as Fa,uW as Ga};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{coa as j}from"./cli-0.5.13-rmc7f4b8.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
+
export{Lt as IZ};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$t as T,AO as a,CO as Uq,ND as h,PD as Fq,Ut as u,Vt as g,Xt as Wq,_t as c,au as _q,bm as S,bu as r,cm as Zq,cu as Vq,dm as V,em as $q,hm as p,im as zq}from"./cli-0.5.13-2vy5qjm5.mjs";import{yU as d,zU as Yq}from"./cli-0.5.13-teedketa.mjs";import{AV as Xq,kV as w,lV as Nq,wV as j,xV as Qq,yV as m}from"./cli-0.5.13-qrn019we.mjs";import{aY as Lq,lW as v,mW as H,nW as y,vX as J,xX as N}from"./cli-0.5.13-tr9s34te.mjs";import{EZ as _,FZ as q,GZ as G,HZ as B}from"./cli-0.5.13-f1e673b2.mjs";import{IZ as Jq}from"./cli-0.5.13-d1xn4v80.mjs";import{N$ as b,_$ as Gq}from"./cli-0.5.13-p70x9j1v.mjs";import{aoa as e,eoa as qq}from"./cli-0.5.13-rmc7f4b8.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
+
export{mq as Yf,Aq as Zf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{eoa as H}from"./cli-0.5.13-rmc7f4b8.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
+
export{F as tda,K as uda,M as vda,N as wda,O as xda,P as yda,J as zda};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{Di as J,RK as f,TK as z,Tw as L,Uw as k,WN as _}from"./cli-0.5.13-2vy5qjm5.mjs";import{Y8 as F,b9 as A}from"./cli-0.5.13-p70x9j1v.mjs";import{Sda as Y,Uda as h,Vda as H,Wda as X}from"./cli-0.5.13-yc6wyazy.mjs";import{hfa as W,jfa as M}from"./cli-0.5.13-ktrr6zcr.mjs";import{jga as D,mga as R}from"./cli-0.5.13-a9gqqmjh.mjs";import{rka as q,vma as C}from"./cli-0.5.13-chdvhgrk.mjs";import{eoa as V}from"./cli-0.5.13-rmc7f4b8.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
|
|
2
|
+
`);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
|
|
3
|
+
|
|
4
|
+
Return JSON with a single "title" field.
|
|
5
|
+
|
|
6
|
+
Good examples:
|
|
7
|
+
{"title": "Fix login button on mobile"}
|
|
8
|
+
{"title": "Add OAuth authentication"}
|
|
9
|
+
{"title": "Debug failing CI tests"}
|
|
10
|
+
{"title": "Refactor API client error handling"}
|
|
11
|
+
|
|
12
|
+
Bad (too vague): {"title": "Code changes"}
|
|
13
|
+
Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
|
|
14
|
+
Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
|
|
15
|
+
export{S as ye,T as ze,I as Ae};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hn as Z,mn as G}from"./cli-0.5.13-2vy5qjm5.mjs";import{Fca as X,Nca as R}from"./cli-0.5.13-p70x9j1v.mjs";import{$fa as M,Ofa as v,Pfa as B,Tfa as A,Xfa as C,jga as U,mga as O}from"./cli-0.5.13-a9gqqmjh.mjs";import{eoa as b}from"./cli-0.5.13-rmc7f4b8.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
|
+
export{o as rc,c as sc,p as tc,d as uc,g as vc,w as wc};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{kU as T,vU as c}from"./cli-0.5.13-6qz4fn68.mjs";import{VU as w,YU as n}from"./cli-0.5.13-ga5kmq1w.mjs";import{R7 as y,S7 as g,T6 as M,V6 as X,W6 as f}from"./cli-0.5.13-p70x9j1v.mjs";import{Ofa as K,Pfa as v,Tfa as m,jga as Z,mfa as R,mga as h,ofa as F}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as Y,Iga as W,Kga as D}from"./cli-0.5.13-ywwd10c0.mjs";import{Nga as E,_ga as S}from"./cli-0.5.13-vhjxq97s.mjs";import{Eia as k,Iia as A,Kia as N,vma as j}from"./cli-0.5.13-chdvhgrk.mjs";import{eoa as H}from"./cli-0.5.13-rmc7f4b8.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
|
|
2
|
+
$pid = ${String(q)}
|
|
3
|
+
$ancestors = @()
|
|
4
|
+
for ($i = 0; $i -lt ${J}; $i++) {
|
|
5
|
+
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
|
|
6
|
+
if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
7
|
+
$pid = $proc.ParentProcessId
|
|
8
|
+
$ancestors += $pid
|
|
9
|
+
}
|
|
10
|
+
$ancestors -join ','
|
|
11
|
+
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
|
|
12
|
+
`).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
|
|
13
|
+
$currentPid = ${String(q)}
|
|
14
|
+
$commands = @()
|
|
15
|
+
for ($i = 0; $i -lt ${J}; $i++) {
|
|
16
|
+
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
|
|
17
|
+
if (-not $proc) { break }
|
|
18
|
+
if ($proc.CommandLine) { $commands += $proc.CommandLine }
|
|
19
|
+
if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
20
|
+
$currentPid = $proc.ParentProcessId
|
|
21
|
+
}
|
|
22
|
+
$commands -join [char]0
|
|
23
|
+
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
|
|
24
|
+
export{O as RT,i as ST,e as TT,qq as UT,_ as VT,Uq as WT,Bq as XT,C as YT,Mq as ZT,I as _T,Aq as $T,d as aU,r as bU,t as cU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{oe as R,qe as d}from"./cli-0.5.13-acgafbm9.mjs";import{VU as j,YU as c}from"./cli-0.5.13-ga5kmq1w.mjs";import{jga as K,mga as D}from"./cli-0.5.13-a9gqqmjh.mjs";import{Dga as C,Kga as h}from"./cli-0.5.13-ywwd10c0.mjs";import{eoa as I,foa as J}from"./cli-0.5.13-rmc7f4b8.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.5.13-05zhnpsy.mjs"),{getOrganizationUUID:Z}=await import("./client-0.5.13-wkzv25nn.mjs"),{getOauthConfig:V}=await import("./oauth-0.5.13-9kyat49f.mjs"),{getOAuthHeaders:P}=await import("./api-0.5.13-q2anppzf.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.5.13-xek1s6f7.mjs"),{getDefaultBranch:_}=await import("./git-0.5.13-rd7xcgr3.mjs"),{getMainLoopModel:M}=await import("./model-0.5.13-02rcx381.mjs"),{default:T}=await import("./index-0.5.13-jwf634zt.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.5.13-xek1s6f7.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.13-05zhnpsy.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.13-wkzv25nn.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.13-9kyat49f.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.13-q2anppzf.mjs"),{default:G}=await import("./index-0.5.13-jwf634zt.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.13-05zhnpsy.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.13-wkzv25nn.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.13-9kyat49f.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.13-q2anppzf.mjs"),{default:G}=await import("./index-0.5.13-jwf634zt.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.5.13-05zhnpsy.mjs"),{getOrganizationUUID:Y}=await import("./client-0.5.13-wkzv25nn.mjs"),{getOauthConfig:z}=await import("./oauth-0.5.13-9kyat49f.mjs"),{getOAuthHeaders:G}=await import("./api-0.5.13-q2anppzf.mjs"),{default:L}=await import("./index-0.5.13-jwf634zt.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
|
|
2
|
+
export{i as ge,r as he,t as ie,o as je,p as ke};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{PW as T,QW as X,RW as I,TW as Y,UW as p,dX as v,eX as Z,fX as D}from"./cli-0.5.13-tr9s34te.mjs";import{FZ as P,HZ as V}from"./cli-0.5.13-f1e673b2.mjs";import{IZ as H}from"./cli-0.5.13-d1xn4v80.mjs";import{Kja as W,vma as F}from"./cli-0.5.13-chdvhgrk.mjs";import{aoa as A,eoa as C}from"./cli-0.5.13-rmc7f4b8.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
|
+
export{u as fh,M as gh};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{AX as ST,aY as IT,tX as X,zX as JT}from"./cli-0.5.13-tr9s34te.mjs";import{D4 as K,E4 as VT}from"./cli-0.5.13-5tva2fr1.mjs";import{B9 as UT,Fca as H,Naa as z,Nca as n,P8 as s,Qaa as V,R7 as BT,S7 as _T,U6 as Y,V8 as XT,W6 as o,Waa as l,Xaa as d,Z8 as FT,a9 as qT,b9 as OT,iba as D,paa as f,raa as YT,z9 as Q}from"./cli-0.5.13-p70x9j1v.mjs";import{tea as E,uea as QT}from"./cli-0.5.13-cwy43qr2.mjs";import{$fa as KT,Ofa as GT,Pfa as $T,Tfa as zT,Xfa as P}from"./cli-0.5.13-a9gqqmjh.mjs";import{Iga as u,Kga as LT}from"./cli-0.5.13-ywwd10c0.mjs";import{Uma as r,Vma as ZT}from"./cli-0.5.13-p7q9grjp.mjs";import{eoa as I}from"./cli-0.5.13-rmc7f4b8.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
+
|
|
3
|
+
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
+
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
+
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
+
|
|
7
|
+
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
+
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
+
|
|
10
|
+
To set up the shortcut (optional):
|
|
11
|
+
1. Exit tmux/screen temporarily
|
|
12
|
+
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
+
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
+
• Other: Alacritty
|
|
15
|
+
3. Return to tmux/screen - settings will persist
|
|
16
|
+
|
|
17
|
+
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
+
{
|
|
19
|
+
"key": "shift+enter",
|
|
20
|
+
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
+
"args": { "text": "\\u001b\\r" },
|
|
22
|
+
"when": "terminalFocus"
|
|
23
|
+
}
|
|
24
|
+
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
+
`))F+=`
|
|
26
|
+
`;return F+=`
|
|
27
|
+
[[keyboard.bindings]]
|
|
28
|
+
key = "Return"
|
|
29
|
+
mods = "Shift"
|
|
30
|
+
chars = "\\u001B\\r"
|
|
31
|
+
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
+
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
+
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
+
export{a as IU,h as JU,e as KU,TT as LU,Ww as MU,uT as NU,ET as OU,Lw as PU,zw as QU,Vw as RU,_w as SU,bT as TU};
|