@claudiolabs/claudin 1.0.0 → 1.0.4
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/cli-wrapper.cjs +132 -0
- package/dist/chunks/AgentTool-1.0.4-hb5yf83k.mjs +1 -0
- package/dist/chunks/App-1.0.4-ee5phav9.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.4-cc8qfn6m.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.4-k5b5pnrd.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.4-jhajeb8a.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.4-9hz5azec.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.4-g51kch7p.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.4-29trpvey.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.4-j8p9yt42.mjs +7 -0
- package/dist/chunks/Doctor-1.0.4-wzrsp6wf.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.4-nestptq4.mjs +6 -0
- package/dist/chunks/Grove-1.0.4-7b2m2711.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.4-hqbevsrb.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.4-vtmbvxxd.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.4-zreb0vxk.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.4-ed1k11kd.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.4-nq3j2bap.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.4-g7qy6jg1.mjs +1 -0
- package/dist/chunks/REPL-1.0.4-ne32y8dw.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.4-fedwb24z.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.4-w95m7f1z.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.4-ck0a2cmq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.4-w37g1ssr.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.4-tk09ztje.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.4-a4nja4px.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.4-q00g76m2.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.4-xce6cp69.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.4-w4scey43.mjs +1 -0
- package/dist/chunks/add-dir-1.0.4-xm5qwknc.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.4-he8e2qfd.mjs +1 -0
- package/dist/chunks/agents-1.0.4-k2bdfryr.mjs +110 -0
- package/dist/chunks/agents-1.0.4-mt84dfn1.mjs +3 -0
- package/dist/chunks/api-1.0.4-h4pnj11w.mjs +1 -0
- package/dist/chunks/asciicast-1.0.4-cafbqek9.mjs +1 -0
- package/dist/chunks/assistant-1.0.4-cezj138d.mjs +1 -0
- package/dist/chunks/auth-1.0.4-0t5pss7v.mjs +1 -0
- package/dist/chunks/auth-1.0.4-3y0wgt5g.mjs +1 -0
- package/dist/chunks/autoMode-1.0.4-vssxz3fz.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.4-drwc61h2.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.4-dn72g8zg.mjs +1 -0
- package/dist/chunks/branch-1.0.4-4gv6bbzr.mjs +4 -0
- package/dist/chunks/bridge-1.0.4-fs3148xw.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.4-tj7j77dy.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.4-g5j98pxj.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.4-47dp2cx1.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.4-rz3s97zd.mjs +1 -0
- package/dist/chunks/btw-1.0.4-q0v29hp5.mjs +1 -0
- package/dist/chunks/buddy-1.0.4-f6rknpnr.mjs +3 -0
- package/dist/chunks/cacache-1.0.4-zqddgev2.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.4-qx7ym4r0.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.4-q2mcbsr3.mjs +4 -0
- package/dist/chunks/caches-1.0.4-bsgbkzpc.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.4-17ztwd14.mjs +1 -0
- package/dist/chunks/claudemd-1.0.4-zdd5de85.mjs +1 -0
- package/dist/chunks/clear-1.0.4-g3cfj02y.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.4-xz0azar2.mjs +1 -0
- package/dist/chunks/cli-1.0.4-08e3sn18.mjs +2 -0
- package/dist/chunks/cli-1.0.4-092qjm5g.mjs +25 -0
- package/dist/chunks/cli-1.0.4-09fgpcwb.mjs +2 -0
- package/dist/chunks/cli-1.0.4-0gpk6g88.mjs +2 -0
- package/dist/chunks/cli-1.0.4-0pqf799x.mjs +2 -0
- package/dist/chunks/cli-1.0.4-0vwtrvvh.mjs +16 -0
- package/dist/chunks/cli-1.0.4-0wp27vrg.mjs +67 -0
- package/dist/chunks/cli-1.0.4-1bg07n68.mjs +4 -0
- package/dist/chunks/cli-1.0.4-1ddc8bnh.mjs +2 -0
- package/dist/chunks/cli-1.0.4-1j122zyj.mjs +2 -0
- package/dist/chunks/cli-1.0.4-1xkgwtah.mjs +20 -0
- package/dist/chunks/cli-1.0.4-1ymz8m3g.mjs +2 -0
- package/dist/chunks/cli-1.0.4-23n5aaxp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2g15f7sw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2je9hpfv.mjs +50 -0
- package/dist/chunks/cli-1.0.4-2m2spkt1.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2mqbwapd.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2pfh6nzj.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2vrfse65.mjs +2 -0
- package/dist/chunks/cli-1.0.4-2wh24aeg.mjs +24 -0
- package/dist/chunks/cli-1.0.4-3289hbrr.mjs +6 -0
- package/dist/chunks/cli-1.0.4-34jdejmp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-36qx2z1d.mjs +2 -0
- package/dist/chunks/cli-1.0.4-3b0061a4.mjs +2 -0
- package/dist/chunks/cli-1.0.4-3gmj1s7h.mjs +3 -0
- package/dist/chunks/cli-1.0.4-3k3cpavm.mjs +3 -0
- package/dist/chunks/cli-1.0.4-4m4pwdge.mjs +2 -0
- package/dist/chunks/cli-1.0.4-4sfp975c.mjs +2 -0
- package/dist/chunks/cli-1.0.4-4wmw1p17.mjs +24 -0
- package/dist/chunks/cli-1.0.4-54j7kz1n.mjs +2 -0
- package/dist/chunks/cli-1.0.4-5663sqrh.mjs +2 -0
- package/dist/chunks/cli-1.0.4-5c4tptcb.mjs +2 -0
- package/dist/chunks/cli-1.0.4-5e2v63sy.mjs +2 -0
- package/dist/chunks/cli-1.0.4-5e9fa04w.mjs +2 -0
- package/dist/chunks/cli-1.0.4-618n4yb3.mjs +2 -0
- package/dist/chunks/cli-1.0.4-61v9tj7g.mjs +2 -0
- package/dist/chunks/cli-1.0.4-75pszwff.mjs +12 -0
- package/dist/chunks/cli-1.0.4-7b7qaegg.mjs +2 -0
- package/dist/chunks/cli-1.0.4-7hvk5sex.mjs +39 -0
- package/dist/chunks/cli-1.0.4-7jd24agk.mjs +2 -0
- package/dist/chunks/cli-1.0.4-7pxrd0w5.mjs +4 -0
- package/dist/chunks/cli-1.0.4-80hrkybp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-85cb91sn.mjs +4 -0
- package/dist/chunks/cli-1.0.4-8bmfjgvt.mjs +2 -0
- package/dist/chunks/cli-1.0.4-8ed4gxkm.mjs +3 -0
- package/dist/chunks/cli-1.0.4-8gkb1zg5.mjs +8 -0
- package/dist/chunks/cli-1.0.4-8jya5ew3.mjs +2 -0
- package/dist/chunks/cli-1.0.4-8ws7nhff.mjs +2 -0
- package/dist/chunks/cli-1.0.4-8x3m3esm.mjs +2 -0
- package/dist/chunks/cli-1.0.4-95nw81kz.mjs +2 -0
- package/dist/chunks/cli-1.0.4-982xabhy.mjs +2 -0
- package/dist/chunks/cli-1.0.4-9ber6pxx.mjs +2 -0
- package/dist/chunks/cli-1.0.4-9ra8j4rt.mjs +59 -0
- package/dist/chunks/cli-1.0.4-9re52te8.mjs +2 -0
- package/dist/chunks/cli-1.0.4-9w88pg39.mjs +12 -0
- package/dist/chunks/cli-1.0.4-9ysbahqq.mjs +2 -0
- package/dist/chunks/cli-1.0.4-a14svdr8.mjs +1 -0
- package/dist/chunks/cli-1.0.4-avmcefxg.mjs +10 -0
- package/dist/chunks/cli-1.0.4-azntz5z2.mjs +2 -0
- package/dist/chunks/cli-1.0.4-bg0v2cnc.mjs +133 -0
- package/dist/chunks/cli-1.0.4-bn5k1yhp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-bneycyws.mjs +2 -0
- package/dist/chunks/cli-1.0.4-bnsdazas.mjs +3 -0
- package/dist/chunks/cli-1.0.4-c9sh44ne.mjs +2 -0
- package/dist/chunks/cli-1.0.4-cavq6b0d.mjs +2 -0
- package/dist/chunks/cli-1.0.4-cj3nrnbs.mjs +58 -0
- package/dist/chunks/cli-1.0.4-ctmzb5aw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-cwjz9xzp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-d4gb1vbz.mjs +2 -0
- package/dist/chunks/cli-1.0.4-d8bjdz7n.mjs +2 -0
- package/dist/chunks/cli-1.0.4-dj36xg0v.mjs +2 -0
- package/dist/chunks/cli-1.0.4-e26gm32b.mjs +2 -0
- package/dist/chunks/cli-1.0.4-e2mkdvw8.mjs +2 -0
- package/dist/chunks/cli-1.0.4-e76jy4xn.mjs +2 -0
- package/dist/chunks/cli-1.0.4-e86sgy00.mjs +3 -0
- package/dist/chunks/cli-1.0.4-ec3dh8bt.mjs +2 -0
- package/dist/chunks/cli-1.0.4-edbk5qx2.mjs +5 -0
- package/dist/chunks/cli-1.0.4-ef5asahs.mjs +4 -0
- package/dist/chunks/cli-1.0.4-emp66cxw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-eny7y9k8.mjs +6 -0
- package/dist/chunks/cli-1.0.4-ex22h376.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f0t68sye.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f20q38cw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f2cmhz31.mjs +15 -0
- package/dist/chunks/cli-1.0.4-f62zwjj2.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f8dd3sqs.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f8eaamkf.mjs +2 -0
- package/dist/chunks/cli-1.0.4-f965h6gd.mjs +7 -0
- package/dist/chunks/cli-1.0.4-fbhgecgx.mjs +2 -0
- package/dist/chunks/cli-1.0.4-fc0bzryc.mjs +3 -0
- package/dist/chunks/cli-1.0.4-fcswm1md.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ffvpb7fz.mjs +2 -0
- package/dist/chunks/cli-1.0.4-fsf2c4j5.mjs +2 -0
- package/dist/chunks/cli-1.0.4-fv9x8ks1.mjs +2 -0
- package/dist/chunks/cli-1.0.4-g3vvvtwh.mjs +2 -0
- package/dist/chunks/cli-1.0.4-g9kftkyg.mjs +2 -0
- package/dist/chunks/cli-1.0.4-genhzh1b.mjs +2 -0
- package/dist/chunks/cli-1.0.4-gf8tchp1.mjs +5 -0
- package/dist/chunks/cli-1.0.4-ghv1wb08.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ghzbww61.mjs +34 -0
- package/dist/chunks/cli-1.0.4-gqc15qng.mjs +6 -0
- package/dist/chunks/cli-1.0.4-gssg75hx.mjs +2 -0
- package/dist/chunks/cli-1.0.4-gyjecspm.mjs +2 -0
- package/dist/chunks/cli-1.0.4-hfn9tnb6.mjs +2 -0
- package/dist/chunks/cli-1.0.4-hnrps9q2.mjs +2 -0
- package/dist/chunks/cli-1.0.4-hrw2yb74.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ht7fqqqw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-htrx7sdv.mjs +2 -0
- package/dist/chunks/cli-1.0.4-hvgsrtj6.mjs +3 -0
- package/dist/chunks/cli-1.0.4-hwje79ka.mjs +2 -0
- package/dist/chunks/cli-1.0.4-hyj1dzkq.mjs +3 -0
- package/dist/chunks/cli-1.0.4-j17mhs88.mjs +18 -0
- package/dist/chunks/cli-1.0.4-jvp0mp87.mjs +5471 -0
- package/dist/chunks/cli-1.0.4-jxsb0m86.mjs +2 -0
- package/dist/chunks/cli-1.0.4-jy8qt85n.mjs +2 -0
- package/dist/chunks/cli-1.0.4-k16cwcs0.mjs +2 -0
- package/dist/chunks/cli-1.0.4-k20sr786.mjs +3 -0
- package/dist/chunks/cli-1.0.4-k6gh1b1a.mjs +2 -0
- package/dist/chunks/cli-1.0.4-kbfs3rn2.mjs +3 -0
- package/dist/chunks/cli-1.0.4-kc0ty8k1.mjs +2 -0
- package/dist/chunks/cli-1.0.4-kv0e5nm5.mjs +2 -0
- package/dist/chunks/cli-1.0.4-m240wvtt.mjs +9 -0
- package/dist/chunks/cli-1.0.4-n5mydt2f.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ndy339bx.mjs +2 -0
- package/dist/chunks/cli-1.0.4-nfpfve45.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ng8nc24b.mjs +2 -0
- package/dist/chunks/cli-1.0.4-nws4fp34.mjs +2 -0
- package/dist/chunks/cli-1.0.4-nz4ff6hn.mjs +18 -0
- package/dist/chunks/cli-1.0.4-p618f4eb.mjs +2 -0
- package/dist/chunks/cli-1.0.4-pae9c0v0.mjs +18 -0
- package/dist/chunks/cli-1.0.4-pxqvx117.mjs +3 -0
- package/dist/chunks/cli-1.0.4-q00a51mt.mjs +4 -0
- package/dist/chunks/cli-1.0.4-q0rnwhn4.mjs +199 -0
- package/dist/chunks/cli-1.0.4-q97cke3f.mjs +2 -0
- package/dist/chunks/cli-1.0.4-qdsf8s2n.mjs +5 -0
- package/dist/chunks/cli-1.0.4-qka1j546.mjs +4 -0
- package/dist/chunks/cli-1.0.4-qng8dpqh.mjs +2 -0
- package/dist/chunks/cli-1.0.4-qpymvg0c.mjs +25 -0
- package/dist/chunks/cli-1.0.4-r4h3tk3k.mjs +17 -0
- package/dist/chunks/cli-1.0.4-r8mtbv7z.mjs +42 -0
- package/dist/chunks/cli-1.0.4-r8x4yv46.mjs +2 -0
- package/dist/chunks/cli-1.0.4-rf2k7z5d.mjs +2 -0
- package/dist/chunks/cli-1.0.4-rjgeb0fh.mjs +12 -0
- package/dist/chunks/cli-1.0.4-rkb3rkfa.mjs +2 -0
- package/dist/chunks/cli-1.0.4-rkhq9n0r.mjs +12 -0
- package/dist/chunks/cli-1.0.4-rkw1vtxv.mjs +2 -0
- package/dist/chunks/cli-1.0.4-rmrpsgq6.mjs +24 -0
- package/dist/chunks/cli-1.0.4-rntkbdpm.mjs +2 -0
- package/dist/chunks/cli-1.0.4-rsdrrjzt.mjs +4 -0
- package/dist/chunks/cli-1.0.4-rtwmycp0.mjs +2 -0
- package/dist/chunks/cli-1.0.4-s4sdhvre.mjs +2 -0
- package/dist/chunks/cli-1.0.4-s6m720bj.mjs +2 -0
- package/dist/chunks/cli-1.0.4-s8qwtd3t.mjs +2 -0
- package/dist/chunks/cli-1.0.4-scpa8zjb.mjs +2 -0
- package/dist/chunks/cli-1.0.4-sm5wfdec.mjs +2 -0
- package/dist/chunks/cli-1.0.4-t0zs4sf6.mjs +2 -0
- package/dist/chunks/cli-1.0.4-t915kvpv.mjs +2 -0
- package/dist/chunks/cli-1.0.4-th3f10e2.mjs +2 -0
- package/dist/chunks/cli-1.0.4-tt7ejrct.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ttn7e3zf.mjs +3 -0
- package/dist/chunks/cli-1.0.4-v2973j5k.mjs +15 -0
- package/dist/chunks/cli-1.0.4-vckzcaj2.mjs +2 -0
- package/dist/chunks/cli-1.0.4-vde8kvg5.mjs +4 -0
- package/dist/chunks/cli-1.0.4-vdykgt7q.mjs +2 -0
- package/dist/chunks/cli-1.0.4-vnf5ysx9.mjs +3 -0
- package/dist/chunks/cli-1.0.4-vpcfce7x.mjs +6 -0
- package/dist/chunks/cli-1.0.4-vrfgjvj8.mjs +15 -0
- package/dist/chunks/cli-1.0.4-vwwq0bh3.mjs +2 -0
- package/dist/chunks/cli-1.0.4-vxb33mtd.mjs +4 -0
- package/dist/chunks/cli-1.0.4-w6bsa7jc.mjs +2 -0
- package/dist/chunks/cli-1.0.4-wb91dheq.mjs +2 -0
- package/dist/chunks/cli-1.0.4-wfx4vdv5.mjs +2 -0
- package/dist/chunks/cli-1.0.4-wryebn9y.mjs +2 -0
- package/dist/chunks/cli-1.0.4-x4szzhgq.mjs +2 -0
- package/dist/chunks/cli-1.0.4-x8jnn75c.mjs +2 -0
- package/dist/chunks/cli-1.0.4-xcegbj23.mjs +21 -0
- package/dist/chunks/cli-1.0.4-xjef6vra.mjs +2 -0
- package/dist/chunks/cli-1.0.4-xwh8sxe6.mjs +45 -0
- package/dist/chunks/cli-1.0.4-xwwr77p3.mjs +2 -0
- package/dist/chunks/cli-1.0.4-xxktmt2a.mjs +2 -0
- package/dist/chunks/cli-1.0.4-y1kvcxph.mjs +2 -0
- package/dist/chunks/cli-1.0.4-y8a3yd57.mjs +2 -0
- package/dist/chunks/cli-1.0.4-y9e53xfp.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ya22eazw.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ya3aqyvx.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ygedgw05.mjs +2 -0
- package/dist/chunks/cli-1.0.4-yp6300fv.mjs +2 -0
- package/dist/chunks/cli-1.0.4-yq119gwk.mjs +2 -0
- package/dist/chunks/cli-1.0.4-yq19e16e.mjs +4 -0
- package/dist/chunks/cli-1.0.4-yq6mh0a1.mjs +2 -0
- package/dist/chunks/cli-1.0.4-yrgjsn2v.mjs +17 -0
- package/dist/chunks/cli-1.0.4-ywnv6aw8.mjs +2 -0
- package/dist/chunks/cli-1.0.4-z10ppvxj.mjs +133 -0
- package/dist/chunks/cli-1.0.4-z5zmw573.mjs +2 -0
- package/dist/chunks/cli-1.0.4-zcjfmcay.mjs +2 -0
- package/dist/chunks/cli-1.0.4-zka0z8g9.mjs +2 -0
- package/dist/chunks/cli-1.0.4-znj63zs7.mjs +2 -0
- package/dist/chunks/cli-1.0.4-znmw4kr8.mjs +2 -0
- package/dist/chunks/cli-1.0.4-zpvxzd77.mjs +2 -0
- package/dist/chunks/cli-1.0.4-ztznpg9h.mjs +2 -0
- package/dist/chunks/client-1.0.4-tejrj09r.mjs +1 -0
- package/dist/chunks/color-1.0.4-148b97be.mjs +1 -0
- package/dist/chunks/compact-1.0.4-ky0tgnkb.mjs +3 -0
- package/dist/chunks/config-1.0.4-a5enjc0b.mjs +1 -0
- package/dist/chunks/config-1.0.4-q23nqw9d.mjs +1 -0
- package/dist/chunks/constants-1.0.4-635bzfez.mjs +1 -0
- package/dist/chunks/context-1.0.4-fmdfyxfk.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.4-j208qvff.mjs +1 -0
- package/dist/chunks/conversation-1.0.4-mjwd6es3.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.4-w8cpfvcn.mjs +1 -0
- package/dist/chunks/copy-1.0.4-3zg2v8v9.mjs +9 -0
- package/dist/chunks/cost-1.0.4-qbz07cgt.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.4-ck0pjj64.mjs +1 -0
- package/dist/chunks/createSession-1.0.4-zn5jgf43.mjs +1 -0
- package/dist/chunks/debug-1.0.4-dym46dbc.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.4-7b6ynz02.mjs +1446 -0
- package/dist/chunks/desktop-1.0.4-b1awqagy.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.4-5ce0vhvf.mjs +1 -0
- package/dist/chunks/detection-1.0.4-02gwawhp.mjs +1 -0
- package/dist/chunks/diff-1.0.4-pn4a7wgt.mjs +1 -0
- package/dist/chunks/doctor-1.0.4-79m6h5bd.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.4-kxmkxpsz.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.4-xg5zcr37.mjs +1 -0
- package/dist/chunks/effort-1.0.4-8sdpyadq.mjs +10 -0
- package/dist/chunks/engine-1.0.4-wrn82cfg.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.4-x998nrnt.mjs +1 -0
- package/dist/chunks/envUtils-1.0.4-957dzgjm.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.4-06vjqsxt.mjs +1 -0
- package/dist/chunks/environments-1.0.4-4tzw2x67.mjs +1 -0
- package/dist/chunks/errors-1.0.4-tb1hnmsh.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.4-hp5tyv1s.mjs +1 -0
- package/dist/chunks/exit-1.0.4-0e0pjfe4.mjs +1 -0
- package/dist/chunks/explorer-1.0.4-kzv9mf71.mjs +1 -0
- package/dist/chunks/export-1.0.4-8yb3xjhz.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.4-ren9nv10.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.4-s9hgaf3d.mjs +1 -0
- package/dist/chunks/fast-1.0.4-qb539j3d.mjs +1 -0
- package/dist/chunks/feedback-1.0.4-99yaf8cc.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.4-qj82we89.mjs +1 -0
- package/dist/chunks/git-1.0.4-ag4cdf47.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.4-62p8s6py.mjs +1 -0
- package/dist/chunks/goal-1.0.4-w76hde3j.mjs +4 -0
- package/dist/chunks/grove-1.0.4-d8k5pbpk.mjs +1 -0
- package/dist/chunks/growthbook-1.0.4-qkc749a9.mjs +1 -0
- package/dist/chunks/headless-1.0.4-4htsajcx.mjs +2 -0
- package/dist/chunks/heapdump-1.0.4-g2n5m54n.mjs +6 -0
- package/dist/chunks/help-1.0.4-mb80yzdd.mjs +1 -0
- package/dist/chunks/hookChains-1.0.4-bhpn5t16.mjs +3 -0
- package/dist/chunks/hooks-1.0.4-3m8at5nd.mjs +1 -0
- package/dist/chunks/hooks-1.0.4-vqe5g9z0.mjs +79 -0
- package/dist/chunks/ide-1.0.4-8w5pj0k7.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.4-tn6ykvgm.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.4-gs14tq2d.mjs +1 -0
- package/dist/chunks/index-1.0.4-0ds0yar8.mjs +2 -0
- package/dist/chunks/index-1.0.4-0swpjsxv.mjs +1 -0
- package/dist/chunks/index-1.0.4-1adr1cev.mjs +1 -0
- package/dist/chunks/index-1.0.4-2cqwak8f.mjs +1 -0
- package/dist/chunks/index-1.0.4-45r2p2fr.mjs +1 -0
- package/dist/chunks/index-1.0.4-578fqjbt.mjs +5 -0
- package/dist/chunks/index-1.0.4-ak4tdd7x.mjs +1 -0
- package/dist/chunks/index-1.0.4-bq00jtej.mjs +1 -0
- package/dist/chunks/index-1.0.4-d3963jrf.mjs +1 -0
- package/dist/chunks/index-1.0.4-db6y9w6p.mjs +9 -0
- package/dist/chunks/index-1.0.4-eqa6324a.mjs +30 -0
- package/dist/chunks/index-1.0.4-fgtct7wa.mjs +1 -0
- package/dist/chunks/index-1.0.4-fpxnv2m3.mjs +1 -0
- package/dist/chunks/index-1.0.4-kkxqenx5.mjs +17 -0
- package/dist/chunks/index-1.0.4-m48vcxbj.mjs +2 -0
- package/dist/chunks/index-1.0.4-nb8rr4xb.mjs +9 -0
- package/dist/chunks/index-1.0.4-q4bjsgf0.mjs +1 -0
- package/dist/chunks/index-1.0.4-qj0raz1t.mjs +1 -0
- package/dist/chunks/index-1.0.4-rb8h15jh.mjs +1 -0
- package/dist/chunks/index-1.0.4-vhzdmbc5.mjs +1 -0
- package/dist/chunks/index-1.0.4-xadhy3m9.mjs +1 -0
- package/dist/chunks/index-1.0.4-ynqjejnh.mjs +1 -0
- package/dist/chunks/index-1.0.4-zw32d5rq.mjs +1 -0
- package/dist/chunks/init-1.0.4-tdv5z99g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.4-rg2exhh0.mjs +1 -0
- package/dist/chunks/ink-1.0.4-w371tr8m.mjs +1 -0
- package/dist/chunks/insights-1.0.4-26m6wmhe.mjs +870 -0
- package/dist/chunks/install-1.0.4-k86wrfgy.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.4-kztkmzd8.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.4-jr818vd2.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.4-07hsrhzg.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.4-s8cew0a4.mjs +1 -0
- package/dist/chunks/keybindings-1.0.4-swcsebxv.mjs +2 -0
- package/dist/chunks/knowledge-1.0.4-fmpjrqf4.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.4-q89arrb0.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.4-7pg9fk0z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.4-djam30bs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.4-nntzjww6.mjs +1 -0
- package/dist/chunks/log-1.0.4-q4mkknks.mjs +1 -0
- package/dist/chunks/main-1.0.4-fpq69x53.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.4-50dv7phy.mjs +1 -0
- package/dist/chunks/mcp-1.0.4-3fp6t13e.mjs +1 -0
- package/dist/chunks/mcp-1.0.4-5g0fetmg.mjs +17 -0
- package/dist/chunks/mcp-1.0.4-v67mxtdh.mjs +4 -0
- package/dist/chunks/mcpb-1.0.4-bg0cf4nd.mjs +1 -0
- package/dist/chunks/memory-1.0.4-a5sjkye9.mjs +3 -0
- package/dist/chunks/model-1.0.4-7q33dte0.mjs +2 -0
- package/dist/chunks/model-1.0.4-ffc1hzwk.mjs +1 -0
- package/dist/chunks/node-1.0.4-t61fwtvv.mjs +12 -0
- package/dist/chunks/oauth-1.0.4-wa2f4qb5.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.4-j74991mr.mjs +14 -0
- package/dist/chunks/output-style-1.0.4-rrajfa4e.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.4-y2hbwj02.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.4-1krmb0p7.mjs +1 -0
- package/dist/chunks/parser-1.0.4-e0yxtz1k.mjs +1 -0
- package/dist/chunks/passes-1.0.4-kvwashgz.mjs +1 -0
- package/dist/chunks/permissions-1.0.4-apdtqjy6.mjs +3 -0
- package/dist/chunks/permissions-1.0.4-pmabr578.mjs +1 -0
- package/dist/chunks/plan-1.0.4-fsnspnpd.mjs +1 -0
- package/dist/chunks/plist-1.0.4-de9w52d2.mjs +1 -0
- package/dist/chunks/plugin-1.0.4-kaxanxvg.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.4-avqbmty1.mjs +1 -0
- package/dist/chunks/plugins-1.0.4-h4238mxy.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.4-hkk5ypj1.mjs +2 -0
- package/dist/chunks/print-1.0.4-zg0pxx71.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.4-7td5d9xf.mjs +1 -0
- package/dist/chunks/process-1.0.4-trh5g80m.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.4-vhq5y4b0.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.4-27w0dvzd.mjs +9 -0
- package/dist/chunks/prompt-1.0.4-1j8n4q6b.mjs +1 -0
- package/dist/chunks/prompt-1.0.4-p1dmdqgx.mjs +1 -0
- package/dist/chunks/prompts-1.0.4-an41ccab.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.4-6pyn2eqy.mjs +13 -0
- package/dist/chunks/provider-1.0.4-xz9x5xsf.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.4-qmtqnwxj.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.4-5yhz71te.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.4-71w1mhp8.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.4-k68vcvz1.mjs +34 -0
- package/dist/chunks/registry-1.0.4-5am2gh2r.mjs +1 -0
- package/dist/chunks/release-notes-1.0.4-72dkmwym.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.4-6eyjpyz7.mjs +2 -0
- package/dist/chunks/remote-env-1.0.4-6a8j2qxd.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.4-ddgvhxxp.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.4-3eztyv3e.mjs +1 -0
- package/dist/chunks/rename-1.0.4-te7rrrfc.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.4-16sm66q5.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.4-mt8zvgft.mjs +1 -0
- package/dist/chunks/resume-1.0.4-sya6c2c8.mjs +2 -0
- package/dist/chunks/rewind-1.0.4-v0yww1mv.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.4-t1drtsae.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.4-q641tp0g.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.4-c1033f07.mjs +1 -0
- package/dist/chunks/session-1.0.4-4fb52nd1.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.4-0e0rnehv.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.4-vk3q8gh9.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.4-eh1zevz7.mjs +1 -0
- package/dist/chunks/settings-1.0.4-0jpahg4j.mjs +1 -0
- package/dist/chunks/setup-1.0.4-p9hdn98q.mjs +5 -0
- package/dist/chunks/sinks-1.0.4-hs2rw9fa.mjs +1 -0
- package/dist/chunks/skills-1.0.4-www28gn6.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.4-tngewr6e.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.4-w114jwx9.mjs +1 -0
- package/dist/chunks/state-1.0.4-w3xv2kmh.mjs +1 -0
- package/dist/chunks/stats-1.0.4-3vm0apd0.mjs +6 -0
- package/dist/chunks/status-1.0.4-zymfx8mp.mjs +1 -0
- package/dist/chunks/stickers-1.0.4-jwgnam2a.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.4-3vgqj8gm.mjs +1 -0
- package/dist/chunks/tasks-1.0.4-hy7y09mg.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.4-53nq46v0.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.4-3wmvsb1r.mjs +1 -0
- package/dist/chunks/teleport-1.0.4-x93h61td.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.4-fh0en1t5.mjs +1 -0
- package/dist/chunks/theme-1.0.4-wr0m9bga.mjs +1 -0
- package/dist/chunks/thinkback-1.0.4-75kht0mq.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.4-1b1645q9.mjs +1 -0
- package/dist/chunks/toolPool-1.0.4-q895eqqt.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.4-3247wmxa.mjs +1 -0
- package/dist/chunks/tools-1.0.4-606qnn5t.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.4-c2380whv.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.4-43jppw9w.mjs +69 -0
- package/dist/chunks/types-1.0.4-1kpkjthf.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.4-5v4tpqbq.mjs +4 -0
- package/dist/chunks/update-1.0.4-0hj0c9x8.mjs +86 -0
- package/dist/chunks/upgrade-1.0.4-sfxyr5z4.mjs +1 -0
- package/dist/chunks/upload-1.0.4-bcjf0cbz.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.4-t76haqj3.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.4-nn0e71sf.mjs +1 -0
- package/dist/chunks/usage-1.0.4-hh2n5we9.mjs +1 -0
- package/dist/chunks/util-1.0.4-3cjy2f82.mjs +1 -0
- package/dist/chunks/utils-1.0.4-3cv1bh5y.mjs +1 -0
- package/dist/chunks/vim-1.0.4-26wbsc0p.mjs +1 -0
- package/dist/chunks/watcher-1.0.4-ygqk3k29.mjs +1 -0
- package/dist/chunks/wiki-1.0.4-jdevf4fv.mjs +132 -0
- package/dist/chunks/workflows-1.0.4-mg9ts0qs.mjs +1 -0
- package/dist/chunks/worktree-1.0.4-6849hcw1.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.4-3m5c48st.mjs +1 -0
- package/dist/chunks/wrapper-1.0.4-4czm72m1.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +208 -0
- package/package.json +29 -136
- package/LICENSE +0 -30
- package/bin/claudin +0 -272
- package/dist/chunks/AgentTool-1.0.0-ntq52h6d.mjs +0 -1
- package/dist/chunks/App-1.0.0-pq8rbd4e.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.0-qe6dcyn9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.0-3hw45tcb.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.0-heb61shk.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.0-2g2zgabd.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.0-mnzm8hbn.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.0-y9z3jw7z.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.0-kk3pcd26.mjs +0 -7
- package/dist/chunks/Doctor-1.0.0-755sk8gj.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.0-f8bm4stx.mjs +0 -6
- package/dist/chunks/Grove-1.0.0-bn4z4dsn.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.0-3p9db73m.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.0-np4sfyve.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.0-b0zeynpx.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.0-sa0s6hcj.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.0-tk33ftr2.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.0-www0a3q2.mjs +0 -1
- package/dist/chunks/REPL-1.0.0-5fpk6x08.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.0-4z48k6yg.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.0-zkz0m3fe.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.0-1aezaedk.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.0-2j7rw18b.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.0-pz7z1pgn.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.0-vjdyrm0y.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.0-jhpa1rj3.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.0-3j85d31j.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.0-7t1gywpg.mjs +0 -1
- package/dist/chunks/add-dir-1.0.0-nhb09mp0.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.0-31h34p6s.mjs +0 -1
- package/dist/chunks/agents-1.0.0-ftn4r7nc.mjs +0 -3
- package/dist/chunks/agents-1.0.0-wxrayd6g.mjs +0 -110
- package/dist/chunks/api-1.0.0-hbcyzns8.mjs +0 -1
- package/dist/chunks/asciicast-1.0.0-m7j1gd58.mjs +0 -1
- package/dist/chunks/assistant-1.0.0-ny2wjcg4.mjs +0 -1
- package/dist/chunks/auth-1.0.0-3fw6yc7q.mjs +0 -1
- package/dist/chunks/auth-1.0.0-fmsdk0rx.mjs +0 -1
- package/dist/chunks/autoMode-1.0.0-wdwejfdz.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.0-bn5c22pn.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.0-kpkedkt2.mjs +0 -1
- package/dist/chunks/branch-1.0.0-8ggpsnh8.mjs +0 -4
- package/dist/chunks/bridge-1.0.0-yh1c4dwr.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.0-xst6e45g.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.0-hjnyabkn.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.0-ae0hh4es.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.0-tgpvkh92.mjs +0 -1
- package/dist/chunks/btw-1.0.0-ajt0vjm0.mjs +0 -1
- package/dist/chunks/buddy-1.0.0-e2gfjpdn.mjs +0 -3
- package/dist/chunks/cacache-1.0.0-7dtxeghv.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.0-cmxc1d7r.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.0-z8dgs0e9.mjs +0 -4
- package/dist/chunks/caches-1.0.0-gvcmrap6.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.0-2vtaxmda.mjs +0 -1
- package/dist/chunks/claudemd-1.0.0-akcqxpe0.mjs +0 -1
- package/dist/chunks/clear-1.0.0-62qzgrfe.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.0-aqvjkfa4.mjs +0 -1
- package/dist/chunks/cli-1.0.0-0dqeaz06.mjs +0 -2
- package/dist/chunks/cli-1.0.0-0kyhvhc6.mjs +0 -2
- package/dist/chunks/cli-1.0.0-0m6s3jt3.mjs +0 -2
- package/dist/chunks/cli-1.0.0-0p8bwg81.mjs +0 -2
- package/dist/chunks/cli-1.0.0-0x4h2sfq.mjs +0 -3
- package/dist/chunks/cli-1.0.0-12y1q97z.mjs +0 -2
- package/dist/chunks/cli-1.0.0-1bt8054k.mjs +0 -8
- package/dist/chunks/cli-1.0.0-1q0yqt9x.mjs +0 -2
- package/dist/chunks/cli-1.0.0-1x587n9v.mjs +0 -2
- package/dist/chunks/cli-1.0.0-28qtk65x.mjs +0 -2
- package/dist/chunks/cli-1.0.0-297t0qb9.mjs +0 -2
- package/dist/chunks/cli-1.0.0-29a7q2zb.mjs +0 -2
- package/dist/chunks/cli-1.0.0-2a3rav9m.mjs +0 -2
- package/dist/chunks/cli-1.0.0-2c2dsvya.mjs +0 -39
- package/dist/chunks/cli-1.0.0-2f0cvt2p.mjs +0 -133
- package/dist/chunks/cli-1.0.0-2nvg7hgb.mjs +0 -2
- package/dist/chunks/cli-1.0.0-35dzz6zy.mjs +0 -2
- package/dist/chunks/cli-1.0.0-3d490aq5.mjs +0 -18
- package/dist/chunks/cli-1.0.0-3e1zzw2m.mjs +0 -5
- package/dist/chunks/cli-1.0.0-3eq56cz0.mjs +0 -2
- package/dist/chunks/cli-1.0.0-3gd6wkw6.mjs +0 -2
- package/dist/chunks/cli-1.0.0-3jv0xeqb.mjs +0 -5471
- package/dist/chunks/cli-1.0.0-3kakpmsw.mjs +0 -2
- package/dist/chunks/cli-1.0.0-3qrwy40k.mjs +0 -2
- package/dist/chunks/cli-1.0.0-3yzpgsfy.mjs +0 -10
- package/dist/chunks/cli-1.0.0-45ac6b6k.mjs +0 -2
- package/dist/chunks/cli-1.0.0-45z8brfz.mjs +0 -2
- package/dist/chunks/cli-1.0.0-46ah6a0n.mjs +0 -2
- package/dist/chunks/cli-1.0.0-48ghprgx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-4tct38wk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-4yjxekjw.mjs +0 -2
- package/dist/chunks/cli-1.0.0-51wmpx7c.mjs +0 -5
- package/dist/chunks/cli-1.0.0-5e3vbyk9.mjs +0 -133
- package/dist/chunks/cli-1.0.0-5ezvw655.mjs +0 -2
- package/dist/chunks/cli-1.0.0-5kgtgydk.mjs +0 -4
- package/dist/chunks/cli-1.0.0-5vhgrhcv.mjs +0 -3
- package/dist/chunks/cli-1.0.0-5w5nt80s.mjs +0 -2
- package/dist/chunks/cli-1.0.0-5x9hk2tv.mjs +0 -4
- package/dist/chunks/cli-1.0.0-62vc4cav.mjs +0 -2
- package/dist/chunks/cli-1.0.0-64nxj808.mjs +0 -2
- package/dist/chunks/cli-1.0.0-69wwn8fm.mjs +0 -2
- package/dist/chunks/cli-1.0.0-6fjfz856.mjs +0 -3
- package/dist/chunks/cli-1.0.0-6krf0eds.mjs +0 -45
- package/dist/chunks/cli-1.0.0-6m5b3qer.mjs +0 -4
- package/dist/chunks/cli-1.0.0-6pspgzt0.mjs +0 -25
- package/dist/chunks/cli-1.0.0-6pzwhya1.mjs +0 -2
- package/dist/chunks/cli-1.0.0-71121zr3.mjs +0 -24
- package/dist/chunks/cli-1.0.0-77vk468r.mjs +0 -2
- package/dist/chunks/cli-1.0.0-79g0drwx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7apq9k1c.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7bq8c23g.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7bwjq7kx.mjs +0 -18
- package/dist/chunks/cli-1.0.0-7j0wzrc8.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7sjrgxed.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7svyqyyr.mjs +0 -2
- package/dist/chunks/cli-1.0.0-7xw741kc.mjs +0 -3
- package/dist/chunks/cli-1.0.0-8bfmpb27.mjs +0 -4
- package/dist/chunks/cli-1.0.0-8ec1jzr8.mjs +0 -199
- package/dist/chunks/cli-1.0.0-8regfprj.mjs +0 -3
- package/dist/chunks/cli-1.0.0-8z0fg9j4.mjs +0 -2
- package/dist/chunks/cli-1.0.0-90kvzvgh.mjs +0 -2
- package/dist/chunks/cli-1.0.0-93cwkf4z.mjs +0 -24
- package/dist/chunks/cli-1.0.0-9685x1yk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-98eh4zrk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-9xst6qgq.mjs +0 -15
- package/dist/chunks/cli-1.0.0-9y1mbt32.mjs +0 -3
- package/dist/chunks/cli-1.0.0-abpbfhzx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-ac7bwh96.mjs +0 -2
- package/dist/chunks/cli-1.0.0-acmjhzf5.mjs +0 -3
- package/dist/chunks/cli-1.0.0-annneepc.mjs +0 -2
- package/dist/chunks/cli-1.0.0-aqy9kydk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-ar6eqxs2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-b06n54f5.mjs +0 -2
- package/dist/chunks/cli-1.0.0-b4fv5ph0.mjs +0 -5
- package/dist/chunks/cli-1.0.0-be8kad81.mjs +0 -2
- package/dist/chunks/cli-1.0.0-bh3rbgwa.mjs +0 -2
- package/dist/chunks/cli-1.0.0-br6mz00q.mjs +0 -2
- package/dist/chunks/cli-1.0.0-c2zj0m2f.mjs +0 -2
- package/dist/chunks/cli-1.0.0-c85jytxy.mjs +0 -2
- package/dist/chunks/cli-1.0.0-cmjm08rk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-d1scp5yg.mjs +0 -2
- package/dist/chunks/cli-1.0.0-d41qrhvs.mjs +0 -21
- package/dist/chunks/cli-1.0.0-dhcpzb62.mjs +0 -2
- package/dist/chunks/cli-1.0.0-dj8ks410.mjs +0 -2
- package/dist/chunks/cli-1.0.0-djwczpdt.mjs +0 -3
- package/dist/chunks/cli-1.0.0-djwtsj09.mjs +0 -2
- package/dist/chunks/cli-1.0.0-dpt31cjd.mjs +0 -2
- package/dist/chunks/cli-1.0.0-dwvkm03p.mjs +0 -2
- package/dist/chunks/cli-1.0.0-dy7maxwy.mjs +0 -2
- package/dist/chunks/cli-1.0.0-e5rww26x.mjs +0 -4
- package/dist/chunks/cli-1.0.0-ecgsk85a.mjs +0 -12
- package/dist/chunks/cli-1.0.0-en8a1449.mjs +0 -2
- package/dist/chunks/cli-1.0.0-etm3m8cy.mjs +0 -2
- package/dist/chunks/cli-1.0.0-eyetzqvg.mjs +0 -2
- package/dist/chunks/cli-1.0.0-f3ch7bmk.mjs +0 -12
- package/dist/chunks/cli-1.0.0-f5jmp5qb.mjs +0 -2
- package/dist/chunks/cli-1.0.0-f5tk5y04.mjs +0 -2
- package/dist/chunks/cli-1.0.0-f7acpaw9.mjs +0 -2
- package/dist/chunks/cli-1.0.0-fm59p5cc.mjs +0 -2
- package/dist/chunks/cli-1.0.0-fmr252y0.mjs +0 -2
- package/dist/chunks/cli-1.0.0-fp9r0gjz.mjs +0 -2
- package/dist/chunks/cli-1.0.0-g3a9cmzg.mjs +0 -25
- package/dist/chunks/cli-1.0.0-g94rd2t7.mjs +0 -2
- package/dist/chunks/cli-1.0.0-gnw5mz7s.mjs +0 -2
- package/dist/chunks/cli-1.0.0-gp1bafm1.mjs +0 -67
- package/dist/chunks/cli-1.0.0-h2rrpewm.mjs +0 -4
- package/dist/chunks/cli-1.0.0-h4wrm2nz.mjs +0 -2
- package/dist/chunks/cli-1.0.0-h4zeh5x3.mjs +0 -2
- package/dist/chunks/cli-1.0.0-har4xp9r.mjs +0 -58
- package/dist/chunks/cli-1.0.0-hdjps260.mjs +0 -2
- package/dist/chunks/cli-1.0.0-hxn439m2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-j78e3zc8.mjs +0 -2
- package/dist/chunks/cli-1.0.0-j7jbk9h5.mjs +0 -2
- package/dist/chunks/cli-1.0.0-j9yctg5n.mjs +0 -3
- package/dist/chunks/cli-1.0.0-jgsn1xsa.mjs +0 -2
- package/dist/chunks/cli-1.0.0-jrp8z07z.mjs +0 -17
- package/dist/chunks/cli-1.0.0-jv1yvfcg.mjs +0 -2
- package/dist/chunks/cli-1.0.0-k43d4ehr.mjs +0 -2
- package/dist/chunks/cli-1.0.0-k89fvwg0.mjs +0 -2
- package/dist/chunks/cli-1.0.0-ke4cpjmt.mjs +0 -2
- package/dist/chunks/cli-1.0.0-kkb4bnm5.mjs +0 -2
- package/dist/chunks/cli-1.0.0-kzvt11ce.mjs +0 -2
- package/dist/chunks/cli-1.0.0-kzyp3fra.mjs +0 -42
- package/dist/chunks/cli-1.0.0-m36981m8.mjs +0 -3
- package/dist/chunks/cli-1.0.0-m541fwsh.mjs +0 -50
- package/dist/chunks/cli-1.0.0-m5qbgck6.mjs +0 -2
- package/dist/chunks/cli-1.0.0-mer12fv2.mjs +0 -7
- package/dist/chunks/cli-1.0.0-mjz09r1b.mjs +0 -2
- package/dist/chunks/cli-1.0.0-mtcg2tan.mjs +0 -6
- package/dist/chunks/cli-1.0.0-mweaysdm.mjs +0 -18
- package/dist/chunks/cli-1.0.0-mwqc8gcg.mjs +0 -2
- package/dist/chunks/cli-1.0.0-napcq3jr.mjs +0 -3
- package/dist/chunks/cli-1.0.0-nc2a4f04.mjs +0 -2
- package/dist/chunks/cli-1.0.0-npyj0h2z.mjs +0 -2
- package/dist/chunks/cli-1.0.0-nqwkmsqy.mjs +0 -4
- package/dist/chunks/cli-1.0.0-p70q12n6.mjs +0 -2
- package/dist/chunks/cli-1.0.0-pfcwdzpj.mjs +0 -2
- package/dist/chunks/cli-1.0.0-pgcwemmr.mjs +0 -2
- package/dist/chunks/cli-1.0.0-pk60w3x2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-pqbmdf25.mjs +0 -2
- package/dist/chunks/cli-1.0.0-py32djr3.mjs +0 -2
- package/dist/chunks/cli-1.0.0-q07kd3bg.mjs +0 -20
- package/dist/chunks/cli-1.0.0-q71pvcjq.mjs +0 -2
- package/dist/chunks/cli-1.0.0-q8pp6wqj.mjs +0 -2
- package/dist/chunks/cli-1.0.0-qa2wbmrn.mjs +0 -17
- package/dist/chunks/cli-1.0.0-qgd6evsp.mjs +0 -15
- package/dist/chunks/cli-1.0.0-qgjtkwn2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-qsa78b35.mjs +0 -6
- package/dist/chunks/cli-1.0.0-r010aq2t.mjs +0 -12
- package/dist/chunks/cli-1.0.0-r11e9bqb.mjs +0 -2
- package/dist/chunks/cli-1.0.0-r5d672mf.mjs +0 -2
- package/dist/chunks/cli-1.0.0-rakrrkxm.mjs +0 -3
- package/dist/chunks/cli-1.0.0-rjz9xjd7.mjs +0 -2
- package/dist/chunks/cli-1.0.0-rk8cxn4f.mjs +0 -2
- package/dist/chunks/cli-1.0.0-rp88rgyq.mjs +0 -59
- package/dist/chunks/cli-1.0.0-rqxtzh9t.mjs +0 -2
- package/dist/chunks/cli-1.0.0-rr2vc5j8.mjs +0 -2
- package/dist/chunks/cli-1.0.0-s1nys8bh.mjs +0 -2
- package/dist/chunks/cli-1.0.0-s5zrbn45.mjs +0 -12
- package/dist/chunks/cli-1.0.0-s64ptatp.mjs +0 -2
- package/dist/chunks/cli-1.0.0-scn3v1zj.mjs +0 -34
- package/dist/chunks/cli-1.0.0-sd453erk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-sf4v7jmd.mjs +0 -2
- package/dist/chunks/cli-1.0.0-ssk9d65p.mjs +0 -6
- package/dist/chunks/cli-1.0.0-st65n1ar.mjs +0 -2
- package/dist/chunks/cli-1.0.0-staaeymp.mjs +0 -16
- package/dist/chunks/cli-1.0.0-t423sc3h.mjs +0 -2
- package/dist/chunks/cli-1.0.0-t9nh06qh.mjs +0 -2
- package/dist/chunks/cli-1.0.0-tejk4tf3.mjs +0 -2
- package/dist/chunks/cli-1.0.0-tjde6y9j.mjs +0 -2
- package/dist/chunks/cli-1.0.0-tjdynh97.mjs +0 -4
- package/dist/chunks/cli-1.0.0-tzhphp4x.mjs +0 -2
- package/dist/chunks/cli-1.0.0-vbj6f50v.mjs +0 -2
- package/dist/chunks/cli-1.0.0-vhqghvhx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-vm8h1nre.mjs +0 -2
- package/dist/chunks/cli-1.0.0-vp4cqpk2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-vt4s6vpx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-w19t2tz4.mjs +0 -1
- package/dist/chunks/cli-1.0.0-w3jaj9sn.mjs +0 -2
- package/dist/chunks/cli-1.0.0-w7rfh3wx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-wc4nnsk9.mjs +0 -4
- package/dist/chunks/cli-1.0.0-wczp00vm.mjs +0 -2
- package/dist/chunks/cli-1.0.0-wj4q452x.mjs +0 -2
- package/dist/chunks/cli-1.0.0-wmm9nh9b.mjs +0 -3
- package/dist/chunks/cli-1.0.0-wqjc5jyn.mjs +0 -9
- package/dist/chunks/cli-1.0.0-wr4ttz3n.mjs +0 -2
- package/dist/chunks/cli-1.0.0-wredqw14.mjs +0 -4
- package/dist/chunks/cli-1.0.0-wxv95d7v.mjs +0 -2
- package/dist/chunks/cli-1.0.0-xbf5n35v.mjs +0 -2
- package/dist/chunks/cli-1.0.0-xch50hc2.mjs +0 -6
- package/dist/chunks/cli-1.0.0-xpmk1ba7.mjs +0 -2
- package/dist/chunks/cli-1.0.0-xtkm872y.mjs +0 -2
- package/dist/chunks/cli-1.0.0-yrf5zg67.mjs +0 -15
- package/dist/chunks/cli-1.0.0-yvkqq8eh.mjs +0 -24
- package/dist/chunks/cli-1.0.0-yynk31bk.mjs +0 -2
- package/dist/chunks/cli-1.0.0-z0twvqze.mjs +0 -2
- package/dist/chunks/cli-1.0.0-z86atemf.mjs +0 -2
- package/dist/chunks/cli-1.0.0-zbmxyhrx.mjs +0 -2
- package/dist/chunks/cli-1.0.0-zj9rdzv2.mjs +0 -2
- package/dist/chunks/cli-1.0.0-zkamzpzd.mjs +0 -2
- package/dist/chunks/client-1.0.0-xccnp4kr.mjs +0 -1
- package/dist/chunks/color-1.0.0-fdeey90k.mjs +0 -1
- package/dist/chunks/compact-1.0.0-emaxjn6h.mjs +0 -3
- package/dist/chunks/config-1.0.0-4v7thqrr.mjs +0 -1
- package/dist/chunks/config-1.0.0-zqmh15zn.mjs +0 -1
- package/dist/chunks/constants-1.0.0-sfnb9ybm.mjs +0 -1
- package/dist/chunks/context-1.0.0-69xw60d6.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.0-03yaakw2.mjs +0 -1
- package/dist/chunks/conversation-1.0.0-7ksv0b51.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.0-0tgt3mar.mjs +0 -1
- package/dist/chunks/copy-1.0.0-pzzbqfb6.mjs +0 -9
- package/dist/chunks/cost-1.0.0-9pqj2ew4.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.0-ygt1rzrh.mjs +0 -1
- package/dist/chunks/createSession-1.0.0-z5m6g5cc.mjs +0 -1
- package/dist/chunks/debug-1.0.0-h8tsaat2.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.0-ak70f3es.mjs +0 -1446
- package/dist/chunks/desktop-1.0.0-ze0rr70s.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.0-9v1y5vt2.mjs +0 -1
- package/dist/chunks/detection-1.0.0-0ymw9h4g.mjs +0 -1
- package/dist/chunks/diff-1.0.0-898gnz7a.mjs +0 -1
- package/dist/chunks/doctor-1.0.0-6gjxtnzk.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.0-ak3358qg.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.0-9np715kz.mjs +0 -1
- package/dist/chunks/effort-1.0.0-hdqhyqe1.mjs +0 -10
- package/dist/chunks/engine-1.0.0-4h9qpdat.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.0-2n3g84k9.mjs +0 -1
- package/dist/chunks/envUtils-1.0.0-gmtcf5ah.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.0-49b84j1j.mjs +0 -1
- package/dist/chunks/environments-1.0.0-wgvbgtzh.mjs +0 -1
- package/dist/chunks/errors-1.0.0-fh1d8zmb.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.0-4bcd7r5n.mjs +0 -1
- package/dist/chunks/exit-1.0.0-r63hc1dc.mjs +0 -1
- package/dist/chunks/explorer-1.0.0-saw2vg0z.mjs +0 -1
- package/dist/chunks/export-1.0.0-z607p5hs.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.0-ejd8edpg.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.0-q1dqy04v.mjs +0 -1
- package/dist/chunks/fast-1.0.0-y7tnqj41.mjs +0 -1
- package/dist/chunks/feedback-1.0.0-tk3e1z9n.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.0-r71b7vn5.mjs +0 -1
- package/dist/chunks/git-1.0.0-9wqsr2qa.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.0-tk5f8pvy.mjs +0 -1
- package/dist/chunks/goal-1.0.0-qszqydb1.mjs +0 -4
- package/dist/chunks/grove-1.0.0-m0s7ggvn.mjs +0 -1
- package/dist/chunks/growthbook-1.0.0-arv5fn2h.mjs +0 -1
- package/dist/chunks/headless-1.0.0-meswzvsh.mjs +0 -2
- package/dist/chunks/heapdump-1.0.0-f91a8s85.mjs +0 -6
- package/dist/chunks/help-1.0.0-1fdb6kdg.mjs +0 -1
- package/dist/chunks/hookChains-1.0.0-e7pzez0v.mjs +0 -3
- package/dist/chunks/hooks-1.0.0-eyh2gqps.mjs +0 -1
- package/dist/chunks/hooks-1.0.0-m36t0bwv.mjs +0 -79
- package/dist/chunks/ide-1.0.0-a45jrbns.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.0-n9qvjksa.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.0-0k3ggjjb.mjs +0 -1
- package/dist/chunks/index-1.0.0-0x87b661.mjs +0 -1
- package/dist/chunks/index-1.0.0-12jzjwrf.mjs +0 -1
- package/dist/chunks/index-1.0.0-1kczyxet.mjs +0 -1
- package/dist/chunks/index-1.0.0-1q7wjdcp.mjs +0 -1
- package/dist/chunks/index-1.0.0-35p583e0.mjs +0 -5
- package/dist/chunks/index-1.0.0-4afenhhx.mjs +0 -1
- package/dist/chunks/index-1.0.0-6bpq28pw.mjs +0 -9
- package/dist/chunks/index-1.0.0-9hwag4qs.mjs +0 -1
- package/dist/chunks/index-1.0.0-aajs5s0v.mjs +0 -1
- package/dist/chunks/index-1.0.0-cm1gbgtz.mjs +0 -1
- package/dist/chunks/index-1.0.0-dby08tym.mjs +0 -1
- package/dist/chunks/index-1.0.0-eeyp0gkv.mjs +0 -1
- package/dist/chunks/index-1.0.0-ffjzppt2.mjs +0 -1
- package/dist/chunks/index-1.0.0-h95rvp8v.mjs +0 -2
- package/dist/chunks/index-1.0.0-hb819mjc.mjs +0 -17
- package/dist/chunks/index-1.0.0-j0dsw617.mjs +0 -1
- package/dist/chunks/index-1.0.0-k061j8pm.mjs +0 -1
- package/dist/chunks/index-1.0.0-nc9zj7q7.mjs +0 -1
- package/dist/chunks/index-1.0.0-rjjn0ajb.mjs +0 -9
- package/dist/chunks/index-1.0.0-s3d5ad8r.mjs +0 -1
- package/dist/chunks/index-1.0.0-v2r7cb7k.mjs +0 -2
- package/dist/chunks/index-1.0.0-vdcbsd89.mjs +0 -30
- package/dist/chunks/index-1.0.0-wakr5z2p.mjs +0 -1
- package/dist/chunks/init-1.0.0-yqwagfgg.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.0-0z3jp40b.mjs +0 -1
- package/dist/chunks/ink-1.0.0-f8gtgh6f.mjs +0 -1
- package/dist/chunks/insights-1.0.0-25jmcb16.mjs +0 -870
- package/dist/chunks/install-1.0.0-gr1zdp38.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.0-zrkc4x64.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.0-4ve59vsv.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.0-ek6xg9q7.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.0-s4sbr7g0.mjs +0 -1
- package/dist/chunks/keybindings-1.0.0-g0aveg3f.mjs +0 -2
- package/dist/chunks/knowledge-1.0.0-f9ey2z66.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.0-15prka1s.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.0-6z2k3s42.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.0-6mnwy6c7.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.0-qsqj3hj6.mjs +0 -1
- package/dist/chunks/log-1.0.0-a5a1xjnt.mjs +0 -1
- package/dist/chunks/main-1.0.0-0nmbm00m.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.0-140efz1s.mjs +0 -1
- package/dist/chunks/mcp-1.0.0-jr4w72y9.mjs +0 -1
- package/dist/chunks/mcp-1.0.0-rn41ec11.mjs +0 -4
- package/dist/chunks/mcp-1.0.0-zkhfmd8z.mjs +0 -17
- package/dist/chunks/mcpb-1.0.0-6sfb9ej1.mjs +0 -1
- package/dist/chunks/memory-1.0.0-37w6bxgd.mjs +0 -3
- package/dist/chunks/model-1.0.0-5ax7t010.mjs +0 -2
- package/dist/chunks/model-1.0.0-vc0h6tnp.mjs +0 -1
- package/dist/chunks/node-1.0.0-0sjjakz0.mjs +0 -12
- package/dist/chunks/oauth-1.0.0-xjpfqct6.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.0-h0y24sem.mjs +0 -14
- package/dist/chunks/output-style-1.0.0-2y4p3m2w.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.0-xp874gc5.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.0-5e424bck.mjs +0 -1
- package/dist/chunks/parser-1.0.0-5bw2dabv.mjs +0 -1
- package/dist/chunks/passes-1.0.0-1hw5an0y.mjs +0 -1
- package/dist/chunks/permissions-1.0.0-y7cd1b76.mjs +0 -3
- package/dist/chunks/permissions-1.0.0-yz3kfsp9.mjs +0 -1
- package/dist/chunks/plan-1.0.0-3c6hg8t7.mjs +0 -1
- package/dist/chunks/plist-1.0.0-5kvt3t8e.mjs +0 -1
- package/dist/chunks/plugin-1.0.0-5qwfnnnm.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.0-1mamcvnp.mjs +0 -1
- package/dist/chunks/plugins-1.0.0-bpgkjtj3.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.0-rvnnh09t.mjs +0 -2
- package/dist/chunks/print-1.0.0-44vptjwh.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.0-ad9vfc9j.mjs +0 -1
- package/dist/chunks/process-1.0.0-dfbz10ag.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.0-95dptbrf.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.0-y0cd8ktm.mjs +0 -9
- package/dist/chunks/prompt-1.0.0-5nkyts11.mjs +0 -1
- package/dist/chunks/prompt-1.0.0-m750sc14.mjs +0 -1
- package/dist/chunks/prompts-1.0.0-yra8htke.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.0-7y6wpp13.mjs +0 -13
- package/dist/chunks/provider-1.0.0-52fg53xh.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.0-0tppxprb.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.0-wmykyaet.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.0-h5ep1y3x.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.0-fhxesqta.mjs +0 -34
- package/dist/chunks/registry-1.0.0-a377ezpb.mjs +0 -1
- package/dist/chunks/release-notes-1.0.0-by3y8nsy.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.0-e0edaepa.mjs +0 -2
- package/dist/chunks/remote-env-1.0.0-kx005xj7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.0-gz0dh84p.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.0-2dy8n18d.mjs +0 -1
- package/dist/chunks/rename-1.0.0-k72zv7kp.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.0-y08dx49q.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.0-r2kc80z9.mjs +0 -1
- package/dist/chunks/resume-1.0.0-jtkxpggj.mjs +0 -2
- package/dist/chunks/rewind-1.0.0-k6rq30hm.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.0-36x1070w.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.0-2dtwtw2j.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.0-tcagvw90.mjs +0 -1
- package/dist/chunks/session-1.0.0-rq99e0dg.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.0-hj0n1kre.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.0-w6z6wz16.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.0-2es5ey4x.mjs +0 -1
- package/dist/chunks/settings-1.0.0-qya7xyjk.mjs +0 -1
- package/dist/chunks/setup-1.0.0-ak5hj34y.mjs +0 -5
- package/dist/chunks/sinks-1.0.0-2qtkb9qf.mjs +0 -1
- package/dist/chunks/skills-1.0.0-aj92mfft.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.0-6fxanvvw.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.0-snyfk316.mjs +0 -1
- package/dist/chunks/state-1.0.0-fg5z7kma.mjs +0 -1
- package/dist/chunks/stats-1.0.0-5d06z7x3.mjs +0 -6
- package/dist/chunks/status-1.0.0-jhk2fnne.mjs +0 -1
- package/dist/chunks/stickers-1.0.0-whf68r6d.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.0-fyjqfgdk.mjs +0 -1
- package/dist/chunks/tasks-1.0.0-gk7dvt1v.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.0-y8yt4e97.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.0-jh735d3n.mjs +0 -1
- package/dist/chunks/teleport-1.0.0-bzwkasyj.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.0-2qt7jmby.mjs +0 -1
- package/dist/chunks/theme-1.0.0-816wk46b.mjs +0 -1
- package/dist/chunks/thinkback-1.0.0-pd8j75pe.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.0-12vzc4z7.mjs +0 -1
- package/dist/chunks/toolPool-1.0.0-t2zxxykn.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.0-rbhxbka0.mjs +0 -1
- package/dist/chunks/tools-1.0.0-nrq3vd97.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.0-6g29zvt4.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.0-t4z74ffh.mjs +0 -69
- package/dist/chunks/types-1.0.0-r57xzz3c.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.0-6pf7httb.mjs +0 -4
- package/dist/chunks/update-1.0.0-1w4hdnvy.mjs +0 -86
- package/dist/chunks/upgrade-1.0.0-mhees3sb.mjs +0 -1
- package/dist/chunks/upload-1.0.0-ygzb4x1e.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.0-45c7jm65.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.0-70v3ac60.mjs +0 -1
- package/dist/chunks/usage-1.0.0-dsczssy3.mjs +0 -1
- package/dist/chunks/util-1.0.0-850fye79.mjs +0 -1
- package/dist/chunks/utils-1.0.0-h1hjbg4p.mjs +0 -1
- package/dist/chunks/vim-1.0.0-c11dkxg5.mjs +0 -1
- package/dist/chunks/watcher-1.0.0-1ebvkj1f.mjs +0 -1
- package/dist/chunks/wiki-1.0.0-98wnrwr1.mjs +0 -132
- package/dist/chunks/workflows-1.0.0-2hsy70he.mjs +0 -1
- package/dist/chunks/worktree-1.0.0-jp0532r4.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.0-2taefyj5.mjs +0 -1
- package/dist/chunks/wrapper-1.0.0-ts5ncxbc.mjs +0 -7
- package/dist/claudin-vscode.vsix +0 -0
- package/scripts/postinstall-warmup.mjs +0 -70
- package/scripts/v8cache-gc.mjs +0 -84
- /package/dist/chunks/{cli-1.0.0-pjxedgeq.mjs → cli-1.0.4-1eb2472e.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-23p005ex.mjs → cli-1.0.4-a2brsa8c.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-ng3sgcf4.mjs → cli-1.0.4-fyekx70j.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-fdefz72m.mjs → cli-1.0.4-jrvveh6t.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-pkb60kgh.mjs → cli-1.0.4-rh4j3s0t.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-2fzd6cys.mjs → cli-1.0.4-rhq4w2pj.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-msy9nakp.mjs → cli-1.0.4-sx5bf3zy.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.0-fgb643ta.mjs → cli-1.0.4-zjh4h68p.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bx as u,Cx as g,Ex as Wq,OF as h,On as S,Pn as Zq,QF as Fq,Qn as V,Rn as $q,Un as p,Vn as zq,mz as c,nR as a,pR as Uq,pz as T,qz as _q,tz as r,uz as Vq}from"./cli-1.0.0-3jv0xeqb.mjs";import{EX as j,FX as Qq,GX as m,IX as Xq,LX as d,MX as Yq,sX as w,tX as Nq}from"./cli-1.0.0-3eq56cz0.mjs";import{I0 as Lq,RY as v,SY as H,TY as y,b0 as J,d0 as N}from"./cli-1.0.0-rp88rgyq.mjs";import{N2 as _,O2 as q,P2 as G,Q2 as B}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as Jq}from"./cli-1.0.0-fmr252y0.mjs";import{lca as b,yca as Gq}from"./cli-1.0.0-8ec1jzr8.mjs";import{Tqa as e,Xqa as qq}from"./cli-1.0.0-2fzd6cys.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
-
export{mq as fh,Aq as gh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$N as X,VN as O,WN as P,XN as Q,YN as U,Zi as M,_i as W}from"./cli-1.0.0-3jv0xeqb.mjs";import{Xqa as V}from"./cli-1.0.0-2fzd6cys.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as sg,$ as tg};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Tga as q,Vga as A,Wga as x,Xga as B}from"./cli-1.0.0-gp1bafm1.mjs";import{yia as J}from"./cli-1.0.0-ssk9d65p.mjs";import{vja as G}from"./cli-1.0.0-nqwkmsqy.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bx as C,Ex as X}from"./cli-1.0.0-3jv0xeqb.mjs";import{R2 as W}from"./cli-1.0.0-fmr252y0.mjs";import{H5 as J,O5 as V,v5 as I}from"./cli-1.0.0-staaeymp.mjs";import{Aga as T,fga as H}from"./cli-1.0.0-rr2vc5j8.mjs";import{Tqa as P,Xqa as Q}from"./cli-1.0.0-2fzd6cys.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
-
export{v as jd,Y as kd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qha as f}from"./cli-1.0.0-tjde6y9j.mjs";import{Tia as h}from"./cli-1.0.0-ssk9d65p.mjs";import{Xqa as Z}from"./cli-1.0.0-2fzd6cys.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
|
|
2
|
-
export{K as n2,w as o2,kz as p2,oz as q2,pz as r2,dz as s2,nz as t2,L as u2};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{gU as W,hU as P}from"./cli-1.0.0-py32djr3.mjs";import{$$ as y,Kda as S,P9 as M,Q9 as R,Z$ as A,gfa as O,l_ as _,o9 as K,ofa as F,p9 as I,vda as B,wda as G}from"./cli-1.0.0-8ec1jzr8.mjs";import{$ga as x,_ga as D}from"./cli-1.0.0-ke4cpjmt.mjs";import{Lpa as $,Mpa as z}from"./cli-1.0.0-jgsn1xsa.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
|
|
2
|
-
`)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
|
|
3
|
-
`)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
|
|
4
|
-
export{d as Ma,E as Na,p as Oa,c as Pa,r as Qa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as C}from"./cli-1.0.0-2fzd6cys.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
|
|
2
|
-
export{L as Oi,M as Pi,N as Qi,H as Ri};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EG as z,FG as M,SE as L,TE as h,wx as J,xx as Z}from"./cli-1.0.0-3jv0xeqb.mjs";import{IY as X}from"./cli-1.0.0-rp88rgyq.mjs";import{R2 as W}from"./cli-1.0.0-fmr252y0.mjs";import{Joa as H,mpa as V}from"./cli-1.0.0-tejk4tf3.mjs";import{Tqa as D,Xqa as U}from"./cli-1.0.0-2fzd6cys.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
|
|
2
|
-
export{v as qg,A as rg};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{D as G0}from"./cli-1.0.0-f5jmp5qb.mjs";import{V as p0}from"./cli-1.0.0-5vhgrhcv.mjs";import{gb as E0}from"./cli-1.0.0-5w5nt80s.mjs";import{lb as k0}from"./cli-1.0.0-ac7bwh96.mjs";import{Fc as P0,Hc as Fc}from"./cli-1.0.0-dy7maxwy.mjs";import{Kc as N,Lc as uc}from"./cli-1.0.0-h4wrm2nz.mjs";import{Nc as Q0,Oc as hc}from"./cli-1.0.0-69wwn8fm.mjs";import{hd as n0,id as x0}from"./cli-1.0.0-yynk31bk.mjs";import{Ax as X,EG as y0,EM as u0,Ex as l0,FG as _c,GM as r0,JE as Y0,MF as m0,NE as lc,NF as g0,OF as r,QF as A0,Qn as p,Rn as K0,Sn as f0,Tn as N0,Un as i0,VF as Y,Vn as d0,WF as M0,XF as Z0,YF as Mc,Yn as W,Zn as j,aT as O0,gM as _0,kT as b0,lR as d,mT as B0,nR as W0,pR as Ic,pT as ac,qM as j0,sT as D0,uT as Tc}from"./cli-1.0.0-3jv0xeqb.mjs";import{I0 as x,IY as G,ZY as X0,b0 as c0,bZ as oc,d0 as y,h0 as g}from"./cli-1.0.0-rp88rgyq.mjs";import{N2 as e,O2 as m,P2 as U,Q2 as C}from"./cli-1.0.0-h4zeh5x3.mjs";import{H3 as H0,L3 as mc,n4 as J0,o4 as nc}from"./cli-1.0.0-staaeymp.mjs";import{Kda as I0,Tea as z0,Wea as ic,gda as V0,lca as V,mda as s,pca as J,pda as t,rda as q0,sca as w0,uca as U0,yca as k}from"./cli-1.0.0-8ec1jzr8.mjs";import{Qfa as R,Vfa as cc}from"./cli-1.0.0-e5rww26x.mjs";import{Aga as fc,mga as C0,uga as L0}from"./cli-1.0.0-rr2vc5j8.mjs";import{Nha as q,Qha as E}from"./cli-1.0.0-tjde6y9j.mjs";import{Tia as $0}from"./cli-1.0.0-ssk9d65p.mjs";import{Bja as K,Ija as R0,Lja as e0}from"./cli-1.0.0-etm3m8cy.mjs";import{Yla as a0,coa as T0,mpa as v0}from"./cli-1.0.0-tejk4tf3.mjs";import{Tqa as D,Yqa as L}from"./cli-1.0.0-2fzd6cys.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-1.0.0-f8gtgh6f.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-1.0.0-sa0s6hcj.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-1.0.0-tk33ftr2.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-1.0.0-3j85d31j.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-1.0.0-mnzm8hbn.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-1.0.0-bn4z4dsn.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-1.0.0-qe6dcyn9.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-1.0.0-2g2zgabd.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-1.0.0-heb61shk.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
-
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
-
export{Cc as v,Lc as w,Gf as x,wc as y,z,Ef as A,kf as B,pf as C};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{Oqa as V_,Pqa as su,Rqa as K_,Sqa as f_}from"./cli-1.0.0-qa2wbmrn.mjs";import{Vqa as H,Yqa as $_}from"./cli-1.0.0-2fzd6cys.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
-
versions published after the first week of January 2027
|
|
3
|
-
will require node >=${E}. You are running node ${_}.
|
|
4
|
-
|
|
5
|
-
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
-
and security updates please upgrade to node >=${E}.
|
|
7
|
-
|
|
8
|
-
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
-
export{W_ as Hqa,D_ as Iqa,yu as Jqa,ou as Kqa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xd as j,Yd as E}from"./cli-1.0.0-8bfmpb27.mjs";import{AL as $,FL as f,hL as X,jL as Y,mp as W,pp as v,sL as Z,uL as w,yL as _}from"./cli-1.0.0-3jv0xeqb.mjs";import{Kda as A,Uaa as Q,fba as T,gfa as V,ofa as N,yda as S}from"./cli-1.0.0-8ec1jzr8.mjs";import{Qia as B,Tia as R}from"./cli-1.0.0-ssk9d65p.mjs";import{oja as L,vja as K}from"./cli-1.0.0-nqwkmsqy.mjs";import{Xqa as y}from"./cli-1.0.0-2fzd6cys.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
|
|
2
|
-
export{d as td,P as ud,t as vd,U as wd};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Fg as s,Gg as Sy}from"./cli-1.0.0-8regfprj.mjs";import{Og as wy,Qg as kG}from"./cli-1.0.0-pgcwemmr.mjs";import{Ii as Zy,Ki as Ky,Li as ny}from"./cli-1.0.0-28qtk65x.mjs";import{AS as Vy,Ar as Wy,BL as by,FL as GG,Ir as ly,Ms as C,OF as i,PF as Ly,Rx as X,Sx as oy,TF as g,UF as My,Us as _y,VS as zG,bL as j,bo as yy,cL as ey,do as Gy,fo as ky,io as qy,jS as Hy,jo as zy,kL as Oy,kl as e,ko as Iy,kv as Xy,mo as Jy,nv as ay,ol as sy,pr as Qy,so as xy,uL as yG}from"./cli-1.0.0-3jv0xeqb.mjs";import{VW as Ny,WW as ty}from"./cli-1.0.0-yvkqq8eh.mjs";import{XX as Py,YX as Uy,ZX as jy,bY as qG}from"./cli-1.0.0-3eq56cz0.mjs";import{hY as Ry,nY as cy}from"./cli-1.0.0-scn3v1zj.mjs";import{$Z as Q,I0 as ry,IY as hy,a0 as $y,b0 as L,d0 as d}from"./cli-1.0.0-rp88rgyq.mjs";import{O2 as O,P2 as E,Q2 as p}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as Yy}from"./cli-1.0.0-fmr252y0.mjs";import{O5 as iy,c7 as h,o5 as c,p5 as t,v7 as gy}from"./cli-1.0.0-staaeymp.mjs";import{R7 as a,S7 as fy}from"./cli-1.0.0-qsa78b35.mjs";import{$$ as Ey,Kda as M,Q9 as T,Z$ as J,e_ as o,jca as n,l_ as Ay,mda as P,n_ as U,o_ as uy,oca as r,pca as v,pda as q,yca as dy}from"./cli-1.0.0-8ec1jzr8.mjs";import{Aga as u,oga as K,zga as A}from"./cli-1.0.0-rr2vc5j8.mjs";import{Nha as f,Qha as Fy}from"./cli-1.0.0-tjde6y9j.mjs";import{Qia as _,Tia as Dy}from"./cli-1.0.0-ssk9d65p.mjs";import{Tqa as D}from"./cli-1.0.0-2fzd6cys.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();oy();sy();gy();ty();M();ly();Ey();ay();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ry())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&a.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>U()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Vy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${X("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${X("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>U()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
|
|
4
|
-
export{wG as Xa,PG as Ya,VG as Za,x as _a,cG as $a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ie as _,ke as v}from"./cli-1.0.0-12y1q97z.mjs";import{Le as Z,Me as P}from"./cli-1.0.0-ecgsk85a.mjs";import{Ax as X,Ex as K,Ox as Y,Qx as A}from"./cli-1.0.0-3jv0xeqb.mjs";import{CX as V,FX as C}from"./cli-1.0.0-3eq56cz0.mjs";import{O2 as H,Q2 as Q}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as W}from"./cli-1.0.0-fmr252y0.mjs";import{rfa as L,sfa as U}from"./cli-1.0.0-e5rww26x.mjs";import{Tqa as B,Xqa as M}from"./cli-1.0.0-2fzd6cys.mjs";function x({children:q}){let{bindings:D}=Y(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function y(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function b(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let T=(w)=>_(H(X,{children:H(x,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=y(w);for(let w=0;w<N;w+=I){let O=await T([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await b(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var j=M(()=>{U();P();C();A();K();v();Q();J=B(W(),1)});
|
|
2
|
-
export{l as oc,j as pc};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Eh as e,Fh as qq,Gh as Jq,Hh as _q}from"./cli-1.0.0-kzvt11ce.mjs";import{Ih as Zq,Jh as Pq}from"./cli-1.0.0-j7jbk9h5.mjs";import{cz as j,dz as y,hz as x}from"./cli-1.0.0-3jv0xeqb.mjs";import{I0 as Iq,b0 as F,d0 as K}from"./cli-1.0.0-rp88rgyq.mjs";import{O2 as Y,P2 as L,Q2 as Qq}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as m}from"./cli-1.0.0-fmr252y0.mjs";import{Gba as r,M9 as w,O9 as h,Oba as Vq,V9 as f,Y8 as I,Z8 as t,l_ as Uq}from"./cli-1.0.0-8ec1jzr8.mjs";import{Lfa as Eq,wfa as Xq,xfa as Mq}from"./cli-1.0.0-e5rww26x.mjs";import{Tqa as R,Xqa as D}from"./cli-1.0.0-2fzd6cys.mjs";function p(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,V=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:V,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var u=D(()=>{x();b=R(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),V=q.join(`
|
|
2
|
-
`),X=J.join(`
|
|
3
|
-
`);O.useEffect(()=>{let v=!1;M(!0);async function G(){let N=V?V.split(`
|
|
4
|
-
`):[],_=X?X.split(`
|
|
5
|
-
`):[],E=(await Promise.all(_.map((B)=>h(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),f(B)]);return{root:B,name:S(B),branch:Aq,files:C?p(C,g):[],hunks:g}}));if(!v)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!v)z([]),Z([]),M(!1)}),()=>{v=!0}},[V,X,U]);let W=O.useCallback(()=>H((v)=>v+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();x();u();O=R(m(),1)});import{basename as c}from"path";function n(q,J,$){if(q===0)return"";return J.join("")+($?vq:a)}function d(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=d("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=d(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function l(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>c(X.path).localeCompare(c(W.path))),V=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],v=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;v=`${v}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!V,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:v,depth:$,collapsed:E,guides:n($,M,N)}),!E){let P=$>=1?[...M,N?Bq:a]:M;l(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],v=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:n($,M,v)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${r(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}l(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var a="│ ",vq="└ ",Bq=" ";var i=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return T[Math.abs(J)%T.length]}function o(q){let J=T.length;return T[(q%J+J)%J]}var T;var s=D(()=>{T=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function $q(){let q=Zq();return{enabled:q,fileIcon:(J)=>q?Jq(J):"",folderIcon:(J)=>q?J?qq:e:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var zq=D(()=>{t();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function JJ(q){return q.flatMap((J)=>J.files)}function ZJ({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo($q,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),V=[];for(let X=U;X<H;X++){let W=q[X];V.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),V,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:o(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=Mq(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),V=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,v=Math.max(4,$-U-X.length-(V?2:0)-W-1),G=Xq(Lq(q.file.path),v);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,V,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq;var Tq=D(()=>{t();Iq();Eq();s();i();zq();Qq();Wq=R(m(),1)});
|
|
6
|
-
export{wq as $f,Hq as ag,$q as bg,zq as cg,hq as dg,s as eg,Nq as fg,i as gg,JJ as hg,ZJ as ig,Tq as jg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{H2 as y,L2 as V}from"./cli-1.0.0-eyetzqvg.mjs";import{$$ as Q,Z$ as q,n9 as p,p9 as K}from"./cli-1.0.0-8ec1jzr8.mjs";import{Xqa as J}from"./cli-1.0.0-2fzd6cys.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{j as v2,D as w2,P as x2,w as y2,E as z2,Y as A2,F as B2,G as C2,Z as D2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X9 as Q,l_ as _}from"./cli-1.0.0-8ec1jzr8.mjs";import{$ga as X,_ga as I}from"./cli-1.0.0-ke4cpjmt.mjs";import{Qia as B,Tia as V}from"./cli-1.0.0-ssk9d65p.mjs";import{Xqa as T}from"./cli-1.0.0-2fzd6cys.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
-
export{j as J8,P as K8,Y as L8,S as M8,O as N8,D as O8,Z as P8};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{IQ as _,MN as f,ON as z,Zw as L,_w as k,fk as J}from"./cli-1.0.0-3jv0xeqb.mjs";import{B$ as A,w$ as F}from"./cli-1.0.0-8ec1jzr8.mjs";import{Tga as Y,Vga as h,Wga as H,Xga as X}from"./cli-1.0.0-gp1bafm1.mjs";import{Nha as W,Qha as M}from"./cli-1.0.0-tjde6y9j.mjs";import{Qia as D,Tia as R}from"./cli-1.0.0-ssk9d65p.mjs";import{cna as q,mpa as C}from"./cli-1.0.0-tejk4tf3.mjs";import{Xqa as V}from"./cli-1.0.0-2fzd6cys.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
|
|
2
|
-
`);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
|
|
3
|
-
|
|
4
|
-
Return JSON with a single "title" field.
|
|
5
|
-
|
|
6
|
-
Good examples:
|
|
7
|
-
{"title": "Fix login button on mobile"}
|
|
8
|
-
{"title": "Add OAuth authentication"}
|
|
9
|
-
{"title": "Debug failing CI tests"}
|
|
10
|
-
{"title": "Refactor API client error handling"}
|
|
11
|
-
|
|
12
|
-
Bad (too vague): {"title": "Code changes"}
|
|
13
|
-
Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
|
|
14
|
-
Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
|
|
15
|
-
export{S as se,T as te,I as ue};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{gX as T,rX as c}from"./cli-1.0.0-br6mz00q.mjs";import{H1 as w,K1 as n}from"./cli-1.0.0-f7acpaw9.mjs";import{m9 as M,n_ as y,o9 as X,o_ as g,p9 as f}from"./cli-1.0.0-8ec1jzr8.mjs";import{Qia as Z,Tha as R,Tia as h,Vha as F,tia as K,uia as v,yia as m}from"./cli-1.0.0-ssk9d65p.mjs";import{oja as Y,tja as W,vja as D}from"./cli-1.0.0-nqwkmsqy.mjs";import{Lja as S,yja as E}from"./cli-1.0.0-etm3m8cy.mjs";import{mpa as j,pla as k,tla as A,vla as N}from"./cli-1.0.0-tejk4tf3.mjs";import{Xqa as H}from"./cli-1.0.0-2fzd6cys.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
|
|
2
|
-
$pid = ${String(q)}
|
|
3
|
-
$ancestors = @()
|
|
4
|
-
for ($i = 0; $i -lt ${J}; $i++) {
|
|
5
|
-
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
|
|
6
|
-
if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
7
|
-
$pid = $proc.ParentProcessId
|
|
8
|
-
$ancestors += $pid
|
|
9
|
-
}
|
|
10
|
-
$ancestors -join ','
|
|
11
|
-
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
|
|
12
|
-
`).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
|
|
13
|
-
$currentPid = ${String(q)}
|
|
14
|
-
$commands = @()
|
|
15
|
-
for ($i = 0; $i -lt ${J}; $i++) {
|
|
16
|
-
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
|
|
17
|
-
if (-not $proc) { break }
|
|
18
|
-
if ($proc.CommandLine) { $commands += $proc.CommandLine }
|
|
19
|
-
if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
|
|
20
|
-
$currentPid = $proc.ParentProcessId
|
|
21
|
-
}
|
|
22
|
-
$commands -join [char]0
|
|
23
|
-
`.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
|
|
24
|
-
export{O as NW,i as OW,e as PW,qq as QW,_ as RW,Uq as SW,Bq as TW,C as UW,Mq as VW,I as WW,Aq as XW,d as YW,r as ZW,t as _W};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MM as Q,NM as $}from"./cli-1.0.0-3jv0xeqb.mjs";import{$ka as E,Yja as V,Zja as P,_ka as W}from"./cli-1.0.0-tejk4tf3.mjs";import{Xqa as L}from"./cli-1.0.0-2fzd6cys.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as hd,C as id};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{G3 as G,K3 as W,L3 as V,X6 as j,v7 as f,y6 as M}from"./cli-1.0.0-staaeymp.mjs";import{Kca as x,Lca as B,M_ as w,N_ as z,Q_ as Y}from"./cli-1.0.0-8ec1jzr8.mjs";import{Eha as J,Mha as F}from"./cli-1.0.0-c2zj0m2f.mjs";import{Xqa as Z}from"./cli-1.0.0-2fzd6cys.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
-
export{g as xT,p as yT,X as zT,S as AT,y as BT,I as CT,b as DT};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Jqa as p,Kqa as a}from"./cli-1.0.0-wqjc5jyn.mjs";import{Vqa as i}from"./cli-1.0.0-2fzd6cys.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
|
-
export{u as e8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ih as B,Jh as CJ}from"./cli-1.0.0-j7jbk9h5.mjs";import{Bx as Cq,Cx as FJ,Dr as JJ,En as AJ,Er as uq,Ex as QQ,Fn as rJ,Hr as MJ,Ir as QJ,OF as BJ,QF as ZQ,Qn as DJ,Rn as lJ,Sn as PJ,Sw as wJ,Tn as tJ,Tw as JQ,Un as VJ,Vn as eJ,ay as Bq,by as kq,cy as yJ,or as vq,pr as n,qr as NJ,xr as TJ,zr as OJ}from"./cli-1.0.0-3jv0xeqb.mjs";import{HX as LJ,IX as oJ,LX as RJ,MX as aJ,UX as jJ,VX as qQ}from"./cli-1.0.0-3eq56cz0.mjs";import{I0 as hJ,IY as sJ,b0 as O,d0 as D,f0 as nq,g0 as EJ}from"./cli-1.0.0-rp88rgyq.mjs";import{N2 as IJ,O2 as H,P2 as j,Q2 as zJ}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as nJ}from"./cli-1.0.0-fmr252y0.mjs";import{G4 as bq,H4 as GJ,H5 as i,J4 as Eq,K5 as yq,O5 as dJ,V4 as HJ,Y5 as kJ,_4 as pJ,a7 as _J,b6 as GQ,v7 as HQ,w5 as mq,y5 as s}from"./cli-1.0.0-staaeymp.mjs";import{R7 as K,S7 as xJ}from"./cli-1.0.0-qsa78b35.mjs";import{gaa as aq,haa as lq,iaa as _q,jaa as tq,jca as UJ,kaa as eq,laa as qJ,lca as WJ,waa as $J,yca as iJ}from"./cli-1.0.0-8ec1jzr8.mjs";import{Nha as KJ,Qha as cJ}from"./cli-1.0.0-tjde6y9j.mjs";import{Tqa as XJ,Xqa as Rq}from"./cli-1.0.0-2fzd6cys.mjs";function hq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function mJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=bJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function PQ(J,q,Q,Z,Y){if(!B())return uJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${sq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function VQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function jQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function NQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=hq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function rq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function TQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=hq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${sq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function dq(J,q){if(!q||!nq())return J;return`${Bq}${q}${kq}${J}${Bq}${kq}`}function OQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=dq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=mJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${gJ} `)+dq(R(`#${J}`),Y)+G(" ")+I(w)}function uJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",sq="",gJ="",bJ;var oq=Rq(()=>{xJ();EJ();yJ();CJ();bJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function fJ(J,q){if(vq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function kQ(J,q,Q){if(!n(q))return;let Z=JJ(q,J),Y=fJ(Z,Q);return{pill:rq(`${Sq(Z)} ${Z}`,Y,Q),bg:Y}}function Sq(J){if(vq(J))return qJ;switch(J){case"low":return aq;case"medium":return lq;case"high":return _q;case"xhigh":return tq;case"max":return eq;default:return _q}}var ZJ=Rq(()=>{$J();QJ();oq()});function rQ(J){let q=$q.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=FJ(),L=RJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=Cq(KQ),[k,vJ]=Dq.useState(!1),_=Cq(XQ),r;if(q[0]!==_)r=_!==void 0?uq(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,fq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=wJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=yq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(YQ),q[12]=Nq,q[13]=a;else a=q[13];let N=a,l;if(q[14]!==A||q[15]!==N)l=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=l;else l=q[16];let Tq=l,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=gq(T);M=W?n(W):!1,Qq=W?NJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=xq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)fq(xq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;fq((V)=>UQ(V??x,W,Zq)),vJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];LJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(KJ("tengu_model_command_menu_effort",{effort:v}),!I){let iq=OJ(v,xq(V),UJ("userSettings")?.effortLevel,k),pq=TJ(iq);if(pq!==void 0)WJ("userSettings",{effortLevel:pq});F((SJ)=>({...SJ,effortValue:iq}))}let S=gq(V),cq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,cq);return}Y(V,cq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",yq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??zQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(BJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(YJ,{effort:d})," ",AJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(YJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=bq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",Eq," only (/fast). Switching to other models turn off fast mode."]})}):GJ()&&!HJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",Eq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(IJ,{children:["Press ",L.keyName," again to exit"]}):j(VJ,{children:[H(DJ,{shortcut:"Enter",action:"confirm"}),H(PJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(jJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function zQ(){}function YQ(J){return{...J,value:J.value===null?h:J.value}}function XQ(J){return J.effortValue}function KQ(J){return bq()?J.fastMode:!1}function gq(J){if(!J)return;return J===h?mq():i(J)}function YJ(J){let q=$q.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=Sq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function UQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function xq(J){let q=gq(J)??mq(),Q=MJ(q);return Q!==void 0?uq(Q):"high"}var $q,Dq,h="__NO_PREFERENCE__";var WQ=Rq(()=>{rJ();aJ();cJ();pJ();hJ();oJ();QQ();QJ();dJ();JQ();iJ();tJ();ZQ();eJ();lJ();qQ();ZJ();zJ();$q=XJ(sJ(),1),Dq=XJ(nJ(),1)});function eQ(J,q,Q){if(!_J())return!1;if(q)return!0;if(J===null||!kJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var IQ=Rq(()=>{HQ();GQ()});
|
|
2
|
-
export{hq as Rg,mJ as Sg,PQ as Tg,VQ as Ug,jQ as Vg,NQ as Wg,TQ as Xg,OQ as Yg,oq as Zg,kQ as _g,Sq as $g,ZJ as ah,rQ as bh,WQ as ch,eQ as dh,IQ as eh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as o}from"./cli-1.0.0-2fzd6cys.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as U7,i as V7,n as W7,s as X7,c as Y7,r as Z7,a as _7,p as $7,_ as a8,S as b8,E as c8,e as d8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vqa as H,Xqa as UJ}from"./cli-1.0.0-2fzd6cys.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
-
export{W1 as A1,QQ as B1,WQ as C1,ZQ as D1,KQ as E1,FJ as F1};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$3 as d,Y3 as a,Z3 as b,_3 as c,a4 as e,b4 as f,c4 as g,d4 as h,e4 as i,f4 as j,g4 as k,h4 as l,i4 as m}from"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import"./cli-1.0.0-2fzd6cys.mjs";m();export{l as storeOAuthAccountInfo,a as shouldUseClaudeAIAuth,e as refreshOAuthToken,k as populateOAuthAccountInfoIfNeeded,b as parseScopes,h as isOAuthTokenExpired,j as getOrganizationUUID,i as fetchProfileInfo,f as fetchAndStoreUserRoles,d as exchangeCodeForTokens,g as createAndStoreApiKey,c as buildAuthUrl};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bj as F,VS as f,Vt as w,Zt as Z,oS as H}from"./cli-1.0.0-3jv0xeqb.mjs";import"./cli-1.0.0-sf4v7jmd.mjs";import"./cli-1.0.0-z0twvqze.mjs";import"./cli-1.0.0-qgd6evsp.mjs";import"./cli-1.0.0-py32djr3.mjs";import"./cli-1.0.0-dhcpzb62.mjs";import"./cli-1.0.0-jrp8z07z.mjs";import"./cli-1.0.0-6pzwhya1.mjs";import"./cli-1.0.0-dwvkm03p.mjs";import"./cli-1.0.0-cmjm08rk.mjs";import"./cli-1.0.0-dpt31cjd.mjs";import"./cli-1.0.0-62vc4cav.mjs";import"./cli-1.0.0-s1nys8bh.mjs";import"./cli-1.0.0-2nvg7hgb.mjs";import"./cli-1.0.0-7xw741kc.mjs";import"./cli-1.0.0-1x587n9v.mjs";import"./cli-1.0.0-r5d672mf.mjs";import"./cli-1.0.0-yvkqq8eh.mjs";import{jX as K,rX as Y}from"./cli-1.0.0-br6mz00q.mjs";import"./cli-1.0.0-3eq56cz0.mjs";import"./cli-1.0.0-scn3v1zj.mjs";import"./cli-1.0.0-rp88rgyq.mjs";import"./cli-1.0.0-rakrrkxm.mjs";import"./cli-1.0.0-t9nh06qh.mjs";import"./cli-1.0.0-zkamzpzd.mjs";import"./cli-1.0.0-f7acpaw9.mjs";import"./cli-1.0.0-q71pvcjq.mjs";import"./cli-1.0.0-45z8brfz.mjs";import"./cli-1.0.0-mtcg2tan.mjs";import"./cli-1.0.0-w7rfh3wx.mjs";import"./cli-1.0.0-xpmk1ba7.mjs";import"./cli-1.0.0-eyetzqvg.mjs";import"./cli-1.0.0-b4fv5ph0.mjs";import"./cli-1.0.0-h4zeh5x3.mjs";import"./cli-1.0.0-fmr252y0.mjs";import"./cli-1.0.0-4tct38wk.mjs";import"./cli-1.0.0-3gd6wkw6.mjs";import"./cli-1.0.0-297t0qb9.mjs";import"./cli-1.0.0-napcq3jr.mjs";import"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-xtkm872y.mjs";import"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import{mpa as X,pla as B}from"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import{Xqa as W}from"./cli-1.0.0-2fzd6cys.mjs";async function h(q,J,y){if(K())return q("Cannot set color: This session is a swarm teammate. Teammate colors are assigned by the team leader.",{display:"system"}),null;if(!y||y.trim()===""){let b=w.join(", ");return q(`Please provide a color. Available colors: ${b}, default`,{display:"system"}),null}let k=y.trim().toLowerCase();if($.includes(k)){let b=B(),V=F();return await H(b,"default",V),J.setAppState((z)=>({...z,standaloneAgentContext:{...z.standaloneAgentContext,name:z.standaloneAgentContext?.name??"",color:void 0}})),q("Session color reset to default",{display:"system"}),null}if(!w.includes(k)){let b=w.join(", ");return q(`Invalid color "${k}". Available colors: ${b}, default`,{display:"system"}),null}let Q=B(),U=F();return await H(Q,k,U),J.setAppState((b)=>({...b,standaloneAgentContext:{...b.standaloneAgentContext,name:b.standaloneAgentContext?.name??"",color:k}})),q(`Session color set to: ${k}`,{display:"system"}),null}var $;var M=W(()=>{X();Z();f();Y();$=["default","reset","none","gray","grey"]});M();export{h as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Bw as X,Cw as m,DP as qj,Ew as N,Gw as a,HO as o,IQ as wj,JB as f,JO as P,KO as e,QC as Y,RC as I,Rx as U,SC as Z,Sx as r,TC as $,UC as O,VC as _,XC as n,gI as y,hI as c,jR as zj,ny as b,oy as x,pO as B,qO as s,sT as R,tT as W,uP as l,uQ as C,uT as Hj,vO as k,vw as A,xw as u}from"./cli-1.0.0-3jv0xeqb.mjs";import"./cli-1.0.0-sf4v7jmd.mjs";import"./cli-1.0.0-z0twvqze.mjs";import"./cli-1.0.0-qgd6evsp.mjs";import"./cli-1.0.0-py32djr3.mjs";import"./cli-1.0.0-dhcpzb62.mjs";import"./cli-1.0.0-jrp8z07z.mjs";import"./cli-1.0.0-6pzwhya1.mjs";import"./cli-1.0.0-dwvkm03p.mjs";import"./cli-1.0.0-cmjm08rk.mjs";import"./cli-1.0.0-dpt31cjd.mjs";import"./cli-1.0.0-62vc4cav.mjs";import"./cli-1.0.0-s1nys8bh.mjs";import"./cli-1.0.0-2nvg7hgb.mjs";import"./cli-1.0.0-7xw741kc.mjs";import"./cli-1.0.0-1x587n9v.mjs";import"./cli-1.0.0-r5d672mf.mjs";import"./cli-1.0.0-yvkqq8eh.mjs";import"./cli-1.0.0-br6mz00q.mjs";import"./cli-1.0.0-3eq56cz0.mjs";import"./cli-1.0.0-scn3v1zj.mjs";import"./cli-1.0.0-rp88rgyq.mjs";import"./cli-1.0.0-rakrrkxm.mjs";import"./cli-1.0.0-t9nh06qh.mjs";import"./cli-1.0.0-zkamzpzd.mjs";import"./cli-1.0.0-f7acpaw9.mjs";import"./cli-1.0.0-q71pvcjq.mjs";import"./cli-1.0.0-45z8brfz.mjs";import"./cli-1.0.0-mtcg2tan.mjs";import"./cli-1.0.0-w7rfh3wx.mjs";import"./cli-1.0.0-xpmk1ba7.mjs";import"./cli-1.0.0-eyetzqvg.mjs";import"./cli-1.0.0-b4fv5ph0.mjs";import"./cli-1.0.0-h4zeh5x3.mjs";import"./cli-1.0.0-fmr252y0.mjs";import"./cli-1.0.0-4tct38wk.mjs";import"./cli-1.0.0-3gd6wkw6.mjs";import"./cli-1.0.0-297t0qb9.mjs";import"./cli-1.0.0-napcq3jr.mjs";import"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import{R7 as h,S7 as p}from"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-xtkm872y.mjs";import{gfa as D,ofa as g}from"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import{mja as v,vja as E}from"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import{mpa as i,sma as T}from"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import{Xqa as M}from"./cli-1.0.0-2fzd6cys.mjs";async function t(q,j,H,w){j.onCompactProgress?.({type:"hooks_start",hookType:"pre_compact"}),j.setSDKStatus?.("compacting");try{let[z,J]=await Promise.all([f({trigger:"manual",customInstructions:H||null},j.abortController.signal),d(j,q)]),Q=O(H,z.newCustomInstructions);j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_start"});let K=await w.reactiveCompactOnPromptTooLong(q,J,{customInstructions:Q,trigger:"manual"});if(!K.ok)switch(K.reason){case"too_few_groups":throw Error(Y);case"aborted":throw Error(I);case"exhausted":case"error":case"media_unstrippable":throw Error(Z)}k(void 0);let F=$(K.result);B(void 0,F,j.contentReplacementState),X(),W.cache.clear?.();let V=[z.userDisplayMessage,K.result.userDisplayMessage].filter(Boolean).join(`
|
|
2
|
-
`)||void 0;return{type:"compact",compactionResult:{...K.result,userDisplayMessage:V},displayText:L(j,V)}}finally{j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_end"}),j.setSDKStatus?.(null)}}function L(q,j){let H=b("tip"),w=U("app:toggleTranscript","Global","ctrl+o"),z=[...q.options.verbose?[]:[`(${w} to see full summary)`],...j?[j]:[],...H?[H]:[]];return h.dim("Compacted "+z.join(`
|
|
3
|
-
`))}async function d(q,j){let H=q.getAppState(),w=await l(q.options.tools,q.options.mainLoopModel,Array.from(H.toolPermissionContext.additionalWorkingDirectories.keys()),q.options.mcpClients),z=y({mainThreadAgentDefinition:void 0,toolUseContext:q,customSystemPrompt:q.options.customSystemPrompt,defaultSystemPrompt:w,appendSystemPrompt:q.options.appendSystemPrompt}),[J,Q]=await Promise.all([W(),R()]);return{systemPrompt:z,userContext:J,systemContext:Q,toolUseContext:q,forkContextMessages:j}}var G=null,Aj=async(q,j)=>{let{abortController:H}=j,{messages:w}=j;if(w=C(w),w.length===0)throw Error("No messages to compact");let z=q.trim();try{if(!z){let V=await P(w,j.agentId);if(V){W.cache.clear?.();let S=$(V);return B(void 0,S,j.contentReplacementState),A(j.options.querySource??"compact",j.agentId),T(),X(),{type:"compact",compactionResult:V,displayText:L(j)}}}if(G?.isReactiveOnlyMode())return await t(w,j,z,G);let Q=(await N(w,j)).messages,K=await _(Q,j,await d(j,Q),!1,z,!1);k(void 0),X(),W.cache.clear?.();let F=$(K);return B(void 0,F,j.contentReplacementState),{type:"compact",compactionResult:K,displayText:L(j,K.userDisplayMessage)}}catch(J){if(H.signal.aborted)throw Error("Compaction canceled.");else if(v(J,Y))throw Error(Y);else if(v(J,Z))throw Error(Z);else throw D(J),Error(`Error during compaction: ${J}`)}};var jj=M(()=>{p();i();qj();Hj();r();u();n();m();a();s();e();o();E();zj();g();wj();x();c()});jj();export{Aj as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Jg as f,Kg as q}from"./cli-1.0.0-9y1mbt32.mjs";import"./cli-1.0.0-aqy9kydk.mjs";import"./cli-1.0.0-pgcwemmr.mjs";import"./cli-1.0.0-zbmxyhrx.mjs";import"./cli-1.0.0-vp4cqpk2.mjs";import"./cli-1.0.0-98eh4zrk.mjs";import"./cli-1.0.0-j78e3zc8.mjs";import"./cli-1.0.0-j7jbk9h5.mjs";import"./cli-1.0.0-pk60w3x2.mjs";import"./cli-1.0.0-28qtk65x.mjs";import"./cli-1.0.0-pfcwdzpj.mjs";import"./cli-1.0.0-3jv0xeqb.mjs";import"./cli-1.0.0-sf4v7jmd.mjs";import"./cli-1.0.0-z0twvqze.mjs";import"./cli-1.0.0-qgd6evsp.mjs";import"./cli-1.0.0-py32djr3.mjs";import"./cli-1.0.0-dhcpzb62.mjs";import"./cli-1.0.0-jrp8z07z.mjs";import"./cli-1.0.0-6pzwhya1.mjs";import"./cli-1.0.0-dwvkm03p.mjs";import"./cli-1.0.0-cmjm08rk.mjs";import"./cli-1.0.0-dpt31cjd.mjs";import"./cli-1.0.0-62vc4cav.mjs";import"./cli-1.0.0-s1nys8bh.mjs";import"./cli-1.0.0-2nvg7hgb.mjs";import"./cli-1.0.0-7xw741kc.mjs";import"./cli-1.0.0-1x587n9v.mjs";import"./cli-1.0.0-r5d672mf.mjs";import"./cli-1.0.0-yvkqq8eh.mjs";import"./cli-1.0.0-br6mz00q.mjs";import"./cli-1.0.0-3eq56cz0.mjs";import"./cli-1.0.0-scn3v1zj.mjs";import"./cli-1.0.0-rp88rgyq.mjs";import"./cli-1.0.0-rakrrkxm.mjs";import"./cli-1.0.0-t9nh06qh.mjs";import"./cli-1.0.0-zkamzpzd.mjs";import"./cli-1.0.0-f7acpaw9.mjs";import"./cli-1.0.0-q71pvcjq.mjs";import"./cli-1.0.0-45z8brfz.mjs";import"./cli-1.0.0-mtcg2tan.mjs";import"./cli-1.0.0-w7rfh3wx.mjs";import"./cli-1.0.0-xpmk1ba7.mjs";import"./cli-1.0.0-eyetzqvg.mjs";import"./cli-1.0.0-b4fv5ph0.mjs";import{O2 as d,Q2 as b}from"./cli-1.0.0-h4zeh5x3.mjs";import"./cli-1.0.0-fmr252y0.mjs";import"./cli-1.0.0-4tct38wk.mjs";import"./cli-1.0.0-3gd6wkw6.mjs";import"./cli-1.0.0-297t0qb9.mjs";import"./cli-1.0.0-napcq3jr.mjs";import"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-xtkm872y.mjs";import"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import{Xqa as l}from"./cli-1.0.0-2fzd6cys.mjs";var y=async(h,k)=>{return d(f,{onClose:h,context:k,defaultTab:"Config"})};var v=l(()=>{q();b()});v();export{y as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ada as C,Bda as D,Cda as E,Dda as F,Eda as G,Fda as H,Gda as I,Hda as J,Ida as K,Jda as L,Kda as M,Sca as a,Tca as b,ada as c,bda as d,cda as e,dda as f,eda as g,fda as h,gda as i,hda as j,ida as k,jda as l,kda as m,lda as n,mda as o,nda as p,oda as q,pda as r,qda as s,rda as t,sda as u,tda as v,uda as w,vda as x,wda as y,xda as z,yda as A,zda as B}from"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-2fzd6cys.mjs";M();export{A as shouldSkipPluginAutoupdate,o as saveGlobalConfig,y as saveCurrentProjectConfig,h as resetTrustDialogAcceptedCacheForTesting,l as resetProjectConfigForTests,k as resetGlobalConfigForTests,E as recordFirstStartTime,n as onGlobalConfigChange,m as isProjectConfigKey,j as isPathTrusted,f as isGlobalConfigKey,u as isConfigReadingAllowed,z as isAutoUpdaterDisabled,H as getUserClaudeRulesDir,s as getRemoteControlAtStartup,w as getProjectPathForConfig,D as getOrCreateUserID,F as getMemoryPath,G as getManagedClaudeRulesDir,p as getGlobalConfigWriteCount,r as getGlobalConfig,t as getCustomApiKeyStatus,x as getCurrentProjectConfig,C as getAutoUpdaterDisabledReason,B as formatAutoUpdaterDisabledReason,v as enableConfigs,i as checkHasTrustDialogAccepted,J as _wouldLoseAuthStateForTesting,L as _setGlobalConfigCacheForTesting,I as _getConfigForTesting,K as _buildWrittenGlobalConfig,c as SHOW_CACHE_STATS_MODES,g as PROJECT_CONFIG_KEYS,a as NOTIFICATION_CHANNELS,e as GLOBAL_CONFIG_KEYS,b as EDITOR_MODES,d as DEFAULT_GLOBAL_CONFIG,q as CONFIG_WRITE_DISPLAY_THRESHOLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$7 as h,U7 as a,V7 as b,W7 as c,X7 as d,Y7 as e,Z7 as f,_7 as g,a8 as i,b8 as j,c8 as k,d8 as l}from"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-2fzd6cys.mjs";l();export{k as SENSITIVE_URL_QUERY_PARAM_NAMES,f as MOONSHOT_API_HOSTS,g as KIMI_CODE_API_HOST,h as GLM_API_HOSTS,a as GITHUB_COPILOT_BASE,b as GITHUB_429_MAX_RETRIES,d as GITHUB_429_MAX_DELAY_SEC,c as GITHUB_429_BASE_DELAY_SEC,e as GEMINI_API_HOST,i as DEEPSEEK_API_HOSTS,j as COPILOT_HEADERS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{qh as O0,rh as Hv}from"./cli-1.0.0-4yjxekjw.mjs";import{$i as w0,Ew as p0,FP as g0,GP as lv,Gw as dv,IQ as cv,Zi as b0,_i as r0,aj as a0,fj as Y0,gj as o0,tk as L0,uQ as m0,uk as e0}from"./cli-1.0.0-3jv0xeqb.mjs";import"./cli-1.0.0-sf4v7jmd.mjs";import"./cli-1.0.0-z0twvqze.mjs";import"./cli-1.0.0-qgd6evsp.mjs";import"./cli-1.0.0-py32djr3.mjs";import"./cli-1.0.0-dhcpzb62.mjs";import"./cli-1.0.0-jrp8z07z.mjs";import"./cli-1.0.0-6pzwhya1.mjs";import"./cli-1.0.0-dwvkm03p.mjs";import"./cli-1.0.0-cmjm08rk.mjs";import"./cli-1.0.0-dpt31cjd.mjs";import"./cli-1.0.0-62vc4cav.mjs";import"./cli-1.0.0-s1nys8bh.mjs";import"./cli-1.0.0-2nvg7hgb.mjs";import"./cli-1.0.0-7xw741kc.mjs";import"./cli-1.0.0-1x587n9v.mjs";import"./cli-1.0.0-r5d672mf.mjs";import"./cli-1.0.0-yvkqq8eh.mjs";import"./cli-1.0.0-br6mz00q.mjs";import{LX as k0,MX as pv}from"./cli-1.0.0-3eq56cz0.mjs";import"./cli-1.0.0-scn3v1zj.mjs";import{I0 as F0,IY as S0,b0 as H,d0 as z,x0 as u0}from"./cli-1.0.0-rp88rgyq.mjs";import"./cli-1.0.0-rakrrkxm.mjs";import"./cli-1.0.0-t9nh06qh.mjs";import"./cli-1.0.0-zkamzpzd.mjs";import"./cli-1.0.0-f7acpaw9.mjs";import"./cli-1.0.0-q71pvcjq.mjs";import"./cli-1.0.0-45z8brfz.mjs";import"./cli-1.0.0-mtcg2tan.mjs";import"./cli-1.0.0-w7rfh3wx.mjs";import"./cli-1.0.0-xpmk1ba7.mjs";import"./cli-1.0.0-eyetzqvg.mjs";import"./cli-1.0.0-b4fv5ph0.mjs";import{O2 as K,P2 as Z,Q2 as T}from"./cli-1.0.0-h4zeh5x3.mjs";import{R2 as kv}from"./cli-1.0.0-fmr252y0.mjs";import"./cli-1.0.0-4tct38wk.mjs";import"./cli-1.0.0-3gd6wkw6.mjs";import"./cli-1.0.0-297t0qb9.mjs";import"./cli-1.0.0-napcq3jr.mjs";import"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-xtkm872y.mjs";import{E$ as y0,L$ as Vv,Oba as Yv,Y8 as P0,Z8 as Kv,e$ as Z0,s$ as I0}from"./cli-1.0.0-8ec1jzr8.mjs";import{Ffa as V,Lfa as V0}from"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import{Tqa as q0,Xqa as X0}from"./cli-1.0.0-2fzd6cys.mjs";function D0(J){let v=[];return Jv(J,v),Qv(J,v),Zv(J,v),zv(J,v),Wv(J,v),v.sort((Q,X)=>{if(Q.severity!==X.severity)return Q.severity==="warning"?-1:1;return(X.savingsTokens??0)-(Q.savingsTokens??0)}),v}function Jv(J,v){if(J.percentage>=h0)v.push({severity:"warning",title:`Context is ${J.percentage}% full`,detail:J.isAutoCompactEnabled?"Autocompact will trigger soon, which discards older messages. Use /compact now to control what gets kept.":"Autocompact is disabled. Use /compact to free space, or enable autocompact in /config."})}function Qv(J,v){if(!J.messageBreakdown)return;for(let Q of J.messageBreakdown.toolCallsByType){let X=Q.callTokens+Q.resultTokens,U=X/J.rawMaxTokens*100;if(U<N0||X<U0)continue;let W=Xv(Q.name,X,U);if(W)v.push(W)}}function Xv(J,v,Q){let X=V(v);switch(J){case b0:return{severity:"warning",title:`Bash results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Pipe output through head, tail, or grep to reduce result size. Avoid cat on large files — use Read with offset/limit instead.",savingsTokens:Math.floor(v*0.5)};case Y0:return{severity:"info",title:`Read results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Use offset and limit parameters to read only the sections you need. Avoid re-reading entire files when you only need a few lines.",savingsTokens:Math.floor(v*0.3)};case w0:return{severity:"info",title:`Grep results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Add more specific patterns or use the glob or type parameter to narrow file types. Consider Glob for file discovery instead of Grep.",savingsTokens:Math.floor(v*0.3)};case L0:return{severity:"info",title:`WebFetch results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Web page content can be very large. Consider extracting only the specific information needed.",savingsTokens:Math.floor(v*0.4)};default:if(Q>=20)return{severity:"info",title:`${J} using ${X} tokens (${Q.toFixed(0)}%)`,detail:"This tool is consuming a significant portion of context.",savingsTokens:Math.floor(v*0.2)};return null}}function Zv(J,v){if(!J.messageBreakdown)return;let X=J.messageBreakdown.toolCallsByType.find((F)=>F.name===Y0);if(!X)return;let U=X.callTokens+X.resultTokens,W=U/J.rawMaxTokens*100,Y=X.resultTokens/J.rawMaxTokens*100;if(W>=N0&&U>=U0)return;if(Y>=s0&&X.resultTokens>=U0)v.push({severity:"info",title:`File reads using ${V(X.resultTokens)} tokens (${Y.toFixed(0)}%)`,detail:"If you are re-reading files, consider referencing earlier reads. Use offset/limit for large files.",savingsTokens:Math.floor(X.resultTokens*0.3)})}function zv(J,v){let Q=J.memoryFiles.reduce((U,W)=>U+W.tokens,0),X=Q/J.rawMaxTokens*100;if(X>=t0&&Q>=vv){let U=[...J.memoryFiles].sort((W,Y)=>Y.tokens-W.tokens).slice(0,3).map((W)=>{return`${Z0(W.path)} (${V(W.tokens)})`}).join(", ");v.push({severity:"info",title:`Memory files using ${V(Q)} tokens (${X.toFixed(0)}%)`,detail:`Largest: ${U}. Use /memory to review and prune stale entries.`,savingsTokens:Math.floor(Q*0.3)})}}function Wv(J,v){if(!J.isAutoCompactEnabled&&J.percentage>=50&&J.percentage<h0)v.push({severity:"info",title:"Autocompact is disabled",detail:"Without autocompact, you will hit context limits and lose the conversation. Enable it in /config or use /compact manually."})}var N0=15,U0=1e4,s0=5,h0=80,t0=5,vv=5000;var C0=X0(()=>{r0();o0();a0();e0();I0();V0()});function f0(J){let v=A0.c(5),{suggestions:Q}=J;if(Q.length===0)return null;let X;if(v[0]===Symbol.for("react.memo_cache_sentinel"))X=K(z,{bold:!0,children:"Suggestions"}),v[0]=X;else X=v[0];let U;if(v[1]!==Q)U=Q.map(Uv),v[1]=Q,v[2]=U;else U=v[2];let W;if(v[3]!==U)W=Z(H,{flexDirection:"column",marginTop:1,children:[X,U]}),v[3]=U,v[4]=W;else W=v[4];return W}function Uv(J,v){return Z(H,{flexDirection:"column",marginTop:v===0?0:1,children:[Z(H,{children:[K(O0,{status:J.severity,withSpace:!0}),K(z,{bold:!0,children:J.title}),J.savingsTokens?Z(z,{dimColor:!0,children:[" ",P0.arrowRight," save ~",V(J.savingsTokens)]}):null]}),K(H,{marginLeft:2,children:K(z,{dimColor:!0,children:J.detail})})]},v)}var A0;var M0=X0(()=>{Kv();F0();V0();Hv();T();A0=q0(S0(),1)});function $(J,v){return J===v.length-1?"└":"├"}function qv(){let J=G0.c(2);return null}function B0(J){let v=new Map;for(let X of J){let U=y0(X.source),W=v.get(U)||[];W.push(X),v.set(U,W)}for(let[X,U]of v.entries())v.set(X,U.sort((W,Y)=>Y.tokens-W.tokens));let Q=new Map;for(let X of Fv){let U=v.get(X);if(U)Q.set(X,U)}return Q}function R0(J){let v=G0.c(87),{data:Q}=J,{categories:X,totalTokens:U,rawMaxTokens:W,percentage:Y,gridRows:F,model:G,memoryFiles:I,mcpTools:q,deferredBuiltinTools:x,systemTools:r,systemPromptSections:a,agents:o,skills:n,messageBreakdown:W0}=Q,h,D,C,P,b,S,O,A,w,L;if(v[0]!==X||v[1]!==F||v[2]!==q||v[3]!==G||v[4]!==Y||v[5]!==W||v[6]!==r||v[7]!==x||v[8]!==U){let j0=x===void 0?[]:x,l0=X.filter(uv),s;if(v[19]!==X)s=X.some(Ev),v[19]=X,v[20]=s;else s=v[20];let _=s,c0=j0.length>0,p=X.find(Rv);if(D=H,O="column",A=1,v[21]===Symbol.for("react.memo_cache_sentinel"))w=K(z,{bold:!0,children:"Context Usage"}),v[21]=w;else w=v[21];let d;if(v[22]!==F)d=F.map(Bv),v[22]=F,v[23]=d;else d=v[23];let g;if(v[24]!==d)g=K(H,{flexDirection:"column",flexShrink:0,marginLeft:-1,children:d}),v[24]=d,v[25]=g;else g=v[25];let m;if(v[26]!==U)m=V(U),v[26]=U,v[27]=m;else m=v[27];let j;if(v[28]!==W)j=V(W),v[28]=W,v[29]=j;else j=v[29];let l;if(v[30]!==G||v[31]!==Y||v[32]!==m||v[33]!==j)l=Z(z,{dimColor:!0,children:[G," · ",m,"/",j," ","tokens (",Y,"%)"]}),v[30]=G,v[31]=Y,v[32]=m,v[33]=j,v[34]=l;else l=v[34];let t,v0,J0;if(v[35]===Symbol.for("react.memo_cache_sentinel"))t=K(qv,{}),v0=K(z,{children:" "}),J0=K(z,{dimColor:!0,italic:!0,children:"Estimated usage by category"}),v[35]=t,v[36]=v0,v[37]=J0;else t=v[35],v0=v[36],J0=v[37];let Q0;if(v[38]!==W)Q0=(N,i0)=>{let T0=V(N.tokens),$0=N.isDeferred?"N/A":`${(N.tokens/W*100).toFixed(1)}%`,n0=N.name===z0,_0=N.name,x0=N.isDeferred?" ":n0?"⛝":"⛁";return Z(H,{children:[K(z,{color:N.color,children:x0}),Z(z,{children:[" ",_0,": "]}),Z(z,{dimColor:!0,children:[T0," tokens (",$0,")"]})]},i0)},v[38]=W,v[39]=Q0;else Q0=v[39];let K0=l0.map(Q0),c;if(v[40]!==X||v[41]!==W)c=(X.find(Mv)?.tokens??0)>0&&Z(H,{children:[K(z,{dimColor:!0,children:"⛶"}),K(z,{children:" Free space: "}),Z(z,{dimColor:!0,children:[V(X.find(fv)?.tokens||0)," ","(",((X.find(Av)?.tokens||0)/W*100).toFixed(1),"%)"]})]}),v[40]=X,v[41]=W,v[42]=c;else c=v[42];let H0=p&&p.tokens>0&&Z(H,{children:[K(z,{color:p.color,children:"⛝"}),Z(z,{dimColor:!0,children:[" ",p.name,": "]}),Z(z,{dimColor:!0,children:[V(p.tokens)," tokens (",(p.tokens/W*100).toFixed(1),"%)"]})]}),i;if(v[43]!==l||v[44]!==K0||v[45]!==c||v[46]!==H0)i=Z(H,{flexDirection:"column",gap:0,flexShrink:0,children:[l,t,v0,J0,K0,c,H0]}),v[43]=l,v[44]=K0,v[45]=c,v[46]=H0,v[47]=i;else i=v[47];if(v[48]!==g||v[49]!==i)L=Z(H,{flexDirection:"row",gap:2,children:[g,i]}),v[48]=g,v[49]=i,v[50]=L;else L=v[50];if(h=H,C="column",P=-1,v[51]!==_||v[52]!==q)b=q.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"MCP tools"}),Z(z,{dimColor:!0,children:[" ","· /mcp",_?" (loaded on-demand)":""]})]}),q.some(Ov)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Loaded"}),q.filter(Sv).map(Pv)]}),_&&q.some(Cv)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Available"}),q.filter(Dv).map(hv)]}),!_&&q.map(Nv)]}),v[51]=_,v[52]=q,v[53]=b;else b=v[53];S=(r&&r.length>0||c0)&&!1,v[0]=X,v[1]=F,v[2]=q,v[3]=G,v[4]=Y,v[5]=W,v[6]=r,v[7]=x,v[8]=U,v[9]=h,v[10]=D,v[11]=C,v[12]=P,v[13]=b,v[14]=S,v[15]=O,v[16]=A,v[17]=w,v[18]=L}else h=v[9],D=v[10],C=v[11],P=v[12],b=v[13],S=v[14],O=v[15],A=v[16],w=v[17],L=v[18];let f;if(v[54]!==a)f=a&&a.length>0&&!1,v[54]=a,v[55]=f;else f=v[55];let M;if(v[56]!==o)M=o.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Custom agents"}),K(z,{dimColor:!0,children:" · /agents"})]}),Array.from(B0(o).entries()).map(wv)]}),v[56]=o,v[57]=M;else M=v[57];let B;if(v[58]!==I)B=I.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Memory files"}),K(z,{dimColor:!0,children:" · /memory"})]}),I.map(bv)]}),v[58]=I,v[59]=B;else B=v[59];let y;if(v[60]!==n)y=n&&n.tokens>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Skills"}),K(z,{dimColor:!0,children:" · /skills"})]}),Array.from(B0(n.skillFrontmatter).entries()).map(Gv)]}),v[60]=n,v[61]=y;else y=v[61];let R;if(v[62]!==W0)R=W0&&!1,v[62]=W0,v[63]=R;else R=v[63];let E;if(v[64]!==h||v[65]!==f||v[66]!==M||v[67]!==B||v[68]!==y||v[69]!==R||v[70]!==C||v[71]!==P||v[72]!==b||v[73]!==S)E=Z(h,{flexDirection:C,marginLeft:P,children:[b,S,f,M,B,y,R]}),v[64]=h,v[65]=f,v[66]=M,v[67]=B,v[68]=y,v[69]=R,v[70]=C,v[71]=P,v[72]=b,v[73]=S,v[74]=E;else E=v[74];let u;if(v[75]!==Q)u=D0(Q),v[75]=Q,v[76]=u;else u=v[76];let k;if(v[77]!==u)k=K(f0,{suggestions:u}),v[77]=u,v[78]=k;else k=v[78];let e;if(v[79]!==D||v[80]!==E||v[81]!==k||v[82]!==O||v[83]!==A||v[84]!==w||v[85]!==L)e=Z(D,{flexDirection:O,paddingLeft:A,children:[w,L,E,k]}),v[79]=D,v[80]=E,v[81]=k,v[82]=O,v[83]=A,v[84]=w,v[85]=L,v[86]=e;else e=v[86];return e}function Gv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Iv)]},v)}function Iv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function bv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",Z0(J.path),": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function wv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Lv)]},v)}function Lv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.agentType,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Nv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function hv(J,v,Q){return K(H,{children:Z(z,{dimColor:!0,children:[$(v,Q)," ",J.name]})},v)}function Dv(J){return!J.isLoaded}function Cv(J){return!J.isLoaded}function Pv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Sv(J){return J.isLoaded}function Ov(J){return J.isLoaded}function Av(J){return J.name==="Free space"}function fv(J){return J.name==="Free space"}function Mv(J){return J.name==="Free space"}function Bv(J,v){return K(H,{flexDirection:"row",children:J.map(yv)},v)}function yv(J,v){if(J.categoryName==="Free space")return K(z,{dimColor:!0,children:"⛶ "},v);if(J.categoryName===z0)return K(z,{color:J.color,children:"⛝ "},v);return K(z,{color:J.color,children:J.squareFullness>=0.7?"⛁ ":"⛀ "},v)}function Rv(J){return J.name===z0}function Ev(J){return J.isDeferred&&J.name.includes("MCP")}function uv(J){return J.tokens>0&&J.name!=="Free space"&&J.name!==z0&&!J.isDeferred}var G0,z0="Autocompact buffer",Fv;var E0=X0(()=>{F0();C0();I0();V0();Vv();Yv();M0();T();G0=q0(S0(),1);Fv=["Project","User","Managed","Plugin","Built-in"]});function gv({data:J,onDone:v}){let Q=d0.useCallback(()=>v("Context dialog dismissed",{display:"system"}),[v]),X=k0(Q);return u0((U,W)=>{if(W.escape||W.return)Q()}),Z(H,{flexDirection:"column",children:[K(R0,{data:J}),K(z,{dimColor:!0,children:X.pending?`Press ${X.keyName} again to exit`:"Press esc or enter to close"})]})}function mv(J){return m0(J)}async function LJ(J,v){let{messages:Q,getAppState:X,options:{mainLoopModel:U,tools:W}}=v,Y=mv(Q),{messages:F}=await p0(Y),G=process.stdout.columns||80,I=X(),q=await g0(F,U,async()=>I.toolPermissionContext,W,I.agentDefinitions,G,v,void 0,Y);return K(gv,{data:q,onDone:J})}var d0;var jv=X0(()=>{F0();E0();pv();dv();lv();cv();T();d0=q0(kv(),1)});jv();export{LJ as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{sh as a,th as b,uh as c}from"./cli-1.0.0-2c2dsvya.mjs";import"./cli-1.0.0-3jv0xeqb.mjs";import"./cli-1.0.0-sf4v7jmd.mjs";import"./cli-1.0.0-z0twvqze.mjs";import"./cli-1.0.0-qgd6evsp.mjs";import"./cli-1.0.0-py32djr3.mjs";import"./cli-1.0.0-dhcpzb62.mjs";import"./cli-1.0.0-jrp8z07z.mjs";import"./cli-1.0.0-6pzwhya1.mjs";import"./cli-1.0.0-dwvkm03p.mjs";import"./cli-1.0.0-cmjm08rk.mjs";import"./cli-1.0.0-dpt31cjd.mjs";import"./cli-1.0.0-62vc4cav.mjs";import"./cli-1.0.0-s1nys8bh.mjs";import"./cli-1.0.0-2nvg7hgb.mjs";import"./cli-1.0.0-7xw741kc.mjs";import"./cli-1.0.0-1x587n9v.mjs";import"./cli-1.0.0-r5d672mf.mjs";import"./cli-1.0.0-yvkqq8eh.mjs";import"./cli-1.0.0-br6mz00q.mjs";import"./cli-1.0.0-3eq56cz0.mjs";import"./cli-1.0.0-scn3v1zj.mjs";import"./cli-1.0.0-rp88rgyq.mjs";import"./cli-1.0.0-rakrrkxm.mjs";import"./cli-1.0.0-t9nh06qh.mjs";import"./cli-1.0.0-zkamzpzd.mjs";import"./cli-1.0.0-f7acpaw9.mjs";import"./cli-1.0.0-q71pvcjq.mjs";import"./cli-1.0.0-45z8brfz.mjs";import"./cli-1.0.0-mtcg2tan.mjs";import"./cli-1.0.0-w7rfh3wx.mjs";import"./cli-1.0.0-xpmk1ba7.mjs";import"./cli-1.0.0-eyetzqvg.mjs";import"./cli-1.0.0-b4fv5ph0.mjs";import"./cli-1.0.0-h4zeh5x3.mjs";import"./cli-1.0.0-fmr252y0.mjs";import"./cli-1.0.0-4tct38wk.mjs";import"./cli-1.0.0-3gd6wkw6.mjs";import"./cli-1.0.0-297t0qb9.mjs";import"./cli-1.0.0-napcq3jr.mjs";import"./cli-1.0.0-staaeymp.mjs";import"./cli-1.0.0-f3ch7bmk.mjs";import"./cli-1.0.0-qsa78b35.mjs";import"./cli-1.0.0-2f0cvt2p.mjs";import"./cli-1.0.0-zj9rdzv2.mjs";import"./cli-1.0.0-xtkm872y.mjs";import"./cli-1.0.0-8ec1jzr8.mjs";import"./cli-1.0.0-e5rww26x.mjs";import"./cli-1.0.0-annneepc.mjs";import"./cli-1.0.0-0kyhvhc6.mjs";import"./cli-1.0.0-rr2vc5j8.mjs";import"./cli-1.0.0-gp1bafm1.mjs";import"./cli-1.0.0-ke4cpjmt.mjs";import"./cli-1.0.0-c2zj0m2f.mjs";import"./cli-1.0.0-tjde6y9j.mjs";import"./cli-1.0.0-ssk9d65p.mjs";import"./cli-1.0.0-tzhphp4x.mjs";import"./cli-1.0.0-nqwkmsqy.mjs";import"./cli-1.0.0-etm3m8cy.mjs";import"./cli-1.0.0-tejk4tf3.mjs";import"./cli-1.0.0-jgsn1xsa.mjs";import"./cli-1.0.0-kzyp3fra.mjs";import"./cli-1.0.0-mweaysdm.mjs";import"./cli-1.0.0-s5zrbn45.mjs";import"./cli-1.0.0-46ah6a0n.mjs";import"./cli-1.0.0-2fzd6cys.mjs";c();export{a as collectContextData,b as call};
|