@claudiolabs/claudin 0.7.6 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/bin/claudin.exe +12 -0
- package/cli-wrapper.cjs +132 -0
- package/dist/chunks/AgentTool-1.0.3-7mvf1vaw.mjs +1 -0
- package/dist/chunks/App-1.0.3-rd1a3qee.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.3-1kr4x8qz.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.3-6cmgq2a9.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.3-jezz3mfx.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.3-y7vw80jm.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.3-rs8yq1c5.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.3-55e4vff7.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.3-2b6eqw5g.mjs +7 -0
- package/dist/chunks/Doctor-1.0.3-6vjhs9b3.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.3-me5rpqw8.mjs +6 -0
- package/dist/chunks/Grove-1.0.3-axq3s1g5.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.3-6w5z9f9y.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.3-q3qy4tjv.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.3-7bnq71sp.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.3-xjk5h2s1.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.3-93mejgdx.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.3-gstyvce6.mjs +1 -0
- package/dist/chunks/REPL-1.0.3-h7gm3vzm.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.3-q1sb18zb.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.3-ng8qnwzb.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.3-5p8450wg.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.3-emssa846.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.3-pdnj8z74.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.3-qw12jfae.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.3-p2fdhkr4.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.3-w1yd56gg.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.3-hcr43mtn.mjs +1 -0
- package/dist/chunks/add-dir-1.0.3-cfd5fdz5.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.3-rhr2n817.mjs +1 -0
- package/dist/chunks/agents-1.0.3-00vpd5nr.mjs +110 -0
- package/dist/chunks/agents-1.0.3-0qny02r7.mjs +3 -0
- package/dist/chunks/api-1.0.3-j9q39zt3.mjs +1 -0
- package/dist/chunks/asciicast-1.0.3-4rdpqkbh.mjs +1 -0
- package/dist/chunks/assistant-1.0.3-8swg0237.mjs +1 -0
- package/dist/chunks/auth-1.0.3-4d3vbcf3.mjs +1 -0
- package/dist/chunks/auth-1.0.3-se4vwfcj.mjs +1 -0
- package/dist/chunks/autoMode-1.0.3-32zd86wp.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.3-nda09wdz.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.3-rwrt9v08.mjs +1 -0
- package/dist/chunks/branch-1.0.3-tzbvkn13.mjs +4 -0
- package/dist/chunks/bridge-1.0.3-fsq0q4x5.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.3-16bw4j5m.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.3-2md5ck83.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.3-betf2hdx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.3-mtfty38e.mjs +1 -0
- package/dist/chunks/btw-1.0.3-7vqng7en.mjs +1 -0
- package/dist/chunks/buddy-1.0.3-k48yw852.mjs +3 -0
- package/dist/chunks/cacache-1.0.3-y014wcx7.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.3-vw577099.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.3-2dj0n9cy.mjs +4 -0
- package/dist/chunks/caches-1.0.3-syrefgh1.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.3-1k9dgm8c.mjs +1 -0
- package/dist/chunks/claudemd-1.0.3-902h9g16.mjs +1 -0
- package/dist/chunks/clear-1.0.3-yfnxvynd.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.3-kxq1nevx.mjs +1 -0
- package/dist/chunks/cli-1.0.3-02ax2rf7.mjs +2 -0
- package/dist/chunks/cli-1.0.3-087x46pf.mjs +2 -0
- package/dist/chunks/cli-1.0.3-0e99ksxk.mjs +2 -0
- package/dist/chunks/cli-1.0.3-0tgbymg8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-0x26wvgj.mjs +1 -0
- package/dist/chunks/cli-1.0.3-0x2am4t7.mjs +2 -0
- package/dist/chunks/cli-1.0.3-10cqqc79.mjs +2 -0
- package/dist/chunks/cli-1.0.3-13m8868e.mjs +2 -0
- package/dist/chunks/cli-1.0.3-13wf4a0v.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1462khnb.mjs +3 -0
- package/dist/chunks/cli-1.0.3-17cer107.mjs +2 -0
- package/dist/chunks/cli-1.0.3-19d1ckqm.mjs +4 -0
- package/dist/chunks/cli-1.0.3-1f00zm8y.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1grrrgvh.mjs +4 -0
- package/dist/chunks/cli-1.0.3-1h08z2rm.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1m413b59.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1psnx21q.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1v65dc93.mjs +2 -0
- package/dist/chunks/cli-1.0.3-1w2x2m43.mjs +2 -0
- package/dist/chunks/cli-1.0.3-24y7s5hp.mjs +2 -0
- package/dist/chunks/cli-1.0.3-2aw6f2z9.mjs +2 -0
- package/dist/chunks/cli-1.0.3-2h7k9bdx.mjs +2 -0
- package/dist/chunks/cli-1.0.3-2wzvc8te.mjs +5471 -0
- package/dist/chunks/cli-1.0.3-2zpv5t2p.mjs +2 -0
- package/dist/chunks/cli-1.0.3-3gkwhy62.mjs +2 -0
- package/dist/chunks/cli-1.0.3-3gtteknj.mjs +2 -0
- package/dist/chunks/cli-1.0.3-3j050hfw.mjs +3 -0
- package/dist/chunks/cli-1.0.3-3qfh5ykd.mjs +2 -0
- package/dist/chunks/cli-1.0.3-3wcccg4j.mjs +2 -0
- package/dist/chunks/cli-1.0.3-3wpp9k2f.mjs +3 -0
- package/dist/chunks/cli-1.0.3-3y945bqk.mjs +2 -0
- package/dist/chunks/cli-1.0.3-4eym93f1.mjs +2 -0
- package/dist/chunks/cli-1.0.3-4m0kzrq4.mjs +199 -0
- package/dist/chunks/cli-1.0.3-4qaa3xp4.mjs +2 -0
- package/dist/chunks/cli-1.0.3-4s8hd1qa.mjs +12 -0
- package/dist/chunks/cli-1.0.3-4x2bjq7b.mjs +2 -0
- package/dist/chunks/cli-1.0.3-5hpdm52h.mjs +4 -0
- package/dist/chunks/cli-1.0.3-5j5mv1qy.mjs +2 -0
- package/dist/chunks/cli-1.0.3-5kneybr4.mjs +2 -0
- package/dist/chunks/cli-1.0.3-5psnr7wf.mjs +16 -0
- package/dist/chunks/cli-1.0.3-5rg4rmk2.mjs +6 -0
- package/dist/chunks/cli-1.0.3-5w74xeth.mjs +3 -0
- package/dist/chunks/cli-1.0.3-607t5t97.mjs +2 -0
- package/dist/chunks/cli-1.0.3-627y4tma.mjs +2 -0
- package/dist/chunks/cli-1.0.3-63tn3q21.mjs +2 -0
- package/dist/chunks/cli-1.0.3-63xjee3t.mjs +3 -0
- package/dist/chunks/cli-1.0.3-6sgbgf1x.mjs +4 -0
- package/dist/chunks/cli-1.0.3-6x84yw4b.mjs +21 -0
- package/dist/chunks/cli-1.0.3-7ecz7qjw.mjs +2 -0
- package/dist/chunks/cli-1.0.3-7m0nfffq.mjs +2 -0
- package/dist/chunks/cli-1.0.3-7m2f8bwk.mjs +2 -0
- package/dist/chunks/cli-1.0.3-7p7gfek3.mjs +3 -0
- package/dist/chunks/cli-1.0.3-82ky54w7.mjs +15 -0
- package/dist/chunks/cli-1.0.3-87me6r9c.mjs +2 -0
- package/dist/chunks/cli-1.0.3-8a694ts0.mjs +6 -0
- package/dist/chunks/cli-1.0.3-8bz64j3f.mjs +2 -0
- package/dist/chunks/cli-1.0.3-8hw15ers.mjs +2 -0
- package/dist/chunks/cli-1.0.3-8rjp7dng.mjs +2 -0
- package/dist/chunks/cli-1.0.3-960aw98y.mjs +2 -0
- package/dist/chunks/cli-1.0.3-9xcgbd0g.mjs +2 -0
- package/dist/chunks/cli-1.0.3-9z1asbvz.mjs +3 -0
- package/dist/chunks/cli-1.0.3-a3rf1bbw.mjs +2 -0
- package/dist/chunks/cli-1.0.3-a630qcdb.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ancybhm3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-apbdyngz.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ar488ss1.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ar8bq7h9.mjs +4 -0
- package/dist/chunks/cli-1.0.3-ax2geagm.mjs +18 -0
- package/dist/chunks/cli-1.0.3-axzmfbvp.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ay89chqh.mjs +2 -0
- package/dist/chunks/cli-1.0.3-b14b158b.mjs +2 -0
- package/dist/chunks/cli-1.0.3-b6f61s9v.mjs +2 -0
- package/dist/chunks/cli-1.0.3-b72086ew.mjs +2 -0
- package/dist/chunks/cli-1.0.3-b7n67qhm.mjs +24 -0
- package/dist/chunks/cli-1.0.3-bct9r8s9.mjs +25 -0
- package/dist/chunks/cli-1.0.3-bg3frggm.mjs +5 -0
- package/dist/chunks/cli-1.0.3-bkdmbm3w.mjs +2 -0
- package/dist/chunks/cli-1.0.3-bnd3wvym.mjs +2 -0
- package/dist/chunks/cli-1.0.3-bqdxh2fe.mjs +2 -0
- package/dist/chunks/cli-1.0.3-bte3v6bp.mjs +3 -0
- package/dist/chunks/cli-1.0.3-c38hr99q.mjs +2 -0
- package/dist/chunks/cli-1.0.3-c4trbm3y.mjs +2 -0
- package/dist/chunks/cli-1.0.3-c570dde7.mjs +24 -0
- package/dist/chunks/cli-1.0.3-ca8qx0d6.mjs +2 -0
- package/dist/chunks/cli-1.0.3-cnb1yved.mjs +2 -0
- package/dist/chunks/cli-1.0.3-cs5pqncv.mjs +2 -0
- package/dist/chunks/cli-1.0.3-cty1pfv3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-d7597p9k.mjs +133 -0
- package/dist/chunks/cli-1.0.3-d8zhnzt9.mjs +2 -0
- package/dist/chunks/cli-1.0.3-djd4asp9.mjs +25 -0
- package/dist/chunks/cli-1.0.3-dyh4d1gw.mjs +2 -0
- package/dist/chunks/cli-1.0.3-e0s97hx3.mjs +20 -0
- package/dist/chunks/cli-1.0.3-e1qcabjm.mjs +2 -0
- package/dist/chunks/cli-1.0.3-e26nnnjx.mjs +2 -0
- package/dist/chunks/cli-1.0.3-e315jy0y.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ejb4xe2y.mjs +2 -0
- package/dist/chunks/cli-1.0.3-em2a0n4h.mjs +2 -0
- package/dist/chunks/cli-1.0.3-emmwm5h6.mjs +2 -0
- package/dist/chunks/cli-1.0.3-epk9wqmc.mjs +2 -0
- package/dist/chunks/cli-1.0.3-eqxge5cb.mjs +45 -0
- package/dist/chunks/cli-1.0.3-eta6q17m.mjs +2 -0
- package/dist/chunks/cli-1.0.3-exj8yag8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-f2qcezq1.mjs +2 -0
- package/dist/chunks/cli-1.0.3-f8ekk6mr.mjs +2 -0
- package/dist/chunks/cli-1.0.3-fdd1g4sk.mjs +2 -0
- package/dist/chunks/cli-1.0.3-fdye5tvt.mjs +2 -0
- package/dist/chunks/cli-1.0.3-g5w729g4.mjs +2 -0
- package/dist/chunks/cli-1.0.3-gbhfrtsf.mjs +2 -0
- package/dist/chunks/cli-1.0.3-gjvc6q8v.mjs +2 -0
- package/dist/chunks/cli-1.0.3-gpjv1akn.mjs +12 -0
- package/dist/chunks/cli-1.0.3-gthgjdv8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-gwdntjh3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-h2pjt4e4.mjs +4 -0
- package/dist/chunks/cli-1.0.3-hg04k516.mjs +3 -0
- package/dist/chunks/cli-1.0.3-hgghr2w8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-htx4273d.mjs +39 -0
- package/dist/chunks/cli-1.0.3-hyc32vmv.mjs +2 -0
- package/dist/chunks/cli-1.0.3-hz5a6e6w.mjs +2 -0
- package/dist/chunks/cli-1.0.3-j62yk6x8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-j72ztden.mjs +2 -0
- package/dist/chunks/cli-1.0.3-j99s8jgs.mjs +2 -0
- package/dist/chunks/cli-1.0.3-jmvq43wb.mjs +6 -0
- package/dist/chunks/cli-1.0.3-jr2ya39g.mjs +2 -0
- package/dist/chunks/cli-1.0.3-k99msp02.mjs +17 -0
- package/dist/chunks/cli-1.0.3-kesrsh8z.mjs +59 -0
- package/dist/chunks/cli-1.0.3-khw95075.mjs +2 -0
- package/dist/chunks/cli-1.0.3-km8m7h3t.mjs +2 -0
- package/dist/chunks/cli-1.0.3-kwe8av2x.mjs +2 -0
- package/dist/chunks/cli-1.0.3-m45p13pd.mjs +2 -0
- package/dist/chunks/cli-1.0.3-mkse8qp1.mjs +3 -0
- package/dist/chunks/cli-1.0.3-mv5a0w14.mjs +12 -0
- package/dist/chunks/cli-1.0.3-n0jxa1cv.mjs +4 -0
- package/dist/chunks/cli-1.0.3-n28tqrv0.mjs +2 -0
- package/dist/chunks/cli-1.0.3-n2h9jvgm.mjs +2 -0
- package/dist/chunks/cli-1.0.3-n99q1npz.mjs +2 -0
- package/dist/chunks/cli-1.0.3-n9tzv3mz.mjs +2 -0
- package/dist/chunks/cli-1.0.3-nama3pwj.mjs +7 -0
- package/dist/chunks/cli-1.0.3-nm63mrtv.mjs +2 -0
- package/dist/chunks/cli-1.0.3-nr5rgce9.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ntywpqre.mjs +2 -0
- package/dist/chunks/cli-1.0.3-nw89kd8a.mjs +2 -0
- package/dist/chunks/cli-1.0.3-p7nbs20a.mjs +24 -0
- package/dist/chunks/cli-1.0.3-pc93arct.mjs +10 -0
- package/dist/chunks/cli-1.0.3-pf8dk52a.mjs +67 -0
- package/dist/chunks/cli-1.0.3-phh30dq0.mjs +4 -0
- package/dist/chunks/cli-1.0.3-pxw9n4f7.mjs +5 -0
- package/dist/chunks/cli-1.0.3-q4vc2dm9.mjs +3 -0
- package/dist/chunks/cli-1.0.3-q6m5azm3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-q9hw6148.mjs +2 -0
- package/dist/chunks/cli-1.0.3-qd5c6ph5.mjs +34 -0
- package/dist/chunks/cli-1.0.3-qkkqjcsh.mjs +2 -0
- package/dist/chunks/cli-1.0.3-r274tqxg.mjs +2 -0
- package/dist/chunks/cli-1.0.3-r2amtv3x.mjs +3 -0
- package/dist/chunks/cli-1.0.3-ra9brq66.mjs +2 -0
- package/dist/chunks/cli-1.0.3-rapppvd0.mjs +2 -0
- package/dist/chunks/cli-1.0.3-rc9yjwv4.mjs +15 -0
- package/dist/chunks/cli-1.0.3-rfvvw9yn.mjs +58 -0
- package/dist/chunks/cli-1.0.3-rhaqdnqw.mjs +2 -0
- package/dist/chunks/cli-1.0.3-rpry44n3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-rxtfhp4n.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ryfy7hya.mjs +2 -0
- package/dist/chunks/cli-1.0.3-s6n9xdgm.mjs +5 -0
- package/dist/chunks/cli-1.0.3-sb9pchh2.mjs +6 -0
- package/dist/chunks/cli-1.0.3-sz2d376e.mjs +2 -0
- package/dist/chunks/cli-1.0.3-t52dqqw2.mjs +2 -0
- package/dist/chunks/cli-1.0.3-t7mfsbh1.mjs +133 -0
- package/dist/chunks/cli-1.0.3-t7p3714v.mjs +2 -0
- package/dist/chunks/cli-1.0.3-tjewxa84.mjs +2 -0
- package/dist/chunks/cli-1.0.3-v0jtfqtw.mjs +9 -0
- package/dist/chunks/cli-1.0.3-v658mswv.mjs +12 -0
- package/dist/chunks/cli-1.0.3-vnwqmpyv.mjs +2 -0
- package/dist/chunks/cli-1.0.3-vqm63ckk.mjs +2 -0
- package/dist/chunks/cli-1.0.3-vr8tazcf.mjs +2 -0
- package/dist/chunks/cli-1.0.3-vw5m6hn3.mjs +3 -0
- package/dist/chunks/cli-1.0.3-w3a4tnk3.mjs +2 -0
- package/dist/chunks/cli-1.0.3-w72bc0zg.mjs +2 -0
- package/dist/chunks/cli-1.0.3-w9dcn8sx.mjs +2 -0
- package/dist/chunks/cli-1.0.3-wf8jkyyp.mjs +15 -0
- package/dist/chunks/cli-1.0.3-wmtj5kj7.mjs +2 -0
- package/dist/chunks/cli-1.0.3-wpb05eg5.mjs +50 -0
- package/dist/chunks/cli-1.0.3-wv4vx65k.mjs +2 -0
- package/dist/chunks/cli-1.0.3-x1ngfkk5.mjs +42 -0
- package/dist/chunks/cli-1.0.3-xarnzm58.mjs +2 -0
- package/dist/chunks/cli-1.0.3-xf2r8496.mjs +2 -0
- package/dist/chunks/cli-1.0.3-xqmjjmss.mjs +4 -0
- package/dist/chunks/cli-1.0.3-xsmba4r1.mjs +17 -0
- package/dist/chunks/cli-1.0.3-xw1fyqpe.mjs +2 -0
- package/dist/chunks/cli-1.0.3-y0fz9qyb.mjs +4 -0
- package/dist/chunks/cli-1.0.3-yb5yjqa8.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ycvmgeh4.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ykkvdac6.mjs +2 -0
- package/dist/chunks/cli-1.0.3-ynf2sj5r.mjs +2 -0
- package/dist/chunks/cli-1.0.3-z3c0nwg5.mjs +2 -0
- package/dist/chunks/cli-1.0.3-z3f4pmp1.mjs +2 -0
- package/dist/chunks/cli-1.0.3-zan6y0m1.mjs +18 -0
- package/dist/chunks/cli-1.0.3-zfe21fjj.mjs +2 -0
- package/dist/chunks/cli-1.0.3-znxwm9ta.mjs +2 -0
- package/dist/chunks/cli-1.0.3-zqp5x3gh.mjs +18 -0
- package/dist/chunks/cli-1.0.3-ztgxqn0g.mjs +8 -0
- package/dist/chunks/cli-1.0.3-zzg0y9xx.mjs +2 -0
- package/dist/chunks/client-1.0.3-qkqk8q23.mjs +1 -0
- package/dist/chunks/color-1.0.3-x0qygswm.mjs +1 -0
- package/dist/chunks/compact-1.0.3-kyfmj07z.mjs +3 -0
- package/dist/chunks/config-1.0.3-0b1mgzs5.mjs +1 -0
- package/dist/chunks/config-1.0.3-nmpdbdfy.mjs +1 -0
- package/dist/chunks/constants-1.0.3-wk9v349h.mjs +1 -0
- package/dist/chunks/context-1.0.3-6sarjqp3.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.3-vs9yx061.mjs +1 -0
- package/dist/chunks/conversation-1.0.3-v4s0g3dx.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.3-5vdf973f.mjs +1 -0
- package/dist/chunks/copy-1.0.3-575pc6gc.mjs +9 -0
- package/dist/chunks/cost-1.0.3-gkgmq84a.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.3-bsdf1x69.mjs +1 -0
- package/dist/chunks/createSession-1.0.3-q2t2afxn.mjs +1 -0
- package/dist/chunks/debug-1.0.3-q3y4bbdd.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.3-kxgwjas7.mjs +1446 -0
- package/dist/chunks/desktop-1.0.3-v790cfzv.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.3-t6x6ycq0.mjs +1 -0
- package/dist/chunks/detection-1.0.3-3r29qbs1.mjs +1 -0
- package/dist/chunks/diff-1.0.3-43a1txqm.mjs +1 -0
- package/dist/chunks/doctor-1.0.3-ywj8c1z9.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.3-c3f3hz3m.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.3-0qxwnkvm.mjs +1 -0
- package/dist/chunks/effort-1.0.3-28cxc122.mjs +10 -0
- package/dist/chunks/engine-1.0.3-y0pybv8z.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.3-gv54g11x.mjs +1 -0
- package/dist/chunks/envUtils-1.0.3-cjfgncek.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.3-c2qe9j1s.mjs +1 -0
- package/dist/chunks/environments-1.0.3-cvrm8nvn.mjs +1 -0
- package/dist/chunks/errors-1.0.3-jzcpdeb5.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.3-kjfprmrt.mjs +1 -0
- package/dist/chunks/exit-1.0.3-fbms8wkm.mjs +1 -0
- package/dist/chunks/explorer-1.0.3-8k5jhgjf.mjs +1 -0
- package/dist/chunks/export-1.0.3-4r98t7vv.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.3-m17gcwmh.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.3-papt6k1h.mjs +1 -0
- package/dist/chunks/fast-1.0.3-4atx5cja.mjs +1 -0
- package/dist/chunks/feedback-1.0.3-n2sjaka5.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.3-3ew36pwn.mjs +1 -0
- package/dist/chunks/git-1.0.3-tpyzsser.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.3-a3scfsy1.mjs +1 -0
- package/dist/chunks/goal-1.0.3-rd7mxw5e.mjs +4 -0
- package/dist/chunks/grove-1.0.3-bwz91hx8.mjs +1 -0
- package/dist/chunks/growthbook-1.0.3-nr5dtynh.mjs +1 -0
- package/dist/chunks/headless-1.0.3-9kzxdtz3.mjs +2 -0
- package/dist/chunks/heapdump-1.0.3-hj74he6b.mjs +6 -0
- package/dist/chunks/help-1.0.3-e1qcej38.mjs +1 -0
- package/dist/chunks/hookChains-1.0.3-xtvdrx5t.mjs +3 -0
- package/dist/chunks/hooks-1.0.3-gfndfx5p.mjs +79 -0
- package/dist/chunks/hooks-1.0.3-mhatacpg.mjs +1 -0
- package/dist/chunks/ide-1.0.3-f60d1x9s.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.3-crxm4gpq.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.3-3b75nzd7.mjs +1 -0
- package/dist/chunks/index-1.0.3-15ym353c.mjs +1 -0
- package/dist/chunks/index-1.0.3-1tyen96a.mjs +1 -0
- package/dist/chunks/index-1.0.3-22c46a9g.mjs +1 -0
- package/dist/chunks/index-1.0.3-293khy5y.mjs +1 -0
- package/dist/chunks/index-1.0.3-3zrx6rcy.mjs +1 -0
- package/dist/chunks/index-1.0.3-4g5be32x.mjs +5 -0
- package/dist/chunks/index-1.0.3-5h227bav.mjs +17 -0
- package/dist/chunks/index-1.0.3-83nb50h7.mjs +1 -0
- package/dist/chunks/index-1.0.3-f3xy16k0.mjs +1 -0
- package/dist/chunks/index-1.0.3-fp6xhcab.mjs +2 -0
- package/dist/chunks/index-1.0.3-gecs01pd.mjs +1 -0
- package/dist/chunks/index-1.0.3-gwt3epj3.mjs +30 -0
- package/dist/chunks/index-1.0.3-gyr3x3wv.mjs +9 -0
- package/dist/chunks/index-1.0.3-j1rfqkax.mjs +1 -0
- package/dist/chunks/index-1.0.3-k6ze856z.mjs +1 -0
- package/dist/chunks/index-1.0.3-n8qxa0er.mjs +1 -0
- package/dist/chunks/index-1.0.3-pa0eqyya.mjs +1 -0
- package/dist/chunks/index-1.0.3-qacj9f9z.mjs +1 -0
- package/dist/chunks/index-1.0.3-tvpvnw2t.mjs +1 -0
- package/dist/chunks/index-1.0.3-w0d2skgw.mjs +2 -0
- package/dist/chunks/index-1.0.3-w6sndqyw.mjs +9 -0
- package/dist/chunks/index-1.0.3-z42381sj.mjs +1 -0
- package/dist/chunks/index-1.0.3-zfk75xdr.mjs +1 -0
- package/dist/chunks/init-1.0.3-1756vwh2.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.3-a00zpxtn.mjs +1 -0
- package/dist/chunks/ink-1.0.3-yq6e6m8b.mjs +1 -0
- package/dist/chunks/insights-1.0.3-4s3xgv9x.mjs +870 -0
- package/dist/chunks/install-1.0.3-zttqn1ez.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.3-f0rmxqcw.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.3-sbd9833d.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.3-hnskcn2k.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.3-t12dtkh1.mjs +1 -0
- package/dist/chunks/keybindings-1.0.3-retrpee2.mjs +2 -0
- package/dist/chunks/knowledge-1.0.3-gdpwz5kr.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.3-kas0b0h1.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.3-wsevcydg.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.3-18zgr57f.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.3-2t4gydwe.mjs +1 -0
- package/dist/chunks/log-1.0.3-wzytzthn.mjs +1 -0
- package/dist/chunks/main-1.0.3-jzwehebm.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.3-b8asa751.mjs +1 -0
- package/dist/chunks/mcp-1.0.3-aff6b6ct.mjs +1 -0
- package/dist/chunks/mcp-1.0.3-pjr3rvfk.mjs +4 -0
- package/dist/chunks/mcp-1.0.3-wfak1jpw.mjs +17 -0
- package/dist/chunks/mcpb-1.0.3-0s8ak7b1.mjs +1 -0
- package/dist/chunks/memory-1.0.3-esv79kf8.mjs +3 -0
- package/dist/chunks/model-1.0.3-9b4d36sd.mjs +1 -0
- package/dist/chunks/model-1.0.3-bh1t2s45.mjs +2 -0
- package/dist/chunks/node-1.0.3-gj4wsp3b.mjs +12 -0
- package/dist/chunks/oauth-1.0.3-q2zcdghm.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.3-k03vgybb.mjs +14 -0
- package/dist/chunks/output-style-1.0.3-2vknbjw5.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.3-g12q6fnk.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.3-7vrzj6hy.mjs +1 -0
- package/dist/chunks/parser-1.0.3-avw926ew.mjs +1 -0
- package/dist/chunks/passes-1.0.3-bgjyqscj.mjs +1 -0
- package/dist/chunks/permissions-1.0.3-8fj46mx3.mjs +3 -0
- package/dist/chunks/permissions-1.0.3-qpmk7fsa.mjs +1 -0
- package/dist/chunks/plan-1.0.3-emxq5t72.mjs +1 -0
- package/dist/chunks/plist-1.0.3-33z3k5gn.mjs +1 -0
- package/dist/chunks/plugin-1.0.3-eqxkeh3r.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.3-3hbbay3q.mjs +1 -0
- package/dist/chunks/plugins-1.0.3-x021vefh.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.3-5yyvhhra.mjs +2 -0
- package/dist/chunks/print-1.0.3-w721s1pr.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.3-v2vqkwdn.mjs +1 -0
- package/dist/chunks/process-1.0.3-xedhq816.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.3-mtgqq8k6.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.3-2qxyq7z2.mjs +9 -0
- package/dist/chunks/prompt-1.0.3-3n87zkg4.mjs +1 -0
- package/dist/chunks/prompt-1.0.3-rt6xvwpb.mjs +1 -0
- package/dist/chunks/prompts-1.0.3-q1yewrxr.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.3-bsnsh8x6.mjs +13 -0
- package/dist/chunks/provider-1.0.3-gm23bmqy.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.3-cg05fwn8.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.3-vma7539c.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.3-q65cq335.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.3-xv60j2ty.mjs +34 -0
- package/dist/chunks/registry-1.0.3-9n67m1rh.mjs +1 -0
- package/dist/chunks/release-notes-1.0.3-ves4zn7s.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.3-nj3rm6xw.mjs +2 -0
- package/dist/chunks/remote-env-1.0.3-ygbzc1qs.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.3-z9c657ax.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.3-7em2b627.mjs +1 -0
- package/dist/chunks/rename-1.0.3-090y3y3t.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.3-j72w7cv1.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.3-jae5j1mr.mjs +1 -0
- package/dist/chunks/resume-1.0.3-b3yd0r0t.mjs +2 -0
- package/dist/chunks/rewind-1.0.3-qbxx991g.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.3-5pvysebe.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.3-kzem4pfm.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.3-r0qyz4ph.mjs +1 -0
- package/dist/chunks/session-1.0.3-26qz9f9c.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.3-98fyhqzq.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.3-g99vbb96.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.3-jbkq2y35.mjs +1 -0
- package/dist/chunks/settings-1.0.3-6hq9y9yg.mjs +1 -0
- package/dist/chunks/setup-1.0.3-8fxs3q79.mjs +5 -0
- package/dist/chunks/sinks-1.0.3-wjm4jwph.mjs +1 -0
- package/dist/chunks/skills-1.0.3-es2gwcs0.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.3-0zgy31z8.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.3-17h3qh51.mjs +1 -0
- package/dist/chunks/state-1.0.3-7hxpebf0.mjs +1 -0
- package/dist/chunks/stats-1.0.3-mpa5ehmt.mjs +6 -0
- package/dist/chunks/status-1.0.3-3z7dn1ax.mjs +1 -0
- package/dist/chunks/stickers-1.0.3-mqdqscgw.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.3-3zwx5k40.mjs +1 -0
- package/dist/chunks/tasks-1.0.3-fqyr9vwc.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.3-5rsk5yqn.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.3-v1270wf3.mjs +1 -0
- package/dist/chunks/teleport-1.0.3-4h0ww2kz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.3-ern1ss4f.mjs +1 -0
- package/dist/chunks/theme-1.0.3-2zckbr2z.mjs +1 -0
- package/dist/chunks/thinkback-1.0.3-ckd0bxaf.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.3-6a53gc4n.mjs +1 -0
- package/dist/chunks/toolPool-1.0.3-w2xh8dvp.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.3-w1f68ss0.mjs +1 -0
- package/dist/chunks/tools-1.0.3-7dyfg9gn.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.3-a34x8ydx.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.3-jvqgvj65.mjs +69 -0
- package/dist/chunks/types-1.0.3-hrfpk0vp.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.3-731x0mwt.mjs +4 -0
- package/dist/chunks/update-1.0.3-kxwpbp8h.mjs +86 -0
- package/dist/chunks/upgrade-1.0.3-0p7p2zsn.mjs +1 -0
- package/dist/chunks/upload-1.0.3-1fek6fh7.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.3-g566qagg.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.3-na9t0zcw.mjs +1 -0
- package/dist/chunks/usage-1.0.3-xdj3rkft.mjs +1 -0
- package/dist/chunks/util-1.0.3-5gfrxrz4.mjs +1 -0
- package/dist/chunks/utils-1.0.3-2mzjq8fj.mjs +1 -0
- package/dist/chunks/vim-1.0.3-9ckf66ks.mjs +1 -0
- package/dist/chunks/watcher-1.0.3-8pgwgknj.mjs +1 -0
- package/dist/chunks/wiki-1.0.3-hy2ve502.mjs +132 -0
- package/dist/chunks/workflows-1.0.3-phe0mv82.mjs +1 -0
- package/dist/chunks/worktree-1.0.3-pnma10rk.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.3-0hhtbd8p.mjs +1 -0
- package/dist/chunks/wrapper-1.0.3-jrm58k5e.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +208 -0
- package/package.json +29 -132
- package/LICENSE +0 -30
- package/bin/claudin +0 -272
- package/dist/chunks/AgentTool-0.7.6-02vh9vk8.mjs +0 -1
- package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +0 -1
- package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +0 -7
- package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +0 -6
- package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +0 -1
- package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +0 -1
- package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +0 -1
- package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +0 -1
- package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +0 -1
- package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +0 -1
- package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +0 -1
- package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +0 -1
- package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +0 -1
- package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +0 -3
- package/dist/chunks/agents-0.7.6-n608c3qr.mjs +0 -110
- package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +0 -1
- package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +0 -1
- package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +0 -1
- package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +0 -1
- package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +0 -1
- package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +0 -48
- package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +0 -1
- package/dist/chunks/branch-0.7.6-05rh36he.mjs +0 -4
- package/dist/chunks/bridge-0.7.6-wddny37r.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +0 -1
- package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +0 -88
- package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +0 -1
- package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +0 -1
- package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +0 -3
- package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +0 -1
- package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +0 -21
- package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +0 -4
- package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +0 -1
- package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +0 -1
- package/dist/chunks/clear-0.7.6-h2vf452p.mjs +0 -1
- package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +0 -1
- package/dist/chunks/cli-0.7.6-010st6wr.mjs +0 -2
- package/dist/chunks/cli-0.7.6-07eesex8.mjs +0 -2
- package/dist/chunks/cli-0.7.6-09hcxer2.mjs +0 -2
- package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +0 -2
- package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +0 -4
- package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +0 -2
- package/dist/chunks/cli-0.7.6-0h46deez.mjs +0 -2
- package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +0 -6
- package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +0 -4
- package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +0 -2
- package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1dqh462b.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +0 -2
- package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +0 -2
- package/dist/chunks/cli-0.7.6-29snre4z.mjs +0 -2
- package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +0 -3
- package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +0 -6
- package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +0 -12
- package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +0 -2
- package/dist/chunks/cli-0.7.6-310844c3.mjs +0 -4
- package/dist/chunks/cli-0.7.6-39q0e172.mjs +0 -2
- package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +0 -2
- package/dist/chunks/cli-0.7.6-43kp2p25.mjs +0 -2
- package/dist/chunks/cli-0.7.6-471rvdw2.mjs +0 -2
- package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +0 -3
- package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +0 -2
- package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +0 -2
- package/dist/chunks/cli-0.7.6-4v3f036y.mjs +0 -2
- package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +0 -2
- package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +0 -2
- package/dist/chunks/cli-0.7.6-517m3gcx.mjs +0 -2
- package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +0 -59
- package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +0 -2
- package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +0 -2
- package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +0 -2
- package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +0 -5
- package/dist/chunks/cli-0.7.6-5wj27v22.mjs +0 -18
- package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +0 -2
- package/dist/chunks/cli-0.7.6-62ea895q.mjs +0 -2
- package/dist/chunks/cli-0.7.6-67tqckbs.mjs +0 -133
- package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +0 -4
- package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +0 -2
- package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +0 -2
- package/dist/chunks/cli-0.7.6-73h798cq.mjs +0 -2
- package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +0 -2
- package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +0 -2
- package/dist/chunks/cli-0.7.6-7mzraehr.mjs +0 -16
- package/dist/chunks/cli-0.7.6-7szsqp12.mjs +0 -2
- package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +0 -3
- package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8k508w7p.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8srvcg12.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +0 -2
- package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +0 -2
- package/dist/chunks/cli-0.7.6-9508tj8e.mjs +0 -17
- package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +0 -2
- package/dist/chunks/cli-0.7.6-9a706kh3.mjs +0 -2
- package/dist/chunks/cli-0.7.6-9w6egknj.mjs +0 -8
- package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +0 -4
- package/dist/chunks/cli-0.7.6-am0sf3er.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +0 -12
- package/dist/chunks/cli-0.7.6-ayd8297m.mjs +0 -3
- package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +0 -2
- package/dist/chunks/cli-0.7.6-berqrfpz.mjs +0 -2
- package/dist/chunks/cli-0.7.6-bese1aqp.mjs +0 -2
- package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +0 -2
- package/dist/chunks/cli-0.7.6-c3npkenn.mjs +0 -1
- package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +0 -2
- package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +0 -2
- package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +0 -2
- package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +0 -3
- package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +0 -2
- package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +0 -18
- package/dist/chunks/cli-0.7.6-d4rmetja.mjs +0 -2
- package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +0 -2
- package/dist/chunks/cli-0.7.6-d8hz302t.mjs +0 -2
- package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +0 -4
- package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +0 -2
- package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +0 -4
- package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +0 -2
- package/dist/chunks/cli-0.7.6-dq87daze.mjs +0 -2
- package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +0 -10
- package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +0 -2
- package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +0 -58
- package/dist/chunks/cli-0.7.6-edjsszs3.mjs +0 -12
- package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ejjekwys.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ek2a439r.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +0 -2
- package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +0 -3
- package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +0 -2
- package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +0 -2
- package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +0 -2
- package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +0 -199
- package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +0 -17
- package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +0 -2
- package/dist/chunks/cli-0.7.6-g1gd1372.mjs +0 -5
- package/dist/chunks/cli-0.7.6-g2437s1w.mjs +0 -2
- package/dist/chunks/cli-0.7.6-g44g34fb.mjs +0 -2
- package/dist/chunks/cli-0.7.6-g5cva69z.mjs +0 -2
- package/dist/chunks/cli-0.7.6-g736y207.mjs +0 -39
- package/dist/chunks/cli-0.7.6-g802sp0p.mjs +0 -2
- package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +0 -45
- package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +0 -3
- package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +0 -2
- package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +0 -2
- package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +0 -2
- package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +0 -9
- package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +0 -15
- package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +0 -2
- package/dist/chunks/cli-0.7.6-j9p952mf.mjs +0 -2
- package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +0 -2
- package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +0 -6
- package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +0 -2
- package/dist/chunks/cli-0.7.6-jwqgj667.mjs +0 -2
- package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +0 -3
- package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +0 -4
- package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +0 -67
- package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +0 -2
- package/dist/chunks/cli-0.7.6-m51wgngt.mjs +0 -2
- package/dist/chunks/cli-0.7.6-md1ramb7.mjs +0 -2
- package/dist/chunks/cli-0.7.6-md31wz8f.mjs +0 -2
- package/dist/chunks/cli-0.7.6-md4x57wd.mjs +0 -2
- package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +0 -2
- package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +0 -3
- package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +0 -2
- package/dist/chunks/cli-0.7.6-p2268sge.mjs +0 -2
- package/dist/chunks/cli-0.7.6-pasrzvza.mjs +0 -2
- package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +0 -2
- package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +0 -3
- package/dist/chunks/cli-0.7.6-pzk668w8.mjs +0 -2
- package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +0 -5471
- package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +0 -6
- package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +0 -2
- package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +0 -2
- package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +0 -2
- package/dist/chunks/cli-0.7.6-r78s2g03.mjs +0 -18
- package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +0 -5
- package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +0 -2
- package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +0 -2
- package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +0 -2
- package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +0 -2
- package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +0 -24
- package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +0 -7
- package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +0 -2
- package/dist/chunks/cli-0.7.6-svqwyxab.mjs +0 -42
- package/dist/chunks/cli-0.7.6-t224fm0b.mjs +0 -2
- package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +0 -2
- package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +0 -2
- package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +0 -2
- package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +0 -2
- package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +0 -2
- package/dist/chunks/cli-0.7.6-vhan81qg.mjs +0 -2
- package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +0 -2
- package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +0 -2
- package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +0 -4
- package/dist/chunks/cli-0.7.6-w5smxper.mjs +0 -2
- package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +0 -2
- package/dist/chunks/cli-0.7.6-w66170ej.mjs +0 -2
- package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +0 -3
- package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +0 -3
- package/dist/chunks/cli-0.7.6-wepz3cym.mjs +0 -4
- package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +0 -2
- package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +0 -2
- package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +0 -2
- package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +0 -34
- package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +0 -20
- package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +0 -2
- package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +0 -25
- package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +0 -2
- package/dist/chunks/cli-0.7.6-xky4ty14.mjs +0 -2
- package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +0 -2
- package/dist/chunks/cli-0.7.6-xyx40s83.mjs +0 -21
- package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +0 -24
- package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +0 -2
- package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +0 -133
- package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +0 -15
- package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +0 -24
- package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +0 -2
- package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +0 -12
- package/dist/chunks/cli-0.7.6-ywg6e349.mjs +0 -25
- package/dist/chunks/cli-0.7.6-z13va0jc.mjs +0 -2
- package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +0 -2
- package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +0 -3
- package/dist/chunks/cli-0.7.6-zepjez10.mjs +0 -50
- package/dist/chunks/cli-0.7.6-zmkr521v.mjs +0 -15
- package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +0 -2
- package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +0 -2
- package/dist/chunks/client-0.7.6-s5r00qzn.mjs +0 -1
- package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +0 -1
- package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +0 -3
- package/dist/chunks/config-0.7.6-0wrs7d25.mjs +0 -1
- package/dist/chunks/config-0.7.6-28k8xgy7.mjs +0 -1
- package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +0 -1
- package/dist/chunks/context-0.7.6-efvp1txb.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +0 -1
- package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +0 -1
- package/dist/chunks/copy-0.7.6-tb3stmba.mjs +0 -9
- package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +0 -1
- package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +0 -1
- package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +0 -1
- package/dist/chunks/debug-0.7.6-29wym0xr.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +0 -1446
- package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +0 -1
- package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +0 -1
- package/dist/chunks/detection-0.7.6-rg544p2p.mjs +0 -1
- package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +0 -1
- package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +0 -1
- package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +0 -1
- package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +0 -10
- package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +0 -1
- package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +0 -1
- package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +0 -1
- package/dist/chunks/environments-0.7.6-4vj956d6.mjs +0 -1
- package/dist/chunks/errors-0.7.6-3rfme91e.mjs +0 -1
- package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +0 -1
- package/dist/chunks/exit-0.7.6-1zq90j34.mjs +0 -1
- package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +0 -1
- package/dist/chunks/export-0.7.6-6annregx.mjs +0 -2
- package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +0 -1
- package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +0 -1
- package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +0 -1
- package/dist/chunks/git-0.7.6-z2fwspdf.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +0 -1
- package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +0 -4
- package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +0 -1
- package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +0 -1
- package/dist/chunks/headless-0.7.6-0624t1g9.mjs +0 -2
- package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +0 -6
- package/dist/chunks/help-0.7.6-cgg68b97.mjs +0 -1
- package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +0 -3
- package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +0 -79
- package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +0 -1
- package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +0 -1
- package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +0 -9
- package/dist/chunks/index-0.7.6-2zatk70c.mjs +0 -1
- package/dist/chunks/index-0.7.6-415hw608.mjs +0 -1
- package/dist/chunks/index-0.7.6-7wrzedvg.mjs +0 -1
- package/dist/chunks/index-0.7.6-98ws3n8p.mjs +0 -1
- package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +0 -1
- package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +0 -1
- package/dist/chunks/index-0.7.6-djapsy32.mjs +0 -1
- package/dist/chunks/index-0.7.6-efatyc79.mjs +0 -17
- package/dist/chunks/index-0.7.6-egyaf79a.mjs +0 -5
- package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +0 -1
- package/dist/chunks/index-0.7.6-h2kqerxv.mjs +0 -1
- package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +0 -1
- package/dist/chunks/index-0.7.6-jk32t8wg.mjs +0 -1
- package/dist/chunks/index-0.7.6-k60v4n8g.mjs +0 -9
- package/dist/chunks/index-0.7.6-kb22mqnf.mjs +0 -2
- package/dist/chunks/index-0.7.6-mj4y74z8.mjs +0 -1
- package/dist/chunks/index-0.7.6-pkyqwagx.mjs +0 -1
- package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +0 -1
- package/dist/chunks/index-0.7.6-tc2zr05j.mjs +0 -2
- package/dist/chunks/index-0.7.6-tk8kmvah.mjs +0 -1
- package/dist/chunks/index-0.7.6-vhgb870z.mjs +0 -1
- package/dist/chunks/index-0.7.6-yndsc291.mjs +0 -30
- package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +0 -1
- package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +0 -1
- package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +0 -1
- package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +0 -870
- package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +0 -1
- package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +0 -149
- package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +0 -1
- package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +0 -1
- package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +0 -2
- package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +0 -1
- package/dist/chunks/log-0.7.6-n1gwe75k.mjs +0 -1
- package/dist/chunks/main-0.7.6-787at8bh.mjs +0 -1
- package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +0 -1
- package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +0 -4
- package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +0 -1
- package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +0 -17
- package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +0 -1
- package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +0 -3
- package/dist/chunks/model-0.7.6-10bxpdy1.mjs +0 -2
- package/dist/chunks/model-0.7.6-463cgk44.mjs +0 -1
- package/dist/chunks/node-0.7.6-yq8nb00v.mjs +0 -12
- package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +0 -1
- package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +0 -14
- package/dist/chunks/output-style-0.7.6-cs808te7.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +0 -1
- package/dist/chunks/parser-0.7.6-eae6w23n.mjs +0 -1
- package/dist/chunks/passes-0.7.6-k46cf658.mjs +0 -1
- package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +0 -1
- package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +0 -3
- package/dist/chunks/plan-0.7.6-ry44stze.mjs +0 -1
- package/dist/chunks/plist-0.7.6-0vee72zr.mjs +0 -1
- package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +0 -1
- package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +0 -9
- package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +0 -2
- package/dist/chunks/print-0.7.6-qddcs91f.mjs +0 -57
- package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +0 -1
- package/dist/chunks/process-0.7.6-6b1s37w1.mjs +0 -1
- package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +0 -9
- package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +0 -1
- package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +0 -1
- package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +0 -1
- package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +0 -13
- package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +0 -2
- package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +0 -1
- package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +0 -34
- package/dist/chunks/registry-0.7.6-gat54dy3.mjs +0 -1
- package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +0 -5
- package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +0 -2
- package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +0 -1
- package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +0 -1
- package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +0 -1
- package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +0 -1
- package/dist/chunks/resume-0.7.6-za9pttkz.mjs +0 -2
- package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +0 -1
- package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +0 -1
- package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +0 -1
- package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +0 -1
- package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +0 -1
- package/dist/chunks/setup-0.7.6-f52y5q94.mjs +0 -5
- package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +0 -1
- package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +0 -1
- package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +0 -1
- package/dist/chunks/state-0.7.6-exkbe4vf.mjs +0 -1
- package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +0 -6
- package/dist/chunks/status-0.7.6-etkntf2w.mjs +0 -1
- package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +0 -1
- package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +0 -1
- package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +0 -1
- package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +0 -1
- package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +0 -1
- package/dist/chunks/theme-0.7.6-artxd1km.mjs +0 -1
- package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +0 -1
- package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +0 -1
- package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +0 -1
- package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +0 -1
- package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +0 -1
- package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +0 -69
- package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +0 -4
- package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +0 -86
- package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +0 -1
- package/dist/chunks/upload-0.7.6-6880h5gd.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +0 -1
- package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +0 -1
- package/dist/chunks/util-0.7.6-0cm7xj78.mjs +0 -1
- package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +0 -1
- package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +0 -1
- package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +0 -1
- package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +0 -132
- package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +0 -1
- package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +0 -1
- package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +0 -7
- package/dist/claudin-vscode.vsix +0 -0
- package/scripts/postinstall-warmup.mjs +0 -70
- package/scripts/v8cache-gc.mjs +0 -84
- /package/dist/chunks/{cli-0.7.6-sznceb3v.mjs → cli-1.0.3-25zd2770.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-wmhr2zkd.mjs → cli-1.0.3-43683395.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-azjnjp5p.mjs → cli-1.0.3-77dec30x.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-2nmq534s.mjs → cli-1.0.3-adgwsvq3.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-wmk10em6.mjs → cli-1.0.3-cf280jvq.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-b39v6rz1.mjs → cli-1.0.3-hn2qw1pk.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-pef1cr89.mjs → cli-1.0.3-qf5pjy0v.mjs} +0 -0
- /package/dist/chunks/{cli-0.7.6-jpjn976y.mjs → cli-1.0.3-vzm5gxzn.mjs} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Eh as e,Fh as qq,Gh as Jq,Hh as _q}from"./cli-0.7.6-96qqpq0c.mjs";import{Ih as Zq,Jh as Pq}from"./cli-0.7.6-5dk57g7k.mjs";import{cz as j,dz as y,hz as x}from"./cli-0.7.6-qan5xxdc.mjs";import{I0 as Iq,b0 as F,d0 as K}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as Y,P2 as L,Q2 as Qq}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as m}from"./cli-0.7.6-471rvdw2.mjs";import{Gba as r,M9 as w,O9 as h,Oba as Vq,V9 as f,Y8 as I,Z8 as t,l_ as Uq}from"./cli-0.7.6-fn56g2cc.mjs";import{Lfa as Eq,wfa as Xq,xfa as Mq}from"./cli-0.7.6-0ekx5n2q.mjs";import{Tqa as R,Xqa as D}from"./cli-0.7.6-jpjn976y.mjs";function p(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,V=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:V,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var u=D(()=>{x();b=R(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),V=q.join(`
|
|
2
|
-
`),X=J.join(`
|
|
3
|
-
`);O.useEffect(()=>{let v=!1;M(!0);async function G(){let N=V?V.split(`
|
|
4
|
-
`):[],_=X?X.split(`
|
|
5
|
-
`):[],E=(await Promise.all(_.map((B)=>h(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),f(B)]);return{root:B,name:S(B),branch:Aq,files:C?p(C,g):[],hunks:g}}));if(!v)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!v)z([]),Z([]),M(!1)}),()=>{v=!0}},[V,X,U]);let W=O.useCallback(()=>H((v)=>v+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();x();u();O=R(m(),1)});import{basename as c}from"path";function n(q,J,$){if(q===0)return"";return J.join("")+($?vq:a)}function d(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=d("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=d(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function l(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>c(X.path).localeCompare(c(W.path))),V=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],v=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;v=`${v}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!V,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:v,depth:$,collapsed:E,guides:n($,M,N)}),!E){let P=$>=1?[...M,N?Bq:a]:M;l(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],v=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:n($,M,v)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${r(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}l(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var a="│ ",vq="└ ",Bq=" ";var i=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return T[Math.abs(J)%T.length]}function o(q){let J=T.length;return T[(q%J+J)%J]}var T;var s=D(()=>{T=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function $q(){let q=Zq();return{enabled:q,fileIcon:(J)=>q?Jq(J):"",folderIcon:(J)=>q?J?qq:e:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var zq=D(()=>{t();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function JJ(q){return q.flatMap((J)=>J.files)}function ZJ({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo($q,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),V=[];for(let X=U;X<H;X++){let W=q[X];V.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),V,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:o(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=Mq(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),V=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,v=Math.max(4,$-U-X.length-(V?2:0)-W-1),G=Xq(Lq(q.file.path),v);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,V,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq;var Tq=D(()=>{t();Iq();Eq();s();i();zq();Qq();Wq=R(m(),1)});
|
|
6
|
-
export{wq as $f,Hq as ag,$q as bg,zq as cg,hq as dg,s as eg,Nq as fg,i as gg,JJ as hg,ZJ as ig,Tq as jg};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Fg as s,Gg as Sy}from"./cli-0.7.6-w7k9x0kq.mjs";import{Og as wy,Qg as kG}from"./cli-0.7.6-29snre4z.mjs";import{Ii as Zy,Ki as Ky,Li as ny}from"./cli-0.7.6-1bfz5qa5.mjs";import{AS as Vy,Ar as Wy,BL as by,FL as GG,Ir as ly,Ms as C,OF as i,PF as Ly,Rx as X,Sx as oy,TF as g,UF as My,Us as _y,VS as zG,bL as j,bo as yy,cL as ey,do as Gy,fo as ky,io as qy,jS as Hy,jo as zy,kL as Oy,kl as e,ko as Iy,kv as Xy,mo as Jy,nv as ay,ol as sy,pr as Qy,so as xy,uL as yG}from"./cli-0.7.6-qan5xxdc.mjs";import{VW as Ny,WW as ty}from"./cli-0.7.6-y36b0e0y.mjs";import{XX as Py,YX as Uy,ZX as jy,bY as qG}from"./cli-0.7.6-chcjfb2p.mjs";import{hY as Ry,nY as cy}from"./cli-0.7.6-xczzrd9d.mjs";import{$Z as Q,I0 as ry,IY as hy,a0 as $y,b0 as L,d0 as d}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as O,P2 as E,Q2 as p}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as Yy}from"./cli-0.7.6-471rvdw2.mjs";import{O5 as iy,c7 as h,o5 as c,p5 as t,v7 as gy}from"./cli-0.7.6-7mzraehr.mjs";import{R7 as a,S7 as fy}from"./cli-0.7.6-2kjdfns9.mjs";import{$$ as Ey,Kda as M,Q9 as T,Z$ as J,e_ as o,jca as n,l_ as Ay,mda as P,n_ as U,o_ as uy,oca as r,pca as v,pda as q,yca as dy}from"./cli-0.7.6-fn56g2cc.mjs";import{Aga as u,oga as K,zga as A}from"./cli-0.7.6-ek2a439r.mjs";import{Nha as f,Qha as Fy}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as _,Tia as Dy}from"./cli-0.7.6-jmpc9xmj.mjs";import{Tqa as D}from"./cli-0.7.6-jpjn976y.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();oy();sy();gy();ty();M();ly();Ey();ay();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ry())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&a.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>U()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Vy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${X("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${X("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>U()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
|
|
4
|
-
export{wG as Xa,PG as Ya,VG as Za,x as _a,cG as $a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vqa as H,Xqa as UJ}from"./cli-0.7.6-jpjn976y.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
-
export{W1 as A1,QQ as B1,WQ as C1,ZQ as D1,KQ as E1,FJ as F1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lpa as M,Mpa as Y}from"./cli-0.7.6-xg6ka3pp.mjs";import{Xqa as W}from"./cli-0.7.6-jpjn976y.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as wja,N as xja,X as yja,_ as zja,j as Aja,U as Bja,I as Cja,S as Dja,T as Eja,c as Fja,L as Gja,w as Hja,z as Ija,O as Jja,x as Kja,k as Lja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{k3 as m}from"./cli-0.7.6-vhan81qg.mjs";import{d7 as K,v7 as $}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as Y,Lca as X,mda as Q,ofa as Z,pda as J}from"./cli-0.7.6-fn56g2cc.mjs";import{Mha as W}from"./cli-0.7.6-5qabm4xe.mjs";import{Xqa as V}from"./cli-0.7.6-jpjn976y.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
-
export{y as Ii,G as Ji,U as Ki,w as Li};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Wqa as x,Xqa as z}from"./cli-0.7.6-jpjn976y.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
-
export{A as G1,F as H1,G as I1,H as J1,J as K1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as H}from"./cli-0.7.6-jpjn976y.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
-
export{F as Wfa,K as Xfa,M as Yfa,N as Zfa,O as _fa,P as $fa,J as aga};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bx as C,Ex as X}from"./cli-0.7.6-qan5xxdc.mjs";import{R2 as W}from"./cli-0.7.6-471rvdw2.mjs";import{H5 as J,O5 as V,v5 as I}from"./cli-0.7.6-7mzraehr.mjs";import{Aga as T,fga as H}from"./cli-0.7.6-ek2a439r.mjs";import{Tqa as P,Xqa as Q}from"./cli-0.7.6-jpjn976y.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
-
export{v as jd,Y as kd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j9 as B,l9 as p}from"./cli-0.7.6-fn56g2cc.mjs";import{Nha as C,Qha as y}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as V,Tia as M,uia as T,yia as x}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as L,vja as c}from"./cli-0.7.6-310844c3.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
-
export{E as Rb,I as Sb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Id as x,Jd as o}from"./cli-0.7.6-0b47jy2g.mjs";import{$y as u,DK as O,EC as M,EK as a,Gz as K,Iz as m,KC as l,PK as R,SK as i,Uy as $,VL as W,Vy as d,YL as t,Zy as y,dp as Y,fp as g,mu as Z,su as v}from"./cli-0.7.6-qan5xxdc.mjs";import{gfa as X,ofa as h}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as I,Tia as c}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as V,vja as f}from"./cli-0.7.6-310844c3.mjs";import{mpa as _,vla as U}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as C}from"./cli-0.7.6-jpjn976y.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
-
export{Lj as Ed,p as Fd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{OF as U,PF as A,TF as V,UF as E}from"./cli-0.7.6-qan5xxdc.mjs";import{dW as W,lW as G}from"./cli-0.7.6-2ff9pq9s.mjs";import{I0 as O,b0 as F,d0 as H}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as q,P2 as K,Q2 as L}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as I}from"./cli-0.7.6-471rvdw2.mjs";import{X6 as Q,v7 as p}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as $,mda as M,pda as N}from"./cli-0.7.6-fn56g2cc.mjs";import{Tqa as Z,Xqa as _}from"./cli-0.7.6-jpjn976y.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
|
|
2
|
-
export{b as ec,d as fc,P as gc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ii as R,Ki as y,Li as v}from"./cli-0.7.6-1bfz5qa5.mjs";import{I0 as E,IY as c,d0 as K}from"./cli-0.7.6-56h0kfkw.mjs";import{N2 as O,O2 as N,P2 as M,Q2 as U}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as G}from"./cli-0.7.6-471rvdw2.mjs";import{Kda as b,pda as L}from"./cli-0.7.6-fn56g2cc.mjs";import{Lfa as W,zfa as Z}from"./cli-0.7.6-0ekx5n2q.mjs";import{Qha as p}from"./cli-0.7.6-z4k83sx6.mjs";import{Tqa as F,Xqa as j}from"./cli-0.7.6-jpjn976y.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
-
export{f as Ng,r as Og,n as Pg,l as Qg};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{D1 as k,F1 as w}from"./cli-0.7.6-0tt8ccr8.mjs";import{b7 as j,v7 as v}from"./cli-0.7.6-7mzraehr.mjs";import{Aga as s,oga as d,zga as h}from"./cli-0.7.6-ek2a439r.mjs";import{Lja as q}from"./cli-0.7.6-0wr25ecz.mjs";import{Xqa as p}from"./cli-0.7.6-jpjn976y.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
-
export{x as dW,O as eW,P as fW,Q as gW,R as hW,U as iW,W as jW,X as kW,z as lW};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Xqa as j}from"./cli-0.7.6-jpjn976y.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
|
|
2
|
-
`:`
|
|
3
|
-
`)+z,H=D+1,D=q.indexOf(`
|
|
4
|
-
`,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
|
|
5
|
-
`);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
|
|
6
|
-
export{o as Q7,O1 as R7,e as S7};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{T7 as D}from"./cli-0.7.6-67tqckbs.mjs";import{Cia as L,Gia as JG,Qia as W,Tia as a}from"./cli-0.7.6-jmpc9xmj.mjs";import{Aja as c,Bja as jG,Lja as GG}from"./cli-0.7.6-0wr25ecz.mjs";import{Lpa as U,Mpa as g}from"./cli-0.7.6-xg6ka3pp.mjs";import{gqa as H,yqa as RG}from"./cli-0.7.6-r78s2g03.mjs";import{Cqa as wG}from"./cli-0.7.6-ama4wyv2.mjs";import{Tqa as WG,Xqa as j,Yqa as e}from"./cli-0.7.6-jpjn976y.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
-
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
-
\r
|
|
4
|
-
`);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
-
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
-
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
|
|
7
|
-
`;let $=n(K);K.write(`${w}\r
|
|
8
|
-
`);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
|
|
9
|
-
`;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
|
|
10
|
-
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
-
`);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.7.6-ew2v6b0x.mjs"),import("./index-0.7.6-2rpgkwj4.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
-
export{hG as w7,p as x7,F as y7,gG as z7,aG as A7,pG as B7,KG as C7,MJ as D7,HJ as E7,OG as F7,I as G7,h as H7,qJ as I7,jJ as J7,UJ as K7,_J as L7,FJ as M7,NJ as N7,TJ as O7,vG as P7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C9 as Z,E9 as f,Tea as B,Wea as K,jea as $,kea as y}from"./cli-0.7.6-fn56g2cc.mjs";import{Dja as Y,Lja as E}from"./cli-0.7.6-0wr25ecz.mjs";import{Xqa as N,Yqa as x}from"./cli-0.7.6-jpjn976y.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
-
export{D as ti,s as ui,g as vi};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Rpa as Q,Spa as V,Tpa as W,Upa as X,Vpa as Y,Wpa as Z,fqa as w}from"./cli-0.7.6-svqwyxab.mjs";import{Xqa as v}from"./cli-0.7.6-jpjn976y.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as _ia,L as $ia,_ as aja,S as bja,k as cja,F as dja,D as eja,P as fja,x as gja,y as hja,T as ija,O as jja,R as kja,U as lja,f as mja,N as nja,I as oja,$ as pja,A as qja,p as rja,C as sja,h as tja,E as uja,b as vja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ap as Rq,Bp as i,Cp as Aq,Uo as S,Zo as Zq,xo as E,yo as m,yp as l,zo as Xq}from"./cli-0.7.6-qan5xxdc.mjs";import{$aa as h,Waa as u,Yaa as g,aba as n,fba as vq,gfa as D,ofa as Qq}from"./cli-0.7.6-fn56g2cc.mjs";import{Tga as d,Vga as Uq}from"./cli-0.7.6-k5r0yz41.mjs";import{Cia as M,Gia as y,Qia as V,Tia as e,tia as P,uia as v,yia as f}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as W,pja as O,qja as C,vja as _}from"./cli-0.7.6-310844c3.mjs";import{gqa as p,yqa as qq}from"./cli-0.7.6-r78s2g03.mjs";import{Xqa as N}from"./cli-0.7.6-jpjn976y.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
-
export{Fq as ld,r as md,nq as nd,lq as od,Oq as pd,QQ as qd,XQ as rd,Dq as sd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{K8 as Z,O8 as _,P8 as w}from"./cli-0.7.6-hsa9j8sb.mjs";import{K9 as $,Kda as j,X_ as k,l_ as T,mda as W,pda as V,s$ as D,y9 as Y,z9 as U}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as N,Tia as M}from"./cli-0.7.6-jmpc9xmj.mjs";import{mpa as O,vla as X}from"./cli-0.7.6-bfwq4dm5.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{b as gb,y as hb,P as ib,d as jb,c as kb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as n}from"./cli-0.7.6-jpjn976y.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
-
export{o as wV,e as xV,i as yV,g as zV,r as AV,u as BV,f as CV,l as DV,t as EV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vqa as j}from"./cli-0.7.6-jpjn976y.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
-
export{Lt as R2};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{D as G0}from"./cli-0.7.6-4eaywsgw.mjs";import{V as p0}from"./cli-0.7.6-jzk3fxqa.mjs";import{gb as E0}from"./cli-0.7.6-3vqf88sk.mjs";import{lb as k0}from"./cli-0.7.6-j9p952mf.mjs";import{Fc as P0,Hc as Fc}from"./cli-0.7.6-ccbtfaqn.mjs";import{Kc as N,Lc as uc}from"./cli-0.7.6-v3rjsfcr.mjs";import{Nc as Q0,Oc as hc}from"./cli-0.7.6-8vdxmbjt.mjs";import{hd as n0,id as x0}from"./cli-0.7.6-md1ramb7.mjs";import{Ax as X,EG as y0,EM as u0,Ex as l0,FG as _c,GM as r0,JE as Y0,MF as m0,NE as lc,NF as g0,OF as r,QF as A0,Qn as p,Rn as K0,Sn as f0,Tn as N0,Un as i0,VF as Y,Vn as d0,WF as M0,XF as Z0,YF as Mc,Yn as W,Zn as j,aT as O0,gM as _0,kT as b0,lR as d,mT as B0,nR as W0,pR as Ic,pT as ac,qM as j0,sT as D0,uT as Tc}from"./cli-0.7.6-qan5xxdc.mjs";import{I0 as x,IY as G,ZY as X0,b0 as c0,bZ as oc,d0 as y,h0 as g}from"./cli-0.7.6-56h0kfkw.mjs";import{N2 as e,O2 as m,P2 as U,Q2 as C}from"./cli-0.7.6-8k508w7p.mjs";import{H3 as H0,L3 as mc,n4 as J0,o4 as nc}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as I0,Tea as z0,Wea as ic,gda as V0,lca as V,mda as s,pca as J,pda as t,rda as q0,sca as w0,uca as U0,yca as k}from"./cli-0.7.6-fn56g2cc.mjs";import{Qfa as R,Vfa as cc}from"./cli-0.7.6-0ekx5n2q.mjs";import{Aga as fc,mga as C0,uga as L0}from"./cli-0.7.6-ek2a439r.mjs";import{Nha as q,Qha as E}from"./cli-0.7.6-z4k83sx6.mjs";import{Tia as $0}from"./cli-0.7.6-jmpc9xmj.mjs";import{Bja as K,Ija as R0,Lja as e0}from"./cli-0.7.6-0wr25ecz.mjs";import{Yla as a0,coa as T0,mpa as v0}from"./cli-0.7.6-bfwq4dm5.mjs";import{Tqa as D,Yqa as L}from"./cli-0.7.6-jpjn976y.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.7.6-3eyfg9zt.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.7.6-jqrhx95e.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.7.6-18f6pde2.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.7.6-bsjh0666.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.7.6-1d3f84xj.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.7.6-3ds3vmhq.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.7.6-014qynp3.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.7.6-5axvmtp3.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
-
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
-
export{Cc as v,Lc as w,Gf as x,wc as y,z,Ef as A,kf as B,pf as C};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E as D}from"./cli-0.7.6-b39v6rz1.mjs";import{O as x}from"./cli-0.7.6-9w6egknj.mjs";import{$a as A}from"./cli-0.7.6-0n7tfcxz.mjs";import{ab as L}from"./cli-0.7.6-69hzrwk9.mjs";import{Ho as k,Io as U,Lo as F,Mo as p,tT as b,uT as u}from"./cli-0.7.6-qan5xxdc.mjs";import{eU as O,hU as c}from"./cli-0.7.6-md31wz8f.mjs";import{G3 as Y,L3 as I,P5 as w,Q5 as M,Q6 as E,R6 as G,v7 as m}from"./cli-0.7.6-7mzraehr.mjs";import{Kca as X,Lca as B,Tea as $,Wea as z}from"./cli-0.7.6-fn56g2cc.mjs";import{$ga as y,_ga as _}from"./cli-0.7.6-8h5rwm21.mjs";import{Qia as K,Tia as T}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as V,vja as S}from"./cli-0.7.6-310844c3.mjs";import{Bja as J,Dja as N,Lja as v}from"./cli-0.7.6-0wr25ecz.mjs";import{gqa as W,yqa as j}from"./cli-0.7.6-r78s2g03.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
-
export{Xq as D};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as o}from"./cli-0.7.6-jpjn976y.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as U7,i as V7,n as W7,s as X7,c as Y7,r as Z7,a as _7,p as $7,_ as a8,S as b8,E as c8,e as d8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bja as q,Lja as U}from"./cli-0.7.6-0wr25ecz.mjs";import{Wqa as L,Xqa as X}from"./cli-0.7.6-jpjn976y.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
-
export{G as $W,Y as aX,Z as bX,$ as cX,Q as dX,_ as eX,v as fX,E as gX,A as hX,h as iX,u as jX,f as kX,w as lX,S as mX,P as nX,I as oX,l as pX,y as qX,g as rX};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I0 as f,IY as s,d0 as t}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as n,P2 as c,Q2 as r}from"./cli-0.7.6-8k508w7p.mjs";import{Tqa as m,Xqa as l}from"./cli-0.7.6-jpjn976y.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as og,p as pg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Mx as Pq,On as T,Pn as Cq,Qx as cq}from"./cli-0.7.6-qan5xxdc.mjs";import{jY as Uq,kY as Iq,nY as kq}from"./cli-0.7.6-xczzrd9d.mjs";import{I0 as hq,IY as aq,b0 as L,d0 as O}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as J,P2 as Q,Q2 as vq}from"./cli-0.7.6-8k508w7p.mjs";import{G4 as bq,H4 as Mq,_4 as Sq}from"./cli-0.7.6-7mzraehr.mjs";import{$$ as fq,Kda as Bq,Z$ as Nq,n_ as Xq,o_ as jq,pda as Rq}from"./cli-0.7.6-fn56g2cc.mjs";import{Aga as nq}from"./cli-0.7.6-ek2a439r.mjs";import{Tqa as yq,Xqa as Gq}from"./cli-0.7.6-jpjn976y.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
|
|
2
|
-
export{dq as Bf,eq as Cf,Wq as Df,LH as Ef,uq as Ff};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Kw as I,Lw as P,Pw as t,wp as W,xp as n}from"./cli-0.7.6-qan5xxdc.mjs";import{W2 as H,X2 as p}from"./cli-0.7.6-7szsqp12.mjs";import{Y2 as C,_2 as i}from"./cli-0.7.6-0gzsv22g.mjs";import{G3 as S,L3 as c,X6 as R,b7 as V,v7 as l,w6 as v}from"./cli-0.7.6-7mzraehr.mjs";import{Jea as T,Kca as q,Kda as O,Kea as Y,Lca as u,Qea as y,Tea as k,Wea as g,gfa as D,mda as E,ofa as m,pda as X}from"./cli-0.7.6-fn56g2cc.mjs";import{Tga as G,Vga as f,Wga as $,Xga as h}from"./cli-0.7.6-k5r0yz41.mjs";import{Gha as Z,Lha as _,Mha as M}from"./cli-0.7.6-5qabm4xe.mjs";import{Qia as x,Tia as b}from"./cli-0.7.6-jmpc9xmj.mjs";import{gqa as Q,yqa as A}from"./cli-0.7.6-r78s2g03.mjs";import{Xqa as U}from"./cli-0.7.6-jpjn976y.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
-
export{Yj as qc,r as rc};
|