@claudiolabs/claudin 0.5.8 → 0.5.9
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.5.9-560de9d1.mjs +1 -0
- package/dist/chunks/App-0.5.9-zsap2q4b.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +3 -0
- package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +1 -0
- package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +1 -0
- package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +1 -0
- package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +1 -0
- package/dist/chunks/agents-0.5.9-b270304w.mjs +110 -0
- package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +3 -0
- package/dist/chunks/api-0.5.9-jnhtend7.mjs +1 -0
- package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +1 -0
- package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +1 -0
- package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +1 -0
- package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +1 -0
- package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +1 -0
- package/dist/chunks/branch-0.5.9-4389y3jh.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +1 -0
- package/dist/chunks/btw-0.5.9-kq7dda47.mjs +1 -0
- package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +3 -0
- package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +4 -0
- package/dist/chunks/caches-0.5.9-kg4820wg.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +1 -0
- package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +1 -0
- package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +1 -0
- package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +4 -0
- package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +58 -0
- package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +193 -0
- package/dist/chunks/cli-0.5.9-0becvd5f.mjs +2 -0
- package/dist/chunks/cli-0.5.9-0w46b370.mjs +3 -0
- package/dist/chunks/cli-0.5.9-10ar539r.mjs +2 -0
- package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +12 -0
- package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +15 -0
- package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +4 -0
- package/dist/chunks/cli-0.5.9-1y9n9z2h.mjs +2 -0
- package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-248na0hf.mjs +2 -0
- package/dist/chunks/cli-0.5.9-2fcyavah.mjs +17 -0
- package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +12 -0
- package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +2 -0
- package/dist/chunks/cli-0.5.9-371mb3zf.mjs +4 -0
- package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +2 -0
- package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-42t3s85x.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4aga12a5.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4fdad25z.mjs +3 -0
- package/dist/chunks/cli-0.5.9-4m738pn1.mjs +25 -0
- package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-4w9169na.mjs +3 -0
- package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +39 -0
- package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5hzwn715.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +4 -0
- package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +2 -0
- package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-610r4gbg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-637n1msd.mjs +15 -0
- package/dist/chunks/cli-0.5.9-671nz4d9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-68rmtj23.mjs +2 -0
- package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +2 -0
- package/dist/chunks/cli-0.5.9-72tax9cd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-77nxjft3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +18 -0
- package/dist/chunks/cli-0.5.9-7hcka84h.mjs +2 -0
- package/dist/chunks/cli-0.5.9-7qcan18n.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +4 -0
- package/dist/chunks/cli-0.5.9-91gjew0x.mjs +3 -0
- package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +17 -0
- package/dist/chunks/cli-0.5.9-a720c6hc.mjs +9 -0
- package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +2 -0
- package/dist/chunks/cli-0.5.9-an1j3dqv.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +67 -0
- package/dist/chunks/cli-0.5.9-apc46v07.mjs +15 -0
- package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +2 -0
- package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +5 -0
- package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bfn7177j.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-c54d94sv.mjs +2 -0
- package/dist/chunks/cli-0.5.9-c91t0fys.mjs +2 -0
- package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +2 -0
- package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +2 -0
- package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +12 -0
- package/dist/chunks/cli-0.5.9-d66wktpd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-da0mspn4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-dszssq6z.mjs +2 -0
- package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e5ex267m.mjs +2 -0
- package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +2 -0
- package/dist/chunks/cli-0.5.9-eagw660r.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ehe0yr95.mjs +26 -0
- package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +3 -0
- package/dist/chunks/cli-0.5.9-ek649arf.mjs +6 -0
- package/dist/chunks/cli-0.5.9-ezc11axw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-fn6ees65.mjs +2 -0
- package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +2 -0
- package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +133 -0
- package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +5 -0
- package/dist/chunks/cli-0.5.9-gbq794tt.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gcsba93g.mjs +18 -0
- package/dist/chunks/cli-0.5.9-ghbax09k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +2 -0
- package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-grgf8g99.mjs +2 -0
- package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +3 -0
- package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +24 -0
- package/dist/chunks/cli-0.5.9-h836a3wa.mjs +2 -0
- package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +4 -0
- package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j8629kcy.mjs +2 -0
- package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +8 -0
- package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +6 -0
- package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +4 -0
- package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +3 -0
- package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-k47s77hf.mjs +2 -0
- package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +42 -0
- package/dist/chunks/cli-0.5.9-k9yedz53.mjs +5262 -0
- package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +6 -0
- package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +2 -0
- package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mk69z06z.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +2 -0
- package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-n08gkgng.mjs +21 -0
- package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +3 -0
- package/dist/chunks/cli-0.5.9-nct7sarc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +5 -0
- package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +9 -0
- package/dist/chunks/cli-0.5.9-ppr1420k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q69vj08a.mjs +2 -0
- package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +3 -0
- package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +50 -0
- package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +2 -0
- package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +59 -0
- package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +3 -0
- package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-r9d405kc.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rh5280xq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +20 -0
- package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +34 -0
- package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +2 -0
- package/dist/chunks/cli-0.5.9-rv2328c4.mjs +2 -0
- package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +3 -0
- package/dist/chunks/cli-0.5.9-sd34jmva.mjs +2 -0
- package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ss870bda.mjs +2 -0
- package/dist/chunks/cli-0.5.9-syr6nffj.mjs +2 -0
- package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +45 -0
- package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +2 -0
- package/dist/chunks/cli-0.5.9-tke5evvm.mjs +2 -0
- package/dist/chunks/cli-0.5.9-v1srrn02.mjs +2 -0
- package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +16 -0
- package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +2 -0
- package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +133 -0
- package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +2 -0
- package/dist/chunks/cli-0.5.9-whf5zybr.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wjvc994v.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +2 -0
- package/dist/chunks/cli-0.5.9-wrndf987.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xcexsk79.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xge969yd.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xn369es1.mjs +2 -0
- package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +10 -0
- package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +4 -0
- package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +2 -0
- package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ysvsqcpa.mjs +2 -0
- package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +2 -0
- package/dist/chunks/cli-0.5.9-z87j725g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zerpef2t.mjs +1 -0
- package/dist/chunks/cli-0.5.9-zeskcndd.mjs +24 -0
- package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zrcz538q.mjs +2 -0
- package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +7 -0
- package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +1 -0
- package/dist/chunks/color-0.5.9-5722xdf4.mjs +1 -0
- package/dist/chunks/compact-0.5.9-4cf807hc.mjs +3 -0
- package/dist/chunks/config-0.5.9-936tss5g.mjs +1 -0
- package/dist/chunks/config-0.5.9-kk16cygb.mjs +1 -0
- package/dist/chunks/context-0.5.9-b0afgp2c.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +1 -0
- package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +1 -0
- package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +9 -0
- package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +1 -0
- package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +1 -0
- package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +1177 -0
- package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +1 -0
- package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +1 -0
- package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +1 -0
- package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +1 -0
- package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +10 -0
- package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +1 -0
- package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +1 -0
- package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +1 -0
- package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +1 -0
- package/dist/chunks/export-0.5.9-1dpbp185.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +1 -0
- package/dist/chunks/fast-0.5.9-wagaw91z.mjs +1 -0
- package/dist/chunks/feedback-0.5.9-x37szs13.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +1 -0
- package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +1 -0
- package/dist/chunks/grove-0.5.9-grafpqtx.mjs +1 -0
- package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +1 -0
- package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +2 -0
- package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +6 -0
- package/dist/chunks/help-0.5.9-x6ds3za0.mjs +1 -0
- package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +3 -0
- package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +1 -0
- package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +79 -0
- package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +1 -0
- package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +17 -0
- package/dist/chunks/index-0.5.9-3ng34e8n.mjs +2 -0
- package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +9 -0
- package/dist/chunks/index-0.5.9-4fzd2pns.mjs +1 -0
- package/dist/chunks/index-0.5.9-6awv6fyn.mjs +1 -0
- package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +1 -0
- package/dist/chunks/index-0.5.9-725p0eby.mjs +1 -0
- package/dist/chunks/index-0.5.9-85ep6547.mjs +30 -0
- package/dist/chunks/index-0.5.9-8h5ceajb.mjs +1 -0
- package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +5 -0
- package/dist/chunks/index-0.5.9-b3jm65x4.mjs +1 -0
- package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +1 -0
- package/dist/chunks/index-0.5.9-gnac3s48.mjs +1 -0
- package/dist/chunks/index-0.5.9-m68jcsx2.mjs +1 -0
- package/dist/chunks/index-0.5.9-n91crv8a.mjs +1 -0
- package/dist/chunks/index-0.5.9-npkfayxd.mjs +1 -0
- package/dist/chunks/index-0.5.9-pbzzad7t.mjs +9 -0
- package/dist/chunks/index-0.5.9-thp631gs.mjs +1 -0
- package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +1 -0
- package/dist/chunks/index-0.5.9-y07jxja1.mjs +1 -0
- package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +2 -0
- package/dist/chunks/index-0.5.9-zb346057.mjs +1 -0
- package/dist/chunks/init-0.5.9-cmszfh8j.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +1 -0
- package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +1 -0
- package/dist/chunks/insights-0.5.9-fevx72ve.mjs +870 -0
- package/dist/chunks/install-0.5.9-6m05dpsa.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +1 -0
- package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +2 -0
- package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +1 -0
- package/dist/chunks/log-0.5.9-8aszszjb.mjs +1 -0
- package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +1 -0
- package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +17 -0
- package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +4 -0
- package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +1 -0
- package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +1 -0
- package/dist/chunks/memory-0.5.9-se036fe4.mjs +3 -0
- package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +2 -0
- package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +1 -0
- package/dist/chunks/model-0.5.9-k0m86zrn.mjs +2 -0
- package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +12 -0
- package/dist/chunks/oauth-0.5.9-bytwte72.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +14 -0
- package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +1 -0
- package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +1 -0
- package/dist/chunks/passes-0.5.9-w08t80rc.mjs +1 -0
- package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +3 -0
- package/dist/chunks/plan-0.5.9-trs5gepx.mjs +1 -0
- package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +1 -0
- package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +1 -0
- package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +2 -0
- package/dist/chunks/print-0.5.9-fm0q92d1.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +1 -0
- package/dist/chunks/process-0.5.9-syp1y7ym.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +9 -0
- package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +1 -0
- package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +1 -0
- package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +13 -0
- package/dist/chunks/provider-0.5.9-ew50s03j.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +34 -0
- package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +1 -0
- package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +2 -0
- package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +1 -0
- package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +1 -0
- package/dist/chunks/resume-0.5.9-5n9z570h.mjs +2 -0
- package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +1 -0
- package/dist/chunks/session-0.5.9-spjfzb60.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +1 -0
- package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +1 -0
- package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +5 -0
- package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +1 -0
- package/dist/chunks/skills-0.5.9-816ec23f.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +1 -0
- package/dist/chunks/state-0.5.9-ssv90pdf.mjs +1 -0
- package/dist/chunks/stats-0.5.9-09jq1eez.mjs +6 -0
- package/dist/chunks/status-0.5.9-zm23czy4.mjs +1 -0
- package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +1 -0
- package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +1 -0
- package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +1 -0
- package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +1 -0
- package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +1 -0
- package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +1 -0
- package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +4 -0
- package/dist/chunks/update-0.5.9-yv6acwy6.mjs +86 -0
- package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +1 -0
- package/dist/chunks/usage-0.5.9-ze5694v0.mjs +1 -0
- package/dist/chunks/util-0.5.9-8517xr6w.mjs +1 -0
- package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +1 -0
- package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +1 -0
- package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +1 -0
- package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +132 -0
- package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +1 -0
- package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +24 -24
- package/dist/chunks/AgentTool-0.5.8-161prcqd.mjs +0 -1
- package/dist/chunks/App-0.5.8-s4939y9q.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.8-kyzt3tyh.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.8-0fws1s48.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.8-v373fzha.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.8-pbv15kg8.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.8-rmcm4b5v.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.8-q3djee4h.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.8-1gvdqrt3.mjs +0 -3
- package/dist/chunks/Doctor-0.5.8-5k5vqf8q.mjs +0 -1
- package/dist/chunks/Grove-0.5.8-g2xzefay.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.8-j209yx9z.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.8-98nc303h.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.8-p5qzw710.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.8-gp57r21r.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.8-m0r6a4s2.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.8-6tfnxyse.mjs +0 -1
- package/dist/chunks/REPL-0.5.8-sf0q46pa.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.8-0j8mw0eh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.8-13b725ee.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.8-3fxrymde.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.8-1dqx0hnb.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.8-84pek3s7.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.8-rcwm1j6z.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.8-fp493kvp.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.8-j0h8y92c.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.8-y1zsxh1g.mjs +0 -1
- package/dist/chunks/add-dir-0.5.8-sz3kyvkz.mjs +0 -1
- package/dist/chunks/agents-0.5.8-cm3hzc60.mjs +0 -3
- package/dist/chunks/agents-0.5.8-qg1s69va.mjs +0 -110
- package/dist/chunks/api-0.5.8-pcde65dc.mjs +0 -1
- package/dist/chunks/asciicast-0.5.8-tgmb7g4m.mjs +0 -1
- package/dist/chunks/assistant-0.5.8-4mak6nq9.mjs +0 -1
- package/dist/chunks/auth-0.5.8-70ks8nc4.mjs +0 -1
- package/dist/chunks/auth-0.5.8-82vx5hkw.mjs +0 -1
- package/dist/chunks/autoMode-0.5.8-xjwjh2k5.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.8-rf164ggm.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.8-ak5ca2cx.mjs +0 -1
- package/dist/chunks/branch-0.5.8-n82xbsmg.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.8-m7nwe7sd.mjs +0 -1
- package/dist/chunks/btw-0.5.8-0yftty6m.mjs +0 -1
- package/dist/chunks/buddy-0.5.8-4dvkprbs.mjs +0 -3
- package/dist/chunks/cacache-0.5.8-vj95fs26.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.8-944hef3p.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.8-jdya51jg.mjs +0 -4
- package/dist/chunks/caches-0.5.8-xkrjxp25.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.8-fpb40wzd.mjs +0 -1
- package/dist/chunks/claudemd-0.5.8-eyztrzk8.mjs +0 -1
- package/dist/chunks/clear-0.5.8-kgvzdkgq.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.8-xv1faw7c.mjs +0 -1
- package/dist/chunks/cli-0.5.8-01yjahnz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-07dyymev.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0a4sdrgm.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0bys4xae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0cmtavcs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0dkx0fh2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0hybhk72.mjs +0 -2
- package/dist/chunks/cli-0.5.8-0we2hm7d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1bp61y3p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1gm5vdye.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1heha1zs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-1x4w18nq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-20gjzt7v.mjs +0 -2
- package/dist/chunks/cli-0.5.8-221e7v67.mjs +0 -2
- package/dist/chunks/cli-0.5.8-23ep6z70.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2bq72da9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2f1ewq8w.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2g8p9sae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-2nr7eh5e.mjs +0 -2
- package/dist/chunks/cli-0.5.8-396k3ymm.mjs +0 -25
- package/dist/chunks/cli-0.5.8-3a6g7wmx.mjs +0 -58
- package/dist/chunks/cli-0.5.8-3fnpjffd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3ndh3gtc.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3p5h46hv.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3qjtx8w8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3y8x0dx3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-3zg1gkde.mjs +0 -2
- package/dist/chunks/cli-0.5.8-402vctdy.mjs +0 -2
- package/dist/chunks/cli-0.5.8-42eyjvs8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4hvxb5dp.mjs +0 -5286
- package/dist/chunks/cli-0.5.8-4jrb4x7b.mjs +0 -9
- package/dist/chunks/cli-0.5.8-4mn881k7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4n26wzd5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-4rgg1zqd.mjs +0 -6
- package/dist/chunks/cli-0.5.8-4xn4yjaa.mjs +0 -8
- package/dist/chunks/cli-0.5.8-4yyy85fr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-510vqc09.mjs +0 -4
- package/dist/chunks/cli-0.5.8-57qan5v8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5a9k7mja.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5bdfv4z2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5gzkph9c.mjs +0 -2
- package/dist/chunks/cli-0.5.8-5h92528m.mjs +0 -4
- package/dist/chunks/cli-0.5.8-5zqpfyqq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-60e57smp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-665mfjfq.mjs +0 -5
- package/dist/chunks/cli-0.5.8-69frkjjq.mjs +0 -2
- package/dist/chunks/cli-0.5.8-69swpyae.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6epmns99.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6nc6hmng.mjs +0 -3
- package/dist/chunks/cli-0.5.8-6t480jt6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-6tfvmmwd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-78y711gq.mjs +0 -7
- package/dist/chunks/cli-0.5.8-7fm71y20.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7t6q11qp.mjs +0 -3
- package/dist/chunks/cli-0.5.8-7teqphwt.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7w4sv41z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-7wzh55d5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8b40nd32.mjs +0 -3
- package/dist/chunks/cli-0.5.8-8c0hade9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8h4z9e0a.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8jfx4hd4.mjs +0 -24
- package/dist/chunks/cli-0.5.8-8jzc3wsz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-8n05q2cg.mjs +0 -4
- package/dist/chunks/cli-0.5.8-903jgg2t.mjs +0 -2
- package/dist/chunks/cli-0.5.8-959n5v33.mjs +0 -44
- package/dist/chunks/cli-0.5.8-96p83b7z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-99pnpzq7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9ffdsmw1.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9fpm1ms3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-9jzc13yp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-a03sqccb.mjs +0 -2
- package/dist/chunks/cli-0.5.8-at01jfw3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-axp2p1sa.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bfynw1rm.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bhc8vwxd.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bjqx8j31.mjs +0 -67
- package/dist/chunks/cli-0.5.8-bnqvgx16.mjs +0 -18
- package/dist/chunks/cli-0.5.8-brnwv1s4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bv6qegpr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bv8mzvsr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-bwsasv3j.mjs +0 -12
- package/dist/chunks/cli-0.5.8-cc6m9nm7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cctz1t07.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cgt1fvs7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-chb0m9py.mjs +0 -17
- package/dist/chunks/cli-0.5.8-chdp8e1b.mjs +0 -15
- package/dist/chunks/cli-0.5.8-cm551a1y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-cv8hrynt.mjs +0 -2
- package/dist/chunks/cli-0.5.8-d3t3qcax.mjs +0 -2
- package/dist/chunks/cli-0.5.8-dn2c6x2n.mjs +0 -2
- package/dist/chunks/cli-0.5.8-dtn5ax3v.mjs +0 -2
- package/dist/chunks/cli-0.5.8-e5dnz0q6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-e6gpyhnf.mjs +0 -39
- package/dist/chunks/cli-0.5.8-edf7e65a.mjs +0 -2
- package/dist/chunks/cli-0.5.8-eq34z9xf.mjs +0 -133
- package/dist/chunks/cli-0.5.8-erk0zvwn.mjs +0 -3
- package/dist/chunks/cli-0.5.8-et8r95zv.mjs +0 -15
- package/dist/chunks/cli-0.5.8-etf1n11s.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ex39bk3p.mjs +0 -3
- package/dist/chunks/cli-0.5.8-f0cc21nk.mjs +0 -34
- package/dist/chunks/cli-0.5.8-f1znt77k.mjs +0 -2
- package/dist/chunks/cli-0.5.8-f54hhqdn.mjs +0 -4
- package/dist/chunks/cli-0.5.8-fbja9vc0.mjs +0 -2
- package/dist/chunks/cli-0.5.8-fhebd13f.mjs +0 -12
- package/dist/chunks/cli-0.5.8-fmyr9f7x.mjs +0 -18
- package/dist/chunks/cli-0.5.8-fr90cgpy.mjs +0 -4
- package/dist/chunks/cli-0.5.8-gf6svxra.mjs +0 -27
- package/dist/chunks/cli-0.5.8-gm4jqzfs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-gnw67m2e.mjs +0 -3
- package/dist/chunks/cli-0.5.8-gp6x9qmw.mjs +0 -2
- package/dist/chunks/cli-0.5.8-gr2yrqhs.mjs +0 -21
- package/dist/chunks/cli-0.5.8-haddssvq.mjs +0 -17
- package/dist/chunks/cli-0.5.8-he3sfaey.mjs +0 -2
- package/dist/chunks/cli-0.5.8-hkfwdsmy.mjs +0 -2
- package/dist/chunks/cli-0.5.8-hz85a3w7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-j5n54z7y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-j5nn8m2r.mjs +0 -2
- package/dist/chunks/cli-0.5.8-jcm5hsqp.mjs +0 -6
- package/dist/chunks/cli-0.5.8-je6yq94p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-jjmb10ns.mjs +0 -10
- package/dist/chunks/cli-0.5.8-jtqyf6nz.mjs +0 -9
- package/dist/chunks/cli-0.5.8-kbjtm14d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-kdatn7ch.mjs +0 -2
- package/dist/chunks/cli-0.5.8-kmzftyt4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-m3186fr3.mjs +0 -5
- package/dist/chunks/cli-0.5.8-m7f68vhz.mjs +0 -2
- package/dist/chunks/cli-0.5.8-m9yn90fe.mjs +0 -4
- package/dist/chunks/cli-0.5.8-mf9m22v5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-mgzx32hk.mjs +0 -3
- package/dist/chunks/cli-0.5.8-ntjmzc72.mjs +0 -4
- package/dist/chunks/cli-0.5.8-nwe7yne9.mjs +0 -59
- package/dist/chunks/cli-0.5.8-p2n1sz9e.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p596xr80.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p72phgsn.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p84q1yp2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-p9vc4jd4.mjs +0 -2
- package/dist/chunks/cli-0.5.8-pbvqqyq3.mjs +0 -133
- package/dist/chunks/cli-0.5.8-pmsd92jp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ppmhyhcf.mjs +0 -2
- package/dist/chunks/cli-0.5.8-pwcy1yf9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qdnr3r07.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qf19nfhv.mjs +0 -193
- package/dist/chunks/cli-0.5.8-qgd7he6r.mjs +0 -3
- package/dist/chunks/cli-0.5.8-qrbzvxe2.mjs +0 -2
- package/dist/chunks/cli-0.5.8-qvy0n26p.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r3r9r1x8.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r3zjfgs5.mjs +0 -2
- package/dist/chunks/cli-0.5.8-r88abafr.mjs +0 -15
- package/dist/chunks/cli-0.5.8-rddkqxh8.mjs +0 -16
- package/dist/chunks/cli-0.5.8-rjn66mdx.mjs +0 -4
- package/dist/chunks/cli-0.5.8-rtmc93gs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-rvxqss4v.mjs +0 -12
- package/dist/chunks/cli-0.5.8-s3j6qsck.mjs +0 -3
- package/dist/chunks/cli-0.5.8-s7px34xg.mjs +0 -2
- package/dist/chunks/cli-0.5.8-sbqgh2ca.mjs +0 -2
- package/dist/chunks/cli-0.5.8-t3x9v2fr.mjs +0 -2
- package/dist/chunks/cli-0.5.8-tc6ssmvg.mjs +0 -2
- package/dist/chunks/cli-0.5.8-tknpvwjq.mjs +0 -24
- package/dist/chunks/cli-0.5.8-tp8vvk8a.mjs +0 -4
- package/dist/chunks/cli-0.5.8-v274erpp.mjs +0 -2
- package/dist/chunks/cli-0.5.8-v5gbzf09.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vax2sw0y.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vck50j66.mjs +0 -2
- package/dist/chunks/cli-0.5.8-vhpgdwvb.mjs +0 -45
- package/dist/chunks/cli-0.5.8-w36atn94.mjs +0 -2
- package/dist/chunks/cli-0.5.8-w75qbypx.mjs +0 -2
- package/dist/chunks/cli-0.5.8-w7g735pf.mjs +0 -2
- package/dist/chunks/cli-0.5.8-was67jgw.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wcjp9e8f.mjs +0 -50
- package/dist/chunks/cli-0.5.8-wcyjzsha.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wdyh9mqa.mjs +0 -3
- package/dist/chunks/cli-0.5.8-wkcmqhde.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wm9jby2t.mjs +0 -2
- package/dist/chunks/cli-0.5.8-wtz636rz.mjs +0 -20
- package/dist/chunks/cli-0.5.8-x8fzgqvs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-x9q7q10d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xs1gy1tk.mjs +0 -6
- package/dist/chunks/cli-0.5.8-xvf56w0z.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xwpp4ts7.mjs +0 -2
- package/dist/chunks/cli-0.5.8-xwzk13b3.mjs +0 -2
- package/dist/chunks/cli-0.5.8-yfpy2mmj.mjs +0 -2
- package/dist/chunks/cli-0.5.8-ywfvs57d.mjs +0 -2
- package/dist/chunks/cli-0.5.8-z14ncgt9.mjs +0 -2
- package/dist/chunks/cli-0.5.8-z3ev1ken.mjs +0 -3
- package/dist/chunks/cli-0.5.8-z447z8t0.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zervw1k3.mjs +0 -5
- package/dist/chunks/cli-0.5.8-zf5yzqn5.mjs +0 -1
- package/dist/chunks/cli-0.5.8-zhydxkm6.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zkn5gecs.mjs +0 -2
- package/dist/chunks/cli-0.5.8-zy590bkh.mjs +0 -2
- package/dist/chunks/client-0.5.8-9axd4w58.mjs +0 -1
- package/dist/chunks/color-0.5.8-resv1z9m.mjs +0 -1
- package/dist/chunks/compact-0.5.8-4rtxsg5x.mjs +0 -3
- package/dist/chunks/config-0.5.8-1j4xyj57.mjs +0 -1
- package/dist/chunks/config-0.5.8-ettscama.mjs +0 -1
- package/dist/chunks/context-0.5.8-fpg3fcmt.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.8-zaspwvjm.mjs +0 -1
- package/dist/chunks/conversation-0.5.8-hfvm0eqb.mjs +0 -1
- package/dist/chunks/copy-0.5.8-wzb7pjzr.mjs +0 -9
- package/dist/chunks/cost-0.5.8-f2m9t7ye.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.8-615sh7tx.mjs +0 -1
- package/dist/chunks/createSession-0.5.8-v7srm5ea.mjs +0 -1
- package/dist/chunks/debug-0.5.8-c84dbamw.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.8-b94dtwtd.mjs +0 -1177
- package/dist/chunks/desktop-0.5.8-46z10hnt.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.8-rwc4rjfg.mjs +0 -1
- package/dist/chunks/detection-0.5.8-hydnvzf4.mjs +0 -1
- package/dist/chunks/diff-0.5.8-p7d54hn7.mjs +0 -1
- package/dist/chunks/doctor-0.5.8-894mdsxc.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.8-c12xcayk.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.8-fwa1r2va.mjs +0 -1
- package/dist/chunks/effort-0.5.8-7gcwya2k.mjs +0 -10
- package/dist/chunks/envUtils-0.5.8-20c2f8v3.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.8-t6hzsc8z.mjs +0 -1
- package/dist/chunks/environments-0.5.8-fcp8bfe3.mjs +0 -1
- package/dist/chunks/errors-0.5.8-ev3jqbjj.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.8-d38qs6k2.mjs +0 -1
- package/dist/chunks/exit-0.5.8-f5v7cstg.mjs +0 -1
- package/dist/chunks/export-0.5.8-a8fg7991.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.8-r5qs5fjk.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.8-f8mch55k.mjs +0 -1
- package/dist/chunks/fast-0.5.8-5yfvbb7d.mjs +0 -1
- package/dist/chunks/feedback-0.5.8-j9xstj5q.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.8-tmpw0mgj.mjs +0 -1
- package/dist/chunks/git-0.5.8-vvd1b8x0.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.8-de9f7e7s.mjs +0 -1
- package/dist/chunks/grove-0.5.8-rewcpbks.mjs +0 -1
- package/dist/chunks/growthbook-0.5.8-tt3wbrct.mjs +0 -1
- package/dist/chunks/headless-0.5.8-h1tn9ee3.mjs +0 -2
- package/dist/chunks/heapdump-0.5.8-e0vshas9.mjs +0 -6
- package/dist/chunks/help-0.5.8-mhhgyvqz.mjs +0 -1
- package/dist/chunks/hookChains-0.5.8-ewzfdp91.mjs +0 -3
- package/dist/chunks/hooks-0.5.8-mgp708m9.mjs +0 -1
- package/dist/chunks/hooks-0.5.8-p1mz2zy1.mjs +0 -79
- package/dist/chunks/ide-0.5.8-pzfhr27w.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.8-1skckgt6.mjs +0 -1
- package/dist/chunks/index-0.5.8-0dkn7rr7.mjs +0 -9
- package/dist/chunks/index-0.5.8-26yrjbk0.mjs +0 -1
- package/dist/chunks/index-0.5.8-5cr4y9wx.mjs +0 -1
- package/dist/chunks/index-0.5.8-5mgzpm7c.mjs +0 -1
- package/dist/chunks/index-0.5.8-b4p3af9y.mjs +0 -1
- package/dist/chunks/index-0.5.8-b7tvbbzv.mjs +0 -2
- package/dist/chunks/index-0.5.8-bk6ejev9.mjs +0 -1
- package/dist/chunks/index-0.5.8-cmyhdm8s.mjs +0 -9
- package/dist/chunks/index-0.5.8-egkksjaj.mjs +0 -1
- package/dist/chunks/index-0.5.8-hr8aqgvc.mjs +0 -1
- package/dist/chunks/index-0.5.8-jf20nzsg.mjs +0 -1
- package/dist/chunks/index-0.5.8-m6exk6z6.mjs +0 -30
- package/dist/chunks/index-0.5.8-mpm6xxk3.mjs +0 -5
- package/dist/chunks/index-0.5.8-nt058ay0.mjs +0 -1
- package/dist/chunks/index-0.5.8-qdwcg9cv.mjs +0 -10
- package/dist/chunks/index-0.5.8-rdk757cq.mjs +0 -1
- package/dist/chunks/index-0.5.8-red1reev.mjs +0 -1
- package/dist/chunks/index-0.5.8-rehfpmcw.mjs +0 -1
- package/dist/chunks/index-0.5.8-s3k17n65.mjs +0 -1
- package/dist/chunks/index-0.5.8-xpaaycp7.mjs +0 -1
- package/dist/chunks/index-0.5.8-ydqh8xbm.mjs +0 -2
- package/dist/chunks/index-0.5.8-yp0fpaqf.mjs +0 -1
- package/dist/chunks/init-0.5.8-kmfn7vay.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.8-f9ezc1jk.mjs +0 -1
- package/dist/chunks/ink-0.5.8-y01565nf.mjs +0 -1
- package/dist/chunks/insights-0.5.8-mwq5z31x.mjs +0 -870
- package/dist/chunks/install-0.5.8-se0j5qte.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.8-zqhhg1fw.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.8-9qpwy0z9.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.8-gbnaaqp3.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.8-wrn95m3j.mjs +0 -1
- package/dist/chunks/keybindings-0.5.8-j070t67n.mjs +0 -2
- package/dist/chunks/knowledge-0.5.8-fhr55cqh.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.8-rmkxtaea.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.8-f3j27p5s.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.8-7401ty3k.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.8-yhhkejwz.mjs +0 -1
- package/dist/chunks/log-0.5.8-78h0x7qg.mjs +0 -1
- package/dist/chunks/main-0.5.8-4ddjgz4x.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.8-rxnh3nhr.mjs +0 -1
- package/dist/chunks/mcp-0.5.8-9ts7qrcv.mjs +0 -4
- package/dist/chunks/mcp-0.5.8-hhnpsgvh.mjs +0 -17
- package/dist/chunks/mcp-0.5.8-md6hzter.mjs +0 -1
- package/dist/chunks/mcpb-0.5.8-ebcb4nn4.mjs +0 -1
- package/dist/chunks/memory-0.5.8-ph5hb81n.mjs +0 -3
- package/dist/chunks/mobile-0.5.8-f04nmet1.mjs +0 -2
- package/dist/chunks/model-0.5.8-aqzt03nd.mjs +0 -1
- package/dist/chunks/model-0.5.8-nmcrv393.mjs +0 -2
- package/dist/chunks/oauth-0.5.8-n75mrvf3.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.8-95kwrgpv.mjs +0 -14
- package/dist/chunks/output-style-0.5.8-zy932aj1.mjs +0 -1
- package/dist/chunks/package-APBHZ5F3-0.5.8-c4xw21z8.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.8-0dgzrde4.mjs +0 -1
- package/dist/chunks/parser-0.5.8-g6wgq5z2.mjs +0 -1
- package/dist/chunks/passes-0.5.8-jkdncmr5.mjs +0 -1
- package/dist/chunks/permissions-0.5.8-tesg1fmt.mjs +0 -3
- package/dist/chunks/plan-0.5.8-4h4wazbm.mjs +0 -1
- package/dist/chunks/plist-0.5.8-ygsvkws5.mjs +0 -1
- package/dist/chunks/plugin-0.5.8-meszp93t.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.8-8c49aq53.mjs +0 -1
- package/dist/chunks/plugins-0.5.8-zh9wq5by.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.8-r8zrjby2.mjs +0 -2
- package/dist/chunks/print-0.5.8-dbcfsrdg.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.8-zj36f0ve.mjs +0 -1
- package/dist/chunks/process-0.5.8-1yf78q4y.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.8-pdnzd9ry.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.8-kmv9fs8d.mjs +0 -9
- package/dist/chunks/prompt-0.5.8-aa1v4zh0.mjs +0 -1
- package/dist/chunks/prompt-0.5.8-wabf0exz.mjs +0 -1
- package/dist/chunks/prompts-0.5.8-n865vxaw.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.8-6k7ma4yf.mjs +0 -13
- package/dist/chunks/provider-0.5.8-qsr51mc2.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.8-he8tbnf5.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.8-6cjh43zv.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.8-pvbwwt4v.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.8-8jq52atf.mjs +0 -34
- package/dist/chunks/registry-0.5.8-ynn6qxq6.mjs +0 -1
- package/dist/chunks/release-notes-0.5.8-yydjz710.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.8-64ybz2n4.mjs +0 -2
- package/dist/chunks/remote-env-0.5.8-1f4tf3ch.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.8-qnrtc8aw.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.8-kxsfx9gd.mjs +0 -1
- package/dist/chunks/rename-0.5.8-j4c6dg9n.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.8-w33fvpqt.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.8-7jzc54fq.mjs +0 -1
- package/dist/chunks/resume-0.5.8-373epwyd.mjs +0 -2
- package/dist/chunks/rewind-0.5.8-b9qe0mwn.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.8-h1ddt4ry.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.8-ma6nv5dg.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.8-1cc5m303.mjs +0 -1
- package/dist/chunks/session-0.5.8-rxft524k.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.8-r4eg8g3r.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.8-jm3bmvt7.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.8-kfghwskw.mjs +0 -1
- package/dist/chunks/settings-0.5.8-qxr7dgzb.mjs +0 -1
- package/dist/chunks/setup-0.5.8-769vnffz.mjs +0 -5
- package/dist/chunks/sinks-0.5.8-jcq0kgny.mjs +0 -1
- package/dist/chunks/skills-0.5.8-5qxr2p94.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.8-cpbf91zs.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.8-bctkpcea.mjs +0 -1
- package/dist/chunks/state-0.5.8-cppqmrbf.mjs +0 -1
- package/dist/chunks/stats-0.5.8-zcfm59db.mjs +0 -6
- package/dist/chunks/status-0.5.8-5v4y485z.mjs +0 -1
- package/dist/chunks/stickers-0.5.8-9gr6e2xg.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.8-wf4cta06.mjs +0 -1
- package/dist/chunks/tasks-0.5.8-30z30sqv.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.8-vcng2y7m.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.8-48p5p451.mjs +0 -1
- package/dist/chunks/teleport-0.5.8-650m4rks.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.8-ew1ax86g.mjs +0 -1
- package/dist/chunks/theme-0.5.8-7a06760x.mjs +0 -1
- package/dist/chunks/thinkback-0.5.8-xrvqhj8w.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.8-vkpn13f3.mjs +0 -1
- package/dist/chunks/toolPool-0.5.8-ntbr808f.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.8-ybxz2f7f.mjs +0 -1
- package/dist/chunks/tools-0.5.8-egnmkxt7.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.8-422swdjw.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.8-tkat2x5p.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.8-e7b2408n.mjs +0 -4
- package/dist/chunks/update-0.5.8-a285y5j4.mjs +0 -86
- package/dist/chunks/upgrade-0.5.8-8nxejvyv.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.8-6a2g1s50.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.8-83a2qhsf.mjs +0 -1
- package/dist/chunks/usage-0.5.8-9dha8gsc.mjs +0 -1
- package/dist/chunks/util-0.5.8-c7zdhrd1.mjs +0 -1
- package/dist/chunks/utils-0.5.8-e8pfjkrb.mjs +0 -1
- package/dist/chunks/vim-0.5.8-pgsav8je.mjs +0 -1
- package/dist/chunks/watcher-0.5.8-w3q8518m.mjs +0 -1
- package/dist/chunks/wiki-0.5.8-1sa2h258.mjs +0 -132
- package/dist/chunks/worktree-0.5.8-59wmpecg.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.8-pexygrty.mjs +0 -1
- package/dist/chunks/wrapper-0.5.8-kmv5mk0m.mjs +0 -7
- /package/dist/chunks/{cli-0.5.8-j77twbsq.mjs → cli-0.5.9-4yxntpxv.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.8-kegk7gdp.mjs → cli-0.5.9-x9tg4bxs.mjs} +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{Bma as _2,Cma as u5,Dma as q$,Ema as r4,Fma as O$}from"./cli-0.5.8-bwsasv3j.mjs";import{Ana as t0,vna as b4,xna as n0,yna as k2,zna as C}from"./cli-0.5.8-hkfwdsmy.mjs";function y0($,G){return function(){return $.apply(G,arguments)}}var E4=()=>{};function m0($){return $!==null&&!q0($)&&$.constructor!==null&&!q0($.constructor)&&i($.constructor.isBuffer)&&$.constructor.isBuffer($)}function T6($){let G;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)G=ArrayBuffer.isView($);else G=$&&$.buffer&&R1($.buffer);return G}function y6(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function h0($,G,{allOwnKeys:Y=!1}={}){if($===null||typeof $>"u")return;let W,Q;if(typeof $!=="object")$=[$];if(O0($))for(W=0,Q=$.length;W<Q;W++)G.call(null,$[W],W,$);else{if(m0($))return;let Z=Y?Object.getOwnPropertyNames($):Object.keys($),X=Z.length,K;for(W=0;W<X;W++)K=Z[W],G.call(null,$[K],K,$)}}function T1($,G){if(m0($))return null;G=G.toLowerCase();let Y=Object.keys($),W=Y.length,Q;while(W-- >0)if(Q=Y[W],G===Q.toLowerCase())return Q;return null}function A4(...$){let{caseless:G,skipUndefined:Y}=q1(this)&&this||{},W={},Q=(Z,X)=>{if(X==="__proto__"||X==="constructor"||X==="prototype")return;let K=G&&T1(W,X)||X,M=j4(W,K)?W[K]:void 0;if(J4(M)&&J4(Z))W[K]=A4(M,Z);else if(J4(Z))W[K]=A4({},Z);else if(O0(Z))W[K]=Z.slice();else if(!Y||!q0(Z))W[K]=Z};for(let Z=0,X=$.length;Z<X;Z++)$[Z]&&h0($[Z],Q);return W}function X2($){return!!($&&i($.append)&&$[C1]==="FormData"&&$[N4])}var _6,K4,N4,C1,M4,$0=($)=>{return $=$.toLowerCase(),(G)=>M4(G)===$},z4=($)=>(G)=>typeof G===$,O0,q0,R1,q6,i,_1,f0=($)=>$!==null&&typeof $==="object",O6=($)=>$===!0||$===!1,J4=($)=>{if(M4($)!=="object")return!1;let G=K4($);return(G===null||G===Object.prototype||Object.getPrototypeOf(G)===null)&&!(C1 in $)&&!(N4 in $)},H6=($)=>{if(!f0($)||m0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(G){return!1}},E6,A6,j6=($)=>{return!!($&&typeof $.uri<"u")},k6=($)=>$&&typeof $.getParts<"u",x6,b6,v6=($)=>f0($)&&i($.pipe),P1,D1,m6=($)=>{if(!$)return!1;if(D1&&$ instanceof D1)return!0;let G=K4($);if(!G||G===Object.prototype)return!1;if(!i($.append))return!1;let Y=M4($);return Y==="formdata"||Y==="object"&&i($.toString)&&$.toString()==="[object FormData]"},f6,h6,g6,u6,d6,p6=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},U0,q1=($)=>!q0($)&&$!==U0,c6=($,G,Y,{allOwnKeys:W}={})=>{return h0(G,(Q,Z)=>{if(Y&&i(Q))Object.defineProperty($,Z,{__proto__:null,value:y0(Q,Y),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{__proto__:null,value:Q,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:W}),$},l6=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},i6=($,G,Y,W)=>{$.prototype=Object.create(G.prototype,W),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:G.prototype}),Y&&Object.assign($.prototype,Y)},n6=($,G,Y,W)=>{let Q,Z,X,K={};if(G=G||{},$==null)return G;do{Q=Object.getOwnPropertyNames($),Z=Q.length;while(Z-- >0)if(X=Q[Z],(!W||W(X,$,G))&&!K[X])G[X]=$[X],K[X]=!0;$=Y!==!1&&K4($)}while($&&(!Y||Y($,G))&&$!==Object.prototype);return G},a6=($,G,Y)=>{if($=String($),Y===void 0||Y>$.length)Y=$.length;Y-=G.length;let W=$.indexOf(G,Y);return W!==-1&&W===Y},t6=($)=>{if(!$)return null;if(O0($))return $;let G=$.length;if(!_1(G))return null;let Y=Array(G);while(G-- >0)Y[G]=$[G];return Y},s6,r6=($,G)=>{let W=($&&$[N4]).call($),Q;while((Q=W.next())&&!Q.done){let Z=Q.value;G.call($,Z[0],Z[1])}},o6=($,G)=>{let Y,W=[];while((Y=$.exec(G))!==null)W.push(Y);return W},e6,$2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Y,W,Q){return W.toUpperCase()+Q})},j4,G2,O1=($,G)=>{let Y=Object.getOwnPropertyDescriptors($),W={};h0(Y,(Q,Z)=>{let X;if((X=G(Q,Z,$))!==!1)W[Z]=X||Q}),Object.defineProperties($,W)},Y2=($)=>{O1($,(G,Y)=>{if(i($)&&["arguments","caller","callee"].includes(Y))return!1;let W=$[Y];if(!i(W))return;if(G.enumerable=!1,"writable"in G){G.writable=!1;return}if(!G.set)G.set=()=>{throw Error("Can not rewrite read-only method '"+Y+"'")}})},W2=($,G)=>{let Y={},W=(Q)=>{Q.forEach((Z)=>{Y[Z]=!0})};return O0($)?W($):W(String($).split(G)),Y},Q2=()=>{},Z2=($,G)=>{return $!=null&&Number.isFinite($=+$)?$:G},J2=($)=>{let G=new WeakSet,Y=(W)=>{if(f0(W)){if(G.has(W))return;if(m0(W))return W;if(!("toJSON"in W)){G.add(W);let Q=O0(W)?[]:{};return h0(W,(Z,X)=>{let K=Y(Z);!q0(K)&&(Q[X]=K)}),G.delete(W),Q}}return W};return Y($)},K2,N2=($)=>$&&(f0($)||i($))&&i($.then)&&i($.catch),H1,M2,z2=($)=>$!=null&&i($[N4]),J;var E=C(()=>{E4();({toString:_6}=Object.prototype),{getPrototypeOf:K4}=Object,{iterator:N4,toStringTag:C1}=Symbol,M4=(($)=>(G)=>{let Y=_6.call(G);return $[Y]||($[Y]=Y.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:O0}=Array,q0=z4("undefined");R1=$0("ArrayBuffer");q6=z4("string"),i=z4("function"),_1=z4("number"),E6=$0("Date"),A6=$0("File"),x6=$0("Blob"),b6=$0("FileList");P1=y6(),D1=typeof P1.FormData<"u"?P1.FormData:void 0,f6=$0("URLSearchParams"),[h6,g6,u6,d6]=["ReadableStream","Request","Response","Headers"].map($0);U0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();s6=(($)=>{return(G)=>{return $&&G instanceof $}})(typeof Uint8Array<"u"&&K4(Uint8Array)),e6=$0("HTMLFormElement"),j4=(({hasOwnProperty:$})=>(G,Y)=>$.call(G,Y))(Object.prototype),G2=$0("RegExp");K2=$0("AsyncFunction"),H1=(($,G)=>{if($)return setImmediate;return G?((Y,W)=>{return U0.addEventListener("message",({source:Q,data:Z})=>{if(Q===U0&&Z===Y)W.length&&W.shift()()},!1),(Q)=>{W.push(Q),U0.postMessage(Y,"*")}})(`axios@${Math.random()}`,[]):(Y)=>setTimeout(Y)})(typeof setImmediate==="function",i(U0.postMessage)),M2=typeof queueMicrotask<"u"?queueMicrotask.bind(U0):typeof process<"u"&&process.nextTick||H1,J={isArray:O0,isArrayBuffer:R1,isBuffer:m0,isFormData:m6,isArrayBufferView:T6,isString:q6,isNumber:_1,isBoolean:O6,isObject:f0,isPlainObject:J4,isEmptyObject:H6,isReadableStream:h6,isRequest:g6,isResponse:u6,isHeaders:d6,isUndefined:q0,isDate:E6,isFile:A6,isReactNativeBlob:j6,isReactNative:k6,isBlob:x6,isRegExp:G2,isFunction:i,isStream:v6,isURLSearchParams:f6,isTypedArray:s6,isFileList:b6,forEach:h0,merge:A4,extend:c6,trim:p6,stripBOM:l6,inherits:i6,toFlatObject:n6,kindOf:M4,kindOfTest:$0,endsWith:a6,toArray:t6,forEachEntry:r6,matchAll:o6,isHTMLForm:e6,hasOwnProperty:j4,hasOwnProp:j4,reduceDescriptors:O1,freezeMethods:Y2,toObjectSet:W2,toCamelCase:$2,noop:Q2,toFiniteNumber:Z2,findKey:T1,global:U0,isContextDefined:q1,isSpecCompliantForm:X2,toJSONObject:J2,isAsyncFn:K2,isThenable:N2,setImmediate:H1,asap:M2,isIterable:z2}});var B2,E1=($)=>{let G={},Y,W,Q;return $&&$.split(`
|
|
2
|
-
`).forEach(function(X){if(Q=X.indexOf(":"),Y=X.substring(0,Q).trim().toLowerCase(),W=X.substring(Q+1).trim(),!Y||G[Y]&&B2[Y])return;if(Y==="set-cookie")if(G[Y])G[Y].push(W);else G[Y]=[W];else G[Y]=G[Y]?G[Y]+", "+W:W}),G};var A1=C(()=>{E();B2=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function I2($){let G=0,Y=$.length;while(G<Y){let W=$.charCodeAt(G);if(W!==9&&W!==32)break;G+=1}while(Y>G){let W=$.charCodeAt(Y-1);if(W!==9&&W!==32)break;Y-=1}return G===0&&Y===$.length?$:$.slice(G,Y)}function k4($,G){if(J.isArray($))return $.map((Y)=>k4(Y,G));return I2(String($).replace(G,""))}function H0($){let G=Object.create(null);return J.forEach($.toJSON(),(Y,W)=>{G[W]=F2(Y)}),G}var V2,L2,j1=($)=>k4($,V2),F2=($)=>k4($,L2);var g0=C(()=>{E();V2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),L2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function u0($){return $&&String($).trim().toLowerCase()}function B4($){if($===!1||$==null)return $;return J.isArray($)?$.map(B4):j1(String($))}function U2($){let G=Object.create(null),Y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,W;while(W=Y.exec($))G[W[1]]=W[2];return G}function x4($,G,Y,W,Q){if(J.isFunction(W))return W.call(this,G,Y);if(Q)G=Y;if(!J.isString(G))return;if(J.isString(W))return G.indexOf(W)!==-1;if(J.isRegExp(W))return W.test(G)}function S2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(G,Y,W)=>{return Y.toUpperCase()+W})}function P2($,G){let Y=J.toCamelCase(" "+G);["get","set","has"].forEach((W)=>{Object.defineProperty($,W+Y,{__proto__:null,value:function(Q,Z,X){return this[W].call(this,G,Q,Z,X)},configurable:!0})})}var k1,w2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),d0,j;var G0=C(()=>{E();A1();g0();k1=Symbol("internals");d0=class d0{constructor($){$&&this.set($)}set($,G,Y){let W=this;function Q(X,K,M){let z=u0(K);if(!z)throw Error("header name must be a non-empty string");let N=J.findKey(W,z);if(!N||W[N]===void 0||M===!0||M===void 0&&W[N]!==!1)W[N||K]=B4(X)}let Z=(X,K)=>J.forEach(X,(M,z)=>Q(M,z,K));if(J.isPlainObject($)||$ instanceof this.constructor)Z($,G);else if(J.isString($)&&($=$.trim())&&!w2($))Z(E1($),G);else if(J.isObject($)&&J.isIterable($)){let X={},K,M;for(let z of $){if(!J.isArray(z))throw TypeError("Object iterator must return a key-value pair");X[M=z[0]]=(K=X[M])?J.isArray(K)?[...K,z[1]]:[K,z[1]]:z[1]}Z(X,G)}else $!=null&&Q(G,$,Y);return this}get($,G){if($=u0($),$){let Y=J.findKey(this,$);if(Y){let W=this[Y];if(!G)return W;if(G===!0)return U2(W);if(J.isFunction(G))return G.call(this,W,Y);if(J.isRegExp(G))return G.exec(W);throw TypeError("parser must be boolean|regexp|function")}}}has($,G){if($=u0($),$){let Y=J.findKey(this,$);return!!(Y&&this[Y]!==void 0&&(!G||x4(this,this[Y],Y,G)))}return!1}delete($,G){let Y=this,W=!1;function Q(Z){if(Z=u0(Z),Z){let X=J.findKey(Y,Z);if(X&&(!G||x4(Y,Y[X],X,G)))delete Y[X],W=!0}}if(J.isArray($))$.forEach(Q);else Q($);return W}clear($){let G=Object.keys(this),Y=G.length,W=!1;while(Y--){let Q=G[Y];if(!$||x4(this,this[Q],Q,$,!0))delete this[Q],W=!0}return W}normalize($){let G=this,Y={};return J.forEach(this,(W,Q)=>{let Z=J.findKey(Y,Q);if(Z){G[Z]=B4(W),delete G[Q];return}let X=$?S2(Q):String(Q).trim();if(X!==Q)delete G[Q];G[X]=B4(W),Y[X]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let G=Object.create(null);return J.forEach(this,(Y,W)=>{Y!=null&&Y!==!1&&(G[W]=$&&J.isArray(Y)?Y.join(", "):Y)}),G}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,G])=>$+": "+G).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...G){let Y=new this($);return G.forEach((W)=>Y.set(W)),Y}static accessor($){let Y=(this[k1]=this[k1]={accessors:{}}).accessors,W=this.prototype;function Q(Z){let X=u0(Z);if(!Y[X])P2(W,Z),Y[X]=!0}return J.isArray($)?$.forEach(Q):Q($),this}};d0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(d0.prototype,({value:$},G)=>{let Y=G[0].toUpperCase()+G.slice(1);return{get:()=>$,set(W){this[Y]=W}}});J.freezeMethods(d0);j=d0});function C2($){if(J.hasOwnProp($,"toJSON"))return!0;let G=Object.getPrototypeOf($);while(G&&G!==Object.prototype){if(J.hasOwnProp(G,"toJSON"))return!0;G=Object.getPrototypeOf(G)}return!1}function R2($,G){let Y=new Set(G.map((Z)=>String(Z).toLowerCase())),W=[],Q=(Z)=>{if(Z===null||typeof Z!=="object")return Z;if(J.isBuffer(Z))return Z;if(W.indexOf(Z)!==-1)return;if(Z instanceof j)Z=Z.toJSON();W.push(Z);let X;if(J.isArray(Z))X=[],Z.forEach((K,M)=>{let z=Q(K);if(!J.isUndefined(z))X[M]=z});else{if(!J.isPlainObject(Z)&&C2(Z))return W.pop(),Z;X=Object.create(null);for(let[K,M]of Object.entries(Z)){let z=Y.has(K.toLowerCase())?D2:Q(M);if(!J.isUndefined(z))X[K]=z}}return W.pop(),X};return Q($)}var D2="[REDACTED ****]",u,I;var t=C(()=>{E();G0();u=class u extends Error{static from($,G,Y,W,Q,Z){let X=new u($.message,G||$.code,Y,W,Q);if(X.cause=$,X.name=$.name,$.status!=null&&X.status==null)X.status=$.status;return Z&&Object.assign(X,Z),X}constructor($,G,Y,W,Q){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,G&&(this.code=G),Y&&(this.config=Y),W&&(this.request=W),Q)this.response=Q,this.status=Q.status}toJSON(){let $=this.config,G=$&&J.hasOwnProp($,"redact")?$.redact:void 0,Y=J.isArray(G)&&G.length>0?R2($,G):J.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y,code:this.code,status:this.status}}};u.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";u.ERR_BAD_OPTION="ERR_BAD_OPTION";u.ECONNABORTED="ECONNABORTED";u.ETIMEDOUT="ETIMEDOUT";u.ECONNREFUSED="ECONNREFUSED";u.ERR_NETWORK="ERR_NETWORK";u.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";u.ERR_DEPRECATED="ERR_DEPRECATED";u.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";u.ERR_BAD_REQUEST="ERR_BAD_REQUEST";u.ERR_CANCELED="ERR_CANCELED";u.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";u.ERR_INVALID_URL="ERR_INVALID_URL";u.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";I=u});var x1,I4;var v4=C(()=>{x1=b4(_2(),1),I4=x1.default});function m4($){return J.isPlainObject($)||J.isArray($)}function b1($){return J.endsWith($,"[]")?$.slice(0,-2):$}function y4($,G,Y){if(!$)return G;return $.concat(G).map(function(Q,Z){return Q=b1(Q),!Y&&Z?"["+Q+"]":Q}).join(Y?".":"")}function T2($){return J.isArray($)&&!$.some(m4)}function O2($,G,Y){if(!J.isObject($))throw TypeError("target must be an object");G=G||new(I4||FormData),Y=J.toFlatObject(Y,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,V){return!J.isUndefined(V[w])});let W=Y.metaTokens,Q=Y.visitor||F,Z=Y.dots,X=Y.indexes,K=Y.Blob||typeof Blob<"u"&&Blob,M=Y.maxDepth===void 0?100:Y.maxDepth,z=K&&J.isSpecCompliantForm(G);if(!J.isFunction(Q))throw TypeError("visitor must be a function");function N(S){if(S===null)return"";if(J.isDate(S))return S.toISOString();if(J.isBoolean(S))return S.toString();if(!z&&J.isBlob(S))throw new I("Blob is not supported. Use a Buffer instead.");if(J.isArrayBuffer(S)||J.isTypedArray(S))return z&&typeof Blob==="function"?new Blob([S]):Buffer.from(S);return S}function F(S,w,V){let R=S;if(J.isReactNative(G)&&J.isReactNativeBlob(S))return G.append(y4(V,w,Z),N(S)),!1;if(S&&!V&&typeof S==="object"){if(J.endsWith(w,"{}"))w=W?w:w.slice(0,-2),S=JSON.stringify(S);else if(J.isArray(S)&&T2(S)||(J.isFileList(S)||J.endsWith(w,"[]"))&&(R=J.toArray(S)))return w=b1(w),R.forEach(function(T,k){!(J.isUndefined(T)||T===null)&&G.append(X===!0?y4([w],k,Z):X===null?w:w+"[]",N(T))}),!1}if(m4(S))return!0;return G.append(y4(V,w,Z),N(S)),!1}let B=[],U=Object.assign(q2,{defaultVisitor:F,convertValue:N,isVisitable:m4});function P(S,w,V=0){if(J.isUndefined(S))return;if(V>M)throw new I("Object is too deeply nested ("+V+" levels). Max depth: "+M,I.ERR_FORM_DATA_DEPTH_EXCEEDED);if(B.indexOf(S)!==-1)throw Error("Circular reference detected in "+w.join("."));B.push(S),J.forEach(S,function(_,T){if((!(J.isUndefined(_)||_===null)&&Q.call(G,_,J.isString(T)?T.trim():T,w,U))===!0)P(_,w?w.concat(T):[T],V+1)}),B.pop()}if(!J.isObject($))throw TypeError("data must be an object");return P($),G}var q2,z0;var p0=C(()=>{E();t();v4();q2=J.toFlatObject(J,{},null,function(G){return/^is[A-Z]/.test(G)});z0=O2});function v1($){let G={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(W){return G[W]})}function y1($,G){this._pairs=[],$&&z0($,this,G)}var m1,f1;var h1=C(()=>{p0();m1=y1.prototype;m1.append=function(G,Y){this._pairs.push([G,Y])};m1.toString=function(G){let Y=G?function(W){return G.call(this,W,v1)}:v1;return this._pairs.map(function(Q){return Y(Q[0])+"="+Y(Q[1])},"").join("&")};f1=y1});function H2($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function w0($,G,Y){if(!G)return $;let W=Y&&Y.encode||H2,Q=J.isFunction(Y)?{serialize:Y}:Y,Z=Q&&Q.serialize,X;if(Z)X=Z(G,Q);else X=J.isURLSearchParams(G)?G.toString():new f1(G,Q).toString(W);if(X){let K=$.indexOf("#");if(K!==-1)$=$.slice(0,K);$+=($.indexOf("?")===-1?"?":"&")+X}return $}var V4=C(()=>{E();h1()});class g1{constructor(){this.handlers=[]}use($,G,Y){return this.handlers.push({fulfilled:$,rejected:G,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){J.forEach(this.handlers,function(Y){if(Y!==null)$(Y)})}}var f4;var u1=C(()=>{E();f4=g1});var B0;var c0=C(()=>{B0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import E2 from"url";var d1;var p1=C(()=>{d1=E2.URLSearchParams});import A2 from"crypto";var h4="abcdefghijklmnopqrstuvwxyz",c1="0123456789",l1,j2=($=16,G=l1.ALPHA_DIGIT)=>{let Y="",{length:W}=G,Q=new Uint32Array($);A2.randomFillSync(Q);for(let Z=0;Z<$;Z++)Y+=G[Q[Z]%W];return Y},i1;var n1=C(()=>{p1();v4();l1={DIGIT:c1,ALPHA:h4,ALPHA_DIGIT:h4+h4.toUpperCase()+c1},i1={isNode:!0,classes:{URLSearchParams:d1,FormData:I4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:l1,generateString:j2,protocols:["http","https","file","data"]}});var d4={};k2(d4,{origin:()=>v2,navigator:()=>g4,hasStandardBrowserWebWorkerEnv:()=>b2,hasStandardBrowserEnv:()=>x2,hasBrowserEnv:()=>u4});var u4,g4,x2,b2,v2;var a1=C(()=>{u4=typeof window<"u"&&typeof document<"u",g4=typeof navigator==="object"&&navigator||void 0,x2=u4&&(!g4||["ReactNative","NativeScript","NS"].indexOf(g4.product)<0),b2=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),v2=u4&&window.location.href||"http://localhost"});var q;var Y0=C(()=>{n1();a1();q={...d4,...i1}});function p4($,G){return z0($,new q.classes.URLSearchParams,{visitor:function(Y,W,Q,Z){if(q.isNode&&J.isBuffer(Y))return this.append(W,Y.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...G})}var t1=C(()=>{E();p0();Y0()});function y2($){return J.matchAll(/\w+|\[(\w*)]/g,$).map((G)=>{return G[0]==="[]"?"":G[1]||G[0]})}function m2($){let G={},Y=Object.keys($),W,Q=Y.length,Z;for(W=0;W<Q;W++)Z=Y[W],G[Z]=$[Z];return G}function f2($){function G(Y,W,Q,Z){let X=Y[Z++];if(X==="__proto__")return!0;let K=Number.isFinite(+X),M=Z>=Y.length;if(X=!X&&J.isArray(Q)?Q.length:X,M){if(J.hasOwnProp(Q,X))Q[X]=J.isArray(Q[X])?Q[X].concat(W):[Q[X],W];else Q[X]=W;return!K}if(!J.hasOwnProp(Q,X)||!J.isObject(Q[X]))Q[X]=[];if(G(Y,W,Q[X],Z)&&J.isArray(Q[X]))Q[X]=m2(Q[X]);return!K}if(J.isFormData($)&&J.isFunction($.entries)){let Y={};return J.forEachEntry($,(W,Q)=>{G(y2(W),Q,Y,0)}),Y}return null}var L4;var c4=C(()=>{E();L4=f2});function h2($,G,Y){if(J.isString($))try{return(G||JSON.parse)($),J.trim($)}catch(W){if(W.name!=="SyntaxError")throw W}return(Y||JSON.stringify)($)}var E0=($,G)=>$!=null&&J.hasOwnProp($,G)?$[G]:void 0,l4,A0;var F4=C(()=>{E();t();c0();p0();t1();Y0();c4();l4={transitional:B0,adapter:["xhr","http","fetch"],transformRequest:[function(G,Y){let W=Y.getContentType()||"",Q=W.indexOf("application/json")>-1,Z=J.isObject(G);if(Z&&J.isHTMLForm(G))G=new FormData(G);if(J.isFormData(G))return Q?JSON.stringify(L4(G)):G;if(J.isArrayBuffer(G)||J.isBuffer(G)||J.isStream(G)||J.isFile(G)||J.isBlob(G)||J.isReadableStream(G))return G;if(J.isArrayBufferView(G))return G.buffer;if(J.isURLSearchParams(G))return Y.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),G.toString();let K;if(Z){let M=E0(this,"formSerializer");if(W.indexOf("application/x-www-form-urlencoded")>-1)return p4(G,M).toString();if((K=J.isFileList(G))||W.indexOf("multipart/form-data")>-1){let z=E0(this,"env"),N=z&&z.FormData;return z0(K?{"files[]":G}:G,N&&new N,M)}}if(Z||Q)return Y.setContentType("application/json",!1),h2(G);return G}],transformResponse:[function(G){let Y=E0(this,"transitional")||l4.transitional,W=Y&&Y.forcedJSONParsing,Q=E0(this,"responseType"),Z=Q==="json";if(J.isResponse(G)||J.isReadableStream(G))return G;if(G&&J.isString(G)&&(W&&!Q||Z)){let K=!(Y&&Y.silentJSONParsing)&&Z;try{return JSON.parse(G,E0(this,"parseReviver"))}catch(M){if(K){if(M.name==="SyntaxError")throw I.from(M,I.ERR_BAD_RESPONSE,this,null,E0(this,"response"));throw M}}}return G}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:q.classes.FormData,Blob:q.classes.Blob},validateStatus:function(G){return G>=200&&G<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch","query"],($)=>{l4.headers[$]={}});A0=l4});function l0($,G){let Y=this||A0,W=G||Y,Q=j.from(W.headers),Z=W.data;return J.forEach($,function(K){Z=K.call(Y,Z,Q.normalize(),G?G.status:void 0)}),Q.normalize(),Z}var s1=C(()=>{E();F4();G0()});function i0($){return!!($&&$.__CANCEL__)}var i4=()=>{};var r1,s;var S0=C(()=>{t();r1=class r1 extends I{constructor($,G,Y){super($==null?"canceled":$,I.ERR_CANCELED,G,Y);this.name="CanceledError",this.__CANCEL__=!0}};s=r1});function J0($,G,Y){let W=Y.config.validateStatus;if(!Y.status||!W||W(Y.status))$(Y);else G(new I("Request failed with status code "+Y.status,Y.status>=400&&Y.status<500?I.ERR_BAD_REQUEST:I.ERR_BAD_RESPONSE,Y.config,Y.request,Y))}var U4=C(()=>{t()});function n4($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var o1=()=>{};function a4($,G){return G?$.replace(/\/?\/$/,"")+"/"+G.replace(/^\/+/,""):$}var e1=()=>{};function P0($,G,Y){let W=!n4(G);if($&&(W||Y===!1))return a4($,G);return G}var w4=C(()=>{o1();e1()});var G5=n0(($5)=>{Object.defineProperty($5,"__esModule",{value:!0});function g2($){return function(G,Y){return new Promise((W,Q)=>{$.call(this,G,Y,(Z,X)=>{if(Z)Q(Z);else W(X)})})}}$5.default=g2});var Q5=n0((s4,W5)=>{var Y5=s4&&s4.__importDefault||function($){return $&&$.__esModule?$:{default:$}},d2=t0("events"),p2=Y5(r4()),c2=Y5(G5()),a0=p2.default("agent-base");function l2($){return Boolean($)&&typeof $.addRequest==="function"}function t4(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
-
`).some((G)=>G.indexOf("(https.js:")!==-1||G.indexOf("node:https:")!==-1)}function S4($,G){return new S4.Agent($,G)}(function($){class G extends d2.EventEmitter{constructor(Y,W){super();let Q=W;if(typeof Y==="function")this.callback=Y;else if(Y)Q=Y;if(this.timeout=null,Q&&typeof Q.timeout==="number")this.timeout=Q.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return t4()?443:80}set defaultPort(Y){this.explicitDefaultPort=Y}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return t4()?"https:":"http:"}set protocol(Y){this.explicitProtocol=Y}callback(Y,W,Q){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Y,W){let Q=Object.assign({},W);if(typeof Q.secureEndpoint!=="boolean")Q.secureEndpoint=t4();if(Q.host==null)Q.host="localhost";if(Q.port==null)Q.port=Q.secureEndpoint?443:80;if(Q.protocol==null)Q.protocol=Q.secureEndpoint?"https:":"http:";if(Q.host&&Q.path)delete Q.path;delete Q.agent,delete Q.hostname,delete Q._defaultAgent,delete Q.defaultPort,delete Q.createConnection,Y._last=!0,Y.shouldKeepAlive=!1;let Z=!1,X=null,K=Q.timeout||this.timeout,M=(B)=>{if(Y._hadError)return;Y.emit("error",B),Y._hadError=!0},z=()=>{X=null,Z=!0;let B=Error(`A "socket" was not created for HTTP request before ${K}ms`);B.code="ETIMEOUT",M(B)},N=(B)=>{if(Z)return;if(X!==null)clearTimeout(X),X=null;M(B)},F=(B)=>{if(Z)return;if(X!=null)clearTimeout(X),X=null;if(l2(B)){a0("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Y,Q);return}if(B){B.once("free",()=>{this.freeSocket(B,Q)}),Y.onSocket(B);return}let U=Error(`no Duplex stream was returned to agent-base for \`${Y.method} ${Y.path}\``);M(U)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)a0("Converting legacy callback function to promise"),this.promisifiedCallback=c2.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof K==="number"&&K>0)X=setTimeout(z,K);if("port"in Q&&typeof Q.port!=="number")Q.port=Number(Q.port);try{a0("Resolving socket for %o request: %o",Q.protocol,`${Y.method} ${Y.path}`),Promise.resolve(this.promisifiedCallback(Y,Q)).then(F,N)}catch(B){Promise.reject(B).catch(N)}}freeSocket(Y,W){a0("Freeing socket %o %o",Y.constructor.name,W),Y.destroy()}destroy(){a0("Destroying agent %o",this.constructor.name)}}$.Agent=G,$.prototype=$.Agent.prototype})(S4||(S4={}));W5.exports=S4});var Z5=n0((r0)=>{var i2=r0&&r0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(r0,"__esModule",{value:!0});var n2=i2(r4()),s0=n2.default("https-proxy-agent:parse-proxy-response");function a2($){return new Promise((G,Y)=>{let W=0,Q=[];function Z(){let F=$.read();if(F)N(F);else $.once("readable",Z)}function X(){$.removeListener("end",M),$.removeListener("error",z),$.removeListener("close",K),$.removeListener("readable",Z)}function K(F){s0("onclose had error %o",F)}function M(){s0("onend")}function z(F){X(),s0("onerror %o",F),Y(F)}function N(F){Q.push(F),W+=F.length;let B=Buffer.concat(Q,W);if(B.indexOf(`\r
|
|
5
|
-
\r
|
|
6
|
-
`)===-1){s0("have not received end of HTTP headers yet..."),Z();return}let P=B.toString("ascii",0,B.indexOf(`\r
|
|
7
|
-
`)),S=+P.split(" ")[1];s0("got proxy server response: %o",P),G({statusCode:S,buffered:B})}$.on("error",z),$.on("close",K),$.on("end",M),Z()})}r0.default=a2});var N5=n0((D0)=>{var t2=D0&&D0.__awaiter||function($,G,Y,W){function Q(Z){return Z instanceof Y?Z:new Y(function(X){X(Z)})}return new(Y||(Y=Promise))(function(Z,X){function K(N){try{z(W.next(N))}catch(F){X(F)}}function M(N){try{z(W.throw(N))}catch(F){X(F)}}function z(N){N.done?Z(N.value):Q(N.value).then(K,M)}z((W=W.apply($,G||[])).next())})},j0=D0&&D0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(D0,"__esModule",{value:!0});var X5=j0(t0("net")),J5=j0(t0("tls")),s2=j0(t0("url")),r2=j0(t0("assert")),o2=j0(r4()),e2=Q5(),$$=j0(Z5()),o0=o2.default("https-proxy-agent:agent");class K5 extends e2.Agent{constructor($){let G;if(typeof $==="string")G=s2.default.parse($);else G=$;if(!G)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");o0("creating new HttpsProxyAgent instance: %o",G);super(G);let Y=Object.assign({},G);if(this.secureProxy=G.secureProxy||W$(Y.protocol),Y.host=Y.hostname||Y.host,typeof Y.port==="string")Y.port=parseInt(Y.port,10);if(!Y.port&&Y.host)Y.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Y))Y.ALPNProtocols=["http 1.1"];if(Y.host&&Y.path)delete Y.path,delete Y.pathname;this.proxy=Y}callback($,G){return t2(this,void 0,void 0,function*(){let{proxy:Y,secureProxy:W}=this,Q;if(W)o0("Creating `tls.Socket`: %o",Y),Q=J5.default.connect(Y);else o0("Creating `net.Socket`: %o",Y),Q=X5.default.connect(Y);let Z=Object.assign({},Y.headers),K=`CONNECT ${`${G.host}:${G.port}`} HTTP/1.1\r
|
|
8
|
-
`;if(Y.auth)Z["Proxy-Authorization"]=`Basic ${Buffer.from(Y.auth).toString("base64")}`;let{host:M,port:z,secureEndpoint:N}=G;if(!Y$(z,N))M+=`:${z}`;Z.Host=M,Z.Connection="close";for(let S of Object.keys(Z))K+=`${S}: ${Z[S]}\r
|
|
9
|
-
`;let F=$$.default(Q);Q.write(`${K}\r
|
|
10
|
-
`);let{statusCode:B,buffered:U}=yield F;if(B===200){if($.once("socket",G$),G.secureEndpoint){o0("Upgrading socket connection to TLS");let S=G.servername||G.host;return J5.default.connect(Object.assign(Object.assign({},Q$(G,"host","hostname","path","port")),{socket:Q,servername:S}))}return Q}Q.destroy();let P=new X5.default.Socket({writable:!1});return P.readable=!0,$.once("socket",(S)=>{o0("replaying proxy buffer for failed request"),r2.default(S.listenerCount("data")>0),S.push(U),S.push(null)}),P})}}D0.default=K5;function G$($){$.resume()}function Y$($,G){return Boolean(!G&&$===80||G&&$===443)}function W$($){return typeof $==="string"?/^https:?$/i.test($):!1}function Q$($,...G){let Y={},W;for(W in $)if(!G.includes(W))Y[W]=$[W];return Y}});var z5=n0(($1,M5)=>{var Z$=$1&&$1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},o4=Z$(N5());function e4($){return new o4.default($)}(function($){$.HttpsProxyAgent=o4.default,$.prototype=o4.default.prototype})(e4||(e4={}));M5.exports=e4});var K0="1.16.1";var e0=()=>{};function $4($){let G=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return G&&G[1]||""}var G1=()=>{};function Y1($,G,Y){let W=Y&&Y.Blob||q.classes.Blob,Q=$4($);if(G===void 0&&W)G=!0;if(Q==="data"){$=Q.length?$.slice(Q.length+1):$;let Z=X$.exec($);if(!Z)throw new I("Invalid URL",I.ERR_INVALID_URL);let X=Z[1],K=Z[2],M=Z[3]?"base64":"utf8",z=Z[4],N;if(X)N=K?X+K:X;else if(K)N="text/plain"+K;let F=Buffer.from(decodeURIComponent(z),M);if(G){if(!W)throw new I("Blob is not supported",I.ERR_NOT_SUPPORT);return new W([F],{type:N})}return F}throw new I("Unsupported protocol "+Q,I.ERR_NOT_SUPPORT)}var X$;var B5=C(()=>{t();G1();Y0();X$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import J$ from"stream";var W1,I5,Q1;var V5=C(()=>{E();W1=Symbol("internals");I5=class I5 extends J$.Transform{constructor($){$=J.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Y,W)=>{return!J.isUndefined(W[Y])});super({readableHighWaterMark:$.chunkSize});let G=this[W1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Y)=>{if(Y==="progress"){if(!G.isCaptured)G.isCaptured=!0}})}_read($){let G=this[W1];if(G.onReadCallback)G.onReadCallback();return super._read($)}_transform($,G,Y){let W=this[W1],Q=W.maxRate,Z=this.readableHighWaterMark,X=W.timeWindow,K=1000/X,M=Q/K,z=W.minChunkSize!==!1?Math.max(W.minChunkSize,M*0.01):0,N=(B,U)=>{let P=Buffer.byteLength(B);if(W.bytesSeen+=P,W.bytes+=P,W.isCaptured&&this.emit("progress",W.bytesSeen),this.push(B))process.nextTick(U);else W.onReadCallback=()=>{W.onReadCallback=null,process.nextTick(U)}},F=(B,U)=>{let P=Buffer.byteLength(B),S=null,w=Z,V,R=0;if(Q){let _=Date.now();if(!W.ts||(R=_-W.ts)>=X)W.ts=_,V=M-W.bytes,W.bytes=V<0?-V:0,R=0;V=M-W.bytes}if(Q){if(V<=0)return setTimeout(()=>{U(null,B)},X-R);if(V<w)w=V}if(w&&P>w&&P-w>z)S=B.subarray(w),B=B.subarray(0,w);N(B,S?()=>{process.nextTick(U,null,S)}:U)};F($,function B(U,P){if(U)return Y(U);if(P)F(P,B);else Y(null)})}};Q1=I5});var L5,K$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[L5])yield*$[L5]();else yield $},P4;var Z1=C(()=>{({asyncIterator:L5}=Symbol),P4=K$});import N$ from"util";import{Readable as M$}from"stream";class F5{constructor($,G){let{escapeName:Y}=this.constructor,W=J.isString(G),Q=`Content-Disposition: form-data; name="${Y($)}"${!W&&G.name?`; filename="${Y(G.name)}"`:""}${C0}`;if(W)G=G4.encode(String(G).replace(/\r?\n|\r\n?/g,C0));else{let Z=String(G.type||"application/octet-stream").replace(/[\r\n]/g,"");Q+=`Content-Type: ${Z}${C0}`}this.headers=G4.encode(Q+C0),this.contentLength=W?G.byteLength:G.size,this.size=this.headers.byteLength+this.contentLength+I$,this.name=$,this.value=G}async*encode(){yield this.headers;let{value:$}=this;if(J.isTypedArray($))yield $;else yield*P4($);yield B$}static escapeName($){return String($).replace(/[\r\n"]/g,(G)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[G])}}var z$,G4,C0=`\r
|
|
11
|
-
`,B$,I$=2,V$=($,G,Y)=>{let{tag:W="form-data-boundary",size:Q=25,boundary:Z=W+"-"+q.generateString(Q,z$)}=Y||{};if(!J.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 1-70 characters long");let X=G4.encode("--"+Z+C0),K=G4.encode("--"+Z+"--"+C0),M=K.byteLength,z=Array.from($.entries()).map(([F,B])=>{let U=new F5(F,B);return M+=U.size,U});M+=X.byteLength*z.length,M=J.toFiniteNumber(M);let N={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(M))N["Content-Length"]=M;return G&&G(N),M$.from(async function*(){for(let F of z)yield X,yield*F.encode();yield K}())},U5;var w5=C(()=>{E();Z1();Y0();z$=q.ALPHABET.ALPHA_DIGIT+"-_",G4=typeof TextEncoder==="function"?new TextEncoder:new N$.TextEncoder,B$=G4.encode(C0);U5=V$});import L$ from"stream";var S5,P5;var D5=C(()=>{S5=class S5 extends L$.Transform{__transform($,G,Y){this.push($),Y()}_transform($,G,Y){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let W=Buffer.alloc(2);W[0]=120,W[1]=156,this.push(W,G)}}this.__transform($,G,Y)}};P5=S5});var F$=($,G)=>{return J.isAsyncFn($)?function(...Y){let W=Y.pop();$.apply(this,Y).then((Q)=>{try{G?W(null,...G(Q)):W(null,Q)}catch(Z){W(Z)}},W)}:$},C5;var R5=C(()=>{E();C5=F$});function X1($){let G;try{G=new URL($)}catch(Z){return!1}let Y=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Y)return!1;if(Y==="*")return!0;let W=Number.parseInt(G.port,10)||S$[G.protocol.split(":",1)[0]]||0,Q=T5(G.hostname.toLowerCase());return Y.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[X,K]=P$(Z);if(X=T5(X),!X)return!1;if(K&&K!==W)return!1;if(X.charAt(0)==="*")X=X.slice(1);if(X.charAt(0)===".")return Q.endsWith(X);return Q===X||_5(Q)&&_5(X)})}var U$,q5=($)=>{let G=$.split(".");if(G.length!==4)return!1;if(G[0]!=="127")return!1;return G.every((Y)=>/^\d+$/.test(Y)&&Number(Y)>=0&&Number(Y)<=255)},w$=($)=>{if($==="::1")return!0;let G=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(G)return q5(G[1]);let Y=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Y){let Q=parseInt(Y[1],16);return Q>=32512&&Q<=32767}let W=$.split(":");if(W.length===8){for(let Q=0;Q<7;Q++)if(!/^0+$/.test(W[Q]))return!1;return/^0*1$/.test(W[7])}return!1},_5=($)=>{if(!$)return!1;if(U$.has($))return!0;if(q5($))return!0;return w$($)},S$,P$=($)=>{let G=$,Y=0;if(G.charAt(0)==="["){let Z=G.indexOf("]");if(Z!==-1){let X=G.slice(1,Z),K=G.slice(Z+1);if(K.charAt(0)===":"&&/^\d+$/.test(K.slice(1)))Y=Number.parseInt(K.slice(1),10);return[X,Y]}}let W=G.indexOf(":"),Q=G.lastIndexOf(":");if(W!==-1&&W===Q&&/^\d+$/.test(G.slice(Q+1)))Y=Number.parseInt(G.slice(Q+1),10),G=G.slice(0,Q);return[G,Y]},D$,C$,R$=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let G=$.match(D$);if(G)return G[1];let Y=$.match(C$);if(Y){let W=parseInt(Y[1],16),Q=parseInt(Y[2],16);return`${W>>8}.${W&255}.${Q>>8}.${Q&255}`}return $},T5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return R$($.replace(/\.+$/,""))};var O5=C(()=>{U$=new Set(["localhost"]),S$={http:80,https:443,ws:80,wss:443,ftp:21},D$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,C$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function _$($,G){$=$||10;let Y=Array($),W=Array($),Q=0,Z=0,X;return G=G!==void 0?G:1000,function(M){let z=Date.now(),N=W[Z];if(!X)X=z;Y[Q]=M,W[Q]=z;let F=Z,B=0;while(F!==Q)B+=Y[F++],F=F%$;if(Q=(Q+1)%$,Q===Z)Z=(Z+1)%$;if(z-X<G)return;let U=N&&z-N;return U?Math.round(B*1000/U):void 0}}var H5;var E5=C(()=>{H5=_$});function T$($,G){let Y=0,W=1000/G,Q,Z,X=(z,N=Date.now())=>{if(Y=N,Q=null,Z)clearTimeout(Z),Z=null;$(...z)};return[(...z)=>{let N=Date.now(),F=N-Y;if(F>=W)X(z,N);else if(Q=z,!Z)Z=setTimeout(()=>{Z=null,X(Q)},W-F)},()=>Q&&X(Q)]}var A5;var j5=C(()=>{A5=T$});var N0=($,G,Y=3)=>{let W=0,Q=H5(50,250);return A5((Z)=>{if(!Z||typeof Z.loaded!=="number")return;let X=Z.loaded,K=Z.lengthComputable?Z.total:void 0,M=K!=null?Math.min(X,K):X,z=Math.max(0,M-W),N=Q(z);W=Math.max(W,M);let F={loaded:M,total:K,progress:K?M/K:void 0,bytes:z,rate:N?N:void 0,estimated:N&&K?(K-M)/N:void 0,event:Z,lengthComputable:K!=null,[G?"download":"upload"]:!0};$(F)},Y)},k0=($,G)=>{let Y=$!=null;return[(W)=>G[0]({lengthComputable:Y,total:$,loaded:W}),G[1]]},x0=($)=>(...G)=>J.asap(()=>$(...G));var D4=C(()=>{E5();j5();E()});function Y4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let G=$.indexOf(",");if(G<0)return 0;let Y=$.slice(5,G),W=$.slice(G+1);if(/;base64/i.test(Y)){let{length:X,length:K}=W;for(let U=0;U<K;U++)if(W.charCodeAt(U)===37&&U+2<K){let P=W.charCodeAt(U+1),S=W.charCodeAt(U+2);if((P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102)&&(S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102))X-=2,U+=2}let M=0,z=K-1,N=(U)=>U>=2&&W.charCodeAt(U-2)===37&&W.charCodeAt(U-1)===51&&(W.charCodeAt(U)===68||W.charCodeAt(U)===100);if(z>=0){if(W.charCodeAt(z)===61)M++,z--;else if(N(z))M++,z-=3}if(M===1&&z>=0){if(W.charCodeAt(z)===61)M++;else if(N(z))M++}let B=Math.floor(X/4)*3-(M||0);return B>0?B:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(W,"utf8");let Z=0;for(let X=0,K=W.length;X<K;X++){let M=W.charCodeAt(X);if(M<128)Z+=1;else if(M<2048)Z+=2;else if(M>=55296&&M<=56319&&X+1<K){let z=W.charCodeAt(X+1);if(z>=56320&&z<=57343)Z+=4,X++;else Z+=3}else Z+=3}return Z}var J1=()=>{};import H$ from"http";import E$ from"https";import d5 from"http2";import p5 from"util";import{resolve as k5}from"path";import I0 from"zlib";import W0 from"stream";import{EventEmitter as A$}from"events";function v$($,G,Y){if(Y!=="content-only"){$.set(G);return}Object.entries(G).forEach(([W,Q])=>{if(b$.includes(W.toLowerCase()))$.set(W,Q)})}function m$($,G){let Y=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),W=G?y5.get(G)||y5.set(G,new Map).get(G):y$,Q=W.get(Y);if(Q)return Q;let Z=G&&G.options?{...G.options,...$}:$;return Q=new K1.default(Z),Q[i5]=!0,W.set(Y,Q),Q}class n5{constructor(){this.sessions=Object.create(null)}getSession($,G){G=Object.assign({sessionTimeout:1000},G);let Y=this.sessions[$];if(Y){let z=Y.length;for(let N=0;N<z;N++){let[F,B]=Y[N];if(!F.destroyed&&!F.closed&&p5.isDeepStrictEqual(B,G))return F}}let W=d5.connect($,G),Q,Z=()=>{if(Q)return;Q=!0;let z=Y,N=z.length,F=N;while(F--)if(z[F][0]===W){if(N===1)delete this.sessions[$];else z.splice(F,1);if(!W.closed)W.close();return}},X=W.request,{sessionTimeout:K}=G;if(K!=null){let z,N=0;W.request=function(){let F=X.apply(this,arguments);if(N++,z)clearTimeout(z),z=null;return F.once("close",()=>{if(!--N)z=setTimeout(()=>{z=null,Z()},K)}),F}}W.once("close",Z);let M=[W,G];return Y?Y.push(M):Y=this.sessions[$]=[M],W}}function h$($,G,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.config)$.beforeRedirects.config($,G,Y)}function a5($,G,Y,W,Q){let Z=G;if(!Z&&Z!==!1){let X=u5(Y);if(X){if(!X1(Y))Z=new URL(X)}}if(W&&$.headers){for(let X of Object.keys($.headers))if(X.toLowerCase()==="proxy-authorization")delete $.headers[X]}if(W&&$.agent&&$.agent[i5])$.agent=void 0;if(Z){let X=Z instanceof URL,K=(B)=>X||J.hasOwnProp(Z,B)?Z[B]:void 0,M=K("username"),z=K("password"),N=J.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)N=(M||"")+":"+(z||"");if(N){let B=typeof N==="object",U=B&&J.hasOwnProp(N,"username")?N.username:void 0,P=B&&J.hasOwnProp(N,"password")?N.password:void 0;if(Boolean(U||P))N=(U||"")+":"+(P||"");else if(B)throw new I("Invalid proxy authorization",I.ERR_BAD_OPTION,{proxy:Z})}if(l5.test($.protocol)){if(!(Q instanceof K1.default)){let B=K("hostname")||K("host"),U=K("port"),P=K("protocol"),S=P?P.includes(":")?P:`${P}:`:"http:",w=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,V=new URL(`${S}//${w}${U?":"+U:""}`),R={protocol:V.protocol,hostname:V.hostname.replace(/^\[|\]$/g,""),port:V.port,auth:N&&typeof N==="string"?N:void 0};if(V.protocol==="https:")R.ALPNProtocols=["http/1.1"];let _=m$(R,Q);if($.agent=_,$.agents)$.agents.https=_}}else{if(N){let S=Buffer.from(N,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+S}let B=!1;for(let S of Object.keys($.headers))if(S.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let U=K("hostname")||K("host");$.hostname=U,$.host=U,$.port=K("port"),$.path=Y;let P=K("protocol");if(P)$.protocol=P.includes(":")?P:`${P}:`}}$.beforeRedirects.proxy=function(K){a5(K,G,K.href,!0,Q)}}var K1,c5,x5,j$,b5,k$,x$,l5,b$,v5,C4,i5,y$,y5,m5,f5=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(G){return $}},h5=($,[G,Y])=>{return $.on("end",Y).on("error",Y),G},f$,g$,u$=($)=>{return new Promise((G,Y)=>{let W,Q,Z=(M,z)=>{if(Q)return;Q=!0,W&&W(M,z)},X=(M)=>{Z(M),G(M)},K=(M)=>{Z(M,!0),Y(M)};$(X,K,(M)=>W=M).catch(K)})},d$=({address:$,family:G})=>{if(!J.isString($))throw TypeError("address must be a string");return{address:$,family:G||($.indexOf(".")<0?6:4)}},g5=($,G)=>d$(J.isObject($)?$:{address:$,family:G}),p$,t5;var s5=C(()=>{E();U4();w4();V4();q$();e0();c0();t();S0();Y0();B5();G0();V5();w5();Z1();D5();R5();O5();g0();D4();J1();K1=b4(z5(),1),c5=b4(O$(),1),x5={flush:I0.constants.Z_SYNC_FLUSH,finishFlush:I0.constants.Z_SYNC_FLUSH},j$={flush:I0.constants.BROTLI_OPERATION_FLUSH,finishFlush:I0.constants.BROTLI_OPERATION_FLUSH},b5=J.isFunction(I0.createBrotliDecompress),{http:k$,https:x$}=c5.default,l5=/https:?/,b$=["content-type","content-length"];v5=Symbol("axios.http.socketListener"),C4=Symbol("axios.http.currentReq"),i5=Symbol("axios.http.installedTunnel"),y$=new Map,y5=new WeakMap;m5=q.protocols.map(($)=>{return $+":"});f$=new n5;g$=typeof process<"u"&&J.kindOf(process)==="process",p$={request($,G){let Y=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:W,headers:Q}=$,Z=f$.getSession(Y,W),{HTTP2_HEADER_SCHEME:X,HTTP2_HEADER_METHOD:K,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:z}=d5.constants,N={[X]:$.protocol.replace(":",""),[K]:$.method,[M]:$.path};J.forEach(Q,(B,U)=>{U.charAt(0)!==":"&&(N[U]=B)});let F=Z.request(N);return F.once("response",(B)=>{let U=F;B=Object.assign({},B);let P=B[z];delete B[z],U.headers=B,U.statusCode=+P,G(U)}),F}},t5=g$&&function(G){return u$(async function(W,Q,Z){let X=(D)=>J.hasOwnProp(G,D)?G[D]:void 0,K=X("data"),M=X("lookup"),z=X("family"),N=X("httpVersion");if(N===void 0)N=1;let F=X("http2Options"),B=X("responseType"),U=X("responseEncoding"),P=G.method.toUpperCase(),S,w=!1,V,R;if(N=+N,Number.isNaN(N))throw TypeError(`Invalid protocol version: '${G.httpVersion}' is not a number`);if(N!==1&&N!==2)throw TypeError(`Unsupported protocol version '${N}'`);let _=N===2;if(M){let D=C5(M,(L)=>J.isArray(L)?L:[L]);M=(L,O,v)=>{D(L,O,(H,g,a)=>{if(H)return v(H);let A=J.isArray(g)?g.map((T0)=>g5(T0)):[g5(g,a)];O.all?v(H,A):v(H,A[0].address,A[0].family)})}}let T=new A$;function k(D){try{T.emit("abort",!D||D.type?new s(null,G,V):D)}catch(L){console.warn("emit error",L)}}function r(){if(R)clearTimeout(R),R=null}function V0(){let D=G.timeout?"timeout of "+G.timeout+"ms exceeded":"timeout exceeded",L=G.transitional||B0;if(G.timeoutErrorMessage)D=G.timeoutErrorMessage;return new I(D,L.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,G,V)}T.once("abort",Q);let L0=()=>{if(r(),G.cancelToken)G.cancelToken.unsubscribe(k);if(G.signal)G.signal.removeEventListener("abort",k);T.removeAllListeners()};if(G.cancelToken||G.signal){if(G.cancelToken&&G.cancelToken.subscribe(k),G.signal)G.signal.aborted?k():G.signal.addEventListener("abort",k)}Z((D,L)=>{if(S=!0,r(),L){w=!0,L0();return}let{data:O}=D;if(O instanceof W0.Readable||O instanceof W0.Duplex){let v=W0.finished(O,()=>{v(),L0()})}else L0()});let b0=P0(G.baseURL,G.url,G.allowAbsoluteUrls),x=new URL(b0,q.hasBrowserEnv?q.origin:void 0),n=x.protocol||m5[0];if(n==="data:"){if(G.maxContentLength>-1){let L=String(G.url||b0||"");if(Y4(L)>G.maxContentLength)return Q(new I("maxContentLength size of "+G.maxContentLength+" exceeded",I.ERR_BAD_RESPONSE,G))}let D;if(P!=="GET")return J0(W,Q,{status:405,statusText:"method not allowed",headers:{},config:G});try{D=Y1(G.url,B==="blob",{Blob:G.env&&G.env.Blob})}catch(L){throw I.from(L,I.ERR_BAD_REQUEST,G)}if(B==="text"){if(D=D.toString(U),!U||U==="utf8")D=J.stripBOM(D)}else if(B==="stream")D=W0.Readable.from(D);return J0(W,Q,{data:D,status:200,statusText:"OK",headers:new j,config:G})}if(m5.indexOf(n)===-1)return Q(new I("Unsupported protocol "+n,I.ERR_BAD_REQUEST,G));let m=j.from(G.headers).normalize();m.set("User-Agent","axios/"+K0,!1);let{onUploadProgress:R0,onDownloadProgress:p}=G,M0=G.maxRate,Z0=void 0,_0=void 0;if(J.isSpecCompliantForm(K)){let D=m.getContentType(/boundary=([-_\w\d]{10,70})/i);K=U5(K,(L)=>{m.set(L)},{tag:`axios-${K0}-boundary`,boundary:D&&D[1]||void 0})}else if(J.isFormData(K)&&J.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(v$(m,K.getHeaders(),X("formDataHeaderPolicy")),!m.hasContentLength())try{let D=await p5.promisify(K.getLength).call(K);Number.isFinite(D)&&D>=0&&m.setContentLength(D)}catch(D){}}else if(J.isBlob(K)||J.isFile(K))K.size&&m.setContentType(K.type||"application/octet-stream"),m.setContentLength(K.size||0),K=W0.Readable.from(P4(K));else if(K&&!J.isStream(K)){if(Buffer.isBuffer(K));else if(J.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(J.isString(K))K=Buffer.from(K,"utf-8");else return Q(new I("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",I.ERR_BAD_REQUEST,G));if(m.setContentLength(K.length,!1),G.maxBodyLength>-1&&K.length>G.maxBodyLength)return Q(new I("Request body larger than maxBodyLength limit",I.ERR_BAD_REQUEST,G))}let X4=J.toFiniteNumber(m.getContentLength());if(J.isArray(M0))Z0=M0[0],_0=M0[1];else Z0=_0=M0;if(K&&(R0||Z0)){if(!J.isStream(K))K=W0.Readable.from(K,{objectMode:!1});K=W0.pipeline([K,new Q1({maxRate:J.toFiniteNumber(Z0)})],J.noop),R0&&K.on("progress",h5(K,k0(X4,N0(x0(R0),!1,3))))}let c=void 0,d=X("auth");if(d){let D=d.username||"",L=d.password||"";c=D+":"+L}if(!c&&x.username){let D=f5(x.username),L=f5(x.password);c=D+":"+L}c&&m.delete("authorization");let X0;try{X0=w0(x.pathname+x.search,G.params,G.paramsSerializer).replace(/^\?/,"")}catch(D){let L=Error(D.message);return L.config=G,L.url=G.url,L.exists=!0,Q(L)}m.set("Accept-Encoding","gzip, compress, deflate"+(b5?", br":""),!1);let f=Object.assign(Object.create(null),{path:X0,method:P,headers:H0(m),agents:{http:G.httpAgent,https:G.httpsAgent},auth:c,protocol:n,family:z,beforeRedirect:h$,beforeRedirects:Object.create(null),http2Options:F});if(!J.isUndefined(M)&&(f.lookup=M),G.socketPath){if(typeof G.socketPath!=="string")return Q(new I("socketPath must be a string",I.ERR_BAD_OPTION_VALUE,G));if(G.allowedSocketPaths!=null){let D=Array.isArray(G.allowedSocketPaths)?G.allowedSocketPaths:[G.allowedSocketPaths],L=k5(G.socketPath);if(!D.some((v)=>typeof v==="string"&&k5(v)===L))return Q(new I(`socketPath "${G.socketPath}" is not permitted by allowedSocketPaths`,I.ERR_BAD_OPTION_VALUE,G))}f.socketPath=G.socketPath}else f.hostname=x.hostname.startsWith("[")?x.hostname.slice(1,-1):x.hostname,f.port=x.port,a5(f,G.proxy,n+"//"+x.hostname+(x.port?":"+x.port:"")+f.path,!1,G.httpsAgent);let b,e=!1,l=l5.test(f.protocol);if(f.agent==null)f.agent=l?G.httpsAgent:G.httpAgent;if(_)b=p$;else{let D=X("transport");if(D)b=D;else if(G.maxRedirects===0)b=l?E$:H$,e=!0;else{if(G.maxRedirects)f.maxRedirects=G.maxRedirects;let L=X("beforeRedirect");if(L)f.beforeRedirects.config=L;b=l?x$:k$}}if(G.maxBodyLength>-1)f.maxBodyLength=G.maxBodyLength;else f.maxBodyLength=1/0;f.insecureHTTPParser=Boolean(X("insecureHTTPParser")),V=b.request(f,function(L){if(r(),V.destroyed)return;let O=[L],v=J.toFiniteNumber(L.headers["content-length"]);if(p||_0){let A=new Q1({maxRate:J.toFiniteNumber(_0)});p&&A.on("progress",h5(A,k0(v,N0(x0(p),!0,3)))),O.push(A)}let H=L,g=L.req||V;if(G.decompress!==!1&&L.headers["content-encoding"]){if(P==="HEAD"||L.statusCode===204)delete L.headers["content-encoding"];switch((L.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":O.push(I0.createUnzip(x5)),delete L.headers["content-encoding"];break;case"deflate":O.push(new P5),O.push(I0.createUnzip(x5)),delete L.headers["content-encoding"];break;case"br":if(b5)O.push(I0.createBrotliDecompress(j$)),delete L.headers["content-encoding"]}}H=O.length>1?W0.pipeline(O,J.noop):O[0];let a={status:L.statusCode,statusText:L.statusMessage,headers:new j(L.headers),config:G,request:g};if(B==="stream"){if(G.maxContentLength>-1){let A=G.maxContentLength,T0=H;async function*v0(){let h=0;for await(let S1 of T0){if(h+=S1.length,h>A)throw new I("maxContentLength size of "+A+" exceeded",I.ERR_BAD_RESPONSE,G,g);yield S1}}H=W0.Readable.from(v0(),{objectMode:!1})}a.data=H,J0(W,Q,a)}else{let A=[],T0=0;H.on("data",function(h){if(A.push(h),T0+=h.length,G.maxContentLength>-1&&T0>G.maxContentLength)w=!0,H.destroy(),k(new I("maxContentLength size of "+G.maxContentLength+" exceeded",I.ERR_BAD_RESPONSE,G,g))}),H.on("aborted",function(){if(w)return;let h=new I("stream has been aborted",I.ERR_BAD_RESPONSE,G,g,a);H.destroy(h),Q(h)}),H.on("error",function(h){if(w)return;Q(I.from(h,null,G,g,a))}),H.on("end",function(){try{let h=A.length===1?A[0]:Buffer.concat(A);if(B!=="arraybuffer"){if(h=h.toString(U),!U||U==="utf8")h=J.stripBOM(h)}a.data=h}catch(h){return Q(I.from(h,null,G,a.request,a))}J0(W,Q,a)})}T.once("abort",(A)=>{if(!H.destroyed)H.emit("error",A),H.destroy()})}),T.once("abort",(D)=>{if(V.close)V.close();else V.destroy(D)}),V.on("error",function(L){Q(I.from(L,null,G,V))});let F0=new Set;if(V.on("socket",function(L){if(L.setKeepAlive(!0,60000),!L[v5])L.on("error",function(v){let H=L[C4];if(H&&!H.destroyed)H.destroy(v)}),L[v5]=!0;L[C4]=V,F0.add(L)}),V.once("close",function(){r();for(let L of F0)if(L[C4]===V)L[C4]=null;F0.clear()}),G.timeout){let D=parseInt(G.timeout,10);if(Number.isNaN(D)){k(new I("error trying to parse `config.timeout` to int",I.ERR_BAD_OPTION_VALUE,G,V));return}let L=function(){if(S)return;k(V0())};if(e&&D>0)R=setTimeout(L,D);V.setTimeout(D,L)}else V.setTimeout(0);if(J.isStream(K)){let D=!1,L=!1;K.on("end",()=>{D=!0}),K.once("error",(v)=>{L=!0,V.destroy(v)}),K.on("close",()=>{if(!D&&!L)k(new s("Request stream has been aborted",G,V))});let O=K;if(G.maxBodyLength>-1&&G.maxRedirects===0){let v=G.maxBodyLength,H=0;O=W0.pipeline([K,new W0.Transform({transform(g,a,A){if(H+=g.length,H>v)return A(new I("Request body larger than maxBodyLength limit",I.ERR_BAD_REQUEST,G,V));A(null,g)}})],J.noop),O.on("error",(g)=>{if(!V.destroyed)V.destroy(g)})}O.pipe(V)}else K&&V.write(K),V.end()})}});var r5;var o5=C(()=>{Y0();r5=q.hasStandardBrowserEnv?(($,G)=>(Y)=>{return Y=new URL(Y,q.origin),$.protocol===Y.protocol&&$.host===Y.host&&(G||$.port===Y.port)})(new URL(q.origin),q.navigator&&/(msie|trident)/i.test(q.navigator.userAgent)):()=>!0});var e5;var $6=C(()=>{E();Y0();e5=q.hasStandardBrowserEnv?{write($,G,Y,W,Q,Z,X){if(typeof document>"u")return;let K=[`${$}=${encodeURIComponent(G)}`];if(J.isNumber(Y))K.push(`expires=${new Date(Y).toUTCString()}`);if(J.isString(W))K.push(`path=${W}`);if(J.isString(Q))K.push(`domain=${Q}`);if(Z===!0)K.push("secure");if(J.isString(X))K.push(`SameSite=${X}`);document.cookie=K.join("; ")},read($){if(typeof document>"u")return null;let G=document.cookie.split(";");for(let Y=0;Y<G.length;Y++){let W=G[Y].replace(/^\s+/,""),Q=W.indexOf("=");if(Q!==-1&&W.slice(0,Q)===$)return decodeURIComponent(W.slice(Q+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function Q0($,G){G=G||{};let Y=Object.create(null);Object.defineProperty(Y,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function W(z,N,F,B){if(J.isPlainObject(z)&&J.isPlainObject(N))return J.merge.call({caseless:B},z,N);else if(J.isPlainObject(N))return J.merge({},N);else if(J.isArray(N))return N.slice();return N}function Q(z,N,F,B){if(!J.isUndefined(N))return W(z,N,F,B);else if(!J.isUndefined(z))return W(void 0,z,F,B)}function Z(z,N){if(!J.isUndefined(N))return W(void 0,N)}function X(z,N){if(!J.isUndefined(N))return W(void 0,N);else if(!J.isUndefined(z))return W(void 0,z)}function K(z,N,F){if(J.hasOwnProp(G,F))return W(z,N);else if(J.hasOwnProp($,F))return W(void 0,z)}let M={url:Z,method:Z,data:Z,baseURL:X,transformRequest:X,transformResponse:X,paramsSerializer:X,timeout:X,timeoutMessage:X,withCredentials:X,withXSRFToken:X,adapter:X,responseType:X,xsrfCookieName:X,xsrfHeaderName:X,onUploadProgress:X,onDownloadProgress:X,decompress:X,maxContentLength:X,maxBodyLength:X,beforeRedirect:X,transport:X,httpAgent:X,httpsAgent:X,cancelToken:X,socketPath:X,allowedSocketPaths:X,responseEncoding:X,validateStatus:K,headers:(z,N,F)=>Q(G6(z),G6(N),F,!0)};return J.forEach(Object.keys({...$,...G}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;let F=J.hasOwnProp(M,N)?M[N]:Q,B=J.hasOwnProp($,N)?$[N]:void 0,U=J.hasOwnProp(G,N)?G[N]:void 0,P=F(B,U,N);J.isUndefined(P)&&F!==K||(Y[N]=P)}),Y}var G6=($)=>$ instanceof j?{...$}:$;var R4=C(()=>{E();G0()});function l$($,G,Y){if(Y!=="content-only"){$.set(G);return}Object.entries(G).forEach(([W,Q])=>{if(c$.includes(W.toLowerCase()))$.set(W,Q)})}var c$,i$=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(G,Y)=>String.fromCharCode(parseInt(Y,16))),_4=($)=>{let G=Q0({},$),Y=(B)=>J.hasOwnProp(G,B)?G[B]:void 0,W=Y("data"),Q=Y("withXSRFToken"),Z=Y("xsrfHeaderName"),X=Y("xsrfCookieName"),K=Y("headers"),M=Y("auth"),z=Y("baseURL"),N=Y("allowAbsoluteUrls"),F=Y("url");if(G.headers=K=j.from(K),G.url=w0(P0(z,F,N),$.params,$.paramsSerializer),M)K.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?i$(M.password):"")));if(J.isFormData(W)){if(q.hasStandardBrowserEnv||q.hasStandardBrowserWebWorkerEnv)K.setContentType(void 0);else if(J.isFunction(W.getHeaders))l$(K,W.getHeaders(),Y("formDataHeaderPolicy"))}if(q.hasStandardBrowserEnv){if(J.isFunction(Q))Q=Q(G);if(Q===!0||Q==null&&r5(G.url)){let U=Z&&X&&e5.read(X);if(U)K.set(Z,U)}}return G};var N1=C(()=>{Y0();E();o5();$6();w4();R4();G0();V4();c$=["content-type","content-length"]});var n$,Y6;var W6=C(()=>{E();U4();c0();t();S0();G1();Y0();G0();D4();N1();g0();n$=typeof XMLHttpRequest<"u",Y6=n$&&function($){return new Promise(function(Y,W){let Q=_4($),Z=Q.data,X=j.from(Q.headers).normalize(),{responseType:K,onUploadProgress:M,onDownloadProgress:z}=Q,N,F,B,U,P;function S(){U&&U(),P&&P(),Q.cancelToken&&Q.cancelToken.unsubscribe(N),Q.signal&&Q.signal.removeEventListener("abort",N)}let w=new XMLHttpRequest;w.open(Q.method.toUpperCase(),Q.url,!0),w.timeout=Q.timeout;function V(){if(!w)return;let _=j.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),k={data:!K||K==="text"||K==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:_,config:$,request:w};J0(function(V0){Y(V0),S()},function(V0){W(V0),S()},k),w=null}if("onloadend"in w)w.onloadend=V;else w.onreadystatechange=function(){if(!w||w.readyState!==4)return;if(w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:")))return;setTimeout(V)};if(w.onabort=function(){if(!w)return;W(new I("Request aborted",I.ECONNABORTED,$,w)),S(),w=null},w.onerror=function(T){let k=T&&T.message?T.message:"Network Error",r=new I(k,I.ERR_NETWORK,$,w);r.event=T||null,W(r),S(),w=null},w.ontimeout=function(){let T=Q.timeout?"timeout of "+Q.timeout+"ms exceeded":"timeout exceeded",k=Q.transitional||B0;if(Q.timeoutErrorMessage)T=Q.timeoutErrorMessage;W(new I(T,k.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,$,w)),S(),w=null},Z===void 0&&X.setContentType(null),"setRequestHeader"in w)J.forEach(H0(X),function(T,k){w.setRequestHeader(k,T)});if(!J.isUndefined(Q.withCredentials))w.withCredentials=!!Q.withCredentials;if(K&&K!=="json")w.responseType=Q.responseType;if(z)[B,P]=N0(z,!0),w.addEventListener("progress",B);if(M&&w.upload)[F,U]=N0(M),w.upload.addEventListener("progress",F),w.upload.addEventListener("loadend",U);if(Q.cancelToken||Q.signal){if(N=(_)=>{if(!w)return;W(!_||_.type?new s(null,$,w):_),w.abort(),S(),w=null},Q.cancelToken&&Q.cancelToken.subscribe(N),Q.signal)Q.signal.aborted?N():Q.signal.addEventListener("abort",N)}let R=$4(Q.url);if(R&&!q.protocols.includes(R)){W(new I("Unsupported protocol "+R+":",I.ERR_BAD_REQUEST,$));return}w.send(Z||null)})}});var a$=($,G)=>{if($=$?$.filter(Boolean):[],!G&&!$.length)return;let Y=new AbortController,W=!1,Q=function(M){if(!W){W=!0,X();let z=M instanceof Error?M:this.reason;Y.abort(z instanceof I?z:new s(z instanceof Error?z.message:z))}},Z=G&&setTimeout(()=>{Z=null,Q(new I(`timeout of ${G}ms exceeded`,I.ETIMEDOUT))},G),X=()=>{if(!$)return;Z&&clearTimeout(Z),Z=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(Q):M.removeEventListener("abort",Q)}),$=null};$.forEach((M)=>M.addEventListener("abort",Q));let{signal:K}=Y;return K.unsubscribe=()=>J.asap(X),K},Q6;var Z6=C(()=>{S0();t();E();Q6=a$});var t$=function*($,G){let Y=$.byteLength;if(!G||Y<G){yield $;return}let W=0,Q;while(W<Y)Q=W+G,yield $.slice(W,Q),W=Q},s$=async function*($,G){for await(let Y of r$($))yield*t$(Y,G)},r$=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let G=$.getReader();try{for(;;){let{done:Y,value:W}=await G.read();if(Y)break;yield W}}finally{await G.cancel()}},M1=($,G,Y,W)=>{let Q=s$($,G),Z=0,X,K=(M)=>{if(!X)X=!0,W&&W(M)};return new ReadableStream({async pull(M){try{let{done:z,value:N}=await Q.next();if(z){K(),M.close();return}let F=N.byteLength;if(Y){let B=Z+=F;Y(B)}M.enqueue(new Uint8Array(N))}catch(z){throw K(z),z}},cancel(M){return K(M),Q.return()}},{highWaterMark:2})};var X6=()=>{};var J6=65536,T4,K6=($,...G)=>{try{return!!$(...G)}catch(Y){return!1}},o$=($)=>{let G=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:Y,TextEncoder:W}=G;$=J.merge.call({skipUndefined:!0},{Request:G.Request,Response:G.Response},$);let{fetch:Q,Request:Z,Response:X}=$,K=Q?T4(Q):typeof fetch==="function",M=T4(Z),z=T4(X);if(!K)return!1;let N=K&&T4(Y),F=K&&(typeof W==="function"?((V)=>(R)=>V.encode(R))(new W):async(V)=>new Uint8Array(await new Z(V).arrayBuffer())),B=M&&N&&K6(()=>{let V=!1,R=new Z(q.origin,{body:new Y,method:"POST",get duplex(){return V=!0,"half"}}),_=R.headers.has("Content-Type");if(R.body!=null)R.body.cancel();return V&&!_}),U=z&&N&&K6(()=>J.isReadableStream(new X("").body)),P={stream:U&&((V)=>V.body)};K&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((V)=>{!P[V]&&(P[V]=(R,_)=>{let T=R&&R[V];if(T)return T.call(R);throw new I(`Response type '${V}' is not supported`,I.ERR_NOT_SUPPORT,_)})})})();let S=async(V)=>{if(V==null)return 0;if(J.isBlob(V))return V.size;if(J.isSpecCompliantForm(V))return(await new Z(q.origin,{method:"POST",body:V}).arrayBuffer()).byteLength;if(J.isArrayBufferView(V)||J.isArrayBuffer(V))return V.byteLength;if(J.isURLSearchParams(V))V=V+"";if(J.isString(V))return(await F(V)).byteLength},w=async(V,R)=>{let _=J.toFiniteNumber(V.getContentLength());return _==null?S(R):_};return async(V)=>{let{url:R,method:_,data:T,signal:k,cancelToken:r,timeout:V0,onDownloadProgress:L0,onUploadProgress:b0,responseType:x,headers:n,withCredentials:m="same-origin",fetchOptions:R0,maxContentLength:p,maxBodyLength:M0}=_4(V),Z0=J.isNumber(p)&&p>-1,_0=J.isNumber(M0)&&M0>-1,X4=Q||fetch;x=x?(x+"").toLowerCase():"text";let c=Q6([k,r&&r.toAbortSignal()],V0),d=null,X0=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),f;try{if(Z0&&typeof R==="string"&&R.startsWith("data:")){if(Y4(R)>p)throw new I("maxContentLength size of "+p+" exceeded",I.ERR_BAD_RESPONSE,V,d)}if(_0&&_!=="get"&&_!=="head"){let L=await w(n,T);if(typeof L==="number"&&isFinite(L)&&L>M0)throw new I("Request body larger than maxBodyLength limit",I.ERR_BAD_REQUEST,V,d)}if(b0&&B&&_!=="get"&&_!=="head"&&(f=await w(n,T))!==0){let L=new Z(R,{method:"POST",body:T,duplex:"half"}),O;if(J.isFormData(T)&&(O=L.headers.get("content-type")))n.setContentType(O);if(L.body){let[v,H]=k0(f,N0(x0(b0)));T=M1(L.body,J6,v,H)}}if(!J.isString(m))m=m?"include":"omit";let b=M&&"credentials"in Z.prototype;if(J.isFormData(T)){let L=n.getContentType();if(L&&/^multipart\/form-data/i.test(L)&&!/boundary=/i.test(L))n.delete("content-type")}n.set("User-Agent","axios/"+K0,!1);let e={...R0,signal:c,method:_.toUpperCase(),headers:H0(n.normalize()),body:T,duplex:"half",credentials:b?m:void 0};d=M&&new Z(R,e);let l=await(M?X4(d,R0):X4(R,e));if(Z0){let L=J.toFiniteNumber(l.headers.get("content-length"));if(L!=null&&L>p)throw new I("maxContentLength size of "+p+" exceeded",I.ERR_BAD_RESPONSE,V,d)}let F0=U&&(x==="stream"||x==="response");if(U&&l.body&&(L0||Z0||F0&&X0)){let L={};["status","statusText","headers"].forEach((A)=>{L[A]=l[A]});let O=J.toFiniteNumber(l.headers.get("content-length")),[v,H]=L0&&k0(O,N0(x0(L0),!0))||[],g=0,a=(A)=>{if(Z0){if(g=A,g>p)throw new I("maxContentLength size of "+p+" exceeded",I.ERR_BAD_RESPONSE,V,d)}v&&v(A)};l=new X(M1(l.body,J6,a,()=>{H&&H(),X0&&X0()}),L)}x=x||"text";let D=await P[J.findKey(P,x)||"text"](l,V);if(Z0&&!U&&!F0){let L;if(D!=null){if(typeof D.byteLength==="number")L=D.byteLength;else if(typeof D.size==="number")L=D.size;else if(typeof D==="string")L=typeof W==="function"?new W().encode(D).byteLength:D.length}if(typeof L==="number"&&L>p)throw new I("maxContentLength size of "+p+" exceeded",I.ERR_BAD_RESPONSE,V,d)}return!F0&&X0&&X0(),await new Promise((L,O)=>{J0(L,O,{data:D,headers:j.from(l.headers),status:l.status,statusText:l.statusText,config:V,request:d})})}catch(b){if(X0&&X0(),c&&c.aborted&&c.reason instanceof I){let e=c.reason;throw e.config=V,d&&(e.request=d),b!==e&&(e.cause=b),e}if(b&&b.name==="TypeError"&&/Load failed|fetch/i.test(b.message))throw Object.assign(new I("Network Error",I.ERR_NETWORK,V,d,b&&b.response),{cause:b.cause||b});throw I.from(b,b&&b.code,V,d,b&&b.response)}}},e$,z1=($)=>{let G=$&&$.env||{},{fetch:Y,Request:W,Response:Q}=G,Z=[W,Q,Y],X=Z.length,K=X,M,z,N=e$;while(K--)M=Z[K],z=N.get(M),z===void 0&&N.set(M,z=K?new Map:o$(G)),N=z;return z},IY;var N6=C(()=>{Y0();E();t();Z6();X6();G0();D4();N1();U4();J1();e0();g0();({isFunction:T4}=J),e$=new Map,IY=z1()});function Y7($,G){$=J.isArray($)?$:[$];let{length:Y}=$,W,Q,Z={};for(let X=0;X<Y;X++){W=$[X];let K;if(Q=W,!G7(W)){if(Q=B1[(K=String(W)).toLowerCase()],Q===void 0)throw new I(`Unknown adapter '${K}'`)}if(Q&&(J.isFunction(Q)||(Q=Q.get(G))))break;Z[K||"#"+X]=Q}if(!Q){let X=Object.entries(Z).map(([M,z])=>`adapter ${M} `+(z===!1?"is not supported by the environment":"is not available in the build")),K=Y?X.length>1?`since :
|
|
12
|
-
`+X.map(M6).join(`
|
|
13
|
-
`):" "+M6(X[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+K,"ERR_NOT_SUPPORT")}return Q}var B1,M6=($)=>`- ${$}`,G7=($)=>J.isFunction($)||$===null||$===!1,q4;var I1=C(()=>{E();s5();W6();N6();t();B1={http:t5,xhr:Y6,fetch:{get:z1}};J.forEach(B1,($,G)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:G})}catch(Y){}Object.defineProperty($,"adapterName",{__proto__:null,value:G})}});q4={getAdapter:Y7,adapters:B1}});function V1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new s(null,$)}function O4($){if(V1($),$.headers=j.from($.headers),$.data=l0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return q4.getAdapter($.adapter||A0.adapter,$)($).then(function(W){V1($),$.response=W;try{W.data=l0.call($,$.transformResponse,W)}finally{delete $.response}return W.headers=j.from(W.headers),W},function(W){if(!i0(W)){if(V1($),W&&W.response){$.response=W.response;try{W.response.data=l0.call($,$.transformResponse,W.response)}finally{delete $.response}W.response.headers=j.from(W.response.headers)}}return Promise.reject(W)})}var z6=C(()=>{s1();i4();F4();S0();G0();I1()});function W7($,G,Y){if(typeof $!=="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);let W=Object.keys($),Q=W.length;while(Q-- >0){let Z=W[Q],X=Object.prototype.hasOwnProperty.call(G,Z)?G[Z]:void 0;if(X){let K=$[Z],M=K===void 0||X(K,Z,$);if(M!==!0)throw new I("option "+Z+" must be "+M,I.ERR_BAD_OPTION_VALUE);continue}if(Y!==!0)throw new I("Unknown option "+Z,I.ERR_BAD_OPTION)}}var H4,B6,W4;var I6=C(()=>{e0();t();H4={};["object","boolean","number","function","string","symbol"].forEach(($,G)=>{H4[$]=function(W){return typeof W===$||"a"+(G<1?"n ":" ")+$}});B6={};H4.transitional=function(G,Y,W){function Q(Z,X){return"[Axios v"+K0+"] Transitional option '"+Z+"'"+X+(W?". "+W:"")}return(Z,X,K)=>{if(G===!1)throw new I(Q(X," has been removed"+(Y?" in "+Y:"")),I.ERR_DEPRECATED);if(Y&&!B6[X])B6[X]=!0,console.warn(Q(X," has been deprecated since v"+Y+" and will be removed in the near future"));return G?G(Z,X,K):!0}};H4.spelling=function(G){return(Y,W)=>{return console.warn(`${W} is likely a misspelling of ${G}`),!0}};W4={assertOptions:W7,validators:H4}});class Q4{constructor($){this.defaults=$||{},this.interceptors={request:new f4,response:new f4}}async request($,G){try{return await this._request($,G)}catch(Y){if(Y instanceof Error){let W={};Error.captureStackTrace?Error.captureStackTrace(W):W=Error();let Q=(()=>{if(!W.stack)return"";let Z=W.stack.indexOf(`
|
|
14
|
-
`);return Z===-1?"":W.stack.slice(Z+1)})();try{if(!Y.stack)Y.stack=Q;else if(Q){let Z=Q.indexOf(`
|
|
15
|
-
`),X=Z===-1?-1:Q.indexOf(`
|
|
16
|
-
`,Z+1),K=X===-1?"":Q.slice(X+1);if(!String(Y.stack).endsWith(K))Y.stack+=`
|
|
17
|
-
`+Q}}catch(Z){}}throw Y}}_request($,G){if(typeof $==="string")G=G||{},G.url=$;else G=$||{};G=Q0(this.defaults,G);let{transitional:Y,paramsSerializer:W,headers:Q}=G;if(Y!==void 0)W4.assertOptions(Y,{silentJSONParsing:o.transitional(o.boolean),forcedJSONParsing:o.transitional(o.boolean),clarifyTimeoutError:o.transitional(o.boolean),legacyInterceptorReqResOrdering:o.transitional(o.boolean)},!1);if(W!=null)if(J.isFunction(W))G.paramsSerializer={serialize:W};else W4.assertOptions(W,{encode:o.function,serialize:o.function},!0);if(G.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)G.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else G.allowAbsoluteUrls=!0;W4.assertOptions(G,{baseUrl:o.spelling("baseURL"),withXsrfToken:o.spelling("withXSRFToken")},!0),G.method=(G.method||this.defaults.method||"get").toLowerCase();let Z=Q&&J.merge(Q.common,Q[G.method]);Q&&J.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete Q[U]}),G.headers=j.concat(Z,Q);let X=[],K=!0;this.interceptors.request.forEach(function(P){if(typeof P.runWhen==="function"&&P.runWhen(G)===!1)return;K=K&&P.synchronous;let S=G.transitional||B0;if(S&&S.legacyInterceptorReqResOrdering)X.unshift(P.fulfilled,P.rejected);else X.push(P.fulfilled,P.rejected)});let M=[];this.interceptors.response.forEach(function(P){M.push(P.fulfilled,P.rejected)});let z,N=0,F;if(!K){let U=[O4.bind(this),void 0];U.unshift(...X),U.push(...M),F=U.length,z=Promise.resolve(G);while(N<F)z=z.then(U[N++],U[N++]);return z}F=X.length;let B=G;while(N<F){let U=X[N++],P=X[N++];try{B=U(B)}catch(S){P.call(this,S);break}}try{z=O4.call(this,B)}catch(U){return Promise.reject(U)}N=0,F=M.length;while(N<F)z=z.then(M[N++],M[N++]);return z}getUri($){$=Q0(this.defaults,$);let G=P0($.baseURL,$.url,$.allowAbsoluteUrls);return w0(G,$.params,$.paramsSerializer)}}var o,Z4;var V6=C(()=>{E();V4();u1();z6();R4();w4();I6();G0();c0();o=W4.validators;J.forEach(["delete","get","head","options"],function(G){Q4.prototype[G]=function(Y,W){return this.request(Q0(W||{},{method:G,url:Y,data:(W||{}).data}))}});J.forEach(["post","put","patch","query"],function(G){function Y(W){return function(Z,X,K){return this.request(Q0(K||{},{method:G,headers:W?{"Content-Type":"multipart/form-data"}:{},url:Z,data:X}))}}if(Q4.prototype[G]=Y(),G!=="query")Q4.prototype[G+"Form"]=Y(!0)});Z4=Q4});class L1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let G;this.promise=new Promise(function(Q){G=Q});let Y=this;this.promise.then((W)=>{if(!Y._listeners)return;let Q=Y._listeners.length;while(Q-- >0)Y._listeners[Q](W);Y._listeners=null}),this.promise.then=(W)=>{let Q,Z=new Promise((X)=>{Y.subscribe(X),Q=X}).then(W);return Z.cancel=function(){Y.unsubscribe(Q)},Z},$(function(Q,Z,X){if(Y.reason)return;Y.reason=new s(Q,Z,X),G(Y.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let G=this._listeners.indexOf($);if(G!==-1)this._listeners.splice(G,1)}toAbortSignal(){let $=new AbortController,G=(Y)=>{$.abort(Y)};return this.subscribe(G),$.signal.unsubscribe=()=>this.unsubscribe(G),$.signal}static source(){let $;return{token:new L1(function(W){$=W}),cancel:$}}}var L6;var F6=C(()=>{S0();L6=L1});function F1($){return function(Y){return $.apply(null,Y)}}var U6=()=>{};function U1($){return J.isObject($)&&$.isAxiosError===!0}var w6=C(()=>{E()});var w1,S6;var P6=C(()=>{w1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(w1).forEach(([$,G])=>{w1[G]=$});S6=w1});function D6($){let G=new Z4($),Y=y0(Z4.prototype.request,G);return J.extend(Y,Z4.prototype,G,{allOwnKeys:!0}),J.extend(Y,G,null,{allOwnKeys:!0}),Y.create=function(Q){return D6(Q0($,Q))},Y}var y,C6;var R6=C(()=>{E();E4();V6();R4();F4();c4();S0();F6();i4();e0();p0();t();U6();w6();G0();I1();P6();y=D6(A0);y.Axios=Z4;y.CanceledError=s;y.CancelToken=L6;y.isCancel=i0;y.VERSION=K0;y.toFormData=z0;y.AxiosError=I;y.Cancel=y.CanceledError;y.all=function(G){return Promise.all(G)};y.spread=F1;y.isAxiosError=U1;y.mergeConfig=Q0;y.AxiosHeaders=j;y.formToJSON=($)=>L4(J.isHTMLForm($)?new FormData($):$);y.getAdapter=q4.getAdapter;y.HttpStatusCode=S6;y.default=y;C6=y});var MW,zW,BW,IW,VW,LW,FW,UW,wW,SW,PW,DW,CW,RW,_W,TW,qW;var Q7=C(()=>{R6();({Axios:MW,AxiosError:zW,CanceledError:BW,isCancel:IW,CancelToken:VW,VERSION:LW,all:FW,Cancel:UW,isAxiosError:wW,spread:SW,toFormData:PW,AxiosHeaders:DW,HttpStatusCode:CW,formToJSON:RW,getAdapter:_W,mergeConfig:TW,create:qW}=C6)});
|
|
18
|
-
export{C6 as ima,MW as jma,zW as kma,BW as lma,IW as mma,VW as nma,LW as oma,FW as pma,UW as qma,wW as rma,SW as sma,PW as tma,DW as uma,CW as vma,RW as wma,_W as xma,TW as yma,qW as zma,Q7 as Ama};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{ng as LJ,og as WQ}from"./cli-0.5.8-mgzx32hk.mjs";import{pg as hJ,qg as RQ}from"./cli-0.5.8-d3t3qcax.mjs";import{rg as PJ,sg as hQ}from"./cli-0.5.8-p9vc4jd4.mjs";import{tg as aq,ug as lJ}from"./cli-0.5.8-0a4sdrgm.mjs";import{vg as Fq,wg as iq,xg as $J}from"./cli-0.5.8-s7px34xg.mjs";import{yg as WJ,zg as HQ}from"./cli-0.5.8-4n26wzd5.mjs";import{$D as FJ,Bt as g,CM as Aq,Et as yQ,FM as oJ,Jm as GJ,Km as KQ,SP as wq,WP as sq,YD as vq,ZD as BQ,ZP as tq,_D as UJ,aE as wJ,at as uq,bE as FQ,bt as mq,cr as KJ,dr as VQ,dt as pq,en as P,er as VJ,et as fJ,fn as Tq,fr as XJ,gr as XQ,jQ as nJ,nG as HJ,oG as RJ,oM as eq,pG as wQ,qM as iJ}from"./cli-0.5.8-4hvxb5dp.mjs";import{SQ as yJ,UQ as NJ,XQ as NQ}from"./cli-0.5.8-et8r95zv.mjs";import{RS as BJ,VS as UQ}from"./cli-0.5.8-3qjtx8w8.mjs";import{fU as YJ,gU as YQ}from"./cli-0.5.8-3fnpjffd.mjs";import{VU as zJ,WU as zQ,cV as Mq,dV as GQ}from"./cli-0.5.8-60e57smp.mjs";import{RW as y,TW as Q,wX as Oq,yV as Pq}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as h,XY as Y,YY as Z,ZY as c}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as ZQ}from"./cli-0.5.8-6epmns99.mjs";import{V1 as cJ,h2 as ZJ,i2 as QQ,w1 as rq}from"./cli-0.5.8-rddkqxh8.mjs";import{G7 as Iq,K5 as $,L5 as tJ,X_ as QJ,a8 as qQ,f$ as JQ,j_ as gq,k_ as dJ,n_ as xq,v_ as TJ}from"./cli-0.5.8-qf19nfhv.mjs";import{$fa as JJ,mga as sJ}from"./cli-0.5.8-gm4jqzfs.mjs";import{Jla as eJ,Yha as qJ}from"./cli-0.5.8-bhc8vwxd.mjs";import{vna as Bq,zna as Uq}from"./cli-0.5.8-hkfwdsmy.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
-
`)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
-
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
-
export{pZ as lg,cQ as mg};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{Ana as P,vna as gq,xna as H}from"./cli-0.5.8-hkfwdsmy.mjs";var W=H((n)=>{class E extends Error{constructor(q,z,J){super(J);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=z,this.exitCode=q,this.nestedError=void 0}}class k extends E{constructor(q){super(1,"commander.invalidArgument",q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}n.CommanderError=E;n.InvalidArgumentError=k});var j=H((zq)=>{var{InvalidArgumentError:e}=W();class C{constructor(q,z){switch(this.description=z||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,q[0]){case"<":this.required=!0,this._name=q.slice(1,-1);break;case"[":this.required=!1,this._name=q.slice(1,-1);break;default:this.required=!0,this._name=q;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(q,z){if(z===this.defaultValue||!Array.isArray(z))return[q];return z.push(q),z}default(q,z){return this.defaultValue=q,this.defaultValueDescription=z,this}argParser(q){return this.parseArg=q,this}choices(q){return this.argChoices=q.slice(),this.parseArg=(z,J)=>{if(!this.argChoices.includes(z))throw new e(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(z,J);return z},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function qq(q){let z=q.name()+(q.variadic===!0?"...":"");return q.required?"<"+z+">":"["+z+"]"}zq.Argument=C;zq.humanReadableArgName=qq});var V=H((Yq)=>{var{humanReadableArgName:Xq}=j();class O{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(q){this.helpWidth=this.helpWidth??q.helpWidth??80}visibleCommands(q){let z=q.commands.filter((Q)=>!Q._hidden),J=q._getHelpCommand();if(J&&!J._hidden)z.push(J);if(this.sortSubcommands)z.sort((Q,X)=>{return Q.name().localeCompare(X.name())});return z}compareOptions(q,z){let J=(Q)=>{return Q.short?Q.short.replace(/^-/,""):Q.long.replace(/^--/,"")};return J(q).localeCompare(J(z))}visibleOptions(q){let z=q.options.filter((Q)=>!Q.hidden),J=q._getHelpOption();if(J&&!J.hidden){let Q=J.short&&q._findOption(J.short),X=J.long&&q._findOption(J.long);if(!Q&&!X)z.push(J);else if(J.long&&!X)z.push(q.createOption(J.long,J.description));else if(J.short&&!Q)z.push(q.createOption(J.short,J.description))}if(this.sortOptions)z.sort(this.compareOptions);return z}visibleGlobalOptions(q){if(!this.showGlobalOptions)return[];let z=[];for(let J=q.parent;J;J=J.parent){let Q=J.options.filter((X)=>!X.hidden);z.push(...Q)}if(this.sortOptions)z.sort(this.compareOptions);return z}visibleArguments(q){if(q._argsDescription)q.registeredArguments.forEach((z)=>{z.description=z.description||q._argsDescription[z.name()]||""});if(q.registeredArguments.find((z)=>z.description))return q.registeredArguments;return[]}subcommandTerm(q){let z=q.registeredArguments.map((J)=>Xq(J)).join(" ");return q._name+(q._aliases[0]?"|"+q._aliases[0]:"")+(q.options.length?" [options]":"")+(z?" "+z:"")}optionTerm(q){return q.flags}argumentTerm(q){return q.name()}longestSubcommandTermLength(q,z){return z.visibleCommands(q).reduce((J,Q)=>{return Math.max(J,this.displayWidth(z.styleSubcommandTerm(z.subcommandTerm(Q))))},0)}longestOptionTermLength(q,z){return z.visibleOptions(q).reduce((J,Q)=>{return Math.max(J,this.displayWidth(z.styleOptionTerm(z.optionTerm(Q))))},0)}longestGlobalOptionTermLength(q,z){return z.visibleGlobalOptions(q).reduce((J,Q)=>{return Math.max(J,this.displayWidth(z.styleOptionTerm(z.optionTerm(Q))))},0)}longestArgumentTermLength(q,z){return z.visibleArguments(q).reduce((J,Q)=>{return Math.max(J,this.displayWidth(z.styleArgumentTerm(z.argumentTerm(Q))))},0)}commandUsage(q){let z=q._name;if(q._aliases[0])z=z+"|"+q._aliases[0];let J="";for(let Q=q.parent;Q;Q=Q.parent)J=Q.name()+" "+J;return J+z+" "+q.usage()}commandDescription(q){return q.description()}subcommandDescription(q){return q.summary()||q.description()}optionDescription(q){let z=[];if(q.argChoices)z.push(`choices: ${q.argChoices.map((J)=>JSON.stringify(J)).join(", ")}`);if(q.defaultValue!==void 0){if(q.required||q.optional||q.isBoolean()&&typeof q.defaultValue==="boolean")z.push(`default: ${q.defaultValueDescription||JSON.stringify(q.defaultValue)}`)}if(q.presetArg!==void 0&&q.optional)z.push(`preset: ${JSON.stringify(q.presetArg)}`);if(q.envVar!==void 0)z.push(`env: ${q.envVar}`);if(z.length>0){let J=`(${z.join(", ")})`;if(q.description)return`${q.description} ${J}`;return J}return q.description}argumentDescription(q){let z=[];if(q.argChoices)z.push(`choices: ${q.argChoices.map((J)=>JSON.stringify(J)).join(", ")}`);if(q.defaultValue!==void 0)z.push(`default: ${q.defaultValueDescription||JSON.stringify(q.defaultValue)}`);if(z.length>0){let J=`(${z.join(", ")})`;if(q.description)return`${q.description} ${J}`;return J}return q.description}formatItemList(q,z,J){if(z.length===0)return[];return[J.styleTitle(q),...z,""]}groupItems(q,z,J){let Q=new Map;return q.forEach((X)=>{let Y=J(X);if(!Q.has(Y))Q.set(Y,[])}),z.forEach((X)=>{let Y=J(X);if(!Q.has(Y))Q.set(Y,[]);Q.get(Y).push(X)}),Q}formatHelp(q,z){let J=z.padWidth(q,z),Q=z.helpWidth??80;function X(R,B){return z.formatItem(R,J,B,z)}let Y=[`${z.styleTitle("Usage:")} ${z.styleUsage(z.commandUsage(q))}`,""],Z=z.commandDescription(q);if(Z.length>0)Y=Y.concat([z.boxWrap(z.styleCommandDescription(Z),Q),""]);let _=z.visibleArguments(q).map((R)=>{return X(z.styleArgumentTerm(z.argumentTerm(R)),z.styleArgumentDescription(z.argumentDescription(R)))});if(Y=Y.concat(this.formatItemList("Arguments:",_,z)),this.groupItems(q.options,z.visibleOptions(q),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let S=R.map((K)=>{return X(z.styleOptionTerm(z.optionTerm(K)),z.styleOptionDescription(z.optionDescription(K)))});Y=Y.concat(this.formatItemList(B,S,z))}),z.showGlobalOptions){let R=z.visibleGlobalOptions(q).map((B)=>{return X(z.styleOptionTerm(z.optionTerm(B)),z.styleOptionDescription(z.optionDescription(B)))});Y=Y.concat(this.formatItemList("Global Options:",R,z))}return this.groupItems(q.commands,z.visibleCommands(q),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let S=R.map((K)=>{return X(z.styleSubcommandTerm(z.subcommandTerm(K)),z.styleSubcommandDescription(z.subcommandDescription(K)))});Y=Y.concat(this.formatItemList(B,S,z))}),Y.join(`
|
|
2
|
-
`)}displayWidth(q){return f(q).length}styleTitle(q){return q}styleUsage(q){return q.split(" ").map((z)=>{if(z==="[options]")return this.styleOptionText(z);if(z==="[command]")return this.styleSubcommandText(z);if(z[0]==="["||z[0]==="<")return this.styleArgumentText(z);return this.styleCommandText(z)}).join(" ")}styleCommandDescription(q){return this.styleDescriptionText(q)}styleOptionDescription(q){return this.styleDescriptionText(q)}styleSubcommandDescription(q){return this.styleDescriptionText(q)}styleArgumentDescription(q){return this.styleDescriptionText(q)}styleDescriptionText(q){return q}styleOptionTerm(q){return this.styleOptionText(q)}styleSubcommandTerm(q){return q.split(" ").map((z)=>{if(z==="[options]")return this.styleOptionText(z);if(z[0]==="["||z[0]==="<")return this.styleArgumentText(z);return this.styleSubcommandText(z)}).join(" ")}styleArgumentTerm(q){return this.styleArgumentText(q)}styleOptionText(q){return q}styleArgumentText(q){return q}styleSubcommandText(q){return q}styleCommandText(q){return q}padWidth(q,z){return Math.max(z.longestOptionTermLength(q,z),z.longestGlobalOptionTermLength(q,z),z.longestSubcommandTermLength(q,z),z.longestArgumentTermLength(q,z))}preformatted(q){return/\n[^\S\r\n]/.test(q)}formatItem(q,z,J,Q){let Y=" ".repeat(2);if(!J)return Y+q;let Z=q.padEnd(z+q.length-Q.displayWidth(q)),_=2,$=(this.helpWidth??80)-z-_-2,R;if($<this.minWidthToWrap||Q.preformatted(J))R=J;else R=Q.boxWrap(J,$).replace(/\n/g,`
|
|
3
|
-
`+" ".repeat(z+_));return Y+Z+" ".repeat(_)+R.replace(/\n/g,`
|
|
4
|
-
${Y}`)}boxWrap(q,z){if(z<this.minWidthToWrap)return q;let J=q.split(/\r\n|\n/),Q=/[\s]*[^\s]+/g,X=[];return J.forEach((Y)=>{let Z=Y.match(Q);if(Z===null){X.push("");return}let _=[Z.shift()],T=this.displayWidth(_[0]);Z.forEach(($)=>{let R=this.displayWidth($);if(T+R<=z){_.push($),T+=R;return}X.push(_.join(""));let B=$.trimStart();_=[B],T=this.displayWidth(B)}),X.push(_.join(""))}),X.join(`
|
|
5
|
-
`)}}function f(q){let z=/\x1b\[\d*(;\d*)*m/g;return q.replace(z,"")}Yq.Help=O;Yq.stripColor=f});var D=H((Tq)=>{var{InvalidArgumentError:_q}=W();class b{constructor(q,z){this.flags=q,this.description=z||"",this.required=q.includes("<"),this.optional=q.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(q),this.mandatory=!1;let J=Rq(q);if(this.short=J.shortFlag,this.long=J.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(q,z){return this.defaultValue=q,this.defaultValueDescription=z,this}preset(q){return this.presetArg=q,this}conflicts(q){return this.conflictsWith=this.conflictsWith.concat(q),this}implies(q){let z=q;if(typeof q==="string")z={[q]:!0};return this.implied=Object.assign(this.implied||{},z),this}env(q){return this.envVar=q,this}argParser(q){return this.parseArg=q,this}makeOptionMandatory(q=!0){return this.mandatory=!!q,this}hideHelp(q=!0){return this.hidden=!!q,this}_collectValue(q,z){if(z===this.defaultValue||!Array.isArray(z))return[q];return z.push(q),z}choices(q){return this.argChoices=q.slice(),this.parseArg=(z,J)=>{if(!this.argChoices.includes(z))throw new _q(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(z,J);return z},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return x(this.name().replace(/^no-/,""));return x(this.name())}helpGroup(q){return this.helpGroupHeading=q,this}is(q){return this.short===q||this.long===q}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class v{constructor(q){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,q.forEach((z)=>{if(z.negate)this.negativeOptions.set(z.attributeName(),z);else this.positiveOptions.set(z.attributeName(),z)}),this.negativeOptions.forEach((z,J)=>{if(this.positiveOptions.has(J))this.dualOptions.add(J)})}valueFromOption(q,z){let J=z.attributeName();if(!this.dualOptions.has(J))return!0;let Q=this.negativeOptions.get(J).presetArg,X=Q!==void 0?Q:!1;return z.negate===(X===q)}}function x(q){return q.split("-").reduce((z,J)=>{return z+J[0].toUpperCase()+J.slice(1)})}function Rq(q){let z,J,Q=/^-[^-]$/,X=/^--[^-]/,Y=q.split(/[ |,]+/).concat("guard");if(Q.test(Y[0]))z=Y.shift();if(X.test(Y[0]))J=Y.shift();if(!z&&Q.test(Y[0]))z=Y.shift();if(!z&&X.test(Y[0]))z=J,J=Y.shift();if(Y[0].startsWith("-")){let Z=Y[0],_=`option creation failed due to '${Z}' in option flags '${q}'`;if(/^-[^-][^-]/.test(Z))throw Error(`${_}
|
|
6
|
-
- a short flag is a single dash and a single character
|
|
7
|
-
- either use a single dash and a single character (for a short flag)
|
|
8
|
-
- or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(Q.test(Z))throw Error(`${_}
|
|
9
|
-
- too many short flags`);if(X.test(Z))throw Error(`${_}
|
|
10
|
-
- too many long flags`);throw Error(`${_}
|
|
11
|
-
- unrecognised flag format`)}if(z===void 0&&J===void 0)throw Error(`option creation failed due to no flags found in '${q}'.`);return{shortFlag:z,longFlag:J}}Tq.Option=b;Tq.DualOptions=v});var h=H((Mq)=>{function Uq(q,z){if(Math.abs(q.length-z.length)>3)return Math.max(q.length,z.length);let J=[];for(let Q=0;Q<=q.length;Q++)J[Q]=[Q];for(let Q=0;Q<=z.length;Q++)J[0][Q]=Q;for(let Q=1;Q<=z.length;Q++)for(let X=1;X<=q.length;X++){let Y=1;if(q[X-1]===z[Q-1])Y=0;else Y=1;if(J[X][Q]=Math.min(J[X-1][Q]+1,J[X][Q-1]+1,J[X-1][Q-1]+Y),X>1&&Q>1&&q[X-1]===z[Q-2]&&q[X-2]===z[Q-1])J[X][Q]=Math.min(J[X][Q],J[X-2][Q-2]+1)}return J[q.length][z.length]}function Lq(q,z){if(!z||z.length===0)return"";z=Array.from(new Set(z));let J=q.startsWith("--");if(J)q=q.slice(2),z=z.map((Z)=>Z.slice(2));let Q=[],X=3,Y=0.4;if(z.forEach((Z)=>{if(Z.length<=1)return;let _=Uq(q,Z),T=Math.max(q.length,Z.length);if((T-_)/T>Y){if(_<X)X=_,Q=[Z];else if(_===X)Q.push(Z)}}),Q.sort((Z,_)=>Z.localeCompare(_)),J)Q=Q.map((Z)=>`--${Z}`);if(Q.length>1)return`
|
|
12
|
-
(Did you mean one of ${Q.join(", ")}?)`;if(Q.length===1)return`
|
|
13
|
-
(Did you mean ${Q[0]}?)`;return""}Mq.suggestSimilar=Lq});var l=H((Eq)=>{var Kq=P("node:events").EventEmitter,N=P("node:child_process"),M=P("node:path"),I=P("node:fs"),G=P("node:process"),{Argument:Sq,humanReadableArgName:Wq}=j(),{CommanderError:F}=W(),{Help:Pq,stripColor:jq}=V(),{Option:u,DualOptions:Iq}=D(),{suggestSimilar:g}=h();class A extends Kq{constructor(q){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=q||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(z)=>G.stdout.write(z),writeErr:(z)=>G.stderr.write(z),outputError:(z,J)=>J(z),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>y()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>y()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(z)=>jq(z)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(q){return this._outputConfiguration=q._outputConfiguration,this._helpOption=q._helpOption,this._helpCommand=q._helpCommand,this._helpConfiguration=q._helpConfiguration,this._exitCallback=q._exitCallback,this._storeOptionsAsProperties=q._storeOptionsAsProperties,this._combineFlagAndOptionalValue=q._combineFlagAndOptionalValue,this._allowExcessArguments=q._allowExcessArguments,this._enablePositionalOptions=q._enablePositionalOptions,this._showHelpAfterError=q._showHelpAfterError,this._showSuggestionAfterError=q._showSuggestionAfterError,this}_getCommandAndAncestors(){let q=[];for(let z=this;z;z=z.parent)q.push(z);return q}command(q,z,J){let Q=z,X=J;if(typeof Q==="object"&&Q!==null)X=Q,Q=null;X=X||{};let[,Y,Z]=q.match(/([^ ]+) *(.*)/),_=this.createCommand(Y);if(Q)_.description(Q),_._executableHandler=!0;if(X.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(X.noHelp||X.hidden),_._executableFile=X.executableFile||null,Z)_.arguments(Z);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),Q)return this;return _}createCommand(q){return new A(q)}createHelp(){return Object.assign(new Pq,this.configureHelp())}configureHelp(q){if(q===void 0)return this._helpConfiguration;return this._helpConfiguration=q,this}configureOutput(q){if(q===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...q},this}showHelpAfterError(q=!0){if(typeof q!=="string")q=!!q;return this._showHelpAfterError=q,this}showSuggestionAfterError(q=!0){return this._showSuggestionAfterError=!!q,this}addCommand(q,z){if(!q._name)throw Error(`Command passed to .addCommand() must have a name
|
|
14
|
-
- specify the name in Command constructor or using .name()`);if(z=z||{},z.isDefault)this._defaultCommandName=q._name;if(z.noHelp||z.hidden)q._hidden=!0;return this._registerCommand(q),q.parent=this,q._checkForBrokenPassThrough(),this}createArgument(q,z){return new Sq(q,z)}argument(q,z,J,Q){let X=this.createArgument(q,z);if(typeof J==="function")X.default(Q).argParser(J);else X.default(J);return this.addArgument(X),this}arguments(q){return q.trim().split(/ +/).forEach((z)=>{this.argument(z)}),this}addArgument(q){let z=this.registeredArguments.slice(-1)[0];if(z?.variadic)throw Error(`only the last argument can be variadic '${z.name()}'`);if(q.required&&q.defaultValue!==void 0&&q.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${q.name()}'`);return this.registeredArguments.push(q),this}helpCommand(q,z){if(typeof q==="boolean"){if(this._addImplicitHelpCommand=q,q&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let J=q??"help [command]",[,Q,X]=J.match(/([^ ]+) *(.*)/),Y=z??"display help for command",Z=this.createCommand(Q);if(Z.helpOption(!1),X)Z.arguments(X);if(Y)Z.description(Y);if(this._addImplicitHelpCommand=!0,this._helpCommand=Z,q||z)this._initCommandGroup(Z);return this}addHelpCommand(q,z){if(typeof q!=="object")return this.helpCommand(q,z),this;return this._addImplicitHelpCommand=!0,this._helpCommand=q,this._initCommandGroup(q),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(q,z){let J=["preSubcommand","preAction","postAction"];if(!J.includes(q))throw Error(`Unexpected value for event passed to hook : '${q}'.
|
|
15
|
-
Expecting one of '${J.join("', '")}'`);if(this._lifeCycleHooks[q])this._lifeCycleHooks[q].push(z);else this._lifeCycleHooks[q]=[z];return this}exitOverride(q){if(q)this._exitCallback=q;else this._exitCallback=(z)=>{if(z.code!=="commander.executeSubCommandAsync")throw z};return this}_exit(q,z,J){if(this._exitCallback)this._exitCallback(new F(q,z,J));G.exit(q)}action(q){let z=(J)=>{let Q=this.registeredArguments.length,X=J.slice(0,Q);if(this._storeOptionsAsProperties)X[Q]=this;else X[Q]=this.opts();return X.push(this),q.apply(this,X)};return this._actionHandler=z,this}createOption(q,z){return new u(q,z)}_callParseArg(q,z,J,Q){try{return q.parseArg(z,J)}catch(X){if(X.code==="commander.invalidArgument"){let Y=`${Q} ${X.message}`;this.error(Y,{exitCode:X.exitCode,code:X.code})}throw X}}_registerOption(q){let z=q.short&&this._findOption(q.short)||q.long&&this._findOption(q.long);if(z){let J=q.long&&this._findOption(q.long)?q.long:q.short;throw Error(`Cannot add option '${q.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${J}'
|
|
16
|
-
- already used by option '${z.flags}'`)}this._initOptionGroup(q),this.options.push(q)}_registerCommand(q){let z=(Q)=>{return[Q.name()].concat(Q.aliases())},J=z(q).find((Q)=>this._findCommand(Q));if(J){let Q=z(this._findCommand(J)).join("|"),X=z(q).join("|");throw Error(`cannot add command '${X}' as already have command '${Q}'`)}this._initCommandGroup(q),this.commands.push(q)}addOption(q){this._registerOption(q);let z=q.name(),J=q.attributeName();if(q.negate){let X=q.long.replace(/^--no-/,"--");if(!this._findOption(X))this.setOptionValueWithSource(J,q.defaultValue===void 0?!0:q.defaultValue,"default")}else if(q.defaultValue!==void 0)this.setOptionValueWithSource(J,q.defaultValue,"default");let Q=(X,Y,Z)=>{if(X==null&&q.presetArg!==void 0)X=q.presetArg;let _=this.getOptionValue(J);if(X!==null&&q.parseArg)X=this._callParseArg(q,X,_,Y);else if(X!==null&&q.variadic)X=q._collectValue(X,_);if(X==null)if(q.negate)X=!1;else if(q.isBoolean()||q.optional)X=!0;else X="";this.setOptionValueWithSource(J,X,Z)};if(this.on("option:"+z,(X)=>{let Y=`error: option '${q.flags}' argument '${X}' is invalid.`;Q(X,Y,"cli")}),q.envVar)this.on("optionEnv:"+z,(X)=>{let Y=`error: option '${q.flags}' value '${X}' from env '${q.envVar}' is invalid.`;Q(X,Y,"env")});return this}_optionEx(q,z,J,Q,X){if(typeof z==="object"&&z instanceof u)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Y=this.createOption(z,J);if(Y.makeOptionMandatory(!!q.mandatory),typeof Q==="function")Y.default(X).argParser(Q);else if(Q instanceof RegExp){let Z=Q;Q=(_,T)=>{let $=Z.exec(_);return $?$[0]:T},Y.default(X).argParser(Q)}else Y.default(Q);return this.addOption(Y)}option(q,z,J,Q){return this._optionEx({},q,z,J,Q)}requiredOption(q,z,J,Q){return this._optionEx({mandatory:!0},q,z,J,Q)}combineFlagAndOptionalValue(q=!0){return this._combineFlagAndOptionalValue=!!q,this}allowUnknownOption(q=!0){return this._allowUnknownOption=!!q,this}allowExcessArguments(q=!0){return this._allowExcessArguments=!!q,this}enablePositionalOptions(q=!0){return this._enablePositionalOptions=!!q,this}passThroughOptions(q=!0){return this._passThroughOptions=!!q,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(q=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!q,this}getOptionValue(q){if(this._storeOptionsAsProperties)return this[q];return this._optionValues[q]}setOptionValue(q,z){return this.setOptionValueWithSource(q,z,void 0)}setOptionValueWithSource(q,z,J){if(this._storeOptionsAsProperties)this[q]=z;else this._optionValues[q]=z;return this._optionValueSources[q]=J,this}getOptionValueSource(q){return this._optionValueSources[q]}getOptionValueSourceWithGlobals(q){let z;return this._getCommandAndAncestors().forEach((J)=>{if(J.getOptionValueSource(q)!==void 0)z=J.getOptionValueSource(q)}),z}_prepareUserArgs(q,z){if(q!==void 0&&!Array.isArray(q))throw Error("first parameter to parse must be array or undefined");if(z=z||{},q===void 0&&z.from===void 0){if(G.versions?.electron)z.from="electron";let Q=G.execArgv??[];if(Q.includes("-e")||Q.includes("--eval")||Q.includes("-p")||Q.includes("--print"))z.from="eval"}if(q===void 0)q=G.argv;this.rawArgs=q.slice();let J;switch(z.from){case void 0:case"node":this._scriptPath=q[1],J=q.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=q[1],J=q.slice(2);else J=q.slice(1);break;case"user":J=q.slice(0);break;case"eval":J=q.slice(1);break;default:throw Error(`unexpected parse option { from: '${z.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",J}parse(q,z){this._prepareForParse();let J=this._prepareUserArgs(q,z);return this._parseCommand([],J),this}async parseAsync(q,z){this._prepareForParse();let J=this._prepareUserArgs(q,z);return await this._parseCommand([],J),this}_prepareForParse(){if(this._savedState===null)this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
|
|
17
|
-
- either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(q,z,J){if(I.existsSync(q))return;let Q=z?`searched for local subcommand relative to directory '${z}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",X=`'${q}' does not exist
|
|
18
|
-
- if '${J}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
19
|
-
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
20
|
-
- ${Q}`;throw Error(X)}_executeSubCommand(q,z){z=z.slice();let J=!1,Q=[".js",".ts",".tsx",".mjs",".cjs"];function X($,R){let B=M.resolve($,R);if(I.existsSync(B))return B;if(Q.includes(M.extname(R)))return;let S=Q.find((K)=>I.existsSync(`${B}${K}`));if(S)return`${B}${S}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=q._executableFile||`${this._name}-${q._name}`,Z=this._executableDir||"";if(this._scriptPath){let $;try{$=I.realpathSync(this._scriptPath)}catch{$=this._scriptPath}Z=M.resolve(M.dirname($),Z)}if(Z){let $=X(Z,Y);if(!$&&!q._executableFile&&this._scriptPath){let R=M.basename(this._scriptPath,M.extname(this._scriptPath));if(R!==this._name)$=X(Z,`${R}-${q._name}`)}Y=$||Y}J=Q.includes(M.extname(Y));let _;if(G.platform!=="win32")if(J)z.unshift(Y),z=c(G.execArgv).concat(z),_=N.spawn(G.argv[0],z,{stdio:"inherit"});else _=N.spawn(Y,z,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,q._name),z.unshift(Y),z=c(G.execArgv).concat(z),_=N.spawn(G.execPath,z,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",($)=>{if($=$??1,!T)G.exit($);else T(new F($,"commander.executeSubCommandAsync","(close)"))}),_.on("error",($)=>{if($.code==="ENOENT")this._checkForMissingExecutable(Y,Z,q._name);else if($.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new F(1,"commander.executeSubCommandAsync","(error)");R.nestedError=$,T(R)}}),this.runningCommand=_}_dispatchSubcommand(q,z,J){let Q=this._findCommand(q);if(!Q)this.help({error:!0});Q._prepareForParse();let X;return X=this._chainOrCallSubCommandHook(X,Q,"preSubcommand"),X=this._chainOrCall(X,()=>{if(Q._executableHandler)this._executeSubCommand(Q,z.concat(J));else return Q._parseCommand(z,J)}),X}_dispatchHelpCommand(q){if(!q)this.help();let z=this._findCommand(q);if(z&&!z._executableHandler)z.help();return this._dispatchSubcommand(q,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((q,z)=>{if(q.required&&this.args[z]==null)this.missingArgument(q.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let q=(J,Q,X)=>{let Y=Q;if(Q!==null&&J.parseArg){let Z=`error: command-argument value '${Q}' is invalid for argument '${J.name()}'.`;Y=this._callParseArg(J,Q,X,Z)}return Y};this._checkNumberOfArguments();let z=[];this.registeredArguments.forEach((J,Q)=>{let X=J.defaultValue;if(J.variadic){if(Q<this.args.length){if(X=this.args.slice(Q),J.parseArg)X=X.reduce((Y,Z)=>{return q(J,Z,Y)},J.defaultValue)}else if(X===void 0)X=[]}else if(Q<this.args.length){if(X=this.args[Q],J.parseArg)X=q(J,X,J.defaultValue)}z[Q]=X}),this.processedArgs=z}_chainOrCall(q,z){if(q?.then&&typeof q.then==="function")return q.then(()=>z());return z()}_chainOrCallHooks(q,z){let J=q,Q=[];if(this._getCommandAndAncestors().reverse().filter((X)=>X._lifeCycleHooks[z]!==void 0).forEach((X)=>{X._lifeCycleHooks[z].forEach((Y)=>{Q.push({hookedCommand:X,callback:Y})})}),z==="postAction")Q.reverse();return Q.forEach((X)=>{J=this._chainOrCall(J,()=>{return X.callback(X.hookedCommand,this)})}),J}_chainOrCallSubCommandHook(q,z,J){let Q=q;if(this._lifeCycleHooks[J]!==void 0)this._lifeCycleHooks[J].forEach((X)=>{Q=this._chainOrCall(Q,()=>{return X(this,z)})});return Q}_parseCommand(q,z){let J=this.parseOptions(z);if(this._parseOptionsEnv(),this._parseOptionsImplied(),q=q.concat(J.operands),z=J.unknown,this.args=q.concat(z),q&&this._findCommand(q[0]))return this._dispatchSubcommand(q[0],q.slice(1),z);if(this._getHelpCommand()&&q[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(q[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(z),this._dispatchSubcommand(this._defaultCommandName,q,z);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(J.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Q=()=>{if(J.unknown.length>0)this.unknownOption(J.unknown[0])},X=`command:${this.name()}`;if(this._actionHandler){Q(),this._processArguments();let Y;if(Y=this._chainOrCallHooks(Y,"preAction"),Y=this._chainOrCall(Y,()=>this._actionHandler(this.processedArgs)),this.parent)Y=this._chainOrCall(Y,()=>{this.parent.emit(X,q,z)});return Y=this._chainOrCallHooks(Y,"postAction"),Y}if(this.parent?.listenerCount(X))Q(),this._processArguments(),this.parent.emit(X,q,z);else if(q.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",q,z);if(this.listenerCount("command:*"))this.emit("command:*",q,z);else if(this.commands.length)this.unknownCommand();else Q(),this._processArguments()}else if(this.commands.length)Q(),this.help({error:!0});else Q(),this._processArguments()}_findCommand(q){if(!q)return;return this.commands.find((z)=>z._name===q||z._aliases.includes(q))}_findOption(q){return this.options.find((z)=>z.is(q))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((q)=>{q.options.forEach((z)=>{if(z.mandatory&&q.getOptionValue(z.attributeName())===void 0)q.missingMandatoryOptionValue(z)})})}_checkForConflictingLocalOptions(){let q=this.options.filter((J)=>{let Q=J.attributeName();if(this.getOptionValue(Q)===void 0)return!1;return this.getOptionValueSource(Q)!=="default"});q.filter((J)=>J.conflictsWith.length>0).forEach((J)=>{let Q=q.find((X)=>J.conflictsWith.includes(X.attributeName()));if(Q)this._conflictingOption(J,Q)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((q)=>{q._checkForConflictingLocalOptions()})}parseOptions(q){let z=[],J=[],Q=z;function X($){return $.length>1&&$[0]==="-"}let Y=($)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test($))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},Z=null,_=null,T=0;while(T<q.length||_){let $=_??q[T++];if(_=null,$==="--"){if(Q===J)Q.push($);Q.push(...q.slice(T));break}if(Z&&(!X($)||Y($))){this.emit(`option:${Z.name()}`,$);continue}if(Z=null,X($)){let R=this._findOption($);if(R){if(R.required){let B=q[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<q.length&&(!X(q[T])||Y(q[T])))B=q[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);Z=R.variadic?R:null;continue}}if($.length>2&&$[0]==="-"&&$[1]!=="-"){let R=this._findOption(`-${$[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,$.slice(2));else this.emit(`option:${R.name()}`),_=`-${$.slice(2)}`;continue}}if(/^--[^=]+=/.test($)){let R=$.indexOf("="),B=this._findOption($.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,$.slice(R+1));continue}}if(Q===z&&X($)&&!(this.commands.length===0&&Y($)))Q=J;if((this._enablePositionalOptions||this._passThroughOptions)&&z.length===0&&J.length===0){if(this._findCommand($)){z.push($),J.push(...q.slice(T));break}else if(this._getHelpCommand()&&$===this._getHelpCommand().name()){z.push($,...q.slice(T));break}else if(this._defaultCommandName){J.push($,...q.slice(T));break}}if(this._passThroughOptions){Q.push($,...q.slice(T));break}Q.push($)}return{operands:z,unknown:J}}opts(){if(this._storeOptionsAsProperties){let q={},z=this.options.length;for(let J=0;J<z;J++){let Q=this.options[J].attributeName();q[Q]=Q===this._versionOptionName?this._version:this[Q]}return q}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((q,z)=>Object.assign(q,z.opts()),{})}error(q,z){if(this._outputConfiguration.outputError(`${q}
|
|
21
|
-
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
22
|
-
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
|
|
23
|
-
`),this.outputHelp({error:!0});let J=z||{},Q=J.exitCode||1,X=J.code||"commander.error";this._exit(Q,X,q)}_parseOptionsEnv(){this.options.forEach((q)=>{if(q.envVar&&q.envVar in G.env){let z=q.attributeName();if(this.getOptionValue(z)===void 0||["default","config","env"].includes(this.getOptionValueSource(z)))if(q.required||q.optional)this.emit(`optionEnv:${q.name()}`,G.env[q.envVar]);else this.emit(`optionEnv:${q.name()}`)}})}_parseOptionsImplied(){let q=new Iq(this.options),z=(J)=>{return this.getOptionValue(J)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(J))};this.options.filter((J)=>J.implied!==void 0&&z(J.attributeName())&&q.valueFromOption(this.getOptionValue(J.attributeName()),J)).forEach((J)=>{Object.keys(J.implied).filter((Q)=>!z(Q)).forEach((Q)=>{this.setOptionValueWithSource(Q,J.implied[Q],"implied")})})}missingArgument(q){let z=`error: missing required argument '${q}'`;this.error(z,{code:"commander.missingArgument"})}optionMissingArgument(q){let z=`error: option '${q.flags}' argument missing`;this.error(z,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(q){let z=`error: required option '${q.flags}' not specified`;this.error(z,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(q,z){let J=(Y)=>{let Z=Y.attributeName(),_=this.getOptionValue(Z),T=this.options.find((R)=>R.negate&&Z===R.attributeName()),$=this.options.find((R)=>!R.negate&&Z===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return $||Y},Q=(Y)=>{let Z=J(Y),_=Z.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${Z.envVar}'`;return`option '${Z.flags}'`},X=`error: ${Q(q)} cannot be used with ${Q(z)}`;this.error(X,{code:"commander.conflictingOption"})}unknownOption(q){if(this._allowUnknownOption)return;let z="";if(q.startsWith("--")&&this._showSuggestionAfterError){let Q=[],X=this;do{let Y=X.createHelp().visibleOptions(X).filter((Z)=>Z.long).map((Z)=>Z.long);Q=Q.concat(Y),X=X.parent}while(X&&!X._enablePositionalOptions);z=g(q,Q)}let J=`error: unknown option '${q}'${z}`;this.error(J,{code:"commander.unknownOption"})}_excessArguments(q){if(this._allowExcessArguments)return;let z=this.registeredArguments.length,J=z===1?"":"s",X=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${z} argument${J} but got ${q.length}.`;this.error(X,{code:"commander.excessArguments"})}unknownCommand(){let q=this.args[0],z="";if(this._showSuggestionAfterError){let Q=[];this.createHelp().visibleCommands(this).forEach((X)=>{if(Q.push(X.name()),X.alias())Q.push(X.alias())}),z=g(q,Q)}let J=`error: unknown command '${q}'${z}`;this.error(J,{code:"commander.unknownCommand"})}version(q,z,J){if(q===void 0)return this._version;this._version=q,z=z||"-V, --version",J=J||"output the version number";let Q=this.createOption(z,J);return this._versionOptionName=Q.attributeName(),this._registerOption(Q),this.on("option:"+Q.name(),()=>{this._outputConfiguration.writeOut(`${q}
|
|
24
|
-
`),this._exit(0,"commander.version",q)}),this}description(q,z){if(q===void 0&&z===void 0)return this._description;if(this._description=q,z)this._argsDescription=z;return this}summary(q){if(q===void 0)return this._summary;return this._summary=q,this}alias(q){if(q===void 0)return this._aliases[0];let z=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)z=this.commands[this.commands.length-1];if(q===z._name)throw Error("Command alias can't be the same as its name");let J=this.parent?._findCommand(q);if(J){let Q=[J.name()].concat(J.aliases()).join("|");throw Error(`cannot add alias '${q}' to command '${this.name()}' as already have command '${Q}'`)}return z._aliases.push(q),this}aliases(q){if(q===void 0)return this._aliases;return q.forEach((z)=>this.alias(z)),this}usage(q){if(q===void 0){if(this._usage)return this._usage;let z=this.registeredArguments.map((J)=>{return Wq(J)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?z:[]).join(" ")}return this._usage=q,this}name(q){if(q===void 0)return this._name;return this._name=q,this}helpGroup(q){if(q===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=q,this}commandsGroup(q){if(q===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=q,this}optionsGroup(q){if(q===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=q,this}_initOptionGroup(q){if(this._defaultOptionGroup&&!q.helpGroupHeading)q.helpGroup(this._defaultOptionGroup)}_initCommandGroup(q){if(this._defaultCommandGroup&&!q.helpGroup())q.helpGroup(this._defaultCommandGroup)}nameFromFilename(q){return this._name=M.basename(q,M.extname(q)),this}executableDir(q){if(q===void 0)return this._executableDir;return this._executableDir=q,this}helpInformation(q){let z=this.createHelp(),J=this._getOutputContext(q);z.prepareContext({error:J.error,helpWidth:J.helpWidth,outputHasColors:J.hasColors});let Q=z.formatHelp(this,z);if(J.hasColors)return Q;return this._outputConfiguration.stripColor(Q)}_getOutputContext(q){q=q||{};let z=!!q.error,J,Q,X;if(z)J=(Z)=>this._outputConfiguration.writeErr(Z),Q=this._outputConfiguration.getErrHasColors(),X=this._outputConfiguration.getErrHelpWidth();else J=(Z)=>this._outputConfiguration.writeOut(Z),Q=this._outputConfiguration.getOutHasColors(),X=this._outputConfiguration.getOutHelpWidth();return{error:z,write:(Z)=>{if(!Q)Z=this._outputConfiguration.stripColor(Z);return J(Z)},hasColors:Q,helpWidth:X}}outputHelp(q){let z;if(typeof q==="function")z=q,q=void 0;let J=this._getOutputContext(q),Q={error:J.error,write:J.write,command:this};this._getCommandAndAncestors().reverse().forEach((Y)=>Y.emit("beforeAllHelp",Q)),this.emit("beforeHelp",Q);let X=this.helpInformation({error:J.error});if(z){if(X=z(X),typeof X!=="string"&&!Buffer.isBuffer(X))throw Error("outputHelp callback must return a string or a Buffer")}if(J.write(X),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",Q),this._getCommandAndAncestors().forEach((Y)=>Y.emit("afterAllHelp",Q))}helpOption(q,z){if(typeof q==="boolean"){if(q){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(q??"-h, --help",z??"display help for command"),q||z)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(q){return this._helpOption=q,this._initOptionGroup(q),this}help(q){this.outputHelp(q);let z=Number(G.exitCode??0);if(z===0&&q&&typeof q!=="function"&&q.error)z=1;this._exit(z,"commander.help","(outputHelp)")}addHelpText(q,z){let J=["beforeAll","before","after","afterAll"];if(!J.includes(q))throw Error(`Unexpected value for position to addHelpText.
|
|
25
|
-
Expecting one of '${J.join("', '")}'`);let Q=`${q}Help`;return this.on(Q,(X)=>{let Y;if(typeof z==="function")Y=z({error:X.error,command:X.command});else Y=z;if(Y)X.write(`${Y}
|
|
26
|
-
`)}),this}_outputHelpIfRequested(q){let z=this._getHelpOption();if(z&&q.find((Q)=>z.is(Q)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function c(q){return q.map((z)=>{if(!z.startsWith("--inspect"))return z;let J,Q="127.0.0.1",X="9229",Y;if((Y=z.match(/^(--inspect(-brk)?)$/))!==null)J=Y[1];else if((Y=z.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(J=Y[1],/^\d+$/.test(Y[3]))X=Y[3];else Q=Y[3];else if((Y=z.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)J=Y[1],Q=Y[3],X=Y[4];if(J&&X!=="0")return`${J}=${Q}:${parseInt(X)+1}`;return z})}function y(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}Eq.Command=A;Eq.useColor=y});var i=H((yq)=>{var{Argument:m}=j(),{Command:w}=l(),{CommanderError:Nq,InvalidArgumentError:d}=W(),{Help:Fq}=V(),{Option:p}=D();yq.program=new w;yq.createCommand=(q)=>new w(q);yq.createOption=(q,z)=>new p(q,z);yq.createArgument=(q,z)=>new m(q,z);yq.Command=w;yq.Option=p;yq.Argument=m;yq.Help=Fq;yq.CommanderError=Nq;yq.InvalidArgumentError=d;yq.InvalidOptionArgumentError=d});var r=H((U,s)=>{var L=i();U=s.exports={};U.program=new L.Command;U.Argument=L.Argument;U.Command=L.Command;U.CommanderError=L.CommanderError;U.Help=L.Help;U.InvalidArgumentError=L.InvalidArgumentError;U.InvalidOptionArgumentError=L.InvalidArgumentError;U.Option=L.Option;U.createCommand=(q)=>new L.Command(q);U.createOption=(q,z)=>new L.Option(q,z);U.createArgument=(q,z)=>new L.Argument(q,z)});var t=gq(r(),1),{program:rq,createCommand:tq,createArgument:nq,createOption:aq,CommanderError:oq,InvalidArgumentError:eq,InvalidOptionArgumentError:qz,Command:zz,Argument:Jz,Option:Qz,Help:Xz}=t.default;
|
|
27
|
-
export{eq as _,zz as $,Qz as aa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gma as M,hma as Y}from"./cli-0.5.8-8h4z9e0a.mjs";import{zna as W}from"./cli-0.5.8-hkfwdsmy.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as Zfa,N as _fa,X as $fa,_ as aga,j as bga,U as cga,I as dga,S as ega,T as fga,c as gga,L as hga,w as iga,z as jga,O as kga,x as lga,k as mga};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{I as G0}from"./cli-0.5.8-xwpp4ts7.mjs";import{ea as p0}from"./cli-0.5.8-z3ev1ken.mjs";import{xb as E0}from"./cli-0.5.8-2g8p9sae.mjs";import{Cb as k0}from"./cli-0.5.8-903jgg2t.mjs";import{Ic as P0,Kc as Fc}from"./cli-0.5.8-1bp61y3p.mjs";import{Nc as N,Oc as uc}from"./cli-0.5.8-69frkjjq.mjs";import{Qc as Q0,Rc as hc}from"./cli-0.5.8-20gjzt7v.mjs";import{kd as n0,ld as x0}from"./cli-0.5.8-x9q7q10d.mjs";import{At as X,BD as Y,CD as M0,DD as Z0,ED as Mc,Et as l0,SI as _0,WP as O0,aJ as j0,cm as p,dm as K0,eQ as b0,em as f0,fO as d,fm as N0,gQ as B0,gm as i0,hO as W0,hm as d0,jO as Ic,jQ as ac,kE as y0,km as W,lE as _c,lm as j,mQ as D0,oJ as u0,oQ as Tc,pC as Y0,qJ as r0,sD as m0,tC as lc,tD as g0,uD as r,wD as A0}from"./cli-0.5.8-4hvxb5dp.mjs";import{RW as c0,TW as y,XW as g,mW as X0,qW as oc,wX as x,yV as G}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as e,XY as m,YY as U,ZY as C}from"./cli-0.5.8-zkn5gecs.mjs";import{NZ as H0,RZ as mc,t0 as J0,u0 as nc}from"./cli-0.5.8-rddkqxh8.mjs";import{$_ as w0,O$ as V0,U$ as s,U_ as V,X$ as t,Y_ as J,Z$ as q0,b$ as U0,f$ as k,paa as I0,vba as z0,yba as ic}from"./cli-0.5.8-qf19nfhv.mjs";import{sca as R,xca as cc}from"./cli-0.5.8-5h92528m.mjs";import{hda as C0,pda as L0,vda as fc}from"./cli-0.5.8-7fm71y20.mjs";import{mea as q,oea as E}from"./cli-0.5.8-9fpm1ms3.mjs";import{rfa as $0}from"./cli-0.5.8-xs1gy1tk.mjs";import{cga as K,jga as R0,mga as e0}from"./cli-0.5.8-gm4jqzfs.mjs";import{Cka as T0,Jla as v0,zia as a0}from"./cli-0.5.8-bhc8vwxd.mjs";import{Ana as L,vna as D}from"./cli-0.5.8-hkfwdsmy.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.5.8-y01565nf.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.5.8-gp57r21r.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.5.8-m0r6a4s2.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.5.8-j0h8y92c.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.5.8-rmcm4b5v.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.5.8-g2xzefay.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.5.8-kyzt3tyh.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.5.8-pbv15kg8.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.5.8-v373fzha.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
-
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
-
export{Cc as A,Lc as B,Gf as C,wc as D,z as E,Ef as F,kf as G,pf as H};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{eh as Vq,fh as fq}from"./cli-0.5.8-99pnpzq7.mjs";import{$U as Hq,GU as Pq,HU as mq,VU as o,WU as pq,YU as Qq,_U as Uq}from"./cli-0.5.8-60e57smp.mjs";import{RW as M,TW as g,wX as Wq,yV as Sq}from"./cli-0.5.8-nwe7yne9.mjs";import{XY as Z,YY as F,ZY as Jq}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as _q}from"./cli-0.5.8-6epmns99.mjs";import{Xba as s,Yba as jq}from"./cli-0.5.8-5h92528m.mjs";import{vna as Lq,zna as wq}from"./cli-0.5.8-hkfwdsmy.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
-
export{lq as bg,oq as cg,sq as dg,aq as eg,Tq as fg};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{$o as O,BB as V,CB as $,Ci as L,DN as F,XM as X,ap as Z}from"./cli-0.5.8-4hvxb5dp.mjs";import{zna as Y}from"./cli-0.5.8-hkfwdsmy.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
|
|
2
|
-
|
|
3
|
-
IMPORTANT CONTEXT:
|
|
4
|
-
- You are a separate, lightweight agent spawned to answer this one question
|
|
5
|
-
- The main agent is NOT interrupted - it continues working independently in the background
|
|
6
|
-
- You share the conversation context but are a completely separate instance
|
|
7
|
-
- Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
|
|
8
|
-
|
|
9
|
-
CRITICAL CONSTRAINTS:
|
|
10
|
-
- You have NO tools available - you cannot read files, run commands, search, or take any actions
|
|
11
|
-
- This is a one-off response - there will be no follow-up turns
|
|
12
|
-
- You can ONLY provide information based on what you already know from the conversation context
|
|
13
|
-
- NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
|
|
14
|
-
- If you don't know the answer, say so - do not offer to look it up or investigate
|
|
15
|
-
|
|
16
|
-
Simply answer the question with the information you have.</system-reminder>
|
|
17
|
-
|
|
18
|
-
${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
|
|
19
|
-
|
|
20
|
-
`).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
|
|
21
|
-
export{W as bh,b as ch,C as dh};
|