@claudiolabs/claudin 1.0.16 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.0-enyqd6zk.mjs +1 -0
- package/dist/chunks/App-1.1.0-6def0a6n.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.0-m9mybr7j.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.0-4c1qce0n.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.0-2afw9h09.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.0-r09k7rem.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.0-p05h72f8.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.0-842yvm18.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.0-dyfzh4xz.mjs +7 -0
- package/dist/chunks/Doctor-1.1.0-gwmatamz.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.0-4mz9bn58.mjs +6 -0
- package/dist/chunks/Grove-1.1.0-zk7sq7x9.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.0-wjqdhhvn.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.0-w64hcgs0.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.0-mkc5ew58.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.0-wsjvh8me.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.0-t8s1cvt5.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.0-ayq5wr7h.mjs +1 -0
- package/dist/chunks/REPL-1.1.0-ya45nhgt.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.0-q3hsbdns.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.0-9xeshk4s.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.0-fzf5xcm5.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.0-h3qsm7za.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.0-7a0w9w6g.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.0-yzx44v2v.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.0-3gd1pr4d.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.0-6m8j6s6z.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.0-b42stwdb.mjs +1 -0
- package/dist/chunks/add-dir-1.1.0-gst7d69m.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.0-6b0xw5qv.mjs +1 -0
- package/dist/chunks/agents-1.1.0-3e34h40q.mjs +3 -0
- package/dist/chunks/agents-1.1.0-vgtkxq8y.mjs +110 -0
- package/dist/chunks/api-1.1.0-px2sj5kw.mjs +1 -0
- package/dist/chunks/asciicast-1.1.0-2wzkvqn2.mjs +1 -0
- package/dist/chunks/assistant-1.1.0-t93vcyks.mjs +1 -0
- package/dist/chunks/auth-1.1.0-fvk2pf8g.mjs +1 -0
- package/dist/chunks/auth-1.1.0-q76xp4nm.mjs +1 -0
- package/dist/chunks/autoMode-1.1.0-87n8w9d4.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.0-3sjqay1h.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.0-yvybeza3.mjs +1 -0
- package/dist/chunks/branch-1.1.0-9g4r23x4.mjs +4 -0
- package/dist/chunks/bridge-1.1.0-c59t7fn5.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.0-t0deynrx.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.0-zj4jw1v1.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.0-6nrn1g75.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.0-83at32ad.mjs +1 -0
- package/dist/chunks/btw-1.1.0-y88gyvq1.mjs +1 -0
- package/dist/chunks/buddy-1.1.0-rch3sq8e.mjs +3 -0
- package/dist/chunks/cacache-1.1.0-ej21brrw.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.0-ehbwcyh9.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.0-ksnt9g30.mjs +4 -0
- package/dist/chunks/caches-1.1.0-jzxm4v1g.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.0-zyset7gv.mjs +1 -0
- package/dist/chunks/claudemd-1.1.0-mb17883g.mjs +1 -0
- package/dist/chunks/clear-1.1.0-55sa519v.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.0-g803ycep.mjs +1 -0
- package/dist/chunks/cli-1.1.0-0c134tyv.mjs +2 -0
- package/dist/chunks/cli-1.1.0-0e7qzsa6.mjs +2 -0
- package/dist/chunks/cli-1.1.0-0hf961r9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-0pd1b4vc.mjs +133 -0
- package/dist/chunks/cli-1.1.0-0pygrth1.mjs +2 -0
- package/dist/chunks/cli-1.1.0-0yvk0ynn.mjs +2 -0
- package/dist/chunks/cli-1.1.0-18mcq0aj.mjs +6 -0
- package/dist/chunks/cli-1.1.0-1tax09d6.mjs +2 -0
- package/dist/chunks/cli-1.1.0-22xy9wm0.mjs +2 -0
- package/dist/chunks/cli-1.1.0-23xk5c5p.mjs +2 -0
- package/dist/chunks/cli-1.1.0-27q99qxg.mjs +5638 -0
- package/dist/chunks/cli-1.1.0-2g3ef6xx.mjs +2 -0
- package/dist/chunks/cli-1.1.0-2kcgmy0n.mjs +4 -0
- package/dist/chunks/cli-1.1.0-2ptkfn3v.mjs +2 -0
- package/dist/chunks/cli-1.1.0-2ynkx7mx.mjs +2 -0
- package/dist/chunks/cli-1.1.0-35dy019c.mjs +2 -0
- package/dist/chunks/cli-1.1.0-376tm1k9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-3bm55s4g.mjs +59 -0
- package/dist/chunks/cli-1.1.0-3vd4xtts.mjs +2 -0
- package/dist/chunks/cli-1.1.0-42q5m352.mjs +2 -0
- package/dist/chunks/cli-1.1.0-43b9w2rq.mjs +5 -0
- package/dist/chunks/cli-1.1.0-44z5qkky.mjs +2 -0
- package/dist/chunks/cli-1.1.0-4brqrqtg.mjs +8 -0
- package/dist/chunks/cli-1.1.0-4f03ap1f.mjs +3 -0
- package/dist/chunks/cli-1.1.0-4hheqq4t.mjs +2 -0
- package/dist/chunks/cli-1.1.0-51r43ffv.mjs +2 -0
- package/dist/chunks/cli-1.1.0-534xht1w.mjs +2 -0
- package/dist/chunks/cli-1.1.0-5gb7f7xp.mjs +2 -0
- package/dist/chunks/cli-1.1.0-5p4r7v1p.mjs +3 -0
- package/dist/chunks/cli-1.1.0-5pgcnrex.mjs +2 -0
- package/dist/chunks/cli-1.1.0-685fssp6.mjs +2 -0
- package/dist/chunks/cli-1.1.0-6g8jkwc8.mjs +2 -0
- package/dist/chunks/cli-1.1.0-6h9f0djh.mjs +6 -0
- package/dist/chunks/cli-1.1.0-6pd6d43a.mjs +58 -0
- package/dist/chunks/cli-1.1.0-6pv9er50.mjs +2 -0
- package/dist/chunks/cli-1.1.0-6q6mnbdg.mjs +45 -0
- package/dist/chunks/cli-1.1.0-6sw6w6gt.mjs +2 -0
- package/dist/chunks/cli-1.1.0-6td2sp0v.mjs +2 -0
- package/dist/chunks/cli-1.1.0-6vd5e2xx.mjs +2 -0
- package/dist/chunks/cli-1.1.0-715hzmph.mjs +4 -0
- package/dist/chunks/cli-1.1.0-7278n5vd.mjs +18 -0
- package/dist/chunks/cli-1.1.0-7d1nvdda.mjs +2 -0
- package/dist/chunks/cli-1.1.0-7pxt9gcq.mjs +2 -0
- package/dist/chunks/cli-1.1.0-80tgppc8.mjs +12 -0
- package/dist/chunks/cli-1.1.0-8azg891x.mjs +2 -0
- package/dist/chunks/cli-1.1.0-8t3nbehc.mjs +2 -0
- package/dist/chunks/cli-1.1.0-8xbx5bw0.mjs +4 -0
- package/dist/chunks/cli-1.1.0-93djfjy7.mjs +2 -0
- package/dist/chunks/cli-1.1.0-9neyfch2.mjs +2 -0
- package/dist/chunks/cli-1.1.0-9w7sg286.mjs +2 -0
- package/dist/chunks/cli-1.1.0-a3xx1dac.mjs +2 -0
- package/dist/chunks/cli-1.1.0-a4fdbmtm.mjs +3 -0
- package/dist/chunks/cli-1.1.0-ab3nq7yd.mjs +2 -0
- package/dist/chunks/cli-1.1.0-acknyrzr.mjs +2 -0
- package/dist/chunks/cli-1.1.0-aefnhpce.mjs +2 -0
- package/dist/chunks/cli-1.1.0-aew4bmae.mjs +2 -0
- package/dist/chunks/cli-1.1.0-agcwe85z.mjs +3 -0
- package/dist/chunks/cli-1.1.0-ah0k4q2s.mjs +17 -0
- package/dist/chunks/cli-1.1.0-anh31kw5.mjs +2 -0
- package/dist/chunks/cli-1.1.0-avpw9ja1.mjs +4 -0
- package/dist/chunks/cli-1.1.0-awwr4yce.mjs +2 -0
- package/dist/chunks/cli-1.1.0-b2dpekht.mjs +50 -0
- package/dist/chunks/cli-1.1.0-b4js0h2n.mjs +2 -0
- package/dist/chunks/cli-1.1.0-b6z6m26q.mjs +2 -0
- package/dist/chunks/cli-1.1.0-bg3abn0c.mjs +3 -0
- package/dist/chunks/cli-1.1.0-bpw6t33c.mjs +2 -0
- package/dist/chunks/cli-1.1.0-c32rv5p9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-cs1m99a5.mjs +4 -0
- package/dist/chunks/cli-1.1.0-cz87w6nw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-df637xcj.mjs +12 -0
- package/dist/chunks/cli-1.1.0-dgje4dyf.mjs +12 -0
- package/dist/chunks/cli-1.1.0-dkcs1ckg.mjs +2 -0
- package/dist/chunks/cli-1.1.0-dqm9d5fq.mjs +2 -0
- package/dist/chunks/cli-1.1.0-dsg8mr16.mjs +2 -0
- package/dist/chunks/cli-1.1.0-dvdc29ed.mjs +20 -0
- package/dist/chunks/cli-1.1.0-dzexv5mk.mjs +15 -0
- package/dist/chunks/cli-1.1.0-e8cb572s.mjs +3 -0
- package/dist/chunks/cli-1.1.0-ej9gkky3.mjs +2 -0
- package/dist/chunks/cli-1.1.0-ejsqz1pw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-ex8w5gzz.mjs +2 -0
- package/dist/chunks/cli-1.1.0-eyafjwj2.mjs +2 -0
- package/dist/chunks/cli-1.1.0-f1vdd8jq.mjs +2 -0
- package/dist/chunks/cli-1.1.0-f2zea2vz.mjs +202 -0
- package/dist/chunks/cli-1.1.0-f40fhk16.mjs +2 -0
- package/dist/chunks/cli-1.1.0-f7s3d6cm.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fav6jhbg.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fefdtfkh.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fhsgjvax.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fj9tsf79.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fkkfc8bz.mjs +24 -0
- package/dist/chunks/cli-1.1.0-fm3zj7km.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fyhcmngx.mjs +2 -0
- package/dist/chunks/cli-1.1.0-fzj13jj1.mjs +2 -0
- package/dist/chunks/cli-1.1.0-g19j4m46.mjs +3 -0
- package/dist/chunks/cli-1.1.0-g4qrjkze.mjs +25 -0
- package/dist/chunks/cli-1.1.0-gedc2sjr.mjs +2 -0
- package/dist/chunks/cli-1.1.0-gn36m4rw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-h9m8nwpz.mjs +2 -0
- package/dist/chunks/cli-1.1.0-heqqh4q5.mjs +42 -0
- package/dist/chunks/cli-1.1.0-hhv56f6w.mjs +2 -0
- package/dist/chunks/cli-1.1.0-hqc7gemc.mjs +2 -0
- package/dist/chunks/cli-1.1.0-hxcczrch.mjs +34 -0
- package/dist/chunks/cli-1.1.0-j0spemhp.mjs +2 -0
- package/dist/chunks/cli-1.1.0-j8j38mj8.mjs +2 -0
- package/dist/chunks/cli-1.1.0-jggsfk80.mjs +2 -0
- package/dist/chunks/cli-1.1.0-jm9w1ra4.mjs +133 -0
- package/dist/chunks/cli-1.1.0-jzr2r6q9.mjs +18 -0
- package/dist/chunks/cli-1.1.0-k97b244h.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kb88a691.mjs +16 -0
- package/dist/chunks/cli-1.1.0-kchy50kf.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kdb9g90t.mjs +6 -0
- package/dist/chunks/cli-1.1.0-ke2q4vv2.mjs +39 -0
- package/dist/chunks/cli-1.1.0-kf2vvzzq.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kh16d8ks.mjs +2 -0
- package/dist/chunks/cli-1.1.0-khfqjg3d.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kqpv3mqm.mjs +2 -0
- package/dist/chunks/cli-1.1.0-ksm3jf7w.mjs +2 -0
- package/dist/chunks/cli-1.1.0-ky8gc8bw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kyed5wy4.mjs +2 -0
- package/dist/chunks/cli-1.1.0-kyvxb684.mjs +18 -0
- package/dist/chunks/cli-1.1.0-m3srsyep.mjs +2 -0
- package/dist/chunks/cli-1.1.0-mcwgdp9f.mjs +1 -0
- package/dist/chunks/cli-1.1.0-mp23wvb8.mjs +2 -0
- package/dist/chunks/cli-1.1.0-mthxxfdv.mjs +2 -0
- package/dist/chunks/cli-1.1.0-mxcr7n72.mjs +3 -0
- package/dist/chunks/cli-1.1.0-n063kkhn.mjs +2 -0
- package/dist/chunks/cli-1.1.0-n22zpcen.mjs +2 -0
- package/dist/chunks/cli-1.1.0-nrkd2283.mjs +2 -0
- package/dist/chunks/cli-1.1.0-nwh4569v.mjs +2 -0
- package/dist/chunks/cli-1.1.0-nwnph1tm.mjs +3 -0
- package/dist/chunks/cli-1.1.0-nzw8nfe8.mjs +4 -0
- package/dist/chunks/cli-1.1.0-pagxnvrp.mjs +2 -0
- package/dist/chunks/cli-1.1.0-pc78xk2w.mjs +2 -0
- package/dist/chunks/cli-1.1.0-pgzqtn5w.mjs +3 -0
- package/dist/chunks/cli-1.1.0-pyjjh1vb.mjs +2 -0
- package/dist/chunks/cli-1.1.0-q0xhsdq5.mjs +2 -0
- package/dist/chunks/cli-1.1.0-q5tc9jm9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-q8ch6d67.mjs +2 -0
- package/dist/chunks/cli-1.1.0-qeh5c8ha.mjs +2 -0
- package/dist/chunks/cli-1.1.0-qsymkkgn.mjs +25 -0
- package/dist/chunks/cli-1.1.0-qtb6qp7v.mjs +2 -0
- package/dist/chunks/cli-1.1.0-qy3n5r3j.mjs +2 -0
- package/dist/chunks/cli-1.1.0-r5jfjghw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-r82e580m.mjs +9 -0
- package/dist/chunks/cli-1.1.0-rcbfq6ds.mjs +15 -0
- package/dist/chunks/cli-1.1.0-rgft35ht.mjs +2 -0
- package/dist/chunks/cli-1.1.0-rhbwwag9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-rhhqa2eq.mjs +6 -0
- package/dist/chunks/cli-1.1.0-rk5hvaqf.mjs +2 -0
- package/dist/chunks/cli-1.1.0-rwzm7q8k.mjs +2 -0
- package/dist/chunks/cli-1.1.0-rxjpq9sj.mjs +15 -0
- package/dist/chunks/cli-1.1.0-s2byqr5v.mjs +2 -0
- package/dist/chunks/cli-1.1.0-s77gty0s.mjs +2 -0
- package/dist/chunks/cli-1.1.0-sn31brzs.mjs +4 -0
- package/dist/chunks/cli-1.1.0-snspzvx6.mjs +2 -0
- package/dist/chunks/cli-1.1.0-ss0sp6y9.mjs +2 -0
- package/dist/chunks/cli-1.1.0-sz45a3kz.mjs +2 -0
- package/dist/chunks/cli-1.1.0-t314tbev.mjs +2 -0
- package/dist/chunks/cli-1.1.0-t7bxqzs4.mjs +24 -0
- package/dist/chunks/cli-1.1.0-t7zmjjnm.mjs +2 -0
- package/dist/chunks/cli-1.1.0-t81d1nxv.mjs +6 -0
- package/dist/chunks/cli-1.1.0-tfwm688t.mjs +2 -0
- package/dist/chunks/cli-1.1.0-tjzezs5y.mjs +2 -0
- package/dist/chunks/cli-1.1.0-txh9zgpn.mjs +12 -0
- package/dist/chunks/cli-1.1.0-txn2egpm.mjs +2 -0
- package/dist/chunks/cli-1.1.0-typ6ydyr.mjs +2 -0
- package/dist/chunks/cli-1.1.0-vmrftx0a.mjs +5 -0
- package/dist/chunks/cli-1.1.0-vnw1etr4.mjs +2 -0
- package/dist/chunks/cli-1.1.0-vpef0qmy.mjs +2 -0
- package/dist/chunks/cli-1.1.0-vsd5cgtc.mjs +2 -0
- package/dist/chunks/cli-1.1.0-vyrset59.mjs +2 -0
- package/dist/chunks/cli-1.1.0-w2z92spx.mjs +2 -0
- package/dist/chunks/cli-1.1.0-w6pbjjfv.mjs +2 -0
- package/dist/chunks/cli-1.1.0-w99tv921.mjs +4 -0
- package/dist/chunks/cli-1.1.0-wq7mrbze.mjs +2 -0
- package/dist/chunks/cli-1.1.0-wy684ycb.mjs +2 -0
- package/dist/chunks/cli-1.1.0-wzt27z3c.mjs +2 -0
- package/dist/chunks/cli-1.1.0-x1d428kd.mjs +4 -0
- package/dist/chunks/cli-1.1.0-x52w32zj.mjs +9 -0
- package/dist/chunks/cli-1.1.0-xbafqhxj.mjs +2 -0
- package/dist/chunks/cli-1.1.0-xfbynaew.mjs +3 -0
- package/dist/chunks/cli-1.1.0-xh7h18aj.mjs +2 -0
- package/dist/chunks/cli-1.1.0-xnkggt2k.mjs +2 -0
- package/dist/chunks/cli-1.1.0-xqj8jr7g.mjs +4 -0
- package/dist/chunks/cli-1.1.0-xrtkbdea.mjs +4 -0
- package/dist/chunks/cli-1.1.0-xtme365c.mjs +2 -0
- package/dist/chunks/cli-1.1.0-xz7dpcmk.mjs +2 -0
- package/dist/chunks/cli-1.1.0-xz8y1ffw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-y08d0fhm.mjs +2 -0
- package/dist/chunks/cli-1.1.0-y16ey5vs.mjs +3 -0
- package/dist/chunks/cli-1.1.0-y44vvpr5.mjs +24 -0
- package/dist/chunks/cli-1.1.0-y7km7tyc.mjs +2 -0
- package/dist/chunks/cli-1.1.0-y82h5sjv.mjs +2 -0
- package/dist/chunks/cli-1.1.0-yb4xnm2h.mjs +21 -0
- package/dist/chunks/cli-1.1.0-ypyc700d.mjs +7 -0
- package/dist/chunks/cli-1.1.0-z3er82qf.mjs +2 -0
- package/dist/chunks/cli-1.1.0-z3kmdvmm.mjs +17 -0
- package/dist/chunks/cli-1.1.0-z515ecdw.mjs +2 -0
- package/dist/chunks/cli-1.1.0-z8gyd4hj.mjs +2 -0
- package/dist/chunks/cli-1.1.0-z9w48as1.mjs +2 -0
- package/dist/chunks/cli-1.1.0-zjdhcx9g.mjs +67 -0
- package/dist/chunks/cli-1.1.0-zv42btgr.mjs +2 -0
- package/dist/chunks/cli-1.1.0-zv9mj8cm.mjs +2 -0
- package/dist/chunks/client-1.1.0-mczmpajm.mjs +1 -0
- package/dist/chunks/color-1.1.0-mz220mnj.mjs +1 -0
- package/dist/chunks/compact-1.1.0-m3h4vy67.mjs +3 -0
- package/dist/chunks/config-1.1.0-0cmcwws5.mjs +1 -0
- package/dist/chunks/config-1.1.0-94w375pc.mjs +1 -0
- package/dist/chunks/constants-1.1.0-f8cevnbf.mjs +1 -0
- package/dist/chunks/context-1.1.0-02esqhw9.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.0-q79y3s53.mjs +1 -0
- package/dist/chunks/conversation-1.1.0-zgrc0409.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.0-hs5hd2rk.mjs +1 -0
- package/dist/chunks/copy-1.1.0-d9ewpvtx.mjs +9 -0
- package/dist/chunks/cost-1.1.0-29687fk2.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.0-cwje9xax.mjs +1 -0
- package/dist/chunks/createSession-1.1.0-mqxpwaxx.mjs +1 -0
- package/dist/chunks/debug-1.1.0-7myvhved.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.0-kjmcwbvb.mjs +1446 -0
- package/dist/chunks/desktop-1.1.0-psp9x7ag.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.0-s1sbyjtw.mjs +1 -0
- package/dist/chunks/detection-1.1.0-395zszbn.mjs +1 -0
- package/dist/chunks/diff-1.1.0-tw33wd16.mjs +1 -0
- package/dist/chunks/doctor-1.1.0-w49j96y7.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.0-bazcbcf0.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.0-k2ggh5e8.mjs +1 -0
- package/dist/chunks/effort-1.1.0-d31ntd59.mjs +13 -0
- package/dist/chunks/engine-1.1.0-zykm6ttb.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.0-vjjgjg6g.mjs +1 -0
- package/dist/chunks/envUtils-1.1.0-j6qw20t8.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.0-pbfss60j.mjs +1 -0
- package/dist/chunks/environments-1.1.0-05sa7vqs.mjs +1 -0
- package/dist/chunks/errors-1.1.0-rv1w7dzk.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.0-hwr1bhvw.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.0-mctsxzhh.mjs +1 -0
- package/dist/chunks/exit-1.1.0-w4dt0y70.mjs +1 -0
- package/dist/chunks/explorer-1.1.0-grjehtcs.mjs +1 -0
- package/dist/chunks/export-1.1.0-nkxywrt3.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.0-t5fad215.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.0-ejz9p8tk.mjs +1 -0
- package/dist/chunks/fast-1.1.0-ktxbryjn.mjs +1 -0
- package/dist/chunks/feedback-1.1.0-wmc2etfk.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.0-37ttkjsw.mjs +1 -0
- package/dist/chunks/git-1.1.0-19myj8f0.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.0-kehp42vm.mjs +1 -0
- package/dist/chunks/goal-1.1.0-vegr2gpx.mjs +4 -0
- package/dist/chunks/grove-1.1.0-jhejcpfq.mjs +1 -0
- package/dist/chunks/growthbook-1.1.0-65kf7wnp.mjs +1 -0
- package/dist/chunks/headless-1.1.0-7ar922rp.mjs +2 -0
- package/dist/chunks/heapdump-1.1.0-32jsacwx.mjs +6 -0
- package/dist/chunks/help-1.1.0-845v0hns.mjs +1 -0
- package/dist/chunks/hookChains-1.1.0-v8cw92ff.mjs +3 -0
- package/dist/chunks/hooks-1.1.0-6yfeb39f.mjs +79 -0
- package/dist/chunks/hooks-1.1.0-q1eegxep.mjs +1 -0
- package/dist/chunks/ide-1.1.0-9t0cq40y.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.0-sdagc4gb.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.0-gcb31e7e.mjs +1 -0
- package/dist/chunks/index-1.1.0-0pz70rhb.mjs +1 -0
- package/dist/chunks/index-1.1.0-2v7bhc73.mjs +9 -0
- package/dist/chunks/index-1.1.0-42sjc0ra.mjs +1 -0
- package/dist/chunks/index-1.1.0-5e2yge0j.mjs +1 -0
- package/dist/chunks/index-1.1.0-5rn65wcn.mjs +1 -0
- package/dist/chunks/index-1.1.0-6eg49x8z.mjs +1 -0
- package/dist/chunks/index-1.1.0-6f33zr88.mjs +2 -0
- package/dist/chunks/index-1.1.0-711thf5z.mjs +30 -0
- package/dist/chunks/index-1.1.0-7mr4ft1q.mjs +1 -0
- package/dist/chunks/index-1.1.0-9qnvcqd3.mjs +1 -0
- package/dist/chunks/index-1.1.0-bryn9r7n.mjs +1 -0
- package/dist/chunks/index-1.1.0-c9ypb2er.mjs +2 -0
- package/dist/chunks/index-1.1.0-dpwmxnj4.mjs +5 -0
- package/dist/chunks/index-1.1.0-f06x7270.mjs +17 -0
- package/dist/chunks/index-1.1.0-fz6shkyy.mjs +1 -0
- package/dist/chunks/index-1.1.0-ga21tcpt.mjs +9 -0
- package/dist/chunks/index-1.1.0-qta6e5wt.mjs +1 -0
- package/dist/chunks/index-1.1.0-rdrdd03m.mjs +1 -0
- package/dist/chunks/index-1.1.0-vdwwq04q.mjs +1 -0
- package/dist/chunks/index-1.1.0-x8ra62mv.mjs +1 -0
- package/dist/chunks/index-1.1.0-yaxmne6h.mjs +1 -0
- package/dist/chunks/index-1.1.0-yna8rsmk.mjs +1 -0
- package/dist/chunks/index-1.1.0-zv3y0dw4.mjs +1 -0
- package/dist/chunks/init-1.1.0-2ktykcbs.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.0-2dq44h6p.mjs +1 -0
- package/dist/chunks/ink-1.1.0-n8ev4ggj.mjs +1 -0
- package/dist/chunks/insights-1.1.0-2pm8nqda.mjs +870 -0
- package/dist/chunks/install-1.1.0-kpkp79qx.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.0-ezr26tzq.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.0-526087q0.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.0-2hcxjw4w.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.0-1n70h3yk.mjs +1 -0
- package/dist/chunks/keybindings-1.1.0-zp4xvxd0.mjs +2 -0
- package/dist/chunks/knowledge-1.1.0-7ypjnfee.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.0-nh3f0q9v.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.0-6jtp0hpx.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.0-3986smwm.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.0-n5jzedar.mjs +1 -0
- package/dist/chunks/log-1.1.0-ytvjc0bd.mjs +1 -0
- package/dist/chunks/main-1.1.0-f14kmh7p.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.0-e8vpf6by.mjs +1 -0
- package/dist/chunks/mcp-1.1.0-1ywhd8fj.mjs +1 -0
- package/dist/chunks/mcp-1.1.0-7nqv81k0.mjs +17 -0
- package/dist/chunks/mcp-1.1.0-qx3nvmcz.mjs +4 -0
- package/dist/chunks/mcpb-1.1.0-rj36djns.mjs +1 -0
- package/dist/chunks/memory-1.1.0-5r0h3k4k.mjs +72 -0
- package/dist/chunks/model-1.1.0-44xx16dv.mjs +2 -0
- package/dist/chunks/model-1.1.0-fg2cbfq2.mjs +1 -0
- package/dist/chunks/node-1.1.0-110zckqt.mjs +12 -0
- package/dist/chunks/oauth-1.1.0-wpg4ck2v.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.0-j1v7ywpt.mjs +14 -0
- package/dist/chunks/output-style-1.1.0-zn9ssp3s.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.0-gmk2hvrx.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.0-5zrr15g5.mjs +1 -0
- package/dist/chunks/parser-1.1.0-whqnp9vy.mjs +1 -0
- package/dist/chunks/passes-1.1.0-syt7mc82.mjs +1 -0
- package/dist/chunks/permissions-1.1.0-93w1tjs2.mjs +3 -0
- package/dist/chunks/permissions-1.1.0-xwgjba5h.mjs +1 -0
- package/dist/chunks/plan-1.1.0-8by2pkr1.mjs +1 -0
- package/dist/chunks/plist-1.1.0-a72f96zz.mjs +1 -0
- package/dist/chunks/plugin-1.1.0-1cq6rnm4.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.0-e3hxzsxe.mjs +1 -0
- package/dist/chunks/plugins-1.1.0-2ebadazb.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.0-1qpnh1b8.mjs +2 -0
- package/dist/chunks/print-1.1.0-5023fs4e.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.0-rg0g4j4k.mjs +1 -0
- package/dist/chunks/process-1.1.0-azyy6h3h.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.0-xbaa5wkh.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.0-hegrj68h.mjs +9 -0
- package/dist/chunks/prompt-1.1.0-2r56j5nk.mjs +1 -0
- package/dist/chunks/prompt-1.1.0-2vmdvy77.mjs +1 -0
- package/dist/chunks/prompts-1.1.0-n1m0d2m2.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.0-xs2p3rtn.mjs +13 -0
- package/dist/chunks/provider-1.1.0-2j5pg4yy.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.0-rbqezxcw.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.0-677eqkc3.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.0-3m14394y.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.0-x7bmwv4g.mjs +34 -0
- package/dist/chunks/registry-1.1.0-4fyg7f9q.mjs +1 -0
- package/dist/chunks/release-notes-1.1.0-pz5tn880.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.0-69db1v80.mjs +2 -0
- package/dist/chunks/remote-env-1.1.0-ksfpd9mb.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.0-n7thmemb.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.0-qfe65dcd.mjs +1 -0
- package/dist/chunks/rename-1.1.0-xwf9aagc.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.0-bdbdmxmh.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.0-tkn2dd4g.mjs +1 -0
- package/dist/chunks/resume-1.1.0-bks26dze.mjs +2 -0
- package/dist/chunks/rewind-1.1.0-cet2enqh.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.0-jsytxerw.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.0-0feve89r.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.0-h2jzdxee.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.0-93sg9m8e.mjs +1 -0
- package/dist/chunks/session-1.1.0-qj25v1ny.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.0-cyr63cxd.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.0-f2jn1dgt.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.0-jhvnwn06.mjs +1 -0
- package/dist/chunks/settings-1.1.0-v6kq2gg7.mjs +1 -0
- package/dist/chunks/setup-1.1.0-1nvqkzwy.mjs +5 -0
- package/dist/chunks/sinks-1.1.0-y6gqgdcq.mjs +1 -0
- package/dist/chunks/skills-1.1.0-xsjqqdbe.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.0-vf7vkpmt.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.0-e67ygkan.mjs +1 -0
- package/dist/chunks/state-1.1.0-bh945jtk.mjs +1 -0
- package/dist/chunks/stats-1.1.0-x33dy37t.mjs +6 -0
- package/dist/chunks/status-1.1.0-d0yq6cgj.mjs +1 -0
- package/dist/chunks/stickers-1.1.0-xc1m1wem.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.0-2842f2xr.mjs +1 -0
- package/dist/chunks/tasks-1.1.0-jwtf7c9d.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.0-5f9gr2n7.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.0-p5p6mzr0.mjs +1 -0
- package/dist/chunks/teleport-1.1.0-vpph6285.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.0-sapkr8qe.mjs +1 -0
- package/dist/chunks/theme-1.1.0-tj4jvv7p.mjs +1 -0
- package/dist/chunks/thinkback-1.1.0-jz93vtq3.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.0-bjmff4sm.mjs +1 -0
- package/dist/chunks/toolPool-1.1.0-m2n24729.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.0-xkqnfkpg.mjs +1 -0
- package/dist/chunks/tools-1.1.0-s3ha83mm.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.0-c22x3kwa.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.0-ysafs3br.mjs +69 -0
- package/dist/chunks/types-1.1.0-1bb823j7.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.0-k2hb0xpa.mjs +4 -0
- package/dist/chunks/update-1.1.0-7v973cbz.mjs +88 -0
- package/dist/chunks/upgrade-1.1.0-rr1r91bn.mjs +1 -0
- package/dist/chunks/upload-1.1.0-0zhvg1j3.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.0-ayhfykdv.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.0-s7xr32y6.mjs +1 -0
- package/dist/chunks/usage-1.1.0-wtv9dama.mjs +1 -0
- package/dist/chunks/util-1.1.0-9mksq9n7.mjs +1 -0
- package/dist/chunks/utils-1.1.0-8gfj8s3w.mjs +1 -0
- package/dist/chunks/vim-1.1.0-2fjkfqs6.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.0-6qghm3y5.mjs +13 -0
- package/dist/chunks/watcher-1.1.0-p8jgf9r7.mjs +1 -0
- package/dist/chunks/wiki-1.1.0-x8aa5635.mjs +132 -0
- package/dist/chunks/workflows-1.1.0-epxphggs.mjs +1 -0
- package/dist/chunks/worktree-1.1.0-eza3fdnj.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.0-3mh5gae3.mjs +1 -0
- package/dist/chunks/wrapper-1.1.0-snjvfemx.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help.txt +1 -1
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.16-wvkhgtfr.mjs +0 -1
- package/dist/chunks/App-1.0.16-qj70q7bs.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.16-nwddyyxe.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.16-s0nz3m0m.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.16-mz0t23b9.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.16-v6q56p5k.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.16-pa48jvvz.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.16-8z8an98j.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.16-en5phhjv.mjs +0 -7
- package/dist/chunks/Doctor-1.0.16-c4vpjrpq.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.16-avpaznp7.mjs +0 -6
- package/dist/chunks/Grove-1.0.16-3n0wq2g4.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.16-3kamvnmb.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.16-anyrrqmz.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.16-xs7rnvw2.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.16-hvmezjv6.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.16-j9z9h03k.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.16-6sby2542.mjs +0 -1
- package/dist/chunks/REPL-1.0.16-2yn8p9d8.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.16-mf1fgs4p.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.16-acer2dt3.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.16-p5g78t71.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.16-w2cbt48d.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.16-zfsbr2j8.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.16-v0xt80ep.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.16-618gxr3s.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.16-xdf0qyft.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.16-fdvc9c5k.mjs +0 -1
- package/dist/chunks/add-dir-1.0.16-42s0pyww.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.16-ya0z3dtm.mjs +0 -1
- package/dist/chunks/agents-1.0.16-9kh1vnqr.mjs +0 -3
- package/dist/chunks/agents-1.0.16-fxzavm1v.mjs +0 -110
- package/dist/chunks/api-1.0.16-dmy8gm8w.mjs +0 -1
- package/dist/chunks/asciicast-1.0.16-te208gj5.mjs +0 -1
- package/dist/chunks/assistant-1.0.16-k7yyas10.mjs +0 -1
- package/dist/chunks/auth-1.0.16-0t089511.mjs +0 -1
- package/dist/chunks/auth-1.0.16-wsdndr43.mjs +0 -1
- package/dist/chunks/autoMode-1.0.16-9e04q56t.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.16-wsmefs36.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.16-pmqfyb9a.mjs +0 -1
- package/dist/chunks/branch-1.0.16-at6phph5.mjs +0 -4
- package/dist/chunks/bridge-1.0.16-jk00c19e.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.16-1f1hf2x8.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.16-pr05xsxb.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.16-df3kzv8s.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.16-brqbhgy2.mjs +0 -1
- package/dist/chunks/btw-1.0.16-xzfabxj6.mjs +0 -1
- package/dist/chunks/buddy-1.0.16-e678bdsk.mjs +0 -3
- package/dist/chunks/cacache-1.0.16-e2mwray8.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.16-cgbyvz3q.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.16-xg2k7b6y.mjs +0 -4
- package/dist/chunks/caches-1.0.16-9xt8fj7x.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.16-etycr23t.mjs +0 -1
- package/dist/chunks/claudemd-1.0.16-05ycq87c.mjs +0 -1
- package/dist/chunks/clear-1.0.16-5rrp0dq2.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.16-hq8hxrw4.mjs +0 -1
- package/dist/chunks/cli-1.0.16-03b5jjz5.mjs +0 -6
- package/dist/chunks/cli-1.0.16-04tr8fw7.mjs +0 -6
- package/dist/chunks/cli-1.0.16-07b4f4bw.mjs +0 -3
- package/dist/chunks/cli-1.0.16-07x0893e.mjs +0 -2
- package/dist/chunks/cli-1.0.16-0bza13rj.mjs +0 -2
- package/dist/chunks/cli-1.0.16-0f0rbfq7.mjs +0 -2
- package/dist/chunks/cli-1.0.16-0mt6xxrt.mjs +0 -6
- package/dist/chunks/cli-1.0.16-0rqyx4re.mjs +0 -2
- package/dist/chunks/cli-1.0.16-0v8j55zf.mjs +0 -2
- package/dist/chunks/cli-1.0.16-133hhc86.mjs +0 -6
- package/dist/chunks/cli-1.0.16-16qr698n.mjs +0 -2
- package/dist/chunks/cli-1.0.16-19h7ddkz.mjs +0 -2
- package/dist/chunks/cli-1.0.16-1mfcpfa8.mjs +0 -39
- package/dist/chunks/cli-1.0.16-1qh4cd2a.mjs +0 -2
- package/dist/chunks/cli-1.0.16-21yhbzk0.mjs +0 -3
- package/dist/chunks/cli-1.0.16-22djnkp4.mjs +0 -2
- package/dist/chunks/cli-1.0.16-23fvr0wv.mjs +0 -2
- package/dist/chunks/cli-1.0.16-28kyenby.mjs +0 -2
- package/dist/chunks/cli-1.0.16-2ghvdh62.mjs +0 -2
- package/dist/chunks/cli-1.0.16-2gwj41fw.mjs +0 -2
- package/dist/chunks/cli-1.0.16-2hpbjz3s.mjs +0 -3
- package/dist/chunks/cli-1.0.16-2thxt6pw.mjs +0 -59
- package/dist/chunks/cli-1.0.16-2ybxhhr3.mjs +0 -4
- package/dist/chunks/cli-1.0.16-37d6r8fz.mjs +0 -2
- package/dist/chunks/cli-1.0.16-3fv6gk9q.mjs +0 -2
- package/dist/chunks/cli-1.0.16-3jqjnkzm.mjs +0 -2
- package/dist/chunks/cli-1.0.16-3pbtmmrt.mjs +0 -4
- package/dist/chunks/cli-1.0.16-430hp7w5.mjs +0 -2
- package/dist/chunks/cli-1.0.16-4621hbzw.mjs +0 -25
- package/dist/chunks/cli-1.0.16-49dw2eqx.mjs +0 -5
- package/dist/chunks/cli-1.0.16-4a2x18jw.mjs +0 -2
- package/dist/chunks/cli-1.0.16-4bw2zm4f.mjs +0 -2
- package/dist/chunks/cli-1.0.16-4k4qgyyq.mjs +0 -2
- package/dist/chunks/cli-1.0.16-4vns6894.mjs +0 -2
- package/dist/chunks/cli-1.0.16-58sv5vch.mjs +0 -2
- package/dist/chunks/cli-1.0.16-5axjzbba.mjs +0 -2
- package/dist/chunks/cli-1.0.16-5fpnmf91.mjs +0 -15
- package/dist/chunks/cli-1.0.16-5sj9hkp9.mjs +0 -2
- package/dist/chunks/cli-1.0.16-625x0153.mjs +0 -2
- package/dist/chunks/cli-1.0.16-66gzm80h.mjs +0 -2
- package/dist/chunks/cli-1.0.16-6d9kerj1.mjs +0 -2
- package/dist/chunks/cli-1.0.16-6gyjk1vp.mjs +0 -2
- package/dist/chunks/cli-1.0.16-6ynvs67w.mjs +0 -3
- package/dist/chunks/cli-1.0.16-7apw65y7.mjs +0 -2
- package/dist/chunks/cli-1.0.16-7bvmr4rf.mjs +0 -3
- package/dist/chunks/cli-1.0.16-7eybn78f.mjs +0 -2
- package/dist/chunks/cli-1.0.16-7hc7p9x4.mjs +0 -4
- package/dist/chunks/cli-1.0.16-7n29wghc.mjs +0 -3
- package/dist/chunks/cli-1.0.16-7nqp826t.mjs +0 -2
- package/dist/chunks/cli-1.0.16-7r5pnkgj.mjs +0 -2
- package/dist/chunks/cli-1.0.16-80nmsz9m.mjs +0 -2
- package/dist/chunks/cli-1.0.16-80w06txg.mjs +0 -20
- package/dist/chunks/cli-1.0.16-82rcbqg2.mjs +0 -2
- package/dist/chunks/cli-1.0.16-8m9pzkr8.mjs +0 -15
- package/dist/chunks/cli-1.0.16-8mggx8np.mjs +0 -2
- package/dist/chunks/cli-1.0.16-8svbg4t6.mjs +0 -4
- package/dist/chunks/cli-1.0.16-8vfwka4c.mjs +0 -12
- package/dist/chunks/cli-1.0.16-94c7kpx1.mjs +0 -2
- package/dist/chunks/cli-1.0.16-94eetd0b.mjs +0 -2
- package/dist/chunks/cli-1.0.16-997n0rpt.mjs +0 -2
- package/dist/chunks/cli-1.0.16-9m2dkrxt.mjs +0 -2
- package/dist/chunks/cli-1.0.16-a2d2s2cs.mjs +0 -2
- package/dist/chunks/cli-1.0.16-a4dr9ptz.mjs +0 -3
- package/dist/chunks/cli-1.0.16-aa0xse54.mjs +0 -2
- package/dist/chunks/cli-1.0.16-abxtgh7d.mjs +0 -2
- package/dist/chunks/cli-1.0.16-afng6ydq.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ahn721qj.mjs +0 -18
- package/dist/chunks/cli-1.0.16-ar98yh40.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ar9fmtxa.mjs +0 -2
- package/dist/chunks/cli-1.0.16-aw8qjvt6.mjs +0 -1
- package/dist/chunks/cli-1.0.16-b0ds811h.mjs +0 -12
- package/dist/chunks/cli-1.0.16-b475h1qv.mjs +0 -2
- package/dist/chunks/cli-1.0.16-bcax4sz5.mjs +0 -15
- package/dist/chunks/cli-1.0.16-bqa1thts.mjs +0 -2
- package/dist/chunks/cli-1.0.16-c0pqddvv.mjs +0 -2
- package/dist/chunks/cli-1.0.16-cheyjtmw.mjs +0 -2
- package/dist/chunks/cli-1.0.16-cnnfggd0.mjs +0 -133
- package/dist/chunks/cli-1.0.16-d3zrt3hs.mjs +0 -2
- package/dist/chunks/cli-1.0.16-d716n13b.mjs +0 -2
- package/dist/chunks/cli-1.0.16-d77bv0wx.mjs +0 -2
- package/dist/chunks/cli-1.0.16-datw1k5m.mjs +0 -2
- package/dist/chunks/cli-1.0.16-dawsz3cx.mjs +0 -58
- package/dist/chunks/cli-1.0.16-dff4252s.mjs +0 -24
- package/dist/chunks/cli-1.0.16-dggf3mwp.mjs +0 -2
- package/dist/chunks/cli-1.0.16-drphseh7.mjs +0 -4
- package/dist/chunks/cli-1.0.16-dsw73925.mjs +0 -2
- package/dist/chunks/cli-1.0.16-dxcve6pg.mjs +0 -2
- package/dist/chunks/cli-1.0.16-e0qj3bb7.mjs +0 -2
- package/dist/chunks/cli-1.0.16-e7hav3ez.mjs +0 -2
- package/dist/chunks/cli-1.0.16-e830ghzs.mjs +0 -2
- package/dist/chunks/cli-1.0.16-esgranzx.mjs +0 -3
- package/dist/chunks/cli-1.0.16-ewmczs5j.mjs +0 -2
- package/dist/chunks/cli-1.0.16-f4fr2jb2.mjs +0 -2
- package/dist/chunks/cli-1.0.16-fcfaz7s1.mjs +0 -18
- package/dist/chunks/cli-1.0.16-fcjskkf4.mjs +0 -2
- package/dist/chunks/cli-1.0.16-fehsf9kh.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ffca1s3t.mjs +0 -21
- package/dist/chunks/cli-1.0.16-fhqg8pmc.mjs +0 -2
- package/dist/chunks/cli-1.0.16-fmpgxdqc.mjs +0 -2
- package/dist/chunks/cli-1.0.16-fskj6kkz.mjs +0 -12
- package/dist/chunks/cli-1.0.16-g1gw16yf.mjs +0 -9
- package/dist/chunks/cli-1.0.16-g1hxxcer.mjs +0 -2
- package/dist/chunks/cli-1.0.16-g2ya82h9.mjs +0 -2
- package/dist/chunks/cli-1.0.16-g3g33b7n.mjs +0 -2
- package/dist/chunks/cli-1.0.16-g3xbjpm0.mjs +0 -6
- package/dist/chunks/cli-1.0.16-grtt82kn.mjs +0 -45
- package/dist/chunks/cli-1.0.16-gvvtqw93.mjs +0 -3
- package/dist/chunks/cli-1.0.16-gydkk4pv.mjs +0 -2
- package/dist/chunks/cli-1.0.16-h8cqz7s4.mjs +0 -2
- package/dist/chunks/cli-1.0.16-hk1xetmm.mjs +0 -133
- package/dist/chunks/cli-1.0.16-hpznp2f1.mjs +0 -2
- package/dist/chunks/cli-1.0.16-hqqn22q3.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ht8msgzn.mjs +0 -5
- package/dist/chunks/cli-1.0.16-hvfp394x.mjs +0 -3
- package/dist/chunks/cli-1.0.16-j89x551t.mjs +0 -2
- package/dist/chunks/cli-1.0.16-j8kkz0js.mjs +0 -2
- package/dist/chunks/cli-1.0.16-jd106qrc.mjs +0 -4
- package/dist/chunks/cli-1.0.16-jmc56c16.mjs +0 -2
- package/dist/chunks/cli-1.0.16-jrxss67w.mjs +0 -2
- package/dist/chunks/cli-1.0.16-js6p36qa.mjs +0 -2
- package/dist/chunks/cli-1.0.16-k3nksbe5.mjs +0 -2
- package/dist/chunks/cli-1.0.16-k6g22gyn.mjs +0 -2
- package/dist/chunks/cli-1.0.16-kcreqyt3.mjs +0 -2
- package/dist/chunks/cli-1.0.16-kdm4846g.mjs +0 -2
- package/dist/chunks/cli-1.0.16-kh0cfhgd.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ksfap5at.mjs +0 -24
- package/dist/chunks/cli-1.0.16-m5f33qfn.mjs +0 -2
- package/dist/chunks/cli-1.0.16-m6x6p13f.mjs +0 -2
- package/dist/chunks/cli-1.0.16-m8et6040.mjs +0 -2
- package/dist/chunks/cli-1.0.16-mg53mrd2.mjs +0 -17
- package/dist/chunks/cli-1.0.16-mkaje15r.mjs +0 -2
- package/dist/chunks/cli-1.0.16-n6bm43be.mjs +0 -2
- package/dist/chunks/cli-1.0.16-n7vvc80d.mjs +0 -4
- package/dist/chunks/cli-1.0.16-natadjxz.mjs +0 -2
- package/dist/chunks/cli-1.0.16-nh58e5sn.mjs +0 -2
- package/dist/chunks/cli-1.0.16-nxg44e73.mjs +0 -2
- package/dist/chunks/cli-1.0.16-p36pcnvw.mjs +0 -2
- package/dist/chunks/cli-1.0.16-p68tp9h3.mjs +0 -2
- package/dist/chunks/cli-1.0.16-pdf0vmcs.mjs +0 -2
- package/dist/chunks/cli-1.0.16-pdjp1248.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ph1tq97e.mjs +0 -12
- package/dist/chunks/cli-1.0.16-pj0vcmv0.mjs +0 -2
- package/dist/chunks/cli-1.0.16-pqmanw5v.mjs +0 -2
- package/dist/chunks/cli-1.0.16-pz654728.mjs +0 -5557
- package/dist/chunks/cli-1.0.16-q2g1eds7.mjs +0 -2
- package/dist/chunks/cli-1.0.16-q5te24ar.mjs +0 -2
- package/dist/chunks/cli-1.0.16-q6jt90mr.mjs +0 -25
- package/dist/chunks/cli-1.0.16-qc5nvbgq.mjs +0 -2
- package/dist/chunks/cli-1.0.16-qf932scm.mjs +0 -2
- package/dist/chunks/cli-1.0.16-qfnz1281.mjs +0 -2
- package/dist/chunks/cli-1.0.16-qw7khq2v.mjs +0 -42
- package/dist/chunks/cli-1.0.16-r1mtjt6j.mjs +0 -2
- package/dist/chunks/cli-1.0.16-r2fnj3sp.mjs +0 -2
- package/dist/chunks/cli-1.0.16-r4x4j4ex.mjs +0 -2
- package/dist/chunks/cli-1.0.16-r5zwwmrf.mjs +0 -34
- package/dist/chunks/cli-1.0.16-re32rapy.mjs +0 -2
- package/dist/chunks/cli-1.0.16-rfmqmp7n.mjs +0 -67
- package/dist/chunks/cli-1.0.16-rnjfc919.mjs +0 -2
- package/dist/chunks/cli-1.0.16-rvawnzma.mjs +0 -50
- package/dist/chunks/cli-1.0.16-s3ck0xny.mjs +0 -2
- package/dist/chunks/cli-1.0.16-s4pa3dqg.mjs +0 -2
- package/dist/chunks/cli-1.0.16-s5y2vt2x.mjs +0 -16
- package/dist/chunks/cli-1.0.16-s609frp5.mjs +0 -2
- package/dist/chunks/cli-1.0.16-s6nrn76q.mjs +0 -2
- package/dist/chunks/cli-1.0.16-scvxzb6x.mjs +0 -2
- package/dist/chunks/cli-1.0.16-srgnhrpx.mjs +0 -2
- package/dist/chunks/cli-1.0.16-srr48ecc.mjs +0 -18
- package/dist/chunks/cli-1.0.16-stm6nwy6.mjs +0 -2
- package/dist/chunks/cli-1.0.16-t1815494.mjs +0 -7
- package/dist/chunks/cli-1.0.16-t2ky4p5s.mjs +0 -202
- package/dist/chunks/cli-1.0.16-td1tnrvq.mjs +0 -2
- package/dist/chunks/cli-1.0.16-tjqve1gp.mjs +0 -2
- package/dist/chunks/cli-1.0.16-tkw512bx.mjs +0 -2
- package/dist/chunks/cli-1.0.16-tnx6xq60.mjs +0 -2
- package/dist/chunks/cli-1.0.16-v6rpymkv.mjs +0 -2
- package/dist/chunks/cli-1.0.16-vfk0g9d8.mjs +0 -2
- package/dist/chunks/cli-1.0.16-vj5p858w.mjs +0 -3
- package/dist/chunks/cli-1.0.16-w382p4f7.mjs +0 -24
- package/dist/chunks/cli-1.0.16-wg00dea4.mjs +0 -2
- package/dist/chunks/cli-1.0.16-wh1hwpa6.mjs +0 -2
- package/dist/chunks/cli-1.0.16-wk5szq3c.mjs +0 -2
- package/dist/chunks/cli-1.0.16-wmt878h4.mjs +0 -2
- package/dist/chunks/cli-1.0.16-wt9wh18d.mjs +0 -3
- package/dist/chunks/cli-1.0.16-x002k14w.mjs +0 -4
- package/dist/chunks/cli-1.0.16-x50z71rx.mjs +0 -2
- package/dist/chunks/cli-1.0.16-x7frspjb.mjs +0 -2
- package/dist/chunks/cli-1.0.16-xest14mj.mjs +0 -2
- package/dist/chunks/cli-1.0.16-xhrysm93.mjs +0 -4
- package/dist/chunks/cli-1.0.16-xjjsnafh.mjs +0 -2
- package/dist/chunks/cli-1.0.16-xqwz1zgk.mjs +0 -2
- package/dist/chunks/cli-1.0.16-xz63vy3x.mjs +0 -2
- package/dist/chunks/cli-1.0.16-y8etxx4t.mjs +0 -2
- package/dist/chunks/cli-1.0.16-y9yxyd77.mjs +0 -2
- package/dist/chunks/cli-1.0.16-ynm2hz21.mjs +0 -2
- package/dist/chunks/cli-1.0.16-yw011pcb.mjs +0 -2
- package/dist/chunks/cli-1.0.16-z2t6cws8.mjs +0 -8
- package/dist/chunks/cli-1.0.16-z3ew4yak.mjs +0 -4
- package/dist/chunks/cli-1.0.16-z8hf3965.mjs +0 -2
- package/dist/chunks/cli-1.0.16-z8vtm68p.mjs +0 -4
- package/dist/chunks/cli-1.0.16-zakynkzs.mjs +0 -9
- package/dist/chunks/cli-1.0.16-zsvkc5zm.mjs +0 -2
- package/dist/chunks/cli-1.0.16-zv0gp6y5.mjs +0 -17
- package/dist/chunks/client-1.0.16-xhs0p1sr.mjs +0 -1
- package/dist/chunks/color-1.0.16-4vz7gpcs.mjs +0 -1
- package/dist/chunks/compact-1.0.16-h9s4p0tq.mjs +0 -3
- package/dist/chunks/config-1.0.16-g2c7zr5h.mjs +0 -1
- package/dist/chunks/config-1.0.16-ktfgayty.mjs +0 -1
- package/dist/chunks/constants-1.0.16-dttepjbs.mjs +0 -1
- package/dist/chunks/context-1.0.16-qtcs6qm5.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.16-rvjhqwht.mjs +0 -1
- package/dist/chunks/conversation-1.0.16-z503kkn8.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.16-z5a555zn.mjs +0 -1
- package/dist/chunks/copy-1.0.16-yfb29y6y.mjs +0 -9
- package/dist/chunks/cost-1.0.16-417v6b1a.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.16-zz14vxmj.mjs +0 -1
- package/dist/chunks/createSession-1.0.16-k1128bhd.mjs +0 -1
- package/dist/chunks/debug-1.0.16-rtt7pq3d.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.16-qxzqz3wz.mjs +0 -1446
- package/dist/chunks/desktop-1.0.16-hkxhs9sk.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.16-4p7e3f4d.mjs +0 -1
- package/dist/chunks/detection-1.0.16-gpt4y10p.mjs +0 -1
- package/dist/chunks/diff-1.0.16-hbcebmqq.mjs +0 -1
- package/dist/chunks/doctor-1.0.16-mbqv4b8m.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.16-c64s8s2j.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.16-cgk422bw.mjs +0 -1
- package/dist/chunks/effort-1.0.16-fk0fsqw1.mjs +0 -10
- package/dist/chunks/engine-1.0.16-5a0tr5hv.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.16-a88zsxm7.mjs +0 -1
- package/dist/chunks/envUtils-1.0.16-5gxzkt3m.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.16-3pg1req8.mjs +0 -1
- package/dist/chunks/environments-1.0.16-1aggyd97.mjs +0 -1
- package/dist/chunks/errors-1.0.16-vxy9cpnz.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.16-gw61yzy5.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.0.16-mg301nrg.mjs +0 -1
- package/dist/chunks/exit-1.0.16-rhqh0qcy.mjs +0 -1
- package/dist/chunks/explorer-1.0.16-dz7153c5.mjs +0 -1
- package/dist/chunks/export-1.0.16-grgk0hrd.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.16-eh8c6s6q.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.16-775rwnd4.mjs +0 -1
- package/dist/chunks/fast-1.0.16-j6006he1.mjs +0 -1
- package/dist/chunks/feedback-1.0.16-s0tshw39.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.16-h61b27k3.mjs +0 -1
- package/dist/chunks/git-1.0.16-zgmcchyv.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.16-q2s6e4s8.mjs +0 -1
- package/dist/chunks/goal-1.0.16-w0e1trst.mjs +0 -4
- package/dist/chunks/grove-1.0.16-rm643s3n.mjs +0 -1
- package/dist/chunks/growthbook-1.0.16-234vever.mjs +0 -1
- package/dist/chunks/headless-1.0.16-0f9r1wnw.mjs +0 -2
- package/dist/chunks/heapdump-1.0.16-2g3xpm87.mjs +0 -6
- package/dist/chunks/help-1.0.16-fmhte0j0.mjs +0 -1
- package/dist/chunks/hookChains-1.0.16-5f5tk1dt.mjs +0 -3
- package/dist/chunks/hooks-1.0.16-35ge6dh4.mjs +0 -1
- package/dist/chunks/hooks-1.0.16-w3s2dqc3.mjs +0 -79
- package/dist/chunks/ide-1.0.16-k72t7fra.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.16-wefqw84q.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.16-d9p2etx1.mjs +0 -1
- package/dist/chunks/index-1.0.16-0yqaa9dp.mjs +0 -1
- package/dist/chunks/index-1.0.16-2cwev03b.mjs +0 -1
- package/dist/chunks/index-1.0.16-2q4smqnq.mjs +0 -5
- package/dist/chunks/index-1.0.16-43g8hr9c.mjs +0 -1
- package/dist/chunks/index-1.0.16-58jgyw37.mjs +0 -1
- package/dist/chunks/index-1.0.16-6pawckrk.mjs +0 -1
- package/dist/chunks/index-1.0.16-900z9kpq.mjs +0 -1
- package/dist/chunks/index-1.0.16-a6bdp9dx.mjs +0 -1
- package/dist/chunks/index-1.0.16-brq1353t.mjs +0 -1
- package/dist/chunks/index-1.0.16-dkpszwnc.mjs +0 -30
- package/dist/chunks/index-1.0.16-fvhbvz4e.mjs +0 -1
- package/dist/chunks/index-1.0.16-fxg85h4f.mjs +0 -2
- package/dist/chunks/index-1.0.16-jrbr0vgb.mjs +0 -1
- package/dist/chunks/index-1.0.16-kbpve4r7.mjs +0 -1
- package/dist/chunks/index-1.0.16-mcszpr4h.mjs +0 -9
- package/dist/chunks/index-1.0.16-mmxyq9n1.mjs +0 -9
- package/dist/chunks/index-1.0.16-mpgbpm0k.mjs +0 -1
- package/dist/chunks/index-1.0.16-qsmka6f6.mjs +0 -1
- package/dist/chunks/index-1.0.16-rrgfxza5.mjs +0 -2
- package/dist/chunks/index-1.0.16-rsr8xcrt.mjs +0 -17
- package/dist/chunks/index-1.0.16-ryw2h481.mjs +0 -1
- package/dist/chunks/index-1.0.16-stt2baps.mjs +0 -1
- package/dist/chunks/index-1.0.16-zpctfp06.mjs +0 -1
- package/dist/chunks/init-1.0.16-6d9mah78.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.16-rmj53r70.mjs +0 -1
- package/dist/chunks/ink-1.0.16-bhr33b23.mjs +0 -1
- package/dist/chunks/insights-1.0.16-7kd5gsq0.mjs +0 -870
- package/dist/chunks/install-1.0.16-ab2zfsp3.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.16-7c40s5xx.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.16-5dv60ceq.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.16-tynczjn9.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.16-9gbm21fb.mjs +0 -1
- package/dist/chunks/keybindings-1.0.16-saxm9cz1.mjs +0 -2
- package/dist/chunks/knowledge-1.0.16-t1e5qmmj.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.16-x1vcspx5.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.16-73hvgtg1.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.16-nhgxn1vv.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.16-zsah8w7s.mjs +0 -1
- package/dist/chunks/log-1.0.16-1thaytya.mjs +0 -1
- package/dist/chunks/main-1.0.16-98hcbpah.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.16-kehw592q.mjs +0 -1
- package/dist/chunks/mcp-1.0.16-279t3wwh.mjs +0 -1
- package/dist/chunks/mcp-1.0.16-44q8kwd8.mjs +0 -4
- package/dist/chunks/mcp-1.0.16-vtjz32eq.mjs +0 -17
- package/dist/chunks/mcpb-1.0.16-c57m9p34.mjs +0 -1
- package/dist/chunks/memory-1.0.16-kjsp1ta2.mjs +0 -72
- package/dist/chunks/model-1.0.16-sk96phs5.mjs +0 -1
- package/dist/chunks/model-1.0.16-ttvdftag.mjs +0 -2
- package/dist/chunks/node-1.0.16-20fb4ffh.mjs +0 -12
- package/dist/chunks/oauth-1.0.16-jxs2a70y.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.16-1n9f8659.mjs +0 -14
- package/dist/chunks/output-style-1.0.16-a7amj8g1.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.0.16-09men0zm.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.16-46kkhskc.mjs +0 -1
- package/dist/chunks/parser-1.0.16-75k3wk1b.mjs +0 -1
- package/dist/chunks/passes-1.0.16-gapgbvp7.mjs +0 -1
- package/dist/chunks/permissions-1.0.16-6gc12sjy.mjs +0 -1
- package/dist/chunks/permissions-1.0.16-taf27235.mjs +0 -3
- package/dist/chunks/plan-1.0.16-4h9sahxh.mjs +0 -1
- package/dist/chunks/plist-1.0.16-00prnk6z.mjs +0 -1
- package/dist/chunks/plugin-1.0.16-jzbt7gzr.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.16-v0g6m4h4.mjs +0 -1
- package/dist/chunks/plugins-1.0.16-vw4ae418.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.16-cf53tkw8.mjs +0 -2
- package/dist/chunks/print-1.0.16-5trdtnez.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.16-tg3nb1jr.mjs +0 -1
- package/dist/chunks/process-1.0.16-nfkmm0cz.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.16-8kfkzt3n.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.16-4g1pf3ny.mjs +0 -9
- package/dist/chunks/prompt-1.0.16-436taj0q.mjs +0 -1
- package/dist/chunks/prompt-1.0.16-a7sjgybs.mjs +0 -1
- package/dist/chunks/prompts-1.0.16-pv504jmf.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.16-4ewyrhnt.mjs +0 -13
- package/dist/chunks/provider-1.0.16-40avs022.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.16-19xj1cn0.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.16-5kf26qqb.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.16-r6wk8rnn.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.16-ze1wp99c.mjs +0 -34
- package/dist/chunks/registry-1.0.16-kgejq595.mjs +0 -1
- package/dist/chunks/release-notes-1.0.16-scnheqw0.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.16-w0zg32ax.mjs +0 -2
- package/dist/chunks/remote-env-1.0.16-synwwy3m.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.16-ymnjt039.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.16-3aayhp1c.mjs +0 -1
- package/dist/chunks/rename-1.0.16-s36f1cwm.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.16-xcggq12t.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.16-pvrqbab9.mjs +0 -1
- package/dist/chunks/resume-1.0.16-q2dep3y4.mjs +0 -2
- package/dist/chunks/rewind-1.0.16-dq4wm5h4.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.16-r0kb1zct.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.0.16-dysdbd7q.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.0.16-7n9xg27z.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.16-xz2rf4ej.mjs +0 -1
- package/dist/chunks/session-1.0.16-xkrx4se2.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.16-3dphfc07.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.16-jrwwz53s.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.16-ag63vscp.mjs +0 -1
- package/dist/chunks/settings-1.0.16-q87pq0zz.mjs +0 -1
- package/dist/chunks/setup-1.0.16-12fgxwkv.mjs +0 -5
- package/dist/chunks/sinks-1.0.16-36a05p86.mjs +0 -1
- package/dist/chunks/skills-1.0.16-7tmcq0a1.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.16-mqq1dtg8.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.16-w07gte63.mjs +0 -1
- package/dist/chunks/state-1.0.16-gwzstmaj.mjs +0 -1
- package/dist/chunks/stats-1.0.16-2erbkz9h.mjs +0 -6
- package/dist/chunks/status-1.0.16-6qqf5na3.mjs +0 -1
- package/dist/chunks/stickers-1.0.16-jf9tyw9z.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.16-ngfdv3rn.mjs +0 -1
- package/dist/chunks/tasks-1.0.16-f2mpvw3j.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.16-1zqfw5kt.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.16-wq9c6fn5.mjs +0 -1
- package/dist/chunks/teleport-1.0.16-j0nb65ep.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.16-c2aasdh0.mjs +0 -1
- package/dist/chunks/theme-1.0.16-bp7rwprg.mjs +0 -1
- package/dist/chunks/thinkback-1.0.16-s5q9hf1f.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.16-qcz7ewrc.mjs +0 -1
- package/dist/chunks/toolPool-1.0.16-8jzr0b7x.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.16-rh3m1amv.mjs +0 -1
- package/dist/chunks/tools-1.0.16-acdg9mcz.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.16-4skvbzg2.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.16-bt2mzb9v.mjs +0 -69
- package/dist/chunks/types-1.0.16-12v2wggf.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.16-0sggaheg.mjs +0 -4
- package/dist/chunks/update-1.0.16-gaq5feph.mjs +0 -88
- package/dist/chunks/upgrade-1.0.16-4q1tw679.mjs +0 -1
- package/dist/chunks/upload-1.0.16-j0g88k8m.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.16-dvxtbfnr.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.16-41gcda5k.mjs +0 -1
- package/dist/chunks/usage-1.0.16-81hyem10.mjs +0 -1
- package/dist/chunks/util-1.0.16-vj3f24h4.mjs +0 -1
- package/dist/chunks/utils-1.0.16-b4gx7byh.mjs +0 -1
- package/dist/chunks/vim-1.0.16-jvbyy8tf.mjs +0 -1
- package/dist/chunks/watchLoop-1.0.16-rxr5a1c9.mjs +0 -13
- package/dist/chunks/watcher-1.0.16-c0bhk1zf.mjs +0 -1
- package/dist/chunks/wiki-1.0.16-36wp5225.mjs +0 -132
- package/dist/chunks/workflows-1.0.16-0es24xfj.mjs +0 -1
- package/dist/chunks/worktree-1.0.16-yhpvswv0.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.16-h6ctn92v.mjs +0 -1
- package/dist/chunks/wrapper-1.0.16-phy8pddr.mjs +0 -7
- /package/dist/chunks/{cli-1.0.16-y02n1td1.mjs → cli-1.1.0-5sg0fk2p.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-jz90b7gc.mjs → cli-1.1.0-7s0f112n.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-1mzm316y.mjs → cli-1.1.0-9nc530td.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-fjg1p1sc.mjs → cli-1.1.0-gm3yzqxw.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-y98j8rxt.mjs → cli-1.1.0-j0sa90bm.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-vkzqt5g9.mjs → cli-1.1.0-vcev20jn.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.16-bsg2fea8.mjs → cli-1.1.0-wmg6s7xa.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lh as B,Mh as CJ}from"./cli-1.0.16-abxtgh7d.mjs";import{$q as JJ,Ay as yJ,Hn as AJ,In as rJ,Lq as vq,Nq as n,Oq as NJ,Tn as DJ,Un as lJ,Vn as PJ,Vq as TJ,Wn as tJ,Xn as VJ,Xq as OJ,Yn as eJ,Zx as Cq,_x as FJ,ar as uq,ay as QQ,dr as MJ,er as QJ,gG as BJ,iG as ZQ,ox as wJ,px as JQ,yy as Bq,zy as kq}from"./cli-1.0.16-pz654728.mjs";import{jY as LJ,kY as oJ,nY as RJ,oY as aJ,wY as jJ,xY as qQ}from"./cli-1.0.16-b475h1qv.mjs";import{G0 as O,I0 as D,K0 as nq,L0 as EJ,kZ as sJ,l1 as hJ}from"./cli-1.0.16-2thxt6pw.mjs";import{T3 as IJ,U3 as H,V3 as j,W3 as zJ}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as nJ}from"./cli-1.0.16-gydkk4pv.mjs";import{D6 as mq,E8 as HQ,F6 as s,N5 as bq,O5 as GJ,O6 as i,Q5 as Eq,R6 as yq,V6 as dJ,a6 as HJ,f6 as pJ,f7 as kJ,j8 as _J,k7 as GQ}from"./cli-1.0.16-s5y2vt2x.mjs";import{$8 as xJ,_8 as K}from"./cli-1.0.16-g3xbjpm0.mjs";import{Fba as $J,Hda as iJ,pba as aq,qba as lq,rba as _q,sba as tq,sda as UJ,tba as eq,uba as qJ,uda as WJ}from"./cli-1.0.16-t2ky4p5s.mjs";import{Xia as KJ,_ia as cJ}from"./cli-1.0.16-6d9kerj1.mjs";import{dsa as XJ,hsa as Rq}from"./cli-1.0.16-y9yxyd77.mjs";function hq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function mJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=bJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function PQ(J,q,Q,Z,Y){if(!B())return uJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${sq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function VQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function jQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function NQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=hq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function rq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function TQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=hq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${sq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function dq(J,q){if(!q||!nq())return J;return`${Bq}${q}${kq}${J}${Bq}${kq}`}function OQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=dq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=mJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${gJ} `)+dq(R(`#${J}`),Y)+G(" ")+I(w)}function uJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",sq="",gJ="",bJ;var oq=Rq(()=>{xJ();EJ();yJ();CJ();bJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function fJ(J,q){if(vq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function kQ(J,q,Q){if(!n(q))return;let Z=JJ(q,J),Y=fJ(Z,Q);return{pill:rq(`${Sq(Z)} ${Z}`,Y,Q),bg:Y}}function Sq(J){if(vq(J))return qJ;switch(J){case"low":return aq;case"medium":return lq;case"high":return _q;case"xhigh":return tq;case"max":return eq;default:return _q}}var ZJ=Rq(()=>{$J();QJ();oq()});function rQ(J){let q=$q.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=FJ(),L=RJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=Cq(KQ),[k,vJ]=Dq.useState(!1),_=Cq(XQ),r;if(q[0]!==_)r=_!==void 0?uq(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,fq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=wJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=yq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(YQ),q[12]=Nq,q[13]=a;else a=q[13];let N=a,l;if(q[14]!==A||q[15]!==N)l=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=l;else l=q[16];let Tq=l,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=gq(T);M=W?n(W):!1,Qq=W?NJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=xq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)fq(xq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;fq((V)=>UQ(V??x,W,Zq)),vJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];LJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(KJ("tengu_model_command_menu_effort",{effort:v}),!I){let iq=OJ(v,xq(V),UJ("userSettings")?.effortLevel,k),pq=TJ(iq);if(pq!==void 0)WJ("userSettings",{effortLevel:pq});F((SJ)=>({...SJ,effortValue:iq}))}let S=gq(V),cq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,cq);return}Y(V,cq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",yq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??zQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(BJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(YJ,{effort:d})," ",AJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(YJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=bq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",Eq," only (/fast). Switching to other models turn off fast mode."]})}):GJ()&&!HJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",Eq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(IJ,{children:["Press ",L.keyName," again to exit"]}):j(VJ,{children:[H(DJ,{shortcut:"Enter",action:"confirm"}),H(PJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(jJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function zQ(){}function YQ(J){return{...J,value:J.value===null?h:J.value}}function XQ(J){return J.effortValue}function KQ(J){return bq()?J.fastMode:!1}function gq(J){if(!J)return;return J===h?mq():i(J)}function YJ(J){let q=$q.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=Sq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function UQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function xq(J){let q=gq(J)??mq(),Q=MJ(q);return Q!==void 0?uq(Q):"high"}var $q,Dq,h="__NO_PREFERENCE__";var WQ=Rq(()=>{rJ();aJ();cJ();pJ();hJ();oJ();QQ();QJ();dJ();JQ();iJ();tJ();ZQ();eJ();lJ();qQ();ZJ();zJ();$q=XJ(sJ(),1),Dq=XJ(nJ(),1)});function eQ(J,q,Q){if(!_J())return!1;if(q)return!0;if(J===null||!kJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var IQ=Rq(()=>{HQ();GQ()});
|
|
2
|
-
export{hq as Ug,mJ as Vg,PQ as Wg,VQ as Xg,jQ as Yg,NQ as Zg,TQ as _g,OQ as $g,oq as ah,kQ as bh,Sq as ch,ZJ as dh,rQ as eh,WQ as fh,eQ as gh,IQ as hh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ja as Q,bka as $}from"./cli-1.0.16-04tr8fw7.mjs";import{Aka as K,Fka as Z}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as J,Vka as Y}from"./cli-1.0.16-q2g1eds7.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
|
|
2
|
-
export{T as ha,w as ia,y as ja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AU as N,BU as p,CU as F,EU as U,FU as A}from"./cli-1.0.16-58sv5vch.mjs";import{F8 as L,G8 as P,J8 as O,L8 as V,V8 as x,X8 as H,Y8 as k}from"./cli-1.0.16-fskj6kkz.mjs";import{Hda as K,Saa as I,Tea as M,Uaa as D,sda as X,yda as Y,yea as Z}from"./cli-1.0.16-t2ky4p5s.mjs";import{Lka as $,Vka as b}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as G}from"./cli-1.0.16-y9yxyd77.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
|
|
2
|
-
export{r as Rc,g as Sc,j as Tc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c4 as N,d4 as V,e4 as D}from"./cli-1.0.16-dsw73925.mjs";import{E8 as x,F7 as Z,M4 as Y,S4 as _,e8 as J,g8 as $,j8 as B}from"./cli-1.0.16-s5y2vt2x.mjs";import{Qia as Q,Wia as P}from"./cli-1.0.16-natadjxz.mjs";import{Kra as R,sra as X}from"./cli-1.0.16-fcfaz7s1.mjs";import{hsa as W}from"./cli-1.0.16-y9yxyd77.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
|
|
2
|
-
export{E as Y3,I as Z3,w as _3,C as $3,O as a4,H as b4};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{$J as F,Jv as U,Lv as h,PR as a,VC as A,WC as p,eB as k,ej as $,fB as I,hj as m,wR as L}from"./cli-1.0.16-pz654728.mjs";import{x4 as O,y4 as f}from"./cli-1.0.16-s5y2vt2x.mjs";import{Mja as S,Qja as E}from"./cli-1.0.16-04tr8fw7.mjs";import{Dka as b,Fka as T}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as y,Vka as C}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as N}from"./cli-1.0.16-y9yxyd77.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
|
-
|
|
3
|
-
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
|
-
|
|
5
|
-
The file {{docPath}} has already been read for you. Here are its current contents:
|
|
6
|
-
<current_doc_content>
|
|
7
|
-
{{docContents}}
|
|
8
|
-
</current_doc_content>
|
|
9
|
-
|
|
10
|
-
Document title: {{docTitle}}
|
|
11
|
-
{{customInstructions}}
|
|
12
|
-
|
|
13
|
-
Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
|
|
14
|
-
|
|
15
|
-
CRITICAL RULES FOR EDITING:
|
|
16
|
-
- Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
|
|
17
|
-
- If there's an italicized line immediately after the header, preserve it exactly as-is
|
|
18
|
-
- Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
|
|
19
|
-
- Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
|
|
20
|
-
- Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
|
|
21
|
-
- Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
|
|
22
|
-
- Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
|
|
23
|
-
- Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
|
|
24
|
-
|
|
25
|
-
DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
|
|
26
|
-
- BE TERSE. High signal only. No filler words or unnecessary elaboration.
|
|
27
|
-
- Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
|
|
28
|
-
- Do NOT duplicate information that's already obvious from reading the source code
|
|
29
|
-
- Do NOT document every function, parameter, or line number reference
|
|
30
|
-
- Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
|
|
31
|
-
- Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
|
|
32
|
-
|
|
33
|
-
What TO document:
|
|
34
|
-
- High-level architecture and system design
|
|
35
|
-
- Non-obvious patterns, conventions, or gotchas
|
|
36
|
-
- Key entry points and where to start reading code
|
|
37
|
-
- Important design decisions and their rationale
|
|
38
|
-
- Critical dependencies or integration points
|
|
39
|
-
- References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
|
|
40
|
-
|
|
41
|
-
What NOT to document:
|
|
42
|
-
- Anything obvious from reading the code itself
|
|
43
|
-
- Exhaustive lists of files, functions, or parameters
|
|
44
|
-
- Step-by-step implementation details
|
|
45
|
-
- Low-level code mechanics
|
|
46
|
-
- Information already in CLAUDE.md or other project docs
|
|
47
|
-
|
|
48
|
-
Use the Edit tool with file_path: {{docPath}}
|
|
49
|
-
|
|
50
|
-
REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
|
|
51
|
-
|
|
52
|
-
DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
|
|
53
|
-
The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
|
|
54
|
-
|
|
55
|
-
"${J}"
|
|
56
|
-
|
|
57
|
-
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
|
|
58
|
-
export{Xw as Wh,Zw as Xh,s as Yh};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{cc as DY}from"./cli-1.0.16-jz90b7gc.mjs";import{$c as iQ,Yc as LY}from"./cli-1.0.16-xjjsnafh.mjs";import{bi as V0,ci as p6}from"./cli-1.0.16-ahn721qj.mjs";import{Vi as pY,Wi as A6}from"./cli-1.0.16-fcjskkf4.mjs";import{$J as s,$v as pZ,Ap as i6,Aq as FZ,Bq as _Y,FL as P9,HD as NY,HL as F9,ID as nQ,JD as RY,LD as z6,LL as M9,MA as uY,Nm as yZ,OA as v6,PD as n,PR as wZ,Qm as $Z,RD as U6,Rm as e0,SB as cY,SL as o6,TB as _6,UA as CY,VA as TY,Vv as h0,WA as L6,Wv as uZ,XB as mY,XH as T0,XK as PY,Xv as k0,YB as O6,YH as s9,Yv as x0,Zv as u0,Zx as I0,_K as J6,_v as p0,aS as rY,al as L9,aw as cZ,ay as i9,bk as KZ,bl as u6,bu as ZY,bw as c0,cl as z9,cu as xQ,cw as m0,dl as q9,du as JY,dw as g0,eQ as lY,ek as E0,el as bZ,eu as lQ,ew as d0,fK as gY,fl as Y0,fu as kY,fw as l0,gG as C0,gl as D9,gw as a0,hG as o9,hl as XZ,hw as n0,il as Q0,it as M0,iw as r0,jS as iY,jk as hY,jl as v9,jw as i0,kl as A9,kw as GQ,kz as xY,ll as sY,lt as b0,mK as dY,mt as fZ,nQ as aY,nS as zY,nz as D6,pQ as nY,qS as qY,qt as r9,tQ as w6,uR as kZ,vD as HY,vO as BY,wD as aQ,xO as rQ,yR as xZ,yq as iZ,zp as j9,zq as AY}from"./cli-1.0.16-pz654728.mjs";import{pX as Q9,tX as R6}from"./cli-1.0.16-w382p4f7.mjs";import{WX as y0,XX as d9,iY as $0,jY as j0,kY as l9,nY as P0,oY as a9,uY as F0,vY as n9}from"./cli-1.0.16-b475h1qv.mjs";import{G0 as p,I0 as M,kZ as m9,l1 as g9}from"./cli-1.0.16-2thxt6pw.mjs";import{T3 as a,U3 as E,V3 as b,W3 as J0}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as c9}from"./cli-1.0.16-gydkk4pv.mjs";import{E8 as G6,H7 as jY,b6 as $Y,f6 as K6}from"./cli-1.0.16-s5y2vt2x.mjs";import{$$ as TZ,Aca as EY,Baa as n6,Cca as V6,Faa as Y9,Hda as W6,Kaa as T6,U_ as E9,baa as x9,eaa as y9,f_ as _Z,g_ as k9,hca as $9,jga as U0,mga as p9,oca as r6,qga as e,r_ as GY,t_ as dQ,u$ as a6,yda as yY,yga as w0,zca as wY}from"./cli-1.0.16-t2ky4p5s.mjs";import{Jga as B0,Rga as L0,Vga as h9}from"./cli-1.0.16-x002k14w.mjs";import{Kha as $6,zha as oY}from"./cli-1.0.16-hpznp2f1.mjs";import{bia as Y,cia as h,dia as JZ,eia as q,fia as EZ}from"./cli-1.0.16-rfmqmp7n.mjs";import{Gia as O0,Mia as u9,iia as UY,jia as X6,lia as RZ,oia as z0,pia as q0,qia as D0,ria as v0,tia as A0,uia as _0}from"./cli-1.0.16-pj0vcmv0.mjs";import{Xia as g,_ia as UZ}from"./cli-1.0.16-6d9kerj1.mjs";import{Dja as ZZ,Eja as WY,Ija as PZ,_ja as I,bja as Z9,bka as HZ,dja as C6}from"./cli-1.0.16-04tr8fw7.mjs";import{dka as KY,hka as gQ}from"./cli-1.0.16-re32rapy.mjs";import{Fka as lZ,kka as VY,yka as w9,zka as tZ}from"./cli-1.0.16-7hc7p9x4.mjs";import{Fma as W0,Gma as eY,Qna as OY,gpa as J9,hpa as DZ,ipa as H9,kpa as N9,lpa as X0,npa as B9,vqa as IY,yqa as BZ,zma as NZ}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as N0,gsa as hZ,hsa as OZ,isa as rZ}from"./cli-1.0.16-y9yxyd77.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-1.0.16-brq1353t.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:[gY(`${$}
|
|
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?nY(A.commandName,V.options.commands):void 0;if(j)if(aY(j))C=!1;else{let N=`/${lY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),dY(`<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-1.0.16-8kfkzt3n.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-1.0.16-4g1pf3ny.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 la,N6 as ma,OV as na,e9 as oa,S0 as pa,VQ as qa,WQ as ra,KQ as sa,wV as ta,iV as ua,gZ as va,jZ as wa,QY as xa,oQ as ya,Z6 as za,e6 as Aa,IW as Ba,M6 as Ca,b6 as Da,I6 as Ea,g6 as Fa,d6 as Ga,l6 as Ha};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Sea as G,Tea as h,Xea as v,Yea as P,dfa as k,pfa as f,vea as M,yea as L}from"./cli-1.0.16-t2ky4p5s.mjs";import{Nia as E,Wia as x}from"./cli-1.0.16-natadjxz.mjs";import{Ika as T,Vka as u}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as C}from"./cli-1.0.16-y9yxyd77.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
|
|
2
|
-
export{Vj as Hc,Wj as Ic,e as Jc,Xj as Kc,Yj as Lc,jj as Mc};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{rg as LJ,sg as WQ}from"./cli-1.0.16-07b4f4bw.mjs";import{tg as hJ,ug as RQ}from"./cli-1.0.16-ewmczs5j.mjs";import{vg as PJ,wg as hQ}from"./cli-1.0.16-tnx6xq60.mjs";import{xg as aq,yg as lJ}from"./cli-1.0.16-cheyjtmw.mjs";import{Ag as iq,Bg as $J,zg as Fq}from"./cli-1.0.16-4a2x18jw.mjs";import{Cg as WJ,Dg as HQ}from"./cli-1.0.16-h8cqz7s4.mjs";import{$Q as Aq,At as VQ,Bt as VJ,Ct as XJ,DT as sq,Dt as XQ,GT as tq,KG as vq,LG as BQ,LQ as eq,MG as UJ,NG as FJ,NQ as iJ,OG as wJ,PG as FQ,ST as nJ,Vo as P,Wo as Tq,Zx as g,ay as yQ,cR as oJ,hJ as HJ,iJ as RJ,iy as uq,jJ as wQ,jy as mq,ly as pq,my as fJ,yo as GJ,zT as wq,zo as KQ,zt as KJ}from"./cli-1.0.16-pz654728.mjs";import{tU as yJ,vU as NJ,yU as NQ}from"./cli-1.0.16-bcax4sz5.mjs";import{hW as BJ,lW as UQ}from"./cli-1.0.16-j8kkz0js.mjs";import{jY as zJ,kY as zQ,nY as YJ,oY as YQ,wY as Mq,xY as GQ}from"./cli-1.0.16-b475h1qv.mjs";import{G0 as y,I0 as Q,kZ as Pq,l1 as Oq}from"./cli-1.0.16-2thxt6pw.mjs";import{T3 as h,U3 as Y,V3 as Z,W3 as c}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as ZQ}from"./cli-1.0.16-gydkk4pv.mjs";import{V6 as cJ,j7 as ZJ,k7 as QQ,w6 as rq}from"./cli-1.0.16-s5y2vt2x.mjs";import{Baa as qQ,Hda as JQ,Lca as gq,Mca as dJ,Pca as xq,Xca as TJ,eaa as Iq,f_ as $,g_ as tJ,xda as QJ}from"./cli-1.0.16-t2ky4p5s.mjs";import{Ika as JJ,Vka as sJ}from"./cli-1.0.16-q2g1eds7.mjs";import{Fma as qJ,yqa as eJ}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as Bq,hsa as Uq}from"./cli-1.0.16-y9yxyd77.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
-
`)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
-
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
-
export{pZ as pg,cQ as qg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hsa as s}from"./cli-1.0.16-y9yxyd77.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.0.16 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
-
export{c as c4,i as d4,r as e4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Za as S}from"./cli-1.0.16-vkzqt5g9.mjs";import{$a as c}from"./cli-1.0.16-nh58e5sn.mjs";import{Dd as P,Hd as Vq}from"./cli-1.0.16-stm6nwy6.mjs";import{Ld as I,Md as v,Nd as $,Od as Wq}from"./cli-1.0.16-bqa1thts.mjs";import{$K as E,Zx as L,_x as h,aL as Qq,ay as qq,gp as C,ip as r,oF as M,pF as Jq,pu as N,qu as e,qz as A,rM as f,rz as Bq,uM as Tq,vz as _,xz as Gq}from"./cli-1.0.16-pz654728.mjs";import{X3 as s}from"./cli-1.0.16-gydkk4pv.mjs";import{$$ as w,baa as t,qga as F,r_ as D,t_ as n,yga as a}from"./cli-1.0.16-t2ky4p5s.mjs";import{Xia as x,_ia as d}from"./cli-1.0.16-6d9kerj1.mjs";import{_ja as j,bka as o}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as l,xka as y}from"./cli-1.0.16-7hc7p9x4.mjs";import{dsa as p}from"./cli-1.0.16-y9yxyd77.mjs";Jq();d();Gq();qq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);Bq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{Lq as Ya};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hsa as n}from"./cli-1.0.16-y9yxyd77.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 _V,e as $V,i as aW,g as bW,r as cW,u as dW,f as eW,l as fW,t as gW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{k3 as y,o3 as V}from"./cli-1.0.16-wh1hwpa6.mjs";import{gba as q,iba as Q,w_ as p,y_ as K}from"./cli-1.0.16-t2ky4p5s.mjs";import{hsa as J}from"./cli-1.0.16-y9yxyd77.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{j as _2,D as $2,P as a3,w as b3,E as c3,Y as d3,F as e3,G as f3,Z as g3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Mi as H,Oi as C}from"./cli-1.0.16-g1hxxcer.mjs";import{Pi as k,Qi as y}from"./cli-1.0.16-y8etxx4t.mjs";import{j4 as X,l4 as Y,q4 as R}from"./cli-1.0.16-16qr698n.mjs";import{s4 as G,t4 as m}from"./cli-1.0.16-21yhbzk0.mjs";import{E8 as f,X4 as w,Y4 as E,p8 as B}from"./cli-1.0.16-s5y2vt2x.mjs";import{Tea as x,qga as Q,vea as S,yea as j,yga as D}from"./cli-1.0.16-t2ky4p5s.mjs";import{Via as V,Wia as b}from"./cli-1.0.16-natadjxz.mjs";import{Kra as I,sra as W}from"./cli-1.0.16-fcfaz7s1.mjs";import{hsa as Z}from"./cli-1.0.16-y9yxyd77.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
-
export{i as Ji,A as Ki};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Mg as d,Ng as Vq}from"./cli-1.0.16-fhqg8pmc.mjs";import{gT as l,sT as Oq,uS as a,wS as yq}from"./cli-1.0.16-pz654728.mjs";import{G0 as T,I0 as R,a1 as $,kZ as Zq,l1 as Gq}from"./cli-1.0.16-2thxt6pw.mjs";import{d2 as t,f2 as v,i2 as e}from"./cli-1.0.16-94c7kpx1.mjs";import{U3 as P,V3 as N,W3 as S}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as Yq}from"./cli-1.0.16-gydkk4pv.mjs";import{s4 as u,t4 as Aq}from"./cli-1.0.16-21yhbzk0.mjs";import{Baa as s,eaa as j,w_ as G,y_ as o}from"./cli-1.0.16-t2ky4p5s.mjs";import{iia as w,jia as r}from"./cli-1.0.16-pj0vcmv0.mjs";import{_ja as L,bka as n}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as Xq,yka as c}from"./cli-1.0.16-7hc7p9x4.mjs";import{yqa as i,zma as f}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as I,hsa as h}from"./cli-1.0.16-y9yxyd77.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
-
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
-
export{mq as Kg,Bq as Lg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I0 as t,kZ as s,l1 as f}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as n,V3 as c,W3 as r}from"./cli-1.0.16-5axjzbba.mjs";import{dsa as m,hsa as l}from"./cli-1.0.16-y9yxyd77.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as tg,p as ug};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{YZ as T,ZZ as X,_Z as I,a0 as Y,b0 as p,o0 as v,p0 as Z,q0 as D}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as P,W3 as V}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as H}from"./cli-1.0.16-gydkk4pv.mjs";import{Hna as W,yqa as F}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as A,hsa as C}from"./cli-1.0.16-y9yxyd77.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
|
-
export{u as Qh,M as Rh};
|