@claudiolabs/claudin 0.7.2 → 0.7.5
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/LICENSE +23 -200
- package/README.md +27 -90
- package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +1 -0
- package/dist/chunks/App-0.7.5-acjfhz7f.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +1 -0
- package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +7 -0
- package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +6 -0
- package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +1 -0
- package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +1 -0
- package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +1 -0
- package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +1 -0
- package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +1 -0
- package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +1 -0
- package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +1 -0
- package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +1 -0
- package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +1 -0
- package/dist/chunks/agents-0.7.5-4qcppggm.mjs +110 -0
- package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +3 -0
- package/dist/chunks/api-0.7.5-fcbv21bw.mjs +1 -0
- package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +1 -0
- package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +1 -0
- package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +1 -0
- package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +1 -0
- package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +48 -0
- package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +1 -0
- package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +4 -0
- package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +1 -0
- package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +88 -0
- package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +1 -0
- package/dist/chunks/btw-0.7.5-yawwzr37.mjs +1 -0
- package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +3 -0
- package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +1 -0
- package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +21 -0
- package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +4 -0
- package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +1 -0
- package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +1 -0
- package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +1 -0
- package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +1 -0
- package/dist/chunks/cli-0.7.5-012a6zfk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-10stvena.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1130jhj6.mjs +5469 -0
- package/dist/chunks/cli-0.7.5-137tt9mn.mjs +42 -0
- package/dist/chunks/cli-0.7.5-1raty5m9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +17 -0
- package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +2 -0
- package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2czfx8da.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +3 -0
- package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-40m9mj91.mjs +133 -0
- package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-49f39qnb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +59 -0
- package/dist/chunks/cli-0.7.5-4pc187my.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4pekv38x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +2 -0
- package/dist/chunks/cli-0.7.5-510b39kd.mjs +3 -0
- package/dist/chunks/cli-0.7.5-529cdx0d.mjs +2 -0
- package/dist/chunks/cli-0.7.5-56navtps.mjs +3 -0
- package/dist/chunks/cli-0.7.5-57cepgzg.mjs +4 -0
- package/dist/chunks/cli-0.7.5-5a315ky8.mjs +17 -0
- package/dist/chunks/cli-0.7.5-5nkj9199.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +15 -0
- package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5z67f2be.mjs +18 -0
- package/dist/chunks/cli-0.7.5-60age1v3.mjs +3 -0
- package/dist/chunks/cli-0.7.5-614rpqd6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +34 -0
- package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +6 -0
- package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +45 -0
- package/dist/chunks/cli-0.7.5-80je81v4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-81aasr9m.mjs +2 -0
- package/dist/chunks/cli-0.7.5-84ksc40j.mjs +25 -0
- package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +15 -0
- package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-92scwwjf.mjs +24 -0
- package/dist/chunks/cli-0.7.5-975by9n8.mjs +3 -0
- package/dist/chunks/cli-0.7.5-987zbyps.mjs +2 -0
- package/dist/chunks/cli-0.7.5-99wdc670.mjs +24 -0
- package/dist/chunks/cli-0.7.5-9na53kvh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +5 -0
- package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +133 -0
- package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-a36ctp71.mjs +6 -0
- package/dist/chunks/cli-0.7.5-acfkszsn.mjs +8 -0
- package/dist/chunks/cli-0.7.5-akxpdesn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aphrc23w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-apycan2y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-atzfkz67.mjs +2 -0
- package/dist/chunks/cli-0.7.5-az0dwafe.mjs +2 -0
- package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +2 -0
- package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c3w496ap.mjs +3 -0
- package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ca0xearm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +20 -0
- package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dc34hzge.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dp4tresm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dzyyype0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +10 -0
- package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +2 -0
- package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +5 -0
- package/dist/chunks/cli-0.7.5-f9v35634.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ftngeevg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fzamc565.mjs +3 -0
- package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +4 -0
- package/dist/chunks/cli-0.7.5-fzqampqh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-g3ejs520.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gbz8thht.mjs +50 -0
- package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gfq85y17.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gh00zb08.mjs +18 -0
- package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +194 -0
- package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +9 -0
- package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +2 -0
- package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jc93grn1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +39 -0
- package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-krbmx93g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +7 -0
- package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +2 -0
- package/dist/chunks/cli-0.7.5-medd7tha.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mkypasee.mjs +3 -0
- package/dist/chunks/cli-0.7.5-mtaq950q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-myvw92ta.mjs +2 -0
- package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +4 -0
- package/dist/chunks/cli-0.7.5-p72rah24.mjs +2 -0
- package/dist/chunks/cli-0.7.5-paykwdd9.mjs +26 -0
- package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +67 -0
- package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +2 -0
- package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +2 -0
- package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +4 -0
- package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +3 -0
- package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +5 -0
- package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rahmqve7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rbv538zg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +16 -0
- package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +58 -0
- package/dist/chunks/cli-0.7.5-sq0v922e.mjs +6 -0
- package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +4 -0
- package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v8apq7df.mjs +15 -0
- package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vktpnz25.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +6 -0
- package/dist/chunks/cli-0.7.5-vzssapx0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +18 -0
- package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wj3w13az.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjfmb762.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +4 -0
- package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-x2z686xj.mjs +25 -0
- package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +12 -0
- package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +24 -0
- package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +3 -0
- package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +12 -0
- package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +1 -0
- package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +21 -0
- package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-yr70t57x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zftjc44p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +2 -0
- package/dist/chunks/client-0.7.5-w36k0xa4.mjs +1 -0
- package/dist/chunks/color-0.7.5-6q028b6j.mjs +1 -0
- package/dist/chunks/compact-0.7.5-brw7r66h.mjs +3 -0
- package/dist/chunks/config-0.7.5-23y0vmxv.mjs +1 -0
- package/dist/chunks/config-0.7.5-scfm2ghv.mjs +1 -0
- package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +1 -0
- package/dist/chunks/context-0.7.5-5sr5p20h.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +1 -0
- package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +1 -0
- package/dist/chunks/copy-0.7.5-1j6r3503.mjs +9 -0
- package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +1 -0
- package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +1 -0
- package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +1 -0
- package/dist/chunks/debug-0.7.5-f7ay5633.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +1446 -0
- package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +1 -0
- package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +1 -0
- package/dist/chunks/detection-0.7.5-g5p116dy.mjs +1 -0
- package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +1 -0
- package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +1 -0
- package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +1 -0
- package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +10 -0
- package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +1 -0
- package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +1 -0
- package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +1 -0
- package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +1 -0
- package/dist/chunks/errors-0.7.5-39sxdk37.mjs +1 -0
- package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +1 -0
- package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +1 -0
- package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +1 -0
- package/dist/chunks/export-0.7.5-34j4n9kh.mjs +2 -0
- package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +1 -0
- package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +1 -0
- package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +1 -0
- package/dist/chunks/git-0.7.5-e2235c1t.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +1 -0
- package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +4 -0
- package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +1 -0
- package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +1 -0
- package/dist/chunks/headless-0.7.5-wbtxesec.mjs +2 -0
- package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +6 -0
- package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +1 -0
- package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +3 -0
- package/dist/chunks/hooks-0.7.5-167mv9th.mjs +1 -0
- package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +79 -0
- package/dist/chunks/ide-0.7.5-n6hvszan.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +1 -0
- package/dist/chunks/index-0.7.5-5j4305xq.mjs +1 -0
- package/dist/chunks/index-0.7.5-63xhx5j4.mjs +1 -0
- package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +9 -0
- package/dist/chunks/index-0.7.5-a12krakj.mjs +2 -0
- package/dist/chunks/index-0.7.5-bsq6e16w.mjs +1 -0
- package/dist/chunks/index-0.7.5-caethvnv.mjs +1 -0
- package/dist/chunks/index-0.7.5-cx1vr981.mjs +17 -0
- package/dist/chunks/index-0.7.5-dcd3w04q.mjs +1 -0
- package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +9 -0
- package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +2 -0
- package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +5 -0
- package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +1 -0
- package/dist/chunks/index-0.7.5-kzhpap3n.mjs +1 -0
- package/dist/chunks/index-0.7.5-njd4yt57.mjs +1 -0
- package/dist/chunks/index-0.7.5-r1ny63xd.mjs +1 -0
- package/dist/chunks/index-0.7.5-ry24w7t2.mjs +1 -0
- package/dist/chunks/index-0.7.5-syzp921n.mjs +30 -0
- package/dist/chunks/index-0.7.5-t7jx62n3.mjs +1 -0
- package/dist/chunks/index-0.7.5-wj36e6k0.mjs +1 -0
- package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +1 -0
- package/dist/chunks/index-0.7.5-yzrfjy23.mjs +1 -0
- package/dist/chunks/index-0.7.5-zfker4t5.mjs +1 -0
- package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +1 -0
- package/dist/chunks/init-0.7.5-hh6v113j.mjs +1 -0
- package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +1 -0
- package/dist/chunks/ink-0.7.5-56yev9n3.mjs +1 -0
- package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +870 -0
- package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +1 -0
- package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +149 -0
- package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +1 -0
- package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +1 -0
- package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +2 -0
- package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +1 -0
- package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +1 -0
- package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +1 -0
- package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +4 -0
- package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +17 -0
- package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +1 -0
- package/dist/chunks/memory-0.7.5-fvpt844c.mjs +3 -0
- package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +2 -0
- package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +1 -0
- package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +12 -0
- package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +1 -0
- package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +14 -0
- package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +1 -0
- package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +1 -0
- package/dist/chunks/passes-0.7.5-4axt111x.mjs +1 -0
- package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +3 -0
- package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +1 -0
- package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +1 -0
- package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +1 -0
- package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +1 -0
- package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +9 -0
- package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +2 -0
- package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +57 -0
- package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +1 -0
- package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +9 -0
- package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +1 -0
- package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +1 -0
- package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +1 -0
- package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +13 -0
- package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +2 -0
- package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +1 -0
- package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +34 -0
- package/dist/chunks/registry-0.7.5-whsh7x53.mjs +1 -0
- package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +5 -0
- package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +2 -0
- package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +1 -0
- package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +1 -0
- package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +1 -0
- package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +1 -0
- package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +2 -0
- package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +1 -0
- package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +1 -0
- package/dist/chunks/session-0.7.5-hkxz3wye.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +1 -0
- package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +1 -0
- package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +1 -0
- package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +5 -0
- package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +1 -0
- package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +1 -0
- package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +1 -0
- package/dist/chunks/state-0.7.5-ak36peq3.mjs +1 -0
- package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +6 -0
- package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +1 -0
- package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +1 -0
- package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +1 -0
- package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +1 -0
- package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +1 -0
- package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +1 -0
- package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +1 -0
- package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +1 -0
- package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +1 -0
- package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +1 -0
- package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +1 -0
- package/dist/chunks/tools-0.7.5-a8e705rj.mjs +1 -0
- package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +69 -0
- package/dist/chunks/types-0.7.5-63qbfwst.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +4 -0
- package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +86 -0
- package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +1 -0
- package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +1 -0
- package/dist/chunks/usage-0.7.5-36hanm9f.mjs +1 -0
- package/dist/chunks/util-0.7.5-90a4jn87.mjs +1 -0
- package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +1 -0
- package/dist/chunks/vim-0.7.5-nptszgna.mjs +1 -0
- package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +1 -0
- package/dist/chunks/wiki-0.7.5-zngdktge.mjs +132 -0
- package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +1 -0
- package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +1 -0
- package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +12 -4
- package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +0 -1
- package/dist/chunks/App-0.7.2-1yazneaj.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +0 -1
- package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +0 -7
- package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +0 -6
- package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +0 -1
- package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +0 -1
- package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +0 -1
- package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +0 -1
- package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +0 -1
- package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +0 -1
- package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +0 -1
- package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +0 -3
- package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +0 -110
- package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +0 -1
- package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +0 -1
- package/dist/chunks/assistant-0.7.2-txvf934b.mjs +0 -1
- package/dist/chunks/auth-0.7.2-02q30rsb.mjs +0 -1
- package/dist/chunks/auth-0.7.2-x29x49yh.mjs +0 -1
- package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +0 -48
- package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +0 -1
- package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +0 -4
- package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +0 -1
- package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +0 -88
- package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +0 -1
- package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +0 -1
- package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +0 -3
- package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +0 -1
- package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +0 -21
- package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +0 -4
- package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +0 -1
- package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +0 -1
- package/dist/chunks/clear-0.7.2-v59pskrm.mjs +0 -1
- package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +0 -1
- package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0mj25tns.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-21mtjks8.mjs +0 -15
- package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-26rzbaez.mjs +0 -2
- package/dist/chunks/cli-0.7.2-29hh46ve.mjs +0 -3
- package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-2rj33835.mjs +0 -6
- package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-358vh55m.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3frg7csa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3s2zd715.mjs +0 -3
- package/dist/chunks/cli-0.7.2-3synxf81.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40f37y02.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40xymk1q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-437jawbh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +0 -2
- package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4g4d682x.mjs +0 -3
- package/dist/chunks/cli-0.7.2-520tgkhw.mjs +0 -5438
- package/dist/chunks/cli-0.7.2-53qayxqk.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5415yrkc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-55ye29jy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5750g5et.mjs +0 -2
- package/dist/chunks/cli-0.7.2-59wm2srd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5aka4emf.mjs +0 -133
- package/dist/chunks/cli-0.7.2-5c89p68w.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5e72m61f.mjs +0 -25
- package/dist/chunks/cli-0.7.2-5ff63f31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +0 -193
- package/dist/chunks/cli-0.7.2-5tacs42k.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y498dyr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +0 -15
- package/dist/chunks/cli-0.7.2-5yrman6f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-60exfzc0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +0 -2
- package/dist/chunks/cli-0.7.2-68dn8am7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +0 -12
- package/dist/chunks/cli-0.7.2-796x24s1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-81s45w7r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-828f420c.mjs +0 -7
- package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-88h70xrj.mjs +0 -50
- package/dist/chunks/cli-0.7.2-894093rv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-8pfcc363.mjs +0 -12
- package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +0 -16
- package/dist/chunks/cli-0.7.2-9156j3vm.mjs +0 -6
- package/dist/chunks/cli-0.7.2-9328ezjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-9953mwyy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-99am4r15.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a6q1amed.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a9324x4q.mjs +0 -8
- package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +0 -2
- package/dist/chunks/cli-0.7.2-atsd6734.mjs +0 -2
- package/dist/chunks/cli-0.7.2-avk3azcp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b9pdb0nv.mjs +0 -26
- package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +0 -21
- package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +0 -18
- package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +0 -6
- package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-d5fbych4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dggndd24.mjs +0 -2
- package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dxm2c139.mjs +0 -24
- package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +0 -2
- package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-edf740pd.mjs +0 -5
- package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-f4nt233k.mjs +0 -3
- package/dist/chunks/cli-0.7.2-fcadqwem.mjs +0 -1
- package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +0 -12
- package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gar34ch2.mjs +0 -4
- package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gssxkynf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gysw8esj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h248q4gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h7m849rt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h903zfjz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hbmczrch.mjs +0 -9
- package/dist/chunks/cli-0.7.2-he1hdn59.mjs +0 -18
- package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hv1z3had.mjs +0 -3
- package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j029dkan.mjs +0 -3
- package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jn2497vh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k40k933y.mjs +0 -24
- package/dist/chunks/cli-0.7.2-k6jnr159.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +0 -2
- package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +0 -12
- package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +0 -15
- package/dist/chunks/cli-0.7.2-mqv265gk.mjs +0 -42
- package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ndt224p1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nf346apq.mjs +0 -18
- package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nkafymh4.mjs +0 -3
- package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +0 -45
- package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +0 -3
- package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +0 -67
- package/dist/chunks/cli-0.7.2-pjavf176.mjs +0 -2
- package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q85af7gm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q88h44qv.mjs +0 -17
- package/dist/chunks/cli-0.7.2-q9twb2tn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qf8435qy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +0 -5
- package/dist/chunks/cli-0.7.2-qr706n52.mjs +0 -10
- package/dist/chunks/cli-0.7.2-qsx52bst.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r1502pen.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +0 -5
- package/dist/chunks/cli-0.7.2-r7x165sf.mjs +0 -17
- package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +0 -133
- package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tds456xt.mjs +0 -34
- package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +0 -4
- package/dist/chunks/cli-0.7.2-twx01hwg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +0 -3
- package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tz5zv753.mjs +0 -6
- package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +0 -3
- package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx10940a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-w07ksegr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-waas8a1p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wahbzckp.mjs +0 -58
- package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xced0m7v.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +0 -39
- package/dist/chunks/cli-0.7.2-xpw13d73.mjs +0 -59
- package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +0 -20
- package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ygx94a70.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-yppcb6em.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +0 -3
- package/dist/chunks/cli-0.7.2-zva1j44t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +0 -2
- package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +0 -1
- package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +0 -1
- package/dist/chunks/compact-0.7.2-1htfptdq.mjs +0 -3
- package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +0 -1
- package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +0 -1
- package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +0 -1
- package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +0 -1
- package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +0 -1
- package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +0 -9
- package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +0 -1
- package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +0 -1
- package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +0 -1
- package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +0 -1446
- package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +0 -1
- package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +0 -1
- package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +0 -1
- package/dist/chunks/diff-0.7.2-7np6da8n.mjs +0 -1
- package/dist/chunks/doctor-0.7.2-spqx634t.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +0 -1
- package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +0 -1
- package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +0 -1
- package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +0 -1
- package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +0 -1
- package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +0 -1
- package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +0 -1
- package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +0 -1
- package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +0 -1
- package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +0 -1
- package/dist/chunks/export-0.7.2-j6tnta5r.mjs +0 -2
- package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +0 -1
- package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +0 -1
- package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +0 -1
- package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +0 -1
- package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +0 -4
- package/dist/chunks/grove-0.7.2-9sxczf29.mjs +0 -1
- package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +0 -1
- package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +0 -2
- package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +0 -6
- package/dist/chunks/help-0.7.2-mkkkzv97.mjs +0 -1
- package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +0 -3
- package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +0 -1
- package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +0 -79
- package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +0 -1
- package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +0 -1
- package/dist/chunks/index-0.7.2-5mfmhd35.mjs +0 -1
- package/dist/chunks/index-0.7.2-62g62r4p.mjs +0 -1
- package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +0 -9
- package/dist/chunks/index-0.7.2-87jrdmn3.mjs +0 -2
- package/dist/chunks/index-0.7.2-9h4tsef1.mjs +0 -1
- package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +0 -1
- package/dist/chunks/index-0.7.2-a3w6at2z.mjs +0 -1
- package/dist/chunks/index-0.7.2-b296et1z.mjs +0 -1
- package/dist/chunks/index-0.7.2-c22bn4q9.mjs +0 -1
- package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +0 -9
- package/dist/chunks/index-0.7.2-f8swc4mv.mjs +0 -30
- package/dist/chunks/index-0.7.2-fdsptfbt.mjs +0 -17
- package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +0 -1
- package/dist/chunks/index-0.7.2-hjcptpaz.mjs +0 -1
- package/dist/chunks/index-0.7.2-hts44hhf.mjs +0 -2
- package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +0 -1
- package/dist/chunks/index-0.7.2-nhtpksxs.mjs +0 -5
- package/dist/chunks/index-0.7.2-p5a52s17.mjs +0 -1
- package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +0 -1
- package/dist/chunks/index-0.7.2-vfyvycvc.mjs +0 -1
- package/dist/chunks/index-0.7.2-vw5e1spt.mjs +0 -1
- package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +0 -1
- package/dist/chunks/init-0.7.2-mdhax55g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +0 -1
- package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +0 -1
- package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +0 -870
- package/dist/chunks/install-0.7.2-f33pbxz0.mjs +0 -1
- package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +0 -149
- package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +0 -1
- package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +0 -1
- package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +0 -2
- package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +0 -1
- package/dist/chunks/log-0.7.2-n28x7jf3.mjs +0 -1
- package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +0 -1
- package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +0 -17
- package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +0 -4
- package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +0 -1
- package/dist/chunks/memory-0.7.2-1hfh6410.mjs +0 -3
- package/dist/chunks/model-0.7.2-c8esc658.mjs +0 -1
- package/dist/chunks/model-0.7.2-sjw6chpt.mjs +0 -2
- package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +0 -12
- package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +0 -1
- package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +0 -14
- package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +0 -1
- package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +0 -1
- package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +0 -1
- package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +0 -1
- package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +0 -3
- package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +0 -1
- package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +0 -1
- package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +0 -1
- package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +0 -1
- package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +0 -9
- package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +0 -2
- package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +0 -57
- package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +0 -1
- package/dist/chunks/process-0.7.2-bydxzc10.mjs +0 -1
- package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +0 -9
- package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +0 -1
- package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +0 -1
- package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +0 -1
- package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +0 -13
- package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +0 -2
- package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +0 -1
- package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +0 -34
- package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +0 -1
- package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +0 -5
- package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +0 -2
- package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +0 -1
- package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +0 -1
- package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +0 -1
- package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +0 -1
- package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +0 -2
- package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +0 -1
- package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +0 -1
- package/dist/chunks/session-0.7.2-c8me3g3x.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +0 -1
- package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +0 -1
- package/dist/chunks/settings-0.7.2-xc200363.mjs +0 -1
- package/dist/chunks/setup-0.7.2-c982wyvz.mjs +0 -5
- package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +0 -1
- package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +0 -1
- package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +0 -1
- package/dist/chunks/state-0.7.2-p9tevca2.mjs +0 -1
- package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +0 -6
- package/dist/chunks/status-0.7.2-fh89jm1g.mjs +0 -1
- package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +0 -1
- package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +0 -1
- package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +0 -1
- package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +0 -1
- package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +0 -1
- package/dist/chunks/theme-0.7.2-1zmsca02.mjs +0 -1
- package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +0 -1
- package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +0 -1
- package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +0 -1
- package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +0 -1
- package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +0 -1
- package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +0 -69
- package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +0 -4
- package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +0 -86
- package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +0 -1
- package/dist/chunks/upload-0.7.2-p6je053d.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +0 -1
- package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +0 -1
- package/dist/chunks/util-0.7.2-n4vdasdr.mjs +0 -1
- package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +0 -1
- package/dist/chunks/vim-0.7.2-bd15xeza.mjs +0 -1
- package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +0 -1
- package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +0 -132
- package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +0 -1
- package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +0 -7
- /package/dist/chunks/{cli-0.7.2-1xbehmgb.mjs → cli-0.7.5-jk7d368h.mjs} +0 -0
package/LICENSE
CHANGED
|
@@ -1,207 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
Version 1.1 — 16 May 2026
|
|
1
|
+
NOTICE
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
The original Claude Code source is proprietary software: Copyright (c)
|
|
4
|
+
Anthropic PBC. All rights reserved. Subject to Anthropic's Commercial Terms of
|
|
5
|
+
Service. Modifications and additions by Claudin contributors are offered under
|
|
6
|
+
the MIT License below, where legally permissible.
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
source code, object code, documentation, configuration, and assets (the
|
|
8
|
-
"Software"). By installing, copying, or otherwise using the Software,
|
|
9
|
-
You accept this license. If You do not accept it, do not use the
|
|
10
|
-
Software.
|
|
8
|
+
--------------------------------------------------------------------------------
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
MIT License
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
exercising rights under this license. For an entity, "You" includes
|
|
16
|
-
any affiliate controlling, controlled by, or under common control
|
|
17
|
-
with that entity, provided such affiliate is bound by this license.
|
|
12
|
+
Copyright (c) 2026 Claudin
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
is operated interactively or programmatically by a natural person
|
|
26
|
-
who is part of Your Organization. Local Use does not include making
|
|
27
|
-
the Software available to anyone outside Your Organization, whether
|
|
28
|
-
over a network, as a service, or by providing a copy.
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
|
22
|
+
copies or substantial portions of the Software.
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
royalty-free, irrevocable (subject to Section 7) license to:
|
|
38
|
-
|
|
39
|
-
(a) install, run, and execute the Software for Local Use;
|
|
40
|
-
|
|
41
|
-
(b) modify the Software, and create works based on it, solely for
|
|
42
|
-
Local Use, provided that any such modifications and derived
|
|
43
|
-
works remain internal to You or Your Organization and are not
|
|
44
|
-
distributed, published, or otherwise made available outside it;
|
|
45
|
-
|
|
46
|
-
(c) make the copies necessary to exercise the rights in (a) and (b),
|
|
47
|
-
including backups and copies on developer workstations belonging
|
|
48
|
-
to Your Organization;
|
|
49
|
-
|
|
50
|
-
(d) for clarity: use the Software during the course of providing
|
|
51
|
-
professional services (such as consulting, contracting, or
|
|
52
|
-
agency work) to a client, provided that the Software itself
|
|
53
|
-
(whether in source, binary, or modified form) is operated only
|
|
54
|
-
on hardware controlled by You and is not delivered, deployed,
|
|
55
|
-
hosted, sublicensed, or otherwise made available to the client
|
|
56
|
-
or to any other third party. Code, files, or other output
|
|
57
|
-
produced by Your use of the Software are not themselves subject
|
|
58
|
-
to this license and may be delivered to the client.
|
|
59
|
-
|
|
60
|
-
2. PATENT GRANT
|
|
61
|
-
|
|
62
|
-
Subject to the terms of this license, the Licensor grants You a
|
|
63
|
-
worldwide, non-exclusive, royalty-free, irrevocable (subject to
|
|
64
|
-
Section 7 and the following sentence) patent license under the
|
|
65
|
-
Licensor's essential patent claims to make, have made, use, and run
|
|
66
|
-
the Software for Local Use. If You initiate or participate in patent
|
|
67
|
-
litigation (including a cross-claim or counterclaim) alleging that the
|
|
68
|
-
Software, or a contribution incorporated within it, directly or
|
|
69
|
-
indirectly infringes any patent, then any patent licenses granted to
|
|
70
|
-
You under this license terminate as of the date such litigation is
|
|
71
|
-
filed.
|
|
72
|
-
|
|
73
|
-
3. RESTRICTIONS
|
|
74
|
-
|
|
75
|
-
You may not:
|
|
76
|
-
|
|
77
|
-
(a) distribute, publish, sublicense, sell, rent, lease, loan,
|
|
78
|
-
transmit, mirror, or otherwise make available the Software, or
|
|
79
|
-
any work derived from it, to any third party, in source or
|
|
80
|
-
binary form, in whole or in part;
|
|
81
|
-
|
|
82
|
-
(b) provide the Software, or any work derived from it, to third
|
|
83
|
-
parties as a hosted, managed, multi-tenant, time-shared, or
|
|
84
|
-
"as-a-service" offering (including SaaS, PaaS, IaaS, API
|
|
85
|
-
gateway, or equivalent arrangements), or otherwise expose its
|
|
86
|
-
functionality over a network to anyone outside Your
|
|
87
|
-
Organization;
|
|
88
|
-
|
|
89
|
-
(c) remove, alter, or obscure any copyright, trademark, attribution,
|
|
90
|
-
or other proprietary notices contained in the Software, the
|
|
91
|
-
Upstream Project notices, or this license file;
|
|
92
|
-
|
|
93
|
-
(d) use the names, trademarks, service marks, or logos of the
|
|
94
|
-
Licensor (including "Claudin" and "Claudinlabs") or of the
|
|
95
|
-
Upstream Project (including "Claude Code" and "Anthropic") in
|
|
96
|
-
a manner that
|
|
97
|
-
suggests endorsement, sponsorship, or affiliation, except as
|
|
98
|
-
strictly required to identify the origin of the Software;
|
|
99
|
-
|
|
100
|
-
(e) use the Software in violation of applicable law, export
|
|
101
|
-
controls, sanctions regimes, or the rights of any third party;
|
|
102
|
-
|
|
103
|
-
(f) attempt to circumvent any technical limitation, license check,
|
|
104
|
-
telemetry-removal stub, or privacy-enforcement mechanism present
|
|
105
|
-
in the Software.
|
|
106
|
-
|
|
107
|
-
4. UPSTREAM AND THIRD-PARTY MATERIALS
|
|
108
|
-
|
|
109
|
-
The Software is a modified fork that incorporates substantial portions
|
|
110
|
-
of the Upstream Project, together with components authored by other
|
|
111
|
-
third parties (including open-source dependencies and model-provider
|
|
112
|
-
SDKs). All such materials remain the property of their respective
|
|
113
|
-
owners and are subject to their own terms, including but not limited
|
|
114
|
-
to the Anthropic Commercial Terms of Service and the licenses of each
|
|
115
|
-
third-party dependency. Nothing in this license overrides, replaces,
|
|
116
|
-
or expands the rights granted by those third parties. You are solely
|
|
117
|
-
responsible for determining and complying with any obligations arising
|
|
118
|
-
from Your use of such materials. The Licensor makes no representation
|
|
119
|
-
or warranty regarding the rights granted, or not granted, by any
|
|
120
|
-
third party, and disclaims any obligation to defend, indemnify, or
|
|
121
|
-
hold You harmless against third-party claims.
|
|
122
|
-
|
|
123
|
-
The Software is not affiliated with, endorsed by, or sponsored by
|
|
124
|
-
Anthropic, PBC.
|
|
125
|
-
|
|
126
|
-
5. CONTRIBUTIONS (INLINE CONTRIBUTOR AGREEMENT)
|
|
127
|
-
|
|
128
|
-
If You intentionally submit any contribution (including code,
|
|
129
|
-
documentation, configuration, or other materials) for inclusion in the
|
|
130
|
-
Software, by submitting that contribution You agree that:
|
|
131
|
-
|
|
132
|
-
(a) You grant the Licensor a perpetual, worldwide, non-exclusive,
|
|
133
|
-
royalty-free, irrevocable license to use, reproduce, modify,
|
|
134
|
-
prepare derivative works of, publicly display, publicly perform,
|
|
135
|
-
sublicense, and distribute Your contribution and such derivative
|
|
136
|
-
works, under this license and under any other license the
|
|
137
|
-
Licensor may choose for the Software in the future;
|
|
138
|
-
|
|
139
|
-
(b) You grant the Licensor and every recipient of the Software a
|
|
140
|
-
perpetual, worldwide, non-exclusive, royalty-free, irrevocable
|
|
141
|
-
patent license under Your essential patent claims to make, have
|
|
142
|
-
made, use, run, and otherwise exploit Your contribution and the
|
|
143
|
-
Software incorporating it;
|
|
144
|
-
|
|
145
|
-
(c) the contribution is Your original work, or You have sufficient
|
|
146
|
-
rights to submit it under this Section 5, and the contribution
|
|
147
|
-
does not knowingly infringe any third-party rights or include
|
|
148
|
-
third-party material that conflicts with this license;
|
|
149
|
-
|
|
150
|
-
(d) the contribution is submitted without any expectation of payment
|
|
151
|
-
and without any additional terms or conditions; the Licensor is
|
|
152
|
-
under no obligation to accept, retain, or attribute it.
|
|
153
|
-
|
|
154
|
-
If You contribute on behalf of an Organization, You represent that You
|
|
155
|
-
are authorized to bind that Organization to this Section 5.
|
|
156
|
-
|
|
157
|
-
6. DISCLAIMER OF WARRANTY
|
|
158
|
-
|
|
159
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY
|
|
160
|
-
OF ANY KIND, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING WITHOUT
|
|
161
|
-
LIMITATION ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
162
|
-
PARTICULAR PURPOSE, TITLE, ACCURACY, OR NON-INFRINGEMENT. YOU ASSUME
|
|
163
|
-
ALL RISK ASSOCIATED WITH USE OF THE SOFTWARE, INCLUDING ANY RISK
|
|
164
|
-
ARISING FROM ITS INTERACTION WITH THIRD-PARTY MODEL PROVIDERS,
|
|
165
|
-
NETWORK SERVICES, OR LOCAL TOOLING.
|
|
166
|
-
|
|
167
|
-
7. LIMITATION OF LIABILITY
|
|
168
|
-
|
|
169
|
-
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL
|
|
170
|
-
THE LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
171
|
-
CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, OR FOR LOST PROFITS,
|
|
172
|
-
LOST DATA, OR BUSINESS INTERRUPTION, ARISING OUT OF OR RELATING TO
|
|
173
|
-
THIS LICENSE OR THE SOFTWARE, WHETHER IN CONTRACT, TORT, OR ANY OTHER
|
|
174
|
-
LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
175
|
-
|
|
176
|
-
8. TERMINATION
|
|
177
|
-
|
|
178
|
-
This license terminates automatically and without notice if You
|
|
179
|
-
materially breach any of its terms and fail to cure the breach within
|
|
180
|
-
thirty (30) days after the Licensor provides written notice (which may
|
|
181
|
-
be delivered electronically). For breaches of Section 3(a), 3(b), or
|
|
182
|
-
the patent-litigation clause in Section 2, termination is immediate
|
|
183
|
-
and no cure period applies. Upon termination, You must immediately
|
|
184
|
-
cease all use of the Software and destroy all copies in Your
|
|
185
|
-
possession or control. Sections 4, 5, 6, 7, 8, 9, and 10 survive
|
|
186
|
-
termination.
|
|
187
|
-
|
|
188
|
-
9. RESERVED RIGHTS
|
|
189
|
-
|
|
190
|
-
All rights not expressly granted to You under this license are
|
|
191
|
-
reserved by the Licensor. No rights are granted by implication,
|
|
192
|
-
estoppel, or otherwise. "Claudin" and any associated logos are
|
|
193
|
-
trademarks of the Licensor; no trademark license is granted by this
|
|
194
|
-
license except the limited attribution use permitted in Section 3(d).
|
|
195
|
-
|
|
196
|
-
10. SEVERABILITY AND ENTIRE AGREEMENT
|
|
197
|
-
|
|
198
|
-
If any provision of this license is held to be unenforceable, the
|
|
199
|
-
remaining provisions shall continue in full force and effect, and the
|
|
200
|
-
unenforceable provision shall be modified to the minimum extent
|
|
201
|
-
necessary to make it enforceable while preserving its intent. This
|
|
202
|
-
license constitutes the entire agreement between You and the Licensor
|
|
203
|
-
regarding the Software and supersedes any prior or contemporaneous
|
|
204
|
-
understanding regarding its subject matter, except for separate
|
|
205
|
-
written agreements expressly signed by the Licensor.
|
|
206
|
-
|
|
207
|
-
— end of license —
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
# Claudin
|
|
2
1
|
|
|
3
|
-
|
|
2
|
+
# <img src="site/img/icon.png" alt="" width="38" valign="middle" /> Claudin
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
[](LICENSE)
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
**One coding agent CLI. Any LLM.**
|
|
9
|
+
|
|
10
|
+
Claudin brings a terminal-first agentic workflow — bash, file tools, grep, glob, agents, MCP, slash commands, streaming — to any model provider. Switch between OpenAI, Gemini, DeepSeek, Ollama, Mistral, GitHub Copilot, Bedrock, Vertex, and 200+ OpenAI-compatible endpoints without changing your workflow.
|
|
8
11
|
|
|
9
12
|
---
|
|
10
13
|
|
|
@@ -14,7 +17,7 @@ Claudin is an open fork of the Claude Code agent loop (tools, MCP, sub-agents, s
|
|
|
14
17
|
npm install -g @claudiolabs/claudin@latest
|
|
15
18
|
```
|
|
16
19
|
|
|
17
|
-
Requires Node 22.12+.
|
|
20
|
+
Requires Node 22.12+. Runs on Linux, macOS, and Windows.
|
|
18
21
|
|
|
19
22
|
## Quick Start
|
|
20
23
|
|
|
@@ -22,105 +25,39 @@ Requires Node 22.12+. Works on Linux, macOS, and Windows.
|
|
|
22
25
|
claudin
|
|
23
26
|
```
|
|
24
27
|
|
|
25
|
-
On first run, Claudin opens the `/provider` wizard
|
|
28
|
+
On first run, Claudin opens the `/provider` wizard — pick a preset, sign in or paste a key, and start working. No environment variables required. Credentials are saved as profiles under `~/.claudin/`, so you can keep several providers configured and switch between them anytime.
|
|
26
29
|
|
|
27
30
|
## Providers
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
**Sign in with your account (OAuth):**
|
|
32
|
-
|
|
33
|
-
- **Anthropic** — API key or Claude web sign-in
|
|
34
|
-
- **ChatGPT** — Codex OAuth (use your ChatGPT plan)
|
|
35
|
-
- **GitHub Copilot** — device-flow OAuth
|
|
36
|
-
- **xAI Grok** — OAuth (loopback PKCE)
|
|
37
|
-
|
|
38
|
-
**Direct API key:**
|
|
39
|
-
|
|
40
|
-
- **OpenAI**
|
|
41
|
-
- **Google Gemini**
|
|
42
|
-
- **Mistral**
|
|
43
|
-
- **DeepSeek**
|
|
44
|
-
- **Moonshot AI** — Kimi Code + general API
|
|
45
|
-
- **Z.AI** — GLM Coding Plan
|
|
46
|
-
- **MiniMax**
|
|
47
|
-
- **Alibaba DashScope / Qwen** — China + International coding plans
|
|
48
|
-
- **NVIDIA NIM**
|
|
49
|
-
- **Cloudflare** — Workers AI + AI Gateway
|
|
50
|
-
- **Bankr**
|
|
51
|
-
|
|
52
|
-
**OpenAI-compatible aggregators:**
|
|
53
|
-
|
|
54
|
-
- OpenRouter, Together AI, Groq, OpenCode Zen, OpenCode GO, Atomic Chat
|
|
55
|
-
|
|
56
|
-
**Local:**
|
|
57
|
-
|
|
58
|
-
- Ollama, LM Studio, and any other OpenAI-compatible endpoint (**Custom**)
|
|
59
|
-
|
|
60
|
-
**Enterprise / cloud:**
|
|
32
|
+
Configure everything from inside the app with `/provider`. Claudin fills in the base URL, default model, and the right transport automatically.
|
|
61
33
|
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
| Command | Description |
|
|
69
|
-
|---|---|
|
|
70
|
-
| `/provider` | Manage provider profiles and credentials |
|
|
71
|
-
| `/model` | Change the active model |
|
|
72
|
-
| `/explorer` | Browse the project tree and edit files (nvim-lite, split-pane) — `ctrl+e` |
|
|
73
|
-
| `/diff` | Review local changes, stashes, and git log in a tabbed viewer — `ctrl+g` |
|
|
74
|
-
| `/plan` | Enter plan mode (explore before coding) |
|
|
75
|
-
| `/review` | Code review |
|
|
76
|
-
| `/commit` | Commit changes |
|
|
77
|
-
| `/mcp` | Manage MCP servers |
|
|
78
|
-
| `/skills` | List and run user-invocable skills |
|
|
79
|
-
| `/create` | Create or refine skills, rules, and custom agents |
|
|
80
|
-
| `/memory` | View and manage project memory |
|
|
81
|
-
| `/hooks` | Configure event hooks |
|
|
82
|
-
| `/usage` / `/cost` | Token and cost tracking |
|
|
83
|
-
| `/config` | Settings |
|
|
84
|
-
| `/resume` | Resume a previous session |
|
|
85
|
-
| `/fast` | Toggle fast mode |
|
|
86
|
-
| `/help` | List all commands |
|
|
34
|
+
- **Sign in with your account (OAuth):** Anthropic, ChatGPT (Codex), GitHub Copilot, xAI Grok
|
|
35
|
+
- **Direct API key:** OpenAI, Gemini, Mistral, DeepSeek, Kimi / Moonshot, Z.AI, MiniMax, Qwen / DashScope, NVIDIA NIM, Cloudflare
|
|
36
|
+
- **Aggregators:** OpenRouter, Together AI, Groq, and other OpenAI-compatible gateways
|
|
37
|
+
- **Local:** Ollama, LM Studio, or any custom OpenAI-compatible endpoint
|
|
38
|
+
- **Enterprise:** AWS Bedrock, Google Vertex AI, Azure OpenAI, Azure AI Foundry
|
|
87
39
|
|
|
88
40
|
## Features
|
|
89
41
|
|
|
90
|
-
- **Bring your own provider** —
|
|
91
|
-
- **Privacy-first** — analytics, auto-updater,
|
|
92
|
-
- **Lower token & cost usage** — a command-aware
|
|
93
|
-
- **In-terminal explorer & diff** — `/explorer` is a split-pane file tree with a lightweight
|
|
94
|
-
- **Sub-agents
|
|
95
|
-
- **MCP** — connect external tool servers
|
|
96
|
-
- **
|
|
97
|
-
- **
|
|
98
|
-
- **Headless / scriptable** — `claudin -p "prompt"` for pipes and CI, with `--output-format text|json|stream-json`.
|
|
99
|
-
- **Fast cold start** — a V8 bytecode cache trims warm-launch time; first run after a build repopulates it.
|
|
100
|
-
- **VS Code** — [extension](vscode-extension/claudin-vscode) for launch integration and themes.
|
|
42
|
+
- **Bring your own provider** — switch models mid-session with `/provider` and keep multiple profiles.
|
|
43
|
+
- **Privacy-first** — no analytics, no auto-updater, no transcript sharing; verified against the shipped bundle.
|
|
44
|
+
- **Lower token & cost usage** — a command-aware output filter and a stable prompt-cache policy, both on by default.
|
|
45
|
+
- **In-terminal explorer & diff** — `/explorer` is a split-pane file tree with a lightweight editor; `/diff` is a tabbed reviewer for changes, stashes, and git log.
|
|
46
|
+
- **Sub-agents** — run Explore, Plan, and custom agents in parallel, in the background, or in isolated git worktrees.
|
|
47
|
+
- **MCP, skills, hooks & plan mode** — connect external tool servers and extend the agent to your workflow.
|
|
48
|
+
- **Auto-memory** — persistent per-project notes, with private and team-shared scopes.
|
|
49
|
+
- **Headless & scriptable** — `claudin -p "prompt"` for pipes and CI, with text / JSON output.
|
|
101
50
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
bun install && bun run build && node dist/cli.mjs
|
|
106
|
-
```
|
|
51
|
+
Run `/help` inside the app for the full command list.
|
|
107
52
|
|
|
108
|
-
|
|
53
|
+
## Build from Source
|
|
109
54
|
|
|
110
55
|
```bash
|
|
111
|
-
bun run
|
|
112
|
-
bun run smoke # build + version check
|
|
113
|
-
bun test # full test suite
|
|
114
|
-
bun run typecheck # tsc --noEmit
|
|
115
|
-
bun run verify:privacy # scan for phone-home patterns
|
|
56
|
+
bun install && bun run build && node dist/cli.mjs
|
|
116
57
|
```
|
|
117
58
|
|
|
118
59
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for the build system, feature flags, and pre-PR checks.
|
|
119
60
|
|
|
120
|
-
## Disclaimer
|
|
121
|
-
|
|
122
|
-
Claudin is an independent project and is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic PBC.
|
|
123
|
-
|
|
124
61
|
## License
|
|
125
62
|
|
|
126
|
-
|
|
63
|
+
Released under the [MIT License](LICENSE). Claudin is an independent project and is not affiliated with or endorsed by any model provider.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bI as a,cI as b,dI as c,eI as d}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{eb as L}from"./cli-0.7.5-49b2vx6q.mjs";import{fb as K}from"./cli-0.7.5-6mmfvszc.mjs";import{Oc as J,Pc as V}from"./cli-0.7.5-v85dx0nq.mjs";import"./cli-0.7.5-gb57bm0v.mjs";import"./cli-0.7.5-cbkmf04v.mjs";import{Bv as I,Fv as U}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{zY as R}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as z,H2 as H}from"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as Q}from"./cli-0.7.5-012a6zfk.mjs";var N=Q(R(),1);U();V();H();function w(O){let b=N.c(9),{getFpsMetrics:B,stats:D,initialState:E,children:G}=O,k;if(b[0]!==G||b[1]!==E)k=z(I,{initialState:E,onChangeAppState:J,children:G}),b[0]=G,b[1]=E,b[2]=k;else k=b[2];let q;if(b[3]!==D||b[4]!==k)q=z(L,{store:D,children:k}),b[3]=D,b[4]=k,b[5]=q;else q=b[5];let y;if(b[6]!==B||b[7]!==q)y=z(K,{getFpsMetrics:B,children:q}),b[6]=B,b[7]=q,b[8]=y;else y=b[8];return y}export{w as App};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as a}from"./cli-0.7.5-h9s62ky5.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";export{a as ApproveApiKey};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-012a6zfk.mjs";function n(s){return null}export{n as AssistantSessionChooser};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ua as a,Va as b}from"./cli-0.7.5-0wyg5tbv.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";export{b as AutoModeOptInDialog,a as AUTO_MODE_DESCRIPTION};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{FF as P,HF as M,On as S,Pn as I,cR as d,gR as R}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{UZ as _,WZ as m,_Z as h,c0 as b,z0 as E,zY as A}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as o,G2 as a,H2 as f}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as T}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{cca as y,pca as N}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import{Fha as p,Iha as D}from"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as g}from"./cli-0.7.5-012a6zfk.mjs";D();E();R();N();M();I();f();var B=g(A(),1),w=g(T(),1);function q(C){let e=B.c(7),{onAccept:r}=C,n;if(e[0]===Symbol.for("react.memo_cache_sentinel"))n=[],e[0]=n;else n=e[0];w.default.useEffect(F,n);let t;if(e[1]!==r)t=function(v){e:switch(v){case"accept":{p("tengu_bypass_permissions_mode_dialog_accept",{}),y("userSettings",{skipDangerousModePermissionPrompt:!0}),r();break e}case"decline":d(1)}},e[1]=r,e[2]=t;else t=e[2];let l=t,k=x,i;if(e[3]===Symbol.for("react.memo_cache_sentinel"))i=a(_,{flexDirection:"column",gap:1,children:[a(m,{children:["In Bypass Permissions mode, Claudin will not ask for your approval before running potentially dangerous commands.",o(b,{}),"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."]}),o(m,{children:"By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."}),o(h,{url:"https://code.claude.com/docs/en/security"})]}),e[3]=i;else i=e[3];let s;if(e[4]===Symbol.for("react.memo_cache_sentinel"))s=[{label:"No, exit",value:"decline"},{label:"Yes, I accept",value:"accept"}],e[4]=s;else s=e[4];let c;if(e[5]!==l)c=a(S,{title:"WARNING: Claudin running in Bypass Permissions mode",color:"error",onCancel:k,children:[i,o(P,{options:s,onChange:(u)=>l(u)})]}),e[5]=l,e[6]=c;else c=e[6];return c}function x(){d(0)}function F(){p("tengu_bypass_permissions_mode_dialog_shown",{})}export{q as BypassPermissionsModeDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$g as b,_g as a}from"./cli-0.7.5-f8j1xqbv.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as ClaudeMdExternalIncludesDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{wH as a,yH as b}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as ConsoleOAuthFlow};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{$f as BQ,Zf as YX,_f as JY,ag as gX,bg as FQ,cg as uX,dg as mJ,fg as ZX,gg as $X,hg as QY}from"./cli-0.7.5-a36ctp71.mjs";import"./cli-0.7.5-3mhw32x1.mjs";import"./cli-0.7.5-rg2nrraj.mjs";import{CF as eX,Cv as QX,Fv as tX,Jv as xQ,Mv as rX,Nu as SJ,On as eQ,Ou as tJ,Pn as sX,Pu as JX,Pv as jQ,Qu as eJ,Qv as cX,zF as XX}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import{JX as s,KX as fX,jX as BJ,kX as TQ,yX as tQ,zX as iX}from"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{IY as lQ,UZ as A,VY as iQ,WZ as z,ZY as lX,e0 as wQ,o0 as sQ,z0 as ZJ}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{E2 as oQ,F2 as q,G2 as B,H2 as p}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as c}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import{I7 as $J,J7 as oX}from"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{E9 as cQ,Fba as aX,G9 as TJ,H9 as jJ,M9 as nQ,Q_ as HJ,T9 as aQ,W9 as rQ,c_ as sJ,e9 as lJ,f9 as iJ,g9 as yX,j$ as kQ,xba as mQ}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import{Rga as n,Sga as bQ}from"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as f,Pqa as j}from"./cli-0.7.5-012a6zfk.mjs";function YJ(J,X){let Q={timeout:EX,preserveOutputOnError:!1};return X?iJ(TJ(),J,{...Q,cwd:X}):lJ(TJ(),J,Q)}function kX(J){let X=J.trim().replace(/^\(/,"").replace(/\)$/,"").trim();if(!X)return[];return X.split(",").map((Q)=>Q.trim().replace(bX,"")).filter(Boolean)}function TX(J){let X=[];for(let Q of J.split(`
|
|
2
|
+
`)){let Y=Q.replace(XQ,""),$=Y.indexOf(b);if($===-1){if(Q.trim()==="")continue;X.push({graphPrefix:Q,isCommit:!1,hash:"",shortHash:"",author:"",subject:"",refs:[]});continue}let K=Y.slice(0,$),W=Y.slice($+b.length).split(b);X.push({graphPrefix:K,isCommit:!0,hash:W[0]??"",shortHash:W[1]??"",author:W[2]??"",subject:W[3]??"",refs:kX(W[4]??"")})}return X}async function YQ(J){let{skip:X=0,limit:Q=CX,cwd:Y}=J??{};if(!Y&&!await jJ())return[];let $=["--no-optional-locks","log","--graph","--decorate=short",`--format=${FX}`,"-n",String(Q)];if(X>0)$.push("--skip",String(X));let{stdout:K,code:W}=await YJ($,Y);if(W!==0)return[];return TX(K)}function ZQ(J){return[...J.entries()].map(([X,Q])=>({path:X,added:Q.added,removed:Q.removed,isBinary:Q.isBinary,...Q.renamedFrom?{renamedFrom:Q.renamedFrom}:{}}))}async function $Q(J,X){if(!LX.test(J))return[];let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","show","--numstat","--format=",J],X);if(Y!==0)return[];return ZQ(SJ(Q).perFileStats)}function jX(J){let X=[];for(let Q of J.split(`
|
|
3
|
+
`)){let Y=Q.replace(XQ,"");if(!Y.startsWith(b))continue;let $=Y.slice(b.length).split(b),K=($[0]??"").trim();if(!K)continue;let W=($[1]??"").trim(),_=W.match(vX);X.push({ref:K,subject:W,branch:_?.[1]??""})}return X}async function RJ(J){if(!J&&!await jJ())return[];let{stdout:X,code:Q}=await YJ(["--no-optional-locks","stash","list",`--format=${DX}`],J);if(Q!==0)return[];return jX(X)}async function qQ(J,X){if(!QQ.test(J))return new Map;let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","stash","show","-p","--src-prefix=a/","--dst-prefix=b/",J],X);if(Y!==0)return new Map;return tJ(Q)}async function KQ(J,X){if(!QQ.test(J))return[];let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","stash","show","--numstat",J],X);if(Y!==0)return[];return ZQ(SJ(Q).perFileStats)}var EX=5000,CX=50,b="\x1F",JQ="\x1E",FX,DX,LX,QQ,vX,bX,XQ;var AJ=j(()=>{yX();sJ();eJ();FX=`${b}%H${b}%h${b}%an${b}%s${b}%d${JQ}`,DX=`${b}%gd${b}%s${JQ}`,LX=/^[0-9a-f]{4,40}$/i,QQ=/^stash@\{\d+\}$/,vX=/^(?:WIP on|On) ([^:]+):/,bX=/^HEAD -> /,XQ=/\x1e\s*$/});function zQ(J,X){let[Q,Y]=GJ.useState(null);return GJ.useEffect(()=>{if(!J){Y([]);return}let $=!1;Y(null);let K=setTimeout(()=>{$Q(J,X).then((W)=>{if(!$)Y(W)})},SX);return()=>{$=!0,clearTimeout(K)}},[J,X]),Q}var GJ,SX=150;var OQ=j(()=>{AJ();GJ=f(c(),1)});function WQ(J){let[X,Q]=L.useState([]),[Y,$]=L.useState(!1),[K,W]=L.useState(!0),_=L.useRef(!1),N=L.useRef(!1),H=L.useRef(0),O=L.useRef(0),I=L.useCallback(async(T,P)=>{let yJ=++H.current;N.current=!0,$(!0);let y=await YQ({skip:T,limit:VQ,cwd:J});if(yJ!==H.current)return;let h=y.filter((m)=>m.isCommit).length;Q((m)=>P?[...m,...y]:y),O.current=T+h,W(h>=VQ),$(!1),N.current=!1},[J]),M=L.useRef(J);L.useEffect(()=>{if(M.current===J)return;if(M.current=J,Q([]),W(!0),O.current=0,_.current)I(0,!1)},[J,I]);let k=L.useCallback(()=>{if(_.current)return;_.current=!0,I(0,!1)},[I]),v=L.useCallback(()=>{if(!K||N.current)return;I(O.current,!0)},[I,K]),F=L.useCallback(()=>{_.current=!0,O.current=0,I(0,!1)},[I]);return{rows:X,loading:Y,hasMore:K,ensureLoaded:k,loadMore:v,refresh:F}}var L,VQ=50;var _Q=j(()=>{AJ();L=f(c(),1)});function NQ(J){let[X,Q]=x.useState([]),[Y,$]=x.useState(!1),K=x.useRef(!1),W=x.useCallback(()=>{if(K.current)return;K.current=!0,(async()=>{let H=await RJ(J);Q(H),$(!0)})()},[J]),_=x.useCallback(()=>{K.current=!0,(async()=>{let H=await RJ(J);Q(H),$(!0)})()},[J]),N=x.useCallback(async(H)=>{let[O,I]=await Promise.all([qQ(H,J),KQ(H,J)]);return{files:I,hunks:O}},[J]);return{entries:X,loaded:Y,ensureLoaded:W,refresh:_,loadStash:N}}var x;var UQ=j(()=>{AJ();x=f(c(),1)});function RX(J){if(!J||typeof J!=="object")return!1;let X=J,Q=typeof X.filePath==="string",Y=Array.isArray(X.structuredPatch)&&X.structuredPatch.length>0,$=X.type==="create"&&typeof X.content==="string";return Q&&(Y||$)}function pX(J){return"type"in J&&(J.type==="create"||J.type==="update")}function mX(J){if(!J||typeof J!=="object")return!1;let X=J;if(!Array.isArray(X.files))return!1;return X.files.every((Q)=>{if(!Q||typeof Q!=="object")return!1;let Y=Q;return typeof Y.absPath==="string"&&Array.isArray(Y.structuredPatch)})}function wX(J,X,Q,Y){let $=J.files.get(X);if(!$)$={filePath:X,hunks:[],isNewFile:Y,linesAdded:0,linesRemoved:0},J.files.set(X,$);$.hunks.push(...Q);let{added:K,removed:W}=AQ(Q);if($.linesAdded+=K,$.linesRemoved+=W,Y)$.isNewFile=!0}function AQ(J){let X=0,Q=0;for(let Y of J)for(let $ of Y.lines)if($.startsWith("+"))X++;else if($.startsWith("-"))Q++;return{added:X,removed:Q}}function xX(J){if(J.type!=="user")return"";let X=J.message.content,Q=typeof X==="string"?X:"";if(Q.length<=30)return Q;return Q.slice(0,29)+"…"}function IQ(J){let X=0,Q=0;for(let Y of J.files.values())X+=Y.linesAdded,Q+=Y.linesRemoved;J.stats={filesChanged:J.files.size,linesAdded:X,linesRemoved:Q}}function hX(J,X){if(RX(X)){let{filePath:Q,structuredPatch:Y}=X,$="type"in X&&X.type==="create",K=J.files.get(Q);if(!K)K={filePath:Q,hunks:[],isNewFile:$,linesAdded:0,linesRemoved:0},J.files.set(Q,K);if($&&Y.length===0&&pX(X)){let _=X.content.split(`
|
|
4
|
+
`),N={oldStart:0,oldLines:0,newStart:1,newLines:_.length,lines:_.map((H)=>"+"+H)};K.hunks.push(N),K.linesAdded+=_.length}else{K.hunks.push(...Y);let{added:W,removed:_}=AQ(Y);K.linesAdded+=W,K.linesRemoved+=_}if($)K.isNewFile=!0}else if(mX(X))for(let Q of X.files){let Y=Q.type==="move"&&Q.movePath?Q.movePath:Q.absPath;wX(J,Y,Q.structuredPatch,Q.type==="add")}}function GQ(J){let X=MJ.useRef({completedTurns:[],currentTurn:null,lastProcessedIndex:0,lastTurnIndex:0});return MJ.useMemo(()=>{let Q=X.current;if(J.length<Q.lastProcessedIndex)Q.completedTurns=[],Q.currentTurn=null,Q.lastProcessedIndex=0,Q.lastTurnIndex=0;for(let $=Q.lastProcessedIndex;$<J.length;$++){let K=J[$];if(!K||K.type!=="user")continue;if(!(K.toolUseResult||Array.isArray(K.message.content)&&K.message.content[0]?.type==="tool_result")&&!K.isMeta){if(Q.currentTurn&&Q.currentTurn.files.size>0)IQ(Q.currentTurn),Q.completedTurns.push(Q.currentTurn);Q.lastTurnIndex++,Q.currentTurn={turnIndex:Q.lastTurnIndex,userPromptPreview:xX(K),timestamp:K.timestamp,files:new Map,stats:{filesChanged:0,linesAdded:0,linesRemoved:0}}}else if(Q.currentTurn&&K.toolUseResult)hX(Q.currentTurn,K.toolUseResult)}Q.lastProcessedIndex=J.length;let Y=[...Q.completedTurns];if(Q.currentTurn&&Q.currentTurn.files.size>0)IQ(Q.currentTurn),Y.push(Q.currentTurn);return Y.reverse()},[J])}var MJ;var MQ=j(()=>{MJ=f(c(),1)});function pJ(J,X,Q=new Map,Y=!1){if(J.length===0)return[];if(X===void 0)return J.map((O)=>({kind:"hunk",hunk:O}));let $=X.split(`
|
|
5
|
+
`);if($.length>0&&$[$.length-1]==="")$.pop();let K=$.length,W=(O,I)=>{let M=Math.max(0,Math.min(I,K-(O.newStart-1))),k=[];for(let v=0;v<M;v++)k.push(" "+($[O.newStart-1+v]??""));return{oldStart:O.oldStart,oldLines:M,newStart:O.newStart,newLines:M,lines:k}},_=[],N=(O)=>{if(O.count<=0)return;let I=`gap@${O.newStart}`,M=Y?O.count:Math.max(0,Math.min(Q.get(I)??0,O.count));if(M<=0){_.push({kind:"gap",id:I,startLine:O.newStart,lineCount:O.count});return}if(M>=O.count){_.push({kind:"hunk",hunk:W(O,O.count)});return}_.push({kind:"hunk",hunk:W(O,M)}),_.push({kind:"gap",id:I,startLine:O.newStart+M,lineCount:O.count-M})},H=J[0];N({oldStart:1,newStart:1,count:H.newStart-1});for(let O=0;O<J.length;O++){let I=J[O];_.push({kind:"hunk",hunk:I});let M=I.newStart+I.newLines,k=I.oldStart+I.oldLines,v=J[O+1];if(v)N({oldStart:k,newStart:M,count:v.newStart-M});else N({oldStart:k,newStart:M,count:K-M+1})}return _}var HQ=()=>{};function yQ({files:J}){let X=PQ.useMemo(BQ,[]);if(J===null)return q(z,{dimColor:!0,children:"Loading…"});if(J.length===0)return q(z,{dimColor:!0,children:"No files"});return q(A,{flexDirection:"column",children:J.map((Q)=>{let Y=X.fileIcon(Q.path);return B(A,{flexDirection:"row",children:[B(z,{children:[Y?`${Y} `:"",Q.path]}),q(A,{flexGrow:1}),Q.isBinary?q(z,{dimColor:!0,italic:!0,children:"Binary"}):B(z,{children:[Q.added>0&&B(z,{color:"diffAddedWord",children:["+",Q.added]}),Q.added>0&&Q.removed>0?" ":"",Q.removed>0&&B(z,{color:"diffRemovedWord",children:["-",Q.removed]})]})]},Q.path)})})}var PQ;var EQ=j(()=>{ZJ();gX();p();PQ=f(c(),1)});function CQ(J){return J.startsWith("tag: ")?{label:J.slice(5),isTag:!0}:{label:J,isTag:!1}}function dX(J,X,Q){if(J<=Q)return{start:0,end:J};let Y=Math.max(0,X-Math.floor(Q/2)),$=Y+Q;if($>J)$=J,Y=Math.max(0,$-Q);return{start:Y,end:$}}function LQ({rows:J,selectedRow:X,maxVisible:Q,loading:Y,hasMore:$}){let{start:K,end:W}=DQ.useMemo(()=>dX(J.length,X,Q),[J.length,X,Q]);if(J.length===0)return q(z,{dimColor:!0,children:Y?"Loading…":"No commits"});let _=J.slice(K,W);return B(A,{flexDirection:"column",children:[K>0&&q(z,{dimColor:!0,children:` ↑ ${K} more`}),_.map((N,H)=>{let O=K+H;if(!N.isCommit)return q(z,{dimColor:!0,wrap:"truncate",children:N.graphPrefix},O);if(O===X){let I=N.refs.length>0?" "+N.refs.map((M)=>CQ(M).label).join(" "):"";return q(z,{wrap:"truncate",inverse:!0,bold:!0,children:`${N.graphPrefix}${N.shortHash} ${N.author}${I} ${N.subject}`},O)}return B(z,{wrap:"truncate",children:[N.graphPrefix,q(z,{color:"permission",children:N.shortHash})," ",q(z,{color:FQ(N.author),bold:!0,children:N.author}),N.refs.map((I,M)=>{let{label:k,isTag:v}=CQ(I);return q(z,{color:v?"success":"warning",bold:!0,children:` ${k}`},M)}),` ${N.subject}`]},O)}),W<J.length?q(z,{dimColor:!0,children:` ↓ ${J.length-W} more`}):$?q(z,{dimColor:!0,children:Y?" ↓ loading…":" ↓ more"}):null]})}var DQ;var vQ=j(()=>{ZJ();uX();p();DQ=f(c(),1)});import{resolve as nX}from"path";function RQ({filePath:J,hunks:X,isLargeFile:Q,isBinary:Y,isTruncated:$,isUntracked:K,renamedFrom:W,root:_}){let{columns:N}=BJ(),{firstLine:H,fileContent:O}=SQ.useMemo(()=>{if(!J)return{firstLine:null,fileContent:void 0};let I=HJ(nX(_||n(),J));return{firstLine:I?.split(`
|
|
6
|
+
`)[0]??null,fileContent:I??void 0}},[J,_]);if(K&&X.length===0)return B(A,{flexDirection:"column",width:"100%",children:[B(A,{children:[q(z,{bold:!0,children:J}),q(z,{dimColor:!0,children:" (new file)"})]}),q(s,{padding:4}),q(A,{flexDirection:"column",children:q(z,{dimColor:!0,italic:!0,children:"New file not yet staged."})})]});if(Y)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"})]});if(Q)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"})]});if(W&&X.length===0)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:`renamed from ${W}`})]});return B(A,{flexDirection:"column",width:"100%",children:[B(A,{children:[q(z,{bold:!0,children:J}),$&&q(z,{dimColor:!0,children:" (truncated)"})]}),q(s,{padding:4}),q(A,{flexDirection:"column",children:X.length===0?q(z,{dimColor:!0,children:"No diff content"}):q(jQ,{hunks:X,dim:!1,width:N-2-2,filePath:J,firstLine:H,fileContent:O})}),$&&q(z,{dimColor:!0,italic:!0,children:"… diff truncated (exceeded 400 line limit)"})]})}var SQ;var pQ=j(()=>{TQ();ZJ();bQ();kQ();fX();cX();p();SQ=f(c(),1)});function hQ(J,{filePath:X,firstLine:Q,fileContent:Y,width:$,theme:K}){let W=xQ(),_=Math.max(0,$-16),N=[];for(let H of J){if(H.kind==="gap"){N.push(`··· ${H.lineCount} ${mQ(H.lineCount,"line")} ${"─".repeat(_)}`);continue}let O=W?new W(H.hunk,Q,X,Y??null).render(K,$,!1):null;if(O)N.push(...O);else for(let I of H.hunk.lines)N.push(I)}return N}function gQ({rows:J,scrollOffset:X,height:Q,width:Y}){if(J.length===0)return q(z,{dimColor:!0,children:"No diff content"});let $=Math.max(0,Math.min(X,Math.max(0,J.length-Q))),K=J.slice($,$+Q);return q(A,{flexDirection:"column",width:"100%",children:q(wQ,{lines:K,width:Y})})}var uQ=j(()=>{ZJ();aX();rX();p()});import{resolve as XY}from"path";function PJ(J){return{content:` ${J} `,position:"top",align:"start"}}function YY(J){let X=[...J.files.values()].map((Y)=>({path:Y.filePath,linesAdded:Y.linesAdded,linesRemoved:Y.linesRemoved,isBinary:!1,isLargeFile:!1,isTruncated:!1,isNewFile:Y.isNewFile})).sort((Y,$)=>Y.path.localeCompare($.path)),Q=new Map;for(let Y of J.files.values())Q.set(Y.filePath,Y.hunks);return{root:n(),name:"",branch:"",files:X,hunks:Q}}function dQ(J){let X;if(J.isBinary)X=$J.italic("binary");else if(J.isLargeFile)X=$J.italic("large");else{let Q=[];if(J.linesAdded>0)Q.push($J.green(`+${J.linesAdded}`));if(J.linesRemoved>0)Q.push($J.red(`-${J.linesRemoved}`));if(Q.length===0)return null;X=Q.join(" ")}return{content:` ${X} `,position:"top",align:"end"}}function fQ(J,X,Q){let Y=X+Q;while(Y>=0&&Y<J.length){if(J[Y].isCommit)return Y;Y+=Q}return X}function UZ({messages:J,onDone:X}){let{columns:Q,rows:Y}=BJ();XX("diff-dialog",!0);let $=QX((Z)=>Z.toolPermissionContext.additionalWorkingDirectories),K=U.useMemo(()=>cQ(n(),[...$.keys()]),[$]),W=U.useMemo(()=>[n(),...$.keys()],[$]),_=YX(K,W),N=K[0]??_.roots[0],H=GQ(J),[O,I]=U.useState(0),M=U.useMemo(()=>_.groups.map((Z)=>({root:Z.root,name:Z.name})),[_.groups]),k=M.length?M[Math.min(O,M.length-1)]:void 0,v=k?.root??N,F=WQ(v),T=NQ(N),[P,yJ]=U.useState("local"),[y,h]=U.useState("list"),[m,wJ]=U.useState(0),[qJ,KJ]=U.useState(0),[xJ,hJ]=U.useState(new Set),[a,t]=U.useState(0),[EJ,CJ]=U.useState(new Map),[gJ,FJ]=U.useState(!1),[qX,g]=U.useState(0),[e,uJ]=U.useState(null),[r,KX]=U.useState(null),[zX,OX]=U.useState(0),[dJ]=lQ(),w=iQ()&&Q>=100,zJ=Math.max(30,Math.min(50,Math.round(Q*0.3))),u=Math.max(6,Y-12),OJ=u+2,DJ=Math.max(20,Q-zJ-10),fJ=w?Math.max(3,u-2):15,VJ=U.useMemo(()=>[{type:"working"},...H.map((Z)=>({type:"turn",turn:Z})),...T.entries.map((Z)=>({type:"stash",ref:Z.ref,subject:Z.subject}))],[H,T.entries]),E=VJ[Math.min(m,VJ.length-1)]??{type:"working"};U.useEffect(()=>{if(E.type!=="stash")return;if(e?.ref===E.ref)return;let Z=!1;return T.loadStash(E.ref).then((V)=>{if(Z)return;let G=V.files.map((D)=>({path:D.path,linesAdded:D.added,linesRemoved:D.removed,isBinary:D.isBinary,isLargeFile:!1,isTruncated:!1})).sort((D,IJ)=>D.path.localeCompare(IJ.path));uJ({ref:E.ref,group:{root:n(),name:"",branch:"",files:G,hunks:V.hunks}})}),()=>{Z=!0}},[E,T,e]);let o=U.useMemo(()=>{if(E.type==="working")return _.groups;if(E.type==="turn")return[YY(E.turn)];return e?.ref===E.ref?[e.group]:[]},[E,_.groups,e]),WJ=U.useMemo(()=>ZX(o),[o]),l=U.useMemo(()=>mJ(o,xJ),[o,xJ]),S=l[qJ]??null,d=S&&(S.kind==="dir"||S.kind==="group")?S:null,C=U.useMemo(()=>S?.kind==="file"?{file:S.file,hunks:S.hunks,root:S.root}:null,[S]),LJ=(Z)=>hJ((V)=>{let G=new Set(V);if(G.has(Z))G.delete(Z);else G.add(Z);return G}),R=U.useMemo(()=>{if(!C||E.type!=="working")return;let Z=C.file;if(Z.isBinary||Z.isLargeFile)return;return HJ(XY(C.root||n(),Z.path))??void 0},[C,E]),cJ=R?.split(`
|
|
7
|
+
`)[0]??null,JJ=!!C?.file.isUntracked,i=U.useMemo(()=>{if(JJ&&R!=null){if(R.slice(0,8000).includes("\x00"))return[];return JX(R)}return C?.hunks??[]},[JJ,R,C]),nJ=U.useMemo(()=>pJ(i,JJ?void 0:R,EJ,gJ),[i,JJ,R,EJ,gJ]),_J=U.useMemo(()=>hQ(nJ,{filePath:C?.file.path??"",firstLine:cJ,fileContent:R,width:DJ,theme:dJ}),[nJ,C,cJ,R,DJ,dJ]),QJ=Math.max(0,_J.length-u),vJ=Math.min(qX,QJ),aJ=U.useRef(null);U.useEffect(()=>{if(WJ.length===0)return;if(aJ.current===m)return;aJ.current=m,hJ(new Set);let V=mJ(o,new Set).findIndex((G)=>G.kind==="file");KJ(V>=0?V:0)},[m,WJ,o]),U.useEffect(()=>{if(l.length>0&&qJ>=l.length)KJ(l.length-1)},[l,qJ]);let VX=`${m}:${C?.file.path??""}`;U.useEffect(()=>{CJ(new Map),FJ(!1),g(0)},[VX]),U.useEffect(()=>{if(F.rows.length===0)return;let Z=F.rows[a];if(!Z||!Z.isCommit){let V=F.rows.findIndex((G)=>G.isCommit);if(V>=0)t(V)}},[F.rows,a]);let bJ=F.rows[a]?.isCommit?F.rows[a].hash:null,XJ=zQ(bJ,v),kJ=U.useMemo(()=>{if(!XJ||XJ.length===0)return null;let Z=0,V=0;for(let G of XJ)Z+=G.added,V+=G.removed;return{added:Z,removed:V}},[XJ]),NJ=P==="log"?v:N;U.useEffect(()=>{let Z=!1;return(async()=>{let[V,G,D]=await Promise.all([nQ(NJ),aQ(NJ),rQ(NJ)]);if(!Z)KX({branch:V,ahead:G.ahead,behind:G.behind,dirty:D.tracked.length+D.untracked.length})})().catch(()=>{}),()=>{Z=!0}},[zX,NJ]);let WX=()=>{let Z=pJ(C?.hunks??[],R).filter((V)=>V.kind==="gap");for(let V of Z){let G=EJ.get(V.id)??0;if(G<V.lineCount){CJ((D)=>{let IJ=new Map(D);return IJ.set(V.id,Math.min(V.lineCount,G+10)),IJ});return}}},_X=()=>{if(_.refresh(),P==="log")F.refresh();if(T.loaded){if(T.refresh(),E.type==="stash")uJ(null)}OX((Z)=>Z+1),CJ(new Map),FJ(!1),g(0)},NX=()=>{if(y==="content")h("list");else X("Diff dialog dismissed",{display:"system"})};tQ({"diff:nextTab":()=>{let Z=P==="local"?"log":"local";if(Z==="log")F.ensureLoaded();yJ(Z),h("list")},"diff:focusList":()=>{if(y==="content"){h("list");return}if(P==="local"&&d&&!d.collapsed){LJ(d.key);return}return!1},"diff:focusContent":()=>{if(y!=="list")return!1;if(P==="local"&&d){if(d.collapsed)LJ(d.key);return}h("content")},"diff:previousSource":()=>{if(y!=="list")return!1;if(P==="log"){if(M.length<=1)return!1;I((Z)=>Math.max(0,Z-1)),t(0);return}T.ensureLoaded(),wJ((Z)=>Math.max(0,Z-1))},"diff:nextSource":()=>{if(y!=="list")return!1;if(P==="log"){if(M.length<=1)return!1;I((Z)=>Math.min(M.length-1,Z+1)),t(0);return}T.ensureLoaded(),wJ((Z)=>Math.min(VJ.length-1,Z+1))},"diff:previousFile":()=>{if(y==="content"){if(w&&P==="local"){g((Z)=>Math.max(0,Z-1));return}return!1}if(P==="local")KJ((Z)=>Math.max(0,Z-1));else t((Z)=>fQ(F.rows,Z,-1))},"diff:nextFile":()=>{if(y==="content"){if(w&&P==="local"){g((Z)=>Math.min(QJ,Z+1));return}return!1}if(P==="local")KJ((Z)=>Math.min(l.length-1,Z+1));else{let Z=fQ(F.rows,a,1);if(Z===a&&F.hasMore)F.loadMore();t(Z)}},"diff:viewDetails":()=>{if(y==="list"){if(P==="local"&&d){LJ(d.key);return}h("content");return}if(P==="local"&&w){WX();return}return!1},"diff:expandAll":()=>{if(P==="local")FJ((Z)=>!Z);else return!1},"diff:refresh":_X},{context:"DiffDialog"}),sQ((Z,V)=>{if(V.pageUp)g((G)=>Math.max(0,G-u));else if(V.pageDown)g((G)=>Math.min(QJ,G+u));else if(Z==="g")g(0);else if(Z==="G")g(QJ)},{isActive:w&&P==="local"&&y==="content"});let UX=!_.loading&&_.groups.length===0,IX=B(oQ,{children:[B(z,{inverse:P==="local",bold:P==="local",children:[" ","Local Changes"," "]})," ",B(z,{inverse:P==="log",bold:P==="log",children:[" ","Log"," "]})]}),AX=E.type==="working"?"working tree":E.type==="turn"?`T${E.turn.turnIndex}`:E.ref,GX=P==="local"&&B(z,{dimColor:!0,children:[`source: ${AX} ▾`,VJ.length>1?" [ ] source":""]}),MX=P==="log"&&M.length>1&&q(z,{dimColor:!0,children:`project: ${k?.name??""} ▾ [ ] project`}),HX=r?`${r.branch}${r.ahead?` ↑${r.ahead}`:""}${r.behind?` ↓${r.behind}`:""} · ${r.dirty} changed`:"",BX=P==="log"?`Tab tabs · ↑/↓ commits · → files · ← back${M.length>1?" · [ ] project":""} · r refresh · Esc close`:y==="content"?"Tab tabs · ↑/↓ scroll · PgUp/PgDn page · Enter expand gap · a expand all · ← files · Esc close":"Tab tabs · ↑/↓ move · ←/→ folder · Enter open · [ ] source · a expand · r refresh · Esc close",PX=B(A,{flexDirection:"row",children:[q(z,{dimColor:!0,children:HX}),q(A,{flexGrow:1}),q(z,{dimColor:!0,children:BX})]}),rJ=_.loading?"Loading diff…":E.type==="stash"&&o.length===0?"Loading stash…":E.type==="turn"?"No file changes in this turn":"Working tree is clean",oJ=(Z)=>{if(!C){let G=WJ.length===0?rJ:S?.kind==="dir"?"Folder — Enter or ←/→ to collapse/expand":"Select a file to view its diff";return q(z,{dimColor:!0,children:G})}let V=C.file;if(!w)return q(RQ,{filePath:V.path,hunks:i,isBinary:V.isBinary,isLargeFile:V.isLargeFile,isTruncated:V.isTruncated,isUntracked:V.isUntracked,renamedFrom:V.renamedFrom,root:C.root});if(V.isBinary)return q(z,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"});if(V.isLargeFile)return q(z,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"});if(V.isUntracked&&i.length===0)return q(z,{dimColor:!0,italic:!0,children:"New file not yet staged."});if(V.renamedFrom&&i.length===0)return q(z,{dimColor:!0,italic:!0,children:`renamed from ${V.renamedFrom}`});return q(gQ,{rows:_J,scrollOffset:vJ,height:Z,width:DJ})},UJ;if(UX)UJ=q(A,{marginTop:1,children:q(z,{dimColor:!0,children:"Not a git repository"})});else if(P==="local"){let Z=WJ.length===0?q(z,{dimColor:!0,children:rJ}):q($X,{rows:l,selectedIndex:qJ,maxVisible:fJ,width:w?zJ-2:Q-4});UJ=w?B(A,{flexDirection:"row",gap:1,children:[q(A,{width:zJ,flexShrink:0,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="list"?"permission":"subtle",borderText:PJ("Files"),children:Z}),q(A,{flexGrow:1,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="content"?"permission":"subtle",borderText:(()=>{let V=PJ(C?`Diff: ${C.file.path}${QJ>0?` ${vJ+1}-${Math.min(_J.length,vJ+u)}/${_J.length}`:""}`:"Diff"),G=C&&JJ&&i.length>0?{...C.file,linesAdded:i[0].newLines,linesRemoved:0}:C?.file,D=G?dQ(G):null;return D?[V,D]:V})(),children:oJ(u)})]}):q(A,{flexDirection:"column",marginTop:1,children:y==="list"?Z:oJ(u)})}else{let Z=q(LQ,{rows:F.rows,selectedRow:a,maxVisible:fJ,loading:F.loading,hasMore:F.hasMore}),V=q(yQ,{files:XJ});UJ=w?B(A,{flexDirection:"row",gap:1,children:[q(A,{width:zJ,flexShrink:0,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="list"?"permission":"subtle",borderText:PJ("Log"),children:Z}),q(A,{flexGrow:1,height:OJ,overflow:"hidden",flexDirection:"column",borderColor:y==="content"?"permission":"subtle",borderStyle:"round",borderText:(()=>{let G=PJ(bJ?`Files in ${bJ.slice(0,7)}`:"Files"),D=kJ?dQ({path:"",linesAdded:kJ.added,linesRemoved:kJ.removed,isBinary:!1,isLargeFile:!1,isTruncated:!1}):null;return D?[G,D]:G})(),children:V})]}):q(A,{flexDirection:"column",marginTop:1,children:y==="list"?Z:V})}return B(eQ,{title:IX,onCancel:NX,color:"background",hideInputGuide:!0,children:[GX,MX,UJ,PX]})}var U;var ZY=j(()=>{oX();eX();OQ();_Q();UQ();TQ();MQ();JY();ZJ();iX();tX();sJ();bQ();kQ();lX();eJ();sX();HQ();EQ();vQ();pQ();QY();uQ();p();U=f(c(),1)});ZY();export{UZ as DiffDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ig as a,jg as b}from"./cli-0.7.5-fzktcx0s.mjs";import"./cli-0.7.5-975by9n8.mjs";import"./cli-0.7.5-1raty5m9.mjs";import"./cli-0.7.5-49f39qnb.mjs";import"./cli-0.7.5-mk1nsvev.mjs";import"./cli-0.7.5-2czfx8da.mjs";import"./cli-0.7.5-z2yexv2e.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as Doctor};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Zf as hZ,_f as E0,dg as IJ,eg as L0,gg as yZ,hg as F0}from"./cli-0.7.5-a36ctp71.mjs";import{Kg as HZ,Lg as V0,Ng as fZ,Og as vJ,Tg as S0}from"./cli-0.7.5-tqwr1q73.mjs";import"./cli-0.7.5-3mhw32x1.mjs";import{Xh as mZ,Yh as b0}from"./cli-0.7.5-rg2nrraj.mjs";import{CF as v0,Kv as xZ,Mv as D0,On as kZ,Pn as M0,zF as gZ}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import{jX as wZ,kX as O0}from"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{IY as RZ,UZ as R,VY as CZ,WZ as W,ZY as I0,e0 as NZ,o0 as TZ,z0 as WJ}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as H,G2 as p,H2 as r}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as KZ}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{B_ as H0,T_ as PZ,Zea as C,e$ as jZ,ffa as W0,j$ as A0,z_ as zZ}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as N0,ofa as BZ}from"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import{Rga as FZ,Sga as B0}from"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as UZ,Pqa as i}from"./cli-0.7.5-012a6zfk.mjs";function UJ(Z){return{lines:$0(Z),cursor:{row:0,col:0},colDesired:0,mode:"normal",command:"",dirty:!1,pendingInsert:!1,register:[],pending:null,message:"",undo:[],redo:[]}}function $0(Z){let J=Z.split(`
|
|
2
|
+
`);if(J.length>1&&J[J.length-1]==="")J.pop();return J}function kJ(Z,J){return Z.join(`
|
|
3
|
+
`)+(J?`
|
|
4
|
+
`:"")}function _(Z){return{...Z,cursor:{...Z.cursor}}}function KJ(Z){return{lines:Z.lines.slice(),cursor:{...Z.cursor}}}function z(Z,J=Z.mode){let Q=Z.lines[Z.cursor.row]?.length??0;return J==="insert"?Q:Math.max(0,Q-1)}function l(Z){let J=Math.min(Math.max(0,Z.cursor.row),Math.max(0,Z.lines.length-1));return Z.cursor.row=J,Z.cursor.col=Math.min(Math.max(0,Z.cursor.col),z(Z)),Z}function u(Z){Z.undo=[...Z.undo,KJ(Z)].slice(-200),Z.redo=[],Z.dirty=!0}function NJ(Z){if(Z.pendingInsert)u(Z),Z.pendingInsert=!1}function VJ(Z){let J=_(Z);return J.cursor.col=Math.max(0,J.cursor.col-1),J.colDesired=J.cursor.col,J}function _J(Z){let J=_(Z);return J.cursor.col=Math.min(z(J),J.cursor.col+1),J.colDesired=J.cursor.col,J}function LJ(Z){let J=_(Z);if(J.cursor.row>0)J.cursor.row--,J.cursor.col=Math.min(J.colDesired,z(J));return J}function BJ(Z){let J=_(Z);if(J.cursor.row<J.lines.length-1)J.cursor.row++,J.cursor.col=Math.min(J.colDesired,z(J));return J}function xJ(Z){let J=_(Z);return J.cursor.col=0,J.colDesired=0,J}function gJ(Z){let J=_(Z);return J.cursor.col=z(J),J.colDesired=Number.MAX_SAFE_INTEGER,J}function mJ(Z){let J=_(Z);return J.cursor.row=0,J.cursor.col=Math.min(J.colDesired,z(J)),J}function fJ(Z){let J=_(Z);return J.cursor.row=Math.max(0,J.lines.length-1),J.cursor.col=Math.min(J.colDesired,z(J)),J}function hJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"",q=J.cursor.col;while(q<Q.length&&JJ.test(Q[q]))q++;while(q<Q.length&&!JJ.test(Q[q]))q++;if(q>=Q.length&&J.cursor.row<J.lines.length-1)J.cursor.row++,J.cursor.col=0;else J.cursor.col=Math.min(q,z(J));return J.colDesired=J.cursor.col,J}function yJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"",q=J.cursor.col-1;while(q>0&&!JJ.test(Q[q]))q--;while(q>0&&JJ.test(Q[q-1]))q--;if(q<0)q=0;return J.cursor.col=q,J.colDesired=q,J}function HJ(Z,J="i"){let Q=_(Z);if(Q.pendingInsert=!0,Q.mode="insert",J==="a")Q.cursor.col=Math.min(Q.cursor.col+1,z(Q,"insert"));else if(J==="A")Q.cursor.col=z(Q,"insert");else if(J==="I")Q.cursor.col=0;return Q}function dJ(Z){let J=_(Z);return J.mode="normal",J.pendingInsert=!1,J.cursor.col=Math.min(J.cursor.col,z(J,"normal")),J.colDesired=J.cursor.col,J}function cJ(Z,J){let Q=_(Z);NJ(Q);let q=Q.lines[Q.cursor.row]??"",L=Math.min(Q.cursor.col,q.length);return Q.lines=Q.lines.slice(),Q.lines[Q.cursor.row]=q.slice(0,L)+J+q.slice(L),Q.cursor.col=L+J.length,Q.colDesired=Q.cursor.col,Q.dirty=!0,Q}function uJ(Z){let J=_(Z);NJ(J);let Q=J.lines[J.cursor.row]??"",q=Math.min(J.cursor.col,Q.length);return J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,1,Q.slice(0,q),Q.slice(q)),J.cursor.row++,J.cursor.col=0,J.colDesired=0,J.dirty=!0,J}function pJ(Z){let J=_(Z);if(J.cursor.col===0&&J.cursor.row===0)return J;if(NJ(J),J.lines=J.lines.slice(),J.cursor.col>0){let Q=J.lines[J.cursor.row]??"";J.lines[J.cursor.row]=Q.slice(0,J.cursor.col-1)+Q.slice(J.cursor.col),J.cursor.col--}else if(J.cursor.row>0){let Q=J.lines[J.cursor.row-1]??"",q=J.lines[J.cursor.row]??"";J.cursor.col=Q.length,J.lines.splice(J.cursor.row-1,2,Q+q),J.cursor.row--}return J.colDesired=J.cursor.col,J.dirty=!0,J}function aJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"";if(Q.length===0)return J;return u(J),J.lines=J.lines.slice(),J.lines[J.cursor.row]=Q.slice(0,J.cursor.col)+Q.slice(J.cursor.col+1),l(J)}function nJ(Z){let J=_(Z);if(u(J),J.register=[J.lines[J.cursor.row]??""],J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,1),J.lines.length===0)J.lines=[""];return J.cursor.col=0,J.colDesired=0,l(J)}function iJ(Z){let J=_(Z);return J.register=[J.lines[J.cursor.row]??""],J.message="1 line yanked",J}function lJ(Z){if(Z.register.length===0)return Z;let J=_(Z);return u(J),J.lines=J.lines.slice(),J.lines.splice(J.cursor.row+1,0,...J.register),J.cursor.row+=1,J.cursor.col=0,J.colDesired=0,l(J)}function rJ(Z){if(Z.register.length===0)return Z;let J=_(Z);return u(J),J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,0,...J.register),J.cursor.col=0,J.colDesired=0,l(J)}function oJ(Z){let J=_(Z);return u(J),J.pendingInsert=!1,J.lines=J.lines.slice(),J.lines.splice(J.cursor.row+1,0,""),J.cursor.row+=1,J.cursor.col=0,J.colDesired=0,J.mode="insert",J}function sJ(Z){let J=_(Z);return u(J),J.pendingInsert=!1,J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,0,""),J.cursor.col=0,J.colDesired=0,J.mode="insert",J}function tJ(Z){if(Z.undo.length===0){let q=_(Z);return q.message="Already at oldest change",q}let J=_(Z),Q=J.undo[J.undo.length-1];return J.redo=[...J.redo,KJ(J)].slice(-200),J.undo=J.undo.slice(0,-1),J.lines=Q.lines.slice(),J.cursor={...Q.cursor},J.dirty=!0,l(J)}function eJ(Z){if(Z.redo.length===0){let q=_(Z);return q.message="Already at newest change",q}let J=_(Z),Q=J.redo[J.redo.length-1];return J.undo=[...J.undo,KJ(J)].slice(-200),J.redo=J.redo.slice(0,-1),J.lines=Q.lines.slice(),J.cursor={...Q.cursor},J.dirty=!0,l(J)}function JZ(Z){let J=Z.trim();if(J==="")return{kind:"none"};if(/^\d+$/.test(J))return{kind:"goto",line:parseInt(J,10)};switch(J){case"w":return{kind:"write",force:!1};case"w!":return{kind:"write",force:!0};case"q":return{kind:"quit",force:!1};case"q!":return{kind:"quit",force:!0};case"wq":case"x":return{kind:"writeQuit",force:!1};case"wq!":return{kind:"writeQuit",force:!0};default:return{kind:"invalid",raw:J}}}function ZZ(Z,J){let Q=_(Z);return Q.cursor.row=Math.min(Math.max(0,J-1),Math.max(0,Q.lines.length-1)),Q.cursor.col=Math.min(Q.colDesired,z(Q)),Q}var JJ;var $Z=i(()=>{JJ=/[\p{L}\p{N}_]/u});import{dirname as Q0,relative as X0,resolve as Y0,sep as QZ}from"path";function XZ(Z,J){if(!Z)return"";if(Z.kind==="file"){let Q=Q0(Z.file.path);return Q==="."?"":`${Q}/`}if(Z.kind==="dir"){let Q=`${J}${q0}`,q=Z.key.startsWith(Q)?Z.key.slice(Q.length):"";return q?`${q}/`:""}return""}function YZ(Z,J){let Q=J.trim();if(!Q)return{ok:!1,message:"Empty file name"};if(Q.endsWith("/"))return{ok:!1,message:"Not a file name"};let q=Y0(Z,Q),L=Z.endsWith(QZ)?Z:Z+QZ;if(q!==Z&&!q.startsWith(L))return{ok:!1,message:"Path escapes project root"};return{ok:!0,relPath:X0(Z,q),fullPath:q}}var q0="\x00";var qZ=()=>{};function U0(Z,J,Q,q){let L="",B=0;for(let M of Z)if(M==="\t"){let I=ZJ-B%ZJ;L+=" ".repeat(I),B+=I}else L+=M,B+=1;let S="";for(let M=J;M<J+Q;M++){let I=L[M]??" ";if(q!==void 0&&M===q)S+=`${G0}${I}${AJ}`;else S+=I}return S}function _Z({highlighter:Z,lines:J,cursor:Q,focused:q,height:L,width:B,readOnlyNotice:S}){let M=VZ.useRef(0);if(S)return H(R,{flexDirection:"column",children:H(W,{dimColor:!0,italic:!0,children:S})});let I=Math.max(2,String(J.length).length),a=I+2,g=Math.max(1,B-a),T=J[Q.row]??"",P=Z?Z.displayColOf(T,Q.col):K0(T,Q.col),o=P<g?0:P-g+1,b=M.current;if(Q.row<b)b=Q.row;else if(Q.row>=b+L)b=Q.row-L+1;b=Math.min(Math.max(0,b),Math.max(0,J.length-L)),M.current=b;let n=[];for(let E=b;E<b+L;E++){if(E>=J.length){n.push(`${GZ} ${"~".padStart(I)} ${AJ}`);continue}let h=`${GZ} ${String(E+1).padStart(I)} ${AJ}`,d=q&&E===Q.row?P:void 0,N=Z?Z.renderLineWindow(J[E],o,g,d):U0(J[E],o,g,d);n.push(h+N)}return H(R,{flexDirection:"column",width:"100%",children:H(NZ,{lines:n,width:B})})}function K0(Z,J){let Q=0,q=Math.min(J,Z.length);for(let L=0;L<q;L++)if(Z[L]==="\t")Q+=ZJ-Q%ZJ;else Q+=1;return Q}var VZ,GZ="\x1B[2m",AJ="\x1B[0m",G0="\x1B[7m",ZJ=4;var LZ=i(()=>{WJ();r();VZ=UZ(KZ(),1)});function AZ(Z){let J=new HZ;return J.loadFromFileList(Z),J}function _0(Z,J,Q){if(Z<=Q)return{start:0,end:Z};let q=Math.max(0,J-Math.floor(Q/2)),L=Math.min(Z,q+Q);return q=Math.max(0,L-Q),{start:q,end:L}}function WZ({query:Z,results:J,selected:Q,width:q,maxVisible:L}){let{start:B,end:S}=_0(J.length,Q,L),M=Math.max(4,q-4);return p(R,{flexDirection:"column",children:[p(W,{children:[H(W,{dimColor:!0,children:"❯ "}),Z,H(W,{dimColor:!0,children:"▏"})]}),J.length===0?H(W,{dimColor:!0,children:Z?"no matches":"type to search files"}):J.slice(B,S).map((I,a)=>{let T=B+a===Q;return H(W,{inverse:T,bold:T,dimColor:!T,children:`${T?"▸ ":" "}${BZ(I.path,M)}`},I.path)})]})}var IZ=i(()=>{V0();WJ();N0();r()});function OJ(Z,J){let Q=J.map((q)=>({path:q,linesAdded:0,linesRemoved:0,isBinary:!1,isLargeFile:!1,isTruncated:!1}));return{root:Z,name:"",branch:"",files:Q,hunks:new Map}}function OZ(Z,J){return IJ([Z],J)}function MZ(Z){let J=new Set;for(let Q of IJ([Z],new Set))if(Q.kind==="dir"&&Q.depth===0)J.add(Q.key);return J}var DZ=i(()=>{L0()});import{existsSync as vZ,mkdirSync as bZ,renameSync as z0,statSync as MJ,unlinkSync as P0}from"fs";import{basename as j0,dirname as SZ,resolve as DJ}from"path";function C0(Z){if(Z.isUntracked)return"untracked";if(Z.isNewFile)return"new";if(Z.renamedFrom)return"renamed";return"modified"}function w0(Z){return{content:` ${Z} `,position:"top",align:"start"}}function W1({onDone:Z,context:J}){let{columns:Q,rows:q}=wZ(),[L]=RZ();gZ("explorer-dialog",!0);let B=K.useMemo(()=>FZ(),[]),S=CZ()&&Q>=100,M=Math.max(30,Math.min(50,Math.round(Q*0.3))),I=Math.max(6,q-12),a=I+2,g=Math.max(20,Q-M-10),T=S?Math.max(3,I-2):15,[P,o]=K.useState(null),[b,n]=K.useState(new Set),[E,h]=K.useState(0),[y,d]=K.useState("tree"),[N,e]=K.useState(null),[A,D]=K.useState(null),[bJ,j]=K.useState(""),[F,m]=K.useState(null),[v,w]=K.useState(null),[s,$J]=K.useState(null),k=K.useRef(null);K.useEffect(()=>{let Y=!0;return vJ().then((X)=>{if(!Y)return;o(X),n(MZ(OJ(B,X)))}),()=>{Y=!1}},[B]);let SJ=K.useMemo(()=>OJ(B,P??[]),[B,P]),EJ=K.useMemo(()=>OZ(SJ,b),[SJ,b]),FJ=K.useMemo(()=>AZ(P??[]),[P]),QJ=K.useMemo(()=>F?FJ.search(F.query,50):[],[FJ,F]),zJ=hZ(K.useMemo(()=>[B],[B]),K.useMemo(()=>[B],[B])),c=K.useMemo(()=>zJ.groups.flatMap((Y)=>Y.files),[zJ.groups]),dZ=K.useMemo(()=>{let Y=new Map;for(let X of c)Y.set(X.path,R0[C0(X)]??"yellow");return Y},[c]),PJ=K.useMemo(()=>{if(c.length===0)return[];let Y=b.has(EZ),X=[{kind:"group",key:EZ,name:"Changed",meta:`${c.length} ${c.length===1?"file":"files"}`,branch:"",repoIndex:0,collapsed:Y,depth:0}];if(!Y)for(let $ of[...c].sort((G,U)=>G.path.localeCompare(U.path)))X.push({kind:"file",file:$,root:B,hunks:[],depth:0,guides:""});return X},[c,b,B]),f=K.useMemo(()=>[...PJ,...EJ],[PJ,EJ]),cZ=K.useMemo(()=>{if(!N||N.notice)return null;let Y=xZ();return Y?new Y(N.fullPath,N.firstLine,L):null},[N,L]);K.useEffect(()=>{if(E>f.length-1)h(Math.max(0,f.length-1))},[f.length,E]);let XJ=()=>Z("Explorer closed",{display:"system"}),V=(Y)=>D((X)=>X?Y(X):X);function YJ(Y){n((X)=>{let $=new Set(X);if($.has(Y))$.delete(Y);else $.add(Y);return $})}function qJ(){fZ(),vJ().then(o).catch(C)}function t(Y,X){k.current=null;let $=DJ(X,Y),G;try{G=MJ($)}catch(x){C(x),j(`Cannot open ${Y}`);return}if(G.size>T0){e({relPath:Y,fullPath:$,root:X,encoding:"utf8",lineEnding:"LF",finalNewline:!0,firstLine:null,mtimeMs:G.mtimeMs,notice:"File too large to edit (>2MB) — read-only"}),D(UJ("")),d("editor");return}let U;try{U=zZ($)}catch(x){C(x),j(`Cannot read ${Y}`);return}let O=U.content;e({relPath:Y,fullPath:$,root:X,encoding:U.encoding,lineEnding:U.lineEndings,finalNewline:O.endsWith(`
|
|
5
|
+
`),firstLine:O.split(`
|
|
6
|
+
`,1)[0]??null,mtimeMs:G.mtimeMs,notice:O.includes("\x00")?"Binary file — not editable":null}),D(UJ(O)),d("editor")}function uZ(Y){if(!N||!A)return{ok:!1,message:"No file"};if(N.notice)return{ok:!1,message:"File is read-only"};if(!Y)try{if(MJ(N.fullPath).mtimeMs!==N.mtimeMs)return{ok:!1,message:"File changed on disk — :w! to overwrite"}}catch(U){C(U)}let X=kJ(A.lines,N.finalNewline);try{PZ(N.fullPath,X,N.encoding,N.lineEnding)}catch(U){return C(U),{ok:!1,message:"Write failed"}}let $=N.mtimeMs;try{$=MJ(N.fullPath).mtimeMs,J.readFileState?.set(N.fullPath,{content:X,timestamp:$,offset:void 0,limit:void 0})}catch(U){C(U)}e((U)=>U?{...U,mtimeMs:$}:U),D((U)=>U?{...U,dirty:!1}:U);let G=A.lines.length;return{ok:!0,message:`"${N.relPath}" ${G}L written`}}function pZ(Y,X){if(X.escape||X.ctrl&&Y==="c"||Y==="q"){XJ();return}let $=f[E];if(Y==="g"){if(k.current==="g")k.current=null,h(0);else k.current="g";return}if(k.current=null,X.downArrow||Y==="j")h((G)=>Math.min(f.length-1,G+1));else if(X.upArrow||Y==="k")h((G)=>Math.max(0,G-1));else if(Y==="G")h(Math.max(0,f.length-1));else if(X.rightArrow||Y==="l"){if(!$)return;if($.kind==="file")t($.file.path,$.root);else if($.collapsed)YJ($.key)}else if(X.leftArrow||Y==="h"){if($&&$.kind!=="file"&&!$.collapsed)YJ($.key)}else if(X.return){if(!$)return;if($.kind==="file")t($.file.path,$.root);else YJ($.key)}else if(Y==="/")m({query:"",selected:0});else if(Y==="@"){if($?.kind==="file")jJ($.file.path)}else if(Y==="a")w({kind:"create",value:XZ($,B)});else if(Y==="d")if($?.kind==="file")$J({relPath:$.file.path,root:$.root});else j("Select a file to delete");else if(Y==="r")if($?.kind==="file")w({kind:"rename",from:$.file.path,root:$.root,value:$.file.path});else j("Select a file to rename")}function aZ(Y,X){if(!v)return;if(X.escape){w(null);return}if(X.return){let $=YZ(B,v.value);if(!$.ok){j($.message),w(null);return}if(v.kind==="create"){let O=vZ($.fullPath);if(w(null),!O)try{bZ(SZ($.fullPath),{recursive:!0}),jZ($.fullPath,"",{encoding:"utf8"}),qJ()}catch(x){C(x),j(`Cannot create ${$.relPath}`);return}if(t($.relPath,B),!O)D((x)=>x?HJ(x,"i"):x);return}let G=DJ(v.root,v.from);if($.fullPath!==G&&vZ($.fullPath)){j(`Target exists: ${$.relPath}`),w(null);return}let U=N?.fullPath===G;w(null);try{bZ(SZ($.fullPath),{recursive:!0}),z0(G,$.fullPath),J.readFileState?.delete(G),qJ(),j(`Renamed → ${$.relPath}`)}catch(O){C(O),j(`Cannot rename ${v.from}`);return}if(U)t($.relPath,B);return}if(X.backspace||X.delete){w(($)=>$?{...$,value:$.value.slice(0,-1)}:$);return}if(Y&&!X.ctrl&&!X.meta)w(($)=>$?{...$,value:$.value+Y}:$)}function nZ(Y){if(!s)return;if(Y!=="y"&&Y!=="Y"){$J(null);return}let{relPath:X,root:$}=s,G=DJ($,X);$J(null);try{if(P0(G),J.readFileState?.delete(G),qJ(),j(`Deleted ${X}`),N?.fullPath===G)GJ()}catch(U){C(U),j(`Cannot delete ${X}`)}}function jJ(Y){Z(void 0,{nextInput:`@${Y} `})}function iZ(Y,X){if(!A)return;if(X.ctrl&&Y==="c"){XJ();return}if(A.mode==="command"){if(X.escape)D((G)=>G?{...G,mode:"normal",command:""}:G);else if(X.return)lZ(A.command);else if(X.backspace||X.delete)D((G)=>{if(!G)return G;let U=G.command.slice(0,-1);return{...G,command:U,mode:U===""?"normal":"command"}});else if(Y&&!X.ctrl&&!X.meta)D((G)=>G?{...G,command:G.command+Y}:G);return}if(A.mode==="insert"){if(X.escape)V(dJ);else if(X.return)V(uJ);else if(X.backspace||X.delete)V(pJ);else if(Y&&!X.ctrl&&!X.meta)V((G)=>cJ(G,Y));return}let $=!N?.notice;if(k.current){let G=k.current;if(k.current=null,G==="d"&&Y==="d"){if($)V(nJ)}else if(G==="y"&&Y==="y")V(iJ);else if(G==="g"&&Y==="g")V(mJ);return}if(X.escape){d("tree");return}if(X.ctrl&&Y==="r"){if($)V(eJ);return}switch(Y){case"d":case"y":case"g":k.current=Y;return;case"i":case"a":case"A":case"I":if($)V((G)=>HJ(G,Y));return;case"o":if($)V(oJ);return;case"O":if($)V(sJ);return;case"x":if($)V(aJ);return;case"p":if($)V(lJ);return;case"P":if($)V(rJ);return;case"u":if($)V(tJ);return;case"h":V(VJ);return;case"l":V(_J);return;case"j":V(BJ);return;case"k":V(LJ);return;case"w":V(hJ);return;case"b":V(yJ);return;case"0":V(xJ);return;case"$":V(gJ);return;case"G":V(fJ);return;case":":D((G)=>G?{...G,mode:"command",command:"",message:""}:G);return;case"/":m({query:"",selected:0});return;case"@":if(N)jJ(N.relPath);return}if(X.leftArrow)V(VJ);else if(X.rightArrow)V(_J);else if(X.downArrow)V(BJ);else if(X.upArrow)V(LJ)}function lZ(Y){let X=JZ(Y);if(X.kind==="none"){D((U)=>U?{...U,mode:"normal",command:""}:U);return}if(X.kind==="invalid"){D((U)=>U?{...U,mode:"normal",command:"",message:`Not a command: :${X.raw}`}:U);return}if(X.kind==="goto"){D((U)=>U?{...ZZ(U,X.line),mode:"normal",command:""}:U);return}let $=X.kind==="write"||X.kind==="writeQuit",G=X.kind==="quit"||X.kind==="writeQuit";if($){let U=uZ(X.force);if(!U.ok){D((O)=>O?{...O,mode:"normal",command:"",message:U.message}:O);return}if(G){GJ();return}D((O)=>O?{...O,mode:"normal",command:"",message:U.message}:O);return}if(A?.dirty&&!X.force){D((U)=>U?{...U,mode:"normal",command:"",message:"No write since last change (:q! to discard)"}:U);return}GJ()}function GJ(){e(null),D(null),d("tree")}function rZ(Y,X){if(X.escape){m(null);return}if(X.return){let $=QJ[F?.selected??0];if(m(null),$)t($.path,B);return}if(X.upArrow)m(($)=>$?{...$,selected:Math.max(0,$.selected-1)}:$);else if(X.downArrow)m(($)=>$?{...$,selected:Math.min(QJ.length-1,$.selected+1)}:$);else if(X.backspace||X.delete)m(($)=>$?{...$,query:$.query.slice(0,-1),selected:0}:$);else if(Y&&!X.ctrl&&!X.meta)m(($)=>$?{...$,query:$.query+Y,selected:0}:$)}TZ((Y,X)=>{let $=X;if(v)aZ(Y,$);else if(s)nZ(Y);else if(F)rZ(Y,$);else if(y==="tree")pZ(Y,$);else iZ(Y,$)});let oZ=H(W,{dimColor:!0,children:` ${j0(B)} ${P?`${P.length} files`:"loading…"}`}),RJ=P===null?H(W,{dimColor:!0,children:"Loading project files…"}):f.length===0?H(W,{dimColor:!0,children:"No files"}):H(yZ,{rows:f,selectedIndex:E,maxVisible:T,width:S?M-2:Q-4,statusByPath:dZ,alignFiles:!0}),CJ=N&&A?H(_Z,{highlighter:cZ,lines:A.lines,cursor:A.cursor,focused:y==="editor",height:I,width:g,readOnlyNotice:N.notice}):H(W,{dimColor:!0,children:"Select a file and press Enter to open it."}),sZ=(()=>{if(s)return`Delete "${s.relPath}"? (y/n)`;if(v?.kind==="create")return"type name · enter create · esc cancel";if(v?.kind==="rename")return"new name · enter rename · esc cancel";if(F)return"type to find · ↑/↓ select · enter open · esc cancel";if(A?.mode==="command")return`:${A.command}`;if(A?.mode==="insert")return"-- INSERT --";if(A?.message)return A.message;if(bJ)return bJ;if(y==="editor")return"NORMAL · i insert · / find · @ chat · :w save · :q quit · esc tree";return"j/k move · l/enter open · a new · d del · r ren · / find · @ chat · q close"})(),tZ=N?`${N.relPath}${A?.dirty?" [+]":""} ${(A?.cursor.row??0)+1}:${(A?.cursor.col??0)+1}`:"Editor",TJ=v?H(R,{flexDirection:"column",children:p(W,{children:[H(W,{dimColor:!0,children:`${v.kind==="create"?"new":"rename"} ❯ `}),v.value,H(W,{dimColor:!0,children:"▏"})]})}):null,wJ=TJ?TJ:F?H(WZ,{query:F.query,results:QJ,selected:F.selected,width:g,maxVisible:I}):CJ,eZ=v?v.kind==="create"?"New file":"Rename":F?"Find file":tZ,J0={content:`${" ".repeat(4+(mZ()?2:0))}Files `,position:"top",align:"start"},Z0=S?p(R,{flexDirection:"row",gap:1,children:[H(R,{width:M,flexShrink:0,height:a,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="tree"?"permission":"subtle",borderText:J0,children:RJ}),H(R,{flexGrow:1,height:a,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:v||F||y==="editor"?"permission":"subtle",borderText:w0(eZ),children:wJ})]}):H(R,{flexDirection:"column",marginTop:1,children:v||F?wJ:y==="tree"?RJ:CJ});return p(kZ,{title:H(W,{bold:!0,children:"Explorer"}),onCancel:XJ,color:"background",hideInputGuide:!0,isCancelActive:!1,children:[oZ,Z0,H(W,{dimColor:!0,italic:!0,children:sZ})]})}var K,R0,EZ="\x00explorer-changed",T0=2097152;var k0=i(()=>{v0();S0();O0();E0();WJ();B0();A0();H0();I0();W0();b0();M0();F0();D0();$Z();qZ();LZ();IZ();DZ();r();K=UZ(KZ(),1),R0={modified:"yellow",new:"green",untracked:"green",renamed:"cyan"}});k0();export{W1 as ExplorerDialog};
|