agentworkshop 0.5.1 → 0.5.2
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/.output/.AgentWorkShop/prompts/host-tools.json +631 -0
- package/.output/.AgentWorkShop/prompts/lead-supervise.md +42 -0
- package/.output/.AgentWorkShop/prompts/mode-goal.md +26 -0
- package/.output/.AgentWorkShop/prompts/mode-loop.md +10 -0
- package/.output/.AgentWorkShop/prompts/mode-pipeline.md +16 -0
- package/.output/.AgentWorkShop/prompts/peer-lead-roster.md +3 -0
- package/.output/.AgentWorkShop/prompts/peer-message.md +14 -0
- package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +2 -0
- package/.output/.AgentWorkShop/prompts/peer-reply-required.md +8 -0
- package/.output/.AgentWorkShop/prompts/scenario-default.md +11 -0
- package/.output/.AgentWorkShop/prompts/system-manual.md +18 -0
- package/.output/.AgentWorkShop/prompts/team-roster.md +9 -0
- package/.output/.AgentWorkShop/prompts/worker-workflow.md +19 -0
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/2LwEn9gX.js +2 -0
- package/.output/public/_nuxt/36oeS8_R2.js +1 -0
- package/.output/public/_nuxt/7ZABjMRh2.js +1 -0
- package/.output/public/_nuxt/9X0fVBD7.js +57 -0
- package/.output/public/_nuxt/B-PgoIPN.js +1 -0
- package/.output/public/_nuxt/B0haAGoq.js +1 -0
- package/.output/public/_nuxt/B3__nfxM.js +1 -0
- package/.output/public/_nuxt/B4GHHF6d2.js +13 -0
- package/.output/public/_nuxt/B6M2WJWm2.js +1 -0
- package/.output/public/_nuxt/B7V9IfTL.js +1 -0
- package/.output/public/_nuxt/B9aPoQvt.js +17 -0
- package/.output/public/_nuxt/BBrRELH32.js +2 -0
- package/.output/public/_nuxt/BCipft_k2.js +1 -0
- package/.output/public/_nuxt/BDUjyaF4.js +42 -0
- package/.output/public/_nuxt/BE5QyG5J2.js +1 -0
- package/.output/public/_nuxt/BF9XPEuw.js +1 -0
- package/.output/public/_nuxt/BFYNhG9S.js +13 -0
- package/.output/public/_nuxt/BFjGV-RV2.js +4108 -0
- package/.output/public/_nuxt/BGkumHZ32.js +102 -0
- package/.output/public/_nuxt/BJvGPTpC.js +1 -0
- package/.output/public/_nuxt/BSCpFtzG.js +3 -0
- package/.output/public/_nuxt/BSSUlJnx2.js +1 -0
- package/.output/public/_nuxt/BUNGEK2z.js +18 -0
- package/.output/public/_nuxt/BUcmySDa2.js +209 -0
- package/.output/public/_nuxt/BUxYN2mw.js +1 -0
- package/.output/public/_nuxt/BbQornXa.js +1 -0
- package/.output/public/_nuxt/Bc_mM2cU.js +1 -0
- package/.output/public/_nuxt/BdKzfJiM.js +2 -0
- package/.output/public/_nuxt/BeIfu4N3.js +3 -0
- package/.output/public/_nuxt/BfGc7TJp.js +1 -0
- package/.output/public/_nuxt/Bi6AiCuP.js +1 -0
- package/.output/public/_nuxt/Bok1DRqh.js +19 -0
- package/.output/public/_nuxt/Bq_KKxCg.js +1 -0
- package/.output/public/_nuxt/BrIJiJSN.js +18 -0
- package/.output/public/_nuxt/Bsc69G4x.js +24 -0
- package/.output/public/_nuxt/Bxh5nf8j.js +1 -0
- package/.output/public/_nuxt/ByGNWgAr.js +23 -0
- package/.output/public/_nuxt/C9f8QMp12.js +1 -0
- package/.output/public/_nuxt/CE2ynNi9.js +1 -0
- package/.output/public/_nuxt/CNs_Ozdc2.js +1 -0
- package/.output/public/_nuxt/CWDzKGtj.js +1 -0
- package/.output/public/_nuxt/CWKEp1wx2.js +2 -0
- package/.output/public/_nuxt/CXLI50Sq.js +1 -0
- package/.output/public/_nuxt/C_gFA2H_2.js +1 -0
- package/.output/public/_nuxt/Ce1zyNYu.js +1 -0
- package/.output/public/_nuxt/CfIXY-ET.js +75 -0
- package/.output/public/_nuxt/ChEKFMxj.js +1 -0
- package/.output/public/_nuxt/ClptO7LA.js +1 -0
- package/.output/public/_nuxt/Cno6kYiO2.js +1 -0
- package/.output/public/_nuxt/CrFGZYVB2.js +7 -0
- package/.output/public/_nuxt/D-Ne4C9a.js +1 -0
- package/.output/public/_nuxt/D0C5Q0di.js +1 -0
- package/.output/public/_nuxt/D5KJ7_0V.js +1 -0
- package/.output/public/_nuxt/D8DDDzV62.js +1 -0
- package/.output/public/_nuxt/D95h62Jn.js +1 -0
- package/.output/public/_nuxt/DEHNjlTq2.js +1 -0
- package/.output/public/_nuxt/DEkQ0qQ02.js +1 -0
- package/.output/public/_nuxt/DIOBYJe3.js +1 -0
- package/.output/public/_nuxt/DNJSkm3Q.js +1 -0
- package/.output/public/_nuxt/DP6bdyIp.js +1 -0
- package/.output/public/_nuxt/DPDqAD1e.js +2 -0
- package/.output/public/_nuxt/DRlJ2-4p.js +1 -0
- package/.output/public/_nuxt/DRq09ZmT.js +1 -0
- package/.output/public/_nuxt/DSBfvCi5.js +19 -0
- package/.output/public/_nuxt/DVNYfGsj.js +1 -0
- package/.output/public/_nuxt/DVQAz9WI.js +3 -0
- package/.output/public/_nuxt/DXK1U43I.js +1 -0
- package/.output/public/_nuxt/DYWgGHNo.js +7 -0
- package/.output/public/_nuxt/DdPeifHR.js +3 -0
- package/.output/public/_nuxt/Dm5mD6XT.js +1 -0
- package/.output/public/_nuxt/HWXLx5Hz.js +9 -0
- package/.output/public/_nuxt/HclGiUj8.js +1 -0
- package/.output/public/_nuxt/NIM0Wglj2.js +1 -0
- package/.output/public/_nuxt/OmpTerminalPanel.Bc9GjNU5.css +1 -0
- package/.output/public/_nuxt/OwJ1LJkF.js +31 -0
- package/.output/public/_nuxt/PQLnLxYe.js +1 -0
- package/.output/public/_nuxt/RYFtK4qZ2.js +1 -0
- package/.output/public/_nuxt/R_WxTozV2.js +1 -0
- package/.output/public/_nuxt/TownView.CI2Wpzty.css +1 -0
- package/.output/public/_nuxt/W1E3-5ML.js +14 -0
- package/.output/public/_nuxt/Z8k0uMSI.js +5 -0
- package/.output/public/_nuxt/_id_.CbiF5PrV.css +1 -0
- package/.output/public/_nuxt/_id_.Ci4u30cR.css +1 -0
- package/.output/public/_nuxt/_wsId_.DET_GinP.css +1 -0
- package/.output/public/_nuxt/agents.BJwgTLFZ.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/eede1532-1366-486a-bdab-4d27fa03a1d8.json +1 -0
- package/.output/public/_nuxt/channel-templates.lkqEYlWY.css +1 -0
- package/.output/public/_nuxt/dObsRdSQ.js +1 -0
- package/.output/public/_nuxt/dRAyjbJ6.js +14 -0
- package/.output/public/_nuxt/daq.m1dxZaD-.css +1 -0
- package/.output/public/_nuxt/dcw.C46dGiF_.css +1 -0
- package/.output/public/_nuxt/default.iGJy9dP-.css +1 -0
- package/.output/public/_nuxt/dt2tKE95.js +4 -0
- package/.output/public/_nuxt/eHGLpQSg2.js +1 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BGIwiowF.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BZInx2ys.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.C0kVTdou.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.DDLP67lu.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.Bz1w3xqM.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.CYS3phfl.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.DG8lny6_.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.o8fRvAFQ.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-400-italic.BamGE6QP.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-400-italic.Dqr5KC66.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-400-normal.CVAbzS9p.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-400-normal.d4JlP2QH.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.BL1XYHtS.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.CHZOQEtG.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.BaZl8BIK.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.K8pwR3tn.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-400-italic.CDFyLPXJ.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-400-italic.DSEbMgZu.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-400-normal.BCNrxLz_.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-400-normal.maQnHeKB.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.DUSsnRSD.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.V7s3nWfX.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.B4EmgUmt.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.o4A__6QZ.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.DQ8HKnks.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.ORtyMVfw.woff +0 -0
- package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.CLvJdMEL.woff2 +0 -0
- package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.ifvNSiWx.woff +0 -0
- package/.output/public/_nuxt/entry.DjhxLu-f.css +1 -0
- package/.output/public/_nuxt/geist-cyrillic-ext-wght-normal.DjL33-gN.woff2 +0 -0
- package/.output/public/_nuxt/geist-cyrillic-wght-normal.BEAKL7Jp.woff2 +0 -0
- package/.output/public/_nuxt/geist-latin-ext-wght-normal.DC-KSUi6.woff2 +0 -0
- package/.output/public/_nuxt/geist-latin-wght-normal.BgDaEnEv.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-cyrillic-ext-wght-normal.X_5orZeX.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-cyrillic-wght-normal.DiZS0aHC.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-latin-ext-wght-normal.Bwz-egvJ.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-latin-wght-normal.XN7g48iV.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-symbols2-wght-normal.CO5SzqOn.woff2 +0 -0
- package/.output/public/_nuxt/geist-mono-vietnamese-wght-normal.DadHysG0.woff2 +0 -0
- package/.output/public/_nuxt/geist-vietnamese-wght-normal.6IgcOCM7.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.BSMlKf0J.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.CEL4l2ZJ.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Ael50iVv.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Bq9vWWag.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.CTOM6hUh.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.fLZuRloM.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.DMdlQ8Kv.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.xuaO2J-f.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BIfNGwUT.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BqneJy0T.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.9HEixskS.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.V-xxqcpd.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.CB9ihrfo.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.DSY6xOcd.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.BgSNZQsw.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.DWFSQ4vo.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.BmRBH3aV.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.D3D2R8hC.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CAhNIIs5.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CZ70TYgx.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.D38SheWl.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.DmB0ttJJ.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.BulugwFq.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.DDuiU_S-.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.C8zxqsMH.woff +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.DZ4AoWbu.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.D2EvbN8M.woff2 +0 -0
- package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.iLQfcSjf.woff +0 -0
- package/.output/public/_nuxt/kZl6yT-12.js +1 -0
- package/.output/public/_nuxt/lO5tpDZ5.js +1 -0
- package/.output/public/_nuxt/logs.DaIsHWZE.css +1 -0
- package/.output/public/_nuxt/monitor.41fCD6TB.css +1 -0
- package/.output/public/_nuxt/pRQri7vQ2.js +4 -0
- package/.output/public/_nuxt/pages.CytEOfUs.css +1 -0
- package/.output/public/_nuxt/plugins.FTm0PcEe.css +1 -0
- package/.output/public/_nuxt/rzGB_ojX.js +32 -0
- package/.output/public/_nuxt/settings.BANibAnV.css +1 -0
- package/.output/public/_nuxt/teams.B8JNbUZg.css +1 -0
- package/.output/public/_nuxt/tokens.CWOTXM-Z.css +1 -0
- package/.output/public/_nuxt/town.BLrD9-WH.css +1 -0
- package/.output/public/_nuxt/town.C_DsNW0J.css +1 -0
- package/.output/public/_nuxt/uBbDCfTz.js +1 -0
- package/.output/public/_nuxt/ubPfs9mQ.js +1 -0
- package/.output/public/_nuxt/users.D8lcLE62.css +1 -0
- package/.output/public/_nuxt/workshop.B98sHiJq.css +1 -0
- package/.output/public/assets/game/character/bot.png +0 -0
- package/.output/public/assets/game/character/device-3d.glb +0 -0
- package/.output/public/assets/game/character/hero-3d.glb +0 -0
- package/.output/public/assets/game/character/hero-anime-1.glb +0 -0
- package/.output/public/assets/game/character/hero-anime-2.glb +0 -0
- package/.output/public/assets/game/character/hero-anime-3.glb +0 -0
- package/.output/public/assets/game/character/hero-anime-4.glb +0 -0
- package/.output/public/assets/game/character/knight.png +0 -0
- package/.output/public/assets/game/character/mage.png +0 -0
- package/.output/public/assets/game/coin.png +0 -0
- package/.output/public/assets/game/devices/agv.glb +0 -0
- package/.output/public/assets/game/devices/caster.glb +0 -0
- package/.output/public/assets/game/devices/device-console.glb +0 -0
- package/.output/public/assets/game/devices/device-robot-arm.glb +0 -0
- package/.output/public/assets/game/devices/device-scanner.glb +0 -0
- package/.output/public/assets/game/devices/extruder.glb +0 -0
- package/.output/public/assets/game/devices/mdo.glb +0 -0
- package/.output/public/assets/game/devices/power-cabinet.glb +0 -0
- package/.output/public/assets/game/devices/pump.glb +0 -0
- package/.output/public/assets/game/devices/tdo.glb +0 -0
- package/.output/public/assets/game/devices/thickness-scanner.glb +0 -0
- package/.output/public/assets/game/devices/winder.glb +0 -0
- package/.output/public/assets/game/npc/boltnu-sheet.png +0 -0
- package/.output/public/assets/game/npc/fluttaflap-sheet.png +0 -0
- package/.output/public/assets/game/npc/rockitten-sheet.png +0 -0
- package/.output/public/assets/game/npc/tux-sheet.png +0 -0
- package/.output/public/assets/game/player/misa-back-walk.000.png +0 -0
- package/.output/public/assets/game/player/misa-back-walk.001.png +0 -0
- package/.output/public/assets/game/player/misa-back-walk.002.png +0 -0
- package/.output/public/assets/game/player/misa-back-walk.003.png +0 -0
- package/.output/public/assets/game/player/misa-back.png +0 -0
- package/.output/public/assets/game/player/misa-front-walk.000.png +0 -0
- package/.output/public/assets/game/player/misa-front-walk.001.png +0 -0
- package/.output/public/assets/game/player/misa-front-walk.002.png +0 -0
- package/.output/public/assets/game/player/misa-front-walk.003.png +0 -0
- package/.output/public/assets/game/player/misa-front.png +0 -0
- package/.output/public/assets/game/player/misa-left-walk.000.png +0 -0
- package/.output/public/assets/game/player/misa-left-walk.001.png +0 -0
- package/.output/public/assets/game/player/misa-left-walk.002.png +0 -0
- package/.output/public/assets/game/player/misa-left-walk.003.png +0 -0
- package/.output/public/assets/game/player/misa-left.png +0 -0
- package/.output/public/assets/game/player/misa-right-walk.000.png +0 -0
- package/.output/public/assets/game/player/misa-right-walk.001.png +0 -0
- package/.output/public/assets/game/player/misa-right-walk.002.png +0 -0
- package/.output/public/assets/game/player/misa-right-walk.003.png +0 -0
- package/.output/public/assets/game/player/misa-right.png +0 -0
- package/.output/public/assets/game/player-sheet.png +0 -0
- package/.output/public/assets/game/tuxemon-town.json +1 -0
- package/.output/public/assets/game/tuxmon-sample-32px-extruded.png +0 -0
- package/.output/public/assets/game/wuwa/scene-map.png +0 -0
- package/.output/public/assets/game/wuwa/world-far.png +0 -0
- package/.output/public/assets/game/wuwa/world-middle.png +0 -0
- package/.output/public/assets/game/wuwa/world-near.png +0 -0
- package/.output/public/assets/game/wuwa/wu-aura.png +0 -0
- package/.output/public/assets/game/wuwa/wu-lead.png +0 -0
- package/.output/public/assets/game/wuwa/wu-ring.png +0 -0
- package/.output/public/assets/game/wuwa/wu-slash.png +0 -0
- package/.output/public/assets/game/wuwa/wu-worker-0.png +0 -0
- package/.output/public/assets/game/wuwa/wu-worker-1.png +0 -0
- package/.output/public/assets/game/wuwa/wu-worker-2.png +0 -0
- package/.output/public/favicon.svg +14 -0
- package/.output/public/scene/background/cyber-town-background.svg +110 -0
- package/.output/server/chunks/_/LeftOutlined.mjs +23 -0
- package/.output/server/chunks/_/LeftOutlined.mjs.map +1 -0
- package/.output/server/chunks/_/SearchOutlined.mjs +5141 -0
- package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -0
- package/.output/server/chunks/_/character-asset.repo.mjs +86 -0
- package/.output/server/chunks/_/character-asset.repo.mjs.map +1 -0
- package/.output/server/chunks/_/error-500.mjs +20 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/host-bindings.mjs +53 -0
- package/.output/server/chunks/_/host-bindings.mjs.map +1 -0
- package/.output/server/chunks/_/nitro.mjs +26860 -0
- package/.output/server/chunks/_/nitro.mjs.map +1 -0
- package/.output/server/chunks/_/scene-layout.repo.mjs +72 -0
- package/.output/server/chunks/_/scene-layout.repo.mjs.map +1 -0
- package/.output/server/chunks/_/user.schema.mjs +36 -0
- package/.output/server/chunks/_/user.schema.mjs.map +1 -0
- package/.output/server/chunks/build/Col-D7fjGDF6.mjs +338 -0
- package/.output/server/chunks/build/Col-D7fjGDF6.mjs.map +1 -0
- package/.output/server/chunks/build/OmpTerminalPanel-CZnxR3M_.mjs +915 -0
- package/.output/server/chunks/build/OmpTerminalPanel-CZnxR3M_.mjs.map +1 -0
- package/.output/server/chunks/build/TownView-DYlUNRZe.mjs +2671 -0
- package/.output/server/chunks/build/TownView-DYlUNRZe.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-BOhG2yz8.mjs +659 -0
- package/.output/server/chunks/build/_id_-BOhG2yz8.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-CuyMYmhY.mjs +312 -0
- package/.output/server/chunks/build/_id_-CuyMYmhY.mjs.map +1 -0
- package/.output/server/chunks/build/_wsId_-B5f5BdW2.mjs +9324 -0
- package/.output/server/chunks/build/_wsId_-B5f5BdW2.mjs.map +1 -0
- package/.output/server/chunks/build/agents-BVaxN75W.mjs +934 -0
- package/.output/server/chunks/build/agents-BVaxN75W.mjs.map +1 -0
- package/.output/server/chunks/build/alert-gH-s7yIh.mjs +264 -0
- package/.output/server/chunks/build/alert-gH-s7yIh.mjs.map +1 -0
- package/.output/server/chunks/build/button-BhbX5ACI.mjs +1938 -0
- package/.output/server/chunks/build/button-BhbX5ACI.mjs.map +1 -0
- package/.output/server/chunks/build/card-l4BbX67w.mjs +955 -0
- package/.output/server/chunks/build/card-l4BbX67w.mjs.map +1 -0
- package/.output/server/chunks/build/channel-templates-D1K2IKrE.mjs +832 -0
- package/.output/server/chunks/build/channel-templates-D1K2IKrE.mjs.map +1 -0
- package/.output/server/chunks/build/checkbox-BF11p3dH.mjs +439 -0
- package/.output/server/chunks/build/checkbox-BF11p3dH.mjs.map +1 -0
- package/.output/server/chunks/build/client-only-CFTHwakk.mjs +43 -0
- package/.output/server/chunks/build/client-only-CFTHwakk.mjs.map +1 -0
- package/.output/server/chunks/build/connection-Dc0fn6yd.mjs +120 -0
- package/.output/server/chunks/build/connection-Dc0fn6yd.mjs.map +1 -0
- package/.output/server/chunks/build/daq-ObtN1TQ4.mjs +1066 -0
- package/.output/server/chunks/build/daq-ObtN1TQ4.mjs.map +1 -0
- package/.output/server/chunks/build/dcw-fINr-He1.mjs +243 -0
- package/.output/server/chunks/build/dcw-fINr-He1.mjs.map +1 -0
- package/.output/server/chunks/build/default-CVVO40Jj.mjs +1209 -0
- package/.output/server/chunks/build/default-CVVO40Jj.mjs.map +1 -0
- package/.output/server/chunks/build/drawer-CVValqoh.mjs +836 -0
- package/.output/server/chunks/build/drawer-CVValqoh.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-ByCsEWlQ.mjs +14 -0
- package/.output/server/chunks/build/dropdown-ByCsEWlQ.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-Dex8PXu6.mjs +558 -0
- package/.output/server/chunks/build/dropdown-Dex8PXu6.mjs.map +1 -0
- package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs +21 -0
- package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs.map +1 -0
- package/.output/server/chunks/build/input--KMeLYqZ.mjs +2617 -0
- package/.output/server/chunks/build/input--KMeLYqZ.mjs.map +1 -0
- package/.output/server/chunks/build/input-number-BBlRoAJ7.mjs +1521 -0
- package/.output/server/chunks/build/input-number-BBlRoAJ7.mjs.map +1 -0
- package/.output/server/chunks/build/interval-Bt11uRPw.mjs +9 -0
- package/.output/server/chunks/build/interval-Bt11uRPw.mjs.map +1 -0
- package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs +7 -0
- package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs.map +1 -0
- package/.output/server/chunks/build/logs-DqNgCJAn.mjs +188 -0
- package/.output/server/chunks/build/logs-DqNgCJAn.mjs.map +1 -0
- package/.output/server/chunks/build/menu-xN-SXb9Q.mjs +1950 -0
- package/.output/server/chunks/build/menu-xN-SXb9Q.mjs.map +1 -0
- package/.output/server/chunks/build/modal-DrCOcjrl.mjs +1272 -0
- package/.output/server/chunks/build/modal-DrCOcjrl.mjs.map +1 -0
- package/.output/server/chunks/build/monitor-CTZLwbdw.mjs +2329 -0
- package/.output/server/chunks/build/monitor-CTZLwbdw.mjs.map +1 -0
- package/.output/server/chunks/build/pages-DC52d7z7.mjs +470 -0
- package/.output/server/chunks/build/pages-DC52d7z7.mjs.map +1 -0
- package/.output/server/chunks/build/plugins-DVQty7qG.mjs +231 -0
- package/.output/server/chunks/build/plugins-DVQty7qG.mjs.map +1 -0
- package/.output/server/chunks/build/popconfirm-C5H1Qoh3.mjs +342 -0
- package/.output/server/chunks/build/popconfirm-C5H1Qoh3.mjs.map +1 -0
- package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs +78 -0
- package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs.map +1 -0
- package/.output/server/chunks/build/select-D7H2ysgT.mjs +3923 -0
- package/.output/server/chunks/build/select-D7H2ysgT.mjs.map +1 -0
- package/.output/server/chunks/build/settings-BeergncK.mjs +557 -0
- package/.output/server/chunks/build/settings-BeergncK.mjs.map +1 -0
- package/.output/server/chunks/build/space-DCwIlnkI.mjs +197 -0
- package/.output/server/chunks/build/space-DCwIlnkI.mjs.map +1 -0
- package/.output/server/chunks/build/spin-HVY81X_L.mjs +358 -0
- package/.output/server/chunks/build/spin-HVY81X_L.mjs.map +1 -0
- package/.output/server/chunks/build/switch-VC0m9ede.mjs +377 -0
- package/.output/server/chunks/build/switch-VC0m9ede.mjs.map +1 -0
- package/.output/server/chunks/build/table-BksLg3Q_.mjs +8883 -0
- package/.output/server/chunks/build/table-BksLg3Q_.mjs.map +1 -0
- package/.output/server/chunks/build/tabs-CzUfD3iX.mjs +1925 -0
- package/.output/server/chunks/build/tabs-CzUfD3iX.mjs.map +1 -0
- package/.output/server/chunks/build/tag-oQI3VtqM.mjs +1157 -0
- package/.output/server/chunks/build/tag-oQI3VtqM.mjs.map +1 -0
- package/.output/server/chunks/build/teams-CFeDlHDh.mjs +910 -0
- package/.output/server/chunks/build/teams-CFeDlHDh.mjs.map +1 -0
- package/.output/server/chunks/build/tokens-CBAUbOce.mjs +818 -0
- package/.output/server/chunks/build/tokens-CBAUbOce.mjs.map +1 -0
- package/.output/server/chunks/build/town-BUqRobze.mjs +48 -0
- package/.output/server/chunks/build/town-BUqRobze.mjs.map +1 -0
- package/.output/server/chunks/build/town-BxH-XXth.mjs +94 -0
- package/.output/server/chunks/build/town-BxH-XXth.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqStream-CwORhsD7.mjs +310 -0
- package/.output/server/chunks/build/useDaqStream-CwORhsD7.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwStream-BkWDGaWp.mjs +450 -0
- package/.output/server/chunks/build/useDcwStream-BkWDGaWp.mjs.map +1 -0
- package/.output/server/chunks/build/useDeviceTwins-NhtXqSkU.mjs +127 -0
- package/.output/server/chunks/build/useDeviceTwins-NhtXqSkU.mjs.map +1 -0
- package/.output/server/chunks/build/useOpsLog-CU64VDg5.mjs +124 -0
- package/.output/server/chunks/build/useOpsLog-CU64VDg5.mjs.map +1 -0
- package/.output/server/chunks/build/useSiteConfig-Cc-ABesl.mjs +27 -0
- package/.output/server/chunks/build/useSiteConfig-Cc-ABesl.mjs.map +1 -0
- package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs +25 -0
- package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopApi-5er8_EHZ.mjs +4786 -0
- package/.output/server/chunks/build/useWorkshopApi-5er8_EHZ.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopWs-Dwr_1Q8f.mjs +1068 -0
- package/.output/server/chunks/build/useWorkshopWs-Dwr_1Q8f.mjs.map +1 -0
- package/.output/server/chunks/build/user-CpVY4OAA.mjs +140 -0
- package/.output/server/chunks/build/user-CpVY4OAA.mjs.map +1 -0
- package/.output/server/chunks/build/users-BMs4s_6K.mjs +558 -0
- package/.output/server/chunks/build/users-BMs4s_6K.mjs.map +1 -0
- package/.output/server/chunks/build/workshop-CJAyZ5zS.mjs +917 -0
- package/.output/server/chunks/build/workshop-CJAyZ5zS.mjs.map +1 -0
- package/.output/server/chunks/build/workspaces-Dq-1zvu9.mjs +125 -0
- package/.output/server/chunks/build/workspaces-Dq-1zvu9.mjs.map +1 -0
- package/.output/server/chunks/routes/api/health.get.mjs +40 -0
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.get.mjs +27 -0
- package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.post.mjs +27 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +498 -0
- package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +1 -0
- package/.output/server/chunks/routes/api/metrics.mjs +66 -0
- package/.output/server/chunks/routes/api/metrics.mjs.map +1 -0
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +33 -0
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +1 -0
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +30 -0
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +22 -0
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/config.get.mjs +24 -0
- package/.output/server/chunks/routes/api/system/config.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/index.get.mjs +24 -0
- package/.output/server/chunks/routes/api/system/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/index.patch.mjs +30 -0
- package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +148 -0
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +41 -0
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/monitor.get.mjs +24 -0
- package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs +35 -0
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +24 -0
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +26 -0
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +26 -0
- package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +29 -0
- package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/index.get.mjs +23 -0
- package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/index.post.mjs +26 -0
- package/.output/server/chunks/routes/api/users/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/login.post.mjs +25 -0
- package/.output/server/chunks/routes/api/users/login.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/logout.post.mjs +23 -0
- package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/me.get.mjs +23 -0
- package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/register.post.mjs +25 -0
- package/.output/server/chunks/routes/api/users/register.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +25 -0
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +25 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +28 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs +22 -0
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +61 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +333 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +26 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +81 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +81 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +56 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs +55 -0
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/caller.mjs +107 -0
- package/.output/server/chunks/routes/api/workshop/caller.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +55 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +59 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +58 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +62 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +49 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +74 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +84 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +53 -0
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +26 -0
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +53 -0
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +26 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +45 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +44 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +43 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.patch.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +43 -0
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index.get.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +68 -0
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +26 -0
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +43 -0
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +25 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +44 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +24 -0
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +27 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +26 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +392 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/chunks/virtual/entry.mjs +18401 -0
- package/.output/server/chunks/virtual/entry.mjs.map +1 -0
- package/.output/server/chunks/virtual/precomputed.mjs +4 -0
- package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
- package/.output/server/index.mjs +5561 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +37 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/dist/index.cjs +42 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/package.json +32 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +299 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
- package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +36 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +26 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +30 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +202 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +193 -0
- package/.output/server/node_modules/@adonisjs/hash/build/index.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/package.json +150 -0
- package/.output/server/node_modules/@ant-design/colors/dist/index.js +255 -0
- package/.output/server/node_modules/@ant-design/colors/package.json +53 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/conversion.js +250 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/css-color-names.js +157 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/format-input.js +189 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/from-ratio.js +30 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/index.js +512 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/interfaces.js +2 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/public_api.js +28 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/random.js +282 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/readability.js +86 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/to-ms-filter.js +20 -0
- package/.output/server/node_modules/@ctrl/tinycolor/dist/util.js +92 -0
- package/.output/server/node_modules/@ctrl/tinycolor/package.json +80 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +64 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +16 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +32 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +246 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +1 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +41 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +429 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +917 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +13 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +949 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +228 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +51 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +57 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +1107 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +92 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +239 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +2065 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +87 -0
- package/.output/server/node_modules/@modelcontextprotocol/sdk/package.json +165 -0
- package/.output/server/node_modules/@phc/format/index.js +229 -0
- package/.output/server/node_modules/@phc/format/package.json +60 -0
- package/.output/server/node_modules/@poppinss/exception/build/index.js +44 -0
- package/.output/server/node_modules/@poppinss/exception/package.json +109 -0
- package/.output/server/node_modules/@poppinss/object-builder/build/index.js +49 -0
- package/.output/server/node_modules/@poppinss/object-builder/package.json +112 -0
- package/.output/server/node_modules/@poppinss/string/build/index.js +2 -0
- package/.output/server/node_modules/@poppinss/string/build/string-DVIVpZLG.js +737 -0
- package/.output/server/node_modules/@poppinss/string/package.json +131 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +17 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +12 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +39 -0
- package/.output/server/node_modules/@poppinss/utils/build/index.js +365 -0
- package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +39 -0
- package/.output/server/node_modules/@poppinss/utils/package.json +153 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +6781 -0
- package/.output/server/node_modules/@vue/devtools-kit/package.json +45 -0
- package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +378 -0
- package/.output/server/node_modules/@vue/devtools-shared/package.json +35 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/@xterm/addon-fit/lib/addon-fit.js +2 -0
- package/.output/server/node_modules/@xterm/addon-fit/package.json +26 -0
- package/.output/server/node_modules/@xterm/xterm/lib/xterm.js +2 -0
- package/.output/server/node_modules/@xterm/xterm/package.json +111 -0
- package/.output/server/node_modules/agent-base/dist/src/index.js +203 -0
- package/.output/server/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/.output/server/node_modules/agent-base/package.json +64 -0
- package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.output/server/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.output/server/node_modules/ajv/dist/compile/index.js +242 -0
- package/.output/server/node_modules/ajv/dist/compile/names.js +28 -0
- package/.output/server/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.output/server/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.output/server/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.output/server/node_modules/ajv/dist/compile/util.js +178 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.output/server/node_modules/ajv/dist/core.js +618 -0
- package/.output/server/node_modules/ajv/dist/refs/data.json +13 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.output/server/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.output/server/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.output/server/node_modules/ajv/package.json +126 -0
- package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
- package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
- package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.output/server/node_modules/ajv-formats/package.json +74 -0
- package/.output/server/node_modules/asynckit/index.js +6 -0
- package/.output/server/node_modules/asynckit/lib/abort.js +29 -0
- package/.output/server/node_modules/asynckit/lib/async.js +34 -0
- package/.output/server/node_modules/asynckit/lib/defer.js +26 -0
- package/.output/server/node_modules/asynckit/lib/iterate.js +75 -0
- package/.output/server/node_modules/asynckit/lib/state.js +37 -0
- package/.output/server/node_modules/asynckit/lib/terminator.js +29 -0
- package/.output/server/node_modules/asynckit/package.json +63 -0
- package/.output/server/node_modules/asynckit/parallel.js +43 -0
- package/.output/server/node_modules/asynckit/serial.js +17 -0
- package/.output/server/node_modules/asynckit/serialOrdered.js +75 -0
- package/.output/server/node_modules/axios/index.js +45 -0
- package/.output/server/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/.output/server/node_modules/axios/lib/adapters/fetch.js +643 -0
- package/.output/server/node_modules/axios/lib/adapters/http.js +1406 -0
- package/.output/server/node_modules/axios/lib/adapters/xhr.js +228 -0
- package/.output/server/node_modules/axios/lib/axios.js +89 -0
- package/.output/server/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/.output/server/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/.output/server/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/.output/server/node_modules/axios/lib/core/Axios.js +301 -0
- package/.output/server/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/.output/server/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/.output/server/node_modules/axios/lib/core/InterceptorManager.js +72 -0
- package/.output/server/node_modules/axios/lib/core/buildFullPath.js +88 -0
- package/.output/server/node_modules/axios/lib/core/dispatchRequest.js +89 -0
- package/.output/server/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/.output/server/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/.output/server/node_modules/axios/lib/core/settle.js +27 -0
- package/.output/server/node_modules/axios/lib/core/transformData.js +28 -0
- package/.output/server/node_modules/axios/lib/defaults/index.js +177 -0
- package/.output/server/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/.output/server/node_modules/axios/lib/env/data.js +1 -0
- package/.output/server/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/.output/server/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/.output/server/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
- package/.output/server/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
- package/.output/server/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/.output/server/node_modules/axios/lib/helpers/bind.js +14 -0
- package/.output/server/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/.output/server/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/.output/server/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/.output/server/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/.output/server/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/.output/server/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/.output/server/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/.output/server/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/.output/server/node_modules/axios/lib/helpers/fromDataURI.js +68 -0
- package/.output/server/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/.output/server/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/.output/server/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/.output/server/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/.output/server/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/.output/server/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/.output/server/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/.output/server/node_modules/axios/lib/helpers/resolveConfig.js +105 -0
- package/.output/server/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/.output/server/node_modules/axios/lib/helpers/shouldBypassProxy.js +329 -0
- package/.output/server/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/.output/server/node_modules/axios/lib/helpers/spread.js +28 -0
- package/.output/server/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/.output/server/node_modules/axios/lib/helpers/toFormData.js +286 -0
- package/.output/server/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/.output/server/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/.output/server/node_modules/axios/lib/helpers/validator.js +112 -0
- package/.output/server/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/.output/server/node_modules/axios/lib/platform/index.js +7 -0
- package/.output/server/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/.output/server/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/.output/server/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/.output/server/node_modules/axios/lib/platform/node/index.js +37 -0
- package/.output/server/node_modules/axios/lib/utils.js +1029 -0
- package/.output/server/node_modules/axios/package.json +203 -0
- package/.output/server/node_modules/birpc/dist/index.cjs +296 -0
- package/.output/server/node_modules/birpc/package.json +57 -0
- package/.output/server/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/.output/server/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/.output/server/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/.output/server/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/.output/server/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/.output/server/node_modules/case-anything/dist/core.js +242 -0
- package/.output/server/node_modules/case-anything/dist/index.js +1 -0
- package/.output/server/node_modules/case-anything/dist/utils.js +90 -0
- package/.output/server/node_modules/case-anything/package.json +61 -0
- package/.output/server/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.output/server/node_modules/combined-stream/package.json +25 -0
- package/.output/server/node_modules/content-type/index.js +225 -0
- package/.output/server/node_modules/content-type/package.json +42 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.output/server/node_modules/delayed-stream/package.json +27 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +193 -0
- package/.output/server/node_modules/devalue/src/parse.js +270 -0
- package/.output/server/node_modules/devalue/src/stringify.js +428 -0
- package/.output/server/node_modules/devalue/src/uneval.js +582 -0
- package/.output/server/node_modules/devalue/src/utils.js +185 -0
- package/.output/server/node_modules/dunder-proto/get.js +30 -0
- package/.output/server/node_modules/dunder-proto/package.json +76 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/es-define-property/index.js +14 -0
- package/.output/server/node_modules/es-define-property/package.json +81 -0
- package/.output/server/node_modules/es-errors/eval.js +4 -0
- package/.output/server/node_modules/es-errors/index.js +4 -0
- package/.output/server/node_modules/es-errors/package.json +80 -0
- package/.output/server/node_modules/es-errors/range.js +4 -0
- package/.output/server/node_modules/es-errors/ref.js +4 -0
- package/.output/server/node_modules/es-errors/syntax.js +4 -0
- package/.output/server/node_modules/es-errors/type.js +4 -0
- package/.output/server/node_modules/es-errors/uri.js +4 -0
- package/.output/server/node_modules/es-object-atoms/index.js +4 -0
- package/.output/server/node_modules/es-object-atoms/package.json +79 -0
- package/.output/server/node_modules/es-set-tostringtag/index.js +35 -0
- package/.output/server/node_modules/es-set-tostringtag/package.json +78 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/fast-deep-equal/index.js +46 -0
- package/.output/server/node_modules/fast-deep-equal/package.json +61 -0
- package/.output/server/node_modules/fast-uri/index.js +459 -0
- package/.output/server/node_modules/fast-uri/lib/schemes.js +267 -0
- package/.output/server/node_modules/fast-uri/lib/utils.js +443 -0
- package/.output/server/node_modules/fast-uri/package.json +68 -0
- package/.output/server/node_modules/flattie/dist/index.mjs +25 -0
- package/.output/server/node_modules/flattie/package.json +48 -0
- package/.output/server/node_modules/follow-redirects/debug.js +15 -0
- package/.output/server/node_modules/follow-redirects/index.js +709 -0
- package/.output/server/node_modules/follow-redirects/package.json +58 -0
- package/.output/server/node_modules/form-data/lib/form_data.js +506 -0
- package/.output/server/node_modules/form-data/lib/populate.js +10 -0
- package/.output/server/node_modules/form-data/package.json +82 -0
- package/.output/server/node_modules/function-bind/implementation.js +84 -0
- package/.output/server/node_modules/function-bind/index.js +5 -0
- package/.output/server/node_modules/function-bind/package.json +87 -0
- package/.output/server/node_modules/get-intrinsic/index.js +378 -0
- package/.output/server/node_modules/get-intrinsic/package.json +97 -0
- package/.output/server/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/.output/server/node_modules/get-proto/index.js +27 -0
- package/.output/server/node_modules/get-proto/package.json +81 -0
- package/.output/server/node_modules/gopd/gOPD.js +4 -0
- package/.output/server/node_modules/gopd/index.js +15 -0
- package/.output/server/node_modules/gopd/package.json +77 -0
- package/.output/server/node_modules/has-flag/index.js +8 -0
- package/.output/server/node_modules/has-flag/package.json +46 -0
- package/.output/server/node_modules/has-symbols/index.js +14 -0
- package/.output/server/node_modules/has-symbols/package.json +111 -0
- package/.output/server/node_modules/has-symbols/shams.js +45 -0
- package/.output/server/node_modules/has-tostringtag/package.json +108 -0
- package/.output/server/node_modules/has-tostringtag/shams.js +8 -0
- package/.output/server/node_modules/hasown/index.js +8 -0
- package/.output/server/node_modules/hasown/package.json +91 -0
- package/.output/server/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/.output/server/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/.output/server/node_modules/https-proxy-agent/package.json +56 -0
- package/.output/server/node_modules/jose/dist/webapi/index.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +9 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +11 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +72 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +51 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +166 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +19 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +78 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +170 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +21 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +9 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +74 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +44 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +101 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +51 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +64 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/.output/server/node_modules/jose/dist/webapi/key/export.js +44 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +48 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/.output/server/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +174 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +44 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/content_encryption.js +142 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +28 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/deflate.js +44 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/helpers.js +42 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +26 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +186 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +110 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +17 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_sign.js +74 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_verify.js +107 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +197 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key.js +132 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key_management.js +256 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/options.js +48 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/signing.js +26 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/type_checks.js +35 -0
- package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +39 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/.output/server/node_modules/jose/package.json +198 -0
- package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +3074 -0
- package/.output/server/node_modules/js-yaml/package.json +83 -0
- package/.output/server/node_modules/json-schema-traverse/index.js +93 -0
- package/.output/server/node_modules/json-schema-traverse/package.json +43 -0
- package/.output/server/node_modules/math-intrinsics/abs.js +4 -0
- package/.output/server/node_modules/math-intrinsics/floor.js +4 -0
- package/.output/server/node_modules/math-intrinsics/isNaN.js +6 -0
- package/.output/server/node_modules/math-intrinsics/max.js +4 -0
- package/.output/server/node_modules/math-intrinsics/min.js +4 -0
- package/.output/server/node_modules/math-intrinsics/package.json +86 -0
- package/.output/server/node_modules/math-intrinsics/pow.js +4 -0
- package/.output/server/node_modules/math-intrinsics/round.js +4 -0
- package/.output/server/node_modules/math-intrinsics/sign.js +11 -0
- package/.output/server/node_modules/mime-db/db.json +8519 -0
- package/.output/server/node_modules/mime-db/index.js +12 -0
- package/.output/server/node_modules/mime-db/package.json +60 -0
- package/.output/server/node_modules/mime-types/index.js +188 -0
- package/.output/server/node_modules/mime-types/package.json +44 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
- package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
- package/.output/server/node_modules/nostics/package.json +125 -0
- package/.output/server/node_modules/oauth4webapi/build/index.js +2506 -0
- package/.output/server/node_modules/oauth4webapi/package.json +105 -0
- package/.output/server/node_modules/openid-client/build/index.js +1357 -0
- package/.output/server/node_modules/openid-client/package.json +122 -0
- package/.output/server/node_modules/perfect-debounce/dist/index.cjs +59 -0
- package/.output/server/node_modules/perfect-debounce/package.json +44 -0
- package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +719 -0
- package/.output/server/node_modules/pinia/package.json +94 -0
- package/.output/server/node_modules/pluralize/package.json +40 -0
- package/.output/server/node_modules/pluralize/pluralize.js +503 -0
- package/.output/server/node_modules/proxy-from-env/index.js +103 -0
- package/.output/server/node_modules/proxy-from-env/package.json +46 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/package.json +4 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
- package/.output/server/node_modules/safe-stable-stringify/index.js +625 -0
- package/.output/server/node_modules/safe-stable-stringify/package.json +65 -0
- package/.output/server/node_modules/secure-json-parse/index.js +161 -0
- package/.output/server/node_modules/secure-json-parse/package.json +74 -0
- package/.output/server/node_modules/slugify/package.json +42 -0
- package/.output/server/node_modules/slugify/slugify.js +69 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/supports-color/index.js +135 -0
- package/.output/server/node_modules/supports-color/package.json +53 -0
- package/.output/server/node_modules/three/build/three.cjs +80028 -0
- package/.output/server/node_modules/three/build/three.core.js +60007 -0
- package/.output/server/node_modules/three/build/three.module.js +19610 -0
- package/.output/server/node_modules/three/examples/jsm/environments/RoomEnvironment.js +185 -0
- package/.output/server/node_modules/three/examples/jsm/loaders/GLTFLoader.js +4860 -0
- package/.output/server/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +1501 -0
- package/.output/server/node_modules/three/examples/jsm/utils/SkeletonUtils.js +496 -0
- package/.output/server/node_modules/three/package.json +123 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
- package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/minify.mjs +172 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.10KEJHqy.mjs +184 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BCcw-xUY.mjs +19 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BTzUdyNs.mjs +194 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BuspQZgK.mjs +231 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.JIneUUHd.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.q9F_9EzH.mjs +588 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.sGLr_XKf.mjs +201 -0
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
- package/.output/server/node_modules/unhead/package.json +179 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +153 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +118 -0
- package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
- package/.output/server/node_modules/zod/v3/errors.js +9 -0
- package/.output/server/node_modules/zod/v3/external.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
- package/.output/server/node_modules/zod/v3/index.js +4 -0
- package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
- package/.output/server/node_modules/zod/v3/types.js +3693 -0
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.js +27 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +41 -0
- package/.output/server/node_modules/zod/v4/classic/external.js +18 -0
- package/.output/server/node_modules/zod/v4/classic/index.js +4 -0
- package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/classic/parse.js +6 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/.output/server/node_modules/zod/v4/core/api.js +906 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +565 -0
- package/.output/server/node_modules/zod/v4/core/core.js +61 -0
- package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
- package/.output/server/node_modules/zod/v4/core/errors.js +195 -0
- package/.output/server/node_modules/zod/v4/core/function.js +75 -0
- package/.output/server/node_modules/zod/v4/core/index.js +15 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/parse.js +57 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +95 -0
- package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
- package/.output/server/node_modules/zod/v4/core/schemas.js +1717 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/.output/server/node_modules/zod/v4/core/util.js +493 -0
- package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
- package/.output/server/node_modules/zod/v4/index.js +3 -0
- package/.output/server/node_modules/zod/v4/locales/ar.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +164 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +135 -0
- package/.output/server/node_modules/zod/v4/locales/de.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/eo.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +39 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ja.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/kh.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +121 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ota.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/pl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +164 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/ta.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/ua.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/.output/server/node_modules/zod/v4/mini/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/mini/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/mini/external.js +13 -0
- package/.output/server/node_modules/zod/v4/mini/index.js +3 -0
- package/.output/server/node_modules/zod/v4/mini/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/mini/parse.js +1 -0
- package/.output/server/node_modules/zod/v4/mini/schemas.js +732 -0
- package/.output/server/node_modules/zod/v4-mini/index.js +1 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
- package/.output/server/node_modules/zod-to-json-schema/package.json +85 -0
- package/.output/server/package.json +93 -0
- package/package.json +2 -1
|
@@ -0,0 +1,1406 @@
|
|
|
1
|
+
import utils from '../utils.js';
|
|
2
|
+
import settle from '../core/settle.js';
|
|
3
|
+
import buildFullPath from '../core/buildFullPath.js';
|
|
4
|
+
import buildURL from '../helpers/buildURL.js';
|
|
5
|
+
import { getProxyForUrl } from 'proxy-from-env';
|
|
6
|
+
import HttpsProxyAgent from 'https-proxy-agent';
|
|
7
|
+
import http from 'http';
|
|
8
|
+
import https from 'https';
|
|
9
|
+
import http2 from 'http2';
|
|
10
|
+
import util from 'util';
|
|
11
|
+
import { resolve as resolvePath } from 'path';
|
|
12
|
+
import followRedirects from 'follow-redirects';
|
|
13
|
+
import zlib from 'zlib';
|
|
14
|
+
import { VERSION } from '../env/data.js';
|
|
15
|
+
import transitionalDefaults from '../defaults/transitional.js';
|
|
16
|
+
import AxiosError from '../core/AxiosError.js';
|
|
17
|
+
import CanceledError from '../cancel/CanceledError.js';
|
|
18
|
+
import platform from '../platform/index.js';
|
|
19
|
+
import fromDataURI from '../helpers/fromDataURI.js';
|
|
20
|
+
import stream from 'stream';
|
|
21
|
+
import AxiosHeaders from '../core/AxiosHeaders.js';
|
|
22
|
+
import setFormDataHeaders from '../core/setFormDataHeaders.js';
|
|
23
|
+
import AxiosTransformStream from '../helpers/AxiosTransformStream.js';
|
|
24
|
+
import { EventEmitter } from 'events';
|
|
25
|
+
import formDataToStream from '../helpers/formDataToStream.js';
|
|
26
|
+
import readBlob from '../helpers/readBlob.js';
|
|
27
|
+
import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js';
|
|
28
|
+
import Http2Sessions from '../helpers/Http2Sessions.js';
|
|
29
|
+
import callbackify from '../helpers/callbackify.js';
|
|
30
|
+
import shouldBypassProxy from '../helpers/shouldBypassProxy.js';
|
|
31
|
+
import { toByteStringHeaderObject } from '../helpers/sanitizeHeaderValue.js';
|
|
32
|
+
import {
|
|
33
|
+
progressEventReducer,
|
|
34
|
+
progressEventDecorator,
|
|
35
|
+
asyncDecorator,
|
|
36
|
+
} from '../helpers/progressEventReducer.js';
|
|
37
|
+
import { estimateDataURLBufferAllocation } from '../helpers/estimateDataURLDecodedBytes.js';
|
|
38
|
+
|
|
39
|
+
const zlibOptions = {
|
|
40
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
41
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const brotliOptions = {
|
|
45
|
+
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
46
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const zstdOptions = {
|
|
50
|
+
flush: zlib.constants.ZSTD_e_flush,
|
|
51
|
+
finishFlush: zlib.constants.ZSTD_e_flush,
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress);
|
|
55
|
+
const isZstdSupported = utils.isFunction(zlib.createZstdDecompress);
|
|
56
|
+
const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : '');
|
|
57
|
+
const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : '');
|
|
58
|
+
const scheduleProgress =
|
|
59
|
+
typeof process !== 'undefined' && process.nextTick ? process.nextTick.bind(process) : utils.asap;
|
|
60
|
+
|
|
61
|
+
const { http: httpFollow, https: httpsFollow } = followRedirects;
|
|
62
|
+
|
|
63
|
+
const isHttps = /https:?/;
|
|
64
|
+
|
|
65
|
+
// Symbols used to bind a single 'error' listener to a pooled socket and track
|
|
66
|
+
// the request currently owning that socket across keep-alive reuse (issue #10780).
|
|
67
|
+
const kAxiosSocketListener = Symbol('axios.http.socketListener');
|
|
68
|
+
const kAxiosCurrentReq = Symbol('axios.http.currentReq');
|
|
69
|
+
|
|
70
|
+
// Tags HttpsProxyAgent instances installed by setProxy() so the redirect path
|
|
71
|
+
// can strip them without clobbering a user-supplied agent that happens to be
|
|
72
|
+
// an HttpsProxyAgent.
|
|
73
|
+
const kAxiosInstalledTunnel = Symbol('axios.http.installedTunnel');
|
|
74
|
+
|
|
75
|
+
// Cache of CONNECT-tunneling agents keyed by proxy config so repeat requests
|
|
76
|
+
// through the same proxy reuse a single agent (and its socket pool). The
|
|
77
|
+
// keyspace is bounded by the set of distinct proxy configs the process uses,
|
|
78
|
+
// so unbounded growth is not a concern in practice.
|
|
79
|
+
const tunnelingAgentCache = new Map();
|
|
80
|
+
const tunnelingAgentCacheUser = new WeakMap();
|
|
81
|
+
// Minimum minor versions where Node's HTTP Agent supports native proxyEnv
|
|
82
|
+
// handling. Checking the selected agent below also covers startup modes such
|
|
83
|
+
// as NODE_OPTIONS=--use-env-proxy and --no-use-env-proxy precedence.
|
|
84
|
+
const NODE_NATIVE_ENV_PROXY_SUPPORT = {
|
|
85
|
+
22: 21,
|
|
86
|
+
24: 5,
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) {
|
|
90
|
+
if (!nodeVersion) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const [major, minor] = nodeVersion.split('.').map((part) => Number(part));
|
|
95
|
+
|
|
96
|
+
if (!Number.isInteger(major) || !Number.isInteger(minor)) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (major > 24) {
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return (
|
|
105
|
+
NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major]
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) {
|
|
110
|
+
if (!isNodeNativeEnvProxySupported(nodeVersion)) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const agentOptions = agent && agent.options;
|
|
115
|
+
|
|
116
|
+
return Boolean(
|
|
117
|
+
agentOptions &&
|
|
118
|
+
utils.hasOwnProp(agentOptions, 'proxyEnv') &&
|
|
119
|
+
agentOptions.proxyEnv != null
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) {
|
|
124
|
+
return isHttps.test(options.protocol)
|
|
125
|
+
? (configHttpsAgent || https.globalAgent)
|
|
126
|
+
: (configHttpAgent || http.globalAgent);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function getTunnelingAgent(agentOptions, userHttpsAgent) {
|
|
130
|
+
const key =
|
|
131
|
+
agentOptions.protocol +
|
|
132
|
+
'//' +
|
|
133
|
+
agentOptions.hostname +
|
|
134
|
+
':' +
|
|
135
|
+
(agentOptions.port || '') +
|
|
136
|
+
'#' +
|
|
137
|
+
(agentOptions.auth || '');
|
|
138
|
+
const cache = userHttpsAgent
|
|
139
|
+
? (tunnelingAgentCacheUser.get(userHttpsAgent) ||
|
|
140
|
+
tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent))
|
|
141
|
+
: tunnelingAgentCache;
|
|
142
|
+
let agent = cache.get(key);
|
|
143
|
+
if (agent) return agent;
|
|
144
|
+
// Forward the user's TLS options (custom CA, rejectUnauthorized, client cert,
|
|
145
|
+
// etc.) into the tunneling agent so they apply to the origin TLS upgrade
|
|
146
|
+
// performed after CONNECT. Our proxy fields take precedence on conflict.
|
|
147
|
+
const merged = userHttpsAgent && userHttpsAgent.options
|
|
148
|
+
? { ...userHttpsAgent.options, ...agentOptions }
|
|
149
|
+
: agentOptions;
|
|
150
|
+
agent = new HttpsProxyAgent(merged);
|
|
151
|
+
if (userHttpsAgent && userHttpsAgent.options) {
|
|
152
|
+
const originTLSOptions = { ...userHttpsAgent.options };
|
|
153
|
+
const callback = agent.callback;
|
|
154
|
+
agent.callback = function axiosTunnelingAgentCallback(req, opts) {
|
|
155
|
+
// HttpsProxyAgent v5 reads callback opts for the post-CONNECT origin TLS upgrade.
|
|
156
|
+
return callback.call(this, req, { ...originTLSOptions, ...opts });
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
agent[kAxiosInstalledTunnel] = true;
|
|
160
|
+
cache.set(key, agent);
|
|
161
|
+
return agent;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const supportedProtocols = platform.protocols.map((protocol) => {
|
|
165
|
+
return protocol + ':';
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
// Node's WHATWG URL parser returns `username` and `password` percent-encoded.
|
|
169
|
+
// Decode before composing the `auth` option so credentials such as
|
|
170
|
+
// `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the
|
|
171
|
+
// original value for malformed input so a bad encoding never throws.
|
|
172
|
+
const decodeURIComponentSafe = (value) => {
|
|
173
|
+
if (!utils.isString(value)) {
|
|
174
|
+
return value;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
try {
|
|
178
|
+
return decodeURIComponent(value);
|
|
179
|
+
} catch (error) {
|
|
180
|
+
return value;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
185
|
+
stream.on('end', flush).on('error', flush);
|
|
186
|
+
|
|
187
|
+
return throttled;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
const http2Sessions = new Http2Sessions();
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* If the proxy, auth, sensitive header, or config beforeRedirects functions are defined,
|
|
194
|
+
* call them with the options object.
|
|
195
|
+
*
|
|
196
|
+
* @param {Object<string, any>} options - The options object that was passed to the request.
|
|
197
|
+
*
|
|
198
|
+
* @returns {Object<string, any>}
|
|
199
|
+
*/
|
|
200
|
+
function dispatchBeforeRedirect(options, responseDetails, requestDetails) {
|
|
201
|
+
if (options.beforeRedirects.proxy) {
|
|
202
|
+
options.beforeRedirects.proxy(options);
|
|
203
|
+
}
|
|
204
|
+
if (options.beforeRedirects.auth) {
|
|
205
|
+
options.beforeRedirects.auth(options);
|
|
206
|
+
}
|
|
207
|
+
if (options.beforeRedirects.sensitiveHeaders) {
|
|
208
|
+
options.beforeRedirects.sensitiveHeaders(options, requestDetails);
|
|
209
|
+
}
|
|
210
|
+
if (options.beforeRedirects.config) {
|
|
211
|
+
options.beforeRedirects.config(options, responseDetails, requestDetails);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
function stripMatchingHeaders(headers, sensitiveSet) {
|
|
216
|
+
if (!headers) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
Object.keys(headers).forEach((header) => {
|
|
221
|
+
if (sensitiveSet.has(header.toLowerCase())) {
|
|
222
|
+
delete headers[header];
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
function isSameOriginRedirect(redirectOptions, requestDetails) {
|
|
228
|
+
if (!requestDetails) {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
try {
|
|
233
|
+
return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin;
|
|
234
|
+
} catch (e) {
|
|
235
|
+
// If origin comparison fails, treat the redirect as unsafe.
|
|
236
|
+
return false;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* If the proxy or config afterRedirects functions are defined, call them with the options
|
|
242
|
+
*
|
|
243
|
+
* @param {http.ClientRequestArgs} options
|
|
244
|
+
* @param {AxiosProxyConfig} configProxy configuration from Axios options object
|
|
245
|
+
* @param {string} location
|
|
246
|
+
*
|
|
247
|
+
* @returns {http.ClientRequestArgs}
|
|
248
|
+
*/
|
|
249
|
+
function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) {
|
|
250
|
+
let proxy = configProxy;
|
|
251
|
+
const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent);
|
|
252
|
+
if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) {
|
|
253
|
+
const proxyUrl = getProxyForUrl(location);
|
|
254
|
+
if (proxyUrl) {
|
|
255
|
+
if (!shouldBypassProxy(location)) {
|
|
256
|
+
proxy = new URL(proxyUrl);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
// On redirect re-invocation, strip any stale Proxy-Authorization header carried
|
|
261
|
+
// over from the prior request (e.g. new target no longer uses a proxy, or uses
|
|
262
|
+
// a different proxy). Skip on the initial request so user-supplied headers are
|
|
263
|
+
// preserved. Header names are case-insensitive, so remove every case variant.
|
|
264
|
+
if (isRedirect && options.headers) {
|
|
265
|
+
for (const name of Object.keys(options.headers)) {
|
|
266
|
+
if (name.toLowerCase() === 'proxy-authorization') {
|
|
267
|
+
delete options.headers[name];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
// Strip any tunneling agent we installed for the previous hop so a redirect
|
|
272
|
+
// that drops the proxy or crosses an HTTPS↔HTTP boundary doesn't reuse a
|
|
273
|
+
// stale one. Match on our Symbol marker so a user-supplied HttpsProxyAgent
|
|
274
|
+
// (which won't carry the marker) is left alone.
|
|
275
|
+
if (isRedirect && options.agent && options.agent[kAxiosInstalledTunnel]) {
|
|
276
|
+
options.agent = undefined;
|
|
277
|
+
}
|
|
278
|
+
if (proxy) {
|
|
279
|
+
// Read proxy fields without traversing the prototype chain. URL instances expose
|
|
280
|
+
// username/password/hostname/host/port/protocol via getters on URL.prototype (so
|
|
281
|
+
// direct reads are shielded), but plain object proxies — and the `auth` field
|
|
282
|
+
// (which URL does not expose) — must be guarded so a polluted Object.prototype
|
|
283
|
+
// (e.g. Object.prototype.auth = { username, password }) cannot inject
|
|
284
|
+
// attacker-controlled credentials into the Proxy-Authorization header or
|
|
285
|
+
// redirect proxying to an attacker-controlled host.
|
|
286
|
+
const isProxyURL = proxy instanceof URL;
|
|
287
|
+
const readProxyField = (key) =>
|
|
288
|
+
isProxyURL || utils.hasOwnProp(proxy, key) ? proxy[key] : undefined;
|
|
289
|
+
|
|
290
|
+
const proxyUsername = readProxyField('username');
|
|
291
|
+
const proxyPassword = readProxyField('password');
|
|
292
|
+
let proxyAuth = utils.hasOwnProp(proxy, 'auth') ? proxy.auth : undefined;
|
|
293
|
+
|
|
294
|
+
// Basic proxy authorization
|
|
295
|
+
if (proxyUsername) {
|
|
296
|
+
proxyAuth = (proxyUsername || '') + ':' + (proxyPassword || '');
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
if (proxyAuth) {
|
|
300
|
+
// Support proxy auth object form. Read sub-fields via own-prop checks so a
|
|
301
|
+
// plain object inheriting from polluted Object.prototype cannot leak creds.
|
|
302
|
+
const authIsObject = typeof proxyAuth === 'object';
|
|
303
|
+
const authUsername =
|
|
304
|
+
authIsObject && utils.hasOwnProp(proxyAuth, 'username') ? proxyAuth.username : undefined;
|
|
305
|
+
const authPassword =
|
|
306
|
+
authIsObject && utils.hasOwnProp(proxyAuth, 'password') ? proxyAuth.password : undefined;
|
|
307
|
+
const validProxyAuth = Boolean(authUsername || authPassword);
|
|
308
|
+
|
|
309
|
+
if (validProxyAuth) {
|
|
310
|
+
proxyAuth = (authUsername || '') + ':' + (authPassword || '');
|
|
311
|
+
} else if (authIsObject) {
|
|
312
|
+
throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy });
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
const targetIsHttps = isHttps.test(options.protocol);
|
|
317
|
+
|
|
318
|
+
if (targetIsHttps) {
|
|
319
|
+
// CONNECT-tunneling path for HTTPS targets. Preserves end-to-end TLS to
|
|
320
|
+
// the origin so the proxy cannot inspect the URL, headers, or body — the
|
|
321
|
+
// behavior already promised by THREATMODEL.md (T-R9). HttpsProxyAgent
|
|
322
|
+
// sends Proxy-Authorization on the CONNECT request only, never on the
|
|
323
|
+
// wrapped TLS request, which is why we don't stamp it onto
|
|
324
|
+
// options.headers here. If the user already supplied an HttpsProxyAgent,
|
|
325
|
+
// they own tunneling end-to-end and we leave them alone; otherwise we
|
|
326
|
+
// install our own tunneling agent and forward their TLS options (if any)
|
|
327
|
+
// so a custom httpsAgent for cert pinning / rejectUnauthorized still
|
|
328
|
+
// applies to the origin TLS upgrade.
|
|
329
|
+
if (!(configHttpsAgent instanceof HttpsProxyAgent)) {
|
|
330
|
+
const proxyHost = readProxyField('hostname') || readProxyField('host');
|
|
331
|
+
const proxyPort = readProxyField('port');
|
|
332
|
+
const rawProxyProtocol = readProxyField('protocol');
|
|
333
|
+
const normalizedProtocol = rawProxyProtocol
|
|
334
|
+
? rawProxyProtocol.includes(':')
|
|
335
|
+
? rawProxyProtocol
|
|
336
|
+
: `${rawProxyProtocol}:`
|
|
337
|
+
: 'http:';
|
|
338
|
+
// Bracket IPv6 literals for URL parsing; URL.hostname strips the
|
|
339
|
+
// brackets again on read so the agent receives the raw form.
|
|
340
|
+
const proxyHostForURL =
|
|
341
|
+
proxyHost && proxyHost.includes(':') && !proxyHost.startsWith('[')
|
|
342
|
+
? `[${proxyHost}]`
|
|
343
|
+
: proxyHost;
|
|
344
|
+
const proxyURL = new URL(
|
|
345
|
+
`${normalizedProtocol}//${proxyHostForURL}${proxyPort ? ':' + proxyPort : ''}`
|
|
346
|
+
);
|
|
347
|
+
const agentOptions = {
|
|
348
|
+
protocol: proxyURL.protocol,
|
|
349
|
+
hostname: proxyURL.hostname.replace(/^\[|\]$/g, ''),
|
|
350
|
+
port: proxyURL.port,
|
|
351
|
+
auth: proxyAuth && typeof proxyAuth === 'string' ? proxyAuth : undefined,
|
|
352
|
+
};
|
|
353
|
+
if (proxyURL.protocol === 'https:') {
|
|
354
|
+
agentOptions.ALPNProtocols = ['http/1.1'];
|
|
355
|
+
}
|
|
356
|
+
const tunnelingAgent = getTunnelingAgent(agentOptions, configHttpsAgent);
|
|
357
|
+
// Set both: `options.agent` is consumed by the native https.request path
|
|
358
|
+
// (maxRedirects === 0); `options.agents.https` is consumed by
|
|
359
|
+
// follow-redirects, which ignores `options.agent` when `options.agents`
|
|
360
|
+
// is present.
|
|
361
|
+
options.agent = tunnelingAgent;
|
|
362
|
+
if (options.agents) {
|
|
363
|
+
options.agents.https = tunnelingAgent;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
} else {
|
|
367
|
+
// Forward-proxy mode for plaintext HTTP targets. The request line carries
|
|
368
|
+
// the absolute URL and the proxy sees everything — acceptable for plain
|
|
369
|
+
// HTTP since the wire was already plaintext.
|
|
370
|
+
if (proxyAuth) {
|
|
371
|
+
const base64 = Buffer.from(proxyAuth, 'utf8').toString('base64');
|
|
372
|
+
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// Preserve a user-supplied Host header (case-insensitive) so callers can override
|
|
376
|
+
// the value forwarded to the proxy; otherwise default to the request URL's host.
|
|
377
|
+
let hasUserHostHeader = false;
|
|
378
|
+
for (const name of Object.keys(options.headers)) {
|
|
379
|
+
if (name.toLowerCase() === 'host') {
|
|
380
|
+
hasUserHostHeader = true;
|
|
381
|
+
break;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
if (!hasUserHostHeader) {
|
|
385
|
+
options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
|
|
386
|
+
}
|
|
387
|
+
const proxyHost = readProxyField('hostname') || readProxyField('host');
|
|
388
|
+
options.hostname = proxyHost;
|
|
389
|
+
// Replace 'host' since options is not a URL object
|
|
390
|
+
options.host = proxyHost;
|
|
391
|
+
options.port = readProxyField('port');
|
|
392
|
+
options.path = location;
|
|
393
|
+
const proxyProtocol = readProxyField('protocol');
|
|
394
|
+
if (proxyProtocol) {
|
|
395
|
+
options.protocol = proxyProtocol.includes(':') ? proxyProtocol : `${proxyProtocol}:`;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
|
|
401
|
+
// Configure proxy for redirected request, passing the original config proxy to apply
|
|
402
|
+
// the exact same logic as if the redirected request was performed by axios directly.
|
|
403
|
+
setProxy(
|
|
404
|
+
redirectOptions,
|
|
405
|
+
configProxy,
|
|
406
|
+
redirectOptions.href,
|
|
407
|
+
true,
|
|
408
|
+
configHttpsAgent,
|
|
409
|
+
configHttpAgent
|
|
410
|
+
);
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
const isHttpAdapterSupported =
|
|
415
|
+
typeof process !== 'undefined' && utils.kindOf(process) === 'process';
|
|
416
|
+
|
|
417
|
+
// temporary hotfix
|
|
418
|
+
|
|
419
|
+
const wrapAsync = (asyncExecutor) => {
|
|
420
|
+
return new Promise((resolve, reject) => {
|
|
421
|
+
let onDone;
|
|
422
|
+
let isDone;
|
|
423
|
+
|
|
424
|
+
const done = (value, isRejected) => {
|
|
425
|
+
if (isDone) return;
|
|
426
|
+
isDone = true;
|
|
427
|
+
onDone && onDone(value, isRejected);
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
const _resolve = (value) => {
|
|
431
|
+
done(value);
|
|
432
|
+
resolve(value);
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
const _reject = (reason) => {
|
|
436
|
+
done(reason, true);
|
|
437
|
+
reject(reason);
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
|
|
441
|
+
});
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
const resolveFamily = ({ address, family }) => {
|
|
445
|
+
if (!utils.isString(address)) {
|
|
446
|
+
throw TypeError('address must be a string');
|
|
447
|
+
}
|
|
448
|
+
return {
|
|
449
|
+
address,
|
|
450
|
+
family: family || (address.indexOf('.') < 0 ? 6 : 4),
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
const buildAddressEntry = (address, family) =>
|
|
455
|
+
resolveFamily(utils.isObject(address) ? address : { address, family });
|
|
456
|
+
|
|
457
|
+
const http2Transport = {
|
|
458
|
+
request(options, cb) {
|
|
459
|
+
const authority =
|
|
460
|
+
options.protocol +
|
|
461
|
+
'//' +
|
|
462
|
+
options.hostname +
|
|
463
|
+
':' +
|
|
464
|
+
(options.port || (options.protocol === 'https:' ? 443 : 80));
|
|
465
|
+
|
|
466
|
+
const { http2Options, headers } = options;
|
|
467
|
+
|
|
468
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
469
|
+
|
|
470
|
+
const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } =
|
|
471
|
+
http2.constants;
|
|
472
|
+
|
|
473
|
+
const http2Headers = {
|
|
474
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
475
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
476
|
+
[HTTP2_HEADER_PATH]: options.path,
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
utils.forEach(headers, (header, name) => {
|
|
480
|
+
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
const req = session.request(http2Headers);
|
|
484
|
+
|
|
485
|
+
req.once('response', (responseHeaders) => {
|
|
486
|
+
const response = req; //duplex
|
|
487
|
+
|
|
488
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
489
|
+
|
|
490
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
491
|
+
|
|
492
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
493
|
+
|
|
494
|
+
response.headers = responseHeaders;
|
|
495
|
+
|
|
496
|
+
response.statusCode = +status;
|
|
497
|
+
|
|
498
|
+
cb(response);
|
|
499
|
+
});
|
|
500
|
+
|
|
501
|
+
return req;
|
|
502
|
+
},
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
/*eslint consistent-return:0*/
|
|
506
|
+
export default isHttpAdapterSupported &&
|
|
507
|
+
function httpAdapter(config) {
|
|
508
|
+
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
|
509
|
+
// Read config pollution-safely: own properties and members inherited from
|
|
510
|
+
// a non-Object.prototype source (e.g. an Object.create(defaults) template)
|
|
511
|
+
// are honored, but values injected onto a polluted Object.prototype are
|
|
512
|
+
// ignored. All behavior-affecting reads in this adapter go through own()
|
|
513
|
+
// so the protection boundary stays consistent.
|
|
514
|
+
const own = (key) => utils.getSafeProp(config, key);
|
|
515
|
+
const transitional = own('transitional') || transitionalDefaults;
|
|
516
|
+
let data = own('data');
|
|
517
|
+
let lookup = own('lookup');
|
|
518
|
+
let family = own('family');
|
|
519
|
+
let httpVersion = own('httpVersion');
|
|
520
|
+
if (httpVersion === undefined) httpVersion = 1;
|
|
521
|
+
let http2Options = own('http2Options');
|
|
522
|
+
const httpAgent = own('httpAgent');
|
|
523
|
+
const httpsAgent = own('httpsAgent');
|
|
524
|
+
const configProxy = own('proxy');
|
|
525
|
+
const responseType = own('responseType');
|
|
526
|
+
const responseEncoding = own('responseEncoding');
|
|
527
|
+
const socketPath = own('socketPath');
|
|
528
|
+
const method = own('method').toUpperCase();
|
|
529
|
+
const maxRedirects = own('maxRedirects');
|
|
530
|
+
const maxBodyLength = own('maxBodyLength');
|
|
531
|
+
const maxContentLength = own('maxContentLength');
|
|
532
|
+
const decompress = own('decompress');
|
|
533
|
+
let isDone;
|
|
534
|
+
let rejected = false;
|
|
535
|
+
let req;
|
|
536
|
+
let connectPhaseTimer;
|
|
537
|
+
|
|
538
|
+
httpVersion = +httpVersion;
|
|
539
|
+
|
|
540
|
+
if (Number.isNaN(httpVersion)) {
|
|
541
|
+
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
545
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
const isHttp2 = httpVersion === 2;
|
|
549
|
+
|
|
550
|
+
if (lookup) {
|
|
551
|
+
const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value]));
|
|
552
|
+
// hotfix to support opt.all option which is required for node 20.x
|
|
553
|
+
lookup = (hostname, opt, cb) => {
|
|
554
|
+
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
555
|
+
if (err) {
|
|
556
|
+
return cb(err);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
const addresses = utils.isArray(arg0)
|
|
560
|
+
? arg0.map((addr) => buildAddressEntry(addr))
|
|
561
|
+
: [buildAddressEntry(arg0, arg1)];
|
|
562
|
+
|
|
563
|
+
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
564
|
+
});
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
const abortEmitter = new EventEmitter();
|
|
569
|
+
|
|
570
|
+
function abort(reason) {
|
|
571
|
+
try {
|
|
572
|
+
abortEmitter.emit(
|
|
573
|
+
'abort',
|
|
574
|
+
!reason || reason.type ? new CanceledError(null, config, req) : reason
|
|
575
|
+
);
|
|
576
|
+
} catch (err) {
|
|
577
|
+
// ignore emit errors
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
function clearConnectPhaseTimer() {
|
|
582
|
+
if (connectPhaseTimer) {
|
|
583
|
+
clearTimeout(connectPhaseTimer);
|
|
584
|
+
connectPhaseTimer = null;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
function createTimeoutError() {
|
|
589
|
+
const configTimeout = own('timeout');
|
|
590
|
+
let timeoutErrorMessage = configTimeout
|
|
591
|
+
? 'timeout of ' + configTimeout + 'ms exceeded'
|
|
592
|
+
: 'timeout exceeded';
|
|
593
|
+
const configTimeoutErrorMessage = own('timeoutErrorMessage');
|
|
594
|
+
if (configTimeoutErrorMessage) {
|
|
595
|
+
timeoutErrorMessage = configTimeoutErrorMessage;
|
|
596
|
+
}
|
|
597
|
+
return new AxiosError(
|
|
598
|
+
timeoutErrorMessage,
|
|
599
|
+
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
600
|
+
config,
|
|
601
|
+
req
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
abortEmitter.once('abort', reject);
|
|
606
|
+
|
|
607
|
+
const onFinished = () => {
|
|
608
|
+
clearConnectPhaseTimer();
|
|
609
|
+
|
|
610
|
+
if (config.cancelToken) {
|
|
611
|
+
config.cancelToken.unsubscribe(abort);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (config.signal) {
|
|
615
|
+
config.signal.removeEventListener('abort', abort);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
abortEmitter.removeAllListeners();
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
if (config.cancelToken || config.signal) {
|
|
622
|
+
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
623
|
+
if (config.signal) {
|
|
624
|
+
config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
onDone((response, isRejected) => {
|
|
629
|
+
isDone = true;
|
|
630
|
+
clearConnectPhaseTimer();
|
|
631
|
+
|
|
632
|
+
if (isRejected) {
|
|
633
|
+
rejected = true;
|
|
634
|
+
onFinished();
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const { data } = response;
|
|
639
|
+
|
|
640
|
+
if (data instanceof stream.Readable || data instanceof stream.Duplex) {
|
|
641
|
+
const offListeners = stream.finished(data, () => {
|
|
642
|
+
offListeners();
|
|
643
|
+
onFinished();
|
|
644
|
+
});
|
|
645
|
+
} else {
|
|
646
|
+
onFinished();
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
|
|
650
|
+
// Parse url
|
|
651
|
+
const fullPath = buildFullPath(own('baseURL'), own('url'), own('allowAbsoluteUrls'), config);
|
|
652
|
+
// Unix-socket requests (own socketPath) commonly pass a path-only url
|
|
653
|
+
// like '/foo'; supply a synthetic base so new URL() can still parse it.
|
|
654
|
+
// Use the own-property value (not config.socketPath) so a polluted
|
|
655
|
+
// prototype cannot influence URL base selection.
|
|
656
|
+
const urlBase = socketPath
|
|
657
|
+
? 'http://localhost'
|
|
658
|
+
: (platform.hasBrowserEnv ? platform.origin : undefined);
|
|
659
|
+
const parsed = new URL(fullPath, urlBase);
|
|
660
|
+
const protocol = parsed.protocol || supportedProtocols[0];
|
|
661
|
+
|
|
662
|
+
if (protocol === 'data:') {
|
|
663
|
+
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
664
|
+
if (maxContentLength > -1) {
|
|
665
|
+
// Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed.
|
|
666
|
+
const dataUrl = String(own('url') || fullPath || '');
|
|
667
|
+
const estimated = estimateDataURLBufferAllocation(dataUrl);
|
|
668
|
+
|
|
669
|
+
if (estimated > maxContentLength) {
|
|
670
|
+
return reject(
|
|
671
|
+
new AxiosError(
|
|
672
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
673
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
674
|
+
config
|
|
675
|
+
)
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
let convertedData;
|
|
681
|
+
|
|
682
|
+
if (method !== 'GET') {
|
|
683
|
+
return settle(resolve, reject, {
|
|
684
|
+
status: 405,
|
|
685
|
+
statusText: 'method not allowed',
|
|
686
|
+
headers: {},
|
|
687
|
+
config,
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
try {
|
|
692
|
+
convertedData = fromDataURI(own('url'), responseType === 'blob', {
|
|
693
|
+
Blob: config.env && config.env.Blob,
|
|
694
|
+
});
|
|
695
|
+
} catch (err) {
|
|
696
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
if (responseType === 'text') {
|
|
700
|
+
convertedData = convertedData.toString(responseEncoding);
|
|
701
|
+
|
|
702
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
703
|
+
convertedData = utils.stripBOM(convertedData);
|
|
704
|
+
}
|
|
705
|
+
} else if (responseType === 'stream') {
|
|
706
|
+
convertedData = stream.Readable.from(convertedData);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
return settle(resolve, reject, {
|
|
710
|
+
data: convertedData,
|
|
711
|
+
status: 200,
|
|
712
|
+
statusText: 'OK',
|
|
713
|
+
headers: new AxiosHeaders(),
|
|
714
|
+
config,
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
719
|
+
return reject(
|
|
720
|
+
new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)
|
|
721
|
+
);
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
725
|
+
|
|
726
|
+
// Set User-Agent (required by some servers)
|
|
727
|
+
// See https://github.com/axios/axios/issues/69
|
|
728
|
+
// User-Agent is specified; handle case where no UA header is desired
|
|
729
|
+
// Only set header if it hasn't been set in config
|
|
730
|
+
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
731
|
+
|
|
732
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
733
|
+
const maxRate = config.maxRate;
|
|
734
|
+
let maxUploadRate = undefined;
|
|
735
|
+
let maxDownloadRate = undefined;
|
|
736
|
+
|
|
737
|
+
// support for spec compliant FormData objects
|
|
738
|
+
if (utils.isSpecCompliantForm(data)) {
|
|
739
|
+
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
740
|
+
|
|
741
|
+
data = formDataToStream(
|
|
742
|
+
data,
|
|
743
|
+
(formHeaders) => {
|
|
744
|
+
headers.set(formHeaders);
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
tag: `axios-${VERSION}-boundary`,
|
|
748
|
+
boundary: (userBoundary && userBoundary[1]) || undefined,
|
|
749
|
+
}
|
|
750
|
+
);
|
|
751
|
+
// support for https://www.npmjs.com/package/form-data api
|
|
752
|
+
} else if (
|
|
753
|
+
utils.isFormData(data) &&
|
|
754
|
+
utils.isFunction(data.getHeaders) &&
|
|
755
|
+
data.getHeaders !== Object.prototype.getHeaders
|
|
756
|
+
) {
|
|
757
|
+
setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
|
|
758
|
+
|
|
759
|
+
if (!headers.hasContentLength()) {
|
|
760
|
+
try {
|
|
761
|
+
const knownLength = await util.promisify(data.getLength).call(data);
|
|
762
|
+
Number.isFinite(knownLength) &&
|
|
763
|
+
knownLength >= 0 &&
|
|
764
|
+
headers.setContentLength(knownLength);
|
|
765
|
+
/*eslint no-empty:0*/
|
|
766
|
+
} catch (e) {}
|
|
767
|
+
}
|
|
768
|
+
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
769
|
+
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
770
|
+
headers.setContentLength(data.size || 0);
|
|
771
|
+
data = stream.Readable.from(readBlob(data));
|
|
772
|
+
} else if (data && !utils.isStream(data)) {
|
|
773
|
+
if (Buffer.isBuffer(data)) {
|
|
774
|
+
// Nothing to do...
|
|
775
|
+
} else if (utils.isArrayBuffer(data)) {
|
|
776
|
+
data = Buffer.from(new Uint8Array(data));
|
|
777
|
+
} else if (utils.isString(data)) {
|
|
778
|
+
data = Buffer.from(data, 'utf-8');
|
|
779
|
+
} else {
|
|
780
|
+
return reject(
|
|
781
|
+
new AxiosError(
|
|
782
|
+
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
783
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
784
|
+
config
|
|
785
|
+
)
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
// Add Content-Length header if data exists
|
|
790
|
+
headers.setContentLength(data.length, false);
|
|
791
|
+
|
|
792
|
+
if (maxBodyLength > -1 && data.length > maxBodyLength) {
|
|
793
|
+
return reject(
|
|
794
|
+
new AxiosError(
|
|
795
|
+
'Request body larger than maxBodyLength limit',
|
|
796
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
797
|
+
config
|
|
798
|
+
)
|
|
799
|
+
);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
804
|
+
|
|
805
|
+
if (utils.isArray(maxRate)) {
|
|
806
|
+
maxUploadRate = maxRate[0];
|
|
807
|
+
maxDownloadRate = maxRate[1];
|
|
808
|
+
} else {
|
|
809
|
+
maxUploadRate = maxDownloadRate = maxRate;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
if (data && (onUploadProgress || maxUploadRate)) {
|
|
813
|
+
if (!utils.isStream(data)) {
|
|
814
|
+
data = stream.Readable.from(data, { objectMode: false });
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
data = stream.pipeline(
|
|
818
|
+
[
|
|
819
|
+
data,
|
|
820
|
+
new AxiosTransformStream({
|
|
821
|
+
maxRate: utils.toFiniteNumber(maxUploadRate),
|
|
822
|
+
}),
|
|
823
|
+
],
|
|
824
|
+
utils.noop
|
|
825
|
+
);
|
|
826
|
+
|
|
827
|
+
onUploadProgress &&
|
|
828
|
+
data.on(
|
|
829
|
+
'progress',
|
|
830
|
+
flushOnFinish(
|
|
831
|
+
data,
|
|
832
|
+
progressEventDecorator(
|
|
833
|
+
contentLength,
|
|
834
|
+
progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3)
|
|
835
|
+
)
|
|
836
|
+
)
|
|
837
|
+
);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// HTTP basic authentication
|
|
841
|
+
let auth = undefined;
|
|
842
|
+
const configAuth = own('auth');
|
|
843
|
+
if (configAuth) {
|
|
844
|
+
const username = utils.getSafeProp(configAuth, 'username') || '';
|
|
845
|
+
const password = utils.getSafeProp(configAuth, 'password') || '';
|
|
846
|
+
auth = username + ':' + password;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
if (!auth && (parsed.username || parsed.password)) {
|
|
850
|
+
const urlUsername = decodeURIComponentSafe(parsed.username);
|
|
851
|
+
const urlPassword = decodeURIComponentSafe(parsed.password);
|
|
852
|
+
auth = urlUsername + ':' + urlPassword;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
auth && headers.delete('authorization');
|
|
856
|
+
|
|
857
|
+
let path;
|
|
858
|
+
|
|
859
|
+
try {
|
|
860
|
+
path = buildURL(
|
|
861
|
+
parsed.pathname + parsed.search,
|
|
862
|
+
own('params'),
|
|
863
|
+
own('paramsSerializer')
|
|
864
|
+
).replace(/^\?/, '');
|
|
865
|
+
} catch (err) {
|
|
866
|
+
return reject(
|
|
867
|
+
AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config, null, null, {
|
|
868
|
+
url: own('url'),
|
|
869
|
+
exists: true
|
|
870
|
+
})
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
headers.set(
|
|
875
|
+
'Accept-Encoding',
|
|
876
|
+
utils.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') &&
|
|
877
|
+
transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING,
|
|
878
|
+
false
|
|
879
|
+
);
|
|
880
|
+
|
|
881
|
+
// Null-prototype to block prototype pollution gadgets on properties read
|
|
882
|
+
// directly by Node's http.request (e.g. insecureHTTPParser, lookup).
|
|
883
|
+
const options = Object.assign(Object.create(null), {
|
|
884
|
+
path,
|
|
885
|
+
method: method,
|
|
886
|
+
headers: toByteStringHeaderObject(headers),
|
|
887
|
+
agents: { http: httpAgent, https: httpsAgent },
|
|
888
|
+
auth,
|
|
889
|
+
protocol,
|
|
890
|
+
family,
|
|
891
|
+
beforeRedirect: dispatchBeforeRedirect,
|
|
892
|
+
beforeRedirects: Object.create(null),
|
|
893
|
+
http2Options,
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
// cacheable-lookup integration hotfix
|
|
897
|
+
!utils.isUndefined(lookup) && (options.lookup = lookup);
|
|
898
|
+
|
|
899
|
+
if (socketPath) {
|
|
900
|
+
if (typeof socketPath !== 'string') {
|
|
901
|
+
return reject(
|
|
902
|
+
new AxiosError('socketPath must be a string', AxiosError.ERR_BAD_OPTION_VALUE, config)
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
const allowedSocketPaths = own('allowedSocketPaths');
|
|
907
|
+
if (allowedSocketPaths != null) {
|
|
908
|
+
const allowed = Array.isArray(allowedSocketPaths)
|
|
909
|
+
? allowedSocketPaths
|
|
910
|
+
: [allowedSocketPaths];
|
|
911
|
+
|
|
912
|
+
const resolvedSocket = resolvePath(socketPath);
|
|
913
|
+
const isAllowed = allowed.some(
|
|
914
|
+
(entry) => typeof entry === 'string' && resolvePath(entry) === resolvedSocket
|
|
915
|
+
);
|
|
916
|
+
|
|
917
|
+
if (!isAllowed) {
|
|
918
|
+
return reject(
|
|
919
|
+
new AxiosError(
|
|
920
|
+
`socketPath "${socketPath}" is not permitted by allowedSocketPaths`,
|
|
921
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
922
|
+
config
|
|
923
|
+
)
|
|
924
|
+
);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
options.socketPath = socketPath;
|
|
929
|
+
} else {
|
|
930
|
+
options.hostname = parsed.hostname.startsWith('[')
|
|
931
|
+
? parsed.hostname.slice(1, -1)
|
|
932
|
+
: parsed.hostname;
|
|
933
|
+
options.port = parsed.port;
|
|
934
|
+
setProxy(
|
|
935
|
+
options,
|
|
936
|
+
configProxy,
|
|
937
|
+
protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path,
|
|
938
|
+
false,
|
|
939
|
+
httpsAgent,
|
|
940
|
+
httpAgent
|
|
941
|
+
);
|
|
942
|
+
}
|
|
943
|
+
let transport;
|
|
944
|
+
let isNativeTransport = false;
|
|
945
|
+
// True only for the follow-redirects transport, which applies
|
|
946
|
+
// options.maxBodyLength itself. Every other transport (http2, native
|
|
947
|
+
// http/https, a user-supplied custom transport) needs the explicit
|
|
948
|
+
// byte-counting pipeline below to enforce maxBodyLength on streamed uploads.
|
|
949
|
+
let transportEnforcesMaxBodyLength = false;
|
|
950
|
+
const isHttpsRequest = isHttps.test(options.protocol);
|
|
951
|
+
// Don't clobber a CONNECT-tunneling agent installed by setProxy() for an
|
|
952
|
+
// HTTPS target.
|
|
953
|
+
if (options.agent == null) {
|
|
954
|
+
options.agent = isHttpsRequest ? httpsAgent : httpAgent;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
if (isHttp2) {
|
|
958
|
+
transport = http2Transport;
|
|
959
|
+
} else {
|
|
960
|
+
const configTransport = own('transport');
|
|
961
|
+
if (configTransport) {
|
|
962
|
+
transport = configTransport;
|
|
963
|
+
} else if (maxRedirects === 0) {
|
|
964
|
+
transport = isHttpsRequest ? https : http;
|
|
965
|
+
isNativeTransport = true;
|
|
966
|
+
} else {
|
|
967
|
+
transportEnforcesMaxBodyLength = true;
|
|
968
|
+
options.sensitiveHeaders = [];
|
|
969
|
+
if (maxRedirects) {
|
|
970
|
+
options.maxRedirects = maxRedirects;
|
|
971
|
+
}
|
|
972
|
+
const configBeforeRedirect = own('beforeRedirect');
|
|
973
|
+
if (configBeforeRedirect) {
|
|
974
|
+
options.beforeRedirects.config = configBeforeRedirect;
|
|
975
|
+
}
|
|
976
|
+
if (auth) {
|
|
977
|
+
// Restore HTTP Basic credentials on same-origin redirects only.
|
|
978
|
+
// follow-redirects >= 1.15.8 strips Authorization on every redirect (see #6929);
|
|
979
|
+
// cross-origin stripping is the documented mitigation for T-R2 in THREATMODEL.md
|
|
980
|
+
// and is preserved by deliberately not restoring on origin change.
|
|
981
|
+
const requestOrigin = parsed.origin;
|
|
982
|
+
const authToRestore = auth;
|
|
983
|
+
options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) {
|
|
984
|
+
try {
|
|
985
|
+
if (new URL(redirectOptions.href).origin === requestOrigin) {
|
|
986
|
+
redirectOptions.auth = authToRestore;
|
|
987
|
+
}
|
|
988
|
+
} catch (e) {
|
|
989
|
+
// ignore malformed URL: leaving auth stripped is fail-safe
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
const sensitiveHeaders = own('sensitiveHeaders');
|
|
994
|
+
if (sensitiveHeaders != null) {
|
|
995
|
+
if (!utils.isArray(sensitiveHeaders)) {
|
|
996
|
+
return reject(
|
|
997
|
+
new AxiosError(
|
|
998
|
+
'sensitiveHeaders must be an array of strings',
|
|
999
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1000
|
+
config
|
|
1001
|
+
)
|
|
1002
|
+
);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
const sensitiveSet = new Set();
|
|
1006
|
+
for (const header of sensitiveHeaders) {
|
|
1007
|
+
if (!utils.isString(header)) {
|
|
1008
|
+
return reject(
|
|
1009
|
+
new AxiosError(
|
|
1010
|
+
'sensitiveHeaders must be an array of strings',
|
|
1011
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1012
|
+
config
|
|
1013
|
+
)
|
|
1014
|
+
);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
sensitiveSet.add(header.toLowerCase());
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
if (sensitiveSet.size) {
|
|
1021
|
+
options.sensitiveHeaders = Array.from(sensitiveSet);
|
|
1022
|
+
options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders(
|
|
1023
|
+
redirectOptions,
|
|
1024
|
+
requestDetails
|
|
1025
|
+
) {
|
|
1026
|
+
if (!isSameOriginRedirect(redirectOptions, requestDetails)) {
|
|
1027
|
+
stripMatchingHeaders(redirectOptions.headers, sensitiveSet);
|
|
1028
|
+
}
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
// Set an explicit maxBodyLength option for transports that inspect it.
|
|
1037
|
+
// When maxBodyLength is -1 (default/unlimited), use Infinity so
|
|
1038
|
+
// follow-redirects does not fall back to its own 10MB default.
|
|
1039
|
+
if (maxBodyLength > -1) {
|
|
1040
|
+
options.maxBodyLength = maxBodyLength;
|
|
1041
|
+
} else {
|
|
1042
|
+
options.maxBodyLength = Infinity;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
// Always set an explicit own value so a polluted
|
|
1046
|
+
// Object.prototype.insecureHTTPParser cannot enable the lenient parser
|
|
1047
|
+
// through Node's internal options copy
|
|
1048
|
+
options.insecureHTTPParser = Boolean(own('insecureHTTPParser'));
|
|
1049
|
+
|
|
1050
|
+
// Create the request
|
|
1051
|
+
req = transport.request(options, function handleResponse(res) {
|
|
1052
|
+
clearConnectPhaseTimer();
|
|
1053
|
+
|
|
1054
|
+
if (req.destroyed) return;
|
|
1055
|
+
|
|
1056
|
+
const streams = [res];
|
|
1057
|
+
|
|
1058
|
+
const responseLength = utils.toFiniteNumber(res.headers['content-length']);
|
|
1059
|
+
|
|
1060
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
1061
|
+
const transformStream = new AxiosTransformStream({
|
|
1062
|
+
maxRate: utils.toFiniteNumber(maxDownloadRate),
|
|
1063
|
+
});
|
|
1064
|
+
|
|
1065
|
+
onDownloadProgress &&
|
|
1066
|
+
transformStream.on(
|
|
1067
|
+
'progress',
|
|
1068
|
+
flushOnFinish(
|
|
1069
|
+
transformStream,
|
|
1070
|
+
progressEventDecorator(
|
|
1071
|
+
responseLength,
|
|
1072
|
+
progressEventReducer(asyncDecorator(onDownloadProgress, scheduleProgress), true, 3)
|
|
1073
|
+
)
|
|
1074
|
+
)
|
|
1075
|
+
);
|
|
1076
|
+
|
|
1077
|
+
streams.push(transformStream);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
// decompress the response body transparently if required
|
|
1081
|
+
let responseStream = res;
|
|
1082
|
+
|
|
1083
|
+
// return the last request in case of redirects
|
|
1084
|
+
const lastRequest = res.req || req;
|
|
1085
|
+
|
|
1086
|
+
// if decompress disabled we should not decompress
|
|
1087
|
+
if (decompress !== false && res.headers['content-encoding']) {
|
|
1088
|
+
// if no content, but headers still say that it is encoded,
|
|
1089
|
+
// remove the header not confuse downstream operations
|
|
1090
|
+
if (method === 'HEAD' || res.statusCode === 204) {
|
|
1091
|
+
delete res.headers['content-encoding'];
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
switch ((res.headers['content-encoding'] || '').toLowerCase()) {
|
|
1095
|
+
/*eslint default-case:0*/
|
|
1096
|
+
case 'gzip':
|
|
1097
|
+
case 'x-gzip':
|
|
1098
|
+
case 'compress':
|
|
1099
|
+
case 'x-compress':
|
|
1100
|
+
// add the unzipper to the body stream processing pipeline
|
|
1101
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
1102
|
+
|
|
1103
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
1104
|
+
delete res.headers['content-encoding'];
|
|
1105
|
+
break;
|
|
1106
|
+
case 'deflate':
|
|
1107
|
+
streams.push(new ZlibHeaderTransformStream());
|
|
1108
|
+
|
|
1109
|
+
// add the unzipper to the body stream processing pipeline
|
|
1110
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
1111
|
+
|
|
1112
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
1113
|
+
delete res.headers['content-encoding'];
|
|
1114
|
+
break;
|
|
1115
|
+
case 'br':
|
|
1116
|
+
if (isBrotliSupported) {
|
|
1117
|
+
streams.push(zlib.createBrotliDecompress(brotliOptions));
|
|
1118
|
+
delete res.headers['content-encoding'];
|
|
1119
|
+
}
|
|
1120
|
+
break;
|
|
1121
|
+
case 'zstd':
|
|
1122
|
+
if (isZstdSupported) {
|
|
1123
|
+
streams.push(zlib.createZstdDecompress(zstdOptions));
|
|
1124
|
+
delete res.headers['content-encoding'];
|
|
1125
|
+
}
|
|
1126
|
+
break;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];
|
|
1131
|
+
|
|
1132
|
+
const response = {
|
|
1133
|
+
status: res.statusCode,
|
|
1134
|
+
statusText: res.statusMessage,
|
|
1135
|
+
headers: new AxiosHeaders(res.headers),
|
|
1136
|
+
config,
|
|
1137
|
+
request: lastRequest,
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
if (responseType === 'stream') {
|
|
1141
|
+
// Enforce maxContentLength on streamed responses; previously this
|
|
1142
|
+
// was applied only to buffered responses.
|
|
1143
|
+
if (maxContentLength > -1) {
|
|
1144
|
+
const limit = maxContentLength;
|
|
1145
|
+
const source = responseStream;
|
|
1146
|
+
async function* enforceMaxContentLength() {
|
|
1147
|
+
let totalResponseBytes = 0;
|
|
1148
|
+
for await (const chunk of source) {
|
|
1149
|
+
totalResponseBytes += chunk.length;
|
|
1150
|
+
if (totalResponseBytes > limit) {
|
|
1151
|
+
throw new AxiosError(
|
|
1152
|
+
'maxContentLength size of ' + limit + ' exceeded',
|
|
1153
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1154
|
+
config,
|
|
1155
|
+
lastRequest
|
|
1156
|
+
);
|
|
1157
|
+
}
|
|
1158
|
+
yield chunk;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
responseStream = stream.Readable.from(enforceMaxContentLength(), {
|
|
1162
|
+
objectMode: false,
|
|
1163
|
+
});
|
|
1164
|
+
}
|
|
1165
|
+
response.data = responseStream;
|
|
1166
|
+
settle(resolve, reject, response);
|
|
1167
|
+
} else {
|
|
1168
|
+
const responseBuffer = [];
|
|
1169
|
+
let totalResponseBytes = 0;
|
|
1170
|
+
|
|
1171
|
+
responseStream.on('data', function handleStreamData(chunk) {
|
|
1172
|
+
responseBuffer.push(chunk);
|
|
1173
|
+
totalResponseBytes += chunk.length;
|
|
1174
|
+
|
|
1175
|
+
// make sure the content length is not over the maxContentLength if specified
|
|
1176
|
+
if (maxContentLength > -1 && totalResponseBytes > maxContentLength) {
|
|
1177
|
+
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
1178
|
+
rejected = true;
|
|
1179
|
+
responseStream.destroy();
|
|
1180
|
+
abort(
|
|
1181
|
+
new AxiosError(
|
|
1182
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
1183
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1184
|
+
config,
|
|
1185
|
+
lastRequest
|
|
1186
|
+
)
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
|
|
1191
|
+
responseStream.on('aborted', function handlerStreamAborted() {
|
|
1192
|
+
if (rejected) {
|
|
1193
|
+
return;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
const err = new AxiosError(
|
|
1197
|
+
'stream has been aborted',
|
|
1198
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
1199
|
+
config,
|
|
1200
|
+
lastRequest,
|
|
1201
|
+
response
|
|
1202
|
+
);
|
|
1203
|
+
responseStream.destroy(err);
|
|
1204
|
+
reject(err);
|
|
1205
|
+
});
|
|
1206
|
+
|
|
1207
|
+
responseStream.on('error', function handleStreamError(err) {
|
|
1208
|
+
if (rejected) return;
|
|
1209
|
+
reject(AxiosError.from(err, null, config, lastRequest, response));
|
|
1210
|
+
});
|
|
1211
|
+
|
|
1212
|
+
responseStream.on('end', function handleStreamEnd() {
|
|
1213
|
+
try {
|
|
1214
|
+
let responseData =
|
|
1215
|
+
responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
1216
|
+
if (responseType !== 'arraybuffer') {
|
|
1217
|
+
responseData = responseData.toString(responseEncoding);
|
|
1218
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
1219
|
+
responseData = utils.stripBOM(responseData);
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
response.data = responseData;
|
|
1223
|
+
} catch (err) {
|
|
1224
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
1225
|
+
}
|
|
1226
|
+
settle(resolve, reject, response);
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
abortEmitter.once('abort', (err) => {
|
|
1231
|
+
if (!responseStream.destroyed) {
|
|
1232
|
+
responseStream.emit('error', err);
|
|
1233
|
+
responseStream.destroy();
|
|
1234
|
+
}
|
|
1235
|
+
});
|
|
1236
|
+
});
|
|
1237
|
+
|
|
1238
|
+
abortEmitter.once('abort', (err) => {
|
|
1239
|
+
if (req.close) {
|
|
1240
|
+
req.close();
|
|
1241
|
+
} else {
|
|
1242
|
+
req.destroy(err);
|
|
1243
|
+
}
|
|
1244
|
+
});
|
|
1245
|
+
|
|
1246
|
+
// Handle errors
|
|
1247
|
+
req.on('error', function handleRequestError(err) {
|
|
1248
|
+
reject(AxiosError.from(err, null, config, req));
|
|
1249
|
+
});
|
|
1250
|
+
|
|
1251
|
+
// set tcp keep alive to prevent drop connection by peer
|
|
1252
|
+
// Track every socket bound to this outer RedirectableRequest so a single
|
|
1253
|
+
// 'close' listener can release ownership on all of them. follow-redirects
|
|
1254
|
+
// re-emits the 'socket' event for each hop's native request onto the same
|
|
1255
|
+
// outer request, so attaching per-request listeners inside this handler
|
|
1256
|
+
// would accumulate across hops and trigger MaxListenersExceededWarning at
|
|
1257
|
+
// >= 11 redirects. Clearing only the last-bound socket would leave stale
|
|
1258
|
+
// kAxiosCurrentReq refs on earlier hop sockets returned to the keep-alive
|
|
1259
|
+
// pool, causing an idle-pool 'error' to be attributed to a closed req.
|
|
1260
|
+
const boundSockets = new Set();
|
|
1261
|
+
|
|
1262
|
+
req.on('socket', function handleRequestSocket(socket) {
|
|
1263
|
+
// default interval of sending ack packet is 1 minute
|
|
1264
|
+
// proxy agents (e.g. agent-base) may return a generic Duplex stream
|
|
1265
|
+
// that doesn't have setKeepAlive, so guard before calling
|
|
1266
|
+
if (typeof socket.setKeepAlive === 'function') {
|
|
1267
|
+
socket.setKeepAlive(true, 1000 * 60);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
// Install a single 'error' listener per socket (not per request) to avoid
|
|
1271
|
+
// accumulating listeners on pooled keep-alive sockets that get reassigned
|
|
1272
|
+
// to new requests before the previous request's 'close' fires (issue #10780).
|
|
1273
|
+
// The listener is bound to the socket's currently-active request via a
|
|
1274
|
+
// symbol, which is swapped as the socket is reassigned.
|
|
1275
|
+
if (!socket[kAxiosSocketListener]) {
|
|
1276
|
+
socket.on('error', function handleSocketError(err) {
|
|
1277
|
+
const current = socket[kAxiosCurrentReq];
|
|
1278
|
+
if (current && !current.destroyed) {
|
|
1279
|
+
current.destroy(err);
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
socket[kAxiosSocketListener] = true;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
socket[kAxiosCurrentReq] = req;
|
|
1286
|
+
boundSockets.add(socket);
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1289
|
+
req.once('close', function clearCurrentReq() {
|
|
1290
|
+
clearConnectPhaseTimer();
|
|
1291
|
+
|
|
1292
|
+
for (const socket of boundSockets) {
|
|
1293
|
+
if (socket[kAxiosCurrentReq] === req) {
|
|
1294
|
+
socket[kAxiosCurrentReq] = null;
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
boundSockets.clear();
|
|
1298
|
+
});
|
|
1299
|
+
|
|
1300
|
+
// Handle request timeout
|
|
1301
|
+
if (own('timeout')) {
|
|
1302
|
+
// This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
|
|
1303
|
+
const timeout = parseInt(own('timeout'), 10);
|
|
1304
|
+
|
|
1305
|
+
if (Number.isNaN(timeout)) {
|
|
1306
|
+
abort(
|
|
1307
|
+
new AxiosError(
|
|
1308
|
+
'error trying to parse `config.timeout` to int',
|
|
1309
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
1310
|
+
config,
|
|
1311
|
+
req
|
|
1312
|
+
)
|
|
1313
|
+
);
|
|
1314
|
+
|
|
1315
|
+
return;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
const handleTimeout = function handleTimeout() {
|
|
1319
|
+
if (isDone) return;
|
|
1320
|
+
abort(createTimeoutError());
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1323
|
+
if (isNativeTransport && timeout > 0) {
|
|
1324
|
+
// Native ClientRequest#setTimeout starts from the socket lifecycle and
|
|
1325
|
+
// may not fire while TCP connect is still pending. Mirror the
|
|
1326
|
+
// follow-redirects wall-clock timer for the maxRedirects === 0 path.
|
|
1327
|
+
connectPhaseTimer = setTimeout(handleTimeout, timeout);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
// Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
|
|
1331
|
+
// And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
|
|
1332
|
+
// At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
|
|
1333
|
+
// And then these socket which be hang up will devouring CPU little by little.
|
|
1334
|
+
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
1335
|
+
req.setTimeout(timeout, handleTimeout);
|
|
1336
|
+
} else {
|
|
1337
|
+
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
1338
|
+
req.setTimeout(0);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
// Send the request
|
|
1342
|
+
if (utils.isStream(data)) {
|
|
1343
|
+
let ended = false;
|
|
1344
|
+
let errored = false;
|
|
1345
|
+
|
|
1346
|
+
data.on('end', () => {
|
|
1347
|
+
ended = true;
|
|
1348
|
+
});
|
|
1349
|
+
|
|
1350
|
+
data.once('error', (err) => {
|
|
1351
|
+
errored = true;
|
|
1352
|
+
req.destroy(err);
|
|
1353
|
+
});
|
|
1354
|
+
|
|
1355
|
+
data.on('close', () => {
|
|
1356
|
+
if (!ended && !errored) {
|
|
1357
|
+
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
1358
|
+
}
|
|
1359
|
+
});
|
|
1360
|
+
|
|
1361
|
+
// Enforce maxBodyLength for streamed uploads on every transport that
|
|
1362
|
+
// does not apply options.maxBodyLength itself (native http/https, http2,
|
|
1363
|
+
// and user-supplied custom transports). The follow-redirects transport
|
|
1364
|
+
// enforces it on the redirected HTTP/1 path.
|
|
1365
|
+
let uploadStream = data;
|
|
1366
|
+
if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) {
|
|
1367
|
+
const limit = maxBodyLength;
|
|
1368
|
+
let bytesSent = 0;
|
|
1369
|
+
uploadStream = stream.pipeline(
|
|
1370
|
+
[
|
|
1371
|
+
data,
|
|
1372
|
+
new stream.Transform({
|
|
1373
|
+
transform(chunk, _enc, cb) {
|
|
1374
|
+
bytesSent += chunk.length;
|
|
1375
|
+
if (bytesSent > limit) {
|
|
1376
|
+
return cb(
|
|
1377
|
+
new AxiosError(
|
|
1378
|
+
'Request body larger than maxBodyLength limit',
|
|
1379
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
1380
|
+
config,
|
|
1381
|
+
req
|
|
1382
|
+
)
|
|
1383
|
+
);
|
|
1384
|
+
}
|
|
1385
|
+
cb(null, chunk);
|
|
1386
|
+
},
|
|
1387
|
+
}),
|
|
1388
|
+
],
|
|
1389
|
+
utils.noop
|
|
1390
|
+
);
|
|
1391
|
+
uploadStream.on('error', (err) => {
|
|
1392
|
+
if (!req.destroyed) req.destroy(err);
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
uploadStream.pipe(req);
|
|
1397
|
+
} else {
|
|
1398
|
+
data && req.write(data);
|
|
1399
|
+
req.end();
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
export const __setProxy = setProxy;
|
|
1405
|
+
export const __isNodeEnvProxyEnabled = isNodeEnvProxyEnabled;
|
|
1406
|
+
export const __isSameOriginRedirect = isSameOriginRedirect;
|