@claudiolabs/claudin 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +207 -0
- package/README.md +91 -0
- package/bin/claudin +152 -0
- package/dist/chunks/AgentTool-0.5.7-0krqsszm.mjs +1 -0
- package/dist/chunks/App-0.5.7-k8c6xsbz.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.7-djmd358f.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.7-40f5p134.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.7-dgpfkf7n.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.7-m2n3zekg.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.7-8p2b9258.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.7-e11rkgsy.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.7-df3q0dyx.mjs +3 -0
- package/dist/chunks/Doctor-0.5.7-996gqph8.mjs +1 -0
- package/dist/chunks/Grove-0.5.7-7xphv8qp.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.7-rv5t26my.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.7-76awdeqe.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.7-d59ky2sv.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.7-nkkcryn5.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.7-v3jtvbkn.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.7-92navbez.mjs +1 -0
- package/dist/chunks/REPL-0.5.7-6zag11mg.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.7-hpgm4f1s.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.7-xrverbhp.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.7-xn5z7dt4.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.7-s29rrsak.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.7-3r5mn1za.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.7-k3c0537z.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.7-mybq3qz5.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.7-r4dhznyf.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.7-8emdm8j8.mjs +1 -0
- package/dist/chunks/add-dir-0.5.7-jwaavdc7.mjs +1 -0
- package/dist/chunks/agents-0.5.7-e7dajmrs.mjs +110 -0
- package/dist/chunks/agents-0.5.7-q2vtj7pt.mjs +3 -0
- package/dist/chunks/api-0.5.7-j8bn129y.mjs +1 -0
- package/dist/chunks/asciicast-0.5.7-rp1h8swq.mjs +1 -0
- package/dist/chunks/assistant-0.5.7-sfk22b3z.mjs +1 -0
- package/dist/chunks/auth-0.5.7-ez3n1qpx.mjs +1 -0
- package/dist/chunks/auth-0.5.7-khssh83t.mjs +1 -0
- package/dist/chunks/autoMode-0.5.7-ezn856pd.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.7-dkw2aw1e.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.7-9ejvx75r.mjs +1 -0
- package/dist/chunks/branch-0.5.7-cjbtbwg1.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.7-5z0vqchx.mjs +1 -0
- package/dist/chunks/btw-0.5.7-p3kbd1wf.mjs +1 -0
- package/dist/chunks/buddy-0.5.7-pa55rfb4.mjs +3 -0
- package/dist/chunks/cacache-0.5.7-anq54jwq.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.7-6j5hzxc4.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.7-e1byp2n2.mjs +4 -0
- package/dist/chunks/caches-0.5.7-w8n6wxaj.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.7-5kkyx4pz.mjs +1 -0
- package/dist/chunks/claudemd-0.5.7-jb7byep9.mjs +1 -0
- package/dist/chunks/clear-0.5.7-tkh04z2c.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.7-mbqev32s.mjs +1 -0
- package/dist/chunks/cli-0.5.7-023jpnwm.mjs +2 -0
- package/dist/chunks/cli-0.5.7-08mn1pmc.mjs +5 -0
- package/dist/chunks/cli-0.5.7-0bv1xcbe.mjs +21 -0
- package/dist/chunks/cli-0.5.7-0df5m6td.mjs +2 -0
- package/dist/chunks/cli-0.5.7-0rvzfmhb.mjs +2 -0
- package/dist/chunks/cli-0.5.7-0s7wtvbz.mjs +2 -0
- package/dist/chunks/cli-0.5.7-1fmgwk5c.mjs +2 -0
- package/dist/chunks/cli-0.5.7-1kmeaqmc.mjs +2 -0
- package/dist/chunks/cli-0.5.7-20cz322w.mjs +2 -0
- package/dist/chunks/cli-0.5.7-23hg3t0h.mjs +2 -0
- package/dist/chunks/cli-0.5.7-258ytmbr.mjs +2 -0
- package/dist/chunks/cli-0.5.7-26pwg6gg.mjs +2 -0
- package/dist/chunks/cli-0.5.7-2h4rgwc9.mjs +2 -0
- package/dist/chunks/cli-0.5.7-2qxsy7jq.mjs +12 -0
- package/dist/chunks/cli-0.5.7-2tnvc3ka.mjs +2 -0
- package/dist/chunks/cli-0.5.7-2xm61gkr.mjs +5 -0
- package/dist/chunks/cli-0.5.7-2ytftsg5.mjs +2 -0
- package/dist/chunks/cli-0.5.7-31969syr.mjs +2 -0
- package/dist/chunks/cli-0.5.7-31hdc2nc.mjs +2 -0
- package/dist/chunks/cli-0.5.7-35yf0b84.mjs +2 -0
- package/dist/chunks/cli-0.5.7-3jrq7w6x.mjs +2 -0
- package/dist/chunks/cli-0.5.7-3xssm25z.mjs +2 -0
- package/dist/chunks/cli-0.5.7-469r2a5r.mjs +193 -0
- package/dist/chunks/cli-0.5.7-4eg4pktt.mjs +2 -0
- package/dist/chunks/cli-0.5.7-4gmpny6k.mjs +133 -0
- package/dist/chunks/cli-0.5.7-4zv4np07.mjs +2 -0
- package/dist/chunks/cli-0.5.7-500c5b8m.mjs +4 -0
- package/dist/chunks/cli-0.5.7-52mwnwy6.mjs +58 -0
- package/dist/chunks/cli-0.5.7-55zn2cct.mjs +4 -0
- package/dist/chunks/cli-0.5.7-5736yt36.mjs +2 -0
- package/dist/chunks/cli-0.5.7-5aghfr8k.mjs +3 -0
- package/dist/chunks/cli-0.5.7-5by4fby4.mjs +2 -0
- package/dist/chunks/cli-0.5.7-5e5xfeq6.mjs +2 -0
- package/dist/chunks/cli-0.5.7-5jaayymr.mjs +17 -0
- package/dist/chunks/cli-0.5.7-5jms2g5g.mjs +2 -0
- package/dist/chunks/cli-0.5.7-5kv9dgvn.mjs +2 -0
- package/dist/chunks/cli-0.5.7-5mrw857q.mjs +4 -0
- package/dist/chunks/cli-0.5.7-5q6tfz39.mjs +2 -0
- package/dist/chunks/cli-0.5.7-650e2qk4.mjs +18 -0
- package/dist/chunks/cli-0.5.7-67xxeffj.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6d26vvaa.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6g3w68ks.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6gfay8ap.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6gkpb0vw.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6pssgqdn.mjs +2 -0
- package/dist/chunks/cli-0.5.7-6thqe6p4.mjs +3 -0
- package/dist/chunks/cli-0.5.7-73er78b7.mjs +15 -0
- package/dist/chunks/cli-0.5.7-7a9gq9ff.mjs +2 -0
- package/dist/chunks/cli-0.5.7-7hm7dxyp.mjs +2 -0
- package/dist/chunks/cli-0.5.7-7k456xwn.mjs +3 -0
- package/dist/chunks/cli-0.5.7-7mmyazqh.mjs +34 -0
- package/dist/chunks/cli-0.5.7-7rgsmfw7.mjs +3 -0
- package/dist/chunks/cli-0.5.7-7wyhqw17.mjs +2 -0
- package/dist/chunks/cli-0.5.7-82x8qaxx.mjs +2 -0
- package/dist/chunks/cli-0.5.7-89fcvfy0.mjs +2 -0
- package/dist/chunks/cli-0.5.7-8ac9d7r6.mjs +2 -0
- package/dist/chunks/cli-0.5.7-8ap24w7a.mjs +2 -0
- package/dist/chunks/cli-0.5.7-8e61g5bq.mjs +10 -0
- package/dist/chunks/cli-0.5.7-8sbq2qed.mjs +2 -0
- package/dist/chunks/cli-0.5.7-8sqyymdb.mjs +2 -0
- package/dist/chunks/cli-0.5.7-8ychjqct.mjs +16 -0
- package/dist/chunks/cli-0.5.7-93eaxn9a.mjs +2 -0
- package/dist/chunks/cli-0.5.7-93k1z52y.mjs +2 -0
- package/dist/chunks/cli-0.5.7-9acdh8nc.mjs +2 -0
- package/dist/chunks/cli-0.5.7-9jck3vts.mjs +15 -0
- package/dist/chunks/cli-0.5.7-9rbmn26q.mjs +24 -0
- package/dist/chunks/cli-0.5.7-9sysdak3.mjs +2 -0
- package/dist/chunks/cli-0.5.7-9ysat94v.mjs +2 -0
- package/dist/chunks/cli-0.5.7-9z55nm22.mjs +3 -0
- package/dist/chunks/cli-0.5.7-9zwbnq8g.mjs +2 -0
- package/dist/chunks/cli-0.5.7-a47hzz3r.mjs +2 -0
- package/dist/chunks/cli-0.5.7-aq7a3646.mjs +2 -0
- package/dist/chunks/cli-0.5.7-ayjrdmrk.mjs +2 -0
- package/dist/chunks/cli-0.5.7-b51h487f.mjs +2 -0
- package/dist/chunks/cli-0.5.7-bkptgahs.mjs +4 -0
- package/dist/chunks/cli-0.5.7-bnapjxz4.mjs +2 -0
- package/dist/chunks/cli-0.5.7-bzrvdrq4.mjs +2 -0
- package/dist/chunks/cli-0.5.7-c1mv1399.mjs +2 -0
- package/dist/chunks/cli-0.5.7-c9dtw94k.mjs +2 -0
- package/dist/chunks/cli-0.5.7-cakvh73p.mjs +2 -0
- package/dist/chunks/cli-0.5.7-d19d4v07.mjs +2 -0
- package/dist/chunks/cli-0.5.7-d4gtv7f7.mjs +2 -0
- package/dist/chunks/cli-0.5.7-de90yre1.mjs +2 -0
- package/dist/chunks/cli-0.5.7-dntg9qbj.mjs +133 -0
- package/dist/chunks/cli-0.5.7-dp3z7wkh.mjs +2 -0
- package/dist/chunks/cli-0.5.7-dr7n1fyv.mjs +20 -0
- package/dist/chunks/cli-0.5.7-e8eqdfnf.mjs +2 -0
- package/dist/chunks/cli-0.5.7-eer6xagb.mjs +2 -0
- package/dist/chunks/cli-0.5.7-esx85d2g.mjs +2 -0
- package/dist/chunks/cli-0.5.7-eyemfxtz.mjs +2 -0
- package/dist/chunks/cli-0.5.7-fx3gesdm.mjs +2 -0
- package/dist/chunks/cli-0.5.7-g2dd5t6j.mjs +2 -0
- package/dist/chunks/cli-0.5.7-g4n7dg2d.mjs +9 -0
- package/dist/chunks/cli-0.5.7-g7k0r0ea.mjs +5 -0
- package/dist/chunks/cli-0.5.7-g8dqk0se.mjs +2 -0
- package/dist/chunks/cli-0.5.7-gcnk0vke.mjs +6 -0
- package/dist/chunks/cli-0.5.7-gnq8vh0c.mjs +2 -0
- package/dist/chunks/cli-0.5.7-gy4csxb5.mjs +2 -0
- package/dist/chunks/cli-0.5.7-h9v4tqbs.mjs +24 -0
- package/dist/chunks/cli-0.5.7-hdcnw5y4.mjs +2 -0
- package/dist/chunks/cli-0.5.7-hhre0h51.mjs +2 -0
- package/dist/chunks/cli-0.5.7-hp25yk8y.mjs +2 -0
- package/dist/chunks/cli-0.5.7-hq4wbper.mjs +11 -0
- package/dist/chunks/cli-0.5.7-hw11qa05.mjs +3 -0
- package/dist/chunks/cli-0.5.7-hw3pyj8g.mjs +2 -0
- package/dist/chunks/cli-0.5.7-j7h72bgz.mjs +2 -0
- package/dist/chunks/cli-0.5.7-j8q5bja8.mjs +2 -0
- package/dist/chunks/cli-0.5.7-jf3f8gen.mjs +2 -0
- package/dist/chunks/cli-0.5.7-jga8kgpr.mjs +2 -0
- package/dist/chunks/cli-0.5.7-jptzskw1.mjs +2 -0
- package/dist/chunks/cli-0.5.7-jw2te6th.mjs +2 -0
- package/dist/chunks/cli-0.5.7-k11mzgcb.mjs +2 -0
- package/dist/chunks/cli-0.5.7-kctf48t4.mjs +7 -0
- package/dist/chunks/cli-0.5.7-knkzkqbw.mjs +2 -0
- package/dist/chunks/cli-0.5.7-kp9pg4sr.mjs +2 -0
- package/dist/chunks/cli-0.5.7-kvazvrra.mjs +2 -0
- package/dist/chunks/cli-0.5.7-ky5khwx2.mjs +2 -0
- package/dist/chunks/cli-0.5.7-m0841vt9.mjs +2 -0
- package/dist/chunks/cli-0.5.7-m4ekdyhj.mjs +2 -0
- package/dist/chunks/cli-0.5.7-m4wwfa6q.mjs +2 -0
- package/dist/chunks/cli-0.5.7-m5q27x96.mjs +2 -0
- package/dist/chunks/cli-0.5.7-m82d23hf.mjs +2 -0
- package/dist/chunks/cli-0.5.7-mdcw5fyw.mjs +4 -0
- package/dist/chunks/cli-0.5.7-mz4njeb9.mjs +39 -0
- package/dist/chunks/cli-0.5.7-mzfr99sc.mjs +67 -0
- package/dist/chunks/cli-0.5.7-p381d4sx.mjs +3 -0
- package/dist/chunks/cli-0.5.7-p4mv49ab.mjs +25 -0
- package/dist/chunks/cli-0.5.7-pse9qff7.mjs +2 -0
- package/dist/chunks/cli-0.5.7-pzjz115k.mjs +2 -0
- package/dist/chunks/cli-0.5.7-q0pq4367.mjs +9 -0
- package/dist/chunks/cli-0.5.7-q2e6xpch.mjs +5281 -0
- package/dist/chunks/cli-0.5.7-q6sgd9ng.mjs +12 -0
- package/dist/chunks/cli-0.5.7-q8v8naf8.mjs +2 -0
- package/dist/chunks/cli-0.5.7-qdcp748z.mjs +2 -0
- package/dist/chunks/cli-0.5.7-qdqrgv1q.mjs +2 -0
- package/dist/chunks/cli-0.5.7-qk0n5hqa.mjs +9 -0
- package/dist/chunks/cli-0.5.7-r4cdt1b9.mjs +50 -0
- package/dist/chunks/cli-0.5.7-ra5kv4tw.mjs +2 -0
- package/dist/chunks/cli-0.5.7-rb75eq83.mjs +2 -0
- package/dist/chunks/cli-0.5.7-rggstqv6.mjs +2 -0
- package/dist/chunks/cli-0.5.7-rr1yd8f3.mjs +4 -0
- package/dist/chunks/cli-0.5.7-rzts2ke3.mjs +2 -0
- package/dist/chunks/cli-0.5.7-s09knvta.mjs +3 -0
- package/dist/chunks/cli-0.5.7-s5nd54ga.mjs +3 -0
- package/dist/chunks/cli-0.5.7-sb3fjts4.mjs +2 -0
- package/dist/chunks/cli-0.5.7-sjd6g3n6.mjs +15 -0
- package/dist/chunks/cli-0.5.7-sjx0wm99.mjs +2 -0
- package/dist/chunks/cli-0.5.7-skfm51ta.mjs +44 -0
- package/dist/chunks/cli-0.5.7-sx7pr75m.mjs +2 -0
- package/dist/chunks/cli-0.5.7-t6mtpr04.mjs +2 -0
- package/dist/chunks/cli-0.5.7-t8z48kc2.mjs +4 -0
- package/dist/chunks/cli-0.5.7-tbga87q3.mjs +2 -0
- package/dist/chunks/cli-0.5.7-tc3vm4ra.mjs +2 -0
- package/dist/chunks/cli-0.5.7-tgq7dtyz.mjs +2 -0
- package/dist/chunks/cli-0.5.7-tpjjm1z2.mjs +45 -0
- package/dist/chunks/cli-0.5.7-tqn2ged5.mjs +2 -0
- package/dist/chunks/cli-0.5.7-twqt7rxq.mjs +6 -0
- package/dist/chunks/cli-0.5.7-vgc7nzef.mjs +2 -0
- package/dist/chunks/cli-0.5.7-vk8p3n59.mjs +2 -0
- package/dist/chunks/cli-0.5.7-vn5aht50.mjs +2 -0
- package/dist/chunks/cli-0.5.7-vvrg78m6.mjs +2 -0
- package/dist/chunks/cli-0.5.7-vy4r02pg.mjs +4 -0
- package/dist/chunks/cli-0.5.7-vyxaeh82.mjs +2 -0
- package/dist/chunks/cli-0.5.7-w024nwsf.mjs +2 -0
- package/dist/chunks/cli-0.5.7-w16wj21h.mjs +2 -0
- package/dist/chunks/cli-0.5.7-w1bf9y93.mjs +3 -0
- package/dist/chunks/cli-0.5.7-w2fb8g6y.mjs +2 -0
- package/dist/chunks/cli-0.5.7-w50j12vv.mjs +2 -0
- package/dist/chunks/cli-0.5.7-w6nex68w.mjs +2 -0
- package/dist/chunks/cli-0.5.7-wz2cbwxt.mjs +4 -0
- package/dist/chunks/cli-0.5.7-x0n9mq65.mjs +2 -0
- package/dist/chunks/cli-0.5.7-x1azmh1g.mjs +2 -0
- package/dist/chunks/cli-0.5.7-x1w96j6d.mjs +59 -0
- package/dist/chunks/cli-0.5.7-x7dabprd.mjs +2 -0
- package/dist/chunks/cli-0.5.7-x8t1aeey.mjs +2 -0
- package/dist/chunks/cli-0.5.7-xepvraxn.mjs +2 -0
- package/dist/chunks/cli-0.5.7-xn6deh04.mjs +6 -0
- package/dist/chunks/cli-0.5.7-y2vc4xb6.mjs +12 -0
- package/dist/chunks/cli-0.5.7-y3pa8ttm.mjs +2 -0
- package/dist/chunks/cli-0.5.7-yaywev87.mjs +2 -0
- package/dist/chunks/cli-0.5.7-ycj2xr53.mjs +3 -0
- package/dist/chunks/cli-0.5.7-yzncgfs4.mjs +18 -0
- package/dist/chunks/cli-0.5.7-z1n09m4p.mjs +2 -0
- package/dist/chunks/cli-0.5.7-z97pranc.mjs +2 -0
- package/dist/chunks/cli-0.5.7-za19q18c.mjs +2 -0
- package/dist/chunks/cli-0.5.7-zb8ztx8p.mjs +2 -0
- package/dist/chunks/cli-0.5.7-zkw2fx86.mjs +2 -0
- package/dist/chunks/client-0.5.7-bqw74z29.mjs +1 -0
- package/dist/chunks/color-0.5.7-v1s3bvcj.mjs +1 -0
- package/dist/chunks/compact-0.5.7-7kxsprp5.mjs +3 -0
- package/dist/chunks/config-0.5.7-e41nnxnm.mjs +1 -0
- package/dist/chunks/config-0.5.7-q40ykcbb.mjs +1 -0
- package/dist/chunks/context-0.5.7-qvcehmj5.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.7-02tkje0w.mjs +1 -0
- package/dist/chunks/conversation-0.5.7-h7r20gzw.mjs +1 -0
- package/dist/chunks/copy-0.5.7-p3xxq9b3.mjs +9 -0
- package/dist/chunks/cost-0.5.7-s3rzm0vd.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.7-s9fc5f1h.mjs +1 -0
- package/dist/chunks/createSession-0.5.7-4e64teqm.mjs +1 -0
- package/dist/chunks/debug-0.5.7-v8bqkmzm.mjs +1 -0
- package/dist/chunks/desktop-0.5.7-tna0yskx.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.7-3dy7yz89.mjs +1 -0
- package/dist/chunks/detection-0.5.7-39zsjy8t.mjs +1 -0
- package/dist/chunks/diff-0.5.7-9ywmnxmx.mjs +1 -0
- package/dist/chunks/doctor-0.5.7-ty5zxpem.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.7-g458bh9g.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.7-x73yj3dn.mjs +1 -0
- package/dist/chunks/effort-0.5.7-h76k43fj.mjs +10 -0
- package/dist/chunks/envUtils-0.5.7-w1t7akfc.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.7-5dsnr0sv.mjs +1 -0
- package/dist/chunks/environments-0.5.7-pqh2gnjb.mjs +1 -0
- package/dist/chunks/errors-0.5.7-pa0hz043.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.7-3dtjxdad.mjs +1 -0
- package/dist/chunks/exit-0.5.7-0wrw77gk.mjs +1 -0
- package/dist/chunks/export-0.5.7-zw9rbf4j.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.7-rfya84j0.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.7-a1b9ndnm.mjs +1 -0
- package/dist/chunks/fast-0.5.7-2p6srbep.mjs +1 -0
- package/dist/chunks/feedback-0.5.7-181z18rn.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.7-xndd9dd0.mjs +1 -0
- package/dist/chunks/git-0.5.7-7gyptyxn.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.7-9zhn44n6.mjs +1 -0
- package/dist/chunks/growthbook-0.5.7-1mynkk8j.mjs +1 -0
- package/dist/chunks/headless-0.5.7-9f87m6f5.mjs +2 -0
- package/dist/chunks/heapdump-0.5.7-ns6mqawv.mjs +6 -0
- package/dist/chunks/help-0.5.7-px56h6fs.mjs +1 -0
- package/dist/chunks/hookChains-0.5.7-1a6qvexe.mjs +3 -0
- package/dist/chunks/hooks-0.5.7-azm2m6rs.mjs +79 -0
- package/dist/chunks/hooks-0.5.7-fyp8e3f5.mjs +1 -0
- package/dist/chunks/ide-0.5.7-v9hbn8cp.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.7-e41p58ef.mjs +1 -0
- package/dist/chunks/index-0.5.7-0tncgnn3.mjs +1 -0
- package/dist/chunks/index-0.5.7-30mrmtkn.mjs +1 -0
- package/dist/chunks/index-0.5.7-62s7cp1b.mjs +1 -0
- package/dist/chunks/index-0.5.7-69akvbm4.mjs +1 -0
- package/dist/chunks/index-0.5.7-6y6f5cws.mjs +1 -0
- package/dist/chunks/index-0.5.7-7w3agvzm.mjs +10 -0
- package/dist/chunks/index-0.5.7-8jwymzr6.mjs +1 -0
- package/dist/chunks/index-0.5.7-8m53gyr6.mjs +9 -0
- package/dist/chunks/index-0.5.7-ct6jw15p.mjs +2 -0
- package/dist/chunks/index-0.5.7-dr470b86.mjs +1 -0
- package/dist/chunks/index-0.5.7-e4rvp0fn.mjs +1 -0
- package/dist/chunks/index-0.5.7-fkw6rn8z.mjs +1 -0
- package/dist/chunks/index-0.5.7-h1xjcbtb.mjs +1 -0
- package/dist/chunks/index-0.5.7-ma3xmxv3.mjs +2 -0
- package/dist/chunks/index-0.5.7-qn7zmh31.mjs +9 -0
- package/dist/chunks/index-0.5.7-rd44m0e6.mjs +30 -0
- package/dist/chunks/index-0.5.7-te1s21zz.mjs +5 -0
- package/dist/chunks/index-0.5.7-vm9zmzmr.mjs +1 -0
- package/dist/chunks/index-0.5.7-wpffxvtn.mjs +1 -0
- package/dist/chunks/index-0.5.7-wwfn7x53.mjs +1 -0
- package/dist/chunks/index-0.5.7-ybcvbcjt.mjs +1 -0
- package/dist/chunks/index-0.5.7-yw3tp60c.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.7-xpy8ap8n.mjs +1 -0
- package/dist/chunks/ink-0.5.7-dwmx157s.mjs +1 -0
- package/dist/chunks/insights-0.5.7-5fpd27dr.mjs +870 -0
- package/dist/chunks/install-0.5.7-6sc73ew8.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.7-jcyktynf.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.7-mk4a14ww.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.7-116w6tf4.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.7-zbfkwcsb.mjs +1 -0
- package/dist/chunks/keybindings-0.5.7-k2s0bryc.mjs +2 -0
- package/dist/chunks/knowledge-0.5.7-55b2ckth.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.7-k9pyxzrk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.7-9bmbg04z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.7-bcdwwerp.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.7-mdt3yvfc.mjs +1 -0
- package/dist/chunks/log-0.5.7-wcft0eyv.mjs +1 -0
- package/dist/chunks/main-0.5.7-9sxhszx9.mjs +1236 -0
- package/dist/chunks/managedEnv-0.5.7-k4gyyt60.mjs +1 -0
- package/dist/chunks/mcp-0.5.7-9z74evcf.mjs +1 -0
- package/dist/chunks/mcp-0.5.7-djz3mjw4.mjs +4 -0
- package/dist/chunks/mcp-0.5.7-n62qd49c.mjs +17 -0
- package/dist/chunks/mcpb-0.5.7-bqt73vjr.mjs +1 -0
- package/dist/chunks/memory-0.5.7-chxjrvf2.mjs +3 -0
- package/dist/chunks/mobile-0.5.7-y0cn32br.mjs +2 -0
- package/dist/chunks/model-0.5.7-7mt2xn7w.mjs +1 -0
- package/dist/chunks/model-0.5.7-fdhr0cwa.mjs +2 -0
- package/dist/chunks/oauth-0.5.7-xf0qbv6v.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.7-0cejk3sb.mjs +14 -0
- package/dist/chunks/output-style-0.5.7-t5qc5jxe.mjs +1 -0
- package/dist/chunks/package-APBHZ5F3-0.5.7-7bp8s9sg.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.7-903apk0t.mjs +1 -0
- package/dist/chunks/parser-0.5.7-jnq01hth.mjs +1 -0
- package/dist/chunks/passes-0.5.7-nk3fgxyh.mjs +1 -0
- package/dist/chunks/permissions-0.5.7-q7whkp76.mjs +3 -0
- package/dist/chunks/plan-0.5.7-w5hgy3s7.mjs +1 -0
- package/dist/chunks/plist-0.5.7-jwz5qjtz.mjs +1 -0
- package/dist/chunks/plugin-0.5.7-x7xcey6d.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.7-gy2e0dge.mjs +1 -0
- package/dist/chunks/plugins-0.5.7-2ehzph1a.mjs +9 -0
- package/dist/chunks/print-0.5.7-mjx6j0dk.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.7-rkmc34t8.mjs +1 -0
- package/dist/chunks/process-0.5.7-8c0qwpv6.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.7-czwzjsj9.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.7-512rz16m.mjs +9 -0
- package/dist/chunks/prompt-0.5.7-r8ewyzer.mjs +1 -0
- package/dist/chunks/prompt-0.5.7-z98k679g.mjs +1 -0
- package/dist/chunks/prompts-0.5.7-g8mh8as5.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.7-p86as7s6.mjs +13 -0
- package/dist/chunks/provider-0.5.7-x4t1g0nh.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.7-dz70g8ys.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.5.7-n282sweb.mjs +1 -0
- package/dist/chunks/registry-0.5.7-h8q8eay6.mjs +1 -0
- package/dist/chunks/release-notes-0.5.7-2h20frk0.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.7-z50apk74.mjs +2 -0
- package/dist/chunks/remote-env-0.5.7-08abe77m.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.7-jdasqn18.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.7-nq05jhdv.mjs +1 -0
- package/dist/chunks/rename-0.5.7-812j1w4d.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.7-aa3cp3ea.mjs +1 -0
- package/dist/chunks/resume-0.5.7-weq0rn3m.mjs +2 -0
- package/dist/chunks/rewind-0.5.7-y54y78kx.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.7-tb5qenm4.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.7-nxcpekeq.mjs +1 -0
- package/dist/chunks/session-0.5.7-ky2s0856.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.7-wr82xcxs.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.7-0j8f4we0.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.7-qghsxmr2.mjs +1 -0
- package/dist/chunks/settings-0.5.7-xa4hccmb.mjs +1 -0
- package/dist/chunks/setup-0.5.7-s4yfpbyd.mjs +5 -0
- package/dist/chunks/sinks-0.5.7-feq030bq.mjs +1 -0
- package/dist/chunks/skills-0.5.7-h2r9d209.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.7-f44bsnqn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.7-7ff14fag.mjs +1 -0
- package/dist/chunks/state-0.5.7-cwk8b4cx.mjs +1 -0
- package/dist/chunks/stats-0.5.7-wd077xj7.mjs +6 -0
- package/dist/chunks/status-0.5.7-5qy7pnk9.mjs +1 -0
- package/dist/chunks/stickers-0.5.7-7s145w6d.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.7-5dv3w3xn.mjs +1 -0
- package/dist/chunks/tasks-0.5.7-q79z0h3e.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.7-b8qf5f0d.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.7-kvmjwag8.mjs +1 -0
- package/dist/chunks/teleport-0.5.7-x740q45r.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.7-z8ytqt6q.mjs +1 -0
- package/dist/chunks/theme-0.5.7-9asaqpc9.mjs +1 -0
- package/dist/chunks/thinkback-0.5.7-6bzqdm8h.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.7-5m54zaez.mjs +1 -0
- package/dist/chunks/toolPool-0.5.7-5rd6jp71.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.7-wgqasfmq.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.7-5qbzragc.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.7-3fjybn8j.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.7-98p7mn4r.mjs +4 -0
- package/dist/chunks/update-0.5.7-2jgnt5gj.mjs +86 -0
- package/dist/chunks/upgrade-0.5.7-1fa84f4g.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.7-1p7vn612.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.7-312p1719.mjs +1 -0
- package/dist/chunks/usage-0.5.7-qrsabcka.mjs +1 -0
- package/dist/chunks/util-0.5.7-tpzcah5j.mjs +1 -0
- package/dist/chunks/utils-0.5.7-8a2ekyr5.mjs +1 -0
- package/dist/chunks/vim-0.5.7-w4e8vpjf.mjs +1 -0
- package/dist/chunks/watcher-0.5.7-cj50b60x.mjs +1 -0
- package/dist/chunks/wiki-0.5.7-ccjdtg8v.mjs +132 -0
- package/dist/chunks/worktree-0.5.7-g8wrf9zf.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.7-w4jdaq8p.mjs +1 -0
- package/dist/chunks/wrapper-0.5.7-8k82xd0n.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +7 -0
- package/package.json +141 -0
- package/scripts/v8cache-gc.mjs +84 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
CLAUDIN SOURCE-AVAILABLE LICENSE
|
|
2
|
+
Version 1.1 — 16 May 2026
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2026 Claudinlabs ("Licensor"). All rights reserved.
|
|
5
|
+
|
|
6
|
+
This license governs use of the accompanying software, including its
|
|
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.
|
|
11
|
+
|
|
12
|
+
0. DEFINITIONS
|
|
13
|
+
|
|
14
|
+
"You" (or "Your") means the individual or single legal entity
|
|
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.
|
|
18
|
+
|
|
19
|
+
"Organization" means the single legal entity in which You operate,
|
|
20
|
+
together with its employees, contractors, and agents acting within
|
|
21
|
+
the scope of their engagement with that entity.
|
|
22
|
+
|
|
23
|
+
"Local Use" means installing and executing the Software on hardware
|
|
24
|
+
owned or controlled by You or Your Organization, where the Software
|
|
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.
|
|
29
|
+
|
|
30
|
+
"Upstream Project" means Claude Code, originally published by
|
|
31
|
+
Anthropic, PBC, from which portions of the Software are derived.
|
|
32
|
+
|
|
33
|
+
1. GRANT OF RIGHTS
|
|
34
|
+
|
|
35
|
+
Subject to Your continued compliance with the terms of this license,
|
|
36
|
+
the Licensor grants You a worldwide, non-exclusive, non-transferable,
|
|
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 —
|
package/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Claudin
|
|
2
|
+
|
|
3
|
+
A coding-agent CLI that works across multiple model providers — Anthropic, OpenAI-compatible APIs, Gemini, Mistral, GitHub Copilot, ChatGPT, Ollama, Bedrock, Vertex, Foundry, and more — with one consistent terminal workflow.
|
|
4
|
+
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g @claudiolabs/claudin@latest
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Requires Node 20+. Works on Linux, macOS, and Windows.
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
claudin
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
On first run, Claudin opens the `/provider` wizard. Pick a preset, enter credentials, and start working — no environment variables required.
|
|
24
|
+
|
|
25
|
+
## Providers
|
|
26
|
+
|
|
27
|
+
Configure from inside the REPL with `/provider`:
|
|
28
|
+
|
|
29
|
+
- **Anthropic** — API key or OAuth
|
|
30
|
+
- **OpenAI-compatible** — DeepSeek, Groq, OpenRouter, LM Studio, Together, Novita AI, NVIDIA NIM, and any OpenAI-compatible base URL
|
|
31
|
+
- **Google** — Gemini (API key, ADC, or OAuth)
|
|
32
|
+
- **Mistral** — API key
|
|
33
|
+
- **ChatGPT** — Codex OAuth
|
|
34
|
+
- **GitHub** — Copilot (device flow)
|
|
35
|
+
- **Local** — Ollama
|
|
36
|
+
- **Cloud** — Bedrock, Vertex, Foundry
|
|
37
|
+
- **Custom** — any OpenAI-compatible endpoint
|
|
38
|
+
|
|
39
|
+
Run `/provider doctor` to check your active profile, or `/provider migrate` to import a legacy `~/.claude/` config.
|
|
40
|
+
|
|
41
|
+
## Slash Commands
|
|
42
|
+
|
|
43
|
+
| Command | Description |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `/provider` | Manage provider profiles and credentials |
|
|
46
|
+
| `/model` | Change the active model |
|
|
47
|
+
| `/plan` | Enter plan mode (explore before coding) |
|
|
48
|
+
| `/review` | Code review |
|
|
49
|
+
| `/commit` | Commit changes |
|
|
50
|
+
| `/mcp` | Manage MCP servers |
|
|
51
|
+
| `/memory` | View and manage project memory |
|
|
52
|
+
| `/hooks` | Configure event hooks |
|
|
53
|
+
| `/usage` / `/cost` | Token and cost tracking |
|
|
54
|
+
| `/config` | Settings |
|
|
55
|
+
| `/resume` | Resume a previous session |
|
|
56
|
+
| `/fast` | Toggle fast mode |
|
|
57
|
+
| `/help` | List all commands |
|
|
58
|
+
|
|
59
|
+
## Features
|
|
60
|
+
|
|
61
|
+
- **Multi-provider** — one CLI, every major model provider
|
|
62
|
+
- **Tools** — file I/O, grep, glob, bash, web search/fetch, notebook editing
|
|
63
|
+
- **Sub-agents** — spawn specialized agents in parallel
|
|
64
|
+
- **MCP** — connect external tool servers (filesystem, databases, APIs)
|
|
65
|
+
- **Auto-memory** — persistent per-project notes under `~/.claudin/projects/`
|
|
66
|
+
- **gRPC headless** — run `claudin --grpc` for programmatic access
|
|
67
|
+
- **VS Code** — [extension](vscode-extension/claudin-vscode) for launch integration and themes
|
|
68
|
+
|
|
69
|
+
## Source Build
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
bun install && bun run build && node dist/cli.mjs
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Other commands:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
bun run dev # build + run
|
|
79
|
+
bun run smoke # build + version check
|
|
80
|
+
bun test # full test suite
|
|
81
|
+
bun run typecheck # tsc --noEmit
|
|
82
|
+
bun run verify:privacy # scan for phone-home patterns
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Disclaimer
|
|
86
|
+
|
|
87
|
+
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.
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
See [LICENSE](LICENSE). Free for personal and internal development use — redistribution and sale are not permitted.
|
package/bin/claudin
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Claudin — Claude Code with any LLM
|
|
5
|
+
*
|
|
6
|
+
* If dist/cli.mjs exists (built), run that.
|
|
7
|
+
* Otherwise, tell the user to build first or use `bun run dev`.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { spawnSync } from 'child_process'
|
|
11
|
+
import { existsSync, mkdirSync } from 'fs'
|
|
12
|
+
import * as module from 'module'
|
|
13
|
+
import { homedir } from 'os'
|
|
14
|
+
import { join, dirname } from 'path'
|
|
15
|
+
import { fileURLToPath, pathToFileURL } from 'url'
|
|
16
|
+
|
|
17
|
+
// V8 default old-space cap is 4 GB on 64-bit. Long Opus/Gemini sessions can
|
|
18
|
+
// hit it (parsed bundle + React/Ink tree + tool-result strings + cached file
|
|
19
|
+
// contents) before the heap-pressure autocompact trigger fires. Re-exec
|
|
20
|
+
// once with a higher cap so the trigger has room to run summary before OOM.
|
|
21
|
+
// Override via CLAUDIN_MAX_HEAP_MB; opt out with CLAUDIN_NO_HEAP_BUMP=1.
|
|
22
|
+
const HEAP_BUMP_SENTINEL = '_CLAUDIN_HEAP_BUMPED'
|
|
23
|
+
if (
|
|
24
|
+
!process.env[HEAP_BUMP_SENTINEL] &&
|
|
25
|
+
process.env.CLAUDIN_NO_HEAP_BUMP !== '1' &&
|
|
26
|
+
!(process.env.NODE_OPTIONS || '').includes('max-old-space-size') &&
|
|
27
|
+
!process.execArgv.some(a => a.startsWith('--max-old-space-size'))
|
|
28
|
+
) {
|
|
29
|
+
const heapMB = process.env.CLAUDIN_MAX_HEAP_MB || '8192'
|
|
30
|
+
// --expose-gc lets the runtime hint V8 to mark-sweep at natural release
|
|
31
|
+
// points (post-compact, post-subagent cleanup) instead of waiting for an
|
|
32
|
+
// allocation-driven GC. Negligible perf overhead; opt out via
|
|
33
|
+
// CLAUDIN_NO_HEAP_BUMP=1 if needed.
|
|
34
|
+
|
|
35
|
+
// Memory allocator strategy for long-running REPL sessions:
|
|
36
|
+
// 1. jemalloc (preferred) — aggressive dirty-page purging, low fragmentation,
|
|
37
|
+
// RSS drops after GC. Used by Redis, Firefox, Chrome (PartitionAlloc cousin).
|
|
38
|
+
// 2. glibc malloc fallback — with MALLOC_TRIM/MMAP thresholds so freed pages
|
|
39
|
+
// return to the OS. Better than mimalloc (V8 default) which retains pages.
|
|
40
|
+
// Opt out via CLAUDIN_MALLOC=default (use V8's built-in allocator as-is).
|
|
41
|
+
const mallocEnv = {}
|
|
42
|
+
const mallocStrategy = process.env.CLAUDIN_MALLOC || 'auto'
|
|
43
|
+
let ldPreload = process.env.LD_PRELOAD || ''
|
|
44
|
+
|
|
45
|
+
if (mallocStrategy !== 'default') {
|
|
46
|
+
// Candidate jemalloc paths (common distro locations)
|
|
47
|
+
const jemallocPaths = [
|
|
48
|
+
'/usr/lib/x86_64-linux-gnu/libjemalloc.so.2', // Debian/Ubuntu
|
|
49
|
+
'/usr/lib64/libjemalloc.so.2', // RHEL/Fedora
|
|
50
|
+
'/usr/lib/libjemalloc.so.2', // Alpine/Arch
|
|
51
|
+
'/usr/lib/aarch64-linux-gnu/libjemalloc.so.2', // ARM64 Debian/Ubuntu
|
|
52
|
+
]
|
|
53
|
+
const jemallocPath = jemallocPaths.find(p => {
|
|
54
|
+
try { return existsSync(p) } catch { return false }
|
|
55
|
+
})
|
|
56
|
+
|
|
57
|
+
if (jemallocPath) {
|
|
58
|
+
// jemalloc found — prepend to LD_PRELOAD
|
|
59
|
+
ldPreload = ldPreload ? `${jemallocPath}:${ldPreload}` : jemallocPath
|
|
60
|
+
} else if (mallocStrategy === 'jemalloc') {
|
|
61
|
+
// User explicitly requested jemalloc but it's not installed
|
|
62
|
+
console.warn('claudin: CLAUDIN_MALLOC=jemalloc but libjemalloc not found. Falling back to glibc malloc tuning.')
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// glibc malloc tuning (harmless under jemalloc — it ignores env vars it
|
|
67
|
+
// doesn't recognize, and these are glibc-specific). Only set when NOT
|
|
68
|
+
// using jemalloc (or as a fallback when jemalloc isn't available).
|
|
69
|
+
if (!ldPreload.includes('jemalloc') && mallocStrategy !== 'default') {
|
|
70
|
+
mallocEnv.MALLOC_MMAP_THRESHOLD_ = process.env.MALLOC_MMAP_THRESHOLD_ || '131072'
|
|
71
|
+
mallocEnv.MALLOC_TRIM_THRESHOLD_ = process.env.MALLOC_TRIM_THRESHOLD_ || '65536'
|
|
72
|
+
mallocEnv.MALLOC_MMAP_MAX_ = process.env.MALLOC_MMAP_MAX_ || '0'
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const result = spawnSync(
|
|
76
|
+
process.execPath,
|
|
77
|
+
[`--max-old-space-size=${heapMB}`, '--expose-gc', ...process.execArgv, fileURLToPath(import.meta.url), ...process.argv.slice(2)],
|
|
78
|
+
{
|
|
79
|
+
stdio: 'inherit',
|
|
80
|
+
env: {
|
|
81
|
+
...process.env,
|
|
82
|
+
[HEAP_BUMP_SENTINEL]: '1',
|
|
83
|
+
// libuv thread pool default is 4 — every fs/dns/crypto/zlib op shares
|
|
84
|
+
// it. With concurrent Read/Glob/Grep/WebFetch under one turn the pool
|
|
85
|
+
// queues. Bumping to 10 gives the agent enough parallelism for
|
|
86
|
+
// typical multi-tool dispatches without the overhead of unbounded
|
|
87
|
+
// pools. Costs ~6 idle threads at ~100 KB native each (~600 KB).
|
|
88
|
+
// Respects pre-existing UV_THREADPOOL_SIZE if user set their own.
|
|
89
|
+
UV_THREADPOOL_SIZE: process.env.UV_THREADPOOL_SIZE || '10',
|
|
90
|
+
...(ldPreload ? { LD_PRELOAD: ldPreload } : {}),
|
|
91
|
+
...mallocEnv,
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
)
|
|
95
|
+
process.exit(result.status ?? 1)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
99
|
+
const distPath = join(__dirname, '..', 'dist', 'cli.mjs')
|
|
100
|
+
|
|
101
|
+
// V8 bytecode cache for the 21 MB bundle. ~250 ms saved on every warm launch
|
|
102
|
+
// (measured); first run after each build pays ~120 ms to populate. Must be
|
|
103
|
+
// enabled before the dynamic import below so V8 reuses cached bytecode for
|
|
104
|
+
// the bundle. NODE_COMPILE_CACHE env var only applies at process startup, so
|
|
105
|
+
// we use the programmatic API (Node ≥22.8 / ≥20.18). Pre-existing env var
|
|
106
|
+
// or NODE_DISABLE_COMPILE_CACHE=1 are respected.
|
|
107
|
+
if (
|
|
108
|
+
typeof module.enableCompileCache === 'function' &&
|
|
109
|
+
process.env.NODE_DISABLE_COMPILE_CACHE !== '1' &&
|
|
110
|
+
!process.env.NODE_COMPILE_CACHE
|
|
111
|
+
) {
|
|
112
|
+
const cacheRoot = process.env.CLAUDIN_CONFIG_DIR || join(homedir(), '.claudin')
|
|
113
|
+
const v8Cache = join(cacheRoot, 'v8cache')
|
|
114
|
+
try {
|
|
115
|
+
mkdirSync(v8Cache, { recursive: true })
|
|
116
|
+
module.enableCompileCache(v8Cache)
|
|
117
|
+
} catch {
|
|
118
|
+
// Non-fatal: launcher continues without cache.
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Lazy GC of stale entries. Node's enableCompileCache never reclaims old
|
|
122
|
+
// entries, and after code-splitting the cache accumulates hundreds of
|
|
123
|
+
// chunks per build. Sweep async after enabling cache (V8 only touches
|
|
124
|
+
// entries matching current bundle hash; stale ones are orphans).
|
|
125
|
+
// Opt out via CLAUDIN_V8CACHE_GC=0; tune via CLAUDIN_V8CACHE_TTL_DAYS.
|
|
126
|
+
if (process.env.CLAUDIN_V8CACHE_GC !== '0') {
|
|
127
|
+
const ttlDays = Number(process.env.CLAUDIN_V8CACHE_TTL_DAYS) || 14
|
|
128
|
+
if (ttlDays > 0) {
|
|
129
|
+
const gcUrl = pathToFileURL(join(__dirname, '..', 'scripts', 'v8cache-gc.mjs')).href
|
|
130
|
+
import(gcUrl)
|
|
131
|
+
.then(m => m.gcV8Cache(v8Cache, { ttlDays }))
|
|
132
|
+
.catch(() => {}) // Non-fatal.
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
if (existsSync(distPath)) {
|
|
138
|
+
await import(pathToFileURL(distPath).href)
|
|
139
|
+
} else {
|
|
140
|
+
console.error(`
|
|
141
|
+
claudin: dist/cli.mjs not found.
|
|
142
|
+
|
|
143
|
+
Build first:
|
|
144
|
+
bun run build
|
|
145
|
+
|
|
146
|
+
Or run directly with Bun:
|
|
147
|
+
bun run dev
|
|
148
|
+
|
|
149
|
+
See README.md for setup instructions.
|
|
150
|
+
`)
|
|
151
|
+
process.exit(1)
|
|
152
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{TF as a,UF as b,VF as c,WF as d}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{vb as L}from"./cli-0.5.7-3jrq7w6x.mjs";import{wb as K}from"./cli-0.5.7-j8q5bja8.mjs";import{vd as J,wd as V}from"./cli-0.5.7-qdcp748z.mjs";import"./cli-0.5.7-2ytftsg5.mjs";import"./cli-0.5.7-hhre0h51.mjs";import{Ut as I,Yt as U}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import{rV as R}from"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import{PY as z,RY as H}from"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Vma as Q}from"./cli-0.5.7-258ytmbr.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{ga as a}from"./cli-0.5.7-kvazvrra.mjs";import"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";export{a as ApproveApiKey};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-258ytmbr.mjs";function n(s){return null}export{n as AssistantSessionChooser};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mb as a,nb as b}from"./cli-0.5.7-82x8qaxx.mjs";import"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";export{b as AutoModeOptInDialog,a as AUTO_MODE_DESCRIPTION};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$h as d,HD as C,JD as R,di as T,dm as S,em as M}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import{KW as _,MW as m,QW as h,UW as b,pX as I,rV as E}from"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import{PY as o,QY as a,RY as f}from"./cli-0.5.7-vgc7nzef.mjs";import{SY as A}from"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import{G$ as y,T$ as N}from"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import{Nea as p,Pea as D}from"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Vma as g}from"./cli-0.5.7-258ytmbr.mjs";D();I();T();N();R();M();f();var P=g(E(),1),B=g(A(),1);function q(w){let e=P.c(7),{onAccept:r}=w,n;if(e[0]===Symbol.for("react.memo_cache_sentinel"))n=[],e[0]=n;else n=e[0];B.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, Claude Code 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: Claude Code running in Bypass Permissions mode",color:"error",onCancel:k,children:[i,o(C,{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{Nf as a,Of as b}from"./cli-0.5.7-9zwbnq8g.mjs";import"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";b();export{a as ClaudeMdExternalIncludesDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mF as a,oF as b}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";b();export{a as ConsoleOAuthFlow};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{$l as H1,BD as f1,ED as G0,Vl as l1,Wl as Y0,am as Z0,cu as F1,dm as n1,du as A0,em as z0,it as m1,jt as B1,kt as c1}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import{AU as P1,OU as j1,PU as X0,VU as a,WU as t1,zU as X1}from"./cli-0.5.7-7a9gq9ff.mjs";import{KW as _,MW as Y,pX as R1,rV as p1}from"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import{PY as X,QY as E,RY as d}from"./cli-0.5.7-vgc7nzef.mjs";import{SY as V1}from"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import{K6 as h1,L6 as q0,S8 as e1,Z_ as i,f$ as S1,y8 as M1}from"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import{Tca as v1,fda as C0}from"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import{Zda as k1,_da as s1}from"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Vma as x,Zma as r}from"./cli-0.5.7-258ytmbr.mjs";function E1(){let[Q,A]=w.useState(null),[W,C]=w.useState(new Map),[U,R]=w.useState(!0);return w.useEffect(()=>{let J=!1;async function V(){try{let[N,Z]=await Promise.all([m1(),B1()]);if(!J)A(N),C(Z),R(!1)}catch(N){if(!J)A(null),C(new Map),R(!1)}}return V(),()=>{J=!0}},[]),w.useMemo(()=>{if(!Q)return{stats:null,files:[],hunks:new Map,loading:U};let{stats:J,perFileStats:V}=Q,N=[];for(let[Z,q]of V){let L=W.get(Z),p=q.isUntracked??!1,H=!q.isBinary&&!p&&!L,G=q.added+q.removed,k=!H&&!q.isBinary&&G>r1;N.push({path:Z,linesAdded:q.added,linesRemoved:q.removed,isBinary:q.isBinary,isLargeFile:H,isTruncated:k,isUntracked:p})}return N.sort((Z,q)=>Z.path.localeCompare(q.path)),{stats:J,files:N,hunks:W,loading:!1}},[Q,W,U])}var w,r1=400;var b1=r(()=>{c1();w=x(V1(),1)});function a1(Q){if(!Q||typeof Q!=="object")return!1;let A=Q,W=typeof A.filePath==="string",C=Array.isArray(A.structuredPatch)&&A.structuredPatch.length>0,U=A.type==="create"&&typeof A.content==="string";return W&&(C||U)}function u1(Q){return"type"in Q&&(Q.type==="create"||Q.type==="update")}function i1(Q){let A=0,W=0;for(let C of Q)for(let U of C.lines)if(U.startsWith("+"))A++;else if(U.startsWith("-"))W++;return{added:A,removed:W}}function $1(Q){if(Q.type!=="user")return"";let A=Q.message.content,W=typeof A==="string"?A:"";if(W.length<=30)return W;return W.slice(0,29)+"…"}function I1(Q){let A=0,W=0;for(let C of Q.files.values())A+=C.linesAdded,W+=C.linesRemoved;Q.stats={filesChanged:Q.files.size,linesAdded:A,linesRemoved:W}}function y1(Q){let A=Q1.useRef({completedTurns:[],currentTurn:null,lastProcessedIndex:0,lastTurnIndex:0});return Q1.useMemo(()=>{let W=A.current;if(Q.length<W.lastProcessedIndex)W.completedTurns=[],W.currentTurn=null,W.lastProcessedIndex=0,W.lastTurnIndex=0;for(let U=W.lastProcessedIndex;U<Q.length;U++){let R=Q[U];if(!R||R.type!=="user")continue;if(!(R.toolUseResult||Array.isArray(R.message.content)&&R.message.content[0]?.type==="tool_result")&&!R.isMeta){if(W.currentTurn&&W.currentTurn.files.size>0)I1(W.currentTurn),W.completedTurns.push(W.currentTurn);W.lastTurnIndex++,W.currentTurn={turnIndex:W.lastTurnIndex,userPromptPreview:$1(R),timestamp:R.timestamp,files:new Map,stats:{filesChanged:0,linesAdded:0,linesRemoved:0}}}else if(W.currentTurn&&R.toolUseResult){let V=R.toolUseResult;if(a1(V)){let{filePath:N,structuredPatch:Z}=V,q="type"in V&&V.type==="create",L=W.currentTurn.files.get(N);if(!L)L={filePath:N,hunks:[],isNewFile:q,linesAdded:0,linesRemoved:0},W.currentTurn.files.set(N,L);if(q&&Z.length===0&&u1(V)){let H=V.content.split(`
|
|
2
|
+
`),G={oldStart:0,oldLines:0,newStart:1,newLines:H.length,lines:H.map((k)=>"+"+k)};L.hunks.push(G),L.linesAdded+=H.length}else{L.hunks.push(...Z);let{added:p,removed:H}=i1(Z);L.linesAdded+=p,L.linesRemoved+=H}if(q)L.isNewFile=!0}}}W.lastProcessedIndex=Q.length;let C=[...W.completedTurns];if(W.currentTurn&&W.currentTurn.files.size>0)I1(W.currentTurn),C.push(W.currentTurn);return C.reverse()},[Q])}var Q1;var _1=r(()=>{Q1=x(V1(),1)});import{resolve as W0}from"path";function g1(Q){let A=T1.c(53),{filePath:W,hunks:C,isLargeFile:U,isBinary:R,isTruncated:J,isUntracked:V}=Q,{columns:N}=X1(),Z;A:{if(!W){let M;if(A[0]===Symbol.for("react.memo_cache_sentinel"))M={firstLine:null,fileContent:void 0},A[0]=M;else M=A[0];Z=M;break A}let O,B;if(A[1]!==W){let M=W0(k1(),W);O=M1(M),B=O?.split(`
|
|
3
|
+
`)[0]??null,A[1]=W,A[2]=O,A[3]=B}else O=A[2],B=A[3];let b=O??void 0,I;if(A[4]!==B||A[5]!==b)I={firstLine:B,fileContent:b},A[4]=B,A[5]=b,A[6]=I;else I=A[6];Z=I}let{firstLine:q,fileContent:L}=Z;if(V){let O;if(A[7]!==W)O=X(Y,{bold:!0,children:W}),A[7]=W,A[8]=O;else O=A[8];let B;if(A[9]===Symbol.for("react.memo_cache_sentinel"))B=X(Y,{dimColor:!0,children:" (untracked)"}),A[9]=B;else B=A[9];let b;if(A[10]!==O)b=E(_,{children:[O,B]}),A[10]=O,A[11]=b;else b=A[11];let I;if(A[12]===Symbol.for("react.memo_cache_sentinel"))I=X(a,{padding:4}),A[12]=I;else I=A[12];let M;if(A[13]===Symbol.for("react.memo_cache_sentinel"))M=X(Y,{dimColor:!0,italic:!0,children:"New file not yet staged."}),A[13]=M;else M=A[13];let P;if(A[14]!==W)P=E(_,{flexDirection:"column",children:[M,E(Y,{dimColor:!0,italic:!0,children:["Run `git add ",W,"` to see line counts."]})]}),A[14]=W,A[15]=P;else P=A[15];let T;if(A[16]!==b||A[17]!==P)T=E(_,{flexDirection:"column",width:"100%",children:[b,I,P]}),A[16]=b,A[17]=P,A[18]=T;else T=A[18];return T}if(R){let O;if(A[19]!==W)O=X(_,{children:X(Y,{bold:!0,children:W})}),A[19]=W,A[20]=O;else O=A[20];let B;if(A[21]===Symbol.for("react.memo_cache_sentinel"))B=X(a,{padding:4}),A[21]=B;else B=A[21];let b;if(A[22]===Symbol.for("react.memo_cache_sentinel"))b=X(_,{flexDirection:"column",children:X(Y,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"})}),A[22]=b;else b=A[22];let I;if(A[23]!==O)I=E(_,{flexDirection:"column",width:"100%",children:[O,B,b]}),A[23]=O,A[24]=I;else I=A[24];return I}if(U){let O;if(A[25]!==W)O=X(_,{children:X(Y,{bold:!0,children:W})}),A[25]=W,A[26]=O;else O=A[26];let B;if(A[27]===Symbol.for("react.memo_cache_sentinel"))B=X(a,{padding:4}),A[27]=B;else B=A[27];let b;if(A[28]===Symbol.for("react.memo_cache_sentinel"))b=X(_,{flexDirection:"column",children:X(Y,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"})}),A[28]=b;else b=A[28];let I;if(A[29]!==O)I=E(_,{flexDirection:"column",width:"100%",children:[O,B,b]}),A[29]=O,A[30]=I;else I=A[30];return I}let p;if(A[31]!==W)p=X(Y,{bold:!0,children:W}),A[31]=W,A[32]=p;else p=A[32];let H;if(A[33]!==J)H=J&&X(Y,{dimColor:!0,children:" (truncated)"}),A[33]=J,A[34]=H;else H=A[34];let G;if(A[35]!==p||A[36]!==H)G=E(_,{children:[p,H]}),A[35]=p,A[36]=H,A[37]=G;else G=A[37];let k;if(A[38]===Symbol.for("react.memo_cache_sentinel"))k=X(a,{padding:4}),A[38]=k;else k=A[38];let m;if(A[39]!==N||A[40]!==L||A[41]!==W||A[42]!==q||A[43]!==C)m=C.length===0?X(Y,{dimColor:!0,children:"No diff content"}):C.map((O,B)=>X(F1,{patch:O,filePath:W,firstLine:q,fileContent:L,dim:!1,width:N-2-2},B)),A[39]=N,A[40]=L,A[41]=W,A[42]=q,A[43]=C,A[44]=m;else m=A[44];let y;if(A[45]!==m)y=X(_,{flexDirection:"column",children:m}),A[45]=m,A[46]=y;else y=A[46];let z;if(A[47]!==J)z=J&&X(Y,{dimColor:!0,italic:!0,children:"… diff truncated (exceeded 400 line limit)"}),A[47]=J,A[48]=z;else z=A[48];let K;if(A[49]!==G||A[50]!==y||A[51]!==z)K=E(_,{flexDirection:"column",width:"100%",children:[G,k,y,z]}),A[49]=G,A[50]=y,A[51]=z,A[52]=K;else K=A[52];return K}var T1;var w1=r(()=>{P1();R1();s1();e1();t1();A0();d();T1=x(p1(),1)});function o1(Q){let A=Y1.c(36),{files:W,selectedIndex:C}=Q,{columns:U}=X1(),R;A:{if(W.length===0||W.length<=u){let K;if(A[0]!==W.length)K={startIndex:0,endIndex:W.length},A[0]=W.length,A[1]=K;else K=A[1];R=K;break A}let m=Math.max(0,C-Math.floor(u/2)),y=m+u;if(y>W.length)y=W.length,m=Math.max(0,y-u);let z;if(A[2]!==y||A[3]!==m)z={startIndex:m,endIndex:y},A[2]=y,A[3]=m,A[4]=z;else z=A[4];R=z}let{startIndex:J,endIndex:V}=R;if(W.length===0){let m;if(A[5]===Symbol.for("react.memo_cache_sentinel"))m=X(Y,{dimColor:!0,children:"No changed files"}),A[5]=m;else m=A[5];return m}let N,Z,q,L,p,H;if(A[6]!==U||A[7]!==V||A[8]!==W||A[9]!==C||A[10]!==J){let m=W.slice(J,V),y=J>0;Z=V<W.length,q=W.length>u;let z=Math.max(20,U-16-3-4);if(N=_,L="column",A[17]!==y||A[18]!==q||A[19]!==J)p=q&&X(Y,{dimColor:!0,children:y?` ↑ ${J} more ${i(J,"file")}`:" "}),A[17]=y,A[18]=q,A[19]=J,A[20]=p;else p=A[20];let K;if(A[21]!==z||A[22]!==C||A[23]!==J)K=(O,B)=>X(J0,{file:O,isSelected:J+B===C,maxPathWidth:z},O.path),A[21]=z,A[22]=C,A[23]=J,A[24]=K;else K=A[24];H=m.map(K),A[6]=U,A[7]=V,A[8]=W,A[9]=C,A[10]=J,A[11]=N,A[12]=Z,A[13]=q,A[14]=L,A[15]=p,A[16]=H}else N=A[11],Z=A[12],q=A[13],L=A[14],p=A[15],H=A[16];let G;if(A[25]!==V||A[26]!==W.length||A[27]!==Z||A[28]!==q)G=q&&X(Y,{dimColor:!0,children:Z?` ↓ ${W.length-V} more ${i(W.length-V,"file")}`:" "}),A[25]=V,A[26]=W.length,A[27]=Z,A[28]=q,A[29]=G;else G=A[29];let k;if(A[30]!==N||A[31]!==L||A[32]!==p||A[33]!==H||A[34]!==G)k=E(N,{flexDirection:L,children:[p,H,G]}),A[30]=N,A[31]=L,A[32]=p,A[33]=H,A[34]=G,A[35]=k;else k=A[35];return k}function J0(Q){let A=Y1.c(14),{file:W,isSelected:C,maxPathWidth:U}=Q,R;if(A[0]!==W.path||A[1]!==U)R=v1(W.path,U),A[0]=W.path,A[1]=U,A[2]=R;else R=A[2];let J=R,N=`${C?h1.pointer+" ":" "}${J}`,Z=C?"background":void 0,q;if(A[3]!==C||A[4]!==N||A[5]!==Z)q=X(Y,{bold:C,color:Z,inverse:C,children:N}),A[3]=C,A[4]=N,A[5]=Z,A[6]=q;else q=A[6];let L;if(A[7]===Symbol.for("react.memo_cache_sentinel"))L=X(_,{flexGrow:1}),A[7]=L;else L=A[7];let p;if(A[8]!==W||A[9]!==C)p=X(Q0,{file:W,isSelected:C}),A[8]=W,A[9]=C,A[10]=p;else p=A[10];let H;if(A[11]!==q||A[12]!==p)H=E(_,{flexDirection:"row",children:[q,L,p]}),A[11]=q,A[12]=p,A[13]=H;else H=A[13];return H}function Q0(Q){let A=Y1.c(20),{file:W,isSelected:C}=Q;if(W.isUntracked){let Z=!C,q;if(A[0]!==Z)q=X(Y,{dimColor:Z,italic:!0,children:"untracked"}),A[0]=Z,A[1]=q;else q=A[1];return q}if(W.isBinary){let Z=!C,q;if(A[2]!==Z)q=X(Y,{dimColor:Z,italic:!0,children:"Binary file"}),A[2]=Z,A[3]=q;else q=A[3];return q}if(W.isLargeFile){let Z=!C,q;if(A[4]!==Z)q=X(Y,{dimColor:Z,italic:!0,children:"Large file modified"}),A[4]=Z,A[5]=q;else q=A[5];return q}let U;if(A[6]!==W.linesAdded||A[7]!==C)U=W.linesAdded>0&&E(Y,{color:"diffAddedWord",bold:C,children:["+",W.linesAdded]}),A[6]=W.linesAdded,A[7]=C,A[8]=U;else U=A[8];let R=W.linesAdded>0&&W.linesRemoved>0&&" ",J;if(A[9]!==W.linesRemoved||A[10]!==C)J=W.linesRemoved>0&&E(Y,{color:"diffRemovedWord",bold:C,children:["-",W.linesRemoved]}),A[9]=W.linesRemoved,A[10]=C,A[11]=J;else J=A[11];let V;if(A[12]!==W.isTruncated||A[13]!==C)V=W.isTruncated&&X(Y,{dimColor:!C,children:" (truncated)"}),A[12]=W.isTruncated,A[13]=C,A[14]=V;else V=A[14];let N;if(A[15]!==U||A[16]!==R||A[17]!==J||A[18]!==V)N=E(Y,{children:[U,R,J,V]}),A[15]=U,A[16]=R,A[17]=J,A[18]=V,A[19]=N;else N=A[19];return N}var Y1,u=5;var D1=r(()=>{q0();P1();R1();C0();S1();d();Y1=x(p1(),1)});function K0(Q){let A=Array.from(Q.files.values()).map((C)=>({path:C.filePath,linesAdded:C.linesAdded,linesRemoved:C.linesRemoved,isBinary:!1,isLargeFile:!1,isTruncated:!1,isNewFile:C.isNewFile})).sort((C,U)=>C.path.localeCompare(U.path)),W=new Map;for(let C of Q.files.values())W.set(C.filePath,C.hunks);return{stats:{filesCount:Q.stats.filesChanged,linesAdded:Q.stats.linesAdded,linesRemoved:Q.stats.linesRemoved},files:A,hunks:W,loading:!1}}function u0(Q){let A=x1.c(73),{messages:W,onDone:C}=Q,U=E1(),R=y1(W),[J,V]=g.useState("list"),[N,Z]=g.useState(0),[q,L]=g.useState(0),p;if(A[0]===Symbol.for("react.memo_cache_sentinel"))p={type:"current"},A[0]=p;else p=A[0];let H;if(A[1]!==R)H=[p,...R.map(U0)],A[1]=R,A[2]=H;else H=A[2];let G=H,k=G[q],m=k?.type==="turn"?k.turn:null,y;if(A[3]!==m||A[4]!==U)y=m?K0(m):U,A[3]=m,A[4]=U,A[5]=y;else y=A[5];let z=y,K=z.files[N],O;if(A[6]!==z.hunks||A[7]!==K)O=K?z.hunks.get(K.path)||[]:[],A[6]=z.hunks,A[7]=K,A[8]=O;else O=A[8];let B=O,b,I;if(A[9]!==q||A[10]!==G.length)b=()=>{if(q>=G.length)L(Math.max(0,G.length-1))},I=[G.length,q],A[9]=q,A[10]=G.length,A[11]=b,A[12]=I;else b=A[11],I=A[12];g.useEffect(b,I);let M=g.useRef(q),P,T;if(A[13]!==q)P=()=>{if(M.current!==q)Z(0),M.current=q},T=[q],A[13]=q,A[14]=P,A[15]=T;else P=A[14],T=A[15];g.useEffect(P,T),f1("diff-dialog");let h,v;if(A[16]!==G.length||A[17]!==J)v=()=>{if(J==="detail")V("list");else if(J==="list"&&G.length>1)L(N0)},h=()=>{if(J==="list"&&G.length>1)L((F)=>Math.min(G.length-1,F+1))},A[16]=G.length,A[17]=J,A[18]=h,A[19]=v;else h=A[18],v=A[19];let S;if(A[20]!==J)S=()=>{if(J==="detail")V("list")},A[20]=J,A[21]=S;else S=A[21];let o;if(A[22]!==K||A[23]!==J)o=()=>{if(J==="list"&&K)V("detail")},A[22]=K,A[23]=J,A[24]=o;else o=A[24];let D;if(A[25]!==J)D=()=>{if(J==="list")Z(O0)},A[25]=J,A[26]=D;else D=A[26];let j;if(A[27]!==z.files.length||A[28]!==J)j=()=>{if(J==="list")Z((F)=>Math.min(z.files.length-1,F+1))},A[27]=z.files.length,A[28]=J,A[29]=j;else j=A[29];let $;if(A[30]!==h||A[31]!==S||A[32]!==o||A[33]!==D||A[34]!==j||A[35]!==v)$={"diff:previousSource":v,"diff:nextSource":h,"diff:back":S,"diff:viewDetails":o,"diff:previousFile":D,"diff:nextFile":j},A[30]=h,A[31]=S,A[32]=o,A[33]=D,A[34]=j,A[35]=v,A[36]=$;else $=A[36];let s;if(A[37]===Symbol.for("react.memo_cache_sentinel"))s={context:"DiffDialog"},A[37]=s;else s=A[37];j1($,s);let e;if(A[38]!==z.stats)e=z.stats?E(Y,{dimColor:!0,children:[z.stats.filesCount," ",i(z.stats.filesCount,"file")," ","changed",z.stats.linesAdded>0&&E(Y,{color:"diffAddedWord",children:[" +",z.stats.linesAdded]}),z.stats.linesRemoved>0&&E(Y,{color:"diffRemovedWord",children:[" -",z.stats.linesRemoved]})]}):null,A[38]=z.stats,A[39]=e;else e=A[39];let Z1=e,z1=m?`Turn ${m.turnIndex}`:"Uncommitted changes",t=m?m.userPromptPreview?`"${m.userPromptPreview}"`:"":"(git diff HEAD)",A1;if(A[40]!==q||A[41]!==G)A1=G.length>1?E(_,{children:[q>0&&X(Y,{dimColor:!0,children:"◀ "}),G.map((F,U1)=>{let L1=U1===q,d1=F.type==="current"?"Current":`T${F.turn.turnIndex}`;return E(Y,{dimColor:!L1,bold:L1,children:[U1>0?" · ":"",d1]},U1)}),q<G.length-1&&X(Y,{dimColor:!0,children:" ▶"})]}):null,A[40]=q,A[41]=G,A[42]=A1;else A1=A[42];let G1=A1,W1=l1("diff:dismiss","DiffDialog","esc"),c;A:{if(z.loading){c="Loading diff…";break A}if(m){c="No file changes in this turn";break A}if(z.stats&&z.stats.filesCount>0&&z.files.length===0){c="Too many files to display details";break A}c="Working tree is clean"}let K1=c,l;if(A[43]!==t)l=t&&E(Y,{dimColor:!0,children:[" ",t]}),A[43]=t,A[44]=l;else l=A[44];let q1;if(A[45]!==z1||A[46]!==l)q1=E(Y,{children:[z1,l]}),A[45]=z1,A[46]=l,A[47]=q1;else q1=A[47];let O1=q1,C1;if(A[48]!==C||A[49]!==J)C1=function(){if(J==="detail")V("list");else C("Diff dialog dismissed",{display:"system"})},A[48]=C,A[49]=J,A[50]=C1;else C1=A[50];let N1=C1,n;if(A[51]!==W1||A[52]!==G.length||A[53]!==J)n=(F)=>F.pending?E(Y,{children:["Press ",F.keyName," again to exit"]}):J==="list"?E(H1,{children:[G.length>1&&X(Y,{children:"←/→ source"}),X(Y,{children:"↑/↓ select"}),X(Y,{children:"Enter view"}),E(Y,{children:[W1," close"]})]}):E(H1,{children:[X(Y,{children:"← back"}),E(Y,{children:[W1," close"]})]}),A[51]=W1,A[52]=G.length,A[53]=J,A[54]=n;else n=A[54];let f;if(A[55]!==z.files||A[56]!==K1||A[57]!==K?.isBinary||A[58]!==K?.isLargeFile||A[59]!==K?.isTruncated||A[60]!==K?.isUntracked||A[61]!==K?.path||A[62]!==B||A[63]!==N||A[64]!==J)f=z.files.length===0?X(_,{marginTop:1,children:X(Y,{dimColor:!0,children:K1})}):J==="list"?X(_,{flexDirection:"column",marginTop:1,children:X(o1,{files:z.files,selectedIndex:N})}):X(_,{flexDirection:"column",marginTop:1,children:X(g1,{filePath:K?.path||"",hunks:B,isLargeFile:K?.isLargeFile,isBinary:K?.isBinary,isTruncated:K?.isTruncated,isUntracked:K?.isUntracked})}),A[55]=z.files,A[56]=K1,A[57]=K?.isBinary,A[58]=K?.isLargeFile,A[59]=K?.isTruncated,A[60]=K?.isUntracked,A[61]=K?.path,A[62]=B,A[63]=N,A[64]=J,A[65]=f;else f=A[65];let J1;if(A[66]!==N1||A[67]!==G1||A[68]!==Z1||A[69]!==n||A[70]!==f||A[71]!==O1)J1=E(n1,{title:O1,onCancel:N1,color:"background",inputGuide:n,children:[G1,Z1,f]}),A[66]=N1,A[67]=G1,A[68]=Z1,A[69]=n,A[70]=f,A[71]=O1,A[72]=J1;else J1=A[72];return J1}function O0(Q){return Math.max(0,Q-1)}function N0(Q){return Math.max(0,Q-1)}function U0(Q){return{type:"turn",turn:Q}}var x1,g;var V0=r(()=>{G0();b1();_1();R1();X0();Y0();S1();Z0();z0();w1();D1();d();x1=x(p1(),1),g=x(V1(),1)});V0();export{u0 as DiffDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{hf as a,if as b}from"./cli-0.5.7-mdcw5fyw.mjs";import"./cli-0.5.7-hw11qa05.mjs";import"./cli-0.5.7-c1mv1399.mjs";import"./cli-0.5.7-zkw2fx86.mjs";import"./cli-0.5.7-ra5kv4tw.mjs";import"./cli-0.5.7-dp3z7wkh.mjs";import"./cli-0.5.7-8ap24w7a.mjs";import"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";b();export{a as Doctor};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dd as a,ed as b,fd as c}from"./cli-0.5.7-y2vc4xb6.mjs";import"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import"./cli-0.5.7-258ytmbr.mjs";c();export{b as PrivacySettingsDialog,a as GroveDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{hz as B,sz as R}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import{AY as q,BY as O,CY as j,EY as h}from"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import{R6 as M,T6 as U}from"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import{Pfa as G,Sfa as f}from"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Zma as N}from"./cli-0.5.7-258ytmbr.mjs";function C(){let z,E=new Promise((H)=>{z=H}),K=_;return _=E,K.then(()=>z)}function $(z){return M(O,z)}function P(z){let E=z.match(/Created new pane:\s*(.+)/);if(E&&E[1])return E[1].trim();return""}function v(){let z=process.env.ITERM_SESSION_ID;if(!z)return null;let E=z.indexOf(":");if(E===-1)return null;return z.slice(E+1)}class w{type="iterm2";displayName="iTerm2";supportsHideShow=!1;async isAvailable(){let z=q();if(G(`[ITermBackend] isAvailable check: inITerm2=${z}`),!z)return G("[ITermBackend] isAvailable: false (not in iTerm2)"),!1;let E=await j();return G(`[ITermBackend] isAvailable: ${E} (it2 CLI ${E?"found":"not found"})`),E}async isRunningInside(){let z=q();return G(`[ITermBackend] isRunningInside: ${z}`),z}async createTeammatePaneInSwarmView(z,E){G(`[ITermBackend] createTeammatePaneInSwarmView called for ${z} with color ${E}`);let K=await C();try{while(!0){let H=!Z;G(`[ITermBackend] Creating pane: isFirstTeammate=${H}, existingPanes=${J.length}`);let Q,V;if(H){let W=v();if(W)Q=["session","split","-v","-s",W],G(`[ITermBackend] First split from leader session: ${W}`);else Q=["session","split","-v"],G("[ITermBackend] First split from active session (no leader ID)")}else if(V=J[J.length-1],V)Q=["session","split","-s",V],G(`[ITermBackend] Subsequent split from teammate session: ${V}`);else Q=["session","split"],G("[ITermBackend] Subsequent split from active session (no teammate ID)");let X=await $(Q);if(X.code!==0){if(V){let W=await $(["session","list"]);if(W.code===0&&!W.stdout.includes(V)){G(`[ITermBackend] Split failed targeting dead session ${V}, pruning and retrying: ${X.stderr}`);let y=J.indexOf(V);if(y!==-1)J.splice(y,1);if(J.length===0)Z=!1;continue}}throw Error(`Failed to create iTerm2 split pane: ${X.stderr}`)}if(H)Z=!0;let Y=P(X.stdout);if(!Y)throw Error(`Failed to parse session ID from split output: ${X.stdout}`);return G(`[ITermBackend] Created teammate pane for ${z}: ${Y}`),J.push(Y),{paneId:Y,isFirstTeammate:H}}}finally{K()}}async sendCommandToPane(z,E,K){let Q=await $(z?["session","run","-s",z,E]:["session","run",E]);if(Q.code!==0)throw Error(`Failed to send command to iTerm2 pane ${z}: ${Q.stderr}`)}async setPaneBorderColor(z,E,K){}async setPaneTitle(z,E,K,H){}async enablePaneBorderStatus(z,E){}async rebalancePanes(z,E){G("[ITermBackend] Pane rebalancing not implemented for iTerm2")}async killPane(z,E){let K=await $(["session","close","-f","-s",z]),H=J.indexOf(z);if(H!==-1)J.splice(H,1);if(J.length===0)Z=!1;return K.code===0}async hidePane(z,E){return G("[ITermBackend] hidePane not supported in iTerm2"),!1}async showPane(z,E,K){return G("[ITermBackend] showPane not supported in iTerm2"),!1}}var J,Z=!1,_;var L=N(()=>{f();U();h();R();J=[],_=Promise.resolve();B(w)});L();export{w as ITermBackend};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{HD as A,JD as c,OD as O,PD as u,QD as _,RD as S,Ut as m,Yt as g,dm as f,em as v}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import{KW as K,MW as Z,nX as C,pX as R,rV as D}from"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import{PY as G,QY as Y,RY as M}from"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import{sfa as b,vfa as B,xfa as T}from"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Vma as P}from"./cli-0.5.7-258ytmbr.mjs";R();u();g();S();T();c();v();M();var h=P(D(),1);function p(J){let q=h.c(19),{filePath:L,errorDescription:Q,onExit:z,onReset:w}=J,k;if(q[0]!==z||q[1]!==w)k=(y)=>{if(y==="exit")z();else w()},q[0]=z,q[1]=w,q[2]=k;else k=q[2];let F=k,U;if(q[3]!==L)U=Y(Z,{children:["The configuration file at ",G(Z,{bold:!0,children:L})," contains invalid JSON."]}),q[3]=L,q[4]=U;else U=q[4];let V;if(q[5]!==Q)V=G(Z,{children:Q}),q[5]=Q,q[6]=V;else V=q[6];let W;if(q[7]!==U||q[8]!==V)W=Y(K,{flexDirection:"column",gap:1,children:[U,V]}),q[7]=U,q[8]=V,q[9]=W;else W=q[9];let H;if(q[10]===Symbol.for("react.memo_cache_sentinel"))H=G(Z,{bold:!0,children:"Choose an option:"}),q[10]=H;else H=q[10];let I;if(q[11]===Symbol.for("react.memo_cache_sentinel"))I=[{label:"Exit and fix manually",value:"exit"},{label:"Reset with default configuration",value:"reset"}],q[11]=I;else I=q[11];let X;if(q[12]!==F||q[13]!==z)X=Y(K,{flexDirection:"column",children:[H,G(A,{options:I,onChange:F,onCancel:z})]}),q[12]=F,q[13]=z,q[14]=X;else X=q[14];let N;if(q[15]!==z||q[16]!==W||q[17]!==X)N=Y(f,{title:"Configuration Error",color:"error",onCancel:z,children:[W,X]}),q[15]=z,q[16]=W,q[17]=X,q[18]=N;else N=q[18];return N}var d="dark";async function n({error:J}){let q={..._(!1),theme:d};await new Promise(async(L)=>{let{unmount:Q}=await C(G(m,{children:G(O,{children:G(p,{filePath:J.filePath,errorDescription:J.message,onExit:()=>{Q(),L(),process.exit(1)},onReset:()=>{B(J.filePath,b(J.defaultConfig,null,2),{flush:!1,encoding:"utf8"}),Q(),L(),process.exit(0)}})})}),q)})}export{n as showInvalidConfigDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jf as W,kf as w}from"./cli-0.5.7-hw11qa05.mjs";import{HD as R,JD as k,dm as Q,em as _}from"./cli-0.5.7-q2e6xpch.mjs";import"./cli-0.5.7-w16wj21h.mjs";import"./cli-0.5.7-tc3vm4ra.mjs";import"./cli-0.5.7-7hm7dxyp.mjs";import"./cli-0.5.7-gy4csxb5.mjs";import"./cli-0.5.7-bzrvdrq4.mjs";import"./cli-0.5.7-gnq8vh0c.mjs";import"./cli-0.5.7-93k1z52y.mjs";import"./cli-0.5.7-zb8ztx8p.mjs";import"./cli-0.5.7-w50j12vv.mjs";import"./cli-0.5.7-93eaxn9a.mjs";import"./cli-0.5.7-h9v4tqbs.mjs";import"./cli-0.5.7-vyxaeh82.mjs";import"./cli-0.5.7-31969syr.mjs";import"./cli-0.5.7-73er78b7.mjs";import"./cli-0.5.7-sb3fjts4.mjs";import"./cli-0.5.7-hq4wbper.mjs";import"./cli-0.5.7-yaywev87.mjs";import"./cli-0.5.7-7mmyazqh.mjs";import"./cli-0.5.7-aq7a3646.mjs";import"./cli-0.5.7-pzjz115k.mjs";import"./cli-0.5.7-tbga87q3.mjs";import"./cli-0.5.7-7a9gq9ff.mjs";import{MW as P,pX as U,rV as T}from"./cli-0.5.7-x1w96j6d.mjs";import"./cli-0.5.7-9z55nm22.mjs";import"./cli-0.5.7-0rvzfmhb.mjs";import"./cli-0.5.7-kp9pg4sr.mjs";import"./cli-0.5.7-gcnk0vke.mjs";import"./cli-0.5.7-6d26vvaa.mjs";import"./cli-0.5.7-e8eqdfnf.mjs";import"./cli-0.5.7-9acdh8nc.mjs";import"./cli-0.5.7-g7k0r0ea.mjs";import{PY as I,QY as O,RY as N}from"./cli-0.5.7-vgc7nzef.mjs";import"./cli-0.5.7-8sbq2qed.mjs";import"./cli-0.5.7-jw2te6th.mjs";import"./cli-0.5.7-20cz322w.mjs";import"./cli-0.5.7-m5q27x96.mjs";import"./cli-0.5.7-6pssgqdn.mjs";import"./cli-0.5.7-5e5xfeq6.mjs";import"./cli-0.5.7-8ychjqct.mjs";import"./cli-0.5.7-g4n7dg2d.mjs";import"./cli-0.5.7-xn6deh04.mjs";import"./cli-0.5.7-dntg9qbj.mjs";import"./cli-0.5.7-rggstqv6.mjs";import"./cli-0.5.7-0df5m6td.mjs";import"./cli-0.5.7-yzncgfs4.mjs";import"./cli-0.5.7-2qxsy7jq.mjs";import"./cli-0.5.7-89fcvfy0.mjs";import"./cli-0.5.7-469r2a5r.mjs";import"./cli-0.5.7-mzfr99sc.mjs";import"./cli-0.5.7-5mrw857q.mjs";import"./cli-0.5.7-c9dtw94k.mjs";import"./cli-0.5.7-0s7wtvbz.mjs";import"./cli-0.5.7-35yf0b84.mjs";import"./cli-0.5.7-sjx0wm99.mjs";import"./cli-0.5.7-xepvraxn.mjs";import"./cli-0.5.7-26pwg6gg.mjs";import"./cli-0.5.7-twqt7rxq.mjs";import"./cli-0.5.7-pse9qff7.mjs";import"./cli-0.5.7-tqn2ged5.mjs";import"./cli-0.5.7-skfm51ta.mjs";import"./cli-0.5.7-hp25yk8y.mjs";import"./cli-0.5.7-m4wwfa6q.mjs";import{Vma as y}from"./cli-0.5.7-258ytmbr.mjs";U();k();_();w();N();var X=y(T(),1);function C(Y){let b=X.c(13),{settingsErrors:J,onContinue:K,onExit:q}=Y,B;if(b[0]!==K||b[1]!==q)B=function(Z){if(Z==="exit")q();else K()},b[0]=K,b[1]=q,b[2]=B;else B=b[2];let M=B,z;if(b[3]!==J)z=I(W,{errors:J}),b[3]=J,b[4]=z;else z=b[4];let F;if(b[5]===Symbol.for("react.memo_cache_sentinel"))F=I(P,{dimColor:!0,children:"Files with errors are skipped entirely, not just the invalid settings."}),b[5]=F;else F=b[5];let G;if(b[6]===Symbol.for("react.memo_cache_sentinel"))G=[{label:"Exit and fix manually",value:"exit"},{label:"Continue without these settings",value:"continue"}],b[6]=G;else G=b[6];let A;if(b[7]!==M)A=I(R,{options:G,onChange:M}),b[7]=M,b[8]=A;else A=b[8];let H;if(b[9]!==q||b[10]!==z||b[11]!==A)H=O(Q,{title:"Settings Error",onCancel:q,color:"warning",children:[z,F,A]}),b[9]=q,b[10]=z,b[11]=A,b[12]=H;else H=b[12];return H}export{C as InvalidSettingsDialog};
|