@claudiolabs/claudin 0.6.5 → 0.6.6
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.6-bdcafcej.mjs +1 -0
- package/dist/chunks/App-0.6.6-k5gj5n4h.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.6-7fdtwksv.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.6-2j0e7ev9.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.6-6yx84pzc.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.6-vjc7apke.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.6-td62cgn4.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.6-5aqhvkcg.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.6-d2jxy48y.mjs +11 -0
- package/dist/chunks/Doctor-0.6.6-me4wn4j5.mjs +1 -0
- package/dist/chunks/Grove-0.6.6-xfwy6rbw.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.6-qthf2vr3.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.6-mp5b6a5j.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.6-awc54gyk.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.6-4qg3bf91.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.6-fewq1c0b.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.6-cx15mb4s.mjs +1 -0
- package/dist/chunks/REPL-0.6.6-ev64pese.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.6-gkxw58n4.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.6-45f8nb47.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.6-5314g8tw.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.6-w4svp0jn.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.6-5vjtrnya.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.6-rphhdvq8.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.6-s2f271df.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.6-s74swp6v.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.6-r3wwyv1a.mjs +1 -0
- package/dist/chunks/add-dir-0.6.6-nm6s9jm3.mjs +1 -0
- package/dist/chunks/agents-0.6.6-yfx529qm.mjs +3 -0
- package/dist/chunks/agents-0.6.6-z45zpb7a.mjs +110 -0
- package/dist/chunks/api-0.6.6-rrs0y38h.mjs +1 -0
- package/dist/chunks/asciicast-0.6.6-qrz006k9.mjs +1 -0
- package/dist/chunks/assistant-0.6.6-tfmwrg23.mjs +1 -0
- package/dist/chunks/auth-0.6.6-61djjn63.mjs +1 -0
- package/dist/chunks/auth-0.6.6-8pgs8nej.mjs +1 -0
- package/dist/chunks/autoMode-0.6.6-d0vbqpdq.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.6-xacp5fck.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.6-dnhts5fj.mjs +1 -0
- package/dist/chunks/branch-0.6.6-84wkac2e.mjs +4 -0
- package/dist/chunks/bridge-0.6.6-p3dy64f9.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.6-fvzjs1pa.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.6-ge15dg1p.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.6-w0xmef6b.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.6-cba0ahq2.mjs +1 -0
- package/dist/chunks/btw-0.6.6-46grbbjr.mjs +1 -0
- package/dist/chunks/buddy-0.6.6-90qdgfw4.mjs +3 -0
- package/dist/chunks/cacache-0.6.6-v19w3dxf.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.6-k4ev06pn.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.6-dehpnmz9.mjs +4 -0
- package/dist/chunks/caches-0.6.6-4a0mnm1h.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.6-fhspw8yv.mjs +1 -0
- package/dist/chunks/claudemd-0.6.6-s2nktt1h.mjs +1 -0
- package/dist/chunks/clear-0.6.6-e06ssw4n.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.6-062bve0j.mjs +1 -0
- package/dist/chunks/cli-0.6.6-0ak8r49x.mjs +2 -0
- package/dist/chunks/cli-0.6.6-0j61q3w5.mjs +2 -0
- package/dist/chunks/cli-0.6.6-0pptmkkg.mjs +4 -0
- package/dist/chunks/cli-0.6.6-0w254y38.mjs +2 -0
- package/dist/chunks/cli-0.6.6-10re6ept.mjs +2 -0
- package/dist/chunks/cli-0.6.6-141tbvn2.mjs +2 -0
- package/dist/chunks/cli-0.6.6-1a0fnhh0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-1dy4fd01.mjs +2 -0
- package/dist/chunks/cli-0.6.6-1jt6s6c8.mjs +2 -0
- package/dist/chunks/cli-0.6.6-23snct9d.mjs +5348 -0
- package/dist/chunks/cli-0.6.6-27tkk39p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-2dtp6rc2.mjs +2 -0
- package/dist/chunks/cli-0.6.6-2fasp96a.mjs +2 -0
- package/dist/chunks/cli-0.6.6-2gjay42h.mjs +2 -0
- package/dist/chunks/cli-0.6.6-2mf6j1pf.mjs +4 -0
- package/dist/chunks/cli-0.6.6-36kc5vh1.mjs +3 -0
- package/dist/chunks/cli-0.6.6-37wcg59v.mjs +2 -0
- package/dist/chunks/cli-0.6.6-3agn70fr.mjs +50 -0
- package/dist/chunks/cli-0.6.6-3qbz76xq.mjs +2 -0
- package/dist/chunks/cli-0.6.6-3s3k6nsb.mjs +2 -0
- package/dist/chunks/cli-0.6.6-3t45jvj0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-3t9gkjhn.mjs +8 -0
- package/dist/chunks/cli-0.6.6-3ykkcpjf.mjs +2 -0
- package/dist/chunks/cli-0.6.6-40n0q9g3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-44bk8ev1.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4d55s633.mjs +3 -0
- package/dist/chunks/cli-0.6.6-4jrf033h.mjs +12 -0
- package/dist/chunks/cli-0.6.6-4m7r4esm.mjs +4 -0
- package/dist/chunks/cli-0.6.6-4nxq7s1k.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4qj9brbk.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4qrnzmjb.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4r50eqxg.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4tp2yb2x.mjs +2 -0
- package/dist/chunks/cli-0.6.6-4tzkbyes.mjs +2 -0
- package/dist/chunks/cli-0.6.6-504vvx3q.mjs +2 -0
- package/dist/chunks/cli-0.6.6-5eww20j0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-5p4qy3we.mjs +2 -0
- package/dist/chunks/cli-0.6.6-61wnn1as.mjs +3 -0
- package/dist/chunks/cli-0.6.6-6gzy2tvk.mjs +12 -0
- package/dist/chunks/cli-0.6.6-6p78renb.mjs +2 -0
- package/dist/chunks/cli-0.6.6-6zs5dyhh.mjs +20 -0
- package/dist/chunks/cli-0.6.6-731hhd3s.mjs +2 -0
- package/dist/chunks/cli-0.6.6-73eg8qn0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-76rkjh7v.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7n7fwzth.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7pfzbq40.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7r4esgkf.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7r817n5d.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7s8bhv18.mjs +2 -0
- package/dist/chunks/cli-0.6.6-7tnsnb0c.mjs +2 -0
- package/dist/chunks/cli-0.6.6-816nja7p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-85mqgh7w.mjs +133 -0
- package/dist/chunks/cli-0.6.6-8bvd4smw.mjs +3 -0
- package/dist/chunks/cli-0.6.6-8e7c224v.mjs +2 -0
- package/dist/chunks/cli-0.6.6-8gcxhg7t.mjs +3 -0
- package/dist/chunks/cli-0.6.6-8gmesggf.mjs +2 -0
- package/dist/chunks/cli-0.6.6-8hzhy95p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-8s6h2xee.mjs +3 -0
- package/dist/chunks/cli-0.6.6-8vnkmjet.mjs +2 -0
- package/dist/chunks/cli-0.6.6-8wwb7c4z.mjs +10 -0
- package/dist/chunks/cli-0.6.6-8yvh28tb.mjs +16 -0
- package/dist/chunks/cli-0.6.6-92dvpnqv.mjs +3 -0
- package/dist/chunks/cli-0.6.6-962my51a.mjs +2 -0
- package/dist/chunks/cli-0.6.6-99e532z3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-9r04g0xa.mjs +2 -0
- package/dist/chunks/cli-0.6.6-9rjdy05g.mjs +2 -0
- package/dist/chunks/cli-0.6.6-9tjtzwyt.mjs +2 -0
- package/dist/chunks/cli-0.6.6-a2e4eek5.mjs +2 -0
- package/dist/chunks/cli-0.6.6-a837m6n5.mjs +2 -0
- package/dist/chunks/cli-0.6.6-aep3cnz5.mjs +2 -0
- package/dist/chunks/cli-0.6.6-akjyt0hr.mjs +2 -0
- package/dist/chunks/cli-0.6.6-akqfmyeb.mjs +2 -0
- package/dist/chunks/cli-0.6.6-am3sz82d.mjs +58 -0
- package/dist/chunks/cli-0.6.6-ap1eg2xa.mjs +2 -0
- package/dist/chunks/cli-0.6.6-apq4h0nf.mjs +2 -0
- package/dist/chunks/cli-0.6.6-aq30fm8p.mjs +1 -0
- package/dist/chunks/cli-0.6.6-ar43nqjq.mjs +3 -0
- package/dist/chunks/cli-0.6.6-arvcw19g.mjs +2 -0
- package/dist/chunks/cli-0.6.6-as18fmg3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-at7yytqj.mjs +2 -0
- package/dist/chunks/cli-0.6.6-axvjexmr.mjs +15 -0
- package/dist/chunks/cli-0.6.6-b1wqaqv9.mjs +4 -0
- package/dist/chunks/cli-0.6.6-bbv794xs.mjs +4 -0
- package/dist/chunks/cli-0.6.6-bn18ty4n.mjs +18 -0
- package/dist/chunks/cli-0.6.6-by1ngr5q.mjs +5 -0
- package/dist/chunks/cli-0.6.6-c267ckfv.mjs +2 -0
- package/dist/chunks/cli-0.6.6-c2xmgnfp.mjs +7 -0
- package/dist/chunks/cli-0.6.6-ct7zap14.mjs +2 -0
- package/dist/chunks/cli-0.6.6-czhez59x.mjs +2 -0
- package/dist/chunks/cli-0.6.6-d0qrt51j.mjs +2 -0
- package/dist/chunks/cli-0.6.6-d5dexg4d.mjs +2 -0
- package/dist/chunks/cli-0.6.6-dmd73xa3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-dmtpt4r7.mjs +17 -0
- package/dist/chunks/cli-0.6.6-dnx45tc3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-drg8zfkg.mjs +2 -0
- package/dist/chunks/cli-0.6.6-e4pcw0z3.mjs +3 -0
- package/dist/chunks/cli-0.6.6-eeaxd1dd.mjs +2 -0
- package/dist/chunks/cli-0.6.6-efkct3rx.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ek8y79wd.mjs +2 -0
- package/dist/chunks/cli-0.6.6-en2sexw5.mjs +59 -0
- package/dist/chunks/cli-0.6.6-enc586ry.mjs +4 -0
- package/dist/chunks/cli-0.6.6-esnwdj9p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ezhp9zxv.mjs +2 -0
- package/dist/chunks/cli-0.6.6-f6wc5yc6.mjs +17 -0
- package/dist/chunks/cli-0.6.6-fep3xed7.mjs +2 -0
- package/dist/chunks/cli-0.6.6-fj9rpekf.mjs +2 -0
- package/dist/chunks/cli-0.6.6-g6ja9jcs.mjs +4 -0
- package/dist/chunks/cli-0.6.6-g9mdc3pd.mjs +2 -0
- package/dist/chunks/cli-0.6.6-gk8s7mch.mjs +67 -0
- package/dist/chunks/cli-0.6.6-gte1km05.mjs +2 -0
- package/dist/chunks/cli-0.6.6-h02v66zq.mjs +2 -0
- package/dist/chunks/cli-0.6.6-h12zw82h.mjs +3 -0
- package/dist/chunks/cli-0.6.6-h2aqs05m.mjs +2 -0
- package/dist/chunks/cli-0.6.6-h8d7s4qz.mjs +21 -0
- package/dist/chunks/cli-0.6.6-h8ew0rcw.mjs +24 -0
- package/dist/chunks/cli-0.6.6-hcajyfhg.mjs +6 -0
- package/dist/chunks/cli-0.6.6-hejk0ae6.mjs +5 -0
- package/dist/chunks/cli-0.6.6-hetrxwwb.mjs +2 -0
- package/dist/chunks/cli-0.6.6-heymhe69.mjs +24 -0
- package/dist/chunks/cli-0.6.6-hp08wrzx.mjs +15 -0
- package/dist/chunks/cli-0.6.6-hsgfy54f.mjs +2 -0
- package/dist/chunks/cli-0.6.6-hyqpcaay.mjs +2 -0
- package/dist/chunks/cli-0.6.6-j4j7a9y4.mjs +2 -0
- package/dist/chunks/cli-0.6.6-je6w2y3h.mjs +2 -0
- package/dist/chunks/cli-0.6.6-jh33fwqe.mjs +18 -0
- package/dist/chunks/cli-0.6.6-jjj2qt22.mjs +2 -0
- package/dist/chunks/cli-0.6.6-jqxfz350.mjs +2 -0
- package/dist/chunks/cli-0.6.6-jrpy2bkk.mjs +2 -0
- package/dist/chunks/cli-0.6.6-kca8bnv6.mjs +2 -0
- package/dist/chunks/cli-0.6.6-khr65dty.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ktwh4wvp.mjs +6 -0
- package/dist/chunks/cli-0.6.6-mb1z3n48.mjs +2 -0
- package/dist/chunks/cli-0.6.6-mc9x1jry.mjs +28 -0
- package/dist/chunks/cli-0.6.6-mk746t95.mjs +2 -0
- package/dist/chunks/cli-0.6.6-mmgfr8v9.mjs +2 -0
- package/dist/chunks/cli-0.6.6-mrkkgjdh.mjs +2 -0
- package/dist/chunks/cli-0.6.6-mzjbzje2.mjs +2 -0
- package/dist/chunks/cli-0.6.6-nbrpn6xq.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ncqg4xxp.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ntyx46a7.mjs +2 -0
- package/dist/chunks/cli-0.6.6-nw0nh4e0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-nymfz9tw.mjs +2 -0
- package/dist/chunks/cli-0.6.6-p3xdjh86.mjs +12 -0
- package/dist/chunks/cli-0.6.6-phfaae6k.mjs +2 -0
- package/dist/chunks/cli-0.6.6-py5db2ds.mjs +2 -0
- package/dist/chunks/cli-0.6.6-q1j20ysc.mjs +193 -0
- package/dist/chunks/cli-0.6.6-q6pybpxh.mjs +2 -0
- package/dist/chunks/cli-0.6.6-qvmtyvz3.mjs +3 -0
- package/dist/chunks/cli-0.6.6-r5fnevcm.mjs +2 -0
- package/dist/chunks/cli-0.6.6-r6ph5dqe.mjs +2 -0
- package/dist/chunks/cli-0.6.6-rhcte81y.mjs +15 -0
- package/dist/chunks/cli-0.6.6-rqfeyzcp.mjs +2 -0
- package/dist/chunks/cli-0.6.6-rxhq7h6p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-s3y8t7we.mjs +2 -0
- package/dist/chunks/cli-0.6.6-sc6nf44p.mjs +2 -0
- package/dist/chunks/cli-0.6.6-sh4pyhkw.mjs +2 -0
- package/dist/chunks/cli-0.6.6-sqvm4f1y.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ssjjspdc.mjs +2 -0
- package/dist/chunks/cli-0.6.6-sxde5jj7.mjs +2 -0
- package/dist/chunks/cli-0.6.6-t3vvf5fy.mjs +2 -0
- package/dist/chunks/cli-0.6.6-t7p08nsw.mjs +2 -0
- package/dist/chunks/cli-0.6.6-tam4amwx.mjs +2 -0
- package/dist/chunks/cli-0.6.6-tg1e3sdx.mjs +2 -0
- package/dist/chunks/cli-0.6.6-tk00k0e1.mjs +34 -0
- package/dist/chunks/cli-0.6.6-v17a8yzy.mjs +2 -0
- package/dist/chunks/cli-0.6.6-vesqvt0y.mjs +2 -0
- package/dist/chunks/cli-0.6.6-vjj3g5dm.mjs +2 -0
- package/dist/chunks/cli-0.6.6-vt1181th.mjs +39 -0
- package/dist/chunks/cli-0.6.6-vvz9vw7f.mjs +5 -0
- package/dist/chunks/cli-0.6.6-vy3wa7f9.mjs +2 -0
- package/dist/chunks/cli-0.6.6-w687eya6.mjs +2 -0
- package/dist/chunks/cli-0.6.6-w6tqtrzg.mjs +4 -0
- package/dist/chunks/cli-0.6.6-wctj7gmc.mjs +6 -0
- package/dist/chunks/cli-0.6.6-ww6zy0p0.mjs +2 -0
- package/dist/chunks/cli-0.6.6-wxst92je.mjs +4 -0
- package/dist/chunks/cli-0.6.6-x1zrpt5g.mjs +45 -0
- package/dist/chunks/cli-0.6.6-x3tz7qvq.mjs +2 -0
- package/dist/chunks/cli-0.6.6-x88t5n54.mjs +133 -0
- package/dist/chunks/cli-0.6.6-xe6egv3r.mjs +25 -0
- package/dist/chunks/cli-0.6.6-xmd2zss3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-xna6taqd.mjs +9 -0
- package/dist/chunks/cli-0.6.6-xq4cysdk.mjs +2 -0
- package/dist/chunks/cli-0.6.6-xt0p4ems.mjs +4 -0
- package/dist/chunks/cli-0.6.6-xtj65dsh.mjs +2 -0
- package/dist/chunks/cli-0.6.6-y305shhz.mjs +2 -0
- package/dist/chunks/cli-0.6.6-yakt9hjc.mjs +3 -0
- package/dist/chunks/cli-0.6.6-ymge82rt.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ythetarc.mjs +3 -0
- package/dist/chunks/cli-0.6.6-ytskhcd3.mjs +42 -0
- package/dist/chunks/cli-0.6.6-ytws2j1w.mjs +2 -0
- package/dist/chunks/cli-0.6.6-yxd04fex.mjs +2 -0
- package/dist/chunks/cli-0.6.6-zb8ddz0k.mjs +2 -0
- package/dist/chunks/cli-0.6.6-ze6rx70y.mjs +2 -0
- package/dist/chunks/cli-0.6.6-zhky93y3.mjs +2 -0
- package/dist/chunks/cli-0.6.6-zwk7a82m.mjs +2 -0
- package/dist/chunks/cli-0.6.6-zx0cgvxq.mjs +2 -0
- package/dist/chunks/client-0.6.6-epndq4qc.mjs +1 -0
- package/dist/chunks/color-0.6.6-8rzmvtwk.mjs +1 -0
- package/dist/chunks/compact-0.6.6-hx8hw1kn.mjs +3 -0
- package/dist/chunks/config-0.6.6-0j07cdc5.mjs +1 -0
- package/dist/chunks/config-0.6.6-2fm368ym.mjs +1 -0
- package/dist/chunks/constants-0.6.6-0yxw2f7y.mjs +1 -0
- package/dist/chunks/context-0.6.6-1ask7yck.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.6-kk5a8p4w.mjs +1 -0
- package/dist/chunks/conversation-0.6.6-fetjq503.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.6-fwqs850f.mjs +1 -0
- package/dist/chunks/copy-0.6.6-8j7h9rrr.mjs +9 -0
- package/dist/chunks/cost-0.6.6-1b4svxh2.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.6-nj5vfp9k.mjs +1 -0
- package/dist/chunks/createSession-0.6.6-mphh6gbj.mjs +1 -0
- package/dist/chunks/debug-0.6.6-ghaq68w2.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.6-t8g2hnht.mjs +1367 -0
- package/dist/chunks/desktop-0.6.6-a4mc0bda.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.6-ncw5b2aj.mjs +1 -0
- package/dist/chunks/detection-0.6.6-214xzj0w.mjs +1 -0
- package/dist/chunks/diff-0.6.6-7nwejtje.mjs +1 -0
- package/dist/chunks/doctor-0.6.6-2wetaw67.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.6-wvp7h2xr.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.6-9jbsyrke.mjs +1 -0
- package/dist/chunks/effort-0.6.6-ncb29f3c.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.6-6pv90cvs.mjs +1 -0
- package/dist/chunks/envUtils-0.6.6-mwnbc88a.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.6-gac9h0m9.mjs +1 -0
- package/dist/chunks/environments-0.6.6-dyqm7563.mjs +1 -0
- package/dist/chunks/errors-0.6.6-q707mqqm.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.6-wd6w9zh5.mjs +1 -0
- package/dist/chunks/exit-0.6.6-8vj2yn2g.mjs +1 -0
- package/dist/chunks/export-0.6.6-ze9h049t.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.6-mp9th9v6.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.6-rmjhm3ng.mjs +1 -0
- package/dist/chunks/fast-0.6.6-764x92hh.mjs +1 -0
- package/dist/chunks/feedback-0.6.6-5x42sy6a.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.6-x2gcw7ns.mjs +1 -0
- package/dist/chunks/git-0.6.6-rw5vzxwm.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.6-f2n56xmf.mjs +1 -0
- package/dist/chunks/goal-0.6.6-9rtva22g.mjs +4 -0
- package/dist/chunks/grove-0.6.6-97994twv.mjs +1 -0
- package/dist/chunks/growthbook-0.6.6-8reejkag.mjs +1 -0
- package/dist/chunks/headless-0.6.6-qgkvkz56.mjs +2 -0
- package/dist/chunks/heapdump-0.6.6-s68hkj7v.mjs +6 -0
- package/dist/chunks/help-0.6.6-a74x2714.mjs +1 -0
- package/dist/chunks/hookChains-0.6.6-wrp608b1.mjs +3 -0
- package/dist/chunks/hooks-0.6.6-skad5kp2.mjs +79 -0
- package/dist/chunks/hooks-0.6.6-zy3p5ymd.mjs +1 -0
- package/dist/chunks/ide-0.6.6-xpbxyf5x.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.6-8ggh2rjn.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.6-xfbtg9vz.mjs +1 -0
- package/dist/chunks/index-0.6.6-0g09kzhh.mjs +1 -0
- package/dist/chunks/index-0.6.6-1p1fy7cz.mjs +5 -0
- package/dist/chunks/index-0.6.6-27ems47g.mjs +9 -0
- package/dist/chunks/index-0.6.6-4v2spjs5.mjs +1 -0
- package/dist/chunks/index-0.6.6-5me3rm4s.mjs +9 -0
- package/dist/chunks/index-0.6.6-70tj26f9.mjs +1 -0
- package/dist/chunks/index-0.6.6-8zcthv4z.mjs +1 -0
- package/dist/chunks/index-0.6.6-aef14n9j.mjs +2 -0
- package/dist/chunks/index-0.6.6-apxc13te.mjs +1 -0
- package/dist/chunks/index-0.6.6-dq42pv3d.mjs +1 -0
- package/dist/chunks/index-0.6.6-ebp0mayr.mjs +1 -0
- package/dist/chunks/index-0.6.6-ejmkdrzm.mjs +1 -0
- package/dist/chunks/index-0.6.6-kqbyedrd.mjs +1 -0
- package/dist/chunks/index-0.6.6-m0dywyy2.mjs +30 -0
- package/dist/chunks/index-0.6.6-pjnpey6d.mjs +1 -0
- package/dist/chunks/index-0.6.6-pykm48ja.mjs +1 -0
- package/dist/chunks/index-0.6.6-pzvhyk3s.mjs +1 -0
- package/dist/chunks/index-0.6.6-rxae4gv4.mjs +1 -0
- package/dist/chunks/index-0.6.6-s4wsdcz8.mjs +2 -0
- package/dist/chunks/index-0.6.6-spnbnmsj.mjs +1 -0
- package/dist/chunks/index-0.6.6-sqygenvb.mjs +1 -0
- package/dist/chunks/index-0.6.6-t43srges.mjs +1 -0
- package/dist/chunks/index-0.6.6-zgh9z1rm.mjs +1 -0
- package/dist/chunks/init-0.6.6-6yxjq5pc.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.6-eeynkqk3.mjs +1 -0
- package/dist/chunks/ink-0.6.6-keyn52qn.mjs +1 -0
- package/dist/chunks/insights-0.6.6-2wjtvjnd.mjs +870 -0
- package/dist/chunks/install-0.6.6-vdpf15fp.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.6-8zk1xfpw.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.6-j2a9c586.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.6-35f0r0ts.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.6-18x9yezm.mjs +1 -0
- package/dist/chunks/keybindings-0.6.6-9r4m4jvq.mjs +2 -0
- package/dist/chunks/knowledge-0.6.6-1rjjrsqn.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.6-32rrz0z9.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.6-tjygbn96.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.6-8xsdzy59.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.6-fr4gdkcy.mjs +1 -0
- package/dist/chunks/log-0.6.6-6nzgdpd0.mjs +1 -0
- package/dist/chunks/main-0.6.6-aq9jq72v.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.6-6bth8e56.mjs +1 -0
- package/dist/chunks/mcp-0.6.6-4xb16x7y.mjs +1 -0
- package/dist/chunks/mcp-0.6.6-chps3y13.mjs +4 -0
- package/dist/chunks/mcp-0.6.6-fxy3qcdv.mjs +17 -0
- package/dist/chunks/mcpb-0.6.6-bhpebgzm.mjs +1 -0
- package/dist/chunks/memory-0.6.6-89t2e497.mjs +3 -0
- package/dist/chunks/model-0.6.6-8bpwy4gg.mjs +1 -0
- package/dist/chunks/model-0.6.6-m3x9crqt.mjs +2 -0
- package/dist/chunks/node-0.6.6-rm65t01m.mjs +12 -0
- package/dist/chunks/oauth-0.6.6-akp7n7mb.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.6-ft40jfrp.mjs +14 -0
- package/dist/chunks/output-style-0.6.6-bvhtp4tc.mjs +1 -0
- package/dist/chunks/package-FMOR3ELU-0.6.6-0ykwzcyt.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.6-jve0dvpn.mjs +1 -0
- package/dist/chunks/parser-0.6.6-xa5qsjfh.mjs +1 -0
- package/dist/chunks/passes-0.6.6-tdv74eqj.mjs +1 -0
- package/dist/chunks/permissions-0.6.6-46df10nj.mjs +3 -0
- package/dist/chunks/permissions-0.6.6-8wcv4q7d.mjs +1 -0
- package/dist/chunks/plan-0.6.6-qw8t4gpk.mjs +1 -0
- package/dist/chunks/plist-0.6.6-5m3etrhq.mjs +1 -0
- package/dist/chunks/plugin-0.6.6-narwef70.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.6-v7kxdq6w.mjs +1 -0
- package/dist/chunks/plugins-0.6.6-10y990d0.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.6-0vkxazxv.mjs +2 -0
- package/dist/chunks/print-0.6.6-ym6tndvq.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.6-05da2gne.mjs +1 -0
- package/dist/chunks/process-0.6.6-da3h3zfe.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.6-m76r9et2.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.6-xxwnh0cf.mjs +9 -0
- package/dist/chunks/prompt-0.6.6-60sg3pmt.mjs +1 -0
- package/dist/chunks/prompt-0.6.6-vfh4fr6f.mjs +1 -0
- package/dist/chunks/prompts-0.6.6-vbfva1a5.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.6-73vezfvr.mjs +13 -0
- package/dist/chunks/provider-0.6.6-ch5qq6n3.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.6-jtysbyrm.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.6-5509e4cb.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.6-cfm37mqk.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.6-7p5mr9t1.mjs +34 -0
- package/dist/chunks/registry-0.6.6-z5cnbznq.mjs +1 -0
- package/dist/chunks/release-notes-0.6.6-90zjvqjx.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.6-jyxrw2jq.mjs +2 -0
- package/dist/chunks/remote-env-0.6.6-wyekcz2k.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.6-favpnrd5.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.6-snjkbaw2.mjs +1 -0
- package/dist/chunks/rename-0.6.6-3wang66e.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.6-dmxdjqjy.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.6-bvhzfdx8.mjs +1 -0
- package/dist/chunks/resume-0.6.6-zqn712k4.mjs +2 -0
- package/dist/chunks/rewind-0.6.6-h8kc53mc.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.6-wcam7tjd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.6-qbm1rqdf.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.6-m882ckxv.mjs +1 -0
- package/dist/chunks/session-0.6.6-ezqqmxrd.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.6-0q34cmbe.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.6-3tek8yje.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.6-pgfjqhdj.mjs +1 -0
- package/dist/chunks/settings-0.6.6-ms6t0ray.mjs +1 -0
- package/dist/chunks/setup-0.6.6-n2vjxxmx.mjs +5 -0
- package/dist/chunks/sinks-0.6.6-mq00wrfa.mjs +1 -0
- package/dist/chunks/skills-0.6.6-vgr1dpf7.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.6-5nbjv2gp.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.6-z6adga96.mjs +1 -0
- package/dist/chunks/state-0.6.6-w2grqwqw.mjs +1 -0
- package/dist/chunks/stats-0.6.6-z11zcde6.mjs +6 -0
- package/dist/chunks/status-0.6.6-vbcqezgp.mjs +1 -0
- package/dist/chunks/stickers-0.6.6-c1pczjgd.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.6-95tf6phx.mjs +1 -0
- package/dist/chunks/tasks-0.6.6-pm1cbtt0.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.6-ec57k1fn.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.6-964bq8fq.mjs +1 -0
- package/dist/chunks/teleport-0.6.6-ksymynm4.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.6-r5q2y7w0.mjs +1 -0
- package/dist/chunks/theme-0.6.6-y46frztn.mjs +1 -0
- package/dist/chunks/thinkback-0.6.6-3j0w6yjk.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.6-rrcqmyxk.mjs +1 -0
- package/dist/chunks/toolPool-0.6.6-2jmzd43n.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.6-2rrd60cx.mjs +1 -0
- package/dist/chunks/tools-0.6.6-13yxm82t.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.6-yk1yrpb0.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.6-nhq9m5br.mjs +69 -0
- package/dist/chunks/types-0.6.6-stnrzm1j.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.6-7ytrj9jv.mjs +4 -0
- package/dist/chunks/update-0.6.6-5hf3mst5.mjs +86 -0
- package/dist/chunks/upgrade-0.6.6-y2gdvy9z.mjs +1 -0
- package/dist/chunks/upload-0.6.6-mwd7k6ym.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.6-2fc9x5pq.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.6-gbs8n3ne.mjs +1 -0
- package/dist/chunks/usage-0.6.6-8n0sxpw2.mjs +1 -0
- package/dist/chunks/util-0.6.6-hpjf8dnn.mjs +1 -0
- package/dist/chunks/utils-0.6.6-w937v7sr.mjs +1 -0
- package/dist/chunks/vim-0.6.6-b8g833z7.mjs +1 -0
- package/dist/chunks/watcher-0.6.6-bsqe9pa4.mjs +1 -0
- package/dist/chunks/wiki-0.6.6-2fstcx28.mjs +132 -0
- package/dist/chunks/worktree-0.6.6-yctkpbmx.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.6-yv2bvj70.mjs +1 -0
- package/dist/chunks/wrapper-0.6.6-02cwy0nm.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +14 -14
- package/dist/chunks/AgentTool-0.6.5-9pre88qb.mjs +0 -1
- package/dist/chunks/App-0.6.5-syfacmqb.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.5-2rrtj277.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.5-8deawh7z.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.5-8e3v3cgx.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.5-3pjygvs2.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.5-s2js1wag.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.5-36z08571.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.5-g256mdz0.mjs +0 -3
- package/dist/chunks/Doctor-0.6.5-vty8ec8n.mjs +0 -1
- package/dist/chunks/Grove-0.6.5-p00f24rh.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.5-53j2wh9w.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.5-gtpj7hn7.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.5-3d3v9kn1.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.5-mnbsk1bz.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.5-9r9rkgj0.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.5-yb8w75gs.mjs +0 -1
- package/dist/chunks/REPL-0.6.5-wqyg8nfv.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.5-0d1tkqfd.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.5-n5pa0d9r.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.5-t863eyfb.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.5-11ykz8de.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.5-dn6dvzvv.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.5-yd46t6dv.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.5-6kssfnkp.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.5-mdbqw8dc.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.5-wpe1bnhr.mjs +0 -1
- package/dist/chunks/add-dir-0.6.5-zphaxr62.mjs +0 -1
- package/dist/chunks/agents-0.6.5-9rhdp3vp.mjs +0 -110
- package/dist/chunks/agents-0.6.5-krnahvn4.mjs +0 -3
- package/dist/chunks/api-0.6.5-vfnxfssn.mjs +0 -1
- package/dist/chunks/asciicast-0.6.5-hr205c81.mjs +0 -1
- package/dist/chunks/assistant-0.6.5-nfbsgssx.mjs +0 -1
- package/dist/chunks/auth-0.6.5-9baxvtxg.mjs +0 -1
- package/dist/chunks/auth-0.6.5-cq4yrhn2.mjs +0 -1
- package/dist/chunks/autoMode-0.6.5-kzhwpmfg.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.5-bkzpv0pd.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.5-2mkev4qh.mjs +0 -1
- package/dist/chunks/branch-0.6.5-8vtt7esr.mjs +0 -4
- package/dist/chunks/bridge-0.6.5-9c1v2e52.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.5-w77y3p5n.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.5-k6hvamvf.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.5-pea2hztr.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.5-87t92nmh.mjs +0 -1
- package/dist/chunks/btw-0.6.5-xhyyarh0.mjs +0 -1
- package/dist/chunks/buddy-0.6.5-g9csmkdw.mjs +0 -3
- package/dist/chunks/cacache-0.6.5-kzjmbjve.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.5-c2br8x9m.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.5-kbdcab9q.mjs +0 -4
- package/dist/chunks/caches-0.6.5-nwzvsny2.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.5-51tkmdr1.mjs +0 -1
- package/dist/chunks/claudemd-0.6.5-212twher.mjs +0 -1
- package/dist/chunks/clear-0.6.5-yg0wcbw4.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.5-0c24f1yy.mjs +0 -1
- package/dist/chunks/cli-0.6.5-00kbsd9f.mjs +0 -2
- package/dist/chunks/cli-0.6.5-0356tc6y.mjs +0 -2
- package/dist/chunks/cli-0.6.5-06d8zge2.mjs +0 -2
- package/dist/chunks/cli-0.6.5-0j7fzwkx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-0pt0eq6a.mjs +0 -3
- package/dist/chunks/cli-0.6.5-13g3042y.mjs +0 -12
- package/dist/chunks/cli-0.6.5-192npvx3.mjs +0 -2
- package/dist/chunks/cli-0.6.5-19mg5dfx.mjs +0 -6
- package/dist/chunks/cli-0.6.5-1bz46ywp.mjs +0 -2
- package/dist/chunks/cli-0.6.5-1fqhk4mv.mjs +0 -9
- package/dist/chunks/cli-0.6.5-1m46f13z.mjs +0 -2
- package/dist/chunks/cli-0.6.5-1r4j3nda.mjs +0 -58
- package/dist/chunks/cli-0.6.5-2dq7pa8p.mjs +0 -34
- package/dist/chunks/cli-0.6.5-2s673b9m.mjs +0 -2
- package/dist/chunks/cli-0.6.5-38gqwg2m.mjs +0 -2
- package/dist/chunks/cli-0.6.5-3hemanw8.mjs +0 -15
- package/dist/chunks/cli-0.6.5-3p5vg2yx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-3ybp7ww7.mjs +0 -6
- package/dist/chunks/cli-0.6.5-406dcpxw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-41tc50h9.mjs +0 -2
- package/dist/chunks/cli-0.6.5-477kp2fg.mjs +0 -2
- package/dist/chunks/cli-0.6.5-47s6s6ew.mjs +0 -2
- package/dist/chunks/cli-0.6.5-4k3kk3pr.mjs +0 -17
- package/dist/chunks/cli-0.6.5-4whh4m3h.mjs +0 -2
- package/dist/chunks/cli-0.6.5-54w728vm.mjs +0 -2
- package/dist/chunks/cli-0.6.5-57jmtd2z.mjs +0 -2
- package/dist/chunks/cli-0.6.5-58ck75qn.mjs +0 -2
- package/dist/chunks/cli-0.6.5-5py2stcw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-5rpfanmw.mjs +0 -3
- package/dist/chunks/cli-0.6.5-5t6d3asz.mjs +0 -5347
- package/dist/chunks/cli-0.6.5-5wr197ms.mjs +0 -25
- package/dist/chunks/cli-0.6.5-5ymbb1v4.mjs +0 -2
- package/dist/chunks/cli-0.6.5-60hfev34.mjs +0 -2
- package/dist/chunks/cli-0.6.5-61tnv5c7.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6829jyhh.mjs +0 -9
- package/dist/chunks/cli-0.6.5-69f24h9w.mjs +0 -8
- package/dist/chunks/cli-0.6.5-6ab8b50h.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6e6pv00e.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6ev1k0qv.mjs +0 -133
- package/dist/chunks/cli-0.6.5-6q2d7p49.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6qvtcs5y.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6wpz6mks.mjs +0 -2
- package/dist/chunks/cli-0.6.5-6x91apzw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-72v6gjqf.mjs +0 -2
- package/dist/chunks/cli-0.6.5-7am1hb1v.mjs +0 -2
- package/dist/chunks/cli-0.6.5-7tzhpeyn.mjs +0 -2
- package/dist/chunks/cli-0.6.5-7vnp5x55.mjs +0 -15
- package/dist/chunks/cli-0.6.5-81fzcvec.mjs +0 -4
- package/dist/chunks/cli-0.6.5-87qz97g2.mjs +0 -2
- package/dist/chunks/cli-0.6.5-8hsxq1p3.mjs +0 -2
- package/dist/chunks/cli-0.6.5-8zsy7h21.mjs +0 -2
- package/dist/chunks/cli-0.6.5-95a4872h.mjs +0 -2
- package/dist/chunks/cli-0.6.5-983fq4aj.mjs +0 -7
- package/dist/chunks/cli-0.6.5-987r1x1q.mjs +0 -2
- package/dist/chunks/cli-0.6.5-9cs6r2j7.mjs +0 -2
- package/dist/chunks/cli-0.6.5-9d9gmzev.mjs +0 -2
- package/dist/chunks/cli-0.6.5-9g1pn7jy.mjs +0 -2
- package/dist/chunks/cli-0.6.5-9g7p6wdj.mjs +0 -5
- package/dist/chunks/cli-0.6.5-9hp0d08c.mjs +0 -2
- package/dist/chunks/cli-0.6.5-a0ke5n08.mjs +0 -2
- package/dist/chunks/cli-0.6.5-a1csk51d.mjs +0 -3
- package/dist/chunks/cli-0.6.5-a23zsgke.mjs +0 -3
- package/dist/chunks/cli-0.6.5-a8za8sjg.mjs +0 -2
- package/dist/chunks/cli-0.6.5-akw85jbw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-amtt1tbm.mjs +0 -39
- package/dist/chunks/cli-0.6.5-awhfeefv.mjs +0 -5
- package/dist/chunks/cli-0.6.5-azwzatpd.mjs +0 -20
- package/dist/chunks/cli-0.6.5-b7x38zg8.mjs +0 -2
- package/dist/chunks/cli-0.6.5-bm7v9qp0.mjs +0 -2
- package/dist/chunks/cli-0.6.5-brk2sfdw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-bzz83kdv.mjs +0 -2
- package/dist/chunks/cli-0.6.5-c0nyamvd.mjs +0 -17
- package/dist/chunks/cli-0.6.5-c4v4vgw4.mjs +0 -2
- package/dist/chunks/cli-0.6.5-c7yx03g7.mjs +0 -16
- package/dist/chunks/cli-0.6.5-ce51qb6k.mjs +0 -4
- package/dist/chunks/cli-0.6.5-ckc9hr8m.mjs +0 -2
- package/dist/chunks/cli-0.6.5-cwaewkgb.mjs +0 -2
- package/dist/chunks/cli-0.6.5-czc9nvxh.mjs +0 -133
- package/dist/chunks/cli-0.6.5-d7nvtk63.mjs +0 -2
- package/dist/chunks/cli-0.6.5-dcr7rpqe.mjs +0 -2
- package/dist/chunks/cli-0.6.5-dm2rwpsb.mjs +0 -2
- package/dist/chunks/cli-0.6.5-e47bwdgy.mjs +0 -2
- package/dist/chunks/cli-0.6.5-e5pzxdbx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-e7k35s7j.mjs +0 -2
- package/dist/chunks/cli-0.6.5-e9t7harq.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ef17hb7w.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ef6b5qvc.mjs +0 -193
- package/dist/chunks/cli-0.6.5-efh1xzne.mjs +0 -24
- package/dist/chunks/cli-0.6.5-efsxkpxr.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ej3jf59h.mjs +0 -2
- package/dist/chunks/cli-0.6.5-env00jtm.mjs +0 -1
- package/dist/chunks/cli-0.6.5-eq4cscgw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-eqk6q7pf.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ev41fmky.mjs +0 -2
- package/dist/chunks/cli-0.6.5-f34ttkbg.mjs +0 -2
- package/dist/chunks/cli-0.6.5-f4x1fb90.mjs +0 -4
- package/dist/chunks/cli-0.6.5-f71ncwzk.mjs +0 -59
- package/dist/chunks/cli-0.6.5-fg2a16s4.mjs +0 -2
- package/dist/chunks/cli-0.6.5-g43wnabd.mjs +0 -2
- package/dist/chunks/cli-0.6.5-g7d8vsb2.mjs +0 -2
- package/dist/chunks/cli-0.6.5-g8qt9gm7.mjs +0 -2
- package/dist/chunks/cli-0.6.5-gjzdpmdx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-gk89f6jk.mjs +0 -4
- package/dist/chunks/cli-0.6.5-gw6ygdnq.mjs +0 -3
- package/dist/chunks/cli-0.6.5-h08jc3cj.mjs +0 -18
- package/dist/chunks/cli-0.6.5-h0xnjwg1.mjs +0 -2
- package/dist/chunks/cli-0.6.5-h3cch37f.mjs +0 -2
- package/dist/chunks/cli-0.6.5-h5x9r5ap.mjs +0 -50
- package/dist/chunks/cli-0.6.5-j45setk1.mjs +0 -2
- package/dist/chunks/cli-0.6.5-j5v5jpq8.mjs +0 -2
- package/dist/chunks/cli-0.6.5-je97ssab.mjs +0 -2
- package/dist/chunks/cli-0.6.5-jqbkgjhs.mjs +0 -2
- package/dist/chunks/cli-0.6.5-jrnx4znh.mjs +0 -2
- package/dist/chunks/cli-0.6.5-jygg6ynx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-k15yzap9.mjs +0 -2
- package/dist/chunks/cli-0.6.5-k74repdw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-k8vb0qqx.mjs +0 -2
- package/dist/chunks/cli-0.6.5-k8vgyecf.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kac7d6qe.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kd1sw5qm.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ke48d24y.mjs +0 -2
- package/dist/chunks/cli-0.6.5-khsn0wkk.mjs +0 -21
- package/dist/chunks/cli-0.6.5-kjntnfas.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kqhpzqdw.mjs +0 -67
- package/dist/chunks/cli-0.6.5-kr0q8v74.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kxwg80ye.mjs +0 -42
- package/dist/chunks/cli-0.6.5-kyp268ew.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kzr5p1mv.mjs +0 -2
- package/dist/chunks/cli-0.6.5-kztnt6aq.mjs +0 -2
- package/dist/chunks/cli-0.6.5-m2619f84.mjs +0 -2
- package/dist/chunks/cli-0.6.5-mgv2cvps.mjs +0 -45
- package/dist/chunks/cli-0.6.5-mpdvzrnw.mjs +0 -2
- package/dist/chunks/cli-0.6.5-n4hnag3x.mjs +0 -2
- package/dist/chunks/cli-0.6.5-n64fe6ey.mjs +0 -2
- package/dist/chunks/cli-0.6.5-nd6kqcck.mjs +0 -2
- package/dist/chunks/cli-0.6.5-nngqh0bh.mjs +0 -2
- package/dist/chunks/cli-0.6.5-p6n42hmh.mjs +0 -4
- package/dist/chunks/cli-0.6.5-pa3ap7rs.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pbahk0n4.mjs +0 -12
- package/dist/chunks/cli-0.6.5-pbyhms5s.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pgs0eeqg.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pky7r4pf.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pv1b8wyy.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pw1077hd.mjs +0 -2
- package/dist/chunks/cli-0.6.5-pz5add8h.mjs +0 -4
- package/dist/chunks/cli-0.6.5-q027r0rf.mjs +0 -2
- package/dist/chunks/cli-0.6.5-q1qpax7b.mjs +0 -2
- package/dist/chunks/cli-0.6.5-q2z0n0me.mjs +0 -2
- package/dist/chunks/cli-0.6.5-q4gh8d4w.mjs +0 -6
- package/dist/chunks/cli-0.6.5-q67zwknt.mjs +0 -4
- package/dist/chunks/cli-0.6.5-qhq9tmd4.mjs +0 -24
- package/dist/chunks/cli-0.6.5-qx67z0cv.mjs +0 -2
- package/dist/chunks/cli-0.6.5-r06ahe39.mjs +0 -3
- package/dist/chunks/cli-0.6.5-r2khv6re.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ras9cma3.mjs +0 -2
- package/dist/chunks/cli-0.6.5-rkjw25m5.mjs +0 -2
- package/dist/chunks/cli-0.6.5-rrteyxna.mjs +0 -5
- package/dist/chunks/cli-0.6.5-rsve86mh.mjs +0 -12
- package/dist/chunks/cli-0.6.5-rvnz8f4b.mjs +0 -3
- package/dist/chunks/cli-0.6.5-ry2zfh45.mjs +0 -2
- package/dist/chunks/cli-0.6.5-s1ahtmc1.mjs +0 -2
- package/dist/chunks/cli-0.6.5-s42kf4d5.mjs +0 -2
- package/dist/chunks/cli-0.6.5-s580r0vs.mjs +0 -2
- package/dist/chunks/cli-0.6.5-sph3w6xt.mjs +0 -2
- package/dist/chunks/cli-0.6.5-svr5tx29.mjs +0 -2
- package/dist/chunks/cli-0.6.5-sz8mbg6v.mjs +0 -2
- package/dist/chunks/cli-0.6.5-t4tz7xht.mjs +0 -18
- package/dist/chunks/cli-0.6.5-th48yhz2.mjs +0 -2
- package/dist/chunks/cli-0.6.5-thfwpyjp.mjs +0 -2
- package/dist/chunks/cli-0.6.5-tj3hcx9x.mjs +0 -2
- package/dist/chunks/cli-0.6.5-tqwbfn5c.mjs +0 -2
- package/dist/chunks/cli-0.6.5-ts0kvt5k.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vbw9z7ya.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vj647gqr.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vjydf7v2.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vn8pa80z.mjs +0 -3
- package/dist/chunks/cli-0.6.5-vpebat6v.mjs +0 -4
- package/dist/chunks/cli-0.6.5-vqb4jtcr.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vsmwyh7p.mjs +0 -2
- package/dist/chunks/cli-0.6.5-vywqm5j0.mjs +0 -2
- package/dist/chunks/cli-0.6.5-w2qf3sbz.mjs +0 -2
- package/dist/chunks/cli-0.6.5-wa6b2ksg.mjs +0 -2
- package/dist/chunks/cli-0.6.5-wgdp3ytt.mjs +0 -15
- package/dist/chunks/cli-0.6.5-xbz59an6.mjs +0 -2
- package/dist/chunks/cli-0.6.5-xngsek99.mjs +0 -3
- package/dist/chunks/cli-0.6.5-xwvfjaga.mjs +0 -2
- package/dist/chunks/cli-0.6.5-xxnhfq1f.mjs +0 -3
- package/dist/chunks/cli-0.6.5-xxtrec34.mjs +0 -2
- package/dist/chunks/cli-0.6.5-y4kbaj8m.mjs +0 -3
- package/dist/chunks/cli-0.6.5-ybxktrwn.mjs +0 -4
- package/dist/chunks/cli-0.6.5-ynxewk0a.mjs +0 -18
- package/dist/chunks/cli-0.6.5-ywh9eaz9.mjs +0 -3
- package/dist/chunks/cli-0.6.5-yy3mtt7p.mjs +0 -4
- package/dist/chunks/cli-0.6.5-z5qqy4bb.mjs +0 -10
- package/dist/chunks/cli-0.6.5-z64827fd.mjs +0 -2
- package/dist/chunks/cli-0.6.5-zxppzj42.mjs +0 -3
- package/dist/chunks/client-0.6.5-kcsx56gb.mjs +0 -1
- package/dist/chunks/color-0.6.5-m4adc5zy.mjs +0 -1
- package/dist/chunks/compact-0.6.5-pp3jftxy.mjs +0 -3
- package/dist/chunks/config-0.6.5-4t1bbgpf.mjs +0 -1
- package/dist/chunks/config-0.6.5-8j3ajra5.mjs +0 -1
- package/dist/chunks/constants-0.6.5-z1rfnbw0.mjs +0 -1
- package/dist/chunks/context-0.6.5-k4dkxskt.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.5-t2s33qfv.mjs +0 -1
- package/dist/chunks/conversation-0.6.5-wtjv42fh.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.5-t5d64yyd.mjs +0 -1
- package/dist/chunks/copy-0.6.5-r2cah677.mjs +0 -9
- package/dist/chunks/cost-0.6.5-8bs4d6y0.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.5-7p69k83d.mjs +0 -1
- package/dist/chunks/createSession-0.6.5-fwtmdngf.mjs +0 -1
- package/dist/chunks/debug-0.6.5-xmxftwgk.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.5-z6w9jmje.mjs +0 -1367
- package/dist/chunks/desktop-0.6.5-fargeve3.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.5-ymk4cd49.mjs +0 -1
- package/dist/chunks/detection-0.6.5-9v4p8jdz.mjs +0 -1
- package/dist/chunks/diff-0.6.5-8ja76cbj.mjs +0 -1
- package/dist/chunks/doctor-0.6.5-j9ztya6c.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.5-4rk9v7gn.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.5-jnt6pqdj.mjs +0 -1
- package/dist/chunks/effort-0.6.5-wn6gayah.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.5-eptez4tg.mjs +0 -1
- package/dist/chunks/envUtils-0.6.5-62qkktte.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.5-zdqp06ex.mjs +0 -1
- package/dist/chunks/environments-0.6.5-4cxm9f2v.mjs +0 -1
- package/dist/chunks/errors-0.6.5-zrzdygzb.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.5-c4p6gs14.mjs +0 -1
- package/dist/chunks/exit-0.6.5-491d2dm3.mjs +0 -1
- package/dist/chunks/export-0.6.5-ydgbaqvw.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.5-qc1chr9f.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.5-g2ratb24.mjs +0 -1
- package/dist/chunks/fast-0.6.5-19egbvsn.mjs +0 -1
- package/dist/chunks/feedback-0.6.5-r15hzy5x.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.5-h0wam92d.mjs +0 -1
- package/dist/chunks/git-0.6.5-kd4a5hgs.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.5-ahxqf63c.mjs +0 -1
- package/dist/chunks/goal-0.6.5-kyahd6wn.mjs +0 -4
- package/dist/chunks/grove-0.6.5-qjgh7ss3.mjs +0 -1
- package/dist/chunks/growthbook-0.6.5-ax1nfvk4.mjs +0 -1
- package/dist/chunks/headless-0.6.5-4pg9fsvq.mjs +0 -2
- package/dist/chunks/heapdump-0.6.5-9k0vppqs.mjs +0 -6
- package/dist/chunks/help-0.6.5-tfhm2beq.mjs +0 -1
- package/dist/chunks/hookChains-0.6.5-6szjehhz.mjs +0 -3
- package/dist/chunks/hooks-0.6.5-dgpkkjn0.mjs +0 -79
- package/dist/chunks/hooks-0.6.5-w5dctm3q.mjs +0 -1
- package/dist/chunks/ide-0.6.5-13et7be7.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.5-hnw96fqh.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.5-qc951hng.mjs +0 -1
- package/dist/chunks/index-0.6.5-01x1ejhn.mjs +0 -1
- package/dist/chunks/index-0.6.5-0abf9jmk.mjs +0 -1
- package/dist/chunks/index-0.6.5-1mp331dd.mjs +0 -1
- package/dist/chunks/index-0.6.5-1sg6s6z6.mjs +0 -1
- package/dist/chunks/index-0.6.5-4q6jjbs7.mjs +0 -1
- package/dist/chunks/index-0.6.5-6sk15ws5.mjs +0 -2
- package/dist/chunks/index-0.6.5-6t864t2c.mjs +0 -1
- package/dist/chunks/index-0.6.5-6xqpvv54.mjs +0 -30
- package/dist/chunks/index-0.6.5-7zhnqzn2.mjs +0 -1
- package/dist/chunks/index-0.6.5-89hxhv95.mjs +0 -1
- package/dist/chunks/index-0.6.5-aty810n8.mjs +0 -1
- package/dist/chunks/index-0.6.5-c2hwywv3.mjs +0 -1
- package/dist/chunks/index-0.6.5-e2wq7gh6.mjs +0 -2
- package/dist/chunks/index-0.6.5-g0kwgaqr.mjs +0 -17
- package/dist/chunks/index-0.6.5-gtcspa71.mjs +0 -1
- package/dist/chunks/index-0.6.5-h3efeppv.mjs +0 -1
- package/dist/chunks/index-0.6.5-m5ejvtqa.mjs +0 -1
- package/dist/chunks/index-0.6.5-mh7r1b3g.mjs +0 -1
- package/dist/chunks/index-0.6.5-pvve2ng4.mjs +0 -5
- package/dist/chunks/index-0.6.5-snpzxxv3.mjs +0 -9
- package/dist/chunks/index-0.6.5-tfw7v414.mjs +0 -9
- package/dist/chunks/index-0.6.5-wjkwk8e7.mjs +0 -1
- package/dist/chunks/index-0.6.5-z62wqvcx.mjs +0 -1
- package/dist/chunks/init-0.6.5-zhc6fyd5.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.5-7r1y5662.mjs +0 -1
- package/dist/chunks/ink-0.6.5-tndp68zg.mjs +0 -1
- package/dist/chunks/insights-0.6.5-vqzkktqr.mjs +0 -870
- package/dist/chunks/install-0.6.5-5gr23h3m.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.5-tng076rr.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.5-gsz9yrym.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.5-nqsng4g6.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.5-k1pvqxme.mjs +0 -1
- package/dist/chunks/keybindings-0.6.5-xerpw7ac.mjs +0 -2
- package/dist/chunks/knowledge-0.6.5-3cqswtp3.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.5-mvrgq9dd.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.5-h16ggtfs.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.5-35e6kcw6.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.5-qm874zd2.mjs +0 -1
- package/dist/chunks/log-0.6.5-xge4vs13.mjs +0 -1
- package/dist/chunks/main-0.6.5-4pf8xcyc.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.5-qbgyznrt.mjs +0 -1
- package/dist/chunks/mcp-0.6.5-293k7n7h.mjs +0 -4
- package/dist/chunks/mcp-0.6.5-45d2qxwd.mjs +0 -17
- package/dist/chunks/mcp-0.6.5-b5jvd286.mjs +0 -1
- package/dist/chunks/mcpb-0.6.5-e68tqw35.mjs +0 -1
- package/dist/chunks/memory-0.6.5-9htftc81.mjs +0 -3
- package/dist/chunks/model-0.6.5-rpyjsh6m.mjs +0 -1
- package/dist/chunks/model-0.6.5-zsk9vwg7.mjs +0 -2
- package/dist/chunks/node-0.6.5-j42ec4dm.mjs +0 -12
- package/dist/chunks/oauth-0.6.5-d8r75abq.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.5-deev7qr4.mjs +0 -14
- package/dist/chunks/output-style-0.6.5-t4my27zb.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.5-a34phgmb.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.5-3rw1krw2.mjs +0 -1
- package/dist/chunks/parser-0.6.5-hnbj9e8f.mjs +0 -1
- package/dist/chunks/passes-0.6.5-9x43pms7.mjs +0 -1
- package/dist/chunks/permissions-0.6.5-aymv501j.mjs +0 -1
- package/dist/chunks/permissions-0.6.5-y4jnw514.mjs +0 -3
- package/dist/chunks/plan-0.6.5-kct7xqkt.mjs +0 -1
- package/dist/chunks/plist-0.6.5-gp660say.mjs +0 -1
- package/dist/chunks/plugin-0.6.5-5vnph48t.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.5-y74n8rfx.mjs +0 -1
- package/dist/chunks/plugins-0.6.5-y0xna858.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.5-gd8pge33.mjs +0 -2
- package/dist/chunks/print-0.6.5-zr884wv0.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.5-gm8tkeqk.mjs +0 -1
- package/dist/chunks/process-0.6.5-ha5587zb.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.5-qpanbrjt.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.5-0zzej132.mjs +0 -9
- package/dist/chunks/prompt-0.6.5-n2e16857.mjs +0 -1
- package/dist/chunks/prompt-0.6.5-yd9wwvye.mjs +0 -1
- package/dist/chunks/prompts-0.6.5-4h181zjj.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.5-btkqsev6.mjs +0 -13
- package/dist/chunks/provider-0.6.5-pk6rtf1a.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.5-spn4hk2w.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.5-j9fqm33r.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.5-n0s4jxw7.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.5-s6pemg0a.mjs +0 -34
- package/dist/chunks/registry-0.6.5-q9cda2p7.mjs +0 -1
- package/dist/chunks/release-notes-0.6.5-5s8sv8ea.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.5-bqh5fz13.mjs +0 -2
- package/dist/chunks/remote-env-0.6.5-29f08tqs.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.5-gk9afz22.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.5-w7r3dh6h.mjs +0 -1
- package/dist/chunks/rename-0.6.5-es4wyt7z.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.5-66va2rkv.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.5-xzbbew8q.mjs +0 -1
- package/dist/chunks/resume-0.6.5-q2e001ra.mjs +0 -2
- package/dist/chunks/rewind-0.6.5-hhxvb1pk.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.5-smyb5d6s.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.5-6zvjjrgg.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.5-ch59ryyz.mjs +0 -1
- package/dist/chunks/session-0.6.5-22r80wyd.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.5-aae5t467.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.5-a6xg367a.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.5-dqg82tdb.mjs +0 -1
- package/dist/chunks/settings-0.6.5-egjxpxrx.mjs +0 -1
- package/dist/chunks/setup-0.6.5-ks0cjhc0.mjs +0 -5
- package/dist/chunks/sinks-0.6.5-vnqdp1xs.mjs +0 -1
- package/dist/chunks/skills-0.6.5-fhq4v7kx.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.5-qg0j96r8.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.5-kgegmr3s.mjs +0 -1
- package/dist/chunks/state-0.6.5-s7hqk377.mjs +0 -1
- package/dist/chunks/stats-0.6.5-1c35kfn8.mjs +0 -6
- package/dist/chunks/status-0.6.5-wxfn3y7k.mjs +0 -1
- package/dist/chunks/stickers-0.6.5-vr2yr1fh.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.5-p4nz5egm.mjs +0 -1
- package/dist/chunks/tasks-0.6.5-jq5x8fny.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.5-s5tew7t1.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.5-0yh7b47q.mjs +0 -1
- package/dist/chunks/teleport-0.6.5-hmv7mh01.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.5-k9d4e82r.mjs +0 -1
- package/dist/chunks/theme-0.6.5-24hr0s0e.mjs +0 -1
- package/dist/chunks/thinkback-0.6.5-6997cmgj.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.5-5bm6dv3e.mjs +0 -1
- package/dist/chunks/toolPool-0.6.5-599y15ba.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.5-acm72rsk.mjs +0 -1
- package/dist/chunks/tools-0.6.5-kydccz7r.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.5-44vjv9at.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.5-s2n7faa4.mjs +0 -69
- package/dist/chunks/types-0.6.5-h60ghfcx.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.5-vhpd8cxc.mjs +0 -4
- package/dist/chunks/update-0.6.5-j61jnpbt.mjs +0 -86
- package/dist/chunks/upgrade-0.6.5-yg323wxz.mjs +0 -1
- package/dist/chunks/upload-0.6.5-5tsm3bt7.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.5-0ayrwt4t.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.5-6sb73p95.mjs +0 -1
- package/dist/chunks/usage-0.6.5-0tjr5c54.mjs +0 -1
- package/dist/chunks/util-0.6.5-xcfvn255.mjs +0 -1
- package/dist/chunks/utils-0.6.5-gjqewwe3.mjs +0 -1
- package/dist/chunks/vim-0.6.5-hmp35ayy.mjs +0 -1
- package/dist/chunks/watcher-0.6.5-jra6eh4m.mjs +0 -1
- package/dist/chunks/wiki-0.6.5-0k1cftcn.mjs +0 -132
- package/dist/chunks/worktree-0.6.5-a5vvycs0.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.5-rva8222w.mjs +0 -1
- package/dist/chunks/wrapper-0.6.5-0bxnwc77.mjs +0 -7
- /package/dist/chunks/{cli-0.6.5-pev4540w.mjs → cli-0.6.6-7bzhgmhp.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-yv4805v6.mjs → cli-0.6.6-mezb9tga.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-pynms6t8.mjs → cli-0.6.6-mfee7shn.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-mtx91sgr.mjs → cli-0.6.6-xnazk7t9.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-t0x65qv4.mjs → cli-0.6.6-yj2tafrk.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-1k5wyv3x.mjs → cli-0.6.6-yve3e654.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.5-dy5v4gms.mjs → cli-0.6.6-zk5p5pm9.mjs} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{kg as g,lg as My}from"./cli-0.6.5-xngsek99.mjs";import{tg as by,vg as GG}from"./cli-0.6.5-sph3w6xt.mjs";import{fi as Xy,hi as Zy,ii as oy}from"./cli-0.6.5-thfwpyjp.mjs";import{Ck as gy,Cn as $y,GJ as ey,Hq as Qy,JQ as jy,NJ as Oy,Pq as xy,QE as d,RE as ry,RJ as yG,Sr as v,VE as i,WE as Ly,_Q as Hy,_r as ly,kw as Wy,ln as e,nJ as j,nn as yy,nw as ay,oJ as ty,pn as Gy,sn as ky,su as U,tR as qG,tn as qy,tu as _y,un as zy,wJ as Ny,wn as Iy,wq as Jy,yk as t}from"./cli-0.6.5-5t6d3asz.mjs";import{UU as Ry,VU as cy}from"./cli-0.6.5-qhq9tmd4.mjs";import{BW as kG,vW as wy,wW as Py,xW as Uy}from"./cli-0.6.5-6x91apzw.mjs";import{HW as Ky,NW as ny}from"./cli-0.6.5-2dq7pa8p.mjs";import{AY as sy,BY as L,DY as E,gX as Yy,gZ as hy,zY as Q}from"./cli-0.6.5-f71ncwzk.mjs";import{m1 as N,n1 as u,o1 as C}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as Fy}from"./cli-0.6.5-vqb4jtcr.mjs";import{C5 as h,O3 as n,P3 as c,V5 as iy,m4 as dy}from"./cli-0.6.5-c7yx03g7.mjs";import{p6 as _,q6 as Dy}from"./cli-0.6.5-3ybp7ww7.mjs";import{G8 as a,Jaa as o,Lba as w,N8 as fy,Oaa as r,Oba as q,P8 as P,Paa as T,Q8 as Ay,Yaa as Ey,hca as M,x_ as J,z_ as uy}from"./cli-0.6.5-ef6b5qvc.mjs";import{Nea as Z,Yea as f,Zea as A}from"./cli-0.6.5-kac7d6qe.mjs";import{lga as D,oga as By}from"./cli-0.6.5-6qvtcs5y.mjs";import{oha as l,rha as py}from"./cli-0.6.5-q4gh8d4w.mjs";import{lpa as p}from"./cli-0.6.5-bm7v9qp0.mjs";hy();A();By();M();ry();My();Ly();C();var s=p(Yy(),1),F=p(Fy(),1),Sy={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return f("tengu_desktop_upsell",Sy)}function Ty(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function bG(){if(!Ty())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function wG(y){let G=s.c(14),{onDone:k}=y,[z,X]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(Cy,W),z){let b;if(G[1]!==k)b=N(g,{onDone:()=>k()}),G[1]=k,G[2]=b;else b=G[2];return b}let O;if(G[3]!==k)O=function(my){switch(my){case"try":{X(!0);return}case"never":{w(vy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=O;else O=G[4];let I=O,K;if(G[5]===Symbol.for("react.memo_cache_sentinel"))K={label:"Open in Claude Code Desktop",value:"try"},G[5]=K;else K=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[K,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let Vy=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=N(L,{marginBottom:1,children:N(E,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let R;if(G[9]!==I)R=()=>I("not-now"),G[9]=I,G[10]=R;else R=G[10];let B;if(G[11]!==I||G[12]!==R)B=N(i,{title:"Try Claude Code Desktop",children:u(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,N(d,{options:Vy,onChange:I,onCancel:R})]})}),G[11]=I,G[12]=R,G[13]=B;else B=G[13];return B}function vy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function Cy(){let y=(q().desktopUpsellSeenCount??0)+1;w((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),D("tengu_desktop_upsell_shown",{seen_count:y})}M();function HG(y){let G=q().numStartups;w((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function $(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}Dy();py();ly();Ey();ny();sy();GG();_y();gy();iy();cy();M();xy();uy();ay();fy();$y();dy();Ay();yG();ey();ty();qG();A();oy();kG();var Y;async function zG(){if(Y!==void 0)return Y;let y=await Ny();return Y=j in y,Y}async function x(y,G,k){if(!await zG())return!1;if(Oy(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((X)=>z.has(X)))return!0}if(k.filePath&&G?.readFileState){if(Wy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var IG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=T(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return l(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await a()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(jy())return!1;return await Ry()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ky())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&_.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>P()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>T().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!e())return!1;if(P()!=="macos")return!1;switch(J.terminal){case"vscode":return!await zy();case"cursor":return!await ky();case"windsurf":return!await qy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(yy())return!1;if((await Gy()).length!==0)return!1;return(await Iy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>P()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!v()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>v()},{id:"continue",content:async()=>"Run claude --continue or claude --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Hy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${U("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${U("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>P()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=n()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return Z("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Jy(c()))return!1;if(o("policySettings")?.effortLevel!==void 0)return!1;if(Qy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return Z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return Z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!t())return!1;return Z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=Uy();return k?`Share Claude Code and earn ${G(Py(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=wy();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Xy(),z=k?Zy(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>by()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],JG=[];function QG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function nG(y){let k=r().spinnerTipsOverride,z=QG();if(k?.excludeDefault&&z.length>0)return z;let X=[...IG,...JG],W=await Promise.all(X.map((I)=>I.isRelevant(y)));return[...X.filter((I,K)=>W[K]).filter((I)=>$(I.id)>=I.cooldownSessions),...z]}
|
|
4
|
-
export{bG as La,wG as Ma,HG as Na,$ as Oa,nG as Pa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{npa as j}from"./cli-0.6.5-bm7v9qp0.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
-
export{Lt as p1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Me as R,Oe as d}from"./cli-0.6.5-6e6pv00e.mjs";import{$Z as j,c0 as c}from"./cli-0.6.5-n4hnag3x.mjs";import{oha as K,rha as D}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as C,Pha as h}from"./cli-0.6.5-ce51qb6k.mjs";import{ppa as I,qpa as J}from"./cli-0.6.5-bm7v9qp0.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.6.5-cq4yrhn2.mjs"),{getOrganizationUUID:Z}=await import("./client-0.6.5-kcsx56gb.mjs"),{getOauthConfig:V}=await import("./oauth-0.6.5-d8r75abq.mjs"),{getOAuthHeaders:P}=await import("./api-0.6.5-vfnxfssn.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.6.5-ymk4cd49.mjs"),{getDefaultBranch:_}=await import("./git-0.6.5-kd4a5hgs.mjs"),{getMainLoopModel:M}=await import("./model-0.6.5-rpyjsh6m.mjs"),{default:T}=await import("./index-0.6.5-m5ejvtqa.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.6.5-ymk4cd49.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.6.5-cq4yrhn2.mjs"),{getOrganizationUUID:$}=await import("./client-0.6.5-kcsx56gb.mjs"),{getOauthConfig:Y}=await import("./oauth-0.6.5-d8r75abq.mjs"),{getOAuthHeaders:z}=await import("./api-0.6.5-vfnxfssn.mjs"),{default:G}=await import("./index-0.6.5-m5ejvtqa.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.6.5-cq4yrhn2.mjs"),{getOrganizationUUID:$}=await import("./client-0.6.5-kcsx56gb.mjs"),{getOauthConfig:Y}=await import("./oauth-0.6.5-d8r75abq.mjs"),{getOAuthHeaders:z}=await import("./api-0.6.5-vfnxfssn.mjs"),{default:G}=await import("./index-0.6.5-m5ejvtqa.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.6.5-cq4yrhn2.mjs"),{getOrganizationUUID:Y}=await import("./client-0.6.5-kcsx56gb.mjs"),{getOauthConfig:z}=await import("./oauth-0.6.5-d8r75abq.mjs"),{getOAuthHeaders:G}=await import("./api-0.6.5-vfnxfssn.mjs"),{default:L}=await import("./index-0.6.5-m5ejvtqa.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
|
|
2
|
-
export{i as De,r as Ee,t as Fe,o as Ge,p as He};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eO as x,hO as B}from"./cli-0.6.5-5t6d3asz.mjs";import{ppa as z}from"./cli-0.6.5-bm7v9qp0.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
|
|
2
|
-
export{G as Wf,H as Xf,A as Yf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{O7 as B,Q7 as p}from"./cli-0.6.5-ef6b5qvc.mjs";import{lga as C,oga as y}from"./cli-0.6.5-6qvtcs5y.mjs";import{Uga as T,Yga as x,oha as V,rha as M}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as L,Pha as c}from"./cli-0.6.5-ce51qb6k.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
-
export{E as ob,I as pb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{npa as I,ppa as YJ}from"./cli-0.6.5-bm7v9qp0.mjs";var N=I((FJ,Iq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Iq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=I((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=I((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var O1=L.re=[],I1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),W=w1++;F1(q,W,$),z[q]=W,j[W]=$,H1[W]=Q,O1[W]=new RegExp($,J?"g":void 0),I1[W]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=I((IJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=I((HJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var D=I((wJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),X1=b(),{compareIdentifiers:e}=o(),P1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=X1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let W=+Q;if(W>=0&&W<f)return W}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let W=this.prerelease.length;while(--W>=0)if(typeof this.prerelease[W]==="number")this.prerelease[W]++,W=-2;if(W===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let W=[$,Q];if(J===!1)W=[$];if(P1(this.prerelease,$)){let Z=this.prerelease[$.split(".").length];if(isNaN(Z))this.prerelease=W}else this.prerelease=W}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=I((yJ,Pq)=>{var Xq=D(),_1=(q,$,J=!1)=>{if(q instanceof Xq)return q;try{return new Xq(q,$)}catch(Q){if(!J)return null;throw Q}};Pq.exports=_1});var Aq=I((BJ,_q)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};_q.exports=L1});var Eq=I((xJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=I((DJ,Cq)=>{var Nq=D(),C1=(q,$,J,Q,W)=>{if(typeof J==="string")W=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,W).version}catch(Z){return null}};Cq.exports=C1});var uq=I((GJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),W=J.compare(Q);if(W===0)return null;let Z=W>0,K=Z?J:Q,Y=Z?Q:J,U=!!K.prerelease.length;if(!!Y.prerelease.length&&!U){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let F=U?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=S1});var Mq=I((VJ,Tq)=>{var R1=D(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=I((XJ,bq)=>{var u1=D(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=I((PJ,fq)=>{var M1=D(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=I((_J,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var P=I((AJ,cq)=>{var gq=D(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=I((LJ,mq)=>{var d1=P(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=I((EJ,sq)=>{var g1=P(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=I((NJ,iq)=>{var nq=D(),m1=(q,$,J)=>{let Q=new nq(q,J),W=new nq($,J);return Q.compare(W)||Q.compareBuild(W)};iq.exports=m1});var rq=I((CJ,tq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));tq.exports=s1});var eq=I((SJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=I((RJ,q0)=>{var i1=P(),t1=(q,$,J)=>i1(q,$,J)>0;q0.exports=t1});var g=I((kJ,$0)=>{var r1=P(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=I((uJ,J0)=>{var e1=P(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=I((TJ,Q0)=>{var $$=P(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=I((MJ,W0)=>{var Q$=P(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=I((bJ,Z0)=>{var Z$=P(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=I((hJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),O$=m(),I$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return O$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=I$});var z0=I((fJ,j0)=>{var H$=D(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let U=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],H;while((H=U.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;U.lastIndex=H.index+H[1].length+H[2].length}U.lastIndex=-1}if(J===null)return null;let Q=J[2],W=J[3]||"0",Z=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${W}.${Z}${K}${Y}`,$)};j0.exports=y$});var U0=I((vJ,Y0)=>{var B$=E(),x$=N(),D$=D(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&X$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},X$=(q,$)=>{if(P$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},P$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var I0=I((dJ,O0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}O0.exports=F0});var _=I((lJ,B0)=>{var _$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(_$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let W=this.options.loose,Z=W?V[G.HYPHENRANGELOOSE]:V[G.HYPHENRANGE];q=q.replace(Z,p$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(V[G.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(V[G.TILDETRIM],S$),B("tilde trim",q),q=q.replace(V[G.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((F)=>b$(F,this.options)).join(" ").split(/\s+/).map((F)=>m$(F,this.options));if(W)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(V[G.COMPARATORLOOSE])});B("range list",K);let Y=new Map,U=K.map((F)=>new Qq(F,this.options));for(let F of U){if(w0(F))return[F];Y.set(F.value,F)}if(Y.size>1&&Y.has(""))Y.delete("");let H=[...Y.values()];return H0.set(J,H),H}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((W)=>{return Q.every((Z)=>{return W.intersects(Z,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(s$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=I0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=D(),{safeRe:V,src:N$,t:G,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[G.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),W=Q.pop();while(J&&Q.length)J=Q.every((Z)=>{return W.intersects(Z,$)}),W=Q.pop();return J},b$=(q,$)=>{return q=q.replace(V[G.BUILD],""),B("comp",q,$),q=v$(q,$),B("caret",q),q=h$(q,$),B("tildes",q),q=l$(q,$),B("xrange",q),q=c$(q,$),B("stars",q),q},X=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>f$(J,$)).join(" ")},f$=(q,$)=>{let J=$.loose?V[G.TILDELOOSE]:V[G.TILDE];return q.replace(J,(Q,W,Z,K,Y)=>{B("tilde",q,Q,W,Z,K,Y);let U;if(X(W))U="";else if(X(Z))U=`>=${W}.0.0 <${+W+1}.0.0-0`;else if(X(K))U=`>=${W}.${Z}.0 <${W}.${+Z+1}.0-0`;else if(Y)B("replaceTilde pr",Y),U=`>=${W}.${Z}.${K}-${Y} <${W}.${+Z+1}.0-0`;else U=`>=${W}.${Z}.${K} <${W}.${+Z+1}.0-0`;return B("tilde return",U),U})},v$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>d$(J,$)).join(" ")},d$=(q,$)=>{B("caret",q,$);let J=$.loose?V[G.CARETLOOSE]:V[G.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(W,Z,K,Y,U)=>{B("caret",q,W,Z,K,Y,U);let H;if(X(Z))H="";else if(X(K))H=`>=${Z}.0.0${Q} <${+Z+1}.0.0-0`;else if(X(Y))if(Z==="0")H=`>=${Z}.${K}.0${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.0${Q} <${+Z+1}.0.0-0`;else if(U)if(B("replaceCaret pr",U),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}-${U} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}-${U} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y}-${U} <${+Z+1}.0.0-0`;else if(B("no pr"),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}${Q} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y} <${+Z+1}.0.0-0`;return B("caret return",H),H})},l$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>g$(J,$)).join(" ")},g$=(q,$)=>{q=q.trim();let J=$.loose?V[G.XRANGELOOSE]:V[G.XRANGE];return q.replace(J,(Q,W,Z,K,Y,U)=>{B("xRange",q,Q,W,Z,K,Y,U);let H=X(Z),F=H||X(K),y=F||X(Y),x=y;if(W==="="&&x)W="";if(U=$.includePrerelease?"-0":"",H)if(W===">"||W==="<")Q="<0.0.0-0";else Q="*";else if(W&&x){if(F)K=0;if(Y=0,W===">")if(W=">=",F)Z=+Z+1,K=0,Y=0;else K=+K+1,Y=0;else if(W==="<=")if(W="<",F)Z=+Z+1;else K=+K+1;if(W==="<")U="-0";Q=`${W+Z}.${K}.${Y}${U}`}else if(F)Q=`>=${Z}.0.0${U} <${+Z+1}.0.0-0`;else if(y)Q=`>=${Z}.${K}.0${U} <${Z}.${+K+1}.0-0`;return B("xRange return",Q),Q})},c$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(V[G.STAR],"")},m$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(V[$.includePrerelease?G.GTE0PRE:G.GTE0],"")},p$=(q)=>($,J,Q,W,Z,K,Y,U,H,F,y,x)=>{if(X(Q))J="";else if(X(W))J=`>=${Q}.0.0${q?"-0":""}`;else if(X(Z))J=`>=${Q}.${W}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(X(H))U="";else if(X(F))U=`<${+H+1}.0.0-0`;else if(X(y))U=`<${H}.${+F+1}.0-0`;else if(x)U=`<=${H}.${F}.${y}-${x}`;else if(q)U=`<${H}.${F}.${+y+1}-0`;else U=`<=${U}`;return`${J} ${U}`.trim()},s$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let W=q[Q].semver;if(W.major===$.major&&W.minor===$.minor&&W.patch===$.patch)return!0}}return!1}return!0}});var u=I((gJ,P0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new X0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new X0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}P0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=D(),X0=_()});var M=I((cJ,_0)=>{var a$=_(),n$=(q,$,J)=>{try{$=new a$($,J)}catch(Q){return!1}return $.test(q)};_0.exports=n$});var L0=I((mJ,A0)=>{var i$=_(),t$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=t$});var N0=I((pJ,E0)=>{var r$=D(),o$=_(),e$=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new o$($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===-1)Q=K,W=new r$(Q,J)}}),Q};E0.exports=e$});var S0=I((sJ,C0)=>{var q9=D(),$9=_(),J9=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new $9($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===1)Q=K,W=new q9(Q,J)}}),Q};C0.exports=J9});var u0=I((aJ,k0)=>{var Kq=D(),Q9=_(),R0=R(),W9=(q,$)=>{q=new Q9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let W=q.set[Q],Z=null;if(W.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!Z||R0(Y,Z))Z=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),Z&&(!J||R0(J,Z)))J=Z}if(J&&q.test(J))return J;return null};k0.exports=W9});var M0=I((nJ,T0)=>{var Z9=_(),K9=(q,$)=>{try{return new Z9(q,$).range||"*"}catch(J){return null}};T0.exports=K9});var n=I((iJ,v0)=>{var j9=D(),f0=u(),{ANY:z9}=f0,Y9=_(),U9=M(),b0=R(),h0=g(),F9=m(),O9=c(),I9=(q,$,J,Q)=>{q=new j9(q,Q),$=new Y9($,Q);let W,Z,K,Y,U;switch(J){case">":W=b0,Z=F9,K=h0,Y=">",U=">=";break;case"<":W=h0,Z=O9,K=b0,Y="<",U="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(U9(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((O)=>{if(O.semver===z9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,W(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===U)return!1;if((!x.operator||x.operator===Y)&&Z(q,x.semver))return!1;else if(x.operator===U&&K(q,x.semver))return!1}return!0};v0.exports=I9});var l0=I((tJ,d0)=>{var H9=n(),w9=(q,$,J)=>H9(q,$,">",J);d0.exports=w9});var c0=I((rJ,g0)=>{var y9=n(),B9=(q,$,J)=>y9(q,$,"<",J);g0.exports=B9});var s0=I((oJ,p0)=>{var m0=_(),x9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=x9});var n0=I((eJ,a0)=>{var D9=M(),G9=P();a0.exports=(q,$,J)=>{let Q=[],W=null,Z=null,K=q.sort((F,y)=>G9(F,y,J));for(let F of K)if(D9(F,$,J)){if(Z=F,!W)W=F}else{if(Z)Q.push([W,Z]);Z=null,W=null}if(W)Q.push([W,null]);let Y=[];for(let[F,y]of Q)if(F===y)Y.push(F);else if(!y&&F===K[0])Y.push("*");else if(!y)Y.push(`>=${F}`);else if(F===K[0])Y.push(`<=${y}`);else Y.push(`${F} - ${y}`);let U=Y.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return U.length<H.length?U:$}});var q1=I((qQ,e0)=>{var i0=_(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=P(),V9=(q,$,J={})=>{if(q===$)return!0;q=new i0(q,J),$=new i0($,J);let Q=!1;q:for(let W of q.set){for(let Z of $.set){let K=P9(W,Z,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},X9=[new Yq(">=0.0.0-0")],t0=[new Yq(">=0.0.0")],P9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=X9;else q=t0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=t0;let Q=new Set,W,Z;for(let O of q)if(O.operator===">"||O.operator===">=")W=r0(W,O,J);else if(O.operator==="<"||O.operator==="<=")Z=o0(Z,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(W&&Z){if(K=Uq(W.semver,Z.semver,J),K>0)return null;else if(K===0&&(W.operator!==">="||Z.operator!=="<="))return null}for(let O of Q){if(W&&!zq(O,String(W),J))return null;if(Z&&!zq(O,String(Z),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,U,H,F,y=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1,x=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1;if(y&&y.prerelease.length===1&&Z.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(F=F||O.operator===">"||O.operator===">=",H=H||O.operator==="<"||O.operator==="<=",W){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(W,O,J),Y===O&&Y!==W)return!1}else if(W.operator===">="&&!O.test(W.semver))return!1}if(Z){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(U=o0(Z,O,J),U===O&&U!==Z)return!1}else if(Z.operator==="<="&&!O.test(Z.semver))return!1}if(!O.operator&&(Z||W)&&K!==0)return!1}if(W&&H&&!Z&&K!==0)return!1;if(Z&&F&&!W&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=V9});var W1=I(($Q,Q1)=>{var Fq=C(),$1=N(),_9=D(),J1=o(),A9=E(),L9=Aq(),E9=Eq(),N9=Sq(),C9=uq(),S9=Mq(),R9=hq(),k9=vq(),u9=lq(),T9=P(),M9=pq(),b9=aq(),h9=l(),f9=rq(),v9=eq(),d9=R(),l9=g(),g9=qq(),c9=$q(),m9=c(),p9=m(),s9=Jq(),a9=z0(),n9=U0(),i9=u(),t9=_(),r9=M(),o9=L0(),e9=N0(),qJ=S0(),$J=u0(),JJ=M0(),QJ=n(),WJ=l0(),ZJ=c0(),KJ=s0(),jJ=n0(),zJ=q1();Q1.exports={parse:A9,valid:L9,clean:E9,inc:N9,diff:C9,major:S9,minor:R9,patch:k9,prerelease:u9,compare:T9,rcompare:M9,compareLoose:b9,compareBuild:h9,sort:f9,rsort:v9,gt:d9,lt:l9,eq:g9,neq:c9,gte:m9,lte:p9,cmp:s9,coerce:a9,truncate:n9,Comparator:i9,Range:t9,satisfies:r9,toComparators:o9,maxSatisfying:e9,minSatisfying:qJ,minVersion:$J,validRange:JJ,outside:QJ,gtr:WJ,ltr:ZJ,intersects:KJ,simplifyRange:jJ,subset:zJ,SemVer:_9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function i(){if(!Oq)Oq=W1();return Oq}function JQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return i().gt(q,$,{loose:!0})}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return i().gte(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return i().lt(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return i().satisfies(q,$,{loose:!0})}var Oq;var UJ=()=>{};
|
|
2
|
-
export{W1 as F0,JQ as G0,QQ as H0,WQ as I0,ZQ as J0,UJ as K0};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{npa as T,ppa as J5,qpa as M}from"./cli-0.6.5-bm7v9qp0.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
|
|
2
|
-
]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
|
|
3
|
-
Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
|
|
4
|
-
Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
|
|
5
|
-
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
-
Minimum version required to store current data is: `+F+`.
|
|
7
|
-
`);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
|
|
8
|
-
`);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
|
|
9
|
-
`}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
|
|
10
|
-
`;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
|
|
11
|
-
`}if(U+=R+`
|
|
12
|
-
`,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
|
|
13
|
-
`+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
|
|
14
|
-
`;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
|
|
15
|
-
export{T5 as ge,X5 as he};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{M1 as M,N1 as E}from"./cli-0.6.5-5rpfanmw.mjs";import{Fca as l,Ica as L,Jca as c,mca as _,qda as S,tda as p,uca as F}from"./cli-0.6.5-ef6b5qvc.mjs";import{Xha as Y,dia as m}from"./cli-0.6.5-s580r0vs.mjs";import{ppa as B}from"./cli-0.6.5-bm7v9qp0.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
-
export{R as d0,r as e0,o as f0,e as g0,I as h0,O as i0,U as j0,VJ as k0,a as l0,WJ as m0,yJ as n0,zJ as o0,n as p0,jJ as q0,s as r0};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{mg as d,ng as Vq}from"./cli-0.6.5-k8vb0qqx.mjs";import{NP as a,PP as yq,TQ as l,tR as Oq}from"./cli-0.6.5-5t6d3asz.mjs";import{BY as T,DY as R,XY as $,gX as Zq,gZ as Gq}from"./cli-0.6.5-f71ncwzk.mjs";import{F0 as t,H0 as v,K0 as e}from"./cli-0.6.5-wa6b2ksg.mjs";import{m1 as P,n1 as N,o1 as S}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as Yq}from"./cli-0.6.5-vqb4jtcr.mjs";import{M1 as u,N1 as Aq}from"./cli-0.6.5-5rpfanmw.mjs";import{S7 as G,T9 as s,U7 as o,x9 as j}from"./cli-0.6.5-ef6b5qvc.mjs";import{xfa as w,yfa as r}from"./cli-0.6.5-rkjw25m5.mjs";import{oha as L,rha as n}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as c,Pha as Xq}from"./cli-0.6.5-ce51qb6k.mjs";import{Gna as i,Jja as f}from"./cli-0.6.5-ckc9hr8m.mjs";import{lpa as I,ppa as h}from"./cli-0.6.5-bm7v9qp0.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 kg,Bq as lg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ga as S}from"./cli-0.6.5-pynms6t8.mjs";import{Ia as c}from"./cli-0.6.5-k8vgyecf.mjs";import{ld as P,pd as Vq}from"./cli-0.6.5-xxtrec34.mjs";import{td as I,ud as v,vd as $,wd as Wq}from"./cli-0.6.5-47s6s6ew.mjs";import{Ot as L,PI as E,Pt as qq,QI as Qq,Ru as A,Su as _,Tt as h,UD as M,Uu as Gq,VD as Jq,Vt as Bq,fK as f,gt as N,ht as e,iK as Tq,no as C,po as r}from"./cli-0.6.5-5t6d3asz.mjs";import{p1 as s}from"./cli-0.6.5-vqb4jtcr.mjs";import{Fda as F,Nda as a,O7 as D,Q7 as n,s9 as w,u9 as t}from"./cli-0.6.5-ef6b5qvc.mjs";import{lga as x,oga as d}from"./cli-0.6.5-6qvtcs5y.mjs";import{oha as j,rha as o}from"./cli-0.6.5-q4gh8d4w.mjs";import{Hha as y,Pha as l}from"./cli-0.6.5-ce51qb6k.mjs";import{lpa as p}from"./cli-0.6.5-bm7v9qp0.mjs";Jq();d();Bq();Gq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);qq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=_(),O=A((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await L(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);h(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{Lq as Fa};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{tU as W,yU as p}from"./cli-0.6.5-gw6ygdnq.mjs";import{I0 as H,K0 as P}from"./cli-0.6.5-wa6b2ksg.mjs";import{Mea as M,Zea as Z}from"./cli-0.6.5-kac7d6qe.mjs";import{qfa as q,sfa as $,tfa as Q,ufa as k}from"./cli-0.6.5-kqhpzqdw.mjs";import{ppa as Y}from"./cli-0.6.5-bm7v9qp0.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
|
|
3
|
-
export{K as Xb,X as Yb,V as Zb,b as _b,O as $b};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{co as Z,ho as G}from"./cli-0.6.5-5t6d3asz.mjs";import{Fda as X,Nda as R}from"./cli-0.6.5-ef6b5qvc.mjs";import{Tga as v,Uga as B,Yga as A,aha as C,eha as M,oha as U,rha as O}from"./cli-0.6.5-q4gh8d4w.mjs";import{ppa as b}from"./cli-0.6.5-bm7v9qp0.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
|
-
export{o as kd,c as ld,p as md,d as nd,g as od,w as pd};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{vea as L,zea as O}from"./cli-0.6.5-9cs6r2j7.mjs";import{ppa as N}from"./cli-0.6.5-bm7v9qp0.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
|
|
2
|
-
`,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
|
|
3
|
-
export{S as hZ,J as iZ,T as jZ,U as kZ,V as lZ,W as mZ,Q as nZ};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Fd as j,Gd as w,Hd as _,Id as D,Jd as L,Kd as A,Ld as O}from"./cli-0.6.5-yy3mtt7p.mjs";import{Dz as W,Gz as V,Iz as C,NP as h,PP as y,SJ as X,TJ as I,wo as R,zo as b}from"./cli-0.6.5-5t6d3asz.mjs";import{B7 as Q,C7 as N,Fda as U,Nda as S}from"./cli-0.6.5-ef6b5qvc.mjs";import{lga as K,oga as v}from"./cli-0.6.5-6qvtcs5y.mjs";import{tha as x,xha as M}from"./cli-0.6.5-kd1sw5qm.mjs";import{Iha as B,Pha as F}from"./cli-0.6.5-ce51qb6k.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("tengu_plugin_command_failed",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_installed_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("tengu_plugin_uninstalled_cli",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_enabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_disabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("tengu_plugin_disabled_all_cli",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
-
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
-
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_updated_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
-
export{g as a,a as b,i as c,u as d,n as e,r as f};
|