@claudiolabs/claudin 1.1.37 → 1.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/App-1.1.38-ywjx5zwg.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.38-g8aaewqn.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.38-3xp2vky0.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.38-ng5ew4f1.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.38-pb4syd5b.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.38-v5m7388w.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.38-7xpy0azc.mjs +6 -0
- package/dist/chunks/Doctor-1.1.38-8c786cbs.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.38-gsmc5cbg.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.38-34mcvk0g.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.38-4tzaxt0t.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.38-5aqykfy4.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.38-hg33ngjd.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.38-e0dgakf3.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.38-s1stmw8z.mjs +1 -0
- package/dist/chunks/REPL-1.1.38-24nb99vc.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.38-ph61hy3h.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.38-waf94h4c.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.38-8zeez0vw.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.38-x67yqx1x.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.38-s7acgm11.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.38-xdxg0v37.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.38-ze3nezmq.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.38-4hejnp0f.mjs +1 -0
- package/dist/chunks/add-dir-1.1.38-9njmqx1q.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.38-2vgbffh0.mjs +1 -0
- package/dist/chunks/agents-1.1.38-p9ee8aj6.mjs +3 -0
- package/dist/chunks/agents-1.1.38-td2q9455.mjs +110 -0
- package/dist/chunks/api-1.1.38-8mx12h9x.mjs +1 -0
- package/dist/chunks/asciicast-1.1.38-ge5twq4b.mjs +1 -0
- package/dist/chunks/auth-1.1.38-qd9cf36r.mjs +1 -0
- package/dist/chunks/auth-1.1.38-z9s1s7ya.mjs +1 -0
- package/dist/chunks/autoMode-1.1.38-k48yn49s.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.38-akdcfhnr.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.38-x4vhee3g.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.38-bvd35tyn.mjs +1 -0
- package/dist/chunks/branch-1.1.38-ne2jsk2x.mjs +4 -0
- package/dist/chunks/bridge-1.1.38-vdxahb1p.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.38-yf7zjpvf.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.38-eszbcc63.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.38-ywfxh5hm.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.38-jvevzgc3.mjs +1 -0
- package/dist/chunks/btw-1.1.38-hqjfa45a.mjs +1 -0
- package/dist/chunks/buddy-1.1.38-rq8ak7jk.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.38-dvwdm93b.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.38-pxpr6at8.mjs +4 -0
- package/dist/chunks/caches-1.1.38-mxte3pjs.mjs +1 -0
- package/dist/chunks/cd-1.1.38-nj8jwk5n.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.38-94tj322p.mjs +1 -0
- package/dist/chunks/claudemd-1.1.38-y4ajc9p8.mjs +1 -0
- package/dist/chunks/clear-1.1.38-17hx54za.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.38-e3qy2b07.mjs +1 -0
- package/dist/chunks/cli-1.1.38-06jvwc43.mjs +2 -0
- package/dist/chunks/cli-1.1.38-0cf6ttc6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-0dj1dmtd.mjs +2 -0
- package/dist/chunks/cli-1.1.38-0q1t1zs8.mjs +2 -0
- package/dist/chunks/cli-1.1.38-0x84gwbc.mjs +2 -0
- package/dist/chunks/cli-1.1.38-16r42mm1.mjs +2 -0
- package/dist/chunks/cli-1.1.38-1bv62dee.mjs +2 -0
- package/dist/chunks/cli-1.1.38-1c3thcc3.mjs +10 -0
- package/dist/chunks/cli-1.1.38-1e3jefp8.mjs +2 -0
- package/dist/chunks/cli-1.1.38-1jc6vgde.mjs +25 -0
- package/dist/chunks/cli-1.1.38-1k5hq477.mjs +2 -0
- package/dist/chunks/cli-1.1.38-1kce30qe.mjs +2 -0
- package/dist/chunks/cli-1.1.38-1wavwd72.mjs +10 -0
- package/dist/chunks/cli-1.1.38-20a2a6n3.mjs +2 -0
- package/dist/chunks/cli-1.1.38-21x08w6j.mjs +2 -0
- package/dist/chunks/cli-1.1.38-2a4wcbby.mjs +2 -0
- package/dist/chunks/cli-1.1.38-2jp2m8e4.mjs +2 -0
- package/dist/chunks/cli-1.1.38-2p7f0cx3.mjs +2 -0
- package/dist/chunks/cli-1.1.38-2x7b4x0w.mjs +3 -0
- package/dist/chunks/cli-1.1.38-2zbkp90c.mjs +2 -0
- package/dist/chunks/cli-1.1.38-37he9dkq.mjs +2 -0
- package/dist/chunks/cli-1.1.38-38f3b9as.mjs +2 -0
- package/dist/chunks/cli-1.1.38-3a7tvcmx.mjs +2 -0
- package/dist/chunks/cli-1.1.38-3c43sfc3.mjs +34 -0
- package/dist/chunks/cli-1.1.38-3d6qg7yb.mjs +7 -0
- package/dist/chunks/cli-1.1.38-3ez6bs0j.mjs +39 -0
- package/dist/chunks/cli-1.1.38-3gyfttrt.mjs +2 -0
- package/dist/chunks/cli-1.1.38-3j9z8bce.mjs +11 -0
- package/dist/chunks/cli-1.1.38-3q70db32.mjs +2 -0
- package/dist/chunks/cli-1.1.38-41hbjb5d.mjs +3 -0
- package/dist/chunks/cli-1.1.38-44ay6q12.mjs +2 -0
- package/dist/chunks/cli-1.1.38-4dvqxnwp.mjs +9 -0
- package/dist/chunks/cli-1.1.38-4g2k1n93.mjs +133 -0
- package/dist/chunks/cli-1.1.38-4vabm3a1.mjs +2 -0
- package/dist/chunks/cli-1.1.38-4wdys8df.mjs +2 -0
- package/dist/chunks/cli-1.1.38-4x6r8r0g.mjs +21 -0
- package/dist/chunks/cli-1.1.38-5zr9x873.mjs +18 -0
- package/dist/chunks/cli-1.1.38-62gxd3va.mjs +2 -0
- package/dist/chunks/cli-1.1.38-6dwdjwfe.mjs +2 -0
- package/dist/chunks/cli-1.1.38-6g33twaj.mjs +2 -0
- package/dist/chunks/cli-1.1.38-6hng9dxr.mjs +2 -0
- package/dist/chunks/cli-1.1.38-7a0vpxbg.mjs +7 -0
- package/dist/chunks/cli-1.1.38-7vygkwbt.mjs +2 -0
- package/dist/chunks/cli-1.1.38-7wqs4198.mjs +2 -0
- package/dist/chunks/cli-1.1.38-7y52ea97.mjs +2 -0
- package/dist/chunks/cli-1.1.38-7zvbnxfm.mjs +2 -0
- package/dist/chunks/cli-1.1.38-839xw74z.mjs +24 -0
- package/dist/chunks/cli-1.1.38-8br976cg.mjs +2 -0
- package/dist/chunks/cli-1.1.38-8jshtkmf.mjs +2 -0
- package/dist/chunks/cli-1.1.38-8m9096qg.mjs +6 -0
- package/dist/chunks/cli-1.1.38-91q945ws.mjs +3 -0
- package/dist/chunks/cli-1.1.38-92g30wbv.mjs +2 -0
- package/dist/chunks/cli-1.1.38-9p14cyab.mjs +2 -0
- package/dist/chunks/cli-1.1.38-9x263zph.mjs +10 -0
- package/dist/chunks/cli-1.1.38-a2j7607w.mjs +2 -0
- package/dist/chunks/cli-1.1.38-a678cgp1.mjs +251 -0
- package/dist/chunks/cli-1.1.38-a9wkqach.mjs +2 -0
- package/dist/chunks/cli-1.1.38-abavft6n.mjs +6 -0
- package/dist/chunks/cli-1.1.38-ac33weys.mjs +2 -0
- package/dist/chunks/cli-1.1.38-an3fdzsz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-aspnz4m6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-axhwttsc.mjs +9 -0
- package/dist/chunks/cli-1.1.38-azkppcr1.mjs +2 -0
- package/dist/chunks/cli-1.1.38-azv9c3jv.mjs +2 -0
- package/dist/chunks/cli-1.1.38-b56dgy8f.mjs +2 -0
- package/dist/chunks/cli-1.1.38-c0w5gdqr.mjs +2 -0
- package/dist/chunks/cli-1.1.38-c7x1esyq.mjs +6 -0
- package/dist/chunks/cli-1.1.38-cmnad0aj.mjs +8 -0
- package/dist/chunks/cli-1.1.38-cp5m26rk.mjs +3 -0
- package/dist/chunks/cli-1.1.38-cpq50ma6.mjs +15 -0
- package/dist/chunks/cli-1.1.38-cq1f1j06.mjs +2 -0
- package/dist/chunks/cli-1.1.38-ctcgmvy1.mjs +2 -0
- package/dist/chunks/cli-1.1.38-d3xjq2jk.mjs +4 -0
- package/dist/chunks/cli-1.1.38-dfcp3asv.mjs +17 -0
- package/dist/chunks/cli-1.1.38-dggxcj2x.mjs +2 -0
- package/dist/chunks/cli-1.1.38-dxtw8tjv.mjs +2 -0
- package/dist/chunks/cli-1.1.38-dz4qs0ht.mjs +2 -0
- package/dist/chunks/cli-1.1.38-e09rc4b8.mjs +20 -0
- package/dist/chunks/cli-1.1.38-e0q3xyay.mjs +2 -0
- package/dist/chunks/cli-1.1.38-e5by1ynv.mjs +6 -0
- package/dist/chunks/cli-1.1.38-e6j30tde.mjs +3 -0
- package/dist/chunks/cli-1.1.38-e84gxv9a.mjs +2 -0
- package/dist/chunks/cli-1.1.38-eafpexwg.mjs +2 -0
- package/dist/chunks/cli-1.1.38-exexvj4k.mjs +5 -0
- package/dist/chunks/cli-1.1.38-f6be5pxz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-f7fq44hz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-fembxywm.mjs +2 -0
- package/dist/chunks/cli-1.1.38-ffkc8ker.mjs +42 -0
- package/dist/chunks/cli-1.1.38-fgwfzs50.mjs +2 -0
- package/dist/chunks/cli-1.1.38-fr1kxnk2.mjs +2 -0
- package/dist/chunks/cli-1.1.38-frcvjcgw.mjs +2 -0
- package/dist/chunks/cli-1.1.38-fyw4xbm7.mjs +3 -0
- package/dist/chunks/cli-1.1.38-g94v4hq7.mjs +2 -0
- package/dist/chunks/cli-1.1.38-gdcz0rss.mjs +2 -0
- package/dist/chunks/cli-1.1.38-gp49bfxk.mjs +2 -0
- package/dist/chunks/cli-1.1.38-gqpmcnnv.mjs +15 -0
- package/dist/chunks/cli-1.1.38-gtjexepq.mjs +2 -0
- package/dist/chunks/cli-1.1.38-h013mt1h.mjs +2 -0
- package/dist/chunks/cli-1.1.38-h0643t2a.mjs +63 -0
- package/dist/chunks/cli-1.1.38-h1fqbjjb.mjs +2 -0
- package/dist/chunks/cli-1.1.38-h2f789qa.mjs +2 -0
- package/dist/chunks/cli-1.1.38-h6qtpp5r.mjs +2 -0
- package/dist/chunks/cli-1.1.38-h83nx1a5.mjs +2 -0
- package/dist/chunks/cli-1.1.38-haa4vwxj.mjs +2 -0
- package/dist/chunks/cli-1.1.38-hkbb3sr7.mjs +2 -0
- package/dist/chunks/cli-1.1.38-hvc5ed6c.mjs +2 -0
- package/dist/chunks/cli-1.1.38-jakpq48k.mjs +2 -0
- package/dist/chunks/cli-1.1.38-jr0vb3er.mjs +4 -0
- package/dist/chunks/cli-1.1.38-jrf85w1a.mjs +2 -0
- package/dist/chunks/cli-1.1.38-ka1w0zwc.mjs +2 -0
- package/dist/chunks/cli-1.1.38-kcykd1e5.mjs +2 -0
- package/dist/chunks/cli-1.1.38-kjt1gn6d.mjs +135 -0
- package/dist/chunks/cli-1.1.38-kns8wjke.mjs +2 -0
- package/dist/chunks/cli-1.1.38-kqkm7ndz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-m66mmsr6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-m9k89rb6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-mbfqg6za.mjs +3 -0
- package/dist/chunks/cli-1.1.38-md7mbf9q.mjs +2 -0
- package/dist/chunks/cli-1.1.38-mh6a6g83.mjs +4 -0
- package/dist/chunks/cli-1.1.38-mnr9k9j8.mjs +2 -0
- package/dist/chunks/cli-1.1.38-n5tx4p12.mjs +15 -0
- package/dist/chunks/cli-1.1.38-n9xftqbp.mjs +2 -0
- package/dist/chunks/cli-1.1.38-ndbzsvf1.mjs +4 -0
- package/dist/chunks/cli-1.1.38-nmmd7xh9.mjs +4 -0
- package/dist/chunks/cli-1.1.38-npc1f8rb.mjs +3 -0
- package/dist/chunks/cli-1.1.38-nr3yx2kb.mjs +4 -0
- package/dist/chunks/cli-1.1.38-nzbcas3j.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pab9ct4p.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pah268nz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pdv3syxb.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pe2vd8sk.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pksnvm8s.mjs +2 -0
- package/dist/chunks/cli-1.1.38-pnngv0r7.mjs +2 -0
- package/dist/chunks/cli-1.1.38-q3emeb23.mjs +2 -0
- package/dist/chunks/cli-1.1.38-q3yhkwkh.mjs +3 -0
- package/dist/chunks/cli-1.1.38-q8ewcabe.mjs +2 -0
- package/dist/chunks/cli-1.1.38-qackcmc3.mjs +2 -0
- package/dist/chunks/cli-1.1.38-qebn65cx.mjs +50 -0
- package/dist/chunks/cli-1.1.38-qfpkjbx1.mjs +2 -0
- package/dist/chunks/cli-1.1.38-qv0rqvhj.mjs +4 -0
- package/dist/chunks/cli-1.1.38-qw1jxc9j.mjs +2 -0
- package/dist/chunks/cli-1.1.38-qwkjfytz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-qyg5n01q.mjs +2 -0
- package/dist/chunks/cli-1.1.38-r3r6jmgz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-rp0tsnde.mjs +2 -0
- package/dist/chunks/cli-1.1.38-rvjmh1y0.mjs +4 -0
- package/dist/chunks/cli-1.1.38-s1nggz9g.mjs +16 -0
- package/dist/chunks/cli-1.1.38-s8evhc7a.mjs +2 -0
- package/dist/chunks/cli-1.1.38-sjrfgskz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-sywjrgh0.mjs +2 -0
- package/dist/chunks/cli-1.1.38-t8k5snq9.mjs +24 -0
- package/dist/chunks/cli-1.1.38-tk968ykv.mjs +5497 -0
- package/dist/chunks/cli-1.1.38-tvh77h3r.mjs +2 -0
- package/dist/chunks/cli-1.1.38-v40xwwad.mjs +2 -0
- package/dist/chunks/cli-1.1.38-vbxptsq5.mjs +2 -0
- package/dist/chunks/cli-1.1.38-wbww08bk.mjs +2 -0
- package/dist/chunks/cli-1.1.38-ww8j7xpn.mjs +2 -0
- package/dist/chunks/cli-1.1.38-wwezb1bz.mjs +2 -0
- package/dist/chunks/cli-1.1.38-x0j2v4e5.mjs +2 -0
- package/dist/chunks/cli-1.1.38-xag86y98.mjs +24 -0
- package/dist/chunks/cli-1.1.38-xf78kmy6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-xpar3nmx.mjs +2 -0
- package/dist/chunks/cli-1.1.38-xpjv8r2g.mjs +2 -0
- package/dist/chunks/cli-1.1.38-xr1c1bn4.mjs +2 -0
- package/dist/chunks/cli-1.1.38-xvwb3d6n.mjs +2 -0
- package/dist/chunks/cli-1.1.38-y1w55df3.mjs +2 -0
- package/dist/chunks/cli-1.1.38-y3k2y9f2.mjs +2 -0
- package/dist/chunks/cli-1.1.38-y57qzkxr.mjs +2 -0
- package/dist/chunks/cli-1.1.38-y66mw08s.mjs +2 -0
- package/dist/chunks/cli-1.1.38-y79rqp8p.mjs +60 -0
- package/dist/chunks/cli-1.1.38-y7ahpffc.mjs +2 -0
- package/dist/chunks/cli-1.1.38-yctmyw1a.mjs +25 -0
- package/dist/chunks/cli-1.1.38-yfhvhcvt.mjs +5 -0
- package/dist/chunks/cli-1.1.38-ygyme6j6.mjs +2 -0
- package/dist/chunks/cli-1.1.38-yhp9b0b0.mjs +2 -0
- package/dist/chunks/cli-1.1.38-yk5s276s.mjs +2 -0
- package/dist/chunks/cli-1.1.38-z02gnn41.mjs +2 -0
- package/dist/chunks/cli-1.1.38-z2mnaz67.mjs +2 -0
- package/dist/chunks/cli-1.1.38-z6abxdx3.mjs +2 -0
- package/dist/chunks/cli-1.1.38-z8x4q5cc.mjs +12 -0
- package/dist/chunks/cli-1.1.38-z9faf3ft.mjs +6 -0
- package/dist/chunks/cli-1.1.38-zj7fa197.mjs +2 -0
- package/dist/chunks/cli-1.1.38-zx5nqvq6.mjs +2 -0
- package/dist/chunks/client-1.1.38-7hcrtb3q.mjs +1 -0
- package/dist/chunks/color-1.1.38-eqrtxm9k.mjs +1 -0
- package/dist/chunks/compact-1.1.38-ya34rk57.mjs +2 -0
- package/dist/chunks/config-1.1.38-bbe0h0fj.mjs +1 -0
- package/dist/chunks/config-1.1.38-bfaptzc8.mjs +1 -0
- package/dist/chunks/constants-1.1.38-yytvwzgs.mjs +1 -0
- package/dist/chunks/context-1.1.38-2mgwzmk2.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.38-8bj0e1ac.mjs +1 -0
- package/dist/chunks/conversation-1.1.38-9hdq28pm.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.38-s4pj5tsz.mjs +1 -0
- package/dist/chunks/copy-1.1.38-f83q42a2.mjs +9 -0
- package/dist/chunks/cost-1.1.38-8wheqk0q.mjs +1 -0
- package/dist/chunks/createSession-1.1.38-m815jqhf.mjs +1 -0
- package/dist/chunks/debug-1.1.38-0nc58m79.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.38-t4spryyh.mjs +1458 -0
- package/dist/chunks/desktop-1.1.38-6tbjry9x.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.38-fkd9xdma.mjs +1 -0
- package/dist/chunks/detection-1.1.38-21frnq82.mjs +1 -0
- package/dist/chunks/diff-1.1.38-bqd4vh6q.mjs +1 -0
- package/dist/chunks/doctor-1.1.38-yedjk1t9.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.38-2tq437dy.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.38-ag144tcy.mjs +1 -0
- package/dist/chunks/effort-1.1.38-w8zmwjyn.mjs +13 -0
- package/dist/chunks/engine-1.1.38-9p06hk6t.mjs +1 -0
- package/dist/chunks/envUtils-1.1.38-0x5t3jcn.mjs +1 -0
- package/dist/chunks/errors-1.1.38-x5yfskn2.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.38-j3f50kg4.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.38-vtsaz9ex.mjs +1 -0
- package/dist/chunks/exit-1.1.38-2az07cgq.mjs +1 -0
- package/dist/chunks/explorer-1.1.38-f8v6fw0n.mjs +1 -0
- package/dist/chunks/export-1.1.38-ryfsevs9.mjs +2 -0
- package/dist/chunks/fast-1.1.38-pqjeb7br.mjs +1 -0
- package/dist/chunks/feedback-1.1.38-a735me7a.mjs +16 -0
- package/dist/chunks/git-1.1.38-ea24mp87.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.38-mrk9kw4h.mjs +1 -0
- package/dist/chunks/goal-1.1.38-t7b2x0m7.mjs +4 -0
- package/dist/chunks/headless-1.1.38-xa7n2h6a.mjs +2 -0
- package/dist/chunks/heapdump-1.1.38-0kkahje0.mjs +6 -0
- package/dist/chunks/help-1.1.38-c6fc5w2g.mjs +1 -0
- package/dist/chunks/hooks-1.1.38-020dm4m5.mjs +79 -0
- package/dist/chunks/hooks-1.1.38-d6nx1th8.mjs +1 -0
- package/dist/chunks/ide-1.1.38-w88jdkwh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.38-dr7f0p7d.mjs +1 -0
- package/dist/chunks/import-1.1.38-tjgkgqtj.mjs +260 -0
- package/dist/chunks/inboundAttachments-1.1.38-96y0me8c.mjs +1 -0
- package/dist/chunks/index-1.1.38-0p1da46q.mjs +1 -0
- package/dist/chunks/index-1.1.38-0vkksyqf.mjs +1 -0
- package/dist/chunks/index-1.1.38-32wb94y5.mjs +1 -0
- package/dist/chunks/index-1.1.38-b7v4mc41.mjs +1 -0
- package/dist/chunks/index-1.1.38-d5147beb.mjs +1 -0
- package/dist/chunks/index-1.1.38-e7f6p4gc.mjs +2 -0
- package/dist/chunks/index-1.1.38-fmvxdssr.mjs +1 -0
- package/dist/chunks/index-1.1.38-fx4e6n5y.mjs +9 -0
- package/dist/chunks/index-1.1.38-g6wrndbn.mjs +1 -0
- package/dist/chunks/index-1.1.38-h6safnqh.mjs +1 -0
- package/dist/chunks/index-1.1.38-he0r1v5h.mjs +1 -0
- package/dist/chunks/index-1.1.38-nqht0jy4.mjs +1 -0
- package/dist/chunks/index-1.1.38-nzxyzk3n.mjs +1 -0
- package/dist/chunks/index-1.1.38-psktz1tc.mjs +23 -0
- package/dist/chunks/index-1.1.38-r550x6ay.mjs +2 -0
- package/dist/chunks/index-1.1.38-t56hya6b.mjs +9 -0
- package/dist/chunks/index-1.1.38-t8ehet13.mjs +1 -0
- package/dist/chunks/index-1.1.38-trn75xj8.mjs +1 -0
- package/dist/chunks/index-1.1.38-tz1ab367.mjs +1 -0
- package/dist/chunks/index-1.1.38-wj6bvgqh.mjs +1 -0
- package/dist/chunks/index-1.1.38-wwvwtd47.mjs +30 -0
- package/dist/chunks/index-1.1.38-x4crzvcp.mjs +5 -0
- package/dist/chunks/index-1.1.38-xwfqwn8f.mjs +1 -0
- package/dist/chunks/init-1.1.38-kt9fktc1.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.38-89egcf9a.mjs +1 -0
- package/dist/chunks/ink-1.1.38-jgsp2t7f.mjs +1 -0
- package/dist/chunks/insights-1.1.38-hq19aerm.mjs +870 -0
- package/dist/chunks/install-1.1.38-gyyxk8ck.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.38-f2jf37sk.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.38-tset69kh.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.38-m06ry3jx.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.38-1c7vvamf.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.38-0bgzxgy4.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.38-07neaje5.mjs +1 -0
- package/dist/chunks/log-1.1.38-7yxczk1m.mjs +1 -0
- package/dist/chunks/main-1.1.38-ckkpf6pm.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.38-wgkdf5th.mjs +1 -0
- package/dist/chunks/mcp-1.1.38-5g1dkaq3.mjs +4 -0
- package/dist/chunks/mcp-1.1.38-pv2q4v1t.mjs +1 -0
- package/dist/chunks/mcp-1.1.38-rw32ezwj.mjs +17 -0
- package/dist/chunks/mcpb-1.1.38-2j8knvey.mjs +1 -0
- package/dist/chunks/memory-1.1.38-ee240zz4.mjs +128 -0
- package/dist/chunks/model-1.1.38-0ap9xmp3.mjs +1 -0
- package/dist/chunks/model-1.1.38-5qmke302.mjs +2 -0
- package/dist/chunks/new-1.1.38-ahnzb47c.mjs +1 -0
- package/dist/chunks/node-1.1.38-8hxn3e6r.mjs +15 -0
- package/dist/chunks/node-1.1.38-v0zbmtyr.mjs +1 -0
- package/dist/chunks/oauth-1.1.38-5me1vtg3.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.38-12snq1gc.mjs +14 -0
- package/dist/chunks/output-style-1.1.38-zb5mtnss.mjs +1 -0
- package/dist/chunks/package-V72LKFNW-1.1.38-q7hcwdtx.mjs +1 -0
- package/dist/chunks/permissions-1.1.38-5kw7w85c.mjs +1 -0
- package/dist/chunks/permissions-1.1.38-nk2ndszr.mjs +3 -0
- package/dist/chunks/plan-1.1.38-z3dqqjh7.mjs +1 -0
- package/dist/chunks/plist-1.1.38-56sqgq6h.mjs +1 -0
- package/dist/chunks/plugin-1.1.38-03de52xp.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.38-0v5j57bh.mjs +1 -0
- package/dist/chunks/plugins-1.1.38-zmnat29k.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.38-s4pt4ahn.mjs +2 -0
- package/dist/chunks/print-1.1.38-9ar632da.mjs +57 -0
- package/dist/chunks/process-1.1.38-ndydtgs9.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.38-xj8xy6j7.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.38-rq94k8j4.mjs +9 -0
- package/dist/chunks/prompt-1.1.38-q5jst5dw.mjs +1 -0
- package/dist/chunks/prompt-1.1.38-qwzt31qc.mjs +1 -0
- package/dist/chunks/prompts-1.1.38-brvz08qv.mjs +1 -0
- package/dist/chunks/provider-1.1.38-zvnh7rf6.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.38-a0jrr70y.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.38-qj7m9ae0.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.38-kn98yfrh.mjs +26 -0
- package/dist/chunks/registry-1.1.38-02xa1gxq.mjs +1 -0
- package/dist/chunks/release-notes-1.1.38-kmxj255k.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.38-n429fwj8.mjs +2 -0
- package/dist/chunks/remote-env-1.1.38-4ecvn8ra.mjs +1 -0
- package/dist/chunks/rename-1.1.38-ah715pv0.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.38-d6n16rnp.mjs +1 -0
- package/dist/chunks/resume-1.1.38-tv3f819g.mjs +2 -0
- package/dist/chunks/rewind-1.1.38-6wc124dk.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.38-d7ta609y.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.38-n01n145x.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.38-pyjs3awv.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.38-54tec9n4.mjs +1 -0
- package/dist/chunks/session-1.1.38-d20mp4b0.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.38-44je31rv.mjs +1 -0
- package/dist/chunks/settings-1.1.38-x6fb5kk1.mjs +1 -0
- package/dist/chunks/setup-1.1.38-cryd3k7j.mjs +12 -0
- package/dist/chunks/sinks-1.1.38-xt06cywv.mjs +1 -0
- package/dist/chunks/skills-1.1.38-7kbrgpe5.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.38-w24hm0h1.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.38-pmp6wqj9.mjs +1 -0
- package/dist/chunks/state-1.1.38-ttzekhjw.mjs +1 -0
- package/dist/chunks/stats-1.1.38-w347vz1w.mjs +1 -0
- package/dist/chunks/status-1.1.38-h7pzkbmj.mjs +1 -0
- package/dist/chunks/stickers-1.1.38-p6n5mskj.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.38-3b6nr5kd.mjs +1 -0
- package/dist/chunks/tasks-1.1.38-jrznh7eb.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.38-b920q217.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.38-30rjbjkp.mjs +1 -0
- package/dist/chunks/teleport-1.1.38-kqj15kwz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.38-a1j9tav3.mjs +1 -0
- package/dist/chunks/theme-1.1.38-zqgshtd8.mjs +1 -0
- package/dist/chunks/toolPool-1.1.38-rjxnejc9.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.38-bsgpwrqw.mjs +1 -0
- package/dist/chunks/tools-1.1.38-hphgtq98.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.38-6zmefgdf.mjs +69 -0
- package/dist/chunks/types-1.1.38-yaz6xzxg.mjs +1 -0
- package/dist/chunks/update-1.1.38-qkmfgy3f.mjs +72 -0
- package/dist/chunks/upload-1.1.38-25jm1g5x.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.38-kdzcx35q.mjs +14 -0
- package/dist/chunks/usage-1.1.38-17yqaf62.mjs +1 -0
- package/dist/chunks/util-1.1.38-e3nemqk5.mjs +1 -0
- package/dist/chunks/utils-1.1.38-709jv8e9.mjs +1 -0
- package/dist/chunks/vim-1.1.38-jtz13d73.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.38-fb6heqjg.mjs +13 -0
- package/dist/chunks/wiki-1.1.38-fpkcyk67.mjs +132 -0
- package/dist/chunks/workflows-1.1.38-mj7dax7d.mjs +1 -0
- package/dist/chunks/worktree-1.1.38-9zf6zp7r.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.38-01veveaw.mjs +1 -0
- package/dist/chunks/wrapper-1.1.38-7cvdwcn2.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help.txt +1 -1
- package/package.json +9 -9
- package/dist/chunks/App-1.1.37-gvacrdsk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.37-rnnbn40a.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.37-g6ta4m2v.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.37-pk4aghdz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.37-hymvtk1w.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.37-p8fwd4tm.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.37-hb26z7b7.mjs +0 -6
- package/dist/chunks/Doctor-1.1.37-g60gf1vr.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.37-w0ek8efz.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.37-tp4qnkf7.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.37-5ds363er.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.37-qaz2nf35.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.37-cxe5gn9z.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.37-jsrbvfaa.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.37-kmfet3bc.mjs +0 -1
- package/dist/chunks/REPL-1.1.37-mx8g4asq.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.37-1j1egpzv.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.37-s6gpj3tk.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.37-06r6s8k3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.37-vk5478hq.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.37-08ypek7f.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.37-j3j1tnac.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.37-dy4r3sef.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.37-r4p9gt6p.mjs +0 -1
- package/dist/chunks/add-dir-1.1.37-hsgnnqm5.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.37-e0zrjgxd.mjs +0 -1
- package/dist/chunks/agents-1.1.37-770krh9a.mjs +0 -110
- package/dist/chunks/agents-1.1.37-n5gk09na.mjs +0 -3
- package/dist/chunks/api-1.1.37-bwy6n0v8.mjs +0 -1
- package/dist/chunks/asciicast-1.1.37-t7zpdmt1.mjs +0 -1
- package/dist/chunks/auth-1.1.37-apskerg1.mjs +0 -1
- package/dist/chunks/auth-1.1.37-t0yjn0qg.mjs +0 -1
- package/dist/chunks/autoMode-1.1.37-a94rgbvb.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.37-8g5tdnzc.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.37-pe8hzmys.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.37-r98mdthk.mjs +0 -1
- package/dist/chunks/branch-1.1.37-1a761dqp.mjs +0 -4
- package/dist/chunks/bridge-1.1.37-djx2nh0s.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.37-wsz2v4gw.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.37-pht9tpgd.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.37-btaaq723.mjs +0 -64
- package/dist/chunks/bridgePointer-1.1.37-97bjx2gt.mjs +0 -1
- package/dist/chunks/btw-1.1.37-kzbnzfwv.mjs +0 -1
- package/dist/chunks/buddy-1.1.37-r155thdv.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.37-szdjedc6.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.37-zcq6bfv7.mjs +0 -4
- package/dist/chunks/caches-1.1.37-m3bsp8q4.mjs +0 -1
- package/dist/chunks/cd-1.1.37-bgh3jr0j.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.37-d5rmp7j9.mjs +0 -1
- package/dist/chunks/claudemd-1.1.37-zqxz2brp.mjs +0 -1
- package/dist/chunks/clear-1.1.37-a28jd9f5.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.37-1vwtn9rv.mjs +0 -1
- package/dist/chunks/cli-1.1.37-07v28734.mjs +0 -24
- package/dist/chunks/cli-1.1.37-0g18ppvn.mjs +0 -2
- package/dist/chunks/cli-1.1.37-0t8trtcs.mjs +0 -135
- package/dist/chunks/cli-1.1.37-160hvn22.mjs +0 -2
- package/dist/chunks/cli-1.1.37-16r2w6eh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-16ycb15m.mjs +0 -2
- package/dist/chunks/cli-1.1.37-1esm8vyn.mjs +0 -2
- package/dist/chunks/cli-1.1.37-1nx0h24b.mjs +0 -34
- package/dist/chunks/cli-1.1.37-1sn4ganc.mjs +0 -6
- package/dist/chunks/cli-1.1.37-22erav9m.mjs +0 -2
- package/dist/chunks/cli-1.1.37-240c02km.mjs +0 -4
- package/dist/chunks/cli-1.1.37-26cht952.mjs +0 -4
- package/dist/chunks/cli-1.1.37-2gsgt0yq.mjs +0 -2
- package/dist/chunks/cli-1.1.37-2xne39h9.mjs +0 -6
- package/dist/chunks/cli-1.1.37-37swmf5n.mjs +0 -2
- package/dist/chunks/cli-1.1.37-39bw2pz6.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3j7g0j34.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3k4d07av.mjs +0 -2
- package/dist/chunks/cli-1.1.37-3pyzesy7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-41q5f236.mjs +0 -63
- package/dist/chunks/cli-1.1.37-45phxq6t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-46pcgpjk.mjs +0 -5
- package/dist/chunks/cli-1.1.37-4829k99z.mjs +0 -8
- package/dist/chunks/cli-1.1.37-4cwzzzkp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-4cyg3kha.mjs +0 -15
- package/dist/chunks/cli-1.1.37-4s29t03n.mjs +0 -2
- package/dist/chunks/cli-1.1.37-519yanf4.mjs +0 -2
- package/dist/chunks/cli-1.1.37-51efrsrh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-58pbecmv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5gj77q8j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5k40cazp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-5ppknhpq.mjs +0 -50
- package/dist/chunks/cli-1.1.37-67ncf860.mjs +0 -2
- package/dist/chunks/cli-1.1.37-6k9f1kb2.mjs +0 -6
- package/dist/chunks/cli-1.1.37-6pcx2j1q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-72ezs6b8.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7483gf56.mjs +0 -3
- package/dist/chunks/cli-1.1.37-7614bfhm.mjs +0 -25
- package/dist/chunks/cli-1.1.37-7f3hdq3p.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7h3edez5.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7prgb5qb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-7qda9cmg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8n5vy3kh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8v3e4pnr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-8wfxbqcm.mjs +0 -20
- package/dist/chunks/cli-1.1.37-944j3qt1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-94bfnv5a.mjs +0 -2
- package/dist/chunks/cli-1.1.37-96sf5t1p.mjs +0 -2
- package/dist/chunks/cli-1.1.37-9x24mgyx.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a3xp4gqs.mjs +0 -3
- package/dist/chunks/cli-1.1.37-a489vqjv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a5ddx2f0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a6pppj4k.mjs +0 -2
- package/dist/chunks/cli-1.1.37-a7jrq85d.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ayhzfa69.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ayqpwfm4.mjs +0 -2
- package/dist/chunks/cli-1.1.37-b26at90a.mjs +0 -4
- package/dist/chunks/cli-1.1.37-be0x6tdq.mjs +0 -18
- package/dist/chunks/cli-1.1.37-bkp0a6f1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-cmbtcpwy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-crpgw5qe.mjs +0 -133
- package/dist/chunks/cli-1.1.37-cw718qh8.mjs +0 -42
- package/dist/chunks/cli-1.1.37-d1fcgxg0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-d23vxnm9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-d6n91ex7.mjs +0 -15
- package/dist/chunks/cli-1.1.37-dj2tqhmt.mjs +0 -2
- package/dist/chunks/cli-1.1.37-dt1m5cht.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ecm5tm4s.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ekft3ygw.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ev14s3y6.mjs +0 -4
- package/dist/chunks/cli-1.1.37-ex5tn3t8.mjs +0 -6
- package/dist/chunks/cli-1.1.37-f4cc288j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-f7e57y66.mjs +0 -2
- package/dist/chunks/cli-1.1.37-f9mv7jky.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fdkc3sf9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fksjv0et.mjs +0 -2
- package/dist/chunks/cli-1.1.37-fsjyvbbb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-g7m905sy.mjs +0 -3
- package/dist/chunks/cli-1.1.37-g9d8qc79.mjs +0 -2
- package/dist/chunks/cli-1.1.37-gfbpxehy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-gpk56nss.mjs +0 -2
- package/dist/chunks/cli-1.1.37-grsmntjy.mjs +0 -5557
- package/dist/chunks/cli-1.1.37-gswxz7xc.mjs +0 -25
- package/dist/chunks/cli-1.1.37-h0jx10pf.mjs +0 -11
- package/dist/chunks/cli-1.1.37-h4spe8tn.mjs +0 -16
- package/dist/chunks/cli-1.1.37-h7r11vsm.mjs +0 -15
- package/dist/chunks/cli-1.1.37-he99jbx1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-hef24tpw.mjs +0 -3
- package/dist/chunks/cli-1.1.37-hgz1n58h.mjs +0 -2
- package/dist/chunks/cli-1.1.37-htprtn3s.mjs +0 -2
- package/dist/chunks/cli-1.1.37-hwan9xgw.mjs +0 -2
- package/dist/chunks/cli-1.1.37-j1vf4g9d.mjs +0 -4
- package/dist/chunks/cli-1.1.37-j6kremq2.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jb5tx7mz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jbqk7r70.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jfqs1fqm.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jr1vseya.mjs +0 -4
- package/dist/chunks/cli-1.1.37-jr69vbpp.mjs +0 -3
- package/dist/chunks/cli-1.1.37-jv2bhmv9.mjs +0 -2
- package/dist/chunks/cli-1.1.37-jz75ctqt.mjs +0 -4
- package/dist/chunks/cli-1.1.37-kahw2epk.mjs +0 -39
- package/dist/chunks/cli-1.1.37-kb946f3c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-kemsps6y.mjs +0 -60
- package/dist/chunks/cli-1.1.37-khfxdt5q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-kn42c81a.mjs +0 -3
- package/dist/chunks/cli-1.1.37-kwaccfak.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m1fep5be.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m456xrwv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m5yt8y0j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-m6gntr6v.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ma9krcyk.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mexv9k9t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mf2q6gmp.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mqc9bwxe.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mrvnfwyz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-mw2jz1zw.mjs +0 -7
- package/dist/chunks/cli-1.1.37-n183zk9b.mjs +0 -24
- package/dist/chunks/cli-1.1.37-n5rtec8d.mjs +0 -2
- package/dist/chunks/cli-1.1.37-n96tca8q.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ncfrm58b.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nhcj6483.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nmaxyg7j.mjs +0 -2
- package/dist/chunks/cli-1.1.37-nzbxb3mg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-p6s3mz30.mjs +0 -9
- package/dist/chunks/cli-1.1.37-pek0pwba.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ptf1j7na.mjs +0 -2
- package/dist/chunks/cli-1.1.37-pvh445g5.mjs +0 -3
- package/dist/chunks/cli-1.1.37-pw36zafa.mjs +0 -2
- package/dist/chunks/cli-1.1.37-q1053cc2.mjs +0 -17
- package/dist/chunks/cli-1.1.37-qcn1j79h.mjs +0 -2
- package/dist/chunks/cli-1.1.37-qq29akkh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-qx20qhv7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-rdmqbzqh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-rwsh9ddm.mjs +0 -3
- package/dist/chunks/cli-1.1.37-ryrmx9mz.mjs +0 -10
- package/dist/chunks/cli-1.1.37-s09fpmwg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-s66bx6wx.mjs +0 -24
- package/dist/chunks/cli-1.1.37-sf9mv58v.mjs +0 -10
- package/dist/chunks/cli-1.1.37-sm7wj6sf.mjs +0 -4
- package/dist/chunks/cli-1.1.37-sqyyjrzq.mjs +0 -5
- package/dist/chunks/cli-1.1.37-ss1k0v1c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ssstmvw3.mjs +0 -3
- package/dist/chunks/cli-1.1.37-sxzqtyda.mjs +0 -2
- package/dist/chunks/cli-1.1.37-syfanvjj.mjs +0 -2
- package/dist/chunks/cli-1.1.37-sygz2s62.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tkdarzaz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tntw41wr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-tqgcfdy1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v43zxjn1.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v7ra9bdg.mjs +0 -10
- package/dist/chunks/cli-1.1.37-v901k2xy.mjs +0 -2
- package/dist/chunks/cli-1.1.37-v90enr9t.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vfcg5s15.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vg7rr3sv.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vhmf8afh.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vhmsvame.mjs +0 -2
- package/dist/chunks/cli-1.1.37-vrdgh1e0.mjs +0 -2
- package/dist/chunks/cli-1.1.37-w0tvj01c.mjs +0 -2
- package/dist/chunks/cli-1.1.37-wm28b2wb.mjs +0 -2
- package/dist/chunks/cli-1.1.37-wv9phckk.mjs +0 -9
- package/dist/chunks/cli-1.1.37-x03y4qkg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x0nz472y.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x27pf2df.mjs +0 -2
- package/dist/chunks/cli-1.1.37-x363x6yv.mjs +0 -12
- package/dist/chunks/cli-1.1.37-xqs4w5xj.mjs +0 -2
- package/dist/chunks/cli-1.1.37-xxa2yvvm.mjs +0 -2
- package/dist/chunks/cli-1.1.37-y101rdsg.mjs +0 -2
- package/dist/chunks/cli-1.1.37-y2c4zsfh.mjs +0 -6
- package/dist/chunks/cli-1.1.37-y3knvtaz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-ye5hkqff.mjs +0 -2
- package/dist/chunks/cli-1.1.37-yx7j10g7.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z0tedaby.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z414tkgs.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z4wav0zf.mjs +0 -251
- package/dist/chunks/cli-1.1.37-z6pkdynf.mjs +0 -2
- package/dist/chunks/cli-1.1.37-z9fbkmx6.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zb319x4t.mjs +0 -21
- package/dist/chunks/cli-1.1.37-zdpyj00a.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zmvkkbkz.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zp02yw3a.mjs +0 -7
- package/dist/chunks/cli-1.1.37-zv5qmddr.mjs +0 -2
- package/dist/chunks/cli-1.1.37-zyh3q51q.mjs +0 -2
- package/dist/chunks/client-1.1.37-xgmkbazy.mjs +0 -1
- package/dist/chunks/color-1.1.37-y730edtg.mjs +0 -1
- package/dist/chunks/compact-1.1.37-w4h4spv3.mjs +0 -2
- package/dist/chunks/config-1.1.37-kw2by168.mjs +0 -1
- package/dist/chunks/config-1.1.37-nxkma2y7.mjs +0 -1
- package/dist/chunks/constants-1.1.37-ctp81rsa.mjs +0 -1
- package/dist/chunks/context-1.1.37-ayxgyhvf.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.37-9fnpakkn.mjs +0 -1
- package/dist/chunks/conversation-1.1.37-c5qptech.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.37-2jh9xkzj.mjs +0 -1
- package/dist/chunks/copy-1.1.37-3x6yh3re.mjs +0 -9
- package/dist/chunks/cost-1.1.37-k4egf2cb.mjs +0 -1
- package/dist/chunks/createSession-1.1.37-ps0330f5.mjs +0 -1
- package/dist/chunks/debug-1.1.37-rg6428fc.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.37-0p69kpbf.mjs +0 -1458
- package/dist/chunks/desktop-1.1.37-vw4rzhtp.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.37-de5st3z1.mjs +0 -1
- package/dist/chunks/detection-1.1.37-2ah57ykf.mjs +0 -1
- package/dist/chunks/diff-1.1.37-h35ry5bf.mjs +0 -1
- package/dist/chunks/doctor-1.1.37-4sdv75rj.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.37-aj2q1yxr.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.37-f1bz41ba.mjs +0 -1
- package/dist/chunks/effort-1.1.37-qme7s71h.mjs +0 -13
- package/dist/chunks/engine-1.1.37-vhnerrj8.mjs +0 -1
- package/dist/chunks/envUtils-1.1.37-jmnztajb.mjs +0 -1
- package/dist/chunks/errors-1.1.37-gx18q68s.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.37-jeewe5zp.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.37-9znv87jk.mjs +0 -1
- package/dist/chunks/exit-1.1.37-g21nsxb0.mjs +0 -1
- package/dist/chunks/explorer-1.1.37-x26rvwxm.mjs +0 -1
- package/dist/chunks/export-1.1.37-f9367qzp.mjs +0 -2
- package/dist/chunks/fast-1.1.37-66kcejyq.mjs +0 -1
- package/dist/chunks/feedback-1.1.37-cmzfc89p.mjs +0 -16
- package/dist/chunks/git-1.1.37-2v8rmfsp.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.37-qa9ahy75.mjs +0 -1
- package/dist/chunks/goal-1.1.37-qxqx92gp.mjs +0 -4
- package/dist/chunks/headless-1.1.37-dkg8aqth.mjs +0 -2
- package/dist/chunks/heapdump-1.1.37-4hzv26jg.mjs +0 -6
- package/dist/chunks/help-1.1.37-94a27s9t.mjs +0 -1
- package/dist/chunks/hooks-1.1.37-ekx4v46c.mjs +0 -79
- package/dist/chunks/hooks-1.1.37-yeewd50h.mjs +0 -1
- package/dist/chunks/ide-1.1.37-knedgvva.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.37-cdpery4t.mjs +0 -1
- package/dist/chunks/import-1.1.37-e6j4yen6.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.37-jjm28zc3.mjs +0 -1
- package/dist/chunks/index-1.1.37-21b053j0.mjs +0 -1
- package/dist/chunks/index-1.1.37-3v1qr5g5.mjs +0 -9
- package/dist/chunks/index-1.1.37-5jd6yv91.mjs +0 -1
- package/dist/chunks/index-1.1.37-5m0x7mgr.mjs +0 -2
- package/dist/chunks/index-1.1.37-7p4s9e93.mjs +0 -5
- package/dist/chunks/index-1.1.37-8d8wz2jd.mjs +0 -1
- package/dist/chunks/index-1.1.37-8nj0y31t.mjs +0 -1
- package/dist/chunks/index-1.1.37-9mdrpppp.mjs +0 -1
- package/dist/chunks/index-1.1.37-fsrw22yr.mjs +0 -1
- package/dist/chunks/index-1.1.37-gbkrjwx2.mjs +0 -1
- package/dist/chunks/index-1.1.37-j22mymj3.mjs +0 -1
- package/dist/chunks/index-1.1.37-j7mg2v2z.mjs +0 -1
- package/dist/chunks/index-1.1.37-jt0qvhqx.mjs +0 -9
- package/dist/chunks/index-1.1.37-kqbx8bd4.mjs +0 -1
- package/dist/chunks/index-1.1.37-md3nqn7b.mjs +0 -1
- package/dist/chunks/index-1.1.37-nvrt1jkm.mjs +0 -1
- package/dist/chunks/index-1.1.37-qs532q75.mjs +0 -2
- package/dist/chunks/index-1.1.37-vrf2sks4.mjs +0 -1
- package/dist/chunks/index-1.1.37-w2vtqz1f.mjs +0 -30
- package/dist/chunks/index-1.1.37-wtf428dj.mjs +0 -1
- package/dist/chunks/index-1.1.37-x3qnjdnj.mjs +0 -23
- package/dist/chunks/index-1.1.37-xvds1tk7.mjs +0 -1
- package/dist/chunks/index-1.1.37-ycghwm8a.mjs +0 -1
- package/dist/chunks/init-1.1.37-rej95xjh.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.37-fg8xhcbg.mjs +0 -1
- package/dist/chunks/ink-1.1.37-9hasxe0p.mjs +0 -1
- package/dist/chunks/insights-1.1.37-t8pdcny6.mjs +0 -870
- package/dist/chunks/install-1.1.37-3qw7jywz.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.37-xxm8pfc7.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.37-k2gvh481.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.37-65a5va0g.mjs +0 -1
- package/dist/chunks/latestVersionCache-1.1.37-3a47ekt3.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.37-tacjzkxh.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.37-xp0k0sev.mjs +0 -1
- package/dist/chunks/log-1.1.37-zxjr2p0h.mjs +0 -1
- package/dist/chunks/main-1.1.37-z5knsc2c.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.37-v6d9x7gc.mjs +0 -1
- package/dist/chunks/mcp-1.1.37-2f8vksgy.mjs +0 -1
- package/dist/chunks/mcp-1.1.37-t42e1h6v.mjs +0 -17
- package/dist/chunks/mcp-1.1.37-z5yx7ce8.mjs +0 -4
- package/dist/chunks/mcpb-1.1.37-nxn1ew24.mjs +0 -1
- package/dist/chunks/memory-1.1.37-e17frzj2.mjs +0 -128
- package/dist/chunks/model-1.1.37-415ebhh8.mjs +0 -2
- package/dist/chunks/model-1.1.37-51zfsc21.mjs +0 -1
- package/dist/chunks/new-1.1.37-qmpxmvhh.mjs +0 -1
- package/dist/chunks/node-1.1.37-60r1zc7a.mjs +0 -1
- package/dist/chunks/node-1.1.37-bzzjhz9b.mjs +0 -15
- package/dist/chunks/oauth-1.1.37-an1mr5z0.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.37-d7tbje1m.mjs +0 -14
- package/dist/chunks/output-style-1.1.37-ky7bh1p8.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.37-cpdvge3d.mjs +0 -1
- package/dist/chunks/permissions-1.1.37-jfdwfjhx.mjs +0 -1
- package/dist/chunks/permissions-1.1.37-xa1rr619.mjs +0 -3
- package/dist/chunks/plan-1.1.37-mkad4kke.mjs +0 -1
- package/dist/chunks/plist-1.1.37-jp82073r.mjs +0 -1
- package/dist/chunks/plugin-1.1.37-4y7stngn.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.37-mb876t1m.mjs +0 -1
- package/dist/chunks/plugins-1.1.37-vgwj76jr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.37-y5x9wxpb.mjs +0 -2
- package/dist/chunks/print-1.1.37-39471kxm.mjs +0 -57
- package/dist/chunks/process-1.1.37-0sxw7yj7.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.37-3a9hjw0c.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.37-qkdzw4bn.mjs +0 -9
- package/dist/chunks/prompt-1.1.37-7ty4xbzv.mjs +0 -1
- package/dist/chunks/prompt-1.1.37-t1pkc4hm.mjs +0 -1
- package/dist/chunks/prompts-1.1.37-vc8tkqtx.mjs +0 -1
- package/dist/chunks/provider-1.1.37-d5ky3fex.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.37-qds9eqzt.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.37-njz9qc5m.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.37-mh25jf7y.mjs +0 -26
- package/dist/chunks/registry-1.1.37-j99mgf8f.mjs +0 -1
- package/dist/chunks/release-notes-1.1.37-9gkg8tfr.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.37-4sptja72.mjs +0 -2
- package/dist/chunks/remote-env-1.1.37-t2zt0dx6.mjs +0 -1
- package/dist/chunks/rename-1.1.37-r3rf1zcp.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.37-q72zpdec.mjs +0 -1
- package/dist/chunks/resume-1.1.37-7y7v8kjq.mjs +0 -2
- package/dist/chunks/rewind-1.1.37-g7g9fq2x.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.37-gab9zhq2.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.37-hfkacx24.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.37-0z182pcd.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.37-qpef07xe.mjs +0 -1
- package/dist/chunks/session-1.1.37-23e3vg40.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.37-80sj7d1y.mjs +0 -1
- package/dist/chunks/settings-1.1.37-9ydtb00s.mjs +0 -1
- package/dist/chunks/setup-1.1.37-zw16kqhk.mjs +0 -12
- package/dist/chunks/sinks-1.1.37-zfyvj9zb.mjs +0 -1
- package/dist/chunks/skills-1.1.37-k5m03dxr.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.37-c215kgmn.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.37-gkvkp8j3.mjs +0 -1
- package/dist/chunks/state-1.1.37-n5ptmgvs.mjs +0 -1
- package/dist/chunks/stats-1.1.37-aa4vr5s9.mjs +0 -1
- package/dist/chunks/status-1.1.37-ay3wwhz4.mjs +0 -1
- package/dist/chunks/stickers-1.1.37-9s6a0we7.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.37-j60ejzj9.mjs +0 -1
- package/dist/chunks/tasks-1.1.37-0kkyatcs.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.37-bh946f2s.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.37-hvr3p8hm.mjs +0 -1
- package/dist/chunks/teleport-1.1.37-r8pztaf5.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.37-db8a6fsx.mjs +0 -1
- package/dist/chunks/theme-1.1.37-syjd1g1y.mjs +0 -1
- package/dist/chunks/toolPool-1.1.37-99ckwfft.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.37-w702g2e2.mjs +0 -1
- package/dist/chunks/tools-1.1.37-q0g8gdy1.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.37-p3av7xdw.mjs +0 -69
- package/dist/chunks/types-1.1.37-0zw1rq84.mjs +0 -1
- package/dist/chunks/update-1.1.37-njeg6bcd.mjs +0 -72
- package/dist/chunks/upload-1.1.37-gzm0qpn7.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.37-v8bpt97q.mjs +0 -14
- package/dist/chunks/usage-1.1.37-b2a8dppj.mjs +0 -1
- package/dist/chunks/util-1.1.37-psbfj1x5.mjs +0 -1
- package/dist/chunks/utils-1.1.37-efqgjtyn.mjs +0 -1
- package/dist/chunks/vim-1.1.37-3vwhey1j.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.37-hmgj516c.mjs +0 -13
- package/dist/chunks/wiki-1.1.37-y24wnewk.mjs +0 -132
- package/dist/chunks/workflows-1.1.37-eywdbk9a.mjs +0 -1
- package/dist/chunks/worktree-1.1.37-k9y7x7fq.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.37-bq8bmkt7.mjs +0 -1
- package/dist/chunks/wrapper-1.1.37-mam70w68.mjs +0 -7
- /package/dist/chunks/{cli-1.1.37-tb7ktts9.mjs → cli-1.1.38-0sbej1sm.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-g7xfccj8.mjs → cli-1.1.38-48ykmxgd.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-6defhmsy.mjs → cli-1.1.38-5edb5t1a.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-tfvyj3nx.mjs → cli-1.1.38-fckt5c5p.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.37-422098yx.mjs → cli-1.1.38-g4av033p.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{uh as L,vh as u}from"./cli-1.1.38-q8ewcabe.mjs";import{KF as M,LF as $,PF as b,QF as f,RF as i}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import{WX as _,YX as j,eW as m,qX as J,sX as C}from"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import{A1 as Q,B1 as N,z1 as q}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as c}from"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{Ada as I,Nda as D,c_ as d,e_ as T,xda as h}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import{Aja as S,xja as H}from"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import{Xja as W,cka as p}from"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Lqa as V}from"./cli-1.1.38-y66mw08s.mjs";u();j();S();T();p();i();D();N();var B=V(m(),1),A=V(c(),1);import{homedir as l}from"node:os";import{join as x}from"node:path";function n(){let U=d.platform==="win32",z=l();if(U)return x(z,".local","bin","claudin.exe").replace(/\//g,"\\");return"~/.local/bin/claudin"}function O(U){let z=B.c(5),{messages:G}=U;if(G.length===0)return null;let y;if(z[0]===Symbol.for("react.memo_cache_sentinel"))y=q(J,{children:Q(C,{color:"warning",children:[q(L,{status:"warning",withSpace:!0}),"Setup notes:"]})}),z[0]=y;else y=z[0];let K;if(z[1]!==G)K=G.map(r),z[1]=G,z[2]=K;else K=z[2];let Y;if(z[3]!==K)Y=Q(J,{flexDirection:"column",gap:0,marginBottom:1,children:[y,K]}),z[3]=K,z[4]=Y;else Y=z[4];return Y}function r(U,z){return q(J,{marginLeft:2,children:Q(C,{dimColor:!0,children:["• ",U]})},z)}function a({onDone:U,force:z,target:G}){let[y,K]=A.useState({type:"checking"});return A.useEffect(()=>{async function Y(){try{H(`Install: Starting installation process (force=${z}, target=${G})`);let Z=G||I()?.autoUpdatesChannel||"latest";K({type:"installing",version:Z}),H(`Install: Calling installLatest(channelOrVersion=${Z}, forceReinstall=${z})`);let R=await $(Z,z);if(H(`Install: installLatest returned version=${R.latestVersion}, wasUpdated=${R.wasUpdated}, lockFailed=${R.lockFailed}`),R.lockFailed)throw Error("Could not install - another process is currently installing Claude. Please try again in a moment.");if(!R.latestVersion)H("Install: Failed to retrieve version information during install",{level:"error"});if(!R.wasUpdated)H("Install: Already up to date");K({type:"setting-up"});let k=await M(!0);if(H(`Install: Setup launcher completed with ${k.length} messages`),k.length>0)k.forEach((X)=>H(`Install: Setup message: ${X.message}`));H("Install: Cleaning up npm installations after successful install");let{removed:E,errors:v,warnings:F}=await f();if(E>0)H(`Cleaned up ${E} npm installation(s)`);if(v.length>0)H(`Cleanup errors: ${v.join(", ")}`);let P=await b();if(P.length>0)H(`Shell alias cleanup: ${P.map((X)=>X.message).join("; ")}`);if(G==="latest"||G==="stable")h("userSettings",{autoUpdatesChannel:G}),H(`Install: Saved autoUpdatesChannel=${G} to user settings`);let w=[...F,...P.map((X)=>X.message)];if(k.length>0)K({type:"set-up",messages:k.map((X)=>X.message)}),setTimeout(K,2000,{type:"success",version:R.latestVersion||"current",setupMessages:[...k.map((X)=>X.message),...w]});else H("Install: Shell PATH already configured"),K({type:"success",version:R.latestVersion||"current",setupMessages:w.length>0?w:void 0})}catch(Z){H(`Install command failed: ${Z}`,{level:"error"}),K({type:"error",message:W(Z)})}}Y()},[z,G]),A.useEffect(()=>{if(y.type==="success")setTimeout(U,2000,"Claudin installation completed successfully",{display:"system"});else if(y.type==="error")setTimeout(U,3000,"Claudin installation failed",{display:"system"})},[y,U]),Q(J,{flexDirection:"column",marginTop:1,children:[y.type==="checking"&&q(C,{color:"claude",children:"Checking installation status..."}),y.type==="cleaning-npm"&&q(C,{color:"warning",children:"Cleaning up old npm installations..."}),y.type==="installing"&&Q(C,{color:"claude",children:["Installing Claudin native build ",y.version,"..."]}),y.type==="setting-up"&&q(C,{color:"claude",children:"Setting up launcher and shell integration..."}),y.type==="set-up"&&q(O,{messages:y.messages}),y.type==="success"&&Q(J,{flexDirection:"column",gap:1,children:[Q(J,{children:[q(L,{status:"success",withSpace:!0}),q(C,{color:"success",bold:!0,children:"Claudin successfully installed!"})]}),Q(J,{marginLeft:2,flexDirection:"column",gap:1,children:[y.version!=="current"&&Q(J,{children:[q(C,{dimColor:!0,children:"Version: "}),q(C,{color:"claude",children:y.version})]}),Q(J,{children:[q(C,{dimColor:!0,children:"Location: "}),q(C,{color:"text",children:n()})]})]}),q(J,{marginLeft:2,flexDirection:"column",gap:1,children:Q(J,{marginTop:1,children:[q(C,{dimColor:!0,children:"Next: Run "}),q(C,{color:"claude",bold:!0,children:"claude --help"}),q(C,{dimColor:!0,children:" to get started"})]})}),y.setupMessages&&q(O,{messages:y.setupMessages})]}),y.type==="error"&&Q(J,{flexDirection:"column",gap:1,children:[Q(J,{children:[q(L,{status:"error",withSpace:!0}),q(C,{color:"error",children:"Installation failed"})]}),q(C,{color:"error",children:y.message}),q(J,{marginTop:1,children:q(C,{dimColor:!0,children:"Try running with --force to override checks"})})]})]})}var Hq={type:"local-jsx",name:"install",description:"Install Claudin native build",argumentHint:"[options]",async call(U,z,G){let y=G.includes("--force"),Y=G.filter((R)=>!R.startsWith("--"))[0],{unmount:Z}=await _(q(a,{onDone:(R,k)=>{Z(),U(R,k)},force:y,target:Y}))}};export{Hq as install,n as getInstallationPath};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import{Ax as Aq,KG as D0,LG as jq,Mx as B0,Nx as Nq,OE as k0,PE as Oq,QE as t0,aF as iq,cP as e,dP as G0,mm as s,mx as z0,nm as L0,nx as $,ox as d0,rx as Cq,sx as sq,vF as zq,vx as f0,wF as uq,wx as y0,xx as P0,yx as vq,zx as U0}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import{YX as u,eW as n,iW as M0,oX as t,qX as Q,sX as d,wX as Z0}from"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import{oZ as H0,pZ as Uq}from"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import{a0 as Wq,l0 as pq}from"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import{A1 as M,B1 as E,y1 as _,z1 as Y}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as Y0}from"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import{G5 as Gq,N4 as F0,P4 as Rq,l5 as Lq}from"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{Sca as Eq,Tfa as J0,Yfa as Mq,Z$ as Kq,_ca as $q,aaa as xq,h_ as yq,o9 as W0,p9 as Xq,r$ as j,s9 as b0,t$ as Pq,t9 as rq,xea as Sq}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Lqa as l,Pqa as h}from"./cli-1.1.38-y66mw08s.mjs";function _q(I){if(I.pending)return M(d,{children:["Press ",I.keyName," again to exit"]});return M(U0,{children:[Y(f0,{shortcut:"↑↓",action:"navigate"}),Y(f0,{shortcut:"Space",action:"toggle"}),Y(f0,{shortcut:"Enter",action:"confirm"}),Y(P0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}function m0(I){let q=c0.c(14),{onSubmit:f,defaultSelections:X}=I,[G,D]=g0.useState(!1),z;if(q[0]!==f)z=(C)=>{if(C.length===0){D(!0);return}D(!1),f(C)},q[0]=f,q[1]=z;else z=q[1];let W=z,V;if(q[2]===Symbol.for("react.memo_cache_sentinel"))V=()=>{D(!1)},q[2]=V;else V=q[2];let H=V,Z;if(q[3]===Symbol.for("react.memo_cache_sentinel"))Z=()=>{D(!0)},q[3]=Z;else Z=q[3];let F=Z,y;if(q[4]===Symbol.for("react.memo_cache_sentinel"))y=Y(Q,{children:M(d,{dimColor:!0,children:["More workflow examples (issue triage, CI fixes, etc.) at:"," ",Y(Z0,{url:"https://github.com/anthropics/claude-code-action/blob/main/examples/",children:"https://github.com/anthropics/claude-code-action/blob/main/examples/"})]})}),q[4]=y;else y=q[4];let w;if(q[5]===Symbol.for("react.memo_cache_sentinel"))w=lq.map(Tq),q[5]=w;else w=q[5];let b;if(q[6]!==X||q[7]!==W)b=Y(k0,{options:w,defaultValue:X,onSubmit:W,onChange:H,onCancel:F,hideIndexes:!0}),q[6]=X,q[7]=W,q[8]=b;else b=q[8];let P;if(q[9]!==G)P=G&&Y(Q,{children:Y(d,{color:"error",children:"You must select at least one workflow to continue"})}),q[9]=G,q[10]=P;else P=q[10];let g;if(q[11]!==b||q[12]!==P)g=M(B0,{title:"Select GitHub workflows to install",subtitle:"We'll create a workflow file in your repository for each one you select.",onCancel:F,inputGuide:_q,children:[y,b,P]}),q[11]=b,q[12]=P,q[13]=g;else g=q[13];return g}function Tq(I){return{label:I.label,value:I.value}}var c0,g0,lq;var K0=h(()=>{u();vq();Oq();Aq();Nq();y0();E();c0=l(n(),1),g0=l(Y0(),1),lq=[{value:"claude",label:"@Claude Code - Tag @claude in issues and PR comments"},{value:"claude-review",label:"Claude Code Review - Automated code review on new PRs"}]});var E0="Add Claude Code GitHub Workflow",x="https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md",R0=`name: Claude Code
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment:
|
|
5
|
+
types: [created]
|
|
6
|
+
pull_request_review_comment:
|
|
7
|
+
types: [created]
|
|
8
|
+
issues:
|
|
9
|
+
types: [opened, assigned]
|
|
10
|
+
pull_request_review:
|
|
11
|
+
types: [submitted]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
claude:
|
|
15
|
+
if: |
|
|
16
|
+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
17
|
+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
18
|
+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
|
19
|
+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
pull-requests: read
|
|
24
|
+
issues: read
|
|
25
|
+
id-token: write
|
|
26
|
+
actions: read # Required for Claude to read CI results on PRs
|
|
27
|
+
steps:
|
|
28
|
+
- name: Checkout repository
|
|
29
|
+
uses: actions/checkout@v4
|
|
30
|
+
with:
|
|
31
|
+
fetch-depth: 1
|
|
32
|
+
|
|
33
|
+
- name: Run Claude Code
|
|
34
|
+
id: claude
|
|
35
|
+
uses: anthropics/claude-code-action@v1
|
|
36
|
+
with:
|
|
37
|
+
anthropic_api_key: \${{ secrets.ANTHROPIC_API_KEY }}
|
|
38
|
+
|
|
39
|
+
# This is an optional setting that allows Claude to read CI results on PRs
|
|
40
|
+
additional_permissions: |
|
|
41
|
+
actions: read
|
|
42
|
+
|
|
43
|
+
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
|
|
44
|
+
# prompt: 'Update the pull request description to include a summary of changes.'
|
|
45
|
+
|
|
46
|
+
# Optional: Add claude_args to customize behavior and configuration
|
|
47
|
+
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
|
|
48
|
+
# or https://code.claude.com/docs/en/cli-reference for available options
|
|
49
|
+
# claude_args: '--allowed-tools Bash(gh pr:*)'
|
|
50
|
+
|
|
51
|
+
`,C0=`## \uD83E\uDD16 Installing Claude Code GitHub App
|
|
52
|
+
|
|
53
|
+
This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.
|
|
54
|
+
|
|
55
|
+
### What is Claude Code?
|
|
56
|
+
|
|
57
|
+
[Claude Code](https://claude.com/claude-code) is an AI coding agent that can help with:
|
|
58
|
+
- Bug fixes and improvements
|
|
59
|
+
- Documentation updates
|
|
60
|
+
- Implementing new features
|
|
61
|
+
- Code reviews and suggestions
|
|
62
|
+
- Writing tests
|
|
63
|
+
- And more!
|
|
64
|
+
|
|
65
|
+
### How it works
|
|
66
|
+
|
|
67
|
+
Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
|
|
68
|
+
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.
|
|
69
|
+
|
|
70
|
+
### Important Notes
|
|
71
|
+
|
|
72
|
+
- **This workflow won't take effect until this PR is merged**
|
|
73
|
+
- **@claude mentions won't work until after the merge is complete**
|
|
74
|
+
- The workflow runs automatically whenever Claude is mentioned in PR or issue comments
|
|
75
|
+
- Claude gets access to the entire PR or issue context including files, diffs, and previous comments
|
|
76
|
+
|
|
77
|
+
### Security
|
|
78
|
+
|
|
79
|
+
- Our Anthropic API key is securely stored as a GitHub Actions secret
|
|
80
|
+
- Only users with write access to the repository can trigger the workflow
|
|
81
|
+
- All Claude runs are stored in the GitHub Actions run history
|
|
82
|
+
- Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
|
|
83
|
+
- We can add more allowed tools by adding them to the workflow file like:
|
|
84
|
+
|
|
85
|
+
\`\`\`
|
|
86
|
+
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)
|
|
87
|
+
\`\`\`
|
|
88
|
+
|
|
89
|
+
There's more information in the [Claude Code action repo](https://github.com/anthropics/claude-code-action).
|
|
90
|
+
|
|
91
|
+
After merging this PR, let's try mentioning @claude in a comment on any PR to get started!`,v0=`name: Claude Code Review
|
|
92
|
+
|
|
93
|
+
on:
|
|
94
|
+
pull_request:
|
|
95
|
+
types: [opened, synchronize, ready_for_review, reopened]
|
|
96
|
+
# Optional: Only run on specific file changes
|
|
97
|
+
# paths:
|
|
98
|
+
# - "src/**/*.ts"
|
|
99
|
+
# - "src/**/*.tsx"
|
|
100
|
+
# - "src/**/*.js"
|
|
101
|
+
# - "src/**/*.jsx"
|
|
102
|
+
|
|
103
|
+
jobs:
|
|
104
|
+
claude-review:
|
|
105
|
+
# Optional: Filter by PR author
|
|
106
|
+
# if: |
|
|
107
|
+
# github.event.pull_request.user.login == 'external-contributor' ||
|
|
108
|
+
# github.event.pull_request.user.login == 'new-developer' ||
|
|
109
|
+
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
|
|
110
|
+
|
|
111
|
+
runs-on: ubuntu-latest
|
|
112
|
+
permissions:
|
|
113
|
+
contents: read
|
|
114
|
+
pull-requests: read
|
|
115
|
+
issues: read
|
|
116
|
+
id-token: write
|
|
117
|
+
|
|
118
|
+
steps:
|
|
119
|
+
- name: Checkout repository
|
|
120
|
+
uses: actions/checkout@v4
|
|
121
|
+
with:
|
|
122
|
+
fetch-depth: 1
|
|
123
|
+
|
|
124
|
+
- name: Run Claude Code Review
|
|
125
|
+
id: claude-review
|
|
126
|
+
uses: anthropics/claude-code-action@v1
|
|
127
|
+
with:
|
|
128
|
+
anthropic_api_key: \${{ secrets.ANTHROPIC_API_KEY }}
|
|
129
|
+
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
|
|
130
|
+
plugins: 'code-review@claude-code-plugins'
|
|
131
|
+
prompt: '/code-review:code-review \${{ github.repository }}/pull/\${{ github.event.pull_request.number }}'
|
|
132
|
+
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
|
|
133
|
+
# or https://code.claude.com/docs/en/cli-reference for available options
|
|
134
|
+
|
|
135
|
+
`;var X0=()=>{};function O0(I){let q=A0.c(55),{existingApiKey:f,apiKeyOrOAuthToken:X,onApiKeyChange:G,onSubmit:D,onToggleUseExistingKey:z,onCreateOAuthToken:W,selectedOption:V,onSelectOption:H}=I,Z=V===void 0?f?"existing":W?"oauth":"new":V,[F,y]=N0.useState(0),w=s(),[b]=M0(),P;if(q[0]!==f||q[1]!==W||q[2]!==H||q[3]!==z||q[4]!==Z)P=()=>{if(Z==="new"&&W)H?.("oauth");else if(Z==="oauth"&&f)H?.("existing"),z(!0)},q[0]=f,q[1]=W,q[2]=H,q[3]=z,q[4]=Z,q[5]=P;else P=q[5];let g=P,C;if(q[6]!==W||q[7]!==H||q[8]!==z||q[9]!==Z)C=()=>{if(Z==="existing")H?.(W?"oauth":"new"),z(!1);else if(Z==="oauth")H?.("new")},q[6]=W,q[7]=H,q[8]=z,q[9]=Z,q[10]=C;else C=q[10];let v=C,A;if(q[11]!==W||q[12]!==D||q[13]!==Z)A=()=>{if(Z==="oauth"&&W)W();else D()},q[11]=W,q[12]=D,q[13]=Z,q[14]=A;else A=q[14];let N=A,B=Z==="new",m;if(q[15]!==N||q[16]!==v||q[17]!==g)m={"confirm:previous":g,"confirm:next":v,"confirm:yes":N},q[15]=N,q[16]=v,q[17]=g,q[18]=m;else m=q[18];let J=!B,L;if(q[19]!==J)L={context:"Confirmation",isActive:J},q[19]=J,q[20]=L;else L=q[20];$(m,L);let U;if(q[21]!==v||q[22]!==g)U={"confirm:previous":g,"confirm:next":v},q[21]=v,q[22]=g,q[23]=U;else U=q[23];let k;if(q[24]!==B)k={context:"Confirmation",isActive:B},q[24]=B,q[25]=k;else k=q[25];$(U,k);let c;if(q[26]===Symbol.for("react.memo_cache_sentinel"))c=M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{bold:!0,children:"Install GitHub App"}),Y(d,{dimColor:!0,children:"Choose API key"})]}),q[26]=c;else c=q[26];let R;if(q[27]!==f||q[28]!==Z||q[29]!==b)R=f&&Y(Q,{marginBottom:1,children:M(d,{children:[Z==="existing"?t("success",b)("> "):" ","Use your existing Claude Code API key"]})}),q[27]=f,q[28]=Z,q[29]=b,q[30]=R;else R=q[30];let K;if(q[31]!==W||q[32]!==Z||q[33]!==b)K=W&&Y(Q,{marginBottom:1,children:M(d,{children:[Z==="oauth"?t("success",b)("> "):" ","Create a long-lived token with your Claude subscription"]})}),q[31]=W,q[32]=Z,q[33]=b,q[34]=K;else K=q[34];let O;if(q[35]!==Z||q[36]!==b)O=Z==="new"?t("success",b)("> "):" ",q[35]=Z,q[36]=b,q[37]=O;else O=q[37];let r;if(q[38]!==O)r=Y(Q,{marginBottom:1,children:M(d,{children:[O,"Enter a new API key"]})}),q[38]=O,q[39]=r;else r=q[39];let i;if(q[40]!==X||q[41]!==F||q[42]!==G||q[43]!==D||q[44]!==Z||q[45]!==w)i=Z==="new"&&Y(e,{value:X,onChange:G,onSubmit:D,onPaste:G,focus:!0,placeholder:"sk-ant… (Create a new key at https://platform.claude.com/settings/keys)",mask:"*",columns:w.columns,cursorOffset:F,onChangeCursorOffset:y,showCursor:!0}),q[40]=X,q[41]=F,q[42]=G,q[43]=D,q[44]=Z,q[45]=w,q[46]=i;else i=q[46];let p;if(q[47]!==R||q[48]!==K||q[49]!==r||q[50]!==i)p=M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[c,R,K,r,i]}),q[47]=R,q[48]=K,q[49]=r,q[50]=i,q[51]=p;else p=q[51];let S;if(q[52]===Symbol.for("react.memo_cache_sentinel"))S=Y(Q,{marginLeft:3,children:Y(d,{dimColor:!0,children:"↑/↓ to select · Enter to continue"})}),q[52]=S;else S=q[52];let o;if(q[53]!==p)o=M(_,{children:[p,S]}),q[53]=p,q[54]=o;else o=q[54];return o}var A0,N0;var l0=h(()=>{G0();L0();u();d0();E();A0=l(n(),1),N0=l(Y0(),1)});function h0(I){let q=_0.c(42),{useExistingSecret:f,secretName:X,onToggleUseExistingSecret:G,onSecretNameChange:D,onSubmit:z}=I,[W,V]=T0.useState(0),H=s(),[Z]=M0(),F;if(q[0]!==G)F=()=>G(!0),q[0]=G,q[1]=F;else F=q[1];let y=F,w;if(q[2]!==G)w=()=>G(!1),q[2]=G,q[3]=w;else w=q[3];let b=w,P;if(q[4]!==b||q[5]!==y||q[6]!==z)P={"confirm:previous":y,"confirm:next":b,"confirm:yes":z},q[4]=b,q[5]=y,q[6]=z,q[7]=P;else P=q[7];let g;if(q[8]!==f)g={context:"Confirmation",isActive:f},q[8]=f,q[9]=g;else g=q[9];$(P,g);let C;if(q[10]!==b||q[11]!==y)C={"confirm:previous":y,"confirm:next":b},q[10]=b,q[11]=y,q[12]=C;else C=q[12];let v=!f,A;if(q[13]!==v)A={context:"Confirmation",isActive:v},q[13]=v,q[14]=A;else A=q[14];$(C,A);let N;if(q[15]===Symbol.for("react.memo_cache_sentinel"))N=M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{bold:!0,children:"Install GitHub App"}),Y(d,{dimColor:!0,children:"Setup API key secret"})]}),q[15]=N;else N=q[15];let B;if(q[16]===Symbol.for("react.memo_cache_sentinel"))B=Y(Q,{marginBottom:1,children:Y(d,{color:"warning",children:"ANTHROPIC_API_KEY already exists in repository secrets!"})}),q[16]=B;else B=q[16];let m;if(q[17]===Symbol.for("react.memo_cache_sentinel"))m=Y(Q,{marginBottom:1,children:Y(d,{children:"Would you like to:"})}),q[17]=m;else m=q[17];let J;if(q[18]!==Z||q[19]!==f)J=f?t("success",Z)("> "):" ",q[18]=Z,q[19]=f,q[20]=J;else J=q[20];let L;if(q[21]!==J)L=Y(Q,{marginBottom:1,children:M(d,{children:[J,"Use the existing API key"]})}),q[21]=J,q[22]=L;else L=q[22];let U;if(q[23]!==Z||q[24]!==f)U=!f?t("success",Z)("> "):" ",q[23]=Z,q[24]=f,q[25]=U;else U=q[25];let k;if(q[26]!==U)k=Y(Q,{marginBottom:1,children:M(d,{children:[U,"Create a new secret with a different name"]})}),q[26]=U,q[27]=k;else k=q[27];let c;if(q[28]!==W||q[29]!==D||q[30]!==z||q[31]!==X||q[32]!==H||q[33]!==f)c=!f&&M(_,{children:[Y(Q,{marginBottom:1,children:Y(d,{children:"Enter new secret name (alphanumeric with underscores):"})}),Y(e,{value:X,onChange:D,onSubmit:z,focus:!0,placeholder:"e.g., CLAUDE_API_KEY",columns:H.columns,cursorOffset:W,onChangeCursorOffset:V,showCursor:!0})]}),q[28]=W,q[29]=D,q[30]=z,q[31]=X,q[32]=H,q[33]=f,q[34]=c;else c=q[34];let R;if(q[35]!==L||q[36]!==k||q[37]!==c)R=M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[N,B,m,L,k,c]}),q[35]=L,q[36]=k,q[37]=c,q[38]=R;else R=q[38];let K;if(q[39]===Symbol.for("react.memo_cache_sentinel"))K=Y(Q,{marginLeft:3,children:Y(d,{dimColor:!0,children:"↑/↓ to select · Enter to continue"})}),q[39]=K;else K=q[39];let O;if(q[40]!==R)O=M(_,{children:[R,K]}),q[40]=R,q[41]=O;else O=q[41];return O}var _0,T0;var i0=h(()=>{G0();L0();u();d0();E();_0=l(n(),1),T0=l(Y0(),1)});function u0(){let I=p0.c(1),q;if(I[0]===Symbol.for("react.memo_cache_sentinel"))q=Y(d,{children:"Checking GitHub CLI installation…"}),I[0]=q;else q=I[0];return q}var p0;var j0=h(()=>{u();E();p0=l(n(),1)});function o0(I){let q=S0.c(49),{currentRepo:f,useCurrentRepo:X,repoUrl:G,onRepoUrlChange:D,onSubmit:z,onToggleUseCurrentRepo:W}=I,[V,H]=I0.useState(0),[Z,F]=I0.useState(!1),w=s().columns,b;if(q[0]!==f||q[1]!==z||q[2]!==G||q[3]!==X)b=()=>{if(!(X?f:G)?.trim()){F(!0);return}z()},q[0]=f,q[1]=z,q[2]=G,q[3]=X,q[4]=b;else b=q[4];let P=b,g=!X||!f,C;if(q[5]!==W)C=()=>{W(!0),F(!1)},q[5]=W,q[6]=C;else C=q[6];let v=C,A;if(q[7]!==W)A=()=>{W(!1),F(!1)},q[7]=W,q[8]=A;else A=q[8];let N=A,B;if(q[9]!==N||q[10]!==v||q[11]!==P)B={"confirm:previous":v,"confirm:next":N,"confirm:yes":P},q[9]=N,q[10]=v,q[11]=P,q[12]=B;else B=q[12];let m=!g,J;if(q[13]!==m)J={context:"Confirmation",isActive:m},q[13]=m,q[14]=J;else J=q[14];$(B,J);let L;if(q[15]!==N||q[16]!==v)L={"confirm:previous":v,"confirm:next":N},q[15]=N,q[16]=v,q[17]=L;else L=q[17];let U;if(q[18]!==g)U={context:"Confirmation",isActive:g},q[18]=g,q[19]=U;else U=q[19];$(L,U);let k;if(q[20]===Symbol.for("react.memo_cache_sentinel"))k=M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{bold:!0,children:"Install GitHub App"}),Y(d,{dimColor:!0,children:"Select GitHub repository"})]}),q[20]=k;else k=q[20];let c;if(q[21]!==f||q[22]!==X)c=f&&Y(Q,{marginBottom:1,children:M(d,{bold:X,color:X?"permission":void 0,children:[X?"> ":" ","Use current repository: ",f]})}),q[21]=f,q[22]=X,q[23]=c;else c=q[23];let R=!X||!f,K=!X||!f?"permission":void 0,O=!X||!f?"> ":" ",r=f?"Enter a different repository":"Enter repository",i;if(q[24]!==R||q[25]!==K||q[26]!==O||q[27]!==r)i=Y(Q,{marginBottom:1,children:M(d,{bold:R,color:K,children:[O,r]})}),q[24]=R,q[25]=K,q[26]=O,q[27]=r,q[28]=i;else i=q[28];let p;if(q[29]!==f||q[30]!==V||q[31]!==P||q[32]!==D||q[33]!==G||q[34]!==w||q[35]!==X)p=(!X||!f)&&Y(Q,{marginLeft:2,marginBottom:1,children:Y(e,{value:G,onChange:(w0)=>{D(w0),F(!1)},onSubmit:P,focus:!0,placeholder:"Enter a repo as owner/repo or https://github.com/owner/repo…",columns:w,cursorOffset:V,onChangeCursorOffset:H,showCursor:!0})}),q[29]=f,q[30]=V,q[31]=P,q[32]=D,q[33]=G,q[34]=w,q[35]=X,q[36]=p;else p=q[36];let S;if(q[37]!==c||q[38]!==i||q[39]!==p)S=M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[k,c,i,p]}),q[37]=c,q[38]=i,q[39]=p,q[40]=S;else S=q[40];let o;if(q[41]!==Z)o=Z&&Y(Q,{marginLeft:3,marginBottom:1,children:Y(d,{color:"error",children:"Please enter a repository name to continue"})}),q[41]=Z,q[42]=o;else o=q[42];let V0=f?"↑/↓ to select · ":"",q0;if(q[43]!==V0)q0=Y(Q,{marginLeft:3,children:M(d,{dimColor:!0,children:[V0,"Enter to continue"]})}),q[43]=V0,q[44]=q0;else q0=q[44];let Q0;if(q[45]!==S||q[46]!==o||q[47]!==q0)Q0=M(_,{children:[S,o,q0]}),q[45]=S,q[46]=o,q[47]=q0,q[48]=Q0;else Q0=q[48];return Q0}var S0,I0;var n0=h(()=>{G0();L0();u();d0();E();S0=l(n(),1),I0=l(Y0(),1)});function r0(I){let q=a0.c(10),{currentWorkflowInstallStep:f,secretExists:X,useExistingSecret:G,secretName:D,skipWorkflow:z,selectedWorkflows:W}=I,V=z===void 0?!1:z,H;if(q[0]!==X||q[1]!==D||q[2]!==W||q[3]!==V||q[4]!==G)H=V?["Getting repository information",X&&G?"Using existing API key secret":`Setting up ${D} secret`]:["Getting repository information","Creating branch",W.length>1?"Creating workflow files":"Creating workflow file",X&&G?"Using existing API key secret":`Setting up ${D} secret`,"Opening pull request page"],q[0]=X,q[1]=D,q[2]=W,q[3]=V,q[4]=G,q[5]=H;else H=q[5];let Z=H,F;if(q[6]===Symbol.for("react.memo_cache_sentinel"))F=M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{bold:!0,children:"Install GitHub App"}),Y(d,{dimColor:!0,children:"Create GitHub Actions workflow"})]}),q[6]=F;else F=q[6];let y;if(q[7]!==f||q[8]!==Z)y=Y(_,{children:M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[F,Z.map((w,b)=>{let P="pending";if(b<f)P="completed";else if(b===f)P="in-progress";return Y(Q,{children:M(d,{color:P==="completed"?"success":P==="in-progress"?"warning":void 0,children:[P==="completed"?"✓ ":"",w,P==="in-progress"?"…":""]})},b)})]})}),q[7]=f,q[8]=Z,q[9]=y;else y=q[9];return y}var a0;var x0=h(()=>{u();E();a0=l(n(),1)});function s0(I){let q=$0.c(15),{error:f,errorReason:X,errorInstructions:G}=I,D;if(q[0]===Symbol.for("react.memo_cache_sentinel"))D=Y(Q,{flexDirection:"column",marginBottom:1,children:Y(d,{bold:!0,children:"Install GitHub App"})}),q[0]=D;else D=q[0];let z;if(q[1]!==f)z=M(d,{color:"error",children:["Error: ",f]}),q[1]=f,q[2]=z;else z=q[2];let W;if(q[3]!==X)W=X&&Y(Q,{marginTop:1,children:M(d,{dimColor:!0,children:["Reason: ",X]})}),q[3]=X,q[4]=W;else W=q[4];let V;if(q[5]!==G)V=G&&G.length>0&&M(Q,{flexDirection:"column",marginTop:1,children:[Y(d,{dimColor:!0,children:"How to fix:"}),G.map(hq)]}),q[5]=G,q[6]=V;else V=q[6];let H;if(q[7]===Symbol.for("react.memo_cache_sentinel"))H=Y(Q,{marginTop:1,children:M(d,{dimColor:!0,children:["For manual setup instructions, see:"," ",Y(d,{color:"claude",children:x})]})}),q[7]=H;else H=q[7];let Z;if(q[8]!==z||q[9]!==W||q[10]!==V)Z=M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[D,z,W,V,H]}),q[8]=z,q[9]=W,q[10]=V,q[11]=Z;else Z=q[11];let F;if(q[12]===Symbol.for("react.memo_cache_sentinel"))F=Y(Q,{marginLeft:3,children:Y(d,{dimColor:!0,children:"Press any key to exit"})}),q[12]=F;else F=q[12];let y;if(q[13]!==Z)y=M(_,{children:[Z,F]}),q[13]=Z,q[14]=y;else y=q[14];return y}function hq(I,q){return M(Q,{marginLeft:2,children:[Y(d,{dimColor:!0,children:"• "}),Y(d,{children:I})]},q)}var $0;var e0=h(()=>{X0();u();E();$0=l(n(),1)});function fq(I){let q=qq.c(16),{repoName:f,onSelectAction:X}=I,G;if(q[0]===Symbol.for("react.memo_cache_sentinel"))G=[{label:"Update workflow file with latest version",value:"update"},{label:"Skip workflow update (configure secrets only)",value:"skip"},{label:"Exit without making changes",value:"exit"}],q[0]=G;else G=q[0];let D=G,z;if(q[1]!==X)z=(g)=>{X(g)},q[1]=X,q[2]=z;else z=q[2];let W=z,V;if(q[3]!==X)V=()=>{X("exit")},q[3]=X,q[4]=V;else V=q[4];let H=V,Z;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Z=Y(d,{bold:!0,children:"Existing Workflow Found"}),q[5]=Z;else Z=q[5];let F;if(q[6]!==f)F=M(Q,{flexDirection:"column",marginBottom:1,children:[Z,M(d,{dimColor:!0,children:["Repository: ",f]})]}),q[6]=f,q[7]=F;else F=q[7];let y;if(q[8]===Symbol.for("react.memo_cache_sentinel"))y=M(Q,{flexDirection:"column",marginBottom:1,children:[M(d,{children:["A Claude workflow file already exists at"," ",Y(d,{color:"claude",children:".github/workflows/claude.yml"})]}),Y(d,{dimColor:!0,children:"What would you like to do?"})]}),q[8]=y;else y=q[8];let w;if(q[9]!==H||q[10]!==W)w=Y(Q,{flexDirection:"column",children:Y(t0,{options:D,onChange:W,onCancel:H})}),q[9]=H,q[10]=W,q[11]=w;else w=q[11];let b;if(q[12]===Symbol.for("react.memo_cache_sentinel"))b=Y(Q,{marginTop:1,children:M(d,{dimColor:!0,children:["View the latest workflow template at:"," ",Y(d,{color:"claude",children:"https://github.com/anthropics/claude-code-action/blob/main/examples/claude.yml"})]})}),q[12]=b;else b=q[12];let P;if(q[13]!==F||q[14]!==w)P=M(Q,{flexDirection:"column",borderStyle:"round",borderDimColor:!0,paddingX:1,children:[F,y,w,b]}),q[13]=F,q[14]=w,q[15]=P;else P=q[15];return P}var qq;var Yq=h(()=>{iq();u();E();qq=l(n(),1)});function Jq(I){let q=dq.c(12),{repoUrl:f,onSubmit:X}=I,G;if(q[0]===Symbol.for("react.memo_cache_sentinel"))G={context:"Confirmation"},q[0]=G;else G=q[0];z0("confirm:yes",X,G);let D;if(q[1]===Symbol.for("react.memo_cache_sentinel"))D=Y(Q,{flexDirection:"column",marginBottom:1,children:Y(d,{bold:!0,children:"Install the Claude GitHub App"})}),q[1]=D;else D=q[1];let z;if(q[2]===Symbol.for("react.memo_cache_sentinel"))z=Y(Q,{marginBottom:1,children:Y(d,{children:"Opening browser to install the Claude GitHub App…"})}),q[2]=z;else z=q[2];let W;if(q[3]===Symbol.for("react.memo_cache_sentinel"))W=Y(Q,{marginBottom:1,children:Y(d,{children:"If your browser doesn't open automatically, visit:"})}),q[3]=W;else W=q[3];let V;if(q[4]===Symbol.for("react.memo_cache_sentinel"))V=Y(Q,{marginBottom:1,children:Y(d,{underline:!0,children:"https://github.com/apps/claude"})}),q[4]=V;else V=q[4];let H;if(q[5]!==f)H=Y(Q,{marginBottom:1,children:M(d,{children:["Please install the app for repository: ",Y(d,{bold:!0,children:f})]})}),q[5]=f,q[6]=H;else H=q[6];let Z;if(q[7]===Symbol.for("react.memo_cache_sentinel"))Z=Y(Q,{marginBottom:1,children:Y(d,{dimColor:!0,children:"Important: Make sure to grant access to this specific repository"})}),q[7]=Z;else Z=q[7];let F;if(q[8]===Symbol.for("react.memo_cache_sentinel"))F=Y(Q,{children:M(d,{bold:!0,color:"permission",children:["Press Enter once you've installed the app",W0.ellipsis]})}),q[8]=F;else F=q[8];let y;if(q[9]===Symbol.for("react.memo_cache_sentinel"))y=Y(Q,{marginTop:1,children:M(d,{dimColor:!0,children:["Having trouble? See manual setup instructions at:"," ",Y(d,{color:"claude",children:x})]})}),q[9]=y;else y=q[9];let w;if(q[10]!==H)w=M(Q,{flexDirection:"column",borderStyle:"round",borderDimColor:!0,paddingX:1,children:[D,z,W,V,H,Z,F,y]}),q[10]=H,q[11]=w;else w=q[11];return w}var dq;var Qq=h(()=>{Xq();X0();u();d0();E();dq=l(n(),1)});function Dq({onSuccess:I,onCancel:q}){let[f,X]=T.useState({state:"starting"}),[G]=T.useState(()=>new zq),[D,z]=T.useState(""),[W,V]=T.useState(0),[H,Z]=T.useState(!1),[F,y]=T.useState(!1),w=T.useRef(new Set),b=T.useRef(void 0),P=s(),g=Math.max(50,P.columns-Zq.length-4);function C(B){if(f.state!=="error")return;if(B.preventDefault(),B.key==="return"&&f.toRetry)z(""),V(0),X({state:"about_to_retry",nextState:f.toRetry});else q()}async function v(B,m){try{let[J,L]=B.split("#");if(!J||!L){X({state:"error",message:"Invalid code. Please make sure the full code was copied",toRetry:{state:"waiting_for_login",url:m}});return}G.handleManualAuthCodeInput({authorizationCode:J,state:L})}catch(J){J0(J),X({state:"error",message:J.message,toRetry:{state:"waiting_for_login",url:m}})}}let A=T.useCallback(async()=>{w.current.forEach((B)=>clearTimeout(B)),w.current.clear();try{let B=await G.startOAuthFlow(async(J)=>{X({state:"waiting_for_login",url:J});let L=setTimeout(Z,3000,!0);w.current.add(L)},{loginWithClaudeAi:!0,inferenceOnly:!0,expiresIn:31536000});X({state:"processing"}),Lq(B);let m=setTimeout((J,L,U,k)=>{J({state:"success",token:L});let c=setTimeout(U,1000,L);k.current.add(c)},100,X,B.accessToken,I,w);w.current.add(m)}catch(B){let m=B.message;X({state:"error",message:m,toRetry:{state:"starting"}}),J0(B)}},[G,I]);T.useEffect(()=>{if(f.state==="starting")A()},[f.state,A]),T.useEffect(()=>{if(f.state==="about_to_retry"){let B=setTimeout((m,J,L)=>{J(m.state==="waiting_for_login"),L(m)},500,f.nextState,Z,X);w.current.add(B)}},[f]),T.useEffect(()=>{if(D==="c"&&f.state==="waiting_for_login"&&H&&!F)Wq(f.url).then((B)=>{if(B)process.stdout.write(B);y(!0),clearTimeout(b.current),b.current=setTimeout(y,2000,!1)}),z("")},[D,f,H,F]),T.useEffect(()=>{let B=w.current;return()=>{G.cleanup(),B.forEach((m)=>clearTimeout(m)),B.clear(),clearTimeout(b.current)}},[G]);function N(){switch(f.state){case"starting":return M(Q,{children:[Y(D0,{}),Y(d,{children:"Starting authentication…"})]});case"waiting_for_login":return M(Q,{flexDirection:"column",gap:1,children:[!H&&M(Q,{children:[Y(D0,{}),Y(d,{children:"Opening browser to sign in with your Claude account…"})]}),H&&M(Q,{children:[Y(d,{children:Zq}),Y(e,{value:D,onChange:z,onSubmit:(B)=>v(B,f.url),cursorOffset:W,onChangeCursorOffset:V,columns:g})]})]});case"processing":return M(Q,{children:[Y(D0,{}),Y(d,{children:"Processing authentication…"})]});case"success":return M(Q,{flexDirection:"column",gap:1,children:[Y(d,{color:"success",children:"✓ Authentication token created successfully!"}),Y(d,{dimColor:!0,children:"Using token for GitHub Actions setup…"})]});case"error":return M(Q,{flexDirection:"column",gap:1,children:[M(d,{color:"error",children:["OAuth error: ",f.message]}),f.toRetry?Y(d,{dimColor:!0,children:"Press Enter to try again, or any other key to cancel"}):Y(d,{dimColor:!0,children:"Press any key to return to API key selection"})]});case"about_to_retry":return Y(Q,{flexDirection:"column",gap:1,children:Y(d,{color:"permission",children:"Retrying…"})});default:return null}}return M(Q,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:C,children:[f.state==="starting"&&M(Q,{flexDirection:"column",gap:1,paddingBottom:1,children:[Y(d,{bold:!0,children:"Create Authentication Token"}),Y(d,{dimColor:!0,children:"Creating a long-lived token for GitHub Actions"})]}),f.state!=="success"&&f.state!=="starting"&&f.state!=="processing"&&M(Q,{flexDirection:"column",gap:1,paddingBottom:1,children:[Y(d,{bold:!0,children:"Create Authentication Token"}),Y(d,{dimColor:!0,children:"Creating a long-lived token for GitHub Actions"})]},"header"),f.state==="waiting_for_login"&&H&&M(Q,{flexDirection:"column",gap:1,paddingBottom:1,children:[M(Q,{paddingX:1,children:[M(d,{dimColor:!0,children:["Browser didn't open? Use the url below to sign in"," "]}),F?Y(d,{color:"success",children:"(Copied!)"}):Y(d,{dimColor:!0,children:Y(f0,{shortcut:"c",action:"copy",parens:!0})})]}),Y(Z0,{url:f.url,children:Y(d,{dimColor:!0,children:f.url})})]},"urlToCopy"),Y(Q,{paddingLeft:1,flexDirection:"column",gap:1,children:N()})]})}var T,Zq="Paste code here if prompted > ";var Hq=h(()=>{y0();jq();G0();L0();pq();u();uq();Gq();Mq();E();T=l(Y0(),1)});function Vq(I){let q=I.trim(),f=q.match(/^(?<owner>[^/:\s]+)\/(?<repo>[^/\s]+?)(?:\.git)?\/?$/i);if(f?.groups?.owner&&f.groups.repo)return`${f.groups.owner}/${f.groups.repo}`.replace(/\.git$/i,"");let X=q.match(/^(?:https?:\/\/)?(?:www\.)?github\.com\/(?<owner>[^/:\s]+)\/(?<repo>[^/\s]+?)(?:\.git)?\/?$/i);if(X?.groups?.owner&&X.groups.repo)return`${X.groups.owner}/${X.groups.repo}`.replace(/\.git$/i,"");let G=q.match(/^(?:git@|ssh:\/\/git@)(?:www\.)?github\.com[:/](?<owner>[^/:\s]+)\/(?<repo>[^/\s]+?)(?:\.git)?\/?$/i);if(G?.groups?.owner&&G.groups.repo)return`${G.groups.owner}/${G.groups.repo}`;if(/^[a-z][a-z0-9+.-]*:\/\//i.test(q))return null;try{let D=new URL(q),z=D.hostname.toLowerCase();if(z!=="github.com"&&z!=="www.github.com")return null;let W=D.pathname.replace(/^\/+|\/+$/g,"").split("/").filter(Boolean);if(W.length<2)return null;return`${W[0]}/${W[1]}`.replace(/\.git$/i,"")}catch{return null}}var Iq=()=>{};function Fq(I){let q=bq.c(21),{secretExists:f,useExistingSecret:X,secretName:G,skipWorkflow:D}=I,z=D===void 0?!1:D,W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{bold:!0,children:"Install GitHub App"}),Y(d,{dimColor:!0,children:"Success"})]}),q[0]=W;else W=q[0];let V;if(q[1]!==z)V=!z&&Y(d,{color:"success",children:"✓ GitHub Actions workflow created!"}),q[1]=z,q[2]=V;else V=q[2];let H;if(q[3]!==f||q[4]!==X)H=f&&X&&Y(Q,{marginTop:1,children:Y(d,{color:"success",children:"✓ Using existing ANTHROPIC_API_KEY secret"})}),q[3]=f,q[4]=X,q[5]=H;else H=q[5];let Z;if(q[6]!==f||q[7]!==G||q[8]!==X)Z=(!f||!X)&&Y(Q,{marginTop:1,children:M(d,{color:"success",children:["✓ API key saved as ",G," secret"]})}),q[6]=f,q[7]=G,q[8]=X,q[9]=Z;else Z=q[9];let F;if(q[10]===Symbol.for("react.memo_cache_sentinel"))F=Y(Q,{marginTop:1,children:Y(d,{children:"Next steps:"})}),q[10]=F;else F=q[10];let y;if(q[11]!==z)y=z?M(_,{children:[Y(d,{children:"1. Install the Claude GitHub App if you haven't already"}),Y(d,{children:"2. Your workflow file was kept unchanged"}),Y(d,{children:"3. API key is configured and ready to use"})]}):M(_,{children:[Y(d,{children:"1. A pre-filled PR page has been created"}),Y(d,{children:"2. Install the Claude GitHub App if you haven't already"}),Y(d,{children:"3. Merge the PR to enable Claude PR assistance"})]}),q[11]=z,q[12]=y;else y=q[12];let w;if(q[13]!==V||q[14]!==H||q[15]!==Z||q[16]!==y)w=M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[W,V,H,Z,F,y]}),q[13]=V,q[14]=H,q[15]=Z,q[16]=y,q[17]=w;else w=q[17];let b;if(q[18]===Symbol.for("react.memo_cache_sentinel"))b=Y(Q,{marginLeft:3,children:Y(d,{dimColor:!0,children:"Press any key to exit"})}),q[18]=b;else b=q[18];let P;if(q[19]!==w)P=M(_,{children:[w,b]}),q[19]=w,q[20]=P;else P=q[20];return P}var bq;var wq=h(()=>{u();E();bq=l(n(),1)});async function oq(I,q,f,X,G,D,z){let W=await j("gh",["api",`repos/${I}/contents/${f}`,"--jq",".sha"]),V=null;if(W.code===0)V=W.stdout.trim();let H=X;if(G==="CLAUDE_CODE_OAUTH_TOKEN")H=X.replace(/anthropic_api_key: \$\{\{ secrets\.ANTHROPIC_API_KEY \}\}/g,"claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}");else if(G!=="ANTHROPIC_API_KEY")H=X.replace(/anthropic_api_key: \$\{\{ secrets\.ANTHROPIC_API_KEY \}\}/g,`anthropic_api_key: \${{ secrets.${G} }}`);let Z=Buffer.from(H).toString("base64"),F=["api","--method","PUT",`repos/${I}/contents/${f}`,"-f",`message=${V?`"Update ${D}"`:`"${D}"`}`,"-f",`content=${Z}`,"-f",`branch=${q}`];if(V)F.push("-f",`sha=${V}`);let y=await j("gh",F);if(y.code!==0){if(y.stderr.includes("422")&&y.stderr.includes("sha"))throw Error(`Failed to create workflow file ${f}: A Claude workflow file already exists in this repository. Please remove it first or update it manually.`);let w=`
|
|
136
|
+
|
|
137
|
+
Need help? Common issues:
|
|
138
|
+
`+`· Permission denied → Run: gh auth refresh -h github.com -s repo,workflow
|
|
139
|
+
`+`· Not authorized → Ensure you have admin access to the repository
|
|
140
|
+
`+"· For manual setup → Visit: https://github.com/anthropics/claude-code-action";throw Error(`Failed to create workflow file ${f}: ${y.stderr}${w}`)}}async function Bq(I,q,f,X,G=!1,D,z,W){try{let V=await j("gh",["api",`repos/${I}`,"--jq",".id"]);if(V.code!==0)throw Error(`Failed to access repository ${I}: ${V.stderr}`);let H=await j("gh",["api",`repos/${I}`,"--jq",".default_branch"]);if(H.code!==0)throw Error(`Failed to get default branch: ${H.stderr}`);let Z=H.stdout.trim(),F=await j("gh",["api",`repos/${I}/git/ref/heads/${Z}`,"--jq",".object.sha"]);if(F.code!==0)throw Error(`Failed to get branch SHA: ${F.stderr}`);let y=F.stdout.trim(),w=null;if(!G){X(),w=`add-claude-github-actions-${Date.now()}`;let b=await j("gh",["api","--method","POST",`repos/${I}/git/refs`,"-f",`ref=refs/heads/${w}`,"-f",`sha=${y}`]);if(b.code!==0)throw Error(`Failed to create branch: ${b.stderr}`);X();let P=[];if(D.includes("claude"))P.push({path:".github/workflows/claude.yml",content:R0,message:"Claude PR Assistant workflow"});if(D.includes("claude-review"))P.push({path:".github/workflows/claude-code-review.yml",content:v0,message:"Claude Code Review workflow"});for(let g of P)await oq(I,w,g.path,g.content,f,g.message,W)}if(X(),q){let b=await j("gh",["secret","set",f,"--body",q,"--repo",I]);if(b.code!==0){let P=`
|
|
141
|
+
|
|
142
|
+
Need help? Common issues:
|
|
143
|
+
`+`· Permission denied → Run: gh auth refresh -h github.com -s repo
|
|
144
|
+
`+`· Not authorized → Ensure you have admin access to the repository
|
|
145
|
+
`+"· For manual setup → Visit: https://github.com/anthropics/claude-code-action";throw Error(`Failed to set API key secret: ${b.stderr||"Unknown error"}${P}`)}}if(!G&&w){X();let b=`https://github.com/${I}/compare/${Z}...${w}?quick_pull=1&title=${encodeURIComponent(E0)}&body=${encodeURIComponent(C0)}`;await H0(b)}yq((b)=>({...b,githubActionSetupCount:(b.githubActionSetupCount??0)+1}))}catch(V){if(V instanceof Error)J0(V);throw V}}var kq=h(()=>{Sq();X0();Uq();Pq();Mq()});function gq(I){let q=cq.c(8),{warnings:f,onContinue:X}=I,G;if(q[0]===Symbol.for("react.memo_cache_sentinel"))G={context:"Confirmation"},q[0]=G;else G=q[0];z0("confirm:yes",X,G);let D;if(q[1]===Symbol.for("react.memo_cache_sentinel"))D=M(Q,{flexDirection:"column",marginBottom:1,children:[M(d,{bold:!0,children:[W0.warning," Setup Warnings"]}),Y(d,{dimColor:!0,children:"We found some potential issues, but you can continue anyway"})]}),q[1]=D;else D=q[1];let z;if(q[2]!==f)z=f.map(nq),q[2]=f,q[3]=z;else z=q[3];let W;if(q[4]===Symbol.for("react.memo_cache_sentinel"))W=Y(Q,{marginTop:1,children:Y(d,{bold:!0,color:"permission",children:"Press Enter to continue anyway, or Ctrl+C to exit and fix issues"})}),q[4]=W;else W=q[4];let V;if(q[5]===Symbol.for("react.memo_cache_sentinel"))V=Y(Q,{marginTop:1,children:M(d,{dimColor:!0,children:["You can also try the manual setup steps if needed:"," ",Y(d,{color:"claude",children:x})]})}),q[5]=V;else V=q[5];let H;if(q[6]!==z)H=Y(_,{children:M(Q,{flexDirection:"column",borderStyle:"round",paddingX:1,children:[D,z,W,V]})}),q[6]=z,q[7]=H;else H=q[7];return H}function nq(I,q){return M(Q,{flexDirection:"column",marginBottom:1,children:[Y(d,{color:"warning",bold:!0,children:I.title}),Y(d,{children:I.message}),I.instructions&&I.instructions.length>0&&Y(Q,{flexDirection:"column",marginLeft:2,marginTop:1,children:I.instructions.map(aq)})]},q)}function aq(I,q){return M(d,{dimColor:!0,children:["• ",I]},q)}var cq;var mq=h(()=>{Xq();X0();u();d0();E();cq=l(n(),1)});function tq(I){let[q]=a.useState(()=>Rq()),[f,X]=a.useState({...eq,useExistingKey:!!q,selectedApiKeyOption:q?"existing":F0()?"oauth":"new"});Cq();let G=a.useCallback(async()=>{let J=[];if((await b0("gh --version",{shell:!0,reject:!1})).exitCode!==0)J.push({title:"GitHub CLI not found",message:"GitHub CLI (gh) does not appear to be installed or accessible.",instructions:["Install GitHub CLI from https://cli.github.com/","macOS: brew install gh","Windows: winget install --id GitHub.cli","Linux: See installation instructions at https://github.com/cli/cli#installation"]});let U=await b0("gh auth status -a",{shell:!0,reject:!1});if(U.exitCode!==0)J.push({title:"GitHub CLI not authenticated",message:"GitHub CLI does not appear to be authenticated.",instructions:["Run: gh auth login","Follow the prompts to authenticate with GitHub","Or set up authentication using environment variables or other methods"]});else{let c=U.stdout.match(/Token scopes:.*$/m);if(c){let R=c[0],K=[];if(!R.includes("repo"))K.push("repo");if(!R.includes("workflow"))K.push("workflow");if(K.length>0){X((O)=>({...O,step:"error",error:`GitHub CLI is missing required permissions: ${K.join(", ")}.`,errorReason:"Missing required scopes",errorInstructions:[`Your GitHub CLI authentication is missing the "${K.join('" and "')}" ${Eq(K.length,"scope")} needed to manage GitHub Actions and secrets.`,"","To fix this, run:"," gh auth refresh -h github.com -s repo,workflow","","This will add the necessary permissions to manage workflows and secrets."]}));return}}}let k=await Kq()??"";X((c)=>({...c,warnings:J,currentRepo:k,selectedRepoName:k,useCurrentRepo:!!k,step:J.length>0?"warnings":"choose-repo"}))},[]);a.default.useEffect(()=>{if(f.step==="check-gh")G()},[f.step,G]);let D=a.useCallback(async(J,L)=>{X((U)=>({...U,step:"creating",currentWorkflowInstallStep:0}));try{await Bq(f.selectedRepoName,J,L,()=>{X((U)=>({...U,currentWorkflowInstallStep:U.currentWorkflowInstallStep+1}))},f.workflowAction==="skip",f.selectedWorkflows,f.authType,{useCurrentRepo:f.useCurrentRepo,workflowExists:f.workflowExists,secretExists:f.secretExists}),X((U)=>({...U,step:"success"}))}catch(U){let k=U instanceof Error?U.message:"Failed to set up GitHub Actions";if(k.includes("workflow file already exists"))X((c)=>({...c,step:"error",error:"A Claude workflow file already exists in this repository.",errorReason:"Workflow file conflict",errorInstructions:["The file .github/workflows/claude.yml already exists","You can either:"," 1. Delete the existing file and run this command again"," 2. Update the existing file manually using the template from:",` ${x}`]}));else X((c)=>({...c,step:"error",error:k,errorReason:"GitHub Actions setup failed",errorInstructions:[]}))}},[f.selectedRepoName,f.workflowAction,f.selectedWorkflows,f.useCurrentRepo,f.workflowExists,f.secretExists,f.authType]);async function z(){await H0("https://github.com/apps/claude")}async function W(J){try{let L=await j("gh",["api",`repos/${J}`,"--jq",".permissions.admin"]);if(L.code===0)return{hasAccess:L.stdout.trim()==="true"};if(L.stderr.includes("404")||L.stderr.includes("Not Found"))return{hasAccess:!1,error:"repository_not_found"};return{hasAccess:!1}}catch{return{hasAccess:!1}}}async function V(J){return(await j("gh",["api",`repos/${J}/contents/.github/workflows/claude.yml`,"--jq",".sha"])).code===0}async function H(){let J=await j("gh",["secret","list","--app","actions","--repo",f.selectedRepoName]);if(J.code===0)if(J.stdout.split(`
|
|
146
|
+
`).some((k)=>{return/^ANTHROPIC_API_KEY\s+/.test(k)}))X((k)=>({...k,secretExists:!0,step:"check-existing-secret"}));else if(q)X((k)=>({...k,apiKeyOrOAuthToken:q,useExistingKey:!0})),await D(q,f.secretName);else X((k)=>({...k,step:"api-key"}));else if(q)X((L)=>({...L,apiKeyOrOAuthToken:q,useExistingKey:!0})),await D(q,f.secretName);else X((L)=>({...L,step:"api-key"}))}let Z=async()=>{if(f.step==="warnings")X((J)=>({...J,step:"install-app"})),setTimeout(z,0);else if(f.step==="choose-repo"){let J=f.useCurrentRepo?f.currentRepo:f.selectedRepoName;if(!J.trim())return;let L=[],U=Vq(J),k=/^[a-z][a-z0-9+.-]*:\/\//i.test(J)||J.startsWith("www.");if(U)J=U;else if(k)L.push({title:"Invalid GitHub URL format",message:"The repository URL format appears to be invalid.",instructions:["Use format: owner/repo or https://github.com/owner/repo","Example: anthropics/claude-cli"]});if(!J.includes("/"))L.push({title:"Repository format warning",message:'Repository should be in format "owner/repo"',instructions:["Use format: owner/repo","Example: anthropics/claude-cli"]});let c=await W(J);if(c.error==="repository_not_found")L.push({title:"Repository not found",message:`Repository ${J} was not found or you don't have access.`,instructions:[`Check that the repository name is correct: ${J}`,"Ensure you have access to this repository",'For private repositories, make sure your GitHub token has the "repo" scope',"You can add the repo scope with: gh auth refresh -h github.com -s repo,workflow"]});else if(!c.hasAccess)L.push({title:"Admin permissions required",message:`You might need admin permissions on ${J} to set up GitHub Actions.`,instructions:["Repository admins can install GitHub Apps and set secrets","Ask a repository admin to run this command if setup fails","Alternatively, you can use the manual setup instructions"]});let R=await V(J);if(L.length>0){let K=[...f.warnings,...L];X((O)=>({...O,selectedRepoName:J,workflowExists:R,warnings:K,step:"warnings"}))}else X((K)=>({...K,selectedRepoName:J,workflowExists:R,step:"install-app"})),setTimeout(z,0)}else if(f.step==="install-app")if(f.workflowExists)X((J)=>({...J,step:"check-existing-workflow"}));else X((J)=>({...J,step:"select-workflows"}));else if(f.step==="check-existing-workflow")return;else if(f.step==="select-workflows")return;else if(f.step==="check-existing-secret")if(f.useExistingSecret)await D(null,f.secretName);else await D(f.apiKeyOrOAuthToken,f.secretName);else if(f.step==="api-key"){if(f.selectedApiKeyOption==="oauth")return;let J=f.selectedApiKeyOption==="existing"?q:f.apiKeyOrOAuthToken;if(!J){X((U)=>({...U,step:"error",error:"API key is required"}));return}X((U)=>({...U,apiKeyOrOAuthToken:J,useExistingKey:f.selectedApiKeyOption==="existing"}));let L=await j("gh",["secret","list","--app","actions","--repo",f.selectedRepoName]);if(L.code===0)if(L.stdout.split(`
|
|
147
|
+
`).some((c)=>{return/^ANTHROPIC_API_KEY\s+/.test(c)}))X((c)=>({...c,secretExists:!0,step:"check-existing-secret"}));else await D(J,f.secretName);else await D(J,f.secretName)}},F=(J)=>{X((L)=>({...L,selectedRepoName:J}))},y=(J)=>{X((L)=>({...L,apiKeyOrOAuthToken:J}))},w=(J)=>{X((L)=>({...L,selectedApiKeyOption:J}))},b=a.useCallback(()=>{X((J)=>({...J,step:"oauth-flow"}))},[]),P=a.useCallback((J)=>{X((L)=>({...L,apiKeyOrOAuthToken:J,useExistingKey:!1,secretName:"CLAUDE_CODE_OAUTH_TOKEN",authType:"oauth_token"})),D(J,"CLAUDE_CODE_OAUTH_TOKEN")},[D]),g=a.useCallback(()=>{X((J)=>({...J,step:"api-key"}))},[]),C=(J)=>{if(J&&!/^[a-zA-Z0-9_]+$/.test(J))return;X((L)=>({...L,secretName:J}))},v=(J)=>{X((L)=>({...L,useCurrentRepo:J,selectedRepoName:J?L.currentRepo:""}))},A=(J)=>{X((L)=>({...L,useExistingKey:J}))},N=(J)=>{X((L)=>({...L,useExistingSecret:J,secretName:J?"ANTHROPIC_API_KEY":""}))},B=async(J)=>{if(J==="exit"){I.onDone("Installation cancelled by user");return}if(X((L)=>({...L,workflowAction:J})),J==="skip"||J==="update")if(q)await H();else X((L)=>({...L,step:"api-key"}))};function m(J){J.preventDefault(),I.onDone(f.step==="success"?"GitHub Actions setup complete!":f.error?`Couldn't install GitHub App: ${f.error}
|
|
148
|
+
For manual setup instructions, see: ${x}`:`GitHub App installation failed
|
|
149
|
+
For manual setup instructions, see: ${x}`)}switch(f.step){case"check-gh":return Y(u0,{});case"warnings":return Y(gq,{warnings:f.warnings,onContinue:Z});case"choose-repo":return Y(o0,{currentRepo:f.currentRepo,useCurrentRepo:f.useCurrentRepo,repoUrl:f.selectedRepoName,onRepoUrlChange:F,onToggleUseCurrentRepo:v,onSubmit:Z});case"install-app":return Y(Jq,{repoUrl:f.selectedRepoName,onSubmit:Z});case"check-existing-workflow":return Y(fq,{repoName:f.selectedRepoName,onSelectAction:B});case"check-existing-secret":return Y(h0,{useExistingSecret:f.useExistingSecret,secretName:f.secretName,onToggleUseExistingSecret:N,onSecretNameChange:C,onSubmit:Z});case"api-key":return Y(O0,{existingApiKey:q,useExistingKey:f.useExistingKey,apiKeyOrOAuthToken:f.apiKeyOrOAuthToken,onApiKeyChange:y,onToggleUseExistingKey:A,onSubmit:Z,onCreateOAuthToken:F0()?b:void 0,selectedOption:f.selectedApiKeyOption,onSelectOption:w});case"creating":return Y(r0,{currentWorkflowInstallStep:f.currentWorkflowInstallStep,secretExists:f.secretExists,useExistingSecret:f.useExistingSecret,secretName:f.secretName,skipWorkflow:f.workflowAction==="skip",selectedWorkflows:f.selectedWorkflows});case"success":return Y(Q,{tabIndex:0,autoFocus:!0,onKeyDown:m,children:Y(Fq,{secretExists:f.secretExists,useExistingSecret:f.useExistingSecret,secretName:f.secretName,skipWorkflow:f.workflowAction==="skip"})});case"error":return Y(Q,{tabIndex:0,autoFocus:!0,onKeyDown:m,children:Y(s0,{error:f.error,errorReason:f.errorReason,errorInstructions:f.errorInstructions})});case"select-workflows":return Y(m0,{defaultSelections:f.selectedWorkflows,onSubmit:(J)=>{if(X((L)=>({...L,selectedWorkflows:J})),q)H();else X((L)=>({...L,step:"api-key"}))}});case"oauth-flow":return Y(Dq,{onSuccess:P,onCancel:g})}}async function qX(I){return Y(tq,{onDone:I})}var a,eq;var qf=h(()=>{rq();K0();X0();sq();u();Gq();Uq();Pq();xq();$q();l0();i0();j0();n0();x0();e0();Yq();Qq();Hq();Iq();wq();kq();mq();E();a=l(Y0(),1),eq={step:"check-gh",selectedRepoName:"",currentRepo:"",useCurrentRepo:!1,apiKeyOrOAuthToken:"",useExistingKey:!0,currentWorkflowInstallStep:0,warnings:[],secretExists:!1,secretName:"ANTHROPIC_API_KEY",useExistingSecret:!0,workflowExists:!1,selectedWorkflows:["claude","claude-review"],selectedApiKeyOption:"new",authType:"api_key"}});qf();export{qX as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{oZ as z,pZ as F}from"./cli-1.1.38-q3yhkwkh.mjs";import{h_ as y,xea as E}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Pqa as D}from"./cli-1.1.38-y66mw08s.mjs";async function N(){if(y((q)=>({...q,slackAppInstallCount:(q.slackAppInstallCount??0)+1})),await z(x))return{type:"text",value:"Opening Slack app installation page in browser…"};else return{type:"text",value:`Couldn't open browser. Visit: ${x}`}}var x="https://slack.com/marketplace/A08SF47R6P4-claude";var H=D(()=>{F();E()});H();export{N as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,q as b,r as c,s as d,t as e,u as f,v as g,w as h}from"./cli-1.1.38-21x08w6j.mjs";import"./cli-1.1.38-ygyme6j6.mjs";import"./cli-1.1.38-tvh77h3r.mjs";import"./cli-1.1.38-cmnad0aj.mjs";import"./cli-1.1.38-nmmd7xh9.mjs";import"./cli-1.1.38-qw1jxc9j.mjs";import"./cli-1.1.38-48ykmxgd.mjs";import"./cli-1.1.38-sjrfgskz.mjs";import"./cli-1.1.38-md7mbf9q.mjs";import"./cli-1.1.38-y57qzkxr.mjs";import"./cli-1.1.38-pab9ct4p.mjs";import"./cli-1.1.38-sywjrgh0.mjs";import"./cli-1.1.38-7vygkwbt.mjs";import"./cli-1.1.38-91q945ws.mjs";import"./cli-1.1.38-m66mmsr6.mjs";import"./cli-1.1.38-pe2vd8sk.mjs";import"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import"./cli-1.1.38-h1fqbjjb.mjs";import"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";export{g as showSetupScreens,e as showSetupDialog,b as showDialog,f as renderAndRun,h as getRenderContext,d as exitWithMessage,c as exitWithError,a as completeOnboarding};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as a,T as b,U as c}from"./cli-1.1.38-a2j7607w.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";export{c as writeLatestVersion,b as subscribeLatestVersion,a as readLatestVersion};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$s as k,Os as a,Ss as b,Ts as c,Us as d,Vs as e,Ws as f,Xs as g,Ys as h,Zs as i,_s as j,at as l,ct as m}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import"./cli-1.1.38-h1fqbjjb.mjs";import"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";m();export{k as parseAgentsFromJson,l as parseAgentFromMarkdown,j as parseAgentFromJson,d as isPluginAgent,c as isCustomAgent,b as isBuiltInAgent,f as hasRequiredMcpServers,h as getAgentDefinitionsWithOverrides,e as getActiveAgentsFromList,g as filterAgentsByMcpRequirements,i as clearAgentDefinitionsCache,a as applyBuiltInModelOverrides};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Iu as a,Ju as b,Ku as c,Lu as d,Mu as e,Nu as f,Ou as g}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import"./cli-1.1.38-h1fqbjjb.mjs";import"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";g();export{f as setupPluginHookHotReload,d as resetHotReloadState,c as pruneRemovedPluginHooks,a as loadPluginHooks,e as getPluginAffectingSettingsSnapshot,b as clearPluginHookCache};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Qfa as a,Rfa as b,Sfa as c,Tfa as d,Ufa as e,Vfa as f,Wfa as g,Xfa as h,Yfa as i}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";i();export{f as logMCPError,g as logMCPDebug,d as logError,a as getLogDisplayTitle,e as getInMemoryErrors,b as dateToFilename,h as captureAPIRequest,c as attachErrorLogSink};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{x as b0}from"./cli-1.1.38-ygyme6j6.mjs";import{E as Cq,F as Wq,H as hq,K as cq,L as lq}from"./cli-1.1.38-cmnad0aj.mjs";import{M as Pq,N as Y,O as kq}from"./cli-1.1.38-g4av033p.mjs";import"./cli-1.1.38-nmmd7xh9.mjs";import"./cli-1.1.38-qw1jxc9j.mjs";import"./cli-1.1.38-48ykmxgd.mjs";import{Cd as vq,Dd as Q0}from"./cli-1.1.38-7vygkwbt.mjs";import"./cli-1.1.38-91q945ws.mjs";import{Et as U0,Ft as V0,Jl as J0,Jr as _0,Kl as z0,Kr as G0,Lj as X0,Mj as Y0,NH as O0,OH as D0,Su as gq,Tu as mq,YA as j0,ZA as E0,gS as x0,hS as R0,hl as uq,il as dq,pu as W0,qu as K0}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import{xU as B0,yU as L0}from"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import"./cli-1.1.38-y79rqp8p.mjs";import{_X as fq,bY as q0}from"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import"./cli-1.1.38-h1fqbjjb.mjs";import"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import{F1 as yq,H1 as eZ}from"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import{D6 as H0,E6 as N0}from"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{A_ as Uq,B_ as dZ,Iba as Z0,Jba as $0,g9 as Sq,h9 as oZ}from"./cli-1.1.38-a678cgp1.mjs";import{Cga as tZ,yga as Q,zga as wq}from"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import{Aja as uZ,eja as nZ,fja as iZ,xja as Gq}from"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import{ika as j,kka as Tq,qka as m}from"./cli-1.1.38-nzbcas3j.mjs";import{Bpa as aZ,Yna as Nq,_na as Oq,ioa as Dq,koa as xq}from"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Mqa as J,Qqa as L}from"./cli-1.1.38-y66mw08s.mjs";tZ();oZ();eZ();q0();Q0();uZ();m();dZ();import{posix as Lq,win32 as _q}from"path";var gZ=1000,A=new Map;function mZ(){let Z=process.argv[1]||"",X=process.execPath||process.argv[0]||"";if(Uq()==="windows")Z=Z.split(_q.sep).join(Lq.sep),X=X.split(_q.sep).join(Lq.sep);let z=[Z,X],_=["/build-ant/","/build-external/","/build-external-native/","/build-ant-native/"];return z.some(($)=>_.some((q)=>$.includes(q)))}var cZ=[/MaxListenersExceededWarning.*AbortSignal/,/MaxListenersExceededWarning.*EventTarget/];function lZ(Z){let X=`${Z.name}: ${Z.message}`;return cZ.some((z)=>z.test(X))}var M=null;function Vq(){let Z=process.listeners("warning");if(M&&Z.includes(M))return;if(!mZ())process.removeAllListeners("warning");M=(z)=>{try{let _=`${z.name}: ${z.message.slice(0,50)}`,$=A.get(_)||0;if(A.has(_)||A.size<gZ)A.set(_,$+1);let q=lZ(z);if(j(process.env.CLAUDIN_DEBUG))Gq(`${q?"[Internal Warning]":"[Warning]"} ${z.toString()}`,{level:"warn"})}catch{}},process.on("warning",M)}function Kq(){Vq(),process.on("exit",()=>{Wq()}),process.on("SIGINT",()=>{if(process.argv.includes("-p")||process.argv.includes("--print"))return;process.exit(0)})}m();function jq(Z){return{prompt:Z.prompt,pending:{connect:Z.pendingConnect,ssh:Z.pendingSSH},disableSlashCommands:!1,taskListId:void 0,worktreeOption:void 0,worktreeName:void 0,worktreeEnabled:!1,worktreePRNumber:void 0,tmuxEnabled:!1,kairosEnabled:!1,storedTeammateOpts:void 0,sdkUrl:void 0,effectiveIncludePartialMessages:!1,fileSpecs:void 0,fileDownloadPromise:void 0}}var Eq=void 0,Hq=void 0;m();aZ();function pZ(){if(j(process.env.GITHUB_ACTIONS))return"github-action";if(process.env.CLAUDE_CODE_ENTRYPOINT==="sdk-ts")return"sdk-typescript";if(process.env.CLAUDE_CODE_ENTRYPOINT==="sdk-py")return"sdk-python";if(process.env.CLAUDE_CODE_ENTRYPOINT==="sdk-cli")return"sdk-cli";if(process.env.CLAUDE_CODE_ENTRYPOINT==="claude-vscode")return"claude-vscode";if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return"local-agent";if(process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop")return"claude-desktop";let Z=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN||process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(process.env.CLAUDE_CODE_ENTRYPOINT==="remote"||Z)return"remote";return"cli"}function rZ(Z){let X=process.env.CLAUDIN_QUESTION_PREVIEW_FORMAT;if(X==="markdown"||X==="html")return X;if(!Z.startsWith("sdk-")&&Z!=="claude-desktop"&&Z!=="local-agent"&&Z!=="remote")return"markdown";return}function sZ(){let Z=process.argv.slice(2),X=Z.includes("-p")||Z.includes("--print"),z=Z.includes("--init-only"),_=Z.some((q)=>q.startsWith("--sdk-url"));return!(X||z||_||!process.stdout.isTTY)}function Rq(){let Z=pZ(),X=rZ(Z),z=process.env.CLAUDE_CODE_ENVIRONMENT_KIND==="bridge"?"remote-control":void 0,_=sZ();return{clientType:Z,previewFormat:X,sessionSource:z,isInteractive:_}}function bq(Z){if(Oq(Z.clientType),Z.previewFormat!==void 0)xq(Z.previewFormat);if(Z.sessionSource!==void 0)Dq(Z.sessionSource);Nq(Z.isInteractive)}Q("main_tsx_entry");Sq();yq();var F0=async()=>(await import("./replLauncher-1.1.38-d6n16rnp.mjs")).launchRepl,I0=async()=>(await import("./replLauncher-1.1.38-d6n16rnp.mjs")).setPreloadedChunks,A0=async()=>(await import("./tools-1.1.38-hphgtq98.mjs")).getTools,M0=async()=>(await import("./init-1.1.38-kt9fktc1.mjs")).init,Fq=()=>(L0(),J(B0)),T0=()=>(D0(),J(O0)),w0=()=>(N0(),J(H0)),T=(z0(),J(J0)),S0=async()=>(await import("./interactiveHelpers-1.1.38-m06ry3jx.mjs")).renderAndRun,y0=()=>(dq(),J(uq)).createSyntheticOutputTool,P0=()=>(dq(),J(uq)).isSyntheticOutputToolEnabled,k0=()=>(iZ(),J(nZ)).jsonParse,f0=()=>($0(),J(Z0)).PERMISSION_MODES,Iq=()=>(K0(),J(W0)).initializeVersionedPlugins,Aq=()=>(V0(),J(U0)).cleanupOrphanedPluginVersionsInBackground,Mq=()=>(E0(),J(j0)).getGlobExclusionsForPluginCache,v0=()=>(mq(),J(gq)).processSessionStartHooks,C0=()=>(mq(),J(gq)).processSetupHooks,h0=()=>(R0(),J(x0)).saveMode,u0=()=>(Y0(),J(X0)).gracefulShutdownSync,d0=(G0(),J(_0));Q("main_tsx_imports_loaded");if(Cq())process.exit(1);var g0=async()=>(await import("./preActionHook-1.1.38-s4pt4ahn.mjs")).registerPreActionHook,m0=async()=>(await import("./rootOptions-1.1.38-d7ta609y.mjs")).registerRootOptions,c0=async()=>(await import("./registerSubcommands-1.1.38-kn98yfrh.mjs")).registerSubcommands;async function x1(){Q("main_function_start"),process.env.NoDefaultCurrentDirectoryInExePath="1",Kq(),Q("main_warning_handler_initialized");let Z=Rq();if(!Z.isInteractive)fq();bq(Z),lq(!Z.isInteractive),Q("main_client_type_determined"),cq();let X=M0().then(($)=>$());if(!process.argv.some(($)=>$==="--help"||$==="-h"||$==="--version"||$==="-V")){let $=import("./REPL-1.1.38-24nb99vc.mjs"),q=import("./App-1.1.38-ywjx5zwg.mjs");I0().then((U)=>U(q,$))}Q("main_before_run"),await l0(),await X,Q("main_after_run")}async function l0(){Q("run_function_start");function Z(){let $=(q)=>q.long?.replace(/^--/,"")??q.short?.replace(/^-/,"")??"";return Object.assign({sortSubcommands:!0,sortOptions:!0},{compareOptions:(q,U)=>$(q).localeCompare($(U))})}let X=new kq().configureHelp(Z()).enablePositionalOptions();Q("run_commander_initialized"),(await g0())(X),X.name("claudin").description("Claudin - starts an interactive session by default, use -p/--print for non-interactive output").allowExcessArguments().argument("[prompt]","Your prompt",String).helpOption("-h, --help","Display help for command").option("-d, --debug [filter]",'Enable debug mode with optional category filtering (e.g., "api,hooks" or "!1p,!file")',($)=>{return!0}).addOption(new Y("-D, --debug-to-stderr","Enable debug mode (to stderr)").argParser(Boolean).hideHelp()).option("--debug-file <path>","Write debug logs to a specific file path (implicitly enables debug mode)",()=>!0).option("--verbose","Override verbose mode setting from config",()=>!0).option("-p, --print","Print response and exit (useful for pipes). Note: The workspace trust dialog is skipped when Claude is run with the -p mode. Only use this flag in directories you trust.",()=>!0).option("--bare","Minimal mode: skip hooks, LSP, plugin sync, attribution, auto-memory, background prefetches, keychain reads, and CLAUDE.md auto-discovery. Sets CLAUDIN_SIMPLE=1. Anthropic auth is strictly ANTHROPIC_API_KEY or apiKeyHelper via --settings (OAuth and keychain are never read). 3P providers (Bedrock/Vertex/Foundry) use their own credentials. Skills still resolve via /skill-name. Explicitly provide context via: --system-prompt[-file], --append-system-prompt[-file], --add-dir (CLAUDE.md dirs), --mcp-config, --settings, --agents, --plugin-dir.",()=>!0).addOption(new Y("--init","Run Setup hooks with init trigger, then continue").hideHelp()).addOption(new Y("--init-only","Run Setup and SessionStart:startup hooks, then exit").hideHelp()).addOption(new Y("--maintenance","Run Setup hooks with maintenance trigger, then continue").hideHelp()).addOption(new Y("--output-format <format>",'Output format (only works with --print): "text" (default), "json" (single result), or "stream-json" (realtime streaming)').choices(["text","json","stream-json"])).addOption(new Y("--json-schema <schema>",'JSON Schema for structured output validation. Example: {"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}').argParser(String)).option("--include-hook-events","Include all hook lifecycle events in the output stream (only works with --output-format=stream-json)",()=>!0).option("--include-partial-messages","Include partial message chunks as they arrive (only works with --print and --output-format=stream-json)",()=>!0).addOption(new Y("--input-format <format>",'Input format (only works with --print): "text" (default), or "stream-json" (realtime streaming input)').choices(["text","stream-json"])).option("--mcp-debug","[DEPRECATED. Use --debug instead] Enable MCP debug mode (shows MCP server errors)",()=>!0).option("--dangerously-skip-permissions","Bypass all permission checks. Recommended only for sandboxes with no internet access.",()=>!0).option("--allow-dangerously-skip-permissions","Enable bypassing all permission checks as an option, without it being enabled by default. Recommended only for sandboxes with no internet access.",()=>!0).addOption(new Y("--thinking <mode>","Thinking mode: enabled, disabled").choices(["enabled","disabled"]).hideHelp()).addOption(new Y("--max-thinking-tokens <tokens>","[DEPRECATED. Use --thinking instead for newer models] Maximum number of thinking tokens (only works with --print)").argParser(Number).hideHelp()).addOption(new Y("--max-turns <turns>","Maximum number of agentic turns in non-interactive mode. This will early exit the conversation after the specified number of turns. (only works with --print)").argParser(Number).hideHelp()).addOption(new Y("--max-budget-usd <amount>","Maximum dollar amount to spend on API calls (only works with --print)").argParser(($)=>{let q=Number($);if(isNaN(q)||q<=0)throw Error("--max-budget-usd must be a positive number greater than 0");return q})).addOption(new Y("--task-budget <tokens>","API-side task budget in tokens (output_config.task_budget)").argParser(($)=>{let q=Number($);if(isNaN(q)||q<=0||!Number.isInteger(q))throw Error("--task-budget must be a positive integer");return q}).hideHelp()).option("--replay-user-messages","Re-emit user messages from stdin back on stdout for acknowledgment (only works with --input-format=stream-json and --output-format=stream-json)",()=>!0).addOption(new Y("--enable-auth-status","Enable auth status messages in SDK mode").default(!1).hideHelp()).option("--allowedTools, --allowed-tools <tools...>",'Comma or space-separated list of tool names to allow (e.g. "Bash(git:*) Edit")').option("--tools <tools...>",'Specify the list of available tools from the built-in set. Use "" to disable all tools, "default" to use all tools, or specify tool names (e.g. "Bash,Edit,Read").').option("--disallowedTools, --disallowed-tools <tools...>",'Comma or space-separated list of tool names to deny (e.g. "Bash(git:*) Edit")').option("--mcp-config <configs...>","Load MCP servers from JSON files or strings (space-separated)").addOption(new Y("--permission-prompt-tool <tool>","MCP tool to use for permission prompts (only works with --print)").argParser(String).hideHelp()).addOption(new Y("--system-prompt <prompt>","System prompt to use for the session").argParser(String)).addOption(new Y("--system-prompt-file <file>","Read system prompt from a file").argParser(String).hideHelp()).addOption(new Y("--append-system-prompt <prompt>","Append a system prompt to the default system prompt").argParser(String)).addOption(new Y("--append-system-prompt-file <file>","Read system prompt from a file and append to the default system prompt").argParser(String).hideHelp()).addOption(new Y("--permission-mode <mode>","Permission mode to use for the session").argParser(String).choices(f0())).option("-c, --continue","Continue the most recent conversation in the current directory",()=>!0).option("-r, --resume [value]","Resume a conversation by session ID, or open interactive picker with optional search term",($)=>$||!0).option("--fork-session","When resuming, create a new session ID instead of reusing the original (use with --resume or --continue)",()=>!0).addOption(new Y("--prefill <text>","Pre-fill the prompt input with text without submitting it").hideHelp()).option("--from-pr [value]","Resume a session linked to a PR by PR number/URL, or open interactive picker with optional search term",($)=>$||!0).option("--no-session-persistence","Disable session persistence - sessions will not be saved to disk and cannot be resumed (only works with --print)").addOption(new Y("--resume-session-at <message id>","When resuming, only messages up to and including the assistant message with <message.id> (use with --resume in print mode)").argParser(String).hideHelp()).addOption(new Y("--rewind-files <user-message-id>","Restore files to state at the specified user message and exit (requires --resume)").hideHelp()).option("--model <model>","Model for the current session. Provide an alias for the latest model (e.g. 'sonnet' or 'opus') or a model's full name (e.g. 'claude-sonnet-5').").addOption(new Y("--effort <level>","Effort level for the current session (low, medium, high, xhigh, max)").argParser(($)=>{let q=$.toLowerCase(),U=["low","medium","high","xhigh","max"];if(!U.includes(q))throw new Pq(`It must be one of: ${U.join(", ")}`);return q})).option("--agent <agent>","Agent for the current session. Overrides the 'agent' setting.").option("--betas <betas...>","Beta headers to include in API requests (API key users only)").option("--fallback-model <model>","Enable automatic fallback to specified model when default model is overloaded (only works with --print)").option("--settings <file-or-json>","Path to a settings JSON file or a JSON string to load additional settings from").option("--add-dir <directories...>","Additional directories to allow tool access to").option("--ide","Automatically connect to IDE on startup if exactly one valid IDE is available",()=>!0).option("--strict-mcp-config","Only use MCP servers from --mcp-config, ignoring all other MCP configurations",()=>!0).option("--session-id <uuid>","Use a specific session ID for the conversation (must be a valid UUID)").option("-n, --name <name>","Set a display name for this session (shown in /resume and terminal title)").option("--agents <json>",`JSON object defining custom agents (e.g. '{"reviewer": {"description": "Reviews code", "prompt": "You are a code reviewer"}}')`).option("--setting-sources <sources>","Comma-separated list of setting sources to load (user, project, local).").option("--plugin-dir <path>","Load plugins from a directory for this session only (repeatable: --plugin-dir A --plugin-dir B)",($,q)=>[...q,$],[]).option("--disable-slash-commands","Disable all skills",()=>!0).option("--file <specs...>","File resources to download at startup. Format: file_id:relative_path (e.g., --file file_abc:doc.txt file_def:img.png)").action(async($,q)=>{Q("action_handler_start");let{parseActionOptions:U,runMcpAndPerms:aq,runActionAgentSetup:pq,runActionPostSetup:rq,runActionSetup:sq,runTrustAndOnboarding:nq,runInteractiveStartupBlock:iq,runMcpHooksAndTelemetry:tq,runPostHeadlessGuards:oq,runDefaultActionDispatch:eq}=await import("./defaultActionDeps-1.1.38-t4spryyh.mjs"),G=jq({prompt:$,pendingConnect:Eq,pendingSSH:Hq}),V=await U($,q,G,{teammate:{getTeammateUtils:Fq,getTeammatePromptAddendum:T0,getTeammateModeSnapshot:w0}});$=V.prompt;let{debug:c,debugToStderr:l,dangerouslySkipPermissions:a,allowDangerouslySkipPermissions:x,baseTools:qZ,allowedTools:w,disallowedTools:p,mcpConfig:ZZ,permissionModeCli:$Z,addDir:QZ,fallbackModel:XZ,betas:YZ,ide:JZ,sessionId:zZ,includeHookEvents:a0,init:r,initOnly:S,maintenance:s,agentsJson:BZ,agentCli:n,teleport:i,remote:LZ,remoteControlOption:_Z,remoteControlName:GZ,isNonInteractiveSession:W}=V,R=V.outputFormat,y=V.inputFormat,P=V.verbose,UZ=V.print,E=V.systemPrompt,H=V.appendSystemPrompt,t=!1,k=await aq({options:q,ctx:G,permissionModeCli:$Z,dangerouslySkipPermissions:a,allowDangerouslySkipPermissions:x,baseTools:qZ,allowedTools:w,disallowedTools:p,mcpConfig:ZZ,addDir:QZ,isNonInteractiveSession:W,inputFormat:y,outputFormat:R},{autoModeStateModule:d0}),{permissionMode:f,permissionModeNotification:VZ,strictMcpConfig:WZ,devChannels:KZ,claudeaiConfigPromise:o,mcpConfigPromise:jZ,mcpConfigResolvedRef:p0}=k,e=k.dynamicMcpConfig,b=k.toolPermissionContext,K=await hq($||"",y??"text");Q("action_after_input_prompt");let N=(await A0())(b);if(j(process.env.CLAUDIN_COORDINATOR_MODE)){let{applyCoordinatorToolFilter:B}=await import("./toolPool-1.1.38-rjxnejc9.mjs");N=B(N)}Q("action_tools_loaded");let F;if(P0()({isNonInteractiveSession:W})&&q.jsonSchema)F=k0()(q.jsonSchema);if(F){let B=y0()(F);if("tool"in B)N=[...N,B.tool]}Q("action_before_setup");let{preSetupCwd:EZ,commandsPromise:HZ,agentDefsPromise:NZ}=await sq({options:q,ctx:G,permissionMode:f,allowDangerouslySkipPermissions:x,sessionId:zZ});Q("action_after_setup");let{effectiveReplayUserMessages:OZ,sessionNameArg:DZ,userSpecifiedModel:xZ,userSpecifiedFallbackModel:RZ,currentCwd:bZ,commands:v,agentDefinitionsResult:FZ}=await rq({options:q,ctx:G,outputFormat:R,fallbackModel:XZ,preSetupCwd:EZ,commandsPromise:HZ,agentDefsPromise:NZ});Q("action_commands_loaded");let O=await pq({ctx:G,isNonInteractiveSession:W,agentCli:n,agentsJson:BZ,userSpecifiedModel:xZ,agentDefinitionsResult:FZ,systemPrompt:E,appendSystemPrompt:H,inputPrompt:K},{coordinatorModeModule:T}),{agentDefinitions:C,cliAgents:IZ,agentSetting:AZ,effectiveModel:MZ,initialMainLoopModel:TZ,resolvedInitialModel:qq}=O,D=O.mainThreadAgentDefinition;E=O.systemPrompt,H=O.appendSystemPrompt,K=O.inputPrompt,Q("action_after_agent_setup");let I,h,u;if(!W){let B=await nq({permissionMode:f,allowDangerouslySkipPermissions:x,commands:v,devChannels:KZ,remoteControlOption:_Z,mainThreadAgentDefinition:D,prompt:$,inputPrompt:K});I=B.root,h=B.getFpsMetrics,u=B.stats,t=B.remoteControl,$=B.prompt,K=B.inputPrompt}Q("action_after_trust_onboarding");let Zq=await oq({options:q,ctx:G,root:I,isNonInteractiveSession:W,dynamicMcpConfig:e,mcpConfigPromise:jZ});if(Zq.exited)return;let{allMcpConfigs:wZ,sdkMcpConfigs:SZ,regularMcpConfigs:$q}=Zq;Q("action_mcp_configs_loaded");let yZ=tq({options:q,ctx:G,isNonInteractiveSession:W,regularMcpConfigs:$q,claudeaiConfigPromise:o,mainThreadAgentDefinition:D,resolvedInitialModel:qq,initOnly:S,init:r,maintenance:s,prompt:$,inputPrompt:K,verbose:P,debug:c,debugToStderr:l,print:UZ,outputFormat:R,inputFormat:y,allowedTools:w,disallowedTools:p,allMcpConfigs:wZ,dangerouslySkipPermissions:a,permissionMode:f,allowDangerouslySkipPermissions:x,systemPrompt:E,appendSystemPrompt:H,toolPermissionContext:b,sessionNameArg:DZ},{coordinatorModeModule:T}),{hooksPromise:Qq,hookMessages:d,mcpClients:Xq,mcpTools:Yq,mcpCommands:Jq,thinkingConfig:zq,thinkingEnabled:PZ}=yZ;if(Tq());else if(W)await Iq()(),Q("action_after_plugins_init"),Aq()().then(()=>Mq()());else Iq()().then(async()=>{Q("action_after_plugins_init"),await Aq()(),Mq()()});let kZ=S||r?"init":s?"maintenance":null;if(S){vq(),await C0()("init",{forceSyncExecution:!0}),await v0()("startup",{forceSyncExecution:!0}),u0()(0);return}if(W){let{runHeadlessBranch:B}=await import("./headless-1.1.38-xa7n2h6a.mjs");await B({ctx:G,options:{continue:q.continue,resume:q.resume,sessionPersistence:q.sessionPersistence,permissionPromptTool:q.permissionPromptTool,maxTurns:q.maxTurns,maxBudgetUsd:q.maxBudgetUsd,taskBudget:q.taskBudget,forkSession:q.forkSession,resumeSessionAt:q.resumeSessionAt,rewindFiles:q.rewindFiles,enableAuthStatus:q.enableAuthStatus,effort:q.effort},teleport:i??void 0,setupTrigger:kZ,outputFormat:R,inputPrompt:K,commands:v,tools:N,mcpClients:Xq,mcpCommands:Jq,mcpTools:Yq,sdkMcpConfigs:SZ,agentDefinitions:C,regularMcpConfigs:$q,claudeaiConfigPromise:o,toolPermissionContext:b,effectiveModel:MZ,betas:YZ,jsonSchema:F,allowedTools:w,thinkingConfig:zq,systemPrompt:E,appendSystemPrompt:H,userSpecifiedFallbackModel:RZ,effectiveReplayUserMessages:OZ,agentCli:n,verbose:P});return}let fZ=iq({options:q,ctx:G,agentSetting:AZ,resolvedInitialModel:qq,permissionModeNotification:VZ,toolPermissionContext:b,initialMainLoopModel:TZ,agentDefinitions:C,mainThreadAgentDefinition:D,verbose:P,remoteControl:t,remoteControlName:GZ,inputPrompt:K,thinkingEnabled:PZ,mcpTools:Yq},{getTeammateUtils:Fq}),{initialState:Bq,initialTools:vZ}=fZ,g=await eq({root:I,ctx:G,options:q,debug:c,debugToStderr:l,commands:v,initialTools:vZ,mcpClients:Xq,mcpCommands:Jq,ide:JZ,teleport:i,remote:LZ,thinkingConfig:zq,dynamicMcpConfig:e,strictMcpConfig:WZ,systemPrompt:E,appendSystemPrompt:H,coordinatorModeModule:T,agentDefinitions:C,currentCwd:bZ,cliAgents:IZ,initialState:Bq,getFpsMetrics:h,stats:u,mainThreadAgentDefinition:D}),{sessionConfig:CZ}=g;if(g.handled)return;D=g.mainThreadAgentDefinition;{let B=Qq&&d.length===0?Qq:void 0;Q("action_after_hooks"),h0()(T?.isCoordinatorMode()?"coordinator":"normal");let hZ=d.length>0?d:void 0;await(await F0())(I,{getFpsMetrics:h,stats:u,initialState:Bq},{...CZ,initialMessages:hZ,pendingHookMessages:B},await S0())}}).version("1.1.38 (Claudin)","-v, --version","Output the version number"),(await m0())(X),Q("run_main_options_built");let z=process.argv.includes("-p")||process.argv.includes("--print"),_=process.argv.some(($)=>$.startsWith("cc://")||$.startsWith("cc+unix://"));if(z&&!_)return Q("run_before_parse"),await X.parseAsync(process.argv),Q("run_after_parse"),X;return(await c0())(X),Q("run_before_parse"),await X.parseAsync(process.argv),Q("run_after_parse"),Q("main_after_run"),wq(),X}export{b0 as startDeferredPrefetches,x1 as main};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bd as a,Cd as b,Dd as c}from"./cli-1.1.38-7vygkwbt.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";c();export{a as applySafeConfigEnvironmentVariables,b as applyConfigEnvironmentVariables};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{$K as RG,Aw as BG,Bw as m,Cw as x,Ew as b,Fw as l,Gw as U,Hw as r,Kw as _,Lr as WG,Lw as a,Mk as C,Mr as kG,Mw as z,Nw as I,Ok as OG,Ow as t,Pk as bG,Pw as o,Pz as JG,Qw as _G,Rw as s,Rz as QG,SK as R,Sw as VG,Sz as XG,Tw as e,Tz as UG,Uw as GG,VK as CG,VN as yG,Vw as LG,WN as hG,Zi as ZG,Zz as TG,_K as S,aL as wG,bL as SG,cL as zG,cj as MG,cx as FG,dL as gG,dx as qG,mR as cG,nP as jG,nw as f,oP as uG,ow as v,pw as h,qw as AG,rw as u,sM as EG,sw as c,tM as vG,tw as y,uw as d,vw as p,ww as n,xK as NG,xw as i}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import"./cli-1.1.38-h1fqbjjb.mjs";import"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import{D3 as HG,a4 as IG}from"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{Tfa as DG,Yfa as PG}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import{Dha as xG,fha as $G}from"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import{aja as T,fja as fG}from"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";_G();I();VG();AG();I();class M{constructor(G){this._server=G}requestStream(G,K,X){return this._server.requestStream(G,K,X)}createMessageStream(G,K){let X=this._server.getClientCapabilities();if((G.tools||G.toolChoice)&&!X?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if(G.messages.length>0){let Q=G.messages[G.messages.length-1],$=Array.isArray(Q.content)?Q.content:[Q.content],Z=$.some((Y)=>Y.type==="tool_result"),W=G.messages.length>1?G.messages[G.messages.length-2]:void 0,F=W?Array.isArray(W.content)?W.content:[W.content]:[],B=F.some((Y)=>Y.type==="tool_use");if(Z){if($.some((Y)=>Y.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!B)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(B){let Y=new Set(F.filter((H)=>H.type==="tool_use").map((H)=>H.id)),O=new Set($.filter((H)=>H.type==="tool_result").map((H)=>H.toolUseId));if(Y.size!==O.size||![...Y].every((H)=>O.has(H)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:G},U,K)}elicitInputStream(G,K){let X=this._server.getClientCapabilities(),Q=G.mode??"form";switch(Q){case"url":{if(!X?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!X?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let $=Q==="form"&&G.mode===void 0?{...G,mode:"form"}:G;return this.requestStream({method:"elicitation/create",params:$},_,K)}async getTask(G,K){return this._server.getTask({taskId:G},K)}async getTaskResult(G,K,X){return this._server.getTaskResult({taskId:G},K,X)}async listTasks(G,K){return this._server.listTasks(G?{cursor:G}:void 0,K)}async cancelTask(G,K){return this._server.cancelTask({taskId:G},K)}}LG();class k extends t{constructor(G,K){super(K);if(this._serverInfo=G,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(b.options.map((X,Q)=>[X,Q])),this.isMessageIgnored=(X,Q)=>{let $=this._loggingLevels.get(Q);return $?this.LOG_LEVEL_SEVERITY.get(X)<this.LOG_LEVEL_SEVERITY.get($):!1},this._capabilities=K?.capabilities??{},this._instructions=K?.instructions,this._jsonSchemaValidator=K?.jsonSchemaValidator??new s,this.setRequestHandler(p,(X)=>this._oninitialize(X)),this.setNotificationHandler(n,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(l,async(X,Q)=>{let $=Q.sessionId||Q.requestInfo?.headers["mcp-session-id"]||void 0,{level:Z}=X.params,W=b.safeParse(Z);if(W.success)this._loggingLevels.set($,W.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new M(this)};return this._experimental}registerCapabilities(G){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=o(this._capabilities,G)}setRequestHandler(G,K){let Q=v(G)?.method;if(!Q)throw Error("Schema is missing a method literal");let $=h(Q);if(typeof $!=="string")throw Error("Schema method literal must be a string");if($==="tools/call"){let W=async(F,B)=>{let Y=f(x,F);if(!Y.success){let D=Y.error instanceof Error?Y.error.message:String(Y.error);throw new z(y.InvalidParams,`Invalid tools/call request: ${D}`)}let{params:O}=Y.data,H=await Promise.resolve(K(F,B));if(O.task){let D=f(i,H);if(!D.success){let j=D.error instanceof Error?D.error.message:String(D.error);throw new z(y.InvalidParams,`Invalid task creation result: ${j}`)}return D.data}let J=f(m,H);if(!J.success){let D=J.error instanceof Error?J.error.message:String(J.error);throw new z(y.InvalidParams,`Invalid tools/call result: ${D}`)}return J.data};return super.setRequestHandler(G,W)}return super.setRequestHandler(G,K)}assertCapabilityForMethod(G){switch(G){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${G})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${G})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${G})`);break;case"ping":break}}assertNotificationCapability(G){switch(G){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${G})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${G})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${G})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${G})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(G){if(!this._capabilities)return;switch(G){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${G})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${G})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${G})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${G})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${G})`);break;case"ping":case"initialize":break}}assertTaskCapability(G){GG(this._clientCapabilities?.tasks?.requests,G,"Client")}assertTaskHandlerCapability(G){if(!this._capabilities)return;e(this._capabilities.tasks?.requests,G,"Server")}async _oninitialize(G){let K=G.params.protocolVersion;return this._clientCapabilities=G.params.capabilities,this._clientVersion=G.params.clientInfo,{protocolVersion:c.includes(K)?K:u,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},d)}async createMessage(G,K){if(G.tools||G.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if(G.messages.length>0){let X=G.messages[G.messages.length-1],Q=Array.isArray(X.content)?X.content:[X.content],$=Q.some((B)=>B.type==="tool_result"),Z=G.messages.length>1?G.messages[G.messages.length-2]:void 0,W=Z?Array.isArray(Z.content)?Z.content:[Z.content]:[],F=W.some((B)=>B.type==="tool_use");if($){if(Q.some((B)=>B.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!F)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(F){let B=new Set(W.filter((O)=>O.type==="tool_use").map((O)=>O.id)),Y=new Set(Q.filter((O)=>O.type==="tool_result").map((O)=>O.toolUseId));if(B.size!==Y.size||![...B].every((O)=>Y.has(O)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if(G.tools)return this.request({method:"sampling/createMessage",params:G},r,K);return this.request({method:"sampling/createMessage",params:G},U,K)}async elicitInput(G,K){switch(G.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Q=G;return this.request({method:"elicitation/create",params:Q},_,K)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Q=G.mode==="form"?G:{...G,mode:"form"},$=await this.request({method:"elicitation/create",params:Q},_,K);if($.action==="accept"&&$.content&&Q.requestedSchema)try{let W=this._jsonSchemaValidator.getValidator(Q.requestedSchema)($.content);if(!W.valid)throw new z(y.InvalidParams,`Elicitation response content does not match requested schema: ${W.errorMessage}`)}catch(Z){if(Z instanceof z)throw Z;throw new z(y.InternalError,`Error validating elicitation response: ${Z instanceof Error?Z.message:String(Z)}`)}return $}}}createElicitationCompletionNotifier(G,K){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:G}},K)}async listRoots(G,K){return this.request({method:"roots/list",params:G},a,K)}async sendLoggingMessage(G,K){if(this._capabilities.logging){if(!this.isMessageIgnored(G.level,K))return this.notification({method:"notifications/message",params:G})}}async sendResourceUpdated(G){return this.notification({method:"notifications/resources/updated",params:G})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}UG();import KG from"node:process";class q{constructor(G=KG.stdin,K=KG.stdout,X){this._stdin=G,this._stdout=K,this._started=!1,this._ondata=(Q)=>{try{this._readBuffer.append(Q),this.processReadBuffer()}catch($){this.onerror?.($),this.close().catch(()=>{})}},this._onerror=(Q)=>{this.onerror?.(Q)},this._readBuffer=new QG({maxBufferSize:X?.maxBufferSize})}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){while(!0)try{let G=this._readBuffer.readMessage();if(G===null)break;this.onmessage?.(G)}catch(G){this.onerror?.(G)}}async close(){if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send(G){return new Promise((K)=>{let X=XG(G);if(this._stdout.write(X))K();else this._stdout.once("drain",K)})}}xG();I();vG();uG();TG();bG();CG();qG();MG();PG();cG();IG();kG();hG();fG();gG();SG();RG();process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS??="true";var dG=[jG];function YG(G,K){let X=new Set(K.map(($)=>$.name)),Q=G.filter(($)=>!X.has($.name));return[...K,...Q]}async function pG(){let G=[],K=[];return await JG(({client:X,tools:Q})=>{G.push(X),K.push(...Q)}),{mcpClients:G,mcpTools:K}}async function VK(G,K,X){let $=ZG(100);yG(G);let Z=new k({name:"claudin",version:"99.0.0"},{capabilities:{tools:{}}}),{mcpClients:W,mcpTools:F}=await pG();Z.setRequestHandler(BG,async()=>{let Y=C(),O=YG(R(Y),F);return{tools:await Promise.all(O.map(async(H)=>{let J;if(H.outputSchema){let D=S(H.outputSchema);if(typeof D==="object"&&D!==null&&"type"in D&&D.type==="object")J=D}return{...H,description:await H.prompt({getToolPermissionContext:async()=>Y,tools:O,agents:[]}),inputSchema:H.inputJSONSchema??S(H.inputSchema),outputSchema:J}}))}}),Z.setRequestHandler(x,async({params:{name:Y,arguments:O}})=>{let H=C(),J=YG(R(H),F),D=OG(J,Y);if(!D)throw Error(`Tool ${Y} not found`);let j={abortController:FG(),options:{commands:dG,tools:J,mainLoopModel:HG(),thinkingConfig:{type:"disabled"},mcpClients:W,mcpResources:{},isNonInteractiveSession:!0,debug:K,verbose:X,agentDefinitions:{activeAgents:[],allAgents:[]}},getAppState:()=>EG(),setAppState:()=>{},messages:[],readFileState:$,setInProgressToolUseIDs:()=>{},setResponseLength:()=>{},updateFileHistoryState:()=>{},updateAttributionState:()=>{}};try{if(!D.isEnabled())throw Error(`Tool ${Y} is not enabled`);let N=D.inputSchema.parse(wG(D,O??{})),V=D.resolveInput?await D.resolveInput(N,j):{ok:!0,input:N};if(!V.ok)throw Error(`Tool ${Y} input is invalid: ${V.message}`);let P=V.input,E=await D.validateInput?.(P??{},j);if(E&&!E.result)throw Error(`Tool ${Y} input is invalid: ${E.message}`);let g=await D.call(P??{},j,WG,NG({content:[]})),L,A=g.data;if(typeof A==="string")L=[{type:"text",text:A}];else if(Array.isArray(A))L=A.map((w)=>{if(w.type==="text")return{type:"text",text:w.text||""};else if(w.type==="image"&&w.source)return{type:"image",data:w.source.data,mimeType:w.source.media_type};else return console.warn(`Unmapped content block type from tool ${Y}: ${w.type||"unknown"}`),{type:"text",text:T(w)}});else L=[{type:"text",text:T(A)}];return{content:L,isError:!!g.isError}}catch(N){if(DG(N),N instanceof $G)return{isError:!0,content:[{type:"text",text:`Tool ${Y} input is invalid:
|
|
2
|
+
${N.issues.map((E)=>`- ${E.path.join(".")}: ${E.message}`).join(`
|
|
3
|
+
`)}`}]};return{isError:!0,content:[{type:"text",text:(N instanceof Error?zG(N):[String(N)]).filter(Boolean).join(`
|
|
4
|
+
`).trim()||"Error"}]}}});async function B(){let Y=new q;await Z.connect(Y)}return await B()}export{VK as startMCPServer,pG as loadReexposedMcpTools,YG as getCombinedTools};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{if as zq,jf as xq,kf as Kq,lf as cq,mf as Lq,nf as oq,of as Oq,pf as lq}from"./cli-1.1.38-ka1w0zwc.mjs";import{qf as Vq,rf as Bq,uf as fq}from"./cli-1.1.38-g94v4hq7.mjs";import"./cli-1.1.38-frcvjcgw.mjs";import{Af as Tq,xf as Xq}from"./cli-1.1.38-e84gxv9a.mjs";import{vg as Qq,wg as hq}from"./cli-1.1.38-dz4qs0ht.mjs";import{Ax as o0,Bj as _q,DO as U0,FO as Hq,GO as m0,Hy as Fq,KG as y0,LG as a0,Mx as P0,Nx as l0,Ny as v0,Oy as S0,Py as i0,QE as $0,aF as wq,bz as A0,jz as M0,mx as g0,nx as Gq,ox as _0,pz as Nq,qz as Jq,vx as G0,wx as x0,xx as Z0,yj as kq,yx as c0,zx as f0}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import{YX as j0,eW as B0,iW as Q0,oX as u,qX as L,sX as U,wX as V0}from"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import{A1 as W,B1 as d,z1 as J}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as W0}from"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{Rca as d0,Sca as qq,_ca as p0,o9 as I,p9 as u0}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import{Aja as Iq,pja as e0}from"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Lqa as c,Pqa as J0}from"./cli-1.1.38-y66mw08s.mjs";function n0({agentServer:G,onCancel:q,onComplete:Q}){let[X]=Q0(),[P,M]=j.useState(!1),[B,Y]=j.useState(null),[O,D]=j.useState(null),R=j.useRef(null);j.useEffect(()=>()=>R.current?.abort(),[]);let T=j.useCallback(()=>{if(P)R.current?.abort(),R.current=null,M(!1),D(null)},[P]);g0("confirm:no",T,{context:"Confirmation",isActive:P});let b=j.useCallback(async()=>{if(!G.needsAuth||!G.url)return;M(!0),Y(null);let N=new AbortController;R.current=N;try{let H={type:G.transport,url:G.url};await S0(G.name,H,D,N.signal),Q?.(`Authentication successful for ${G.name}. The server will connect when the agent runs.`)}catch(H){if(H instanceof Error&&!(H instanceof v0))Y(H.message)}finally{M(!1),R.current=null}},[G,Q]),k=d0(String(G.name));if(P)return W(L,{flexDirection:"column",gap:1,padding:1,children:[W(U,{color:"claude",children:["Authenticating with ",G.name,"…"]}),W(L,{children:[J(y0,{}),J(U,{children:" A browser window will open for authentication"})]}),O&&W(L,{flexDirection:"column",children:[J(U,{dimColor:!0,children:"If your browser doesn't open automatically, copy this URL manually:"}),J(V0,{url:O})]}),J(L,{marginLeft:3,children:W(U,{dimColor:!0,children:["Return here after authenticating in your browser."," ",J(Z0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]})})]});let f=[];if(G.needsAuth)f.push({label:G.isAuthenticated?"Re-authenticate":"Authenticate",value:"auth"});return f.push({label:"Back",value:"back"}),W(P0,{title:`${k} MCP Server`,subtitle:"agent-only",onCancel:q,inputGuide:(N)=>N.pending?W(U,{children:["Press ",N.keyName," again to exit"]}):W(f0,{children:[J(G0,{shortcut:"↑↓",action:"navigate"}),J(G0,{shortcut:"Enter",action:"confirm"}),J(Z0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),children:[W(L,{flexDirection:"column",gap:0,children:[W(L,{children:[J(U,{bold:!0,children:"Type: "}),J(U,{dimColor:!0,children:G.transport})]}),G.url&&W(L,{children:[J(U,{bold:!0,children:"URL: "}),J(U,{dimColor:!0,children:G.url})]}),G.command&&W(L,{children:[J(U,{bold:!0,children:"Command: "}),J(U,{dimColor:!0,children:G.command})]}),W(L,{children:[J(U,{bold:!0,children:"Used by: "}),J(U,{dimColor:!0,children:G.sourceAgents.join(", ")})]}),W(L,{marginTop:1,children:[J(U,{bold:!0,children:"Status: "}),W(U,{children:[u("inactive",X)(I.radioOff)," not connected (agent-only)"]})]}),G.needsAuth&&W(L,{children:[J(U,{bold:!0,children:"Auth: "}),G.isAuthenticated?W(U,{children:[u("success",X)(I.tick)," authenticated"]}):W(U,{children:[u("warning",X)(I.triangleUpOutline)," may need authentication"]})]})]}),J(L,{children:J(U,{dimColor:!0,children:"This server connects only when running the agent."})}),B&&J(L,{children:W(U,{color:"error",children:["Error: ",B]})}),J(L,{children:J($0,{options:f,onChange:async(N)=>{switch(N){case"auth":await b();break;case"back":q();break}},onCancel:q})})]})}var j;var s0=J0(()=>{u0();j0();_0();i0();p0();c0();wq();o0();l0();x0();a0();d();j=c(W0(),1)});function t0(G){switch(G){case"project":return{label:"Project MCPs",path:M0(G)};case"user":return{label:"User MCPs",path:M0(G)};case"local":return{label:"Local MCPs",path:M0(G)};case"enterprise":return{label:"Enterprise MCPs"};case"dynamic":return{label:"Built-in MCPs",path:"always available"};default:return{label:G}}}function Cq(G){let q=new Map;for(let Q of G){let X=Q.scope;if(!q.has(X))q.set(X,[]);q.get(X).push(Q)}for(let[,Q]of q)Q.sort((X,P)=>X.name.localeCompare(P.name));return q}function Wq(G){let q=Yq.c(78),{servers:Q,agentServers:X,onSelectServer:P,onSelectAgentServer:M,onComplete:B}=G,Y;if(q[0]!==X)Y=X===void 0?[]:X,q[0]=X,q[1]=Y;else Y=q[1];let O=Y,[D]=Q0(),[R,T]=Zq.useState(0),b;if(q[2]!==Q){let Z=Q.filter(gq);b=Cq(Z),q[2]=Q,q[3]=b}else b=q[3];let k=b,f;if(q[4]!==Q)f=Q.filter(pq).sort(dq),q[4]=Q,q[5]=f;else f=q[5];let N=f,H;if(q[6]!==k)H=(k.get("dynamic")??[]).sort(mq),q[6]=k,q[7]=H;else H=q[7];let y=H,C;if(q[8]===Symbol.for("react.memo_cache_sentinel"))C=t0("dynamic"),q[8]=C;else C=q[8];let o=C,K;if(q[9]!==O||q[10]!==N||q[11]!==y||q[12]!==k){K=[];for(let Z of r0){let A=k.get(Z)??[];for(let w of A)K.push({type:"server",server:w})}for(let Z of N)K.push({type:"server",server:Z});for(let Z of O)K.push({type:"agent-server",agentServer:Z});for(let Z of y)K.push({type:"server",server:Z});q[9]=O,q[10]=N,q[11]=y,q[12]=k,q[13]=K}else K=q[13];let z=K,V;if(q[14]!==B)V=()=>{B("MCP dialog dismissed",{display:"system"})},q[14]=B,q[15]=V;else V=q[15];let E=V,F;if(q[16]!==M||q[17]!==P||q[18]!==z||q[19]!==R)F=()=>{let Z=z[R];if(!Z)return;if(Z.type==="server")P(Z.server);else if(Z.type==="agent-server"&&M)M(Z.agentServer)},q[16]=M,q[17]=P,q[18]=z,q[19]=R,q[20]=F;else F=q[20];let h=F,p,g;if(q[21]!==z)g=()=>T((Z)=>Z===0?z.length-1:Z-1),p=()=>T((Z)=>Z===z.length-1?0:Z+1),q[21]=z,q[22]=p,q[23]=g;else p=q[22],g=q[23];let v;if(q[24]!==E||q[25]!==h||q[26]!==p||q[27]!==g)v={"confirm:previous":g,"confirm:next":p,"confirm:yes":h,"confirm:no":E},q[24]=E,q[25]=h,q[26]=p,q[27]=g,q[28]=v;else v=q[28];let l;if(q[29]===Symbol.for("react.memo_cache_sentinel"))l={context:"Confirmation"},q[29]=l;else l=q[29];Gq(v,l);let _;if(q[30]!==z)_=(Z)=>z.findIndex((A)=>A.type==="server"&&A.server===Z),q[30]=z,q[31]=_;else _=q[31];let F0=_,S;if(q[32]!==z)S=(Z)=>z.findIndex((A)=>A.type==="agent-server"&&A.agentServer===Z),q[32]=z,q[33]=S;else S=q[33];let Y0=S,i;if(q[34]===Symbol.for("react.memo_cache_sentinel"))i=e0(),q[34]=i;else i=q[34];let bq=i,N0;if(q[35]!==Q)N0=Q.some(jq),q[35]=Q,q[36]=N0;else N0=q[36];let I0=N0;if(Q.length===0&&O.length===0)return null;let z0;if(q[37]!==F0||q[38]!==R||q[39]!==D)z0=(Z)=>{let A=F0(Z),w=R===A,m,C0=Xq(Z.client);if(Z.client.type==="disabled")m=u("inactive",D)(I.radioOff);else if(Z.client.type==="connected")m=u("success",D)(I.tick);else if(Z.client.type==="pending")m=u("inactive",D)(I.radioOff);else if(Z.client.type==="needs-auth")m=u("warning",D)(I.triangleUpOutline);else m=u("error",D)(I.cross);return W(L,{children:[J(U,{color:w?"suggestion":void 0,children:w?`${I.pointer} `:" "}),J(U,{color:w?"suggestion":void 0,children:Z.name}),W(U,{dimColor:!w,children:[" · ",m," "]}),J(U,{dimColor:!w,children:C0})]},`${Z.name}-${A}`)},q[37]=F0,q[38]=R,q[39]=D,q[40]=z0;else z0=q[40];let x=z0,K0;if(q[41]!==Y0||q[42]!==R||q[43]!==D)K0=(Z)=>{let A=Y0(Z),w=R===A,m=Z.needsAuth?u("warning",D)(I.triangleUpOutline):u("inactive",D)(I.radioOff),C0=Z.needsAuth?"may need auth":"agent-only";return W(L,{children:[J(U,{color:w?"suggestion":void 0,children:w?`${I.pointer} `:" "}),J(U,{color:w?"suggestion":void 0,children:Z.name}),W(U,{dimColor:!w,children:[" · ",m," "]}),J(U,{dimColor:!w,children:C0})]},`agent-${Z.name}-${A}`)},q[41]=Y0,q[42]=R,q[43]=D,q[44]=K0;else K0=q[44];let h0=K0,L0=Q.length+O.length,O0;if(q[45]===Symbol.for("react.memo_cache_sentinel"))O0=J(Qq,{}),q[45]=O0;else O0=q[45];let R0;if(q[46]!==L0)R0=qq(L0,"server"),q[46]=L0,q[47]=R0;else R0=q[47];let T0=`${L0} ${R0}`,$;if(q[48]!==x||q[49]!==k)$=r0.map((Z)=>{let A=k.get(Z);if(!A||A.length===0)return null;let w=t0(Z);return W(L,{flexDirection:"column",marginBottom:1,children:[W(L,{paddingLeft:2,children:[J(U,{bold:!0,children:w.label}),w.path&&W(U,{dimColor:!0,children:[" (",w.path,")"]})]}),A.map((m)=>x(m))]},Z)}),q[48]=x,q[49]=k,q[50]=$;else $=q[50];let a;if(q[51]!==N||q[52]!==x)a=N.length>0&&W(L,{flexDirection:"column",marginBottom:1,children:[J(L,{paddingLeft:2,children:J(U,{bold:!0,children:"claude.ai"})}),N.map((Z)=>x(Z))]}),q[51]=N,q[52]=x,q[53]=a;else a=q[53];let n;if(q[54]!==O||q[55]!==h0)n=O.length>0&&W(L,{flexDirection:"column",marginBottom:1,children:[J(L,{paddingLeft:2,children:J(U,{bold:!0,children:"Agent MCPs"})}),[...new Set(O.flatMap(uq))].map((Z)=>W(L,{flexDirection:"column",marginTop:1,children:[J(L,{paddingLeft:2,children:W(U,{dimColor:!0,children:["@",Z]})}),O.filter((A)=>A.sourceAgents.includes(Z)).map((A)=>h0(A))]},Z))]}),q[54]=O,q[55]=h0,q[56]=n;else n=q[56];let s;if(q[57]!==y||q[58]!==x)s=y.length>0&&W(L,{flexDirection:"column",marginBottom:1,children:[W(L,{paddingLeft:2,children:[J(U,{bold:!0,children:o.label}),o.path&&W(U,{dimColor:!0,children:[" (",o.path,")"]})]}),y.map((Z)=>x(Z))]}),q[57]=y,q[58]=x,q[59]=s;else s=q[59];let r;if(q[60]!==I0)r=I0&&J(U,{dimColor:!0,children:bq?"※ Error logs shown inline with --debug":"※ Run claude --debug to see error logs"}),q[60]=I0,q[61]=r;else r=q[61];let E0;if(q[62]===Symbol.for("react.memo_cache_sentinel"))E0=W(U,{dimColor:!0,children:[J(V0,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})," ","for help"]}),q[62]=E0;else E0=q[62];let t;if(q[63]!==r)t=W(L,{flexDirection:"column",children:[r,E0]}),q[63]=r,q[64]=t;else t=q[64];let e;if(q[65]!==$||q[66]!==a||q[67]!==n||q[68]!==s||q[69]!==t)e=W(L,{flexDirection:"column",children:[$,a,n,s,t]}),q[65]=$,q[66]=a,q[67]=n,q[68]=s,q[69]=t,q[70]=e;else e=q[70];let q0;if(q[71]!==E||q[72]!==T0||q[73]!==e)q0=J(P0,{title:"Manage MCP servers",subtitle:T0,onCancel:E,hideInputGuide:!0,children:e}),q[71]=E,q[72]=T0,q[73]=e,q[74]=q0;else q0=q[74];let D0;if(q[75]===Symbol.for("react.memo_cache_sentinel"))D0=J(L,{paddingX:1,children:J(U,{dimColor:!0,italic:!0,children:W(f0,{children:[J(G0,{shortcut:"↑↓",action:"navigate"}),J(G0,{shortcut:"Enter",action:"confirm"}),J(Z0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})}),q[75]=D0;else D0=q[75];let H0;if(q[76]!==q0)H0=W(L,{flexDirection:"column",children:[O0,q0,D0]}),q[76]=q0,q[77]=H0;else H0=q[77];return H0}function uq(G){return G.sourceAgents}function jq(G){return G.client.type==="failed"}function mq(G,q){return G.name.localeCompare(q.name)}function dq(G,q){return G.name.localeCompare(q.name)}function pq(G){return G.client.config.type==="claudeai-proxy"}function gq(G){return G.client.config.type!=="claudeai-proxy"}var Yq,Zq,r0;var Uq=J0(()=>{u0();j0();_0();Jq();Tq();Iq();p0();c0();o0();l0();x0();hq();d();Yq=c(B0(),1),Zq=c(W0(),1),r0=["project","local","user","enterprise"]});function b0(G){let q=Rq.c(66),{onComplete:Q}=G,X=U0($q),P=U0(iq),M=X.clients,B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B={type:"list"},q[0]=B;else B=q[0];let[Y,O]=X0.default.useState(B),D;if(q[1]===Symbol.for("react.memo_cache_sentinel"))D=[],q[1]=D;else D=q[1];let[R,T]=X0.default.useState(D),b;if(q[2]!==P.allAgents)b=Nq(P.allAgents),q[2]=P.allAgents,q[3]=b;else b=q[3];let k=b,f;if(q[4]!==M)f=M.filter(Sq).sort(vq),q[4]=M,q[5]=f;else f=q[5];let N=f,H,y;if(q[6]!==N||q[7]!==X.tools)H=()=>{let K=!1;return async function(){let E=await Promise.all(N.map(async(F)=>{let h=F.config.scope,p=F.config.type==="sse",g=F.config.type==="http",v=F.config.type==="claudeai-proxy",l=void 0;if(p||g){let S=await new Fq(F.name,F.config).tokens(),Y0=kq()!==null&&F.type==="connected",i=F.type==="connected"&&A0(X.tools,F.name).length>0;l=Boolean(S)||Y0||i}let _={name:F.name,client:F,scope:h};if(v)return{..._,transport:"claudeai-proxy",isAuthenticated:!1,config:F.config};else if(p)return{..._,transport:"sse",isAuthenticated:l,config:F.config};else if(g)return{..._,transport:"http",isAuthenticated:l,config:F.config};else return{..._,transport:"stdio",config:F.config}}));if(K)return;T(E)}(),()=>{K=!0}},y=[N,X.tools],q[6]=N,q[7]=X.tools,q[8]=H,q[9]=y;else H=q[8],y=q[9];X0.default.useEffect(H,y);let C,o;if(q[10]!==k.length||q[11]!==N.length||q[12]!==Q||q[13]!==R.length)C=()=>{if(R.length===0&&N.length>0)return;if(R.length===0&&k.length===0)Q("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `claude mcp --help` or visit https://code.claude.com/docs/en/mcp to learn more.")},o=[R.length,N.length,k.length,Q],q[10]=k.length,q[11]=N.length,q[12]=Q,q[13]=R.length,q[14]=C,q[15]=o;else C=q[14],o=q[15];switch(X0.useEffect(C,o),Y.type){case"list":{let K,z;if(q[16]===Symbol.for("react.memo_cache_sentinel"))z=(E)=>O({type:"server-menu",server:E}),K=(E)=>O({type:"agent-server-menu",agentServer:E}),q[16]=K,q[17]=z;else K=q[16],z=q[17];let V;if(q[18]!==k||q[19]!==Q||q[20]!==R||q[21]!==Y.defaultTab)V=J(Wq,{servers:R,agentServers:k,onSelectServer:z,onSelectAgentServer:K,onComplete:Q,defaultTab:Y.defaultTab}),q[18]=k,q[19]=Q,q[20]=R,q[21]=Y.defaultTab,q[22]=V;else V=q[22];return V}case"server-menu":{let K;if(q[23]!==X.tools||q[24]!==Y.server.name)K=A0(X.tools,Y.server.name),q[23]=X.tools,q[24]=Y.server.name,q[25]=K;else K=q[25];let z=K,V=Y.server.transport==="claudeai-proxy"?"claude.ai":"Claude Code";if(Y.server.transport==="stdio"){let E;if(q[26]!==Y.server)E=()=>O({type:"server-tools",server:Y.server}),q[26]=Y.server,q[27]=E;else E=q[27];let F;if(q[28]!==V)F=()=>O({type:"list",defaultTab:V}),q[28]=V,q[29]=F;else F=q[29];let h;if(q[30]!==Q||q[31]!==z.length||q[32]!==E||q[33]!==F||q[34]!==Y.server)h=J(Kq,{server:Y.server,serverToolsCount:z.length,onViewTools:E,onCancel:F,onComplete:Q}),q[30]=Q,q[31]=z.length,q[32]=E,q[33]=F,q[34]=Y.server,q[35]=h;else h=q[35];return h}else{let E;if(q[36]!==Y.server)E=()=>O({type:"server-tools",server:Y.server}),q[36]=Y.server,q[37]=E;else E=q[37];let F;if(q[38]!==V)F=()=>O({type:"list",defaultTab:V}),q[38]=V,q[39]=F;else F=q[39];let h;if(q[40]!==Q||q[41]!==z.length||q[42]!==E||q[43]!==F||q[44]!==Y.server)h=J(zq,{server:Y.server,serverToolsCount:z.length,onViewTools:E,onCancel:F,onComplete:Q}),q[40]=Q,q[41]=z.length,q[42]=E,q[43]=F,q[44]=Y.server,q[45]=h;else h=q[45];return h}}case"server-tools":{let K,z;if(q[46]!==Y.server)z=(E,F)=>O({type:"server-tool-detail",server:Y.server,toolIndex:F}),K=()=>O({type:"server-menu",server:Y.server}),q[46]=Y.server,q[47]=K,q[48]=z;else K=q[47],z=q[48];let V;if(q[49]!==K||q[50]!==z||q[51]!==Y.server)V=J(Oq,{server:Y.server,onSelectTool:z,onBack:K}),q[49]=K,q[50]=z,q[51]=Y.server,q[52]=V;else V=q[52];return V}case"server-tool-detail":{let K;if(q[53]!==X.tools||q[54]!==Y.server.name)K=A0(X.tools,Y.server.name),q[53]=X.tools,q[54]=Y.server.name,q[55]=K;else K=q[55];let V=K[Y.toolIndex];if(!V)return O({type:"server-tools",server:Y.server}),null;let E;if(q[56]!==Y.server)E=()=>O({type:"server-tools",server:Y.server}),q[56]=Y.server,q[57]=E;else E=q[57];let F;if(q[58]!==E||q[59]!==V||q[60]!==Y.server)F=J(Lq,{tool:V,server:Y.server,onBack:E}),q[58]=E,q[59]=V,q[60]=Y.server,q[61]=F;else F=q[61];return F}case"agent-server-menu":{let K;if(q[62]===Symbol.for("react.memo_cache_sentinel"))K=()=>O({type:"list",defaultTab:"Agents"}),q[62]=K;else K=q[62];let z;if(q[63]!==Q||q[64]!==Y.agentServer)z=J(n0,{agentServer:Y.agentServer,onCancel:K,onComplete:Q}),q[63]=Q,q[64]=Y.agentServer,q[65]=z;else z=q[65];return z}}}function vq(G,q){return G.name.localeCompare(q.name)}function Sq(G){return G.name!=="ide"}function iq(G){return G.agentDefinitions}function $q(G){return G.mcp}var Rq,X0;var Eq=J0(()=>{i0();Jq();m0();_q();s0();Uq();xq();cq();oq();lq();d();Rq=c(B0(),1),X0=c(W0(),1)});var Dq=J0(()=>{Eq()});function yq(G){let q=Pq.c(25),{serverName:Q,onComplete:X}=G,[P]=Q0(),M=Hq(),B=Vq(),[Y,O]=k0.useState(!0),[D,R]=k0.useState(null),T,b;if(q[0]!==X||q[1]!==B||q[2]!==Q||q[3]!==M)T=()=>{(async function(){try{if(!M.getState().mcp.clients.find((y)=>y.name===Q)){R(`MCP server "${Q}" not found`),O(!1),X(`MCP server "${Q}" not found`);return}let H=await B(Q);q:switch(H.client.type){case"connected":{O(!1),X(`Successfully reconnected to ${Q}`);break q}case"needs-auth":{R(`${Q} requires authentication`),O(!1),X(`${Q} requires authentication. Use /mcp to authenticate.`);break q}case"pending":case"failed":case"disabled":R(`Failed to reconnect to ${Q}`),O(!1),X(`Failed to reconnect to ${Q}`)}}catch(N){let H=N,y=H instanceof Error?H.message:String(H);R(y),O(!1),X(`Error: ${y}`)}})()},b=[Q,B,M,X],q[0]=X,q[1]=B,q[2]=Q,q[3]=M,q[4]=T,q[5]=b;else T=q[4],b=q[5];if(k0.useEffect(T,b),Y){let k;if(q[6]!==Q)k=W(U,{color:"text",children:["Reconnecting to ",J(U,{bold:!0,children:Q})]}),q[6]=Q,q[7]=k;else k=q[7];let f;if(q[8]===Symbol.for("react.memo_cache_sentinel"))f=W(L,{children:[J(y0,{}),J(U,{children:" Establishing connection to MCP server"})]}),q[8]=f;else f=q[8];let N;if(q[9]!==k)N=W(L,{flexDirection:"column",gap:1,padding:1,children:[k,f]}),q[9]=k,q[10]=N;else N=q[10];return N}if(D){let k;if(q[11]!==P)k=u("error",P)(I.cross),q[11]=P,q[12]=k;else k=q[12];let f;if(q[13]!==k)f=W(U,{children:[k," "]}),q[13]=k,q[14]=f;else f=q[14];let N;if(q[15]!==Q)N=W(U,{color:"error",children:["Failed to reconnect to ",Q]}),q[15]=Q,q[16]=N;else N=q[16];let H;if(q[17]!==f||q[18]!==N)H=W(L,{children:[f,N]}),q[17]=f,q[18]=N,q[19]=H;else H=q[19];let y;if(q[20]!==D)y=W(U,{dimColor:!0,children:["Error: ",D]}),q[20]=D,q[21]=y;else y=q[21];let C;if(q[22]!==H||q[23]!==y)C=W(L,{flexDirection:"column",gap:1,padding:1,children:[H,y]}),q[22]=H,q[23]=y,q[24]=C;else C=q[24];return C}return null}var Pq,k0;var Mq=J0(()=>{u0();j0();fq();m0();a0();d();Pq=c(B0(),1),k0=c(W0(),1)});function aq(G){let q=Aq.c(7),{action:Q,target:X,onComplete:P}=G,M=U0(sq),B=Bq(),Y=w0.useRef(!1),O,D;if(q[0]!==Q||q[1]!==M||q[2]!==P||q[3]!==X||q[4]!==B)O=()=>{if(Y.current)return;Y.current=!0;let R=Q==="enable",T=M.filter(nq),b=X==="all"?T.filter((k)=>R?k.type==="disabled":k.type!=="disabled"):T.filter((k)=>k.name===X);if(b.length===0){P(X==="all"?`All MCP servers are already ${R?"enabled":"disabled"}`:`MCP server "${X}" not found`);return}for(let k of b)B(k.name);P(X==="all"?`${R?"Enabled":"Disabled"} ${b.length} MCP server(s)`:`MCP server "${X}" ${R?"enabled":"disabled"}`)},D=[Q,X,M,B,P],q[0]=Q,q[1]=M,q[2]=P,q[3]=X,q[4]=B,q[5]=O,q[6]=D;else O=q[5],D=q[6];return w0.useEffect(O,D),null}function nq(G){return G.name!=="ide"}function sq(G){return G.mcp.clients}async function JJ(G,q,Q){if(Q){let X=Q.trim().split(/\s+/);if(X[0]==="no-redirect")return J(b0,{onComplete:G});if(X[0]==="reconnect"&&X[1])return J(yq,{serverName:X.slice(1).join(" "),onComplete:G});if(X[0]==="enable"||X[0]==="disable")return J(aq,{action:X[0],target:X.length>1?X.slice(1).join(" "):"all",onComplete:G})}return J(b0,{onComplete:G})}var Aq,w0;var rq=J0(()=>{Dq();Mq();fq();m0();d();Aq=c(B0(),1),w0=c(W0(),1)});rq();export{JJ as call};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{n as O,o as N}from"./cli-1.1.38-fckt5c5p.mjs";import{Ax as Wz,CO as nq,Ez as kq,GO as Rz,Gz as zq,Iy as aq,Jy as tq,Kj as y,Ky as rq,Mj as Vq,Mx as Tq,My as oq,Nx as Xz,OE as Mq,PE as Yz,Py as jz,Uz as a,Vz as Rq,Zz as Jq,fF as sq,gF as kz,hy as pq,iy as Dz,jz as J,kz as Uq,lz as b,mw as dq,oz as Dq,qz as jq,uz as v,vx as qq,vz as Qq,wx as Qz,wz as p,xx as wq,xz as Wq,yx as Uz,zx as Aq,zz as R}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import{WX as cq,YX as Oq,eW as Iz,iW as Lq,oX as Pq,qX as Hq,sX as m}from"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import{A1 as l,B1 as f,y1 as Kq,z1 as K}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as Gz}from"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{A_ as mq,B_ as _z,L9 as gq,Q9 as Bz,Sca as e,_ca as zz,daa as fq,eaa as vq,j_ as lq,xea as Ez}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import{Cja as i,Gja as qz}from"./cli-1.1.38-wbww08bk.mjs";import{aka as uq,cka as Mz}from"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Lqa as Zq,Qqa as Iq}from"./cli-1.1.38-y66mw08s.mjs";Dz();import{stat as Jz}from"fs/promises";import{cwd as Nz}from"process";Vq();qz();Oq();zq();zz();Uz();Yz();Wz();Xz();Qz();f();var Bq=Zq(Iz(),1),c=Zq(Gz(),1);function _q(z){let q=Bq.c(36),{servers:I,scope:G,onDone:Q}=z,U;if(q[0]!==I)U=Object.keys(I),q[0]=I,q[1]=U;else U=q[1];let W=U,Z;if(q[2]===Symbol.for("react.memo_cache_sentinel"))Z={},q[2]=Z;else Z=q[2];let[X,Y]=c.useState(Z),P,M;if(q[3]===Symbol.for("react.memo_cache_sentinel"))P=()=>{R().then((V)=>{let{servers:o}=V;return Y(o)})},M=[],q[3]=P,q[4]=M;else P=q[3],M=q[4];c.useEffect(P,M);let w;if(q[5]!==X||q[6]!==W)w=W.filter((V)=>X[V]!==void 0),q[5]=X,q[6]=W,q[7]=w;else w=q[7];let H=w,A=async function(o){let Xq=0;for(let g of o){let Yq=I[g];if(Yq){let s=g;if(X[s]!==void 0){let n=1;while(X[`${g}_${n}`]!==void 0)n++;s=`${g}_${n}`}await v(s,Yq,G),Xq++}}x(Xq)},[t]=Lq(),F;if(q[8]!==Q||q[9]!==G||q[10]!==t)F=(V)=>{if(V>0)i(`
|
|
2
|
+
${Pq("success",t)(`Successfully imported ${V} MCP ${e(V,"server")} to ${G} config.`)}
|
|
3
|
+
`);else i(`
|
|
4
|
+
No servers were imported.`);Q(),y()},q[8]=Q,q[9]=G,q[10]=t,q[11]=F;else F=q[11];let x=F,h;if(q[12]!==x)h=()=>{x(0)},q[12]=x,q[13]=h;else h=q[13];let B=h,eq=W.length,S;if(q[14]!==W.length)S=e(W.length,"server"),q[14]=W.length,q[15]=S;else S=q[15];let r=`Found ${eq} MCP ${S} in Claude Desktop.`,_;if(q[16]!==H.length)_=H.length>0&&K(m,{color:"warning",children:"Note: Some servers already exist with the same name. If selected, they will be imported with a numbered suffix."}),q[16]=H.length,q[17]=_;else _=q[17];let $;if(q[18]===Symbol.for("react.memo_cache_sentinel"))$=K(m,{children:"Please select the servers you want to import:"}),q[18]=$;else $=q[18];let E,D;if(q[19]!==H||q[20]!==W)E=W.map((V)=>({label:`${V}${H.includes(V)?" (already exists)":""}`,value:V})),D=W.filter((V)=>!H.includes(V)),q[19]=H,q[20]=W,q[21]=E,q[22]=D;else E=q[21],D=q[22];let j;if(q[23]!==B||q[24]!==A||q[25]!==E||q[26]!==D)j=K(Mq,{options:E,defaultValue:D,onSubmit:A,onCancel:B,hideIndexes:!0}),q[23]=B,q[24]=A,q[25]=E,q[26]=D,q[27]=j;else j=q[27];let k;if(q[28]!==B||q[29]!==r||q[30]!==_||q[31]!==j)k=l(Tq,{title:"Import MCP Servers from Claude Desktop",subtitle:r,color:"success",onCancel:B,hideInputGuide:!0,children:[_,$,j]}),q[28]=B,q[29]=r,q[30]=_,q[31]=j,q[32]=k;else k=q[32];let C;if(q[33]===Symbol.for("react.memo_cache_sentinel"))C=K(Hq,{paddingX:1,children:K(m,{dimColor:!0,italic:!0,children:l(Aq,{children:[K(qq,{shortcut:"Space",action:"select"}),K(qq,{shortcut:"Enter",action:"confirm"}),K(wq,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})}),q[33]=C;else C=q[33];let u;if(q[34]!==k)u=l(Kq,{children:[k,C]}),q[34]=k,q[35]=u;else u=q[35];return u}Oq();kz();jz();Jq();zq();jq();var Nq={getAllMcpConfigs:R,getMcpConfigsByScope:p,getProjectMcpServerStatus:Dq,isMcpServerDisabled:kq,describeMcpConfigFilePath:J,connectToServer:a,clearServerCache:Rq};function xq(z){return{generatedAt:new Date().toISOString(),targetName:z.targetName,scopeFilter:z.scopeFilter,configOnly:z.configOnly,summary:{totalReports:0,healthy:0,warnings:0,blocking:0},findings:[],servers:[]}}function Zz(z){if(z.message==="MCP config is not a valid JSON")return"config.invalid_json";if(z.message.startsWith("Missing environment variables:"))return"config.missing_env_vars";if(z.message.includes("Windows requires 'cmd /c' wrapper to execute npx"))return"config.windows_npx_wrapper_required";if(z.message==="Does not adhere to MCP server configuration schema")return"config.invalid_schema";return"config.validation_error"}function Vz(z){let q=z.mcpErrorMetadata?.severity;if(q==="fatal")return"error";if(q==="warning")return"warn";return"warn"}function yq(z){return z.map((q)=>{let I=Vz(q);return{blocking:I==="error",code:Zz(q),message:q.message,remediation:q.suggestion,scope:q.mcpErrorMetadata?.scope,serverName:q.mcpErrorMetadata?.serverName,severity:I,sourcePath:q.file}})}function bq(z){let q=[],I=new Map;for(let G of z){if(!G.serverName){q.push(G);continue}let Q=I.get(G.serverName)??[];Q.push(G),I.set(G.serverName,Q)}return{globalFindings:q,serverFindingsByName:I}}function T(z){if(z.scope==="claudeai")return"claudeai";if(z.scope==="dynamic")return z.pluginSource?"plugin":"dynamic";if(z.scope==="managed")return"managed";return z.scope}function Gq(z){return z.type??"stdio"}function Eq(z){switch(z.type){case"sse":case"http":case"ws":case"claudeai-proxy":return`${z.scope}:${z.type}:${z.url}`;case"sdk":return`${z.scope}:${z.type}:${z.name}`;default:{let q="command"in z?z.command:void 0,I="args"in z?z.args:void 0;return`${z.scope}:${z.type??"stdio"}:${q}:${JSON.stringify(I??[])}`}}}function Kz(z,q){if(!q)return!1;return T(z)===T(q)&&Eq(z)===Eq(q)}function d(z,q,I,G,Q){let U=I[z];if(!U)return[];let W=q==="project"?Q.getProjectMcpServerStatus(z)==="pending":!1,Z=Q.isMcpServerDisabled(z),X=!Z&&Kz(U,G);return[{name:z,sourceType:T(U),sourcePath:Q.describeMcpConfigFilePath(q),transport:Gq(U),runtimeVisible:X,runtimeActive:X,pendingApproval:W,disabled:Z}]}function L(z,q){if(!q)return z==="enterprise"||z==="local"||z==="project"||z==="user";return z===q}function Fq(z,q){return[...L("enterprise",q)?z.enterprise.errors:[],...L("local",q)?z.local.errors:[],...L("project",q)?z.project.errors:[],...L("user",q)?z.user.errors:[]]}function Lz(z,q,I){return{name:z,sourceType:T(q),sourcePath:T(q)==="plugin"?`plugin:${q.pluginSource??"unknown"}`:T(q)==="claudeai"?"claude.ai":q.scope,transport:Gq(q),runtimeVisible:I?.runtimeVisible??!0,runtimeActive:I?.runtimeActive??!0,disabled:I?.disabled??!1}}function Pz(z,q,I){let G=T(q),Q=G==="plugin"?`plugin:${q.pluginSource??"unknown"}`:G==="claudeai"?"claude.ai":I.describeMcpConfigFilePath(q.scope);return z.some((U)=>U.sourceType===G&&U.sourcePath===Q&&U.transport===Gq(q))}function Hz(z){let q=z.filter((G)=>G.sourceType==="local"||G.sourceType==="project"||G.sourceType==="user"||G.sourceType==="enterprise");if(q.length<=1)return[];let I=q.find((G)=>G.runtimeActive)??q[0];return[{blocking:!1,code:"duplicate.same_name_multiple_scopes",message:`Server is defined in multiple config scopes; active source is ${I.sourceType}`,remediation:"Remove or rename one of the duplicate definitions to avoid confusion.",serverName:I.name,severity:"warn"},{blocking:!1,code:"scope.shadowed",message:`${I.name} has shadowed definitions in lower-precedence config scopes.`,remediation:"Inspect the other definitions and remove the ones you no longer want to keep.",serverName:I.name,severity:"warn"}]}function Oz(z){let q=[];for(let I of z){if(I.pendingApproval)q.push({blocking:!1,code:"state.pending_project_approval",message:`${I.name} is declared in project config but pending project approval.`,remediation:"Approve the server in the project MCP approval flow before expecting it to become active.",scope:"project",serverName:I.name,severity:"warn",sourcePath:I.sourcePath});if(I.disabled)q.push({blocking:!1,code:"state.disabled",message:`${I.name} is currently disabled.`,remediation:"Re-enable the server before expecting it to be available at runtime.",serverName:I.name,severity:"warn",sourcePath:I.sourcePath})}return q}function hq(z){let q=[...z.findings,...z.servers.flatMap((U)=>U.findings)],I=q.filter((U)=>U.blocking).length,G=q.filter((U)=>U.severity==="warn").length,Q=z.servers.filter((U)=>U.liveCheck.result==="connected"&&U.findings.every((W)=>!W.blocking&&W.severity!=="warn")).length;return{...z,summary:{totalReports:z.servers.length,healthy:Q,warnings:G,blocking:I}}}async function wz(z,q,I,G,Q){if(I)return{attempted:!1,result:"skipped"};if(!q){if(G.some((X)=>X.pendingApproval))return{attempted:!1,result:"pending"};if(G.some((X)=>X.disabled))return{attempted:!1,result:"disabled"};return{attempted:!1,result:"skipped"}}let U=Date.now(),W=await Q.connectToServer(z,q),Z=Date.now()-U;try{switch(W.type){case"connected":return{attempted:!0,result:"connected",durationMs:Z};case"needs-auth":return{attempted:!0,result:"needs-auth",durationMs:Z};case"disabled":return{attempted:!0,result:"disabled",durationMs:Z};case"pending":return{attempted:!0,result:"pending",durationMs:Z};case"failed":return{attempted:!0,result:"failed",durationMs:Z,error:W.error}}}finally{await Q.clearServerCache(z,q).catch(()=>{})}}function Az(z,q,I){let G=q.find((Q)=>Q.runtimeActive);if(I.result==="needs-auth")return[{blocking:!1,code:"auth.needs_auth",message:`${z} requires authentication before it can be used.`,remediation:"Authenticate the server and then rerun the doctor command.",serverName:z,severity:"warn",sourcePath:G?.sourcePath}];if(I.result==="failed"){let Q=G?.transport==="stdio"&&typeof I.error==="string"&&I.error.toLowerCase().includes("not found");return[{blocking:!0,code:Q?"stdio.command_not_found":"health.failed",message:I.error?`${z} failed its live health check: ${I.error}`:`${z} failed its live health check.`,remediation:Q?"Verify the configured executable exists on PATH or use a full executable path.":"Inspect the server configuration and retry the connection once the underlying problem is fixed.",serverName:z,severity:"error",sourcePath:G?.sourcePath}]}return[]}async function Sq(z,q,I,G){let Q={enterprise:G.getMcpConfigsByScope("enterprise"),local:G.getMcpConfigsByScope("local"),project:G.getMcpConfigsByScope("project"),user:G.getMcpConfigsByScope("user")},{servers:U}=await G.getAllMcpConfigs(),W=G.isMcpServerDisabled(z),Z=U[z]??void 0,X=W?void 0:Z,Y=[...L("enterprise",q.scopeFilter)?d(z,"enterprise",Q.enterprise.servers,X,G):[],...L("local",q.scopeFilter)?d(z,"local",Q.local.servers,X,G):[],...L("project",q.scopeFilter)?d(z,"project",Q.project.servers,X,G):[],...L("user",q.scopeFilter)?d(z,"user",Q.user.servers,X,G):[]],P=!!Z&&!Pz(Y,Z,G)&&(Y.length===0&&!q.scopeFilter||Y.length>0&&Y.every((A)=>!A.runtimeActive));if(Z&&P)Y.push(Lz(z,Z,{disabled:W,runtimeActive:!W,runtimeVisible:!W}));let M=Y.some((A)=>A.runtimeActive)||P?X:void 0,w=[...I.get(z)??[],...Hz(Y),...Oz(Y)];if(Y.length===0&&!P)w.push({blocking:!0,code:"state.not_found",message:`${z} was not found in the selected MCP configuration sources.`,remediation:"Check the server name and scope, or add the MCP server before retrying.",serverName:z,severity:"error"});let H=await wz(z,M,q.configOnly,Y,G);return w.push(...Az(z,Y,H)),{serverName:z,requestedByUser:q.requestedByUser,definitions:Y,liveCheck:H,findings:w}}function Tz(z,q,I){let G=new Set(I?Object.keys(q):[]);for(let Q of z)for(let U of Object.keys(Q))G.add(U);return[...G].sort()}async function $q(z={configOnly:!1},q=Nq){let I=xq(z),G={enterprise:q.getMcpConfigsByScope("enterprise"),local:q.getMcpConfigsByScope("local"),project:q.getMcpConfigsByScope("project"),user:q.getMcpConfigsByScope("user")},Q=yq(Fq(G,z.scopeFilter)),{globalFindings:U,serverFindingsByName:W}=bq(Q),{servers:Z}=await q.getAllMcpConfigs(),X=Tz([...L("enterprise",z.scopeFilter)?[G.enterprise.servers]:[],...L("local",z.scopeFilter)?[G.local.servers]:[],...L("project",z.scopeFilter)?[G.project.servers]:[],...L("user",z.scopeFilter)?[G.user.servers]:[]],Z,!z.scopeFilter),Y=await Promise.all(X.map((P)=>Sq(P,{configOnly:z.configOnly,requestedByUser:!1,scopeFilter:z.scopeFilter},W,q)));return I.servers=Y,I.findings=U,hq(I)}async function Cq(z,q,I=Nq){let G=xq({...q,targetName:z}),Q={enterprise:I.getMcpConfigsByScope("enterprise"),local:I.getMcpConfigsByScope("local"),project:I.getMcpConfigsByScope("project"),user:I.getMcpConfigsByScope("user")},U=yq(Fq(Q,q.scopeFilter)),{globalFindings:W,serverFindingsByName:Z}=bq(U),X=await Sq(z,{configOnly:q.configOnly,requestedByUser:!0,scopeFilter:q.scopeFilter},Z,I);return G.servers=[X],G.findings=W,hq(G)}Jq();zq();jq();Rz();Ez();Mz();Vq();Bz();_z();f();function xz(z){let q=[];if(q.push("MCP Doctor"),q.push(""),q.push("Summary"),q.push(`- ${z.summary.totalReports} server reports generated`),q.push(`- ${z.summary.healthy} healthy`),q.push(`- ${z.summary.warnings} warnings`),q.push(`- ${z.summary.blocking} blocking issues`),z.targetName)q.push(`- target: ${z.targetName}`);for(let I of z.servers){q.push(""),q.push(I.serverName);let G=I.definitions.find((Q)=>Q.runtimeActive);if(G)q.push(`- Active source: ${G.sourceType}`),q.push(`- Transport: ${G.transport??"unknown"}`);if(I.definitions.length>1){let Q=I.definitions.filter((U)=>!U.runtimeActive).map((U)=>U.sourceType);if(Q.length>0)q.push(`- Additional definitions: ${Q.join(", ")}`)}if(I.liveCheck.result){let U=new Set(["disabled","pending","skipped"]).has(I.liveCheck.result)?"State":"Live check";q.push(`- ${U}: ${I.liveCheck.result}`)}if(I.liveCheck.error)q.push(`- Error: ${I.liveCheck.error}`);for(let Q of I.findings)if(q.push(`- ${Q.message}`),Q.remediation)q.push(`- Fix: ${Q.remediation}`)}if(z.findings.length>0){q.push(""),q.push("Global findings");for(let I of z.findings)if(q.push(`- ${I.message}`),I.remediation)q.push(`- Fix: ${I.remediation}`)}return q.join(`
|
|
5
|
+
`)}async function LG(z,q){try{let I=q.scope?b(q.scope):void 0,G=!!q.configOnly,Q=z?await Cq(z,{configOnly:G,scopeFilter:I}):await $q({configOnly:G,scopeFilter:I});if(q.json)process.stdout.write(`${JSON.stringify(Q,null,2)}
|
|
6
|
+
`);else process.stdout.write(`${xz(Q)}
|
|
7
|
+
`);await new Promise((U)=>setTimeout(U,50)),process.exit(Q.summary.blocking>0?1:0);return}catch(I){O(I.message)}}async function iq(z,q){try{let I=await a(z,q);if(I.type==="connected")return"✓ Connected";else if(I.type==="needs-auth")return"! Needs authentication";else return"✗ Failed to connect"}catch(I){return"✗ Connection error"}}async function PG({debug:z,verbose:q}){let I=Nz();try{await Jz(I)}catch(G){if(uq(G))O(`Error: Directory ${I} does not exist`);throw G}try{let{setup:G}=await import("./setup-1.1.38-cryd3k7j.mjs");await G(I,"default",!1,!1,void 0,!1);let{startMCPServer:Q}=await import("./mcp-1.1.38-5g1dkaq3.mjs");await Q(I,z??!1,q??!1)}catch(G){O(`Error: Failed to start MCP server: ${G}`)}}async function HG(z,q){let I=Wq(z),G=()=>{if(I&&(I.type==="sse"||I.type==="http"))oq(z,I),rq(z,I)};try{if(q.scope){let Y=b(q.scope);await Qq(z,Y),G(),process.stdout.write(`Removed MCP server ${z} from ${Y} config
|
|
8
|
+
`),N(`File modified: ${J(Y)}`)}let Q=fq(),U=lq(),{servers:W}=p("project"),Z=!!W[z],X=[];if(Q.mcpServers?.[z])X.push("local");if(Z)X.push("project");if(U.mcpServers?.[z])X.push("user");if(X.length===0)O(`No MCP server found with name: "${z}"`);else if(X.length===1){let Y=X[0];await Qq(z,Y),G(),process.stdout.write(`Removed MCP server "${z}" from ${Y} config
|
|
9
|
+
`),N(`File modified: ${J(Y)}`)}else process.stderr.write(`MCP server "${z}" exists in multiple scopes:
|
|
10
|
+
`),X.forEach((Y)=>{process.stderr.write(` - ${Uq(Y)} (${J(Y)})
|
|
11
|
+
`)}),process.stderr.write(`
|
|
12
|
+
To remove from a specific scope, use:
|
|
13
|
+
`),X.forEach((Y)=>{process.stderr.write(` claude mcp remove "${z}" -s ${Y}
|
|
14
|
+
`)}),O()}catch(Q){O(Q.message)}}async function OG(){let{servers:z}=await R();if(Object.keys(z).length===0)console.log("No MCP servers configured. Use `claude mcp add` to add a server.");else{console.log(`Checking MCP server health...
|
|
15
|
+
`);let q=Object.entries(z),I=await pq(q,async([G,Q])=>({name:G,server:Q,status:await iq(G,Q)}),{concurrency:dq()});for(let{name:G,server:Q,status:U}of I)if(Q.type==="sse")console.log(`${G}: ${Q.url} (SSE) - ${U}`);else if(Q.type==="http")console.log(`${G}: ${Q.url} (HTTP) - ${U}`);else if(Q.type==="claudeai-proxy")console.log(`${G}: ${Q.url} - ${U}`);else if(!Q.type||Q.type==="stdio"){let W=Array.isArray(Q.args)?Q.args:[];console.log(`${G}: ${Q.command} ${W.join(" ")} - ${U}`)}}await y(0)}async function wG(z){let q=Wq(z);if(!q)O(`No MCP server found with name: ${z}`);console.log(`${z}:`),console.log(` Scope: ${Uq(q.scope)}`);let I=await iq(z,q);if(console.log(` Status: ${I}`),q.type==="sse"){if(console.log(" Type: sse"),console.log(` URL: ${q.url}`),q.headers){console.log(" Headers:");for(let[G,Q]of Object.entries(q.headers))console.log(` ${G}: ${Q}`)}if(q.oauth?.clientId||q.oauth?.callbackPort){let G=[];if(q.oauth.clientId)G.push("oauth client configured");if(q.oauth.callbackPort)G.push("callback port configured");console.log(` OAuth: ${G.join(", ")}`)}}else if(q.type==="http"){if(console.log(" Type: http"),console.log(` URL: ${q.url}`),q.headers){console.log(" Headers:");for(let[G,Q]of Object.entries(q.headers))console.log(` ${G}: ${Q}`)}if(q.oauth?.clientId||q.oauth?.callbackPort){let G=[];if(q.oauth.clientId)G.push("oauth client configured");if(q.oauth.callbackPort)G.push("callback port configured");console.log(` OAuth: ${G.join(", ")}`)}}else if(q.type==="stdio"){console.log(" Type: stdio"),console.log(` Command: ${q.command}`);let G=Array.isArray(q.args)?q.args:[];if(console.log(` Args: ${G.join(" ")}`),q.env){console.log(" Environment:");for(let[Q,U]of Object.entries(q.env))console.log(` ${Q}=${U}`)}}console.log(`
|
|
16
|
+
To remove this server, run: claude mcp remove "${z}" -s ${q.scope}`),await y(0)}async function AG(z,q,I){try{let G=b(I.scope),Q=gq(q),W=I.clientSecret&&Q&&typeof Q==="object"&&"type"in Q&&(Q.type==="sse"||Q.type==="http")&&"url"in Q&&typeof Q.url==="string"&&"oauth"in Q&&Q.oauth&&typeof Q.oauth==="object"&&"clientId"in Q.oauth?await aq():void 0;await v(z,Q,G);let Z=Q&&typeof Q==="object"&&"type"in Q?String(Q.type||"stdio"):"stdio";if(W&&Q&&typeof Q==="object"&&"type"in Q&&(Q.type==="sse"||Q.type==="http")&&"url"in Q&&typeof Q.url==="string")tq(z,{type:Q.type,url:Q.url},W);N(`Added ${Z} MCP server ${z} to ${G} config`)}catch(G){O(G.message)}}async function TG(z){try{let q=b(z.scope),I=mq(),{readClaudeDesktopMcpServers:G}=await import("./claudeDesktop-1.1.38-94tj322p.mjs"),Q=await G();if(Object.keys(Q).length===0)N("No MCP servers found in Claude Desktop configuration or configuration file does not exist.");let{unmount:U}=await cq(K(nq,{children:K(sq,{children:K(_q,{servers:Q,scope:q,onDone:()=>{U()}})})}),{exitOnCtrlC:!0})}catch(q){O(q.message)}}async function MG(){vq((z)=>({...z,enabledMcpjsonServers:[],disabledMcpjsonServers:[],enableAllProjectMcpServers:!1})),N(`All project-scoped (.mcp.json) server approvals and rejections have been reset.
|
|
17
|
+
You will be prompted for approval next time you start Claudin.`)}export{PG as mcpServeHandler,MG as mcpResetChoicesHandler,HG as mcpRemoveHandler,OG as mcpListHandler,wG as mcpGetHandler,LG as mcpDoctorHandler,AG as mcpAddJsonHandler,TG as mcpAddFromDesktopHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Pqa as z}from"./cli-1.1.38-y66mw08s.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
|