@claudiolabs/claudin 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +1 -0
- package/dist/chunks/App-0.5.9-zsap2q4b.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +3 -0
- package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +1 -0
- package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +1 -0
- package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +1 -0
- package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +1 -0
- package/dist/chunks/agents-0.5.9-b270304w.mjs +110 -0
- package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +3 -0
- package/dist/chunks/api-0.5.9-jnhtend7.mjs +1 -0
- package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +1 -0
- package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +1 -0
- package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +1 -0
- package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +1 -0
- package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +1 -0
- package/dist/chunks/branch-0.5.9-4389y3jh.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +1 -0
- package/dist/chunks/btw-0.5.9-kq7dda47.mjs +1 -0
- package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +3 -0
- package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +4 -0
- package/dist/chunks/caches-0.5.9-kg4820wg.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +1 -0
- package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +1 -0
- package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +1 -0
- package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +4 -0
- package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +58 -0
- package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +193 -0
- package/dist/chunks/cli-0.5.9-0becvd5f.mjs +2 -0
- package/dist/chunks/cli-0.5.9-0w46b370.mjs +3 -0
- package/dist/chunks/cli-0.5.9-10ar539r.mjs +2 -0
- package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +12 -0
- package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +15 -0
- package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +4 -0
- package/dist/chunks/cli-0.5.9-1y9n9z2h.mjs +2 -0
- package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-248na0hf.mjs +2 -0
- package/dist/chunks/cli-0.5.9-2fcyavah.mjs +17 -0
- package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +12 -0
- package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +2 -0
- package/dist/chunks/cli-0.5.9-371mb3zf.mjs +4 -0
- package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +2 -0
- package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-42t3s85x.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4aga12a5.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4fdad25z.mjs +3 -0
- package/dist/chunks/cli-0.5.9-4m738pn1.mjs +25 -0
- package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-4w9169na.mjs +3 -0
- package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +39 -0
- package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5hzwn715.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +4 -0
- package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-610r4gbg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-637n1msd.mjs +15 -0
- package/dist/chunks/cli-0.5.9-671nz4d9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-68rmtj23.mjs +2 -0
- package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +2 -0
- package/dist/chunks/cli-0.5.9-72tax9cd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-77nxjft3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +18 -0
- package/dist/chunks/cli-0.5.9-7hcka84h.mjs +2 -0
- package/dist/chunks/cli-0.5.9-7qcan18n.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +4 -0
- package/dist/chunks/cli-0.5.9-91gjew0x.mjs +3 -0
- package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +17 -0
- package/dist/chunks/cli-0.5.9-a720c6hc.mjs +9 -0
- package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +2 -0
- package/dist/chunks/cli-0.5.9-an1j3dqv.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +67 -0
- package/dist/chunks/cli-0.5.9-apc46v07.mjs +15 -0
- package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +2 -0
- package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +5 -0
- package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bfn7177j.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-c54d94sv.mjs +2 -0
- package/dist/chunks/cli-0.5.9-c91t0fys.mjs +2 -0
- package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +2 -0
- package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +2 -0
- package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +12 -0
- package/dist/chunks/cli-0.5.9-d66wktpd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-da0mspn4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-dszssq6z.mjs +2 -0
- package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e5ex267m.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +2 -0
- package/dist/chunks/cli-0.5.9-eagw660r.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ehe0yr95.mjs +26 -0
- package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +3 -0
- package/dist/chunks/cli-0.5.9-ek649arf.mjs +6 -0
- package/dist/chunks/cli-0.5.9-ezc11axw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-fn6ees65.mjs +2 -0
- package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +2 -0
- package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +133 -0
- package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +5 -0
- package/dist/chunks/cli-0.5.9-gbq794tt.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gcsba93g.mjs +18 -0
- package/dist/chunks/cli-0.5.9-ghbax09k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-grgf8g99.mjs +2 -0
- package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +3 -0
- package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +24 -0
- package/dist/chunks/cli-0.5.9-h836a3wa.mjs +2 -0
- package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +4 -0
- package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j8629kcy.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +8 -0
- package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +6 -0
- package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +4 -0
- package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +3 -0
- package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-k47s77hf.mjs +2 -0
- package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +42 -0
- package/dist/chunks/cli-0.5.9-k9yedz53.mjs +5262 -0
- package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +6 -0
- package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +2 -0
- package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mk69z06z.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-n08gkgng.mjs +21 -0
- package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +3 -0
- package/dist/chunks/cli-0.5.9-nct7sarc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +5 -0
- package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +9 -0
- package/dist/chunks/cli-0.5.9-ppr1420k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q69vj08a.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +3 -0
- package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +50 -0
- package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +59 -0
- package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +3 -0
- package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-r9d405kc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rh5280xq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +20 -0
- package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +34 -0
- package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rv2328c4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +3 -0
- package/dist/chunks/cli-0.5.9-sd34jmva.mjs +2 -0
- package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ss870bda.mjs +2 -0
- package/dist/chunks/cli-0.5.9-syr6nffj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +45 -0
- package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tke5evvm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-v1srrn02.mjs +2 -0
- package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +16 -0
- package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +2 -0
- package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +133 -0
- package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-whf5zybr.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wjvc994v.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wrndf987.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xcexsk79.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xge969yd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xn369es1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +10 -0
- package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +2 -0
- package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ysvsqcpa.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-z87j725g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zerpef2t.mjs +1 -0
- package/dist/chunks/cli-0.5.9-zeskcndd.mjs +24 -0
- package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zrcz538q.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +7 -0
- package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +1 -0
- package/dist/chunks/color-0.5.9-5722xdf4.mjs +1 -0
- package/dist/chunks/compact-0.5.9-4cf807hc.mjs +3 -0
- package/dist/chunks/config-0.5.9-936tss5g.mjs +1 -0
- package/dist/chunks/config-0.5.9-kk16cygb.mjs +1 -0
- package/dist/chunks/context-0.5.9-b0afgp2c.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +1 -0
- package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +1 -0
- package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +9 -0
- package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +1 -0
- package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +1 -0
- package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +1177 -0
- package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +1 -0
- package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +1 -0
- package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +1 -0
- package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +1 -0
- package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +10 -0
- package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +1 -0
- package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +1 -0
- package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +1 -0
- package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +1 -0
- package/dist/chunks/export-0.5.9-1dpbp185.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +1 -0
- package/dist/chunks/fast-0.5.9-wagaw91z.mjs +1 -0
- package/dist/chunks/feedback-0.5.9-x37szs13.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +1 -0
- package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +1 -0
- package/dist/chunks/grove-0.5.9-grafpqtx.mjs +1 -0
- package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +1 -0
- package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +2 -0
- package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +6 -0
- package/dist/chunks/help-0.5.9-x6ds3za0.mjs +1 -0
- package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +3 -0
- package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +1 -0
- package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +79 -0
- package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +1 -0
- package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +17 -0
- package/dist/chunks/index-0.5.9-3ng34e8n.mjs +2 -0
- package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +9 -0
- package/dist/chunks/index-0.5.9-4fzd2pns.mjs +1 -0
- package/dist/chunks/index-0.5.9-6awv6fyn.mjs +1 -0
- package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +1 -0
- package/dist/chunks/index-0.5.9-725p0eby.mjs +1 -0
- package/dist/chunks/index-0.5.9-85ep6547.mjs +30 -0
- package/dist/chunks/index-0.5.9-8h5ceajb.mjs +1 -0
- package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +5 -0
- package/dist/chunks/index-0.5.9-b3jm65x4.mjs +1 -0
- package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +1 -0
- package/dist/chunks/index-0.5.9-gnac3s48.mjs +1 -0
- package/dist/chunks/index-0.5.9-m68jcsx2.mjs +1 -0
- package/dist/chunks/index-0.5.9-n91crv8a.mjs +1 -0
- package/dist/chunks/index-0.5.9-npkfayxd.mjs +1 -0
- package/dist/chunks/index-0.5.9-pbzzad7t.mjs +9 -0
- package/dist/chunks/index-0.5.9-thp631gs.mjs +1 -0
- package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +1 -0
- package/dist/chunks/index-0.5.9-y07jxja1.mjs +1 -0
- package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +2 -0
- package/dist/chunks/index-0.5.9-zb346057.mjs +1 -0
- package/dist/chunks/init-0.5.9-cmszfh8j.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +1 -0
- package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +1 -0
- package/dist/chunks/insights-0.5.9-fevx72ve.mjs +870 -0
- package/dist/chunks/install-0.5.9-6m05dpsa.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +1 -0
- package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +2 -0
- package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +1 -0
- package/dist/chunks/log-0.5.9-8aszszjb.mjs +1 -0
- package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +1 -0
- package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +17 -0
- package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +4 -0
- package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +1 -0
- package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +1 -0
- package/dist/chunks/memory-0.5.9-se036fe4.mjs +3 -0
- package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +2 -0
- package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +1 -0
- package/dist/chunks/model-0.5.9-k0m86zrn.mjs +2 -0
- package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +12 -0
- package/dist/chunks/oauth-0.5.9-bytwte72.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +14 -0
- package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +1 -0
- package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +1 -0
- package/dist/chunks/passes-0.5.9-w08t80rc.mjs +1 -0
- package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +3 -0
- package/dist/chunks/plan-0.5.9-trs5gepx.mjs +1 -0
- package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +1 -0
- package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +1 -0
- package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +2 -0
- package/dist/chunks/print-0.5.9-fm0q92d1.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +1 -0
- package/dist/chunks/process-0.5.9-syp1y7ym.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +9 -0
- package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +1 -0
- package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +1 -0
- package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +13 -0
- package/dist/chunks/provider-0.5.9-ew50s03j.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +34 -0
- package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +1 -0
- package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +2 -0
- package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +1 -0
- package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +1 -0
- package/dist/chunks/resume-0.5.9-5n9z570h.mjs +2 -0
- package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +1 -0
- package/dist/chunks/session-0.5.9-spjfzb60.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +1 -0
- package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +1 -0
- package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +5 -0
- package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +1 -0
- package/dist/chunks/skills-0.5.9-816ec23f.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +1 -0
- package/dist/chunks/state-0.5.9-ssv90pdf.mjs +1 -0
- package/dist/chunks/stats-0.5.9-09jq1eez.mjs +6 -0
- package/dist/chunks/status-0.5.9-zm23czy4.mjs +1 -0
- package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +1 -0
- package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +1 -0
- package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +1 -0
- package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +1 -0
- package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +1 -0
- package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +1 -0
- package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +4 -0
- package/dist/chunks/update-0.5.9-yv6acwy6.mjs +86 -0
- package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +1 -0
- package/dist/chunks/usage-0.5.9-ze5694v0.mjs +1 -0
- package/dist/chunks/util-0.5.9-8517xr6w.mjs +1 -0
- package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +1 -0
- package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +1 -0
- package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +1 -0
- package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +132 -0
- package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +1 -0
- package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +24 -24
- package/dist/chunks/AgentTool-0.5.8-161prcqd.mjs +0 -1
- package/dist/chunks/App-0.5.8-s4939y9q.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.8-kyzt3tyh.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.8-0fws1s48.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.8-v373fzha.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.8-pbv15kg8.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.8-rmcm4b5v.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.8-q3djee4h.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.8-1gvdqrt3.mjs +0 -3
- package/dist/chunks/Doctor-0.5.8-5k5vqf8q.mjs +0 -1
- package/dist/chunks/Grove-0.5.8-g2xzefay.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.8-j209yx9z.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.8-98nc303h.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.8-p5qzw710.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.8-gp57r21r.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.8-m0r6a4s2.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.8-6tfnxyse.mjs +0 -1
- package/dist/chunks/REPL-0.5.8-sf0q46pa.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.8-0j8mw0eh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.8-13b725ee.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.8-3fxrymde.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.8-1dqx0hnb.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.8-84pek3s7.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.8-rcwm1j6z.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.8-fp493kvp.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.8-j0h8y92c.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.8-y1zsxh1g.mjs +0 -1
- package/dist/chunks/add-dir-0.5.8-sz3kyvkz.mjs +0 -1
- package/dist/chunks/agents-0.5.8-cm3hzc60.mjs +0 -3
- package/dist/chunks/agents-0.5.8-qg1s69va.mjs +0 -110
- package/dist/chunks/api-0.5.8-pcde65dc.mjs +0 -1
- package/dist/chunks/asciicast-0.5.8-tgmb7g4m.mjs +0 -1
- package/dist/chunks/assistant-0.5.8-4mak6nq9.mjs +0 -1
- package/dist/chunks/auth-0.5.8-70ks8nc4.mjs +0 -1
- package/dist/chunks/auth-0.5.8-82vx5hkw.mjs +0 -1
- package/dist/chunks/autoMode-0.5.8-xjwjh2k5.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.8-rf164ggm.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.8-ak5ca2cx.mjs +0 -1
- package/dist/chunks/branch-0.5.8-n82xbsmg.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.8-m7nwe7sd.mjs +0 -1
- package/dist/chunks/btw-0.5.8-0yftty6m.mjs +0 -1
- package/dist/chunks/buddy-0.5.8-4dvkprbs.mjs +0 -3
- package/dist/chunks/cacache-0.5.8-vj95fs26.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.8-944hef3p.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.8-jdya51jg.mjs +0 -4
- package/dist/chunks/caches-0.5.8-xkrjxp25.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.8-fpb40wzd.mjs +0 -1
- package/dist/chunks/claudemd-0.5.8-eyztrzk8.mjs +0 -1
- package/dist/chunks/clear-0.5.8-kgvzdkgq.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.8-xv1faw7c.mjs +0 -1
- package/dist/chunks/cli-0.5.8-01yjahnz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-07dyymev.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0a4sdrgm.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0bys4xae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0cmtavcs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0dkx0fh2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0hybhk72.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0we2hm7d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1bp61y3p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1gm5vdye.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1heha1zs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1x4w18nq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-20gjzt7v.mjs +0 -2
- package/dist/chunks/cli-0.5.8-221e7v67.mjs +0 -2
- package/dist/chunks/cli-0.5.8-23ep6z70.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2bq72da9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2f1ewq8w.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2g8p9sae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2nr7eh5e.mjs +0 -2
- package/dist/chunks/cli-0.5.8-396k3ymm.mjs +0 -25
- package/dist/chunks/cli-0.5.8-3a6g7wmx.mjs +0 -58
- package/dist/chunks/cli-0.5.8-3fnpjffd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3ndh3gtc.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3p5h46hv.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3qjtx8w8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3y8x0dx3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3zg1gkde.mjs +0 -2
- package/dist/chunks/cli-0.5.8-402vctdy.mjs +0 -2
- package/dist/chunks/cli-0.5.8-42eyjvs8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4hvxb5dp.mjs +0 -5286
- package/dist/chunks/cli-0.5.8-4jrb4x7b.mjs +0 -9
- package/dist/chunks/cli-0.5.8-4mn881k7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4n26wzd5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4rgg1zqd.mjs +0 -6
- package/dist/chunks/cli-0.5.8-4xn4yjaa.mjs +0 -8
- package/dist/chunks/cli-0.5.8-4yyy85fr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-510vqc09.mjs +0 -4
- package/dist/chunks/cli-0.5.8-57qan5v8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5a9k7mja.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5bdfv4z2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5gzkph9c.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5h92528m.mjs +0 -4
- package/dist/chunks/cli-0.5.8-5zqpfyqq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-60e57smp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-665mfjfq.mjs +0 -5
- package/dist/chunks/cli-0.5.8-69frkjjq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-69swpyae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6epmns99.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6nc6hmng.mjs +0 -3
- package/dist/chunks/cli-0.5.8-6t480jt6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6tfvmmwd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-78y711gq.mjs +0 -7
- package/dist/chunks/cli-0.5.8-7fm71y20.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7t6q11qp.mjs +0 -3
- package/dist/chunks/cli-0.5.8-7teqphwt.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7w4sv41z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7wzh55d5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8b40nd32.mjs +0 -3
- package/dist/chunks/cli-0.5.8-8c0hade9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8h4z9e0a.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8jfx4hd4.mjs +0 -24
- package/dist/chunks/cli-0.5.8-8jzc3wsz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8n05q2cg.mjs +0 -4
- package/dist/chunks/cli-0.5.8-903jgg2t.mjs +0 -2
- package/dist/chunks/cli-0.5.8-959n5v33.mjs +0 -44
- package/dist/chunks/cli-0.5.8-96p83b7z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-99pnpzq7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9ffdsmw1.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9fpm1ms3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9jzc13yp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-a03sqccb.mjs +0 -2
- package/dist/chunks/cli-0.5.8-at01jfw3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-axp2p1sa.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bfynw1rm.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bhc8vwxd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bjqx8j31.mjs +0 -67
- package/dist/chunks/cli-0.5.8-bnqvgx16.mjs +0 -18
- package/dist/chunks/cli-0.5.8-brnwv1s4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bv6qegpr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bv8mzvsr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bwsasv3j.mjs +0 -12
- package/dist/chunks/cli-0.5.8-cc6m9nm7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cctz1t07.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cgt1fvs7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-chb0m9py.mjs +0 -17
- package/dist/chunks/cli-0.5.8-chdp8e1b.mjs +0 -15
- package/dist/chunks/cli-0.5.8-cm551a1y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cv8hrynt.mjs +0 -2
- package/dist/chunks/cli-0.5.8-d3t3qcax.mjs +0 -2
- package/dist/chunks/cli-0.5.8-dn2c6x2n.mjs +0 -2
- package/dist/chunks/cli-0.5.8-dtn5ax3v.mjs +0 -2
- package/dist/chunks/cli-0.5.8-e5dnz0q6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-e6gpyhnf.mjs +0 -39
- package/dist/chunks/cli-0.5.8-edf7e65a.mjs +0 -2
- package/dist/chunks/cli-0.5.8-eq34z9xf.mjs +0 -133
- package/dist/chunks/cli-0.5.8-erk0zvwn.mjs +0 -3
- package/dist/chunks/cli-0.5.8-et8r95zv.mjs +0 -15
- package/dist/chunks/cli-0.5.8-etf1n11s.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ex39bk3p.mjs +0 -3
- package/dist/chunks/cli-0.5.8-f0cc21nk.mjs +0 -34
- package/dist/chunks/cli-0.5.8-f1znt77k.mjs +0 -2
- package/dist/chunks/cli-0.5.8-f54hhqdn.mjs +0 -4
- package/dist/chunks/cli-0.5.8-fbja9vc0.mjs +0 -2
- package/dist/chunks/cli-0.5.8-fhebd13f.mjs +0 -12
- package/dist/chunks/cli-0.5.8-fmyr9f7x.mjs +0 -18
- package/dist/chunks/cli-0.5.8-fr90cgpy.mjs +0 -4
- package/dist/chunks/cli-0.5.8-gf6svxra.mjs +0 -27
- package/dist/chunks/cli-0.5.8-gm4jqzfs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-gnw67m2e.mjs +0 -3
- package/dist/chunks/cli-0.5.8-gp6x9qmw.mjs +0 -2
- package/dist/chunks/cli-0.5.8-gr2yrqhs.mjs +0 -21
- package/dist/chunks/cli-0.5.8-haddssvq.mjs +0 -17
- package/dist/chunks/cli-0.5.8-he3sfaey.mjs +0 -2
- package/dist/chunks/cli-0.5.8-hkfwdsmy.mjs +0 -2
- package/dist/chunks/cli-0.5.8-hz85a3w7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-j5n54z7y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-j5nn8m2r.mjs +0 -2
- package/dist/chunks/cli-0.5.8-jcm5hsqp.mjs +0 -6
- package/dist/chunks/cli-0.5.8-je6yq94p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-jjmb10ns.mjs +0 -10
- package/dist/chunks/cli-0.5.8-jtqyf6nz.mjs +0 -9
- package/dist/chunks/cli-0.5.8-kbjtm14d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-kdatn7ch.mjs +0 -2
- package/dist/chunks/cli-0.5.8-kmzftyt4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-m3186fr3.mjs +0 -5
- package/dist/chunks/cli-0.5.8-m7f68vhz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-m9yn90fe.mjs +0 -4
- package/dist/chunks/cli-0.5.8-mf9m22v5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-mgzx32hk.mjs +0 -3
- package/dist/chunks/cli-0.5.8-ntjmzc72.mjs +0 -4
- package/dist/chunks/cli-0.5.8-nwe7yne9.mjs +0 -59
- package/dist/chunks/cli-0.5.8-p2n1sz9e.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p596xr80.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p72phgsn.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p84q1yp2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p9vc4jd4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-pbvqqyq3.mjs +0 -133
- package/dist/chunks/cli-0.5.8-pmsd92jp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ppmhyhcf.mjs +0 -2
- package/dist/chunks/cli-0.5.8-pwcy1yf9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qdnr3r07.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qf19nfhv.mjs +0 -193
- package/dist/chunks/cli-0.5.8-qgd7he6r.mjs +0 -3
- package/dist/chunks/cli-0.5.8-qrbzvxe2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qvy0n26p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r3r9r1x8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r3zjfgs5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r88abafr.mjs +0 -15
- package/dist/chunks/cli-0.5.8-rddkqxh8.mjs +0 -16
- package/dist/chunks/cli-0.5.8-rjn66mdx.mjs +0 -4
- package/dist/chunks/cli-0.5.8-rtmc93gs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-rvxqss4v.mjs +0 -12
- package/dist/chunks/cli-0.5.8-s3j6qsck.mjs +0 -3
- package/dist/chunks/cli-0.5.8-s7px34xg.mjs +0 -2
- package/dist/chunks/cli-0.5.8-sbqgh2ca.mjs +0 -2
- package/dist/chunks/cli-0.5.8-t3x9v2fr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-tc6ssmvg.mjs +0 -2
- package/dist/chunks/cli-0.5.8-tknpvwjq.mjs +0 -24
- package/dist/chunks/cli-0.5.8-tp8vvk8a.mjs +0 -4
- package/dist/chunks/cli-0.5.8-v274erpp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-v5gbzf09.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vax2sw0y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vck50j66.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vhpgdwvb.mjs +0 -45
- package/dist/chunks/cli-0.5.8-w36atn94.mjs +0 -2
- package/dist/chunks/cli-0.5.8-w75qbypx.mjs +0 -2
- package/dist/chunks/cli-0.5.8-w7g735pf.mjs +0 -2
- package/dist/chunks/cli-0.5.8-was67jgw.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wcjp9e8f.mjs +0 -50
- package/dist/chunks/cli-0.5.8-wcyjzsha.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wdyh9mqa.mjs +0 -3
- package/dist/chunks/cli-0.5.8-wkcmqhde.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wm9jby2t.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wtz636rz.mjs +0 -20
- package/dist/chunks/cli-0.5.8-x8fzgqvs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-x9q7q10d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xs1gy1tk.mjs +0 -6
- package/dist/chunks/cli-0.5.8-xvf56w0z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xwpp4ts7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xwzk13b3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-yfpy2mmj.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ywfvs57d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-z14ncgt9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-z3ev1ken.mjs +0 -3
- package/dist/chunks/cli-0.5.8-z447z8t0.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zervw1k3.mjs +0 -5
- package/dist/chunks/cli-0.5.8-zf5yzqn5.mjs +0 -1
- package/dist/chunks/cli-0.5.8-zhydxkm6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zkn5gecs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zy590bkh.mjs +0 -2
- package/dist/chunks/client-0.5.8-9axd4w58.mjs +0 -1
- package/dist/chunks/color-0.5.8-resv1z9m.mjs +0 -1
- package/dist/chunks/compact-0.5.8-4rtxsg5x.mjs +0 -3
- package/dist/chunks/config-0.5.8-1j4xyj57.mjs +0 -1
- package/dist/chunks/config-0.5.8-ettscama.mjs +0 -1
- package/dist/chunks/context-0.5.8-fpg3fcmt.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.8-zaspwvjm.mjs +0 -1
- package/dist/chunks/conversation-0.5.8-hfvm0eqb.mjs +0 -1
- package/dist/chunks/copy-0.5.8-wzb7pjzr.mjs +0 -9
- package/dist/chunks/cost-0.5.8-f2m9t7ye.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.8-615sh7tx.mjs +0 -1
- package/dist/chunks/createSession-0.5.8-v7srm5ea.mjs +0 -1
- package/dist/chunks/debug-0.5.8-c84dbamw.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.8-b94dtwtd.mjs +0 -1177
- package/dist/chunks/desktop-0.5.8-46z10hnt.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.8-rwc4rjfg.mjs +0 -1
- package/dist/chunks/detection-0.5.8-hydnvzf4.mjs +0 -1
- package/dist/chunks/diff-0.5.8-p7d54hn7.mjs +0 -1
- package/dist/chunks/doctor-0.5.8-894mdsxc.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.8-c12xcayk.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.8-fwa1r2va.mjs +0 -1
- package/dist/chunks/effort-0.5.8-7gcwya2k.mjs +0 -10
- package/dist/chunks/envUtils-0.5.8-20c2f8v3.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.8-t6hzsc8z.mjs +0 -1
- package/dist/chunks/environments-0.5.8-fcp8bfe3.mjs +0 -1
- package/dist/chunks/errors-0.5.8-ev3jqbjj.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.8-d38qs6k2.mjs +0 -1
- package/dist/chunks/exit-0.5.8-f5v7cstg.mjs +0 -1
- package/dist/chunks/export-0.5.8-a8fg7991.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.8-r5qs5fjk.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.8-f8mch55k.mjs +0 -1
- package/dist/chunks/fast-0.5.8-5yfvbb7d.mjs +0 -1
- package/dist/chunks/feedback-0.5.8-j9xstj5q.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.8-tmpw0mgj.mjs +0 -1
- package/dist/chunks/git-0.5.8-vvd1b8x0.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.8-de9f7e7s.mjs +0 -1
- package/dist/chunks/grove-0.5.8-rewcpbks.mjs +0 -1
- package/dist/chunks/growthbook-0.5.8-tt3wbrct.mjs +0 -1
- package/dist/chunks/headless-0.5.8-h1tn9ee3.mjs +0 -2
- package/dist/chunks/heapdump-0.5.8-e0vshas9.mjs +0 -6
- package/dist/chunks/help-0.5.8-mhhgyvqz.mjs +0 -1
- package/dist/chunks/hookChains-0.5.8-ewzfdp91.mjs +0 -3
- package/dist/chunks/hooks-0.5.8-mgp708m9.mjs +0 -1
- package/dist/chunks/hooks-0.5.8-p1mz2zy1.mjs +0 -79
- package/dist/chunks/ide-0.5.8-pzfhr27w.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.8-1skckgt6.mjs +0 -1
- package/dist/chunks/index-0.5.8-0dkn7rr7.mjs +0 -9
- package/dist/chunks/index-0.5.8-26yrjbk0.mjs +0 -1
- package/dist/chunks/index-0.5.8-5cr4y9wx.mjs +0 -1
- package/dist/chunks/index-0.5.8-5mgzpm7c.mjs +0 -1
- package/dist/chunks/index-0.5.8-b4p3af9y.mjs +0 -1
- package/dist/chunks/index-0.5.8-b7tvbbzv.mjs +0 -2
- package/dist/chunks/index-0.5.8-bk6ejev9.mjs +0 -1
- package/dist/chunks/index-0.5.8-cmyhdm8s.mjs +0 -9
- package/dist/chunks/index-0.5.8-egkksjaj.mjs +0 -1
- package/dist/chunks/index-0.5.8-hr8aqgvc.mjs +0 -1
- package/dist/chunks/index-0.5.8-jf20nzsg.mjs +0 -1
- package/dist/chunks/index-0.5.8-m6exk6z6.mjs +0 -30
- package/dist/chunks/index-0.5.8-mpm6xxk3.mjs +0 -5
- package/dist/chunks/index-0.5.8-nt058ay0.mjs +0 -1
- package/dist/chunks/index-0.5.8-qdwcg9cv.mjs +0 -10
- package/dist/chunks/index-0.5.8-rdk757cq.mjs +0 -1
- package/dist/chunks/index-0.5.8-red1reev.mjs +0 -1
- package/dist/chunks/index-0.5.8-rehfpmcw.mjs +0 -1
- package/dist/chunks/index-0.5.8-s3k17n65.mjs +0 -1
- package/dist/chunks/index-0.5.8-xpaaycp7.mjs +0 -1
- package/dist/chunks/index-0.5.8-ydqh8xbm.mjs +0 -2
- package/dist/chunks/index-0.5.8-yp0fpaqf.mjs +0 -1
- package/dist/chunks/init-0.5.8-kmfn7vay.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.8-f9ezc1jk.mjs +0 -1
- package/dist/chunks/ink-0.5.8-y01565nf.mjs +0 -1
- package/dist/chunks/insights-0.5.8-mwq5z31x.mjs +0 -870
- package/dist/chunks/install-0.5.8-se0j5qte.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.8-zqhhg1fw.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.8-9qpwy0z9.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.8-gbnaaqp3.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.8-wrn95m3j.mjs +0 -1
- package/dist/chunks/keybindings-0.5.8-j070t67n.mjs +0 -2
- package/dist/chunks/knowledge-0.5.8-fhr55cqh.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.8-rmkxtaea.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.8-f3j27p5s.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.8-7401ty3k.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.8-yhhkejwz.mjs +0 -1
- package/dist/chunks/log-0.5.8-78h0x7qg.mjs +0 -1
- package/dist/chunks/main-0.5.8-4ddjgz4x.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.8-rxnh3nhr.mjs +0 -1
- package/dist/chunks/mcp-0.5.8-9ts7qrcv.mjs +0 -4
- package/dist/chunks/mcp-0.5.8-hhnpsgvh.mjs +0 -17
- package/dist/chunks/mcp-0.5.8-md6hzter.mjs +0 -1
- package/dist/chunks/mcpb-0.5.8-ebcb4nn4.mjs +0 -1
- package/dist/chunks/memory-0.5.8-ph5hb81n.mjs +0 -3
- package/dist/chunks/mobile-0.5.8-f04nmet1.mjs +0 -2
- package/dist/chunks/model-0.5.8-aqzt03nd.mjs +0 -1
- package/dist/chunks/model-0.5.8-nmcrv393.mjs +0 -2
- package/dist/chunks/oauth-0.5.8-n75mrvf3.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.8-95kwrgpv.mjs +0 -14
- package/dist/chunks/output-style-0.5.8-zy932aj1.mjs +0 -1
- package/dist/chunks/package-APBHZ5F3-0.5.8-c4xw21z8.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.8-0dgzrde4.mjs +0 -1
- package/dist/chunks/parser-0.5.8-g6wgq5z2.mjs +0 -1
- package/dist/chunks/passes-0.5.8-jkdncmr5.mjs +0 -1
- package/dist/chunks/permissions-0.5.8-tesg1fmt.mjs +0 -3
- package/dist/chunks/plan-0.5.8-4h4wazbm.mjs +0 -1
- package/dist/chunks/plist-0.5.8-ygsvkws5.mjs +0 -1
- package/dist/chunks/plugin-0.5.8-meszp93t.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.8-8c49aq53.mjs +0 -1
- package/dist/chunks/plugins-0.5.8-zh9wq5by.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.8-r8zrjby2.mjs +0 -2
- package/dist/chunks/print-0.5.8-dbcfsrdg.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.8-zj36f0ve.mjs +0 -1
- package/dist/chunks/process-0.5.8-1yf78q4y.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.8-pdnzd9ry.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.8-kmv9fs8d.mjs +0 -9
- package/dist/chunks/prompt-0.5.8-aa1v4zh0.mjs +0 -1
- package/dist/chunks/prompt-0.5.8-wabf0exz.mjs +0 -1
- package/dist/chunks/prompts-0.5.8-n865vxaw.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.8-6k7ma4yf.mjs +0 -13
- package/dist/chunks/provider-0.5.8-qsr51mc2.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.8-he8tbnf5.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.8-6cjh43zv.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.8-pvbwwt4v.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.8-8jq52atf.mjs +0 -34
- package/dist/chunks/registry-0.5.8-ynn6qxq6.mjs +0 -1
- package/dist/chunks/release-notes-0.5.8-yydjz710.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.8-64ybz2n4.mjs +0 -2
- package/dist/chunks/remote-env-0.5.8-1f4tf3ch.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.8-qnrtc8aw.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.8-kxsfx9gd.mjs +0 -1
- package/dist/chunks/rename-0.5.8-j4c6dg9n.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.8-w33fvpqt.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.8-7jzc54fq.mjs +0 -1
- package/dist/chunks/resume-0.5.8-373epwyd.mjs +0 -2
- package/dist/chunks/rewind-0.5.8-b9qe0mwn.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.8-h1ddt4ry.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.8-ma6nv5dg.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.8-1cc5m303.mjs +0 -1
- package/dist/chunks/session-0.5.8-rxft524k.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.8-r4eg8g3r.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.8-jm3bmvt7.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.8-kfghwskw.mjs +0 -1
- package/dist/chunks/settings-0.5.8-qxr7dgzb.mjs +0 -1
- package/dist/chunks/setup-0.5.8-769vnffz.mjs +0 -5
- package/dist/chunks/sinks-0.5.8-jcq0kgny.mjs +0 -1
- package/dist/chunks/skills-0.5.8-5qxr2p94.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.8-cpbf91zs.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.8-bctkpcea.mjs +0 -1
- package/dist/chunks/state-0.5.8-cppqmrbf.mjs +0 -1
- package/dist/chunks/stats-0.5.8-zcfm59db.mjs +0 -6
- package/dist/chunks/status-0.5.8-5v4y485z.mjs +0 -1
- package/dist/chunks/stickers-0.5.8-9gr6e2xg.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.8-wf4cta06.mjs +0 -1
- package/dist/chunks/tasks-0.5.8-30z30sqv.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.8-vcng2y7m.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.8-48p5p451.mjs +0 -1
- package/dist/chunks/teleport-0.5.8-650m4rks.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.8-ew1ax86g.mjs +0 -1
- package/dist/chunks/theme-0.5.8-7a06760x.mjs +0 -1
- package/dist/chunks/thinkback-0.5.8-xrvqhj8w.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.8-vkpn13f3.mjs +0 -1
- package/dist/chunks/toolPool-0.5.8-ntbr808f.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.8-ybxz2f7f.mjs +0 -1
- package/dist/chunks/tools-0.5.8-egnmkxt7.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.8-422swdjw.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.8-tkat2x5p.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.8-e7b2408n.mjs +0 -4
- package/dist/chunks/update-0.5.8-a285y5j4.mjs +0 -86
- package/dist/chunks/upgrade-0.5.8-8nxejvyv.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.8-6a2g1s50.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.8-83a2qhsf.mjs +0 -1
- package/dist/chunks/usage-0.5.8-9dha8gsc.mjs +0 -1
- package/dist/chunks/util-0.5.8-c7zdhrd1.mjs +0 -1
- package/dist/chunks/utils-0.5.8-e8pfjkrb.mjs +0 -1
- package/dist/chunks/vim-0.5.8-pgsav8je.mjs +0 -1
- package/dist/chunks/watcher-0.5.8-w3q8518m.mjs +0 -1
- package/dist/chunks/wiki-0.5.8-1sa2h258.mjs +0 -132
- package/dist/chunks/worktree-0.5.8-59wmpecg.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.8-pexygrty.mjs +0 -1
- package/dist/chunks/wrapper-0.5.8-kmv5mk0m.mjs +0 -7
- /package/dist/chunks/{cli-0.5.8-j77twbsq.mjs → cli-0.5.9-4yxntpxv.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.8-kegk7gdp.mjs → cli-0.5.9-x9tg4bxs.mjs} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Ef as FY,Ff as AQ}from"./cli-0.5.8-j5n54z7y.mjs";import{Lf as LQ}from"./cli-0.5.8-bv6qegpr.mjs";import{Mf as Lq,Of as Pq,Pf as GX}from"./cli-0.5.8-7wzh55d5.mjs";import{Tf as IJ,Uf as kQ,Vf as zY,Wf as MQ}from"./cli-0.5.8-r3zjfgs5.mjs";import{Xf as OY,Yf as PQ}from"./cli-0.5.8-p2n1sz9e.mjs";import{$f as RY,Zf as NY,_f as UQ,ag as BQ}from"./cli-0.5.8-5bdfv4z2.mjs";import{bg as Eq,cg as l0,eg as HY,fg as DY}from"./cli-0.5.8-gp6x9qmw.mjs";import{qh as Nq,rh as QX}from"./cli-0.5.8-9ffdsmw1.mjs";import{$w as Rq,Bt as K0,Ct as XY,Dt as GY,Et as qZ,Gm as OQ,Hs as Fq,Is as n0,Ks as qX,MF as KY,NF as NQ,PP as tq,Sn as QY,Tn as zQ,WP as MY,ax as XX,cP as LZ,cm as J0,dm as DQ,eH as BJ,eQ as AY,em as C,fH as RQ,fQ as UY,fm as f0,gm as c,hm as XJ,jH as YJ,jQ as fQ,kD as TZ,kH as BZ,km as S0,lD as YQ,lH as IZ,lm as FJ,mE as QZ,mH as EZ,nE as XZ,oE as GZ,pE as VZ,qE as WZ,rE as KZ,rm as UJ,sE as HZ,tE as DZ,uD as T0,uE as OZ,vD as eq,vE as zZ,vm as qY,wD as PZ,wE as xq,wJ as R0,xJ as TJ}from"./cli-0.5.8-4hvxb5dp.mjs";import{AR as FQ,vR as VY,wR as WY}from"./cli-0.5.8-a03sqccb.mjs";import{fU as Uq,gU as KX}from"./cli-0.5.8-3fnpjffd.mjs";import{$U as zJ,GU as V0,HU as v0,UU as l,VU as YY,WU as w0,YU as C0,ZU as Bq,cV as Iq,dV as HX}from"./cli-0.5.8-60e57smp.mjs";import{HV as e0,IV as eZ,PV as JY,RW as U,TV as HQ,TW as V,vW as ZY,wX as D0,yV as U0}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as n,XY as Q,YY as D,ZY as g}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as s}from"./cli-0.5.8-6epmns99.mjs";import{gZ as rY,hZ as iQ}from"./cli-0.5.8-he3sfaey.mjs";import{C3 as YX,F1 as zq,J1 as sZ,M0 as m0,MZ as Oq,N0 as MJ,P0 as lZ,Q0 as AJ,R1 as qJ,RZ as ZX,S0 as oZ,V1 as tZ,X0 as aZ,e1 as KQ,n3 as vJ,t0 as h0,u0 as WQ}from"./cli-0.5.8-rddkqxh8.mjs";import{Y3 as O0,Z3 as QQ}from"./cli-0.5.8-4rgg1zqd.mjs";import{$aa as fY,K5 as H0,Kba as N0,L5 as OJ,S_ as PJ,Sba as QJ,U$ as w,U_ as x,X$ as T,X_ as kJ,baa as uZ,c9 as mZ,cba as CY,dba as CQ,f$ as VQ,faa as dZ,fba as SY,g9 as vZ,gaa as iZ,h9 as cZ,i9 as pZ,j9 as xZ,jba as TY,lba as wY,o9 as GQ,oba as hY,paa as rZ,sba as SQ,vba as B0,yba as nZ}from"./cli-0.5.8-qf19nfhv.mjs";import{fca as mJ,gca as g0,mca as VJ,nca as SJ}from"./cli-0.5.8-5h92528m.mjs";import{jda as jZ,vda as XQ}from"./cli-0.5.8-7fm71y20.mjs";import{yda as t0,zda as YZ}from"./cli-0.5.8-w7g735pf.mjs";import{mea as f,oea as qQ}from"./cli-0.5.8-9fpm1ms3.mjs";import{Tea as Dq,Yea as JX,ofa as p0,rfa as EY}from"./cli-0.5.8-xs1gy1tk.mjs";import{cga as gZ,ega as IY,jga as LJ,mga as $Z}from"./cli-0.5.8-gm4jqzfs.mjs";import{$ia as Hq,Dia as Vq,Eia as Wq,Jla as ZZ,Qia as Kq,Qja as RJ,Rja as _Z,Sha as JZ,hia as Qq,iia as Xq,jia as Gq}from"./cli-0.5.8-bhc8vwxd.mjs";import{vna as $,zna as p}from"./cli-0.5.8-hkfwdsmy.mjs";function uq(){let Z=JZ(),q=LZ(Z)??Q(V,{dimColor:!0,children:"/rename to add a name"});return[{label:"Version",value:"0.5.8"},{label:"Session name",value:q},{label:"Session ID",value:Z},{label:"cwd",value:t0()},...DZ(),...OZ()]}function dq({mainLoopModel:Z,mcp:J,theme:q,context:X}){return[{label:"Model",value:zZ(Z)},...XZ(J.clients,X.options.ideInstallationStatus,q),...GZ(J.clients,q),...QZ(),...WZ()]}async function FZ(){return[...await KZ(),...await HZ(),...await VZ()]}function iq(Z){let J=JJ.c(8),{value:q}=Z;if(Array.isArray(q)){let X;if(J[0]!==q){let O;if(J[2]!==q.length)O=(F,L)=>D(V,{children:[F,L<q.length-1?",":""]},L),J[2]=q.length,J[3]=O;else O=J[3];X=q.map(O),J[0]=q,J[1]=X}else X=J[1];let W;if(J[4]!==X)W=Q(U,{flexWrap:"wrap",columnGap:1,flexShrink:99,children:X}),J[4]=X,J[5]=W;else W=J[5];return W}if(typeof q==="string"){let X;if(J[6]!==q)X=Q(V,{children:q}),J[6]=q,J[7]=X;else X=J[7];return X}return q}function NZ(Z){let J=JJ.c(20),{context:q,diagnosticsPromise:X}=Z,W=K0(oq),O=K0(lq),[F]=e0(),L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=uq(),J[0]=L;else L=J[0];let k;if(J[1]!==q||J[2]!==W||J[3]!==O||J[4]!==F)k=dq({mainLoopModel:W,mcp:O,theme:F,context:q}),J[1]=q,J[2]=W,J[3]=O,J[4]=F,J[5]=k;else k=J[5];let P;if(J[6]!==k)P=[L,k],J[6]=k,J[7]=P;else P=J[7];let K=P,N=C0()?1:void 0,z;if(J[8]!==K)z=K.map(rq),J[8]=K,J[9]=z;else z=J[9];let H;if(J[10]!==X)H=Q(ZJ.Suspense,{fallback:null,children:Q(aq,{promise:X})}),J[10]=X,J[11]=H;else H=J[11];let R;if(J[12]!==N||J[13]!==z||J[14]!==H)R=D(U,{flexDirection:"column",gap:1,flexGrow:N,children:[z,H]}),J[12]=N,J[13]=z,J[14]=H,J[15]=R;else R=J[15];let A;if(J[16]===Symbol.for("react.memo_cache_sentinel"))A=Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})}),J[16]=A;else A=J[16];let B;if(J[17]!==N||J[18]!==R)B=D(U,{flexDirection:"column",flexGrow:N,children:[R,A]}),J[17]=N,J[18]=R,J[19]=B;else B=J[19];return B}function rq(Z,J){return Z.length>0&&Q(U,{flexDirection:"column",children:Z.map(nq)},J)}function nq(Z,J){let{label:q,value:X}=Z;return D(U,{flexDirection:"row",gap:1,flexShrink:0,children:[q!==void 0&&D(V,{bold:!0,children:[q,":"]}),Q(iq,{value:X})]},J)}function lq(Z){return Z.mcp}function oq(Z){return Z.mainLoopModel}function aq(Z){let J=JJ.c(5),{promise:q}=Z,X=ZJ.use(q);if(X.length===0)return null;let W;if(J[0]===Symbol.for("react.memo_cache_sentinel"))W=Q(V,{bold:!0,children:"System Diagnostics"}),J[0]=W;else W=J[0];let O;if(J[1]!==X)O=X.map(sq),J[1]=X,J[2]=O;else O=J[2];let F;if(J[3]!==O)F=D(U,{flexDirection:"column",paddingBottom:1,children:[W,O]}),J[3]=O,J[4]=F;else F=J[4];return F}function sq(Z,J){return D(U,{flexDirection:"row",gap:1,paddingX:1,children:[Q(V,{color:"error",children:H0.warning}),typeof Z==="string"?Q(V,{wrap:"wrap",children:Z}):Z]},J)}var JJ,ZJ;var RZ=p(()=>{OJ();ZZ();zJ();D0();qZ();YZ();tq();xq();f0();g();JJ=$(U0(),1),ZJ=$(s(),1)});function MZ(Z){let J=kZ.c(17),{currentVersion:q,onChoice:X}=Z,W;if(J[0]!==X)W=function(B){X(B)},J[0]=X,J[1]=W;else W=J[1];let O=W,F;if(J[2]!==X)F=function(){X("cancel")},J[2]=X,J[3]=F;else F=J[3];let L=F,k;if(J[4]!==q)k=D(V,{children:["The stable channel may have an older version than what you're currently running (",q,")."]}),J[4]=q,J[5]=k;else k=J[5];let P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=Q(V,{dimColor:!0,children:"How would you like to handle this?"}),J[6]=P;else P=J[6];let K;if(J[7]===Symbol.for("react.memo_cache_sentinel"))K={label:"Allow possible downgrade to stable version",value:"downgrade"},J[7]=K;else K=J[7];let N=`Stay on current version (${q}) until stable catches up`,z;if(J[8]!==N)z=[K,{label:N,value:"stay"}],J[8]=N,J[9]=z;else z=J[9];let H;if(J[10]!==O||J[11]!==z)H=Q(T0,{options:z,onChange:O}),J[10]=O,J[11]=z,J[12]=H;else H=J[12];let R;if(J[13]!==L||J[14]!==k||J[15]!==H)R=D(S0,{title:"Switch to Stable Channel",onCancel:L,color:"permission",hideBorder:!0,hideInputGuide:!0,children:[k,P,H]}),J[13]=L,J[14]=k,J[15]=H,J[16]=R;else R=J[16];return R}var kZ;var AZ=p(()=>{D0();PZ();FJ();g();kZ=$(U0(),1)});function UZ(Z){return Object.entries(Z).map(([J,q])=>({label:q?.name??JQ,value:J,description:q?.description??ZQ}))}function CZ(Z){let J=fZ.c(16),{initialStyle:q,onComplete:X,onCancel:W,isStandaloneCommand:O}=Z,F;if(J[0]===Symbol.for("react.memo_cache_sentinel"))F=[],J[0]=F;else F=J[0];let[L,k]=j0.useState(F),[P,K]=j0.useState(!0),N,z;if(J[1]===Symbol.for("react.memo_cache_sentinel"))N=()=>{IZ(t0()).then((d)=>{let t=UZ(d);k(t),K(!1)}).catch(()=>{let d=UZ(BZ);k(d),K(!1)})},z=[],J[1]=N,J[2]=z;else N=J[1],z=J[2];j0.useEffect(N,z);let H;if(J[3]!==X)H=(d)=>{X(d)},J[3]=X,J[4]=H;else H=J[4];let R=H,A=!O,B=!O,I;if(J[5]===Symbol.for("react.memo_cache_sentinel"))I=Q(U,{marginTop:1,children:Q(V,{dimColor:!0,children:"This changes how Claude Code communicates with you"})}),J[5]=I;else I=J[5];let h;if(J[6]!==R||J[7]!==q||J[8]!==P||J[9]!==L)h=D(U,{flexDirection:"column",gap:1,children:[I,P?Q(V,{dimColor:!0,children:"Loading output styles…"}):Q(T0,{options:L,onChange:R,visibleOptionCount:10,defaultValue:q})]}),J[6]=R,J[7]=q,J[8]=P,J[9]=L,J[10]=h;else h=J[10];let S;if(J[11]!==W||J[12]!==A||J[13]!==B||J[14]!==h)S=Q(S0,{title:"Preferred output style",onCancel:W,hideInputGuide:A,hideBorder:B,children:h}),J[11]=W,J[12]=A,J[13]=B,J[14]=h,J[15]=S;else S=J[15];return S}var fZ,j0,JQ="Default",ZQ="Claude completes coding tasks efficiently and provides concise responses";var SZ=p(()=>{EZ();D0();YZ();eq();FJ();g();fZ=$(U0(),1),j0=$(s(),1)});function hZ(Z){let J=wZ.c(13),{initialLanguage:q,onComplete:X,onCancel:W}=Z,[O,F]=NJ.useState(q),[L,k]=NJ.useState((q??"").length),P;if(J[0]===Symbol.for("react.memo_cache_sentinel"))P={context:"Settings"},J[0]=P;else P=J[0];l("confirm:no",W,P);let K;if(J[1]!==O||J[2]!==X)K=function(){let S=O?.trim();X(S||void 0)},J[1]=O,J[2]=X,J[3]=K;else K=J[3];let N=K,z;if(J[4]===Symbol.for("react.memo_cache_sentinel"))z=Q(V,{children:"Enter your preferred response and voice language:"}),J[4]=z;else z=J[4];let H;if(J[5]===Symbol.for("react.memo_cache_sentinel"))H=Q(V,{children:H0.pointer}),J[5]=H;else H=J[5];let R=O??"",A;if(J[6]!==L||J[7]!==N||J[8]!==R)A=D(U,{flexDirection:"row",gap:1,children:[H,Q(TZ,{value:R,onChange:F,onSubmit:N,focus:!0,showCursor:!0,placeholder:`e.g., Japanese, 日本語, Español${H0.ellipsis}`,columns:60,cursorOffset:L,onChangeCursorOffset:k})]}),J[6]=L,J[7]=N,J[8]=R,J[9]=A;else A=J[9];let B;if(J[10]===Symbol.for("react.memo_cache_sentinel"))B=Q(V,{dimColor:!0,children:"Leave empty for default (English)"}),J[10]=B;else B=J[10];let I;if(J[11]!==A)I=D(U,{flexDirection:"column",gap:1,children:[z,A,B]}),J[11]=A,J[12]=I;else I=J[12];return I}var wZ,NJ;var bZ=p(()=>{OJ();D0();w0();YQ();g();wZ=$(U0(),1),NJ=$(s(),1)});function PY({onClose:Z,context:J,setTabsHidden:q,onIsSearchModeChange:X,contentHeight:W}){let{headerFocused:O,focusHeader:F}=HY(),L=C0(),[,k]=e0(),P=eZ(),[K,N]=_.useState(T()),z=v.useRef(T()),[H,R]=_.useState(kJ()),A=v.useRef(kJ()),[B,I]=_.useState(H?.outputStyle||YJ),h=v.useRef(B),[S,d]=_.useState(H?.language),t=v.useRef(S),[j,F0]=_.useState(0),[i,Y0]=_.useState(0),[r,q0]=_.useState(!0),$0=ZY(),{rows:I0}=V0(),Cq=W??Math.min(Math.floor(I0*0.8),30),Q0=Math.max(5,Cq-10),E0=K0((Y)=>Y.mainLoopModel),Sq=K0((Y)=>Y.verbose),xJ=K0((Y)=>Y.thinkingEnabled),uJ=K0((Y)=>m0()?Y.fastMode:!1),Tq=K0((Y)=>Y.promptSuggestionEnabled),FX=!1,X0=XY(),[dJ,M0]=_.useState({}),wq=v.useRef(xJ),[iJ]=_.useState(()=>PJ("localSettings")),[rJ]=_.useState(()=>PJ("userSettings")),nJ=v.useRef(P),hq=GY(),[lJ]=_.useState(()=>{let Y=hq.getState();return{mainLoopModel:Y.mainLoopModel,mainLoopModelForSession:Y.mainLoopModelForSession,verbose:Y.verbose,thinkingEnabled:Y.thinkingEnabled,fastMode:Y.fastMode,promptSuggestionEnabled:Y.promptSuggestionEnabled,isBriefOnly:Y.isBriefOnly,replBridgeEnabled:Y.replBridgeEnabled,replBridgeOutboundOnly:Y.replBridgeOutboundOnly,settings:Y.settings}}),[KJ]=_.useState(()=>RJ()),e=v.useRef(!1),[bq,o0]=_.useState(!1),[m,y]=_.useState(null),{query:A0,setQuery:a0,cursorOffset:yq}=RY({isActive:r&&m===null&&!O,onExit:()=>q0(!1),onExitUp:F,passthroughCtrlKeys:["c","d"]}),oJ=r&&!O;v.useEffect(()=>{X?.(oJ)},[oJ,X]);let _q=qY(J.options.mcpClients),gq=!gZ(process.env.CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING),aJ=v.use(MY(!0)),$q=UY(aJ),W0=iZ();function sJ(Y){f("tengu_config_model_changed",{from_model:E0,to_model:Y}),X0((M)=>({...M,mainLoopModel:Y,mainLoopModelForSession:null})),M0((M)=>{let E=qJ(Y)+(zY(Y,!1,sZ())?" · Billed as extra usage":"");if("model"in M){let{model:b,...o}=M;return{...o,model:E}}return{...M,model:E}})}function jq(Y){w((G)=>({...G,verbose:Y})),N({...T(),verbose:Y}),X0((G)=>({...G,verbose:Y})),M0((G)=>{if("verbose"in G){let{verbose:M,...E}=G;return E}return{...G,verbose:Y}})}let HJ=[{id:"autoCompactEnabled",label:"Auto-compact",value:K.autoCompactEnabled,type:"boolean",onChange(Y){w((G)=>({...G,autoCompactEnabled:Y})),N({...T(),autoCompactEnabled:Y}),f("tengu_auto_compact_setting_changed",{enabled:Y})}},{id:"thinkingHistoryRedactionEnabled",label:"Thinking history redaction",value:K.thinkingHistoryRedactionEnabled,type:"boolean",onChange(Y){w((G)=>({...G,thinkingHistoryRedactionEnabled:Y})),N({...T(),thinkingHistoryRedactionEnabled:Y}),f("claudin_thinking_history_redaction_setting_changed",{enabled:Y})}},{id:"narrationHistoryRedactionEnabled",label:"Narration history redaction",value:K.narrationHistoryRedactionEnabled,type:"boolean",onChange(Y){w((G)=>({...G,narrationHistoryRedactionEnabled:Y})),N({...T(),narrationHistoryRedactionEnabled:Y}),f("claudin_narration_history_redaction_setting_changed",{enabled:Y})}},{id:"showCacheStats",label:"Cache stats display",value:K.showCacheStats,options:["off","compact","full"],type:"enum",onChange(Y){let G=Y==="off"||Y==="compact"||Y==="full"?Y:"compact";w((M)=>({...M,showCacheStats:G})),N({...T(),showCacheStats:G}),f("tengu_show_cache_stats_setting_changed",{mode:G})}},{id:"toolResultSummarizerEnabled",label:"Tool result summarizer",value:K.toolResultSummarizerEnabled,type:"boolean",onChange(Y){w((G)=>({...G,toolResultSummarizerEnabled:Y})),N({...T(),toolResultSummarizerEnabled:Y}),f("claudin_tool_result_summarizer_setting_changed",{enabled:Y})}},{id:"bashOutputFilterEnabled",label:"Bash output filter",value:K.bashOutputFilterEnabled!==!1,type:"boolean",onChange(Y){w((G)=>({...G,bashOutputFilterEnabled:Y,bashOutputFilterUserEnabled:Y})),N({...T(),bashOutputFilterEnabled:Y,bashOutputFilterUserEnabled:Y}),f("claudin_bash_output_filter_setting_changed",{enabled:Y})}},{id:"autoBackgroundAgentsEnabled",label:"Auto-background agents",value:K.autoBackgroundAgentsEnabled!==!1,type:"boolean",onChange(Y){w((G)=>({...G,autoBackgroundAgentsEnabled:Y})),N({...T(),autoBackgroundAgentsEnabled:Y}),f("claudin_auto_background_agents_setting_changed",{enabled:Y})}},{id:"inlineImagesMode",label:"Inline terminal images",value:K.inlineImagesMode??"auto",options:["auto","enable","disable"],type:"enum",onChange(Y){let G=Y==="auto"||Y==="enable"||Y==="disable"?Y:"auto";w((M)=>({...M,inlineImagesMode:G})),N({...T(),inlineImagesMode:G}),f("claudin_inline_images_setting_changed",{mode:G})}},{id:"spinnerTipsEnabled",label:"Show tips",value:H?.spinnerTipsEnabled??!0,type:"boolean",onChange(Y){x("localSettings",{spinnerTipsEnabled:Y}),R((G)=>({...G,spinnerTipsEnabled:Y})),f("tengu_tips_setting_changed",{enabled:Y})}},{id:"prefersReducedMotion",label:"Reduce motion",value:H?.prefersReducedMotion??!1,type:"boolean",onChange(Y){x("localSettings",{prefersReducedMotion:Y}),R((G)=>({...G,prefersReducedMotion:Y})),X0((G)=>({...G,settings:{...G.settings,prefersReducedMotion:Y}})),f("tengu_reduce_motion_setting_changed",{enabled:Y})}},{id:"thinkingEnabled",label:"Thinking mode",value:xJ??!0,type:"boolean",onChange(Y){X0((G)=>({...G,thinkingEnabled:Y})),x("userSettings",{alwaysThinkingEnabled:Y?void 0:!1}),f("tengu_thinking_toggled",{enabled:Y})}},...m0()&&MJ()?[{id:"fastMode",label:`Fast mode (${lZ} only)`,value:!!uJ,type:"boolean",onChange(Y){if(aZ(),x("userSettings",{fastMode:Y?!0:void 0}),Y)X0((G)=>({...G,mainLoopModel:AJ(),mainLoopModelForSession:null,fastMode:!0})),M0((G)=>({...G,model:AJ(),"Fast mode":"ON"}));else X0((G)=>({...G,fastMode:!1})),M0((G)=>({...G,"Fast mode":"OFF"}))}}]:[],{id:"promptSuggestionEnabled",label:"Prompt suggestions",value:Tq,type:"boolean",onChange(Y){X0((G)=>({...G,promptSuggestionEnabled:Y})),x("userSettings",{promptSuggestionEnabled:Y?void 0:!1})}},...gq?[{id:"fileCheckpointingEnabled",label:"Rewind code (checkpoints)",value:K.fileCheckpointingEnabled,type:"boolean",onChange(Y){w((G)=>({...G,fileCheckpointingEnabled:Y})),N({...T(),fileCheckpointingEnabled:Y}),f("tengu_file_history_snapshots_setting_changed",{enabled:Y})}}]:[],{id:"verbose",label:"Verbose output",value:Sq,type:"boolean",onChange:jq},{id:"terminalProgressBarEnabled",label:"Terminal progress bar",value:K.terminalProgressBarEnabled,type:"boolean",onChange(Y){w((G)=>({...G,terminalProgressBarEnabled:Y})),N({...T(),terminalProgressBarEnabled:Y}),f("tengu_terminal_progress_bar_setting_changed",{enabled:Y})}},...jZ("tengu_terminal_sidebar",!1)?[{id:"showStatusInTerminalTab",label:"Show status in terminal tab",value:K.showStatusInTerminalTab??!1,type:"boolean",onChange(Y){w((G)=>({...G,showStatusInTerminalTab:Y})),N({...T(),showStatusInTerminalTab:Y}),f("tengu_terminal_tab_status_setting_changed",{enabled:Y})}}]:[],{id:"showTurnDuration",label:"Show turn duration",value:K.showTurnDuration,type:"boolean",onChange(Y){w((G)=>({...G,showTurnDuration:Y})),N({...T(),showTurnDuration:Y}),f("tengu_show_turn_duration_setting_changed",{enabled:Y})}},{id:"defaultPermissionMode",label:"Default permission mode",value:H?.permissions?.defaultMode||"default",options:(()=>{let Y=["default","plan"],G=mZ,M=["bypassPermissions"];return[...Y,...G.filter((E)=>!Y.includes(E)&&!M.includes(E))]})(),type:"enum",onChange(Y){let G=pZ(Y),M=vZ(G)?cZ(G):G,E=x("userSettings",{permissions:{...H?.permissions,defaultMode:M}});if(E.error){N0(E.error);return}R((b)=>({...b,permissions:{...b?.permissions,defaultMode:M}})),M0((b)=>({...b,defaultPermissionMode:Y})),f("tengu_config_changed",{setting:"defaultPermissionMode",value:Y})}},{id:"useAutoModeDuringPlan",label:"Use auto mode during plan",value:H?.useAutoModeDuringPlan??!0,type:"boolean",onChange(Y){x("userSettings",{useAutoModeDuringPlan:Y}),R((G)=>({...G,useAutoModeDuringPlan:Y})),X0((G)=>{let M=BJ(G.toolPermissionContext);if(M===G.toolPermissionContext)return G;return{...G,toolPermissionContext:M}}),M0((G)=>({...G,"Use auto mode during plan":Y}))}},{id:"respectGitignore",label:"Respect .gitignore in file picker",value:K.respectGitignore,type:"boolean",onChange(Y){w((G)=>({...G,respectGitignore:Y})),N({...T(),respectGitignore:Y}),f("tengu_respect_gitignore_setting_changed",{enabled:Y})}},{id:"copyFullResponse",label:"Always copy full response (skip /copy picker)",value:K.copyFullResponse,type:"boolean",onChange(Y){w((G)=>({...G,copyFullResponse:Y})),N({...T(),copyFullResponse:Y}),f("tengu_config_changed",{setting:"copyFullResponse",value:String(Y)})}},...JY()?[{id:"copyOnSelect",label:"Copy on select",value:K.copyOnSelect??!0,type:"boolean",onChange(Y){w((G)=>({...G,copyOnSelect:Y})),N({...T(),copyOnSelect:Y}),f("tengu_config_changed",{setting:"copyOnSelect",value:String(Y)})}}]:[],{id:"flickerFreeMode",label:"Flicker-free mode",value:K.flickerFreeMode??!1,type:"boolean",onChange(Y){w((G)=>({...G,flickerFreeMode:Y})),N({...T(),flickerFreeMode:Y}),f("tengu_config_changed",{setting:"flickerFreeMode",value:String(Y)})}},W0?{id:"autoUpdatesChannel",label:"Auto-update channel",value:"disabled",type:"managedEnum",onChange(){}}:{id:"autoUpdatesChannel",label:"Auto-update channel",value:H?.autoUpdatesChannel??"latest",type:"managedEnum",onChange(){}},{id:"theme",label:"Theme",value:P,type:"managedEnum",onChange:k},{id:"notifChannel",label:"Notifications",value:K.preferredNotifChannel,options:["auto","iterm2","terminal_bell","iterm2_with_bell","kitty","ghostty","os_native","notifications_disabled"],type:"enum",onChange(Y){w((G)=>({...G,preferredNotifChannel:Y})),N({...T(),preferredNotifChannel:Y})}},{id:"outputStyle",label:"Output style",value:B,type:"managedEnum",onChange:()=>{}},{id:"language",label:"Language",value:S??"Default (English)",type:"managedEnum",onChange:()=>{}},{id:"editorMode",label:"Editor mode",value:K.editorMode==="emacs"?"normal":K.editorMode||"normal",options:["normal","vim"],type:"enum",onChange(Y){w((G)=>({...G,editorMode:Y})),N({...T(),editorMode:Y}),f("tengu_editor_mode_changed",{mode:Y,source:"config_panel"})}},{id:"prStatusFooterEnabled",label:"Show PR status footer",value:K.prStatusFooterEnabled??!0,type:"boolean",onChange(Y){w((G)=>{if(G.prStatusFooterEnabled===Y)return G;return{...G,prStatusFooterEnabled:Y}}),N({...T(),prStatusFooterEnabled:Y}),f("tengu_pr_status_footer_setting_changed",{enabled:Y})}},{id:"model",label:"Model",value:E0===null?"Default (recommended)":E0,type:"managedEnum",onChange:sJ},..._q?[{id:"diffTool",label:"Diff tool",value:K.diffTool??"auto",options:["terminal","auto"],type:"enum",onChange(Y){w((G)=>({...G,diffTool:Y})),N({...T(),diffTool:Y}),f("tengu_diff_tool_changed",{tool:Y,source:"config_panel"})}}]:[],...!UJ()?[{id:"autoConnectIde",label:"Auto-connect to IDE (external terminal)",value:K.autoConnectIde??!1,type:"boolean",onChange(Y){w((G)=>({...G,autoConnectIde:Y})),N({...T(),autoConnectIde:Y}),f("tengu_auto_connect_ide_changed",{enabled:Y,source:"config_panel"})}}]:[],...UJ()?[{id:"autoInstallIdeExtension",label:"Auto-install IDE extension",value:K.autoInstallIdeExtension??!0,type:"boolean",onChange(Y){w((G)=>({...G,autoInstallIdeExtension:Y})),N({...T(),autoInstallIdeExtension:Y}),f("tengu_auto_install_ide_extension_changed",{enabled:Y,source:"config_panel"})}}]:[],...QY()?(()=>{let Y=VY();return[{id:"teammateMode",label:Y?`Teammate mode [overridden: ${Y}]`:"Teammate mode",value:K.teammateMode??"auto",options:["auto","tmux","in-process"],type:"enum",onChange(M){if(M!=="auto"&&M!=="tmux"&&M!=="in-process")return;WY(M),w((E)=>({...E,teammateMode:M})),N({...T(),teammateMode:M}),f("tengu_teammate_mode_changed",{mode:M})}},{id:"teammateDefaultModel",label:"Default teammate model",value:yZ(K.teammateDefaultModel),type:"managedEnum",onChange(){}}]})():[],...$q?[{id:"showExternalIncludesDialog",label:"External CLAUDE.md includes",value:(()=>{if(uZ().hasClaudeMdExternalIncludesApproved)return"true";else return"false"})(),type:"managedEnum",onChange(){}}]:[],...(()=>{let Y=B0(),G=Y?.transport==="anthropic"?Y.apiKey?.trim():void 0;if(!G||LJ())return[];return[{id:"apiKey",label:D(V,{children:["Use custom API key:"," ",Q(V,{bold:!0,children:h0(G)})]}),searchText:"Use custom API key",value:Boolean(K.customApiKeyResponses?.approved?.includes(h0(G))),type:"boolean",onChange(M){w((E)=>{let b={...E};if(!b.customApiKeyResponses)b.customApiKeyResponses={approved:[],rejected:[]};if(!b.customApiKeyResponses.approved)b.customApiKeyResponses={...b.customApiKeyResponses,approved:[]};if(!b.customApiKeyResponses.rejected)b.customApiKeyResponses={...b.customApiKeyResponses,rejected:[]};{let o=h0(G);if(M)b.customApiKeyResponses={...b.customApiKeyResponses,approved:[...(b.customApiKeyResponses.approved??[]).filter((a)=>a!==o),o],rejected:(b.customApiKeyResponses.rejected??[]).filter((a)=>a!==o)};else b.customApiKeyResponses={...b.customApiKeyResponses,approved:(b.customApiKeyResponses.approved??[]).filter((a)=>a!==o),rejected:[...(b.customApiKeyResponses.rejected??[]).filter((a)=>a!==o),o]}}return b}),N(T())}}]})()],G0=v.useMemo(()=>{if(!A0)return HJ;let Y=A0.toLowerCase();return HJ.filter((G)=>{if(G.id.toLowerCase().includes(Y))return!0;return("searchText"in G?G.searchText:G.label).toLowerCase().includes(Y)})},[HJ,A0]);v.useEffect(()=>{if(j>=G0.length){let Y=Math.max(0,G0.length-1);F0(Y),Y0(Math.max(0,Y-Q0+1));return}Y0((Y)=>{if(j<Y)return j;if(j>=Y+Q0)return j-Q0+1;return Y})},[G0.length,j,Q0]);let mq=_.useCallback((Y)=>{Y0((G)=>{if(Y<G)return Y;if(Y>=G+Q0)return Y-Q0+1;return G})},[Q0]),vq=_.useCallback(()=>{if(m!==null)return;let Y=Object.entries(dJ).map(([a,eJ])=>{return f("tengu_config_changed",{key:a,value:eJ}),`Set ${a} to ${O0.bold(eJ)}`}),G=B0(),M=G?.transport==="anthropic"?G.apiKey?.trim():void 0,E=LJ()?void 0:M,b=Boolean(E&&z.current.customApiKeyResponses?.approved?.includes(h0(E))),o=Boolean(E&&K.customApiKeyResponses?.approved?.includes(h0(E)));if(b!==o)Y.push(`${o?"Enabled":"Disabled"} custom API key`),f("tengu_config_changed",{key:"env.ANTHROPIC_API_KEY",value:o});if(K.theme!==z.current.theme)Y.push(`Set theme to ${O0.bold(K.theme)}`);if(K.preferredNotifChannel!==z.current.preferredNotifChannel)Y.push(`Set notifications to ${O0.bold(K.preferredNotifChannel)}`);if(B!==h.current)Y.push(`Set output style to ${O0.bold(B)}`);if(S!==t.current)Y.push(`Set response language to ${O0.bold(S??"Default (English)")}`);if(K.editorMode!==z.current.editorMode)Y.push(`Set editor mode to ${O0.bold(K.editorMode||"emacs")}`);if(K.diffTool!==z.current.diffTool)Y.push(`Set diff tool to ${O0.bold(K.diffTool)}`);if(K.autoConnectIde!==z.current.autoConnectIde)Y.push(`${K.autoConnectIde?"Enabled":"Disabled"} auto-connect to IDE`);if(K.autoInstallIdeExtension!==z.current.autoInstallIdeExtension)Y.push(`${K.autoInstallIdeExtension?"Enabled":"Disabled"} auto-install IDE extension`);if(K.autoCompactEnabled!==z.current.autoCompactEnabled)Y.push(`${K.autoCompactEnabled?"Enabled":"Disabled"} auto-compact`);if(K.thinkingHistoryRedactionEnabled!==z.current.thinkingHistoryRedactionEnabled)Y.push(`${K.thinkingHistoryRedactionEnabled?"Enabled":"Disabled"} thinking history redaction`);if(K.narrationHistoryRedactionEnabled!==z.current.narrationHistoryRedactionEnabled)Y.push(`${K.narrationHistoryRedactionEnabled?"Enabled":"Disabled"} narration history redaction`);if(K.toolResultSummarizerEnabled!==z.current.toolResultSummarizerEnabled)Y.push(`${K.toolResultSummarizerEnabled?"Enabled":"Disabled"} tool result summarizer`);if(K.autoBackgroundAgentsEnabled!==z.current.autoBackgroundAgentsEnabled)Y.push(`${K.autoBackgroundAgentsEnabled!==!1?"Enabled":"Disabled"} auto-background agents`);if(K.bashOutputFilterEnabled!==z.current.bashOutputFilterEnabled)Y.push(`${K.bashOutputFilterEnabled!==!1?"Enabled":"Disabled"} bash output filter`);if(K.respectGitignore!==z.current.respectGitignore)Y.push(`${K.respectGitignore?"Enabled":"Disabled"} respect .gitignore in file picker`);if(K.copyFullResponse!==z.current.copyFullResponse)Y.push(`${K.copyFullResponse?"Enabled":"Disabled"} always copy full response`);if(K.copyOnSelect!==z.current.copyOnSelect)Y.push(`${K.copyOnSelect?"Enabled":"Disabled"} copy on select`);if(K.terminalProgressBarEnabled!==z.current.terminalProgressBarEnabled)Y.push(`${K.terminalProgressBarEnabled?"Enabled":"Disabled"} terminal progress bar`);if(K.showStatusInTerminalTab!==z.current.showStatusInTerminalTab)Y.push(`${K.showStatusInTerminalTab?"Enabled":"Disabled"} terminal tab status`);if(K.showTurnDuration!==z.current.showTurnDuration)Y.push(`${K.showTurnDuration?"Enabled":"Disabled"} turn duration`);if(K.remoteControlAtStartup!==z.current.remoteControlAtStartup){let a=K.remoteControlAtStartup===void 0?"Reset Remote Control to default":`${K.remoteControlAtStartup?"Enabled":"Disabled"} Remote Control for all sessions`;Y.push(a)}if(H?.autoUpdatesChannel!==A.current?.autoUpdatesChannel)Y.push(`Set auto-update channel to ${O0.bold(H?.autoUpdatesChannel??"latest")}`);if(Y.length>0)Z(Y.join(`
|
|
2
|
-
`));else Z("Config dialog dismissed",{display:"system"})},[m,dJ,K,E0,B,S,H?.autoUpdatesChannel,m0()?H?.fastMode:void 0,Z]),tJ=_.useCallback(()=>{if(P!==nJ.current)k(nJ.current);w(()=>z.current);let Y=iJ;x("localSettings",{spinnerTipsEnabled:Y?.spinnerTipsEnabled,prefersReducedMotion:Y?.prefersReducedMotion,defaultView:Y?.defaultView,outputStyle:Y?.outputStyle});let G=rJ;x("userSettings",{alwaysThinkingEnabled:G?.alwaysThinkingEnabled,fastMode:G?.fastMode,promptSuggestionEnabled:G?.promptSuggestionEnabled,autoUpdatesChannel:G?.autoUpdatesChannel,minimumVersion:G?.minimumVersion,language:G?.language,...{useAutoModeDuringPlan:G?.useAutoModeDuringPlan},syntaxHighlightingDisabled:G?.syntaxHighlightingDisabled,permissions:G?.permissions===void 0?void 0:{...G.permissions,defaultMode:G.permissions.defaultMode}});let M=lJ;if(X0((E)=>({...E,mainLoopModel:M.mainLoopModel,mainLoopModelForSession:M.mainLoopModelForSession,verbose:M.verbose,thinkingEnabled:M.thinkingEnabled,fastMode:M.fastMode,promptSuggestionEnabled:M.promptSuggestionEnabled,isBriefOnly:M.isBriefOnly,replBridgeEnabled:M.replBridgeEnabled,replBridgeOutboundOnly:M.replBridgeOutboundOnly,settings:M.settings,toolPermissionContext:BJ(E.toolPermissionContext)})),RJ()!==KJ)_Z(KJ)},[P,k,iJ,rJ,lJ,KJ,X0]),cq=_.useCallback(()=>{if(m!==null)return;if(e.current)tJ();Z("Config dialog dismissed",{display:"system"})},[m,tJ,Z]);l("confirm:no",cq,{context:"Settings",isActive:m===null&&!r&&!O}),l("settings:close",vq,{context:"Settings",isActive:m===null&&!r&&!O});let DJ=_.useCallback(()=>{let Y=G0[j];if(!Y||!Y.onChange)return;if(Y.type==="boolean"){if(e.current=!0,Y.onChange(!Y.value),Y.id==="thinkingEnabled"){if(!Y.value===wq.current)o0(!1);else if(J.messages.some((E)=>E.type==="assistant"))o0(!0)}return}if(Y.id==="theme"||Y.id==="model"||Y.id==="teammateDefaultModel"||Y.id==="showExternalIncludesDialog"||Y.id==="outputStyle"||Y.id==="language")switch(Y.id){case"theme":y("Theme"),q(!0);return;case"model":y("Model"),q(!0);return;case"teammateDefaultModel":y("TeammateModel"),q(!0);return;case"showExternalIncludesDialog":y("ExternalIncludes"),q(!0);return;case"outputStyle":y("OutputStyle"),q(!0);return;case"language":y("Language"),q(!0);return}if(Y.id==="autoUpdatesChannel"){if(W0){y("EnableAutoUpdates"),q(!0);return}if((H?.autoUpdatesChannel??"latest")==="latest")y("ChannelDowngrade"),q(!0);else e.current=!0,x("userSettings",{autoUpdatesChannel:"latest",minimumVersion:void 0}),R((M)=>({...M,autoUpdatesChannel:"latest",minimumVersion:void 0})),f("tengu_autoupdate_channel_changed",{channel:"latest"});return}if(Y.type==="enum"){e.current=!0;let M=(Y.options.indexOf(Y.value)+1)%Y.options.length;Y.onChange(Y.options[M]);return}},[W0,G0,j,H?.autoUpdatesChannel,q]),s0=(Y)=>{o0(!1);let G=Math.max(0,Math.min(G0.length-1,j+Y));F0(G),mq(G)};YY({"select:previous":()=>{if(j===0)o0(!1),q0(!0),Y0(0);else s0(-1)},"select:next":()=>s0(1),"scroll:lineUp":()=>s0(-1),"scroll:lineDown":()=>s0(1),"select:accept":DJ,"settings:search":()=>{q0(!0),a0("")}},{context:"Settings",isActive:m===null&&!r&&!O});let pq=_.useCallback((Y)=>{if(m!==null)return;if(O)return;if(r){if(Y.key==="escape"){if(Y.preventDefault(),A0.length>0)a0("");else q0(!1);return}if(Y.key==="return"||Y.key==="down"||Y.key==="wheeldown")Y.preventDefault(),q0(!1),F0(0),Y0(0);return}if(Y.key==="left"||Y.key==="right"||Y.key==="tab"){Y.preventDefault(),DJ();return}if(Y.ctrl||Y.meta)return;if(Y.key==="j"||Y.key==="k"||Y.key==="/")return;if(Y.key.length===1&&Y.key!==" ")Y.preventDefault(),q0(!0),a0(Y.key)},[m,O,r,A0,a0,DJ]);return Q(U,{flexDirection:"column",width:"100%",tabIndex:0,autoFocus:!0,onKeyDown:pq,children:m==="Theme"?D(n,{children:[Q(OY,{onThemeSelect:(Y)=>{e.current=!0,k(Y),y(null),q(!1)},onCancel:()=>{y(null),q(!1)},hideEscToCancel:!0,skipExitHandling:!0}),Q(U,{children:Q(V,{dimColor:!0,italic:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"select"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})})]}):m==="Model"?D(n,{children:[Q(IJ,{initial:E0,onSelect:(Y,G)=>{e.current=!0,sJ(Y),y(null),q(!1)},onCancel:()=>{y(null),q(!1)},showFastModeNotice:m0()?uJ&&oZ(E0)&&MJ():!1}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="TeammateModel"?D(n,{children:[Q(IJ,{initial:K.teammateDefaultModel??null,skipSettingsWrite:!0,headerText:"Default model for newly spawned teammates. The leader can override via the tool call's model parameter.",onSelect:(Y,G)=>{if(y(null),q(!1),K.teammateDefaultModel===void 0&&Y===null)return;e.current=!0,w((M)=>M.teammateDefaultModel===Y?M:{...M,teammateDefaultModel:Y}),N({...T(),teammateDefaultModel:Y}),M0((M)=>({...M,teammateDefaultModel:yZ(Y)})),f("tengu_teammate_default_model_changed",{model:Y})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="ExternalIncludes"?D(n,{children:[Q(FY,{onDone:()=>{y(null),q(!1)},externalIncludes:AY(aJ)}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"disable external includes"})]})})]}):m==="OutputStyle"?D(n,{children:[Q(CZ,{initialStyle:B,onComplete:(Y)=>{e.current=!0,I(Y??YJ),y(null),q(!1),x("localSettings",{outputStyle:Y}),f("tengu_output_style_changed",{style:Y??YJ,source:"config_panel",settings_source:"localSettings"})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):m==="Language"?D(n,{children:[Q(hZ,{initialLanguage:S,onComplete:(Y)=>{e.current=!0,d(Y),y(null),q(!1),x("userSettings",{language:Y}),f("tengu_language_changed",{language:Y??"default",source:"config_panel"})},onCancel:()=>{y(null),q(!1)}}),Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"Enter",action:"confirm"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]}):m==="EnableAutoUpdates"?Q(S0,{title:"Enable Auto-Updates",onCancel:()=>{y(null),q(!1)},hideBorder:!0,hideInputGuide:!0,children:W0?.type!=="config"?D(n,{children:[Q(V,{children:W0?.type==="env"?"Auto-updates are controlled by an environment variable and cannot be changed here.":"Auto-updates are disabled in development builds."}),W0?.type==="env"&&D(V,{dimColor:!0,children:["Unset ",W0.envVar," to re-enable auto-updates."]})]}):Q(T0,{options:[{label:"Enable with latest channel",value:"latest"},{label:"Enable with stable channel",value:"stable"}],onChange:(Y)=>{e.current=!0,y(null),q(!1),w((G)=>({...G,autoUpdates:!0})),N({...T(),autoUpdates:!0}),x("userSettings",{autoUpdatesChannel:Y,minimumVersion:void 0}),R((G)=>({...G,autoUpdatesChannel:Y,minimumVersion:void 0})),f("tengu_autoupdate_enabled",{channel:Y})}})}):m==="ChannelDowngrade"?Q(MZ,{currentVersion:"99.0.0",onChoice:(Y)=>{if(y(null),q(!1),Y==="cancel")return;e.current=!0;let G={autoUpdatesChannel:"stable"};if(Y==="stay")G.minimumVersion="99.0.0";x("userSettings",G),R((M)=>({...M,...G})),f("tengu_autoupdate_channel_changed",{channel:"stable",minimum_version_set:Y==="stay"})}}):D(U,{flexDirection:"column",gap:1,marginY:L?void 0:1,children:[Q(NY,{query:A0,isFocused:r&&!O,isTerminalFocused:$0,cursorOffset:yq,placeholder:"Search settings…"}),Q(U,{flexDirection:"column",children:G0.length===0?D(V,{dimColor:!0,italic:!0,children:['No settings match "',A0,'"']}):D(n,{children:[i>0&&D(V,{dimColor:!0,children:[H0.arrowUp," ",i," more above"]}),G0.slice(i,i+Q0).map((Y,G)=>{let E=i+G===j&&!O&&!r;return Q(v.Fragment,{children:D(U,{children:[Q(U,{width:44,children:D(V,{color:E?"suggestion":void 0,children:[E?H0.pointer:" "," ",Y.label]})}),Q(U,{children:Y.type==="boolean"?D(n,{children:[Q(V,{color:E?"suggestion":void 0,children:Y.value.toString()}),bq&&Y.id==="thinkingEnabled"&&D(V,{color:"warning",children:[" ","Changing thinking mode mid-conversation will increase latency and may reduce quality."]})]}):Y.id==="theme"?Q(V,{color:E?"suggestion":void 0,children:IQ[Y.value.toString()]??Y.value.toString()}):Y.id==="notifChannel"?Q(V,{color:E?"suggestion":void 0,children:Q(EQ,{value:Y.value.toString()})}):Y.id==="defaultPermissionMode"?Q(V,{color:E?"suggestion":void 0,children:xZ(Y.value)}):Y.id==="autoUpdatesChannel"&&W0?D(U,{flexDirection:"column",children:[Q(V,{color:E?"suggestion":void 0,children:"disabled"}),D(V,{dimColor:!0,children:["(",dZ(W0),")"]})]}):Q(V,{color:E?"suggestion":void 0,children:Y.value.toString()})},E?"selected":"unselected")]})},Y.id)}),i+Q0<G0.length&&D(V,{dimColor:!0,children:[H0.arrowDown," ",G0.length-i-Q0," ","more below"]})]})}),O?Q(V,{dimColor:!0,children:D(c,{children:[Q(J0,{shortcut:"←/→ tab",action:"switch"}),Q(J0,{shortcut:"↓",action:"return"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"close"})]})}):r?Q(V,{dimColor:!0,children:D(c,{children:[Q(V,{children:"Type to filter"}),Q(J0,{shortcut:"Enter/↓",action:"select"}),Q(J0,{shortcut:"↑",action:"tabs"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"clear"})]})}):Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"select:accept",context:"Settings",fallback:"Space",description:"change"}),Q(C,{action:"settings:close",context:"Settings",fallback:"Enter",description:"save"}),Q(C,{action:"settings:search",context:"Settings",fallback:"/",description:"search"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]})})}function yZ(Z){if(Z===void 0)return qJ(KY());if(Z===null)return"Default (leader's model)";return qJ(Z)}function EQ(Z){let J=LY.c(4),{value:q}=Z;switch(q){case"auto":return"Auto";case"iterm2":{let X;if(J[0]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["iTerm2 ",Q(V,{dimColor:!0,children:"(OSC 9)"})]}),J[0]=X;else X=J[0];return X}case"terminal_bell":{let X;if(J[1]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Terminal Bell ",Q(V,{dimColor:!0,children:"(\\a)"})]}),J[1]=X;else X=J[1];return X}case"kitty":{let X;if(J[2]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Kitty ",Q(V,{dimColor:!0,children:"(OSC 99)"})]}),J[2]=X;else X=J[2];return X}case"ghostty":{let X;if(J[3]===Symbol.for("react.memo_cache_sentinel"))X=D(V,{children:["Ghostty ",Q(V,{dimColor:!0,children:"(OSC 777)"})]}),J[3]=X;else X=J[3];return X}case"iterm2_with_bell":return"iTerm2 w/ Bell";case"notifications_disabled":return"Disabled";default:return q}}var LY,v,_,IQ;var kY=p(()=>{D0();w0();OJ();rZ();WQ();nZ();rZ();QQ();GQ();RQ();QJ();qQ();LQ();PQ();qZ();kQ();tZ();MQ();AQ();AZ();FJ();PZ();SZ();bZ();fQ();DQ();f0();XJ();DY();zJ();UQ();OQ();VQ();ZZ();EZ();$Z();XQ();zQ();FQ();NQ();BQ();v0();KQ();HQ();g();LY=$(U0(),1),v=$(s(),1),_=$(s(),1);IQ={auto:"Auto (match terminal)",dark:"Dark mode",light:"Light mode","dark-daltonized":"Dark mode (colorblind-friendly)","light-daltonized":"Light mode (colorblind-friendly)","dark-ansi":"Dark mode (ANSI colors only)","light-ansi":"Light mode (ANSI colors only)"}});function x0(Z){return typeof Z==="object"&&Z!==null}function Z0(Z){return typeof Z==="string"&&Z.trim()?Z.trim():void 0}function b0(Z){return typeof Z==="number"&&Number.isFinite(Z)?Z:void 0}function EJ(Z){return typeof Z==="boolean"?Z:void 0}function fJ(Z){let J=b0(Z);if(J===void 0)return;return new Date(J*1000).toISOString()}function GJ(Z){if(!x0(Z))return;let J=b0(Z.used_percent)??b0(Z.usedPercent);if(J===void 0)return;let q=b0(Z.window_minutes)??b0(Z.windowDurationMins)??(()=>{let W=b0(Z.limit_window_seconds);return W===void 0?void 0:Math.round(W/60)})(),X=fJ(Z.resets_at)??fJ(Z.resetsAt)??fJ(Z.reset_at);return{usedPercent:J,windowMinutes:q,resetsAt:X}}function bY(Z){if(!x0(Z))return;let J=EJ(Z.has_credits)??EJ(Z.hasCredits)??!1,q=EJ(Z.unlimited)??!1,X=Z0(Z.balance);if(!J&&!q&&!X)return;return{hasCredits:J,unlimited:q,balance:X}}function c0(Z,J){if(!x0(Z))return;let q=Z0(Z.limit_name)??Z0(Z.limitName)??Z0(Z.limit_id)??Z0(Z.limitId)??J,X=GJ(Z.primary)??GJ(Z.primary_window),W=GJ(Z.secondary)??GJ(Z.secondary_window),O=bY(Z.credits);if(!X&&!W&&!O)return;return{limitName:q,primary:X,secondary:W,credits:O}}function CJ(Z,J="codex"){if(Array.isArray(Z))return Z.map((q,X)=>c0(q,X===0?J:`${J}-${X+1}`)).filter((q)=>q!==void 0);if(!x0(Z))return[];return Object.entries(Z).map(([q,X])=>c0(X,q)).filter((q)=>q!==void 0)}function TQ(Z){let J=Z0(Z.plan_type)??Z0(Z.planType),q=[],X=bY(Z.credits),W=c0(Z.rate_limit,"codex");if(W)W.credits??=X,q.push(W);else if(X)q.push({limitName:"codex",credits:X});let O=c0(Z.code_review_rate_limit,"code review");if(O)q.push(O);return q.push(...CJ(Z.additional_rate_limits??Z.additionalRateLimits,"additional")),{planType:J,snapshots:q}}function wQ(Z){if(Array.isArray(Z))return{snapshots:CJ(Z)};if(!x0(Z))return{snapshots:[]};if("rate_limit"in Z||"code_review_rate_limit"in Z||"additional_rate_limits"in Z||"credits"in Z)return TQ(Z);let J=Z.rate_limits??Z.rateLimits??Z.rate_limits_by_limit_id??Z.rateLimitsByLimitId;if(J!==void 0)return{planType:Z0(Z.plan_type)??Z0(Z.planType),snapshots:CJ(J)};let q=c0(Z,"codex");return{planType:Z0(Z.plan_type)??Z0(Z.planType),snapshots:q?[q]:[]}}function y0(Z){if(!Z)return Z;return Z[0].toUpperCase()+Z.slice(1)}function BY(Z,J){if(Z===void 0||Z<=0)return J;if(Z===10080)return"weekly";if(Z%1440===0)return`${Z/1440}d`;if(Z%60===0)return`${Z/60}h`;return`${Z}m`}function hQ(Z){let J=Z?.trim();if(!J)return;let q=Number.parseInt(J,10);if(Number.isFinite(q)&&`${q}`===J&&q>0)return`${q}`;let X=Number.parseFloat(J);if(Number.isFinite(X)&&X>0)return`${Math.round(X)}`;return}function bQ(Z){if(!Z?.hasCredits)return;if(Z.unlimited)return{kind:"text",label:"Credits",value:"Unlimited"};let J=hQ(Z.balance);if(!J)return;return{kind:"text",label:"Credits",value:`${J} credits`}}function yY(Z){let J=[];for(let q of Z){let X=q.limitName.trim()||"codex",W=bQ(q.credits);if(!(q.primary!==void 0||q.secondary!==void 0||W!==void 0))continue;let F=X.toLowerCase()!=="codex",L=Number(q.primary!==void 0)+Number(q.secondary!==void 0),k=F&&L===1;if(F&&!k)J.push({kind:"text",label:`${y0(X)} limit`,value:""});if(q.primary){let P=y0(BY(q.primary.windowMinutes,"5h"));J.push({kind:"window",label:k?`${y0(X)} ${P} limit`:`${P} limit`,usedPercent:q.primary.usedPercent,resetsAt:q.primary.resetsAt})}if(q.secondary){let P=y0(BY(q.secondary.windowMinutes,"weekly"));J.push({kind:"window",label:k?`${y0(X)} ${P} limit`:`${P} limit`,usedPercent:q.secondary.usedPercent,resetsAt:q.secondary.resetsAt})}if(W)J.push(W)}return J}function _Y(Z){if(!Z)return;return Z.split(/[_\s-]+/).filter(Boolean).map((J)=>y0(J.toLowerCase())).join(" ")}function yQ(Z=SY){return new URL("/backend-api/wham/usage",Z).toString()}async function gY(){let Z=await CY().catch(async(W)=>{return p0(`[codex] access token refresh failed before usage fetch: ${W instanceof Error?W.message:String(W)}`,{level:"warn"}),{refreshed:!1,credentials:await fY()}}),J=wY();if(!TY(J.baseUrl))throw Error("Codex usage is only available with the official ChatGPT Codex backend.");let q=hY({storedCredentials:Z.credentials});if(!q.apiKey){let W=IY()?"":", choose Codex OAuth in /provider",O=q.authPath?`${W} or place a Codex auth.json at ${q.authPath}`:W;throw Error(`Codex auth is required. Set CODEX_API_KEY${O}.`)}if(!q.accountId)throw Error("Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth, the Codex CLI, or set CHATGPT_ACCOUNT_ID/CODEX_ACCOUNT_ID.");let X=await fetch(yQ(J.baseUrl),{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${q.apiKey}`,"chatgpt-account-id":q.accountId,originator:"claudin"},signal:AbortSignal.timeout(5000)});if(!X.ok){let W=await X.text().catch(()=>"unknown error");throw Error(`Codex usage error ${X.status}: ${W}`)}return wQ(await X.json())}var $Y=p(()=>{CQ();EY();$Z();SQ()});function _Q({label:Z,usedPercent:J,resetsAt:q,maxWidth:X}){let W=Math.max(0,Math.min(100,J)),O=`${Math.floor(W)}% used`,F=q?`Resets ${VJ(q,!0,!0)}`:void 0;if(X>=62)return D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:Z}),D(U,{flexDirection:"row",gap:1,children:[Q(R0,{ratio:W/100,width:50,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),Q(V,{children:O})]}),F?Q(V,{dimColor:!0,children:F}):null]});return D(U,{flexDirection:"column",children:[D(V,{children:[Q(V,{bold:!0,children:Z}),F?D(n,{children:[Q(V,{children:" "}),D(V,{dimColor:!0,children:["· ",F]})]}):null]}),Q(R0,{ratio:W/100,width:X,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),Q(V,{children:O})]})}function gQ({label:Z,value:J}){if(!J)return Q(V,{bold:!0,children:Z});return D(V,{children:[Q(V,{bold:!0,children:Z}),D(V,{dimColor:!0,children:[" · ",J]})]})}function mY(){let[Z,J]=_0.useState(null),[q,X]=_0.useState(null),[W,O]=_0.useState(!0),{columns:F}=V0(),L=F-2,k=Math.min(L,80),P=jY.useCallback(async()=>{O(!0),X(null);try{J(await gY())}catch(z){N0(z),X(z instanceof Error?z.message:"Failed to load Codex usage")}finally{O(!1)}},[]);if(_0.useEffect(()=>{P()},[P]),l("settings:retry",()=>{P()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Error: ",q]}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading Codex usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let K=yY(Z.snapshots),N=_Y(Z.planType);return D(U,{flexDirection:"column",gap:1,width:"100%",children:[N?D(V,{dimColor:!0,children:["Plan: ",N]}):null,K.length===0?Q(V,{dimColor:!0,children:"Codex usage data is not available for this account."}):null,K.map((z,H)=>z.kind==="window"?Q(_Q,{label:z.label,usedPercent:z.usedPercent,resetsAt:z.resetsAt,maxWidth:k},`${z.label}-${H}`):Q(gQ,{label:z.label,value:z.value},`${z.label}-${H}`)),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var jY,_0;var vY=p(()=>{v0();D0();w0();$Y();SJ();QJ();f0();XJ();TJ();g();jY=$(s(),1),_0=$(s(),1)});var u0="https://api.minimax.io/v1",d0="Usage details are not available for this MiniMax account. This plan or MiniMax endpoint may not expose quota status.";var wJ=()=>{};function L0(Z){return typeof Z==="object"&&Z!==null}function u(Z){return typeof Z==="string"&&Z.trim()?Z.trim():void 0}function bJ(Z){if(typeof Z==="number"&&Number.isFinite(Z))return Z;if(typeof Z==="string"&&Z.trim()){let J=Number.parseFloat(Z);if(Number.isFinite(J))return J}return}function WJ(Z){return Math.max(0,Math.min(100,Math.round(Z)))}function $Q(Z){if(typeof Z==="string"){let X=Date.parse(Z);return Number.isNaN(X)?Z:new Date(X).toISOString()}let J=bJ(Z);if(J===void 0)return;let q=J>1000000000000?J:J*1000;return new Date(q).toISOString()}function jQ(Z,J){let q=bJ(Z);if(/remains?_time/i.test(J)&&q!==void 0){let X=q>604800?q:q*1000;return new Date(Date.now()+X).toISOString()}return $Q(Z)}function i0(Z,J){for(let q of J){let X=bJ(Z[q]);if(X!==void 0)return X}return}function mQ(Z,J){for(let q of J)if(Z[q]!==void 0)return jQ(Z[q],q);return}function r0(Z,J){return J.some((q)=>Z[q]!==void 0)}function xY(Z){return Z?Z[0].toUpperCase()+Z.slice(1):Z}function vQ(Z){if(!Z)return"MiniMax";let J=Z.trim();if(!J)return"MiniMax";if(/[A-Z]/.test(J))return J;return J.split(/[_\s-]+/).filter(Boolean).map((q)=>xY(q.toLowerCase())).join(" ")}function cQ(Z){if(!Z)return;return Z.split(/[_\s-]+/).filter(Boolean).map((J)=>xY(J.toLowerCase())).join(" ")}function uY(Z,J){let q=i0(Z,J.percentKeys),X=i0(Z,J.remainingPercentKeys),W=i0(Z,J.totalKeys),O=i0(Z,J.remainingKeys),F=i0(Z,J.usedKeys),L=W!==void 0&&F!==void 0?W-F:O,k;if(W!==void 0&&W>0&&F!==void 0)k=WJ(F/W*100);else if(W!==void 0&&W>0&&O!==void 0)k=WJ((W-O)/W*100);else if(q!==void 0)k=WJ(q);else if(X!==void 0)k=WJ(100-X);if(k===void 0)return;return{label:J.label,usedPercent:k,remaining:L,total:W,resetsAt:mQ(Z,J.resetKeys)}}function pQ(Z){let J=u(Z.label)??u(Z.name)??u(Z.window_name)??u(Z.windowName)??"Limit";return uY(Z,{label:J,percentKeys:["used_percent","usedPercent","utilization","usage_percentage","usagePercentage"],remainingPercentKeys:["usage_percent","usagePercent","remaining_percent","remainingPercent","percent_remaining","percentRemaining"],totalKeys:["total","quota","limit","max","entitlement"],remainingKeys:["remaining","remain","remains","left"],usedKeys:["used","usage","consumed"],resetKeys:["resets_at","reset_at","resetsAt","resetAt"]})}function uQ(Z){if(r0(Z,xQ))return!0;return dY.some((J)=>r0(Z,J.totalKeys)||r0(Z,J.remainingKeys)||r0(Z,J.usedKeys)||r0(Z,J.percentKeys))}function hJ(Z,J){if(!L0(Z))return;let q=dY.map((W)=>uY(Z,W)).filter((W)=>W!==void 0);if(q.length===0){let W=pQ(Z);if(W)q.push(W)}if(q.length===0)return;return{limitName:u(Z.limit_name)??u(Z.limitName)??u(Z.model_name)??u(Z.modelName)??u(Z.name)??J,windows:q}}function cY(Z,J="MiniMax"){if(Array.isArray(Z))return Z.map((q,X)=>hJ(q,X===0?J:`${J}-${X+1}`)).filter((q)=>q!==void 0);if(!L0(Z))return[];if(uQ(Z)){let q=hJ(Z,J);return q?[q]:[]}return Object.entries(Z).map(([q,X])=>hJ(X,q)).filter((q)=>q!==void 0)}function pY(Z=d0,J){return{availability:"unknown",planType:J,snapshots:[],message:Z}}function yJ(Z){if(!L0(Z))return pY();let J=cQ(u(Z.plan_type)??u(Z.planType)??u(Z.subscription_type)??u(Z.subscriptionType)??u(Z.plan_name)??u(Z.planName)),X=[Z.data,Z.result,Z.model_remains,Z.modelRemains,Z.remains,Z.usage,Z.quotas,Z.models,L0(Z.data)?Z.data.model_remains:void 0,L0(Z.data)?Z.data.modelRemains:void 0,L0(Z.data)?Z.data.models:void 0,L0(Z.data)?Z.data.quotas:void 0,L0(Z.data)?Z.data.remains:void 0].flatMap((O)=>cY(O)).filter((O,F,L)=>{let k=`${O.limitName}:${O.windows.map((P)=>P.label).join("|")}`;return L.findIndex((P)=>`${P.limitName}:${P.windows.map((K)=>K.label).join("|")}`===k)===F});if(X.length>0)return{availability:"available",planType:J,snapshots:X};let W=cY(Z);if(W.length>0)return{availability:"available",planType:J,snapshots:W};return pY(void 0,J)}function dQ(Z){if(Z.remaining===void 0||Z.total===void 0||Z.total<=0)return;return`${Z.remaining}/${Z.total} remaining`}function _J(Z){let J=[];for(let q of Z){let X=vQ(q.limitName),W=X.toLowerCase()!=="minimax",O=W&&q.windows.length===1;if(W&&!O)J.push({kind:"text",label:`${X} quota`,value:""});for(let F of q.windows)J.push({kind:"window",label:O?`${X} ${F.label}`:F.label,usedPercent:F.usedPercent,resetsAt:F.resetsAt,extraSubtext:dQ(F)})}return J}var dY,xQ;var gJ=p(()=>{wJ();dY=[{label:"5h limit",percentKeys:["interval_used_percent","intervalUsedPercent"],remainingPercentKeys:["usage_percent","usagePercent","interval_remaining_percent","intervalRemainingPercent"],totalKeys:["current_interval_total_count","currentIntervalTotalCount","max_interval_usage_count","maxIntervalUsageCount","interval_quota","intervalQuota","interval_limit","intervalLimit"],remainingKeys:["current_interval_remaining_count","currentIntervalRemainingCount","current_interval_remains_count","currentIntervalRemainsCount","interval_remaining","intervalRemaining","remaining_interval_usage_count","remainingIntervalUsageCount"],usedKeys:["current_interval_usage_count","currentIntervalUsageCount","interval_used","intervalUsed","current_interval_used_count","currentIntervalUsedCount","used_interval_usage_count","usedIntervalUsageCount"],resetKeys:["end_time","endTime","interval_resets_at","intervalResetsAt","interval_reset_at","intervalResetAt","remains_time","remainsTime"]},{label:"Weekly limit",percentKeys:["weekly_used_percent","weeklyUsedPercent"],remainingPercentKeys:["weekly_remaining_percent","weeklyRemainingPercent"],totalKeys:["max_weekly_usage_count","maxWeeklyUsageCount","weekly_quota","weeklyQuota","weekly_limit","weeklyLimit"],remainingKeys:["weekly_remaining","weeklyRemaining","remaining_weekly_usage_count","remainingWeeklyUsageCount"],usedKeys:["current_weekly_usage_count","currentWeeklyUsageCount","weekly_used","weeklyUsed","used_weekly_usage_count","usedWeeklyUsageCount"],resetKeys:["weekly_resets_at","weeklyResetsAt","weekly_reset_at","weeklyResetAt"]},{label:"Daily limit",percentKeys:["daily_used_percent","dailyUsedPercent"],remainingPercentKeys:["daily_remaining_percent","dailyRemainingPercent"],totalKeys:["max_daily_usage_count","maxDailyUsageCount","daily_quota","dailyQuota","daily_limit","dailyLimit"],remainingKeys:["daily_remaining","dailyRemaining","remaining_daily_usage_count","remainingDailyUsageCount"],usedKeys:["current_daily_usage_count","currentDailyUsageCount","daily_used","dailyUsed","used_daily_usage_count","usedDailyUsageCount"],resetKeys:["daily_resets_at","dailyResetsAt","daily_reset_at","dailyResetAt"]}],xQ=["used_percent","usedPercent","utilization","usage_percentage","usagePercentage","total","quota","limit","max","entitlement","remaining","remain","remains","left","usage_percent","usagePercent","current_interval_total_count","current_interval_usage_count","current_interval_remaining_count","current_interval_remains_count","max_interval_usage_count","current_weekly_usage_count","max_weekly_usage_count","current_daily_usage_count","max_daily_usage_count"]});function rQ(Z){return Z.replace(/\/+$/,"")}function nY(Z=B0()?.baseUrl??u0){let J=Z.trim();return J?rQ(J):u0}function nQ(Z){let J=Z??B0()?.baseUrl;if(!J?.trim())return{baseUrl:u0,usedDefault:!0};return{baseUrl:nY(J),usedDefault:!1}}function iY(Z){return{availability:"unknown",snapshots:[],message:Z}}function lY(Z){let{baseUrl:J,usedDefault:q}=nQ(Z);try{let X=new URL(`${J}/`);return[new URL("token_plan/remains",X).toString(),new URL("api/openplatform/coding_plan/remains",X).toString()]}catch{if(q){let X=new URL(`${u0}/`);return[new URL("token_plan/remains",X).toString(),new URL("api/openplatform/coding_plan/remains",X).toString()]}throw Error(`MiniMax usage base URL is invalid: ${J}`)}}async function $J(){let Z=B0()?.apiKey;if(!Z)throw Error("MiniMax auth is required. Run /provider and configure a MiniMax profile.");let J=lY(),q=[],X=null;for(let W of J){let O;try{O=await fetch(W,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${Z}`,"Content-Type":"application/json","User-Agent":rY()},signal:AbortSignal.timeout(5000)})}catch(L){p0(`[minimax] usage request failed for ${W}: ${L instanceof Error?L.message:String(L)}`,{level:"warn"}),X=L instanceof Error?L:Error(String(L));continue}if(!O.ok){let L=await O.text().catch(()=>"");if([400,401,403,404].includes(O.status)){q.push({status:O.status,body:L});continue}X=Error(`MiniMax usage error ${O.status}: ${L||"unknown error"}`);continue}let F=yJ(await O.json());if(F.availability==="available")return F}if(q.length>0){let W=q[q.length-1];return p0(`[minimax] usage endpoint returned non-fatal status ${W.status}: ${W.body}`,{level:"warn"}),iY(d0)}if(X)throw X;return iY(d0)}var oY=p(()=>{nZ();EY();iQ();wJ();gJ()});var aY=p(()=>{gJ();oY()});function aQ(Z){let J=Math.max(1,Math.ceil(Z/60000)),q=Math.floor(J/1440),X=Math.floor(J%1440/60),W=J%60;if(q>0)return X>0?`${q}d ${X}h`:`${q}d`;if(X>0)return W>0?`${X}h ${W}m`:`${X}h`;return`${W}m`}function sQ(Z,J){if(!Z)return;let q=Date.parse(Z);if(!Number.isFinite(q))return;let X=q-J;if(X<=0)return"Resetting now";return`Resets in ${aQ(X)}`}function tQ({label:Z,usedPercent:J,resetsAt:q,extraSubtext:X,maxWidth:W,nowMs:O}){let F=Math.max(0,Math.min(100,J)),L=`${Math.floor(F)}% used`,k=sQ(q,O),P=[L,X].filter((K)=>Boolean(K));return D(U,{flexDirection:"column",children:[D(V,{children:[Q(V,{bold:!0,children:Z}),k?D(V,{dimColor:!0,children:[" · ",k]}):null]}),D(U,{flexDirection:"row",gap:1,children:[Q(R0,{ratio:F/100,width:Math.min(oQ,Math.max(1,W)),fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),P.length>0?Q(V,{dimColor:!0,children:P.join(" · ")}):null]})]})}function eQ({label:Z,value:J}){if(!J)return Q(V,{bold:!0,children:Z});return D(V,{children:[Q(V,{bold:!0,children:Z}),D(V,{dimColor:!0,children:[" · ",J]})]})}function tY(){let[Z,J]=P0.useState(null),[q,X]=P0.useState(null),[W,O]=P0.useState(!0),[F,L]=P0.useState(()=>Date.now()),{columns:k}=V0(),P=k-2,K=Math.min(P,80),N=sY.useCallback(async()=>{O(!0),X(null);try{J(await $J())}catch(H){N0(H),X(H instanceof Error?H.message:"Failed to load MiniMax usage")}finally{O(!1)}},[]);if(P0.useEffect(()=>{N()},[N]),P0.useEffect(()=>{let H=setInterval(()=>{L(Date.now())},lQ);return()=>clearInterval(H)},[]),l("settings:retry",()=>{N()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Error: ",q]}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading MiniMax usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let z=Z.availability==="available"?_J(Z.snapshots):[];return D(U,{flexDirection:"column",gap:1,width:"100%",children:[Z.planType?D(V,{dimColor:!0,children:["Plan: ",Z.planType]}):null,Z.availability==="unknown"?Q(V,{dimColor:!0,children:Z.message}):z.length===0?Q(V,{dimColor:!0,children:"No MiniMax usage windows were returned for this account."}):null,z.map((H,R)=>H.kind==="window"?Q(tQ,{label:H.label,usedPercent:H.usedPercent,resetsAt:H.resetsAt,extraSubtext:H.extraSubtext,maxWidth:K,nowMs:F},`${H.label}-${R}`):Q(eQ,{label:H.label,value:H.value},`${H.label}-${R}`)),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var sY,P0,lQ=30000,oQ=18;var eY=p(()=>{v0();D0();w0();aY();QJ();f0();XJ();TJ();g();sY=$(s(),1),P0=$(s(),1)});function Jq({providerLabel:Z}){return D(U,{flexDirection:"column",gap:1,children:[D(V,{dimColor:!0,children:["Usage details are not currently available for ",Z,"."]}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var Zq=p(()=>{D0();f0();g()});function Mq(Z){let J=cJ.c(34),{title:q,limit:X,maxWidth:W,showTimeInReset:O,extraSubtext:F}=Z,L=O===void 0?!0:O,{utilization:k,resets_at:P}=X;if(k===null)return null;let K=`${Math.floor(k)}% used`,N;if(P){let z;if(J[0]!==P||J[1]!==L)z=VJ(P,!0,L),J[0]=P,J[1]=L,J[2]=z;else z=J[2];N=`Resets ${z}`}if(F)if(N)N=`${F} · ${N}`;else N=F;if(W>=62){let z;if(J[3]!==q)z=Q(V,{bold:!0,children:q}),J[3]=q,J[4]=z;else z=J[4];let H=k/100,R;if(J[5]!==H)R=Q(R0,{ratio:H,width:50,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),J[5]=H,J[6]=R;else R=J[6];let A;if(J[7]!==K)A=Q(V,{children:K}),J[7]=K,J[8]=A;else A=J[8];let B;if(J[9]!==R||J[10]!==A)B=D(U,{flexDirection:"row",gap:1,children:[R,A]}),J[9]=R,J[10]=A,J[11]=B;else B=J[11];let I;if(J[12]!==N)I=N&&Q(V,{dimColor:!0,children:N}),J[12]=N,J[13]=I;else I=J[13];let h;if(J[14]!==z||J[15]!==B||J[16]!==I)h=D(U,{flexDirection:"column",children:[z,B,I]}),J[14]=z,J[15]=B,J[16]=I,J[17]=h;else h=J[17];return h}else{let z;if(J[18]!==q)z=Q(V,{bold:!0,children:q}),J[18]=q,J[19]=z;else z=J[19];let H;if(J[20]!==N)H=N&&D(n,{children:[Q(V,{children:" "}),D(V,{dimColor:!0,children:["· ",N]})]}),J[20]=N,J[21]=H;else H=J[21];let R;if(J[22]!==z||J[23]!==H)R=D(V,{children:[z,H]}),J[22]=z,J[23]=H,J[24]=R;else R=J[24];let A=k/100,B;if(J[25]!==W||J[26]!==A)B=Q(R0,{ratio:A,width:W,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),J[25]=W,J[26]=A,J[27]=B;else B=J[27];let I;if(J[28]!==K)I=Q(V,{children:K}),J[28]=K,J[29]=I;else I=J[29];let h;if(J[30]!==R||J[31]!==B||J[32]!==I)h=D(U,{flexDirection:"column",children:[R,B,I]}),J[30]=R,J[31]=B,J[32]=I,J[33]=h;else h=J[33];return h}}function VX(){let[Z,J]=z0.useState(null),[q,X]=z0.useState(null),[W,O]=z0.useState(!0),{columns:F}=V0(),L=F-2,k=Math.min(L,80),P=kq.useCallback(async()=>{O(!0),X(null);try{let H=await Nq();J(H)}catch(H){N0(H);let R=H,A=R.response?.data,B=R.response?.status,I;if(A?.error?.type==="rate_limit_error")I=A.error.message||"Rate limited. Please try again later.";else if(A?.error?.message)I=A.error.message;else if(B)I=`HTTP ${B} — ${Dq(R.response?.data??{})}`;else I=H?.message||"Failed to load usage data";X(I)}finally{O(!1)}},[]);if(z0.useEffect(()=>{P()},[P]),l("settings:retry",()=>{P()},{context:"Settings",isActive:!!q&&!W}),q)return D(U,{flexDirection:"column",gap:1,children:[D(V,{color:"error",children:["Could not load Anthropic rate-limit data: ",q]}),Q(V,{dimColor:!0,children:"(cost/usage totals above are unaffected)"}),Q(V,{dimColor:!0,children:D(c,{children:[Q(C,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!Z)return D(U,{flexDirection:"column",gap:1,children:[Q(V,{dimColor:!0,children:"Loading usage data…"}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let K=vJ(),N=K==="max"||K==="team"||K===null,z=[{title:"Current session",limit:Z.five_hour},{title:"Current week (all models)",limit:Z.seven_day},...N?[{title:"Current week (Sonnet only)",limit:Z.seven_day_sonnet}]:[]];return D(U,{flexDirection:"column",gap:1,width:"100%",children:[z.some(({limit:H})=>H)||Q(V,{dimColor:!0,children:"/usage is only available for subscription plans."}),z.map(({title:H,limit:R})=>R&&Q(Mq,{title:H,limit:R,maxWidth:k},H)),Z.extra_usage&&Q(WX,{extraUsage:Z.extra_usage,maxWidth:k}),Lq()&&Q(Pq,{maxWidth:k}),Q(V,{dimColor:!0,children:Q(C,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}function Yq(Z){let{title:J,totalCost:q,apiDuration:X,wallDuration:W,linesAdded:O,linesRemoved:F,modelUsage:L,unknownCost:k}=Z,P=Object.entries(L);if(q===0&&P.length===0&&O===0&&F===0)return null;let K={};for(let[z,H]of P){let R=zq(z);if(!K[R])K[R]={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0,costUSD:0};let A=K[R];A.inputTokens+=H.inputTokens,A.outputTokens+=H.outputTokens,A.cacheReadInputTokens+=H.cacheReadInputTokens,A.cacheCreationInputTokens+=H.cacheCreationInputTokens,A.webSearchRequests+=H.webSearchRequests,A.costUSD+=H.costUSD}let N=Object.entries(K);return D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:J}),D(V,{children:[Q(V,{children:"Total cost: "}),Q(V,{children:n0(q)}),k&&Q(V,{dimColor:!0,children:" (costs may be inaccurate due to usage of unknown models)"})]}),D(V,{children:["Total duration (API): ",mJ(X)]}),D(V,{children:["Total duration (wall): ",mJ(W)]}),D(V,{children:["Total code changes: ",O," ",O===1?"line":"lines"," added, ",F," ",F===1?"line":"lines"," removed"]}),N.length>0&&Q(V,{children:"Usage by model:"}),N.map(([z,H])=>{let R=`${g0(H.inputTokens)} input, ${g0(H.outputTokens)} output`;if(H.cacheReadInputTokens>0)R+=`, ${g0(H.cacheReadInputTokens)} cache read`;if(H.cacheCreationInputTokens>0)R+=`, ${g0(H.cacheCreationInputTokens)} cache write`;if(H.webSearchRequests>0)R+=`, ${g0(H.webSearchRequests)} web search`;return R+=` (${n0(H.costUSD)})`,D(V,{children:[`${z}:`.padStart(21)," ",R]},z)})]})}function qq(Z={}){let J=Z.view??"global",[,q]=z0.useReducer((F)=>F+1,0);z0.useEffect(()=>{let F=setInterval(()=>q(),1000);return()=>clearInterval(F)},[]);let X=Kq();if(J==="session"){let F=Qq(),L=Hq(),k=Vq(),P=Wq();return Q(Yq,{title:"Current session",totalCost:F,apiDuration:Xq(),wallDuration:Gq(),linesAdded:k,linesRemoved:P,modelUsage:L,unknownCost:X})}let W=Fq();if(!(W.totalCost!==0||Object.keys(W.modelUsage).length>0||W.totalLinesAdded!==0||W.totalLinesRemoved!==0))return null;return D(U,{flexDirection:"column",gap:1,children:[Q(Yq,{title:"Project total (all sessions)",totalCost:W.totalCost,apiDuration:W.totalAPIDuration,wallDuration:W.totalDuration,linesAdded:W.totalLinesAdded,linesRemoved:W.totalLinesRemoved,modelUsage:W.modelUsage,unknownCost:X}),Q(V,{dimColor:!0,children:"Aggregated across all sessions in this project — includes the current session live."})]})}function pJ(Z={}){if((Z.view??"global")==="session")return Q(U,{flexDirection:"column",gap:1,width:"100%",children:Q(qq,{view:"session"})});let q=Oq(),X;if(q==="codex")X=Q(mY,{});else if(q==="minimax")X=Q(tY,{});else if(q!=="firstParty"){let W={openai:"this OpenAI-compatible provider",gemini:"Google Gemini",github:"GitHub Copilot",mistral:"Mistral","nvidia-nim":"NVIDIA NIM",bedrock:"AWS Bedrock",vertex:"Google Vertex AI",foundry:"Microsoft Foundry"}[q]??"this provider";X=Q(Jq,{providerLabel:W})}else X=Q(VX,{});return D(U,{flexDirection:"column",gap:1,width:"100%",children:[Q(qq,{view:"global"}),X]})}function WX(Z){let J=cJ.c(20),{extraUsage:q,maxWidth:X}=Z,W=vJ();if(!(W==="pro"||W==="max"))return!1;if(!q.is_enabled){if(Rq.isEnabled()){let S;if(J[0]===Symbol.for("react.memo_cache_sentinel"))S=D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:jJ}),Q(V,{dimColor:!0,children:"Extra usage not enabled · /extra-usage to enable"})]}),J[0]=S;else S=J[0];return S}return null}if(q.monthly_limit===null){let S;if(J[1]===Symbol.for("react.memo_cache_sentinel"))S=D(U,{flexDirection:"column",children:[Q(V,{bold:!0,children:jJ}),Q(V,{dimColor:!0,children:"Unlimited"})]}),J[1]=S;else S=J[1];return S}if(typeof q.used_credits!=="number"||typeof q.utilization!=="number")return null;let F=q.used_credits/100,L;if(J[2]!==F)L=n0(F,2),J[2]=F,J[3]=L;else L=J[3];let k=L,P=q.monthly_limit/100,K;if(J[4]!==P)K=n0(P,2),J[4]=P,J[5]=K;else K=J[5];let N=K,z,H,R,A;if(J[6]!==q.utilization){let S=new Date,d=new Date(S.getFullYear(),S.getMonth()+1,1);z=Mq,A=jJ,H=q.utilization,R=d.toISOString(),J[6]=q.utilization,J[7]=z,J[8]=H,J[9]=R,J[10]=A}else z=J[7],H=J[8],R=J[9],A=J[10];let B;if(J[11]!==H||J[12]!==R)B={utilization:H,resets_at:R},J[11]=H,J[12]=R,J[13]=B;else B=J[13];let I=`${k} / ${N} spent`,h;if(J[14]!==z||J[15]!==X||J[16]!==A||J[17]!==B||J[18]!==I)h=Q(z,{title:A,limit:B,showTimeInReset:!1,extraSubtext:I,maxWidth:X}),J[14]=z,J[15]=X,J[16]=A,J[17]=B,J[18]=I,J[19]=h;else h=J[19];return h}var cJ,kq,z0,jJ="Extra usage";var Aq=p(()=>{XX();qX();tZ();SJ();YX();v0();D0();w0();QX();SJ();QJ();ZX();JX();f0();XJ();TJ();GX();vY();eY();Zq();g();cJ=$(U0(),1),kq=$(s(),1),z0=$(s(),1)});function GW(Z){let J=fq.c(25),{onClose:q,context:X,defaultTab:W}=Z,[O,F]=k0.useState(W),[L,k]=k0.useState(!1),[P,K]=k0.useState(!1),[N,z]=k0.useState(!1),H=C0(),{rows:R}=Bq(V0()),A=H?R+1:Math.max(15,Math.min(Math.floor(R*0.8),30)),[B]=k0.useState(DX);Uq();let I;if(J[0]!==q||J[1]!==L)I=()=>{if(L)return;q("Status dialog dismissed",{display:"system"})},J[0]=q,J[1]=L,J[2]=I;else I=J[2];let h=I,S=!L&&!(O==="Config"&&P)&&!(O==="Gates"&&N),d;if(J[3]!==S)d={context:"Settings",isActive:S},J[3]=S,J[4]=d;else d=J[4];l("confirm:no",h,d);let t;if(J[5]!==X||J[6]!==B)t=Q(l0,{title:"Status",children:Q(NZ,{context:X,diagnosticsPromise:B})},"status"),J[5]=X,J[6]=B,J[7]=t;else t=J[7];let j;if(J[8]!==A||J[9]!==X||J[10]!==q)j=Q(l0,{title:"Config",children:Q(k0.Suspense,{fallback:null,children:Q(PY,{context:X,onClose:q,setTabsHidden:k,onIsSearchModeChange:K,contentHeight:A})})},"config"),J[8]=A,J[9]=X,J[10]=q,J[11]=j;else j=J[11];let F0;if(J[12]===Symbol.for("react.memo_cache_sentinel"))F0=[Q(l0,{title:"Usage",children:Q(pJ,{view:"global"})},"usage"),Q(l0,{title:"Session",children:Q(pJ,{view:"session"})},"session")],J[12]=F0;else F0=J[12];let i;if(J[13]!==A)i=[],J[13]=A,J[14]=i;else i=J[14];let Y0;if(J[15]!==t||J[16]!==j||J[17]!==i)Y0=[t,j,...F0,...i],J[15]=t,J[16]=j,J[17]=i,J[18]=Y0;else Y0=J[18];let r=Y0,q0=W!=="Config"&&W!=="Gates",$0=L||H?void 0:A,I0;if(J[19]!==O||J[20]!==$0||J[21]!==q0||J[22]!==r||J[23]!==L)I0=Q(Iq,{color:"permission",children:Q(Eq,{color:"permission",selectedTab:O,onTabChange:F,hidden:L,initialHeaderFocused:q0,contentHeight:$0,children:r})}),J[19]=O,J[20]=$0,J[21]=q0,J[22]=r,J[23]=L,J[24]=I0;else I0=J[24];return I0}function DX(){return FZ().catch(OX)}function OX(){return[]}var fq,k0;var zX=p(()=>{w0();KX();v0();zJ();HX();DY();RZ();kY();Aq();g();fq=$(U0(),1),k0=$(s(),1)});
|
|
3
|
-
export{GW as Cf,zX as Df};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{pY as o,sY as OJ}from"./cli-0.5.8-je6yq94p.mjs";import{G8 as G,I8 as BJ,Kba as q,Sba as E,U$ as v,X_ as i,a6 as K,b6 as I,f$ as HJ,paa as D}from"./cli-0.5.8-qf19nfhv.mjs";import{mea as A,oea as XJ}from"./cli-0.5.8-9fpm1ms3.mjs";import{Tea as k,Uea as j,Yea as C,afa as y,efa as F,ofa as W,rfa as zJ}from"./cli-0.5.8-xs1gy1tk.mjs";import{Hfa as l,Sfa as O,Tfa as w,Wfa as p,Yfa as R}from"./cli-0.5.8-959n5v33.mjs";import{$fa as H,mga as b}from"./cli-0.5.8-gm4jqzfs.mjs";import{zna as M}from"./cli-0.5.8-hkfwdsmy.mjs";import{access as P,chmod as JJ,writeFile as QJ}from"fs/promises";import{homedir as f}from"os";import{join as B}from"path";function S(){return B(H(),"local")}function YJ(J=f()){return B(J,".claude","local")}function m(J){let Q=J?.homeDir??f(),Y=J?.configHomeDir??H();return Array.from(new Set([B(Y,"local"),YJ(Q)]))}function d(J){return[B(J,"node_modules",".bin","claudin"),B(J,"node_modules",".bin","claude")]}function ZJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function T(){return B(S(),"claudin")}function DJ(){return ZJ(process.argv[1]||"")}async function L(J,Q,Y){try{return await QJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(O(Z)==="EEXIST")return!1;throw Z}}async function $J(){try{let J=S();await y().mkdir(J),await L(B(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=T();if(await L(Q,`#!/bin/sh
|
|
2
|
-
exec "${J}/node_modules/.bin/claudin" "$@"`,493))await JJ(Q,493);return!0}catch(J){return q(J),!1}}async function EJ(J,Q){try{if(!await $J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:S(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return v(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function PJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),!0}catch{}return!1}async function fJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),J}catch{}return null}function mJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var u=M(()=>{D();b();R();I();F();E();C()});import{open as qJ,readFile as WJ,stat as KJ}from"fs/promises";import{homedir as h}from"os";import{join as U}from"path";function V(J){let Q=J?.homedir??h(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:U(Z,".zshrc"),bash:U(Q,".bashrc"),fish:U(Q,".config/fish/config.fish")}}function g(J){let Q=!1;return{filtered:J.filter((Z)=>{if(c.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===T())return Q=!0,!1}}return!0}),hadAlias:Q}}async function x(J){try{return(await WJ(J,{encoding:"utf8"})).split(`
|
|
3
|
-
`)}catch(Q){if(p(Q))return null;throw Q}}async function n(J,Q){let Y=await qJ(J,"w");try{await Y.writeFile(Q.join(`
|
|
4
|
-
`),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function NJ(J){let Q=V(J);for(let Y of Object.values(Q)){let Z=await x(Y);if(!Z)continue;for(let $ of Z)if(c.test($)){let N=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(N&&N[1])return N[1]}}return null}async function nJ(J){let Q=await NJ(J);if(!Q)return null;let Y=J?.homedir??h(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await KJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var c;var s=M(()=>{R();u();c=/^\s*alias\s+claude\s*=/});import{constants as yJ}from"fs";import{access as GJ,writeFile as a}from"fs/promises";import{homedir as X}from"os";import{join as _J}from"path";function r(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function vJ(){let J=await K("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}async function zQ(){}async function BQ(){return}async function HQ(){return}function OQ(J){let Y=i()?.minimumVersion;if(!Y)return!1;let Z=!o(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function e(){return _J(H(),".update.lock")}async function wJ(){let J=y(),Q=e();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<t)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<t)return!1;await J.unlink(Q)}catch($){if(!w($))return q($),!1}}catch(Y){if(!w(Y))return q(Y),!1}try{return await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=O(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(H()),await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(O($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function MJ(){let J=y(),Q=e();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(w(Y))return;q(Y)}}async function RJ(){let J=G.isRunningWithBun()||r(),Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:X()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function SJ(){try{let J=await RJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await GJ(J,yJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new _("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function yQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function GQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=j(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function _Q(J){return null}async function vQ(){return{latest:null,stable:null}}async function wQ(J){let Y=await K("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(W(`npm view versions failed with code ${Y.code}`),Y.stderr)W(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return j(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return W(`Failed to parse version history: ${Z}`),[]}}async function MQ(J){if(!await wJ())return q(new _("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await TJ(),!G.isRunningWithBun()&&G.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
|
|
5
|
-
Error: Windows NPM detected in WSL
|
|
6
|
-
|
|
7
|
-
You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
|
|
8
|
-
This configuration is not supported for updates.
|
|
9
|
-
|
|
10
|
-
To fix this issue:
|
|
11
|
-
1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
|
|
12
|
-
2. Make sure Linux NPM is in your PATH before the Windows version
|
|
13
|
-
3. Try updating again with 'claude update'
|
|
14
|
-
`),"install_failed";let{hasPermissions:Q}=await SJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=G.isRunningWithBun()||r()?"bun":"npm",N=await K(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(N.code!==0){let z=new _(`Failed to install new version of claude: ${N.stdout} ${N.stderr}`);return q(z),"install_failed"}if(Z==="npm"&&await vJ()){let z=await K("bun",["install","-g",Y],{cwd:X()});if(z.code!==0)q(new _(`Failed to update bun global install: ${z.stdout} ${z.stderr}`))}return v((z)=>({...z,installMethod:"global"})),"success"}finally{await MJ()}}async function TJ(){let J=V();for(let[,Q]of Object.entries(J))try{let Y=await x(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=g(Y);if($)await n(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var _,t=300000;var UJ=M(()=>{XJ();D();zJ();BJ();b();R();I();F();E();OJ();HJ();s();C();_=class _ extends l{}});
|
|
15
|
-
export{DJ as yQ,EJ as zQ,PJ as AQ,fJ as BQ,mJ as CQ,u as DQ,V as EQ,g as FQ,x as GQ,n as HQ,NJ as IQ,nJ as JQ,s as KQ,zQ as LQ,BQ as MQ,HQ as NQ,OQ,e as PQ,SJ as QQ,yQ as RQ,GQ as SQ,_Q as TQ,vQ as UQ,wQ as VQ,MQ as WQ,UJ as XQ};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{oea as f}from"./cli-0.5.8-9fpm1ms3.mjs";import{rfa as h}from"./cli-0.5.8-xs1gy1tk.mjs";import{zna as Z}from"./cli-0.5.8-hkfwdsmy.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
|
|
2
|
-
export{K as $3,w as a4,kz as b4,oz as c4,pz as d4,dz as e4,nz as f4,L as g4};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ona as x,qna as y,una as C}from"./cli-0.5.8-haddssvq.mjs";import{xna as k}from"./cli-0.5.8-hkfwdsmy.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as ina};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{PW as X,VW as JT,WW as ST,wX as IT}from"./cli-0.5.8-nwe7yne9.mjs";import{Y3 as K,Z3 as VT}from"./cli-0.5.8-4rgg1zqd.mjs";import{$5 as Y,G8 as Q,I8 as UT,Kba as H,Sba as n,U$ as z,W7 as s,X$ as V,Y6 as BT,Z6 as _T,a8 as XT,b6 as o,baa as l,caa as d,e8 as FT,h8 as qT,i8 as OT,paa as D,w$ as f,y$ as YT}from"./cli-0.5.8-qf19nfhv.mjs";import{yda as E,zda as QT}from"./cli-0.5.8-w7g735pf.mjs";import{Tea as GT,Uea as $T,Yea as zT,afa as P,efa as KT}from"./cli-0.5.8-xs1gy1tk.mjs";import{Wfa as u,Yfa as LT}from"./cli-0.5.8-959n5v33.mjs";import{gma as r,hma as ZT}from"./cli-0.5.8-8h4z9e0a.mjs";import{zna as I}from"./cli-0.5.8-hkfwdsmy.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
-
|
|
3
|
-
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
-
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
-
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
-
|
|
7
|
-
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
-
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
-
|
|
10
|
-
To set up the shortcut (optional):
|
|
11
|
-
1. Exit tmux/screen temporarily
|
|
12
|
-
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
-
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
-
• Other: Alacritty
|
|
15
|
-
3. Return to tmux/screen - settings will persist
|
|
16
|
-
|
|
17
|
-
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
-
{
|
|
19
|
-
"key": "shift+enter",
|
|
20
|
-
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
-
"args": { "text": "\\u001b\\r" },
|
|
22
|
-
"when": "terminalFocus"
|
|
23
|
-
}
|
|
24
|
-
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
-
`))F+=`
|
|
26
|
-
`;return F+=`
|
|
27
|
-
[[keyboard.bindings]]
|
|
28
|
-
key = "Return"
|
|
29
|
-
mods = "Shift"
|
|
30
|
-
chars = "\\u001B\\r"
|
|
31
|
-
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
-
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
-
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
-
export{a as pU,h as qU,e as rU,TT as sU,Ww as tU,uT as uU,ET as vU,Lw as wU,zw as xU,Vw as yU,_w as zU,bT as AU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C3 as WB,k3 as Z,n3 as T,t3 as f}from"./cli-0.5.8-rddkqxh8.mjs";import{H8 as _,I8 as KB,P5 as O,Q5 as BB,X$ as A,haa as v,paa as QB}from"./cli-0.5.8-qf19nfhv.mjs";import{yda as w,zda as JB}from"./cli-0.5.8-w7g735pf.mjs";import{cga as F,mga as e}from"./cli-0.5.8-gm4jqzfs.mjs";import{Aga as s,Jla as a,Sha as R,dha as I,eha as c,pha as M,qha as m,zga as S}from"./cli-0.5.8-bhc8vwxd.mjs";import{gma as q,hma as t}from"./cli-0.5.8-8h4z9e0a.mjs";import{zna as K}from"./cli-0.5.8-hkfwdsmy.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
|
|
2
|
-
export{kB as jR,r as kR,vB as lR,TB as mR,g as nR,ZB as oR};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Xd as c,be as Eq}from"./cli-0.5.8-1heha1zs.mjs";import{$H as e,AH as m,AI as y,An as A,BI as Qq,CH as Oq,CI as Xq,Cn as D,DI as Yq,Dn as Aq,EI as $q,En as h,FI as d,Fn as S,Gn as Fq,II as Dq,VH as n,Wq as l,Xq as wq,aI as P,eI as jq,fI as O,gI as qq,iI as I,jI as Gq,kn as s,ln as Tq,on as t,pI as Cq,qn as Mq,sI as b,tI as Lq,un as i,wI as Hq,wn as Rq,xI as Jq,zH as v,zI as vq}from"./cli-0.5.8-4hvxb5dp.mjs";import{Kba as a,S_ as F,Sba as Bq,U_ as L,f$ as _q,n_ as V,v_ as Kq}from"./cli-0.5.8-qf19nfhv.mjs";import{afa as p,efa as Wq}from"./cli-0.5.8-xs1gy1tk.mjs";import{Qfa as o,Tfa as N,Yfa as Uq}from"./cli-0.5.8-959n5v33.mjs";import{Jla as xq,Yha as f}from"./cli-0.5.8-bhc8vwxd.mjs";import{zna as Zq}from"./cli-0.5.8-hkfwdsmy.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
-
${G.join(`
|
|
3
|
-
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
-
export{k as Kd,HG as Ld,JG as Md,QG as Nd,kq as Od,XG as Pd,YG as Qd,$G as Rd,zG as Sd,ZG as Td,xG as Ud,hq as Vd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{yna as Q,zna as U}from"./cli-0.5.8-hkfwdsmy.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
-
export{K as Gma,w as Hma,L as Ima};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{cm as E,dm as Uq,gm as r,hm as Xq,km as d,lm as Yq,mC as x,nC as s,oC as C,qC as n,rC as $,tC as Zq,uD as o,wD as Mq}from"./cli-0.5.8-4hvxb5dp.mjs";import{RW as N,TW as U,XW as V,lX as a,wX as Qq,yV as Jq}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as u,XY as J,YY as X,ZY as g}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as zq}from"./cli-0.5.8-6epmns99.mjs";import{mea as w,oea as qq}from"./cli-0.5.8-9fpm1ms3.mjs";import{vna as i,zna as t}from"./cli-0.5.8-hkfwdsmy.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
|
-
| \\ \\
|
|
3
|
-
| NEW TERMS \\__\\
|
|
4
|
-
| |
|
|
5
|
-
| ---------- |
|
|
6
|
-
| ---------- |
|
|
7
|
-
| ---------- |
|
|
8
|
-
| ---------- |
|
|
9
|
-
| ---------- |
|
|
10
|
-
| |
|
|
11
|
-
|______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
|
|
12
|
-
export{kq as vc,_q as wc,Aq as xc};
|