@claudiolabs/claudio 0.1.11 → 0.1.12
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.1.12-kgypyeny.mjs +1 -0
- package/dist/chunks/App-0.1.12-t1g68ag4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.1.12-x3zt5579.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +1 -0
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +1 -0
- package/dist/chunks/DiffDialog-0.1.12-tzjdg5ys.mjs +3 -0
- package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +1 -0
- package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +1 -0
- package/dist/chunks/InProcessTransport-0.1.12-xnrc78z1.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.12-tc4trc3y.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +1 -0
- package/dist/chunks/REPL-0.1.12-4750qvss.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.1.12-f1byjres.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +1 -0
- package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +1 -0
- package/dist/chunks/agents-0.1.12-1dz073e3.mjs +3 -0
- package/dist/chunks/agents-0.1.12-vfwpnn0d.mjs +111 -0
- package/dist/chunks/api-0.1.12-e314x4g9.mjs +1 -0
- package/dist/chunks/asciicast-0.1.12-nwzfr5gz.mjs +1 -0
- package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +1 -0
- package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +1 -0
- package/dist/chunks/auth-0.1.12-vhdwtwhb.mjs +1 -0
- package/dist/chunks/autoMode-0.1.12-xjr5qd6q.mjs +48 -0
- package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +1 -0
- package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +4 -0
- package/dist/chunks/bridgePointer-0.1.12-vdj4j4ke.mjs +1 -0
- package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +1 -0
- package/dist/chunks/buddy-0.1.12-4q50s2x4.mjs +3 -0
- package/dist/chunks/cacache-0.1.12-mtaw8981.mjs +1 -0
- package/dist/chunks/cache-probe-0.1.12-4s8cc2km.mjs +21 -0
- package/dist/chunks/cacheStats-0.1.12-qqcw6b5n.mjs +4 -0
- package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +1 -0
- package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +1 -0
- package/dist/chunks/chromeNativeHost-0.1.12-7e2jv2nr.mjs +2 -0
- package/dist/chunks/claude-for-chrome-mcp-0.1.12-2q97mema.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.1.12-1yrkynq4.mjs +1 -0
- package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +1 -0
- package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +1 -0
- package/dist/chunks/cli-0.1.12-024a8zz7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-04jw23rj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-04v3yab2.mjs +3 -0
- package/dist/chunks/cli-0.1.12-0eznapyf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0kqx19vz.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0vf5f6qn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0x3cd401.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0xzdygm2.mjs +50 -0
- package/dist/chunks/cli-0.1.12-19as1myk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1hv04bp7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1x06khjr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-238c85zt.mjs +2 -0
- package/dist/chunks/cli-0.1.12-242der7s.mjs +5036 -0
- package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2fajd44n.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2sqxe53a.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2v18rdhk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2yy1nw3s.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2zqgfhrb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-34gqc6yf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-352pjhkh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-37ezy1qg.mjs +2 -0
- package/dist/chunks/cli-0.1.12-37ga9zc2.mjs +2 -0
- package/dist/chunks/cli-0.1.12-3d2xpvk2.mjs +2 -0
- package/dist/chunks/cli-0.1.12-3ywnr2v1.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4gj8p030.mjs +22 -0
- package/dist/chunks/cli-0.1.12-4qedbzt3.mjs +24 -0
- package/dist/chunks/cli-0.1.12-4sh0f4y1.mjs +3 -0
- package/dist/chunks/cli-0.1.12-4syxz3pe.mjs +12 -0
- package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4wwhk7dc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4ys47rex.mjs +2 -0
- package/dist/chunks/cli-0.1.12-52dbx2x6.mjs +4 -0
- package/dist/chunks/cli-0.1.12-5b3j1c9c.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5exp787z.mjs +18 -0
- package/dist/chunks/cli-0.1.12-5k9mfnz0.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5p9g1vcm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5pw10pf8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5qhkbp8w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5ye0t0xd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6238zg7k.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6ddq5n4e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +16 -0
- package/dist/chunks/cli-0.1.12-6rjh20wh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6zryzryc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-73k5qd97.mjs +13 -0
- package/dist/chunks/cli-0.1.12-74tt2500.mjs +2 -0
- package/dist/chunks/cli-0.1.12-756ngehz.mjs +4 -0
- package/dist/chunks/cli-0.1.12-7da43cy1.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7ehqw1dk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7mjpbm22.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7xsa2bcp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-817sd5bc.mjs +6 -0
- package/dist/chunks/cli-0.1.12-830kqdpq.mjs +3 -0
- package/dist/chunks/cli-0.1.12-86nmrm6g.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8qm558mj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8qvgy8xr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8znn9f50.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9gs0g8yb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9pq0gse0.mjs +3 -0
- package/dist/chunks/cli-0.1.12-9v01t95v.mjs +2 -0
- package/dist/chunks/cli-0.1.12-a2frnpdd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-a2qh6gjr.mjs +5 -0
- package/dist/chunks/cli-0.1.12-a5h71tt8.mjs +34 -0
- package/dist/chunks/cli-0.1.12-actnmgw5.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ae3e3ffp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-af1r644n.mjs +2 -0
- package/dist/chunks/cli-0.1.12-awb2yac7.mjs +3 -0
- package/dist/chunks/cli-0.1.12-b01yrner.mjs +2 -0
- package/dist/chunks/cli-0.1.12-baxk5jyy.mjs +4 -0
- package/dist/chunks/cli-0.1.12-bddm1g1s.mjs +59 -0
- package/dist/chunks/cli-0.1.12-bh7jp3zk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bhxgr018.mjs +4 -0
- package/dist/chunks/cli-0.1.12-bjzb0sjt.mjs +132 -0
- package/dist/chunks/cli-0.1.12-bmtahtv7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bnss4rxn.mjs +833 -0
- package/dist/chunks/cli-0.1.12-c23pyffx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-c28bme4j.mjs +2 -0
- package/dist/chunks/cli-0.1.12-c47ape20.mjs +7 -0
- package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +2 -0
- package/dist/chunks/cli-0.1.12-cxn1ke77.mjs +2 -0
- package/dist/chunks/cli-0.1.12-d0es0fxd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-d8m01qtm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dc4e6688.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dqynn0at.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ds2mn8zn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +8 -0
- package/dist/chunks/cli-0.1.12-e262snmb.mjs +3 -0
- package/dist/chunks/cli-0.1.12-e4zeaahk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-erggrdth.mjs +9 -0
- package/dist/chunks/cli-0.1.12-f0x1y6nn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-faa9mx3m.mjs +15 -0
- package/dist/chunks/cli-0.1.12-fqpxr3qb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g1yp7kdf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g2s9mjr6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g3ycbjxk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g4sdgt8h.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g604mknq.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g728hcdr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g8mny195.mjs +2 -0
- package/dist/chunks/cli-0.1.12-h0d833vg.mjs +24 -0
- package/dist/chunks/cli-0.1.12-h248m986.mjs +2 -0
- package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-hsw67esw.mjs +2 -0
- package/dist/chunks/cli-0.1.12-j6gjfwh5.mjs +31 -0
- package/dist/chunks/cli-0.1.12-j6hwb68p.mjs +45 -0
- package/dist/chunks/cli-0.1.12-jjza3gz9.mjs +2 -0
- package/dist/chunks/cli-0.1.12-jqrk975g.mjs +15 -0
- package/dist/chunks/cli-0.1.12-k2164g7e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kea0zcje.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kg8gb6e3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ktpqrbjc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kys514qx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kzd4y6yq.mjs +3 -0
- package/dist/chunks/cli-0.1.12-m3q5r7wd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-m6jeef2z.mjs +6 -0
- package/dist/chunks/cli-0.1.12-mevh0dza.mjs +2 -0
- package/dist/chunks/cli-0.1.12-mr41yjpw.mjs +2 -0
- package/dist/chunks/cli-0.1.12-mwp84gtr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nfvtmt75.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nnyca8nb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nv2m8kgk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +4 -0
- package/dist/chunks/cli-0.1.12-pm5cwtxh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-pnh4t8c3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ps94e9y5.mjs +2 -0
- package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +3 -0
- package/dist/chunks/cli-0.1.12-q63qrz06.mjs +2 -0
- package/dist/chunks/cli-0.1.12-q8k1zvhb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-qn20n18h.mjs +12 -0
- package/dist/chunks/cli-0.1.12-qrx9nssg.mjs +21 -0
- package/dist/chunks/cli-0.1.12-qsh4sj4y.mjs +2 -0
- package/dist/chunks/cli-0.1.12-r6f9sy54.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ra3sby5b.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rqedb88a.mjs +10 -0
- package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +4 -0
- package/dist/chunks/cli-0.1.12-rwhrpb6w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rwzav5h1.mjs +11 -0
- package/dist/chunks/cli-0.1.12-ryycx3v6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rzpc0tr9.mjs +44 -0
- package/dist/chunks/cli-0.1.12-s0cwq66w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-sd72y750.mjs +12 -0
- package/dist/chunks/cli-0.1.12-sgtpyf6y.mjs +11 -0
- package/dist/chunks/cli-0.1.12-strz382t.mjs +2 -0
- package/dist/chunks/cli-0.1.12-sxxpysy8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-t8712dbc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-taqfqnag.mjs +4 -0
- package/dist/chunks/cli-0.1.12-trdq9d6x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tyt09z73.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v000x470.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v0510w04.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v79j5ced.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v8j9zstg.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vgbc3g9x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vpnp7x5c.mjs +100 -0
- package/dist/chunks/cli-0.1.12-vwcas8f6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vxej5jdm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vzga2are.mjs +192 -0
- package/dist/chunks/cli-0.1.12-w0qbr98a.mjs +2 -0
- package/dist/chunks/cli-0.1.12-wcdh3m4s.mjs +5 -0
- package/dist/chunks/cli-0.1.12-wdmxm11z.mjs +2 -0
- package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +3 -0
- package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +134 -0
- package/dist/chunks/cli-0.1.12-xanhpra7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xekep4qg.mjs +58 -0
- package/dist/chunks/cli-0.1.12-xfqkrd5x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xj3mv67x.mjs +39 -0
- package/dist/chunks/cli-0.1.12-y04asmqh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-y9598sy3.mjs +16 -0
- package/dist/chunks/cli-0.1.12-ybm1kvwy.mjs +4 -0
- package/dist/chunks/cli-0.1.12-yk12dgnx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ytxphavm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-z8eybrhz.mjs +2 -0
- package/dist/chunks/cli-0.1.12-zk49aaxv.mjs +2 -0
- package/dist/chunks/cli-0.1.12-zs5rpqmb.mjs +5 -0
- package/dist/chunks/cli-0.1.12-zwyec6tj.mjs +2 -0
- package/dist/chunks/client-0.1.12-f54egbjx.mjs +1 -0
- package/dist/chunks/color-0.1.12-jss6svg8.mjs +1 -0
- package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +3 -0
- package/dist/chunks/config-0.1.12-1pyte6wv.mjs +1 -0
- package/dist/chunks/config-0.1.12-ryxz4stj.mjs +1 -0
- package/dist/chunks/context-0.1.12-mnwn2xss.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +1 -0
- package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +1 -0
- package/dist/chunks/copy-0.1.12-w6tabpy0.mjs +9 -0
- package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +1 -0
- package/dist/chunks/createSession-0.1.12-117q0efg.mjs +1 -0
- package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +1 -0
- package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +1 -0
- package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +1 -0
- package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +1 -0
- package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +1 -0
- package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +1 -0
- package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +1 -0
- package/dist/chunks/export-0.1.12-s6ag6jke.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +1 -0
- package/dist/chunks/fast-0.1.12-9x69m50c.mjs +1 -0
- package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.1.12-95kzm3md.mjs +1 -0
- package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +1 -0
- package/dist/chunks/growthbook-0.1.12-4phnr6b3.mjs +1 -0
- package/dist/chunks/heapdump-0.1.12-m49qs4r7.mjs +6 -0
- package/dist/chunks/help-0.1.12-f02ce11x.mjs +1 -0
- package/dist/chunks/hookChains-0.1.12-brq8x7f7.mjs +3 -0
- package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +1 -0
- package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +79 -0
- package/dist/chunks/ide-0.1.12-553mazfs.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.1.12-3mrm0vts.mjs +1 -0
- package/dist/chunks/index-0.1.12-218arkqe.mjs +9 -0
- package/dist/chunks/index-0.1.12-2ykt90tn.mjs +1 -0
- package/dist/chunks/index-0.1.12-34ew4zjx.mjs +1 -0
- package/dist/chunks/index-0.1.12-3nbh75ta.mjs +1 -0
- package/dist/chunks/index-0.1.12-41g5mvtk.mjs +7 -0
- package/dist/chunks/index-0.1.12-77szwkm6.mjs +1 -0
- package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +1 -0
- package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +1 -0
- package/dist/chunks/index-0.1.12-d5w1w05d.mjs +1 -0
- package/dist/chunks/index-0.1.12-d7j83tkh.mjs +1 -0
- package/dist/chunks/index-0.1.12-hvf65cbr.mjs +1 -0
- package/dist/chunks/index-0.1.12-m0e193t8.mjs +1 -0
- package/dist/chunks/index-0.1.12-nc3z95ph.mjs +5 -0
- package/dist/chunks/index-0.1.12-r92p75vh.mjs +1 -0
- package/dist/chunks/index-0.1.12-rhj8dsvk.mjs +30 -0
- package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +1 -0
- package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +1 -0
- package/dist/chunks/index-0.1.12-v53nbtdb.mjs +2 -0
- package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +1 -0
- package/dist/chunks/index-0.1.12-z0brwe1k.mjs +2 -0
- package/dist/chunks/index-0.1.12-zc2ayczg.mjs +1 -0
- package/dist/chunks/index-0.1.12-zqrp5tve.mjs +9 -0
- package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +1 -0
- package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +1 -0
- package/dist/chunks/insights-0.1.12-93mz1f1d.mjs +870 -0
- package/dist/chunks/install-0.1.12-11xkk6vf.mjs +1 -0
- package/dist/chunks/install-github-app-0.1.12-qd8g81v4.mjs +149 -0
- package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +1 -0
- package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +2 -0
- package/dist/chunks/knowledge-0.1.12-1zq0qj6h.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +1 -0
- package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +1 -0
- package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +1 -0
- package/dist/chunks/main-0.1.12-47ck3kj2.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +1 -0
- package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +1 -0
- package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +4 -0
- package/dist/chunks/mcp-0.1.12-vm3tpth6.mjs +17 -0
- package/dist/chunks/mcpServer-0.1.12-zwsas6ss.mjs +1 -0
- package/dist/chunks/mcpb-0.1.12-mcbd7ywh.mjs +1 -0
- package/dist/chunks/memory-0.1.12-7x2msczw.mjs +3 -0
- package/dist/chunks/mobile-0.1.12-qdtxwz76.mjs +2 -0
- package/dist/chunks/model-0.1.12-15e9c8j0.mjs +2 -0
- package/dist/chunks/model-0.1.12-z2qjscwh.mjs +1 -0
- package/dist/chunks/oauth-0.1.12-3aky0v8n.mjs +1 -0
- package/dist/chunks/openaiShim-0.1.12-p458t1q6.mjs +14 -0
- package/dist/chunks/output-style-0.1.12-cahkbh9x.mjs +1 -0
- package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +1 -0
- package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +1 -0
- package/dist/chunks/passes-0.1.12-7vmawmvq.mjs +1 -0
- package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +3 -0
- package/dist/chunks/plan-0.1.12-waed49m8.mjs +1 -0
- package/dist/chunks/plist-0.1.12-65r770yt.mjs +1 -0
- package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +1 -0
- package/dist/chunks/plugins-0.1.12-sm87b8fm.mjs +9 -0
- package/dist/chunks/print-0.1.12-8mgqmx4k.mjs +57 -0
- package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +1 -0
- package/dist/chunks/process-0.1.12-t401v84c.mjs +1 -0
- package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +9 -0
- package/dist/chunks/prompt-0.1.12-786vk11a.mjs +1 -0
- package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +1 -0
- package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +1 -0
- package/dist/chunks/provider-0.1.12-wrfpbx8a.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +1 -0
- package/dist/chunks/registry-0.1.12-btwd6z61.mjs +1 -0
- package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +2 -0
- package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.12-c0y46zw8.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +1 -0
- package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +1 -0
- package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +2 -0
- package/dist/chunks/rewind-0.1.12-707se5pz.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +1 -0
- package/dist/chunks/session-0.1.12-2xgt0x74.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +1 -0
- package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +5 -0
- package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +1 -0
- package/dist/chunks/skills-0.1.12-sh637gsv.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +1 -0
- package/dist/chunks/state-0.1.12-e374v6h8.mjs +1 -0
- package/dist/chunks/stats-0.1.12-5pj1c6sr.mjs +6 -0
- package/dist/chunks/status-0.1.12-qphx08h4.mjs +1 -0
- package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +1 -0
- package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +1 -0
- package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +1 -0
- package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +1 -0
- package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +1 -0
- package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.1.12-9525v010.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.1.12-d5c4096k.mjs +4 -0
- package/dist/chunks/update-0.1.12-hwx0e6fq.mjs +94 -0
- package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.1.12-yhnqfcyb.mjs +14 -0
- package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +1 -0
- package/dist/chunks/util-0.1.12-qdejkkj5.mjs +1 -0
- package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +1 -0
- package/dist/chunks/vim-0.1.12-z78k9k65.mjs +1 -0
- package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +1 -0
- package/dist/chunks/wiki-0.1.12-vecp82xq.mjs +132 -0
- package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +1 -0
- package/dist/chunks/wrapper-0.1.12-bpewypaz.mjs +7 -0
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +4 -1
- package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +0 -1
- package/dist/chunks/App-0.1.11-z60c27dk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.1.11-kb5jvw8n.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +0 -1
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +0 -1
- package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +0 -3
- package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +0 -1
- package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +0 -1
- package/dist/chunks/InProcessTransport-0.1.11-xecmx0sw.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +0 -1
- package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.1.11-h881m192.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +0 -1
- package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +0 -1
- package/dist/chunks/agents-0.1.11-26pbss9x.mjs +0 -3
- package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +0 -111
- package/dist/chunks/api-0.1.11-5ygenb1h.mjs +0 -1
- package/dist/chunks/asciicast-0.1.11-7mkaazy8.mjs +0 -1
- package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +0 -1
- package/dist/chunks/auth-0.1.11-2363mst5.mjs +0 -1
- package/dist/chunks/auth-0.1.11-p47wajra.mjs +0 -1
- package/dist/chunks/autoMode-0.1.11-nv8vsag0.mjs +0 -48
- package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +0 -1
- package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +0 -4
- package/dist/chunks/bridgePointer-0.1.11-wr8dfs91.mjs +0 -1
- package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +0 -1
- package/dist/chunks/buddy-0.1.11-gsj76spy.mjs +0 -3
- package/dist/chunks/cacache-0.1.11-wtz0ca19.mjs +0 -1
- package/dist/chunks/cache-probe-0.1.11-pgsemwpr.mjs +0 -21
- package/dist/chunks/cacheStats-0.1.11-1zqq6pm7.mjs +0 -4
- package/dist/chunks/caches-0.1.11-vewfnrya.mjs +0 -1
- package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +0 -1
- package/dist/chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs +0 -2
- package/dist/chunks/claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.1.11-zpdtj6k8.mjs +0 -1
- package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +0 -1
- package/dist/chunks/clear-0.1.11-c93nbam7.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +0 -1
- package/dist/chunks/cli-0.1.11-036me3yr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-05g86mrk.mjs +0 -2
- package/dist/chunks/cli-0.1.11-05ngjm8p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0n77qn68.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0tge574q.mjs +0 -2
- package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +0 -8
- package/dist/chunks/cli-0.1.11-16086k9e.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bryv90w.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +0 -833
- package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +0 -3
- package/dist/chunks/cli-0.1.11-1xr9et85.mjs +0 -2
- package/dist/chunks/cli-0.1.11-21epc92q.mjs +0 -2
- package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +0 -2
- package/dist/chunks/cli-0.1.11-2w8d5vqb.mjs +0 -2
- package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +0 -45
- package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-3p2f194m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-3tqzgd9f.mjs +0 -2
- package/dist/chunks/cli-0.1.11-424zgj5k.mjs +0 -4
- package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +0 -3
- package/dist/chunks/cli-0.1.11-4ggr81tw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-50naxqgt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-56bdg2vw.mjs +0 -3
- package/dist/chunks/cli-0.1.11-56p41bk3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5e45zda5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5hrysrcd.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5hs4xyjq.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5vqj6k7m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-6r97rwda.mjs +0 -2
- package/dist/chunks/cli-0.1.11-6vqzqsdj.mjs +0 -3
- package/dist/chunks/cli-0.1.11-6zkfmcxp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-70f778wy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +0 -50
- package/dist/chunks/cli-0.1.11-7238rfy8.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7mmhsc3x.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7qpnfx56.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +0 -3
- package/dist/chunks/cli-0.1.11-7tybqg56.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7vz357wm.mjs +0 -58
- package/dist/chunks/cli-0.1.11-7xr2ermy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-84j34n0s.mjs +0 -2
- package/dist/chunks/cli-0.1.11-852v06g0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-8qrhqvh5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-91mf8dfr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-96y2d09c.mjs +0 -2
- package/dist/chunks/cli-0.1.11-98zcwng9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-anegs86e.mjs +0 -7
- package/dist/chunks/cli-0.1.11-anvzywg4.mjs +0 -5
- package/dist/chunks/cli-0.1.11-at3c85af.mjs +0 -2
- package/dist/chunks/cli-0.1.11-b0jasw23.mjs +0 -9
- package/dist/chunks/cli-0.1.11-bbx2h4x9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-be28ty4m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bqpcwywz.mjs +0 -4
- package/dist/chunks/cli-0.1.11-btayz9zj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +0 -252
- package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bwpemkht.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cezypfbt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cf049e4w.mjs +0 -134
- package/dist/chunks/cli-0.1.11-chnrb9xx.mjs +0 -10
- package/dist/chunks/cli-0.1.11-ctjvkg5k.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +0 -4
- package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +0 -12
- package/dist/chunks/cli-0.1.11-d10nfa6g.mjs +0 -11
- package/dist/chunks/cli-0.1.11-d3exw047.mjs +0 -2
- package/dist/chunks/cli-0.1.11-d4ahh3jz.mjs +0 -2
- package/dist/chunks/cli-0.1.11-da6szcvw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-dcswnc8x.mjs +0 -24
- package/dist/chunks/cli-0.1.11-dpfxvfty.mjs +0 -2
- package/dist/chunks/cli-0.1.11-e5ecf583.mjs +0 -2
- package/dist/chunks/cli-0.1.11-e66dak4h.mjs +0 -4
- package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +0 -16
- package/dist/chunks/cli-0.1.11-egck69w4.mjs +0 -2
- package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +0 -18
- package/dist/chunks/cli-0.1.11-ek6mck0j.mjs +0 -2
- package/dist/chunks/cli-0.1.11-emw2wfff.mjs +0 -3
- package/dist/chunks/cli-0.1.11-fag2wtke.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fptq9w4t.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fs3d0ajf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fstfs72j.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ft47r1wq.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fveg0t77.mjs +0 -22
- package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +0 -5
- package/dist/chunks/cli-0.1.11-g2202evh.mjs +0 -2
- package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +0 -2
- package/dist/chunks/cli-0.1.11-gc069ne7.mjs +0 -2
- package/dist/chunks/cli-0.1.11-gdcvfp9f.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ggrme14p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h2hxx8ma.mjs +0 -12
- package/dist/chunks/cli-0.1.11-h3jatwe1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h762f6hr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h7e4rkwk.mjs +0 -31
- package/dist/chunks/cli-0.1.11-h7phna9g.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hgsa4nnp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hhs8ke9g.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hmfevmz1.mjs +0 -4
- package/dist/chunks/cli-0.1.11-hrn726gf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hzezqkew.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jj3s3dxd.mjs +0 -15
- package/dist/chunks/cli-0.1.11-jjgjkqqv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jkrt4znb.mjs +0 -11
- package/dist/chunks/cli-0.1.11-jne21ka1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jr50ahcv.mjs +0 -3
- package/dist/chunks/cli-0.1.11-jye250b3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-kghg51gb.mjs +0 -6
- package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +0 -7
- package/dist/chunks/cli-0.1.11-kndj4a86.mjs +0 -2
- package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +0 -24
- package/dist/chunks/cli-0.1.11-ktwtyqmp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +0 -4
- package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mj78w4sp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mr356stf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mstxxz33.mjs +0 -2
- package/dist/chunks/cli-0.1.11-n23d2wej.mjs +0 -2
- package/dist/chunks/cli-0.1.11-n24p2y0p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-na9tsy21.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nesh7dep.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nhwmv5g6.mjs +0 -4
- package/dist/chunks/cli-0.1.11-nx8a99hz.mjs +0 -4
- package/dist/chunks/cli-0.1.11-p22bdjhv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-p4eeg584.mjs +0 -5
- package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-pr9jdfxt.mjs +0 -3
- package/dist/chunks/cli-0.1.11-q58q9jqr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +0 -2
- package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +0 -16
- package/dist/chunks/cli-0.1.11-qheffjft.mjs +0 -2
- package/dist/chunks/cli-0.1.11-qpzn4q17.mjs +0 -15
- package/dist/chunks/cli-0.1.11-qrq0sw0h.mjs +0 -2
- package/dist/chunks/cli-0.1.11-r990p54m.mjs +0 -100
- package/dist/chunks/cli-0.1.11-rj68n2kw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rj9ea3zn.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rrnr3ab1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rvk3t45h.mjs +0 -2
- package/dist/chunks/cli-0.1.11-s6yfjcm5.mjs +0 -6
- package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +0 -5036
- package/dist/chunks/cli-0.1.11-sma2xhvv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-sqqzwx4h.mjs +0 -132
- package/dist/chunks/cli-0.1.11-t07hba0z.mjs +0 -2
- package/dist/chunks/cli-0.1.11-t7dc7fbj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +0 -2
- package/dist/chunks/cli-0.1.11-trcf78n1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-tvfkn5mh.mjs +0 -2
- package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +0 -12
- package/dist/chunks/cli-0.1.11-v6kwgrqc.mjs +0 -2
- package/dist/chunks/cli-0.1.11-v7bwjqf0.mjs +0 -192
- package/dist/chunks/cli-0.1.11-v8j5bkfs.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vch8cn95.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vq5fvf9m.mjs +0 -44
- package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +0 -2
- package/dist/chunks/cli-0.1.11-w3fp9par.mjs +0 -39
- package/dist/chunks/cli-0.1.11-w3trj52p.mjs +0 -21
- package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +0 -2
- package/dist/chunks/cli-0.1.11-wc9bay3d.mjs +0 -34
- package/dist/chunks/cli-0.1.11-weav8142.mjs +0 -2
- package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-x37jysc0.mjs +0 -14
- package/dist/chunks/cli-0.1.11-x5nvafch.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-y4c6y87y.mjs +0 -2
- package/dist/chunks/cli-0.1.11-y909w8bb.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yrfxpjhr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yv5pfq6n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +0 -3
- package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-z4hb2mcd.mjs +0 -2
- package/dist/chunks/cli-0.1.11-z62s8qx1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zb2sa3e2.mjs +0 -13
- package/dist/chunks/cli-0.1.11-zdyddegg.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zfnmx1ny.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +0 -2
- package/dist/chunks/client-0.1.11-h38k7vkj.mjs +0 -1
- package/dist/chunks/color-0.1.11-b7favzc8.mjs +0 -1
- package/dist/chunks/compact-0.1.11-damm234b.mjs +0 -3
- package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +0 -1
- package/dist/chunks/config-0.1.11-cqy7fnab.mjs +0 -1
- package/dist/chunks/context-0.1.11-e2s56h3b.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +0 -1
- package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +0 -1
- package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +0 -9
- package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +0 -1
- package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +0 -1
- package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +0 -1
- package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +0 -1
- package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +0 -1
- package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +0 -1
- package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +0 -1
- package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +0 -1
- package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +0 -1
- package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +0 -1
- package/dist/chunks/export-0.1.11-wv5bd05w.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +0 -1
- package/dist/chunks/fast-0.1.11-a665n9kz.mjs +0 -1
- package/dist/chunks/feedback-0.1.11-q77qty87.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.1.11-y7qkhdj6.mjs +0 -1
- package/dist/chunks/git-0.1.11-g77ppr52.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +0 -1
- package/dist/chunks/growthbook-0.1.11-2w2b1mzd.mjs +0 -1
- package/dist/chunks/heapdump-0.1.11-b216wzt7.mjs +0 -6
- package/dist/chunks/help-0.1.11-byp88gen.mjs +0 -1
- package/dist/chunks/hookChains-0.1.11-jp8f82q7.mjs +0 -3
- package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +0 -1
- package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +0 -79
- package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.1.11-dpg3ygnw.mjs +0 -1
- package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +0 -1
- package/dist/chunks/index-0.1.11-82wnmfq3.mjs +0 -9
- package/dist/chunks/index-0.1.11-8gtaa17w.mjs +0 -1
- package/dist/chunks/index-0.1.11-ajdpkanw.mjs +0 -1
- package/dist/chunks/index-0.1.11-b2q967nq.mjs +0 -30
- package/dist/chunks/index-0.1.11-bhrstsgc.mjs +0 -1
- package/dist/chunks/index-0.1.11-d6qbzwah.mjs +0 -1
- package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +0 -1
- package/dist/chunks/index-0.1.11-e52dzxjz.mjs +0 -5
- package/dist/chunks/index-0.1.11-gb3saayk.mjs +0 -2
- package/dist/chunks/index-0.1.11-kksxmkwe.mjs +0 -1
- package/dist/chunks/index-0.1.11-n564rmwy.mjs +0 -1
- package/dist/chunks/index-0.1.11-n90nxjqp.mjs +0 -1
- package/dist/chunks/index-0.1.11-p0j3w83p.mjs +0 -1
- package/dist/chunks/index-0.1.11-pmkgntay.mjs +0 -7
- package/dist/chunks/index-0.1.11-qspcw49p.mjs +0 -1
- package/dist/chunks/index-0.1.11-r6p77pf7.mjs +0 -1
- package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +0 -9
- package/dist/chunks/index-0.1.11-wbhj1ny7.mjs +0 -1
- package/dist/chunks/index-0.1.11-wze82293.mjs +0 -1
- package/dist/chunks/index-0.1.11-xs4mng75.mjs +0 -1
- package/dist/chunks/index-0.1.11-yej3awws.mjs +0 -2
- package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +0 -1
- package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +0 -1
- package/dist/chunks/insights-0.1.11-4yjg2bxs.mjs +0 -870
- package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +0 -1
- package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +0 -1
- package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +0 -12
- package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +0 -1
- package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +0 -2
- package/dist/chunks/knowledge-0.1.11-wpjw8ybd.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +0 -1
- package/dist/chunks/logout-0.1.11-48ynp610.mjs +0 -1
- package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +0 -1
- package/dist/chunks/main-0.1.11-6sh6xycv.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +0 -1
- package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +0 -17
- package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +0 -4
- package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.11-czg51mvy.mjs +0 -1
- package/dist/chunks/mcpb-0.1.11-czkze48a.mjs +0 -1
- package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +0 -3
- package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +0 -2
- package/dist/chunks/model-0.1.11-4v166f98.mjs +0 -2
- package/dist/chunks/model-0.1.11-qekc9c4w.mjs +0 -1
- package/dist/chunks/oauth-0.1.11-jkkd9wzq.mjs +0 -1
- package/dist/chunks/openaiShim-0.1.11-b9yqnc9c.mjs +0 -14
- package/dist/chunks/output-style-0.1.11-zwxn1knb.mjs +0 -1
- package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +0 -1
- package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +0 -1
- package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +0 -1
- package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +0 -3
- package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +0 -1
- package/dist/chunks/plist-0.1.11-0sn6nqv3.mjs +0 -1
- package/dist/chunks/plugin-0.1.11-menj210d.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +0 -1
- package/dist/chunks/plugins-0.1.11-t3pgcpcj.mjs +0 -9
- package/dist/chunks/print-0.1.11-y9vz77h9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +0 -1
- package/dist/chunks/process-0.1.11-s6jnx5xw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +0 -9
- package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +0 -1
- package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +0 -1
- package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +0 -1
- package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +0 -1
- package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +0 -1
- package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +0 -2
- package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.1.11-hn821p07.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +0 -1
- package/dist/chunks/rename-0.1.11-ke9btph2.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +0 -1
- package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +0 -2
- package/dist/chunks/rewind-0.1.11-t4mfk815.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +0 -1
- package/dist/chunks/session-0.1.11-2z972raf.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +0 -1
- package/dist/chunks/setup-0.1.11-epmpszzf.mjs +0 -5
- package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +0 -1
- package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +0 -1
- package/dist/chunks/state-0.1.11-3fjxywyv.mjs +0 -1
- package/dist/chunks/stats-0.1.11-hxzms6gg.mjs +0 -6
- package/dist/chunks/status-0.1.11-drvp15n8.mjs +0 -1
- package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +0 -1
- package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +0 -1
- package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +0 -1
- package/dist/chunks/theme-0.1.11-p447kczd.mjs +0 -1
- package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +0 -1
- package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.1.11-brwqmyse.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +0 -4
- package/dist/chunks/update-0.1.11-p33kxpg4.mjs +0 -94
- package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.1.11-vk16qw88.mjs +0 -14
- package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +0 -1
- package/dist/chunks/util-0.1.11-sjkxad5k.mjs +0 -1
- package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +0 -1
- package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +0 -1
- package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +0 -1
- package/dist/chunks/wiki-0.1.11-v0twhcnn.mjs +0 -132
- package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +0 -1
- package/dist/chunks/wrapper-0.1.11-rt9xsnjh.mjs +0 -7
- /package/dist/chunks/{cli-0.1.11-4px8nt5r.mjs → cli-0.1.12-41zq3gv6.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.11-tyh8gms9.mjs → cli-0.1.12-ng34ay3g.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.11-x3q39kf7.mjs → cli-0.1.12-tvawkeks.mjs} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{Kn as L,Ln as Z,UH as X,gI as v,lE as O,mE as $,tH as V}from"./cli-0.1.12-242der7s.mjs";import{Una as Y}from"./cli-0.1.12-1hv04bp7.mjs";function W(G){let D=[],H=G.matchAll(y);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 O({promptMessages:[V({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:C(z.messages),usage:z.totalUsage}}function C(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=X(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: ${L(H.error)})`;return null}var y;var F=Y(()=>{Z();$();v();y=/^\/btw\b/gi});
|
|
21
|
+
export{W as $f,b as ag,F as bg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Una as $}from"./cli-0.1.12-1hv04bp7.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function E(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function y(z=1){return z===0?"":J(z,"S")}function a(z=1){return z===0?"":J(z,"T")}function n(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,o,c,t,r,i,e,s,zz,Jz,Qz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u"),F=J(2,"K"),K=J(2,"J"),o=J(3,"J");c=J("r"),t=J("200~"),r=J("201~"),i=J("I"),e=J("O"),s=J(">1u"),zz=J("<u"),Jz=J(">4;2m"),Qz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,$z;var f=$(()=>{v();P=J(0,"f");$z=T()});
|
|
2
|
+
export{d as y0,Y as z0,h as A0,j as B0,H as C0,w as D0,L as E0,x as F0,A as G0,N as H0,J as I0,g as J0,I as K0,_ as L0,u as M0,R as N0,C as O0,q as P0,S as Q0,K as R0,E as S0,y as T0,a as U0,n as V0,c as W0,t as X0,r as Y0,i as Z0,e as _0,s as $0,zz as a1,Jz as b1,Qz as c1,v as d1,T as e1,$z as f1,f as g1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Una as n}from"./cli-0.1.12-1hv04bp7.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
+
export{o as SW,e as TW,i as UW,g as VW,r as WW,u as XW,f as YW,l as ZW,t as _W};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{vna as M,wna as Y}from"./cli-0.1.12-vgbc3g9x.mjs";import{Una as W}from"./cli-0.1.12-1hv04bp7.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,".claudio").normalize("NFC")}function N(){return process.env.CLAUDIO_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.CLAUDIO_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{X as oha,_ as pha,j as qha,U as rha,I as sha,S as tha,T as uha,c as vha,L as wha,w as xha,z as yha,O as zha,x as Aha,k as Bha};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{Bg as p,jh as Wj}from"./cli-0.1.12-bmtahtv7.mjs";import{PP as N,RP as Rj}from"./cli-0.1.12-vpnp7x5c.mjs";import{$W as L,aX as c,bX as g,cX as w,fX as d,jX as Qj}from"./cli-0.1.12-sxxpysy8.mjs";import{Cba as b,Fba as H,S8 as $,U8 as Gj,W7 as I,X7 as zj,Yba as Oj,v_ as y,w_ as Jj}from"./cli-0.1.12-vzga2are.mjs";import{efa as _,qfa as a}from"./cli-0.1.12-g8mny195.mjs";import{Kga as U,Mga as i,Oga as D,Sga as jj,eha as R,hha as qj}from"./cli-0.1.12-rzpc0tr9.mjs";import{Bha as e,oha as u,rha as v,sha as B}from"./cli-0.1.12-ra3sby5b.mjs";import{Lla as F,Ska as C,Tka as E,Yma as t}from"./cli-0.1.12-pm5cwtxh.mjs";import{Una as Y}from"./cli-0.1.12-1hv04bp7.mjs";import{readdir as V}from"fs/promises";import{join as n}from"path";function s(){return[o]}async function r(q,j){if(q.length===0)return j?.("[Claude in Chrome] No browser paths to check"),{isInstalled:!1,browser:null};let J=s();for(let{browser:z,path:O}of q){let G=[];try{G=await V(O,{withFileTypes:!0})}catch(Q){if(U(Q))continue;throw Q}let W=G.filter((Q)=>Q.isDirectory()).filter((Q)=>Q.name==="Default"||Q.name.startsWith("Profile ")).map((Q)=>Q.name);if(W.length>0)j?.(`[Claude in Chrome] Found ${z} profiles: ${W.join(", ")}`);for(let Q of W)for(let Z of J){let l=n(O,Q,"Extensions",Z);try{return await V(l),j?.(`[Claude in Chrome] Extension ${Z} found in ${z} ${Q}`),{isInstalled:!0,browser:z}}catch{}}}return j?.("[Claude in Chrome] Extension not found in any browser"),{isInstalled:!1,browser:null}}async function A(q,j){return(await r(q,j)).isInstalled}var o="fcoeoabgfenejglbffodgkkbkcdhcgfn";var K=Y(()=>{i()});import{chmod as Xj,mkdir as P,readFile as f,writeFile as m}from"fs/promises";import{homedir as Zj}from"os";import{join as X}from"path";import{fileURLToPath as $j}from"url";function wj(q){if(C()&&q!==!0)return!1;if(q===!0)return!0;if(q===!1)return!1;if(v(process.env.CLAUDE_CODE_ENABLE_CFC))return!0;if(B(process.env.CLAUDE_CODE_ENABLE_CFC))return!1;let j=H();if(j.claudeInChromeDefaultEnabled!==void 0)return j.claudeInChromeDefaultEnabled;return!1}function dj(){if(k!==void 0)return k;return k=E()&&Nj()&&_("tengu_chrome_auto_enable",!1),k}function pj(){let q=y(),j=p.map((O)=>`mcp__claude-in-chrome__${O.name}`),J={};if(F())J.CLAUDE_CHROME_PERMISSION_MODE="skip_all_permission_checks";let z=Object.keys(J).length>0;if(q){let O=`"${process.execPath}" --chrome-native-host`;return x(O).then((G)=>T(G)).catch((G)=>R(`[Claude in Chrome] Failed to install native host: ${G}`,{level:"error"})),{mcpConfig:{[L]:{type:"stdio",command:process.execPath,args:["--claude-in-chrome-mcp"],scope:"dynamic",...z&&{env:J}}},allowedTools:j,systemPrompt:N()}}else{let O=$j(import.meta.url),G=X(O,".."),W=X(G,"cli.js");return x(`"${process.execPath}" "${W}" --chrome-native-host`).then((Z)=>T(Z)).catch((Z)=>R(`[Claude in Chrome] Failed to install native host: ${Z}`,{level:"error"})),{mcpConfig:{[L]:{type:"stdio",command:process.execPath,args:[`${W}`,"--claude-in-chrome-mcp"],scope:"dynamic",...z&&{env:J}}},allowedTools:j,systemPrompt:N()}}}function Hj(){if($()==="windows"){let j=Zj(),J=process.env.APPDATA||X(j,"AppData","Local");return[X(J,"Claude Code","ChromeNativeHost")]}return g().map(({path:j})=>j)}async function T(q){let j=Hj();if(j.length===0)throw Error("Claude in Chrome Native Host not supported on this platform");let z=D({name:S,description:"Claude Code Browser Extension Native Host",path:q,type:"stdio",allowed_origins:["chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/"]},null,2),O=!1;for(let G of j){let W=X(G,M);if(await f(W,"utf-8").catch(()=>null)===z)continue;try{await P(G,{recursive:!0}),await m(W,z),R(`[Claude in Chrome] Installed native host manifest at: ${W}`),O=!0}catch(Z){R(`[Claude in Chrome] Failed to install manifest at ${W}: ${Z}`)}}if($()==="windows"){let G=X(j[0],M);Lj(G)}if(O)h().then((G)=>{if(G)R("[Claude in Chrome] First-time install detected, opening reconnect page in browser"),d(kj);else R("[Claude in Chrome] First-time install detected, but extension not installed, skipping reconnect")})}function Lj(q){let j=w();for(let{browser:J,key:z}of j){let O=`${z}\\${S}`;I("reg",["add",O,"/ve","/t","REG_SZ","/d",q,"/f"]).then((G)=>{if(G.code===0)R(`[Claude in Chrome] Registered native host for ${J} in Windows registry: ${O}`);else R(`[Claude in Chrome] Failed to register native host for ${J} in Windows registry: ${G.stderr}`)})}}async function x(q){let j=$(),J=X(u(),"chrome"),z=j==="windows"?X(J,"chrome-native-host.bat"):X(J,"chrome-native-host"),O=j==="windows"?`@echo off
|
|
2
|
+
REM Chrome native host wrapper script
|
|
3
|
+
REM Generated by Claude Code - do not edit manually
|
|
4
|
+
${q}
|
|
5
|
+
`:`#!/bin/sh
|
|
6
|
+
# Chrome native host wrapper script
|
|
7
|
+
# Generated by Claude Code - do not edit manually
|
|
8
|
+
exec ${q}
|
|
9
|
+
`;if(await f(z,"utf-8").catch(()=>null)===O)return z;if(await P(J,{recursive:!0}),await m(z,O),j!=="windows")await Xj(z,493);return R(`[Claude in Chrome] Created Chrome native host wrapper script: ${z}`),z}function Nj(){return h().then((j)=>{if(!j)return;if(H().cachedChromeExtensionInstalled!==j)b((z)=>({...z,cachedChromeExtensionInstalled:j}))}),H().cachedChromeExtensionInstalled??!1}async function h(){let q=c();if(q.length===0)return R(`[Claude in Chrome] Unsupported platform for extension detection: ${$()}`),!1;return A(q,R)}var kj="https://clau.de/chrome/reconnect",S="com.anthropic.claude_code_browser_extension",M,k=void 0;var Sj=Y(()=>{Wj();t();a();Jj();Oj();qj();e();zj();Gj();jj();Qj();Rj();K();M=`${S}.json`});
|
|
10
|
+
export{wj as ob,dj as pb,pj as qb,h as rb,Sj as sb};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Le as LJ,Me as WQ}from"./cli-0.1.12-awb2yac7.mjs";import{Ne as PJ,Oe as hQ}from"./cli-0.1.12-v0510w04.mjs";import{Pe as hJ,Qe as RQ}from"./cli-0.1.12-s0cwq66w.mjs";import{Re as nq,Se as xJ}from"./cli-0.1.12-7ehqw1dk.mjs";import{Te as wq,Ue as eq,Ve as rJ}from"./cli-0.1.12-9v01t95v.mjs";import{We as WJ,Xe as HQ}from"./cli-0.1.12-0eznapyf.mjs";import{Ek as P,Fj as uq,Fk as Tq,Gi as Fq,Gj as mq,Ij as pq,Jj as fJ,Ki as aq,Ni as iq,Zi as lJ,_E as oq,_v as KJ,aF as $J,ak as YJ,aw as VJ,bK as g,bk as YQ,cw as VQ,eK as wQ,fC as HJ,gC as RJ,hC as FQ,kA as UJ,kw as vq,lA as BQ,lw as XQ,mA as FJ,mw as XJ,nA as wJ,nw as yQ,oA as UQ,oF as Aq,ow as yJ,pw as NJ,qw as BJ,rF as gJ,rw as NQ}from"./cli-0.1.12-242der7s.mjs";import{aS as GJ,bS as GQ}from"./cli-0.1.12-2v18rdhk.mjs";import{VS as zJ,WS as zQ,cT as Mq,dT as KQ}from"./cli-0.1.12-tyt09z73.mjs";import{QU as y,SU as Q,eT as Pq,vV as Oq}from"./cli-0.1.12-bddm1g1s.mjs";import{qX as h,rX as Y,sX as Z,tX as c}from"./cli-0.1.12-04jw23rj.mjs";import{uX as ZQ}from"./cli-0.1.12-ytxphavm.mjs";import{A3 as cJ,O3 as ZJ,Q3 as QQ,c3 as rq}from"./cli-0.1.12-y9598sy3.mjs";import{$$ as xq,B9 as Iq,Jaa as QJ,O7 as $,P7 as tJ,Taa as JQ,X$ as gq,X9 as qQ,Y$ as dJ,haa as TJ}from"./cli-0.1.12-vzga2are.mjs";import{Bha as sJ,oha as JJ}from"./cli-0.1.12-ra3sby5b.mjs";import{Yma as eJ,jja as qJ}from"./cli-0.1.12-pm5cwtxh.mjs";import{Qna as Bq,Una as Uq}from"./cli-0.1.12-1hv04bp7.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 aJ(){let J=iq(await aq());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 > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function iJ(J){if(!J)return null;let q=eq(J);if(q<=wq)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 > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function oJ(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 oq(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 nJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=nq(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 sq(J,q,V){let[G,K,X,B]=await Promise.all([aJ(),iJ(q),oJ(J,V,q),nJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var tq=Uq(()=>{gJ();$J();lJ();cJ();dJ();xJ();Tq();rJ();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);GJ();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:wJ,upperLimit:FJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-7")}].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(),".claude","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 sq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),yJ()){let Lq=bq(XJ(),"claude","locks"),DJ=BJ(Lq),SJ=NJ(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}]`:"",":"," ",YJ(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=UJ(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"?VJ:KJ)().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();KQ();RQ();$q();WQ();hQ();GQ();Oq();zQ();wQ();YQ();VQ();tq();XQ();BQ();qQ();NQ();JQ();UQ();FQ();yQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
+
export{pZ as Je,cQ as Ke};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ta as c}from"./cli-0.1.12-cxn1ke77.mjs";import{nc as v,rc as Wq}from"./cli-0.1.12-238c85zt.mjs";import{vc as I,wc as S,xc as $,yc as Xq}from"./cli-0.1.12-tadj1p4y.mjs";import{Fq as N,Hq as e,IF as _,JF as Jq,Jz as h,Kz as Bq,Tz as A,Vz as Gq,Yy as L,_G as M,bH as Qq,bK as E,cK as f,cz as qq,eK as Tq,fK as P,gK as Vq,xl as C,yl as r}from"./cli-0.1.12-242der7s.mjs";import{uX as s}from"./cli-0.1.12-ytxphavm.mjs";import{I7 as D,N7 as n,r7 as y,t7 as o,w9 as w,y9 as t}from"./cli-0.1.12-vzga2are.mjs";import{gga as F,hga as a}from"./cli-0.1.12-6x2mnahn.mjs";import{Fga as x,Mga as d,eha as j,hha as l}from"./cli-0.1.12-rzpc0tr9.mjs";import{Qna as p}from"./cli-0.1.12-1hv04bp7.mjs";Vq();a();Gq();Tq();Xq();t();l();o();d();n();r();Jq();qq();Bq();e();var V=p(s(),1);Wq();Qq();function hq({enabled:W=!0}={}){let b=V.useSyncExternalStore(S,I,I),H=f(),O=E((J)=>J.plugins.needsRefresh),{addNotification:z}=P(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await M();await c();let X=v();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await _(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await C()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await L()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await N(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await h(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);A(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=x(J);return D(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};F("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),y("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
+
export{hq as R};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{K6 as F5,L6 as t4,M6 as G6,O6 as z6}from"./cli-0.1.12-qn20n18h.mjs";import{Qna as o1,Tna as T5,Una as H}from"./cli-0.1.12-1hv04bp7.mjs";function D0($,W){return function(){return $.apply(W,arguments)}}var Z1=()=>{};function R0($){return $!==null&&!F0($)&&$.constructor!==null&&!F0($.constructor)&&d($.constructor.isBuffer)&&$.constructor.isBuffer($)}function y2($){let W;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)W=ArrayBuffer.isView($);else W=$&&$.buffer&&n1($.buffer);return W}function c2(){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 T0($,W,{allOwnKeys:G=!1}={}){if($===null||typeof $>"u")return;let Y,z;if(typeof $!=="object")$=[$];if(U0($))for(Y=0,z=$.length;Y<z;Y++)W.call(null,$[Y],Y,$);else{if(R0($))return;let Z=G?Object.getOwnPropertyNames($):Object.keys($),Q=Z.length,N;for(Y=0;Y<Q;Y++)N=Z[Y],W.call(null,$[N],N,$)}}function t1($,W){if(R0($))return null;W=W.toLowerCase();let G=Object.keys($),Y=G.length,z;while(Y-- >0)if(z=G[Y],W===z.toLowerCase())return z;return null}function N1(){let{caseless:$,skipUndefined:W}=a1(this)&&this||{},G={},Y=(z,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let Q=$&&t1(G,Z)||Z;if(u0(G[Q])&&u0(z))G[Q]=N1(G[Q],z);else if(u0(z))G[Q]=N1({},z);else if(U0(z))G[Q]=z.slice();else if(!W||!F0(z))G[Q]=z};for(let z=0,Z=arguments.length;z<Z;z++)arguments[z]&&T0(arguments[z],Y);return G}function B5($){return!!($&&d($.append)&&$[p1]==="FormData"&&$[g0])}var k2,J1,g0,p1,d0,t=($)=>{return $=$.toLowerCase(),(W)=>d0(W)===$},c0=($)=>(W)=>typeof W===$,U0,F0,n1,x2,d,i1,O0=($)=>$!==null&&typeof $==="object",b2=($)=>$===!0||$===!1,u0=($)=>{if(d0($)!=="object")return!1;let W=J1($);return(W===null||W===Object.prototype||Object.getPrototypeOf(W)===null)&&!(p1 in $)&&!(g0 in $)},j2=($)=>{if(!O0($)||R0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(W){return!1}},m2,v2,h2=($)=>{return!!($&&typeof $.uri<"u")},f2=($)=>$&&typeof $.getParts<"u",u2,g2,d2=($)=>O0($)&&d($.pipe),d1,c1,l2=($)=>{let W;return $&&(c1&&$ instanceof c1||d($.append)&&((W=d0($))==="formdata"||W==="object"&&d($.toString)&&$.toString()==="[object FormData]"))},p2,n2,i2,t2,a2,s2=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},K0,a1=($)=>!F0($)&&$!==K0,r2=($,W,G,{allOwnKeys:Y}={})=>{return T0(W,(z,Z)=>{if(G&&d(z))Object.defineProperty($,Z,{value:D0(z,G),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{value:z,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Y}),$},o2=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},e2=($,W,G,Y)=>{$.prototype=Object.create(W.prototype,Y),Object.defineProperty($.prototype,"constructor",{value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{value:W.prototype}),G&&Object.assign($.prototype,G)},$5=($,W,G,Y)=>{let z,Z,Q,N={};if(W=W||{},$==null)return W;do{z=Object.getOwnPropertyNames($),Z=z.length;while(Z-- >0)if(Q=z[Z],(!Y||Y(Q,$,W))&&!N[Q])W[Q]=$[Q],N[Q]=!0;$=G!==!1&&J1($)}while($&&(!G||G($,W))&&$!==Object.prototype);return W},W5=($,W,G)=>{if($=String($),G===void 0||G>$.length)G=$.length;G-=W.length;let Y=$.indexOf(W,G);return Y!==-1&&Y===G},Y5=($)=>{if(!$)return null;if(U0($))return $;let W=$.length;if(!i1(W))return null;let G=Array(W);while(W-- >0)G[W]=$[W];return G},G5,z5=($,W)=>{let Y=($&&$[g0]).call($),z;while((z=Y.next())&&!z.done){let Z=z.value;W.call($,Z[0],Z[1])}},Q5=($,W)=>{let G,Y=[];while((G=$.exec(W))!==null)Y.push(G);return Y},X5,Z5=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(G,Y,z){return Y.toUpperCase()+z})},l1,N5,s1=($,W)=>{let G=Object.getOwnPropertyDescriptors($),Y={};T0(G,(z,Z)=>{let Q;if((Q=W(z,Z,$))!==!1)Y[Z]=Q||z}),Object.defineProperties($,Y)},J5=($)=>{s1($,(W,G)=>{if(d($)&&["arguments","caller","callee"].indexOf(G)!==-1)return!1;let Y=$[G];if(!d(Y))return;if(W.enumerable=!1,"writable"in W){W.writable=!1;return}if(!W.set)W.set=()=>{throw Error("Can not rewrite read-only method '"+G+"'")}})},M5=($,W)=>{let G={},Y=(z)=>{z.forEach((Z)=>{G[Z]=!0})};return U0($)?Y($):Y(String($).split(W)),G},K5=()=>{},I5=($,W)=>{return $!=null&&Number.isFinite($=+$)?$:W},L5=($)=>{let W=[,,,,,,,,,,],G=(Y,z)=>{if(O0(Y)){if(W.indexOf(Y)>=0)return;if(R0(Y))return Y;if(!("toJSON"in Y)){W[z]=Y;let Z=U0(Y)?[]:{};return T0(Y,(Q,N)=>{let I=G(Q,z+1);!F0(I)&&(Z[N]=I)}),W[z]=void 0,Z}}return Y};return G($,0)},V5,P5=($)=>$&&(O0($)||d($))&&d($.then)&&d($.catch),r1,w5,H5=($)=>$!=null&&d($[g0]),X;var O=H(()=>{Z1();({toString:k2}=Object.prototype),{getPrototypeOf:J1}=Object,{iterator:g0,toStringTag:p1}=Symbol,d0=(($)=>(W)=>{let G=k2.call(W);return $[G]||($[G]=G.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:U0}=Array,F0=c0("undefined");n1=t("ArrayBuffer");x2=c0("string"),d=c0("function"),i1=c0("number"),m2=t("Date"),v2=t("File"),u2=t("Blob"),g2=t("FileList");d1=c2(),c1=typeof d1.FormData<"u"?d1.FormData:void 0,p2=t("URLSearchParams"),[n2,i2,t2,a2]=["ReadableStream","Request","Response","Headers"].map(t);K0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();G5=(($)=>{return(W)=>{return $&&W instanceof $}})(typeof Uint8Array<"u"&&J1(Uint8Array)),X5=t("HTMLFormElement"),l1=(({hasOwnProperty:$})=>(W,G)=>$.call(W,G))(Object.prototype),N5=t("RegExp");V5=t("AsyncFunction"),r1=(($,W)=>{if($)return setImmediate;return W?((G,Y)=>{return K0.addEventListener("message",({source:z,data:Z})=>{if(z===K0&&Z===G)Y.length&&Y.shift()()},!1),(z)=>{Y.push(z),K0.postMessage(G,"*")}})(`axios@${Math.random()}`,[]):(G)=>setTimeout(G)})(typeof setImmediate==="function",d(K0.postMessage)),w5=typeof queueMicrotask<"u"?queueMicrotask.bind(K0):typeof process<"u"&&process.nextTick||r1,X={isArray:U0,isArrayBuffer:n1,isBuffer:R0,isFormData:l2,isArrayBufferView:y2,isString:x2,isNumber:i1,isBoolean:b2,isObject:O0,isPlainObject:u0,isEmptyObject:j2,isReadableStream:n2,isRequest:i2,isResponse:t2,isHeaders:a2,isUndefined:F0,isDate:m2,isFile:v2,isReactNativeBlob:h2,isReactNative:f2,isBlob:u2,isRegExp:N5,isFunction:d,isStream:d2,isURLSearchParams:p2,isTypedArray:G5,isFileList:g2,forEach:T0,merge:N1,extend:r2,trim:s2,stripBOM:o2,inherits:e2,toFlatObject:$5,kindOf:d0,kindOfTest:t,endsWith:W5,toArray:Y5,forEachEntry:z5,matchAll:Q5,isHTMLForm:X5,hasOwnProperty:l1,hasOwnProp:l1,reduceDescriptors:s1,freezeMethods:J5,toObjectSet:M5,toCamelCase:Z5,noop:K5,toFiniteNumber:I5,findKey:t1,global:K0,isContextDefined:a1,isSpecCompliantForm:B5,toJSONObject:L5,isAsyncFn:V5,isThenable:P5,setImmediate:r1,asap:w5,isIterable:H5}});var h,L;var l=H(()=>{O();h=class h extends Error{static from($,W,G,Y,z,Z){let Q=new h($.message,W||$.code,G,Y,z);if(Q.cause=$,Q.name=$.name,$.status!=null&&Q.status==null)Q.status=$.status;return Z&&Object.assign(Q,Z),Q}constructor($,W,G,Y,z){super($);if(Object.defineProperty(this,"message",{value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,W&&(this.code=W),G&&(this.config=G),Y&&(this.request=Y),z)this.response=z,this.status=z.status}toJSON(){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:X.toJSONObject(this.config),code:this.code,status:this.status}}};h.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";h.ERR_BAD_OPTION="ERR_BAD_OPTION";h.ECONNABORTED="ECONNABORTED";h.ETIMEDOUT="ETIMEDOUT";h.ERR_NETWORK="ERR_NETWORK";h.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";h.ERR_DEPRECATED="ERR_DEPRECATED";h.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";h.ERR_BAD_REQUEST="ERR_BAD_REQUEST";h.ERR_CANCELED="ERR_CANCELED";h.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";h.ERR_INVALID_URL="ERR_INVALID_URL";L=h});var e1,l0;var M1=H(()=>{e1=o1(F5(),1),l0=e1.default});function I1($){return X.isPlainObject($)||X.isArray($)}function $4($){return X.endsWith($,"[]")?$.slice(0,-2):$}function K1($,W,G){if(!$)return W;return $.concat(W).map(function(z,Z){return z=$4(z),!G&&Z?"["+z+"]":z}).join(G?".":"")}function U5($){return X.isArray($)&&!$.some(I1)}function S5($,W,G){if(!X.isObject($))throw TypeError("target must be an object");W=W||new(l0||FormData),G=X.toFlatObject(G,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,B){return!X.isUndefined(B[U])});let Y=G.metaTokens,z=G.visitor||M,Z=G.dots,Q=G.indexes,I=(G.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(W);if(!X.isFunction(z))throw TypeError("visitor must be a function");function J(K){if(K===null)return"";if(X.isDate(K))return K.toISOString();if(X.isBoolean(K))return K.toString();if(!I&&X.isBlob(K))throw new L("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(K)||X.isTypedArray(K))return I&&typeof Blob==="function"?new Blob([K]):Buffer.from(K);return K}function M(K,U,B){let D=K;if(X.isReactNative(W)&&X.isReactNativeBlob(K))return W.append(K1(B,U,Z),J(K)),!1;if(K&&!B&&typeof K==="object"){if(X.endsWith(U,"{}"))U=Y?U:U.slice(0,-2),K=JSON.stringify(K);else if(X.isArray(K)&&U5(K)||(X.isFileList(K)||X.endsWith(U,"[]"))&&(D=X.toArray(K)))return U=$4(U),D.forEach(function(C,y){!(X.isUndefined(C)||C===null)&&W.append(Q===!0?K1([U],y,Z):Q===null?U:U+"[]",J(C))}),!1}if(I1(K))return!0;return W.append(K1(B,U,Z),J(K)),!1}let V=[],P=Object.assign(_5,{defaultVisitor:M,convertValue:J,isVisitable:I1});function w(K,U){if(X.isUndefined(K))return;if(V.indexOf(K)!==-1)throw Error("Circular reference detected in "+U.join("."));V.push(K),X.forEach(K,function(D,q){if((!(X.isUndefined(D)||D===null)&&z.call(W,D,X.isString(q)?q.trim():q,U,P))===!0)w(D,U?U.concat(q):[q])}),V.pop()}if(!X.isObject($))throw TypeError("data must be an object");return w($),W}var _5,X0;var q0=H(()=>{O();l();M1();_5=X.toFlatObject(X,{},null,function(W){return/^is[A-Z]/.test(W)});X0=S5});function W4($){let W={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent($).replace(/[!'()~]|%20|%00/g,function(Y){return W[Y]})}function Y4($,W){this._pairs=[],$&&X0($,this,W)}var G4,z4;var Q4=H(()=>{q0();G4=Y4.prototype;G4.append=function(W,G){this._pairs.push([W,G])};G4.toString=function(W){let G=W?function(Y){return W.call(this,Y,W4)}:W4;return this._pairs.map(function(z){return G(z[0])+"="+G(z[1])},"").join("&")};z4=Y4});function C5($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function I0($,W,G){if(!W)return $;let Y=G&&G.encode||C5,z=X.isFunction(G)?{serialize:G}:G,Z=z&&z.serialize,Q;if(Z)Q=Z(W,z);else Q=X.isURLSearchParams(W)?W.toString():new z4(W,z).toString(Y);if(Q){let N=$.indexOf("#");if(N!==-1)$=$.slice(0,N);$+=($.indexOf("?")===-1?"?":"&")+Q}return $}var p0=H(()=>{O();Q4()});class X4{constructor(){this.handlers=[]}use($,W,G){return this.handlers.push({fulfilled:$,rejected:W,synchronous:G?G.synchronous:!1,runWhen:G?G.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(G){if(G!==null)$(G)})}}var B1;var Z4=H(()=>{O();B1=X4});var Z0;var E0=H(()=>{Z0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import D5 from"url";var N4;var J4=H(()=>{N4=D5.URLSearchParams});import R5 from"crypto";var L1="abcdefghijklmnopqrstuvwxyz",M4="0123456789",K4,O5=($=16,W=K4.ALPHA_DIGIT)=>{let G="",{length:Y}=W,z=new Uint32Array($);R5.randomFillSync(z);for(let Z=0;Z<$;Z++)G+=W[z[Z]%Y];return G},I4;var B4=H(()=>{J4();M1();K4={DIGIT:M4,ALPHA:L1,ALPHA_DIGIT:L1+L1.toUpperCase()+M4},I4={isNode:!0,classes:{URLSearchParams:N4,FormData:l0,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K4,generateString:O5,protocols:["http","https","file","data"]}});var w1={};T5(w1,{origin:()=>A5,navigator:()=>V1,hasStandardBrowserWebWorkerEnv:()=>E5,hasStandardBrowserEnv:()=>q5,hasBrowserEnv:()=>P1});var P1,V1,q5,E5,A5;var L4=H(()=>{P1=typeof window<"u"&&typeof document<"u",V1=typeof navigator==="object"&&navigator||void 0,q5=P1&&(!V1||["ReactNative","NativeScript","NS"].indexOf(V1.product)<0),E5=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),A5=P1&&window.location.href||"http://localhost"});var S;var a=H(()=>{B4();L4();S={...w1,...I4}});function H1($,W){return X0($,new S.classes.URLSearchParams,{visitor:function(G,Y,z,Z){if(S.isNode&&X.isBuffer(G))return this.append(Y,G.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...W})}var V4=H(()=>{O();q0();a()});function k5($){return X.matchAll(/\w+|\[(\w*)]/g,$).map((W)=>{return W[0]==="[]"?"":W[1]||W[0]})}function y5($){let W={},G=Object.keys($),Y,z=G.length,Z;for(Y=0;Y<z;Y++)Z=G[Y],W[Z]=$[Z];return W}function x5($){function W(G,Y,z,Z){let Q=G[Z++];if(Q==="__proto__")return!0;let N=Number.isFinite(+Q),I=Z>=G.length;if(Q=!Q&&X.isArray(z)?z.length:Q,I){if(X.hasOwnProp(z,Q))z[Q]=[z[Q],Y];else z[Q]=Y;return!N}if(!z[Q]||!X.isObject(z[Q]))z[Q]=[];if(W(G,Y,z[Q],Z)&&X.isArray(z[Q]))z[Q]=y5(z[Q]);return!N}if(X.isFormData($)&&X.isFunction($.entries)){let G={};return X.forEachEntry($,(Y,z)=>{W(k5(Y),z,G,0)}),G}return null}var n0;var F1=H(()=>{O();n0=x5});function b5($,W,G){if(X.isString($))try{return(W||JSON.parse)($),X.trim($)}catch(Y){if(Y.name!=="SyntaxError")throw Y}return(G||JSON.stringify)($)}var U1,_0;var i0=H(()=>{O();l();E0();q0();V4();a();F1();U1={transitional:Z0,adapter:["xhr","http","fetch"],transformRequest:[function(W,G){let Y=G.getContentType()||"",z=Y.indexOf("application/json")>-1,Z=X.isObject(W);if(Z&&X.isHTMLForm(W))W=new FormData(W);if(X.isFormData(W))return z?JSON.stringify(n0(W)):W;if(X.isArrayBuffer(W)||X.isBuffer(W)||X.isStream(W)||X.isFile(W)||X.isBlob(W)||X.isReadableStream(W))return W;if(X.isArrayBufferView(W))return W.buffer;if(X.isURLSearchParams(W))return G.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),W.toString();let N;if(Z){if(Y.indexOf("application/x-www-form-urlencoded")>-1)return H1(W,this.formSerializer).toString();if((N=X.isFileList(W))||Y.indexOf("multipart/form-data")>-1){let I=this.env&&this.env.FormData;return X0(N?{"files[]":W}:W,I&&new I,this.formSerializer)}}if(Z||z)return G.setContentType("application/json",!1),b5(W);return W}],transformResponse:[function(W){let G=this.transitional||U1.transitional,Y=G&&G.forcedJSONParsing,z=this.responseType==="json";if(X.isResponse(W)||X.isReadableStream(W))return W;if(W&&X.isString(W)&&(Y&&!this.responseType||z)){let Q=!(G&&G.silentJSONParsing)&&z;try{return JSON.parse(W,this.parseReviver)}catch(N){if(Q){if(N.name==="SyntaxError")throw L.from(N,L.ERR_BAD_RESPONSE,this,null,this.response);throw N}}}return W}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(W){return W>=200&&W<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],($)=>{U1.headers[$]={}});_0=U1});var j5,P4=($)=>{let W={},G,Y,z;return $&&$.split(`
|
|
2
|
+
`).forEach(function(Q){if(z=Q.indexOf(":"),G=Q.substring(0,z).trim().toLowerCase(),Y=Q.substring(z+1).trim(),!G||W[G]&&j5[G])return;if(G==="set-cookie")if(W[G])W[G].push(Y);else W[G]=[Y];else W[G]=W[G]?W[G]+", "+Y:Y}),W};var w4=H(()=>{O();j5=X.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 F4($,W){if($===!1||$==null)return;if(X.isArray($)){$.forEach((G)=>F4(G,W));return}if(!m5(String($)))throw Error(`Invalid character in header content ["${W}"]`)}function A0($){return $&&String($).trim().toLowerCase()}function v5($){let W=$.length;while(W>0){let G=$.charCodeAt(W-1);if(G!==10&&G!==13)break;W-=1}return W===$.length?$:$.slice(0,W)}function t0($){if($===!1||$==null)return $;return X.isArray($)?$.map(t0):v5(String($))}function h5($){let W=Object.create(null),G=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,Y;while(Y=G.exec($))W[Y[1]]=Y[2];return W}function _1($,W,G,Y,z){if(X.isFunction(Y))return Y.call(this,W,G);if(z)W=G;if(!X.isString(W))return;if(X.isString(Y))return W.indexOf(Y)!==-1;if(X.isRegExp(Y))return Y.test(W)}function u5($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(W,G,Y)=>{return G.toUpperCase()+Y})}function g5($,W){let G=X.toCamelCase(" "+W);["get","set","has"].forEach((Y)=>{Object.defineProperty($,Y+G,{value:function(z,Z,Q){return this[Y].call(this,W,z,Z,Q)},configurable:!0})})}var H4,m5=($)=>!/[\r\n]/.test($),f5=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),k0,T;var o=H(()=>{O();w4();H4=Symbol("internals");k0=class k0{constructor($){$&&this.set($)}set($,W,G){let Y=this;function z(Q,N,I){let J=A0(N);if(!J)throw Error("header name must be a non-empty string");let M=X.findKey(Y,J);if(!M||Y[M]===void 0||I===!0||I===void 0&&Y[M]!==!1)F4(Q,N),Y[M||N]=t0(Q)}let Z=(Q,N)=>X.forEach(Q,(I,J)=>z(I,J,N));if(X.isPlainObject($)||$ instanceof this.constructor)Z($,W);else if(X.isString($)&&($=$.trim())&&!f5($))Z(P4($),W);else if(X.isObject($)&&X.isIterable($)){let Q={},N,I;for(let J of $){if(!X.isArray(J))throw TypeError("Object iterator must return a key-value pair");Q[I=J[0]]=(N=Q[I])?X.isArray(N)?[...N,J[1]]:[N,J[1]]:J[1]}Z(Q,W)}else $!=null&&z(W,$,G);return this}get($,W){if($=A0($),$){let G=X.findKey(this,$);if(G){let Y=this[G];if(!W)return Y;if(W===!0)return h5(Y);if(X.isFunction(W))return W.call(this,Y,G);if(X.isRegExp(W))return W.exec(Y);throw TypeError("parser must be boolean|regexp|function")}}}has($,W){if($=A0($),$){let G=X.findKey(this,$);return!!(G&&this[G]!==void 0&&(!W||_1(this,this[G],G,W)))}return!1}delete($,W){let G=this,Y=!1;function z(Z){if(Z=A0(Z),Z){let Q=X.findKey(G,Z);if(Q&&(!W||_1(G,G[Q],Q,W)))delete G[Q],Y=!0}}if(X.isArray($))$.forEach(z);else z($);return Y}clear($){let W=Object.keys(this),G=W.length,Y=!1;while(G--){let z=W[G];if(!$||_1(this,this[z],z,$,!0))delete this[z],Y=!0}return Y}normalize($){let W=this,G={};return X.forEach(this,(Y,z)=>{let Z=X.findKey(G,z);if(Z){W[Z]=t0(Y),delete W[z];return}let Q=$?u5(z):String(z).trim();if(Q!==z)delete W[z];W[Q]=t0(Y),G[Q]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let W=Object.create(null);return X.forEach(this,(G,Y)=>{G!=null&&G!==!1&&(W[Y]=$&&X.isArray(G)?G.join(", "):G)}),W}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,W])=>$+": "+W).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...W){let G=new this($);return W.forEach((Y)=>G.set(Y)),G}static accessor($){let G=(this[H4]=this[H4]={accessors:{}}).accessors,Y=this.prototype;function z(Z){let Q=A0(Z);if(!G[Q])g5(Y,Z),G[Q]=!0}return X.isArray($)?$.forEach(z):z($),this}};k0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(k0.prototype,({value:$},W)=>{let G=W[0].toUpperCase()+W.slice(1);return{get:()=>$,set(Y){this[G]=Y}}});X.freezeMethods(k0);T=k0});function y0($,W){let G=this||_0,Y=W||G,z=T.from(Y.headers),Z=Y.data;return X.forEach($,function(N){Z=N.call(G,Z,z.normalize(),W?W.status:void 0)}),z.normalize(),Z}var U4=H(()=>{O();i0();o()});function x0($){return!!($&&$.__CANCEL__)}var S1=()=>{};var _4,p;var B0=H(()=>{l();_4=class _4 extends L{constructor($,W,G){super($==null?"canceled":$,L.ERR_CANCELED,W,G);this.name="CanceledError",this.__CANCEL__=!0}};p=_4});function e($,W,G){let Y=G.config.validateStatus;if(!G.status||!Y||Y(G.status))$(G);else W(new L("Request failed with status code "+G.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(G.status/100)-4],G.config,G.request,G))}var a0=H(()=>{l()});function C1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var S4=()=>{};function D1($,W){return W?$.replace(/\/?\/$/,"")+"/"+W.replace(/^\/+/,""):$}var C4=()=>{};function L0($,W,G){let Y=!C1(W);if($&&(Y||G==!1))return D1($,W);return W}var s0=H(()=>{S4();C4()});var V0="1.15.0";var r0=()=>{};function b0($){let W=/^([-+\w]{1,25})(:?\/\/|:)/.exec($);return W&&W[1]||""}var R1=()=>{};function O1($,W,G){let Y=G&&G.Blob||S.classes.Blob,z=b0($);if(W===void 0&&Y)W=!0;if(z==="data"){$=z.length?$.slice(z.length+1):$;let Z=d5.exec($);if(!Z)throw new L("Invalid URL",L.ERR_INVALID_URL);let Q=Z[1],N=Z[2],I=Z[3],J=Buffer.from(decodeURIComponent(I),N?"base64":"utf8");if(W){if(!Y)throw new L("Blob is not supported",L.ERR_NOT_SUPPORT);return new Y([J],{type:Q})}return J}throw new L("Unsupported protocol "+z,L.ERR_NOT_SUPPORT)}var d5;var D4=H(()=>{l();R1();a();d5=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/});import c5 from"stream";var T1,R4,q1;var O4=H(()=>{O();T1=Symbol("internals");R4=class R4 extends c5.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(G,Y)=>{return!X.isUndefined(Y[G])});super({readableHighWaterMark:$.chunkSize});let W=this[T1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(G)=>{if(G==="progress"){if(!W.isCaptured)W.isCaptured=!0}})}_read($){let W=this[T1];if(W.onReadCallback)W.onReadCallback();return super._read($)}_transform($,W,G){let Y=this[T1],z=Y.maxRate,Z=this.readableHighWaterMark,Q=Y.timeWindow,N=1000/Q,I=z/N,J=Y.minChunkSize!==!1?Math.max(Y.minChunkSize,I*0.01):0,M=(P,w)=>{let K=Buffer.byteLength(P);if(Y.bytesSeen+=K,Y.bytes+=K,Y.isCaptured&&this.emit("progress",Y.bytesSeen),this.push(P))process.nextTick(w);else Y.onReadCallback=()=>{Y.onReadCallback=null,process.nextTick(w)}},V=(P,w)=>{let K=Buffer.byteLength(P),U=null,B=Z,D,q=0;if(z){let C=Date.now();if(!Y.ts||(q=C-Y.ts)>=Q)Y.ts=C,D=I-Y.bytes,Y.bytes=D<0?-D:0,q=0;D=I-Y.bytes}if(z){if(D<=0)return setTimeout(()=>{w(null,P)},Q-q);if(D<B)B=D}if(B&&K>B&&K-B>J)U=P.subarray(B),P=P.subarray(0,B);M(P,U?()=>{process.nextTick(w,null,U)}:w)};V($,function P(w,K){if(w)return G(w);if(K)V(K,P);else G(null)})}};q1=R4});var T4,l5=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[T4])yield*$[T4]();else yield $},o0;var E1=H(()=>{({asyncIterator:T4}=Symbol),o0=l5});import p5 from"util";import{Readable as n5}from"stream";class q4{constructor($,W){let{escapeName:G}=this.constructor,Y=X.isString(W),z=`Content-Disposition: form-data; name="${G($)}"${!Y&&W.name?`; filename="${G(W.name)}"`:""}${P0}`;if(Y)W=j0.encode(String(W).replace(/\r?\n|\r\n?/g,P0));else z+=`Content-Type: ${W.type||"application/octet-stream"}${P0}`;this.headers=j0.encode(z+P0),this.contentLength=Y?W.byteLength:W.size,this.size=this.headers.byteLength+this.contentLength+a5,this.name=$,this.value=W}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*o0($);yield t5}static escapeName($){return String($).replace(/[\r\n"]/g,(W)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[W])}}var i5,j0,P0=`\r
|
|
4
|
+
`,t5,a5=2,s5=($,W,G)=>{let{tag:Y="form-data-boundary",size:z=25,boundary:Z=Y+"-"+S.generateString(z,i5)}=G||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 10-70 characters long");let Q=j0.encode("--"+Z+P0),N=j0.encode("--"+Z+"--"+P0),I=N.byteLength,J=Array.from($.entries()).map(([V,P])=>{let w=new q4(V,P);return I+=w.size,w});I+=Q.byteLength*J.length,I=X.toFiniteNumber(I);let M={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(I))M["Content-Length"]=I;return W&&W(M),n5.from(async function*(){for(let V of J)yield Q,yield*V.encode();yield N}())},E4;var A4=H(()=>{O();E1();a();i5=S.ALPHABET.ALPHA_DIGIT+"-_",j0=typeof TextEncoder==="function"?new TextEncoder:new p5.TextEncoder,t5=j0.encode(P0);E4=s5});import r5 from"stream";var k4,y4;var x4=H(()=>{k4=class k4 extends r5.Transform{__transform($,W,G){this.push($),G()}_transform($,W,G){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let Y=Buffer.alloc(2);Y[0]=120,Y[1]=156,this.push(Y,W)}}this.__transform($,W,G)}};y4=k4});var o5=($,W)=>{return X.isAsyncFn($)?function(...G){let Y=G.pop();$.apply(this,G).then((z)=>{try{W?Y(null,...W(z)):Y(null,z)}catch(Z){Y(Z)}},Y)}:$},b4;var j4=H(()=>{O();b4=o5});function A1($){let W;try{W=new URL($)}catch(Z){return!1}let G=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!G)return!1;if(G==="*")return!0;let Y=Number.parseInt(W.port,10)||e5[W.protocol.split(":",1)[0]]||0,z=m4(W.hostname.toLowerCase());return G.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[Q,N]=$6(Z);if(Q=m4(Q),!Q)return!1;if(N&&N!==Y)return!1;if(Q.charAt(0)==="*")Q=Q.slice(1);if(Q.charAt(0)===".")return z.endsWith(Q);return z===Q})}var e5,$6=($)=>{let W=$,G=0;if(W.charAt(0)==="["){let Z=W.indexOf("]");if(Z!==-1){let Q=W.slice(1,Z),N=W.slice(Z+1);if(N.charAt(0)===":"&&/^\d+$/.test(N.slice(1)))G=Number.parseInt(N.slice(1),10);return[Q,G]}}let Y=W.indexOf(":"),z=W.lastIndexOf(":");if(Y!==-1&&Y===z&&/^\d+$/.test(W.slice(z+1)))G=Number.parseInt(W.slice(z+1),10),W=W.slice(0,z);return[W,G]},m4=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return $.replace(/\.+$/,"")};var v4=H(()=>{e5={http:80,https:443,ws:80,wss:443,ftp:21}});function W6($,W){$=$||10;let G=Array($),Y=Array($),z=0,Z=0,Q;return W=W!==void 0?W:1000,function(I){let J=Date.now(),M=Y[Z];if(!Q)Q=J;G[z]=I,Y[z]=J;let V=Z,P=0;while(V!==z)P+=G[V++],V=V%$;if(z=(z+1)%$,z===Z)Z=(Z+1)%$;if(J-Q<W)return;let w=M&&J-M;return w?Math.round(P*1000/w):void 0}}var h4;var f4=H(()=>{h4=W6});function Y6($,W){let G=0,Y=1000/W,z,Z,Q=(J,M=Date.now())=>{if(G=M,z=null,Z)clearTimeout(Z),Z=null;$(...J)};return[(...J)=>{let M=Date.now(),V=M-G;if(V>=Y)Q(J,M);else if(z=J,!Z)Z=setTimeout(()=>{Z=null,Q(z)},Y-V)},()=>z&&Q(z)]}var u4;var g4=H(()=>{u4=Y6});var Y0=($,W,G=3)=>{let Y=0,z=h4(50,250);return u4((Z)=>{let Q=Z.loaded,N=Z.lengthComputable?Z.total:void 0,I=Q-Y,J=z(I),M=Q<=N;Y=Q;let V={loaded:Q,total:N,progress:N?Q/N:void 0,bytes:I,rate:J?J:void 0,estimated:J&&N&&M?(N-Q)/J:void 0,event:Z,lengthComputable:N!=null,[W?"download":"upload"]:!0};$(V)},G)},S0=($,W)=>{let G=$!=null;return[(Y)=>W[0]({lengthComputable:G,total:$,loaded:Y}),W[1]]},C0=($)=>(...W)=>X.asap(()=>$(...W));var e0=H(()=>{f4();g4();O()});function k1($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let W=$.indexOf(",");if(W<0)return 0;let G=$.slice(5,W),Y=$.slice(W+1);if(/;base64/i.test(G)){let{length:Z,length:Q}=Y;for(let P=0;P<Q;P++)if(Y.charCodeAt(P)===37&&P+2<Q){let w=Y.charCodeAt(P+1),K=Y.charCodeAt(P+2);if((w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(K>=48&&K<=57||K>=65&&K<=70||K>=97&&K<=102))Z-=2,P+=2}let N=0,I=Q-1,J=(P)=>P>=2&&Y.charCodeAt(P-2)===37&&Y.charCodeAt(P-1)===51&&(Y.charCodeAt(P)===68||Y.charCodeAt(P)===100);if(I>=0){if(Y.charCodeAt(I)===61)N++,I--;else if(J(I))N++,I-=3}if(N===1&&I>=0){if(Y.charCodeAt(I)===61)N++;else if(J(I))N++}let V=Math.floor(Z/4)*3-(N||0);return V>0?V:0}return Buffer.byteLength(Y,"utf8")}var d4=()=>{};import Q6 from"http";import X6 from"https";import a4 from"http2";import s4 from"util";import J0 from"zlib";import N0 from"stream";import{EventEmitter as Z6}from"events";class o4{constructor(){this.sessions=Object.create(null)}getSession($,W){W=Object.assign({sessionTimeout:1000},W);let G=this.sessions[$];if(G){let J=G.length;for(let M=0;M<J;M++){let[V,P]=G[M];if(!V.destroyed&&!V.closed&&s4.isDeepStrictEqual(P,W))return V}}let Y=a4.connect($,W),z,Z=()=>{if(z)return;z=!0;let J=G,M=J.length,V=M;while(V--)if(J[V][0]===Y){if(M===1)delete this.sessions[$];else J.splice(V,1);if(!Y.closed)Y.close();return}},Q=Y.request,{sessionTimeout:N}=W;if(N!=null){let J,M=0;Y.request=function(){let V=Q.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return V.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},N)}),V}}Y.once("close",Z);let I=[Y,W];return G?G.push(I):G=this.sessions[$]=[I],Y}}function B6($,W){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.config)$.beforeRedirects.config($,W)}function e4($,W,G){let Y=W;if(!Y&&Y!==!1){let z=t4(G);if(z){if(!A1(G))Y=new URL(z)}}if(Y){if(Y.username)Y.auth=(Y.username||"")+":"+(Y.password||"");if(Y.auth){if(Boolean(Y.auth.username||Y.auth.password))Y.auth=(Y.auth.username||"")+":"+(Y.auth.password||"");else if(typeof Y.auth==="object")throw new L("Invalid proxy authorization",L.ERR_BAD_OPTION,{proxy:Y});let Q=Buffer.from(Y.auth,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+Q}$.headers.host=$.hostname+($.port?":"+$.port:"");let z=Y.hostname||Y.host;if($.hostname=z,$.host=z,$.port=Y.port,$.path=G,Y.protocol)$.protocol=Y.protocol.includes(":")?Y.protocol:`${Y.protocol}:`}$.beforeRedirects.proxy=function(Z){e4(Z,W,Z.href)}}var r4,c4,N6,l4,J6,M6,K6,p4,n4=($,[W,G])=>{return $.on("end",G).on("error",G),W},I6,L6,V6=($)=>{return new Promise((W,G)=>{let Y,z,Z=(I,J)=>{if(z)return;z=!0,Y&&Y(I,J)},Q=(I)=>{Z(I),W(I)},N=(I)=>{Z(I,!0),G(I)};$(Q,N,(I)=>Y=I).catch(N)})},P6=({address:$,family:W})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:W||($.indexOf(".")<0?6:4)}},i4=($,W)=>P6(X.isObject($)?$:{address:$,family:W}),w6,$2;var W2=H(()=>{O();a0();s0();p0();G6();r0();E0();l();B0();a();D4();o();O4();A4();E1();x4();j4();v4();e0();d4();r4=o1(z6(),1),c4={flush:J0.constants.Z_SYNC_FLUSH,finishFlush:J0.constants.Z_SYNC_FLUSH},N6={flush:J0.constants.BROTLI_OPERATION_FLUSH,finishFlush:J0.constants.BROTLI_OPERATION_FLUSH},l4=X.isFunction(J0.createBrotliDecompress),{http:J6,https:M6}=r4.default,K6=/https:?/,p4=S.protocols.map(($)=>{return $+":"});I6=new o4;L6=typeof process<"u"&&X.kindOf(process)==="process",w6={request($,W){let G=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:Y,headers:z}=$,Z=I6.getSession(G,Y),{HTTP2_HEADER_SCHEME:Q,HTTP2_HEADER_METHOD:N,HTTP2_HEADER_PATH:I,HTTP2_HEADER_STATUS:J}=a4.constants,M={[Q]:$.protocol.replace(":",""),[N]:$.method,[I]:$.path};X.forEach(z,(P,w)=>{w.charAt(0)!==":"&&(M[w]=P)});let V=Z.request(M);return V.once("response",(P)=>{let w=V;P=Object.assign({},P);let K=P[J];delete P[J],w.headers=P,w.statusCode=+K,W(w)}),V}},$2=L6&&function(W){return V6(async function(Y,z,Z){let{data:Q,lookup:N,family:I,httpVersion:J=1,http2Options:M}=W,{responseType:V,responseEncoding:P}=W,w=W.method.toUpperCase(),K,U=!1,B;if(J=+J,Number.isNaN(J))throw TypeError(`Invalid protocol version: '${W.httpVersion}' is not a number`);if(J!==1&&J!==2)throw TypeError(`Unsupported protocol version '${J}'`);let D=J===2;if(N){let _=b4(N,(F)=>X.isArray(F)?F:[F]);N=(F,R,c)=>{_(F,R,(A,i,Q0)=>{if(A)return c(A);let g=X.isArray(i)?i.map((f0)=>i4(f0)):[i4(i,Q0)];R.all?c(A,g):c(A,g[0].address,g[0].family)})}}let q=new Z6;function C(_){try{q.emit("abort",!_||_.type?new p(null,W,B):_)}catch(F){console.warn("emit error",F)}}q.once("abort",z);let y=()=>{if(W.cancelToken)W.cancelToken.unsubscribe(C);if(W.signal)W.signal.removeEventListener("abort",C);q.removeAllListeners()};if(W.cancelToken||W.signal){if(W.cancelToken&&W.cancelToken.subscribe(C),W.signal)W.signal.aborted?C():W.signal.addEventListener("abort",C)}Z((_,F)=>{if(K=!0,F){U=!0,y();return}let{data:R}=_;if(R instanceof N0.Readable||R instanceof N0.Duplex){let c=N0.finished(R,()=>{c(),y()})}else y()});let f=L0(W.baseURL,W.url,W.allowAbsoluteUrls),E=new URL(f,S.hasBrowserEnv?S.origin:void 0),x=E.protocol||p4[0];if(x==="data:"){if(W.maxContentLength>-1){let F=String(W.url||f||"");if(k1(F)>W.maxContentLength)return z(new L("maxContentLength size of "+W.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,W))}let _;if(w!=="GET")return e(Y,z,{status:405,statusText:"method not allowed",headers:{},config:W});try{_=O1(W.url,V==="blob",{Blob:W.env&&W.env.Blob})}catch(F){throw L.from(F,L.ERR_BAD_REQUEST,W)}if(V==="text"){if(_=_.toString(P),!P||P==="utf8")_=X.stripBOM(_)}else if(V==="stream")_=N0.Readable.from(_);return e(Y,z,{data:_,status:200,statusText:"OK",headers:new T,config:W})}if(p4.indexOf(x)===-1)return z(new L("Unsupported protocol "+x,L.ERR_BAD_REQUEST,W));let b=T.from(W.headers).normalize();b.set("User-Agent","axios/"+V0,!1);let{onUploadProgress:G0,onDownloadProgress:w0}=W,M0=W.maxRate,$0=void 0,r=void 0;if(X.isSpecCompliantForm(Q)){let _=b.getContentType(/boundary=([-_\w\d]{10,70})/i);Q=E4(Q,(F)=>{b.set(F)},{tag:`axios-${V0}-boundary`,boundary:_&&_[1]||void 0})}else if(X.isFormData(Q)&&X.isFunction(Q.getHeaders)){if(b.set(Q.getHeaders()),!b.hasContentLength())try{let _=await s4.promisify(Q.getLength).call(Q);Number.isFinite(_)&&_>=0&&b.setContentLength(_)}catch(_){}}else if(X.isBlob(Q)||X.isFile(Q))Q.size&&b.setContentType(Q.type||"application/octet-stream"),b.setContentLength(Q.size||0),Q=N0.Readable.from(o0(Q));else if(Q&&!X.isStream(Q)){if(Buffer.isBuffer(Q));else if(X.isArrayBuffer(Q))Q=Buffer.from(new Uint8Array(Q));else if(X.isString(Q))Q=Buffer.from(Q,"utf-8");else return z(new L("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",L.ERR_BAD_REQUEST,W));if(b.setContentLength(Q.length,!1),W.maxBodyLength>-1&&Q.length>W.maxBodyLength)return z(new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,W))}let W0=X.toFiniteNumber(b.getContentLength());if(X.isArray(M0))$0=M0[0],r=M0[1];else $0=r=M0;if(Q&&(G0||$0)){if(!X.isStream(Q))Q=N0.Readable.from(Q,{objectMode:!1});Q=N0.pipeline([Q,new q1({maxRate:X.toFiniteNumber($0)})],X.noop),G0&&Q.on("progress",n4(Q,S0(W0,Y0(C0(G0),!1,3))))}let z0=void 0;if(W.auth){let _=W.auth.username||"",F=W.auth.password||"";z0=_+":"+F}if(!z0&&E.username){let{username:_,password:F}=E;z0=_+":"+F}z0&&b.delete("authorization");let j;try{j=I0(E.pathname+E.search,W.params,W.paramsSerializer).replace(/^\?/,"")}catch(_){let F=Error(_.message);return F.config=W,F.url=W.url,F.exists=!0,z(F)}b.set("Accept-Encoding","gzip, compress, deflate"+(l4?", br":""),!1);let m={path:j,method:w,headers:b.toJSON(),agents:{http:W.httpAgent,https:W.httpsAgent},auth:z0,protocol:x,family:I,beforeRedirect:B6,beforeRedirects:{},http2Options:M};if(!X.isUndefined(N)&&(m.lookup=N),W.socketPath)m.socketPath=W.socketPath;else m.hostname=E.hostname.startsWith("[")?E.hostname.slice(1,-1):E.hostname,m.port=E.port,e4(m,W.proxy,x+"//"+E.hostname+(E.port?":"+E.port:"")+m.path);let u,H0=K6.test(m.protocol);if(m.agent=H0?W.httpsAgent:W.httpAgent,D)u=w6;else if(W.transport)u=W.transport;else if(W.maxRedirects===0)u=H0?X6:Q6;else{if(W.maxRedirects)m.maxRedirects=W.maxRedirects;if(W.beforeRedirect)m.beforeRedirects.config=W.beforeRedirect;u=H0?M6:J6}if(W.maxBodyLength>-1)m.maxBodyLength=W.maxBodyLength;else m.maxBodyLength=1/0;if(W.insecureHTTPParser)m.insecureHTTPParser=W.insecureHTTPParser;if(B=u.request(m,function(F){if(B.destroyed)return;let R=[F],c=X.toFiniteNumber(F.headers["content-length"]);if(w0||r){let g=new q1({maxRate:X.toFiniteNumber(r)});w0&&g.on("progress",n4(g,S0(c,Y0(C0(w0),!0,3)))),R.push(g)}let A=F,i=F.req||B;if(W.decompress!==!1&&F.headers["content-encoding"]){if(w==="HEAD"||F.statusCode===204)delete F.headers["content-encoding"];switch((F.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":R.push(J0.createUnzip(c4)),delete F.headers["content-encoding"];break;case"deflate":R.push(new y4),R.push(J0.createUnzip(c4)),delete F.headers["content-encoding"];break;case"br":if(l4)R.push(J0.createBrotliDecompress(N6)),delete F.headers["content-encoding"]}}A=R.length>1?N0.pipeline(R,X.noop):R[0];let Q0={status:F.statusCode,statusText:F.statusMessage,headers:new T(F.headers),config:W,request:i};if(V==="stream")Q0.data=A,e(Y,z,Q0);else{let g=[],f0=0;A.on("data",function(v){if(g.push(v),f0+=v.length,W.maxContentLength>-1&&f0>W.maxContentLength)U=!0,A.destroy(),C(new L("maxContentLength size of "+W.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,W,i))}),A.on("aborted",function(){if(U)return;let v=new L("stream has been aborted",L.ERR_BAD_RESPONSE,W,i);A.destroy(v),z(v)}),A.on("error",function(v){if(B.destroyed)return;z(L.from(v,null,W,i))}),A.on("end",function(){try{let v=g.length===1?g[0]:Buffer.concat(g);if(V!=="arraybuffer"){if(v=v.toString(P),!P||P==="utf8")v=X.stripBOM(v)}Q0.data=v}catch(v){return z(L.from(v,null,W,Q0.request,Q0))}e(Y,z,Q0)})}q.once("abort",(g)=>{if(!A.destroyed)A.emit("error",g),A.destroy()})}),q.once("abort",(_)=>{if(B.close)B.close();else B.destroy(_)}),B.on("error",function(F){z(L.from(F,null,W,B))}),B.on("socket",function(F){F.setKeepAlive(!0,60000)}),W.timeout){let _=parseInt(W.timeout,10);if(Number.isNaN(_)){C(new L("error trying to parse `config.timeout` to int",L.ERR_BAD_OPTION_VALUE,W,B));return}B.setTimeout(_,function(){if(K)return;let R=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",c=W.transitional||Z0;if(W.timeoutErrorMessage)R=W.timeoutErrorMessage;C(new L(R,c.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,W,B))})}else B.setTimeout(0);if(X.isStream(Q)){let _=!1,F=!1;Q.on("end",()=>{_=!0}),Q.once("error",(R)=>{F=!0,B.destroy(R)}),Q.on("close",()=>{if(!_&&!F)C(new p("Request stream has been aborted",W,B))}),Q.pipe(B)}else Q&&B.write(Q),B.end()})}});var Y2;var G2=H(()=>{a();Y2=S.hasStandardBrowserEnv?(($,W)=>(G)=>{return G=new URL(G,S.origin),$.protocol===G.protocol&&$.host===G.host&&(W||$.port===G.port)})(new URL(S.origin),S.navigator&&/(msie|trident)/i.test(S.navigator.userAgent)):()=>!0});var z2;var Q2=H(()=>{O();a();z2=S.hasStandardBrowserEnv?{write($,W,G,Y,z,Z,Q){if(typeof document>"u")return;let N=[`${$}=${encodeURIComponent(W)}`];if(X.isNumber(G))N.push(`expires=${new Date(G).toUTCString()}`);if(X.isString(Y))N.push(`path=${Y}`);if(X.isString(z))N.push(`domain=${z}`);if(Z===!0)N.push("secure");if(X.isString(Q))N.push(`SameSite=${Q}`);document.cookie=N.join("; ")},read($){if(typeof document>"u")return null;let W=document.cookie.match(new RegExp("(?:^|; )"+$+"=([^;]*)"));return W?decodeURIComponent(W[1]):null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function s($,W){W=W||{};let G={};function Y(J,M,V,P){if(X.isPlainObject(J)&&X.isPlainObject(M))return X.merge.call({caseless:P},J,M);else if(X.isPlainObject(M))return X.merge({},M);else if(X.isArray(M))return M.slice();return M}function z(J,M,V,P){if(!X.isUndefined(M))return Y(J,M,V,P);else if(!X.isUndefined(J))return Y(void 0,J,V,P)}function Z(J,M){if(!X.isUndefined(M))return Y(void 0,M)}function Q(J,M){if(!X.isUndefined(M))return Y(void 0,M);else if(!X.isUndefined(J))return Y(void 0,J)}function N(J,M,V){if(V in W)return Y(J,M);else if(V in $)return Y(void 0,J)}let I={url:Z,method:Z,data:Z,baseURL:Q,transformRequest:Q,transformResponse:Q,paramsSerializer:Q,timeout:Q,timeoutMessage:Q,withCredentials:Q,withXSRFToken:Q,adapter:Q,responseType:Q,xsrfCookieName:Q,xsrfHeaderName:Q,onUploadProgress:Q,onDownloadProgress:Q,decompress:Q,maxContentLength:Q,maxBodyLength:Q,beforeRedirect:Q,transport:Q,httpAgent:Q,httpsAgent:Q,cancelToken:Q,socketPath:Q,responseEncoding:Q,validateStatus:N,headers:(J,M,V)=>z(X2(J),X2(M),V,!0)};return X.forEach(Object.keys({...$,...W}),function(M){if(M==="__proto__"||M==="constructor"||M==="prototype")return;let V=X.hasOwnProp(I,M)?I[M]:z,P=V($[M],W[M],M);X.isUndefined(P)&&V!==N||(G[M]=P)}),G}var X2=($)=>$ instanceof T?{...$}:$;var $1=H(()=>{O();o()});var W1=($)=>{let W=s({},$),{data:G,withXSRFToken:Y,xsrfHeaderName:z,xsrfCookieName:Z,headers:Q,auth:N}=W;if(W.headers=Q=T.from(Q),W.url=I0(L0(W.baseURL,W.url,W.allowAbsoluteUrls),$.params,$.paramsSerializer),N)Q.set("Authorization","Basic "+btoa((N.username||"")+":"+(N.password?unescape(encodeURIComponent(N.password)):"")));if(X.isFormData(G)){if(S.hasStandardBrowserEnv||S.hasStandardBrowserWebWorkerEnv)Q.setContentType(void 0);else if(X.isFunction(G.getHeaders)){let I=G.getHeaders(),J=["content-type","content-length"];Object.entries(I).forEach(([M,V])=>{if(J.includes(M.toLowerCase()))Q.set(M,V)})}}if(S.hasStandardBrowserEnv){if(Y&&X.isFunction(Y)&&(Y=Y(W)),Y||Y!==!1&&Y2(W.url)){let I=z&&Z&&z2.read(Z);if(I)Q.set(z,I)}}return W};var y1=H(()=>{a();O();G2();Q2();s0();$1();o();p0()});var H6,Z2;var N2=H(()=>{O();a0();E0();l();B0();R1();a();o();e0();y1();H6=typeof XMLHttpRequest<"u",Z2=H6&&function($){return new Promise(function(G,Y){let z=W1($),Z=z.data,Q=T.from(z.headers).normalize(),{responseType:N,onUploadProgress:I,onDownloadProgress:J}=z,M,V,P,w,K;function U(){w&&w(),K&&K(),z.cancelToken&&z.cancelToken.unsubscribe(M),z.signal&&z.signal.removeEventListener("abort",M)}let B=new XMLHttpRequest;B.open(z.method.toUpperCase(),z.url,!0),B.timeout=z.timeout;function D(){if(!B)return;let C=T.from("getAllResponseHeaders"in B&&B.getAllResponseHeaders()),f={data:!N||N==="text"||N==="json"?B.responseText:B.response,status:B.status,statusText:B.statusText,headers:C,config:$,request:B};e(function(x){G(x),U()},function(x){Y(x),U()},f),B=null}if("onloadend"in B)B.onloadend=D;else B.onreadystatechange=function(){if(!B||B.readyState!==4)return;if(B.status===0&&!(B.responseURL&&B.responseURL.indexOf("file:")===0))return;setTimeout(D)};if(B.onabort=function(){if(!B)return;Y(new L("Request aborted",L.ECONNABORTED,$,B)),B=null},B.onerror=function(y){let f=y&&y.message?y.message:"Network Error",E=new L(f,L.ERR_NETWORK,$,B);E.event=y||null,Y(E),B=null},B.ontimeout=function(){let y=z.timeout?"timeout of "+z.timeout+"ms exceeded":"timeout exceeded",f=z.transitional||Z0;if(z.timeoutErrorMessage)y=z.timeoutErrorMessage;Y(new L(y,f.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,$,B)),B=null},Z===void 0&&Q.setContentType(null),"setRequestHeader"in B)X.forEach(Q.toJSON(),function(y,f){B.setRequestHeader(f,y)});if(!X.isUndefined(z.withCredentials))B.withCredentials=!!z.withCredentials;if(N&&N!=="json")B.responseType=z.responseType;if(J)[P,K]=Y0(J,!0),B.addEventListener("progress",P);if(I&&B.upload)[V,w]=Y0(I),B.upload.addEventListener("progress",V),B.upload.addEventListener("loadend",w);if(z.cancelToken||z.signal){if(M=(C)=>{if(!B)return;Y(!C||C.type?new p(null,$,B):C),B.abort(),B=null},z.cancelToken&&z.cancelToken.subscribe(M),z.signal)z.signal.aborted?M():z.signal.addEventListener("abort",M)}let q=b0(z.url);if(q&&S.protocols.indexOf(q)===-1){Y(new L("Unsupported protocol "+q+":",L.ERR_BAD_REQUEST,$));return}B.send(Z||null)})}});var F6=($,W)=>{let{length:G}=$=$?$.filter(Boolean):[];if(W||G){let Y=new AbortController,z,Z=function(J){if(!z){z=!0,N();let M=J instanceof Error?J:this.reason;Y.abort(M instanceof L?M:new p(M instanceof Error?M.message:M))}},Q=W&&setTimeout(()=>{Q=null,Z(new L(`timeout of ${W}ms exceeded`,L.ETIMEDOUT))},W),N=()=>{if($)Q&&clearTimeout(Q),Q=null,$.forEach((J)=>{J.unsubscribe?J.unsubscribe(Z):J.removeEventListener("abort",Z)}),$=null};$.forEach((J)=>J.addEventListener("abort",Z));let{signal:I}=Y;return I.unsubscribe=()=>X.asap(N),I}},J2;var M2=H(()=>{B0();l();O();J2=F6});var U6=function*($,W){let G=$.byteLength;if(!W||G<W){yield $;return}let Y=0,z;while(Y<G)z=Y+W,yield $.slice(Y,z),Y=z},_6=async function*($,W){for await(let G of S6($))yield*U6(G,W)},S6=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let W=$.getReader();try{for(;;){let{done:G,value:Y}=await W.read();if(G)break;yield Y}}finally{await W.cancel()}},x1=($,W,G,Y)=>{let z=_6($,W),Z=0,Q,N=(I)=>{if(!Q)Q=!0,Y&&Y(I)};return new ReadableStream({async pull(I){try{let{done:J,value:M}=await z.next();if(J){N(),I.close();return}let V=M.byteLength;if(G){let P=Z+=V;G(P)}I.enqueue(new Uint8Array(M))}catch(J){throw N(J),J}},cancel(I){return N(I),z.return()}},{highWaterMark:2})};var K2=()=>{};var I2=65536,Y1,C6,B2,L2,V2=($,...W)=>{try{return!!$(...W)}catch(G){return!1}},D6=($)=>{$=X.merge.call({skipUndefined:!0},C6,$);let{fetch:W,Request:G,Response:Y}=$,z=W?Y1(W):typeof fetch==="function",Z=Y1(G),Q=Y1(Y);if(!z)return!1;let N=z&&Y1(B2),I=z&&(typeof L2==="function"?((K)=>(U)=>K.encode(U))(new L2):async(K)=>new Uint8Array(await new G(K).arrayBuffer())),J=Z&&N&&V2(()=>{let K=!1,U=new B2,B=new G(S.origin,{body:U,method:"POST",get duplex(){return K=!0,"half"}}).headers.has("Content-Type");return U.cancel(),K&&!B}),M=Q&&N&&V2(()=>X.isReadableStream(new Y("").body)),V={stream:M&&((K)=>K.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((K)=>{!V[K]&&(V[K]=(U,B)=>{let D=U&&U[K];if(D)return D.call(U);throw new L(`Response type '${K}' is not supported`,L.ERR_NOT_SUPPORT,B)})})})();let P=async(K)=>{if(K==null)return 0;if(X.isBlob(K))return K.size;if(X.isSpecCompliantForm(K))return(await new G(S.origin,{method:"POST",body:K}).arrayBuffer()).byteLength;if(X.isArrayBufferView(K)||X.isArrayBuffer(K))return K.byteLength;if(X.isURLSearchParams(K))K=K+"";if(X.isString(K))return(await I(K)).byteLength},w=async(K,U)=>{let B=X.toFiniteNumber(K.getContentLength());return B==null?P(U):B};return async(K)=>{let{url:U,method:B,data:D,signal:q,cancelToken:C,timeout:y,onDownloadProgress:f,onUploadProgress:E,responseType:x,headers:b,withCredentials:G0="same-origin",fetchOptions:w0}=W1(K),M0=W||fetch;x=x?(x+"").toLowerCase():"text";let $0=J2([q,C&&C.toAbortSignal()],y),r=null,W0=$0&&$0.unsubscribe&&(()=>{$0.unsubscribe()}),z0;try{if(E&&J&&B!=="get"&&B!=="head"&&(z0=await w(b,D))!==0){let F=new G(U,{method:"POST",body:D,duplex:"half"}),R;if(X.isFormData(D)&&(R=F.headers.get("content-type")))b.setContentType(R);if(F.body){let[c,A]=S0(z0,Y0(C0(E)));D=x1(F.body,I2,c,A)}}if(!X.isString(G0))G0=G0?"include":"omit";let j=Z&&"credentials"in G.prototype,m={...w0,signal:$0,method:B.toUpperCase(),headers:b.normalize().toJSON(),body:D,duplex:"half",credentials:j?G0:void 0};r=Z&&new G(U,m);let u=await(Z?M0(r,w0):M0(U,m)),H0=M&&(x==="stream"||x==="response");if(M&&(f||H0&&W0)){let F={};["status","statusText","headers"].forEach((i)=>{F[i]=u[i]});let R=X.toFiniteNumber(u.headers.get("content-length")),[c,A]=f&&S0(R,Y0(C0(f),!0))||[];u=new Y(x1(u.body,I2,c,()=>{A&&A(),W0&&W0()}),F)}x=x||"text";let _=await V[X.findKey(V,x)||"text"](u,K);return!H0&&W0&&W0(),await new Promise((F,R)=>{e(F,R,{data:_,headers:T.from(u.headers),status:u.status,statusText:u.statusText,config:K,request:r})})}catch(j){if(W0&&W0(),j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message))throw Object.assign(new L("Network Error",L.ERR_NETWORK,K,r,j&&j.response),{cause:j.cause||j});throw L.from(j,j&&j.code,K,r,j&&j.response)}}},R6,b1=($)=>{let W=$&&$.env||{},{fetch:G,Request:Y,Response:z}=W,Z=[Y,z,G],Q=Z.length,N=Q,I,J,M=R6;while(N--)I=Z[N],J=M.get(I),J===void 0&&M.set(I,J=N?new Map:D6(W)),M=J;return J},O8;var P2=H(()=>{a();O();l();M2();K2();o();e0();y1();a0();({isFunction:Y1}=X),C6=(({Request:$,Response:W})=>({Request:$,Response:W}))(X.global),{ReadableStream:B2,TextEncoder:L2}=X.global,R6=new Map,O8=b1()});function q6($,W){$=X.isArray($)?$:[$];let{length:G}=$,Y,z,Z={};for(let Q=0;Q<G;Q++){Y=$[Q];let N;if(z=Y,!T6(Y)){if(z=j1[(N=String(Y)).toLowerCase()],z===void 0)throw new L(`Unknown adapter '${N}'`)}if(z&&(X.isFunction(z)||(z=z.get(W))))break;Z[N||"#"+Q]=z}if(!z){let Q=Object.entries(Z).map(([I,J])=>`adapter ${I} `+(J===!1?"is not supported by the environment":"is not available in the build")),N=G?Q.length>1?`since :
|
|
5
|
+
`+Q.map(w2).join(`
|
|
6
|
+
`):" "+w2(Q[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+N,"ERR_NOT_SUPPORT")}return z}var j1,w2=($)=>`- ${$}`,T6=($)=>X.isFunction($)||$===null||$===!1,G1;var m1=H(()=>{O();W2();N2();P2();l();j1={http:$2,xhr:Z2,fetch:{get:b1}};X.forEach(j1,($,W)=>{if($){try{Object.defineProperty($,"name",{value:W})}catch(G){}Object.defineProperty($,"adapterName",{value:W})}});G1={getAdapter:q6,adapters:j1}});function v1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new p(null,$)}function z1($){if(v1($),$.headers=T.from($.headers),$.data=y0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return G1.getAdapter($.adapter||_0.adapter,$)($).then(function(Y){return v1($),Y.data=y0.call($,$.transformResponse,Y),Y.headers=T.from(Y.headers),Y},function(Y){if(!x0(Y)){if(v1($),Y&&Y.response)Y.response.data=y0.call($,$.transformResponse,Y.response),Y.response.headers=T.from(Y.response.headers)}return Promise.reject(Y)})}var H2=H(()=>{U4();S1();i0();B0();o();m1()});function E6($,W,G){if(typeof $!=="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);let Y=Object.keys($),z=Y.length;while(z-- >0){let Z=Y[z],Q=W[Z];if(Q){let N=$[Z],I=N===void 0||Q(N,Z,$);if(I!==!0)throw new L("option "+Z+" must be "+I,L.ERR_BAD_OPTION_VALUE);continue}if(G!==!0)throw new L("Unknown option "+Z,L.ERR_BAD_OPTION)}}var Q1,F2,m0;var U2=H(()=>{r0();l();Q1={};["object","boolean","number","function","string","symbol"].forEach(($,W)=>{Q1[$]=function(Y){return typeof Y===$||"a"+(W<1?"n ":" ")+$}});F2={};Q1.transitional=function(W,G,Y){function z(Z,Q){return"[Axios v"+V0+"] Transitional option '"+Z+"'"+Q+(Y?". "+Y:"")}return(Z,Q,N)=>{if(W===!1)throw new L(z(Q," has been removed"+(G?" in "+G:"")),L.ERR_DEPRECATED);if(G&&!F2[Q])F2[Q]=!0,console.warn(z(Q," has been deprecated since v"+G+" and will be removed in the near future"));return W?W(Z,Q,N):!0}};Q1.spelling=function(W){return(G,Y)=>{return console.warn(`${Y} is likely a misspelling of ${W}`),!0}};m0={assertOptions:E6,validators:Q1}});class v0{constructor($){this.defaults=$||{},this.interceptors={request:new B1,response:new B1}}async request($,W){try{return await this._request($,W)}catch(G){if(G instanceof Error){let Y={};Error.captureStackTrace?Error.captureStackTrace(Y):Y=Error();let z=(()=>{if(!Y.stack)return"";let Z=Y.stack.indexOf(`
|
|
7
|
+
`);return Z===-1?"":Y.stack.slice(Z+1)})();try{if(!G.stack)G.stack=z;else if(z){let Z=z.indexOf(`
|
|
8
|
+
`),Q=Z===-1?-1:z.indexOf(`
|
|
9
|
+
`,Z+1),N=Q===-1?"":z.slice(Q+1);if(!String(G.stack).endsWith(N))G.stack+=`
|
|
10
|
+
`+z}}catch(Z){}}throw G}}_request($,W){if(typeof $==="string")W=W||{},W.url=$;else W=$||{};W=s(this.defaults,W);let{transitional:G,paramsSerializer:Y,headers:z}=W;if(G!==void 0)m0.assertOptions(G,{silentJSONParsing:n.transitional(n.boolean),forcedJSONParsing:n.transitional(n.boolean),clarifyTimeoutError:n.transitional(n.boolean),legacyInterceptorReqResOrdering:n.transitional(n.boolean)},!1);if(Y!=null)if(X.isFunction(Y))W.paramsSerializer={serialize:Y};else m0.assertOptions(Y,{encode:n.function,serialize:n.function},!0);if(W.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)W.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else W.allowAbsoluteUrls=!0;m0.assertOptions(W,{baseUrl:n.spelling("baseURL"),withXsrfToken:n.spelling("withXSRFToken")},!0),W.method=(W.method||this.defaults.method||"get").toLowerCase();let Z=z&&X.merge(z.common,z[W.method]);z&&X.forEach(["delete","get","head","post","put","patch","common"],(w)=>{delete z[w]}),W.headers=T.concat(Z,z);let Q=[],N=!0;this.interceptors.request.forEach(function(K){if(typeof K.runWhen==="function"&&K.runWhen(W)===!1)return;N=N&&K.synchronous;let U=W.transitional||Z0;if(U&&U.legacyInterceptorReqResOrdering)Q.unshift(K.fulfilled,K.rejected);else Q.push(K.fulfilled,K.rejected)});let I=[];this.interceptors.response.forEach(function(K){I.push(K.fulfilled,K.rejected)});let J,M=0,V;if(!N){let w=[z1.bind(this),void 0];w.unshift(...Q),w.push(...I),V=w.length,J=Promise.resolve(W);while(M<V)J=J.then(w[M++],w[M++]);return J}V=Q.length;let P=W;while(M<V){let w=Q[M++],K=Q[M++];try{P=w(P)}catch(U){K.call(this,U);break}}try{J=z1.call(this,P)}catch(w){return Promise.reject(w)}M=0,V=I.length;while(M<V)J=J.then(I[M++],I[M++]);return J}getUri($){$=s(this.defaults,$);let W=L0($.baseURL,$.url,$.allowAbsoluteUrls);return I0(W,$.params,$.paramsSerializer)}}var n,h0;var _2=H(()=>{O();p0();Z4();H2();$1();s0();U2();o();E0();n=m0.validators;X.forEach(["delete","get","head","options"],function(W){v0.prototype[W]=function(G,Y){return this.request(s(Y||{},{method:W,url:G,data:(Y||{}).data}))}});X.forEach(["post","put","patch"],function(W){function G(Y){return function(Z,Q,N){return this.request(s(N||{},{method:W,headers:Y?{"Content-Type":"multipart/form-data"}:{},url:Z,data:Q}))}}v0.prototype[W]=G(),v0.prototype[W+"Form"]=G(!0)});h0=v0});class h1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let W;this.promise=new Promise(function(z){W=z});let G=this;this.promise.then((Y)=>{if(!G._listeners)return;let z=G._listeners.length;while(z-- >0)G._listeners[z](Y);G._listeners=null}),this.promise.then=(Y)=>{let z,Z=new Promise((Q)=>{G.subscribe(Q),z=Q}).then(Y);return Z.cancel=function(){G.unsubscribe(z)},Z},$(function(z,Z,Q){if(G.reason)return;G.reason=new p(z,Z,Q),W(G.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 W=this._listeners.indexOf($);if(W!==-1)this._listeners.splice(W,1)}toAbortSignal(){let $=new AbortController,W=(G)=>{$.abort(G)};return this.subscribe(W),$.signal.unsubscribe=()=>this.unsubscribe(W),$.signal}static source(){let $;return{token:new h1(function(Y){$=Y}),cancel:$}}}var S2;var C2=H(()=>{B0();S2=h1});function f1($){return function(G){return $.apply(null,G)}}var D2=()=>{};function u1($){return X.isObject($)&&$.isAxiosError===!0}var R2=H(()=>{O()});var g1,O2;var T2=H(()=>{g1={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(g1).forEach(([$,W])=>{g1[W]=$});O2=g1});function q2($){let W=new h0($),G=D0(h0.prototype.request,W);return X.extend(G,h0.prototype,W,{allOwnKeys:!0}),X.extend(G,W,null,{allOwnKeys:!0}),G.create=function(z){return q2(s($,z))},G}var k,E2;var A2=H(()=>{O();Z1();_2();$1();i0();F1();B0();C2();S1();r0();q0();l();D2();R2();o();m1();T2();k=q2(_0);k.Axios=h0;k.CanceledError=p;k.CancelToken=S2;k.isCancel=x0;k.VERSION=V0;k.toFormData=X0;k.AxiosError=L;k.Cancel=k.CanceledError;k.all=function(W){return Promise.all(W)};k.spread=f1;k.isAxiosError=u1;k.mergeConfig=s;k.AxiosHeaders=T;k.formToJSON=($)=>n0(X.isHTMLForm($)?new FormData($):$);k.getAdapter=G1.getAdapter;k.HttpStatusCode=O2;k.default=k;E2=k});var CW,DW,RW,OW,TW,qW,EW,AW,kW,yW,xW,bW,jW,mW,vW,hW;var A6=H(()=>{A2();({Axios:CW,AxiosError:DW,CanceledError:RW,isCancel:OW,CancelToken:TW,VERSION:qW,all:EW,Cancel:AW,isAxiosError:kW,spread:yW,toFormData:xW,AxiosHeaders:bW,HttpStatusCode:jW,formToJSON:mW,getAdapter:vW,mergeConfig:hW}=E2)});
|
|
11
|
+
export{E2 as s6,CW as t6,DW as u6,RW as v6,OW as w6,TW as x6,qW as y6,EW as z6,AW as A6,kW as B6,yW as C6,xW as D6,bW as E6,jW as F6,mW as G6,vW as H6,hW as I6,A6 as J6};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ov as O,qv as j}from"./cli-0.1.12-242der7s.mjs";import{LP as y,MP as p}from"./cli-0.1.12-vpnp7x5c.mjs";import{QU as F,SU as I,WU as R,eT as S,vV as v}from"./cli-0.1.12-bddm1g1s.mjs";import{rX as Z,sX as N,tX as U}from"./cli-0.1.12-04jw23rj.mjs";import{uX as d}from"./cli-0.1.12-ytxphavm.mjs";import{Haa as M,Taa as E}from"./cli-0.1.12-vzga2are.mjs";import{gga as H,hga as b}from"./cli-0.1.12-6x2mnahn.mjs";import{Qna as k}from"./cli-0.1.12-1hv04bp7.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claude handle permission prompts automatically — Claude checks each tool call for risky actions and prompt injection before executing. Actions Claude identifies as safe are executed, while actions Claude identifies as risky are blocked and Claude may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claude can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
|
|
2
|
+
export{x as Pa,l as Qa};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{kha as f8,nha as a$}from"./cli-0.1.12-k2164g7e.mjs";import{Bha as o$,oha as y8,rha as W7}from"./cli-0.1.12-ra3sby5b.mjs";import{Yma as P8,dja as R8}from"./cli-0.1.12-pm5cwtxh.mjs";import{vna as s,wna as j8}from"./cli-0.1.12-vgbc3g9x.mjs";import{Una as w,Wna as A,Xna as D}from"./cli-0.1.12-1hv04bp7.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
|
|
2
|
+
`)}}function s8(X,Z){for(let J=Z??0;J<X.length;J++){if(X[J]===10)return{preceding:J,index:J+1,carriage:!1};if(X[J]===13)return{preceding:J,index:J+1,carriage:!0}}return null}function _7(X){for(let Y=0;Y<X.length-1;Y++){if(X[Y]===10&&X[Y+1]===10)return Y+2;if(X[Y]===13&&X[Y+1]===13)return Y+2;if(X[Y]===13&&X[Y+1]===10&&Y+3<X.length&&X[Y+2]===13&&X[Y+3]===10)return Y+4}return-1}var P,y;var N6=w(()=>{n();G6();P=new WeakMap,y=new WeakMap;XX.NEWLINE_CHARS=new Set([`
|
|
3
|
+
`,"\r"]);XX.NEWLINE_REGEXP=/\r\n|[\n\r]/g});function uX(){}function IZ(X,Z,$){if(!Z||FZ[X]>FZ[$])return uX;else return Z[X].bind(Z)}function L(X){let Z=X.logger,$=X.logLevel??"off";if(!Z)return e8;let Y=f7.get(Z);if(Y&&Y[0]===$)return Y[1];let J={error:IZ("error",Z,$),warn:IZ("warn",Z,$),info:IZ("info",Z,$),debug:IZ("debug",Z,$)};return f7.set(Z,[$,J]),J}var FZ,w6=(X,Z,$)=>{if(!X)return;if(H7(FZ,X))return X;L($).warn(`${Z} was set to ${JSON.stringify(X)}, expected one of ${JSON.stringify(Object.keys(FZ))}`);return},e8,f7,o=(X)=>{if(X.options)X.options={...X.options},delete X.options.headers;if(X.headers)X.headers=Object.fromEntries((X.headers instanceof Headers?[...X.headers]:Object.entries(X.headers)).map(([Z,$])=>[Z,Z.toLowerCase()==="x-api-key"||Z.toLowerCase()==="authorization"||Z.toLowerCase()==="cookie"||Z.toLowerCase()==="set-cookie"?"***":$]));if("retryOfRequestLogID"in X){if(X.retryOfRequestLogID)X.retryOf=X.retryOfRequestLogID;delete X.retryOfRequestLogID}return X};var BZ=w(()=>{VX();FZ={off:0,error:200,warn:300,info:400,debug:500};e8={error:uX,warn:uX,info:uX,debug:uX},f7=new WeakMap});async function*X$(X,Z){if(!X.body){if(Z.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new N("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new N("Attempted to iterate over a response with no body")}let $=new b7,Y=new XX,J=dX(X.body);for await(let K of Z$(J))for(let W of Y.decode(K)){let Q=$.decode(W);if(Q)yield Q}for(let K of Y.flush()){let W=$.decode(K);if(W)yield W}}async function*Z$(X){let Z=new Uint8Array;for await(let $ of X){if($==null)continue;let Y=$ instanceof ArrayBuffer?new Uint8Array($):typeof $==="string"?mX($):$,J=new Uint8Array(Z.length+Y.length);J.set(Z),J.set(Y,Z.length),Z=J;let K;while((K=_7(Z))!==-1)yield Z.slice(0,K),Z=Z.slice(K)}if(Z.length>0)yield Z}class b7{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(X){if(X.endsWith("\r"))X=X.substring(0,X.length-1);if(!X){if(!this.event&&!this.data.length)return null;let J={event:this.event,data:this.data.join(`
|
|
4
|
+
`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],J}if(this.chunks.push(X),X.startsWith(":"))return null;let[Z,$,Y]=$$(X,":");if(Y.startsWith(" "))Y=Y.substring(1);if(Z==="event")this.event=Y;else if(Z==="data")this.data.push(Y);return null}}function $$(X,Z){let $=X.indexOf(Z);if($!==-1)return[X.substring(0,$),Z,X.substring($+Z.length)];return[X,"",""]}var pX,_;var U6=w(()=>{n();R();HX();N6();HX();CX();VX();G6();BZ();R();_=class _{constructor(X,Z,$){this.iterator=X,pX.set(this,void 0),this.controller=Z,G(this,pX,$,"f")}static fromSSEResponse(X,Z,$){let Y=!1,J=$?L($):console;async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of X$(X,Z)){if(Q.event==="completion")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="message_start"||Q.event==="message_delta"||Q.event==="message_stop"||Q.event==="content_block_start"||Q.event==="content_block_delta"||Q.event==="content_block_stop")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="ping")continue;if(Q.event==="error"){let z=jZ(Q.data)??Q.data,x=z?.error?.type;throw new F(void 0,z,void 0,X.headers,x)}}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}static fromReadableStream(X,Z,$){let Y=!1;async function*J(){let W=new XX,Q=dX(X);for await(let z of Q)for(let x of W.decode(z))yield x;for(let z of W.flush())yield z}async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of J()){if(W)continue;if(Q)yield JSON.parse(Q)}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}[(pX=new WeakMap,Symbol.asyncIterator)](){return this.iterator()}tee(){let X=[],Z=[],$=this.iterator(),Y=(J)=>{return{next:()=>{if(J.length===0){let K=$.next();X.push(K),Z.push(K)}return J.shift()}}};return[new _(()=>Y(X),this.controller,V(this,pX,"f")),new _(()=>Y(Z),this.controller,V(this,pX,"f"))]}toReadableStream(){let X=this,Z;return Q6({async start(){Z=X[Symbol.asyncIterator]()},async pull($){try{let{value:Y,done:J}=await Z.next();if(J)return $.close();let K=mX(JSON.stringify(Y)+`
|
|
5
|
+
`);$.enqueue(K)}catch(Y){$.error(Y)}},async cancel(){await Z.return?.()}})}}});async function SZ(X,Z){let{response:$,requestLogID:Y,retryOfRequestLogID:J,startTime:K}=Z,W=await(async()=>{if(Z.options.stream){if(L(X).debug("response",$.status,$.url,$.headers,$.body),Z.options.__streamClass)return Z.options.__streamClass.fromSSEResponse($,Z.controller);return _.fromSSEResponse($,Z.controller)}if($.status===204)return null;if(Z.options.__binaryResponse)return $;let z=$.headers.get("content-type")?.split(";")[0]?.trim();if(z?.includes("application/json")||z?.endsWith("+json")){if($.headers.get("content-length")==="0")return;let U=await $.json();return q6(U,$)}return await $.text()})();return L(X).debug(`[${Y}] response parsed`,o({retryOfRequestLogID:J,url:$.url,status:$.status,body:W,durationMs:Date.now()-K})),W}function q6(X,Z){if(!X||typeof X!=="object"||Array.isArray(X))return X;return Object.defineProperty(X,"_request_id",{value:Z.headers.get("request-id"),enumerable:!1})}var C6=w(()=>{U6();BZ()});var lX,QX;var LZ=w(()=>{n();C6();QX=class QX extends Promise{constructor(X,Z,$=SZ){super((Y)=>{Y(null)});this.responsePromise=Z,this.parseResponse=$,lX.set(this,void 0),G(this,lX,X,"f")}_thenUnwrap(X){return new QX(V(this,lX,"f"),this.responsePromise,async(Z,$)=>q6(X(await this.parseResponse(Z,$),$),$.response))}asResponse(){return this.responsePromise.then((X)=>X.response)}async withResponse(){let[X,Z]=await Promise.all([this.parse(),this.asResponse()]);return{data:X,response:Z,request_id:Z.headers.get("request-id")}}parse(){if(!this.parsedPromise)this.parsedPromise=this.responsePromise.then((X)=>this.parseResponse(V(this,lX,"f"),X));return this.parsedPromise}then(X,Z){return this.parse().then(X,Z)}catch(X){return this.parse().catch(X)}finally(X){return this.parse().finally(X)}};lX=new WeakMap});var kZ,H6,RZ,c,iX;var u=w(()=>{n();R();C6();LZ();VX();H6=class H6{constructor(X,Z,$,Y){kZ.set(this,void 0),G(this,kZ,X,"f"),this.options=Y,this.response=Z,this.body=$}hasNextPage(){if(!this.getPaginatedItems().length)return!1;return this.nextPageRequestOptions()!=null}async getNextPage(){let X=this.nextPageRequestOptions();if(!X)throw new N("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");return await V(this,kZ,"f").requestAPIList(this.constructor,X)}async*iterPages(){let X=this;yield X;while(X.hasNextPage())X=await X.getNextPage(),yield X}async*[(kZ=new WeakMap,Symbol.asyncIterator)](){for await(let X of this.iterPages())for(let Z of X.getPaginatedItems())yield Z}};RZ=class RZ extends QX{constructor(X,Z,$){super(X,Z,async(Y,J)=>new $(Y,J.response,await SZ(Y,J),J.options))}async*[Symbol.asyncIterator](){let X=await this;for await(let Z of X)yield Z}};c=class c extends H6{constructor(X,Z,$,Y){super(X,Z,$,Y);this.data=$.data||[],this.has_more=$.has_more||!1,this.first_id=$.first_id||null,this.last_id=$.last_id||null}getPaginatedItems(){return this.data??[]}hasNextPage(){if(this.has_more===!1)return!1;return super.hasNextPage()}nextPageRequestOptions(){if(this.options.query?.before_id){let Z=this.first_id;if(!Z)return null;return{...this.options,query:{...EZ(this.options.query),before_id:Z}}}let X=this.last_id;if(!X)return null;return{...this.options,query:{...EZ(this.options.query),after_id:X}}}};iX=class iX extends H6{constructor(X,Z,$,Y){super(X,Z,$,Y);this.data=$.data||[],this.has_more=$.has_more||!1,this.next_page=$.next_page||null}getPaginatedItems(){return this.data??[]}hasNextPage(){if(this.has_more===!1)return!1;return super.hasNextPage()}nextPageRequestOptions(){let X=this.next_page;if(!X)return null;return{...this.options,query:{...EZ(this.options.query),page:X}}}}});function zX(X,Z,$){return O6(),new File(X,Z??"unknown_file",$)}function nX(X,Z){let $=typeof X==="object"&&X!==null&&(("name"in X)&&X.name&&String(X.name)||("url"in X)&&X.url&&String(X.url)||("filename"in X)&&X.filename&&String(X.filename)||("path"in X)&&X.path&&String(X.path))||"";return Z?$.split(/[\\/]/).pop()||void 0:$}function J$(X){let Z=typeof X==="function"?X:X.fetch,$=h7.get(Z);if($)return $;let Y=(async()=>{try{let J="Response"in Z?Z.Response:(await Z("data:,")).constructor,K=new FormData;if(K.toString()===await new J(K).text())return!1;return!0}catch{return!0}})();return h7.set(Z,Y),Y}var O6=()=>{if(typeof File>"u"){let{process:X}=globalThis,Z=typeof X?.versions?.node==="string"&&parseInt(X.versions.node.split("."))<20;throw Error("`File` is not defined as a global, which is required for file uploads."+(Z?" Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`.":""))}},M6=(X)=>X!=null&&typeof X==="object"&&typeof X[Symbol.asyncIterator]==="function",xX=async(X,Z,$=!0)=>{return{...X,body:await K$(X.body,Z,$)}},h7,K$=async(X,Z,$=!0)=>{if(!await J$(Z))throw TypeError("The provided fetch function does not support file uploads with the current global FormData class.");let Y=new FormData;return await Promise.all(Object.entries(X||{}).map(([J,K])=>x6(Y,J,K,$))),Y},W$=(X)=>X instanceof Blob&&("name"in X),x6=async(X,Z,$,Y)=>{if($===void 0)return;if($==null)throw TypeError(`Received null for "${Z}"; to pass null in FormData, you must use the string 'null'`);if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")X.append(Z,String($));else if($ instanceof Response){let J={},K=$.headers.get("Content-Type");if(K)J={type:K};X.append(Z,zX([await $.blob()],nX($,Y),J))}else if(M6($))X.append(Z,zX([await new Response(TZ($)).blob()],nX($,Y)));else if(W$($))X.append(Z,zX([$],nX($,Y),{type:$.type}));else if(Array.isArray($))await Promise.all($.map((J)=>x6(X,Z+"[]",J,Y)));else if(typeof $==="object")await Promise.all(Object.entries($).map(([J,K])=>x6(X,`${Z}[${J}]`,K,Y)));else throw TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${$} instead`)};var OX=w(()=>{HX();h7=new WeakMap});async function PZ(X,Z,$){if(O6(),X=await X,Z||(Z=nX(X,!0)),V$(X)){if(X instanceof File&&Z==null&&$==null)return X;return zX([await X.arrayBuffer()],Z??X.name,{type:X.type,lastModified:X.lastModified,...$})}if(Q$(X)){let J=await X.blob();return Z||(Z=new URL(X.url).pathname.split(/[\\/]/).pop()),zX(await A6(J),Z,$)}let Y=await A6(X);if(!$?.type){let J=Y.find((K)=>typeof K==="object"&&("type"in K)&&K.type);if(typeof J==="string")$={...$,type:J}}return zX(Y,Z,$)}async function A6(X){let Z=[];if(typeof X==="string"||ArrayBuffer.isView(X)||X instanceof ArrayBuffer)Z.push(X);else if(v7(X))Z.push(X instanceof Blob?X:await X.arrayBuffer());else if(M6(X))for await(let $ of X)Z.push(...await A6($));else{let $=X?.constructor?.name;throw Error(`Unexpected data type: ${typeof X}${$?`; constructor: ${$}`:""}${z$(X)}`)}return Z}function z$(X){if(typeof X!=="object"||X===null)return"";return`; props: [${Object.getOwnPropertyNames(X).map(($)=>`"${$}"`).join(", ")}]`}var v7=(X)=>X!=null&&typeof X==="object"&&typeof X.size==="number"&&typeof X.type==="string"&&typeof X.text==="function"&&typeof X.slice==="function"&&typeof X.arrayBuffer==="function",V$=(X)=>X!=null&&typeof X==="object"&&typeof X.name==="string"&&typeof X.lastModified==="number"&&v7(X),Q$=(X)=>X!=null&&typeof X==="object"&&typeof X.url==="string"&&typeof X.blob==="function";var g7=w(()=>{OX();OX()});var D6=w(()=>{g7()});var c7=()=>{};class T{constructor(X){this._client=X}}var h=()=>{};function*N$(X){if(!X)return;if(d7 in X){let{values:Y,nulls:J}=X;yield*Y.entries();for(let K of J)yield[K,null];return}let Z=!1,$;if(X instanceof Headers)$=X.entries();else if(J6(X))$=X;else Z=!0,$=Object.entries(X??{});for(let Y of $){let J=Y[0];if(typeof J!=="string")throw TypeError("expected header name to be a string");let K=J6(Y[1])?Y[1]:[Y[1]],W=!1;for(let Q of K){if(Q===void 0)continue;if(Z&&!W)W=!0,yield[J,null];yield[J,Q]}}}var d7,q=(X)=>{let Z=new Headers,$=new Set;for(let Y of X){let J=new Set;for(let[K,W]of N$(Y)){let Q=K.toLowerCase();if(!J.has(Q))Z.delete(K),J.add(Q);if(W===null)Z.delete(K),$.add(Q);else Z.append(K,W),$.delete(Q)}}return{[d7]:!0,values:Z,nulls:$}};var f=w(()=>{VX();d7=Symbol.for("brand.privateNullableHeaders")});function yZ(X){return typeof X==="object"&&X!==null&&oX in X}function E6(X,Z){let $=new Set;if(X){for(let Y of X)if(yZ(Y))$.add(Y[oX])}if(Z)for(let Y of Z){if(yZ(Y))$.add(Y[oX]);if(Array.isArray(Y.content)){for(let J of Y.content)if(yZ(J))$.add(J[oX])}}return Array.from($)}function _Z(X,Z){let $=E6(X,Z);if($.length===0)return{};return{"x-stainless-helper":$.join(", ")}}function m7(X){if(yZ(X))return{"x-stainless-helper":X[oX]};return{}}var oX;var aX=w(()=>{oX=Symbol("anthropic.sdk.stainlessHelper")});function p7(X){return X.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g,encodeURIComponent)}var u7,w$=(X=p7)=>function($,...Y){if($.length===1)return $[0];let J=!1,K=[],W=$.reduce((H,M,U)=>{if(/[?#]/.test(M))J=!0;let O=Y[U],d=(J?encodeURIComponent:X)(""+O);if(U!==Y.length&&(O==null||typeof O==="object"&&O.toString===Object.getPrototypeOf(Object.getPrototypeOf(O.hasOwnProperty??u7)??u7)?.toString))d=O+"",K.push({start:H.length+M.length,length:d.length,error:`Value of type ${Object.prototype.toString.call(O).slice(8,-1)} is not a valid path parameter`});return H+M+(U===Y.length?"":d)},""),Q=W.split(/[?#]/,1)[0],z=/(?<=^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi,x;while((x=z.exec(Q))!==null)K.push({start:x.index,length:x[0].length,error:`Value "${x[0]}" can't be safely passed as a path parameter`});if(K.sort((H,M)=>H.start-M.start),K.length>0){let H=0,M=K.reduce((U,O)=>{let d=" ".repeat(O.start-H),kX="^".repeat(O.length);return H=O.start+O.length,U+d+kX},"");throw new N(`Path parameters result in path with invalid segments:
|
|
6
|
+
${K.map((U)=>U.error).join(`
|
|
7
|
+
`)}
|
|
8
|
+
${W}
|
|
9
|
+
${M}`)}return W},j;var ZX=w(()=>{R();u7=Object.freeze(Object.create(null)),j=w$(p7)});var rX;var j6=w(()=>{h();u();f();aX();OX();ZX();rX=class rX extends T{list(X={},Z){let{betas:$,...Y}=X??{};return this._client.getAPIList("/v1/files",c,{query:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"files-api-2025-04-14"].toString()},Z?.headers])})}delete(X,Z={},$){let{betas:Y}=Z??{};return this._client.delete(j`/v1/files/${X}`,{...$,headers:q([{"anthropic-beta":[...Y??[],"files-api-2025-04-14"].toString()},$?.headers])})}download(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/files/${X}/content`,{...$,headers:q([{"anthropic-beta":[...Y??[],"files-api-2025-04-14"].toString(),Accept:"application/binary"},$?.headers]),__binaryResponse:!0})}retrieveMetadata(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/files/${X}`,{...$,headers:q([{"anthropic-beta":[...Y??[],"files-api-2025-04-14"].toString()},$?.headers])})}upload(X,Z){let{betas:$,...Y}=X;return this._client.post("/v1/files",xX({body:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"files-api-2025-04-14"].toString()},m7(Y.file),Z?.headers])},this._client))}}});var tX;var T6=w(()=>{h();u();f();ZX();tX=class tX extends T{retrieve(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/models/${X}?beta=true`,{...$,headers:q([{...Y?.toString()!=null?{"anthropic-beta":Y?.toString()}:void 0},$?.headers])})}list(X={},Z){let{betas:$,...Y}=X??{};return this._client.getAPIList("/v1/models?beta=true",c,{query:Y,...Z,headers:q([{...$?.toString()!=null?{"anthropic-beta":$?.toString()}:void 0},Z?.headers])})}}});var MX=w(()=>{R()});var fZ;var I6=w(()=>{fZ={"claude-opus-4-20250514":8192,"claude-opus-4-0":8192,"claude-4-opus-20250514":8192,"anthropic.claude-opus-4-20250514-v1:0":8192,"claude-opus-4@20250514":8192,"claude-opus-4-1-20250805":8192,"anthropic.claude-opus-4-1-20250805-v1:0":8192,"claude-opus-4-1@20250805":8192}});function l7(X){return X?.output_format??X?.output_config?.format}function F6(X,Z,$){let Y=l7(Z);if(!Z||!("parse"in(Y??{})))return{...X,content:X.content.map((J)=>{if(J.type==="text"){let K=Object.defineProperty({...J},"parsed_output",{value:null,enumerable:!1});return Object.defineProperty(K,"parsed",{get(){return $.logger.warn("The `parsed` property on `text` blocks is deprecated, please use `parsed_output` instead."),null},enumerable:!1})}return J}),parsed_output:null};return B6(X,Z,$)}function B6(X,Z,$){let Y=null,J=X.content.map((K)=>{if(K.type==="text"){let W=C$(Z,K.text);if(Y===null)Y=W;let Q=Object.defineProperty({...K},"parsed_output",{value:W,enumerable:!1});return Object.defineProperty(Q,"parsed",{get(){return $.logger.warn("The `parsed` property on `text` blocks is deprecated, please use `parsed_output` instead."),W},enumerable:!1})}return K});return{...X,content:J,parsed_output:Y}}function C$(X,Z){let $=l7(X);if($?.type!=="json_schema")return null;try{if("parse"in $)return $.parse(Z);return JSON.parse(Z)}catch(Y){throw new N(`Failed to parse structured output: ${Y}`)}}var S6=w(()=>{R()});var H$=(X)=>{let Z=0,$=[];while(Z<X.length){let Y=X[Z];if(Y==="\\"){Z++;continue}if(Y==="{"){$.push({type:"brace",value:"{"}),Z++;continue}if(Y==="}"){$.push({type:"brace",value:"}"}),Z++;continue}if(Y==="["){$.push({type:"paren",value:"["}),Z++;continue}if(Y==="]"){$.push({type:"paren",value:"]"}),Z++;continue}if(Y===":"){$.push({type:"separator",value:":"}),Z++;continue}if(Y===","){$.push({type:"delimiter",value:","}),Z++;continue}if(Y==='"'){let Q="",z=!1;Y=X[++Z];while(Y!=='"'){if(Z===X.length){z=!0;break}if(Y==="\\"){if(Z++,Z===X.length){z=!0;break}Q+=Y+X[Z],Y=X[++Z]}else Q+=Y,Y=X[++Z]}if(Y=X[++Z],!z)$.push({type:"string",value:Q});continue}if(Y&&/\s/.test(Y)){Z++;continue}let K=/[0-9]/;if(Y&&K.test(Y)||Y==="-"||Y==="."){let Q="";if(Y==="-")Q+=Y,Y=X[++Z];while(Y&&K.test(Y)||Y===".")Q+=Y,Y=X[++Z];$.push({type:"number",value:Q});continue}let W=/[a-z]/i;if(Y&&W.test(Y)){let Q="";while(Y&&W.test(Y)){if(Z===X.length)break;Q+=Y,Y=X[++Z]}if(Q=="true"||Q=="false"||Q==="null")$.push({type:"name",value:Q});else{Z++;continue}continue}Z++}return $},AX=(X)=>{if(X.length===0)return X;let Z=X[X.length-1];switch(Z.type){case"separator":return X=X.slice(0,X.length-1),AX(X);break;case"number":let $=Z.value[Z.value.length-1];if($==="."||$==="-")return X=X.slice(0,X.length-1),AX(X);case"string":let Y=X[X.length-2];if(Y?.type==="delimiter")return X=X.slice(0,X.length-1),AX(X);else if(Y?.type==="brace"&&Y.value==="{")return X=X.slice(0,X.length-1),AX(X);break;case"delimiter":return X=X.slice(0,X.length-1),AX(X);break}return X},x$=(X)=>{let Z=[];if(X.map(($)=>{if($.type==="brace")if($.value==="{")Z.push("}");else Z.splice(Z.lastIndexOf("}"),1);if($.type==="paren")if($.value==="[")Z.push("]");else Z.splice(Z.lastIndexOf("]"),1)}),Z.length>0)Z.reverse().map(($)=>{if($==="}")X.push({type:"brace",value:"}"});else if($==="]")X.push({type:"paren",value:"]"})});return X},O$=(X)=>{let Z="";return X.map(($)=>{switch($.type){case"string":Z+='"'+$.value+'"';break;default:Z+=$.value;break}}),Z},bZ=(X)=>JSON.parse(O$(x$(AX(H$(X)))));var L6=()=>{};var k6=w(()=>{U6()});function a7(X){return X.type==="tool_use"||X.type==="server_tool_use"||X.type==="mcp_tool_use"}function r7(X){}var v,$X,DX,sX,hZ,eX,XZ,vZ,ZZ,a,$Z,gZ,cZ,GX,dZ,mZ,YZ,R6,i7,uZ,P6,y6,_6,n7,o7="__json_buf",JZ;var t7=w(()=>{n();L6();MX();CX();k6();S6();JZ=class JZ{constructor(X,Z){v.add(this),this.messages=[],this.receivedMessages=[],$X.set(this,void 0),DX.set(this,null),this.controller=new AbortController,sX.set(this,void 0),hZ.set(this,()=>{}),eX.set(this,()=>{}),XZ.set(this,void 0),vZ.set(this,()=>{}),ZZ.set(this,()=>{}),a.set(this,{}),$Z.set(this,!1),gZ.set(this,!1),cZ.set(this,!1),GX.set(this,!1),dZ.set(this,void 0),mZ.set(this,void 0),YZ.set(this,void 0),uZ.set(this,($)=>{if(G(this,gZ,!0,"f"),i($))$=new S;if($ instanceof S)return G(this,cZ,!0,"f"),this._emit("abort",$);if($ instanceof N)return this._emit("error",$);if($ instanceof Error){let Y=new N($.message);return Y.cause=$,this._emit("error",Y)}return this._emit("error",new N(String($)))}),G(this,sX,new Promise(($,Y)=>{G(this,hZ,$,"f"),G(this,eX,Y,"f")}),"f"),G(this,XZ,new Promise(($,Y)=>{G(this,vZ,$,"f"),G(this,ZZ,Y,"f")}),"f"),V(this,sX,"f").catch(()=>{}),V(this,XZ,"f").catch(()=>{}),G(this,DX,X,"f"),G(this,YZ,Z?.logger??console,"f")}get response(){return V(this,dZ,"f")}get request_id(){return V(this,mZ,"f")}async withResponse(){G(this,GX,!0,"f");let X=await V(this,sX,"f");if(!X)throw Error("Could not resolve a `Response` object");return{data:this,response:X,request_id:X.headers.get("request-id")}}static fromReadableStream(X){let Z=new JZ(null);return Z._run(()=>Z._fromReadableStream(X)),Z}static createMessage(X,Z,$,{logger:Y}={}){let J=new JZ(Z,{logger:Y});for(let K of Z.messages)J._addMessageParam(K);return G(J,DX,{...Z,stream:!0},"f"),J._run(()=>J._createMessage(X,{...Z,stream:!0},{...$,headers:{...$?.headers,"X-Stainless-Helper-Method":"stream"}})),J}_run(X){X().then(()=>{this._emitFinal(),this._emit("end")},V(this,uZ,"f"))}_addMessageParam(X){this.messages.push(X)}_addMessage(X,Z=!0){if(this.receivedMessages.push(X),Z)this._emit("message",X)}async _createMessage(X,Z,$){let Y=$?.signal,J;if(Y){if(Y.aborted)this.controller.abort();J=this.controller.abort.bind(this.controller),Y.addEventListener("abort",J)}try{V(this,v,"m",P6).call(this);let{response:K,data:W}=await X.create({...Z,stream:!0},{...$,signal:this.controller.signal}).withResponse();this._connected(K);for await(let Q of W)V(this,v,"m",y6).call(this,Q);if(W.controller.signal?.aborted)throw new S;V(this,v,"m",_6).call(this)}finally{if(Y&&J)Y.removeEventListener("abort",J)}}_connected(X){if(this.ended)return;G(this,dZ,X,"f"),G(this,mZ,X?.headers.get("request-id"),"f"),V(this,hZ,"f").call(this,X),this._emit("connect")}get ended(){return V(this,$Z,"f")}get errored(){return V(this,gZ,"f")}get aborted(){return V(this,cZ,"f")}abort(){this.controller.abort()}on(X,Z){return(V(this,a,"f")[X]||(V(this,a,"f")[X]=[])).push({listener:Z}),this}off(X,Z){let $=V(this,a,"f")[X];if(!$)return this;let Y=$.findIndex((J)=>J.listener===Z);if(Y>=0)$.splice(Y,1);return this}once(X,Z){return(V(this,a,"f")[X]||(V(this,a,"f")[X]=[])).push({listener:Z,once:!0}),this}emitted(X){return new Promise((Z,$)=>{if(G(this,GX,!0,"f"),X!=="error")this.once("error",$);this.once(X,Z)})}async done(){G(this,GX,!0,"f"),await V(this,XZ,"f")}get currentMessage(){return V(this,$X,"f")}async finalMessage(){return await this.done(),V(this,v,"m",R6).call(this)}async finalText(){return await this.done(),V(this,v,"m",i7).call(this)}_emit(X,...Z){if(V(this,$Z,"f"))return;if(X==="end")G(this,$Z,!0,"f"),V(this,vZ,"f").call(this);let $=V(this,a,"f")[X];if($)V(this,a,"f")[X]=$.filter((Y)=>!Y.once),$.forEach(({listener:Y})=>Y(...Z));if(X==="abort"){let Y=Z[0];if(!V(this,GX,"f")&&!$?.length)Promise.reject(Y);V(this,eX,"f").call(this,Y),V(this,ZZ,"f").call(this,Y),this._emit("end");return}if(X==="error"){let Y=Z[0];if(!V(this,GX,"f")&&!$?.length)Promise.reject(Y);V(this,eX,"f").call(this,Y),V(this,ZZ,"f").call(this,Y),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",V(this,v,"m",R6).call(this))}async _fromReadableStream(X,Z){let $=Z?.signal,Y;if($){if($.aborted)this.controller.abort();Y=this.controller.abort.bind(this.controller),$.addEventListener("abort",Y)}try{V(this,v,"m",P6).call(this),this._connected(null);let J=_.fromReadableStream(X,this.controller);for await(let K of J)V(this,v,"m",y6).call(this,K);if(J.controller.signal?.aborted)throw new S;V(this,v,"m",_6).call(this)}finally{if($&&Y)$.removeEventListener("abort",Y)}}[($X=new WeakMap,DX=new WeakMap,sX=new WeakMap,hZ=new WeakMap,eX=new WeakMap,XZ=new WeakMap,vZ=new WeakMap,ZZ=new WeakMap,a=new WeakMap,$Z=new WeakMap,gZ=new WeakMap,cZ=new WeakMap,GX=new WeakMap,dZ=new WeakMap,mZ=new WeakMap,YZ=new WeakMap,uZ=new WeakMap,v=new WeakSet,R6=function(){if(this.receivedMessages.length===0)throw new N("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},i7=function(){if(this.receivedMessages.length===0)throw new N("stream ended without producing a Message with role=assistant");let Z=this.receivedMessages.at(-1).content.filter(($)=>$.type==="text").map(($)=>$.text);if(Z.length===0)throw new N("stream ended without producing a content block with type=text");return Z.join(" ")},P6=function(){if(this.ended)return;G(this,$X,void 0,"f")},y6=function(Z){if(this.ended)return;let $=V(this,v,"m",n7).call(this,Z);switch(this._emit("streamEvent",Z,$),Z.type){case"content_block_delta":{let Y=$.content.at(-1);switch(Z.delta.type){case"text_delta":{if(Y.type==="text")this._emit("text",Z.delta.text,Y.text||"");break}case"citations_delta":{if(Y.type==="text")this._emit("citation",Z.delta.citation,Y.citations??[]);break}case"input_json_delta":{if(a7(Y)&&Y.input)this._emit("inputJson",Z.delta.partial_json,Y.input);break}case"thinking_delta":{if(Y.type==="thinking")this._emit("thinking",Z.delta.thinking,Y.thinking);break}case"signature_delta":{if(Y.type==="thinking")this._emit("signature",Y.signature);break}case"compaction_delta":{if(Y.type==="compaction"&&Y.content)this._emit("compaction",Y.content);break}default:r7(Z.delta)}break}case"message_stop":{this._addMessageParam($),this._addMessage(F6($,V(this,DX,"f"),{logger:V(this,YZ,"f")}),!0);break}case"content_block_stop":{this._emit("contentBlock",$.content.at(-1));break}case"message_start":{G(this,$X,$,"f");break}case"content_block_start":case"message_delta":break}},_6=function(){if(this.ended)throw new N("stream has ended, this shouldn't happen");let Z=V(this,$X,"f");if(!Z)throw new N("request ended without sending any chunks");return G(this,$X,void 0,"f"),F6(Z,V(this,DX,"f"),{logger:V(this,YZ,"f")})},n7=function(Z){let $=V(this,$X,"f");if(Z.type==="message_start"){if($)throw new N(`Unexpected event order, got ${Z.type} before receiving "message_stop"`);return Z.message}if(!$)throw new N(`Unexpected event order, got ${Z.type} before "message_start"`);switch(Z.type){case"message_stop":return $;case"message_delta":if($.container=Z.delta.container,$.stop_reason=Z.delta.stop_reason,$.stop_sequence=Z.delta.stop_sequence,$.usage.output_tokens=Z.usage.output_tokens,$.context_management=Z.context_management,Z.usage.input_tokens!=null)$.usage.input_tokens=Z.usage.input_tokens;if(Z.usage.cache_creation_input_tokens!=null)$.usage.cache_creation_input_tokens=Z.usage.cache_creation_input_tokens;if(Z.usage.cache_read_input_tokens!=null)$.usage.cache_read_input_tokens=Z.usage.cache_read_input_tokens;if(Z.usage.server_tool_use!=null)$.usage.server_tool_use=Z.usage.server_tool_use;if(Z.usage.iterations!=null)$.usage.iterations=Z.usage.iterations;return $;case"content_block_start":return $.content.push(Z.content_block),$;case"content_block_delta":{let Y=$.content.at(Z.index);switch(Z.delta.type){case"text_delta":{if(Y?.type==="text")$.content[Z.index]={...Y,text:(Y.text||"")+Z.delta.text};break}case"citations_delta":{if(Y?.type==="text")$.content[Z.index]={...Y,citations:[...Y.citations??[],Z.delta.citation]};break}case"input_json_delta":{if(Y&&a7(Y)){let J=Y[o7]||"";J+=Z.delta.partial_json;let K={...Y};if(Object.defineProperty(K,o7,{value:J,enumerable:!1,writable:!0}),J)try{K.input=bZ(J)}catch(W){let Q=new N(`Unable to parse tool parameter JSON from model. Please retry your request or adjust your prompt. Error: ${W}. JSON: ${J}`);V(this,uZ,"f").call(this,Q)}$.content[Z.index]=K}break}case"thinking_delta":{if(Y?.type==="thinking")$.content[Z.index]={...Y,thinking:Y.thinking+Z.delta.thinking};break}case"signature_delta":{if(Y?.type==="thinking")$.content[Z.index]={...Y,signature:Z.delta.signature};break}case"compaction_delta":{if(Y?.type==="compaction")$.content[Z.index]={...Y,content:(Y.content||"")+Z.delta.content};break}default:r7(Z.delta)}return $}case"content_block_stop":return $}},Symbol.asyncIterator)](){let X=[],Z=[],$=!1;return this.on("streamEvent",(Y)=>{let J=Z.shift();if(J)J.resolve(Y);else X.push(Y)}),this.on("end",()=>{$=!0;for(let Y of Z)Y.resolve(void 0);Z.length=0}),this.on("abort",(Y)=>{$=!0;for(let J of Z)J.reject(Y);Z.length=0}),this.on("error",(Y)=>{$=!0;for(let J of Z)J.reject(Y);Z.length=0}),{next:async()=>{if(!X.length){if($)return{value:void 0,done:!0};return new Promise((J,K)=>Z.push({resolve:J,reject:K})).then((J)=>J?{value:J,done:!1}:{value:void 0,done:!0})}return{value:X.shift(),done:!1}},return:async()=>{return this.abort(),{value:void 0,done:!0}}}}toReadableStream(){return new _(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}});var EX;var pZ=w(()=>{EX=class EX extends Error{constructor(X){let Z=typeof X==="string"?X:X.map(($)=>{if($.type==="text")return $.text;return`[${$.type}]`}).join(" ");super(Z);this.name="ToolError",this.content=X}}});var s7=1e5,e7=`You have been working on the task described above but have not yet completed it. Write a continuation summary that will allow you (or another instance of yourself) to resume work efficiently in a future context window where the conversation history will be replaced with this summary. Your summary should be structured, concise, and actionable. Include:
|
|
10
|
+
1. Task Overview
|
|
11
|
+
The user's core request and success criteria
|
|
12
|
+
Any clarifications or constraints they specified
|
|
13
|
+
2. Current State
|
|
14
|
+
What has been completed so far
|
|
15
|
+
Files created, modified, or analyzed (with paths if relevant)
|
|
16
|
+
Key outputs or artifacts produced
|
|
17
|
+
3. Important Discoveries
|
|
18
|
+
Technical constraints or requirements uncovered
|
|
19
|
+
Decisions made and their rationale
|
|
20
|
+
Errors encountered and how they were resolved
|
|
21
|
+
What approaches were tried that didn't work (and why)
|
|
22
|
+
4. Next Steps
|
|
23
|
+
Specific actions needed to complete the task
|
|
24
|
+
Any blockers or open questions to resolve
|
|
25
|
+
Priority order if multiple steps remain
|
|
26
|
+
5. Context to Preserve
|
|
27
|
+
User preferences or style requirements
|
|
28
|
+
Domain-specific details that aren't obvious
|
|
29
|
+
Any promises made to the user
|
|
30
|
+
Be concise but complete—err on the side of including information that would prevent duplicate work or repeated mistakes. Write in a way that enables immediate resumption of the task.
|
|
31
|
+
Wrap your summary in <summary></summary> tags.`;var X8=()=>{};function $8(){let X,Z;return{promise:new Promise((Y,J)=>{X=Y,Z=J}),resolve:X,reject:Z}}async function M$(X,Z=X.messages.at(-1)){if(!Z||Z.role!=="assistant"||!Z.content||typeof Z.content==="string")return null;let $=Z.content.filter((J)=>J.type==="tool_use");if($.length===0)return null;return{role:"user",content:await Promise.all($.map(async(J)=>{let K=X.tools.find((W)=>("name"in W?W.name:W.mcp_server_name)===J.name);if(!K||!("run"in K))return{type:"tool_result",tool_use_id:J.id,content:`Error: Tool '${J.name}' not found`,is_error:!0};try{let W=J.input;if("parse"in K&&K.parse)W=K.parse(W);let Q=await K.run(W);return{type:"tool_result",tool_use_id:J.id,content:Q}}catch(W){return{type:"tool_result",tool_use_id:J.id,content:W instanceof EX?W.content:`Error: ${W instanceof Error?W.message:String(W)}`,is_error:!0}}}))}}var KZ,jX,NX,B,WZ,b,r,YX,VZ,Z8,f6,QZ;var b6=w(()=>{n();pZ();R();f();X8();aX();QZ=class QZ{constructor(X,Z,$){KZ.add(this),this.client=X,jX.set(this,!1),NX.set(this,!1),B.set(this,void 0),WZ.set(this,void 0),b.set(this,void 0),r.set(this,void 0),YX.set(this,void 0),VZ.set(this,0),G(this,B,{params:{...Z,messages:structuredClone(Z.messages)}},"f");let J=["BetaToolRunner",...E6(Z.tools,Z.messages)].join(", ");G(this,WZ,{...$,headers:q([{"x-stainless-helper":J},$?.headers])},"f"),G(this,YX,$8(),"f")}async*[(jX=new WeakMap,NX=new WeakMap,B=new WeakMap,WZ=new WeakMap,b=new WeakMap,r=new WeakMap,YX=new WeakMap,VZ=new WeakMap,KZ=new WeakSet,Z8=async function(){let Z=V(this,B,"f").params.compactionControl;if(!Z||!Z.enabled)return!1;let $=0;if(V(this,b,"f")!==void 0)try{let z=await V(this,b,"f");$=z.usage.input_tokens+(z.usage.cache_creation_input_tokens??0)+(z.usage.cache_read_input_tokens??0)+z.usage.output_tokens}catch{return!1}let Y=Z.contextTokenThreshold??s7;if($<Y)return!1;let J=Z.model??V(this,B,"f").params.model,K=Z.summaryPrompt??e7,W=V(this,B,"f").params.messages;if(W[W.length-1].role==="assistant"){let z=W[W.length-1];if(Array.isArray(z.content)){let x=z.content.filter((H)=>H.type!=="tool_use");if(x.length===0)W.pop();else z.content=x}}let Q=await this.client.beta.messages.create({model:J,messages:[...W,{role:"user",content:[{type:"text",text:K}]}],max_tokens:V(this,B,"f").params.max_tokens},{headers:{"x-stainless-helper":"compaction"}});if(Q.content[0]?.type!=="text")throw new N("Expected text response for compaction");return V(this,B,"f").params.messages=[{role:"user",content:Q.content}],!0},Symbol.asyncIterator)](){var X;if(V(this,jX,"f"))throw new N("Cannot iterate over a consumed stream");G(this,jX,!0,"f"),G(this,NX,!0,"f"),G(this,r,void 0,"f");try{while(!0){let Z;try{if(V(this,B,"f").params.max_iterations&&V(this,VZ,"f")>=V(this,B,"f").params.max_iterations)break;G(this,NX,!1,"f"),G(this,r,void 0,"f"),G(this,VZ,(X=V(this,VZ,"f"),X++,X),"f"),G(this,b,void 0,"f");let{max_iterations:$,compactionControl:Y,...J}=V(this,B,"f").params;if(J.stream)Z=this.client.beta.messages.stream({...J},V(this,WZ,"f")),G(this,b,Z.finalMessage(),"f"),V(this,b,"f").catch(()=>{}),yield Z;else G(this,b,this.client.beta.messages.create({...J,stream:!1},V(this,WZ,"f")),"f"),yield V(this,b,"f");if(!await V(this,KZ,"m",Z8).call(this)){if(!V(this,NX,"f")){let{role:Q,content:z}=await V(this,b,"f");V(this,B,"f").params.messages.push({role:Q,content:z})}let W=await V(this,KZ,"m",f6).call(this,V(this,B,"f").params.messages.at(-1));if(W)V(this,B,"f").params.messages.push(W);else if(!V(this,NX,"f"))break}}finally{if(Z)Z.abort()}}if(!V(this,b,"f"))throw new N("ToolRunner concluded without a message from the server");V(this,YX,"f").resolve(await V(this,b,"f"))}catch(Z){throw G(this,jX,!1,"f"),V(this,YX,"f").promise.catch(()=>{}),V(this,YX,"f").reject(Z),G(this,YX,$8(),"f"),Z}}setMessagesParams(X){if(typeof X==="function")V(this,B,"f").params=X(V(this,B,"f").params);else V(this,B,"f").params=X;G(this,NX,!0,"f"),G(this,r,void 0,"f")}async generateToolResponse(){let X=await V(this,b,"f")??this.params.messages.at(-1);if(!X)return null;return V(this,KZ,"m",f6).call(this,X)}done(){return V(this,YX,"f").promise}async runUntilDone(){if(!V(this,jX,"f"))for await(let X of this);return this.done()}get params(){return V(this,B,"f").params}pushMessages(...X){this.setMessagesParams((Z)=>({...Z,messages:[...Z.messages,...X]}))}then(X,Z){return this.runUntilDone().then(X,Z)}};f6=async function(Z){if(V(this,r,"f")!==void 0)return V(this,r,"f");return G(this,r,M$(V(this,B,"f").params,Z),"f"),V(this,r,"f")}});var TX;var h6=w(()=>{R();HX();N6();TX=class TX{constructor(X,Z){this.iterator=X,this.controller=Z}async*decoder(){let X=new XX;for await(let Z of this.iterator)for(let $ of X.decode(Z))yield JSON.parse($);for(let Z of X.flush())yield JSON.parse(Z)}[Symbol.asyncIterator](){return this.decoder()}static fromResponse(X,Z){if(!X.body){if(Z.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new N("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new N("Attempted to iterate over a response with no body")}return new TX(dX(X.body),Z)}}});var zZ;var v6=w(()=>{h();u();f();h6();MX();ZX();zZ=class zZ extends T{create(X,Z){let{betas:$,...Y}=X;return this._client.post("/v1/messages/batches?beta=true",{body:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"message-batches-2024-09-24"].toString()},Z?.headers])})}retrieve(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/messages/batches/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...Y??[],"message-batches-2024-09-24"].toString()},$?.headers])})}list(X={},Z){let{betas:$,...Y}=X??{};return this._client.getAPIList("/v1/messages/batches?beta=true",c,{query:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"message-batches-2024-09-24"].toString()},Z?.headers])})}delete(X,Z={},$){let{betas:Y}=Z??{};return this._client.delete(j`/v1/messages/batches/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...Y??[],"message-batches-2024-09-24"].toString()},$?.headers])})}cancel(X,Z={},$){let{betas:Y}=Z??{};return this._client.post(j`/v1/messages/batches/${X}/cancel?beta=true`,{...$,headers:q([{"anthropic-beta":[...Y??[],"message-batches-2024-09-24"].toString()},$?.headers])})}async results(X,Z={},$){let Y=await this.retrieve(X);if(!Y.results_url)throw new N(`No batch \`results_url\`; Has it finished processing? ${Y.processing_status} - ${Y.id}`);let{betas:J}=Z??{};return this._client.get(Y.results_url,{...$,headers:q([{"anthropic-beta":[...J??[],"message-batches-2024-09-24"].toString(),Accept:"application/binary"},$?.headers]),stream:!0,__binaryResponse:!0})._thenUnwrap((K,W)=>TX.fromResponse(W.response,W.controller))}}});function J8(X){if(!X.output_format)return X;if(X.output_config?.format)throw new N("Both output_format and output_config.format were provided. Please use only output_config.format (output_format is deprecated).");let{output_format:Z,...$}=X;return{...$,output_config:{...X.output_config,format:Z}}}var Y8,D$,JX;var g6=w(()=>{MX();h();I6();f();aX();S6();t7();b6();pZ();v6();v6();b6();pZ();Y8={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-3-opus-20240229":"January 5th, 2026","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025","claude-3-7-sonnet-latest":"February 19th, 2026","claude-3-7-sonnet-20250219":"February 19th, 2026"},D$=["claude-opus-4-6"];JX=class JX extends T{constructor(){super(...arguments);this.batches=new zZ(this._client)}create(X,Z){let $=J8(X),{betas:Y,...J}=$;if(J.model in Y8)console.warn(`The model '${J.model}' is deprecated and will reach end-of-life on ${Y8[J.model]}
|
|
32
|
+
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);if(J.model in D$&&J.thinking&&J.thinking.type==="enabled")console.warn(`Using Claude with ${J.model} and 'thinking.type=enabled' is deprecated. Use 'thinking.type=adaptive' instead which results in better model performance in our testing: https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking`);let K=this._client._options.timeout;if(!J.stream&&K==null){let Q=fZ[J.model]??void 0;K=this._client.calculateNonstreamingTimeout(J.max_tokens,Q)}let W=_Z(J.tools,J.messages);return this._client.post("/v1/messages?beta=true",{body:J,timeout:K??600000,...Z,headers:q([{...Y?.toString()!=null?{"anthropic-beta":Y?.toString()}:void 0},W,Z?.headers]),stream:$.stream??!1})}parse(X,Z){return Z={...Z,headers:q([{"anthropic-beta":[...X.betas??[],"structured-outputs-2025-12-15"].toString()},Z?.headers])},this.create(X,Z).then(($)=>B6($,X,{logger:this._client.logger??console}))}stream(X,Z){return JZ.createMessage(this,X,Z)}countTokens(X,Z){let $=J8(X),{betas:Y,...J}=$;return this._client.post("/v1/messages/count_tokens?beta=true",{body:J,...Z,headers:q([{"anthropic-beta":[...Y??[],"token-counting-2024-11-01"].toString()},Z?.headers])})}toolRunner(X,Z){return new QZ(this._client,X,Z)}};JX.Batches=zZ;JX.BetaToolRunner=QZ;JX.ToolError=EX});var GZ;var c6=w(()=>{h();u();f();OX();ZX();GZ=class GZ extends T{create(X,Z={},$){let{betas:Y,...J}=Z??{};return this._client.post(j`/v1/skills/${X}/versions?beta=true`,xX({body:J,...$,headers:q([{"anthropic-beta":[...Y??[],"skills-2025-10-02"].toString()},$?.headers])},this._client))}retrieve(X,Z,$){let{skill_id:Y,betas:J}=Z;return this._client.get(j`/v1/skills/${Y}/versions/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...J??[],"skills-2025-10-02"].toString()},$?.headers])})}list(X,Z={},$){let{betas:Y,...J}=Z??{};return this._client.getAPIList(j`/v1/skills/${X}/versions?beta=true`,iX,{query:J,...$,headers:q([{"anthropic-beta":[...Y??[],"skills-2025-10-02"].toString()},$?.headers])})}delete(X,Z,$){let{skill_id:Y,betas:J}=Z;return this._client.delete(j`/v1/skills/${Y}/versions/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...J??[],"skills-2025-10-02"].toString()},$?.headers])})}}});var IX;var d6=w(()=>{h();c6();c6();u();f();OX();ZX();IX=class IX extends T{constructor(){super(...arguments);this.versions=new GZ(this._client)}create(X={},Z){let{betas:$,...Y}=X??{};return this._client.post("/v1/skills?beta=true",xX({body:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"skills-2025-10-02"].toString()},Z?.headers])},this._client,!1))}retrieve(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/skills/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...Y??[],"skills-2025-10-02"].toString()},$?.headers])})}list(X={},Z){let{betas:$,...Y}=X??{};return this._client.getAPIList("/v1/skills?beta=true",iX,{query:Y,...Z,headers:q([{"anthropic-beta":[...$??[],"skills-2025-10-02"].toString()},Z?.headers])})}delete(X,Z={},$){let{betas:Y}=Z??{};return this._client.delete(j`/v1/skills/${X}?beta=true`,{...$,headers:q([{"anthropic-beta":[...Y??[],"skills-2025-10-02"].toString()},$?.headers])})}};IX.Versions=GZ});var p;var m6=w(()=>{h();j6();j6();T6();T6();g6();g6();d6();d6();p=class p extends T{constructor(){super(...arguments);this.models=new tX(this._client),this.messages=new JX(this._client),this.files=new rX(this._client),this.skills=new IX(this._client)}};p.Models=tX;p.Messages=JX;p.Files=rX;p.Skills=IX});var FX;var u6=w(()=>{h();f();FX=class FX extends T{create(X,Z){let{betas:$,...Y}=X;return this._client.post("/v1/complete",{body:Y,timeout:this._client._options.timeout??600000,...Z,headers:q([{...$?.toString()!=null?{"anthropic-beta":$?.toString()}:void 0},Z?.headers]),stream:X.stream??!1})}}});function K8(X){return X?.output_config?.format}function p6(X,Z,$){let Y=K8(Z);if(!Z||!("parse"in(Y??{})))return{...X,content:X.content.map((J)=>{if(J.type==="text")return Object.defineProperty({...J},"parsed_output",{value:null,enumerable:!1});return J}),parsed_output:null};return l6(X,Z,$)}function l6(X,Z,$){let Y=null,J=X.content.map((K)=>{if(K.type==="text"){let W=I$(Z,K.text);if(Y===null)Y=W;return Object.defineProperty({...K},"parsed_output",{value:W,enumerable:!1})}return K});return{...X,content:J,parsed_output:Y}}function I$(X,Z){let $=K8(X);if($?.type!=="json_schema")return null;try{if("parse"in $)return $.parse(Z);return JSON.parse(Z)}catch(Y){throw new N(`Failed to parse structured output: ${Y}`)}}var i6=w(()=>{R()});function z8(X){return X.type==="tool_use"||X.type==="server_tool_use"}function G8(X){}var g,KX,BX,NZ,lZ,wZ,UZ,iZ,qZ,t,CZ,nZ,oZ,wX,aZ,rZ,HZ,n6,W8,o6,a6,r6,t6,V8,Q8="__json_buf",xZ;var N8=w(()=>{n();CX();MX();k6();L6();i6();xZ=class xZ{constructor(X,Z){g.add(this),this.messages=[],this.receivedMessages=[],KX.set(this,void 0),BX.set(this,null),this.controller=new AbortController,NZ.set(this,void 0),lZ.set(this,()=>{}),wZ.set(this,()=>{}),UZ.set(this,void 0),iZ.set(this,()=>{}),qZ.set(this,()=>{}),t.set(this,{}),CZ.set(this,!1),nZ.set(this,!1),oZ.set(this,!1),wX.set(this,!1),aZ.set(this,void 0),rZ.set(this,void 0),HZ.set(this,void 0),o6.set(this,($)=>{if(G(this,nZ,!0,"f"),i($))$=new S;if($ instanceof S)return G(this,oZ,!0,"f"),this._emit("abort",$);if($ instanceof N)return this._emit("error",$);if($ instanceof Error){let Y=new N($.message);return Y.cause=$,this._emit("error",Y)}return this._emit("error",new N(String($)))}),G(this,NZ,new Promise(($,Y)=>{G(this,lZ,$,"f"),G(this,wZ,Y,"f")}),"f"),G(this,UZ,new Promise(($,Y)=>{G(this,iZ,$,"f"),G(this,qZ,Y,"f")}),"f"),V(this,NZ,"f").catch(()=>{}),V(this,UZ,"f").catch(()=>{}),G(this,BX,X,"f"),G(this,HZ,Z?.logger??console,"f")}get response(){return V(this,aZ,"f")}get request_id(){return V(this,rZ,"f")}async withResponse(){G(this,wX,!0,"f");let X=await V(this,NZ,"f");if(!X)throw Error("Could not resolve a `Response` object");return{data:this,response:X,request_id:X.headers.get("request-id")}}static fromReadableStream(X){let Z=new xZ(null);return Z._run(()=>Z._fromReadableStream(X)),Z}static createMessage(X,Z,$,{logger:Y}={}){let J=new xZ(Z,{logger:Y});for(let K of Z.messages)J._addMessageParam(K);return G(J,BX,{...Z,stream:!0},"f"),J._run(()=>J._createMessage(X,{...Z,stream:!0},{...$,headers:{...$?.headers,"X-Stainless-Helper-Method":"stream"}})),J}_run(X){X().then(()=>{this._emitFinal(),this._emit("end")},V(this,o6,"f"))}_addMessageParam(X){this.messages.push(X)}_addMessage(X,Z=!0){if(this.receivedMessages.push(X),Z)this._emit("message",X)}async _createMessage(X,Z,$){let Y=$?.signal,J;if(Y){if(Y.aborted)this.controller.abort();J=this.controller.abort.bind(this.controller),Y.addEventListener("abort",J)}try{V(this,g,"m",a6).call(this);let{response:K,data:W}=await X.create({...Z,stream:!0},{...$,signal:this.controller.signal}).withResponse();this._connected(K);for await(let Q of W)V(this,g,"m",r6).call(this,Q);if(W.controller.signal?.aborted)throw new S;V(this,g,"m",t6).call(this)}finally{if(Y&&J)Y.removeEventListener("abort",J)}}_connected(X){if(this.ended)return;G(this,aZ,X,"f"),G(this,rZ,X?.headers.get("request-id"),"f"),V(this,lZ,"f").call(this,X),this._emit("connect")}get ended(){return V(this,CZ,"f")}get errored(){return V(this,nZ,"f")}get aborted(){return V(this,oZ,"f")}abort(){this.controller.abort()}on(X,Z){return(V(this,t,"f")[X]||(V(this,t,"f")[X]=[])).push({listener:Z}),this}off(X,Z){let $=V(this,t,"f")[X];if(!$)return this;let Y=$.findIndex((J)=>J.listener===Z);if(Y>=0)$.splice(Y,1);return this}once(X,Z){return(V(this,t,"f")[X]||(V(this,t,"f")[X]=[])).push({listener:Z,once:!0}),this}emitted(X){return new Promise((Z,$)=>{if(G(this,wX,!0,"f"),X!=="error")this.once("error",$);this.once(X,Z)})}async done(){G(this,wX,!0,"f"),await V(this,UZ,"f")}get currentMessage(){return V(this,KX,"f")}async finalMessage(){return await this.done(),V(this,g,"m",n6).call(this)}async finalText(){return await this.done(),V(this,g,"m",W8).call(this)}_emit(X,...Z){if(V(this,CZ,"f"))return;if(X==="end")G(this,CZ,!0,"f"),V(this,iZ,"f").call(this);let $=V(this,t,"f")[X];if($)V(this,t,"f")[X]=$.filter((Y)=>!Y.once),$.forEach(({listener:Y})=>Y(...Z));if(X==="abort"){let Y=Z[0];if(!V(this,wX,"f")&&!$?.length)Promise.reject(Y);V(this,wZ,"f").call(this,Y),V(this,qZ,"f").call(this,Y),this._emit("end");return}if(X==="error"){let Y=Z[0];if(!V(this,wX,"f")&&!$?.length)Promise.reject(Y);V(this,wZ,"f").call(this,Y),V(this,qZ,"f").call(this,Y),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",V(this,g,"m",n6).call(this))}async _fromReadableStream(X,Z){let $=Z?.signal,Y;if($){if($.aborted)this.controller.abort();Y=this.controller.abort.bind(this.controller),$.addEventListener("abort",Y)}try{V(this,g,"m",a6).call(this),this._connected(null);let J=_.fromReadableStream(X,this.controller);for await(let K of J)V(this,g,"m",r6).call(this,K);if(J.controller.signal?.aborted)throw new S;V(this,g,"m",t6).call(this)}finally{if($&&Y)$.removeEventListener("abort",Y)}}[(KX=new WeakMap,BX=new WeakMap,NZ=new WeakMap,lZ=new WeakMap,wZ=new WeakMap,UZ=new WeakMap,iZ=new WeakMap,qZ=new WeakMap,t=new WeakMap,CZ=new WeakMap,nZ=new WeakMap,oZ=new WeakMap,wX=new WeakMap,aZ=new WeakMap,rZ=new WeakMap,HZ=new WeakMap,o6=new WeakMap,g=new WeakSet,n6=function(){if(this.receivedMessages.length===0)throw new N("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},W8=function(){if(this.receivedMessages.length===0)throw new N("stream ended without producing a Message with role=assistant");let Z=this.receivedMessages.at(-1).content.filter(($)=>$.type==="text").map(($)=>$.text);if(Z.length===0)throw new N("stream ended without producing a content block with type=text");return Z.join(" ")},a6=function(){if(this.ended)return;G(this,KX,void 0,"f")},r6=function(Z){if(this.ended)return;let $=V(this,g,"m",V8).call(this,Z);switch(this._emit("streamEvent",Z,$),Z.type){case"content_block_delta":{let Y=$.content.at(-1);switch(Z.delta.type){case"text_delta":{if(Y.type==="text")this._emit("text",Z.delta.text,Y.text||"");break}case"citations_delta":{if(Y.type==="text")this._emit("citation",Z.delta.citation,Y.citations??[]);break}case"input_json_delta":{if(z8(Y)&&Y.input)this._emit("inputJson",Z.delta.partial_json,Y.input);break}case"thinking_delta":{if(Y.type==="thinking")this._emit("thinking",Z.delta.thinking,Y.thinking);break}case"signature_delta":{if(Y.type==="thinking")this._emit("signature",Y.signature);break}default:G8(Z.delta)}break}case"message_stop":{this._addMessageParam($),this._addMessage(p6($,V(this,BX,"f"),{logger:V(this,HZ,"f")}),!0);break}case"content_block_stop":{this._emit("contentBlock",$.content.at(-1));break}case"message_start":{G(this,KX,$,"f");break}case"content_block_start":case"message_delta":break}},t6=function(){if(this.ended)throw new N("stream has ended, this shouldn't happen");let Z=V(this,KX,"f");if(!Z)throw new N("request ended without sending any chunks");return G(this,KX,void 0,"f"),p6(Z,V(this,BX,"f"),{logger:V(this,HZ,"f")})},V8=function(Z){let $=V(this,KX,"f");if(Z.type==="message_start"){if($)throw new N(`Unexpected event order, got ${Z.type} before receiving "message_stop"`);return Z.message}if(!$)throw new N(`Unexpected event order, got ${Z.type} before "message_start"`);switch(Z.type){case"message_stop":return $;case"message_delta":if($.stop_reason=Z.delta.stop_reason,$.stop_sequence=Z.delta.stop_sequence,$.usage.output_tokens=Z.usage.output_tokens,Z.usage.input_tokens!=null)$.usage.input_tokens=Z.usage.input_tokens;if(Z.usage.cache_creation_input_tokens!=null)$.usage.cache_creation_input_tokens=Z.usage.cache_creation_input_tokens;if(Z.usage.cache_read_input_tokens!=null)$.usage.cache_read_input_tokens=Z.usage.cache_read_input_tokens;if(Z.usage.server_tool_use!=null)$.usage.server_tool_use=Z.usage.server_tool_use;return $;case"content_block_start":return $.content.push({...Z.content_block}),$;case"content_block_delta":{let Y=$.content.at(Z.index);switch(Z.delta.type){case"text_delta":{if(Y?.type==="text")$.content[Z.index]={...Y,text:(Y.text||"")+Z.delta.text};break}case"citations_delta":{if(Y?.type==="text")$.content[Z.index]={...Y,citations:[...Y.citations??[],Z.delta.citation]};break}case"input_json_delta":{if(Y&&z8(Y)){let J=Y[Q8]||"";J+=Z.delta.partial_json;let K={...Y};if(Object.defineProperty(K,Q8,{value:J,enumerable:!1,writable:!0}),J)K.input=bZ(J);$.content[Z.index]=K}break}case"thinking_delta":{if(Y?.type==="thinking")$.content[Z.index]={...Y,thinking:Y.thinking+Z.delta.thinking};break}case"signature_delta":{if(Y?.type==="thinking")$.content[Z.index]={...Y,signature:Z.delta.signature};break}default:G8(Z.delta)}return $}case"content_block_stop":return $}},Symbol.asyncIterator)](){let X=[],Z=[],$=!1;return this.on("streamEvent",(Y)=>{let J=Z.shift();if(J)J.resolve(Y);else X.push(Y)}),this.on("end",()=>{$=!0;for(let Y of Z)Y.resolve(void 0);Z.length=0}),this.on("abort",(Y)=>{$=!0;for(let J of Z)J.reject(Y);Z.length=0}),this.on("error",(Y)=>{$=!0;for(let J of Z)J.reject(Y);Z.length=0}),{next:async()=>{if(!X.length){if($)return{value:void 0,done:!0};return new Promise((J,K)=>Z.push({resolve:J,reject:K})).then((J)=>J?{value:J,done:!1}:{value:void 0,done:!0})}return{value:X.shift(),done:!1}},return:async()=>{return this.abort(),{value:void 0,done:!0}}}}toReadableStream(){return new _(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}});var OZ;var s6=w(()=>{h();u();f();h6();MX();ZX();OZ=class OZ extends T{create(X,Z){return this._client.post("/v1/messages/batches",{body:X,...Z})}retrieve(X,Z){return this._client.get(j`/v1/messages/batches/${X}`,Z)}list(X={},Z){return this._client.getAPIList("/v1/messages/batches",c,{query:X,...Z})}delete(X,Z){return this._client.delete(j`/v1/messages/batches/${X}`,Z)}cancel(X,Z){return this._client.post(j`/v1/messages/batches/${X}/cancel`,Z)}async results(X,Z){let $=await this.retrieve(X);if(!$.results_url)throw new N(`No batch \`results_url\`; Has it finished processing? ${$.processing_status} - ${$.id}`);return this._client.get($.results_url,{...Z,headers:q([{Accept:"application/binary"},Z?.headers]),stream:!0,__binaryResponse:!0})._thenUnwrap((Y,J)=>TX.fromResponse(J.response,J.controller))}}});var UX,w8,B$;var e6=w(()=>{h();f();aX();N8();i6();s6();s6();I6();UX=class UX extends T{constructor(){super(...arguments);this.batches=new OZ(this._client)}create(X,Z){if(X.model in w8)console.warn(`The model '${X.model}' is deprecated and will reach end-of-life on ${w8[X.model]}
|
|
33
|
+
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);if(X.model in B$&&X.thinking&&X.thinking.type==="enabled")console.warn(`Using Claude with ${X.model} and 'thinking.type=enabled' is deprecated. Use 'thinking.type=adaptive' instead which results in better model performance in our testing: https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking`);let $=this._client._options.timeout;if(!X.stream&&$==null){let J=fZ[X.model]??void 0;$=this._client.calculateNonstreamingTimeout(X.max_tokens,J)}let Y=_Z(X.tools,X.messages);return this._client.post("/v1/messages",{body:X,timeout:$??600000,...Z,headers:q([Y,Z?.headers]),stream:X.stream??!1})}parse(X,Z){return this.create(X,Z).then(($)=>l6($,X,{logger:this._client.logger??console}))}stream(X,Z){return xZ.createMessage(this,X,Z,{logger:this._client.logger??console})}countTokens(X,Z){return this._client.post("/v1/messages/count_tokens",{body:X,...Z})}};w8={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-3-opus-20240229":"January 5th, 2026","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025","claude-3-7-sonnet-latest":"February 19th, 2026","claude-3-7-sonnet-20250219":"February 19th, 2026","claude-3-5-haiku-latest":"February 19th, 2026","claude-3-5-haiku-20241022":"February 19th, 2026"},B$=["claude-opus-4-6"];UX.Batches=OZ});var SX;var X7=w(()=>{h();u();f();ZX();SX=class SX extends T{retrieve(X,Z={},$){let{betas:Y}=Z??{};return this._client.get(j`/v1/models/${X}`,{...$,headers:q([{...Y?.toString()!=null?{"anthropic-beta":Y?.toString()}:void 0},$?.headers])})}list(X={},Z){let{betas:$,...Y}=X??{};return this._client.getAPIList("/v1/models",c,{query:Y,...Z,headers:q([{...$?.toString()!=null?{"anthropic-beta":$?.toString()}:void 0},Z?.headers])})}}});var U8=w(()=>{m6();u6();e6();X7();c7()});var MZ=(X)=>{if(typeof globalThis.process<"u")return globalThis.process.env?.[X]?.trim()??void 0;if(typeof globalThis.Deno<"u")return globalThis.Deno.env?.get?.(X)?.trim();return};var q8=()=>{};class I{constructor({baseURL:X=MZ("ANTHROPIC_BASE_URL"),apiKey:Z=MZ("ANTHROPIC_API_KEY")??null,authToken:$=MZ("ANTHROPIC_AUTH_TOKEN")??null,...Y}={}){Z7.add(this),tZ.set(this,void 0);let J={apiKey:Z,authToken:$,...Y,baseURL:X||"https://api.anthropic.com"};if(!J.dangerouslyAllowBrowser&&j7())throw new N(`It looks like you're running in a browser-like environment.
|
|
34
|
+
|
|
35
|
+
This is disabled by default, as it risks exposing your secret API credentials to attackers.
|
|
36
|
+
If you understand the risks and have appropriate mitigations in place,
|
|
37
|
+
you can set the \`dangerouslyAllowBrowser\` option to \`true\`, e.g.,
|
|
38
|
+
|
|
39
|
+
new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
|
|
40
|
+
`);this.baseURL=J.baseURL,this.timeout=J.timeout??$7.DEFAULT_TIMEOUT,this.logger=J.logger??console;let K="warn";this.logLevel=K,this.logLevel=w6(J.logLevel,"ClientOptions.logLevel",this)??w6(MZ("ANTHROPIC_LOG"),"process.env['ANTHROPIC_LOG']",this)??K,this.fetchOptions=J.fetchOptions,this.maxRetries=J.maxRetries??2,this.fetch=J.fetch??I7(),G(this,tZ,B7,"f"),this._options=J,this.apiKey=typeof Z==="string"?Z:null,this.authToken=$}withOptions(X){return new this.constructor({...this._options,baseURL:this.baseURL,maxRetries:this.maxRetries,timeout:this.timeout,logger:this.logger,logLevel:this.logLevel,fetch:this.fetch,fetchOptions:this.fetchOptions,apiKey:this.apiKey,authToken:this.authToken,...X})}defaultQuery(){return this._options.defaultQuery}validateHeaders({values:X,nulls:Z}){if(X.get("x-api-key")||X.get("authorization"))return;if(this.apiKey&&X.get("x-api-key"))return;if(Z.has("x-api-key"))return;if(this.authToken&&X.get("authorization"))return;if(Z.has("authorization"))return;throw Error('Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted')}async authHeaders(X){return q([await this.apiKeyAuth(X),await this.bearerAuth(X)])}async apiKeyAuth(X){if(this.apiKey==null)return;return q([{"X-Api-Key":this.apiKey}])}async bearerAuth(X){if(this.authToken==null)return;return q([{Authorization:`Bearer ${this.authToken}`}])}stringifyQuery(X){return L7(X)}getUserAgent(){return`${this.constructor.name}/JS ${e}`}defaultIdempotencyKey(){return`stainless-node-retry-${$6()}`}makeStatusError(X,Z,$,Y){return F.generate(X,Z,$,Y)}buildURL(X,Z,$){let Y=!V(this,Z7,"m",C8).call(this)&&$||this.baseURL,J=C7(X)?new URL(X):new URL(Y+(Y.endsWith("/")&&X.startsWith("/")?X.slice(1):X)),K=this.defaultQuery(),W=Object.fromEntries(J.searchParams);if(!K6(K)||!K6(W))Z={...W,...K,...Z};if(typeof Z==="object"&&Z&&!Array.isArray(Z))J.search=this.stringifyQuery(Z);return J.toString()}_calculateNonstreamingTimeout(X){if(3600*X/128000>600)throw new N("Streaming is required for operations that may take longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#streaming-responses for more details");return 600000}async prepareOptions(X){}async prepareRequest(X,{url:Z,options:$}){}get(X,Z){return this.methodRequest("get",X,Z)}post(X,Z){return this.methodRequest("post",X,Z)}patch(X,Z){return this.methodRequest("patch",X,Z)}put(X,Z){return this.methodRequest("put",X,Z)}delete(X,Z){return this.methodRequest("delete",X,Z)}methodRequest(X,Z,$){return this.request(Promise.resolve($).then((Y)=>{return{method:X,path:Z,...Y}}))}request(X,Z=null){return new QX(this,this.makeRequest(X,Z,void 0))}async makeRequest(X,Z,$){let Y=await X,J=Y.maxRetries??this.maxRetries;if(Z==null)Z=J;await this.prepareOptions(Y);let{req:K,url:W,timeout:Q}=await this.buildRequest(Y,{retryCount:J-Z});await this.prepareRequest(K,{url:W,options:Y});let z="log_"+(Math.random()*16777216|0).toString(16).padStart(6,"0"),x=$===void 0?"":`, retryOf: ${$}`,H=Date.now();if(L(this).debug(`[${z}] sending request`,o({retryOfRequestLogID:$,method:Y.method,url:W,options:Y,headers:K.headers})),Y.signal?.aborted)throw new S;let M=new AbortController,U=await this.fetchWithTimeout(W,K,Q,M).catch(RX),O=Date.now();if(U instanceof globalThis.Error){let l=`retrying, ${Z} attempts remaining`;if(Y.signal?.aborted)throw new S;let m=i(U)||/timed? ?out/i.test(String(U)+("cause"in U?String(U.cause):""));if(Z)return L(this).info(`[${z}] connection ${m?"timed out":"failed"} - ${l}`),L(this).debug(`[${z}] connection ${m?"timed out":"failed"} (${l})`,o({retryOfRequestLogID:$,url:W,durationMs:O-H,message:U.message})),this.retryRequest(Y,Z,$??z);if(L(this).info(`[${z}] connection ${m?"timed out":"failed"} - error; no more retries left`),L(this).debug(`[${z}] connection ${m?"timed out":"failed"} (error; no more retries left)`,o({retryOfRequestLogID:$,url:W,durationMs:O-H,message:U.message})),m)throw new PX;throw new WX({cause:U})}let d=[...U.headers.entries()].filter(([l])=>l==="request-id").map(([l,m])=>", "+l+": "+JSON.stringify(m)).join(""),kX=`[${z}${x}${d}] ${K.method} ${W} ${U.ok?"succeeded":"failed"} with status ${U.status} in ${O-H}ms`;if(!U.ok){let l=await this.shouldRetry(U);if(Z&&l){let DZ=`retrying, ${Z} attempts remaining`;return await F7(U.body),L(this).info(`${kX} - ${DZ}`),L(this).debug(`[${z}] response error (${DZ})`,o({retryOfRequestLogID:$,url:U.url,status:U.status,headers:U.headers,durationMs:O-H})),this.retryRequest(Y,Z,$??z,U.headers)}let m=l?"error; no more retries left":"error; not retryable";L(this).info(`${kX} - ${m}`);let z7=await U.text().catch((DZ)=>RX(DZ).message),G7=jZ(z7),N7=G7?void 0:z7;throw L(this).debug(`[${z}] response error (${m})`,o({retryOfRequestLogID:$,url:U.url,status:U.status,headers:U.headers,message:N7,durationMs:Date.now()-H})),this.makeStatusError(U.status,G7,N7,U.headers)}return L(this).info(kX),L(this).debug(`[${z}] response start`,o({retryOfRequestLogID:$,url:U.url,status:U.status,headers:U.headers,durationMs:O-H})),{response:U,options:Y,controller:M,requestLogID:z,retryOfRequestLogID:$,startTime:H}}getAPIList(X,Z,$){return this.requestAPIList(Z,$&&"then"in $?$.then((Y)=>({method:"get",path:X,...Y})):{method:"get",path:X,...$})}requestAPIList(X,Z){let $=this.makeRequest(Z,null,void 0);return new RZ(this,$,X)}async fetchWithTimeout(X,Z,$,Y){let{signal:J,method:K,...W}=Z||{},Q=this._makeAbort(Y);if(J)J.addEventListener("abort",Q,{once:!0});let z=setTimeout(Q,$),x=globalThis.ReadableStream&&W.body instanceof globalThis.ReadableStream||typeof W.body==="object"&&W.body!==null&&Symbol.asyncIterator in W.body,H={signal:Y.signal,...x?{duplex:"half"}:{},method:"GET",...W};if(K)H.method=K.toUpperCase();try{return await this.fetch.call(void 0,X,H)}finally{clearTimeout(z)}}async shouldRetry(X){let Z=X.headers.get("x-should-retry");if(Z==="true")return!0;if(Z==="false")return!1;if(X.status===408)return!0;if(X.status===409)return!0;if(X.status===429)return!0;if(X.status>=500)return!0;return!1}async retryRequest(X,Z,$,Y){let J,K=Y?.get("retry-after-ms");if(K){let Q=parseFloat(K);if(!Number.isNaN(Q))J=Q}let W=Y?.get("retry-after");if(W&&!J){let Q=parseFloat(W);if(!Number.isNaN(Q))J=Q*1000;else J=Date.parse(W)-Date.now()}if(J===void 0){let Q=X.maxRetries??this.maxRetries;J=this.calculateDefaultRetryTimeoutMillis(Z,Q)}return await O7(J),this.makeRequest(X,Z-1,$)}calculateDefaultRetryTimeoutMillis(X,Z){let J=Z-X,K=Math.min(0.5*Math.pow(2,J),8),W=1-Math.random()*0.25;return K*W*1000}calculateNonstreamingTimeout(X,Z){if(3600000*X/128000>600000||Z!=null&&X>Z)throw new N("Streaming is required for operations that may take longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#long-requests for more details");return 600000}async buildRequest(X,{retryCount:Z=0}={}){let $={...X},{method:Y,path:J,query:K,defaultBaseURL:W}=$,Q=this.buildURL(J,K,W);if("timeout"in $)x7("timeout",$.timeout);$.timeout=$.timeout??this.timeout;let{bodyHeaders:z,body:x}=this.buildBody({options:$}),H=await this.buildHeaders({options:X,method:Y,bodyHeaders:z,retryCount:Z});return{req:{method:Y,headers:H,...$.signal&&{signal:$.signal},...globalThis.ReadableStream&&x instanceof globalThis.ReadableStream&&{duplex:"half"},...x&&{body:x},...this.fetchOptions??{},...$.fetchOptions??{}},url:Q,timeout:$.timeout}}async buildHeaders({options:X,method:Z,bodyHeaders:$,retryCount:Y}){let J={};if(this.idempotencyHeader&&Z!=="get"){if(!X.idempotencyKey)X.idempotencyKey=this.defaultIdempotencyKey();J[this.idempotencyHeader]=X.idempotencyKey}let K=q([J,{Accept:"application/json","User-Agent":this.getUserAgent(),"X-Stainless-Retry-Count":String(Y),...X.timeout?{"X-Stainless-Timeout":String(Math.trunc(X.timeout/1000))}:{},...T7(),...this._options.dangerouslyAllowBrowser?{"anthropic-dangerous-direct-browser-access":"true"}:void 0,"anthropic-version":"2023-06-01"},await this.authHeaders(X),this._options.defaultHeaders,$,X.headers]);return this.validateHeaders(K),K.values}_makeAbort(X){return()=>X.abort()}buildBody({options:{body:X,headers:Z}}){if(!X)return{bodyHeaders:void 0,body:void 0};let $=q([Z]);if(ArrayBuffer.isView(X)||X instanceof ArrayBuffer||X instanceof DataView||typeof X==="string"&&$.values.has("content-type")||globalThis.Blob&&X instanceof globalThis.Blob||X instanceof FormData||X instanceof URLSearchParams||globalThis.ReadableStream&&X instanceof globalThis.ReadableStream)return{bodyHeaders:void 0,body:X};else if(typeof X==="object"&&((Symbol.asyncIterator in X)||(Symbol.iterator in X)&&("next"in X)&&typeof X.next==="function"))return{bodyHeaders:void 0,body:TZ(X)};else if(typeof X==="object"&&$.values.get("content-type")==="application/x-www-form-urlencoded")return{bodyHeaders:{"content-type":"application/x-www-form-urlencoded"},body:this.stringifyQuery(X)};else return V(this,tZ,"f").call(this,{body:X,headers:$})}}var Z7,$7,tZ,C8,H8="\\n\\nHuman:",x8="\\n\\nAssistant:",qX;var Y7=w(()=>{n();q7();VX();M7();CX();V6();HX();S7();k7();W6();R();u();D6();U8();LZ();u6();X7();m6();e6();V6();f();q8();BZ();VX();$7=I,tZ=new WeakMap,Z7=new WeakSet,C8=function(){return this.baseURL!=="https://api.anthropic.com"};I.Anthropic=$7;I.HUMAN_PROMPT=H8;I.AI_PROMPT=x8;I.DEFAULT_TIMEOUT=600000;I.AnthropicError=N;I.APIError=F;I.APIConnectionError=WX;I.APIConnectionTimeoutError=PX;I.APIUserAbortError=S;I.NotFoundError=bX;I.ConflictError=hX;I.RateLimitError=gX;I.BadRequestError=yX;I.AuthenticationError=_X;I.InternalServerError=cX;I.PermissionDeniedError=fX;I.UnprocessableEntityError=vX;I.toFile=PZ;qX=class qX extends I{constructor(){super(...arguments);this.completions=new FX(this),this.messages=new UX(this),this.models=new SX(this),this.beta=new p(this)}};qX.Completions=FX;qX.Messages=UX;qX.Models=SX;qX.Beta=p});var O8=w(()=>{Y7();D6();LZ();Y7();u();R()});function m4(X){return X instanceof M8||X instanceof S||X instanceof Error&&X.name==="AbortError"}function u4(X,Z){return X instanceof Error&&X.message===Z}function p4(X){return X instanceof Error?X:Error(String(X))}function f$(X){return X instanceof Error?X.message:String(X)}function LX(X){if(X&&typeof X==="object"&&"code"in X&&typeof X.code==="string")return X.code;return}function l4(X){return LX(X)==="ENOENT"}function i4(X){if(X&&typeof X==="object"&&"path"in X&&typeof X.path==="string")return X.path;return}function n4(X){let Z=LX(X);return Z==="ENOENT"||Z==="EACCES"||Z==="EPERM"||Z==="ENOTDIR"||Z==="ELOOP"}function o4(X){let Z=f$(X);if(!X||typeof X!=="object"||!("isAxiosError"in X)||!X.isAxiosError)return{kind:"other",message:Z};let $=X,Y=$.response?.status;if(Y===401||Y===403)return{kind:"auth",status:Y,message:Z};if($.code==="ECONNABORTED")return{kind:"timeout",status:Y,message:Z};if($.code==="ECONNREFUSED"||$.code==="ENOTFOUND")return{kind:"network",status:Y,message:Z};return{kind:"http",status:Y,message:Z}}var L$,k$,M8,R$,P$,y$,_$;var A8=w(()=>{O8();L$=class L$ extends Error{constructor(X,Z){super(X,Z);this.name=this.constructor.name}};k$=class k$ extends Error{};M8=class M8 extends Error{constructor(X){super(X);this.name="AbortError"}};R$=class R$ extends Error{filePath;defaultConfig;constructor(X,Z,$){super(X);this.name="ConfigParseError",this.filePath=Z,this.defaultConfig=$}};P$=class P$ extends Error{stdout;stderr;code;interrupted;constructor(X,Z,$,Y){super("Shell command failed");this.stdout=X;this.stderr=Z;this.code=$;this.interrupted=Y;this.name="ShellError"}};y$=class y$ extends Error{formattedMessage;constructor(X,Z){super(X);this.formattedMessage=Z;this.name="TeleportOperationError"}};_$=class _$ extends Error{telemetryMessage;constructor(X,Z){super(X);this.name="TelemetrySafeError",this.telemetryMessage=Z??X}}});function D8({writeFn:X,flushIntervalMs:Z=1000,maxBufferSize:$=100,maxBufferBytes:Y=1/0,immediateMode:J=!1}){let K=[],W=0,Q=null,z=null;function x(){if(Q)clearTimeout(Q),Q=null}function H(){if(z)X(z.join("")),z=null;if(K.length===0)return;X(K.join("")),K=[],W=0,x()}function M(){if(!Q)Q=setTimeout(H,Z)}function U(){if(z){z.push(...K),K=[],W=0,x();return}let O=K;K=[],W=0,x(),z=O,setImmediate(()=>{let d=z;if(z=null,d)X(d.join(""))})}return{write(O){if(J){X(O);return}if(K.push(O),W+=O.length,M(),K.length>=$||W>=Y)U()},flush:H,dispose(){H()}}}var E8=()=>{};function b$(X){let Z=[],$=X.match(/^MCP server ["']([^"']+)["']/);if($&&$[1])Z.push("mcp"),Z.push($[1].toLowerCase());else{let K=X.match(/^([^:[]+):/);if(K&&K[1])Z.push(K[1].trim().toLowerCase())}let Y=X.match(/^\[([^\]]+)]/);if(Y&&Y[1])Z.push(Y[1].trim().toLowerCase());if(X.toLowerCase().includes("1p event:"))Z.push("1p");let J=X.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(J&&J[1]){let K=J[1].trim().toLowerCase();if(K.length<30&&!K.includes(" "))Z.push(K)}return Array.from(new Set(Z))}function h$(X,Z){if(!Z)return!0;if(X.length===0)return!1;if(Z.isExclusive)return!X.some(($)=>Z.exclude.includes($));else return X.some(($)=>Z.include.includes($))}function I8(X,Z){if(!Z)return!0;let $=b$(X);return h$($,Z)}var T8;var F8=w(()=>{j8();T8=s((X)=>{if(!X||X.trim()==="")return null;let Z=X.split(",").map((K)=>K.trim()).filter(Boolean);if(Z.length===0)return null;let $=Z.some((K)=>K.startsWith("!")),Y=Z.some((K)=>!K.startsWith("!"));if($&&Y)return null;let J=Z.map((K)=>K.replace(/^!/,"").toLowerCase());return{include:$?[]:J,exclude:$?J:[],isExclusive:$}})});import*as C from"fs";import{mkdir as v$,open as sZ,readdir as g$,readFile as B8,rename as c$,rmdir as d$,rm as m$,stat as u$,unlink as p$}from"fs/promises";import{homedir as S8}from"os";import*as k from"path";function L8(X,Z){if(Z.startsWith("//")||Z.startsWith("\\\\"))return{resolvedPath:Z,isSymlink:!1,isCanonical:!1};try{let $=X.lstatSync(Z);if($.isFIFO()||$.isSocket()||$.isCharacterDevice()||$.isBlockDevice())return{resolvedPath:Z,isSymlink:!1,isCanonical:!1};let Y=X.realpathSync(Z);return{resolvedPath:Y,isSymlink:Y!==Z,isCanonical:!0}}catch($){return{resolvedPath:Z,isSymlink:!1,isCanonical:!1}}}function Y5(X,Z,$){let{resolvedPath:Y}=L8(X,Z);if($.has(Y))return!0;return $.add(Y),!1}function l$(X,Z){let $=Z,Y=[];while($!==k.dirname($)){let J;try{J=X.lstatSync($)}catch{Y.unshift(k.basename($)),$=k.dirname($);continue}if(J.isSymbolicLink())try{let K=X.realpathSync($);return Y.length===0?K:k.join(K,...Y)}catch{let K=X.readlinkSync($),W=k.isAbsolute(K)?K:k.resolve(k.dirname($),K);return Y.length===0?W:k.join(W,...Y)}try{let K=X.realpathSync($);if(K!==$)return Y.length===0?K:k.join(K,...Y)}catch{}return}return}function J5(X){let Z=X;if(Z==="~")Z=S8().normalize("NFC");else if(Z.startsWith("~/"))Z=k.join(S8().normalize("NFC"),Z.slice(2));let $=new Set,Y=eZ();if($.add(Z),Z.startsWith("//")||Z.startsWith("\\\\"))return Array.from($);try{let W=Z,Q=new Set,z=40;for(let x=0;x<z;x++){if(Q.has(W))break;if(Q.add(W),!Y.existsSync(W)){if(W===Z){let O=l$(Y,Z);if(O!==void 0)$.add(O)}break}let H=Y.lstatSync(W);if(H.isFIFO()||H.isSocket()||H.isCharacterDevice()||H.isBlockDevice())break;if(!H.isSymbolicLink())break;let M=Y.readlinkSync(W),U=k.isAbsolute(M)?M:k.resolve(k.dirname(W),M);$.add(U),W=U}}catch{}let{resolvedPath:J,isSymlink:K}=L8(Y,Z);if(K&&J!==Z)$.add(J);return Array.from($)}function eZ(){return n$}async function K5(X,Z,$){let z=[];try{const Y=A(z,await sZ(X,"r"),1);let J=(await Y.stat()).size;if(J<=Z)return null;let K=Math.min(J-Z,$);let W=Buffer.allocUnsafe(K);let Q=0;while(Q<K){let{bytesRead:O}=await Y.read(W,Q,K-Q,Z+Q);if(O===0)break;Q+=O}return{content:W.toString("utf8",0,Q),bytesRead:Q,bytesTotal:J}}catch(x){var H=x,M=1}finally{var U=D(z,H,M);U&&await U}}async function W5(X,Z){let z=[];try{const $=A(z,await sZ(X,"r"),1);let Y=(await $.stat()).size;if(Y===0)return{content:"",bytesRead:0,bytesTotal:0};let J=Math.max(0,Y-Z);let K=Y-J;let W=Buffer.allocUnsafe(K);let Q=0;while(Q<K){let{bytesRead:O}=await $.read(W,Q,K-Q,J+Q);if(O===0)break;Q+=O}return{content:W.toString("utf8",0,Q),bytesRead:Q,bytesTotal:Y}}catch(x){var H=x,M=1}finally{var U=D(z,H,M);U&&await U}}async function*V5(X){let $=await sZ(X,"r");try{let J=(await $.stat()).size,K=Buffer.alloc(0),W=Buffer.alloc(4096);while(J>0){let Q=Math.min(4096,J);J-=Q,await $.read(W,0,Q,J);let z=Buffer.concat([W.subarray(0,Q),K]),x=z.indexOf(10);if(x===-1){K=z;continue}K=Buffer.from(z.subarray(0,x));let H=z.toString("utf8",x+1).split(`
|
|
41
|
+
`);for(let M=H.length-1;M>=0;M--){let U=H[M];if(U)yield U}}if(K.length>0)yield K.toString("utf8")}finally{await $.close()}}var i$,n$;var k8=w(()=>{A8();J7();i$={cwd(){return process.cwd()},existsSync(X){let $=[];try{const Z=A($,E`fs.existsSync(${X})`,0);return C.existsSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},async stat(X){return u$(X)},async readdir(X){return g$(X,{withFileTypes:!0})},async unlink(X){return p$(X)},async rmdir(X){return d$(X)},async rm(X,Z){return m$(X,Z)},async mkdir(X,Z){try{await v$(X,{recursive:!0,...Z})}catch($){if(LX($)!=="EEXIST")throw $}},async readFile(X,Z){return B8(X,{encoding:Z.encoding})},async rename(X,Z){return c$(X,Z)},statSync(X){let $=[];try{const Z=A($,E`fs.statSync(${X})`,0);return C.statSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},lstatSync(X){let $=[];try{const Z=A($,E`fs.lstatSync(${X})`,0);return C.lstatSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.readFileSync(${X})`,0);return C.readFileSync(X,{encoding:Z.encoding})}catch(J){var K=J,W=1}finally{D(Y,K,W)}},readFileBytesSync(X){let $=[];try{const Z=A($,E`fs.readFileBytesSync(${X})`,0);return C.readFileSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readSync(X,Z){let J=[];try{const $=A(J,E`fs.readSync(${X}, ${Z.length} bytes)`,0);let Y=void 0;try{Y=C.openSync(X,"r");let z=Buffer.alloc(Z.length),x=C.readSync(Y,z,0,Z.length,0);return{buffer:z,bytesRead:x}}finally{if(Y)C.closeSync(Y)}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},appendFileSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.appendFileSync(${X}, ${Z.length} chars)`,0);if($?.mode!==void 0)try{let z=C.openSync(X,"ax",$.mode);try{C.appendFileSync(z,Z)}finally{C.closeSync(z)}return}catch(z){if(LX(z)!=="EEXIST")throw z}C.appendFileSync(X,Z)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},copyFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.copyFileSync(${X} → ${Z})`,0);C.copyFileSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},unlinkSync(X){let $=[];try{const Z=A($,E`fs.unlinkSync(${X})`,0);C.unlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},renameSync(X,Z){let Y=[];try{const $=A(Y,E`fs.renameSync(${X} → ${Z})`,0);C.renameSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},linkSync(X,Z){let Y=[];try{const $=A(Y,E`fs.linkSync(${X} → ${Z})`,0);C.linkSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},symlinkSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.symlinkSync(${X} → ${Z})`,0);C.symlinkSync(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readlinkSync(X){let $=[];try{const Z=A($,E`fs.readlinkSync(${X})`,0);return C.readlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},realpathSync(X){let $=[];try{const Z=A($,E`fs.realpathSync(${X})`,0);return C.realpathSync(X).normalize("NFC")}catch(Y){var J=Y,K=1}finally{D($,J,K)}},mkdirSync(X,Z){let J=[];try{const $=A(J,E`fs.mkdirSync(${X})`,0);let Y={recursive:!0};if(Z?.mode!==void 0)Y.mode=Z.mode;try{C.mkdirSync(X,Y)}catch(z){if(LX(z)!=="EEXIST")throw z}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readdirSync(X){let $=[];try{const Z=A($,E`fs.readdirSync(${X})`,0);return C.readdirSync(X,{withFileTypes:!0})}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readdirStringSync(X){let $=[];try{const Z=A($,E`fs.readdirStringSync(${X})`,0);return C.readdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},isDirEmptySync(X){let Y=[];try{const Z=A(Y,E`fs.isDirEmptySync(${X})`,0);let $=this.readdirSync(X);return $.length===0}catch(J){var K=J,W=1}finally{D(Y,K,W)}},rmdirSync(X){let $=[];try{const Z=A($,E`fs.rmdirSync(${X})`,0);C.rmdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},rmSync(X,Z){let Y=[];try{const $=A(Y,E`fs.rmSync(${X})`,0);C.rmSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},createWriteStream(X){return C.createWriteStream(X)},async readFileBytes(X,Z){if(Z===void 0)return B8(X);let $=await sZ(X,"r");try{let{size:Y}=await $.stat(),J=Math.min(Y,Z),K=Buffer.allocUnsafe(J),W=0;while(W<J){let{bytesRead:Q}=await $.read(K,W,J-W,W);if(Q===0)break;W+=Q}return W<J?K.subarray(0,W):K}finally{await $.close()}}},n$=i$});import{appendFile as r$,mkdir as t$,symlink as s$,unlink as e$}from"fs/promises";import{dirname as b8,join as h8}from"path";function D5(){let X=AZ();return v8=!0,AZ.cache.clear?.(),X}function $1(X){if(!AZ())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Z=Z1();return I8(X,Z)}function E5(X){Q7=X}function j5(){return Q7}async function Y1(X,Z,$,Y){if(X)await t$(Z,{recursive:!0}).catch(()=>{});await r$($,Y),m8()}function J1(){}function K1(){if(!X6){let X=null;X6=D8({writeFn:(Z)=>{let $=d8(),Y=b8($),J=X!==Y;if(X=Y,AZ()){if(J)try{eZ().mkdirSync(Y)}catch{}eZ().appendFileSync($,Z),m8();return}K7=K7.then(Y1.bind(null,J,Y,$,Z)).catch(J1)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:AZ()}),w7(async()=>{X6?.dispose(),await K7})}return X6}function W1(X,{level:Z}={level:"debug"}){if(V7[Z]<V7[X1()])return;if(!$1(X))return;if(Q7&&X.includes(`
|
|
42
|
+
`))X=_8(X);let Y=`${new Date().toISOString()} [${Z.toUpperCase()}] ${X.trim()}
|
|
43
|
+
`;if(g8()){f8(Y);return}K1().write(Y)}function d8(){return c8()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??h8(y8(),"debug",`${R8()}.txt`)}function T5(X,Z){}var V7,X1,v8=!1,AZ,Z1,g8,c8,Q7=!1,X6=null,K7,m8;var u8=w(()=>{j8();P8();E8();U7();F8();o$();k8();a$();J7();V7={verbose:0,debug:1,info:2,warn:3,error:4},X1=s(()=>{let X=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(X&&Object.hasOwn(V7,X))return X;return"debug"}),AZ=s(()=>{return v8||W7(process.env.DEBUG)||W7(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||g8()||process.argv.some((X)=>X.startsWith("--debug="))||c8()!==null});Z1=s(()=>{let X=process.argv.find(($)=>$.startsWith("--debug="));if(!X)return null;let Z=X.substring(8);return T8(Z)}),g8=s(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-d2e")}),c8=s(()=>{for(let X=0;X<process.argv.length;X++){let Z=process.argv[X];if(Z.startsWith("--debug-file="))return Z.substring(13);if(Z==="--debug-file"&&X+1<process.argv.length)return process.argv[X+1]}return null});K7=Promise.resolve();m8=s(async()=>{try{let X=d8(),Z=b8(X),$=h8(Z,"latest");await e$($).catch(()=>{}),await s$(X,$)}catch{}})});import{closeSync as V1,writeFileSync as p8,fsyncSync as Q1,openSync as z1}from"fs";function N1(){return G1}function _8(X,Z,$){let J=[];try{const Y=A(J,E`JSON.stringify(${X})`,0);return JSON.stringify(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}}function P5(X,Z){let Y=[];try{const $=A(Y,E`structuredClone(${X})`,0);return structuredClone(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}}function y5(X,Z,$){let K=[];try{const Y=A(K,E`fs.writeFileSync(${X}, ${Z})`,0);let J=$!==null&&typeof $==="object"&&"flush"in $&&$.flush===!0;if(J){let x=typeof $==="object"&&"encoding"in $?$.encoding:void 0,H=typeof $==="object"&&"mode"in $?$.mode:void 0,M;try{M=z1(X,"w",H),p8(M,Z,{encoding:x??void 0}),Q1(M)}finally{if(M!==void 0)V1(M)}}else p8(X,Z,$)}catch(W){var Q=W,z=1}finally{D(K,Q,z)}}var k5,G1,E,R5=(X,Z)=>{let Y=[];try{const $=A(Y,E`JSON.parse(${X})`,0);return typeof Z>"u"?JSON.parse(X):JSON.parse(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}};var J7=w(()=>{P8();u8();k5=(()=>{let X=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(X!==void 0){let Z=Number(X);if(!Number.isNaN(Z)&&Z>=0)return Z}return 1/0})(),G1={[Symbol.dispose](){}};E=N1});
|
|
44
|
+
export{D8 as iga,E8 as jga,w7 as kga,U1 as lga,U7 as mga,F as nga,S as oga,WX as pga,PX as qga,_X as rga,bX as sga,MX as tga,qX as uga,O8 as vga,L$ as wga,k$ as xga,M8 as yga,m4 as zga,R$ as Aga,P$ as Bga,y$ as Cga,_$ as Dga,u4 as Ega,p4 as Fga,f$ as Gga,LX as Hga,l4 as Iga,i4 as Jga,n4 as Kga,o4 as Lga,A8 as Mga,E as Nga,_8 as Oga,R5 as Pga,P5 as Qga,y5 as Rga,J7 as Sga,L8 as Tga,Y5 as Uga,J5 as Vga,eZ as Wga,K5 as Xga,W5 as Yga,V5 as Zga,k8 as _ga,AZ as $ga,D5 as aha,g8 as bha,E5 as cha,j5 as dha,W1 as eha,d8 as fha,T5 as gha,u8 as hha};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{SU as t,eT as s,vV as f}from"./cli-0.1.12-bddm1g1s.mjs";import{rX as n,sX as c,tX as r}from"./cli-0.1.12-04jw23rj.mjs";import{Qna as m,Una as l}from"./cli-0.1.12-1hv04bp7.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
+
export{T as Pe,p as Qe};
|