agentworkshop 0.5.1 → 0.5.3
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/fb769eda-b1db-437b-adc7-ecf71eb3b30b.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 +26962 -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/cli/core/context.mjs +8 -4
- package/package.json +2 -1
- package/scripts/_dbg-full-feature-e2e.mjs +1 -1
- package/server/data/daqs.json +75 -75
- package/server/data/dcw-lines.json +14 -0
- package/server/data/dcw-products.json +14 -0
- package/server/data/dcw-rollback.json +222 -1
- package/server/data/dcw-runs.json +54 -36
- package/server/data/dcw-writes.json +96 -0
- package/server/data/dcws.json +42 -0
- package/server/data/line-runs.json +22 -22
- package/server/services/workshop/agents/node-bindings.repo.ts +2 -2
- package/shared/config/home.mjs +60 -15
|
@@ -0,0 +1,1107 @@
|
|
|
1
|
+
import { safeParse } from '../server/zod-compat.js';
|
|
2
|
+
import { CancelledNotificationSchema, CreateTaskResultSchema, ErrorCode, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, isJSONRPCErrorResponse, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCNotification, McpError, PingRequestSchema, ProgressNotificationSchema, RELATED_TASK_META_KEY, TaskStatusNotificationSchema, isTaskAugmentedRequestParams } from '../types.js';
|
|
3
|
+
import { isTerminal } from '../experimental/tasks/interfaces.js';
|
|
4
|
+
import { getMethodLiteral, parseWithCompat } from '../server/zod-json-schema-compat.js';
|
|
5
|
+
/**
|
|
6
|
+
* The default request timeout, in miliseconds.
|
|
7
|
+
*/
|
|
8
|
+
export const DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
9
|
+
/**
|
|
10
|
+
* Implements MCP protocol framing on top of a pluggable transport, including
|
|
11
|
+
* features like request/response linking, notifications, and progress.
|
|
12
|
+
*/
|
|
13
|
+
export class Protocol {
|
|
14
|
+
constructor(_options) {
|
|
15
|
+
this._options = _options;
|
|
16
|
+
this._requestMessageId = 0;
|
|
17
|
+
this._requestHandlers = new Map();
|
|
18
|
+
this._requestHandlerAbortControllers = new Map();
|
|
19
|
+
this._notificationHandlers = new Map();
|
|
20
|
+
this._responseHandlers = new Map();
|
|
21
|
+
this._progressHandlers = new Map();
|
|
22
|
+
this._timeoutInfo = new Map();
|
|
23
|
+
this._pendingDebouncedNotifications = new Set();
|
|
24
|
+
// Maps task IDs to progress tokens to keep handlers alive after CreateTaskResult
|
|
25
|
+
this._taskProgressTokens = new Map();
|
|
26
|
+
this._requestResolvers = new Map();
|
|
27
|
+
this.setNotificationHandler(CancelledNotificationSchema, notification => {
|
|
28
|
+
this._oncancel(notification);
|
|
29
|
+
});
|
|
30
|
+
this.setNotificationHandler(ProgressNotificationSchema, notification => {
|
|
31
|
+
this._onprogress(notification);
|
|
32
|
+
});
|
|
33
|
+
this.setRequestHandler(PingRequestSchema,
|
|
34
|
+
// Automatic pong by default.
|
|
35
|
+
_request => ({}));
|
|
36
|
+
// Install task handlers if TaskStore is provided
|
|
37
|
+
this._taskStore = _options?.taskStore;
|
|
38
|
+
this._taskMessageQueue = _options?.taskMessageQueue;
|
|
39
|
+
if (this._taskStore) {
|
|
40
|
+
this.setRequestHandler(GetTaskRequestSchema, async (request, extra) => {
|
|
41
|
+
const task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
|
|
42
|
+
if (!task) {
|
|
43
|
+
throw new McpError(ErrorCode.InvalidParams, 'Failed to retrieve task: Task not found');
|
|
44
|
+
}
|
|
45
|
+
// Per spec: tasks/get responses SHALL NOT include related-task metadata
|
|
46
|
+
// as the taskId parameter is the source of truth
|
|
47
|
+
// @ts-expect-error SendResultT cannot contain GetTaskResult, but we include it in our derived types everywhere else
|
|
48
|
+
return {
|
|
49
|
+
...task
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
this.setRequestHandler(GetTaskPayloadRequestSchema, async (request, extra) => {
|
|
53
|
+
const handleTaskResult = async () => {
|
|
54
|
+
const taskId = request.params.taskId;
|
|
55
|
+
// Deliver queued messages
|
|
56
|
+
if (this._taskMessageQueue) {
|
|
57
|
+
let queuedMessage;
|
|
58
|
+
while ((queuedMessage = await this._taskMessageQueue.dequeue(taskId, extra.sessionId))) {
|
|
59
|
+
// Handle response and error messages by routing them to the appropriate resolver
|
|
60
|
+
if (queuedMessage.type === 'response' || queuedMessage.type === 'error') {
|
|
61
|
+
const message = queuedMessage.message;
|
|
62
|
+
const requestId = message.id;
|
|
63
|
+
// Lookup resolver in _requestResolvers map
|
|
64
|
+
const resolver = this._requestResolvers.get(requestId);
|
|
65
|
+
if (resolver) {
|
|
66
|
+
// Remove resolver from map after invocation
|
|
67
|
+
this._requestResolvers.delete(requestId);
|
|
68
|
+
// Invoke resolver with response or error
|
|
69
|
+
if (queuedMessage.type === 'response') {
|
|
70
|
+
resolver(message);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
// Convert JSONRPCError to McpError
|
|
74
|
+
const errorMessage = message;
|
|
75
|
+
const error = new McpError(errorMessage.error.code, errorMessage.error.message, errorMessage.error.data);
|
|
76
|
+
resolver(error);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
// Handle missing resolver gracefully with error logging
|
|
81
|
+
const messageType = queuedMessage.type === 'response' ? 'Response' : 'Error';
|
|
82
|
+
this._onerror(new Error(`${messageType} handler missing for request ${requestId}`));
|
|
83
|
+
}
|
|
84
|
+
// Continue to next message
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
// Send the message on the response stream by passing the relatedRequestId
|
|
88
|
+
// This tells the transport to write the message to the tasks/result response stream
|
|
89
|
+
await this._transport?.send(queuedMessage.message, { relatedRequestId: extra.requestId });
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// Now check task status
|
|
93
|
+
const task = await this._taskStore.getTask(taskId, extra.sessionId);
|
|
94
|
+
if (!task) {
|
|
95
|
+
throw new McpError(ErrorCode.InvalidParams, `Task not found: ${taskId}`);
|
|
96
|
+
}
|
|
97
|
+
// Block if task is not terminal (we've already delivered all queued messages above)
|
|
98
|
+
if (!isTerminal(task.status)) {
|
|
99
|
+
// Wait for status change or new messages
|
|
100
|
+
await this._waitForTaskUpdate(taskId, extra.signal);
|
|
101
|
+
// After waking up, recursively call to deliver any new messages or result
|
|
102
|
+
return await handleTaskResult();
|
|
103
|
+
}
|
|
104
|
+
// If task is terminal, return the result
|
|
105
|
+
if (isTerminal(task.status)) {
|
|
106
|
+
const result = await this._taskStore.getTaskResult(taskId, extra.sessionId);
|
|
107
|
+
this._clearTaskQueue(taskId);
|
|
108
|
+
return {
|
|
109
|
+
...result,
|
|
110
|
+
_meta: {
|
|
111
|
+
...result._meta,
|
|
112
|
+
[RELATED_TASK_META_KEY]: {
|
|
113
|
+
taskId: taskId
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
return await handleTaskResult();
|
|
119
|
+
};
|
|
120
|
+
return await handleTaskResult();
|
|
121
|
+
});
|
|
122
|
+
this.setRequestHandler(ListTasksRequestSchema, async (request, extra) => {
|
|
123
|
+
try {
|
|
124
|
+
const { tasks, nextCursor } = await this._taskStore.listTasks(request.params?.cursor, extra.sessionId);
|
|
125
|
+
// @ts-expect-error SendResultT cannot contain ListTasksResult, but we include it in our derived types everywhere else
|
|
126
|
+
return {
|
|
127
|
+
tasks,
|
|
128
|
+
nextCursor,
|
|
129
|
+
_meta: {}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
throw new McpError(ErrorCode.InvalidParams, `Failed to list tasks: ${error instanceof Error ? error.message : String(error)}`);
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
this.setRequestHandler(CancelTaskRequestSchema, async (request, extra) => {
|
|
137
|
+
try {
|
|
138
|
+
// Get the current task to check if it's in a terminal state, in case the implementation is not atomic
|
|
139
|
+
const task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
|
|
140
|
+
if (!task) {
|
|
141
|
+
throw new McpError(ErrorCode.InvalidParams, `Task not found: ${request.params.taskId}`);
|
|
142
|
+
}
|
|
143
|
+
// Reject cancellation of terminal tasks
|
|
144
|
+
if (isTerminal(task.status)) {
|
|
145
|
+
throw new McpError(ErrorCode.InvalidParams, `Cannot cancel task in terminal status: ${task.status}`);
|
|
146
|
+
}
|
|
147
|
+
await this._taskStore.updateTaskStatus(request.params.taskId, 'cancelled', 'Client cancelled task execution.', extra.sessionId);
|
|
148
|
+
this._clearTaskQueue(request.params.taskId);
|
|
149
|
+
const cancelledTask = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
|
|
150
|
+
if (!cancelledTask) {
|
|
151
|
+
// Task was deleted during cancellation (e.g., cleanup happened)
|
|
152
|
+
throw new McpError(ErrorCode.InvalidParams, `Task not found after cancellation: ${request.params.taskId}`);
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
_meta: {},
|
|
156
|
+
...cancelledTask
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
catch (error) {
|
|
160
|
+
// Re-throw McpError as-is
|
|
161
|
+
if (error instanceof McpError) {
|
|
162
|
+
throw error;
|
|
163
|
+
}
|
|
164
|
+
throw new McpError(ErrorCode.InvalidRequest, `Failed to cancel task: ${error instanceof Error ? error.message : String(error)}`);
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
async _oncancel(notification) {
|
|
170
|
+
if (!notification.params.requestId) {
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
// Handle request cancellation
|
|
174
|
+
const controller = this._requestHandlerAbortControllers.get(notification.params.requestId);
|
|
175
|
+
controller?.abort(notification.params.reason);
|
|
176
|
+
}
|
|
177
|
+
_setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeoutOnProgress = false) {
|
|
178
|
+
this._timeoutInfo.set(messageId, {
|
|
179
|
+
timeoutId: setTimeout(onTimeout, timeout),
|
|
180
|
+
startTime: Date.now(),
|
|
181
|
+
timeout,
|
|
182
|
+
maxTotalTimeout,
|
|
183
|
+
resetTimeoutOnProgress,
|
|
184
|
+
onTimeout
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
_resetTimeout(messageId) {
|
|
188
|
+
const info = this._timeoutInfo.get(messageId);
|
|
189
|
+
if (!info)
|
|
190
|
+
return false;
|
|
191
|
+
const totalElapsed = Date.now() - info.startTime;
|
|
192
|
+
if (info.maxTotalTimeout && totalElapsed >= info.maxTotalTimeout) {
|
|
193
|
+
this._timeoutInfo.delete(messageId);
|
|
194
|
+
throw McpError.fromError(ErrorCode.RequestTimeout, 'Maximum total timeout exceeded', {
|
|
195
|
+
maxTotalTimeout: info.maxTotalTimeout,
|
|
196
|
+
totalElapsed
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
clearTimeout(info.timeoutId);
|
|
200
|
+
info.timeoutId = setTimeout(info.onTimeout, info.timeout);
|
|
201
|
+
return true;
|
|
202
|
+
}
|
|
203
|
+
_cleanupTimeout(messageId) {
|
|
204
|
+
const info = this._timeoutInfo.get(messageId);
|
|
205
|
+
if (info) {
|
|
206
|
+
clearTimeout(info.timeoutId);
|
|
207
|
+
this._timeoutInfo.delete(messageId);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Attaches to the given transport, starts it, and starts listening for messages.
|
|
212
|
+
*
|
|
213
|
+
* The Protocol object assumes ownership of the Transport, replacing any callbacks that have already been set, and expects that it is the only user of the Transport instance going forward.
|
|
214
|
+
*/
|
|
215
|
+
async connect(transport) {
|
|
216
|
+
if (this._transport) {
|
|
217
|
+
throw new Error('Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.');
|
|
218
|
+
}
|
|
219
|
+
this._transport = transport;
|
|
220
|
+
const _onclose = this.transport?.onclose;
|
|
221
|
+
this._transport.onclose = () => {
|
|
222
|
+
_onclose?.();
|
|
223
|
+
this._onclose();
|
|
224
|
+
};
|
|
225
|
+
const _onerror = this.transport?.onerror;
|
|
226
|
+
this._transport.onerror = (error) => {
|
|
227
|
+
_onerror?.(error);
|
|
228
|
+
this._onerror(error);
|
|
229
|
+
};
|
|
230
|
+
const _onmessage = this._transport?.onmessage;
|
|
231
|
+
this._transport.onmessage = (message, extra) => {
|
|
232
|
+
_onmessage?.(message, extra);
|
|
233
|
+
if (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) {
|
|
234
|
+
this._onresponse(message);
|
|
235
|
+
}
|
|
236
|
+
else if (isJSONRPCRequest(message)) {
|
|
237
|
+
this._onrequest(message, extra);
|
|
238
|
+
}
|
|
239
|
+
else if (isJSONRPCNotification(message)) {
|
|
240
|
+
this._onnotification(message);
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
this._onerror(new Error(`Unknown message type: ${JSON.stringify(message)}`));
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
await this._transport.start();
|
|
247
|
+
}
|
|
248
|
+
_onclose() {
|
|
249
|
+
const responseHandlers = this._responseHandlers;
|
|
250
|
+
this._responseHandlers = new Map();
|
|
251
|
+
this._progressHandlers.clear();
|
|
252
|
+
this._taskProgressTokens.clear();
|
|
253
|
+
this._pendingDebouncedNotifications.clear();
|
|
254
|
+
for (const info of this._timeoutInfo.values()) {
|
|
255
|
+
clearTimeout(info.timeoutId);
|
|
256
|
+
}
|
|
257
|
+
this._timeoutInfo.clear();
|
|
258
|
+
// Abort all in-flight request handlers so they stop sending messages
|
|
259
|
+
for (const controller of this._requestHandlerAbortControllers.values()) {
|
|
260
|
+
controller.abort();
|
|
261
|
+
}
|
|
262
|
+
this._requestHandlerAbortControllers.clear();
|
|
263
|
+
const error = McpError.fromError(ErrorCode.ConnectionClosed, 'Connection closed');
|
|
264
|
+
this._transport = undefined;
|
|
265
|
+
this.onclose?.();
|
|
266
|
+
for (const handler of responseHandlers.values()) {
|
|
267
|
+
handler(error);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
_onerror(error) {
|
|
271
|
+
this.onerror?.(error);
|
|
272
|
+
}
|
|
273
|
+
_onnotification(notification) {
|
|
274
|
+
const handler = this._notificationHandlers.get(notification.method) ?? this.fallbackNotificationHandler;
|
|
275
|
+
// Ignore notifications not being subscribed to.
|
|
276
|
+
if (handler === undefined) {
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
// Starting with Promise.resolve() puts any synchronous errors into the monad as well.
|
|
280
|
+
Promise.resolve()
|
|
281
|
+
.then(() => handler(notification))
|
|
282
|
+
.catch(error => this._onerror(new Error(`Uncaught error in notification handler: ${error}`)));
|
|
283
|
+
}
|
|
284
|
+
_onrequest(request, extra) {
|
|
285
|
+
const handler = this._requestHandlers.get(request.method) ?? this.fallbackRequestHandler;
|
|
286
|
+
// Capture the current transport at request time to ensure responses go to the correct client
|
|
287
|
+
const capturedTransport = this._transport;
|
|
288
|
+
// Extract taskId from request metadata if present (needed early for method not found case)
|
|
289
|
+
const relatedTaskId = request.params?._meta?.[RELATED_TASK_META_KEY]?.taskId;
|
|
290
|
+
if (handler === undefined) {
|
|
291
|
+
const errorResponse = {
|
|
292
|
+
jsonrpc: '2.0',
|
|
293
|
+
id: request.id,
|
|
294
|
+
error: {
|
|
295
|
+
code: ErrorCode.MethodNotFound,
|
|
296
|
+
message: 'Method not found'
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
// Queue or send the error response based on whether this is a task-related request
|
|
300
|
+
if (relatedTaskId && this._taskMessageQueue) {
|
|
301
|
+
this._enqueueTaskMessage(relatedTaskId, {
|
|
302
|
+
type: 'error',
|
|
303
|
+
message: errorResponse,
|
|
304
|
+
timestamp: Date.now()
|
|
305
|
+
}, capturedTransport?.sessionId).catch(error => this._onerror(new Error(`Failed to enqueue error response: ${error}`)));
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
capturedTransport
|
|
309
|
+
?.send(errorResponse)
|
|
310
|
+
.catch(error => this._onerror(new Error(`Failed to send an error response: ${error}`)));
|
|
311
|
+
}
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
const abortController = new AbortController();
|
|
315
|
+
this._requestHandlerAbortControllers.set(request.id, abortController);
|
|
316
|
+
const taskCreationParams = isTaskAugmentedRequestParams(request.params) ? request.params.task : undefined;
|
|
317
|
+
const taskStore = this._taskStore ? this.requestTaskStore(request, capturedTransport?.sessionId) : undefined;
|
|
318
|
+
const fullExtra = {
|
|
319
|
+
signal: abortController.signal,
|
|
320
|
+
sessionId: capturedTransport?.sessionId,
|
|
321
|
+
_meta: request.params?._meta,
|
|
322
|
+
sendNotification: async (notification) => {
|
|
323
|
+
if (abortController.signal.aborted)
|
|
324
|
+
return;
|
|
325
|
+
// Include related-task metadata if this request is part of a task
|
|
326
|
+
const notificationOptions = { relatedRequestId: request.id };
|
|
327
|
+
if (relatedTaskId) {
|
|
328
|
+
notificationOptions.relatedTask = { taskId: relatedTaskId };
|
|
329
|
+
}
|
|
330
|
+
await this.notification(notification, notificationOptions);
|
|
331
|
+
},
|
|
332
|
+
sendRequest: async (r, resultSchema, options) => {
|
|
333
|
+
if (abortController.signal.aborted) {
|
|
334
|
+
throw new McpError(ErrorCode.ConnectionClosed, 'Request was cancelled');
|
|
335
|
+
}
|
|
336
|
+
// Include related-task metadata if this request is part of a task
|
|
337
|
+
const requestOptions = { ...options, relatedRequestId: request.id };
|
|
338
|
+
if (relatedTaskId && !requestOptions.relatedTask) {
|
|
339
|
+
requestOptions.relatedTask = { taskId: relatedTaskId };
|
|
340
|
+
}
|
|
341
|
+
// Set task status to input_required when sending a request within a task context
|
|
342
|
+
// Use the taskId from options (explicit) or fall back to relatedTaskId (inherited)
|
|
343
|
+
const effectiveTaskId = requestOptions.relatedTask?.taskId ?? relatedTaskId;
|
|
344
|
+
if (effectiveTaskId && taskStore) {
|
|
345
|
+
await taskStore.updateTaskStatus(effectiveTaskId, 'input_required');
|
|
346
|
+
}
|
|
347
|
+
return await this.request(r, resultSchema, requestOptions);
|
|
348
|
+
},
|
|
349
|
+
authInfo: extra?.authInfo,
|
|
350
|
+
requestId: request.id,
|
|
351
|
+
requestInfo: extra?.requestInfo,
|
|
352
|
+
taskId: relatedTaskId,
|
|
353
|
+
taskStore: taskStore,
|
|
354
|
+
taskRequestedTtl: taskCreationParams?.ttl,
|
|
355
|
+
closeSSEStream: extra?.closeSSEStream,
|
|
356
|
+
closeStandaloneSSEStream: extra?.closeStandaloneSSEStream
|
|
357
|
+
};
|
|
358
|
+
// Starting with Promise.resolve() puts any synchronous errors into the monad as well.
|
|
359
|
+
Promise.resolve()
|
|
360
|
+
.then(() => {
|
|
361
|
+
// If this request asked for task creation, check capability first
|
|
362
|
+
if (taskCreationParams) {
|
|
363
|
+
// Check if the request method supports task creation
|
|
364
|
+
this.assertTaskHandlerCapability(request.method);
|
|
365
|
+
}
|
|
366
|
+
})
|
|
367
|
+
.then(() => handler(request, fullExtra))
|
|
368
|
+
.then(async (result) => {
|
|
369
|
+
if (abortController.signal.aborted) {
|
|
370
|
+
// Request was cancelled
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
const response = {
|
|
374
|
+
result,
|
|
375
|
+
jsonrpc: '2.0',
|
|
376
|
+
id: request.id
|
|
377
|
+
};
|
|
378
|
+
// Queue or send the response based on whether this is a task-related request
|
|
379
|
+
if (relatedTaskId && this._taskMessageQueue) {
|
|
380
|
+
await this._enqueueTaskMessage(relatedTaskId, {
|
|
381
|
+
type: 'response',
|
|
382
|
+
message: response,
|
|
383
|
+
timestamp: Date.now()
|
|
384
|
+
}, capturedTransport?.sessionId);
|
|
385
|
+
}
|
|
386
|
+
else {
|
|
387
|
+
await capturedTransport?.send(response);
|
|
388
|
+
}
|
|
389
|
+
}, async (error) => {
|
|
390
|
+
if (abortController.signal.aborted) {
|
|
391
|
+
// Request was cancelled
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
const errorResponse = {
|
|
395
|
+
jsonrpc: '2.0',
|
|
396
|
+
id: request.id,
|
|
397
|
+
error: {
|
|
398
|
+
code: Number.isSafeInteger(error['code']) ? error['code'] : ErrorCode.InternalError,
|
|
399
|
+
message: error.message ?? 'Internal error',
|
|
400
|
+
...(error['data'] !== undefined && { data: error['data'] })
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
// Queue or send the error response based on whether this is a task-related request
|
|
404
|
+
if (relatedTaskId && this._taskMessageQueue) {
|
|
405
|
+
await this._enqueueTaskMessage(relatedTaskId, {
|
|
406
|
+
type: 'error',
|
|
407
|
+
message: errorResponse,
|
|
408
|
+
timestamp: Date.now()
|
|
409
|
+
}, capturedTransport?.sessionId);
|
|
410
|
+
}
|
|
411
|
+
else {
|
|
412
|
+
await capturedTransport?.send(errorResponse);
|
|
413
|
+
}
|
|
414
|
+
})
|
|
415
|
+
.catch(error => this._onerror(new Error(`Failed to send response: ${error}`)))
|
|
416
|
+
.finally(() => {
|
|
417
|
+
// Only delete if the stored controller is still ours; after close()+connect(),
|
|
418
|
+
// a new connection may have reused the same request ID with a different controller.
|
|
419
|
+
if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
|
|
420
|
+
this._requestHandlerAbortControllers.delete(request.id);
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
_onprogress(notification) {
|
|
425
|
+
const { progressToken, ...params } = notification.params;
|
|
426
|
+
const messageId = Number(progressToken);
|
|
427
|
+
const handler = this._progressHandlers.get(messageId);
|
|
428
|
+
if (!handler) {
|
|
429
|
+
this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(notification)}`));
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
const responseHandler = this._responseHandlers.get(messageId);
|
|
433
|
+
const timeoutInfo = this._timeoutInfo.get(messageId);
|
|
434
|
+
if (timeoutInfo && responseHandler && timeoutInfo.resetTimeoutOnProgress) {
|
|
435
|
+
try {
|
|
436
|
+
this._resetTimeout(messageId);
|
|
437
|
+
}
|
|
438
|
+
catch (error) {
|
|
439
|
+
// Clean up if maxTotalTimeout was exceeded
|
|
440
|
+
this._responseHandlers.delete(messageId);
|
|
441
|
+
this._progressHandlers.delete(messageId);
|
|
442
|
+
this._cleanupTimeout(messageId);
|
|
443
|
+
responseHandler(error);
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
handler(params);
|
|
448
|
+
}
|
|
449
|
+
_onresponse(response) {
|
|
450
|
+
const messageId = Number(response.id);
|
|
451
|
+
// Check if this is a response to a queued request
|
|
452
|
+
const resolver = this._requestResolvers.get(messageId);
|
|
453
|
+
if (resolver) {
|
|
454
|
+
this._requestResolvers.delete(messageId);
|
|
455
|
+
if (isJSONRPCResultResponse(response)) {
|
|
456
|
+
resolver(response);
|
|
457
|
+
}
|
|
458
|
+
else {
|
|
459
|
+
const error = new McpError(response.error.code, response.error.message, response.error.data);
|
|
460
|
+
resolver(error);
|
|
461
|
+
}
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
const handler = this._responseHandlers.get(messageId);
|
|
465
|
+
if (handler === undefined) {
|
|
466
|
+
this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(response)}`));
|
|
467
|
+
return;
|
|
468
|
+
}
|
|
469
|
+
this._responseHandlers.delete(messageId);
|
|
470
|
+
this._cleanupTimeout(messageId);
|
|
471
|
+
// Keep progress handler alive for CreateTaskResult responses
|
|
472
|
+
let isTaskResponse = false;
|
|
473
|
+
if (isJSONRPCResultResponse(response) && response.result && typeof response.result === 'object') {
|
|
474
|
+
const result = response.result;
|
|
475
|
+
if (result.task && typeof result.task === 'object') {
|
|
476
|
+
const task = result.task;
|
|
477
|
+
if (typeof task.taskId === 'string') {
|
|
478
|
+
isTaskResponse = true;
|
|
479
|
+
this._taskProgressTokens.set(task.taskId, messageId);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
if (!isTaskResponse) {
|
|
484
|
+
this._progressHandlers.delete(messageId);
|
|
485
|
+
}
|
|
486
|
+
if (isJSONRPCResultResponse(response)) {
|
|
487
|
+
handler(response);
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
const error = McpError.fromError(response.error.code, response.error.message, response.error.data);
|
|
491
|
+
handler(error);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
get transport() {
|
|
495
|
+
return this._transport;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Closes the connection.
|
|
499
|
+
*/
|
|
500
|
+
async close() {
|
|
501
|
+
await this._transport?.close();
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Sends a request and returns an AsyncGenerator that yields response messages.
|
|
505
|
+
* The generator is guaranteed to end with either a 'result' or 'error' message.
|
|
506
|
+
*
|
|
507
|
+
* @example
|
|
508
|
+
* ```typescript
|
|
509
|
+
* const stream = protocol.requestStream(request, resultSchema, options);
|
|
510
|
+
* for await (const message of stream) {
|
|
511
|
+
* switch (message.type) {
|
|
512
|
+
* case 'taskCreated':
|
|
513
|
+
* console.log('Task created:', message.task.taskId);
|
|
514
|
+
* break;
|
|
515
|
+
* case 'taskStatus':
|
|
516
|
+
* console.log('Task status:', message.task.status);
|
|
517
|
+
* break;
|
|
518
|
+
* case 'result':
|
|
519
|
+
* console.log('Final result:', message.result);
|
|
520
|
+
* break;
|
|
521
|
+
* case 'error':
|
|
522
|
+
* console.error('Error:', message.error);
|
|
523
|
+
* break;
|
|
524
|
+
* }
|
|
525
|
+
* }
|
|
526
|
+
* ```
|
|
527
|
+
*
|
|
528
|
+
* @experimental Use `client.experimental.tasks.requestStream()` to access this method.
|
|
529
|
+
*/
|
|
530
|
+
async *requestStream(request, resultSchema, options) {
|
|
531
|
+
const { task } = options ?? {};
|
|
532
|
+
// For non-task requests, just yield the result
|
|
533
|
+
if (!task) {
|
|
534
|
+
try {
|
|
535
|
+
const result = await this.request(request, resultSchema, options);
|
|
536
|
+
yield { type: 'result', result };
|
|
537
|
+
}
|
|
538
|
+
catch (error) {
|
|
539
|
+
yield {
|
|
540
|
+
type: 'error',
|
|
541
|
+
error: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
return;
|
|
545
|
+
}
|
|
546
|
+
// For task-augmented requests, we need to poll for status
|
|
547
|
+
// First, make the request to create the task
|
|
548
|
+
let taskId;
|
|
549
|
+
try {
|
|
550
|
+
// Send the request and get the CreateTaskResult
|
|
551
|
+
const createResult = await this.request(request, CreateTaskResultSchema, options);
|
|
552
|
+
// Extract taskId from the result
|
|
553
|
+
if (createResult.task) {
|
|
554
|
+
taskId = createResult.task.taskId;
|
|
555
|
+
yield { type: 'taskCreated', task: createResult.task };
|
|
556
|
+
}
|
|
557
|
+
else {
|
|
558
|
+
throw new McpError(ErrorCode.InternalError, 'Task creation did not return a task');
|
|
559
|
+
}
|
|
560
|
+
// Poll for task completion
|
|
561
|
+
while (true) {
|
|
562
|
+
// Get current task status
|
|
563
|
+
const task = await this.getTask({ taskId }, options);
|
|
564
|
+
yield { type: 'taskStatus', task };
|
|
565
|
+
// Check if task is terminal
|
|
566
|
+
if (isTerminal(task.status)) {
|
|
567
|
+
if (task.status === 'completed') {
|
|
568
|
+
// Get the final result
|
|
569
|
+
const result = await this.getTaskResult({ taskId }, resultSchema, options);
|
|
570
|
+
yield { type: 'result', result };
|
|
571
|
+
}
|
|
572
|
+
else if (task.status === 'failed') {
|
|
573
|
+
yield {
|
|
574
|
+
type: 'error',
|
|
575
|
+
error: new McpError(ErrorCode.InternalError, `Task ${taskId} failed`)
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
else if (task.status === 'cancelled') {
|
|
579
|
+
yield {
|
|
580
|
+
type: 'error',
|
|
581
|
+
error: new McpError(ErrorCode.InternalError, `Task ${taskId} was cancelled`)
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
|
+
// When input_required, call tasks/result to deliver queued messages
|
|
587
|
+
// (elicitation, sampling) via SSE and block until terminal
|
|
588
|
+
if (task.status === 'input_required') {
|
|
589
|
+
const result = await this.getTaskResult({ taskId }, resultSchema, options);
|
|
590
|
+
yield { type: 'result', result };
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
593
|
+
// Wait before polling again
|
|
594
|
+
const pollInterval = task.pollInterval ?? this._options?.defaultTaskPollInterval ?? 1000;
|
|
595
|
+
await new Promise(resolve => setTimeout(resolve, pollInterval));
|
|
596
|
+
// Check if cancelled
|
|
597
|
+
options?.signal?.throwIfAborted();
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
catch (error) {
|
|
601
|
+
yield {
|
|
602
|
+
type: 'error',
|
|
603
|
+
error: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Sends a request and waits for a response.
|
|
609
|
+
*
|
|
610
|
+
* Do not use this method to emit notifications! Use notification() instead.
|
|
611
|
+
*/
|
|
612
|
+
request(request, resultSchema, options) {
|
|
613
|
+
const { relatedRequestId, resumptionToken, onresumptiontoken, task, relatedTask } = options ?? {};
|
|
614
|
+
// Send the request
|
|
615
|
+
return new Promise((resolve, reject) => {
|
|
616
|
+
const earlyReject = (error) => {
|
|
617
|
+
reject(error);
|
|
618
|
+
};
|
|
619
|
+
if (!this._transport) {
|
|
620
|
+
earlyReject(new Error('Not connected'));
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
if (this._options?.enforceStrictCapabilities === true) {
|
|
624
|
+
try {
|
|
625
|
+
this.assertCapabilityForMethod(request.method);
|
|
626
|
+
// If task creation is requested, also check task capabilities
|
|
627
|
+
if (task) {
|
|
628
|
+
this.assertTaskCapability(request.method);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
catch (e) {
|
|
632
|
+
earlyReject(e);
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
options?.signal?.throwIfAborted();
|
|
637
|
+
const messageId = this._requestMessageId++;
|
|
638
|
+
const jsonrpcRequest = {
|
|
639
|
+
...request,
|
|
640
|
+
jsonrpc: '2.0',
|
|
641
|
+
id: messageId
|
|
642
|
+
};
|
|
643
|
+
if (options?.onprogress) {
|
|
644
|
+
this._progressHandlers.set(messageId, options.onprogress);
|
|
645
|
+
jsonrpcRequest.params = {
|
|
646
|
+
...request.params,
|
|
647
|
+
_meta: {
|
|
648
|
+
...(request.params?._meta || {}),
|
|
649
|
+
progressToken: messageId
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
// Augment with task creation parameters if provided
|
|
654
|
+
if (task) {
|
|
655
|
+
jsonrpcRequest.params = {
|
|
656
|
+
...jsonrpcRequest.params,
|
|
657
|
+
task: task
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
// Augment with related task metadata if relatedTask is provided
|
|
661
|
+
if (relatedTask) {
|
|
662
|
+
jsonrpcRequest.params = {
|
|
663
|
+
...jsonrpcRequest.params,
|
|
664
|
+
_meta: {
|
|
665
|
+
...(jsonrpcRequest.params?._meta || {}),
|
|
666
|
+
[RELATED_TASK_META_KEY]: relatedTask
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
const cancel = (reason) => {
|
|
671
|
+
this._responseHandlers.delete(messageId);
|
|
672
|
+
this._progressHandlers.delete(messageId);
|
|
673
|
+
this._cleanupTimeout(messageId);
|
|
674
|
+
this._transport
|
|
675
|
+
?.send({
|
|
676
|
+
jsonrpc: '2.0',
|
|
677
|
+
method: 'notifications/cancelled',
|
|
678
|
+
params: {
|
|
679
|
+
requestId: messageId,
|
|
680
|
+
reason: String(reason)
|
|
681
|
+
}
|
|
682
|
+
}, { relatedRequestId, resumptionToken, onresumptiontoken })
|
|
683
|
+
.catch(error => this._onerror(new Error(`Failed to send cancellation: ${error}`)));
|
|
684
|
+
// Wrap the reason in an McpError if it isn't already
|
|
685
|
+
const error = reason instanceof McpError ? reason : new McpError(ErrorCode.RequestTimeout, String(reason));
|
|
686
|
+
reject(error);
|
|
687
|
+
};
|
|
688
|
+
this._responseHandlers.set(messageId, response => {
|
|
689
|
+
if (options?.signal?.aborted) {
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
if (response instanceof Error) {
|
|
693
|
+
return reject(response);
|
|
694
|
+
}
|
|
695
|
+
try {
|
|
696
|
+
const parseResult = safeParse(resultSchema, response.result);
|
|
697
|
+
if (!parseResult.success) {
|
|
698
|
+
// Type guard: if success is false, error is guaranteed to exist
|
|
699
|
+
reject(parseResult.error);
|
|
700
|
+
}
|
|
701
|
+
else {
|
|
702
|
+
resolve(parseResult.data);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
catch (error) {
|
|
706
|
+
reject(error);
|
|
707
|
+
}
|
|
708
|
+
});
|
|
709
|
+
options?.signal?.addEventListener('abort', () => {
|
|
710
|
+
cancel(options?.signal?.reason);
|
|
711
|
+
});
|
|
712
|
+
const timeout = options?.timeout ?? DEFAULT_REQUEST_TIMEOUT_MSEC;
|
|
713
|
+
const timeoutHandler = () => cancel(McpError.fromError(ErrorCode.RequestTimeout, 'Request timed out', { timeout }));
|
|
714
|
+
this._setupTimeout(messageId, timeout, options?.maxTotalTimeout, timeoutHandler, options?.resetTimeoutOnProgress ?? false);
|
|
715
|
+
// Queue request if related to a task
|
|
716
|
+
const relatedTaskId = relatedTask?.taskId;
|
|
717
|
+
if (relatedTaskId) {
|
|
718
|
+
// Store the response resolver for this request so responses can be routed back
|
|
719
|
+
const responseResolver = (response) => {
|
|
720
|
+
const handler = this._responseHandlers.get(messageId);
|
|
721
|
+
if (handler) {
|
|
722
|
+
handler(response);
|
|
723
|
+
}
|
|
724
|
+
else {
|
|
725
|
+
// Log error when resolver is missing, but don't fail
|
|
726
|
+
this._onerror(new Error(`Response handler missing for side-channeled request ${messageId}`));
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
this._requestResolvers.set(messageId, responseResolver);
|
|
730
|
+
this._enqueueTaskMessage(relatedTaskId, {
|
|
731
|
+
type: 'request',
|
|
732
|
+
message: jsonrpcRequest,
|
|
733
|
+
timestamp: Date.now()
|
|
734
|
+
}).catch(error => {
|
|
735
|
+
this._cleanupTimeout(messageId);
|
|
736
|
+
reject(error);
|
|
737
|
+
});
|
|
738
|
+
// Don't send through transport - queued messages are delivered via tasks/result only
|
|
739
|
+
// This prevents duplicate delivery for bidirectional transports
|
|
740
|
+
}
|
|
741
|
+
else {
|
|
742
|
+
// No related task - send through transport normally
|
|
743
|
+
this._transport.send(jsonrpcRequest, { relatedRequestId, resumptionToken, onresumptiontoken }).catch(error => {
|
|
744
|
+
this._cleanupTimeout(messageId);
|
|
745
|
+
reject(error);
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* Gets the current status of a task.
|
|
752
|
+
*
|
|
753
|
+
* @experimental Use `client.experimental.tasks.getTask()` to access this method.
|
|
754
|
+
*/
|
|
755
|
+
async getTask(params, options) {
|
|
756
|
+
// @ts-expect-error SendRequestT cannot directly contain GetTaskRequest, but we ensure all type instantiations contain it anyways
|
|
757
|
+
return this.request({ method: 'tasks/get', params }, GetTaskResultSchema, options);
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* Retrieves the result of a completed task.
|
|
761
|
+
*
|
|
762
|
+
* @experimental Use `client.experimental.tasks.getTaskResult()` to access this method.
|
|
763
|
+
*/
|
|
764
|
+
async getTaskResult(params, resultSchema, options) {
|
|
765
|
+
// @ts-expect-error SendRequestT cannot directly contain GetTaskPayloadRequest, but we ensure all type instantiations contain it anyways
|
|
766
|
+
return this.request({ method: 'tasks/result', params }, resultSchema, options);
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Lists tasks, optionally starting from a pagination cursor.
|
|
770
|
+
*
|
|
771
|
+
* @experimental Use `client.experimental.tasks.listTasks()` to access this method.
|
|
772
|
+
*/
|
|
773
|
+
async listTasks(params, options) {
|
|
774
|
+
// @ts-expect-error SendRequestT cannot directly contain ListTasksRequest, but we ensure all type instantiations contain it anyways
|
|
775
|
+
return this.request({ method: 'tasks/list', params }, ListTasksResultSchema, options);
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Cancels a specific task.
|
|
779
|
+
*
|
|
780
|
+
* @experimental Use `client.experimental.tasks.cancelTask()` to access this method.
|
|
781
|
+
*/
|
|
782
|
+
async cancelTask(params, options) {
|
|
783
|
+
// @ts-expect-error SendRequestT cannot directly contain CancelTaskRequest, but we ensure all type instantiations contain it anyways
|
|
784
|
+
return this.request({ method: 'tasks/cancel', params }, CancelTaskResultSchema, options);
|
|
785
|
+
}
|
|
786
|
+
/**
|
|
787
|
+
* Emits a notification, which is a one-way message that does not expect a response.
|
|
788
|
+
*/
|
|
789
|
+
async notification(notification, options) {
|
|
790
|
+
if (!this._transport) {
|
|
791
|
+
throw new Error('Not connected');
|
|
792
|
+
}
|
|
793
|
+
this.assertNotificationCapability(notification.method);
|
|
794
|
+
// Queue notification if related to a task
|
|
795
|
+
const relatedTaskId = options?.relatedTask?.taskId;
|
|
796
|
+
if (relatedTaskId) {
|
|
797
|
+
// Build the JSONRPC notification with metadata
|
|
798
|
+
const jsonrpcNotification = {
|
|
799
|
+
...notification,
|
|
800
|
+
jsonrpc: '2.0',
|
|
801
|
+
params: {
|
|
802
|
+
...notification.params,
|
|
803
|
+
_meta: {
|
|
804
|
+
...(notification.params?._meta || {}),
|
|
805
|
+
[RELATED_TASK_META_KEY]: options.relatedTask
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
};
|
|
809
|
+
await this._enqueueTaskMessage(relatedTaskId, {
|
|
810
|
+
type: 'notification',
|
|
811
|
+
message: jsonrpcNotification,
|
|
812
|
+
timestamp: Date.now()
|
|
813
|
+
});
|
|
814
|
+
// Don't send through transport - queued messages are delivered via tasks/result only
|
|
815
|
+
// This prevents duplicate delivery for bidirectional transports
|
|
816
|
+
return;
|
|
817
|
+
}
|
|
818
|
+
const debouncedMethods = this._options?.debouncedNotificationMethods ?? [];
|
|
819
|
+
// A notification can only be debounced if it's in the list AND it's "simple"
|
|
820
|
+
// (i.e., has no parameters and no related request ID or related task that could be lost).
|
|
821
|
+
const canDebounce = debouncedMethods.includes(notification.method) && !notification.params && !options?.relatedRequestId && !options?.relatedTask;
|
|
822
|
+
if (canDebounce) {
|
|
823
|
+
// If a notification of this type is already scheduled, do nothing.
|
|
824
|
+
if (this._pendingDebouncedNotifications.has(notification.method)) {
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
// Mark this notification type as pending.
|
|
828
|
+
this._pendingDebouncedNotifications.add(notification.method);
|
|
829
|
+
// Schedule the actual send to happen in the next microtask.
|
|
830
|
+
// This allows all synchronous calls in the current event loop tick to be coalesced.
|
|
831
|
+
Promise.resolve().then(() => {
|
|
832
|
+
// Un-mark the notification so the next one can be scheduled.
|
|
833
|
+
this._pendingDebouncedNotifications.delete(notification.method);
|
|
834
|
+
// SAFETY CHECK: If the connection was closed while this was pending, abort.
|
|
835
|
+
if (!this._transport) {
|
|
836
|
+
return;
|
|
837
|
+
}
|
|
838
|
+
let jsonrpcNotification = {
|
|
839
|
+
...notification,
|
|
840
|
+
jsonrpc: '2.0'
|
|
841
|
+
};
|
|
842
|
+
// Augment with related task metadata if relatedTask is provided
|
|
843
|
+
if (options?.relatedTask) {
|
|
844
|
+
jsonrpcNotification = {
|
|
845
|
+
...jsonrpcNotification,
|
|
846
|
+
params: {
|
|
847
|
+
...jsonrpcNotification.params,
|
|
848
|
+
_meta: {
|
|
849
|
+
...(jsonrpcNotification.params?._meta || {}),
|
|
850
|
+
[RELATED_TASK_META_KEY]: options.relatedTask
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
// Send the notification, but don't await it here to avoid blocking.
|
|
856
|
+
// Handle potential errors with a .catch().
|
|
857
|
+
this._transport?.send(jsonrpcNotification, options).catch(error => this._onerror(error));
|
|
858
|
+
});
|
|
859
|
+
// Return immediately.
|
|
860
|
+
return;
|
|
861
|
+
}
|
|
862
|
+
let jsonrpcNotification = {
|
|
863
|
+
...notification,
|
|
864
|
+
jsonrpc: '2.0'
|
|
865
|
+
};
|
|
866
|
+
// Augment with related task metadata if relatedTask is provided
|
|
867
|
+
if (options?.relatedTask) {
|
|
868
|
+
jsonrpcNotification = {
|
|
869
|
+
...jsonrpcNotification,
|
|
870
|
+
params: {
|
|
871
|
+
...jsonrpcNotification.params,
|
|
872
|
+
_meta: {
|
|
873
|
+
...(jsonrpcNotification.params?._meta || {}),
|
|
874
|
+
[RELATED_TASK_META_KEY]: options.relatedTask
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
await this._transport.send(jsonrpcNotification, options);
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Registers a handler to invoke when this protocol object receives a request with the given method.
|
|
883
|
+
*
|
|
884
|
+
* Note that this will replace any previous request handler for the same method.
|
|
885
|
+
*/
|
|
886
|
+
setRequestHandler(requestSchema, handler) {
|
|
887
|
+
const method = getMethodLiteral(requestSchema);
|
|
888
|
+
this.assertRequestHandlerCapability(method);
|
|
889
|
+
this._requestHandlers.set(method, (request, extra) => {
|
|
890
|
+
const parsed = parseWithCompat(requestSchema, request);
|
|
891
|
+
return Promise.resolve(handler(parsed, extra));
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Removes the request handler for the given method.
|
|
896
|
+
*/
|
|
897
|
+
removeRequestHandler(method) {
|
|
898
|
+
this._requestHandlers.delete(method);
|
|
899
|
+
}
|
|
900
|
+
/**
|
|
901
|
+
* Asserts that a request handler has not already been set for the given method, in preparation for a new one being automatically installed.
|
|
902
|
+
*/
|
|
903
|
+
assertCanSetRequestHandler(method) {
|
|
904
|
+
if (this._requestHandlers.has(method)) {
|
|
905
|
+
throw new Error(`A request handler for ${method} already exists, which would be overridden`);
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Registers a handler to invoke when this protocol object receives a notification with the given method.
|
|
910
|
+
*
|
|
911
|
+
* Note that this will replace any previous notification handler for the same method.
|
|
912
|
+
*/
|
|
913
|
+
setNotificationHandler(notificationSchema, handler) {
|
|
914
|
+
const method = getMethodLiteral(notificationSchema);
|
|
915
|
+
this._notificationHandlers.set(method, notification => {
|
|
916
|
+
const parsed = parseWithCompat(notificationSchema, notification);
|
|
917
|
+
return Promise.resolve(handler(parsed));
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Removes the notification handler for the given method.
|
|
922
|
+
*/
|
|
923
|
+
removeNotificationHandler(method) {
|
|
924
|
+
this._notificationHandlers.delete(method);
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Cleans up the progress handler associated with a task.
|
|
928
|
+
* This should be called when a task reaches a terminal status.
|
|
929
|
+
*/
|
|
930
|
+
_cleanupTaskProgressHandler(taskId) {
|
|
931
|
+
const progressToken = this._taskProgressTokens.get(taskId);
|
|
932
|
+
if (progressToken !== undefined) {
|
|
933
|
+
this._progressHandlers.delete(progressToken);
|
|
934
|
+
this._taskProgressTokens.delete(taskId);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* Enqueues a task-related message for side-channel delivery via tasks/result.
|
|
939
|
+
* @param taskId The task ID to associate the message with
|
|
940
|
+
* @param message The message to enqueue
|
|
941
|
+
* @param sessionId Optional session ID for binding the operation to a specific session
|
|
942
|
+
* @throws Error if taskStore is not configured or if enqueue fails (e.g., queue overflow)
|
|
943
|
+
*
|
|
944
|
+
* Note: If enqueue fails, it's the TaskMessageQueue implementation's responsibility to handle
|
|
945
|
+
* the error appropriately (e.g., by failing the task, logging, etc.). The Protocol layer
|
|
946
|
+
* simply propagates the error.
|
|
947
|
+
*/
|
|
948
|
+
async _enqueueTaskMessage(taskId, message, sessionId) {
|
|
949
|
+
// Task message queues are only used when taskStore is configured
|
|
950
|
+
if (!this._taskStore || !this._taskMessageQueue) {
|
|
951
|
+
throw new Error('Cannot enqueue task message: taskStore and taskMessageQueue are not configured');
|
|
952
|
+
}
|
|
953
|
+
const maxQueueSize = this._options?.maxTaskQueueSize;
|
|
954
|
+
await this._taskMessageQueue.enqueue(taskId, message, sessionId, maxQueueSize);
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* Clears the message queue for a task and rejects any pending request resolvers.
|
|
958
|
+
* @param taskId The task ID whose queue should be cleared
|
|
959
|
+
* @param sessionId Optional session ID for binding the operation to a specific session
|
|
960
|
+
*/
|
|
961
|
+
async _clearTaskQueue(taskId, sessionId) {
|
|
962
|
+
if (this._taskMessageQueue) {
|
|
963
|
+
// Reject any pending request resolvers
|
|
964
|
+
const messages = await this._taskMessageQueue.dequeueAll(taskId, sessionId);
|
|
965
|
+
for (const message of messages) {
|
|
966
|
+
if (message.type === 'request' && isJSONRPCRequest(message.message)) {
|
|
967
|
+
// Extract request ID from the message
|
|
968
|
+
const requestId = message.message.id;
|
|
969
|
+
const resolver = this._requestResolvers.get(requestId);
|
|
970
|
+
if (resolver) {
|
|
971
|
+
resolver(new McpError(ErrorCode.InternalError, 'Task cancelled or completed'));
|
|
972
|
+
this._requestResolvers.delete(requestId);
|
|
973
|
+
}
|
|
974
|
+
else {
|
|
975
|
+
// Log error when resolver is missing during cleanup for better observability
|
|
976
|
+
this._onerror(new Error(`Resolver missing for request ${requestId} during task ${taskId} cleanup`));
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* Waits for a task update (new messages or status change) with abort signal support.
|
|
984
|
+
* Uses polling to check for updates at the task's configured poll interval.
|
|
985
|
+
* @param taskId The task ID to wait for
|
|
986
|
+
* @param signal Abort signal to cancel the wait
|
|
987
|
+
* @returns Promise that resolves when an update occurs or rejects if aborted
|
|
988
|
+
*/
|
|
989
|
+
async _waitForTaskUpdate(taskId, signal) {
|
|
990
|
+
// Get the task's poll interval, falling back to default
|
|
991
|
+
let interval = this._options?.defaultTaskPollInterval ?? 1000;
|
|
992
|
+
try {
|
|
993
|
+
const task = await this._taskStore?.getTask(taskId);
|
|
994
|
+
if (task?.pollInterval) {
|
|
995
|
+
interval = task.pollInterval;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
catch {
|
|
999
|
+
// Use default interval if task lookup fails
|
|
1000
|
+
}
|
|
1001
|
+
return new Promise((resolve, reject) => {
|
|
1002
|
+
if (signal.aborted) {
|
|
1003
|
+
reject(new McpError(ErrorCode.InvalidRequest, 'Request cancelled'));
|
|
1004
|
+
return;
|
|
1005
|
+
}
|
|
1006
|
+
// Wait for the poll interval, then resolve so caller can check for updates
|
|
1007
|
+
const timeoutId = setTimeout(resolve, interval);
|
|
1008
|
+
// Clean up timeout and reject if aborted
|
|
1009
|
+
signal.addEventListener('abort', () => {
|
|
1010
|
+
clearTimeout(timeoutId);
|
|
1011
|
+
reject(new McpError(ErrorCode.InvalidRequest, 'Request cancelled'));
|
|
1012
|
+
}, { once: true });
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
requestTaskStore(request, sessionId) {
|
|
1016
|
+
const taskStore = this._taskStore;
|
|
1017
|
+
if (!taskStore) {
|
|
1018
|
+
throw new Error('No task store configured');
|
|
1019
|
+
}
|
|
1020
|
+
return {
|
|
1021
|
+
createTask: async (taskParams) => {
|
|
1022
|
+
if (!request) {
|
|
1023
|
+
throw new Error('No request provided');
|
|
1024
|
+
}
|
|
1025
|
+
return await taskStore.createTask(taskParams, request.id, {
|
|
1026
|
+
method: request.method,
|
|
1027
|
+
params: request.params
|
|
1028
|
+
}, sessionId);
|
|
1029
|
+
},
|
|
1030
|
+
getTask: async (taskId) => {
|
|
1031
|
+
const task = await taskStore.getTask(taskId, sessionId);
|
|
1032
|
+
if (!task) {
|
|
1033
|
+
throw new McpError(ErrorCode.InvalidParams, 'Failed to retrieve task: Task not found');
|
|
1034
|
+
}
|
|
1035
|
+
return task;
|
|
1036
|
+
},
|
|
1037
|
+
storeTaskResult: async (taskId, status, result) => {
|
|
1038
|
+
await taskStore.storeTaskResult(taskId, status, result, sessionId);
|
|
1039
|
+
// Get updated task state and send notification
|
|
1040
|
+
const task = await taskStore.getTask(taskId, sessionId);
|
|
1041
|
+
if (task) {
|
|
1042
|
+
const notification = TaskStatusNotificationSchema.parse({
|
|
1043
|
+
method: 'notifications/tasks/status',
|
|
1044
|
+
params: task
|
|
1045
|
+
});
|
|
1046
|
+
await this.notification(notification);
|
|
1047
|
+
if (isTerminal(task.status)) {
|
|
1048
|
+
this._cleanupTaskProgressHandler(taskId);
|
|
1049
|
+
// Don't clear queue here - it will be cleared after delivery via tasks/result
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
getTaskResult: taskId => {
|
|
1054
|
+
return taskStore.getTaskResult(taskId, sessionId);
|
|
1055
|
+
},
|
|
1056
|
+
updateTaskStatus: async (taskId, status, statusMessage) => {
|
|
1057
|
+
// Check if task exists
|
|
1058
|
+
const task = await taskStore.getTask(taskId, sessionId);
|
|
1059
|
+
if (!task) {
|
|
1060
|
+
throw new McpError(ErrorCode.InvalidParams, `Task "${taskId}" not found - it may have been cleaned up`);
|
|
1061
|
+
}
|
|
1062
|
+
// Don't allow transitions from terminal states
|
|
1063
|
+
if (isTerminal(task.status)) {
|
|
1064
|
+
throw new McpError(ErrorCode.InvalidParams, `Cannot update task "${taskId}" from terminal status "${task.status}" to "${status}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);
|
|
1065
|
+
}
|
|
1066
|
+
await taskStore.updateTaskStatus(taskId, status, statusMessage, sessionId);
|
|
1067
|
+
// Get updated task state and send notification
|
|
1068
|
+
const updatedTask = await taskStore.getTask(taskId, sessionId);
|
|
1069
|
+
if (updatedTask) {
|
|
1070
|
+
const notification = TaskStatusNotificationSchema.parse({
|
|
1071
|
+
method: 'notifications/tasks/status',
|
|
1072
|
+
params: updatedTask
|
|
1073
|
+
});
|
|
1074
|
+
await this.notification(notification);
|
|
1075
|
+
if (isTerminal(updatedTask.status)) {
|
|
1076
|
+
this._cleanupTaskProgressHandler(taskId);
|
|
1077
|
+
// Don't clear queue here - it will be cleared after delivery via tasks/result
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
listTasks: cursor => {
|
|
1082
|
+
return taskStore.listTasks(cursor, sessionId);
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
function isPlainObject(value) {
|
|
1088
|
+
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
1089
|
+
}
|
|
1090
|
+
export function mergeCapabilities(base, additional) {
|
|
1091
|
+
const result = { ...base };
|
|
1092
|
+
for (const key in additional) {
|
|
1093
|
+
const k = key;
|
|
1094
|
+
const addValue = additional[k];
|
|
1095
|
+
if (addValue === undefined)
|
|
1096
|
+
continue;
|
|
1097
|
+
const baseValue = result[k];
|
|
1098
|
+
if (isPlainObject(baseValue) && isPlainObject(addValue)) {
|
|
1099
|
+
result[k] = { ...baseValue, ...addValue };
|
|
1100
|
+
}
|
|
1101
|
+
else {
|
|
1102
|
+
result[k] = addValue;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
return result;
|
|
1106
|
+
}
|
|
1107
|
+
//# sourceMappingURL=protocol.js.map
|