@claudiolabs/claudin 0.6.6 → 0.6.7
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/README.md +56 -25
- package/dist/chunks/AgentTool-0.6.7-f7t2mgqb.mjs +1 -0
- package/dist/chunks/App-0.6.7-9x70f9jb.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.7-2tb75j23.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.7-afdtan0w.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.7-pyzr75b3.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.7-nfncnj0q.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.7-n2e142wm.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.7-phc7vznz.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.7-s9x3mya9.mjs +7 -0
- package/dist/chunks/Doctor-0.6.7-smded214.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.6.7-4hy6ry9q.mjs +6 -0
- package/dist/chunks/Grove-0.6.7-ahyrvw0t.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.7-fcnt914g.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.7-00bjfj0e.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.7-13q0q9de.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.7-858rv0qw.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.7-dt8tdzek.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.7-6v39p38e.mjs +1 -0
- package/dist/chunks/REPL-0.6.7-q0nc0w32.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.7-pdhahpga.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.7-m392exrv.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.7-1dr1gjn2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.7-sv7jdzae.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.7-p36an880.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.7-aefcv1eq.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.7-ff2nyjj7.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.7-seknmzsh.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.7-0w1yte74.mjs +1 -0
- package/dist/chunks/add-dir-0.6.7-85gjr3q5.mjs +1 -0
- package/dist/chunks/agents-0.6.7-bwmzpbmy.mjs +110 -0
- package/dist/chunks/agents-0.6.7-zctgtzc9.mjs +3 -0
- package/dist/chunks/api-0.6.7-mfw9d6jg.mjs +1 -0
- package/dist/chunks/asciicast-0.6.7-tecyvajs.mjs +1 -0
- package/dist/chunks/assistant-0.6.7-0krnapvp.mjs +1 -0
- package/dist/chunks/auth-0.6.7-vsm2s3fs.mjs +1 -0
- package/dist/chunks/auth-0.6.7-y4kcahyj.mjs +1 -0
- package/dist/chunks/autoMode-0.6.7-ysajwbz7.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.7-ztgvnr84.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.7-hyrc03zs.mjs +1 -0
- package/dist/chunks/branch-0.6.7-hs9qva1m.mjs +4 -0
- package/dist/chunks/bridge-0.6.7-6tz3q7eh.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.7-nb52xna6.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.7-a4xw7wv8.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.7-tdh5qxzb.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.7-dh27kqnd.mjs +1 -0
- package/dist/chunks/btw-0.6.7-7mwpkxc8.mjs +1 -0
- package/dist/chunks/buddy-0.6.7-nq3yjbfx.mjs +3 -0
- package/dist/chunks/cacache-0.6.7-g9830zbt.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.7-f97mkfrz.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.7-cajakjmn.mjs +4 -0
- package/dist/chunks/caches-0.6.7-j5y9mwvb.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.7-86f3d3gt.mjs +1 -0
- package/dist/chunks/claudemd-0.6.7-bhnp37nv.mjs +1 -0
- package/dist/chunks/clear-0.6.7-b2weanr6.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.7-dtmyqs1m.mjs +1 -0
- package/dist/chunks/cli-0.6.7-04v8p8ay.mjs +2 -0
- package/dist/chunks/cli-0.6.7-09aymh1b.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0a04vzzk.mjs +28 -0
- package/dist/chunks/cli-0.6.7-0a406bqw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0c5ban8m.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0ecsc6v5.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0eeyfjk8.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0fc4sq47.mjs +42 -0
- package/dist/chunks/cli-0.6.7-0ncx2c9t.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0qzj0d6r.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0t1e9vab.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0t5ssfvj.mjs +2 -0
- package/dist/chunks/cli-0.6.7-0z5z87v6.mjs +1 -0
- package/dist/chunks/cli-0.6.7-105zxdx5.mjs +2 -0
- package/dist/chunks/cli-0.6.7-11a89p5q.mjs +2 -0
- package/dist/chunks/cli-0.6.7-15mn3n46.mjs +2 -0
- package/dist/chunks/cli-0.6.7-17dafwxd.mjs +2 -0
- package/dist/chunks/cli-0.6.7-1jmt8r8f.mjs +7 -0
- package/dist/chunks/cli-0.6.7-1mvkcg2k.mjs +2 -0
- package/dist/chunks/cli-0.6.7-1nxk10ra.mjs +12 -0
- package/dist/chunks/cli-0.6.7-1v8p5kj1.mjs +2 -0
- package/dist/chunks/cli-0.6.7-1vdk7j2f.mjs +2 -0
- package/dist/chunks/cli-0.6.7-1wy6neqr.mjs +2 -0
- package/dist/chunks/cli-0.6.7-26ph2hrd.mjs +2 -0
- package/dist/chunks/cli-0.6.7-26tkvqk3.mjs +2 -0
- package/dist/chunks/cli-0.6.7-29j5a7qt.mjs +2 -0
- package/dist/chunks/cli-0.6.7-2kkhf54p.mjs +133 -0
- package/dist/chunks/cli-0.6.7-2rppvwcw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-2rxv4h2n.mjs +5348 -0
- package/dist/chunks/cli-0.6.7-30y87jp9.mjs +3 -0
- package/dist/chunks/cli-0.6.7-31vjvqm0.mjs +2 -0
- package/dist/chunks/cli-0.6.7-32sp32ph.mjs +2 -0
- package/dist/chunks/cli-0.6.7-37a1n221.mjs +2 -0
- package/dist/chunks/cli-0.6.7-393mf77x.mjs +2 -0
- package/dist/chunks/cli-0.6.7-3anc14y3.mjs +2 -0
- package/dist/chunks/cli-0.6.7-3nk6g2dp.mjs +2 -0
- package/dist/chunks/cli-0.6.7-3rkngb3p.mjs +2 -0
- package/dist/chunks/cli-0.6.7-3w59rctc.mjs +2 -0
- package/dist/chunks/cli-0.6.7-3zgmbaw1.mjs +2 -0
- package/dist/chunks/cli-0.6.7-417g4eq7.mjs +2 -0
- package/dist/chunks/cli-0.6.7-4723xt8g.mjs +4 -0
- package/dist/chunks/cli-0.6.7-4qezg54y.mjs +2 -0
- package/dist/chunks/cli-0.6.7-4qv89taa.mjs +2 -0
- package/dist/chunks/cli-0.6.7-4r8s96as.mjs +18 -0
- package/dist/chunks/cli-0.6.7-4rswb0s0.mjs +2 -0
- package/dist/chunks/cli-0.6.7-4y6eh566.mjs +2 -0
- package/dist/chunks/cli-0.6.7-568qkrtn.mjs +2 -0
- package/dist/chunks/cli-0.6.7-5jkermx7.mjs +2 -0
- package/dist/chunks/cli-0.6.7-5tksrgt5.mjs +2 -0
- package/dist/chunks/cli-0.6.7-5y4c00t6.mjs +2 -0
- package/dist/chunks/cli-0.6.7-6ezmhmp0.mjs +67 -0
- package/dist/chunks/cli-0.6.7-6fh5e7r0.mjs +2 -0
- package/dist/chunks/cli-0.6.7-79a1ryqj.mjs +17 -0
- package/dist/chunks/cli-0.6.7-7eze8zyh.mjs +2 -0
- package/dist/chunks/cli-0.6.7-7ggj90ge.mjs +26 -0
- package/dist/chunks/cli-0.6.7-7hqt2520.mjs +2 -0
- package/dist/chunks/cli-0.6.7-7jnmn6s1.mjs +2 -0
- package/dist/chunks/cli-0.6.7-7p1zvk1f.mjs +4 -0
- package/dist/chunks/cli-0.6.7-7q89ngt8.mjs +4 -0
- package/dist/chunks/cli-0.6.7-7wfcpd35.mjs +5 -0
- package/dist/chunks/cli-0.6.7-895afk0q.mjs +39 -0
- package/dist/chunks/cli-0.6.7-8hg68yde.mjs +3 -0
- package/dist/chunks/cli-0.6.7-8npy06pd.mjs +2 -0
- package/dist/chunks/cli-0.6.7-8nt66wx8.mjs +2 -0
- package/dist/chunks/cli-0.6.7-8rckbxrq.mjs +2 -0
- package/dist/chunks/cli-0.6.7-94jxfcfx.mjs +2 -0
- package/dist/chunks/cli-0.6.7-986a2c9a.mjs +20 -0
- package/dist/chunks/cli-0.6.7-9ewdkgf6.mjs +2 -0
- package/dist/chunks/cli-0.6.7-9qjmzyph.mjs +59 -0
- package/dist/chunks/cli-0.6.7-9zvbhkwn.mjs +2 -0
- package/dist/chunks/cli-0.6.7-a49h84jx.mjs +2 -0
- package/dist/chunks/cli-0.6.7-a8d5a7gy.mjs +2 -0
- package/dist/chunks/cli-0.6.7-ad305tsz.mjs +2 -0
- package/dist/chunks/cli-0.6.7-aj0r6e7f.mjs +2 -0
- package/dist/chunks/cli-0.6.7-ajy2kcrw.mjs +4 -0
- package/dist/chunks/cli-0.6.7-askr0gdn.mjs +12 -0
- package/dist/chunks/cli-0.6.7-axgab18a.mjs +2 -0
- package/dist/chunks/cli-0.6.7-b6ssk5st.mjs +50 -0
- package/dist/chunks/cli-0.6.7-bf5gjw6d.mjs +4 -0
- package/dist/chunks/cli-0.6.7-bgtwgprg.mjs +2 -0
- package/dist/chunks/cli-0.6.7-bvke740f.mjs +58 -0
- package/dist/chunks/cli-0.6.7-bvsyxh29.mjs +45 -0
- package/dist/chunks/cli-0.6.7-c9drqby8.mjs +5 -0
- package/dist/chunks/cli-0.6.7-cc1w6ch6.mjs +2 -0
- package/dist/chunks/cli-0.6.7-csw6s95q.mjs +2 -0
- package/dist/chunks/cli-0.6.7-cykfmytk.mjs +2 -0
- package/dist/chunks/cli-0.6.7-d0hce9x9.mjs +2 -0
- package/dist/chunks/cli-0.6.7-d513frqa.mjs +2 -0
- package/dist/chunks/cli-0.6.7-d6md6s9z.mjs +2 -0
- package/dist/chunks/cli-0.6.7-dn51gm8s.mjs +2 -0
- package/dist/chunks/cli-0.6.7-dzhzeyee.mjs +2 -0
- package/dist/chunks/cli-0.6.7-e96htnt8.mjs +2 -0
- package/dist/chunks/cli-0.6.7-egf9dysz.mjs +2 -0
- package/dist/chunks/cli-0.6.7-ej85ys91.mjs +133 -0
- package/dist/chunks/cli-0.6.7-ery7wb2b.mjs +25 -0
- package/dist/chunks/cli-0.6.7-ewn2cwb7.mjs +6 -0
- package/dist/chunks/cli-0.6.7-ex9w59mx.mjs +3 -0
- package/dist/chunks/cli-0.6.7-fbgdkq7p.mjs +2 -0
- package/dist/chunks/cli-0.6.7-fbkbnkmx.mjs +2 -0
- package/dist/chunks/cli-0.6.7-g3bdwra6.mjs +12 -0
- package/dist/chunks/cli-0.6.7-g4r471w6.mjs +15 -0
- package/dist/chunks/cli-0.6.7-ggbx3zye.mjs +21 -0
- package/dist/chunks/cli-0.6.7-gj1zv8je.mjs +2 -0
- package/dist/chunks/cli-0.6.7-gp1x8mcf.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hcp3t5gk.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hd512c6x.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hsf1v92p.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hsxghzzr.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hvjb13p8.mjs +2 -0
- package/dist/chunks/cli-0.6.7-hxpbsv1t.mjs +2 -0
- package/dist/chunks/cli-0.6.7-jayzyra3.mjs +2 -0
- package/dist/chunks/cli-0.6.7-jry3hr0z.mjs +18 -0
- package/dist/chunks/cli-0.6.7-jt8cfe25.mjs +3 -0
- package/dist/chunks/cli-0.6.7-jvyry09r.mjs +3 -0
- package/dist/chunks/cli-0.6.7-k0h6t7d8.mjs +3 -0
- package/dist/chunks/cli-0.6.7-k69edthm.mjs +2 -0
- package/dist/chunks/cli-0.6.7-k7qq705k.mjs +2 -0
- package/dist/chunks/cli-0.6.7-kfm63wm2.mjs +17 -0
- package/dist/chunks/cli-0.6.7-m5a4md2p.mjs +24 -0
- package/dist/chunks/cli-0.6.7-m7f7sbcz.mjs +3 -0
- package/dist/chunks/cli-0.6.7-m9gs7avb.mjs +2 -0
- package/dist/chunks/cli-0.6.7-me667czz.mjs +2 -0
- package/dist/chunks/cli-0.6.7-mfw4bdkw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-mgzf6br3.mjs +2 -0
- package/dist/chunks/cli-0.6.7-mh4wva6p.mjs +2 -0
- package/dist/chunks/cli-0.6.7-mjkd8p19.mjs +16 -0
- package/dist/chunks/cli-0.6.7-mq2xzatd.mjs +34 -0
- package/dist/chunks/cli-0.6.7-mr3rwnv4.mjs +2 -0
- package/dist/chunks/cli-0.6.7-msab4rsa.mjs +3 -0
- package/dist/chunks/cli-0.6.7-mxbbt73y.mjs +2 -0
- package/dist/chunks/cli-0.6.7-n4hcg1jw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-n7v99j1c.mjs +3 -0
- package/dist/chunks/cli-0.6.7-n9b6fykd.mjs +2 -0
- package/dist/chunks/cli-0.6.7-ndz1ybhe.mjs +2 -0
- package/dist/chunks/cli-0.6.7-nembqgq6.mjs +4 -0
- package/dist/chunks/cli-0.6.7-njtz9caz.mjs +2 -0
- package/dist/chunks/cli-0.6.7-nkk7dy60.mjs +3 -0
- package/dist/chunks/cli-0.6.7-nkngqbzm.mjs +2 -0
- package/dist/chunks/cli-0.6.7-nmasp64q.mjs +2 -0
- package/dist/chunks/cli-0.6.7-nsaek892.mjs +2 -0
- package/dist/chunks/cli-0.6.7-nyj8vj8s.mjs +2 -0
- package/dist/chunks/cli-0.6.7-p01n2g5q.mjs +3 -0
- package/dist/chunks/cli-0.6.7-p0s9xa7d.mjs +2 -0
- package/dist/chunks/cli-0.6.7-p140ghs7.mjs +4 -0
- package/dist/chunks/cli-0.6.7-p1s9dq5f.mjs +2 -0
- package/dist/chunks/cli-0.6.7-p76h2hj4.mjs +193 -0
- package/dist/chunks/cli-0.6.7-p77b3p80.mjs +4 -0
- package/dist/chunks/cli-0.6.7-p8qqm0e2.mjs +10 -0
- package/dist/chunks/cli-0.6.7-pacmjx4t.mjs +6 -0
- package/dist/chunks/cli-0.6.7-pd4qacrw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-pt6c37tf.mjs +2 -0
- package/dist/chunks/cli-0.6.7-pz0hvq11.mjs +2 -0
- package/dist/chunks/cli-0.6.7-q2qk5c16.mjs +2 -0
- package/dist/chunks/cli-0.6.7-q7rhxc3k.mjs +2 -0
- package/dist/chunks/cli-0.6.7-qcc8znjg.mjs +2 -0
- package/dist/chunks/cli-0.6.7-qkzax44g.mjs +2 -0
- package/dist/chunks/cli-0.6.7-qnpad07x.mjs +15 -0
- package/dist/chunks/cli-0.6.7-qwv7z40j.mjs +2 -0
- package/dist/chunks/cli-0.6.7-qz4f20t8.mjs +9 -0
- package/dist/chunks/cli-0.6.7-r2phypw4.mjs +2 -0
- package/dist/chunks/cli-0.6.7-r4494gs0.mjs +2 -0
- package/dist/chunks/cli-0.6.7-r4njgjve.mjs +2 -0
- package/dist/chunks/cli-0.6.7-r57fq6gw.mjs +4 -0
- package/dist/chunks/cli-0.6.7-rcx8mb9z.mjs +2 -0
- package/dist/chunks/cli-0.6.7-rgfh878z.mjs +2 -0
- package/dist/chunks/cli-0.6.7-rp0ejp3a.mjs +2 -0
- package/dist/chunks/cli-0.6.7-rq1v6xnn.mjs +2 -0
- package/dist/chunks/cli-0.6.7-rqfxfpg7.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sdxzxe1y.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sea2kbnt.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sfc53wbe.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sfvrze2k.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sh9fbs9v.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sw46gwfw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-sx1q6ybw.mjs +2 -0
- package/dist/chunks/cli-0.6.7-t4vdc40t.mjs +2 -0
- package/dist/chunks/cli-0.6.7-tb1cvasf.mjs +5 -0
- package/dist/chunks/cli-0.6.7-tg6w7ex7.mjs +8 -0
- package/dist/chunks/cli-0.6.7-tnrt8ht0.mjs +2 -0
- package/dist/chunks/cli-0.6.7-tqfm4g33.mjs +2 -0
- package/dist/chunks/cli-0.6.7-tthw17vc.mjs +6 -0
- package/dist/chunks/cli-0.6.7-v1emd8z7.mjs +4 -0
- package/dist/chunks/cli-0.6.7-v65b4qmr.mjs +2 -0
- package/dist/chunks/cli-0.6.7-v82zs0dw.mjs +6 -0
- package/dist/chunks/cli-0.6.7-vd2t62t5.mjs +2 -0
- package/dist/chunks/cli-0.6.7-vdks0afp.mjs +3 -0
- package/dist/chunks/cli-0.6.7-vs95ynh5.mjs +2 -0
- package/dist/chunks/cli-0.6.7-vy64g49j.mjs +2 -0
- package/dist/chunks/cli-0.6.7-w2amr6nt.mjs +2 -0
- package/dist/chunks/cli-0.6.7-wbqq7cmg.mjs +15 -0
- package/dist/chunks/cli-0.6.7-wjg0q7hk.mjs +2 -0
- package/dist/chunks/cli-0.6.7-wyped9p6.mjs +2 -0
- package/dist/chunks/cli-0.6.7-xjbwt2hg.mjs +2 -0
- package/dist/chunks/cli-0.6.7-xzf3g8pg.mjs +3 -0
- package/dist/chunks/cli-0.6.7-y6pqw2vj.mjs +2 -0
- package/dist/chunks/cli-0.6.7-ybk07j40.mjs +2 -0
- package/dist/chunks/cli-0.6.7-z26mhn5a.mjs +2 -0
- package/dist/chunks/cli-0.6.7-z4dw5tyz.mjs +2 -0
- package/dist/chunks/cli-0.6.7-z7jett9s.mjs +2 -0
- package/dist/chunks/cli-0.6.7-zwd8kz5t.mjs +24 -0
- package/dist/chunks/cli-0.6.7-zwf5adf9.mjs +2 -0
- package/dist/chunks/client-0.6.7-445v9987.mjs +1 -0
- package/dist/chunks/color-0.6.7-856m55kg.mjs +1 -0
- package/dist/chunks/compact-0.6.7-xkjxsjky.mjs +3 -0
- package/dist/chunks/config-0.6.7-8cp9wg00.mjs +1 -0
- package/dist/chunks/config-0.6.7-h357gwre.mjs +1 -0
- package/dist/chunks/constants-0.6.7-jz2rzgah.mjs +1 -0
- package/dist/chunks/context-0.6.7-52mqtjt5.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.7-0vn31bty.mjs +1 -0
- package/dist/chunks/conversation-0.6.7-6rb0jxt5.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.7-6szcxcqp.mjs +1 -0
- package/dist/chunks/copy-0.6.7-kt6m78c9.mjs +9 -0
- package/dist/chunks/cost-0.6.7-mcmacwts.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.7-2bxjzphp.mjs +1 -0
- package/dist/chunks/createSession-0.6.7-h53s0r94.mjs +1 -0
- package/dist/chunks/debug-0.6.7-40mxhr43.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.7-swjqrq2d.mjs +1367 -0
- package/dist/chunks/desktop-0.6.7-m8hceses.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.7-37snr69q.mjs +1 -0
- package/dist/chunks/detection-0.6.7-796dd7my.mjs +1 -0
- package/dist/chunks/diff-0.6.7-jvhy5bfv.mjs +1 -0
- package/dist/chunks/doctor-0.6.7-69xecv72.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.7-86wn5fas.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.7-j5kqcad7.mjs +1 -0
- package/dist/chunks/effort-0.6.7-pzsgdygp.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.7-8ev8zrnr.mjs +1 -0
- package/dist/chunks/envUtils-0.6.7-t2mfcf3k.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.7-qsjyn0qh.mjs +1 -0
- package/dist/chunks/environments-0.6.7-s37ppzq2.mjs +1 -0
- package/dist/chunks/errors-0.6.7-ewn9ej98.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.7-ha5gh86w.mjs +1 -0
- package/dist/chunks/exit-0.6.7-ke7w1zfb.mjs +1 -0
- package/dist/chunks/explorer-0.6.7-mwasq7vb.mjs +1 -0
- package/dist/chunks/export-0.6.7-nxr4yk69.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.7-4y4y16s7.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.7-39bqy32f.mjs +1 -0
- package/dist/chunks/fast-0.6.7-kq9cp91g.mjs +1 -0
- package/dist/chunks/feedback-0.6.7-negh6v8m.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.7-tx7c7x8t.mjs +1 -0
- package/dist/chunks/git-0.6.7-2vwe8z3v.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.7-33qbe5yn.mjs +1 -0
- package/dist/chunks/goal-0.6.7-h6jz54qb.mjs +4 -0
- package/dist/chunks/grove-0.6.7-54ezkxs0.mjs +1 -0
- package/dist/chunks/growthbook-0.6.7-dtryf1q9.mjs +1 -0
- package/dist/chunks/headless-0.6.7-35yksmzv.mjs +2 -0
- package/dist/chunks/heapdump-0.6.7-k6xhk8rq.mjs +6 -0
- package/dist/chunks/help-0.6.7-xe78z9ep.mjs +1 -0
- package/dist/chunks/hookChains-0.6.7-cr0c8y5v.mjs +3 -0
- package/dist/chunks/hooks-0.6.7-3dzcec4j.mjs +79 -0
- package/dist/chunks/hooks-0.6.7-8d0h5mh8.mjs +1 -0
- package/dist/chunks/ide-0.6.7-5yx4zawt.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.7-58mhvg4s.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.7-9afh5jdh.mjs +1 -0
- package/dist/chunks/index-0.6.7-0p9m5cfc.mjs +1 -0
- package/dist/chunks/index-0.6.7-1ngjds1q.mjs +30 -0
- package/dist/chunks/index-0.6.7-269433vt.mjs +2 -0
- package/dist/chunks/index-0.6.7-299hd0kq.mjs +1 -0
- package/dist/chunks/index-0.6.7-2p1qzv7b.mjs +9 -0
- package/dist/chunks/index-0.6.7-7fw7s1w6.mjs +1 -0
- package/dist/chunks/index-0.6.7-938hete3.mjs +1 -0
- package/dist/chunks/index-0.6.7-9qxbggwj.mjs +1 -0
- package/dist/chunks/index-0.6.7-adw6e99t.mjs +1 -0
- package/dist/chunks/index-0.6.7-da5n32m6.mjs +1 -0
- package/dist/chunks/index-0.6.7-ebdnq1xs.mjs +1 -0
- package/dist/chunks/index-0.6.7-fewh0t9g.mjs +1 -0
- package/dist/chunks/index-0.6.7-jyep217e.mjs +1 -0
- package/dist/chunks/index-0.6.7-mmh99nq4.mjs +1 -0
- package/dist/chunks/index-0.6.7-p9vm0q7s.mjs +2 -0
- package/dist/chunks/index-0.6.7-pspakten.mjs +1 -0
- package/dist/chunks/index-0.6.7-qy50jasm.mjs +5 -0
- package/dist/chunks/index-0.6.7-r7sewgza.mjs +1 -0
- package/dist/chunks/index-0.6.7-tet87444.mjs +1 -0
- package/dist/chunks/index-0.6.7-vwv8f9ey.mjs +1 -0
- package/dist/chunks/index-0.6.7-xhxjqdft.mjs +1 -0
- package/dist/chunks/index-0.6.7-yc13tnk8.mjs +1 -0
- package/dist/chunks/index-0.6.7-zm9ed9xd.mjs +9 -0
- package/dist/chunks/init-0.6.7-9mxee8s9.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.7-2v1w7wq6.mjs +1 -0
- package/dist/chunks/ink-0.6.7-24swqw8m.mjs +1 -0
- package/dist/chunks/insights-0.6.7-wf368crb.mjs +870 -0
- package/dist/chunks/install-0.6.7-a9dezzjy.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.7-wr0r1fb5.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.7-ftc8w786.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.7-y1xv08zm.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.7-kg2yqwhs.mjs +1 -0
- package/dist/chunks/keybindings-0.6.7-xa10wdn0.mjs +2 -0
- package/dist/chunks/knowledge-0.6.7-p8ys3wf6.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.7-7ss3jynk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.7-g16npyc7.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.7-d1p7v7wd.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.7-qy17rc72.mjs +1 -0
- package/dist/chunks/log-0.6.7-a9pyn4zr.mjs +1 -0
- package/dist/chunks/main-0.6.7-epme77xk.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.7-1h0tpwq1.mjs +1 -0
- package/dist/chunks/mcp-0.6.7-1pq6d47c.mjs +17 -0
- package/dist/chunks/mcp-0.6.7-krdmdzbj.mjs +4 -0
- package/dist/chunks/mcp-0.6.7-sh0wnst3.mjs +1 -0
- package/dist/chunks/mcpb-0.6.7-wethrsb6.mjs +1 -0
- package/dist/chunks/memory-0.6.7-wwbx8j9h.mjs +3 -0
- package/dist/chunks/model-0.6.7-bnf162h5.mjs +2 -0
- package/dist/chunks/model-0.6.7-ta2zt9yw.mjs +1 -0
- package/dist/chunks/node-0.6.7-9wgtbtkn.mjs +12 -0
- package/dist/chunks/oauth-0.6.7-ecry38es.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.7-6haddefk.mjs +14 -0
- package/dist/chunks/output-style-0.6.7-heg5p49f.mjs +1 -0
- package/dist/chunks/package-FMOR3ELU-0.6.7-g0c2811q.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.7-rmje9xpc.mjs +1 -0
- package/dist/chunks/parser-0.6.7-dwxttek7.mjs +1 -0
- package/dist/chunks/passes-0.6.7-6md5xpaz.mjs +1 -0
- package/dist/chunks/permissions-0.6.7-25nzz9y0.mjs +3 -0
- package/dist/chunks/permissions-0.6.7-bm6zx02e.mjs +1 -0
- package/dist/chunks/plan-0.6.7-9pxaje2z.mjs +1 -0
- package/dist/chunks/plist-0.6.7-vcn459ke.mjs +1 -0
- package/dist/chunks/plugin-0.6.7-a5erdt59.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.7-4v446m9d.mjs +1 -0
- package/dist/chunks/plugins-0.6.7-g2r5qgvr.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.7-m3b66d2g.mjs +2 -0
- package/dist/chunks/print-0.6.7-qwsqdjpa.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.7-f7mdzrj9.mjs +1 -0
- package/dist/chunks/process-0.6.7-mwpj2ag5.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.7-zmq7s8bg.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.7-aeq77f0r.mjs +9 -0
- package/dist/chunks/prompt-0.6.7-bjk6r969.mjs +1 -0
- package/dist/chunks/prompt-0.6.7-cqwn4ebm.mjs +1 -0
- package/dist/chunks/prompts-0.6.7-sx1ddpn3.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.7-4htrgj10.mjs +13 -0
- package/dist/chunks/provider-0.6.7-cf13j8jp.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.7-s1vbbbf8.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.7-d5tsv9wn.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.7-xxb91evy.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.7-qmmn95tv.mjs +34 -0
- package/dist/chunks/registry-0.6.7-vnf153w2.mjs +1 -0
- package/dist/chunks/release-notes-0.6.7-140nchxs.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.7-2zjnq8rk.mjs +2 -0
- package/dist/chunks/remote-env-0.6.7-dmn903f9.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.7-vjavg15v.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.7-j6t9wnvq.mjs +1 -0
- package/dist/chunks/rename-0.6.7-9hky49hm.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.7-fg56fjhe.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.7-135zqkvm.mjs +1 -0
- package/dist/chunks/resume-0.6.7-ag66nvjc.mjs +2 -0
- package/dist/chunks/rewind-0.6.7-pbgnt37r.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.7-dhbhchhw.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.7-wav9ed7k.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.7-xvjvjn90.mjs +1 -0
- package/dist/chunks/session-0.6.7-dv8ptwrb.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.7-k5zpyw84.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.7-rrcrsek8.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.7-fx0mbvg6.mjs +1 -0
- package/dist/chunks/settings-0.6.7-nwqqfy0f.mjs +1 -0
- package/dist/chunks/setup-0.6.7-1w2gtqvq.mjs +5 -0
- package/dist/chunks/sinks-0.6.7-rh7wgd1s.mjs +1 -0
- package/dist/chunks/skills-0.6.7-p7nm0dqx.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.7-0sgmtd5m.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.7-pe8vnbmy.mjs +1 -0
- package/dist/chunks/state-0.6.7-7zgmm7bx.mjs +1 -0
- package/dist/chunks/stats-0.6.7-qwjhmd0m.mjs +6 -0
- package/dist/chunks/status-0.6.7-4dybregh.mjs +1 -0
- package/dist/chunks/stickers-0.6.7-me3v3dmh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.7-qnce4qzp.mjs +1 -0
- package/dist/chunks/tasks-0.6.7-sbx5a37t.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.7-pwbpqycb.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.7-qef93h04.mjs +1 -0
- package/dist/chunks/teleport-0.6.7-rtj4ts5d.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.7-tka4bjp2.mjs +1 -0
- package/dist/chunks/theme-0.6.7-x8qqpmm6.mjs +1 -0
- package/dist/chunks/thinkback-0.6.7-w6wj1na3.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.7-m433zrvk.mjs +1 -0
- package/dist/chunks/toolPool-0.6.7-5x90r1f5.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.7-ev30cxmd.mjs +1 -0
- package/dist/chunks/tools-0.6.7-w23c68c1.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.7-yp482r12.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.7-6qtfbqqk.mjs +69 -0
- package/dist/chunks/types-0.6.7-q8m8v654.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.7-8azkbc2y.mjs +4 -0
- package/dist/chunks/update-0.6.7-gwfz54bh.mjs +86 -0
- package/dist/chunks/upgrade-0.6.7-3mraezx0.mjs +1 -0
- package/dist/chunks/upload-0.6.7-xxfcdyx1.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.7-5w2ftmfc.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.7-3jfvm422.mjs +1 -0
- package/dist/chunks/usage-0.6.7-pkmqvqgq.mjs +1 -0
- package/dist/chunks/util-0.6.7-3z6r92wt.mjs +1 -0
- package/dist/chunks/utils-0.6.7-sdkkjj30.mjs +1 -0
- package/dist/chunks/vim-0.6.7-3rsss4ez.mjs +1 -0
- package/dist/chunks/watcher-0.6.7-kh7rkhx8.mjs +1 -0
- package/dist/chunks/wiki-0.6.7-jrn54nk5.mjs +132 -0
- package/dist/chunks/worktree-0.6.7-214cy52d.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.7-3z7e768n.mjs +1 -0
- package/dist/chunks/wrapper-0.6.7-h3kjv9nf.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.6-bdcafcej.mjs +0 -1
- package/dist/chunks/App-0.6.6-k5gj5n4h.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.6-7fdtwksv.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.6-2j0e7ev9.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.6-6yx84pzc.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.6-vjc7apke.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.6-td62cgn4.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.6-5aqhvkcg.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.6-d2jxy48y.mjs +0 -11
- package/dist/chunks/Doctor-0.6.6-me4wn4j5.mjs +0 -1
- package/dist/chunks/Grove-0.6.6-xfwy6rbw.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.6-qthf2vr3.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.6-mp5b6a5j.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.6-awc54gyk.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.6-4qg3bf91.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.6-fewq1c0b.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.6-cx15mb4s.mjs +0 -1
- package/dist/chunks/REPL-0.6.6-ev64pese.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.6-gkxw58n4.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.6-45f8nb47.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.6-5314g8tw.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.6-w4svp0jn.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.6-5vjtrnya.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.6-rphhdvq8.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.6-s2f271df.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.6-s74swp6v.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.6-r3wwyv1a.mjs +0 -1
- package/dist/chunks/add-dir-0.6.6-nm6s9jm3.mjs +0 -1
- package/dist/chunks/agents-0.6.6-yfx529qm.mjs +0 -3
- package/dist/chunks/agents-0.6.6-z45zpb7a.mjs +0 -110
- package/dist/chunks/api-0.6.6-rrs0y38h.mjs +0 -1
- package/dist/chunks/asciicast-0.6.6-qrz006k9.mjs +0 -1
- package/dist/chunks/assistant-0.6.6-tfmwrg23.mjs +0 -1
- package/dist/chunks/auth-0.6.6-61djjn63.mjs +0 -1
- package/dist/chunks/auth-0.6.6-8pgs8nej.mjs +0 -1
- package/dist/chunks/autoMode-0.6.6-d0vbqpdq.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.6-xacp5fck.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.6-dnhts5fj.mjs +0 -1
- package/dist/chunks/branch-0.6.6-84wkac2e.mjs +0 -4
- package/dist/chunks/bridge-0.6.6-p3dy64f9.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.6-fvzjs1pa.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.6-ge15dg1p.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.6-w0xmef6b.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.6-cba0ahq2.mjs +0 -1
- package/dist/chunks/btw-0.6.6-46grbbjr.mjs +0 -1
- package/dist/chunks/buddy-0.6.6-90qdgfw4.mjs +0 -3
- package/dist/chunks/cacache-0.6.6-v19w3dxf.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.6-k4ev06pn.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.6-dehpnmz9.mjs +0 -4
- package/dist/chunks/caches-0.6.6-4a0mnm1h.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.6-fhspw8yv.mjs +0 -1
- package/dist/chunks/claudemd-0.6.6-s2nktt1h.mjs +0 -1
- package/dist/chunks/clear-0.6.6-e06ssw4n.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.6-062bve0j.mjs +0 -1
- package/dist/chunks/cli-0.6.6-0ak8r49x.mjs +0 -2
- package/dist/chunks/cli-0.6.6-0j61q3w5.mjs +0 -2
- package/dist/chunks/cli-0.6.6-0pptmkkg.mjs +0 -4
- package/dist/chunks/cli-0.6.6-0w254y38.mjs +0 -2
- package/dist/chunks/cli-0.6.6-10re6ept.mjs +0 -2
- package/dist/chunks/cli-0.6.6-141tbvn2.mjs +0 -2
- package/dist/chunks/cli-0.6.6-1a0fnhh0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-1dy4fd01.mjs +0 -2
- package/dist/chunks/cli-0.6.6-1jt6s6c8.mjs +0 -2
- package/dist/chunks/cli-0.6.6-23snct9d.mjs +0 -5348
- package/dist/chunks/cli-0.6.6-27tkk39p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-2dtp6rc2.mjs +0 -2
- package/dist/chunks/cli-0.6.6-2fasp96a.mjs +0 -2
- package/dist/chunks/cli-0.6.6-2gjay42h.mjs +0 -2
- package/dist/chunks/cli-0.6.6-2mf6j1pf.mjs +0 -4
- package/dist/chunks/cli-0.6.6-36kc5vh1.mjs +0 -3
- package/dist/chunks/cli-0.6.6-37wcg59v.mjs +0 -2
- package/dist/chunks/cli-0.6.6-3agn70fr.mjs +0 -50
- package/dist/chunks/cli-0.6.6-3qbz76xq.mjs +0 -2
- package/dist/chunks/cli-0.6.6-3s3k6nsb.mjs +0 -2
- package/dist/chunks/cli-0.6.6-3t45jvj0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-3t9gkjhn.mjs +0 -8
- package/dist/chunks/cli-0.6.6-3ykkcpjf.mjs +0 -2
- package/dist/chunks/cli-0.6.6-40n0q9g3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-44bk8ev1.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4d55s633.mjs +0 -3
- package/dist/chunks/cli-0.6.6-4jrf033h.mjs +0 -12
- package/dist/chunks/cli-0.6.6-4m7r4esm.mjs +0 -4
- package/dist/chunks/cli-0.6.6-4nxq7s1k.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4qj9brbk.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4qrnzmjb.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4r50eqxg.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4tp2yb2x.mjs +0 -2
- package/dist/chunks/cli-0.6.6-4tzkbyes.mjs +0 -2
- package/dist/chunks/cli-0.6.6-504vvx3q.mjs +0 -2
- package/dist/chunks/cli-0.6.6-5eww20j0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-5p4qy3we.mjs +0 -2
- package/dist/chunks/cli-0.6.6-61wnn1as.mjs +0 -3
- package/dist/chunks/cli-0.6.6-6gzy2tvk.mjs +0 -12
- package/dist/chunks/cli-0.6.6-6p78renb.mjs +0 -2
- package/dist/chunks/cli-0.6.6-6zs5dyhh.mjs +0 -20
- package/dist/chunks/cli-0.6.6-731hhd3s.mjs +0 -2
- package/dist/chunks/cli-0.6.6-73eg8qn0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-76rkjh7v.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7n7fwzth.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7pfzbq40.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7r4esgkf.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7r817n5d.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7s8bhv18.mjs +0 -2
- package/dist/chunks/cli-0.6.6-7tnsnb0c.mjs +0 -2
- package/dist/chunks/cli-0.6.6-816nja7p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-85mqgh7w.mjs +0 -133
- package/dist/chunks/cli-0.6.6-8bvd4smw.mjs +0 -3
- package/dist/chunks/cli-0.6.6-8e7c224v.mjs +0 -2
- package/dist/chunks/cli-0.6.6-8gcxhg7t.mjs +0 -3
- package/dist/chunks/cli-0.6.6-8gmesggf.mjs +0 -2
- package/dist/chunks/cli-0.6.6-8hzhy95p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-8s6h2xee.mjs +0 -3
- package/dist/chunks/cli-0.6.6-8vnkmjet.mjs +0 -2
- package/dist/chunks/cli-0.6.6-8wwb7c4z.mjs +0 -10
- package/dist/chunks/cli-0.6.6-8yvh28tb.mjs +0 -16
- package/dist/chunks/cli-0.6.6-92dvpnqv.mjs +0 -3
- package/dist/chunks/cli-0.6.6-962my51a.mjs +0 -2
- package/dist/chunks/cli-0.6.6-99e532z3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-9r04g0xa.mjs +0 -2
- package/dist/chunks/cli-0.6.6-9rjdy05g.mjs +0 -2
- package/dist/chunks/cli-0.6.6-9tjtzwyt.mjs +0 -2
- package/dist/chunks/cli-0.6.6-a2e4eek5.mjs +0 -2
- package/dist/chunks/cli-0.6.6-a837m6n5.mjs +0 -2
- package/dist/chunks/cli-0.6.6-aep3cnz5.mjs +0 -2
- package/dist/chunks/cli-0.6.6-akjyt0hr.mjs +0 -2
- package/dist/chunks/cli-0.6.6-akqfmyeb.mjs +0 -2
- package/dist/chunks/cli-0.6.6-am3sz82d.mjs +0 -58
- package/dist/chunks/cli-0.6.6-ap1eg2xa.mjs +0 -2
- package/dist/chunks/cli-0.6.6-apq4h0nf.mjs +0 -2
- package/dist/chunks/cli-0.6.6-aq30fm8p.mjs +0 -1
- package/dist/chunks/cli-0.6.6-ar43nqjq.mjs +0 -3
- package/dist/chunks/cli-0.6.6-arvcw19g.mjs +0 -2
- package/dist/chunks/cli-0.6.6-as18fmg3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-at7yytqj.mjs +0 -2
- package/dist/chunks/cli-0.6.6-axvjexmr.mjs +0 -15
- package/dist/chunks/cli-0.6.6-b1wqaqv9.mjs +0 -4
- package/dist/chunks/cli-0.6.6-bbv794xs.mjs +0 -4
- package/dist/chunks/cli-0.6.6-bn18ty4n.mjs +0 -18
- package/dist/chunks/cli-0.6.6-by1ngr5q.mjs +0 -5
- package/dist/chunks/cli-0.6.6-c267ckfv.mjs +0 -2
- package/dist/chunks/cli-0.6.6-c2xmgnfp.mjs +0 -7
- package/dist/chunks/cli-0.6.6-ct7zap14.mjs +0 -2
- package/dist/chunks/cli-0.6.6-czhez59x.mjs +0 -2
- package/dist/chunks/cli-0.6.6-d0qrt51j.mjs +0 -2
- package/dist/chunks/cli-0.6.6-d5dexg4d.mjs +0 -2
- package/dist/chunks/cli-0.6.6-dmd73xa3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-dmtpt4r7.mjs +0 -17
- package/dist/chunks/cli-0.6.6-dnx45tc3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-drg8zfkg.mjs +0 -2
- package/dist/chunks/cli-0.6.6-e4pcw0z3.mjs +0 -3
- package/dist/chunks/cli-0.6.6-eeaxd1dd.mjs +0 -2
- package/dist/chunks/cli-0.6.6-efkct3rx.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ek8y79wd.mjs +0 -2
- package/dist/chunks/cli-0.6.6-en2sexw5.mjs +0 -59
- package/dist/chunks/cli-0.6.6-enc586ry.mjs +0 -4
- package/dist/chunks/cli-0.6.6-esnwdj9p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ezhp9zxv.mjs +0 -2
- package/dist/chunks/cli-0.6.6-f6wc5yc6.mjs +0 -17
- package/dist/chunks/cli-0.6.6-fep3xed7.mjs +0 -2
- package/dist/chunks/cli-0.6.6-fj9rpekf.mjs +0 -2
- package/dist/chunks/cli-0.6.6-g6ja9jcs.mjs +0 -4
- package/dist/chunks/cli-0.6.6-g9mdc3pd.mjs +0 -2
- package/dist/chunks/cli-0.6.6-gk8s7mch.mjs +0 -67
- package/dist/chunks/cli-0.6.6-gte1km05.mjs +0 -2
- package/dist/chunks/cli-0.6.6-h02v66zq.mjs +0 -2
- package/dist/chunks/cli-0.6.6-h12zw82h.mjs +0 -3
- package/dist/chunks/cli-0.6.6-h2aqs05m.mjs +0 -2
- package/dist/chunks/cli-0.6.6-h8d7s4qz.mjs +0 -21
- package/dist/chunks/cli-0.6.6-h8ew0rcw.mjs +0 -24
- package/dist/chunks/cli-0.6.6-hcajyfhg.mjs +0 -6
- package/dist/chunks/cli-0.6.6-hejk0ae6.mjs +0 -5
- package/dist/chunks/cli-0.6.6-hetrxwwb.mjs +0 -2
- package/dist/chunks/cli-0.6.6-heymhe69.mjs +0 -24
- package/dist/chunks/cli-0.6.6-hp08wrzx.mjs +0 -15
- package/dist/chunks/cli-0.6.6-hsgfy54f.mjs +0 -2
- package/dist/chunks/cli-0.6.6-hyqpcaay.mjs +0 -2
- package/dist/chunks/cli-0.6.6-j4j7a9y4.mjs +0 -2
- package/dist/chunks/cli-0.6.6-je6w2y3h.mjs +0 -2
- package/dist/chunks/cli-0.6.6-jh33fwqe.mjs +0 -18
- package/dist/chunks/cli-0.6.6-jjj2qt22.mjs +0 -2
- package/dist/chunks/cli-0.6.6-jqxfz350.mjs +0 -2
- package/dist/chunks/cli-0.6.6-jrpy2bkk.mjs +0 -2
- package/dist/chunks/cli-0.6.6-kca8bnv6.mjs +0 -2
- package/dist/chunks/cli-0.6.6-khr65dty.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ktwh4wvp.mjs +0 -6
- package/dist/chunks/cli-0.6.6-mb1z3n48.mjs +0 -2
- package/dist/chunks/cli-0.6.6-mc9x1jry.mjs +0 -28
- package/dist/chunks/cli-0.6.6-mezb9tga.mjs +0 -2
- package/dist/chunks/cli-0.6.6-mk746t95.mjs +0 -2
- package/dist/chunks/cli-0.6.6-mmgfr8v9.mjs +0 -2
- package/dist/chunks/cli-0.6.6-mrkkgjdh.mjs +0 -2
- package/dist/chunks/cli-0.6.6-mzjbzje2.mjs +0 -2
- package/dist/chunks/cli-0.6.6-nbrpn6xq.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ncqg4xxp.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ntyx46a7.mjs +0 -2
- package/dist/chunks/cli-0.6.6-nw0nh4e0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-nymfz9tw.mjs +0 -2
- package/dist/chunks/cli-0.6.6-p3xdjh86.mjs +0 -12
- package/dist/chunks/cli-0.6.6-phfaae6k.mjs +0 -2
- package/dist/chunks/cli-0.6.6-py5db2ds.mjs +0 -2
- package/dist/chunks/cli-0.6.6-q1j20ysc.mjs +0 -193
- package/dist/chunks/cli-0.6.6-q6pybpxh.mjs +0 -2
- package/dist/chunks/cli-0.6.6-qvmtyvz3.mjs +0 -3
- package/dist/chunks/cli-0.6.6-r5fnevcm.mjs +0 -2
- package/dist/chunks/cli-0.6.6-r6ph5dqe.mjs +0 -2
- package/dist/chunks/cli-0.6.6-rhcte81y.mjs +0 -15
- package/dist/chunks/cli-0.6.6-rqfeyzcp.mjs +0 -2
- package/dist/chunks/cli-0.6.6-rxhq7h6p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-s3y8t7we.mjs +0 -2
- package/dist/chunks/cli-0.6.6-sc6nf44p.mjs +0 -2
- package/dist/chunks/cli-0.6.6-sh4pyhkw.mjs +0 -2
- package/dist/chunks/cli-0.6.6-sqvm4f1y.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ssjjspdc.mjs +0 -2
- package/dist/chunks/cli-0.6.6-sxde5jj7.mjs +0 -2
- package/dist/chunks/cli-0.6.6-t3vvf5fy.mjs +0 -2
- package/dist/chunks/cli-0.6.6-t7p08nsw.mjs +0 -2
- package/dist/chunks/cli-0.6.6-tam4amwx.mjs +0 -2
- package/dist/chunks/cli-0.6.6-tg1e3sdx.mjs +0 -2
- package/dist/chunks/cli-0.6.6-tk00k0e1.mjs +0 -34
- package/dist/chunks/cli-0.6.6-v17a8yzy.mjs +0 -2
- package/dist/chunks/cli-0.6.6-vesqvt0y.mjs +0 -2
- package/dist/chunks/cli-0.6.6-vjj3g5dm.mjs +0 -2
- package/dist/chunks/cli-0.6.6-vt1181th.mjs +0 -39
- package/dist/chunks/cli-0.6.6-vvz9vw7f.mjs +0 -5
- package/dist/chunks/cli-0.6.6-vy3wa7f9.mjs +0 -2
- package/dist/chunks/cli-0.6.6-w687eya6.mjs +0 -2
- package/dist/chunks/cli-0.6.6-w6tqtrzg.mjs +0 -4
- package/dist/chunks/cli-0.6.6-wctj7gmc.mjs +0 -6
- package/dist/chunks/cli-0.6.6-ww6zy0p0.mjs +0 -2
- package/dist/chunks/cli-0.6.6-wxst92je.mjs +0 -4
- package/dist/chunks/cli-0.6.6-x1zrpt5g.mjs +0 -45
- package/dist/chunks/cli-0.6.6-x3tz7qvq.mjs +0 -2
- package/dist/chunks/cli-0.6.6-x88t5n54.mjs +0 -133
- package/dist/chunks/cli-0.6.6-xe6egv3r.mjs +0 -25
- package/dist/chunks/cli-0.6.6-xmd2zss3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-xna6taqd.mjs +0 -9
- package/dist/chunks/cli-0.6.6-xnazk7t9.mjs +0 -2
- package/dist/chunks/cli-0.6.6-xq4cysdk.mjs +0 -2
- package/dist/chunks/cli-0.6.6-xt0p4ems.mjs +0 -4
- package/dist/chunks/cli-0.6.6-xtj65dsh.mjs +0 -2
- package/dist/chunks/cli-0.6.6-y305shhz.mjs +0 -2
- package/dist/chunks/cli-0.6.6-yakt9hjc.mjs +0 -3
- package/dist/chunks/cli-0.6.6-yj2tafrk.mjs +0 -26
- package/dist/chunks/cli-0.6.6-ymge82rt.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ythetarc.mjs +0 -3
- package/dist/chunks/cli-0.6.6-ytskhcd3.mjs +0 -42
- package/dist/chunks/cli-0.6.6-ytws2j1w.mjs +0 -2
- package/dist/chunks/cli-0.6.6-yve3e654.mjs +0 -2
- package/dist/chunks/cli-0.6.6-yxd04fex.mjs +0 -2
- package/dist/chunks/cli-0.6.6-zb8ddz0k.mjs +0 -2
- package/dist/chunks/cli-0.6.6-ze6rx70y.mjs +0 -2
- package/dist/chunks/cli-0.6.6-zhky93y3.mjs +0 -2
- package/dist/chunks/cli-0.6.6-zwk7a82m.mjs +0 -2
- package/dist/chunks/cli-0.6.6-zx0cgvxq.mjs +0 -2
- package/dist/chunks/client-0.6.6-epndq4qc.mjs +0 -1
- package/dist/chunks/color-0.6.6-8rzmvtwk.mjs +0 -1
- package/dist/chunks/compact-0.6.6-hx8hw1kn.mjs +0 -3
- package/dist/chunks/config-0.6.6-0j07cdc5.mjs +0 -1
- package/dist/chunks/config-0.6.6-2fm368ym.mjs +0 -1
- package/dist/chunks/constants-0.6.6-0yxw2f7y.mjs +0 -1
- package/dist/chunks/context-0.6.6-1ask7yck.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.6-kk5a8p4w.mjs +0 -1
- package/dist/chunks/conversation-0.6.6-fetjq503.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.6-fwqs850f.mjs +0 -1
- package/dist/chunks/copy-0.6.6-8j7h9rrr.mjs +0 -9
- package/dist/chunks/cost-0.6.6-1b4svxh2.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.6-nj5vfp9k.mjs +0 -1
- package/dist/chunks/createSession-0.6.6-mphh6gbj.mjs +0 -1
- package/dist/chunks/debug-0.6.6-ghaq68w2.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.6-t8g2hnht.mjs +0 -1367
- package/dist/chunks/desktop-0.6.6-a4mc0bda.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.6-ncw5b2aj.mjs +0 -1
- package/dist/chunks/detection-0.6.6-214xzj0w.mjs +0 -1
- package/dist/chunks/diff-0.6.6-7nwejtje.mjs +0 -1
- package/dist/chunks/doctor-0.6.6-2wetaw67.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.6-wvp7h2xr.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.6-9jbsyrke.mjs +0 -1
- package/dist/chunks/effort-0.6.6-ncb29f3c.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.6-6pv90cvs.mjs +0 -1
- package/dist/chunks/envUtils-0.6.6-mwnbc88a.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.6-gac9h0m9.mjs +0 -1
- package/dist/chunks/environments-0.6.6-dyqm7563.mjs +0 -1
- package/dist/chunks/errors-0.6.6-q707mqqm.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.6-wd6w9zh5.mjs +0 -1
- package/dist/chunks/exit-0.6.6-8vj2yn2g.mjs +0 -1
- package/dist/chunks/export-0.6.6-ze9h049t.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.6-mp9th9v6.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.6-rmjhm3ng.mjs +0 -1
- package/dist/chunks/fast-0.6.6-764x92hh.mjs +0 -1
- package/dist/chunks/feedback-0.6.6-5x42sy6a.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.6-x2gcw7ns.mjs +0 -1
- package/dist/chunks/git-0.6.6-rw5vzxwm.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.6-f2n56xmf.mjs +0 -1
- package/dist/chunks/goal-0.6.6-9rtva22g.mjs +0 -4
- package/dist/chunks/grove-0.6.6-97994twv.mjs +0 -1
- package/dist/chunks/growthbook-0.6.6-8reejkag.mjs +0 -1
- package/dist/chunks/headless-0.6.6-qgkvkz56.mjs +0 -2
- package/dist/chunks/heapdump-0.6.6-s68hkj7v.mjs +0 -6
- package/dist/chunks/help-0.6.6-a74x2714.mjs +0 -1
- package/dist/chunks/hookChains-0.6.6-wrp608b1.mjs +0 -3
- package/dist/chunks/hooks-0.6.6-skad5kp2.mjs +0 -79
- package/dist/chunks/hooks-0.6.6-zy3p5ymd.mjs +0 -1
- package/dist/chunks/ide-0.6.6-xpbxyf5x.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.6-8ggh2rjn.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.6-xfbtg9vz.mjs +0 -1
- package/dist/chunks/index-0.6.6-0g09kzhh.mjs +0 -1
- package/dist/chunks/index-0.6.6-1p1fy7cz.mjs +0 -5
- package/dist/chunks/index-0.6.6-27ems47g.mjs +0 -9
- package/dist/chunks/index-0.6.6-4v2spjs5.mjs +0 -1
- package/dist/chunks/index-0.6.6-5me3rm4s.mjs +0 -9
- package/dist/chunks/index-0.6.6-70tj26f9.mjs +0 -1
- package/dist/chunks/index-0.6.6-8zcthv4z.mjs +0 -1
- package/dist/chunks/index-0.6.6-aef14n9j.mjs +0 -2
- package/dist/chunks/index-0.6.6-apxc13te.mjs +0 -1
- package/dist/chunks/index-0.6.6-dq42pv3d.mjs +0 -1
- package/dist/chunks/index-0.6.6-ebp0mayr.mjs +0 -1
- package/dist/chunks/index-0.6.6-ejmkdrzm.mjs +0 -1
- package/dist/chunks/index-0.6.6-kqbyedrd.mjs +0 -1
- package/dist/chunks/index-0.6.6-m0dywyy2.mjs +0 -30
- package/dist/chunks/index-0.6.6-pjnpey6d.mjs +0 -1
- package/dist/chunks/index-0.6.6-pykm48ja.mjs +0 -1
- package/dist/chunks/index-0.6.6-pzvhyk3s.mjs +0 -1
- package/dist/chunks/index-0.6.6-rxae4gv4.mjs +0 -1
- package/dist/chunks/index-0.6.6-s4wsdcz8.mjs +0 -2
- package/dist/chunks/index-0.6.6-spnbnmsj.mjs +0 -1
- package/dist/chunks/index-0.6.6-sqygenvb.mjs +0 -1
- package/dist/chunks/index-0.6.6-t43srges.mjs +0 -1
- package/dist/chunks/index-0.6.6-zgh9z1rm.mjs +0 -1
- package/dist/chunks/init-0.6.6-6yxjq5pc.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.6-eeynkqk3.mjs +0 -1
- package/dist/chunks/ink-0.6.6-keyn52qn.mjs +0 -1
- package/dist/chunks/insights-0.6.6-2wjtvjnd.mjs +0 -870
- package/dist/chunks/install-0.6.6-vdpf15fp.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.6-8zk1xfpw.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.6-j2a9c586.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.6-35f0r0ts.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.6-18x9yezm.mjs +0 -1
- package/dist/chunks/keybindings-0.6.6-9r4m4jvq.mjs +0 -2
- package/dist/chunks/knowledge-0.6.6-1rjjrsqn.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.6-32rrz0z9.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.6-tjygbn96.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.6-8xsdzy59.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.6-fr4gdkcy.mjs +0 -1
- package/dist/chunks/log-0.6.6-6nzgdpd0.mjs +0 -1
- package/dist/chunks/main-0.6.6-aq9jq72v.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.6-6bth8e56.mjs +0 -1
- package/dist/chunks/mcp-0.6.6-4xb16x7y.mjs +0 -1
- package/dist/chunks/mcp-0.6.6-chps3y13.mjs +0 -4
- package/dist/chunks/mcp-0.6.6-fxy3qcdv.mjs +0 -17
- package/dist/chunks/mcpb-0.6.6-bhpebgzm.mjs +0 -1
- package/dist/chunks/memory-0.6.6-89t2e497.mjs +0 -3
- package/dist/chunks/model-0.6.6-8bpwy4gg.mjs +0 -1
- package/dist/chunks/model-0.6.6-m3x9crqt.mjs +0 -2
- package/dist/chunks/node-0.6.6-rm65t01m.mjs +0 -12
- package/dist/chunks/oauth-0.6.6-akp7n7mb.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.6-ft40jfrp.mjs +0 -14
- package/dist/chunks/output-style-0.6.6-bvhtp4tc.mjs +0 -1
- package/dist/chunks/package-FMOR3ELU-0.6.6-0ykwzcyt.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.6-jve0dvpn.mjs +0 -1
- package/dist/chunks/parser-0.6.6-xa5qsjfh.mjs +0 -1
- package/dist/chunks/passes-0.6.6-tdv74eqj.mjs +0 -1
- package/dist/chunks/permissions-0.6.6-46df10nj.mjs +0 -3
- package/dist/chunks/permissions-0.6.6-8wcv4q7d.mjs +0 -1
- package/dist/chunks/plan-0.6.6-qw8t4gpk.mjs +0 -1
- package/dist/chunks/plist-0.6.6-5m3etrhq.mjs +0 -1
- package/dist/chunks/plugin-0.6.6-narwef70.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.6-v7kxdq6w.mjs +0 -1
- package/dist/chunks/plugins-0.6.6-10y990d0.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.6-0vkxazxv.mjs +0 -2
- package/dist/chunks/print-0.6.6-ym6tndvq.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.6-05da2gne.mjs +0 -1
- package/dist/chunks/process-0.6.6-da3h3zfe.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.6-m76r9et2.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.6-xxwnh0cf.mjs +0 -9
- package/dist/chunks/prompt-0.6.6-60sg3pmt.mjs +0 -1
- package/dist/chunks/prompt-0.6.6-vfh4fr6f.mjs +0 -1
- package/dist/chunks/prompts-0.6.6-vbfva1a5.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.6-73vezfvr.mjs +0 -13
- package/dist/chunks/provider-0.6.6-ch5qq6n3.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.6-jtysbyrm.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.6-5509e4cb.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.6-cfm37mqk.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.6-7p5mr9t1.mjs +0 -34
- package/dist/chunks/registry-0.6.6-z5cnbznq.mjs +0 -1
- package/dist/chunks/release-notes-0.6.6-90zjvqjx.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.6-jyxrw2jq.mjs +0 -2
- package/dist/chunks/remote-env-0.6.6-wyekcz2k.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.6-favpnrd5.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.6-snjkbaw2.mjs +0 -1
- package/dist/chunks/rename-0.6.6-3wang66e.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.6-dmxdjqjy.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.6-bvhzfdx8.mjs +0 -1
- package/dist/chunks/resume-0.6.6-zqn712k4.mjs +0 -2
- package/dist/chunks/rewind-0.6.6-h8kc53mc.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.6-wcam7tjd.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.6-qbm1rqdf.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.6-m882ckxv.mjs +0 -1
- package/dist/chunks/session-0.6.6-ezqqmxrd.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.6-0q34cmbe.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.6-3tek8yje.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.6-pgfjqhdj.mjs +0 -1
- package/dist/chunks/settings-0.6.6-ms6t0ray.mjs +0 -1
- package/dist/chunks/setup-0.6.6-n2vjxxmx.mjs +0 -5
- package/dist/chunks/sinks-0.6.6-mq00wrfa.mjs +0 -1
- package/dist/chunks/skills-0.6.6-vgr1dpf7.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.6-5nbjv2gp.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.6-z6adga96.mjs +0 -1
- package/dist/chunks/state-0.6.6-w2grqwqw.mjs +0 -1
- package/dist/chunks/stats-0.6.6-z11zcde6.mjs +0 -6
- package/dist/chunks/status-0.6.6-vbcqezgp.mjs +0 -1
- package/dist/chunks/stickers-0.6.6-c1pczjgd.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.6-95tf6phx.mjs +0 -1
- package/dist/chunks/tasks-0.6.6-pm1cbtt0.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.6-ec57k1fn.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.6-964bq8fq.mjs +0 -1
- package/dist/chunks/teleport-0.6.6-ksymynm4.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.6-r5q2y7w0.mjs +0 -1
- package/dist/chunks/theme-0.6.6-y46frztn.mjs +0 -1
- package/dist/chunks/thinkback-0.6.6-3j0w6yjk.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.6-rrcqmyxk.mjs +0 -1
- package/dist/chunks/toolPool-0.6.6-2jmzd43n.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.6-2rrd60cx.mjs +0 -1
- package/dist/chunks/tools-0.6.6-13yxm82t.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.6-yk1yrpb0.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.6-nhq9m5br.mjs +0 -69
- package/dist/chunks/types-0.6.6-stnrzm1j.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.6-7ytrj9jv.mjs +0 -4
- package/dist/chunks/update-0.6.6-5hf3mst5.mjs +0 -86
- package/dist/chunks/upgrade-0.6.6-y2gdvy9z.mjs +0 -1
- package/dist/chunks/upload-0.6.6-mwd7k6ym.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.6-2fc9x5pq.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.6-gbs8n3ne.mjs +0 -1
- package/dist/chunks/usage-0.6.6-8n0sxpw2.mjs +0 -1
- package/dist/chunks/util-0.6.6-hpjf8dnn.mjs +0 -1
- package/dist/chunks/utils-0.6.6-w937v7sr.mjs +0 -1
- package/dist/chunks/vim-0.6.6-b8g833z7.mjs +0 -1
- package/dist/chunks/watcher-0.6.6-bsqe9pa4.mjs +0 -1
- package/dist/chunks/wiki-0.6.6-2fstcx28.mjs +0 -132
- package/dist/chunks/worktree-0.6.6-yctkpbmx.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.6-yv2bvj70.mjs +0 -1
- package/dist/chunks/wrapper-0.6.6-02cwy0nm.mjs +0 -7
- /package/dist/chunks/{cli-0.6.6-mfee7shn.mjs → cli-0.6.7-790sqdfy.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.6-zk5p5pm9.mjs → cli-0.6.7-nzdwcqxv.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.6-7bzhgmhp.mjs → cli-0.6.7-pgcg3w1c.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BV as X,zV as M}from"./cli-0.6.6-s3y8t7we.mjs";import{Uaa as K,_aa as L,hba as W,l_ as B,u_ as V}from"./cli-0.6.6-q1j20ysc.mjs";import{wpa as Q}from"./cli-0.6.6-py5db2ds.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
|
|
2
|
-
export{F as gc,Y as hc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wpa as n}from"./cli-0.6.6-py5db2ds.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
-
export{o as fT,e as gT,i as hT,g as iT,r as jT,u as kT,f as lT,l as mT,t as nT};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{lpa as x,npa as y,rpa as C}from"./cli-0.6.6-dmtpt4r7.mjs";import{upa as k}from"./cli-0.6.6-py5db2ds.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as s7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{pc as l,qc as m,tc as u,uc as y}from"./cli-0.6.6-dmd73xa3.mjs";import{YE as p,_E as b}from"./cli-0.6.6-23snct9d.mjs";import{JY as s,LY as e,oZ as C}from"./cli-0.6.6-en2sexw5.mjs";import{u1 as i,v1 as r,w1 as g}from"./cli-0.6.6-arvcw19g.mjs";import{x1 as M}from"./cli-0.6.6-c267ckfv.mjs";import{spa as h,wpa as f}from"./cli-0.6.6-py5db2ds.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
|
|
2
|
-
export{T as nc,w as oc};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{$C as V,Aj as L,HO as X,aD as $,gq as O,hq as Z,oP as F}from"./cli-0.6.6-23snct9d.mjs";import{wpa as Y}from"./cli-0.6.6-py5db2ds.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
|
|
2
|
-
|
|
3
|
-
IMPORTANT CONTEXT:
|
|
4
|
-
- You are a separate, lightweight agent spawned to answer this one question
|
|
5
|
-
- The main agent is NOT interrupted - it continues working independently in the background
|
|
6
|
-
- You share the conversation context but are a completely separate instance
|
|
7
|
-
- Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
|
|
8
|
-
|
|
9
|
-
CRITICAL CONSTRAINTS:
|
|
10
|
-
- You have NO tools available - you cannot read files, run commands, search, or take any actions
|
|
11
|
-
- This is a one-off response - there will be no follow-up turns
|
|
12
|
-
- You can ONLY provide information based on what you already know from the conversation context
|
|
13
|
-
- NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
|
|
14
|
-
- If you don't know the answer, say so - do not offer to look it up or investigate
|
|
15
|
-
|
|
16
|
-
Simply answer the question with the information you have.</system-reminder>
|
|
17
|
-
|
|
18
|
-
${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
|
|
19
|
-
|
|
20
|
-
`).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
|
|
21
|
-
export{W as ph,b as qh,C as rh};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{wb as DY}from"./cli-0.6.6-yve3e654.mjs";import{Gc as LY,Jc as iQ}from"./cli-0.6.6-ze6rx70y.mjs";import{Mh as V0,Nh as p6}from"./cli-0.6.6-bn18ty4n.mjs";import{Zh as pY,_h as A6}from"./cli-0.6.6-phfaae6k.mjs";import{$l as $Z,$s as lQ,$u as i9,$y as D6,Ak as sY,Az as uY,BJ as P9,BP as rY,Bj as hY,Bw as h0,CN as dY,Cw as uZ,Cz as v6,DC as n,DJ as F9,Dw as k0,EN as lY,Ew as x0,FC as U6,Fw as u0,GA as cY,Gw as p0,HA as _6,HJ as M9,HO as s,Hw as pZ,IN as w6,Iw as cZ,Iz as CY,Jw as c0,Jz as TY,KP as iY,Ko as j9,Kw as m0,Kz as L6,LA as mY,Lo as i6,Lw as g0,MA as O6,Mw as d0,NG as T0,NO as aY,Nw as l0,OG as s9,OJ as o6,OP as zY,Ow as a0,Pw as n0,Qw as r0,RP as qY,Rw as i0,Sw as GQ,TI as PY,UO as nY,VO as kZ,WI as J6,Wr as M0,YE as C0,Yl as yZ,Ys as ZY,Yu as I0,Yy as xY,ZE as o9,ZO as xZ,Zr as b0,Zs as xQ,_r as fZ,_s as JY,am as e0,at as kY,cs as r9,jC as HY,kC as aQ,np as iZ,oP as wZ,op as AY,pk as L9,pp as FZ,qk as u6,qp as _Y,rk as z9,sk as q9,tM as BY,tN as gY,tj as KZ,tk as bZ,uk as Y0,vC as NY,vM as rQ,vk as D9,wC as nQ,wj as E0,wk as XZ,xC as RY,xk as Q0,yk as v9,zC as z6,zk as A9}from"./cli-0.6.6-23snct9d.mjs";import{UU as Q9,YU as R6}from"./cli-0.6.6-heymhe69.mjs";import{$V as d9,_V as y0,mW as $0,nW as j0,oW as l9,rW as P0,sW as a9,yW as F0,zW as n9}from"./cli-0.6.6-1a0fnhh0.mjs";import{JY as p,LY as M,oX as m9,oZ as g9}from"./cli-0.6.6-en2sexw5.mjs";import{t1 as a,u1 as E,v1 as b,w1 as J0}from"./cli-0.6.6-arvcw19g.mjs";import{x1 as c9}from"./cli-0.6.6-c267ckfv.mjs";import{C3 as $Y,G3 as K6,b6 as G6,e5 as jY}from"./cli-0.6.6-8yvh28tb.mjs";import{$$ as wY,D9 as TZ,F9 as x9,I9 as y9,J$ as $9,J7 as _Z,Jda as U0,K7 as k9,Mda as p9,Q$ as r6,Qda as e,W7 as GY,Y7 as dQ,Y8 as a6,Yda as w0,_aa as yY,aaa as EY,c_ as n6,caa as V6,f_ as Y9,hba as W6,k_ as T6,w8 as E9}from"./cli-0.6.6-q1j20ysc.mjs";import{hea as B0,pea as L0,tea as h9}from"./cli-0.6.6-b1wqaqv9.mjs";import{Zea as oY,ifa as $6}from"./cli-0.6.6-y305shhz.mjs";import{Bfa as Y,Cfa as h,Dfa as JZ,Efa as q,Ffa as EZ}from"./cli-0.6.6-gk8s7mch.mjs";import{Ifa as UY,Jfa as X6,Lfa as RZ,Ofa as z0,Pfa as q0,Qfa as D0,Rfa as v0,Ufa as A0,Vfa as _0,fga as O0,lga as u9}from"./cli-0.6.6-d5dexg4d.mjs";import{wga as g,zga as UZ}from"./cli-0.6.6-a837m6n5.mjs";import{Cga as Z9,Cha as HZ,Ega as C6,cha as ZZ,dha as WY,hha as PZ,zha as I}from"./cli-0.6.6-hcajyfhg.mjs";import{Eha as KY,Iha as gQ}from"./cli-0.6.6-t3vvf5fy.mjs";import{Lha as VY,Tha as w9,Uha as tZ,_ha as lZ}from"./cli-0.6.6-g6ja9jcs.mjs";import{$ja as eY,Ama as DZ,Bma as H9,Dma as N9,Ema as X0,Gma as B9,Ona as IY,Rna as BZ,Uja as NZ,_ja as W0,hla as OY,zma as J9}from"./cli-0.6.6-ncqg4xxp.mjs";import{spa as N0,vpa as hZ,wpa as OZ,xpa as rZ}from"./cli-0.6.6-py5db2ds.mjs";var WQ={};hZ(WQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function SZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:V,onSummarize:W,onClose:H,preselectedMessage:G}){let K=I0((U)=>U.fileHistory),[B,z]=T.useState(void 0),J=M0(),L=T.useMemo(t9,[]),_=T.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[w,v]=T.useState(_.length-1),P=Math.max(0,Math.min(w-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[D,F]=T.useState(G),[y,S]=T.useState(void 0);T.useEffect(()=>{if(!G||!J)return;let U=!1;return fZ(K,G.uuid).then((R)=>{if(!U)S(R)}),()=>{U=!0}},[G,J,K]);let[O,$]=T.useState(!1),[d,i]=T.useState(null),[o,C]=T.useState("both"),[k,x]=T.useState(""),[A,j]=T.useState("");function N(U){let R=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return R.push({value:"summarize",label:"Summarize from here",...c,onChange:x}),R.push({value:"nevermind",label:"Never mind"}),R}T.useEffect(()=>{g("tengu_message_selector_opened",{})},[]);async function u(U){Z(),$(!0);try{await X(U),$(!1),H()}catch(R){e(R),$(!1),z(`Failed to restore the conversation:
|
|
2
|
-
${R}`)}}async function l(U){let R=Q.indexOf(U),c=Q.length-1-R;if(g("tengu_message_selector_selected",{index_from_end:c,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){H();return}if(!J){await u(U);return}let m=await fZ(K,U.uuid);F(U),S(m)}async function VZ(U){if(g("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(G)H();else F(void 0);return}if(SZ(U)){Z(),$(!0),i(U),z(void 0);try{let m=U==="summarize_up_to"?"up_to":"from",YZ=(m==="up_to"?A:k).trim()||void 0;await W(D,YZ,m),$(!1),i(null),F(void 0),H()}catch(m){e(m),$(!1),i(null),F(void 0),z(`Failed to summarize:
|
|
3
|
-
${m}`)}return}Z(),$(!0),z(void 0);let R=null,c=null;if(U==="code"||U==="both")try{await V(D)}catch(m){R=m,e(R)}if(U==="conversation"||U==="both")try{await X(D)}catch(m){c=m,e(c)}if($(!1),F(void 0),c&&R)z(`Failed to restore the conversation and code:
|
|
4
|
-
${c}
|
|
5
|
-
${R}`);else if(c)z(`Failed to restore the conversation:
|
|
6
|
-
${c}`);else if(R)z(`Failed to restore the code:
|
|
7
|
-
${R}`);else H()}let WZ=P0(),t=T.useCallback(()=>{if(D&&!G){F(void 0);return}g("tengu_message_selector_cancelled",{}),H()},[H,D,G]),I9=T.useCallback(()=>v((U)=>Math.max(0,U-1)),[]),C9=T.useCallback(()=>v((U)=>Math.min(_.length-1,U+1)),[_.length]),T9=T.useCallback(()=>v(0),[]),R9=T.useCallback(()=>v(_.length-1),[_.length]),f9=T.useCallback(()=>{let U=_[w];if(U)l(U)},[_,w,l]);$0("confirm:no",t,{context:"Confirmation",isActive:!D}),j0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":T9,"messageSelector:bottom":R9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!O&&!B&&!D&&f});let[K0,G0]=T.useState({});T.useEffect(()=>{async function U(){if(!J)return;Promise.all(_.map(async(R,c)=>{if(R.uuid!==L){let m=b0(K,R.uuid),YZ=_.at(c+1),AZ=m?XQ(Q,R.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)G0((r)=>({...r,[c]:AZ}));else G0((r)=>({...r,[c]:void 0}))}}))}U()},[_,Q,L,K,J]);let vZ=J&&y?.filesChanged&&y.filesChanged.length>0,S9=!B&&!D&&!G&&f;return b(p,{flexDirection:"column",width:"100%",children:[E(F0,{color:"suggestion"}),b(p,{flexDirection:"column",marginX:1,gap:1,children:[E(M,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:b(M,{color:"error",children:["Error: ",B]})}),!f&&E(a,{children:E(M,{children:"Nothing to rewind to yet."})}),!B&&D&&f&&b(a,{children:[b(M,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),b(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),b(M,{dimColor:!0,children:["(",L0(new Date(D.timestamp)),")"]})]}),E(YQ,{selectedRestoreOption:o,canRestoreCode:!!vZ,diffStatsForRestore:y}),O&&SZ(d)?b(p,{flexDirection:"row",gap:1,children:[E(T0,{}),E(M,{children:"Summarizing…"})]}):E(C0,{isDisabled:O,options:N(!!vZ),defaultFocusValue:vZ?"both":"conversation",onFocus:(U)=>C(U),onChange:(U)=>VZ(U),onCancel:()=>G?H():F(void 0)}),vZ&&E(p,{marginBottom:1,children:b(M,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),S9&&b(a,{children:[J?E(M,{children:"Restore the code and/or conversation to the point before…"}):E(M,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((U,R)=>{let c=P+R,m=c===w,YZ=U.uuid===L,AZ=c in K0,r=K0[c],IZ=r?.filesChanged&&r.filesChanged.length;return b(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:m?b(M,{color:"permission",bold:!0,children:[_Z.pointer," "]}):E(M,{children:" "})}),b(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:m?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&E(p,{height:1,flexDirection:"row",children:r?E(a,{children:E(M,{dimColor:!m,color:"inactive",children:IZ?b(a,{children:[IZ===1&&r.filesChanged[0]?`${QZ.basename(r.filesChanged[0])} `:`${IZ} files changed `,E(f0,{diffStats:r})]}):E(a,{children:"No code changes"})})}):b(M,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(M,{dimColor:!0,italic:!0,children:WZ.pending?b(a,{children:["Press ",WZ.keyName," again to exit"]}):b(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(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 YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:V,diffStatsForRestore:W}=Q,H=V&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=E(M,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==W||Z[5]!==X||Z[6]!==H)B=!SZ(X)&&(H?E(QQ,{diffStatsForRestore:W}):E(M,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=W,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=b(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=E(M,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let V=X.filesChanged.length,W;if(V===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];W=K}else if(V===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];W=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];W=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=E(f0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==W||Z[12]!==H)G=E(a,{children:b(M,{dimColor:!0,children:["The code will be restored"," ",H," in ",W,"."]})}),Z[11]=W,Z[12]=H,Z[13]=G;else G=Z[13];return G}function f0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let V;if(Z[0]!==X.insertions)V=b(M,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=V;else V=Z[1];let W;if(Z[2]!==X.deletions)W=b(M,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=W;else W=Z[3];let H;if(Z[4]!==V||Z[5]!==W)H=b(a,{children:[V,W]}),Z[4]=V,Z[5]=W,Z[6]=H;else H=Z[6];return H}function H0(Q){let Z=GZ.c(31),{userMessage:X,color:V,dimColor:W,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let S;if(Z[0]!==V||Z[1]!==W)S=E(p,{width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"(current)"})}),Z[0]=V,Z[1]=W,Z[2]=S;else S=Z[2];return S}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,w,v,P,f,D;if(Z[3]!==V||Z[4]!==K||Z[5]!==B||Z[6]!==W||Z[7]!==z||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Z:{let S=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=U0(S);if(E0(O)){let $;if(Z[17]!==V||Z[18]!==W)$=E(p,{flexDirection:"row",width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"((empty message))"})}),Z[17]=V,Z[18]=W,Z[19]=$;else $=Z[19];D=$;break Z}if(O.includes("<bash-input>")){let $=KZ(O,"bash-input");if($){let d;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))d=E(M,{color:"bashBorder",children:"!"}),Z[20]=d;else d=Z[20];D=b(p,{flexDirection:"row",width:"100%",children:[d,b(M,{color:V,dimColor:W,children:[" ",$]})]});break Z}}if(O.includes(`<${RZ}>`)){let $=KZ(O,RZ),d=KZ(O,"command-args"),i=KZ(O,"skill-format")==="true";if($)if(i){D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["Skill(",$,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["/",$," ",d]})});break Z}}L=p,P="row",f="100%",J=M,_=V,w=W,v=G?B0(O,K-G,!0):O.slice(0,500).split(`
|
|
8
|
-
`).slice(0,4).join(`
|
|
9
|
-
`)}Z[3]=V,Z[4]=K,Z[5]=B,Z[6]=W,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=w,Z[13]=v,Z[14]=P,Z[15]=f,Z[16]=D}else J=Z[9],L=Z[10],_=Z[11],w=Z[12],v=Z[13],P=Z[14],f=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==w||Z[24]!==v)F=E(J,{color:_,dimColor:w,children:v}),Z[21]=J,Z[22]=_,Z[23]=w,Z[24]=v,Z[25]=F;else F=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)y=E(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=y;else y=Z[30];return y}function XQ(Q,Z,X){let V=Q.findIndex((B)=>B.uuid===Z);if(V===-1)return;let W=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(W===-1)W=Q.length;let H=[],G=0,K=0;for(let B=V+1;B<W;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=TZ(L.lines,(v)=>v.startsWith("+")),w=TZ(L.lines,(v)=>v.startsWith("-"));G+=_,K+=w}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],V=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(V.indexOf(`<${D0}>`)!==-1||V.indexOf(`<${v0}>`)!==-1||V.indexOf(`<${z0}>`)!==-1||V.indexOf(`<${q0}>`)!==-1||V.indexOf(`<${_0}>`)!==-1||V.indexOf(`<${A0}>`)!==-1||V.indexOf(`<${O0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let V=Q[X];if(!V)continue;if(kZ(V))continue;if(xZ(V))continue;if(V.type==="progress")continue;if(V.type==="system")continue;if(V.type==="attachment")continue;if(V.type==="user"&&V.isMeta)continue;if(V.type==="assistant"){let W=V.message.content;if(Array.isArray(W)){if(W.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(V.type==="user")return!1}return!0}var GZ,T,CZ=7;var KQ=OZ(()=>{k9();UZ();i9();r9();w0();a9();g9();l9();p9();wZ();o9();s9();d9();u9();x9();h9();n9();J0();GZ=N0(m9(),1),T=N0(c9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>M6});function M6(){let Q=oY("tengu_kairos_cron_config",XZ,j6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var j6=60000,oZ=1800000,P6=2592000000,F6;var I6=OZ(()=>{JZ();$6();sY();EZ();F6=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(oZ),oneShotMaxMs:Y.number().int().min(0).max(oZ),oneShotFloorMs:Y.number().int().min(0).max(oZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as S6,unlink as X9,writeFile as eZ}from"fs/promises";import{dirname as h6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await S6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),V=ZZ(Q);try{return await eZ(X,V,{flag:"wx"}),!0}catch(W){let H=tZ(W);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(h6(X),{recursive:!0});try{return await eZ(X,V,{flag:"wx"}),!0}catch(G){if(tZ(G)==="EEXIST")return!1;throw G}}throw W}}function sZ(Q){MZ?.(),MZ=Z9(async()=>{await qZ(Q)})}async function Z0(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(V,Z))return LZ=void 0,sZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let W=await W9(Z);if(W?.sessionId===X){if(W.pid!==process.pid)await eZ(zZ(Z),ZZ(V)),sZ(Q);return!0}if(W&&Q9(W.pid)){if(LZ!==W.sessionId)LZ=W.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${W.sessionId} (PID ${W.pid})`);return!1}if(W)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${W.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(V,Z))return LZ=void 0,sZ(Q),!0;return!1}async function qZ(Q){MZ?.(),MZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V=await W9(Z);if(!V||V.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,MZ,LZ;var K9=OZ(()=>{JZ();BZ();C6();HZ();lZ();R6();T6();EZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>O9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>g6,buildMissedTaskNotification:()=>U9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function O9(Q){let Z=X0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:V0(Z.prompt),reason:Z.reason}}function g6(Q){let{onFire:Z,isLoading:X,assistantMode:V=!1,onFireTask:W,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,w=[],v=new Map,P=new Set,f=new Set,D=null,F=null,y=null,S=null,O=!1,$=!1;async function d(C){let k=await q9(K);if(O)return;if(w=k,!C)return;let x=Date.now(),A=A9(k,x).filter((j)=>!j.recurring&&!P.has(j.id)&&(!L||L(j)));if(A.length>0){for(let j of A)P.add(j.id),v.set(j.id,1/0);if(g("tengu_scheduled_task_missed",{count:A.length,taskIds:A.map((j)=>j.id).join(",")}),H)H(A);else Z(U9(A));Y0(A.map((j)=>j.id),K).catch((j)=>I(`[ScheduledTasks] failed to remove missed tasks: ${j}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!V)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function j(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=v.get(N.id);if(l===void 0)l=N.recurring?Q0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:v9(N.cron,N.createdAt,N.id,A)??1/0,v.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?V0(N.prompt,void 0,N.agentId):N.prompt;if(W)W(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Q0(N.cron,C,N.id,A)??1/0;if(v.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),v.delete(N.id);else f.add(N.id),Y0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),v.delete(N.id)}if($){for(let N of w)j(N,!1);if(x.length>0){for(let N of x)f.add(N);D9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())j(u,!0);let N=O9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("tengu_schedule_wakeup_fire",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){v.clear();return}for(let N of v.keys())if(!k.has(N))v.delete(N)}async function o(){if(O)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-0.6.6-pykm48ja.mjs");if(O)return;if($=await Z0(_).catch(()=>!1),O){if($)$=!1,qZ(_);return}if(!$)y=setInterval(()=>{Z0(_).then((x)=>{if(O){if(x)qZ(_);return}if(x){if($=!0,y)clearInterval(y),y=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),y.unref?.();d(!0);let k=z9(K);S=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),S.on("add",()=>void d(!1)),S.on("change",()=>void d(!1)),S.on("unlink",()=>{if(!O)w=[],v.clear()}),F=setInterval(i,G9),F.unref?.()}return{start(){if(O=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${DZ()}, hasTasks=${bZ()}`),!DZ()&&(V||bZ()))J9(!0);if(DZ()){o();return}D=setInterval((C)=>{if(DZ())C()},G9,o),D.unref?.()},stop(){if(O=!0,D)clearInterval(D),D=null;if(F)clearInterval(F),F=null;if(y)clearInterval(y),y=null;if(S?.close(),S=null,$)$=!1,qZ(_)},getNextFireTime(){let C=1/0;for(let k of v.values())if(k<C)C=k;if(K===void 0){let k=X0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function U9(Q){let Z=Q.length>1,X=`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.`,V=Q.map((W)=>{let H=`[${L9(W.cron)}, created ${new Date(W.createdAt).toLocaleString()}]`,G=(W.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
|
|
12
|
-
${K}
|
|
13
|
-
${W.prompt}
|
|
14
|
-
${K}`});return`${X}
|
|
15
|
-
|
|
16
|
-
${V.join(`
|
|
17
|
-
|
|
18
|
-
`)}`}var G9=1000,c6=300,m6=5000;var l6=OZ(()=>{BZ();UZ();u6();sY();K9();HZ();p6()});import{randomUUID as dZ}from"crypto";JZ();EZ();GQ();var JQ=q(()=>Y.unknown()),HQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),NQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(u0(),Y.array(HQ())).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(),g0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),EX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(c0()),account:m0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:i0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),BQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),LQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(k0()).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.")),zQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:x0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),qQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),DQ=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.")),vQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),yX=q(()=>Y.object({mcpServers:Y.array(uZ())}).describe("Response containing the current status of all MCP server connections.")),AQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),_Q=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),$X=q(()=>Y.object({categories:Y.array(_Q()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),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.).")),UQ=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.")),jX=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.")),wQ=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.")),PX=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).")),EQ=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.")),yQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:p0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),$Q=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:JQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),jQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),h0())}).describe("Replaces the set of dynamically managed MCP servers.")),FX=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.")),PQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),MX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(uZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),FQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),MQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),bQ=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),IQ=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.")),CQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),bX=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.")),TQ=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).")),o0=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.")),RQ=q(()=>Y.union([BQ(),LQ(),NQ(),zQ(),qQ(),DQ(),vQ(),AQ(),yQ(),$Q(),UQ(),wQ(),EQ(),jQ(),PQ(),FQ(),MQ(),bQ(),IQ(),CQ(),TQ()])),mZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:RQ()})),fQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),SQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),s0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([fQ(),SQ()])})),hQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),t0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),kQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),IX=q(()=>Y.union([r0(),l0(),a0(),n0(),s0(),mZ(),hQ(),t0()])),CX=q(()=>Y.union([d0(),mZ(),s0(),t0(),kQ()]));lQ();HZ();dQ();lZ();JZ();HZ();EZ();e0();xQ();var xX=q(()=>h.object({tool_name:h.string().describe("The name of the tool requesting permission"),input:h.record(h.string(),h.unknown()).describe("The input for the tool"),tool_use_id:h.string().optional().describe("The unique tool use request ID")})),YY=q(()=>h.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),uQ=q(()=>h.object({behavior:h.literal("allow"),updatedInput:h.record(h.string(),h.unknown()),updatedPermissions:h.array(ZY()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:h.string().optional(),decisionClassification:YY()})),pQ=q(()=>h.object({behavior:h.literal("deny"),message:h.string(),interrupt:h.boolean().optional(),toolUseID:h.string().optional(),decisionClassification:YY()})),gZ=q(()=>h.union([uQ(),pQ()]));function jZ(Q,Z,X,V){let W={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)V.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),$Z(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:W}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),V.abortController.abort();return{...Q,decisionReason:W}}rQ();gQ();PZ();JZ();aQ();qY();e0();iQ();PZ();nQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(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 tQ(Q,Z,X,V){let W;try{W=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{W=Q.name}return{tool_name:Q.name,action_description:W,tool_use_id:X,request_id:V,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new NY;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>eQ){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 X=Q.indexOf(`
|
|
20
|
-
`);if(X===-1)break;let V=Q.slice(0,X);Q=Q.slice(X+1);let W=await this.processLine(V);if(W)GY("info","cli_stdin_message_parsed",{type:W.type}),yield W}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.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 X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let V=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(W){X.reject(W)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[V,W]of Object.entries(Z.variables))process.env[V]=W;I(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)HY(X,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let G=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof G==="string"&&this.resolvedToolUseIds.has(G)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${G} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let W=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(W))}catch(H){V.reject(H)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")XY(`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){KY(QY(Q)+`
|
|
21
|
-
`)}async sendRequest(Q,Z,X,V=dZ()){let W={type:"control_request",request_id:V,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(W),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(W);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:V});let G=this.pendingRequests.get(V);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(V,{request:{type:"control_request",request_id:V,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(V)}}createCanUseTool(Q){return async(Z,X,V,W,H,G)=>{let K=G??await BY(Z,X,V,W,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=V.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,V,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let w=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:V.agentId},gZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),v=await Promise.race([L,w]);if(v.source==="hook"){if(v.decision)return w.catch(()=>{}),B.abort(),v.decision;let P=await w;return jZ(P.result,Z,X,V)}return jZ(v.result,Z,X,V)}catch(L){return jZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,V)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,V,W)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:V||void 0},JY(),W)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,V,W,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:W,url:H,elicitation_id:G,requested_schema:X},o0(),V)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},gZ())).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 XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,V,W){let G=V.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,V,G,W,V.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){$Z(L);let _=V.getAppState(),w=yZ(_.toolPermissionContext,L);V.setAppState((v)=>{if(v.toolPermissionContext===w)return v;return{...v,toolPermissionContext:w}})}return{behavior:"allow",updatedInput:J,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}_Y();function HV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?Q6(Z):Z,uuid:X}}function Q6(Q){if(!Q.some(vY))return Q;return Q.map((Z)=>{if(!vY(Z))return Z;let X=Z.source,V=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:AY(Z.source.data);return{...Z,source:{type:"base64",media_type:V,data:Z.source.data}}})}function vY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}BZ();J6();V6();G6();X6();K6();W6();import{randomUUID as H6}from"crypto";function N6(Q){return Q===wY?EY:Q}function OV(Q){let X=yY()?.outputStyle??PY,V={type:"system",subtype:"init",cwd:UY(),session_id:NZ(),tools:Q.tools.map((W)=>N6(W.name)),mcp_servers:Q.mcpClients.map((W)=>({name:W.name,status:W.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),apiKeySource:jY().source,betas:OY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((W)=>W.agentType),skills:Q.skills.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),plugins:Q.plugins.map((W)=>({name:W.name,path:W.path,source:W.source})),uuid:H6()};return V.fast_mode_state=$Y(Q.model,Q.fastMode),V}var FY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function B6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let V=[],W=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(W){if(W==="["&&L==="["){H=J;continue}if(L!==FY[W])continue;if(W==="'"&&G(Q[J+1]))continue;V.push({start:H,end:J+1}),W=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in FY)W=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(V.some((P)=>L>=P.start&&L<P.end))continue;let w=Q[L-1],v=Q[_];if(w==="/"||w==="\\"||w==="-")continue;if(v==="/"||v==="\\"||v==="-"||v==="?")continue;if(v==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function wV(Q){return B6(Q,"ultrareview")}UZ();wZ();w6();_6();O6();v6();qY();_Y();D6();wZ();U6();A6();import{randomUUID as E6}from"crypto";BZ();UZ();wZ();L6();z6();import{randomUUID as q6}from"crypto";function MY(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 bY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function fY(Q,Z,X,V,W,H,G){let K=q6();IY(K);let B=typeof Q==="string"?Q:Q.find((w)=>w.type==="text")?.text||"";RY(B);let z=typeof Q==="string"?Q:Q.findLast((w)=>w.type==="text")?.text||"";if(z)TY("user_prompt",{prompt_length:String(z.length),prompt:CY(z),"prompt.id":K});let J=MY(B),L=bY(B);if(g("tengu_input_prompt",{is_negative:J,is_keep_going:L}),Z.length>0){let w=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...w,...Z],uuid:W,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}return{messages:[s({content:Q,uuid:W,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}async function iV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:V,context:W,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:w,bridgeOrigin:v,isMeta:P,skipAttachments:f}){let D=typeof Q==="string"?Q:null;if(X==="prompt"&&D!==null&&!P)B?.(D);n("query_process_user_input_base_start");let F=W.getAppState(),y=await y6(Q,X,V,W,H,G,K,z,J,L,_,F.toolPermissionContext.mode,w,v,P,f,Z);if(n("query_process_user_input_base_end"),!y.shouldQuery)return y;n("query_hooks_start");let S=hY(Q)||"";for await(let O of iY(S,F.toolPermissionContext.mode,W,W.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let $=rY(O.blockingError);return{messages:[aY(`${$}
|
|
22
|
-
|
|
23
|
-
Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let $=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:$})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(kY({type:"hook_additional_context",content:O.additionalContexts.map(SY),hookName:"UserPromptSubmit",toolUseID:`hook-${E6()}`,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:SY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return n("query_hooks_end"),y}var aZ=1e4;function SY(Q){if(Q.length>aZ)return`${Q.substring(0,aZ)}… [output truncated - exceeded ${aZ} characters]`;return Q}async function y6(Q,Z,X,V,W,H,G,K,B,z,J,L,_,w,v,P,f){let D=null,F=[],y=[],S=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)y.push(l)}A.push(u.block)}else A.push(N);S=A,n("query_image_processing_end");let j=A[A.length-1];if(j?.type==="text")D=j.text,F=A.slice(0,-1);else F=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=W?Object.values(W).filter(cY):[],$=O.map((A)=>A.id),d=W?await xY(W):new Map;n("query_pasted_image_processing_start");let i=await Promise.all(O.map(async(A)=>{let j={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await iZ(j),originalDimensions:A.dimensions,sourcePath:A.sourcePath??d.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:j,sourcePath:N}of i){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)y.push(u)}else if(j){let u=FZ(j,N);if(u)y.push(u)}else if(N)y.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(w&&D!==null&&D.startsWith("/")){let A=pY(D),j=A?lY(A.commandName,V.options.commands):void 0;if(j)if(dY(j))C=!1;else{let N=`/${gY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),nY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&D!==null&&(Z!=="prompt"||C||!D.startsWith("/"));n("query_attachment_loading_start");let x=k?await uY(mY(D,V,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.6.6-m76r9et2.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.6.6-xxwnh0cf.mjs"),j=await A(D,F,o,x,V,X,K,B,J);return nZ(j,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),j=x.find((N)=>N.attachment.type==="agent_mention");if(j){let N=`@agent-${j.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("tengu_subagent_at_mention",{is_subagent_only:u,is_prefix:l})}}return nZ(fY(S,o,$,x,K,L,v),y)}function nZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}i6();BZ();HZ();lZ();n6();a6();w0();o6();r6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let V=[],W=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)V.push(G);else if(K.sourceIsFallback)H.push(G);else if(!j9(z,B.source))W.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:V,sourceChanged:W,upToDate:H}}async function IW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let V=e6(Z,X,{projectRoot:W0()}),W=[...V.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...V.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of W){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&$9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:V.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:w}=G[J];Q?.onProgress?.({type:"installing",name:L,action:w,index:J+1,total:G.length});try{let v=await M9(_);if(w==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:v.alreadyMaterialized})}catch(v){let P=w9(v);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(v)}}return{installed:K,updated:B,failed:z,upToDate:V.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??W0(),V=E9(X);return{...Q,path:t6(V??X,Q.path)}}return Q}
|
|
24
|
-
export{HV as U,N6 as V,OV as W,e9 as X,S0 as Y,VQ as Z,WQ as _,KQ as $,wV as aa,iV as ba,gZ as ca,jZ as da,QY as ea,oQ as fa,Z6 as ga,e6 as ha,IW as ia,M6 as ja,b6 as ka,I6 as la,g6 as ma,d6 as na,l6 as oa};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Fha as ZX,Iha as y8}from"./cli-0.6.6-t3vvf5fy.mjs";import{Uha as r,_ha as R8}from"./cli-0.6.6-g6ja9jcs.mjs";import{bia as $X,eia as NJ,oia as j8}from"./cli-0.6.6-nw0nh4e0.mjs";import{$ia as h,Aia as fX,Bia as fQ,Cia as T6,Dia as $Q,Eia as cX,Hia as JQ,Iia as pX,Jia as g,Kia as oJ,Lia as n,Mia as LQ,Pia as pQ,Qia as v6,Rna as sQ,Tia as l,Uia as wQ,Uja as XX,Via as w,Wia as kQ,Zia as yJ,_ia as OX,aja as vJ,bja as tJ,cja as hX,dja as hJ,eja as wX,fja as y,gja as OJ,hja as gQ,ija as m6,lja as O,mja as GJ,pia as dQ,qia as P6,via as qJ,wia as oX,zia as eJ}from"./cli-0.6.6-ncqg4xxp.mjs";import{$na as J6,Sna as SJ,Tna as CX,Yna as cJ,Zna as TX,_na as HJ,coa as L,doa as XJ,ioa as LJ,joa as zX,ooa as V,poa as xJ}from"./cli-0.6.6-sqvm4f1y.mjs";import{vpa as uJ,wpa as U,ypa as N,zpa as W}from"./cli-0.6.6-py5db2ds.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
-
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
-
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
-
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
-
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
-
export{zJ as Aga,BJ as Bga,IJ as Cga,r8 as Dga,CJ as Ega,e as Fga,_J as Gga,m as Hga,JJ as Iga,j as Jga,QJ as Kga,R as Lga,k as Mga,_ as Nga,d as Oga,$J as Pga,lJ as Qga,iJ as Rga,rJ as Sga,b as Tga,ZJ as Uga,ZQ as Vga,YQ as Wga,BQ as Xga,IQ as Yga,RQ as Zga,AQ as _ga,nQ as $ga,lQ as aha,E as bha,KJ as cha,I8 as dha,C8 as eha,F8 as fha,V8 as gha,UJ as hha,JX as iha,H1 as jha,G1 as kha,s as lha,K1 as mha,U1 as nha,N1 as oha,QX as pha,g8 as qha,T as rha,L1 as sha,b8 as tha,GX as uha,KX as vha,_1 as wha,S1 as xha,O1 as yha,D8 as zha,UX as Aha,w1 as Bha,aQ as Cha};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{upa as tZ}from"./cli-0.6.6-py5db2ds.mjs";var u0=tZ((g0,LZ)=>{function JZ(Z){if(Z instanceof Map)Z.clear=Z.delete=Z.set=function(){throw Error("map is read-only")};else if(Z instanceof Set)Z.add=Z.clear=Z.delete=function(){throw Error("set is read-only")};return Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(J){var z=Z[J];if(typeof z=="object"&&!Object.isFrozen(z))JZ(z)}),Z}var yZ=JZ,aZ=JZ;yZ.default=aZ;class ZZ{constructor(Z){if(Z.data===void 0)Z.data={};this.data=Z.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function M(Z){return Z.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function x(Z,...J){let z=Object.create(null);for(let $ in Z)z[$]=Z[$];return J.forEach(function($){for(let P in $)z[P]=$[P]}),z}var oZ="</span>",GZ=(Z)=>{return!!Z.kind};class HZ{constructor(Z,J){this.buffer="",this.classPrefix=J.classPrefix,Z.walk(this)}addText(Z){this.buffer+=M(Z)}openNode(Z){if(!GZ(Z))return;let J=Z.kind;if(!Z.sublanguage)J=`${this.classPrefix}${J}`;this.span(J)}closeNode(Z){if(!GZ(Z))return;this.buffer+=oZ}value(){return this.buffer}span(Z){this.buffer+=`<span class="${Z}">`}}class QZ{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Z){this.top.children.push(Z)}openNode(Z){let J={kind:Z,children:[]};this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Z){return this.constructor._walk(Z,this.rootNode)}static _walk(Z,J){if(typeof J==="string")Z.addText(J);else if(J.children)Z.openNode(J),J.children.forEach((z)=>this._walk(Z,z)),Z.closeNode(J);return Z}static _collapse(Z){if(typeof Z==="string")return;if(!Z.children)return;if(Z.children.every((J)=>typeof J==="string"))Z.children=[Z.children.join("")];else Z.children.forEach((J)=>{QZ._collapse(J)})}}class BZ extends QZ{constructor(Z){super();this.options=Z}addKeyword(Z,J){if(Z==="")return;this.openNode(J),this.addText(Z),this.closeNode()}addText(Z){if(Z==="")return;this.add(Z)}addSublanguage(Z,J){let z=Z.root;z.kind=J,z.sublanguage=!0,this.add(z)}toHTML(){return new HZ(this,this.options).value()}finalize(){return!0}}function eZ(Z){return new RegExp(Z.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function E(Z){if(!Z)return null;if(typeof Z==="string")return Z;return Z.source}function Z0(...Z){return Z.map((z)=>E(z)).join("")}function q0(...Z){return"("+Z.map((z)=>E(z)).join("|")+")"}function J0(Z){return new RegExp(Z.toString()+"|").exec("").length-1}function Q0(Z,J){let z=Z&&Z.exec(J);return z&&z.index===0}var X0=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V0(Z,J="|"){let z=0;return Z.map(($)=>{z+=1;let P=z,v=E($),D="";while(v.length>0){let Q=X0.exec(v);if(!Q){D+=v;break}if(D+=v.substring(0,Q.index),v=v.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1])D+="\\"+String(Number(Q[1])+P);else if(D+=Q[0],Q[0]==="(")z++}return D}).map(($)=>`(${$})`).join(J)}var z0=/\b\B/,DZ="[a-zA-Z]\\w*",XZ="[a-zA-Z_]\\w*",VZ="\\b\\d+(\\.\\d+)?",CZ="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",kZ="\\b(0b[01]+)",Y0="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W0=(Z={})=>{let J=/^#![ ]*\//;if(Z.binary)Z.begin=Z0(J,/.*\b/,Z.binary,/\b.*/);return x({className:"meta",begin:J,end:/$/,relevance:0,"on:begin":(z,$)=>{if(z.index!==0)$.ignoreMatch()}},Z)},p={begin:"\\\\[\\s\\S]",relevance:0},$0={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},F0={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},jZ={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},r=function(Z,J,z={}){let $=x({className:"comment",begin:Z,end:J,contains:[]},z);return $.contains.push(jZ),$.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),$},G0=r("//","$"),U0=r("/\\*","\\*/"),K0=r("#","$"),I0={className:"number",begin:VZ,relevance:0},P0={className:"number",begin:CZ,relevance:0},v0={className:"number",begin:kZ,relevance:0},y0={className:"number",begin:VZ+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H0={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},B0={className:"title",begin:DZ,relevance:0},D0={className:"title",begin:XZ,relevance:0},C0={begin:"\\.\\s*"+XZ,relevance:0},k0=function(Z){return Object.assign(Z,{"on:begin":(J,z)=>{z.data._beginMatch=J[1]},"on:end":(J,z)=>{if(z.data._beginMatch!==J[1])z.ignoreMatch()}})},i=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z0,IDENT_RE:DZ,UNDERSCORE_IDENT_RE:XZ,NUMBER_RE:VZ,C_NUMBER_RE:CZ,BINARY_NUMBER_RE:kZ,RE_STARTERS_RE:Y0,SHEBANG:W0,BACKSLASH_ESCAPE:p,APOS_STRING_MODE:$0,QUOTE_STRING_MODE:F0,PHRASAL_WORDS_MODE:jZ,COMMENT:r,C_LINE_COMMENT_MODE:G0,C_BLOCK_COMMENT_MODE:U0,HASH_COMMENT_MODE:K0,NUMBER_MODE:I0,C_NUMBER_MODE:P0,BINARY_NUMBER_MODE:v0,CSS_NUMBER_MODE:y0,REGEXP_MODE:H0,TITLE_MODE:B0,UNDERSCORE_TITLE_MODE:D0,METHOD_GUARD:C0,END_SAME_AS_BEGIN:k0});function j0(Z,J){if(Z.input[Z.index-1]===".")J.ignoreMatch()}function A0(Z,J){if(!J)return;if(!Z.beginKeywords)return;if(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=j0,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0)Z.relevance=0}function w0(Z,J){if(!Array.isArray(Z.illegal))return;Z.illegal=q0(...Z.illegal)}function L0(Z,J){if(!Z.match)return;if(Z.begin||Z.end)throw Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}function O0(Z,J){if(Z.relevance===void 0)Z.relevance=1}var T0=["of","and","for","in","not","or","if","then","parent","list","value"],R0="keyword";function AZ(Z,J,z=R0){let $={};if(typeof Z==="string")P(z,Z.split(" "));else if(Array.isArray(Z))P(z,Z);else Object.keys(Z).forEach(function(v){Object.assign($,AZ(Z[v],J,v))});return $;function P(v,D){if(J)D=D.map((Q)=>Q.toLowerCase());D.forEach(function(Q){let X=Q.split("|");$[X[0]]=[v,S0(X[0],X[1])]})}}function S0(Z,J){if(J)return Number(J);return _0(Z)?0:1}function _0(Z){return T0.includes(Z.toLowerCase())}function x0(Z,{plugins:J}){function z(Q,X){return new RegExp(E(Q),"m"+(Z.case_insensitive?"i":"")+(X?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,X){X.position=this.position++,this.matchIndexes[this.matchAt]=X,this.regexes.push([X,Q]),this.matchAt+=J0(Q)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let Q=this.regexes.map((X)=>X[1]);this.matcherRe=z(V0(Q),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;let X=this.matcherRe.exec(Q);if(!X)return null;let I=X.findIndex((k,S)=>S>0&&k!==void 0),U=this.matchIndexes[I];return X.splice(0,I),Object.assign(X,U)}}class P{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];let X=new $;return this.rules.slice(Q).forEach(([I,U])=>X.addRule(I,U)),X.compile(),this.multiRegexes[Q]=X,X}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,X){if(this.rules.push([Q,X]),X.type==="begin")this.count++}exec(Q){let X=this.getMatcher(this.regexIndex);X.lastIndex=this.lastIndex;let I=X.exec(Q);if(this.resumingScanAtSamePosition())if(I&&I.index===this.lastIndex);else{let U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,I=U.exec(Q)}if(I){if(this.regexIndex+=I.position+1,this.regexIndex===this.count)this.considerAll()}return I}}function v(Q){let X=new P;if(Q.contains.forEach((I)=>X.addRule(I.begin,{rule:I,type:"begin"})),Q.terminatorEnd)X.addRule(Q.terminatorEnd,{type:"end"});if(Q.illegal)X.addRule(Q.illegal,{type:"illegal"});return X}function D(Q,X){let I=Q;if(Q.isCompiled)return I;[L0].forEach((k)=>k(Q,X)),Z.compilerExtensions.forEach((k)=>k(Q,X)),Q.__beforeBegin=null,[A0,w0,O0].forEach((k)=>k(Q,X)),Q.isCompiled=!0;let U=null;if(typeof Q.keywords==="object")U=Q.keywords.$pattern,delete Q.keywords.$pattern;if(Q.keywords)Q.keywords=AZ(Q.keywords,Z.case_insensitive);if(Q.lexemes&&U)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(U=U||Q.lexemes||/\w+/,I.keywordPatternRe=z(U,!0),X){if(!Q.begin)Q.begin=/\B|\b/;if(I.beginRe=z(Q.begin),Q.endSameAsBegin)Q.end=Q.begin;if(!Q.end&&!Q.endsWithParent)Q.end=/\B|\b/;if(Q.end)I.endRe=z(Q.end);if(I.terminatorEnd=E(Q.end)||"",Q.endsWithParent&&X.terminatorEnd)I.terminatorEnd+=(Q.end?"|":"")+X.terminatorEnd}if(Q.illegal)I.illegalRe=z(Q.illegal);if(!Q.contains)Q.contains=[];if(Q.contains=[].concat(...Q.contains.map(function(k){return f0(k==="self"?Q:k)})),Q.contains.forEach(function(k){D(k,I)}),Q.starts)D(Q.starts,X);return I.matcher=v(I),I}if(!Z.compilerExtensions)Z.compilerExtensions=[];if(Z.contains&&Z.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=x(Z.classNameAliases||{}),D(Z)}function wZ(Z){if(!Z)return!1;return Z.endsWithParent||wZ(Z.starts)}function f0(Z){if(Z.variants&&!Z.cachedVariants)Z.cachedVariants=Z.variants.map(function(J){return x(Z,{variants:null},J)});if(Z.cachedVariants)return Z.cachedVariants;if(wZ(Z))return x(Z,{starts:Z.starts?x(Z.starts):null});if(Object.isFrozen(Z))return x(Z);return Z}var b0="10.7.3";function N0(Z){return Boolean(Z||Z==="")}function M0(Z){let J={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,M(this.code);let $={};if(this.autoDetect)$=Z.highlightAuto(this.code),this.detectedLanguage=$.language;else $=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return $.value},autoDetect(){return!this.language||N0(this.autodetect)},ignoreIllegals(){return!0}},render($){return $("pre",{},[$("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:J,VuePlugin:{install($){$.component("highlightjs",J)}}}}var E0={"after:highlightElement":({el:Z,result:J,text:z})=>{let $=UZ(Z);if(!$.length)return;let P=document.createElement("div");P.innerHTML=J.value,J.value=p0($,UZ(P),z)}};function qZ(Z){return Z.nodeName.toLowerCase()}function UZ(Z){let J=[];return function z($,P){for(let v=$.firstChild;v;v=v.nextSibling)if(v.nodeType===3)P+=v.nodeValue.length;else if(v.nodeType===1){if(J.push({event:"start",offset:P,node:v}),P=z(v,P),!qZ(v).match(/br|hr|img|input/))J.push({event:"stop",offset:P,node:v})}return P}(Z,0),J}function p0(Z,J,z){let $=0,P="",v=[];function D(){if(!Z.length||!J.length)return Z.length?Z:J;if(Z[0].offset!==J[0].offset)return Z[0].offset<J[0].offset?Z:J;return J[0].event==="start"?Z:J}function Q(U){function k(S){return" "+S.nodeName+'="'+M(S.value)+'"'}P+="<"+qZ(U)+[].map.call(U.attributes,k).join("")+">"}function X(U){P+="</"+qZ(U)+">"}function I(U){(U.event==="start"?Q:X)(U.node)}while(Z.length||J.length){let U=D();if(P+=M(z.substring($,U[0].offset)),$=U[0].offset,U===Z){v.reverse().forEach(X);do I(U.splice(0,1)[0]),U=D();while(U===Z&&U.length&&U[0].offset===$);v.reverse().forEach(Q)}else{if(U[0].event==="start")v.push(U[0].node);else v.pop();I(U.splice(0,1)[0])}}return P+M(z.substr($))}var KZ={},o=(Z)=>{console.error(Z)},IZ=(Z,...J)=>{console.log(`WARN: ${Z}`,...J)},w=(Z,J)=>{if(KZ[`${Z}/${J}`])return;console.log(`Deprecated as of ${Z}. ${J}`),KZ[`${Z}/${J}`]=!0},e=M,PZ=x,vZ=Symbol("nomatch"),h0=function(Z){let J=Object.create(null),z=Object.create(null),$=[],P=!0,v=/(^(<[^>]+>|\t|)+|\n)/gm,D="Could not find the language '{}', did you forget to load/include a language module?",Q={disableAutodetect:!0,name:"Plain text",contains:[]},X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:BZ};function I(q){return X.noHighlightRe.test(q)}function U(q){let V=q.className+" ";V+=q.parentNode?q.parentNode.className:"";let K=X.languageDetectRe.exec(V);if(K){let H=R(K[1]);if(!H)IZ(D.replace("{}",K[1])),IZ("Falling back to no-highlight mode for this block.",q);return H?K[1]:"no-highlight"}return V.split(/\s+/).find((H)=>I(H)||R(H))}function k(q,V,K,H){let C="",f="";if(typeof V==="object")C=q,K=V.ignoreIllegals,f=V.language,H=void 0;else w("10.7.0","highlight(lang, code, ...args) has been deprecated."),w("10.7.0",`Please use highlight(code, options) instead.
|
|
2
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),f=q,C=V;let L={code:C,language:f};c("before:highlight",L);let O=L.result?L.result:S(L.language,L.code,K,H);return O.code=L.code,c("after:highlight",O),O}function S(q,V,K,H){function C(Y,W){let G=b.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(Y.keywords,G)&&Y.keywords[G]}function f(){if(!F.keywords){j.addText(B);return}let Y=0;F.keywordPatternRe.lastIndex=0;let W=F.keywordPatternRe.exec(B),G="";while(W){G+=B.substring(Y,W.index);let y=C(F,W);if(y){let[A,s]=y;if(j.addText(G),G="",g+=s,A.startsWith("_"))G+=W[0];else{let nZ=b.classNameAliases[A]||A;j.addKeyword(W[0],nZ)}}else G+=W[0];Y=F.keywordPatternRe.lastIndex,W=F.keywordPatternRe.exec(B)}G+=B.substr(Y),j.addText(G)}function L(){if(B==="")return;let Y=null;if(typeof F.subLanguage==="string"){if(!J[F.subLanguage]){j.addText(B);return}Y=S(F.subLanguage,B,!0,FZ[F.subLanguage]),FZ[F.subLanguage]=Y.top}else Y=l(B,F.subLanguage.length?F.subLanguage:null);if(F.relevance>0)g+=Y.relevance;j.addSublanguage(Y.emitter,Y.language)}function O(){if(F.subLanguage!=null)L();else f();B=""}function T(Y){if(Y.className)j.openNode(b.classNameAliases[Y.className]||Y.className);return F=Object.create(Y,{parent:{value:F}}),F}function _(Y,W,G){let y=Q0(Y.endRe,G);if(y){if(Y["on:end"]){let A=new ZZ(Y);if(Y["on:end"](W,A),A.isMatchIgnored)y=!1}if(y){while(Y.endsParent&&Y.parent)Y=Y.parent;return Y}}if(Y.endsWithParent)return _(Y.parent,W,G)}function iZ(Y){if(F.matcher.regexIndex===0)return B+=Y[0],1;else return a=!0,0}function rZ(Y){let W=Y[0],G=Y.rule,y=new ZZ(G),A=[G.__beforeBegin,G["on:begin"]];for(let s of A){if(!s)continue;if(s(Y,y),y.isMatchIgnored)return iZ(W)}if(G&&G.endSameAsBegin)G.endRe=eZ(W);if(G.skip)B+=W;else{if(G.excludeBegin)B+=W;if(O(),!G.returnBegin&&!G.excludeBegin)B=W}return T(G),G.returnBegin?0:W.length}function lZ(Y){let W=Y[0],G=V.substr(Y.index),y=_(F,Y,G);if(!y)return vZ;let A=F;if(A.skip)B+=W;else{if(!(A.returnEnd||A.excludeEnd))B+=W;if(O(),A.excludeEnd)B=W}do{if(F.className)j.closeNode();if(!F.skip&&!F.subLanguage)g+=F.relevance;F=F.parent}while(F!==y.parent);if(y.starts){if(y.endSameAsBegin)y.starts.endRe=y.endRe;T(y.starts)}return A.returnEnd?0:W.length}function dZ(){let Y=[];for(let W=F;W!==b;W=W.parent)if(W.className)Y.unshift(W.className);Y.forEach((W)=>j.openNode(W))}let u={};function $Z(Y,W){let G=W&&W[0];if(B+=Y,G==null)return O(),0;if(u.type==="begin"&&W.type==="end"&&u.index===W.index&&G===""){if(B+=V.slice(W.index,W.index+1),!P){let y=Error("0 width match regex");throw y.languageName=q,y.badRule=u.rule,y}return 1}if(u=W,W.type==="begin")return rZ(W);else if(W.type==="illegal"&&!K){let y=Error('Illegal lexeme "'+G+'" for mode "'+(F.className||"<unnamed>")+'"');throw y.mode=F,y}else if(W.type==="end"){let y=lZ(W);if(y!==vZ)return y}if(W.type==="illegal"&&G==="")return 1;if(t>1e5&&t>W.index*3)throw Error("potential infinite loop, way more iterations than matches");return B+=G,G.length}let b=R(q);if(!b)throw o(D.replace("{}",q)),Error('Unknown language: "'+q+'"');let mZ=x0(b,{plugins:$}),n="",F=H||mZ,FZ={},j=new X.__emitter(X);dZ();let B="",g=0,N=0,t=0,a=!1;try{F.matcher.considerAll();for(;;){if(t++,a)a=!1;else F.matcher.considerAll();F.matcher.lastIndex=N;let Y=F.matcher.exec(V);if(!Y)break;let W=V.substring(N,Y.index),G=$Z(W,Y);N=Y.index+G}return $Z(V.substr(N)),j.closeAllNodes(),j.finalize(),n=j.toHTML(),{relevance:Math.floor(g),value:n,language:q,illegal:!1,emitter:j,top:F}}catch(Y){if(Y.message&&Y.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Y.message,context:V.slice(N-100,N+100),mode:Y.mode},sofar:n,relevance:0,value:e(V),emitter:j};else if(P)return{illegal:!1,relevance:0,value:e(V),emitter:j,language:q,top:F,errorRaised:Y};else throw Y}}function OZ(q){let V={relevance:0,emitter:new X.__emitter(X),value:e(q),illegal:!1,top:Q};return V.emitter.addText(q),V}function l(q,V){V=V||X.languages||Object.keys(J);let K=OZ(q),H=V.filter(R).filter(WZ).map((T)=>S(T,q,!1));H.unshift(K);let C=H.sort((T,_)=>{if(T.relevance!==_.relevance)return _.relevance-T.relevance;if(T.language&&_.language){if(R(T.language).supersetOf===_.language)return 1;else if(R(_.language).supersetOf===T.language)return-1}return 0}),[f,L]=C,O=f;return O.second_best=L,O}function TZ(q){if(!(X.tabReplace||X.useBR))return q;return q.replace(v,(V)=>{if(V===`
|
|
3
|
-
`)return X.useBR?"<br>":V;else if(X.tabReplace)return V.replace(/\t/g,X.tabReplace);return V})}function RZ(q,V,K){let H=V?z[V]:K;if(q.classList.add("hljs"),H)q.classList.add(H)}let SZ={"before:highlightElement":({el:q})=>{if(X.useBR)q.innerHTML=q.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
4
|
-
`)},"after:highlightElement":({result:q})=>{if(X.useBR)q.value=q.value.replace(/\n/g,"<br>")}},_Z=/^(<[^>]+>|\t)+/gm,xZ={"after:highlightElement":({result:q})=>{if(X.tabReplace)q.value=q.value.replace(_Z,(V)=>V.replace(/\t/g,X.tabReplace))}};function h(q){let V=null,K=U(q);if(I(K))return;c("before:highlightElement",{el:q,language:K}),V=q;let H=V.textContent,C=K?k(H,{language:K,ignoreIllegals:!0}):l(H);if(c("after:highlightElement",{el:q,result:C,text:H}),q.innerHTML=C.value,RZ(q,K,C.language),q.result={language:C.language,re:C.relevance,relavance:C.relevance},C.second_best)q.second_best={language:C.second_best.language,re:C.second_best.relevance,relavance:C.second_best.relevance}}function fZ(q){if(q.useBR)w("10.3.0","'useBR' will be removed entirely in v11.0"),w("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");X=PZ(X,q)}let d=()=>{if(d.called)return;d.called=!0,w("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(h)};function bZ(){w("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),m=!0}let m=!1;function zZ(){if(document.readyState==="loading"){m=!0;return}document.querySelectorAll("pre code").forEach(h)}function NZ(){if(m)zZ()}if(typeof window<"u"&&window.addEventListener)window.addEventListener("DOMContentLoaded",NZ,!1);function MZ(q,V){let K=null;try{K=V(Z)}catch(H){if(o("Language definition for '{}' could not be registered.".replace("{}",q)),!P)throw H;else o(H);K=Q}if(!K.name)K.name=q;if(J[q]=K,K.rawDefinition=V.bind(null,Z),K.aliases)YZ(K.aliases,{languageName:q})}function EZ(q){delete J[q];for(let V of Object.keys(z))if(z[V]===q)delete z[V]}function pZ(){return Object.keys(J)}function hZ(q){w("10.4.0","requireLanguage will be removed entirely in v11."),w("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let V=R(q);if(V)return V;throw Error("The '{}' language is required, but not loaded.".replace("{}",q))}function R(q){return q=(q||"").toLowerCase(),J[q]||J[z[q]]}function YZ(q,{languageName:V}){if(typeof q==="string")q=[q];q.forEach((K)=>{z[K.toLowerCase()]=V})}function WZ(q){let V=R(q);return V&&!V.disableAutodetect}function cZ(q){if(q["before:highlightBlock"]&&!q["before:highlightElement"])q["before:highlightElement"]=(V)=>{q["before:highlightBlock"](Object.assign({block:V.el},V))};if(q["after:highlightBlock"]&&!q["after:highlightElement"])q["after:highlightElement"]=(V)=>{q["after:highlightBlock"](Object.assign({block:V.el},V))}}function uZ(q){cZ(q),$.push(q)}function c(q,V){let K=q;$.forEach(function(H){if(H[K])H[K](V)})}function gZ(q){return w("10.2.0","fixMarkup will be removed entirely in v11.0"),w("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),TZ(q)}function sZ(q){return w("10.7.0","highlightBlock will be removed entirely in v12.0"),w("10.7.0","Please use highlightElement now."),h(q)}Object.assign(Z,{highlight:k,highlightAuto:l,highlightAll:zZ,fixMarkup:gZ,highlightElement:h,highlightBlock:sZ,configure:fZ,initHighlighting:d,initHighlightingOnLoad:bZ,registerLanguage:MZ,unregisterLanguage:EZ,listLanguages:pZ,getLanguage:R,registerAliases:YZ,requireLanguage:hZ,autoDetection:WZ,inherit:PZ,addPlugin:uZ,vuePlugin:M0(Z).VuePlugin}),Z.debugMode=function(){P=!1},Z.safeMode=function(){P=!0},Z.versionString=b0;for(let q in i)if(typeof i[q]==="object")yZ(i[q]);return Object.assign(Z,i),Z.addPlugin(SZ),Z.addPlugin(E0),Z.addPlugin(xZ),Z},c0=h0({});LZ.exports=c0});
|
|
5
|
-
export{u0 as s1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a6 as v,b6 as C}from"./cli-0.6.6-8yvh28tb.mjs";import{Tca as x,Uca as Y,tba as Z,uba as V}from"./cli-0.6.6-q1j20ysc.mjs";import{Yea as R,afa as W,ifa as O}from"./cli-0.6.6-y305shhz.mjs";import{uga as Q,vga as M}from"./cli-0.6.6-7r4esgkf.mjs";import{Cha as L,cha as P,hha as I,zha as f}from"./cli-0.6.6-hcajyfhg.mjs";import{Tha as w,_ha as H}from"./cli-0.6.6-g6ja9jcs.mjs";import{ooa as N,poa as F}from"./cli-0.6.6-sqvm4f1y.mjs";import{Moa as X,cpa as U}from"./cli-0.6.6-mc9x1jry.mjs";import{tpa as h,wpa as B}from"./cli-0.6.6-py5db2ds.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
-
export{u as tU,n as uU,o as vU,t as wU,d as xU};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{nV as T,yV as c}from"./cli-0.6.6-fj9rpekf.mjs";import{h0 as w,k0 as n}from"./cli-0.6.6-je6w2y3h.mjs";import{$7 as X,$8 as g,Z7 as M,_8 as y,a8 as f}from"./cli-0.6.6-q1j20ysc.mjs";import{Cga as R,Cha as h,Ega as F,cha as K,dha as v,hha as m,zha as Z}from"./cli-0.6.6-hcajyfhg.mjs";import{Tha as Y,Yha as W,_ha as D}from"./cli-0.6.6-g6ja9jcs.mjs";import{bia as E,oia as S}from"./cli-0.6.6-nw0nh4e0.mjs";import{Rna as j,Uja as k,Yja as A,_ja as N}from"./cli-0.6.6-ncqg4xxp.mjs";import{wpa as H}from"./cli-0.6.6-py5db2ds.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 UU,i as VU,e as WU,qq as XU,_ as YU,Uq as ZU,Bq as _U,C as $U,Mq as aV,I as bV,Aq as cV,d as dV,r as eV,t as fV};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{$x as k,Aj as J,_x as L,gM as f,iM as z,oP as _}from"./cli-0.6.6-23snct9d.mjs";import{f_ as F,k_ as A}from"./cli-0.6.6-q1j20ysc.mjs";import{Bfa as Y,Dfa as h,Efa as H,Ffa as X}from"./cli-0.6.6-gk8s7mch.mjs";import{wga as W,zga as M}from"./cli-0.6.6-a837m6n5.mjs";import{Cha as R,zha as D}from"./cli-0.6.6-hcajyfhg.mjs";import{Hla as q,Rna as C}from"./cli-0.6.6-ncqg4xxp.mjs";import{wpa as V}from"./cli-0.6.6-py5db2ds.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 Re,T as Se,I as Te};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wpa as b}from"./cli-0.6.6-py5db2ds.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
|
|
2
|
-
export{j as ye,k as ze,q as Ae,w as Be,g as Ce};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wpa as g}from"./cli-0.6.6-py5db2ds.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
-
export{Bq as HU,d as IU,$J as JU,DJ as KU,GJ as LU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{LY as K,oX as Z,oZ as k}from"./cli-0.6.6-en2sexw5.mjs";import{v1 as J,w1 as H}from"./cli-0.6.6-arvcw19g.mjs";import{J7 as v,K7 as Y}from"./cli-0.6.6-q1j20ysc.mjs";import{spa as V,wpa as X}from"./cli-0.6.6-py5db2ds.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
-
export{N as Xg,C as Yg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{vpa as x,wpa as z}from"./cli-0.6.6-py5db2ds.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
-
export{A as g0,F as h0,G as i0,H as j0,J as k0};
|