@claudiolabs/claudin 0.6.12 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +1 -0
- package/dist/chunks/App-0.6.13-qvfyfba9.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +7 -0
- package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +6 -0
- package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +1 -0
- package/dist/chunks/REPL-0.6.13-61en5qve.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +1 -0
- package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +1 -0
- package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +3 -0
- package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +110 -0
- package/dist/chunks/api-0.6.13-1s3mg09p.mjs +1 -0
- package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +1 -0
- package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +1 -0
- package/dist/chunks/auth-0.6.13-586trvnj.mjs +1 -0
- package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +1 -0
- package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +1 -0
- package/dist/chunks/branch-0.6.13-nncg27cq.mjs +4 -0
- package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +1 -0
- package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +1 -0
- package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +3 -0
- package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +4 -0
- package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +1 -0
- package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +1 -0
- package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +1 -0
- package/dist/chunks/cli-0.6.13-004msxtb.mjs +2 -0
- package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +24 -0
- package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +2 -0
- package/dist/chunks/cli-0.6.13-0602v59h.mjs +2 -0
- package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +2 -0
- package/dist/chunks/cli-0.6.13-0k53jyws.mjs +2 -0
- package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +2 -0
- package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +3 -0
- package/dist/chunks/cli-0.6.13-15925v1q.mjs +2 -0
- package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +3 -0
- package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +24 -0
- package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +18 -0
- package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +2 -0
- package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +2 -0
- package/dist/chunks/cli-0.6.13-27ey3345.mjs +17 -0
- package/dist/chunks/cli-0.6.13-2999v1f0.mjs +5 -0
- package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +2 -0
- package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +2 -0
- package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +5420 -0
- package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +2 -0
- package/dist/chunks/cli-0.6.13-35rszksn.mjs +2 -0
- package/dist/chunks/cli-0.6.13-3812a7q8.mjs +34 -0
- package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +3 -0
- package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +2 -0
- package/dist/chunks/cli-0.6.13-45x35nyh.mjs +2 -0
- package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +2 -0
- package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +2 -0
- package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-56b3061c.mjs +18 -0
- package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +42 -0
- package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +4 -0
- package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +2 -0
- package/dist/chunks/cli-0.6.13-643zsnv9.mjs +2 -0
- package/dist/chunks/cli-0.6.13-667dsr1w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +2 -0
- package/dist/chunks/cli-0.6.13-79mne5jt.mjs +2 -0
- package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +2 -0
- package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +2 -0
- package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +3 -0
- package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +2 -0
- package/dist/chunks/cli-0.6.13-82datd4w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +2 -0
- package/dist/chunks/cli-0.6.13-881js45c.mjs +2 -0
- package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +2 -0
- package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +3 -0
- package/dist/chunks/cli-0.6.13-949racwr.mjs +7 -0
- package/dist/chunks/cli-0.6.13-94nwan0d.mjs +2 -0
- package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +2 -0
- package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +2 -0
- package/dist/chunks/cli-0.6.13-9wktvaax.mjs +50 -0
- package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +58 -0
- package/dist/chunks/cli-0.6.13-aekttw5a.mjs +2 -0
- package/dist/chunks/cli-0.6.13-ajc8203j.mjs +2 -0
- package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +2 -0
- package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +2 -0
- package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +16 -0
- package/dist/chunks/cli-0.6.13-b55baxv4.mjs +2 -0
- package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +2 -0
- package/dist/chunks/cli-0.6.13-c3452432.mjs +5 -0
- package/dist/chunks/cli-0.6.13-cc118njq.mjs +2 -0
- package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +2 -0
- package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +2 -0
- package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +2 -0
- package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +2 -0
- package/dist/chunks/cli-0.6.13-da6fhpes.mjs +133 -0
- package/dist/chunks/cli-0.6.13-dada1afp.mjs +6 -0
- package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +2 -0
- package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +2 -0
- package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +2 -0
- package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +2 -0
- package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +2 -0
- package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +2 -0
- package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +2 -0
- package/dist/chunks/cli-0.6.13-esv4y00y.mjs +2 -0
- package/dist/chunks/cli-0.6.13-etytm730.mjs +2 -0
- package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +4 -0
- package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +6 -0
- package/dist/chunks/cli-0.6.13-f67v536f.mjs +59 -0
- package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +2 -0
- package/dist/chunks/cli-0.6.13-fkaxh655.mjs +2 -0
- package/dist/chunks/cli-0.6.13-fspszw8w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +10 -0
- package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +2 -0
- package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +2 -0
- package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +4 -0
- package/dist/chunks/cli-0.6.13-g65dfg11.mjs +6 -0
- package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +2 -0
- package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +2 -0
- package/dist/chunks/cli-0.6.13-grrshx1z.mjs +2 -0
- package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +2 -0
- package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +2 -0
- package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +2 -0
- package/dist/chunks/cli-0.6.13-h5dej6se.mjs +3 -0
- package/dist/chunks/cli-0.6.13-hd0sd535.mjs +193 -0
- package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +12 -0
- package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +3 -0
- package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +2 -0
- package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +4 -0
- package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +133 -0
- package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +2 -0
- package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +3 -0
- package/dist/chunks/cli-0.6.13-k0kyv254.mjs +2 -0
- package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +2 -0
- package/dist/chunks/cli-0.6.13-kdm4832x.mjs +2 -0
- package/dist/chunks/cli-0.6.13-kekrwb08.mjs +45 -0
- package/dist/chunks/cli-0.6.13-kmg491hy.mjs +2 -0
- package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +12 -0
- package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +3 -0
- package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +2 -0
- package/dist/chunks/cli-0.6.13-me17wefv.mjs +2 -0
- package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +2 -0
- package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +39 -0
- package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +2 -0
- package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +2 -0
- package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +15 -0
- package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +4 -0
- package/dist/chunks/cli-0.6.13-nqd696hv.mjs +2 -0
- package/dist/chunks/cli-0.6.13-nvcr131g.mjs +4 -0
- package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +8 -0
- package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +2 -0
- package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +3 -0
- package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +2 -0
- package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +3 -0
- package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +2 -0
- package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +2 -0
- package/dist/chunks/cli-0.6.13-prh9py3z.mjs +2 -0
- package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +2 -0
- package/dist/chunks/cli-0.6.13-q161snt1.mjs +2 -0
- package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +2 -0
- package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +2 -0
- package/dist/chunks/cli-0.6.13-q8qzja14.mjs +2 -0
- package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +2 -0
- package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +4 -0
- package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +2 -0
- package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +2 -0
- package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +2 -0
- package/dist/chunks/cli-0.6.13-qyd73z97.mjs +2 -0
- package/dist/chunks/cli-0.6.13-r043ksv1.mjs +1 -0
- package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +4 -0
- package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +2 -0
- package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +2 -0
- package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +2 -0
- package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +6 -0
- package/dist/chunks/cli-0.6.13-s2vxndky.mjs +2 -0
- package/dist/chunks/cli-0.6.13-s3r638fw.mjs +2 -0
- package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +4 -0
- package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +3 -0
- package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +15 -0
- package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tss2yk53.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +2 -0
- package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +17 -0
- package/dist/chunks/cli-0.6.13-v05nfcar.mjs +2 -0
- package/dist/chunks/cli-0.6.13-v160yjcc.mjs +2 -0
- package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +2 -0
- package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +2 -0
- package/dist/chunks/cli-0.6.13-v824ppa4.mjs +3 -0
- package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +2 -0
- package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +2 -0
- package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +2 -0
- package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +2 -0
- package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +2 -0
- package/dist/chunks/cli-0.6.13-w039mymy.mjs +2 -0
- package/dist/chunks/cli-0.6.13-w0qrn825.mjs +2 -0
- package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +2 -0
- package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +2 -0
- package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +5 -0
- package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +20 -0
- package/dist/chunks/cli-0.6.13-wtc8585b.mjs +2 -0
- package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +2 -0
- package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +2 -0
- package/dist/chunks/cli-0.6.13-xdedyafk.mjs +12 -0
- package/dist/chunks/cli-0.6.13-xf37gba3.mjs +21 -0
- package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +2 -0
- package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +2 -0
- package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +2 -0
- package/dist/chunks/cli-0.6.13-y20earfr.mjs +2 -0
- package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +2 -0
- package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +28 -0
- package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +2 -0
- package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +67 -0
- package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +2 -0
- package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +2 -0
- package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +2 -0
- package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +2 -0
- package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +9 -0
- package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +25 -0
- package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +15 -0
- package/dist/chunks/cli-0.6.13-ze0ah657.mjs +4 -0
- package/dist/chunks/cli-0.6.13-zktd03aq.mjs +2 -0
- package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +2 -0
- package/dist/chunks/client-0.6.13-apag8p3w.mjs +1 -0
- package/dist/chunks/color-0.6.13-m7e3xes9.mjs +1 -0
- package/dist/chunks/compact-0.6.13-064k380y.mjs +3 -0
- package/dist/chunks/config-0.6.13-2gskfa7r.mjs +1 -0
- package/dist/chunks/config-0.6.13-m7tbch3j.mjs +1 -0
- package/dist/chunks/constants-0.6.13-bq183whd.mjs +1 -0
- package/dist/chunks/context-0.6.13-4jm66js8.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +1 -0
- package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +1 -0
- package/dist/chunks/copy-0.6.13-11ksdws3.mjs +9 -0
- package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +1 -0
- package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +1 -0
- package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +1367 -0
- package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +1 -0
- package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +1 -0
- package/dist/chunks/diff-0.6.13-3qr723e3.mjs +1 -0
- package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +1 -0
- package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +1 -0
- package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +1 -0
- package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +1 -0
- package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +1 -0
- package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +1 -0
- package/dist/chunks/explorer-0.6.13-g670396m.mjs +1 -0
- package/dist/chunks/export-0.6.13-zytxcpn5.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +1 -0
- package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +1 -0
- package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +1 -0
- package/dist/chunks/git-0.6.13-r45r70q4.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +1 -0
- package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +4 -0
- package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +1 -0
- package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +1 -0
- package/dist/chunks/headless-0.6.13-gfageb5h.mjs +2 -0
- package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +6 -0
- package/dist/chunks/help-0.6.13-781b4zzf.mjs +1 -0
- package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +3 -0
- package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +1 -0
- package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +79 -0
- package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +1 -0
- package/dist/chunks/index-0.6.13-22g8yp33.mjs +1 -0
- package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +1 -0
- package/dist/chunks/index-0.6.13-3yrze12y.mjs +2 -0
- package/dist/chunks/index-0.6.13-4mx71hjt.mjs +2 -0
- package/dist/chunks/index-0.6.13-68g8rnf9.mjs +1 -0
- package/dist/chunks/index-0.6.13-6t8yz88d.mjs +1 -0
- package/dist/chunks/index-0.6.13-af1dgcmj.mjs +1 -0
- package/dist/chunks/index-0.6.13-afmvxwx2.mjs +1 -0
- package/dist/chunks/index-0.6.13-by0wfak3.mjs +9 -0
- package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +1 -0
- package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +1 -0
- package/dist/chunks/index-0.6.13-jte6phkv.mjs +1 -0
- package/dist/chunks/index-0.6.13-m632g3gy.mjs +1 -0
- package/dist/chunks/index-0.6.13-mwpm4arf.mjs +5 -0
- package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +30 -0
- package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +1 -0
- package/dist/chunks/index-0.6.13-ptnyngf8.mjs +1 -0
- package/dist/chunks/index-0.6.13-q3shbg14.mjs +1 -0
- package/dist/chunks/index-0.6.13-qbgadtxv.mjs +1 -0
- package/dist/chunks/index-0.6.13-sv4q66cp.mjs +1 -0
- package/dist/chunks/index-0.6.13-waxz0ekk.mjs +1 -0
- package/dist/chunks/index-0.6.13-why7ggz3.mjs +9 -0
- package/dist/chunks/index-0.6.13-y16k48ab.mjs +1 -0
- package/dist/chunks/init-0.6.13-4hnytb22.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +1 -0
- package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +1 -0
- package/dist/chunks/insights-0.6.13-jydg844c.mjs +870 -0
- package/dist/chunks/install-0.6.13-n2sd9y79.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +1 -0
- package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +2 -0
- package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +1 -0
- package/dist/chunks/log-0.6.13-k8w72xt1.mjs +1 -0
- package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +1 -0
- package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +1 -0
- package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +4 -0
- package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +17 -0
- package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +1 -0
- package/dist/chunks/memory-0.6.13-atsckryz.mjs +3 -0
- package/dist/chunks/model-0.6.13-0atttv57.mjs +1 -0
- package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +2 -0
- package/dist/chunks/node-0.6.13-x2bbeer9.mjs +12 -0
- package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +14 -0
- package/dist/chunks/output-style-0.6.13-m28me769.mjs +1 -0
- package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +1 -0
- package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +1 -0
- package/dist/chunks/passes-0.6.13-q60h610m.mjs +1 -0
- package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +3 -0
- package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +1 -0
- package/dist/chunks/plan-0.6.13-jnph14bx.mjs +1 -0
- package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +1 -0
- package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +1 -0
- package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +2 -0
- package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +1 -0
- package/dist/chunks/process-0.6.13-38dsvzca.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +9 -0
- package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +1 -0
- package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +1 -0
- package/dist/chunks/prompts-0.6.13-702ak30b.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +13 -0
- package/dist/chunks/provider-0.6.13-2sx115qq.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +34 -0
- package/dist/chunks/registry-0.6.13-pstf339a.mjs +1 -0
- package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +2 -0
- package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +1 -0
- package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +1 -0
- package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +2 -0
- package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +1 -0
- package/dist/chunks/session-0.6.13-83jr96cj.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +1 -0
- package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +1 -0
- package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +5 -0
- package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +1 -0
- package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +1 -0
- package/dist/chunks/state-0.6.13-257cjw4h.mjs +1 -0
- package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +6 -0
- package/dist/chunks/status-0.6.13-cefspgtr.mjs +1 -0
- package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +1 -0
- package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +1 -0
- package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +1 -0
- package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +1 -0
- package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +1 -0
- package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +1 -0
- package/dist/chunks/tools-0.6.13-heefxcxe.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +69 -0
- package/dist/chunks/types-0.6.13-26eegce9.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +4 -0
- package/dist/chunks/update-0.6.13-tj94pp6r.mjs +86 -0
- package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +1 -0
- package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +1 -0
- package/dist/chunks/usage-0.6.13-whrgny68.mjs +1 -0
- package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +1 -0
- package/dist/chunks/utils-0.6.13-jybbphy0.mjs +1 -0
- package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +1 -0
- package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +1 -0
- package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +132 -0
- package/dist/chunks/worktree-0.6.13-efnvp677.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +1 -0
- package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.12-b2gfz5kv.mjs +0 -1
- package/dist/chunks/App-0.6.12-mh1ysgxg.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.12-r2wj56g6.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.12-vg6y5ha1.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.12-dhx63scb.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.12-rpt2b1wj.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.12-2arvz9mf.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.12-5htdzb3m.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.12-ta0sjcsf.mjs +0 -7
- package/dist/chunks/Doctor-0.6.12-mwbqw1rj.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.6.12-58rcsfy9.mjs +0 -6
- package/dist/chunks/Grove-0.6.12-tnpptv0x.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.12-ez4cgygb.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.12-d7dkg0t5.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.12-f05fw15j.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.12-rr1km3wx.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.12-75ts37c4.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.12-ggazg3xb.mjs +0 -1
- package/dist/chunks/REPL-0.6.12-230gxwk3.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.12-b6w9nxwe.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.12-1jqm9wpr.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.12-5rky61kj.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.12-zep0xyc2.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.12-wfr7mfew.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.12-v453hg0b.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.12-p0s6m4y8.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.12-k76hznv2.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.12-sv3z8anm.mjs +0 -1
- package/dist/chunks/add-dir-0.6.12-wnbxt7vy.mjs +0 -1
- package/dist/chunks/agents-0.6.12-b9dy00ag.mjs +0 -110
- package/dist/chunks/agents-0.6.12-ycqzf9j5.mjs +0 -3
- package/dist/chunks/api-0.6.12-14eqhy3z.mjs +0 -1
- package/dist/chunks/asciicast-0.6.12-vbsq9mgp.mjs +0 -1
- package/dist/chunks/assistant-0.6.12-5p1f9bbw.mjs +0 -1
- package/dist/chunks/auth-0.6.12-pa89ctgf.mjs +0 -1
- package/dist/chunks/auth-0.6.12-wk2y5d3t.mjs +0 -1
- package/dist/chunks/autoMode-0.6.12-y4rjrey5.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.12-shtexsmc.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.12-r98xwf4x.mjs +0 -1
- package/dist/chunks/branch-0.6.12-bwqzpwr3.mjs +0 -4
- package/dist/chunks/bridge-0.6.12-j1y5hhxp.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.12-jedyxebh.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.12-15wd9gtx.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.12-02c465aw.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.12-nmffskv4.mjs +0 -1
- package/dist/chunks/btw-0.6.12-zvse57mq.mjs +0 -1
- package/dist/chunks/buddy-0.6.12-2qsbgdn6.mjs +0 -3
- package/dist/chunks/cacache-0.6.12-fhcd4wsf.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.12-n2cm80z4.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.12-h45pnvr7.mjs +0 -4
- package/dist/chunks/caches-0.6.12-cfaw7jb1.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.12-6rnj0zw7.mjs +0 -1
- package/dist/chunks/claudemd-0.6.12-e90nb8vx.mjs +0 -1
- package/dist/chunks/clear-0.6.12-gadvgvp6.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.12-91ykpa58.mjs +0 -1
- package/dist/chunks/cli-0.6.12-0ghv260y.mjs +0 -2
- package/dist/chunks/cli-0.6.12-0hjd35q4.mjs +0 -12
- package/dist/chunks/cli-0.6.12-0t5tsk2y.mjs +0 -2
- package/dist/chunks/cli-0.6.12-0xpfj4aq.mjs +0 -4
- package/dist/chunks/cli-0.6.12-127pt3vk.mjs +0 -2
- package/dist/chunks/cli-0.6.12-14b2bpdj.mjs +0 -2
- package/dist/chunks/cli-0.6.12-175knjzx.mjs +0 -2
- package/dist/chunks/cli-0.6.12-1c92shz1.mjs +0 -2
- package/dist/chunks/cli-0.6.12-1f7vq52y.mjs +0 -2
- package/dist/chunks/cli-0.6.12-1qrp0zx7.mjs +0 -2
- package/dist/chunks/cli-0.6.12-1rc09wxd.mjs +0 -2
- package/dist/chunks/cli-0.6.12-21j45ejg.mjs +0 -59
- package/dist/chunks/cli-0.6.12-25h7f74n.mjs +0 -24
- package/dist/chunks/cli-0.6.12-263jrtsj.mjs +0 -58
- package/dist/chunks/cli-0.6.12-2g0n7jpe.mjs +0 -5
- package/dist/chunks/cli-0.6.12-2pyqs7x9.mjs +0 -2
- package/dist/chunks/cli-0.6.12-2stzmmb2.mjs +0 -4
- package/dist/chunks/cli-0.6.12-2vrk1saq.mjs +0 -2
- package/dist/chunks/cli-0.6.12-33ff6hv9.mjs +0 -4
- package/dist/chunks/cli-0.6.12-36dzac4h.mjs +0 -2
- package/dist/chunks/cli-0.6.12-3wqd066g.mjs +0 -2
- package/dist/chunks/cli-0.6.12-47h7weys.mjs +0 -2
- package/dist/chunks/cli-0.6.12-49tkzshk.mjs +0 -2
- package/dist/chunks/cli-0.6.12-4d51yvzh.mjs +0 -2
- package/dist/chunks/cli-0.6.12-4ty0ah2n.mjs +0 -2
- package/dist/chunks/cli-0.6.12-4x5vs5t2.mjs +0 -2
- package/dist/chunks/cli-0.6.12-5abky5z4.mjs +0 -50
- package/dist/chunks/cli-0.6.12-5kxkvnxa.mjs +0 -2
- package/dist/chunks/cli-0.6.12-5qypvh7v.mjs +0 -2
- package/dist/chunks/cli-0.6.12-5ybc0q7n.mjs +0 -2
- package/dist/chunks/cli-0.6.12-609r2xeh.mjs +0 -21
- package/dist/chunks/cli-0.6.12-63zpmh9f.mjs +0 -2
- package/dist/chunks/cli-0.6.12-679e9ptm.mjs +0 -2
- package/dist/chunks/cli-0.6.12-70c7xde0.mjs +0 -2
- package/dist/chunks/cli-0.6.12-741zt03r.mjs +0 -2
- package/dist/chunks/cli-0.6.12-74k7zjxx.mjs +0 -3
- package/dist/chunks/cli-0.6.12-75ddftht.mjs +0 -9
- package/dist/chunks/cli-0.6.12-78e7hkq9.mjs +0 -5
- package/dist/chunks/cli-0.6.12-7bg5rk6a.mjs +0 -3
- package/dist/chunks/cli-0.6.12-7eeaap1p.mjs +0 -4
- package/dist/chunks/cli-0.6.12-7g6v5zs9.mjs +0 -3
- package/dist/chunks/cli-0.6.12-7mz9jxfa.mjs +0 -2
- package/dist/chunks/cli-0.6.12-7nbe9chc.mjs +0 -3
- package/dist/chunks/cli-0.6.12-865yx2ff.mjs +0 -133
- package/dist/chunks/cli-0.6.12-8fpq2hqy.mjs +0 -2
- package/dist/chunks/cli-0.6.12-8k03anbf.mjs +0 -6
- package/dist/chunks/cli-0.6.12-8mb2h24g.mjs +0 -2
- package/dist/chunks/cli-0.6.12-8q4g5rxc.mjs +0 -133
- package/dist/chunks/cli-0.6.12-8sxh430a.mjs +0 -2
- package/dist/chunks/cli-0.6.12-90nvdzxq.mjs +0 -45
- package/dist/chunks/cli-0.6.12-967g034j.mjs +0 -2
- package/dist/chunks/cli-0.6.12-96crx44d.mjs +0 -2
- package/dist/chunks/cli-0.6.12-9jpps9qw.mjs +0 -2
- package/dist/chunks/cli-0.6.12-9prkktd2.mjs +0 -2
- package/dist/chunks/cli-0.6.12-9qh2mjjb.mjs +0 -3
- package/dist/chunks/cli-0.6.12-9wj4jg9w.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ad7k9env.mjs +0 -2
- package/dist/chunks/cli-0.6.12-aj7y0fr6.mjs +0 -2
- package/dist/chunks/cli-0.6.12-b3ehvfjb.mjs +0 -3
- package/dist/chunks/cli-0.6.12-b6d9622b.mjs +0 -2
- package/dist/chunks/cli-0.6.12-babce7kt.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bc05z2sq.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bcqvraap.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bgfgcewx.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bpd9xvrz.mjs +0 -39
- package/dist/chunks/cli-0.6.12-bv0tm3x4.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bvynx2vs.mjs +0 -2
- package/dist/chunks/cli-0.6.12-bxdnb5bn.mjs +0 -2
- package/dist/chunks/cli-0.6.12-byvhqye2.mjs +0 -67
- package/dist/chunks/cli-0.6.12-c3qdck87.mjs +0 -2
- package/dist/chunks/cli-0.6.12-c4ssk0t1.mjs +0 -17
- package/dist/chunks/cli-0.6.12-c6tjtcxh.mjs +0 -3
- package/dist/chunks/cli-0.6.12-c864w559.mjs +0 -2
- package/dist/chunks/cli-0.6.12-c8b2fkt8.mjs +0 -2
- package/dist/chunks/cli-0.6.12-cq322qyb.mjs +0 -2
- package/dist/chunks/cli-0.6.12-cwy83z24.mjs +0 -2
- package/dist/chunks/cli-0.6.12-d2b8dptv.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dad03em9.mjs +0 -4
- package/dist/chunks/cli-0.6.12-dawxz0j1.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dgfgahne.mjs +0 -4
- package/dist/chunks/cli-0.6.12-dhessv32.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dj4f3bx0.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dknasxzd.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dqagenjb.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dtv1qnk9.mjs +0 -2
- package/dist/chunks/cli-0.6.12-dywed27z.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ecgg0rmc.mjs +0 -42
- package/dist/chunks/cli-0.6.12-ecm9vh62.mjs +0 -193
- package/dist/chunks/cli-0.6.12-eghq631e.mjs +0 -2
- package/dist/chunks/cli-0.6.12-er4p2njc.mjs +0 -2
- package/dist/chunks/cli-0.6.12-f62r5f5z.mjs +0 -2
- package/dist/chunks/cli-0.6.12-fdy5s675.mjs +0 -2
- package/dist/chunks/cli-0.6.12-fm6zkr7d.mjs +0 -4
- package/dist/chunks/cli-0.6.12-fmf3vjw6.mjs +0 -2
- package/dist/chunks/cli-0.6.12-fr0rb7xk.mjs +0 -2
- package/dist/chunks/cli-0.6.12-fwnpcanc.mjs +0 -2
- package/dist/chunks/cli-0.6.12-g971w5pv.mjs +0 -5420
- package/dist/chunks/cli-0.6.12-g9dxg935.mjs +0 -2
- package/dist/chunks/cli-0.6.12-gcedgh1v.mjs +0 -6
- package/dist/chunks/cli-0.6.12-ged5ahj0.mjs +0 -2
- package/dist/chunks/cli-0.6.12-gf7chq9d.mjs +0 -2
- package/dist/chunks/cli-0.6.12-gr3edfs9.mjs +0 -15
- package/dist/chunks/cli-0.6.12-gr4j664p.mjs +0 -10
- package/dist/chunks/cli-0.6.12-gxszq2d0.mjs +0 -15
- package/dist/chunks/cli-0.6.12-gxtrhp03.mjs +0 -2
- package/dist/chunks/cli-0.6.12-gzh08zb9.mjs +0 -2
- package/dist/chunks/cli-0.6.12-h48nkjwv.mjs +0 -2
- package/dist/chunks/cli-0.6.12-h9ajwy84.mjs +0 -2
- package/dist/chunks/cli-0.6.12-hzjwqj4g.mjs +0 -2
- package/dist/chunks/cli-0.6.12-k0skdwrx.mjs +0 -28
- package/dist/chunks/cli-0.6.12-k20w6gxz.mjs +0 -2
- package/dist/chunks/cli-0.6.12-k2x52jw2.mjs +0 -2
- package/dist/chunks/cli-0.6.12-k5wkfa00.mjs +0 -18
- package/dist/chunks/cli-0.6.12-kkjabccp.mjs +0 -2
- package/dist/chunks/cli-0.6.12-krgdc9xv.mjs +0 -2
- package/dist/chunks/cli-0.6.12-kt60hyrz.mjs +0 -2
- package/dist/chunks/cli-0.6.12-kxgn5260.mjs +0 -34
- package/dist/chunks/cli-0.6.12-m1rdexn7.mjs +0 -2
- package/dist/chunks/cli-0.6.12-m652pj3f.mjs +0 -2
- package/dist/chunks/cli-0.6.12-m8br9xce.mjs +0 -3
- package/dist/chunks/cli-0.6.12-mxrs3myx.mjs +0 -4
- package/dist/chunks/cli-0.6.12-myvzbb0a.mjs +0 -2
- package/dist/chunks/cli-0.6.12-myxkk9nw.mjs +0 -18
- package/dist/chunks/cli-0.6.12-n87dgp00.mjs +0 -2
- package/dist/chunks/cli-0.6.12-nb71rkte.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ndg5saae.mjs +0 -17
- package/dist/chunks/cli-0.6.12-nqh7eeq7.mjs +0 -2
- package/dist/chunks/cli-0.6.12-nsthg20j.mjs +0 -24
- package/dist/chunks/cli-0.6.12-nwdx223d.mjs +0 -25
- package/dist/chunks/cli-0.6.12-p29k66pp.mjs +0 -2
- package/dist/chunks/cli-0.6.12-p86keq4d.mjs +0 -2
- package/dist/chunks/cli-0.6.12-pb83k360.mjs +0 -2
- package/dist/chunks/cli-0.6.12-pbhgk1s7.mjs +0 -2
- package/dist/chunks/cli-0.6.12-pf3jff0s.mjs +0 -15
- package/dist/chunks/cli-0.6.12-pgpcv7kg.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ptm6c9k7.mjs +0 -2
- package/dist/chunks/cli-0.6.12-qmryt9rx.mjs +0 -2
- package/dist/chunks/cli-0.6.12-qwcckae9.mjs +0 -2
- package/dist/chunks/cli-0.6.12-qysrg51y.mjs +0 -12
- package/dist/chunks/cli-0.6.12-r5az487p.mjs +0 -2
- package/dist/chunks/cli-0.6.12-rgecbw6c.mjs +0 -3
- package/dist/chunks/cli-0.6.12-rhbff3mp.mjs +0 -2
- package/dist/chunks/cli-0.6.12-rkfcw3gr.mjs +0 -2
- package/dist/chunks/cli-0.6.12-rn39da8q.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ry6292t5.mjs +0 -2
- package/dist/chunks/cli-0.6.12-s3nsyxya.mjs +0 -16
- package/dist/chunks/cli-0.6.12-s762dex9.mjs +0 -2
- package/dist/chunks/cli-0.6.12-sdb5bx5s.mjs +0 -2
- package/dist/chunks/cli-0.6.12-shnqhhm8.mjs +0 -2
- package/dist/chunks/cli-0.6.12-sp1yd4kb.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ssk9wgyc.mjs +0 -2
- package/dist/chunks/cli-0.6.12-t6e17b69.mjs +0 -2
- package/dist/chunks/cli-0.6.12-tqh55964.mjs +0 -2
- package/dist/chunks/cli-0.6.12-v1k9yxjk.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ve0yf7bb.mjs +0 -2
- package/dist/chunks/cli-0.6.12-vmm9x1sf.mjs +0 -6
- package/dist/chunks/cli-0.6.12-vtwd2qms.mjs +0 -2
- package/dist/chunks/cli-0.6.12-vvxje0rc.mjs +0 -2
- package/dist/chunks/cli-0.6.12-w58bx1s8.mjs +0 -2
- package/dist/chunks/cli-0.6.12-w7rsc2wy.mjs +0 -2
- package/dist/chunks/cli-0.6.12-w8a3jzmm.mjs +0 -2
- package/dist/chunks/cli-0.6.12-wbta805y.mjs +0 -2
- package/dist/chunks/cli-0.6.12-wdv94m1r.mjs +0 -2
- package/dist/chunks/cli-0.6.12-whhyvv1p.mjs +0 -6
- package/dist/chunks/cli-0.6.12-wj4xsk58.mjs +0 -4
- package/dist/chunks/cli-0.6.12-wq16rd87.mjs +0 -2
- package/dist/chunks/cli-0.6.12-wt1j42v1.mjs +0 -2
- package/dist/chunks/cli-0.6.12-wt28w88h.mjs +0 -3
- package/dist/chunks/cli-0.6.12-x4px6ebg.mjs +0 -2
- package/dist/chunks/cli-0.6.12-x60ha982.mjs +0 -2
- package/dist/chunks/cli-0.6.12-x94fe36b.mjs +0 -2
- package/dist/chunks/cli-0.6.12-xm6axcxk.mjs +0 -2
- package/dist/chunks/cli-0.6.12-xm90zy0d.mjs +0 -4
- package/dist/chunks/cli-0.6.12-xmnemm5p.mjs +0 -2
- package/dist/chunks/cli-0.6.12-xn7761gp.mjs +0 -12
- package/dist/chunks/cli-0.6.12-xtdnjw66.mjs +0 -5
- package/dist/chunks/cli-0.6.12-xwf1dh5d.mjs +0 -1
- package/dist/chunks/cli-0.6.12-xz3jwj4y.mjs +0 -2
- package/dist/chunks/cli-0.6.12-xzaf2m9a.mjs +0 -2
- package/dist/chunks/cli-0.6.12-y1tqcbp0.mjs +0 -3
- package/dist/chunks/cli-0.6.12-y22js5cj.mjs +0 -2
- package/dist/chunks/cli-0.6.12-y3jb5s3q.mjs +0 -2
- package/dist/chunks/cli-0.6.12-y8en6j6s.mjs +0 -7
- package/dist/chunks/cli-0.6.12-y972k2tw.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ycr2zjz2.mjs +0 -3
- package/dist/chunks/cli-0.6.12-ydaqyt5e.mjs +0 -2
- package/dist/chunks/cli-0.6.12-yf87hj21.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ygsvrmh6.mjs +0 -2
- package/dist/chunks/cli-0.6.12-yn5d7xfc.mjs +0 -3
- package/dist/chunks/cli-0.6.12-ythpt06e.mjs +0 -2
- package/dist/chunks/cli-0.6.12-ytv10xs6.mjs +0 -2
- package/dist/chunks/cli-0.6.12-yznryqep.mjs +0 -2
- package/dist/chunks/cli-0.6.12-z2t6eay6.mjs +0 -8
- package/dist/chunks/cli-0.6.12-z3mxk8qb.mjs +0 -2
- package/dist/chunks/cli-0.6.12-zqn1amfd.mjs +0 -2
- package/dist/chunks/cli-0.6.12-zys3gk6x.mjs +0 -20
- package/dist/chunks/client-0.6.12-phc6xwmp.mjs +0 -1
- package/dist/chunks/color-0.6.12-3bm7m3a7.mjs +0 -1
- package/dist/chunks/compact-0.6.12-5d6s9rmk.mjs +0 -3
- package/dist/chunks/config-0.6.12-3p83m4s1.mjs +0 -1
- package/dist/chunks/config-0.6.12-5mzt69kt.mjs +0 -1
- package/dist/chunks/constants-0.6.12-1a88z0wh.mjs +0 -1
- package/dist/chunks/context-0.6.12-ejp5j50g.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.12-93sjsnbj.mjs +0 -1
- package/dist/chunks/conversation-0.6.12-zjm6wgxd.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.12-ergymbrz.mjs +0 -1
- package/dist/chunks/copy-0.6.12-ae40pdpw.mjs +0 -9
- package/dist/chunks/cost-0.6.12-0zft9dxk.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.12-eawy0hjj.mjs +0 -1
- package/dist/chunks/createSession-0.6.12-k2ybhmnf.mjs +0 -1
- package/dist/chunks/debug-0.6.12-qwsc3zve.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.12-z3bbhkka.mjs +0 -1367
- package/dist/chunks/desktop-0.6.12-mbqzwz1w.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.12-0c1bdxe1.mjs +0 -1
- package/dist/chunks/detection-0.6.12-fatrvr7b.mjs +0 -1
- package/dist/chunks/diff-0.6.12-jgkz8t70.mjs +0 -1
- package/dist/chunks/doctor-0.6.12-sgdd9y17.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.12-262gvntg.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.12-1hqzzwqc.mjs +0 -1
- package/dist/chunks/effort-0.6.12-td2qdqtd.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.12-yq8zz1ms.mjs +0 -1
- package/dist/chunks/envUtils-0.6.12-41m24c9y.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.12-96z66p9g.mjs +0 -1
- package/dist/chunks/environments-0.6.12-g4zawvgx.mjs +0 -1
- package/dist/chunks/errors-0.6.12-pwgn10xz.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.12-abwdmv10.mjs +0 -1
- package/dist/chunks/exit-0.6.12-1zstjg69.mjs +0 -1
- package/dist/chunks/explorer-0.6.12-ekq5bptv.mjs +0 -1
- package/dist/chunks/export-0.6.12-2g1y7yq2.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.12-r3tx0z4q.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.12-1b6v7jrh.mjs +0 -1
- package/dist/chunks/fast-0.6.12-8ycyb7jh.mjs +0 -1
- package/dist/chunks/feedback-0.6.12-6rmervrh.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.12-k7t19wv3.mjs +0 -1
- package/dist/chunks/git-0.6.12-wd8h5tre.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.12-kew470a1.mjs +0 -1
- package/dist/chunks/goal-0.6.12-ax8sm39h.mjs +0 -4
- package/dist/chunks/grove-0.6.12-gnc0890q.mjs +0 -1
- package/dist/chunks/growthbook-0.6.12-bp7gexrs.mjs +0 -1
- package/dist/chunks/headless-0.6.12-cttcwev7.mjs +0 -2
- package/dist/chunks/heapdump-0.6.12-zmkxywxh.mjs +0 -6
- package/dist/chunks/help-0.6.12-j1xp96ch.mjs +0 -1
- package/dist/chunks/hookChains-0.6.12-anh2pzvv.mjs +0 -3
- package/dist/chunks/hooks-0.6.12-9hm2ddcn.mjs +0 -1
- package/dist/chunks/hooks-0.6.12-a0gr31xg.mjs +0 -79
- package/dist/chunks/ide-0.6.12-gt24sqed.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.12-fd06htw3.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.12-24vvap3x.mjs +0 -1
- package/dist/chunks/index-0.6.12-2qgg1wff.mjs +0 -1
- package/dist/chunks/index-0.6.12-41vfjsr6.mjs +0 -1
- package/dist/chunks/index-0.6.12-73amkcbt.mjs +0 -1
- package/dist/chunks/index-0.6.12-avj6qyfm.mjs +0 -1
- package/dist/chunks/index-0.6.12-b80wbjtw.mjs +0 -1
- package/dist/chunks/index-0.6.12-ctpn09qp.mjs +0 -1
- package/dist/chunks/index-0.6.12-g637f9fx.mjs +0 -5
- package/dist/chunks/index-0.6.12-g802mnr6.mjs +0 -1
- package/dist/chunks/index-0.6.12-nmadn3pq.mjs +0 -1
- package/dist/chunks/index-0.6.12-pd2j0wnb.mjs +0 -30
- package/dist/chunks/index-0.6.12-pger0v41.mjs +0 -1
- package/dist/chunks/index-0.6.12-phsd1x3s.mjs +0 -1
- package/dist/chunks/index-0.6.12-q59k8jj7.mjs +0 -1
- package/dist/chunks/index-0.6.12-rdmcmvt7.mjs +0 -1
- package/dist/chunks/index-0.6.12-rtthmj5w.mjs +0 -2
- package/dist/chunks/index-0.6.12-rtv5gkng.mjs +0 -1
- package/dist/chunks/index-0.6.12-sk1hsbbd.mjs +0 -1
- package/dist/chunks/index-0.6.12-w302e6b5.mjs +0 -2
- package/dist/chunks/index-0.6.12-wxr6k8p3.mjs +0 -1
- package/dist/chunks/index-0.6.12-ydb5e4ax.mjs +0 -9
- package/dist/chunks/index-0.6.12-z4mv30qj.mjs +0 -1
- package/dist/chunks/index-0.6.12-zn2sw41t.mjs +0 -1
- package/dist/chunks/index-0.6.12-zztf50tf.mjs +0 -9
- package/dist/chunks/init-0.6.12-hzpcvtax.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.12-19h8ek32.mjs +0 -1
- package/dist/chunks/ink-0.6.12-wntqc47k.mjs +0 -1
- package/dist/chunks/insights-0.6.12-ehv9w1sm.mjs +0 -870
- package/dist/chunks/install-0.6.12-ek5e219m.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.12-f8ks7z1p.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.12-xy3ka7xx.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.12-k5x3bf7b.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.12-8kc6febh.mjs +0 -1
- package/dist/chunks/keybindings-0.6.12-4nm3sthz.mjs +0 -2
- package/dist/chunks/knowledge-0.6.12-94kf7zkv.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.12-4hzsqy8q.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.12-r6w36jvz.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.12-7jgfnzk9.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.12-g28czpqy.mjs +0 -1
- package/dist/chunks/log-0.6.12-n2qz9rqw.mjs +0 -1
- package/dist/chunks/main-0.6.12-z3w0x1v7.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.12-96ytmrqz.mjs +0 -1
- package/dist/chunks/mcp-0.6.12-k6fx8h8x.mjs +0 -4
- package/dist/chunks/mcp-0.6.12-wzy270hy.mjs +0 -1
- package/dist/chunks/mcp-0.6.12-y0dw59te.mjs +0 -17
- package/dist/chunks/mcpb-0.6.12-67ahhcye.mjs +0 -1
- package/dist/chunks/memory-0.6.12-gym7m96x.mjs +0 -3
- package/dist/chunks/model-0.6.12-5p83mwxc.mjs +0 -1
- package/dist/chunks/model-0.6.12-ez8h0awr.mjs +0 -2
- package/dist/chunks/node-0.6.12-m9nrbmtq.mjs +0 -12
- package/dist/chunks/oauth-0.6.12-bzsfe61y.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.12-0wwtx5pq.mjs +0 -14
- package/dist/chunks/output-style-0.6.12-4z477r8f.mjs +0 -1
- package/dist/chunks/package-FMOR3ELU-0.6.12-8kng3f73.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.12-nfvmk4rg.mjs +0 -1
- package/dist/chunks/parser-0.6.12-d3k043gq.mjs +0 -1
- package/dist/chunks/passes-0.6.12-ne11kyby.mjs +0 -1
- package/dist/chunks/permissions-0.6.12-atkdd074.mjs +0 -3
- package/dist/chunks/permissions-0.6.12-gp1rkkw5.mjs +0 -1
- package/dist/chunks/plan-0.6.12-nps961gw.mjs +0 -1
- package/dist/chunks/plist-0.6.12-sn7z1bfm.mjs +0 -1
- package/dist/chunks/plugin-0.6.12-t8w4em2b.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.12-detthxd9.mjs +0 -1
- package/dist/chunks/plugins-0.6.12-jsyfj14z.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.12-5z3qaz2c.mjs +0 -2
- package/dist/chunks/print-0.6.12-7snrawae.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.12-67vpkknh.mjs +0 -1
- package/dist/chunks/process-0.6.12-9kdkqzvq.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.12-vq198s4m.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.12-pqm77gwv.mjs +0 -9
- package/dist/chunks/prompt-0.6.12-q902mafh.mjs +0 -1
- package/dist/chunks/prompt-0.6.12-xd40dw3n.mjs +0 -1
- package/dist/chunks/prompts-0.6.12-wa0zakkp.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.12-s9g03fmy.mjs +0 -13
- package/dist/chunks/provider-0.6.12-0rkb5my1.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.12-c8560hh3.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.12-p7a4pezy.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.12-m4yzkb1s.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.12-4ympw4qx.mjs +0 -34
- package/dist/chunks/registry-0.6.12-me5c4ees.mjs +0 -1
- package/dist/chunks/release-notes-0.6.12-c98aaef6.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.12-9bjvvf1t.mjs +0 -2
- package/dist/chunks/remote-env-0.6.12-ssv38t07.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.12-499kczq5.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.12-0z14sh5j.mjs +0 -1
- package/dist/chunks/rename-0.6.12-e27tv0xn.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.12-s8xm10k3.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.12-b0tmf29d.mjs +0 -1
- package/dist/chunks/resume-0.6.12-m9xp6af3.mjs +0 -2
- package/dist/chunks/rewind-0.6.12-r48k3bke.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.12-xg4e2npc.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.12-c0jg2mha.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.12-qngt56vd.mjs +0 -1
- package/dist/chunks/session-0.6.12-3kqbq47j.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.12-azdg6zpm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.12-smrf94x8.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.12-3s4xgk72.mjs +0 -1
- package/dist/chunks/settings-0.6.12-qgf2vk7t.mjs +0 -1
- package/dist/chunks/setup-0.6.12-rmgv0hja.mjs +0 -5
- package/dist/chunks/sinks-0.6.12-a76rjjna.mjs +0 -1
- package/dist/chunks/skills-0.6.12-97wwzbqg.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.12-n7dwbws3.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.12-zz72ygxt.mjs +0 -1
- package/dist/chunks/state-0.6.12-k8svntgp.mjs +0 -1
- package/dist/chunks/stats-0.6.12-6eqvrdcf.mjs +0 -6
- package/dist/chunks/status-0.6.12-89m9h2d5.mjs +0 -1
- package/dist/chunks/stickers-0.6.12-nkgkxve6.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.12-aeb0xfq8.mjs +0 -1
- package/dist/chunks/tasks-0.6.12-768gy8rf.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.12-p30ye095.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.12-9ckbra11.mjs +0 -1
- package/dist/chunks/teleport-0.6.12-a7phvh8w.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.12-v1mmftfk.mjs +0 -1
- package/dist/chunks/theme-0.6.12-pk44vevh.mjs +0 -1
- package/dist/chunks/thinkback-0.6.12-h129pk9c.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.12-0q1h69xk.mjs +0 -1
- package/dist/chunks/toolPool-0.6.12-6btnc350.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.12-6w6c2d0k.mjs +0 -1
- package/dist/chunks/tools-0.6.12-payt8j1x.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.12-3cf6rrwr.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.12-vpz9aqc1.mjs +0 -69
- package/dist/chunks/types-0.6.12-89db9fm7.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.12-71j89ba5.mjs +0 -4
- package/dist/chunks/update-0.6.12-b1am0643.mjs +0 -86
- package/dist/chunks/upgrade-0.6.12-cnrv3v3c.mjs +0 -1
- package/dist/chunks/upload-0.6.12-sgdhvzs6.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.12-jebzvamj.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.12-qmbaskxk.mjs +0 -1
- package/dist/chunks/usage-0.6.12-4rpa911e.mjs +0 -1
- package/dist/chunks/util-0.6.12-p6wjnsvs.mjs +0 -1
- package/dist/chunks/utils-0.6.12-zg7kvysm.mjs +0 -1
- package/dist/chunks/vim-0.6.12-jp06y1w1.mjs +0 -1
- package/dist/chunks/watcher-0.6.12-46f463g8.mjs +0 -1
- package/dist/chunks/wiki-0.6.12-338ffyp8.mjs +0 -132
- package/dist/chunks/worktree-0.6.12-e32fmtrw.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.12-89pgcps3.mjs +0 -1
- package/dist/chunks/wrapper-0.6.12-h92v93hb.mjs +0 -7
- /package/dist/chunks/{cli-0.6.12-epgpn2nw.mjs → cli-0.6.13-1dwgndg5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-6bdrnprg.mjs → cli-0.6.13-5qvssn7h.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-rcpf2m27.mjs → cli-0.6.13-e3h2z83b.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-k3a537sa.mjs → cli-0.6.13-h2yxttam.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-x7na0qcv.mjs → cli-0.6.13-p839x5sj.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-zgydst6p.mjs → cli-0.6.13-rmzzvjt2.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-femcgqwt.mjs → cli-0.6.13-s9yqkgwe.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.12-e3smy1wy.mjs → cli-0.6.13-tsz6mx5f.mjs} +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{qc as Kc,rc as da}from"./cli-0.6.12-pb83k360.mjs";import{sc as An,tc as Ht,uc as Xt,vc as Zc,xc as ea}from"./cli-0.6.12-krgdc9xv.mjs";import{Bc as ma,yc as wt}from"./cli-0.6.12-9prkktd2.mjs";import{Ap as mn,Bp as Uu,Cp as Lc,Ep as zc,Fp as Nc,Hp as fc,OF as nc,PF as Gu,QF as cc,RF as uc,SF as ac,TF as Vu,Yp as Mc,Zp as aa,ly as Gc,mH as Hn,my as Vc,nF as yt,nH as Au,ny as Yc,oF as Kn,oy as Jc,pH as la,py as ra,qH as oa,tp as yc,up as Wu,vp as Cc,wp as bc,wv as Qc,xF as V,xp as wc,yF as gu,yp as Oc,yv as ha,zF as ia,zp as D}from"./cli-0.6.12-g971w5pv.mjs";import{PW as v,RW as ca,bX as Fc,cX as ua}from"./cli-0.6.12-n87dgp00.mjs";import{RZ as Ln,kZ as g,mZ as i}from"./cli-0.6.12-21j45ejg.mjs";import{U0 as Nn,V0 as Mn,W0 as Qn,X0 as Gn,Y0 as Vn,Z0 as su,a1 as Yn,e1 as Jn,f1 as $c,g1 as Zn}from"./cli-0.6.12-dywed27z.mjs";import{W1 as dt,X1 as u,Y1 as y,Z1 as Qt}from"./cli-0.6.12-g9dxg935.mjs";import{_1 as Vt}from"./cli-0.6.12-bc05z2sq.mjs";import{v2 as lc,w2 as Hu}from"./cli-0.6.12-c6tjtcxh.mjs";import{M2 as $n,O2 as Ou}from"./cli-0.6.12-s3nsyxya.mjs";import{$ca as ft,Ada as tc,Bda as Qu,Cda as On,Dda as rc,Eda as sn,Gda as ic,Ida as Sc,Jda as gn,Sca as qc,Tca as bt,Uca as ta,Vca as Tt,Wca as nt,Xda as na,Yca as W,Zca as Kt,ada as Cn,bda as ct,cda as At,f8 as Ct,g8 as vu,gda as Rt,hda as bn,jda as wn,nda as Fn,sda as hn,tda as xn,uda as jn,vda as Yt,wda as rn,xda as Dn,yda as an,zda as vn}from"./cli-0.6.12-ecm9vh62.mjs";import{Fia as ut,Nia as on}from"./cli-0.6.12-967g034j.mjs";import{Rpa as Gt,Spa as Du,Vpa as j}from"./cli-0.6.12-6bdrnprg.mjs";function zu(t,c=tn,a){let r=nt().find((m)=>m.provider==="openai"&&m.extras?.githubToken!==void 0);if(r)return At(r.id,{provider:"openai",name:r.name,baseUrl:a||r.baseUrl,model:r.model||c,apiKey:t,extras:{...r.extras,githubToken:t}}),Rt(r.id),{mode:"updated"};return ct({provider:"openai",name:"GitHub Copilot",baseUrl:a||Ru,model:c,apiKey:t,extras:{githubToken:t}},{makeActive:!0}),{mode:"created"}}function Tn({onDone:t,onBack:c,onChangeAPIKey:a}){let r=Yn()?.trim()?"already-authed":"menu",[m,e]=E.useState(r),[A,O]=E.useState(null),[X,w]=E.useState(""),[z,S]=E.useState(0),[L,Z]=E.useState(null),N=E.useCallback(async(Y,q=tn,tt,f)=>{let T=Jn(Y,tt,f?.enterpriseDomain);if(!T.success){O(T.warning??"Could not save token to secure storage."),e("error");return}zu(Y,q,f?.baseUrl),$n(),a?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[a,t]),C=E.useCallback(async(Y)=>{e("device-busy"),O(null),Z(null);try{let q=await Mn({domain:Y});Z({user_code:q.user_code,verification_uri:q.verification_uri}),await Gn(q.verification_uri);let tt=await Qn(q.device_code,{initialInterval:q.interval,timeoutSeconds:q.expires_in,domain:Y}),f=await Vn(tt,{domain:Y});await N(f.token,tn,tt,{baseUrl:f.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:Y})}catch(q){O(q instanceof Error?q.message:String(q)),e("error")}},[N]);if(m==="already-authed")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot"}),u(i,{children:"You are already signed in to GitHub Copilot."}),u(i,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),u(V,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"back"}],onChange:(q)=>{if(q==="sign-in-again"){C();return}if(q==="enterprise"){e("enterprise-domain");return}if(c){c();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="enterprise-domain")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Enterprise sign-in"}),u(i,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:">"}),u(yt,{value:X,onChange:w,onSubmit:()=>{let q=Nn(X);if(!q){C();return}C(q)},onExit:()=>e(r),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:z,onChangeCursorOffset:S})]}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(m==="error"&&A)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"red",children:A}),u(V,{options:[{label:c?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(q)=>{if(q==="back"){if(c){c();return}e("menu"),O(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="device-busy")return y(g,{flexDirection:"column",gap:1,children:[u(i,{children:"GitHub Copilot sign-in"}),L?y(dt,{children:[y(i,{children:["Enter code ",u(i,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),u(i,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):u(i,{dimColor:!0,children:"Requesting device code from GitHub..."}),u(Hn,{})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot setup"}),u(i,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),u(V,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(Y)=>{if(Y==="cancel"){if(c){c();return}t("GitHub onboard cancelled",{display:"system"});return}if(Y==="enterprise"){e("enterprise-domain");return}C()}})]})}var E,tn="github:copilot",Ru="https://api.githubcopilot.com";var Wn=j(()=>{gu();Au();Kn();Ln();su();Zn();Ou();Fn();Qt();E=Gt(Vt(),1)});function En(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function zt(t,c){return c.some((a)=>t.includes(a))}function _u(t){return!zt(En(t),Un)}function qu(t){return t.find(_u)??null}function nn(t){let a=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(a?.[1])return Number(a[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function Su(t){return(t.quantizationLevel??t.name).toLowerCase()}function Fu(t,c,a){if(t===null)return a.push("unknown size"),0;if(c==="latency"){if(t<=4)return a.push("tiny model for low latency"),32;if(t<=8)return a.push("small model for fast responses"),26;if(t<=14)return a.push("mid-sized model with acceptable latency"),16;if(t<=24)return a.push("larger model may be slower"),8;return a.push("large model likely slower locally"),t<=40?0:-8}if(c==="coding"){if(t>=7&&t<=14)return a.push("strong coding size tier"),24;if(t>14&&t<=34)return a.push("large coding-capable size tier"),28;if(t>34)return a.push("very large model with higher quality potential"),18;return a.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return a.push("great balanced size tier"),26;if(t>=3&&t<7)return a.push("compact balanced size tier"),18;if(t>14&&t<=24)return a.push("high quality balanced size tier"),20;if(t>24)return a.push("large model for quality-first usage"),10;return a.push("very small model for general usage"),8}function $u(t,c,a){let r=Su(t);if(r.includes("q4"))return a.push("efficient Q4 quantization"),c==="latency"?8:4;if(r.includes("q5"))return a.push("balanced Q5 quantization"),c==="latency"?6:5;if(r.includes("q8"))return a.push("higher quality Q8 quantization"),c==="latency"?2:5;return 0}function Lu(t,c,a){if(c.score!==t.score)return c.score-t.score;let r=nn(t)??Number.POSITIVE_INFINITY,m=nn(c)??Number.POSITIVE_INFINITY;if(a==="latency")return r-m;if(a==="coding")return m-r;let e=14;return Math.abs(r-e)-Math.abs(m-e)}function cn(t,c){return t.map((a)=>{let r=En(a),m=[],e=0;if(zt(r,Un))e-=40,m.push("not a chat-first model");if(zt(r,fu))e+=c==="coding"?24:c==="balanced"?10:4,m.push("coding-oriented model family");if(zt(r,Xu))e+=c==="latency"?4:c==="coding"?6:8,m.push("strong general-purpose model family");if(zt(r,ku))e+=c==="latency"?2:6,m.push("chat/instruct tuned");if(r.includes("vision")||r.includes("vl"))e-=2,m.push("vision model adds extra overhead");e+=Fu(nn(a),c,m),e+=$u(a,c,m);let A=m.slice(0,3).join(", ");return{...a,score:e,reasons:m,summary:A}}).sort((a,r)=>Lu(a,r,c))}function Pn(t,c){return qu(cn(t,c))}var fu,Xu,ku,Un;var Bn=j(()=>{fu=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Xu=["llama","qwen","mistral","gemma","phi","deepseek"],ku=["instruct","chat","assistant"],Un=["embed","embedding","rerank","bge","whisper"]});function Mu(t){let c=t.toLowerCase();return Nu.some((a)=>c.includes(a))}function un(t){try{let c=new URL(t);if(c.username)c.username="redacted";if(c.password)c.password="redacted";for(let a of c.searchParams.keys())if(Mu(a))c.searchParams.set(a,"redacted");return c.toString()}catch{return t.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Nu;var In=j(()=>{Nu=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Yu(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URL(`${hn}/oauth/authorize`);return a.searchParams.append("response_type","code"),a.searchParams.append("client_id",rn()),a.searchParams.append("redirect_uri",c),a.searchParams.append("scope",xn),a.searchParams.append("code_challenge",t.codeChallenge),a.searchParams.append("code_challenge_method","S256"),a.searchParams.append("id_token_add_organizations","true"),a.searchParams.append("codex_cli_simplified_flow","true"),a.searchParams.append("state",t.state),a.searchParams.append("originator",jn),a.toString()}function Ju(){return`<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>Codex Login Complete</title>
|
|
6
|
-
<style>
|
|
7
|
-
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
8
|
-
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
9
|
-
p { margin: 0 0 10px; }
|
|
10
|
-
</style>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<h1>Codex login complete</h1>
|
|
14
|
-
<p>You can return to Claudin now.</p>
|
|
15
|
-
<p>Claudin will finish activating your new Codex OAuth login.</p>
|
|
16
|
-
</body>
|
|
17
|
-
</html>`}function Zu(t){return`<!doctype html>
|
|
18
|
-
<html lang="en">
|
|
19
|
-
<head>
|
|
20
|
-
<meta charset="utf-8" />
|
|
21
|
-
<title>Codex Login Failed</title>
|
|
22
|
-
<style>
|
|
23
|
-
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
24
|
-
h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
|
|
25
|
-
p { margin: 0 0 10px; }
|
|
26
|
-
</style>
|
|
27
|
-
</head>
|
|
28
|
-
<body>
|
|
29
|
-
<h1>Codex login failed</h1>
|
|
30
|
-
<p>${vn(t)}</p>
|
|
31
|
-
<p>You can close this window and try again in Claudin.</p>
|
|
32
|
-
</body>
|
|
33
|
-
</html>`}function pn(){return`<!doctype html>
|
|
34
|
-
<html lang="en">
|
|
35
|
-
<head>
|
|
36
|
-
<meta charset="utf-8" />
|
|
37
|
-
<title>Codex Login Cancelled</title>
|
|
38
|
-
<style>
|
|
39
|
-
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
40
|
-
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
41
|
-
p { margin: 0 0 10px; }
|
|
42
|
-
</style>
|
|
43
|
-
</head>
|
|
44
|
-
<body>
|
|
45
|
-
<h1>Codex login cancelled</h1>
|
|
46
|
-
<p>You can close this window and retry in Claudin.</p>
|
|
47
|
-
</body>
|
|
48
|
-
</html>`}async function Ku(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:c,client_id:rn(),code_verifier:t.codeVerifier}),r=await fetch(`${hn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!r.ok){let w=await r.text().catch(()=>"");throw Error(w.trim()?`Codex OAuth token exchange failed (${r.status}): ${w.trim()}`:`Codex OAuth token exchange failed with status ${r.status}.`)}let m=await r.json(),e=Yt(m.access_token),A=Yt(m.refresh_token);if(!e||!A)throw Error("Codex OAuth completed, but the token response was missing credentials.");let O=Yt(m.id_token);return{apiKey:O?await tc(O).catch(()=>{return}):void 0,accessToken:e,refreshToken:A,idToken:O,accountId:an(O)??an(e)}}class ln{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let c=cc(),a=Dn(),r=new nc("/auth/callback");this.authCodeListener=r,this.port=null;try{let m=await r.start(a);this.port=m;let e=ac(),A=await uc(c),O=Yu({port:m,codeChallenge:A,state:e});try{let X=await r.waitForAuthorization(e,async()=>{await t(O)}),w=new AbortController;this.tokenExchangeAbortController=w;let z;try{z=await Ku({authorizationCode:X,codeVerifier:c,port:m,signal:w.signal})}finally{if(this.tokenExchangeAbortController===w)this.tokenExchangeAbortController=null}if(this.authCodeListener!==r)throw this.buildCancellationError();return r.handleSuccessRedirect([],(S)=>{S.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),S.end(Ju())}),z}catch(X){let w=this.authCodeListener===r?X:this.buildCancellationError();if(r.hasPendingResponse()){let z=w instanceof Error&&w.message==="Codex OAuth flow was cancelled.";r.handleErrorRedirect((S)=>{S.writeHead(z?200:400,{"Content-Type":"text/html; charset=utf-8"}),S.end(z?pn():Zu(w instanceof Error?w.message:String(w)))})}throw w}finally{this.cleanup()}}catch(m){let e=m instanceof Error?m.message:String(m);if(e.includes("EADDRINUSE")||e.includes(String(a)))throw Error(`Codex OAuth needs localhost:${a} for its callback. Close any app already using that port and try again.`);throw m}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((c)=>{c.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),c.end(pn())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var hc=j(()=>{Gu();Vu();Qu()});function Tu(){return new ln}function oc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??Tu,r=t.deps?.openBrowser??lc,m=t.deps?.saveCodexCredentials??rc,e=t.deps?.isBareMode??ut,[A,O]=Jt.useState({state:"starting"});return Jt.useEffect(()=>{if(e()){O({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let X=!1,w=a();return w.startOAuthFlow(async(z)=>{if(X)return;O({state:"waiting",authUrl:z,browserOpened:null});let S=await r(z);if(X)return;O({state:"waiting",authUrl:z,browserOpened:S})}).then(async(z)=>{if(X)return;await c(z,(L)=>{let Z=m({apiKey:z.apiKey,accessToken:z.accessToken,refreshToken:z.refreshToken,idToken:z.idToken,accountId:z.accountId,profileId:L?.profileId});if(!Z.success)throw Error(Z.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((z)=>{if(X)return;O({state:"error",message:z instanceof Error?z.message:String(z)})}),()=>{X=!0,w.cleanup()}},[a,e,c,r,m]),A}var Jt;var mc=j(()=>{hc();Hu();ic();on();Jt=Gt(Vt(),1)});function Ac(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":yc()}}function dc(t,c){let a=Number(t);return Number.isFinite(a)&&a>0?a*1000:c}function Iu(t,c){if(c?.aborted)return Promise.resolve();return new Promise((a)=>{let r=setTimeout(()=>{c?.removeEventListener("abort",m),a()},t),m=()=>{clearTimeout(r),a()};c?.addEventListener("abort",m,{once:!0})})}async function pu(t){let c=t?.fetchImpl??fetch,a=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),r=await c(bc,{method:"POST",headers:Ac(),body:new URLSearchParams({client_id:mn(),scope:Oc}).toString(),signal:a});if(!r.ok){let X=await r.text().catch(()=>"");throw Error(`xAI device code request failed (${r.status})${X?`: ${X.trim()}`:""}`)}let m=await r.json(),e=D(m.device_code),A=D(m.user_code),O=D(m.verification_uri);if(!e||!A||!O)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:e,user_code:A,verification_uri:O,verification_uri_complete:D(m.verification_uri_complete),expires_in:typeof m.expires_in==="number"&&m.expires_in>0?m.expires_in:gc/1000,interval:typeof m.interval==="number"&&m.interval>0?m.interval:sc/1000}}async function xu(t,c){let a=c?.fetchImpl??fetch,r=c?.sleep??Iu,m=c?.now??(()=>Date.now()),e=dc(t.expires_in,gc),A=m()+e,O=Math.max(dc(t.interval,sc),Eu);while(m()<A){if(c?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let X=await a(Cc,{method:"POST",headers:Ac(),body:new URLSearchParams({grant_type:wc,client_id:mn(),device_code:t.device_code}).toString(),signal:c?.signal});if(X.ok){let L=await X.json(),Z=D(L.access_token),N=D(L.refresh_token);if(!Z||!N)throw Error("xAI OAuth completed, but the token response was missing credentials.");let C=typeof L.expires_in==="number"&&Number.isFinite(L.expires_in)&&L.expires_in>0?L.expires_in:3600;return{accessToken:Z,refreshToken:N,idToken:D(L.id_token),expiresAt:m()+C*1000}}let w=await X.json().catch(()=>({})),z=Math.max(0,A-m());if(w.error==="authorization_pending"){await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="slow_down"){O=Math.min(O+Pu,Bu),await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="access_denied"||w.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(w.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let S=w.error_description??w.error??"";throw Error(`xAI device token exchange failed (${X.status})${S?`: ${S}`:""}`)}throw Error("xAI device authorization timed out.")}class en{abortController=null;async startDeviceFlow(t){let c=new AbortController;this.abortController=c;try{let a=await pu({signal:c.signal});return await t(a),await xu(a,{signal:c.signal})}finally{if(this.abortController===c)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var sc=5000,Eu=1000,Pu=5000,Bu=60000,gc=300000,ec=3000;var Rc=j(()=>{Wu();Uu()});function ju(){return new en}function Xc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??ju,r=t.deps?.saveXaiCredentials??zc,m=t.deps?.isBareMode??ut,[e,A]=Zt.useState({state:"starting"});return Zt.useEffect(()=>{if(m()){A({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let O=!1,X=a();return X.startDeviceFlow(async(w)=>{if(O)return;A({state:"waiting",userCode:w.user_code,verificationUri:w.verification_uri,verificationUriComplete:w.verification_uri_complete})}).then(async(w)=>{if(O)return;await c(w,(S)=>{let L=r({accessToken:w.accessToken,refreshToken:w.refreshToken,idToken:w.idToken,expiresAt:w.expiresAt,profileId:S?.profileId});if(!L.success)throw Error(L.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((w)=>{if(O)return;A({state:"error",message:w instanceof Error?w.message:String(w)})}),()=>{O=!0,X.cleanup()}},[a,m,c,r]),e}var Zt;var kc=j(()=>{Rc();on();fc();Zt=Gt(Vt(),1)});function sa(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function ga(t){let c=Tt(t);return{name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey??""}}function Aa(t){let c={};for(let a of t.split(/\r?\n/)){let r=a.trim();if(!r)continue;let m=r.indexOf(":");if(m<=0)continue;let e=r.slice(0,m).trim(),A=r.slice(m+1).trim();if(e&&A)c[e]=A}return c}function Ra(t){if(!t)return"";return Object.entries(t).map(([c,a])=>`${c}: ${a}`).join(`
|
|
49
|
-
`)}function za(t,c){let a={},r=t.awsRegion?.trim();if(r)a.awsRegion=r;let m=t.gcpProject?.trim();if(m)a.gcpProject=m;let e=t.gcpRegion?.trim();if(e)a.gcpRegion=e;let A=t.azureResource?.trim();if(A)a.azureResource=A;let O=Aa(c);if(Object.keys(O).length>0)a.customHeaders=O;return Object.keys(a).length>0?a:void 0}function Xa(t,c){let a=c?" (active)":"",r=t.apiKey?"key set":"no key",m=t.provider==="anthropic"?"anthropic":"openai-compatible",e=qc(t.model),A=e.length<=3?e.join(", "):`${e[0]}, ${e[1]} + ${e.length-2} more`;return`${m} · ${t.baseUrl} · ${A} · ${r}${a}`}function ka(t,c){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${un(c)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(t.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function _a(t,c){if(t.state==="unreachable")return`Could not reach Ollama at ${un(c)}. Start Ollama first, or enter the endpoint manually.`;if(t.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(t.state==="generation_failed"){let a=t.probeModel??"the selected model",r=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${a}.${r} Run "ollama run ${a}" once and retry, or enter details manually.`}return""}function yn(t,c){if(!c)return;return t.find((a)=>a.id===c)}function _c(t,c){return Boolean(t&&c&&t.id===c)}function qa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=oc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"Codex OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Codex OAuth"}),u(i,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),r.state==="starting"?u(i,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):r.browserOpened===!1?y(dt,{children:[u(i,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),u(i,{children:r.authUrl})]}):r.browserOpened===!0?y(dt,{children:[u(i,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),u(i,{children:r.authUrl})]}):u(i,{dimColor:!0,children:"Opening your browser..."}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=Xc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"xAI OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),r.state==="starting"?u(i,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(dt,{children:[y(i,{children:["Open this URL on any device:"," ",u(i,{bold:!0,children:r.verificationUri})]}),y(i,{children:["Enter code ",u(i,{bold:!0,children:r.userCode})]}),r.verificationUriComplete&&r.verificationUriComplete!==r.verificationUri?y(i,{dimColor:!0,children:["Or open this prefilled URL: ",r.verificationUriComplete]}):null,u(i,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sh({mode:t,onDone:c}){let a=Qc(),[r,m]=b.useState([]),[e,A]=b.useState(),[O,X]=b.useState(),[w,z]=b.useState(!1),[S,L]=b.useState(),Z=b.useRef(0),[N,C]=b.useState(t==="first-run"?"select-preset":"menu"),[ht,Y]=b.useState(null),[q,tt]=b.useState("openai"),[f,T]=b.useState(()=>ga("ollama")),[Wt,kt]=b.useState({}),[Rn,Ut]=b.useState(""),[Hc,Tc]=b.useState(0),[Wc,Uc]=b.useState(0),[Et,zn]=b.useState(null),[rt,Ot]=b.useState(0),[it,P]=b.useState(0),[Ec,B]=b.useState(0),[fn,M]=b.useState(),[lt,R]=b.useState(),[Pc,Bc]=b.useState(),[Xn,_t]=b.useState(!1),[st,gt]=b.useState(),[I,qt]=b.useState({state:"idle"}),[p,St]=b.useState({state:"idle"}),[x,Pt]=b.useState({state:"idle"}),[Ic,pc]=b.useState(!0),[xc,H]=b.useState(!1),Bt=b.useRef(!1),[It,pt]=b.useState(()=>Xt()),[kn,jc]=b.useState(()=>Zc());b.useEffect(()=>{queueMicrotask(()=>{let n=nt(),h=W()?.id;m(n),A(h),X(Kt()),L(Cn()),z(ft()),pc(!1)})},[]);let ot=at[it]??at[0],Ft=ot.key,Dc=f[Ft],xt=r.length>0,$t=xt,_n=b.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:S?`Currently: ${r.find((n)=>n.id===S)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!$t},{value:"activate-project",label:"Set active provider (Project)",description:O?`Currently: ${r.find((n)=>n.id===O)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!$t},...w?[{value:"clear-project-override",label:"Clear project provider override",description:O?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!xt},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!$t},...Xn?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[$t,xt,Xn,It,S,O,r]),jt=b.useCallback(()=>{if(ut()){Z.current+=1,_t(!1),gt(void 0);return}let n=++Z.current;(async()=>{let h=await On();if(n!==Z.current)return;_t(Boolean(h?.apiKey||h?.accessToken||h?.refreshToken||h?.idToken)),gt(h?.profileId)})()},[]);b.useEffect(()=>{return jt(),()=>{Z.current+=1}},[jt]),b.useEffect(()=>{if(N!=="select-ollama-model")return;let n=!1;return qt({state:"loading"}),(async()=>{let h=await Jc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)qt({state:"unavailable",message:_a(h,f.baseUrl)});return}let o=cn(h.models,"balanced"),l=Pn(h.models,"balanced");if(!n)qt({state:"ready",defaultValue:l?.name??o[0]?.name,options:o.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-atomic-chat-model")return;let n=!1;return St({state:"loading"}),(async()=>{let h=await Yc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)St({state:"unavailable",message:ka(h,f.baseUrl)});return}if(!n)St({state:"ready",defaultValue:h.models[0],options:h.models.map((o)=>({label:o,value:o}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-openai-model")return;let n=!1;return Pt({state:"loading"}),(async()=>{let h=await Gc({baseUrl:f.baseUrl,apiKey:f.apiKey||void 0});if(n)return;if(!h||h.length===0){Pt({state:"unavailable",message:"Couldn't list models from this provider. Enter the model id manually, or go back to check the base URL and API key."});return}let{options:o,defaultValue:l}=Vc(h,f.model);Pt({state:"ready",options:o,defaultValue:l})})(),()=>{n=!0}},[f.baseUrl,f.apiKey,N]);function Q(){if(Bt.current)return;Bt.current=!0,queueMicrotask(()=>{let n=nt();m(n),A(W()?.id),X(Kt()),L(Cn()),z(ft()),jt(),Bt.current=!1})}function mt(){return null}function Dt(n){if(n.activationWarning)return`${n.prefix}. Saved for next startup. Warning: ${n.warnings.join("; ")}.`;if(n.warnings.length>0)return`${n.prefix}. Claudin switched to it for this session with warnings: ${n.warnings.join("; ")}.`;return`${n.prefix}. Claudin switched to it for this session.`}async function vt(n){if(n?.accessToken&&n.accountId)return null;let h=await On();if(!h)return"stored Codex OAuth credentials could not be loaded";if(!h.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function qn(){Mc()}async function vc(n){let h="provider";H(!0),M("Activating provider...");try{await new Promise((U)=>queueMicrotask(U));let o=ft(),l=Rt(n);if(!l){R("Could not change active provider."),H(!1),k();return}let d=o?W()??l:l,s=bt(d.model);if(!o)a((U)=>({...U,mainLoopModel:s,mainLoopModelForSession:null}));h=l.name;let _=mt(),J=_c(l,st),$=J?await vt():null;Q();let K=o&&d.id!==l.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",F=J?Dt({prefix:`Active provider: ${l.name}${K}`,activationWarning:$,warnings:[$,_?`could not clear startup provider override (${_})`:null].filter((U)=>Boolean(U))}):_?`Active provider: ${l.name}${K}. Warning: could not clear startup provider override (${_}).`:`Active provider: ${l.name}${K}`;M(F),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:s,message:`Provider switched to ${l.name} (${s})`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish activating ${h}: ${l}`),k()}}async function tu(){H(!0),M("Clearing project provider override...");try{await new Promise((h)=>queueMicrotask(h)),bn(null),Q();let n=W();if(n){let h=bt(n.model);wt(),a((o)=>({...o,mainLoopModel:h,mainLoopModelForSession:null})),M(`Project override cleared. Using global default: ${n.name}.`),H(!1),c({action:"activated",activeProfileId:n.id,activeProviderName:n.name,activeProviderModel:h,message:`Project override cleared — using ${n.name} (${h})`}),k()}else M("Project provider override cleared. No global default set."),H(!1),c({action:"saved",message:"Project provider override cleared. No global default set."}),k()}catch(n){Q(),M(void 0),H(!1);let h=n instanceof Error?n.message:String(n);R(`Could not clear project provider override: ${h}`),k()}}async function nu(n){let h="provider";H(!0),M("Setting provider for this project...");try{await new Promise((F)=>queueMicrotask(F));let o=Kt(),l=bn(n);if(!l){R("Could not set project provider override."),H(!1),k();return}let d=bt(l.model);if(o===l.id)wt();a((F)=>({...F,mainLoopModel:d,mainLoopModelForSession:null})),h=l.name;let s=mt(),_=_c(l,st),J=_?await vt():null;Q();let $=`Active provider for this project: ${l.name}. Other projects keep the global default.`,K=_?Dt({prefix:$,activationWarning:J,warnings:[J,s?`could not clear startup provider override (${s})`:null].filter((F)=>Boolean(F))}):s?`${$} Warning: could not clear startup provider override (${s}).`:$;M(K),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:d,message:`Provider switched to ${l.name} (${d}) for this project`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish setting ${h} for this project: ${l}`),k()}}function k(){Bc("done"),C("menu")}function Lt(n){c({action:"cancelled",message:n})}function cu(n){let h=Tt(n),o={name:h.name,baseUrl:h.baseUrl,model:h.model,apiKey:h.apiKey??""};if(Y(null),tt(h.provider??"openai"),T(o),kt({}),Ut(""),zn(n),P(0),Ot(0),B(o.name.length),R(void 0),n==="ollama"){qt({state:"loading"}),C("select-ollama-model");return}if(n==="atomic-chat"){St({state:"loading"}),C("select-atomic-chat-model");return}if(n==="anthropic"){C("anthropic-auth-choice");return}if(n==="bedrock"||n==="vertex"||n==="foundry"){C("cloud-extras");return}C("form")}function uu(n){let h=r.find((l)=>l.id===n);if(!h)return;let o=sa(h);Y(n),tt(h.provider??"openai"),T(o),kt({awsRegion:h.extras?.awsRegion,gcpProject:h.extras?.gcpProject,gcpRegion:h.extras?.gcpRegion,azureResource:h.extras?.azureResource}),Ut(Ra(h.extras?.customHeaders)),zn(null),P(0),Ot(0),B(o.name.length),R(void 0),C("form")}function Nt(n=f){let h=za(Wt,Rn),o={provider:q,name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey,extras:h},l=ht?At(ht,o):ct(o,{makeActive:!0});if(!l){R("Could not save provider. Fill all required fields.");return}let d=W()?.id===l.id;if(d)wt(),a((K)=>({...K,mainLoopModel:bt(l.model),mainLoopModelForSession:null}));let s=d?mt():null;Q();let _=!ht&&ft()&&!d,J=_?W()?.name??"override target":null,$=ht?`Updated provider: ${l.name}`:_?`Added provider: ${l.name} (now global default — project keeps using ${J}; use "Clear project provider override" to apply here)`:`Added provider: ${l.name} (now active)`;if(M(s?`${$}. Warning: could not clear startup provider override (${s}).`:$),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:`Provider configured: ${l.name}`});return}Y(null),P(0),R(void 0),k()}function au(){if(p.state==="loading"||p.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),u(i,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(p.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Atomic Chat setup"}),u(i,{dimColor:!0,children:p.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),u(i,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),u(V,{options:p.options,defaultValue:p.defaultValue,defaultFocusValue:p.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,p.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function hu(){if(I.state==="loading"||I.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Ollama"}),u(i,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(I.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Ollama setup"}),u(i,{dimColor:!0,children:I.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Ollama model"}),u(i,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),u(V,{options:I.options,defaultValue:I.defaultValue,defaultFocusValue:I.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,I.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function et(n){let h=at.findIndex((o)=>o.key===n);P(h<0?0:h),B(f[n].length),R(void 0),C("form")}function ru(){if(x.state==="loading"||x.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Fetching models"}),u(i,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),u(i,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(x.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:x.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(o)=>{if(o==="manual"){et("model");return}et("apiKey")},onCancel:()=>et("apiKey"),visibleOptionCount:2})]});let n=[...x.options,{value:dn,label:"Enter a model id manually",description:"Type an id the provider did not list"}],h=x.defaultValue??dn;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),u(V,{options:n,defaultValue:h,defaultFocusValue:h,inlineDescriptions:!0,visibleOptionCount:Math.min(8,n.length),onChange:(o)=>{if(o===dn){et("model");return}let l={...f,model:o};T(l),Sn(l)},onCancel:()=>et("apiKey")}),u(i,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function Sn(n){if(Et==="anthropic"||Et==="custom"){T(n),C("custom-headers");return}Nt(n)}function iu(n){let h=n.trim();if(!ot.optional&&h.length===0){R(`${ot.label} is required.`);return}let o={...f,[Ft]:h};if(T(o),R(void 0),it<at.length-1){let l=it+1,d=at[l]?.key??"name";if(d==="model"&&!ya.has(q)&&o.baseUrl.trim().length>0){C("select-openai-model");return}P(l),B(o[d].length);return}Sn(o)}function lu(){if(R(void 0),it>0){let n=it-1,h=at[n]?.key??"name";P(n),B(f[h].length);return}if(t==="first-run"){C("select-preset");return}k()}v("confirm:no",lu,{context:"Settings",isActive:N==="form"}),v("confirm:no",()=>et("model"),{context:"Settings",isActive:N==="select-openai-model"&&(x.state==="loading"||x.state==="idle")});function ou(){if(R(void 0),rt>0){Ot(rt-1);return}C("select-preset")}v("confirm:no",ou,{context:"Settings",isActive:N==="cloud-extras"}),v("confirm:no",()=>C("form"),{context:"Settings",isActive:N==="custom-headers"}),v("confirm:no",()=>C("select-preset"),{context:"Settings",isActive:N==="anthropic-auth-choice"||N==="anthropic-oauth"});function mu(){let n=!ut(),h=[...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{value:"cloudflare-workers-ai",label:"Cloudflare Workers AI",description:"Cloudflare Workers AI (OpenAI-compatible); set your account ID in the base URL"},{value:"cloudflare-ai-gateway",label:"Cloudflare AI Gateway",description:"Cloudflare AI Gateway unified endpoint; set your account ID in the base URL"},...n?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"zai",label:"Z.AI (GLM Coding Plan)",description:"Z.AI GLM Coding Plan (OpenAI-compatible)"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...t==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),u(i,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),u(V,{options:h,onChange:(o)=>{if(o==="skip"){Lt("Provider setup skipped");return}if(o==="codex-oauth"){C("codex-oauth");return}if(o==="xai-oauth"){C("xai-oauth");return}if(o==="github-onboard"){C("github-onboard");return}if(o==="import-legacy"){(async()=>{let l=await An({force:!0});pt(Xt()),Q();let d=Ht(l);if(l.errors.length>0){R(d);return}let s=W();if(t==="first-run"&&s){c({action:"saved",activeProfileId:s.id,activeProviderName:s.name,activeProviderModel:s.model,message:d});return}if(M(d),R(void 0),t==="manage")k()})();return}cu(o)},onCancel:()=>{if(t==="first-run"){Lt("Provider setup skipped");return}k()},visibleOptionCount:Math.min(13,h.length)})]})}function eu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),u(i,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),u(V,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(n)=>{if(n==="oauth"){C("anthropic-oauth");return}if(n==="apiKey"){C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:3})]})}function du(){let n=(oa(),Du(la)).ConsoleOAuthFlow;return u(g,{flexDirection:"column",gap:1,children:u(n,{mode:"login",onDone:()=>{let h=Tt("anthropic"),o={provider:"anthropic",name:h.name,baseUrl:h.baseUrl,model:h.model},l=ct(o,{makeActive:!0});if(!l){R("OAuth completed, but the Anthropic profile could not be saved."),C("select-preset");return}let d=`Anthropic OAuth configured: ${l.name}`;if(Q(),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}})})}function yu(){let n=Et;if(n!=="bedrock"&&n!=="vertex"&&n!=="foundry")return null;let h=fa[n],o=h[rt]??h[0],l=Wt[o.key]??"";function d(s){let _=s.trim();if(_.length===0){R(`${o.label} is required.`);return}let J={...Wt,[o.key]:_};if(kt(J),R(void 0),rt<h.length-1){Ot(rt+1);return}Ot(0),C("form")}return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:`${n==="bedrock"?"AWS Bedrock":n==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),u(i,{dimColor:!0,children:o.helpText}),y(i,{dimColor:!0,children:["Step ",rt+1," of ",h.length,": ",o.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:l,onChange:(s)=>kt((_)=>({..._,[o.key]:s})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${o.placeholder}${Ct.ellipsis}`,columns:80,cursorOffset:Hc,onChangeCursorOffset:Tc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Cu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(i,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",u(i,{children:"Header: Value"}),". Leave empty to skip."]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Rn,onChange:Ut,onSubmit:()=>Nt(f),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:Wc,onChangeCursorOffset:Uc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function bu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:ht?"Edit provider profile":"Create provider profile"}),u(i,{dimColor:!0,children:ot.helpText}),y(i,{dimColor:!0,children:["Provider type:"," ",q==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(i,{dimColor:!0,children:["Step ",it+1," of ",at.length,": ",ot.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Dc,onChange:(n)=>T((h)=>({...h,[Ft]:n})),onSubmit:iu,focus:!0,showCursor:!0,placeholder:`${ot.placeholder}${Ct.ellipsis}`,mask:Ft==="apiKey"?"*":void 0,columns:80,cursorOffset:Ec,onChangeCursorOffset:B})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function wu(){let n=r.length>0,h=n;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Provider manager"}),u(i,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),fn&&u(i,{children:fn}),u(g,{flexDirection:"column",children:r.length===0?u(i,{dimColor:!0,children:"No provider profiles configured yet."}):r.map((o)=>y(i,{dimColor:!0,children:["- ",o.name,": ",Xa(o,o.id===e)]},o.id))}),u(V,{options:_n,onChange:(o)=>{switch(R(void 0),o){case"add":C("select-preset");break;case"import-legacy":{(async()=>{let l=await An({force:!0});if(pt(Xt()),Q(),l.errors.length>0)R(Ht(l));else M(Ht(l))})();break}case"activate":if(h)C("select-active");break;case"activate-project":if(h)C("select-active-project");break;case"clear-project-override":tu();break;case"edit":if(n)C("select-edit");break;case"delete":if(h)C("select-delete");break;case"logout-codex-oauth":{let l=sn();if(!l.success){R(l.warning??"Could not clear Codex OAuth credentials.");break}_t(!1),gt(void 0);let d=yn(nt(),st),s=null;if(d){let _=wn(d.id);if(!_.removed){R("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),Q();break}qn(),s=_.activeProfileId?mt():null}Q(),M(s?`Codex OAuth logged out. Warning: could not clear startup provider override (${s}).`:"Codex OAuth logged out.");break}default:Lt("Provider manager closed");break}},onCancel:()=>Lt("Provider manager closed"),defaultFocusValue:Pc,visibleOptionCount:_n.length})]})}function Mt(n,h,o){let l=r.map((d)=>{let s=[];if(d.id===e)s.push("active");if(O&&d.id===O)s.push("this project");if(S&&d.id===S)s.push("global default");let _=s.length>0?` (${s.join(", ")})`:"";return{value:d.id,label:`${d.name}${_}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(l.length===0)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(i,{dimColor:!0,children:h}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>k(),onCancel:()=>k(),visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(V,{options:l,onChange:o,onCancel:()=>k(),visibleOptionCount:Math.min(10,Math.max(2,l.length))})]})}let G;switch(N){case"select-preset":G=mu();break;case"select-ollama-model":G=hu();break;case"select-openai-model":G=ru();break;case"select-atomic-chat-model":G=au();break;case"codex-oauth":G=u(qa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let o={provider:"openai",name:Ca,baseUrl:Sc,model:ba,apiKey:""},l=yn(nt(),st),d=l?At(l.id,o):ct(o,{makeActive:!0});if(!d){R("Codex OAuth login finished, but the provider profile could not be saved."),k();return}let s=l&&e!==d.id?Rt(d.id):d;if(!s){R("Codex OAuth login finished, but the provider could not be set as the startup provider."),k();return}h({profileId:d.id});let _=mt(),J=await vt(n);_t(!0),gt(d.id),Q();let $=[J,_?`could not clear startup provider override (${_})`:null].filter((F)=>Boolean(F)),K=Dt({prefix:"Codex OAuth configured",activationWarning:J,warnings:$});if(t==="first-run"){c({action:"saved",activeProfileId:s.id,message:K});return}M(K),R(void 0),k()}});break;case"xai-oauth":G=u(Sa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let l=ct({provider:"openai",name:wa,baseUrl:gn,model:Oa,apiKey:""},{makeActive:!0});if(!l){R("xAI OAuth login finished, but the provider profile could not be saved."),k();return}try{h({profileId:l.id})}catch(s){R(s instanceof Error?s.message:String(s)),k();return}Q();let d="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}});break;case"github-onboard":G=u(Tn,{onDone:(n)=>{if(n)M(n),R(void 0);Q(),k()},onBack:()=>C("select-preset"),onChangeAPIKey:Q});break;case"anthropic-auth-choice":G=eu();break;case"anthropic-oauth":G=du();break;case"cloud-extras":G=yu();break;case"custom-headers":G=Cu();break;case"form":G=bu();break;case"select-active":G=Mt("Set active provider (Global)","No providers available. Add one first.",(n)=>{vc(n)});break;case"select-active-project":G=Mt("Set active provider (Project)","No providers available. Add one first.",(n)=>{nu(n)});break;case"select-edit":G=Mt("Edit provider","No providers available. Add one first.",(n)=>{uu(n)});break;case"select-delete":G=Mt("Delete provider","No providers available. Add one first.",(n)=>{let h=r.find(($)=>$.id===n),o=h?.provider==="openai"&&h?.extras?.githubToken!==void 0,l=yn(r,st)?.id===n,d=Lc()?.profileId,s=h?.provider==="openai"&&h.baseUrl===gn&&!h.apiKey&&d===n,_=W()?.id===n,J=wn(n);if(!J.removed)R("Could not delete provider.");else{let $=[];if(l){let F=sn();if(!F.success)$.push(F.warning??"could not clear Codex OAuth credentials");else gt(void 0);qn()}if(o){let F=$c();if(!F.success)$.push(F.warning??"could not clear GitHub Copilot token")}if(s){let F=Nc();if(!F.success)$.push(F.warning??"could not clear xAI OAuth credentials")}let K=J.activeProfileId?mt():null;if(K)$.push(`could not clear startup provider override (${K})`);if(Q(),_){let F=W();if(F)wt(),a((U)=>({...U,mainLoopModel:bt(F.model),mainLoopModelForSession:null}));else wt(),a((U)=>({...U,mainLoopModel:null,mainLoopModelForSession:null}))}M($.length>0?`Provider deleted. Warning: ${$.join("; ")}.`:"Provider deleted")}k()});break;case"menu":default:G=wu();break}return y(Fc,{color:"permission",children:[u(Kc,{enabled:kn,onDismiss:(n)=>{pt(Xt()),jc(!1),Q();let h=W();if(n==="migrated"&&t==="first-run"&&h)c({action:"saved",activeProfileId:h.id,activeProviderName:h.name,activeProviderModel:h.model})}}),kn?null:Ic?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Loading providers..."}),u(i,{dimColor:!0,children:"Reading provider profiles from disk."})]}):xc?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Activating provider..."}),u(i,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var b,at,dn="\x00__manual__",ya,Ca="Codex OAuth",ba="codexplan",wa="xAI / Grok (OAuth)",Oa="grok-4",fa;var Fa=j(()=>{vu();Wn();na();Ln();ca();ha();ma();ic();on();ta();aa();Fn();Zn();ra();Bn();In();ia();ua();da();Kn();mc();kc();fc();ea();Qt();b=Gt(Vt(),1),at=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'}],ya=new Set(["anthropic","bedrock","vertex","foundry"]);fa={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
|
|
50
|
-
export{un as lc,In as mc,Aa as nc,Sh as oc,Fa as pc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{RP as R,Zl as W,am as P,dk as Q,ek as I,hP as Y}from"./cli-0.6.12-g971w5pv.mjs";import{yea as B,zea as f}from"./cli-0.6.12-7eeaap1p.mjs";import{Kga as F,nga as H,oga as J}from"./cli-0.6.12-zqn1amfd.mjs";import{ooa as $,rka as v}from"./cli-0.6.12-4x5vs5t2.mjs";import{Vpa as Z}from"./cli-0.6.12-6bdrnprg.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
-
export{S as Oe,V as Pe,X as Qe,r as Re,w as Se,T as Te,G as Ue};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Dh as Vq,Eh as fq}from"./cli-0.6.12-3wqd066g.mjs";import{BW as Pq,CW as mq,QW as o,RW as pq,XW as Qq,ZW as Uq,_W as Hq}from"./cli-0.6.12-n87dgp00.mjs";import{RX as Sq,RZ as Wq,kZ as M,mZ as g}from"./cli-0.6.12-21j45ejg.mjs";import{X1 as Z,Y1 as F,Z1 as Jq}from"./cli-0.6.12-g9dxg935.mjs";import{_1 as _q}from"./cli-0.6.12-bc05z2sq.mjs";import{Aea as s,Bea as jq}from"./cli-0.6.12-7eeaap1p.mjs";import{Rpa as Lq,Vpa as wq}from"./cli-0.6.12-6bdrnprg.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
-
export{lq as bh,oq as ch,sq as dh,aq as eh,Tq as fh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{f2 as N,g2 as V,h2 as D}from"./cli-0.6.12-8mb2h24g.mjs";import{E6 as x,F5 as Z,P2 as Y,U2 as _,e6 as J,g6 as $,j6 as B}from"./cli-0.6.12-s3nsyxya.mjs";import{Oga as Q,Uga as P}from"./cli-0.6.12-gzh08zb9.mjs";import{Bpa as R,jpa as X}from"./cli-0.6.12-k0skdwrx.mjs";import{Vpa as W}from"./cli-0.6.12-6bdrnprg.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
|
|
2
|
-
export{E as $1,I as a2,w as b2,C as c2,O as d2,H as e2};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{AD as V,BD as $,Fq as O,Gq as Z,RP as F,Tj as L,iP as X}from"./cli-0.6.12-g971w5pv.mjs";import{Vpa as Y}from"./cli-0.6.12-6bdrnprg.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
|
|
2
|
-
|
|
3
|
-
IMPORTANT CONTEXT:
|
|
4
|
-
- You are a separate, lightweight agent spawned to answer this one question
|
|
5
|
-
- The main agent is NOT interrupted - it continues working independently in the background
|
|
6
|
-
- You share the conversation context but are a completely separate instance
|
|
7
|
-
- Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
|
|
8
|
-
|
|
9
|
-
CRITICAL CONSTRAINTS:
|
|
10
|
-
- You have NO tools available - you cannot read files, run commands, search, or take any actions
|
|
11
|
-
- This is a one-off response - there will be no follow-up turns
|
|
12
|
-
- You can ONLY provide information based on what you already know from the conversation context
|
|
13
|
-
- NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
|
|
14
|
-
- If you don't know the answer, say so - do not offer to look it up or investigate
|
|
15
|
-
|
|
16
|
-
Simply answer the question with the information you have.</system-reminder>
|
|
17
|
-
|
|
18
|
-
${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
|
|
19
|
-
|
|
20
|
-
`).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
|
|
21
|
-
export{W as Ah,b as Bh,C as Ch};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Fw as T,YN as f,ZN as L,cC as K,eC as I,fC as _,hC as p,hO as r,lB as P,rB as b,sQ as i,xB as j}from"./cli-0.6.12-g971w5pv.mjs";import{DU as A,EU as n}from"./cli-0.6.12-wt1j42v1.mjs";import{Vga as E,Yga as C}from"./cli-0.6.12-9wj4jg9w.mjs";import{$ga as F,$ha as u,Kha as M,Oha as m,Yha as Z,bha as S}from"./cli-0.6.12-whhyvv1p.mjs";import{Sna as v,nka as Y,oka as k,ooa as c}from"./cli-0.6.12-4x5vs5t2.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
|
|
2
|
-
export{Zq as Qa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xc as z,Yc as K}from"./cli-0.6.12-ssk9wgyc.mjs";import{UI as w,WI as J}from"./cli-0.6.12-g971w5pv.mjs";import{_1 as H}from"./cli-0.6.12-bc05z2sq.mjs";import{Rpa as E,Vpa as G}from"./cli-0.6.12-6bdrnprg.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
|
|
2
|
-
export{V as Tc,N as Uc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Upa as Q,Vpa as U}from"./cli-0.6.12-6bdrnprg.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
-
export{K as Cpa,w as Dpa,L as Epa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yga as f}from"./cli-0.6.12-9wj4jg9w.mjs";import{$ha as h}from"./cli-0.6.12-whhyvv1p.mjs";import{Vpa as Z}from"./cli-0.6.12-6bdrnprg.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 w1,w as x1,kz as y1,oz as z1,pz as A1,dz as B1,nz as C1,L as D1};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{RX as t,RZ as o,_X as p,iZ as j,jZ as s,kZ as F,mZ as V}from"./cli-0.6.12-21j45ejg.mjs";import{X1 as w,Y1 as g,Z1 as y}from"./cli-0.6.12-g9dxg935.mjs";import{f8 as $,g8 as a,m8 as _,n8 as n}from"./cli-0.6.12-ecm9vh62.mjs";import{Rpa as i,Vpa as v}from"./cli-0.6.12-6bdrnprg.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
|
-
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
|
-
export{Hq as cg,Mq as dg};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{Mpa as V_,Npa as su,Ppa as K_,Qpa as f_}from"./cli-0.6.12-ndg5saae.mjs";import{Tpa as H,Wpa as $_}from"./cli-0.6.12-6bdrnprg.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 Fpa,D_ as Gpa,yu as Hpa,ou as Ipa};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Tpa as tZ}from"./cli-0.6.12-6bdrnprg.mjs";var u0=tZ((g0,LZ)=>{function JZ(Z){if(Z instanceof Map)Z.clear=Z.delete=Z.set=function(){throw Error("map is read-only")};else if(Z instanceof Set)Z.add=Z.clear=Z.delete=function(){throw Error("set is read-only")};return Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(J){var z=Z[J];if(typeof z=="object"&&!Object.isFrozen(z))JZ(z)}),Z}var yZ=JZ,aZ=JZ;yZ.default=aZ;class ZZ{constructor(Z){if(Z.data===void 0)Z.data={};this.data=Z.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function M(Z){return Z.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function x(Z,...J){let z=Object.create(null);for(let $ in Z)z[$]=Z[$];return J.forEach(function($){for(let P in $)z[P]=$[P]}),z}var oZ="</span>",GZ=(Z)=>{return!!Z.kind};class HZ{constructor(Z,J){this.buffer="",this.classPrefix=J.classPrefix,Z.walk(this)}addText(Z){this.buffer+=M(Z)}openNode(Z){if(!GZ(Z))return;let J=Z.kind;if(!Z.sublanguage)J=`${this.classPrefix}${J}`;this.span(J)}closeNode(Z){if(!GZ(Z))return;this.buffer+=oZ}value(){return this.buffer}span(Z){this.buffer+=`<span class="${Z}">`}}class QZ{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Z){this.top.children.push(Z)}openNode(Z){let J={kind:Z,children:[]};this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Z){return this.constructor._walk(Z,this.rootNode)}static _walk(Z,J){if(typeof J==="string")Z.addText(J);else if(J.children)Z.openNode(J),J.children.forEach((z)=>this._walk(Z,z)),Z.closeNode(J);return Z}static _collapse(Z){if(typeof Z==="string")return;if(!Z.children)return;if(Z.children.every((J)=>typeof J==="string"))Z.children=[Z.children.join("")];else Z.children.forEach((J)=>{QZ._collapse(J)})}}class BZ extends QZ{constructor(Z){super();this.options=Z}addKeyword(Z,J){if(Z==="")return;this.openNode(J),this.addText(Z),this.closeNode()}addText(Z){if(Z==="")return;this.add(Z)}addSublanguage(Z,J){let z=Z.root;z.kind=J,z.sublanguage=!0,this.add(z)}toHTML(){return new HZ(this,this.options).value()}finalize(){return!0}}function eZ(Z){return new RegExp(Z.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function E(Z){if(!Z)return null;if(typeof Z==="string")return Z;return Z.source}function Z0(...Z){return Z.map((z)=>E(z)).join("")}function q0(...Z){return"("+Z.map((z)=>E(z)).join("|")+")"}function J0(Z){return new RegExp(Z.toString()+"|").exec("").length-1}function Q0(Z,J){let z=Z&&Z.exec(J);return z&&z.index===0}var X0=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V0(Z,J="|"){let z=0;return Z.map(($)=>{z+=1;let P=z,v=E($),D="";while(v.length>0){let Q=X0.exec(v);if(!Q){D+=v;break}if(D+=v.substring(0,Q.index),v=v.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1])D+="\\"+String(Number(Q[1])+P);else if(D+=Q[0],Q[0]==="(")z++}return D}).map(($)=>`(${$})`).join(J)}var z0=/\b\B/,DZ="[a-zA-Z]\\w*",XZ="[a-zA-Z_]\\w*",VZ="\\b\\d+(\\.\\d+)?",CZ="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",kZ="\\b(0b[01]+)",Y0="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W0=(Z={})=>{let J=/^#![ ]*\//;if(Z.binary)Z.begin=Z0(J,/.*\b/,Z.binary,/\b.*/);return x({className:"meta",begin:J,end:/$/,relevance:0,"on:begin":(z,$)=>{if(z.index!==0)$.ignoreMatch()}},Z)},p={begin:"\\\\[\\s\\S]",relevance:0},$0={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},F0={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},jZ={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},r=function(Z,J,z={}){let $=x({className:"comment",begin:Z,end:J,contains:[]},z);return $.contains.push(jZ),$.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),$},G0=r("//","$"),U0=r("/\\*","\\*/"),K0=r("#","$"),I0={className:"number",begin:VZ,relevance:0},P0={className:"number",begin:CZ,relevance:0},v0={className:"number",begin:kZ,relevance:0},y0={className:"number",begin:VZ+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H0={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},B0={className:"title",begin:DZ,relevance:0},D0={className:"title",begin:XZ,relevance:0},C0={begin:"\\.\\s*"+XZ,relevance:0},k0=function(Z){return Object.assign(Z,{"on:begin":(J,z)=>{z.data._beginMatch=J[1]},"on:end":(J,z)=>{if(z.data._beginMatch!==J[1])z.ignoreMatch()}})},i=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z0,IDENT_RE:DZ,UNDERSCORE_IDENT_RE:XZ,NUMBER_RE:VZ,C_NUMBER_RE:CZ,BINARY_NUMBER_RE:kZ,RE_STARTERS_RE:Y0,SHEBANG:W0,BACKSLASH_ESCAPE:p,APOS_STRING_MODE:$0,QUOTE_STRING_MODE:F0,PHRASAL_WORDS_MODE:jZ,COMMENT:r,C_LINE_COMMENT_MODE:G0,C_BLOCK_COMMENT_MODE:U0,HASH_COMMENT_MODE:K0,NUMBER_MODE:I0,C_NUMBER_MODE:P0,BINARY_NUMBER_MODE:v0,CSS_NUMBER_MODE:y0,REGEXP_MODE:H0,TITLE_MODE:B0,UNDERSCORE_TITLE_MODE:D0,METHOD_GUARD:C0,END_SAME_AS_BEGIN:k0});function j0(Z,J){if(Z.input[Z.index-1]===".")J.ignoreMatch()}function A0(Z,J){if(!J)return;if(!Z.beginKeywords)return;if(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=j0,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0)Z.relevance=0}function w0(Z,J){if(!Array.isArray(Z.illegal))return;Z.illegal=q0(...Z.illegal)}function L0(Z,J){if(!Z.match)return;if(Z.begin||Z.end)throw Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}function O0(Z,J){if(Z.relevance===void 0)Z.relevance=1}var T0=["of","and","for","in","not","or","if","then","parent","list","value"],R0="keyword";function AZ(Z,J,z=R0){let $={};if(typeof Z==="string")P(z,Z.split(" "));else if(Array.isArray(Z))P(z,Z);else Object.keys(Z).forEach(function(v){Object.assign($,AZ(Z[v],J,v))});return $;function P(v,D){if(J)D=D.map((Q)=>Q.toLowerCase());D.forEach(function(Q){let X=Q.split("|");$[X[0]]=[v,S0(X[0],X[1])]})}}function S0(Z,J){if(J)return Number(J);return _0(Z)?0:1}function _0(Z){return T0.includes(Z.toLowerCase())}function x0(Z,{plugins:J}){function z(Q,X){return new RegExp(E(Q),"m"+(Z.case_insensitive?"i":"")+(X?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,X){X.position=this.position++,this.matchIndexes[this.matchAt]=X,this.regexes.push([X,Q]),this.matchAt+=J0(Q)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let Q=this.regexes.map((X)=>X[1]);this.matcherRe=z(V0(Q),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;let X=this.matcherRe.exec(Q);if(!X)return null;let I=X.findIndex((k,S)=>S>0&&k!==void 0),U=this.matchIndexes[I];return X.splice(0,I),Object.assign(X,U)}}class P{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];let X=new $;return this.rules.slice(Q).forEach(([I,U])=>X.addRule(I,U)),X.compile(),this.multiRegexes[Q]=X,X}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,X){if(this.rules.push([Q,X]),X.type==="begin")this.count++}exec(Q){let X=this.getMatcher(this.regexIndex);X.lastIndex=this.lastIndex;let I=X.exec(Q);if(this.resumingScanAtSamePosition())if(I&&I.index===this.lastIndex);else{let U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,I=U.exec(Q)}if(I){if(this.regexIndex+=I.position+1,this.regexIndex===this.count)this.considerAll()}return I}}function v(Q){let X=new P;if(Q.contains.forEach((I)=>X.addRule(I.begin,{rule:I,type:"begin"})),Q.terminatorEnd)X.addRule(Q.terminatorEnd,{type:"end"});if(Q.illegal)X.addRule(Q.illegal,{type:"illegal"});return X}function D(Q,X){let I=Q;if(Q.isCompiled)return I;[L0].forEach((k)=>k(Q,X)),Z.compilerExtensions.forEach((k)=>k(Q,X)),Q.__beforeBegin=null,[A0,w0,O0].forEach((k)=>k(Q,X)),Q.isCompiled=!0;let U=null;if(typeof Q.keywords==="object")U=Q.keywords.$pattern,delete Q.keywords.$pattern;if(Q.keywords)Q.keywords=AZ(Q.keywords,Z.case_insensitive);if(Q.lexemes&&U)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(U=U||Q.lexemes||/\w+/,I.keywordPatternRe=z(U,!0),X){if(!Q.begin)Q.begin=/\B|\b/;if(I.beginRe=z(Q.begin),Q.endSameAsBegin)Q.end=Q.begin;if(!Q.end&&!Q.endsWithParent)Q.end=/\B|\b/;if(Q.end)I.endRe=z(Q.end);if(I.terminatorEnd=E(Q.end)||"",Q.endsWithParent&&X.terminatorEnd)I.terminatorEnd+=(Q.end?"|":"")+X.terminatorEnd}if(Q.illegal)I.illegalRe=z(Q.illegal);if(!Q.contains)Q.contains=[];if(Q.contains=[].concat(...Q.contains.map(function(k){return f0(k==="self"?Q:k)})),Q.contains.forEach(function(k){D(k,I)}),Q.starts)D(Q.starts,X);return I.matcher=v(I),I}if(!Z.compilerExtensions)Z.compilerExtensions=[];if(Z.contains&&Z.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=x(Z.classNameAliases||{}),D(Z)}function wZ(Z){if(!Z)return!1;return Z.endsWithParent||wZ(Z.starts)}function f0(Z){if(Z.variants&&!Z.cachedVariants)Z.cachedVariants=Z.variants.map(function(J){return x(Z,{variants:null},J)});if(Z.cachedVariants)return Z.cachedVariants;if(wZ(Z))return x(Z,{starts:Z.starts?x(Z.starts):null});if(Object.isFrozen(Z))return x(Z);return Z}var b0="10.7.3";function N0(Z){return Boolean(Z||Z==="")}function M0(Z){let J={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,M(this.code);let $={};if(this.autoDetect)$=Z.highlightAuto(this.code),this.detectedLanguage=$.language;else $=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return $.value},autoDetect(){return!this.language||N0(this.autodetect)},ignoreIllegals(){return!0}},render($){return $("pre",{},[$("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:J,VuePlugin:{install($){$.component("highlightjs",J)}}}}var E0={"after:highlightElement":({el:Z,result:J,text:z})=>{let $=UZ(Z);if(!$.length)return;let P=document.createElement("div");P.innerHTML=J.value,J.value=p0($,UZ(P),z)}};function qZ(Z){return Z.nodeName.toLowerCase()}function UZ(Z){let J=[];return function z($,P){for(let v=$.firstChild;v;v=v.nextSibling)if(v.nodeType===3)P+=v.nodeValue.length;else if(v.nodeType===1){if(J.push({event:"start",offset:P,node:v}),P=z(v,P),!qZ(v).match(/br|hr|img|input/))J.push({event:"stop",offset:P,node:v})}return P}(Z,0),J}function p0(Z,J,z){let $=0,P="",v=[];function D(){if(!Z.length||!J.length)return Z.length?Z:J;if(Z[0].offset!==J[0].offset)return Z[0].offset<J[0].offset?Z:J;return J[0].event==="start"?Z:J}function Q(U){function k(S){return" "+S.nodeName+'="'+M(S.value)+'"'}P+="<"+qZ(U)+[].map.call(U.attributes,k).join("")+">"}function X(U){P+="</"+qZ(U)+">"}function I(U){(U.event==="start"?Q:X)(U.node)}while(Z.length||J.length){let U=D();if(P+=M(z.substring($,U[0].offset)),$=U[0].offset,U===Z){v.reverse().forEach(X);do I(U.splice(0,1)[0]),U=D();while(U===Z&&U.length&&U[0].offset===$);v.reverse().forEach(Q)}else{if(U[0].event==="start")v.push(U[0].node);else v.pop();I(U.splice(0,1)[0])}}return P+M(z.substr($))}var KZ={},o=(Z)=>{console.error(Z)},IZ=(Z,...J)=>{console.log(`WARN: ${Z}`,...J)},w=(Z,J)=>{if(KZ[`${Z}/${J}`])return;console.log(`Deprecated as of ${Z}. ${J}`),KZ[`${Z}/${J}`]=!0},e=M,PZ=x,vZ=Symbol("nomatch"),h0=function(Z){let J=Object.create(null),z=Object.create(null),$=[],P=!0,v=/(^(<[^>]+>|\t|)+|\n)/gm,D="Could not find the language '{}', did you forget to load/include a language module?",Q={disableAutodetect:!0,name:"Plain text",contains:[]},X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:BZ};function I(q){return X.noHighlightRe.test(q)}function U(q){let V=q.className+" ";V+=q.parentNode?q.parentNode.className:"";let K=X.languageDetectRe.exec(V);if(K){let H=R(K[1]);if(!H)IZ(D.replace("{}",K[1])),IZ("Falling back to no-highlight mode for this block.",q);return H?K[1]:"no-highlight"}return V.split(/\s+/).find((H)=>I(H)||R(H))}function k(q,V,K,H){let C="",f="";if(typeof V==="object")C=q,K=V.ignoreIllegals,f=V.language,H=void 0;else w("10.7.0","highlight(lang, code, ...args) has been deprecated."),w("10.7.0",`Please use highlight(code, options) instead.
|
|
2
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),f=q,C=V;let L={code:C,language:f};c("before:highlight",L);let O=L.result?L.result:S(L.language,L.code,K,H);return O.code=L.code,c("after:highlight",O),O}function S(q,V,K,H){function C(Y,W){let G=b.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(Y.keywords,G)&&Y.keywords[G]}function f(){if(!F.keywords){j.addText(B);return}let Y=0;F.keywordPatternRe.lastIndex=0;let W=F.keywordPatternRe.exec(B),G="";while(W){G+=B.substring(Y,W.index);let y=C(F,W);if(y){let[A,s]=y;if(j.addText(G),G="",g+=s,A.startsWith("_"))G+=W[0];else{let nZ=b.classNameAliases[A]||A;j.addKeyword(W[0],nZ)}}else G+=W[0];Y=F.keywordPatternRe.lastIndex,W=F.keywordPatternRe.exec(B)}G+=B.substr(Y),j.addText(G)}function L(){if(B==="")return;let Y=null;if(typeof F.subLanguage==="string"){if(!J[F.subLanguage]){j.addText(B);return}Y=S(F.subLanguage,B,!0,FZ[F.subLanguage]),FZ[F.subLanguage]=Y.top}else Y=l(B,F.subLanguage.length?F.subLanguage:null);if(F.relevance>0)g+=Y.relevance;j.addSublanguage(Y.emitter,Y.language)}function O(){if(F.subLanguage!=null)L();else f();B=""}function T(Y){if(Y.className)j.openNode(b.classNameAliases[Y.className]||Y.className);return F=Object.create(Y,{parent:{value:F}}),F}function _(Y,W,G){let y=Q0(Y.endRe,G);if(y){if(Y["on:end"]){let A=new ZZ(Y);if(Y["on:end"](W,A),A.isMatchIgnored)y=!1}if(y){while(Y.endsParent&&Y.parent)Y=Y.parent;return Y}}if(Y.endsWithParent)return _(Y.parent,W,G)}function iZ(Y){if(F.matcher.regexIndex===0)return B+=Y[0],1;else return a=!0,0}function rZ(Y){let W=Y[0],G=Y.rule,y=new ZZ(G),A=[G.__beforeBegin,G["on:begin"]];for(let s of A){if(!s)continue;if(s(Y,y),y.isMatchIgnored)return iZ(W)}if(G&&G.endSameAsBegin)G.endRe=eZ(W);if(G.skip)B+=W;else{if(G.excludeBegin)B+=W;if(O(),!G.returnBegin&&!G.excludeBegin)B=W}return T(G),G.returnBegin?0:W.length}function lZ(Y){let W=Y[0],G=V.substr(Y.index),y=_(F,Y,G);if(!y)return vZ;let A=F;if(A.skip)B+=W;else{if(!(A.returnEnd||A.excludeEnd))B+=W;if(O(),A.excludeEnd)B=W}do{if(F.className)j.closeNode();if(!F.skip&&!F.subLanguage)g+=F.relevance;F=F.parent}while(F!==y.parent);if(y.starts){if(y.endSameAsBegin)y.starts.endRe=y.endRe;T(y.starts)}return A.returnEnd?0:W.length}function dZ(){let Y=[];for(let W=F;W!==b;W=W.parent)if(W.className)Y.unshift(W.className);Y.forEach((W)=>j.openNode(W))}let u={};function $Z(Y,W){let G=W&&W[0];if(B+=Y,G==null)return O(),0;if(u.type==="begin"&&W.type==="end"&&u.index===W.index&&G===""){if(B+=V.slice(W.index,W.index+1),!P){let y=Error("0 width match regex");throw y.languageName=q,y.badRule=u.rule,y}return 1}if(u=W,W.type==="begin")return rZ(W);else if(W.type==="illegal"&&!K){let y=Error('Illegal lexeme "'+G+'" for mode "'+(F.className||"<unnamed>")+'"');throw y.mode=F,y}else if(W.type==="end"){let y=lZ(W);if(y!==vZ)return y}if(W.type==="illegal"&&G==="")return 1;if(t>1e5&&t>W.index*3)throw Error("potential infinite loop, way more iterations than matches");return B+=G,G.length}let b=R(q);if(!b)throw o(D.replace("{}",q)),Error('Unknown language: "'+q+'"');let mZ=x0(b,{plugins:$}),n="",F=H||mZ,FZ={},j=new X.__emitter(X);dZ();let B="",g=0,N=0,t=0,a=!1;try{F.matcher.considerAll();for(;;){if(t++,a)a=!1;else F.matcher.considerAll();F.matcher.lastIndex=N;let Y=F.matcher.exec(V);if(!Y)break;let W=V.substring(N,Y.index),G=$Z(W,Y);N=Y.index+G}return $Z(V.substr(N)),j.closeAllNodes(),j.finalize(),n=j.toHTML(),{relevance:Math.floor(g),value:n,language:q,illegal:!1,emitter:j,top:F}}catch(Y){if(Y.message&&Y.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Y.message,context:V.slice(N-100,N+100),mode:Y.mode},sofar:n,relevance:0,value:e(V),emitter:j};else if(P)return{illegal:!1,relevance:0,value:e(V),emitter:j,language:q,top:F,errorRaised:Y};else throw Y}}function OZ(q){let V={relevance:0,emitter:new X.__emitter(X),value:e(q),illegal:!1,top:Q};return V.emitter.addText(q),V}function l(q,V){V=V||X.languages||Object.keys(J);let K=OZ(q),H=V.filter(R).filter(WZ).map((T)=>S(T,q,!1));H.unshift(K);let C=H.sort((T,_)=>{if(T.relevance!==_.relevance)return _.relevance-T.relevance;if(T.language&&_.language){if(R(T.language).supersetOf===_.language)return 1;else if(R(_.language).supersetOf===T.language)return-1}return 0}),[f,L]=C,O=f;return O.second_best=L,O}function TZ(q){if(!(X.tabReplace||X.useBR))return q;return q.replace(v,(V)=>{if(V===`
|
|
3
|
-
`)return X.useBR?"<br>":V;else if(X.tabReplace)return V.replace(/\t/g,X.tabReplace);return V})}function RZ(q,V,K){let H=V?z[V]:K;if(q.classList.add("hljs"),H)q.classList.add(H)}let SZ={"before:highlightElement":({el:q})=>{if(X.useBR)q.innerHTML=q.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
4
|
-
`)},"after:highlightElement":({result:q})=>{if(X.useBR)q.value=q.value.replace(/\n/g,"<br>")}},_Z=/^(<[^>]+>|\t)+/gm,xZ={"after:highlightElement":({result:q})=>{if(X.tabReplace)q.value=q.value.replace(_Z,(V)=>V.replace(/\t/g,X.tabReplace))}};function h(q){let V=null,K=U(q);if(I(K))return;c("before:highlightElement",{el:q,language:K}),V=q;let H=V.textContent,C=K?k(H,{language:K,ignoreIllegals:!0}):l(H);if(c("after:highlightElement",{el:q,result:C,text:H}),q.innerHTML=C.value,RZ(q,K,C.language),q.result={language:C.language,re:C.relevance,relavance:C.relevance},C.second_best)q.second_best={language:C.second_best.language,re:C.second_best.relevance,relavance:C.second_best.relevance}}function fZ(q){if(q.useBR)w("10.3.0","'useBR' will be removed entirely in v11.0"),w("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");X=PZ(X,q)}let d=()=>{if(d.called)return;d.called=!0,w("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(h)};function bZ(){w("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),m=!0}let m=!1;function zZ(){if(document.readyState==="loading"){m=!0;return}document.querySelectorAll("pre code").forEach(h)}function NZ(){if(m)zZ()}if(typeof window<"u"&&window.addEventListener)window.addEventListener("DOMContentLoaded",NZ,!1);function MZ(q,V){let K=null;try{K=V(Z)}catch(H){if(o("Language definition for '{}' could not be registered.".replace("{}",q)),!P)throw H;else o(H);K=Q}if(!K.name)K.name=q;if(J[q]=K,K.rawDefinition=V.bind(null,Z),K.aliases)YZ(K.aliases,{languageName:q})}function EZ(q){delete J[q];for(let V of Object.keys(z))if(z[V]===q)delete z[V]}function pZ(){return Object.keys(J)}function hZ(q){w("10.4.0","requireLanguage will be removed entirely in v11."),w("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let V=R(q);if(V)return V;throw Error("The '{}' language is required, but not loaded.".replace("{}",q))}function R(q){return q=(q||"").toLowerCase(),J[q]||J[z[q]]}function YZ(q,{languageName:V}){if(typeof q==="string")q=[q];q.forEach((K)=>{z[K.toLowerCase()]=V})}function WZ(q){let V=R(q);return V&&!V.disableAutodetect}function cZ(q){if(q["before:highlightBlock"]&&!q["before:highlightElement"])q["before:highlightElement"]=(V)=>{q["before:highlightBlock"](Object.assign({block:V.el},V))};if(q["after:highlightBlock"]&&!q["after:highlightElement"])q["after:highlightElement"]=(V)=>{q["after:highlightBlock"](Object.assign({block:V.el},V))}}function uZ(q){cZ(q),$.push(q)}function c(q,V){let K=q;$.forEach(function(H){if(H[K])H[K](V)})}function gZ(q){return w("10.2.0","fixMarkup will be removed entirely in v11.0"),w("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),TZ(q)}function sZ(q){return w("10.7.0","highlightBlock will be removed entirely in v12.0"),w("10.7.0","Please use highlightElement now."),h(q)}Object.assign(Z,{highlight:k,highlightAuto:l,highlightAll:zZ,fixMarkup:gZ,highlightElement:h,highlightBlock:sZ,configure:fZ,initHighlighting:d,initHighlightingOnLoad:bZ,registerLanguage:MZ,unregisterLanguage:EZ,listLanguages:pZ,getLanguage:R,registerAliases:YZ,requireLanguage:hZ,autoDetection:WZ,inherit:PZ,addPlugin:uZ,vuePlugin:M0(Z).VuePlugin}),Z.debugMode=function(){P=!1},Z.safeMode=function(){P=!0},Z.versionString=b0;for(let q in i)if(typeof i[q]==="object")yZ(i[q]);return Object.assign(Z,i),Z.addPlugin(SZ),Z.addPlugin(E0),Z.addPlugin(xZ),Z},c0=h0({});LZ.exports=c0});
|
|
5
|
-
export{u0 as V1};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{xg as d,yg as Vq}from"./cli-0.6.12-x94fe36b.mjs";import{CR as l,cS as Oq,wQ as a,yQ as yq}from"./cli-0.6.12-g971w5pv.mjs";import{GZ as $,RX as Zq,RZ as Gq,kZ as T,mZ as R}from"./cli-0.6.12-21j45ejg.mjs";import{J0 as t,L0 as v,O0 as e}from"./cli-0.6.12-fwnpcanc.mjs";import{X1 as P,Y1 as N,Z1 as S}from"./cli-0.6.12-g9dxg935.mjs";import{_1 as Yq}from"./cli-0.6.12-bc05z2sq.mjs";import{v2 as u,w2 as Aq}from"./cli-0.6.12-c6tjtcxh.mjs";import{B_ as s,e_ as j,w8 as G,y8 as o}from"./cli-0.6.12-ecm9vh62.mjs";import{fga as w,gga as r}from"./cli-0.6.12-zqn1amfd.mjs";import{$ha as n,Yha as L}from"./cli-0.6.12-whhyvv1p.mjs";import{qia as c,xia as Xq}from"./cli-0.6.12-2stzmmb2.mjs";import{ooa as i,rka as f}from"./cli-0.6.12-4x5vs5t2.mjs";import{Rpa as I,Vpa as h}from"./cli-0.6.12-6bdrnprg.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
-
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
-
export{mq as vg,Bq as wg};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{bfa as X,ffa as w,gfa as L,hfa as _}from"./cli-0.6.12-m1rdexn7.mjs";import{Vga as MD,Yga as cD}from"./cli-0.6.12-9wj4jg9w.mjs";import{$ha as dD,Eha as jD,Gha as rD,Kha as ND,Oha as aD,Yha as x}from"./cli-0.6.12-whhyvv1p.mjs";import{Aia as zD,Dia as HD,Nia as mD}from"./cli-0.6.12-967g034j.mjs";import{ooa as PD,rka as UD}from"./cli-0.6.12-4x5vs5t2.mjs";import{Rpa as LD,Tpa as bD,Vpa as V,Wpa as hD}from"./cli-0.6.12-6bdrnprg.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes(""))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
|
|
2
|
-
`);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
|
|
3
|
-
`)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
|
|
4
|
-
export{v as wea,o as xea,O as yea,t as zea,$ as Aea,QD as Bea,TD as Cea,U as Dea,y as Eea,VD as Fea,WD as Gea,$D as Hea,M as Iea,wu as Jea,Lu as Kea,pD as Lea,Iu as Mea,qD as Nea,lD as Oea,xu as Pea,gD as Qea,Su as Rea,XD as Sea,H as Tea,z as Uea,YD as Vea,JD as Wea,eD as Xea,tD as Yea,du as Zea,Du as _ea,uu as $ea,Fu as afa};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Kpa as x,Mpa as y,Qpa as C}from"./cli-0.6.12-ndg5saae.mjs";import{Tpa as k}from"./cli-0.6.12-6bdrnprg.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as Q7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ci as R,Ei as y,Fi as v}from"./cli-0.6.12-t6e17b69.mjs";import{RX as c,RZ as E,mZ as K}from"./cli-0.6.12-21j45ejg.mjs";import{W1 as O,X1 as N,Y1 as M,Z1 as U}from"./cli-0.6.12-g9dxg935.mjs";import{_1 as G}from"./cli-0.6.12-bc05z2sq.mjs";import{Rca as b,wca as L}from"./cli-0.6.12-ecm9vh62.mjs";import{Gea as Z,Sea as W}from"./cli-0.6.12-7eeaap1p.mjs";import{Yga as p}from"./cli-0.6.12-9wj4jg9w.mjs";import{Rpa as F,Vpa as j}from"./cli-0.6.12-6bdrnprg.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
-
export{f as Dg,r as Eg,n as Fg,l as Gg};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Cc as m,Dc as v,Ec as wk}from"./cli-0.6.12-rhbff3mp.mjs";import{$M as o,IF as n,JF as V,KF as i,NF as Tk,bN as t,dE as g,eE as a,eN as Dk,fA as s,gA as Gk,iN as e,jN as Uk,mE as Lk,mu as l,nu as Vk,tQ as r,uQ as kk,vn as p,wn as zk,yQ as jk}from"./cli-0.6.12-g971w5pv.mjs";import{P2 as T,U2 as Jk,p3 as d,r3 as Ok}from"./cli-0.6.12-s3nsyxya.mjs";import{K6 as f,L6 as Ik,V6 as c,Y6 as Mk}from"./cli-0.6.12-0hjd35q4.mjs";import{T7 as S,Y7 as _k}from"./cli-0.6.12-wbta805y.mjs";import{Aca as b,C9 as $k,Gba as Kk,Jca as u,Rca as $,_da as _,bea as Hk,rba as j,s8 as K,u8 as Zk,wca as x,y9 as P}from"./cli-0.6.12-ecm9vh62.mjs";import{Xea as J,afa as Yk}from"./cli-0.6.12-7eeaap1p.mjs";import{Tga as L,Uga as Bk}from"./cli-0.6.12-gzh08zb9.mjs";import{$ga as O,$ha as U,Yha as B,bha as Rk}from"./cli-0.6.12-whhyvv1p.mjs";import{kia as h,qia as Y,xia as Xk}from"./cli-0.6.12-2stzmmb2.mjs";import{Dia as E,Nia as Wk}from"./cli-0.6.12-967g034j.mjs";import{Ola as F,Qla as y,ema as w,ooa as z}from"./cli-0.6.12-4x5vs5t2.mjs";import{Noa as A,Ooa as Qk}from"./cli-0.6.12-rkfcw3gr.mjs";import{Wpa as W}from"./cli-0.6.12-6bdrnprg.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.6.12-k7t19wv3.mjs"),import("./growthbook-0.6.12-bp7gexrs.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.6.12-jebzvamj.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.6.12-aeb0xfq8.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.6.12-p30ye095.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
-
`),kk(1);return}return import("./InvalidConfigDialog-0.6.12-d7dkg0t5.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.6.12-k5x3bf7b.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
-
export{Yq as L,Zq as M};
|