agentworkshop 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-zh.md +24 -4
- package/README.md +25 -7
- package/app/assets/css/main.css +25 -9
- package/app/components/AppSidebar.vue +32 -7
- package/app/components/dashboard/DashboardAlarmQueue.vue +282 -0
- package/app/components/dashboard/DashboardStatusBand.vue +209 -0
- package/app/components/workshop/ChannelSessionList.vue +10 -6
- package/app/components/workshop/ChatTimeline.vue +223 -174
- package/app/components/workshop/Composer.vue +9 -2
- package/app/components/workshop/SessionManageView.vue +20 -8
- package/app/components/workshop/blocks/ClusterTool.vue +9 -4
- package/app/components/workshop/composer/ComposerToolbar.vue +10 -1
- package/app/components/workshop/console/Rail.vue +6 -0
- package/app/components/workshop/console/SessionMiniList.vue +3 -3
- package/app/components/workshop/console/Topbar.vue +11 -0
- package/app/composables/workshop/apiClient.ts +9 -5
- package/app/composables/workshop/event-blocks/attention.ts +2 -1
- package/app/composables/workshop/useDaqStream.ts +5 -2
- package/app/composables/workshop/useDcwStream.ts +22 -5
- package/app/composables/workshop/usePluginAdmin.ts +2 -2
- package/app/composables/workshop/useWorkshopApi.ts +22 -4
- package/app/layouts/console.vue +36 -1
- package/app/layouts/default.vue +30 -1
- package/app/pages/daq/composables/useDaqOptimizations.ts +9 -1
- package/app/pages/dcw/composables/useDcwRecipes.ts +7 -0
- package/app/pages/index.vue +15 -4
- package/app/pages/plugins/index.vue +4 -3
- package/app/pages/workshop/composables/useAgentHarnessOptions.ts +9 -4
- package/app/pages/workshop/composables/useTeamCreateDialog.ts +2 -2
- package/app/plugins/http.ts +7 -59
- package/app/stores/workshop/events.ts +2 -1
- package/app/utils/auth-session.ts +73 -0
- package/app/utils/pending-approval.ts +14 -0
- package/cli/commands/doctor.mjs +5 -1
- package/cli/commands/stop.mjs +48 -5
- package/config.yml +1 -1
- package/docs/aml.md +1 -1
- package/docs/cli.en.md +8 -8
- package/docs/cli.md +8 -8
- package/docs/plugins.en.md +1 -1
- package/docs/plugins.md +1 -1
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/locales/en.ts +10 -0
- package/i18n/locales/zh-CN.ts +10 -0
- package/package.json +1 -1
- package/scripts/_audit/omp-channel-project-session-live.mjs +481 -481
- package/scripts/_audit/omp-project-single-live.mjs +167 -167
- package/scripts/_audit/project-landing-live.mjs +659 -659
- package/scripts/_live-aml-real-chain.mjs +167 -0
- package/scripts/_live-aml-real-chain10.mjs +157 -0
- package/scripts/_live-aml-real-chain11.mjs +163 -0
- package/scripts/_live-aml-real-chain13.mjs +174 -0
- package/scripts/_live-aml-real-chain2.mjs +150 -0
- package/scripts/_live-aml-real-chain3.mjs +159 -0
- package/scripts/_live-aml-real-chain4.mjs +156 -0
- package/scripts/_live-aml-real-chain5.mjs +161 -0
- package/scripts/_live-aml-real-chain6.mjs +136 -0
- package/scripts/_live-aml-real-chain7.mjs +137 -0
- package/scripts/_live-aml-real-chain8.mjs +129 -0
- package/scripts/_live-aml-real-chain9.mjs +147 -0
- package/scripts/_live-rsi-b2-fix.mjs +62 -0
- package/scripts/_live-rsi-bootstrap.mjs +106 -0
- package/scripts/_live-rsi-channels.mjs +51 -0
- package/scripts/_live-rsi-evolution.mjs +152 -0
- package/scripts/_live-rsi-llm-smoke.mjs +47 -0
- package/scripts/_live-rsi-llm-smoke2.mjs +48 -0
- package/scripts/_live-rsi-plan-kick.mjs +51 -0
- package/scripts/_live-rsi-project.mjs +189 -0
- package/scripts/_live-rsi-project2.mjs +120 -0
- package/scripts/_live-rsi-provision.mjs +50 -0
- package/scripts/_live-rsi-shots.mjs +49 -0
- package/scripts/_live-rsi-smarter-check.mjs +92 -0
- package/scripts/_live-rsi-write-intent.mjs +99 -0
- package/scripts/acceptance-rsi-live-e2e.mjs +31 -5
- package/scripts/demo/accept-harness-fix.mjs +32 -0
- package/scripts/e2e-project-line-acceptance.mjs +117 -48
- package/scripts/start.mjs +16 -2
- package/server/api/system/shutdown.post.ts +61 -0
- package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +11 -0
- package/server/api/workshop/approvals/[id]/decide.post.ts +19 -3
- package/server/api/workshop/channels/[id]/harness-bench-runs/index.post.ts +62 -0
- package/server/api/workshop/channels/[id]/harness-profiles/index.post.ts +6 -4
- package/server/api/workshop/channels/[id]/harness-profiles/promote.post.ts +7 -2
- package/server/api/workshop/channels/[id]/improvement-proposals/decide.post.ts +39 -0
- package/server/api/workshop/channels/[id]/improvement-proposals/index.get.ts +24 -0
- package/server/api/workshop/channels/[id]/memories/merge.post.ts +37 -0
- package/server/api/workshop/channels/[id]/sessions/[sid]/close.post.ts +2 -1
- package/server/api/workshop/channels/[id]/sessions/[sid]/messages.post.ts +2 -1
- package/server/api/workshop/channels/[id]/sessions/index.post.ts +16 -3
- package/server/api/workshop/channels/[id]/tool-usage.get.ts +38 -0
- package/server/api/workshop/daq/[id]/ingest.post.ts +7 -1
- package/server/api/workshop/dcw/[id]/write.post.ts +13 -3
- package/server/api/workshop/dcw/params/[id]/write.post.ts +4 -3
- package/server/api/workshop/hitl/history.get.ts +51 -0
- package/server/api/workshop/plugins/index.get.ts +4 -2
- package/server/api/workshop/tasks/[id]/reopen.post.ts +2 -1
- package/server/api/workshop/ws/event-mapping.ts +16 -15
- package/server/plugins/security.ts +3 -1
- package/server/plugins/workshop.ts +11 -1
- package/server/services/workshop/agents/acp-hitl-mapping.ts +95 -0
- package/server/services/workshop/agents/agent-interface.ts +5 -0
- package/server/services/workshop/agents/base-agent.ts +34 -3
- package/server/services/workshop/agents/codex-agent/turn.ts +3 -6
- package/server/services/workshop/agents/dsh-agent.ts +8 -26
- package/server/services/workshop/agents/execution-mode.ts +6 -2
- package/server/services/workshop/agents/harness-availability.ts +25 -2
- package/server/services/workshop/agents/hermes-agent.ts +7 -24
- package/server/services/workshop/agents/hitl-capabilities.ts +36 -25
- package/server/services/workshop/agents/hitl-registry.ts +7 -1
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +1 -1
- package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +14 -2
- package/server/services/workshop/agents/industrial/line-tools.ts +10 -0
- package/server/services/workshop/agents/industrial/ops-tools.ts +47 -3
- package/server/services/workshop/agents/industrial/recipe-gate.ts +6 -4
- package/server/services/workshop/agents/omp-agent/client.ts +3 -1
- package/server/services/workshop/agents/omp-agent/core.ts +2 -2
- package/server/services/workshop/agents/omp-agent/supervision-decision.ts +8 -2
- package/server/services/workshop/agents/omp-agent/tools-steer.ts +8 -1
- package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +4 -5
- package/server/services/workshop/agents/pi-agent.ts +2 -0
- package/server/services/workshop/agents/registry.ts +31 -4
- package/server/services/workshop/agents/session-clone.ts +110 -45
- package/server/services/workshop/agents/tool-usage.ts +82 -0
- package/server/services/workshop/aml/dataset-builder.ts +47 -12
- package/server/services/workshop/aml/twin/channel-profile.ts +4 -1
- package/server/services/workshop/db/channel-event.repo.ts +20 -1
- package/server/services/workshop/db/channel-plugins.repo.ts +24 -0
- package/server/services/workshop/db/database/migrations-harness-bench.ts +44 -0
- package/server/services/workshop/db/database/migrations-session.ts +5 -0
- package/server/services/workshop/db/database/open.ts +3 -0
- package/server/services/workshop/db/database/rows.ts +2 -0
- package/server/services/workshop/db/database/schema.ts +5 -0
- package/server/services/workshop/db/harness-bench.repo.ts +66 -0
- package/server/services/workshop/db/improvement.repo.ts +17 -1
- package/server/services/workshop/db/memory.repo.ts +17 -7
- package/server/services/workshop/db/message.repo.ts +87 -25
- package/server/services/workshop/db/project-kernel.repo.ts +13 -0
- package/server/services/workshop/db/schema.sql +6 -0
- package/server/services/workshop/db/tool-registry.repo.ts +27 -34
- package/server/services/workshop/dcw/dcw-controller/write-audit.ts +8 -4
- package/server/services/workshop/dcw/dcw-controller/write.ts +3 -2
- package/server/services/workshop/dcw/dcw-node.repo.ts +11 -7
- package/server/services/workshop/dcw/drivers/index.ts +1 -1
- package/server/services/workshop/dcw/drivers/registry.ts +8 -9
- package/server/services/workshop/experience/bench-run.ts +143 -0
- package/server/services/workshop/experience/gates.ts +40 -5
- package/server/services/workshop/experience/overlay.ts +12 -1
- package/server/services/workshop/experience/promote.ts +148 -14
- package/server/services/workshop/process-model/eligibility-service.ts +58 -3
- package/server/services/workshop/projects/event-ingress.ts +7 -1
- package/server/services/workshop/projects/kernel.ts +9 -0
- package/server/services/workshop/projects/service.ts +378 -59
- package/server/services/workshop/projects/tool-surface.ts +3 -0
- package/server/services/workshop/projects/watchdog.ts +26 -0
- package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +24 -27
- package/server/services/workshop/runtime/agent-runtime/message.ts +5 -1
- package/server/services/workshop/runtime/agent-runtime/state.ts +4 -0
- package/server/services/workshop/runtime/agent-runtime/supervise.ts +28 -2
- package/server/services/workshop/runtime/mailbox.ts +25 -5
- package/server/services/workshop/runtime/manager/a2a.ts +10 -0
- package/server/services/workshop/runtime/manager/admin-agents.ts +33 -1
- package/server/services/workshop/runtime/manager/admin-channel.ts +17 -0
- package/server/services/workshop/runtime/manager/broadcast-targets.ts +29 -0
- package/server/services/workshop/runtime/manager/contracts.ts +2 -0
- package/server/services/workshop/runtime/manager/runtime-observe.ts +6 -0
- package/server/services/workshop/runtime/manager/runtime-wiring.ts +33 -8
- package/server/services/workshop/runtime/manager/state.ts +29 -9
- package/server/services/workshop/runtime/manager/tasks.ts +18 -0
- package/server/services/workshop/runtime/manager/workspace.ts +1 -0
- package/server/services/workshop/runtime/scheduler-loop/execute.ts +13 -1
- package/server/services/workshop/runtime/scheduler-loop/tick.ts +76 -62
- package/server/services/workshop/runtime/task-engine/transition.ts +9 -0
- package/server/services/workshop/runtime/task-engine/views.ts +6 -0
- package/server/services/workshop/settings.ts +2 -0
- package/server/utils/response.ts +24 -2
- package/server/utils/validate.ts +7 -3
- package/shared/agent-blocks.ts +31 -3
- package/shared/config/schema.json +1 -0
- package/shared/daq-protocol.ts +2 -0
- package/shared/workshop-protocol.ts +5 -2
- package/.output/.AgentWorkShop/aml-python/aml_eval.py +0 -204
- package/.output/.AgentWorkShop/aml-python/amlkit.py +0 -404
- package/.output/.AgentWorkShop/aml-python/requirements.txt +0 -12
- package/.output/.AgentWorkShop/aml-python/train-example.py +0 -92
- package/.output/.AgentWorkShop/aml-python/train-hybrid-example.py +0 -333
- package/.output/.AgentWorkShop/optimizer-python/probe.py +0 -24
- package/.output/.AgentWorkShop/optimizer-python/problems.py +0 -347
- package/.output/.AgentWorkShop/optimizer-python/worker.py +0 -119
- package/.output/.AgentWorkShop/prompts/aml-mission-default.md +0 -20
- package/.output/.AgentWorkShop/prompts/aml-playbook.md +0 -49
- package/.output/.AgentWorkShop/prompts/compaction-hints.md +0 -9
- package/.output/.AgentWorkShop/prompts/host-tools.en.json +0 -360
- package/.output/.AgentWorkShop/prompts/host-tools.json +0 -4816
- package/.output/.AgentWorkShop/prompts/lead-supervise.md +0 -73
- package/.output/.AgentWorkShop/prompts/mode-goal.md +0 -26
- package/.output/.AgentWorkShop/prompts/mode-loop.md +0 -10
- package/.output/.AgentWorkShop/prompts/mode-pipeline.md +0 -16
- package/.output/.AgentWorkShop/prompts/peer-lead-roster.md +0 -3
- package/.output/.AgentWorkShop/prompts/peer-message.md +0 -14
- package/.output/.AgentWorkShop/prompts/peer-reply-cross-channel.md +0 -10
- package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +0 -6
- package/.output/.AgentWorkShop/prompts/peer-reply-required.md +0 -9
- package/.output/.AgentWorkShop/prompts/project-leader.md +0 -74
- package/.output/.AgentWorkShop/prompts/project-member.md +0 -41
- package/.output/.AgentWorkShop/prompts/scenario-default.md +0 -11
- package/.output/.AgentWorkShop/prompts/system-manual.md +0 -23
- package/.output/.AgentWorkShop/prompts/team-roster.md +0 -9
- package/.output/.AgentWorkShop/prompts/worker-workflow.md +0 -19
- package/.output/.AgentWorkShop/schema.json +0 -176
- package/.output/nitro.json +0 -15
- package/.output/public/_nuxt/-Q8hhgyk.js +0 -1
- package/.output/public/_nuxt/0jcGGdiJ.js +0 -19
- package/.output/public/_nuxt/11Nifltq2.js +0 -16
- package/.output/public/_nuxt/2v5GdspM2.js +0 -1
- package/.output/public/_nuxt/36oeS8_R.js +0 -1
- package/.output/public/_nuxt/3e_2BycO2.js +0 -3
- package/.output/public/_nuxt/3stpx5v5.js +0 -1
- package/.output/public/_nuxt/79qPRzcC2.js +0 -3
- package/.output/public/_nuxt/90I2uxf9.js +0 -1
- package/.output/public/_nuxt/9j2J4k4w2.js +0 -1
- package/.output/public/_nuxt/9l23acpz2.js +0 -1
- package/.output/public/_nuxt/AuthGate.72Jdc4d6.css +0 -1
- package/.output/public/_nuxt/AwStateBlock.B9L_Fu6e.css +0 -1
- package/.output/public/_nuxt/B-9EbtIW2.js +0 -1
- package/.output/public/_nuxt/B1h4ZjKu.js +0 -20
- package/.output/public/_nuxt/B37d6f-P.js +0 -1
- package/.output/public/_nuxt/B3fa5S-c2.js +0 -17
- package/.output/public/_nuxt/B4JaolxV.js +0 -1
- package/.output/public/_nuxt/B4_lb-hZ2.js +0 -1
- package/.output/public/_nuxt/B5D1k6CB.js +0 -2
- package/.output/public/_nuxt/B5n3iKvm2.js +0 -1
- package/.output/public/_nuxt/B6C4WofF.js +0 -1
- package/.output/public/_nuxt/B6Olw0Op.js +0 -1
- package/.output/public/_nuxt/B6w08G2N2.js +0 -1
- package/.output/public/_nuxt/BBhLVYdM.js +0 -1
- package/.output/public/_nuxt/BBrRELH3.js +0 -2
- package/.output/public/_nuxt/BDNMzG2s.js +0 -1
- package/.output/public/_nuxt/BFUO7wT0.js +0 -1
- package/.output/public/_nuxt/BGkumHZ3.js +0 -102
- package/.output/public/_nuxt/BIuErhov2.js +0 -21
- package/.output/public/_nuxt/BJnH3XGI.js +0 -55
- package/.output/public/_nuxt/BK1Wg4k6.js +0 -1
- package/.output/public/_nuxt/BKAI-arY.js +0 -1
- package/.output/public/_nuxt/BOdCcIEI2.js +0 -1
- package/.output/public/_nuxt/BPfjrFyN.js +0 -1
- package/.output/public/_nuxt/BRWKp6702.js +0 -4
- package/.output/public/_nuxt/BUPY0LcX2.js +0 -1
- package/.output/public/_nuxt/BUf_m0T1.js +0 -1
- package/.output/public/_nuxt/BYcDah2p.js +0 -1
- package/.output/public/_nuxt/BYzim_Bn.js +0 -1
- package/.output/public/_nuxt/BZ0ix1Ab.js +0 -1
- package/.output/public/_nuxt/B_Obcbiu.js +0 -1
- package/.output/public/_nuxt/B_QTRqu7.js +0 -36
- package/.output/public/_nuxt/BaOjvyjw.js +0 -14
- package/.output/public/_nuxt/BaRRVnQ9.js +0 -1
- package/.output/public/_nuxt/Bb5R_mHx.js +0 -11
- package/.output/public/_nuxt/BcQzmnsA2.js +0 -13
- package/.output/public/_nuxt/BclHgAY62.js +0 -1
- package/.output/public/_nuxt/BeQSn5og.js +0 -1
- package/.output/public/_nuxt/Bi79W_18.js +0 -1
- package/.output/public/_nuxt/BjSEVANF.js +0 -1
- package/.output/public/_nuxt/BkSViqQd.js +0 -1
- package/.output/public/_nuxt/Bko5adbu.js +0 -1
- package/.output/public/_nuxt/BkpeWA4m.js +0 -1
- package/.output/public/_nuxt/BlBWS3ti2.js +0 -1
- package/.output/public/_nuxt/BlhXbeTX2.js +0 -1
- package/.output/public/_nuxt/BlqCJ-DH2.js +0 -1
- package/.output/public/_nuxt/BmBlIIJo.js +0 -1
- package/.output/public/_nuxt/BmrSQRl-.js +0 -15
- package/.output/public/_nuxt/Bmvt9ydE.js +0 -1
- package/.output/public/_nuxt/BnkO7kdT.js +0 -1
- package/.output/public/_nuxt/BoyuIoSm.js +0 -1
- package/.output/public/_nuxt/BpbFCFKu.js +0 -1
- package/.output/public/_nuxt/BqFaZ4kS.js +0 -1
- package/.output/public/_nuxt/BrIJiJSN.js +0 -18
- package/.output/public/_nuxt/BrJmRI0f.js +0 -1
- package/.output/public/_nuxt/BrRX-l9B.js +0 -4108
- package/.output/public/_nuxt/Brrx47vD2.js +0 -1
- package/.output/public/_nuxt/Bsz3bCTJ2.js +0 -1
- package/.output/public/_nuxt/BtumQhZK.js +0 -1
- package/.output/public/_nuxt/BuwoMOU3.js +0 -1
- package/.output/public/_nuxt/BvRk9kiK.js +0 -0
- package/.output/public/_nuxt/BvRk9kiK2.js +0 -0
- package/.output/public/_nuxt/BxHBIVAg2.js +0 -1
- package/.output/public/_nuxt/C--Z9QgF2.js +0 -1
- package/.output/public/_nuxt/C-_MFw252.js +0 -1
- package/.output/public/_nuxt/C-f6cf5p.js +0 -1
- package/.output/public/_nuxt/C-wrWG5m.js +0 -1
- package/.output/public/_nuxt/C0Db9tR_2.js +0 -1
- package/.output/public/_nuxt/C0I4h6do.js +0 -1
- package/.output/public/_nuxt/C14pM5G4.js +0 -1
- package/.output/public/_nuxt/C50LmoI12.js +0 -0
- package/.output/public/_nuxt/C63qmNDQ2.js +0 -1
- package/.output/public/_nuxt/C6lssmvl.js +0 -3
- package/.output/public/_nuxt/CBpkE3Aa.js +0 -1
- package/.output/public/_nuxt/CC6Ehw1G.js +0 -1
- package/.output/public/_nuxt/CDYLasP8.js +0 -1
- package/.output/public/_nuxt/CElzwyXQ.js +0 -1
- package/.output/public/_nuxt/CHSAaKgE.js +0 -209
- package/.output/public/_nuxt/CHoCLi5W.js +0 -47
- package/.output/public/_nuxt/CHpYSwnV.js +0 -1
- package/.output/public/_nuxt/CIlyTdj52.js +0 -1
- package/.output/public/_nuxt/CKNNF-xC.js +0 -1
- package/.output/public/_nuxt/CKcZnB1p2.js +0 -3
- package/.output/public/_nuxt/CMDDJOia2.js +0 -1
- package/.output/public/_nuxt/CMDM5xOY.js +0 -1
- package/.output/public/_nuxt/CMZiqkZT.js +0 -1
- package/.output/public/_nuxt/CNs_Ozdc2.js +0 -1
- package/.output/public/_nuxt/CPvFGbr8.js +0 -1
- package/.output/public/_nuxt/CTozMT1w.js +0 -1
- package/.output/public/_nuxt/CUdJHUOd2.js +0 -3
- package/.output/public/_nuxt/CWKEp1wx.js +0 -2
- package/.output/public/_nuxt/CYlhxKPT2.js +0 -1
- package/.output/public/_nuxt/CZgxZE_w2.js +0 -1
- package/.output/public/_nuxt/CapieqzZ.js +0 -1
- package/.output/public/_nuxt/CavpkQb0.js +0 -1
- package/.output/public/_nuxt/Cd_FGeQ02.js +0 -1
- package/.output/public/_nuxt/CeHHFuEe.js +0 -1
- package/.output/public/_nuxt/CeKA95oA.js +0 -3
- package/.output/public/_nuxt/CfE35xQa2.js +0 -1
- package/.output/public/_nuxt/CfIbFnJz2.js +0 -1
- package/.output/public/_nuxt/Cgk2EgLD.js +0 -2
- package/.output/public/_nuxt/Cgym6fLd2.js +0 -1
- package/.output/public/_nuxt/Ch1P2mIf.js +0 -1
- package/.output/public/_nuxt/Cj6ShdfL.js +0 -1
- package/.output/public/_nuxt/CjCOXFiz.js +0 -1
- package/.output/public/_nuxt/CjCc77Ql.js +0 -1
- package/.output/public/_nuxt/CjXh9ppu.js +0 -1
- package/.output/public/_nuxt/Cjo1t2IF.js +0 -1
- package/.output/public/_nuxt/ClHOB05A.js +0 -1
- package/.output/public/_nuxt/Clbj62PV2.js +0 -8
- package/.output/public/_nuxt/CmqsQnWt.js +0 -1
- package/.output/public/_nuxt/Cn6EojFe.js +0 -1
- package/.output/public/_nuxt/CnKTXX0a.js +0 -1
- package/.output/public/_nuxt/CnrGVJIr.js +0 -1
- package/.output/public/_nuxt/CpqcC-_22.js +0 -7
- package/.output/public/_nuxt/CuHnwZbm.js +0 -1
- package/.output/public/_nuxt/CwHhmA3N.js +0 -1
- package/.output/public/_nuxt/Cxkz2-AL.js +0 -1
- package/.output/public/_nuxt/D-80EfyA.js +0 -1
- package/.output/public/_nuxt/D08OeqjW.js +0 -1
- package/.output/public/_nuxt/D0foRT8I2.js +0 -9
- package/.output/public/_nuxt/D1MkndMZ.js +0 -3
- package/.output/public/_nuxt/D2EC-BTb2.js +0 -1
- package/.output/public/_nuxt/D2G_6rw22.js +0 -1
- package/.output/public/_nuxt/D4ZePemJ.js +0 -1
- package/.output/public/_nuxt/D6amMglQ.js +0 -1
- package/.output/public/_nuxt/D7TZLu4F2.js +0 -1
- package/.output/public/_nuxt/D83nVQPl.js +0 -1
- package/.output/public/_nuxt/D8W5rESd2.js +0 -1
- package/.output/public/_nuxt/D8pEcr9N.js +0 -1
- package/.output/public/_nuxt/D9saExk92.js +0 -1
- package/.output/public/_nuxt/DC-2eKo6.js +0 -1
- package/.output/public/_nuxt/DCSVbNSB.js +0 -1
- package/.output/public/_nuxt/DDHEw9dY2.js +0 -1
- package/.output/public/_nuxt/DDLi49qE.js +0 -1
- package/.output/public/_nuxt/DDVBwkyn.js +0 -18
- package/.output/public/_nuxt/DFI6asjj2.js +0 -1
- package/.output/public/_nuxt/DHC2ikLc2.js +0 -13
- package/.output/public/_nuxt/DHzMFapn2.js +0 -1
- package/.output/public/_nuxt/DIOBYJe3.js +0 -1
- package/.output/public/_nuxt/DIr9MY9q.js +0 -1
- package/.output/public/_nuxt/DK3Fl9T5.js +0 -1
- package/.output/public/_nuxt/DKOvbitt.js +0 -1
- package/.output/public/_nuxt/DM4Cc5KR.js +0 -24
- package/.output/public/_nuxt/DNlwacP7.js +0 -1
- package/.output/public/_nuxt/DNxudyND.js +0 -4
- package/.output/public/_nuxt/DOT-XQyi.js +0 -1
- package/.output/public/_nuxt/DPPC9Teq.js +0 -1
- package/.output/public/_nuxt/DPvZxAt02.js +0 -1
- package/.output/public/_nuxt/DQASfdDj.js +0 -1
- package/.output/public/_nuxt/DRjWbqgj.js +0 -1
- package/.output/public/_nuxt/DUeT6tuA.js +0 -1
- package/.output/public/_nuxt/DVW0xnJo2.js +0 -1
- package/.output/public/_nuxt/DVmcVDzr2.js +0 -2
- package/.output/public/_nuxt/DW6X-3XT.js +0 -1
- package/.output/public/_nuxt/DWy0AjON2.js +0 -1
- package/.output/public/_nuxt/DYeXifLh.js +0 -1
- package/.output/public/_nuxt/DYn9yfaP2.js +0 -20
- package/.output/public/_nuxt/DaB6g_SI2.js +0 -1
- package/.output/public/_nuxt/DaIBQrku.js +0 -1
- package/.output/public/_nuxt/DbKKkPx8.js +0 -1
- package/.output/public/_nuxt/Df35i2Tg.js +0 -1
- package/.output/public/_nuxt/DjGYvFyA.js +0 -1
- package/.output/public/_nuxt/DkJVtqfc2.js +0 -1
- package/.output/public/_nuxt/DkRozlDP2.js +0 -1
- package/.output/public/_nuxt/DkfR8ywD.js +0 -1
- package/.output/public/_nuxt/DlkrODnc2.js +0 -1
- package/.output/public/_nuxt/Du9v6qGB.js +0 -1
- package/.output/public/_nuxt/DuO-LNOb.js +0 -18
- package/.output/public/_nuxt/DuTmP7mz2.js +0 -2
- package/.output/public/_nuxt/DudoisLM.js +0 -1
- package/.output/public/_nuxt/DuvJisIF.js +0 -1
- package/.output/public/_nuxt/Dv_vyxzC.js +0 -1
- package/.output/public/_nuxt/DvfiRGS-.js +0 -1
- package/.output/public/_nuxt/Dwv6GMxX2.js +0 -1
- package/.output/public/_nuxt/Dx14WT7C.js +0 -1
- package/.output/public/_nuxt/DybRo6-H2.js +0 -0
- package/.output/public/_nuxt/DzPypczG.js +0 -1
- package/.output/public/_nuxt/DzS3BKMP2.js +0 -31
- package/.output/public/_nuxt/Ekq3Bz5S2.js +0 -1
- package/.output/public/_nuxt/FQK98hkN.js +0 -1
- package/.output/public/_nuxt/FXfpV_JX.js +0 -1
- package/.output/public/_nuxt/HclGiUj8.js +0 -1
- package/.output/public/_nuxt/KgE9WwCD.js +0 -98
- package/.output/public/_nuxt/LiHaSoeY.js +0 -2
- package/.output/public/_nuxt/LoginModal.DC-oRSSy.css +0 -1
- package/.output/public/_nuxt/MJD65-MH2.js +0 -1
- package/.output/public/_nuxt/N-CCmCsX.js +0 -1
- package/.output/public/_nuxt/OVP8I5uy.js +0 -1
- package/.output/public/_nuxt/OcOZpOac2.js +0 -1
- package/.output/public/_nuxt/OmpTerminalPanel.CoA7kG4C.css +0 -1
- package/.output/public/_nuxt/PWLUz4KM2.js +0 -1
- package/.output/public/_nuxt/PluginSlot.BqBzLD4T.css +0 -1
- package/.output/public/_nuxt/R1g64DNi2.js +0 -1
- package/.output/public/_nuxt/R5Pz7BqB.js +0 -1
- package/.output/public/_nuxt/RQZfgR_-.js +0 -1
- package/.output/public/_nuxt/TOWR4WpO.js +0 -1
- package/.output/public/_nuxt/TownView.CASu6sUI.css +0 -1
- package/.output/public/_nuxt/TugRY_4O.js +0 -1
- package/.output/public/_nuxt/WZrTmJqL.js +0 -1
- package/.output/public/_nuxt/XqXoaoDs.js +0 -1
- package/.output/public/_nuxt/YW-P_jm22.js +0 -1
- package/.output/public/_nuxt/ZBqKRppy2.js +0 -1
- package/.output/public/_nuxt/ZMaEnWy-.js +0 -1
- package/.output/public/_nuxt/Zkbt8Uk5.js +0 -1
- package/.output/public/_nuxt/ZqzOEndh.js +0 -1
- package/.output/public/_nuxt/_id_.BHZvZP0F.css +0 -1
- package/.output/public/_nuxt/_id_.CHcnHuNN.css +0 -1
- package/.output/public/_nuxt/_id_.zFcqhvGk.css +0 -1
- package/.output/public/_nuxt/_wsId_.2GiFh9as.css +0 -1
- package/.output/public/_nuxt/agents.BsyoIGhn.css +0 -1
- package/.output/public/_nuxt/aml.DgOMpDpv.css +0 -1
- package/.output/public/_nuxt/analysis.CGJZ8ctl.css +0 -1
- package/.output/public/_nuxt/board.ByfnFvkG.css +0 -1
- package/.output/public/_nuxt/builds/latest.json +0 -1
- package/.output/public/_nuxt/builds/meta/cf638aaa-655e-454c-9786-ffa73903190a.json +0 -1
- package/.output/public/_nuxt/channel-templates.CNEjJi8V.css +0 -1
- package/.output/public/_nuxt/console.u4ati522.css +0 -1
- package/.output/public/_nuxt/d8QWugeg.js +0 -1
- package/.output/public/_nuxt/dVw8IHY6.js +0 -1
- package/.output/public/_nuxt/daq.CS4HP5dD.css +0 -1
- package/.output/public/_nuxt/data.DgiWCudr.css +0 -1
- package/.output/public/_nuxt/dcw.BbTO8y0I.css +0 -1
- package/.output/public/_nuxt/default.CwrtJt16.css +0 -1
- 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.DttkgxyK.css +0 -1
- 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/iFgnsAy8.js +0 -1
- 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/jDuiDtGb2.js +0 -1
- package/.output/public/_nuxt/k9b520K-2.js +0 -1
- package/.output/public/_nuxt/kHiXWyIi.js +0 -1
- package/.output/public/_nuxt/kZl6yT-1.js +0 -1
- package/.output/public/_nuxt/lO5tpDZ52.js +0 -1
- package/.output/public/_nuxt/lSwTNaIl2.js +0 -1
- package/.output/public/_nuxt/logs.Dp8KWwBk.css +0 -1
- package/.output/public/_nuxt/monitor.OoNTwfMJ.css +0 -1
- package/.output/public/_nuxt/nDicqfeK2.js +0 -2
- package/.output/public/_nuxt/ontology.Clux6c4G.css +0 -1
- package/.output/public/_nuxt/operations.Cng_qjn9.css +0 -1
- package/.output/public/_nuxt/optimizer.P13x8ONW.css +0 -1
- package/.output/public/_nuxt/pL0Ovxcd.js +0 -2
- package/.output/public/_nuxt/pages.DsQ6cWQH.css +0 -1
- package/.output/public/_nuxt/permissions.C41gvgL_.css +0 -1
- package/.output/public/_nuxt/pipeline.CYRrisV7.css +0 -1
- package/.output/public/_nuxt/plugins.BmI7067O.css +0 -1
- package/.output/public/_nuxt/projects.B0DecJy4.css +0 -1
- package/.output/public/_nuxt/qRhx4oNY2.js +0 -1
- package/.output/public/_nuxt/ri9UF8rk.js +0 -2
- package/.output/public/_nuxt/rxhDcyfF.js +0 -1
- package/.output/public/_nuxt/schedules.CW6MrUU7.css +0 -1
- package/.output/public/_nuxt/settings.NpUsT4m-.css +0 -1
- package/.output/public/_nuxt/studio.BiiONLaO.css +0 -1
- package/.output/public/_nuxt/teams.FXqrphf_.css +0 -1
- package/.output/public/_nuxt/tokens.DKZWCP5v.css +0 -1
- package/.output/public/_nuxt/tools.YhBrIlWP.css +0 -1
- package/.output/public/_nuxt/town.BZPLR4A_.css +0 -1
- package/.output/public/_nuxt/town.oVv8Kxwv.css +0 -1
- package/.output/public/_nuxt/users.CxoVGm_i.css +0 -1
- package/.output/public/_nuxt/workshop.Csi6_Wwg.css +0 -1
- 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/character/yangyang-walk.glb +0 -4
- 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 +0 -1
- 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 +0 -14
- package/.output/public/robots.txt +0 -3
- package/.output/public/scene/background/cyber-town-background.svg +0 -110
- package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs +0 -716
- package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs.map +0 -1
- package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs +0 -61
- package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs.map +0 -1
- package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs +0 -72
- package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs.map +0 -1
- package/.output/server/chunks/_/LeftOutlined.mjs +0 -23
- package/.output/server/chunks/_/LeftOutlined.mjs.map +0 -1
- package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs +0 -170
- package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs.map +0 -1
- package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs +0 -947
- package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs.map +0 -1
- package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs +0 -141
- package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs.map +0 -1
- package/.output/server/chunks/_/RightOutlined.mjs +0 -23
- package/.output/server/chunks/_/RightOutlined.mjs.map +0 -1
- package/.output/server/chunks/_/SearchOutlined.mjs +0 -1401
- package/.output/server/chunks/_/SearchOutlined.mjs.map +0 -1
- package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs +0 -6517
- package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-7j1H6aZV.mjs +0 -397
- package/.output/server/chunks/_/_id_-7j1H6aZV.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs +0 -2117
- package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-Dl378h-P.mjs +0 -995
- package/.output/server/chunks/_/_id_-Dl378h-P.mjs.map +0 -1
- package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs +0 -14629
- package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs.map +0 -1
- package/.output/server/chunks/_/access.mjs +0 -155
- package/.output/server/chunks/_/access.mjs.map +0 -1
- package/.output/server/chunks/_/agent-dto.mjs +0 -27
- package/.output/server/chunks/_/agent-dto.mjs.map +0 -1
- package/.output/server/chunks/_/agents-b-cZhEKx.mjs +0 -1081
- package/.output/server/chunks/_/agents-b-cZhEKx.mjs.map +0 -1
- package/.output/server/chunks/_/alert-CbahhWU9.mjs +0 -263
- package/.output/server/chunks/_/alert-CbahhWU9.mjs.map +0 -1
- package/.output/server/chunks/_/aml-B1Ol798_.mjs +0 -816
- package/.output/server/chunks/_/aml-B1Ol798_.mjs.map +0 -1
- package/.output/server/chunks/_/analysis-DvtU3Ots.mjs +0 -564
- package/.output/server/chunks/_/analysis-DvtU3Ots.mjs.map +0 -1
- package/.output/server/chunks/_/api-BG72BTM0.mjs +0 -55
- package/.output/server/chunks/_/api-BG72BTM0.mjs.map +0 -1
- package/.output/server/chunks/_/api-Cl6M-Xfy.mjs +0 -66
- package/.output/server/chunks/_/api-Cl6M-Xfy.mjs.map +0 -1
- package/.output/server/chunks/_/api-D08TrIcY.mjs +0 -74
- package/.output/server/chunks/_/api-D08TrIcY.mjs.map +0 -1
- package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs +0 -47
- package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs.map +0 -1
- package/.output/server/chunks/_/apiClient-D24CIrq6.mjs +0 -81
- package/.output/server/chunks/_/apiClient-D24CIrq6.mjs.map +0 -1
- package/.output/server/chunks/_/binding-authz.mjs +0 -30
- package/.output/server/chunks/_/binding-authz.mjs.map +0 -1
- package/.output/server/chunks/_/board-BTPPacSz.mjs +0 -191
- package/.output/server/chunks/_/board-BTPPacSz.mjs.map +0 -1
- package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs +0 -117
- package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs.map +0 -1
- package/.output/server/chunks/_/card-B6pQnI6T.mjs +0 -953
- package/.output/server/chunks/_/card-B6pQnI6T.mjs.map +0 -1
- package/.output/server/chunks/_/catalog-view.mjs +0 -177
- package/.output/server/chunks/_/catalog-view.mjs.map +0 -1
- package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs +0 -945
- package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs.map +0 -1
- package/.output/server/chunks/_/character-asset.repo.mjs +0 -83
- package/.output/server/chunks/_/character-asset.repo.mjs.map +0 -1
- package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs +0 -233
- package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs.map +0 -1
- package/.output/server/chunks/_/chart-repo.mjs +0 -160
- package/.output/server/chunks/_/chart-repo.mjs.map +0 -1
- package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs +0 -117
- package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs.map +0 -1
- package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs +0 -439
- package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs.map +0 -1
- package/.output/server/chunks/_/client-only-Ci512Brd.mjs +0 -43
- package/.output/server/chunks/_/client-only-Ci512Brd.mjs.map +0 -1
- package/.output/server/chunks/_/console-DYDLwpPp.mjs +0 -94
- package/.output/server/chunks/_/console-DYDLwpPp.mjs.map +0 -1
- package/.output/server/chunks/_/constants-HPHJvjne.mjs +0 -144
- package/.output/server/chunks/_/constants-HPHJvjne.mjs.map +0 -1
- package/.output/server/chunks/_/core-1kL9oN1v.mjs +0 -294
- package/.output/server/chunks/_/core-1kL9oN1v.mjs.map +0 -1
- package/.output/server/chunks/_/daq-WT075QK5.mjs +0 -1318
- package/.output/server/chunks/_/daq-WT075QK5.mjs.map +0 -1
- package/.output/server/chunks/_/dashboard-repo.mjs +0 -127
- package/.output/server/chunks/_/dashboard-repo.mjs.map +0 -1
- package/.output/server/chunks/_/data-CJTJTwA-.mjs +0 -486
- package/.output/server/chunks/_/data-CJTJTwA-.mjs.map +0 -1
- package/.output/server/chunks/_/data-export.mjs +0 -235
- package/.output/server/chunks/_/data-export.mjs.map +0 -1
- package/.output/server/chunks/_/data-query.mjs +0 -162
- package/.output/server/chunks/_/data-query.mjs.map +0 -1
- package/.output/server/chunks/_/dataset-reader.mjs +0 -61
- package/.output/server/chunks/_/dataset-reader.mjs.map +0 -1
- package/.output/server/chunks/_/dcw-BhY0QjNL.mjs +0 -507
- package/.output/server/chunks/_/dcw-BhY0QjNL.mjs.map +0 -1
- package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs +0 -20
- package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs.map +0 -1
- package/.output/server/chunks/_/default-C3L2_Bnq.mjs +0 -2205
- package/.output/server/chunks/_/default-C3L2_Bnq.mjs.map +0 -1
- package/.output/server/chunks/_/descriptions-AfshxGyM.mjs +0 -406
- package/.output/server/chunks/_/descriptions-AfshxGyM.mjs.map +0 -1
- package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs +0 -834
- package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs.map +0 -1
- package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs +0 -540
- package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs.map +0 -1
- package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs +0 -14
- package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs.map +0 -1
- package/.output/server/chunks/_/eda-db.mjs +0 -211
- package/.output/server/chunks/_/eda-db.mjs.map +0 -1
- package/.output/server/chunks/_/eda-run.repo.mjs +0 -165
- package/.output/server/chunks/_/eda-run.repo.mjs.map +0 -1
- package/.output/server/chunks/_/entity.mjs +0 -174
- package/.output/server/chunks/_/entity.mjs.map +0 -1
- package/.output/server/chunks/_/error-500.mjs +0 -20
- package/.output/server/chunks/_/error-500.mjs.map +0 -1
- package/.output/server/chunks/_/es-oIijD7n7.mjs +0 -45
- package/.output/server/chunks/_/es-oIijD7n7.mjs.map +0 -1
- package/.output/server/chunks/_/features.mjs +0 -284
- package/.output/server/chunks/_/features.mjs.map +0 -1
- package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs +0 -2448
- package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs.map +0 -1
- package/.output/server/chunks/_/form-CjNa079N.mjs +0 -4712
- package/.output/server/chunks/_/form-CjNa079N.mjs.map +0 -1
- package/.output/server/chunks/_/golden.mjs +0 -197
- package/.output/server/chunks/_/golden.mjs.map +0 -1
- package/.output/server/chunks/_/hasIn-BRN-piJW.mjs +0 -553
- package/.output/server/chunks/_/hasIn-BRN-piJW.mjs.map +0 -1
- package/.output/server/chunks/_/hitl-4SjXbNrk.mjs +0 -132
- package/.output/server/chunks/_/hitl-4SjXbNrk.mjs.map +0 -1
- package/.output/server/chunks/_/host-bindings.mjs +0 -76
- package/.output/server/chunks/_/host-bindings.mjs.map +0 -1
- package/.output/server/chunks/_/index.mjs +0 -585
- package/.output/server/chunks/_/index.mjs.map +0 -1
- package/.output/server/chunks/_/input-D8G9mBIc.mjs +0 -2181
- package/.output/server/chunks/_/input-D8G9mBIc.mjs.map +0 -1
- package/.output/server/chunks/_/input-number-DHHaQM5z.mjs +0 -1120
- package/.output/server/chunks/_/input-number-DHHaQM5z.mjs.map +0 -1
- package/.output/server/chunks/_/interval-Biegu5WR.mjs +0 -9
- package/.output/server/chunks/_/interval-Biegu5WR.mjs.map +0 -1
- package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs +0 -7
- package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs.map +0 -1
- package/.output/server/chunks/_/line-scope.mjs +0 -32
- package/.output/server/chunks/_/line-scope.mjs.map +0 -1
- package/.output/server/chunks/_/logs-ClfR5sWn.mjs +0 -494
- package/.output/server/chunks/_/logs-ClfR5sWn.mjs.map +0 -1
- package/.output/server/chunks/_/markdown-DGPyLniR.mjs +0 -77
- package/.output/server/chunks/_/markdown-DGPyLniR.mjs.map +0 -1
- package/.output/server/chunks/_/menu-BjRtE2uF.mjs +0 -1952
- package/.output/server/chunks/_/menu-BjRtE2uF.mjs.map +0 -1
- package/.output/server/chunks/_/mes-console.mjs +0 -191
- package/.output/server/chunks/_/mes-console.mjs.map +0 -1
- package/.output/server/chunks/_/mes-secrets.repo.mjs +0 -109
- package/.output/server/chunks/_/mes-secrets.repo.mjs.map +0 -1
- package/.output/server/chunks/_/mes-templates.mjs +0 -297
- package/.output/server/chunks/_/mes-templates.mjs.map +0 -1
- package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs +0 -2258
- package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs.map +0 -1
- package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs +0 -6
- package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs.map +0 -1
- package/.output/server/chunks/_/nitro.mjs +0 -92811
- package/.output/server/chunks/_/nitro.mjs.map +0 -1
- package/.output/server/chunks/_/ocap.mjs +0 -145
- package/.output/server/chunks/_/ocap.mjs.map +0 -1
- package/.output/server/chunks/_/ontology-CS5n10_j.mjs +0 -1514
- package/.output/server/chunks/_/ontology-CS5n10_j.mjs.map +0 -1
- package/.output/server/chunks/_/operations-4t5GxQcD.mjs +0 -322
- package/.output/server/chunks/_/operations-4t5GxQcD.mjs.map +0 -1
- package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs +0 -2314
- package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs.map +0 -1
- package/.output/server/chunks/_/pages-BwA6EqWo.mjs +0 -557
- package/.output/server/chunks/_/pages-BwA6EqWo.mjs.map +0 -1
- package/.output/server/chunks/_/pagination-CeNvMdzb.mjs +0 -1346
- package/.output/server/chunks/_/pagination-CeNvMdzb.mjs.map +0 -1
- package/.output/server/chunks/_/permissions-ki7cqe3L.mjs +0 -666
- package/.output/server/chunks/_/permissions-ki7cqe3L.mjs.map +0 -1
- package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs +0 -253
- package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs.map +0 -1
- package/.output/server/chunks/_/plugins-CqG7txbg.mjs +0 -296
- package/.output/server/chunks/_/plugins-CqG7txbg.mjs.map +0 -1
- package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs +0 -340
- package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs.map +0 -1
- package/.output/server/chunks/_/progress-B0k_coQK.mjs +0 -775
- package/.output/server/chunks/_/progress-B0k_coQK.mjs.map +0 -1
- package/.output/server/chunks/_/projects-k6arYbBh.mjs +0 -345
- package/.output/server/chunks/_/projects-k6arYbBh.mjs.map +0 -1
- package/.output/server/chunks/_/promote.mjs +0 -186
- package/.output/server/chunks/_/promote.mjs.map +0 -1
- package/.output/server/chunks/_/radio-DcpEAHDK.mjs +0 -919
- package/.output/server/chunks/_/radio-DcpEAHDK.mjs.map +0 -1
- package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs +0 -78
- package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs.map +0 -1
- package/.output/server/chunks/_/rest-auth.mjs +0 -44
- package/.output/server/chunks/_/rest-auth.mjs.map +0 -1
- package/.output/server/chunks/_/scene-layout.repo.mjs +0 -66
- package/.output/server/chunks/_/scene-layout.repo.mjs.map +0 -1
- package/.output/server/chunks/_/schedules-CxmHiyKa.mjs +0 -7176
- package/.output/server/chunks/_/schedules-CxmHiyKa.mjs.map +0 -1
- package/.output/server/chunks/_/segmented-dvzd2V-7.mjs +0 -341
- package/.output/server/chunks/_/segmented-dvzd2V-7.mjs.map +0 -1
- package/.output/server/chunks/_/select-imeFpXye.mjs +0 -3923
- package/.output/server/chunks/_/select-imeFpXye.mjs.map +0 -1
- package/.output/server/chunks/_/settings-DKTf_GTL.mjs +0 -1043
- package/.output/server/chunks/_/settings-DKTf_GTL.mjs.map +0 -1
- package/.output/server/chunks/_/space-BlxKTnHk.mjs +0 -110
- package/.output/server/chunks/_/space-BlxKTnHk.mjs.map +0 -1
- package/.output/server/chunks/_/spc.mjs +0 -302
- package/.output/server/chunks/_/spc.mjs.map +0 -1
- package/.output/server/chunks/_/spin-ekVP9wPb.mjs +0 -357
- package/.output/server/chunks/_/spin-ekVP9wPb.mjs.map +0 -1
- package/.output/server/chunks/_/studio-RoQLs8jm.mjs +0 -381
- package/.output/server/chunks/_/studio-RoQLs8jm.mjs.map +0 -1
- package/.output/server/chunks/_/switch-DhwrCb3m.mjs +0 -377
- package/.output/server/chunks/_/switch-DhwrCb3m.mjs.map +0 -1
- package/.output/server/chunks/_/table-DrLcTII4.mjs +0 -7546
- package/.output/server/chunks/_/table-DrLcTII4.mjs.map +0 -1
- package/.output/server/chunks/_/tabs-CKejLvNM.mjs +0 -1916
- package/.output/server/chunks/_/tabs-CKejLvNM.mjs.map +0 -1
- package/.output/server/chunks/_/tag-D9TCOB--.mjs +0 -242
- package/.output/server/chunks/_/tag-D9TCOB--.mjs.map +0 -1
- package/.output/server/chunks/_/teams-jMekGUAp.mjs +0 -1206
- package/.output/server/chunks/_/teams-jMekGUAp.mjs.map +0 -1
- package/.output/server/chunks/_/template-repo.mjs +0 -97
- package/.output/server/chunks/_/template-repo.mjs.map +0 -1
- package/.output/server/chunks/_/tokens-CO9_NpeD.mjs +0 -1066
- package/.output/server/chunks/_/tokens-CO9_NpeD.mjs.map +0 -1
- package/.output/server/chunks/_/tools-D1-VH-_L.mjs +0 -499
- package/.output/server/chunks/_/tools-D1-VH-_L.mjs.map +0 -1
- package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs +0 -920
- package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs.map +0 -1
- package/.output/server/chunks/_/town-CCkZYizH.mjs +0 -144
- package/.output/server/chunks/_/town-CCkZYizH.mjs.map +0 -1
- package/.output/server/chunks/_/town-pIgFRdcR.mjs +0 -77
- package/.output/server/chunks/_/town-pIgFRdcR.mjs.map +0 -1
- package/.output/server/chunks/_/types-D6J7slEa.mjs +0 -5565
- package/.output/server/chunks/_/types-D6J7slEa.mjs.map +0 -1
- package/.output/server/chunks/_/types-DWqIeMRP.mjs +0 -78
- package/.output/server/chunks/_/types-DWqIeMRP.mjs.map +0 -1
- package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs +0 -126
- package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs.map +0 -1
- package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs +0 -79
- package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs.map +0 -1
- package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs +0 -69
- package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs.map +0 -1
- package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs +0 -119
- package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs.map +0 -1
- package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs +0 -135
- package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs +0 -94
- package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs +0 -88
- package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs +0 -196
- package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs +0 -91
- package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs +0 -84
- package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs +0 -269
- package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs +0 -95
- package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs +0 -88
- package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs.map +0 -1
- package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs +0 -132
- package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs.map +0 -1
- package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs +0 -131
- package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs.map +0 -1
- package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs +0 -74
- package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs +0 -144
- package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs +0 -72
- package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs +0 -81
- package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs +0 -178
- package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs +0 -101
- package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs +0 -161
- package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs +0 -224
- package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs +0 -92
- package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs +0 -138
- package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs +0 -395
- package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs +0 -189
- package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs.map +0 -1
- package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs +0 -361
- package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs.map +0 -1
- package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs +0 -150
- package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs +0 -221
- package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs +0 -69
- package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs +0 -186
- package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs +0 -150
- package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs +0 -73
- package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs +0 -81
- package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs +0 -139
- package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs +0 -106
- package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs +0 -123
- package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs +0 -95
- package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs +0 -100
- package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs +0 -90
- package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs +0 -260
- package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs +0 -455
- package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs +0 -93
- package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs +0 -142
- package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs.map +0 -1
- package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs +0 -128
- package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs.map +0 -1
- package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs +0 -109
- package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs.map +0 -1
- package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs +0 -55
- package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs.map +0 -1
- package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs +0 -79
- package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs.map +0 -1
- package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs +0 -91
- package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs.map +0 -1
- package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs +0 -152
- package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs.map +0 -1
- package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs +0 -85
- package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs.map +0 -1
- package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs +0 -219
- package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs.map +0 -1
- package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs +0 -140
- package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs.map +0 -1
- package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs +0 -93
- package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs.map +0 -1
- package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs +0 -73
- package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs.map +0 -1
- package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs +0 -197
- package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs.map +0 -1
- package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs +0 -149
- package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs.map +0 -1
- package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs +0 -158
- package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs.map +0 -1
- package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs +0 -13
- package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs.map +0 -1
- package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs +0 -49
- package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs +0 -81
- package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs +0 -86
- package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs +0 -99
- package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs +0 -82
- package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs +0 -84
- package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs +0 -105
- package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs.map +0 -1
- package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs +0 -125
- package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs.map +0 -1
- package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs +0 -74
- package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs.map +0 -1
- package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs +0 -117
- package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs.map +0 -1
- package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs +0 -89
- package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs.map +0 -1
- package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs +0 -120
- package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs.map +0 -1
- package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs +0 -94
- package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs.map +0 -1
- package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs +0 -25
- package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs +0 -143
- package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs +0 -140
- package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs +0 -143
- package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs +0 -1397
- package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs +0 -62
- package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs +0 -100
- package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs +0 -80
- package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs.map +0 -1
- package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs +0 -176
- package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs.map +0 -1
- package/.output/server/chunks/_/user.schema.mjs +0 -40
- package/.output/server/chunks/_/user.schema.mjs.map +0 -1
- package/.output/server/chunks/_/users-IRIkTyUB.mjs +0 -657
- package/.output/server/chunks/_/users-IRIkTyUB.mjs.map +0 -1
- package/.output/server/chunks/_/workshop-D2ucb128.mjs +0 -549
- package/.output/server/chunks/_/workshop-D2ucb128.mjs.map +0 -1
- package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs +0 -139
- package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs.map +0 -1
- package/.output/server/chunks/routes/api/health.get.mjs +0 -58
- package/.output/server/chunks/routes/api/health.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/index.get.mjs +0 -35
- package/.output/server/chunks/routes/api/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/index.post.mjs +0 -46
- package/.output/server/chunks/routes/api/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +0 -563
- package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +0 -1
- package/.output/server/chunks/routes/api/metrics.mjs +0 -87
- package/.output/server/chunks/routes/api/metrics.mjs.map +0 -1
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +0 -63
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +0 -39
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +0 -31
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +0 -31
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/backup/list.get.mjs +0 -52
- package/.output/server/chunks/routes/api/system/backup/list.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs +0 -40
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +0 -37
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +0 -41
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/config.get.mjs +0 -33
- package/.output/server/chunks/routes/api/system/config.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/system/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/index.patch.mjs +0 -50
- package/.output/server/chunks/routes/api/system/index.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/index.post.mjs +0 -41
- package/.output/server/chunks/routes/api/system/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/index2.get.mjs +0 -33
- package/.output/server/chunks/routes/api/system/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +0 -188
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +0 -50
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/monitor.get.mjs +0 -33
- package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs +0 -45
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +0 -45
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/system/timezone.get.mjs +0 -41
- package/.output/server/chunks/routes/api/system/timezone.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +0 -46
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +0 -35
- package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +0 -48
- package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/change-password.post.mjs +0 -38
- package/.output/server/chunks/routes/api/users/change-password.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs +0 -32
- package/.output/server/chunks/routes/api/users/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/index.post.mjs +0 -34
- package/.output/server/chunks/routes/api/users/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/login.post.mjs +0 -33
- package/.output/server/chunks/routes/api/users/login.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs +0 -32
- package/.output/server/chunks/routes/api/users/logout.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs +0 -32
- package/.output/server/chunks/routes/api/users/me.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/register.post.mjs +0 -36
- package/.output/server/chunks/routes/api/users/register.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs +0 -33
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +0 -34
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +0 -34
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +0 -36
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs +0 -31
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +0 -78
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +0 -345
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +0 -123
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +0 -64
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +0 -131
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +0 -80
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +0 -80
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +0 -63
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +0 -66
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +0 -67
- package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +0 -68
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +0 -106
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +0 -90
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +0 -90
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +0 -66
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs +0 -64
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/caller.mjs +0 -116
- package/.output/server/chunks/routes/api/workshop/caller.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +0 -68
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +0 -73
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +0 -58
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +0 -68
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +0 -53
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +0 -66
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +0 -94
- package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +0 -76
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +0 -112
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +0 -105
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +0 -99
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +0 -69
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs +0 -65
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +0 -91
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +0 -72
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +0 -89
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +0 -66
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +0 -182
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +0 -63
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +0 -75
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +0 -68
- package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +0 -58
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +0 -69
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +0 -102
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +0 -53
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +0 -69
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +0 -125
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +0 -141
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +0 -61
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +0 -106
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +0 -58
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +0 -64
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +0 -283
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +0 -75
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index.mjs +0 -64
- package/.output/server/chunks/routes/api/workshop/index.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +0 -67
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index10.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/index10.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +0 -53
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index11.post.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/index11.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index12.post.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/index12.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index17.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/index17.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index18.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/index18.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +0 -88
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +0 -55
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +0 -80
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +0 -284
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +0 -59
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +0 -87
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +0 -70
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs +0 -91
- package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +0 -75
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +0 -56
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +0 -53
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +0 -69
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +0 -72
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +0 -66
- package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/ontology/index.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +0 -65
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +0 -68
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +0 -62
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +0 -63
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +0 -54
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +0 -42
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +0 -169
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +0 -124
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +0 -564
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +0 -57
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +0 -60
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs +0 -40
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +0 -37
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs +0 -46
- package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +0 -71
- package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +0 -41
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +0 -34
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +0 -44
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +0 -51
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs +0 -43
- package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +0 -50
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +0 -49
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +0 -52
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +0 -39
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +0 -38
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +0 -33
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +0 -45
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +0 -48
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +0 -47
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +0 -36
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +0 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +0 -35
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +0 -1
- package/.output/server/chunks/routes/renderer.mjs +0 -392
- package/.output/server/chunks/routes/renderer.mjs.map +0 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
- package/.output/server/chunks/virtual/entry.mjs +0 -26431
- package/.output/server/chunks/virtual/entry.mjs.map +0 -1
- package/.output/server/chunks/virtual/precomputed.mjs +0 -4
- package/.output/server/chunks/virtual/precomputed.mjs.map +0 -1
- package/.output/server/index.mjs +0 -36
- package/.output/server/index.mjs.map +0 -1
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +0 -22
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +0 -5
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +0 -17
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +0 -45
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +0 -2
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +0 -111
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +0 -28
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +0 -37
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/dist/index.cjs +0 -42
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/package.json +0 -32
- package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +0 -299
- package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +0 -49
- package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +0 -257
- package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +0 -53
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +0 -36
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +0 -26
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +0 -30
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +0 -202
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +0 -193
- package/.output/server/node_modules/@adonisjs/hash/build/index.js +0 -9
- package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +0 -9
- package/.output/server/node_modules/@adonisjs/hash/package.json +0 -150
- package/.output/server/node_modules/@ant-design/colors/dist/index.js +0 -255
- package/.output/server/node_modules/@ant-design/colors/package.json +0 -53
- package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/package.json +0 -84
- package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +0 -225
- package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14611
- package/.output/server/node_modules/@babel/parser/package.json +0 -50
- package/.output/server/node_modules/@ctrl/tinycolor/dist/conversion.js +0 -250
- package/.output/server/node_modules/@ctrl/tinycolor/dist/css-color-names.js +0 -157
- package/.output/server/node_modules/@ctrl/tinycolor/dist/format-input.js +0 -189
- package/.output/server/node_modules/@ctrl/tinycolor/dist/from-ratio.js +0 -30
- package/.output/server/node_modules/@ctrl/tinycolor/dist/index.js +0 -512
- package/.output/server/node_modules/@ctrl/tinycolor/dist/interfaces.js +0 -2
- package/.output/server/node_modules/@ctrl/tinycolor/dist/public_api.js +0 -28
- package/.output/server/node_modules/@ctrl/tinycolor/dist/random.js +0 -282
- package/.output/server/node_modules/@ctrl/tinycolor/dist/readability.js +0 -86
- package/.output/server/node_modules/@ctrl/tinycolor/dist/to-ms-filter.js +0 -20
- package/.output/server/node_modules/@ctrl/tinycolor/dist/util.js +0 -92
- package/.output/server/node_modules/@ctrl/tinycolor/package.json +0 -80
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +0 -64
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +0 -16
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +0 -32
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +0 -246
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +0 -1
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +0 -41
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -429
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +0 -917
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +0 -13
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +0 -949
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -228
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -51
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +0 -57
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -1107
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +0 -92
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +0 -239
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -2065
- package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -87
- package/.output/server/node_modules/@modelcontextprotocol/sdk/package.json +0 -165
- package/.output/server/node_modules/@phc/format/index.js +0 -229
- package/.output/server/node_modules/@phc/format/package.json +0 -60
- package/.output/server/node_modules/@poppinss/exception/build/index.js +0 -44
- package/.output/server/node_modules/@poppinss/exception/package.json +0 -109
- package/.output/server/node_modules/@poppinss/object-builder/build/index.js +0 -49
- package/.output/server/node_modules/@poppinss/object-builder/package.json +0 -112
- package/.output/server/node_modules/@poppinss/string/build/index.js +0 -2
- package/.output/server/node_modules/@poppinss/string/build/string-DVIVpZLG.js +0 -737
- package/.output/server/node_modules/@poppinss/string/package.json +0 -131
- package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +0 -17
- package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +0 -7
- package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +0 -12
- package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +0 -7
- package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +0 -39
- package/.output/server/node_modules/@poppinss/utils/build/index.js +0 -365
- package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +0 -39
- package/.output/server/node_modules/@poppinss/utils/package.json +0 -153
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6801
- package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -692
- package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1420
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +0 -6781
- package/.output/server/node_modules/@vue/devtools-kit/package.json +0 -45
- package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +0 -378
- package/.output/server/node_modules/@vue/devtools-shared/package.json +0 -35
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1903
- package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6976
- package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1841
- package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -904
- package/.output/server/node_modules/@vue/server-renderer/package.json +0 -53
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -609
- package/.output/server/node_modules/@vue/shared/package.json +0 -47
- package/.output/server/node_modules/@xterm/addon-fit/lib/addon-fit.js +0 -2
- package/.output/server/node_modules/@xterm/addon-fit/package.json +0 -26
- package/.output/server/node_modules/@xterm/xterm/lib/xterm.js +0 -2
- package/.output/server/node_modules/@xterm/xterm/package.json +0 -111
- package/.output/server/node_modules/agent-base/dist/src/index.js +0 -203
- package/.output/server/node_modules/agent-base/dist/src/promisify.js +0 -18
- package/.output/server/node_modules/agent-base/package.json +0 -64
- package/.output/server/node_modules/ajv/dist/ajv.js +0 -50
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/ajv/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/ajv/dist/compile/index.js +0 -242
- package/.output/server/node_modules/ajv/dist/compile/names.js +0 -28
- package/.output/server/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/ajv/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/ajv/dist/compile/util.js +0 -178
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/ajv/dist/core.js +0 -618
- package/.output/server/node_modules/ajv/dist/refs/data.json +0 -13
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/ajv/package.json +0 -126
- package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
- package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
- package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
- package/.output/server/node_modules/ajv-formats/package.json +0 -74
- package/.output/server/node_modules/asynckit/index.js +0 -6
- package/.output/server/node_modules/asynckit/lib/abort.js +0 -29
- package/.output/server/node_modules/asynckit/lib/async.js +0 -34
- package/.output/server/node_modules/asynckit/lib/defer.js +0 -26
- package/.output/server/node_modules/asynckit/lib/iterate.js +0 -75
- package/.output/server/node_modules/asynckit/lib/state.js +0 -37
- package/.output/server/node_modules/asynckit/lib/terminator.js +0 -29
- package/.output/server/node_modules/asynckit/package.json +0 -63
- package/.output/server/node_modules/asynckit/parallel.js +0 -43
- package/.output/server/node_modules/asynckit/serial.js +0 -17
- package/.output/server/node_modules/asynckit/serialOrdered.js +0 -75
- package/.output/server/node_modules/axios/index.js +0 -45
- package/.output/server/node_modules/axios/lib/adapters/adapters.js +0 -132
- package/.output/server/node_modules/axios/lib/adapters/fetch.js +0 -643
- package/.output/server/node_modules/axios/lib/adapters/http.js +0 -1406
- package/.output/server/node_modules/axios/lib/adapters/xhr.js +0 -228
- package/.output/server/node_modules/axios/lib/axios.js +0 -89
- package/.output/server/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/.output/server/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/.output/server/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/.output/server/node_modules/axios/lib/core/Axios.js +0 -301
- package/.output/server/node_modules/axios/lib/core/AxiosError.js +0 -219
- package/.output/server/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
- package/.output/server/node_modules/axios/lib/core/InterceptorManager.js +0 -72
- package/.output/server/node_modules/axios/lib/core/buildFullPath.js +0 -88
- package/.output/server/node_modules/axios/lib/core/dispatchRequest.js +0 -89
- package/.output/server/node_modules/axios/lib/core/mergeConfig.js +0 -174
- package/.output/server/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
- package/.output/server/node_modules/axios/lib/core/settle.js +0 -27
- package/.output/server/node_modules/axios/lib/core/transformData.js +0 -28
- package/.output/server/node_modules/axios/lib/defaults/index.js +0 -177
- package/.output/server/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/.output/server/node_modules/axios/lib/env/data.js +0 -1
- package/.output/server/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/.output/server/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
- package/.output/server/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
- package/.output/server/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -78
- package/.output/server/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/.output/server/node_modules/axios/lib/helpers/bind.js +0 -14
- package/.output/server/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/.output/server/node_modules/axios/lib/helpers/callbackify.js +0 -18
- package/.output/server/node_modules/axios/lib/helpers/combineURLs.js +0 -23
- package/.output/server/node_modules/axios/lib/helpers/composeSignals.js +0 -68
- package/.output/server/node_modules/axios/lib/helpers/cookies.js +0 -64
- package/.output/server/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
- package/.output/server/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
- package/.output/server/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/.output/server/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
- package/.output/server/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
- package/.output/server/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/.output/server/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/.output/server/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
- package/.output/server/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/.output/server/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/.output/server/node_modules/axios/lib/helpers/readBlob.js +0 -15
- package/.output/server/node_modules/axios/lib/helpers/resolveConfig.js +0 -105
- package/.output/server/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/.output/server/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -329
- package/.output/server/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/.output/server/node_modules/axios/lib/helpers/spread.js +0 -28
- package/.output/server/node_modules/axios/lib/helpers/throttle.js +0 -44
- package/.output/server/node_modules/axios/lib/helpers/toFormData.js +0 -286
- package/.output/server/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/.output/server/node_modules/axios/lib/helpers/trackStream.js +0 -89
- package/.output/server/node_modules/axios/lib/helpers/validator.js +0 -112
- package/.output/server/node_modules/axios/lib/platform/common/utils.js +0 -52
- package/.output/server/node_modules/axios/lib/platform/index.js +0 -7
- package/.output/server/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
- package/.output/server/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/.output/server/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
- package/.output/server/node_modules/axios/lib/platform/node/index.js +0 -37
- package/.output/server/node_modules/axios/lib/utils.js +0 -1029
- package/.output/server/node_modules/axios/package.json +0 -203
- package/.output/server/node_modules/birpc/dist/index.cjs +0 -296
- package/.output/server/node_modules/birpc/package.json +0 -57
- package/.output/server/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/.output/server/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/.output/server/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/.output/server/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/.output/server/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/.output/server/node_modules/case-anything/dist/core.js +0 -242
- package/.output/server/node_modules/case-anything/dist/index.js +0 -1
- package/.output/server/node_modules/case-anything/dist/utils.js +0 -90
- package/.output/server/node_modules/case-anything/package.json +0 -61
- package/.output/server/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/.output/server/node_modules/combined-stream/package.json +0 -25
- package/.output/server/node_modules/content-type/index.js +0 -225
- package/.output/server/node_modules/content-type/package.json +0 -42
- package/.output/server/node_modules/debug/package.json +0 -64
- package/.output/server/node_modules/debug/src/browser.js +0 -272
- package/.output/server/node_modules/debug/src/common.js +0 -292
- package/.output/server/node_modules/debug/src/index.js +0 -10
- package/.output/server/node_modules/debug/src/node.js +0 -263
- package/.output/server/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/.output/server/node_modules/delayed-stream/package.json +0 -27
- package/.output/server/node_modules/devalue/index.js +0 -17
- package/.output/server/node_modules/devalue/package.json +0 -39
- package/.output/server/node_modules/devalue/src/base64.js +0 -60
- package/.output/server/node_modules/devalue/src/constants.js +0 -12
- package/.output/server/node_modules/devalue/src/operations.js +0 -193
- package/.output/server/node_modules/devalue/src/parse.js +0 -270
- package/.output/server/node_modules/devalue/src/stringify.js +0 -428
- package/.output/server/node_modules/devalue/src/uneval.js +0 -582
- package/.output/server/node_modules/devalue/src/utils.js +0 -185
- package/.output/server/node_modules/dunder-proto/get.js +0 -30
- package/.output/server/node_modules/dunder-proto/package.json +0 -76
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
- package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/entities/package.json +0 -120
- package/.output/server/node_modules/es-define-property/index.js +0 -14
- package/.output/server/node_modules/es-define-property/package.json +0 -81
- package/.output/server/node_modules/es-errors/eval.js +0 -4
- package/.output/server/node_modules/es-errors/index.js +0 -4
- package/.output/server/node_modules/es-errors/package.json +0 -80
- package/.output/server/node_modules/es-errors/range.js +0 -4
- package/.output/server/node_modules/es-errors/ref.js +0 -4
- package/.output/server/node_modules/es-errors/syntax.js +0 -4
- package/.output/server/node_modules/es-errors/type.js +0 -4
- package/.output/server/node_modules/es-errors/uri.js +0 -4
- package/.output/server/node_modules/es-object-atoms/index.js +0 -4
- package/.output/server/node_modules/es-object-atoms/package.json +0 -79
- package/.output/server/node_modules/es-set-tostringtag/index.js +0 -35
- package/.output/server/node_modules/es-set-tostringtag/package.json +0 -78
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
- package/.output/server/node_modules/estree-walker/package.json +0 -37
- package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
- package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
- package/.output/server/node_modules/fast-uri/index.js +0 -459
- package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
- package/.output/server/node_modules/fast-uri/lib/utils.js +0 -443
- package/.output/server/node_modules/fast-uri/package.json +0 -68
- package/.output/server/node_modules/flattie/dist/index.mjs +0 -25
- package/.output/server/node_modules/flattie/package.json +0 -48
- package/.output/server/node_modules/follow-redirects/debug.js +0 -15
- package/.output/server/node_modules/follow-redirects/index.js +0 -709
- package/.output/server/node_modules/follow-redirects/package.json +0 -58
- package/.output/server/node_modules/form-data/lib/form_data.js +0 -506
- package/.output/server/node_modules/form-data/lib/populate.js +0 -10
- package/.output/server/node_modules/form-data/package.json +0 -82
- package/.output/server/node_modules/function-bind/implementation.js +0 -84
- package/.output/server/node_modules/function-bind/index.js +0 -5
- package/.output/server/node_modules/function-bind/package.json +0 -87
- package/.output/server/node_modules/get-intrinsic/index.js +0 -378
- package/.output/server/node_modules/get-intrinsic/package.json +0 -97
- package/.output/server/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/.output/server/node_modules/get-proto/index.js +0 -27
- package/.output/server/node_modules/get-proto/package.json +0 -81
- package/.output/server/node_modules/gopd/gOPD.js +0 -4
- package/.output/server/node_modules/gopd/index.js +0 -15
- package/.output/server/node_modules/gopd/package.json +0 -77
- package/.output/server/node_modules/has-flag/index.js +0 -8
- package/.output/server/node_modules/has-flag/package.json +0 -46
- package/.output/server/node_modules/has-symbols/index.js +0 -14
- package/.output/server/node_modules/has-symbols/package.json +0 -111
- package/.output/server/node_modules/has-symbols/shams.js +0 -45
- package/.output/server/node_modules/has-tostringtag/package.json +0 -108
- package/.output/server/node_modules/has-tostringtag/shams.js +0 -8
- package/.output/server/node_modules/hasown/index.js +0 -8
- package/.output/server/node_modules/hasown/package.json +0 -91
- package/.output/server/node_modules/https-proxy-agent/dist/agent.js +0 -177
- package/.output/server/node_modules/https-proxy-agent/dist/index.js +0 -14
- package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- package/.output/server/node_modules/https-proxy-agent/package.json +0 -56
- package/.output/server/node_modules/jose/dist/webapi/index.js +0 -32
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -9
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -27
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -11
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -72
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -51
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -166
- package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +0 -19
- package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -68
- package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +0 -78
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +0 -170
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -21
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -9
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -31
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -24
- package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +0 -74
- package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +0 -44
- package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -23
- package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -101
- package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +0 -51
- package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -64
- package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +0 -15
- package/.output/server/node_modules/jose/dist/webapi/key/export.js +0 -44
- package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -48
- package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +0 -40
- package/.output/server/node_modules/jose/dist/webapi/key/import.js +0 -57
- package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +0 -174
- package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +0 -22
- package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -44
- package/.output/server/node_modules/jose/dist/webapi/lib/content_encryption.js +0 -142
- package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -28
- package/.output/server/node_modules/jose/dist/webapi/lib/deflate.js +0 -44
- package/.output/server/node_modules/jose/dist/webapi/lib/helpers.js +0 -42
- package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -26
- package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -107
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +0 -186
- package/.output/server/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +0 -110
- package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -17
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_algorithms.js +0 -73
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_sign.js +0 -74
- package/.output/server/node_modules/jose/dist/webapi/lib/jws_verify.js +0 -107
- package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -197
- package/.output/server/node_modules/jose/dist/webapi/lib/key.js +0 -132
- package/.output/server/node_modules/jose/dist/webapi/lib/key_algorithm.js +0 -10
- package/.output/server/node_modules/jose/dist/webapi/lib/key_descriptor.js +0 -7
- package/.output/server/node_modules/jose/dist/webapi/lib/key_management.js +0 -256
- package/.output/server/node_modules/jose/dist/webapi/lib/options.js +0 -48
- package/.output/server/node_modules/jose/dist/webapi/lib/signing.js +0 -26
- package/.output/server/node_modules/jose/dist/webapi/lib/type_checks.js +0 -35
- package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +0 -39
- package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -32
- package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -24
- package/.output/server/node_modules/jose/dist/webapi/util/errors.js +0 -99
- package/.output/server/node_modules/jose/package.json +0 -198
- package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3074
- package/.output/server/node_modules/js-yaml/package.json +0 -83
- package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
- package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
- package/.output/server/node_modules/math-intrinsics/abs.js +0 -4
- package/.output/server/node_modules/math-intrinsics/floor.js +0 -4
- package/.output/server/node_modules/math-intrinsics/isNaN.js +0 -6
- package/.output/server/node_modules/math-intrinsics/max.js +0 -4
- package/.output/server/node_modules/math-intrinsics/min.js +0 -4
- package/.output/server/node_modules/math-intrinsics/package.json +0 -86
- package/.output/server/node_modules/math-intrinsics/pow.js +0 -4
- package/.output/server/node_modules/math-intrinsics/round.js +0 -4
- package/.output/server/node_modules/math-intrinsics/sign.js +0 -11
- package/.output/server/node_modules/mime-db/db.json +0 -8519
- package/.output/server/node_modules/mime-db/index.js +0 -12
- package/.output/server/node_modules/mime-db/package.json +0 -60
- package/.output/server/node_modules/mime-types/index.js +0 -188
- package/.output/server/node_modules/mime-types/package.json +0 -44
- package/.output/server/node_modules/ms/index.js +0 -162
- package/.output/server/node_modules/ms/package.json +0 -38
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +0 -19
- package/.output/server/node_modules/nostics/dist/index.mjs +0 -187
- package/.output/server/node_modules/nostics/package.json +0 -125
- package/.output/server/node_modules/oauth4webapi/build/index.js +0 -2506
- package/.output/server/node_modules/oauth4webapi/package.json +0 -105
- package/.output/server/node_modules/openid-client/build/index.js +0 -1357
- package/.output/server/node_modules/openid-client/package.json +0 -122
- package/.output/server/node_modules/perfect-debounce/dist/index.cjs +0 -59
- package/.output/server/node_modules/perfect-debounce/package.json +0 -44
- package/.output/server/node_modules/pg/esm/index.mjs +0 -20
- package/.output/server/node_modules/pg/lib/client.js +0 -828
- package/.output/server/node_modules/pg/lib/connection-parameters.js +0 -184
- package/.output/server/node_modules/pg/lib/connection.js +0 -243
- package/.output/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
- package/.output/server/node_modules/pg/lib/crypto/sasl.js +0 -262
- package/.output/server/node_modules/pg/lib/crypto/utils.js +0 -89
- package/.output/server/node_modules/pg/lib/defaults.js +0 -94
- package/.output/server/node_modules/pg/lib/index.js +0 -73
- package/.output/server/node_modules/pg/lib/native/client.js +0 -420
- package/.output/server/node_modules/pg/lib/native/index.js +0 -2
- package/.output/server/node_modules/pg/lib/native/query.js +0 -165
- package/.output/server/node_modules/pg/lib/query.js +0 -259
- package/.output/server/node_modules/pg/lib/result.js +0 -109
- package/.output/server/node_modules/pg/lib/stream.js +0 -83
- package/.output/server/node_modules/pg/lib/type-overrides.js +0 -35
- package/.output/server/node_modules/pg/lib/utils.js +0 -207
- package/.output/server/node_modules/pg/package.json +0 -76
- package/.output/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
- package/.output/server/node_modules/pg-cloudflare/package.json +0 -39
- package/.output/server/node_modules/pg-connection-string/index.js +0 -237
- package/.output/server/node_modules/pg-connection-string/package.json +0 -52
- package/.output/server/node_modules/pg-int8/index.js +0 -100
- package/.output/server/node_modules/pg-int8/package.json +0 -24
- package/.output/server/node_modules/pg-pool/index.js +0 -517
- package/.output/server/node_modules/pg-pool/package.json +0 -51
- package/.output/server/node_modules/pg-protocol/dist/buffer-reader.js +0 -55
- package/.output/server/node_modules/pg-protocol/dist/buffer-writer.js +0 -104
- package/.output/server/node_modules/pg-protocol/dist/index.js +0 -15
- package/.output/server/node_modules/pg-protocol/dist/messages.js +0 -160
- package/.output/server/node_modules/pg-protocol/dist/parser.js +0 -325
- package/.output/server/node_modules/pg-protocol/dist/serializer.js +0 -196
- package/.output/server/node_modules/pg-protocol/package.json +0 -44
- package/.output/server/node_modules/pg-types/index.js +0 -47
- package/.output/server/node_modules/pg-types/lib/arrayParser.js +0 -11
- package/.output/server/node_modules/pg-types/lib/binaryParsers.js +0 -257
- package/.output/server/node_modules/pg-types/lib/builtins.js +0 -73
- package/.output/server/node_modules/pg-types/lib/textParsers.js +0 -215
- package/.output/server/node_modules/pg-types/package.json +0 -42
- package/.output/server/node_modules/pgpass/lib/helper.js +0 -233
- package/.output/server/node_modules/pgpass/lib/index.js +0 -23
- package/.output/server/node_modules/pgpass/package.json +0 -41
- package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +0 -719
- package/.output/server/node_modules/pinia/package.json +0 -94
- package/.output/server/node_modules/pluralize/package.json +0 -40
- package/.output/server/node_modules/pluralize/pluralize.js +0 -503
- package/.output/server/node_modules/postgres-array/index.js +0 -97
- package/.output/server/node_modules/postgres-array/package.json +0 -35
- package/.output/server/node_modules/postgres-bytea/index.js +0 -33
- package/.output/server/node_modules/postgres-bytea/package.json +0 -34
- package/.output/server/node_modules/postgres-date/index.js +0 -116
- package/.output/server/node_modules/postgres-date/package.json +0 -33
- package/.output/server/node_modules/postgres-interval/index.js +0 -126
- package/.output/server/node_modules/postgres-interval/package.json +0 -35
- package/.output/server/node_modules/proxy-from-env/index.js +0 -103
- package/.output/server/node_modules/proxy-from-env/package.json +0 -46
- package/.output/server/node_modules/safe-stable-stringify/esm/package.json +0 -4
- package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +0 -6
- package/.output/server/node_modules/safe-stable-stringify/index.js +0 -625
- package/.output/server/node_modules/safe-stable-stringify/package.json +0 -65
- package/.output/server/node_modules/secure-json-parse/index.js +0 -161
- package/.output/server/node_modules/secure-json-parse/package.json +0 -74
- package/.output/server/node_modules/slugify/package.json +0 -42
- package/.output/server/node_modules/slugify/slugify.js +0 -69
- package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
- package/.output/server/node_modules/source-map-js/package.json +0 -71
- package/.output/server/node_modules/source-map-js/source-map.js +0 -8
- package/.output/server/node_modules/split2/index.js +0 -141
- package/.output/server/node_modules/split2/package.json +0 -39
- package/.output/server/node_modules/supports-color/index.js +0 -135
- package/.output/server/node_modules/supports-color/package.json +0 -53
- package/.output/server/node_modules/three/build/three.cjs +0 -80028
- package/.output/server/node_modules/three/build/three.core.js +0 -60007
- package/.output/server/node_modules/three/build/three.module.js +0 -19610
- package/.output/server/node_modules/three/examples/jsm/environments/RoomEnvironment.js +0 -185
- package/.output/server/node_modules/three/examples/jsm/loaders/GLTFLoader.js +0 -4860
- package/.output/server/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +0 -1501
- package/.output/server/node_modules/three/examples/jsm/utils/SkeletonUtils.js +0 -496
- package/.output/server/node_modules/three/package.json +0 -123
- package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
- package/.output/server/node_modules/ufo/package.json +0 -48
- package/.output/server/node_modules/unhead/dist/client.mjs +0 -22
- package/.output/server/node_modules/unhead/dist/index.mjs +0 -52
- package/.output/server/node_modules/unhead/dist/legacy.mjs +0 -33
- package/.output/server/node_modules/unhead/dist/minify.mjs +0 -172
- package/.output/server/node_modules/unhead/dist/parser.mjs +0 -518
- package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -631
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/server.mjs +0 -99
- package/.output/server/node_modules/unhead/dist/shared/unhead.10KEJHqy.mjs +0 -184
- package/.output/server/node_modules/unhead/dist/shared/unhead.BCcw-xUY.mjs +0 -19
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +0 -673
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +0 -47
- package/.output/server/node_modules/unhead/dist/shared/unhead.BTzUdyNs.mjs +0 -194
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +0 -67
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +0 -17
- package/.output/server/node_modules/unhead/dist/shared/unhead.BuspQZgK.mjs +0 -231
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +0 -32
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +0 -7
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +0 -27
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +0 -59
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +0 -400
- package/.output/server/node_modules/unhead/dist/shared/unhead.JIneUUHd.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/shared/unhead.q9F_9EzH.mjs +0 -588
- package/.output/server/node_modules/unhead/dist/shared/unhead.sGLr_XKf.mjs +0 -201
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +0 -28
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +0 -2
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/utils.mjs +0 -7
- package/.output/server/node_modules/unhead/package.json +0 -179
- package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/vue/index.js +0 -7
- package/.output/server/node_modules/vue/index.mjs +0 -1
- package/.output/server/node_modules/vue/package.json +0 -112
- package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -278
- package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -54
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +0 -1220
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +0 -1557
- package/.output/server/node_modules/vue-router/package.json +0 -153
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +0 -2
- package/.output/server/node_modules/xtend/mutable.js +0 -17
- package/.output/server/node_modules/xtend/package.json +0 -55
- package/.output/server/node_modules/zod/index.js +0 -4
- package/.output/server/node_modules/zod/package.json +0 -118
- package/.output/server/node_modules/zod/v3/ZodError.js +0 -133
- package/.output/server/node_modules/zod/v3/errors.js +0 -9
- package/.output/server/node_modules/zod/v3/external.js +0 -6
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/.output/server/node_modules/zod/v3/helpers/util.js +0 -133
- package/.output/server/node_modules/zod/v3/index.js +0 -4
- package/.output/server/node_modules/zod/v3/locales/en.js +0 -109
- package/.output/server/node_modules/zod/v3/types.js +0 -3693
- package/.output/server/node_modules/zod/v4/classic/checks.js +0 -1
- package/.output/server/node_modules/zod/v4/classic/coerce.js +0 -17
- package/.output/server/node_modules/zod/v4/classic/compat.js +0 -27
- package/.output/server/node_modules/zod/v4/classic/errors.js +0 -41
- package/.output/server/node_modules/zod/v4/classic/external.js +0 -18
- package/.output/server/node_modules/zod/v4/classic/index.js +0 -4
- package/.output/server/node_modules/zod/v4/classic/iso.js +0 -30
- package/.output/server/node_modules/zod/v4/classic/parse.js +0 -6
- package/.output/server/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/.output/server/node_modules/zod/v4/core/api.js +0 -906
- package/.output/server/node_modules/zod/v4/core/checks.js +0 -565
- package/.output/server/node_modules/zod/v4/core/core.js +0 -61
- package/.output/server/node_modules/zod/v4/core/doc.js +0 -35
- package/.output/server/node_modules/zod/v4/core/errors.js +0 -195
- package/.output/server/node_modules/zod/v4/core/function.js +0 -75
- package/.output/server/node_modules/zod/v4/core/index.js +0 -15
- package/.output/server/node_modules/zod/v4/core/json-schema.js +0 -1
- package/.output/server/node_modules/zod/v4/core/parse.js +0 -57
- package/.output/server/node_modules/zod/v4/core/regexes.js +0 -95
- package/.output/server/node_modules/zod/v4/core/registries.js +0 -51
- package/.output/server/node_modules/zod/v4/core/schemas.js +0 -1717
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +0 -849
- package/.output/server/node_modules/zod/v4/core/util.js +0 -493
- package/.output/server/node_modules/zod/v4/core/versions.js +0 -5
- package/.output/server/node_modules/zod/v4/index.js +0 -3
- package/.output/server/node_modules/zod/v4/locales/ar.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/az.js +0 -115
- package/.output/server/node_modules/zod/v4/locales/be.js +0 -164
- package/.output/server/node_modules/zod/v4/locales/ca.js +0 -118
- package/.output/server/node_modules/zod/v4/locales/cs.js +0 -135
- package/.output/server/node_modules/zod/v4/locales/de.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/en.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/eo.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/es.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/fa.js +0 -122
- package/.output/server/node_modules/zod/v4/locales/fi.js +0 -122
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/fr.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/he.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/hu.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/id.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/index.js +0 -39
- package/.output/server/node_modules/zod/v4/locales/it.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/ja.js +0 -115
- package/.output/server/node_modules/zod/v4/locales/kh.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/ko.js +0 -121
- package/.output/server/node_modules/zod/v4/locales/mk.js +0 -118
- package/.output/server/node_modules/zod/v4/locales/ms.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/nl.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/no.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/ota.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/pl.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/ps.js +0 -122
- package/.output/server/node_modules/zod/v4/locales/pt.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/ru.js +0 -164
- package/.output/server/node_modules/zod/v4/locales/sl.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/sv.js +0 -118
- package/.output/server/node_modules/zod/v4/locales/ta.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/th.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/tr.js +0 -115
- package/.output/server/node_modules/zod/v4/locales/ua.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/ur.js +0 -117
- package/.output/server/node_modules/zod/v4/locales/vi.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +0 -116
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +0 -117
- package/.output/server/node_modules/zod/v4/mini/checks.js +0 -1
- package/.output/server/node_modules/zod/v4/mini/coerce.js +0 -17
- package/.output/server/node_modules/zod/v4/mini/external.js +0 -13
- package/.output/server/node_modules/zod/v4/mini/index.js +0 -3
- package/.output/server/node_modules/zod/v4/mini/iso.js +0 -30
- package/.output/server/node_modules/zod/v4/mini/parse.js +0 -1
- package/.output/server/node_modules/zod/v4/mini/schemas.js +0 -732
- package/.output/server/node_modules/zod/v4-mini/index.js +0 -1
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -46
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -22
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +0 -8
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +0 -40
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -62
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +0 -1
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -17
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -26
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -7
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -26
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -11
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -72
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -21
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -61
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -352
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -6
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/selectParser.js +0 -105
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -87
- package/.output/server/node_modules/zod-to-json-schema/package.json +0 -85
- package/.output/server/package.json +0 -108
- package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
|
@@ -1,2506 +0,0 @@
|
|
|
1
|
-
let USER_AGENT;
|
|
2
|
-
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
|
|
3
|
-
const NAME = 'oauth4webapi';
|
|
4
|
-
const VERSION = 'v3.8.6';
|
|
5
|
-
USER_AGENT = `${NAME}/${VERSION}`;
|
|
6
|
-
}
|
|
7
|
-
function looseInstanceOf(input, expected) {
|
|
8
|
-
if (input == null) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
try {
|
|
12
|
-
return (input instanceof expected ||
|
|
13
|
-
Object.getPrototypeOf(input)[Symbol.toStringTag] === expected.prototype[Symbol.toStringTag]);
|
|
14
|
-
}
|
|
15
|
-
catch {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
const ERR_INVALID_ARG_VALUE = 'ERR_INVALID_ARG_VALUE';
|
|
20
|
-
const ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE';
|
|
21
|
-
function CodedTypeError(message, code, cause) {
|
|
22
|
-
const err = new TypeError(message, { cause });
|
|
23
|
-
Object.assign(err, { code });
|
|
24
|
-
return err;
|
|
25
|
-
}
|
|
26
|
-
export const allowInsecureRequests = Symbol();
|
|
27
|
-
export const clockSkew = Symbol();
|
|
28
|
-
export const clockTolerance = Symbol();
|
|
29
|
-
export const customFetch = Symbol();
|
|
30
|
-
export const modifyAssertion = Symbol();
|
|
31
|
-
export const jweDecrypt = Symbol();
|
|
32
|
-
export const jwksCache = Symbol();
|
|
33
|
-
const encoder = new TextEncoder();
|
|
34
|
-
const decoder = new TextDecoder();
|
|
35
|
-
function buf(input) {
|
|
36
|
-
if (typeof input === 'string') {
|
|
37
|
-
return encoder.encode(input);
|
|
38
|
-
}
|
|
39
|
-
return decoder.decode(input);
|
|
40
|
-
}
|
|
41
|
-
let encodeBase64Url;
|
|
42
|
-
if (Uint8Array.prototype.toBase64) {
|
|
43
|
-
encodeBase64Url = (input) => {
|
|
44
|
-
if (input instanceof ArrayBuffer) {
|
|
45
|
-
input = new Uint8Array(input);
|
|
46
|
-
}
|
|
47
|
-
return input.toBase64({ alphabet: 'base64url', omitPadding: true });
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
const CHUNK_SIZE = 0x8000;
|
|
52
|
-
encodeBase64Url = (input) => {
|
|
53
|
-
if (input instanceof ArrayBuffer) {
|
|
54
|
-
input = new Uint8Array(input);
|
|
55
|
-
}
|
|
56
|
-
const arr = [];
|
|
57
|
-
for (let i = 0; i < input.byteLength; i += CHUNK_SIZE) {
|
|
58
|
-
arr.push(String.fromCharCode.apply(null, input.subarray(i, i + CHUNK_SIZE)));
|
|
59
|
-
}
|
|
60
|
-
return btoa(arr.join('')).replace(/=/g, '').replace(/\+/g, '-').replace(/\//g, '_');
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
let decodeBase64Url;
|
|
64
|
-
if (Uint8Array.fromBase64) {
|
|
65
|
-
decodeBase64Url = (input) => {
|
|
66
|
-
try {
|
|
67
|
-
return Uint8Array.fromBase64(input, { alphabet: 'base64url' });
|
|
68
|
-
}
|
|
69
|
-
catch (cause) {
|
|
70
|
-
throw CodedTypeError('The input to be decoded is not correctly encoded.', ERR_INVALID_ARG_VALUE, cause);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
decodeBase64Url = (input) => {
|
|
76
|
-
try {
|
|
77
|
-
const binary = atob(input.replace(/-/g, '+').replace(/_/g, '/').replace(/\s/g, ''));
|
|
78
|
-
const bytes = new Uint8Array(binary.length);
|
|
79
|
-
for (let i = 0; i < binary.length; i++) {
|
|
80
|
-
bytes[i] = binary.charCodeAt(i);
|
|
81
|
-
}
|
|
82
|
-
return bytes;
|
|
83
|
-
}
|
|
84
|
-
catch (cause) {
|
|
85
|
-
throw CodedTypeError('The input to be decoded is not correctly encoded.', ERR_INVALID_ARG_VALUE, cause);
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
function b64u(input) {
|
|
90
|
-
if (typeof input === 'string') {
|
|
91
|
-
return decodeBase64Url(input);
|
|
92
|
-
}
|
|
93
|
-
return encodeBase64Url(input);
|
|
94
|
-
}
|
|
95
|
-
export class UnsupportedOperationError extends Error {
|
|
96
|
-
code;
|
|
97
|
-
constructor(message, options) {
|
|
98
|
-
super(message, options);
|
|
99
|
-
this.name = this.constructor.name;
|
|
100
|
-
this.code = UNSUPPORTED_OPERATION;
|
|
101
|
-
Error.captureStackTrace?.(this, this.constructor);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export class OperationProcessingError extends Error {
|
|
105
|
-
code;
|
|
106
|
-
constructor(message, options) {
|
|
107
|
-
super(message, options);
|
|
108
|
-
this.name = this.constructor.name;
|
|
109
|
-
if (options?.code) {
|
|
110
|
-
this.code = options?.code;
|
|
111
|
-
}
|
|
112
|
-
Error.captureStackTrace?.(this, this.constructor);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
function OPE(message, code, cause) {
|
|
116
|
-
return new OperationProcessingError(message, { code, cause });
|
|
117
|
-
}
|
|
118
|
-
async function calculateJwkThumbprint(jwk) {
|
|
119
|
-
let components;
|
|
120
|
-
switch (jwk.kty) {
|
|
121
|
-
case 'EC':
|
|
122
|
-
components = {
|
|
123
|
-
crv: jwk.crv,
|
|
124
|
-
kty: jwk.kty,
|
|
125
|
-
x: jwk.x,
|
|
126
|
-
y: jwk.y,
|
|
127
|
-
};
|
|
128
|
-
break;
|
|
129
|
-
case 'OKP':
|
|
130
|
-
components = {
|
|
131
|
-
crv: jwk.crv,
|
|
132
|
-
kty: jwk.kty,
|
|
133
|
-
x: jwk.x,
|
|
134
|
-
};
|
|
135
|
-
break;
|
|
136
|
-
case 'AKP':
|
|
137
|
-
components = {
|
|
138
|
-
alg: jwk.alg,
|
|
139
|
-
kty: jwk.kty,
|
|
140
|
-
pub: jwk.pub,
|
|
141
|
-
};
|
|
142
|
-
break;
|
|
143
|
-
case 'RSA':
|
|
144
|
-
components = {
|
|
145
|
-
e: jwk.e,
|
|
146
|
-
kty: jwk.kty,
|
|
147
|
-
n: jwk.n,
|
|
148
|
-
};
|
|
149
|
-
break;
|
|
150
|
-
default:
|
|
151
|
-
throw new UnsupportedOperationError('unsupported JWK key type', { cause: jwk });
|
|
152
|
-
}
|
|
153
|
-
return b64u(await crypto.subtle.digest('SHA-256', buf(JSON.stringify(components))));
|
|
154
|
-
}
|
|
155
|
-
function assertCryptoKey(key, it) {
|
|
156
|
-
if (!(key instanceof CryptoKey)) {
|
|
157
|
-
throw CodedTypeError(`${it} must be a CryptoKey`, ERR_INVALID_ARG_TYPE);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
function assertPrivateKey(key, it) {
|
|
161
|
-
assertCryptoKey(key, it);
|
|
162
|
-
if (key.type !== 'private') {
|
|
163
|
-
throw CodedTypeError(`${it} must be a private CryptoKey`, ERR_INVALID_ARG_VALUE);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
function assertPublicKey(key, it) {
|
|
167
|
-
assertCryptoKey(key, it);
|
|
168
|
-
if (key.type !== 'public') {
|
|
169
|
-
throw CodedTypeError(`${it} must be a public CryptoKey`, ERR_INVALID_ARG_VALUE);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
function normalizeTyp(value) {
|
|
173
|
-
return value.toLowerCase().replace(/^application\//, '');
|
|
174
|
-
}
|
|
175
|
-
function isJsonObject(input) {
|
|
176
|
-
if (input === null || typeof input !== 'object' || Array.isArray(input)) {
|
|
177
|
-
return false;
|
|
178
|
-
}
|
|
179
|
-
return true;
|
|
180
|
-
}
|
|
181
|
-
function prepareHeaders(input) {
|
|
182
|
-
if (looseInstanceOf(input, Headers)) {
|
|
183
|
-
input = Object.fromEntries(input.entries());
|
|
184
|
-
}
|
|
185
|
-
const headers = new Headers(input ?? {});
|
|
186
|
-
if (USER_AGENT && !headers.has('user-agent')) {
|
|
187
|
-
headers.set('user-agent', USER_AGENT);
|
|
188
|
-
}
|
|
189
|
-
if (headers.has('authorization')) {
|
|
190
|
-
throw CodedTypeError('"options.headers" must not include the "authorization" header name', ERR_INVALID_ARG_VALUE);
|
|
191
|
-
}
|
|
192
|
-
return headers;
|
|
193
|
-
}
|
|
194
|
-
function signal(url, value) {
|
|
195
|
-
if (value !== undefined) {
|
|
196
|
-
if (typeof value === 'function') {
|
|
197
|
-
value = value(url.href);
|
|
198
|
-
}
|
|
199
|
-
if (!(value instanceof AbortSignal)) {
|
|
200
|
-
throw CodedTypeError('"options.signal" must return or be an instance of AbortSignal', ERR_INVALID_ARG_TYPE);
|
|
201
|
-
}
|
|
202
|
-
return value;
|
|
203
|
-
}
|
|
204
|
-
return undefined;
|
|
205
|
-
}
|
|
206
|
-
function replaceDoubleSlash(pathname) {
|
|
207
|
-
if (pathname.includes('//')) {
|
|
208
|
-
return pathname.replace('//', '/');
|
|
209
|
-
}
|
|
210
|
-
return pathname;
|
|
211
|
-
}
|
|
212
|
-
function prependWellKnown(url, wellKnown, allowTerminatingSlash = false) {
|
|
213
|
-
if (url.pathname === '/') {
|
|
214
|
-
url.pathname = wellKnown;
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
url.pathname = replaceDoubleSlash(`${wellKnown}/${allowTerminatingSlash ? url.pathname : url.pathname.replace(/(\/)$/, '')}`);
|
|
218
|
-
}
|
|
219
|
-
return url;
|
|
220
|
-
}
|
|
221
|
-
function appendWellKnown(url, wellKnown) {
|
|
222
|
-
url.pathname = replaceDoubleSlash(`${url.pathname}/${wellKnown}`);
|
|
223
|
-
return url;
|
|
224
|
-
}
|
|
225
|
-
async function performDiscovery(input, urlName, transform, options) {
|
|
226
|
-
if (!(input instanceof URL)) {
|
|
227
|
-
throw CodedTypeError(`"${urlName}" must be an instance of URL`, ERR_INVALID_ARG_TYPE);
|
|
228
|
-
}
|
|
229
|
-
checkProtocol(input, options?.[allowInsecureRequests] !== true);
|
|
230
|
-
const url = transform(new URL(input.href));
|
|
231
|
-
const headers = prepareHeaders(options?.headers);
|
|
232
|
-
headers.set('accept', 'application/json');
|
|
233
|
-
return (options?.[customFetch] || fetch)(url.href, {
|
|
234
|
-
body: undefined,
|
|
235
|
-
headers: Object.fromEntries(headers.entries()),
|
|
236
|
-
method: 'GET',
|
|
237
|
-
redirect: 'manual',
|
|
238
|
-
signal: signal(url, options?.signal),
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
export async function discoveryRequest(issuerIdentifier, options) {
|
|
242
|
-
return performDiscovery(issuerIdentifier, 'issuerIdentifier', (url) => {
|
|
243
|
-
switch (options?.algorithm) {
|
|
244
|
-
case undefined:
|
|
245
|
-
case 'oidc':
|
|
246
|
-
appendWellKnown(url, '.well-known/openid-configuration');
|
|
247
|
-
break;
|
|
248
|
-
case 'oauth2':
|
|
249
|
-
prependWellKnown(url, '.well-known/oauth-authorization-server');
|
|
250
|
-
break;
|
|
251
|
-
default:
|
|
252
|
-
throw CodedTypeError('"options.algorithm" must be "oidc" (default), or "oauth2"', ERR_INVALID_ARG_VALUE);
|
|
253
|
-
}
|
|
254
|
-
return url;
|
|
255
|
-
}, options);
|
|
256
|
-
}
|
|
257
|
-
function assertNumber(input, allow0, it, code, cause) {
|
|
258
|
-
try {
|
|
259
|
-
if (typeof input !== 'number' || !Number.isFinite(input)) {
|
|
260
|
-
throw CodedTypeError(`${it} must be a number`, ERR_INVALID_ARG_TYPE, cause);
|
|
261
|
-
}
|
|
262
|
-
if (input > 0)
|
|
263
|
-
return;
|
|
264
|
-
if (allow0) {
|
|
265
|
-
if (input !== 0) {
|
|
266
|
-
throw CodedTypeError(`${it} must be a non-negative number`, ERR_INVALID_ARG_VALUE, cause);
|
|
267
|
-
}
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
throw CodedTypeError(`${it} must be a positive number`, ERR_INVALID_ARG_VALUE, cause);
|
|
271
|
-
}
|
|
272
|
-
catch (err) {
|
|
273
|
-
if (code) {
|
|
274
|
-
throw OPE(err.message, code, cause);
|
|
275
|
-
}
|
|
276
|
-
throw err;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
function assertString(input, it, code, cause) {
|
|
280
|
-
try {
|
|
281
|
-
if (typeof input !== 'string') {
|
|
282
|
-
throw CodedTypeError(`${it} must be a string`, ERR_INVALID_ARG_TYPE, cause);
|
|
283
|
-
}
|
|
284
|
-
if (input.length === 0) {
|
|
285
|
-
throw CodedTypeError(`${it} must not be empty`, ERR_INVALID_ARG_VALUE, cause);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
catch (err) {
|
|
289
|
-
if (code) {
|
|
290
|
-
throw OPE(err.message, code, cause);
|
|
291
|
-
}
|
|
292
|
-
throw err;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
export async function processDiscoveryResponse(expectedIssuerIdentifier, response) {
|
|
296
|
-
const expected = expectedIssuerIdentifier;
|
|
297
|
-
if (!(expected instanceof URL) && expected !== _nodiscoverycheck) {
|
|
298
|
-
throw CodedTypeError('"expectedIssuerIdentifier" must be an instance of URL', ERR_INVALID_ARG_TYPE);
|
|
299
|
-
}
|
|
300
|
-
if (!looseInstanceOf(response, Response)) {
|
|
301
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
302
|
-
}
|
|
303
|
-
if (response.status !== 200) {
|
|
304
|
-
throw OPE('"response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)', RESPONSE_IS_NOT_CONFORM, response);
|
|
305
|
-
}
|
|
306
|
-
assertReadableResponse(response);
|
|
307
|
-
const json = await getResponseJsonBody(response);
|
|
308
|
-
assertString(json.issuer, '"response" body "issuer" property', INVALID_RESPONSE, { body: json });
|
|
309
|
-
if (expected !== _nodiscoverycheck && new URL(json.issuer).href !== expected.href) {
|
|
310
|
-
throw OPE('"response" body "issuer" property does not match the expected value', JSON_ATTRIBUTE_COMPARISON, { expected: expected.href, body: json, attribute: 'issuer' });
|
|
311
|
-
}
|
|
312
|
-
return json;
|
|
313
|
-
}
|
|
314
|
-
function assertApplicationJson(response) {
|
|
315
|
-
assertContentType(response, 'application/json');
|
|
316
|
-
}
|
|
317
|
-
function notJson(response, ...types) {
|
|
318
|
-
let msg = '"response" content-type must be ';
|
|
319
|
-
if (types.length > 2) {
|
|
320
|
-
const last = types.pop();
|
|
321
|
-
msg += `${types.join(', ')}, or ${last}`;
|
|
322
|
-
}
|
|
323
|
-
else if (types.length === 2) {
|
|
324
|
-
msg += `${types[0]} or ${types[1]}`;
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
msg += types[0];
|
|
328
|
-
}
|
|
329
|
-
return OPE(msg, RESPONSE_IS_NOT_JSON, response);
|
|
330
|
-
}
|
|
331
|
-
function assertContentTypes(response, ...types) {
|
|
332
|
-
if (!types.includes(getContentType(response))) {
|
|
333
|
-
throw notJson(response, ...types);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
function assertContentType(response, contentType) {
|
|
337
|
-
if (getContentType(response) !== contentType) {
|
|
338
|
-
throw notJson(response, contentType);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
function randomBytes() {
|
|
342
|
-
return b64u(crypto.getRandomValues(new Uint8Array(32)));
|
|
343
|
-
}
|
|
344
|
-
export function generateRandomCodeVerifier() {
|
|
345
|
-
return randomBytes();
|
|
346
|
-
}
|
|
347
|
-
export function generateRandomState() {
|
|
348
|
-
return randomBytes();
|
|
349
|
-
}
|
|
350
|
-
export function generateRandomNonce() {
|
|
351
|
-
return randomBytes();
|
|
352
|
-
}
|
|
353
|
-
export async function calculatePKCECodeChallenge(codeVerifier) {
|
|
354
|
-
assertString(codeVerifier, 'codeVerifier');
|
|
355
|
-
return b64u(await crypto.subtle.digest('SHA-256', buf(codeVerifier)));
|
|
356
|
-
}
|
|
357
|
-
function getKeyAndKid(input) {
|
|
358
|
-
if (input instanceof CryptoKey) {
|
|
359
|
-
return { key: input };
|
|
360
|
-
}
|
|
361
|
-
if (!(input?.key instanceof CryptoKey)) {
|
|
362
|
-
return {};
|
|
363
|
-
}
|
|
364
|
-
if (input.kid !== undefined) {
|
|
365
|
-
assertString(input.kid, '"kid"');
|
|
366
|
-
}
|
|
367
|
-
return {
|
|
368
|
-
key: input.key,
|
|
369
|
-
kid: input.kid,
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
function psAlg(key) {
|
|
373
|
-
switch (key.algorithm.hash.name) {
|
|
374
|
-
case 'SHA-256':
|
|
375
|
-
return 'PS256';
|
|
376
|
-
case 'SHA-384':
|
|
377
|
-
return 'PS384';
|
|
378
|
-
case 'SHA-512':
|
|
379
|
-
return 'PS512';
|
|
380
|
-
default:
|
|
381
|
-
throw new UnsupportedOperationError('unsupported RsaHashedKeyAlgorithm hash name', {
|
|
382
|
-
cause: key,
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
function rsAlg(key) {
|
|
387
|
-
switch (key.algorithm.hash.name) {
|
|
388
|
-
case 'SHA-256':
|
|
389
|
-
return 'RS256';
|
|
390
|
-
case 'SHA-384':
|
|
391
|
-
return 'RS384';
|
|
392
|
-
case 'SHA-512':
|
|
393
|
-
return 'RS512';
|
|
394
|
-
default:
|
|
395
|
-
throw new UnsupportedOperationError('unsupported RsaHashedKeyAlgorithm hash name', {
|
|
396
|
-
cause: key,
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
function esAlg(key) {
|
|
401
|
-
switch (key.algorithm.namedCurve) {
|
|
402
|
-
case 'P-256':
|
|
403
|
-
return 'ES256';
|
|
404
|
-
case 'P-384':
|
|
405
|
-
return 'ES384';
|
|
406
|
-
case 'P-521':
|
|
407
|
-
return 'ES512';
|
|
408
|
-
default:
|
|
409
|
-
throw new UnsupportedOperationError('unsupported EcKeyAlgorithm namedCurve', { cause: key });
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
function keyToJws(key) {
|
|
413
|
-
switch (key.algorithm.name) {
|
|
414
|
-
case 'RSA-PSS':
|
|
415
|
-
return psAlg(key);
|
|
416
|
-
case 'RSASSA-PKCS1-v1_5':
|
|
417
|
-
return rsAlg(key);
|
|
418
|
-
case 'ECDSA':
|
|
419
|
-
return esAlg(key);
|
|
420
|
-
case 'Ed25519':
|
|
421
|
-
case 'ML-DSA-44':
|
|
422
|
-
case 'ML-DSA-65':
|
|
423
|
-
case 'ML-DSA-87':
|
|
424
|
-
return key.algorithm.name;
|
|
425
|
-
case 'EdDSA':
|
|
426
|
-
return 'Ed25519';
|
|
427
|
-
default:
|
|
428
|
-
throw new UnsupportedOperationError('unsupported CryptoKey algorithm name', { cause: key });
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
function getClockSkew(client) {
|
|
432
|
-
const skew = client?.[clockSkew];
|
|
433
|
-
return typeof skew === 'number' && Number.isFinite(skew) ? skew : 0;
|
|
434
|
-
}
|
|
435
|
-
function getClockTolerance(client) {
|
|
436
|
-
const tolerance = client?.[clockTolerance];
|
|
437
|
-
return typeof tolerance === 'number' && Number.isFinite(tolerance) && Math.sign(tolerance) !== -1
|
|
438
|
-
? tolerance
|
|
439
|
-
: 30;
|
|
440
|
-
}
|
|
441
|
-
function epochTime() {
|
|
442
|
-
return Math.floor(Date.now() / 1000);
|
|
443
|
-
}
|
|
444
|
-
function assertAs(as) {
|
|
445
|
-
if (typeof as !== 'object' || as === null) {
|
|
446
|
-
throw CodedTypeError('"as" must be an object', ERR_INVALID_ARG_TYPE);
|
|
447
|
-
}
|
|
448
|
-
assertString(as.issuer, '"as.issuer"');
|
|
449
|
-
}
|
|
450
|
-
function assertClient(client) {
|
|
451
|
-
if (typeof client !== 'object' || client === null) {
|
|
452
|
-
throw CodedTypeError('"client" must be an object', ERR_INVALID_ARG_TYPE);
|
|
453
|
-
}
|
|
454
|
-
assertString(client.client_id, '"client.client_id"');
|
|
455
|
-
}
|
|
456
|
-
function formUrlEncode(token) {
|
|
457
|
-
return encodeURIComponent(token).replace(/(?:[-_.!~*'()]|%20)/g, (substring) => {
|
|
458
|
-
switch (substring) {
|
|
459
|
-
case '-':
|
|
460
|
-
case '_':
|
|
461
|
-
case '.':
|
|
462
|
-
case '!':
|
|
463
|
-
case '~':
|
|
464
|
-
case '*':
|
|
465
|
-
case "'":
|
|
466
|
-
case '(':
|
|
467
|
-
case ')':
|
|
468
|
-
return `%${substring.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
469
|
-
case '%20':
|
|
470
|
-
return '+';
|
|
471
|
-
default:
|
|
472
|
-
throw new Error();
|
|
473
|
-
}
|
|
474
|
-
});
|
|
475
|
-
}
|
|
476
|
-
export function ClientSecretPost(clientSecret) {
|
|
477
|
-
assertString(clientSecret, '"clientSecret"');
|
|
478
|
-
return (_as, client, body, _headers) => {
|
|
479
|
-
body.set('client_id', client.client_id);
|
|
480
|
-
body.set('client_secret', clientSecret);
|
|
481
|
-
};
|
|
482
|
-
}
|
|
483
|
-
export function ClientSecretBasic(clientSecret) {
|
|
484
|
-
assertString(clientSecret, '"clientSecret"');
|
|
485
|
-
return (_as, client, _body, headers) => {
|
|
486
|
-
const username = formUrlEncode(client.client_id);
|
|
487
|
-
const password = formUrlEncode(clientSecret);
|
|
488
|
-
const credentials = btoa(`${username}:${password}`);
|
|
489
|
-
headers.set('authorization', `Basic ${credentials}`);
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
function clientAssertionPayload(as, client) {
|
|
493
|
-
const now = epochTime() + getClockSkew(client);
|
|
494
|
-
return {
|
|
495
|
-
jti: randomBytes(),
|
|
496
|
-
aud: as.issuer,
|
|
497
|
-
exp: now + 60,
|
|
498
|
-
iat: now,
|
|
499
|
-
nbf: now,
|
|
500
|
-
iss: client.client_id,
|
|
501
|
-
sub: client.client_id,
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
export function PrivateKeyJwt(clientPrivateKey, options) {
|
|
505
|
-
const { key, kid } = getKeyAndKid(clientPrivateKey);
|
|
506
|
-
assertPrivateKey(key, '"clientPrivateKey.key"');
|
|
507
|
-
return async (as, client, body, _headers) => {
|
|
508
|
-
const header = { alg: keyToJws(key), kid };
|
|
509
|
-
const payload = clientAssertionPayload(as, client);
|
|
510
|
-
options?.[modifyAssertion]?.(header, payload);
|
|
511
|
-
body.set('client_id', client.client_id);
|
|
512
|
-
body.set('client_assertion_type', 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer');
|
|
513
|
-
body.set('client_assertion', await signJwt(header, payload, key));
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
export function ClientSecretJwt(clientSecret, options) {
|
|
517
|
-
assertString(clientSecret, '"clientSecret"');
|
|
518
|
-
const modify = options?.[modifyAssertion];
|
|
519
|
-
let key;
|
|
520
|
-
return async (as, client, body, _headers) => {
|
|
521
|
-
key ||= await crypto.subtle.importKey('raw', buf(clientSecret), { hash: 'SHA-256', name: 'HMAC' }, false, ['sign']);
|
|
522
|
-
const header = { alg: 'HS256' };
|
|
523
|
-
const payload = clientAssertionPayload(as, client);
|
|
524
|
-
modify?.(header, payload);
|
|
525
|
-
const data = `${b64u(buf(JSON.stringify(header)))}.${b64u(buf(JSON.stringify(payload)))}`;
|
|
526
|
-
const hmac = await crypto.subtle.sign(key.algorithm, key, buf(data));
|
|
527
|
-
body.set('client_id', client.client_id);
|
|
528
|
-
body.set('client_assertion_type', 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer');
|
|
529
|
-
body.set('client_assertion', `${data}.${b64u(new Uint8Array(hmac))}`);
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
export function None() {
|
|
533
|
-
return (_as, client, body, _headers) => {
|
|
534
|
-
body.set('client_id', client.client_id);
|
|
535
|
-
};
|
|
536
|
-
}
|
|
537
|
-
export function TlsClientAuth() {
|
|
538
|
-
return None();
|
|
539
|
-
}
|
|
540
|
-
async function signJwt(header, payload, key) {
|
|
541
|
-
if (!key.usages.includes('sign')) {
|
|
542
|
-
throw CodedTypeError('CryptoKey instances used for signing assertions must include "sign" in their "usages"', ERR_INVALID_ARG_VALUE);
|
|
543
|
-
}
|
|
544
|
-
const input = `${b64u(buf(JSON.stringify(header)))}.${b64u(buf(JSON.stringify(payload)))}`;
|
|
545
|
-
const signature = b64u(await crypto.subtle.sign(keyToSubtle(key), key, buf(input)));
|
|
546
|
-
return `${input}.${signature}`;
|
|
547
|
-
}
|
|
548
|
-
export async function issueRequestObject(as, client, parameters, privateKey, options) {
|
|
549
|
-
assertAs(as);
|
|
550
|
-
assertClient(client);
|
|
551
|
-
parameters = new URLSearchParams(parameters);
|
|
552
|
-
const { key, kid } = getKeyAndKid(privateKey);
|
|
553
|
-
assertPrivateKey(key, '"privateKey.key"');
|
|
554
|
-
parameters.set('client_id', client.client_id);
|
|
555
|
-
const now = epochTime() + getClockSkew(client);
|
|
556
|
-
const claims = {
|
|
557
|
-
...Object.fromEntries(parameters.entries()),
|
|
558
|
-
jti: randomBytes(),
|
|
559
|
-
aud: as.issuer,
|
|
560
|
-
exp: now + 60,
|
|
561
|
-
iat: now,
|
|
562
|
-
nbf: now,
|
|
563
|
-
iss: client.client_id,
|
|
564
|
-
};
|
|
565
|
-
let resource;
|
|
566
|
-
if (parameters.has('resource') &&
|
|
567
|
-
(resource = parameters.getAll('resource')) &&
|
|
568
|
-
resource.length > 1) {
|
|
569
|
-
claims.resource = resource;
|
|
570
|
-
}
|
|
571
|
-
{
|
|
572
|
-
let value = parameters.get('max_age');
|
|
573
|
-
if (value !== null) {
|
|
574
|
-
claims.max_age = parseInt(value, 10);
|
|
575
|
-
assertNumber(claims.max_age, true, '"max_age" parameter');
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
{
|
|
579
|
-
let value = parameters.get('claims');
|
|
580
|
-
if (value !== null) {
|
|
581
|
-
try {
|
|
582
|
-
claims.claims = JSON.parse(value);
|
|
583
|
-
}
|
|
584
|
-
catch (cause) {
|
|
585
|
-
throw OPE('failed to parse the "claims" parameter as JSON', PARSE_ERROR, cause);
|
|
586
|
-
}
|
|
587
|
-
if (!isJsonObject(claims.claims)) {
|
|
588
|
-
throw CodedTypeError('"claims" parameter must be a JSON with a top level object', ERR_INVALID_ARG_VALUE);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
{
|
|
593
|
-
let value = parameters.get('authorization_details');
|
|
594
|
-
if (value !== null) {
|
|
595
|
-
try {
|
|
596
|
-
claims.authorization_details = JSON.parse(value);
|
|
597
|
-
}
|
|
598
|
-
catch (cause) {
|
|
599
|
-
throw OPE('failed to parse the "authorization_details" parameter as JSON', PARSE_ERROR, cause);
|
|
600
|
-
}
|
|
601
|
-
if (!Array.isArray(claims.authorization_details)) {
|
|
602
|
-
throw CodedTypeError('"authorization_details" parameter must be a JSON with a top level array', ERR_INVALID_ARG_VALUE);
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
const header = {
|
|
607
|
-
alg: keyToJws(key),
|
|
608
|
-
typ: 'oauth-authz-req+jwt',
|
|
609
|
-
kid,
|
|
610
|
-
};
|
|
611
|
-
options?.[modifyAssertion]?.(header, claims);
|
|
612
|
-
return signJwt(header, claims, key);
|
|
613
|
-
}
|
|
614
|
-
let jwkCache;
|
|
615
|
-
async function getSetPublicJwkCache(key, alg) {
|
|
616
|
-
const { kty, e, n, x, y, crv, pub } = await crypto.subtle.exportKey('jwk', key);
|
|
617
|
-
const jwk = { kty, e, n, x, y, crv, pub };
|
|
618
|
-
if (kty === 'AKP')
|
|
619
|
-
jwk.alg = alg;
|
|
620
|
-
jwkCache.set(key, jwk);
|
|
621
|
-
return jwk;
|
|
622
|
-
}
|
|
623
|
-
async function publicJwk(key, alg) {
|
|
624
|
-
jwkCache ||= new WeakMap();
|
|
625
|
-
return jwkCache.get(key) || getSetPublicJwkCache(key, alg);
|
|
626
|
-
}
|
|
627
|
-
const URLParse = URL.parse
|
|
628
|
-
?
|
|
629
|
-
(url, base) => URL.parse(url, base)
|
|
630
|
-
: (url, base) => {
|
|
631
|
-
try {
|
|
632
|
-
return new URL(url, base);
|
|
633
|
-
}
|
|
634
|
-
catch {
|
|
635
|
-
return null;
|
|
636
|
-
}
|
|
637
|
-
};
|
|
638
|
-
export function checkProtocol(url, enforceHttps) {
|
|
639
|
-
if (enforceHttps && url.protocol !== 'https:') {
|
|
640
|
-
throw OPE('only requests to HTTPS are allowed', HTTP_REQUEST_FORBIDDEN, url);
|
|
641
|
-
}
|
|
642
|
-
if (url.protocol !== 'https:' && url.protocol !== 'http:') {
|
|
643
|
-
throw OPE('only HTTP and HTTPS requests are allowed', REQUEST_PROTOCOL_FORBIDDEN, url);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
function validateEndpoint(value, endpoint, useMtlsAlias, enforceHttps) {
|
|
647
|
-
let url;
|
|
648
|
-
if (typeof value !== 'string' || !(url = URLParse(value))) {
|
|
649
|
-
throw OPE(`authorization server metadata does not contain a valid ${useMtlsAlias ? `"as.mtls_endpoint_aliases.${endpoint}"` : `"as.${endpoint}"`}`, value === undefined ? MISSING_SERVER_METADATA : INVALID_SERVER_METADATA, { attribute: useMtlsAlias ? `mtls_endpoint_aliases.${endpoint}` : endpoint });
|
|
650
|
-
}
|
|
651
|
-
checkProtocol(url, enforceHttps);
|
|
652
|
-
return url;
|
|
653
|
-
}
|
|
654
|
-
export function resolveEndpoint(as, endpoint, useMtlsAlias, enforceHttps) {
|
|
655
|
-
if (useMtlsAlias && as.mtls_endpoint_aliases && endpoint in as.mtls_endpoint_aliases) {
|
|
656
|
-
return validateEndpoint(as.mtls_endpoint_aliases[endpoint], endpoint, useMtlsAlias, enforceHttps);
|
|
657
|
-
}
|
|
658
|
-
return validateEndpoint(as[endpoint], endpoint, useMtlsAlias, enforceHttps);
|
|
659
|
-
}
|
|
660
|
-
export async function pushedAuthorizationRequest(as, client, clientAuthentication, parameters, options) {
|
|
661
|
-
assertAs(as);
|
|
662
|
-
assertClient(client);
|
|
663
|
-
const url = resolveEndpoint(as, 'pushed_authorization_request_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
664
|
-
const body = new URLSearchParams(parameters);
|
|
665
|
-
body.set('client_id', client.client_id);
|
|
666
|
-
const headers = prepareHeaders(options?.headers);
|
|
667
|
-
headers.set('accept', 'application/json');
|
|
668
|
-
if (options?.DPoP !== undefined) {
|
|
669
|
-
assertDPoP(options.DPoP);
|
|
670
|
-
await options.DPoP.addProof(url, headers, 'POST');
|
|
671
|
-
}
|
|
672
|
-
const response = await authenticatedRequest(as, client, clientAuthentication, url, body, headers, options);
|
|
673
|
-
options?.DPoP?.cacheNonce(response, url);
|
|
674
|
-
return response;
|
|
675
|
-
}
|
|
676
|
-
class DPoPHandler {
|
|
677
|
-
#header;
|
|
678
|
-
#privateKey;
|
|
679
|
-
#publicKey;
|
|
680
|
-
#clockSkew;
|
|
681
|
-
#modifyAssertion;
|
|
682
|
-
#map;
|
|
683
|
-
#jkt;
|
|
684
|
-
constructor(client, keyPair, options) {
|
|
685
|
-
assertPrivateKey(keyPair?.privateKey, '"DPoP.privateKey"');
|
|
686
|
-
assertPublicKey(keyPair?.publicKey, '"DPoP.publicKey"');
|
|
687
|
-
if (!keyPair.publicKey.extractable) {
|
|
688
|
-
throw CodedTypeError('"DPoP.publicKey.extractable" must be true', ERR_INVALID_ARG_VALUE);
|
|
689
|
-
}
|
|
690
|
-
this.#modifyAssertion = options?.[modifyAssertion];
|
|
691
|
-
this.#clockSkew = getClockSkew(client);
|
|
692
|
-
this.#privateKey = keyPair.privateKey;
|
|
693
|
-
this.#publicKey = keyPair.publicKey;
|
|
694
|
-
branded.add(this);
|
|
695
|
-
}
|
|
696
|
-
#get(key) {
|
|
697
|
-
this.#map ||= new Map();
|
|
698
|
-
let item = this.#map.get(key);
|
|
699
|
-
if (item) {
|
|
700
|
-
this.#map.delete(key);
|
|
701
|
-
this.#map.set(key, item);
|
|
702
|
-
}
|
|
703
|
-
return item;
|
|
704
|
-
}
|
|
705
|
-
#set(key, val) {
|
|
706
|
-
this.#map ||= new Map();
|
|
707
|
-
this.#map.delete(key);
|
|
708
|
-
if (this.#map.size === 100) {
|
|
709
|
-
this.#map.delete(this.#map.keys().next().value);
|
|
710
|
-
}
|
|
711
|
-
this.#map.set(key, val);
|
|
712
|
-
}
|
|
713
|
-
async calculateThumbprint() {
|
|
714
|
-
if (!this.#jkt) {
|
|
715
|
-
const jwk = await crypto.subtle.exportKey('jwk', this.#publicKey);
|
|
716
|
-
this.#jkt ||= await calculateJwkThumbprint(jwk);
|
|
717
|
-
}
|
|
718
|
-
return this.#jkt;
|
|
719
|
-
}
|
|
720
|
-
async addProof(url, headers, htm, accessToken) {
|
|
721
|
-
const alg = keyToJws(this.#privateKey);
|
|
722
|
-
this.#header ||= {
|
|
723
|
-
alg,
|
|
724
|
-
typ: 'dpop+jwt',
|
|
725
|
-
jwk: await publicJwk(this.#publicKey, alg),
|
|
726
|
-
};
|
|
727
|
-
const nonce = this.#get(url.origin);
|
|
728
|
-
const now = epochTime() + this.#clockSkew;
|
|
729
|
-
const payload = {
|
|
730
|
-
iat: now,
|
|
731
|
-
jti: randomBytes(),
|
|
732
|
-
htm,
|
|
733
|
-
nonce,
|
|
734
|
-
htu: `${url.origin}${url.pathname}`,
|
|
735
|
-
ath: accessToken
|
|
736
|
-
? b64u(await crypto.subtle.digest('SHA-256', buf(accessToken)))
|
|
737
|
-
: undefined,
|
|
738
|
-
};
|
|
739
|
-
this.#modifyAssertion?.(this.#header, payload);
|
|
740
|
-
headers.set('dpop', await signJwt(this.#header, payload, this.#privateKey));
|
|
741
|
-
}
|
|
742
|
-
cacheNonce(response, url) {
|
|
743
|
-
try {
|
|
744
|
-
const nonce = response.headers.get('dpop-nonce');
|
|
745
|
-
if (nonce) {
|
|
746
|
-
this.#set(url.origin, nonce);
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
catch { }
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
export function isDPoPNonceError(err) {
|
|
753
|
-
if (err instanceof WWWAuthenticateChallengeError) {
|
|
754
|
-
const { 0: challenge, length } = err.cause;
|
|
755
|
-
return (length === 1 && challenge.scheme === 'dpop' && challenge.parameters.error === 'use_dpop_nonce');
|
|
756
|
-
}
|
|
757
|
-
if (err instanceof ResponseBodyError) {
|
|
758
|
-
return err.error === 'use_dpop_nonce';
|
|
759
|
-
}
|
|
760
|
-
return false;
|
|
761
|
-
}
|
|
762
|
-
export function DPoP(client, keyPair, options) {
|
|
763
|
-
return new DPoPHandler(client, keyPair, options);
|
|
764
|
-
}
|
|
765
|
-
export class ResponseBodyError extends Error {
|
|
766
|
-
cause;
|
|
767
|
-
code;
|
|
768
|
-
error;
|
|
769
|
-
status;
|
|
770
|
-
error_description;
|
|
771
|
-
response;
|
|
772
|
-
constructor(message, options) {
|
|
773
|
-
super(message, options);
|
|
774
|
-
this.name = this.constructor.name;
|
|
775
|
-
this.code = RESPONSE_BODY_ERROR;
|
|
776
|
-
this.cause = options.cause;
|
|
777
|
-
this.error = options.cause.error;
|
|
778
|
-
this.status = options.response.status;
|
|
779
|
-
this.error_description = options.cause.error_description;
|
|
780
|
-
Object.defineProperty(this, 'response', { enumerable: false, value: options.response });
|
|
781
|
-
Error.captureStackTrace?.(this, this.constructor);
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
export class AuthorizationResponseError extends Error {
|
|
785
|
-
cause;
|
|
786
|
-
code;
|
|
787
|
-
error;
|
|
788
|
-
error_description;
|
|
789
|
-
constructor(message, options) {
|
|
790
|
-
super(message, options);
|
|
791
|
-
this.name = this.constructor.name;
|
|
792
|
-
this.code = AUTHORIZATION_RESPONSE_ERROR;
|
|
793
|
-
this.cause = options.cause;
|
|
794
|
-
this.error = options.cause.get('error');
|
|
795
|
-
this.error_description = options.cause.get('error_description') ?? undefined;
|
|
796
|
-
Error.captureStackTrace?.(this, this.constructor);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
export class WWWAuthenticateChallengeError extends Error {
|
|
800
|
-
cause;
|
|
801
|
-
code;
|
|
802
|
-
response;
|
|
803
|
-
status;
|
|
804
|
-
constructor(message, options) {
|
|
805
|
-
super(message, options);
|
|
806
|
-
this.name = this.constructor.name;
|
|
807
|
-
this.code = WWW_AUTHENTICATE_CHALLENGE;
|
|
808
|
-
this.cause = options.cause;
|
|
809
|
-
this.status = options.response.status;
|
|
810
|
-
this.response = options.response;
|
|
811
|
-
Object.defineProperty(this, 'response', { enumerable: false });
|
|
812
|
-
Error.captureStackTrace?.(this, this.constructor);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
const tokenMatch = "[a-zA-Z0-9!#$%&\\'\\*\\+\\-\\.\\^_`\\|~]+";
|
|
816
|
-
const token68Match = '[a-zA-Z0-9\\-\\._\\~\\+\\/]+={0,2}';
|
|
817
|
-
const quotedMatch = '"((?:[^"\\\\]|\\\\[\\s\\S])*)"';
|
|
818
|
-
const quotedParamMatcher = '(' + tokenMatch + ')\\s*=\\s*' + quotedMatch;
|
|
819
|
-
const paramMatcher = '(' + tokenMatch + ')\\s*=\\s*(' + tokenMatch + ')';
|
|
820
|
-
const schemeRE = new RegExp('^[,\\s]*(' + tokenMatch + ')');
|
|
821
|
-
const quotedParamRE = new RegExp('^[,\\s]*' + quotedParamMatcher + '[,\\s]*(.*)');
|
|
822
|
-
const unquotedParamRE = new RegExp('^[,\\s]*' + paramMatcher + '[,\\s]*(.*)');
|
|
823
|
-
const token68ParamRE = new RegExp('^(' + token68Match + ')(?:$|[,\\s])(.*)');
|
|
824
|
-
function parseWwwAuthenticateChallenges(response) {
|
|
825
|
-
if (!looseInstanceOf(response, Response)) {
|
|
826
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
827
|
-
}
|
|
828
|
-
const header = response.headers.get('www-authenticate');
|
|
829
|
-
if (header === null) {
|
|
830
|
-
return undefined;
|
|
831
|
-
}
|
|
832
|
-
const challenges = [];
|
|
833
|
-
let rest = header;
|
|
834
|
-
while (rest) {
|
|
835
|
-
let match = rest.match(schemeRE);
|
|
836
|
-
const scheme = match?.['1'].toLowerCase();
|
|
837
|
-
if (!scheme) {
|
|
838
|
-
return undefined;
|
|
839
|
-
}
|
|
840
|
-
const afterScheme = rest.substring(match[0].length);
|
|
841
|
-
if (afterScheme && !afterScheme.match(/^[\s,]/)) {
|
|
842
|
-
return undefined;
|
|
843
|
-
}
|
|
844
|
-
const spaceMatch = afterScheme.match(/^\s+(.*)$/);
|
|
845
|
-
const hasParameters = !!spaceMatch;
|
|
846
|
-
rest = spaceMatch ? spaceMatch[1] : undefined;
|
|
847
|
-
const parameters = {};
|
|
848
|
-
let token68;
|
|
849
|
-
if (hasParameters) {
|
|
850
|
-
while (rest) {
|
|
851
|
-
let key;
|
|
852
|
-
let value;
|
|
853
|
-
if ((match = rest.match(quotedParamRE))) {
|
|
854
|
-
;
|
|
855
|
-
[, key, value, rest] = match;
|
|
856
|
-
if (value.includes('\\')) {
|
|
857
|
-
try {
|
|
858
|
-
value = JSON.parse(`"${value}"`);
|
|
859
|
-
}
|
|
860
|
-
catch { }
|
|
861
|
-
}
|
|
862
|
-
parameters[key.toLowerCase()] = value;
|
|
863
|
-
continue;
|
|
864
|
-
}
|
|
865
|
-
if ((match = rest.match(unquotedParamRE))) {
|
|
866
|
-
;
|
|
867
|
-
[, key, value, rest] = match;
|
|
868
|
-
parameters[key.toLowerCase()] = value;
|
|
869
|
-
continue;
|
|
870
|
-
}
|
|
871
|
-
if ((match = rest.match(token68ParamRE))) {
|
|
872
|
-
if (Object.keys(parameters).length) {
|
|
873
|
-
break;
|
|
874
|
-
}
|
|
875
|
-
;
|
|
876
|
-
[, token68, rest] = match;
|
|
877
|
-
break;
|
|
878
|
-
}
|
|
879
|
-
return undefined;
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
else {
|
|
883
|
-
rest = afterScheme || undefined;
|
|
884
|
-
}
|
|
885
|
-
const challenge = { scheme, parameters };
|
|
886
|
-
if (token68) {
|
|
887
|
-
challenge.token68 = token68;
|
|
888
|
-
}
|
|
889
|
-
challenges.push(challenge);
|
|
890
|
-
}
|
|
891
|
-
if (!challenges.length) {
|
|
892
|
-
return undefined;
|
|
893
|
-
}
|
|
894
|
-
return challenges;
|
|
895
|
-
}
|
|
896
|
-
export async function processPushedAuthorizationResponse(as, client, response) {
|
|
897
|
-
assertAs(as);
|
|
898
|
-
assertClient(client);
|
|
899
|
-
if (!looseInstanceOf(response, Response)) {
|
|
900
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
901
|
-
}
|
|
902
|
-
await checkOAuthBodyError(response, 201, 'Pushed Authorization Request Endpoint');
|
|
903
|
-
assertReadableResponse(response);
|
|
904
|
-
const json = await getResponseJsonBody(response);
|
|
905
|
-
assertString(json.request_uri, '"response" body "request_uri" property', INVALID_RESPONSE, {
|
|
906
|
-
body: json,
|
|
907
|
-
});
|
|
908
|
-
let expiresIn = typeof json.expires_in !== 'number' ? parseFloat(json.expires_in) : json.expires_in;
|
|
909
|
-
assertNumber(expiresIn, true, '"response" body "expires_in" property', INVALID_RESPONSE, {
|
|
910
|
-
body: json,
|
|
911
|
-
});
|
|
912
|
-
json.expires_in = expiresIn;
|
|
913
|
-
return json;
|
|
914
|
-
}
|
|
915
|
-
async function parseOAuthResponseErrorBody(response) {
|
|
916
|
-
if (response.status > 399 && response.status < 500) {
|
|
917
|
-
assertReadableResponse(response);
|
|
918
|
-
assertApplicationJson(response);
|
|
919
|
-
try {
|
|
920
|
-
const json = await response.clone().json();
|
|
921
|
-
if (isJsonObject(json) && typeof json.error === 'string' && json.error.length) {
|
|
922
|
-
return json;
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
catch { }
|
|
926
|
-
}
|
|
927
|
-
return undefined;
|
|
928
|
-
}
|
|
929
|
-
async function checkOAuthBodyError(response, expected, label) {
|
|
930
|
-
if (response.status !== expected) {
|
|
931
|
-
checkAuthenticationChallenges(response);
|
|
932
|
-
let err;
|
|
933
|
-
if ((err = await parseOAuthResponseErrorBody(response))) {
|
|
934
|
-
await response.body?.cancel();
|
|
935
|
-
throw new ResponseBodyError('server responded with an error in the response body', {
|
|
936
|
-
cause: err,
|
|
937
|
-
response,
|
|
938
|
-
});
|
|
939
|
-
}
|
|
940
|
-
throw OPE(`"response" is not a conform ${label} response (unexpected HTTP status code)`, RESPONSE_IS_NOT_CONFORM, response);
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
function assertDPoP(option) {
|
|
944
|
-
if (!branded.has(option)) {
|
|
945
|
-
throw CodedTypeError('"options.DPoP" is not a valid DPoPHandle', ERR_INVALID_ARG_VALUE);
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
async function resourceRequest(accessToken, method, url, headers, body, options) {
|
|
949
|
-
assertString(accessToken, '"accessToken"');
|
|
950
|
-
if (!(url instanceof URL)) {
|
|
951
|
-
throw CodedTypeError('"url" must be an instance of URL', ERR_INVALID_ARG_TYPE);
|
|
952
|
-
}
|
|
953
|
-
checkProtocol(url, options?.[allowInsecureRequests] !== true);
|
|
954
|
-
headers = prepareHeaders(headers);
|
|
955
|
-
if (options?.DPoP) {
|
|
956
|
-
assertDPoP(options.DPoP);
|
|
957
|
-
await options.DPoP.addProof(url, headers, method.toUpperCase(), accessToken);
|
|
958
|
-
}
|
|
959
|
-
headers.set('authorization', `${headers.has('dpop') ? 'DPoP' : 'Bearer'} ${accessToken}`);
|
|
960
|
-
const response = await (options?.[customFetch] || fetch)(url.href, {
|
|
961
|
-
duplex: looseInstanceOf(body, ReadableStream) ? 'half' : undefined,
|
|
962
|
-
body,
|
|
963
|
-
headers: Object.fromEntries(headers.entries()),
|
|
964
|
-
method,
|
|
965
|
-
redirect: 'manual',
|
|
966
|
-
signal: signal(url, options?.signal),
|
|
967
|
-
});
|
|
968
|
-
options?.DPoP?.cacheNonce(response, url);
|
|
969
|
-
return response;
|
|
970
|
-
}
|
|
971
|
-
export async function protectedResourceRequest(accessToken, method, url, headers, body, options) {
|
|
972
|
-
const response = await resourceRequest(accessToken, method, url, headers, body, options);
|
|
973
|
-
checkAuthenticationChallenges(response);
|
|
974
|
-
return response;
|
|
975
|
-
}
|
|
976
|
-
export async function userInfoRequest(as, client, accessToken, options) {
|
|
977
|
-
assertAs(as);
|
|
978
|
-
assertClient(client);
|
|
979
|
-
const url = resolveEndpoint(as, 'userinfo_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
980
|
-
const headers = prepareHeaders(options?.headers);
|
|
981
|
-
if (client.userinfo_signed_response_alg) {
|
|
982
|
-
headers.set('accept', 'application/jwt');
|
|
983
|
-
}
|
|
984
|
-
else {
|
|
985
|
-
headers.set('accept', 'application/json');
|
|
986
|
-
headers.append('accept', 'application/jwt');
|
|
987
|
-
}
|
|
988
|
-
return resourceRequest(accessToken, 'GET', url, headers, null, {
|
|
989
|
-
...options,
|
|
990
|
-
[clockSkew]: getClockSkew(client),
|
|
991
|
-
});
|
|
992
|
-
}
|
|
993
|
-
let jwksMap;
|
|
994
|
-
function setJwksCache(as, jwks, uat, cache) {
|
|
995
|
-
jwksMap ||= new WeakMap();
|
|
996
|
-
jwksMap.set(as, {
|
|
997
|
-
jwks,
|
|
998
|
-
uat,
|
|
999
|
-
get age() {
|
|
1000
|
-
return epochTime() - this.uat;
|
|
1001
|
-
},
|
|
1002
|
-
});
|
|
1003
|
-
if (cache) {
|
|
1004
|
-
Object.assign(cache, { jwks: structuredClone(jwks), uat });
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
function isFreshJwksCache(input) {
|
|
1008
|
-
if (typeof input !== 'object' || input === null) {
|
|
1009
|
-
return false;
|
|
1010
|
-
}
|
|
1011
|
-
if (!('uat' in input) || typeof input.uat !== 'number' || epochTime() - input.uat >= 300) {
|
|
1012
|
-
return false;
|
|
1013
|
-
}
|
|
1014
|
-
if (!('jwks' in input) ||
|
|
1015
|
-
!isJsonObject(input.jwks) ||
|
|
1016
|
-
!Array.isArray(input.jwks.keys) ||
|
|
1017
|
-
!Array.prototype.every.call(input.jwks.keys, isJsonObject)) {
|
|
1018
|
-
return false;
|
|
1019
|
-
}
|
|
1020
|
-
return true;
|
|
1021
|
-
}
|
|
1022
|
-
function clearJwksCache(as, cache) {
|
|
1023
|
-
jwksMap?.delete(as);
|
|
1024
|
-
delete cache?.jwks;
|
|
1025
|
-
delete cache?.uat;
|
|
1026
|
-
}
|
|
1027
|
-
async function getPublicSigKeyFromIssuerJwksUri(as, options, header) {
|
|
1028
|
-
const { alg, kid } = header;
|
|
1029
|
-
checkSupportedJwsAlg(header);
|
|
1030
|
-
if (!jwksMap?.has(as) && isFreshJwksCache(options?.[jwksCache])) {
|
|
1031
|
-
setJwksCache(as, options?.[jwksCache].jwks, options?.[jwksCache].uat);
|
|
1032
|
-
}
|
|
1033
|
-
let jwks;
|
|
1034
|
-
let age;
|
|
1035
|
-
if (jwksMap?.has(as)) {
|
|
1036
|
-
;
|
|
1037
|
-
({ jwks, age } = jwksMap.get(as));
|
|
1038
|
-
if (age >= 300) {
|
|
1039
|
-
clearJwksCache(as, options?.[jwksCache]);
|
|
1040
|
-
return getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
else {
|
|
1044
|
-
jwks = await jwksRequest(as, options).then(processJwksResponse);
|
|
1045
|
-
age = 0;
|
|
1046
|
-
setJwksCache(as, jwks, epochTime(), options?.[jwksCache]);
|
|
1047
|
-
}
|
|
1048
|
-
let kty;
|
|
1049
|
-
switch (alg.slice(0, 2)) {
|
|
1050
|
-
case 'RS':
|
|
1051
|
-
case 'PS':
|
|
1052
|
-
kty = 'RSA';
|
|
1053
|
-
break;
|
|
1054
|
-
case 'ES':
|
|
1055
|
-
kty = 'EC';
|
|
1056
|
-
break;
|
|
1057
|
-
case 'Ed':
|
|
1058
|
-
kty = 'OKP';
|
|
1059
|
-
break;
|
|
1060
|
-
case 'ML':
|
|
1061
|
-
kty = 'AKP';
|
|
1062
|
-
break;
|
|
1063
|
-
default:
|
|
1064
|
-
throw new UnsupportedOperationError('unsupported JWS algorithm', { cause: { alg } });
|
|
1065
|
-
}
|
|
1066
|
-
const candidates = jwks.keys.filter((jwk) => {
|
|
1067
|
-
if (jwk.kty !== kty) {
|
|
1068
|
-
return false;
|
|
1069
|
-
}
|
|
1070
|
-
if (kid !== undefined && kid !== jwk.kid) {
|
|
1071
|
-
return false;
|
|
1072
|
-
}
|
|
1073
|
-
if (jwk.alg !== undefined && alg !== jwk.alg) {
|
|
1074
|
-
return false;
|
|
1075
|
-
}
|
|
1076
|
-
if (jwk.use !== undefined && jwk.use !== 'sig') {
|
|
1077
|
-
return false;
|
|
1078
|
-
}
|
|
1079
|
-
if (jwk.key_ops?.includes('verify') === false) {
|
|
1080
|
-
return false;
|
|
1081
|
-
}
|
|
1082
|
-
switch (true) {
|
|
1083
|
-
case alg === 'ES256' && jwk.crv !== 'P-256':
|
|
1084
|
-
case alg === 'ES384' && jwk.crv !== 'P-384':
|
|
1085
|
-
case alg === 'ES512' && jwk.crv !== 'P-521':
|
|
1086
|
-
case alg === 'Ed25519' && jwk.crv !== 'Ed25519':
|
|
1087
|
-
case alg === 'EdDSA' && jwk.crv !== 'Ed25519':
|
|
1088
|
-
return false;
|
|
1089
|
-
}
|
|
1090
|
-
return true;
|
|
1091
|
-
});
|
|
1092
|
-
const { 0: jwk, length } = candidates;
|
|
1093
|
-
if (!length) {
|
|
1094
|
-
if (age >= 60) {
|
|
1095
|
-
clearJwksCache(as, options?.[jwksCache]);
|
|
1096
|
-
return getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
1097
|
-
}
|
|
1098
|
-
throw OPE('error when selecting a JWT verification key, no applicable keys found', KEY_SELECTION, { header, candidates, jwks_uri: new URL(as.jwks_uri) });
|
|
1099
|
-
}
|
|
1100
|
-
if (length !== 1) {
|
|
1101
|
-
throw OPE('error when selecting a JWT verification key, multiple applicable keys found, a "kid" JWT Header Parameter is required', KEY_SELECTION, { header, candidates, jwks_uri: new URL(as.jwks_uri) });
|
|
1102
|
-
}
|
|
1103
|
-
return importJwk(alg, jwk);
|
|
1104
|
-
}
|
|
1105
|
-
export const skipSubjectCheck = Symbol();
|
|
1106
|
-
export function getContentType(input) {
|
|
1107
|
-
return input.headers.get('content-type')?.split(';')[0];
|
|
1108
|
-
}
|
|
1109
|
-
export async function processUserInfoResponse(as, client, expectedSubject, response, options) {
|
|
1110
|
-
assertAs(as);
|
|
1111
|
-
assertClient(client);
|
|
1112
|
-
if (!looseInstanceOf(response, Response)) {
|
|
1113
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
1114
|
-
}
|
|
1115
|
-
checkAuthenticationChallenges(response);
|
|
1116
|
-
if (response.status !== 200) {
|
|
1117
|
-
throw OPE('"response" is not a conform UserInfo Endpoint response (unexpected HTTP status code)', RESPONSE_IS_NOT_CONFORM, response);
|
|
1118
|
-
}
|
|
1119
|
-
assertReadableResponse(response);
|
|
1120
|
-
let json;
|
|
1121
|
-
if (getContentType(response) === 'application/jwt') {
|
|
1122
|
-
const { claims, jwt } = await validateJwt(await response.text(), checkSigningAlgorithm.bind(undefined, client.userinfo_signed_response_alg, as.userinfo_signing_alg_values_supported, undefined), getClockSkew(client), getClockTolerance(client), options?.[jweDecrypt])
|
|
1123
|
-
.then(validateOptionalAudience.bind(undefined, client.client_id))
|
|
1124
|
-
.then(validateOptionalIssuer.bind(undefined, as));
|
|
1125
|
-
jwtRefs.set(response, jwt);
|
|
1126
|
-
json = claims;
|
|
1127
|
-
}
|
|
1128
|
-
else {
|
|
1129
|
-
if (client.userinfo_signed_response_alg) {
|
|
1130
|
-
throw OPE('JWT UserInfo Response expected', JWT_USERINFO_EXPECTED, response);
|
|
1131
|
-
}
|
|
1132
|
-
json = await getResponseJsonBody(response);
|
|
1133
|
-
}
|
|
1134
|
-
assertString(json.sub, '"response" body "sub" property', INVALID_RESPONSE, { body: json });
|
|
1135
|
-
switch (expectedSubject) {
|
|
1136
|
-
case skipSubjectCheck:
|
|
1137
|
-
break;
|
|
1138
|
-
default:
|
|
1139
|
-
assertString(expectedSubject, '"expectedSubject"');
|
|
1140
|
-
if (json.sub !== expectedSubject) {
|
|
1141
|
-
throw OPE('unexpected "response" body "sub" property value', JSON_ATTRIBUTE_COMPARISON, {
|
|
1142
|
-
expected: expectedSubject,
|
|
1143
|
-
body: json,
|
|
1144
|
-
attribute: 'sub',
|
|
1145
|
-
});
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
return json;
|
|
1149
|
-
}
|
|
1150
|
-
async function authenticatedRequest(as, client, clientAuthentication, url, body, headers, options) {
|
|
1151
|
-
await clientAuthentication(as, client, body, headers);
|
|
1152
|
-
headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
|
|
1153
|
-
return (options?.[customFetch] || fetch)(url.href, {
|
|
1154
|
-
body,
|
|
1155
|
-
headers: Object.fromEntries(headers.entries()),
|
|
1156
|
-
method: 'POST',
|
|
1157
|
-
redirect: 'manual',
|
|
1158
|
-
signal: signal(url, options?.signal),
|
|
1159
|
-
});
|
|
1160
|
-
}
|
|
1161
|
-
async function tokenEndpointRequest(as, client, clientAuthentication, grantType, parameters, options) {
|
|
1162
|
-
const url = resolveEndpoint(as, 'token_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
1163
|
-
parameters.set('grant_type', grantType);
|
|
1164
|
-
const headers = prepareHeaders(options?.headers);
|
|
1165
|
-
headers.set('accept', 'application/json');
|
|
1166
|
-
if (options?.DPoP !== undefined) {
|
|
1167
|
-
assertDPoP(options.DPoP);
|
|
1168
|
-
await options.DPoP.addProof(url, headers, 'POST');
|
|
1169
|
-
}
|
|
1170
|
-
const response = await authenticatedRequest(as, client, clientAuthentication, url, parameters, headers, options);
|
|
1171
|
-
options?.DPoP?.cacheNonce(response, url);
|
|
1172
|
-
return response;
|
|
1173
|
-
}
|
|
1174
|
-
export async function refreshTokenGrantRequest(as, client, clientAuthentication, refreshToken, options) {
|
|
1175
|
-
assertAs(as);
|
|
1176
|
-
assertClient(client);
|
|
1177
|
-
assertString(refreshToken, '"refreshToken"');
|
|
1178
|
-
const parameters = new URLSearchParams(options?.additionalParameters);
|
|
1179
|
-
parameters.set('refresh_token', refreshToken);
|
|
1180
|
-
return tokenEndpointRequest(as, client, clientAuthentication, 'refresh_token', parameters, options);
|
|
1181
|
-
}
|
|
1182
|
-
const idTokenClaims = new WeakMap();
|
|
1183
|
-
const jwtRefs = new WeakMap();
|
|
1184
|
-
export function getValidatedIdTokenClaims(ref) {
|
|
1185
|
-
if (!ref.id_token) {
|
|
1186
|
-
return undefined;
|
|
1187
|
-
}
|
|
1188
|
-
const claims = idTokenClaims.get(ref);
|
|
1189
|
-
if (!claims) {
|
|
1190
|
-
throw CodedTypeError('"ref" was already garbage collected or did not resolve from the proper sources', ERR_INVALID_ARG_VALUE);
|
|
1191
|
-
}
|
|
1192
|
-
return claims;
|
|
1193
|
-
}
|
|
1194
|
-
export async function validateApplicationLevelSignature(as, ref, options) {
|
|
1195
|
-
assertAs(as);
|
|
1196
|
-
if (!jwtRefs.has(ref)) {
|
|
1197
|
-
throw CodedTypeError('"ref" does not contain a processed JWT Response to verify the signature of', ERR_INVALID_ARG_VALUE);
|
|
1198
|
-
}
|
|
1199
|
-
const { 0: protectedHeader, 1: payload, 2: encodedSignature } = jwtRefs.get(ref).split('.');
|
|
1200
|
-
const header = JSON.parse(buf(b64u(protectedHeader)));
|
|
1201
|
-
if (header.alg.startsWith('HS')) {
|
|
1202
|
-
throw new UnsupportedOperationError('unsupported JWS algorithm', { cause: { alg: header.alg } });
|
|
1203
|
-
}
|
|
1204
|
-
let key;
|
|
1205
|
-
key = await getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
1206
|
-
await validateJwsSignature(protectedHeader, payload, key, b64u(encodedSignature));
|
|
1207
|
-
}
|
|
1208
|
-
async function processGenericAccessTokenResponse(as, client, response, additionalRequiredIdTokenClaims, decryptFn, recognizedTokenTypes) {
|
|
1209
|
-
assertAs(as);
|
|
1210
|
-
assertClient(client);
|
|
1211
|
-
if (!looseInstanceOf(response, Response)) {
|
|
1212
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
1213
|
-
}
|
|
1214
|
-
await checkOAuthBodyError(response, 200, 'Token Endpoint');
|
|
1215
|
-
assertReadableResponse(response);
|
|
1216
|
-
const json = await getResponseJsonBody(response);
|
|
1217
|
-
assertString(json.access_token, '"response" body "access_token" property', INVALID_RESPONSE, {
|
|
1218
|
-
body: json,
|
|
1219
|
-
});
|
|
1220
|
-
assertString(json.token_type, '"response" body "token_type" property', INVALID_RESPONSE, {
|
|
1221
|
-
body: json,
|
|
1222
|
-
});
|
|
1223
|
-
json.token_type = json.token_type.toLowerCase();
|
|
1224
|
-
if (json.expires_in !== undefined) {
|
|
1225
|
-
let expiresIn = typeof json.expires_in !== 'number' ? parseFloat(json.expires_in) : json.expires_in;
|
|
1226
|
-
assertNumber(expiresIn, true, '"response" body "expires_in" property', INVALID_RESPONSE, {
|
|
1227
|
-
body: json,
|
|
1228
|
-
});
|
|
1229
|
-
json.expires_in = expiresIn;
|
|
1230
|
-
}
|
|
1231
|
-
if (json.refresh_token !== undefined) {
|
|
1232
|
-
assertString(json.refresh_token, '"response" body "refresh_token" property', INVALID_RESPONSE, {
|
|
1233
|
-
body: json,
|
|
1234
|
-
});
|
|
1235
|
-
}
|
|
1236
|
-
if (json.scope !== undefined && typeof json.scope !== 'string') {
|
|
1237
|
-
throw OPE('"response" body "scope" property must be a string', INVALID_RESPONSE, { body: json });
|
|
1238
|
-
}
|
|
1239
|
-
if (json.id_token !== undefined) {
|
|
1240
|
-
assertString(json.id_token, '"response" body "id_token" property', INVALID_RESPONSE, {
|
|
1241
|
-
body: json,
|
|
1242
|
-
});
|
|
1243
|
-
const requiredClaims = ['aud', 'exp', 'iat', 'iss', 'sub'];
|
|
1244
|
-
if (client.require_auth_time === true) {
|
|
1245
|
-
requiredClaims.push('auth_time');
|
|
1246
|
-
}
|
|
1247
|
-
if (client.default_max_age !== undefined) {
|
|
1248
|
-
assertNumber(client.default_max_age, true, '"client.default_max_age"');
|
|
1249
|
-
requiredClaims.push('auth_time');
|
|
1250
|
-
}
|
|
1251
|
-
if (additionalRequiredIdTokenClaims?.length) {
|
|
1252
|
-
requiredClaims.push(...additionalRequiredIdTokenClaims);
|
|
1253
|
-
}
|
|
1254
|
-
const { claims, jwt } = await validateJwt(json.id_token, checkSigningAlgorithm.bind(undefined, client.id_token_signed_response_alg, as.id_token_signing_alg_values_supported, 'RS256'), getClockSkew(client), getClockTolerance(client), decryptFn)
|
|
1255
|
-
.then(validatePresence.bind(undefined, requiredClaims))
|
|
1256
|
-
.then(validateIssuer.bind(undefined, as))
|
|
1257
|
-
.then(validateAudience.bind(undefined, client.client_id));
|
|
1258
|
-
if (Array.isArray(claims.aud) && claims.aud.length !== 1) {
|
|
1259
|
-
if (claims.azp === undefined) {
|
|
1260
|
-
throw OPE('ID Token "aud" (audience) claim includes additional untrusted audiences', JWT_CLAIM_COMPARISON, { claims, claim: 'aud' });
|
|
1261
|
-
}
|
|
1262
|
-
if (claims.azp !== client.client_id) {
|
|
1263
|
-
throw OPE('unexpected ID Token "azp" (authorized party) claim value', JWT_CLAIM_COMPARISON, { expected: client.client_id, claims, claim: 'azp' });
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
if (claims.auth_time !== undefined) {
|
|
1267
|
-
assertNumber(claims.auth_time, true, 'ID Token "auth_time" (authentication time)', INVALID_RESPONSE, { claims });
|
|
1268
|
-
}
|
|
1269
|
-
jwtRefs.set(response, jwt);
|
|
1270
|
-
idTokenClaims.set(json, claims);
|
|
1271
|
-
}
|
|
1272
|
-
if (recognizedTokenTypes?.[json.token_type] !== undefined) {
|
|
1273
|
-
recognizedTokenTypes[json.token_type](response, json);
|
|
1274
|
-
}
|
|
1275
|
-
else if (json.token_type !== 'dpop' && json.token_type !== 'bearer') {
|
|
1276
|
-
throw new UnsupportedOperationError('unsupported `token_type` value', { cause: { body: json } });
|
|
1277
|
-
}
|
|
1278
|
-
return json;
|
|
1279
|
-
}
|
|
1280
|
-
function checkAuthenticationChallenges(response) {
|
|
1281
|
-
let challenges;
|
|
1282
|
-
if ((challenges = parseWwwAuthenticateChallenges(response))) {
|
|
1283
|
-
throw new WWWAuthenticateChallengeError('server responded with a challenge in the WWW-Authenticate HTTP Header', { cause: challenges, response });
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
export async function processRefreshTokenResponse(as, client, response, options) {
|
|
1287
|
-
return processGenericAccessTokenResponse(as, client, response, undefined, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
1288
|
-
}
|
|
1289
|
-
function validateOptionalAudience(expected, result) {
|
|
1290
|
-
if (result.claims.aud !== undefined) {
|
|
1291
|
-
return validateAudience(expected, result);
|
|
1292
|
-
}
|
|
1293
|
-
return result;
|
|
1294
|
-
}
|
|
1295
|
-
function validateAudience(expected, result) {
|
|
1296
|
-
if (Array.isArray(result.claims.aud)) {
|
|
1297
|
-
if (!result.claims.aud.includes(expected)) {
|
|
1298
|
-
throw OPE('unexpected JWT "aud" (audience) claim value', JWT_CLAIM_COMPARISON, {
|
|
1299
|
-
expected,
|
|
1300
|
-
claims: result.claims,
|
|
1301
|
-
claim: 'aud',
|
|
1302
|
-
});
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
else if (result.claims.aud !== expected) {
|
|
1306
|
-
throw OPE('unexpected JWT "aud" (audience) claim value', JWT_CLAIM_COMPARISON, {
|
|
1307
|
-
expected,
|
|
1308
|
-
claims: result.claims,
|
|
1309
|
-
claim: 'aud',
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
return result;
|
|
1313
|
-
}
|
|
1314
|
-
function validateOptionalIssuer(as, result) {
|
|
1315
|
-
if (result.claims.iss !== undefined) {
|
|
1316
|
-
return validateIssuer(as, result);
|
|
1317
|
-
}
|
|
1318
|
-
return result;
|
|
1319
|
-
}
|
|
1320
|
-
function validateIssuer(as, result) {
|
|
1321
|
-
const expected = as[_expectedIssuer]?.(result) ?? as.issuer;
|
|
1322
|
-
if (result.claims.iss !== expected) {
|
|
1323
|
-
throw OPE('unexpected JWT "iss" (issuer) claim value', JWT_CLAIM_COMPARISON, {
|
|
1324
|
-
expected,
|
|
1325
|
-
claims: result.claims,
|
|
1326
|
-
claim: 'iss',
|
|
1327
|
-
});
|
|
1328
|
-
}
|
|
1329
|
-
return result;
|
|
1330
|
-
}
|
|
1331
|
-
const branded = new WeakSet();
|
|
1332
|
-
function brand(searchParams) {
|
|
1333
|
-
branded.add(searchParams);
|
|
1334
|
-
return searchParams;
|
|
1335
|
-
}
|
|
1336
|
-
export const nopkce = Symbol();
|
|
1337
|
-
export async function authorizationCodeGrantRequest(as, client, clientAuthentication, callbackParameters, redirectUri, codeVerifier, options) {
|
|
1338
|
-
assertAs(as);
|
|
1339
|
-
assertClient(client);
|
|
1340
|
-
if (!branded.has(callbackParameters)) {
|
|
1341
|
-
throw CodedTypeError('"callbackParameters" must be an instance of URLSearchParams obtained from "validateAuthResponse()", or "validateJwtAuthResponse()', ERR_INVALID_ARG_VALUE);
|
|
1342
|
-
}
|
|
1343
|
-
assertString(redirectUri, '"redirectUri"');
|
|
1344
|
-
const code = getURLSearchParameter(callbackParameters, 'code');
|
|
1345
|
-
if (!code) {
|
|
1346
|
-
throw OPE('no authorization code in "callbackParameters"', INVALID_RESPONSE);
|
|
1347
|
-
}
|
|
1348
|
-
const parameters = new URLSearchParams(options?.additionalParameters);
|
|
1349
|
-
parameters.set('redirect_uri', redirectUri);
|
|
1350
|
-
parameters.set('code', code);
|
|
1351
|
-
if (codeVerifier !== nopkce) {
|
|
1352
|
-
assertString(codeVerifier, '"codeVerifier"');
|
|
1353
|
-
parameters.set('code_verifier', codeVerifier);
|
|
1354
|
-
}
|
|
1355
|
-
return tokenEndpointRequest(as, client, clientAuthentication, 'authorization_code', parameters, options);
|
|
1356
|
-
}
|
|
1357
|
-
const jwtClaimNames = {
|
|
1358
|
-
aud: 'audience',
|
|
1359
|
-
c_hash: 'code hash',
|
|
1360
|
-
client_id: 'client id',
|
|
1361
|
-
exp: 'expiration time',
|
|
1362
|
-
iat: 'issued at',
|
|
1363
|
-
iss: 'issuer',
|
|
1364
|
-
jti: 'jwt id',
|
|
1365
|
-
nonce: 'nonce',
|
|
1366
|
-
s_hash: 'state hash',
|
|
1367
|
-
sub: 'subject',
|
|
1368
|
-
ath: 'access token hash',
|
|
1369
|
-
htm: 'http method',
|
|
1370
|
-
htu: 'http uri',
|
|
1371
|
-
cnf: 'confirmation',
|
|
1372
|
-
auth_time: 'authentication time',
|
|
1373
|
-
};
|
|
1374
|
-
function validatePresence(required, result) {
|
|
1375
|
-
for (const claim of required) {
|
|
1376
|
-
if (result.claims[claim] === undefined) {
|
|
1377
|
-
throw OPE(`JWT "${claim}" (${jwtClaimNames[claim]}) claim missing`, INVALID_RESPONSE, {
|
|
1378
|
-
claims: result.claims,
|
|
1379
|
-
});
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
return result;
|
|
1383
|
-
}
|
|
1384
|
-
export const expectNoNonce = Symbol();
|
|
1385
|
-
export const skipAuthTimeCheck = Symbol();
|
|
1386
|
-
export async function processAuthorizationCodeResponse(as, client, response, options) {
|
|
1387
|
-
if (typeof options?.expectedNonce === 'string' ||
|
|
1388
|
-
typeof options?.maxAge === 'number' ||
|
|
1389
|
-
options?.requireIdToken) {
|
|
1390
|
-
return processAuthorizationCodeOpenIDResponse(as, client, response, options.expectedNonce, options.maxAge, options[jweDecrypt], options.recognizedTokenTypes);
|
|
1391
|
-
}
|
|
1392
|
-
return processAuthorizationCodeOAuth2Response(as, client, response, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
1393
|
-
}
|
|
1394
|
-
async function processAuthorizationCodeOpenIDResponse(as, client, response, expectedNonce, maxAge, decryptFn, recognizedTokenTypes) {
|
|
1395
|
-
const additionalRequiredClaims = [];
|
|
1396
|
-
switch (expectedNonce) {
|
|
1397
|
-
case undefined:
|
|
1398
|
-
expectedNonce = expectNoNonce;
|
|
1399
|
-
break;
|
|
1400
|
-
case expectNoNonce:
|
|
1401
|
-
break;
|
|
1402
|
-
default:
|
|
1403
|
-
assertString(expectedNonce, '"expectedNonce" argument');
|
|
1404
|
-
additionalRequiredClaims.push('nonce');
|
|
1405
|
-
}
|
|
1406
|
-
maxAge ??= client.default_max_age;
|
|
1407
|
-
switch (maxAge) {
|
|
1408
|
-
case undefined:
|
|
1409
|
-
maxAge = skipAuthTimeCheck;
|
|
1410
|
-
break;
|
|
1411
|
-
case skipAuthTimeCheck:
|
|
1412
|
-
break;
|
|
1413
|
-
default:
|
|
1414
|
-
assertNumber(maxAge, true, '"maxAge" argument');
|
|
1415
|
-
additionalRequiredClaims.push('auth_time');
|
|
1416
|
-
}
|
|
1417
|
-
const result = await processGenericAccessTokenResponse(as, client, response, additionalRequiredClaims, decryptFn, recognizedTokenTypes);
|
|
1418
|
-
assertString(result.id_token, '"response" body "id_token" property', INVALID_RESPONSE, {
|
|
1419
|
-
body: result,
|
|
1420
|
-
});
|
|
1421
|
-
const claims = getValidatedIdTokenClaims(result);
|
|
1422
|
-
if (maxAge !== skipAuthTimeCheck) {
|
|
1423
|
-
const now = epochTime() + getClockSkew(client);
|
|
1424
|
-
const tolerance = getClockTolerance(client);
|
|
1425
|
-
if (claims.auth_time + maxAge < now - tolerance) {
|
|
1426
|
-
throw OPE('too much time has elapsed since the last End-User authentication', JWT_TIMESTAMP_CHECK, { claims, now, tolerance, claim: 'auth_time' });
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
if (expectedNonce === expectNoNonce) {
|
|
1430
|
-
if (claims.nonce !== undefined) {
|
|
1431
|
-
throw OPE('unexpected ID Token "nonce" claim value', JWT_CLAIM_COMPARISON, {
|
|
1432
|
-
expected: undefined,
|
|
1433
|
-
claims,
|
|
1434
|
-
claim: 'nonce',
|
|
1435
|
-
});
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
else if (claims.nonce !== expectedNonce) {
|
|
1439
|
-
throw OPE('unexpected ID Token "nonce" claim value', JWT_CLAIM_COMPARISON, {
|
|
1440
|
-
expected: expectedNonce,
|
|
1441
|
-
claims,
|
|
1442
|
-
claim: 'nonce',
|
|
1443
|
-
});
|
|
1444
|
-
}
|
|
1445
|
-
return result;
|
|
1446
|
-
}
|
|
1447
|
-
async function processAuthorizationCodeOAuth2Response(as, client, response, decryptFn, recognizedTokenTypes) {
|
|
1448
|
-
const result = await processGenericAccessTokenResponse(as, client, response, undefined, decryptFn, recognizedTokenTypes);
|
|
1449
|
-
const claims = getValidatedIdTokenClaims(result);
|
|
1450
|
-
if (claims) {
|
|
1451
|
-
if (client.default_max_age !== undefined) {
|
|
1452
|
-
assertNumber(client.default_max_age, true, '"client.default_max_age"');
|
|
1453
|
-
const now = epochTime() + getClockSkew(client);
|
|
1454
|
-
const tolerance = getClockTolerance(client);
|
|
1455
|
-
if (claims.auth_time + client.default_max_age < now - tolerance) {
|
|
1456
|
-
throw OPE('too much time has elapsed since the last End-User authentication', JWT_TIMESTAMP_CHECK, { claims, now, tolerance, claim: 'auth_time' });
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
if (claims.nonce !== undefined) {
|
|
1460
|
-
throw OPE('unexpected ID Token "nonce" claim value', JWT_CLAIM_COMPARISON, {
|
|
1461
|
-
expected: undefined,
|
|
1462
|
-
claims,
|
|
1463
|
-
claim: 'nonce',
|
|
1464
|
-
});
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
return result;
|
|
1468
|
-
}
|
|
1469
|
-
export const WWW_AUTHENTICATE_CHALLENGE = 'OAUTH_WWW_AUTHENTICATE_CHALLENGE';
|
|
1470
|
-
export const RESPONSE_BODY_ERROR = 'OAUTH_RESPONSE_BODY_ERROR';
|
|
1471
|
-
export const UNSUPPORTED_OPERATION = 'OAUTH_UNSUPPORTED_OPERATION';
|
|
1472
|
-
export const AUTHORIZATION_RESPONSE_ERROR = 'OAUTH_AUTHORIZATION_RESPONSE_ERROR';
|
|
1473
|
-
export const JWT_USERINFO_EXPECTED = 'OAUTH_JWT_USERINFO_EXPECTED';
|
|
1474
|
-
export const PARSE_ERROR = 'OAUTH_PARSE_ERROR';
|
|
1475
|
-
export const INVALID_RESPONSE = 'OAUTH_INVALID_RESPONSE';
|
|
1476
|
-
export const INVALID_REQUEST = 'OAUTH_INVALID_REQUEST';
|
|
1477
|
-
export const RESPONSE_IS_NOT_JSON = 'OAUTH_RESPONSE_IS_NOT_JSON';
|
|
1478
|
-
export const RESPONSE_IS_NOT_CONFORM = 'OAUTH_RESPONSE_IS_NOT_CONFORM';
|
|
1479
|
-
export const HTTP_REQUEST_FORBIDDEN = 'OAUTH_HTTP_REQUEST_FORBIDDEN';
|
|
1480
|
-
export const REQUEST_PROTOCOL_FORBIDDEN = 'OAUTH_REQUEST_PROTOCOL_FORBIDDEN';
|
|
1481
|
-
export const JWT_TIMESTAMP_CHECK = 'OAUTH_JWT_TIMESTAMP_CHECK_FAILED';
|
|
1482
|
-
export const JWT_CLAIM_COMPARISON = 'OAUTH_JWT_CLAIM_COMPARISON_FAILED';
|
|
1483
|
-
export const JSON_ATTRIBUTE_COMPARISON = 'OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED';
|
|
1484
|
-
export const KEY_SELECTION = 'OAUTH_KEY_SELECTION_FAILED';
|
|
1485
|
-
export const MISSING_SERVER_METADATA = 'OAUTH_MISSING_SERVER_METADATA';
|
|
1486
|
-
export const INVALID_SERVER_METADATA = 'OAUTH_INVALID_SERVER_METADATA';
|
|
1487
|
-
function checkJwtType(expected, result) {
|
|
1488
|
-
if (typeof result.header.typ !== 'string' || normalizeTyp(result.header.typ) !== expected) {
|
|
1489
|
-
throw OPE('unexpected JWT "typ" header parameter value', INVALID_RESPONSE, {
|
|
1490
|
-
header: result.header,
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
return result;
|
|
1494
|
-
}
|
|
1495
|
-
export async function clientCredentialsGrantRequest(as, client, clientAuthentication, parameters, options) {
|
|
1496
|
-
assertAs(as);
|
|
1497
|
-
assertClient(client);
|
|
1498
|
-
return tokenEndpointRequest(as, client, clientAuthentication, 'client_credentials', new URLSearchParams(parameters), options);
|
|
1499
|
-
}
|
|
1500
|
-
export async function genericTokenEndpointRequest(as, client, clientAuthentication, grantType, parameters, options) {
|
|
1501
|
-
assertAs(as);
|
|
1502
|
-
assertClient(client);
|
|
1503
|
-
assertString(grantType, '"grantType"');
|
|
1504
|
-
return tokenEndpointRequest(as, client, clientAuthentication, grantType, new URLSearchParams(parameters), options);
|
|
1505
|
-
}
|
|
1506
|
-
export async function processGenericTokenEndpointResponse(as, client, response, options) {
|
|
1507
|
-
return processGenericAccessTokenResponse(as, client, response, undefined, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
1508
|
-
}
|
|
1509
|
-
export async function processClientCredentialsResponse(as, client, response, options) {
|
|
1510
|
-
return processGenericAccessTokenResponse(as, client, response, undefined, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
1511
|
-
}
|
|
1512
|
-
export async function revocationRequest(as, client, clientAuthentication, token, options) {
|
|
1513
|
-
assertAs(as);
|
|
1514
|
-
assertClient(client);
|
|
1515
|
-
assertString(token, '"token"');
|
|
1516
|
-
const url = resolveEndpoint(as, 'revocation_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
1517
|
-
const body = new URLSearchParams(options?.additionalParameters);
|
|
1518
|
-
body.set('token', token);
|
|
1519
|
-
const headers = prepareHeaders(options?.headers);
|
|
1520
|
-
headers.delete('accept');
|
|
1521
|
-
return authenticatedRequest(as, client, clientAuthentication, url, body, headers, options);
|
|
1522
|
-
}
|
|
1523
|
-
export async function processRevocationResponse(response) {
|
|
1524
|
-
if (!looseInstanceOf(response, Response)) {
|
|
1525
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
1526
|
-
}
|
|
1527
|
-
await checkOAuthBodyError(response, 200, 'Revocation Endpoint');
|
|
1528
|
-
return undefined;
|
|
1529
|
-
}
|
|
1530
|
-
function assertReadableResponse(response) {
|
|
1531
|
-
if (response.bodyUsed) {
|
|
1532
|
-
throw CodedTypeError('"response" body has been used already', ERR_INVALID_ARG_VALUE);
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
export async function introspectionRequest(as, client, clientAuthentication, token, options) {
|
|
1536
|
-
assertAs(as);
|
|
1537
|
-
assertClient(client);
|
|
1538
|
-
assertString(token, '"token"');
|
|
1539
|
-
const url = resolveEndpoint(as, 'introspection_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
1540
|
-
const body = new URLSearchParams(options?.additionalParameters);
|
|
1541
|
-
body.set('token', token);
|
|
1542
|
-
const headers = prepareHeaders(options?.headers);
|
|
1543
|
-
if (options?.requestJwtResponse ?? client.introspection_signed_response_alg) {
|
|
1544
|
-
headers.set('accept', 'application/token-introspection+jwt');
|
|
1545
|
-
}
|
|
1546
|
-
else {
|
|
1547
|
-
headers.set('accept', 'application/json');
|
|
1548
|
-
}
|
|
1549
|
-
return authenticatedRequest(as, client, clientAuthentication, url, body, headers, options);
|
|
1550
|
-
}
|
|
1551
|
-
export async function processIntrospectionResponse(as, client, response, options) {
|
|
1552
|
-
assertAs(as);
|
|
1553
|
-
assertClient(client);
|
|
1554
|
-
if (!looseInstanceOf(response, Response)) {
|
|
1555
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
1556
|
-
}
|
|
1557
|
-
await checkOAuthBodyError(response, 200, 'Introspection Endpoint');
|
|
1558
|
-
let json;
|
|
1559
|
-
if (getContentType(response) === 'application/token-introspection+jwt') {
|
|
1560
|
-
assertReadableResponse(response);
|
|
1561
|
-
const { claims, jwt } = await validateJwt(await response.text(), checkSigningAlgorithm.bind(undefined, client.introspection_signed_response_alg, as.introspection_signing_alg_values_supported, 'RS256'), getClockSkew(client), getClockTolerance(client), options?.[jweDecrypt])
|
|
1562
|
-
.then(checkJwtType.bind(undefined, 'token-introspection+jwt'))
|
|
1563
|
-
.then(validatePresence.bind(undefined, ['aud', 'iat', 'iss']))
|
|
1564
|
-
.then(validateIssuer.bind(undefined, as))
|
|
1565
|
-
.then(validateAudience.bind(undefined, client.client_id));
|
|
1566
|
-
jwtRefs.set(response, jwt);
|
|
1567
|
-
if (!isJsonObject(claims.token_introspection)) {
|
|
1568
|
-
throw OPE('JWT "token_introspection" claim must be a JSON object', INVALID_RESPONSE, {
|
|
1569
|
-
claims,
|
|
1570
|
-
});
|
|
1571
|
-
}
|
|
1572
|
-
json = claims.token_introspection;
|
|
1573
|
-
}
|
|
1574
|
-
else {
|
|
1575
|
-
assertReadableResponse(response);
|
|
1576
|
-
json = await getResponseJsonBody(response);
|
|
1577
|
-
}
|
|
1578
|
-
if (typeof json.active !== 'boolean') {
|
|
1579
|
-
throw OPE('"response" body "active" property must be a boolean', INVALID_RESPONSE, {
|
|
1580
|
-
body: json,
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
return json;
|
|
1584
|
-
}
|
|
1585
|
-
async function jwksRequest(as, options) {
|
|
1586
|
-
assertAs(as);
|
|
1587
|
-
const url = resolveEndpoint(as, 'jwks_uri', false, options?.[allowInsecureRequests] !== true);
|
|
1588
|
-
const headers = prepareHeaders(options?.headers);
|
|
1589
|
-
headers.set('accept', 'application/json');
|
|
1590
|
-
headers.append('accept', 'application/jwk-set+json');
|
|
1591
|
-
return (options?.[customFetch] || fetch)(url.href, {
|
|
1592
|
-
body: undefined,
|
|
1593
|
-
headers: Object.fromEntries(headers.entries()),
|
|
1594
|
-
method: 'GET',
|
|
1595
|
-
redirect: 'manual',
|
|
1596
|
-
signal: signal(url, options?.signal),
|
|
1597
|
-
});
|
|
1598
|
-
}
|
|
1599
|
-
async function processJwksResponse(response) {
|
|
1600
|
-
if (!looseInstanceOf(response, Response)) {
|
|
1601
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
1602
|
-
}
|
|
1603
|
-
if (response.status !== 200) {
|
|
1604
|
-
throw OPE('"response" is not a conform JSON Web Key Set response (unexpected HTTP status code)', RESPONSE_IS_NOT_CONFORM, response);
|
|
1605
|
-
}
|
|
1606
|
-
assertReadableResponse(response);
|
|
1607
|
-
const json = await getResponseJsonBody(response, (response) => assertContentTypes(response, 'application/json', 'application/jwk-set+json'));
|
|
1608
|
-
if (!Array.isArray(json.keys)) {
|
|
1609
|
-
throw OPE('"response" body "keys" property must be an array', INVALID_RESPONSE, { body: json });
|
|
1610
|
-
}
|
|
1611
|
-
if (!Array.prototype.every.call(json.keys, isJsonObject)) {
|
|
1612
|
-
throw OPE('"response" body "keys" property members must be JWK formatted objects', INVALID_RESPONSE, { body: json });
|
|
1613
|
-
}
|
|
1614
|
-
return json;
|
|
1615
|
-
}
|
|
1616
|
-
function supported(alg) {
|
|
1617
|
-
switch (alg) {
|
|
1618
|
-
case 'PS256':
|
|
1619
|
-
case 'ES256':
|
|
1620
|
-
case 'RS256':
|
|
1621
|
-
case 'PS384':
|
|
1622
|
-
case 'ES384':
|
|
1623
|
-
case 'RS384':
|
|
1624
|
-
case 'PS512':
|
|
1625
|
-
case 'ES512':
|
|
1626
|
-
case 'RS512':
|
|
1627
|
-
case 'Ed25519':
|
|
1628
|
-
case 'EdDSA':
|
|
1629
|
-
case 'ML-DSA-44':
|
|
1630
|
-
case 'ML-DSA-65':
|
|
1631
|
-
case 'ML-DSA-87':
|
|
1632
|
-
return true;
|
|
1633
|
-
default:
|
|
1634
|
-
return false;
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
function checkSupportedJwsAlg(header) {
|
|
1638
|
-
if (!supported(header.alg)) {
|
|
1639
|
-
throw new UnsupportedOperationError('unsupported JWS "alg" identifier', {
|
|
1640
|
-
cause: { alg: header.alg },
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
function checkRsaKeyAlgorithm(key) {
|
|
1645
|
-
const { algorithm } = key;
|
|
1646
|
-
if (typeof algorithm.modulusLength !== 'number' || algorithm.modulusLength < 2048) {
|
|
1647
|
-
throw new UnsupportedOperationError(`unsupported ${algorithm.name} modulusLength`, {
|
|
1648
|
-
cause: key,
|
|
1649
|
-
});
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
function ecdsaHashName(key) {
|
|
1653
|
-
const { algorithm } = key;
|
|
1654
|
-
switch (algorithm.namedCurve) {
|
|
1655
|
-
case 'P-256':
|
|
1656
|
-
return 'SHA-256';
|
|
1657
|
-
case 'P-384':
|
|
1658
|
-
return 'SHA-384';
|
|
1659
|
-
case 'P-521':
|
|
1660
|
-
return 'SHA-512';
|
|
1661
|
-
default:
|
|
1662
|
-
throw new UnsupportedOperationError('unsupported ECDSA namedCurve', { cause: key });
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1665
|
-
function keyToSubtle(key) {
|
|
1666
|
-
switch (key.algorithm.name) {
|
|
1667
|
-
case 'ECDSA':
|
|
1668
|
-
return {
|
|
1669
|
-
name: key.algorithm.name,
|
|
1670
|
-
hash: ecdsaHashName(key),
|
|
1671
|
-
};
|
|
1672
|
-
case 'RSA-PSS': {
|
|
1673
|
-
checkRsaKeyAlgorithm(key);
|
|
1674
|
-
switch (key.algorithm.hash.name) {
|
|
1675
|
-
case 'SHA-256':
|
|
1676
|
-
case 'SHA-384':
|
|
1677
|
-
case 'SHA-512':
|
|
1678
|
-
return {
|
|
1679
|
-
name: key.algorithm.name,
|
|
1680
|
-
saltLength: parseInt(key.algorithm.hash.name.slice(-3), 10) >> 3,
|
|
1681
|
-
};
|
|
1682
|
-
default:
|
|
1683
|
-
throw new UnsupportedOperationError('unsupported RSA-PSS hash name', { cause: key });
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
case 'RSASSA-PKCS1-v1_5':
|
|
1687
|
-
checkRsaKeyAlgorithm(key);
|
|
1688
|
-
return key.algorithm.name;
|
|
1689
|
-
case 'ML-DSA-44':
|
|
1690
|
-
case 'ML-DSA-65':
|
|
1691
|
-
case 'ML-DSA-87':
|
|
1692
|
-
case 'Ed25519':
|
|
1693
|
-
return key.algorithm.name;
|
|
1694
|
-
}
|
|
1695
|
-
throw new UnsupportedOperationError('unsupported CryptoKey algorithm name', { cause: key });
|
|
1696
|
-
}
|
|
1697
|
-
async function validateJwsSignature(protectedHeader, payload, key, signature) {
|
|
1698
|
-
const data = buf(`${protectedHeader}.${payload}`);
|
|
1699
|
-
const algorithm = keyToSubtle(key);
|
|
1700
|
-
const verified = await crypto.subtle.verify(algorithm, key, signature, data);
|
|
1701
|
-
if (!verified) {
|
|
1702
|
-
throw OPE('JWT signature verification failed', INVALID_RESPONSE, {
|
|
1703
|
-
key,
|
|
1704
|
-
data,
|
|
1705
|
-
signature,
|
|
1706
|
-
algorithm,
|
|
1707
|
-
});
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
async function validateJwt(jws, checkAlg, clockSkew, clockTolerance, decryptJwt) {
|
|
1711
|
-
let { 0: protectedHeader, 1: payload, length } = jws.split('.');
|
|
1712
|
-
if (length === 5) {
|
|
1713
|
-
if (decryptJwt !== undefined) {
|
|
1714
|
-
jws = await decryptJwt(jws);
|
|
1715
|
-
({ 0: protectedHeader, 1: payload, length } = jws.split('.'));
|
|
1716
|
-
}
|
|
1717
|
-
else {
|
|
1718
|
-
throw new UnsupportedOperationError('JWE decryption is not configured', { cause: jws });
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
if (length !== 3) {
|
|
1722
|
-
throw OPE('Invalid JWT', INVALID_RESPONSE, jws);
|
|
1723
|
-
}
|
|
1724
|
-
let header;
|
|
1725
|
-
try {
|
|
1726
|
-
header = JSON.parse(buf(b64u(protectedHeader)));
|
|
1727
|
-
}
|
|
1728
|
-
catch (cause) {
|
|
1729
|
-
throw OPE('failed to parse JWT Header body as base64url encoded JSON', PARSE_ERROR, cause);
|
|
1730
|
-
}
|
|
1731
|
-
if (!isJsonObject(header)) {
|
|
1732
|
-
throw OPE('JWT Header must be a top level object', INVALID_RESPONSE, jws);
|
|
1733
|
-
}
|
|
1734
|
-
checkAlg(header);
|
|
1735
|
-
if (header.crit !== undefined) {
|
|
1736
|
-
throw new UnsupportedOperationError('no JWT "crit" header parameter extensions are supported', {
|
|
1737
|
-
cause: { header },
|
|
1738
|
-
});
|
|
1739
|
-
}
|
|
1740
|
-
let claims;
|
|
1741
|
-
try {
|
|
1742
|
-
claims = JSON.parse(buf(b64u(payload)));
|
|
1743
|
-
}
|
|
1744
|
-
catch (cause) {
|
|
1745
|
-
throw OPE('failed to parse JWT Payload body as base64url encoded JSON', PARSE_ERROR, cause);
|
|
1746
|
-
}
|
|
1747
|
-
if (!isJsonObject(claims)) {
|
|
1748
|
-
throw OPE('JWT Payload must be a top level object', INVALID_RESPONSE, jws);
|
|
1749
|
-
}
|
|
1750
|
-
const now = epochTime() + clockSkew;
|
|
1751
|
-
if (claims.exp !== undefined) {
|
|
1752
|
-
if (typeof claims.exp !== 'number') {
|
|
1753
|
-
throw OPE('unexpected JWT "exp" (expiration time) claim type', INVALID_RESPONSE, { claims });
|
|
1754
|
-
}
|
|
1755
|
-
if (claims.exp <= now - clockTolerance) {
|
|
1756
|
-
throw OPE('unexpected JWT "exp" (expiration time) claim value, expiration is past current timestamp', JWT_TIMESTAMP_CHECK, { claims, now, tolerance: clockTolerance, claim: 'exp' });
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
if (claims.iat !== undefined) {
|
|
1760
|
-
if (typeof claims.iat !== 'number') {
|
|
1761
|
-
throw OPE('unexpected JWT "iat" (issued at) claim type', INVALID_RESPONSE, { claims });
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
if (claims.iss !== undefined) {
|
|
1765
|
-
if (typeof claims.iss !== 'string') {
|
|
1766
|
-
throw OPE('unexpected JWT "iss" (issuer) claim type', INVALID_RESPONSE, { claims });
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
if (claims.nbf !== undefined) {
|
|
1770
|
-
if (typeof claims.nbf !== 'number') {
|
|
1771
|
-
throw OPE('unexpected JWT "nbf" (not before) claim type', INVALID_RESPONSE, { claims });
|
|
1772
|
-
}
|
|
1773
|
-
if (claims.nbf > now + clockTolerance) {
|
|
1774
|
-
throw OPE('unexpected JWT "nbf" (not before) claim value', JWT_TIMESTAMP_CHECK, {
|
|
1775
|
-
claims,
|
|
1776
|
-
now,
|
|
1777
|
-
tolerance: clockTolerance,
|
|
1778
|
-
claim: 'nbf',
|
|
1779
|
-
});
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
if (claims.aud !== undefined) {
|
|
1783
|
-
if (typeof claims.aud !== 'string' && !Array.isArray(claims.aud)) {
|
|
1784
|
-
throw OPE('unexpected JWT "aud" (audience) claim type', INVALID_RESPONSE, { claims });
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
return { header, claims, jwt: jws };
|
|
1788
|
-
}
|
|
1789
|
-
export async function validateJwtAuthResponse(as, client, parameters, expectedState, options) {
|
|
1790
|
-
assertAs(as);
|
|
1791
|
-
assertClient(client);
|
|
1792
|
-
if (parameters instanceof URL) {
|
|
1793
|
-
parameters = parameters.searchParams;
|
|
1794
|
-
}
|
|
1795
|
-
if (!(parameters instanceof URLSearchParams)) {
|
|
1796
|
-
throw CodedTypeError('"parameters" must be an instance of URLSearchParams, or URL', ERR_INVALID_ARG_TYPE);
|
|
1797
|
-
}
|
|
1798
|
-
const response = getURLSearchParameter(parameters, 'response');
|
|
1799
|
-
if (!response) {
|
|
1800
|
-
throw OPE('"parameters" does not contain a JARM response', INVALID_RESPONSE);
|
|
1801
|
-
}
|
|
1802
|
-
const { claims, header, jwt } = await validateJwt(response, checkSigningAlgorithm.bind(undefined, client.authorization_signed_response_alg, as.authorization_signing_alg_values_supported, 'RS256'), getClockSkew(client), getClockTolerance(client), options?.[jweDecrypt])
|
|
1803
|
-
.then(validatePresence.bind(undefined, ['aud', 'exp', 'iss']))
|
|
1804
|
-
.then(validateIssuer.bind(undefined, as))
|
|
1805
|
-
.then(validateAudience.bind(undefined, client.client_id));
|
|
1806
|
-
const { 0: protectedHeader, 1: payload, 2: encodedSignature } = jwt.split('.');
|
|
1807
|
-
const signature = b64u(encodedSignature);
|
|
1808
|
-
const key = await getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
1809
|
-
await validateJwsSignature(protectedHeader, payload, key, signature);
|
|
1810
|
-
const result = new URLSearchParams();
|
|
1811
|
-
for (const [key, value] of Object.entries(claims)) {
|
|
1812
|
-
if (typeof value === 'string' && key !== 'aud') {
|
|
1813
|
-
result.set(key, value);
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
return validateAuthResponse(as, client, result, expectedState);
|
|
1817
|
-
}
|
|
1818
|
-
async function idTokenHash(data, header, claimName) {
|
|
1819
|
-
let algorithm;
|
|
1820
|
-
switch (header.alg) {
|
|
1821
|
-
case 'RS256':
|
|
1822
|
-
case 'PS256':
|
|
1823
|
-
case 'ES256':
|
|
1824
|
-
algorithm = 'SHA-256';
|
|
1825
|
-
break;
|
|
1826
|
-
case 'RS384':
|
|
1827
|
-
case 'PS384':
|
|
1828
|
-
case 'ES384':
|
|
1829
|
-
algorithm = 'SHA-384';
|
|
1830
|
-
break;
|
|
1831
|
-
case 'RS512':
|
|
1832
|
-
case 'PS512':
|
|
1833
|
-
case 'ES512':
|
|
1834
|
-
case 'Ed25519':
|
|
1835
|
-
case 'EdDSA':
|
|
1836
|
-
algorithm = 'SHA-512';
|
|
1837
|
-
break;
|
|
1838
|
-
case 'ML-DSA-44':
|
|
1839
|
-
case 'ML-DSA-65':
|
|
1840
|
-
case 'ML-DSA-87':
|
|
1841
|
-
algorithm = { name: 'cSHAKE256', length: 512, outputLength: 512 };
|
|
1842
|
-
break;
|
|
1843
|
-
default:
|
|
1844
|
-
throw new UnsupportedOperationError(`unsupported JWS algorithm for ${claimName} calculation`, { cause: { alg: header.alg } });
|
|
1845
|
-
}
|
|
1846
|
-
const digest = await crypto.subtle.digest(algorithm, buf(data));
|
|
1847
|
-
return b64u(digest.slice(0, digest.byteLength / 2));
|
|
1848
|
-
}
|
|
1849
|
-
async function idTokenHashMatches(data, actual, header, claimName) {
|
|
1850
|
-
const expected = await idTokenHash(data, header, claimName);
|
|
1851
|
-
return actual === expected;
|
|
1852
|
-
}
|
|
1853
|
-
export async function validateDetachedSignatureResponse(as, client, parameters, expectedNonce, expectedState, maxAge, options) {
|
|
1854
|
-
return validateHybridResponse(as, client, parameters, expectedNonce, expectedState, maxAge, options, true);
|
|
1855
|
-
}
|
|
1856
|
-
export async function validateCodeIdTokenResponse(as, client, parameters, expectedNonce, expectedState, maxAge, options) {
|
|
1857
|
-
return validateHybridResponse(as, client, parameters, expectedNonce, expectedState, maxAge, options, false);
|
|
1858
|
-
}
|
|
1859
|
-
async function consumeStream(request) {
|
|
1860
|
-
if (request.bodyUsed) {
|
|
1861
|
-
throw CodedTypeError('form_post Request instances must contain a readable body', ERR_INVALID_ARG_VALUE, { cause: request });
|
|
1862
|
-
}
|
|
1863
|
-
return request.text();
|
|
1864
|
-
}
|
|
1865
|
-
export async function formPostResponse(request) {
|
|
1866
|
-
if (request.method !== 'POST') {
|
|
1867
|
-
throw CodedTypeError('form_post responses are expected to use the POST method', ERR_INVALID_ARG_VALUE, { cause: request });
|
|
1868
|
-
}
|
|
1869
|
-
if (getContentType(request) !== 'application/x-www-form-urlencoded') {
|
|
1870
|
-
throw CodedTypeError('form_post responses are expected to use the application/x-www-form-urlencoded content-type', ERR_INVALID_ARG_VALUE, { cause: request });
|
|
1871
|
-
}
|
|
1872
|
-
return consumeStream(request);
|
|
1873
|
-
}
|
|
1874
|
-
async function validateHybridResponse(as, client, parameters, expectedNonce, expectedState, maxAge, options, fapi) {
|
|
1875
|
-
assertAs(as);
|
|
1876
|
-
assertClient(client);
|
|
1877
|
-
if (parameters instanceof URL) {
|
|
1878
|
-
if (!parameters.hash.length) {
|
|
1879
|
-
throw CodedTypeError('"parameters" as an instance of URL must contain a hash (fragment) with the Authorization Response parameters', ERR_INVALID_ARG_VALUE);
|
|
1880
|
-
}
|
|
1881
|
-
parameters = new URLSearchParams(parameters.hash.slice(1));
|
|
1882
|
-
}
|
|
1883
|
-
else if (looseInstanceOf(parameters, Request)) {
|
|
1884
|
-
parameters = new URLSearchParams(await formPostResponse(parameters));
|
|
1885
|
-
}
|
|
1886
|
-
else if (parameters instanceof URLSearchParams) {
|
|
1887
|
-
parameters = new URLSearchParams(parameters);
|
|
1888
|
-
}
|
|
1889
|
-
else {
|
|
1890
|
-
throw CodedTypeError('"parameters" must be an instance of URLSearchParams, URL, or Response', ERR_INVALID_ARG_TYPE);
|
|
1891
|
-
}
|
|
1892
|
-
const id_token = getURLSearchParameter(parameters, 'id_token');
|
|
1893
|
-
parameters.delete('id_token');
|
|
1894
|
-
switch (expectedState) {
|
|
1895
|
-
case undefined:
|
|
1896
|
-
case expectNoState:
|
|
1897
|
-
break;
|
|
1898
|
-
default:
|
|
1899
|
-
assertString(expectedState, '"expectedState" argument');
|
|
1900
|
-
}
|
|
1901
|
-
const result = validateAuthResponse({
|
|
1902
|
-
...as,
|
|
1903
|
-
authorization_response_iss_parameter_supported: false,
|
|
1904
|
-
}, client, parameters, expectedState);
|
|
1905
|
-
if (!id_token) {
|
|
1906
|
-
throw OPE('"parameters" does not contain an ID Token', INVALID_RESPONSE);
|
|
1907
|
-
}
|
|
1908
|
-
const code = getURLSearchParameter(parameters, 'code');
|
|
1909
|
-
if (!code) {
|
|
1910
|
-
throw OPE('"parameters" does not contain an Authorization Code', INVALID_RESPONSE);
|
|
1911
|
-
}
|
|
1912
|
-
const requiredClaims = [
|
|
1913
|
-
'aud',
|
|
1914
|
-
'exp',
|
|
1915
|
-
'iat',
|
|
1916
|
-
'iss',
|
|
1917
|
-
'sub',
|
|
1918
|
-
'nonce',
|
|
1919
|
-
'c_hash',
|
|
1920
|
-
];
|
|
1921
|
-
const state = parameters.get('state');
|
|
1922
|
-
if (fapi && (typeof expectedState === 'string' || state !== null)) {
|
|
1923
|
-
requiredClaims.push('s_hash');
|
|
1924
|
-
}
|
|
1925
|
-
if (maxAge !== undefined) {
|
|
1926
|
-
assertNumber(maxAge, true, '"maxAge" argument');
|
|
1927
|
-
}
|
|
1928
|
-
else if (client.default_max_age !== undefined) {
|
|
1929
|
-
assertNumber(client.default_max_age, true, '"client.default_max_age"');
|
|
1930
|
-
}
|
|
1931
|
-
maxAge ??= client.default_max_age ?? skipAuthTimeCheck;
|
|
1932
|
-
if (client.require_auth_time || maxAge !== skipAuthTimeCheck) {
|
|
1933
|
-
requiredClaims.push('auth_time');
|
|
1934
|
-
}
|
|
1935
|
-
const { claims, header, jwt } = await validateJwt(id_token, checkSigningAlgorithm.bind(undefined, client.id_token_signed_response_alg, as.id_token_signing_alg_values_supported, 'RS256'), getClockSkew(client), getClockTolerance(client), options?.[jweDecrypt])
|
|
1936
|
-
.then(validatePresence.bind(undefined, requiredClaims))
|
|
1937
|
-
.then(validateIssuer.bind(undefined, as))
|
|
1938
|
-
.then(validateAudience.bind(undefined, client.client_id));
|
|
1939
|
-
const clockSkew = getClockSkew(client);
|
|
1940
|
-
const now = epochTime() + clockSkew;
|
|
1941
|
-
if (claims.iat < now - 3600) {
|
|
1942
|
-
throw OPE('unexpected JWT "iat" (issued at) claim value, it is too far in the past', JWT_TIMESTAMP_CHECK, { now, claims, claim: 'iat' });
|
|
1943
|
-
}
|
|
1944
|
-
assertString(claims.c_hash, 'ID Token "c_hash" (code hash) claim value', INVALID_RESPONSE, {
|
|
1945
|
-
claims,
|
|
1946
|
-
});
|
|
1947
|
-
if (claims.auth_time !== undefined) {
|
|
1948
|
-
assertNumber(claims.auth_time, true, 'ID Token "auth_time" (authentication time)', INVALID_RESPONSE, { claims });
|
|
1949
|
-
}
|
|
1950
|
-
if (maxAge !== skipAuthTimeCheck) {
|
|
1951
|
-
const now = epochTime() + getClockSkew(client);
|
|
1952
|
-
const tolerance = getClockTolerance(client);
|
|
1953
|
-
if (claims.auth_time + maxAge < now - tolerance) {
|
|
1954
|
-
throw OPE('too much time has elapsed since the last End-User authentication', JWT_TIMESTAMP_CHECK, { claims, now, tolerance, claim: 'auth_time' });
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
assertString(expectedNonce, '"expectedNonce" argument');
|
|
1958
|
-
if (claims.nonce !== expectedNonce) {
|
|
1959
|
-
throw OPE('unexpected ID Token "nonce" claim value', JWT_CLAIM_COMPARISON, {
|
|
1960
|
-
expected: expectedNonce,
|
|
1961
|
-
claims,
|
|
1962
|
-
claim: 'nonce',
|
|
1963
|
-
});
|
|
1964
|
-
}
|
|
1965
|
-
if (Array.isArray(claims.aud) && claims.aud.length !== 1) {
|
|
1966
|
-
if (claims.azp === undefined) {
|
|
1967
|
-
throw OPE('ID Token "aud" (audience) claim includes additional untrusted audiences', JWT_CLAIM_COMPARISON, { claims, claim: 'aud' });
|
|
1968
|
-
}
|
|
1969
|
-
if (claims.azp !== client.client_id) {
|
|
1970
|
-
throw OPE('unexpected ID Token "azp" (authorized party) claim value', JWT_CLAIM_COMPARISON, {
|
|
1971
|
-
expected: client.client_id,
|
|
1972
|
-
claims,
|
|
1973
|
-
claim: 'azp',
|
|
1974
|
-
});
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
const { 0: protectedHeader, 1: payload, 2: encodedSignature } = jwt.split('.');
|
|
1978
|
-
const signature = b64u(encodedSignature);
|
|
1979
|
-
const key = await getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
1980
|
-
await validateJwsSignature(protectedHeader, payload, key, signature);
|
|
1981
|
-
if ((await idTokenHashMatches(code, claims.c_hash, header, 'c_hash')) !== true) {
|
|
1982
|
-
throw OPE('invalid ID Token "c_hash" (code hash) claim value', JWT_CLAIM_COMPARISON, {
|
|
1983
|
-
code,
|
|
1984
|
-
alg: header.alg,
|
|
1985
|
-
claim: 'c_hash',
|
|
1986
|
-
claims,
|
|
1987
|
-
});
|
|
1988
|
-
}
|
|
1989
|
-
if ((fapi && state !== null) || claims.s_hash !== undefined) {
|
|
1990
|
-
assertString(claims.s_hash, 'ID Token "s_hash" (state hash) claim value', INVALID_RESPONSE, {
|
|
1991
|
-
claims,
|
|
1992
|
-
});
|
|
1993
|
-
assertString(state, '"state" response parameter', INVALID_RESPONSE, { parameters });
|
|
1994
|
-
if ((await idTokenHashMatches(state, claims.s_hash, header, 's_hash')) !== true) {
|
|
1995
|
-
throw OPE('invalid ID Token "s_hash" (state hash) claim value', JWT_CLAIM_COMPARISON, {
|
|
1996
|
-
state,
|
|
1997
|
-
alg: header.alg,
|
|
1998
|
-
claim: 's_hash',
|
|
1999
|
-
claims,
|
|
2000
|
-
});
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
return result;
|
|
2004
|
-
}
|
|
2005
|
-
function checkSigningAlgorithm(client, issuer, fallback, header) {
|
|
2006
|
-
if (client !== undefined) {
|
|
2007
|
-
if (typeof client === 'string' ? header.alg !== client : !client.includes(header.alg)) {
|
|
2008
|
-
throw OPE('unexpected JWT "alg" header parameter', INVALID_RESPONSE, {
|
|
2009
|
-
header,
|
|
2010
|
-
expected: client,
|
|
2011
|
-
reason: 'client configuration',
|
|
2012
|
-
});
|
|
2013
|
-
}
|
|
2014
|
-
return;
|
|
2015
|
-
}
|
|
2016
|
-
if (Array.isArray(issuer)) {
|
|
2017
|
-
if (!issuer.includes(header.alg)) {
|
|
2018
|
-
throw OPE('unexpected JWT "alg" header parameter', INVALID_RESPONSE, {
|
|
2019
|
-
header,
|
|
2020
|
-
expected: issuer,
|
|
2021
|
-
reason: 'authorization server metadata',
|
|
2022
|
-
});
|
|
2023
|
-
}
|
|
2024
|
-
return;
|
|
2025
|
-
}
|
|
2026
|
-
if (fallback !== undefined) {
|
|
2027
|
-
if (typeof fallback === 'string'
|
|
2028
|
-
? header.alg !== fallback
|
|
2029
|
-
: typeof fallback === 'function'
|
|
2030
|
-
? !fallback(header.alg)
|
|
2031
|
-
: !fallback.includes(header.alg)) {
|
|
2032
|
-
throw OPE('unexpected JWT "alg" header parameter', INVALID_RESPONSE, {
|
|
2033
|
-
header,
|
|
2034
|
-
expected: fallback,
|
|
2035
|
-
reason: 'default value',
|
|
2036
|
-
});
|
|
2037
|
-
}
|
|
2038
|
-
return;
|
|
2039
|
-
}
|
|
2040
|
-
throw OPE('missing client or server configuration to verify used JWT "alg" header parameter', undefined, { client, issuer, fallback });
|
|
2041
|
-
}
|
|
2042
|
-
function getURLSearchParameter(parameters, name) {
|
|
2043
|
-
const { 0: value, length } = parameters.getAll(name);
|
|
2044
|
-
if (length > 1) {
|
|
2045
|
-
throw OPE(`"${name}" parameter must be provided only once`, INVALID_RESPONSE);
|
|
2046
|
-
}
|
|
2047
|
-
return value;
|
|
2048
|
-
}
|
|
2049
|
-
export const skipStateCheck = Symbol();
|
|
2050
|
-
export const expectNoState = Symbol();
|
|
2051
|
-
export function validateAuthResponse(as, client, parameters, expectedState) {
|
|
2052
|
-
assertAs(as);
|
|
2053
|
-
assertClient(client);
|
|
2054
|
-
if (parameters instanceof URL) {
|
|
2055
|
-
parameters = parameters.searchParams;
|
|
2056
|
-
}
|
|
2057
|
-
if (!(parameters instanceof URLSearchParams)) {
|
|
2058
|
-
throw CodedTypeError('"parameters" must be an instance of URLSearchParams, or URL', ERR_INVALID_ARG_TYPE);
|
|
2059
|
-
}
|
|
2060
|
-
if (getURLSearchParameter(parameters, 'response')) {
|
|
2061
|
-
throw OPE('"parameters" contains a JARM response, use validateJwtAuthResponse() instead of validateAuthResponse()', INVALID_RESPONSE, { parameters });
|
|
2062
|
-
}
|
|
2063
|
-
const iss = getURLSearchParameter(parameters, 'iss');
|
|
2064
|
-
const state = getURLSearchParameter(parameters, 'state');
|
|
2065
|
-
if (!iss && as.authorization_response_iss_parameter_supported) {
|
|
2066
|
-
throw OPE('response parameter "iss" (issuer) missing', INVALID_RESPONSE, { parameters });
|
|
2067
|
-
}
|
|
2068
|
-
if (iss && iss !== as.issuer) {
|
|
2069
|
-
throw OPE('unexpected "iss" (issuer) response parameter value', INVALID_RESPONSE, {
|
|
2070
|
-
expected: as.issuer,
|
|
2071
|
-
parameters,
|
|
2072
|
-
});
|
|
2073
|
-
}
|
|
2074
|
-
switch (expectedState) {
|
|
2075
|
-
case undefined:
|
|
2076
|
-
case expectNoState:
|
|
2077
|
-
if (state !== undefined) {
|
|
2078
|
-
throw OPE('unexpected "state" response parameter encountered', INVALID_RESPONSE, {
|
|
2079
|
-
expected: undefined,
|
|
2080
|
-
parameters,
|
|
2081
|
-
});
|
|
2082
|
-
}
|
|
2083
|
-
break;
|
|
2084
|
-
case skipStateCheck:
|
|
2085
|
-
break;
|
|
2086
|
-
default:
|
|
2087
|
-
assertString(expectedState, '"expectedState" argument');
|
|
2088
|
-
if (state !== expectedState) {
|
|
2089
|
-
throw OPE(state === undefined
|
|
2090
|
-
? 'response parameter "state" missing'
|
|
2091
|
-
: 'unexpected "state" response parameter value', INVALID_RESPONSE, { expected: expectedState, parameters });
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
const error = getURLSearchParameter(parameters, 'error');
|
|
2095
|
-
if (error) {
|
|
2096
|
-
throw new AuthorizationResponseError('authorization response from the server is an error', {
|
|
2097
|
-
cause: parameters,
|
|
2098
|
-
});
|
|
2099
|
-
}
|
|
2100
|
-
const id_token = getURLSearchParameter(parameters, 'id_token');
|
|
2101
|
-
const token = getURLSearchParameter(parameters, 'token');
|
|
2102
|
-
if (id_token !== undefined || token !== undefined) {
|
|
2103
|
-
throw new UnsupportedOperationError('implicit and hybrid flows are not supported');
|
|
2104
|
-
}
|
|
2105
|
-
return brand(new URLSearchParams(parameters));
|
|
2106
|
-
}
|
|
2107
|
-
function algToSubtle(alg) {
|
|
2108
|
-
switch (alg) {
|
|
2109
|
-
case 'PS256':
|
|
2110
|
-
case 'PS384':
|
|
2111
|
-
case 'PS512':
|
|
2112
|
-
return { name: 'RSA-PSS', hash: `SHA-${alg.slice(-3)}` };
|
|
2113
|
-
case 'RS256':
|
|
2114
|
-
case 'RS384':
|
|
2115
|
-
case 'RS512':
|
|
2116
|
-
return { name: 'RSASSA-PKCS1-v1_5', hash: `SHA-${alg.slice(-3)}` };
|
|
2117
|
-
case 'ES256':
|
|
2118
|
-
case 'ES384':
|
|
2119
|
-
return { name: 'ECDSA', namedCurve: `P-${alg.slice(-3)}` };
|
|
2120
|
-
case 'ES512':
|
|
2121
|
-
return { name: 'ECDSA', namedCurve: 'P-521' };
|
|
2122
|
-
case 'EdDSA':
|
|
2123
|
-
return 'Ed25519';
|
|
2124
|
-
case 'Ed25519':
|
|
2125
|
-
case 'ML-DSA-44':
|
|
2126
|
-
case 'ML-DSA-65':
|
|
2127
|
-
case 'ML-DSA-87':
|
|
2128
|
-
return alg;
|
|
2129
|
-
default:
|
|
2130
|
-
throw new UnsupportedOperationError('unsupported JWS algorithm', { cause: { alg } });
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
async function importJwk(alg, jwk) {
|
|
2134
|
-
const { ext, key_ops, use, ...key } = jwk;
|
|
2135
|
-
return crypto.subtle.importKey('jwk', key, algToSubtle(alg), true, ['verify']);
|
|
2136
|
-
}
|
|
2137
|
-
export async function deviceAuthorizationRequest(as, client, clientAuthentication, parameters, options) {
|
|
2138
|
-
assertAs(as);
|
|
2139
|
-
assertClient(client);
|
|
2140
|
-
const url = resolveEndpoint(as, 'device_authorization_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
2141
|
-
const body = new URLSearchParams(parameters);
|
|
2142
|
-
body.set('client_id', client.client_id);
|
|
2143
|
-
const headers = prepareHeaders(options?.headers);
|
|
2144
|
-
headers.set('accept', 'application/json');
|
|
2145
|
-
return authenticatedRequest(as, client, clientAuthentication, url, body, headers, options);
|
|
2146
|
-
}
|
|
2147
|
-
export async function processDeviceAuthorizationResponse(as, client, response) {
|
|
2148
|
-
assertAs(as);
|
|
2149
|
-
assertClient(client);
|
|
2150
|
-
if (!looseInstanceOf(response, Response)) {
|
|
2151
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
2152
|
-
}
|
|
2153
|
-
await checkOAuthBodyError(response, 200, 'Device Authorization Endpoint');
|
|
2154
|
-
assertReadableResponse(response);
|
|
2155
|
-
const json = await getResponseJsonBody(response);
|
|
2156
|
-
assertString(json.device_code, '"response" body "device_code" property', INVALID_RESPONSE, {
|
|
2157
|
-
body: json,
|
|
2158
|
-
});
|
|
2159
|
-
assertString(json.user_code, '"response" body "user_code" property', INVALID_RESPONSE, {
|
|
2160
|
-
body: json,
|
|
2161
|
-
});
|
|
2162
|
-
assertString(json.verification_uri, '"response" body "verification_uri" property', INVALID_RESPONSE, { body: json });
|
|
2163
|
-
let expiresIn = typeof json.expires_in !== 'number' ? parseFloat(json.expires_in) : json.expires_in;
|
|
2164
|
-
assertNumber(expiresIn, true, '"response" body "expires_in" property', INVALID_RESPONSE, {
|
|
2165
|
-
body: json,
|
|
2166
|
-
});
|
|
2167
|
-
json.expires_in = expiresIn;
|
|
2168
|
-
if (json.verification_uri_complete !== undefined) {
|
|
2169
|
-
assertString(json.verification_uri_complete, '"response" body "verification_uri_complete" property', INVALID_RESPONSE, { body: json });
|
|
2170
|
-
}
|
|
2171
|
-
if (json.interval !== undefined) {
|
|
2172
|
-
assertNumber(json.interval, false, '"response" body "interval" property', INVALID_RESPONSE, {
|
|
2173
|
-
body: json,
|
|
2174
|
-
});
|
|
2175
|
-
}
|
|
2176
|
-
return json;
|
|
2177
|
-
}
|
|
2178
|
-
export async function deviceCodeGrantRequest(as, client, clientAuthentication, deviceCode, options) {
|
|
2179
|
-
assertAs(as);
|
|
2180
|
-
assertClient(client);
|
|
2181
|
-
assertString(deviceCode, '"deviceCode"');
|
|
2182
|
-
const parameters = new URLSearchParams(options?.additionalParameters);
|
|
2183
|
-
parameters.set('device_code', deviceCode);
|
|
2184
|
-
return tokenEndpointRequest(as, client, clientAuthentication, 'urn:ietf:params:oauth:grant-type:device_code', parameters, options);
|
|
2185
|
-
}
|
|
2186
|
-
export async function processDeviceCodeResponse(as, client, response, options) {
|
|
2187
|
-
return processGenericAccessTokenResponse(as, client, response, undefined, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
2188
|
-
}
|
|
2189
|
-
export async function generateKeyPair(alg, options) {
|
|
2190
|
-
assertString(alg, '"alg"');
|
|
2191
|
-
const algorithm = algToSubtle(alg);
|
|
2192
|
-
if (alg.startsWith('PS') || alg.startsWith('RS')) {
|
|
2193
|
-
Object.assign(algorithm, {
|
|
2194
|
-
modulusLength: options?.modulusLength ?? 2048,
|
|
2195
|
-
publicExponent: new Uint8Array([0x01, 0x00, 0x01]),
|
|
2196
|
-
});
|
|
2197
|
-
}
|
|
2198
|
-
return crypto.subtle.generateKey(algorithm, options?.extractable ?? false, [
|
|
2199
|
-
'sign',
|
|
2200
|
-
'verify',
|
|
2201
|
-
]);
|
|
2202
|
-
}
|
|
2203
|
-
function normalizeHtu(htu) {
|
|
2204
|
-
const url = new URL(htu);
|
|
2205
|
-
url.search = '';
|
|
2206
|
-
url.hash = '';
|
|
2207
|
-
return url.href;
|
|
2208
|
-
}
|
|
2209
|
-
async function validateDPoP(request, accessToken, accessTokenClaims, options) {
|
|
2210
|
-
const headerValue = request.headers.get('dpop');
|
|
2211
|
-
if (headerValue === null) {
|
|
2212
|
-
throw OPE('operation indicated DPoP use but the request has no DPoP HTTP Header', INVALID_REQUEST, { headers: request.headers });
|
|
2213
|
-
}
|
|
2214
|
-
if (request.headers.get('authorization')?.toLowerCase().startsWith('dpop ') === false) {
|
|
2215
|
-
throw OPE(`operation indicated DPoP use but the request's Authorization HTTP Header scheme is not DPoP`, INVALID_REQUEST, { headers: request.headers });
|
|
2216
|
-
}
|
|
2217
|
-
if (typeof accessTokenClaims.cnf?.jkt !== 'string') {
|
|
2218
|
-
throw OPE('operation indicated DPoP use but the JWT Access Token has no jkt confirmation claim', INVALID_REQUEST, { claims: accessTokenClaims });
|
|
2219
|
-
}
|
|
2220
|
-
const clockSkew = getClockSkew(options);
|
|
2221
|
-
const proof = await validateJwt(headerValue, checkSigningAlgorithm.bind(undefined, options?.signingAlgorithms, undefined, supported), clockSkew, getClockTolerance(options), undefined)
|
|
2222
|
-
.then(checkJwtType.bind(undefined, 'dpop+jwt'))
|
|
2223
|
-
.then(validatePresence.bind(undefined, ['iat', 'jti', 'ath', 'htm', 'htu']));
|
|
2224
|
-
const now = epochTime() + clockSkew;
|
|
2225
|
-
const diff = Math.abs(now - proof.claims.iat);
|
|
2226
|
-
if (diff > 300) {
|
|
2227
|
-
throw OPE('DPoP Proof iat is not recent enough', JWT_TIMESTAMP_CHECK, {
|
|
2228
|
-
now,
|
|
2229
|
-
claims: proof.claims,
|
|
2230
|
-
claim: 'iat',
|
|
2231
|
-
});
|
|
2232
|
-
}
|
|
2233
|
-
if (proof.claims.htm !== request.method) {
|
|
2234
|
-
throw OPE('DPoP Proof htm mismatch', JWT_CLAIM_COMPARISON, {
|
|
2235
|
-
expected: request.method,
|
|
2236
|
-
claims: proof.claims,
|
|
2237
|
-
claim: 'htm',
|
|
2238
|
-
});
|
|
2239
|
-
}
|
|
2240
|
-
if (typeof proof.claims.htu !== 'string' ||
|
|
2241
|
-
normalizeHtu(proof.claims.htu) !== normalizeHtu(request.url)) {
|
|
2242
|
-
throw OPE('DPoP Proof htu mismatch', JWT_CLAIM_COMPARISON, {
|
|
2243
|
-
expected: normalizeHtu(request.url),
|
|
2244
|
-
claims: proof.claims,
|
|
2245
|
-
claim: 'htu',
|
|
2246
|
-
});
|
|
2247
|
-
}
|
|
2248
|
-
{
|
|
2249
|
-
const expected = b64u(await crypto.subtle.digest('SHA-256', buf(accessToken)));
|
|
2250
|
-
if (proof.claims.ath !== expected) {
|
|
2251
|
-
throw OPE('DPoP Proof ath mismatch', JWT_CLAIM_COMPARISON, {
|
|
2252
|
-
expected,
|
|
2253
|
-
claims: proof.claims,
|
|
2254
|
-
claim: 'ath',
|
|
2255
|
-
});
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
const { jwk, alg } = proof.header;
|
|
2259
|
-
if (!isJsonObject(jwk)) {
|
|
2260
|
-
throw OPE('DPoP Proof jwk header parameter must be a JSON object', INVALID_REQUEST, {
|
|
2261
|
-
header: proof.header,
|
|
2262
|
-
});
|
|
2263
|
-
}
|
|
2264
|
-
{
|
|
2265
|
-
const expected = await calculateJwkThumbprint(jwk);
|
|
2266
|
-
if (accessTokenClaims.cnf.jkt !== expected) {
|
|
2267
|
-
throw OPE('JWT Access Token confirmation mismatch', JWT_CLAIM_COMPARISON, {
|
|
2268
|
-
expected,
|
|
2269
|
-
claims: accessTokenClaims,
|
|
2270
|
-
claim: 'cnf.jkt',
|
|
2271
|
-
});
|
|
2272
|
-
}
|
|
2273
|
-
}
|
|
2274
|
-
const { 0: protectedHeader, 1: payload, 2: encodedSignature } = headerValue.split('.');
|
|
2275
|
-
const signature = b64u(encodedSignature);
|
|
2276
|
-
const key = await importJwk(alg, jwk);
|
|
2277
|
-
if (key.type !== 'public') {
|
|
2278
|
-
throw OPE('DPoP Proof jwk header parameter must contain a public key', INVALID_REQUEST, {
|
|
2279
|
-
header: proof.header,
|
|
2280
|
-
});
|
|
2281
|
-
}
|
|
2282
|
-
await validateJwsSignature(protectedHeader, payload, key, signature);
|
|
2283
|
-
}
|
|
2284
|
-
export async function validateJwtAccessToken(as, request, expectedAudience, options) {
|
|
2285
|
-
assertAs(as);
|
|
2286
|
-
if (!looseInstanceOf(request, Request)) {
|
|
2287
|
-
throw CodedTypeError('"request" must be an instance of Request', ERR_INVALID_ARG_TYPE);
|
|
2288
|
-
}
|
|
2289
|
-
assertString(expectedAudience, '"expectedAudience"');
|
|
2290
|
-
const authorization = request.headers.get('authorization');
|
|
2291
|
-
if (authorization === null) {
|
|
2292
|
-
throw OPE('"request" is missing an Authorization HTTP Header', INVALID_REQUEST, {
|
|
2293
|
-
headers: request.headers,
|
|
2294
|
-
});
|
|
2295
|
-
}
|
|
2296
|
-
let { 0: scheme, 1: accessToken, length } = authorization.split(' ');
|
|
2297
|
-
scheme = scheme.toLowerCase();
|
|
2298
|
-
switch (scheme) {
|
|
2299
|
-
case 'dpop':
|
|
2300
|
-
case 'bearer':
|
|
2301
|
-
break;
|
|
2302
|
-
default:
|
|
2303
|
-
throw new UnsupportedOperationError('unsupported Authorization HTTP Header scheme', {
|
|
2304
|
-
cause: { headers: request.headers },
|
|
2305
|
-
});
|
|
2306
|
-
}
|
|
2307
|
-
if (length !== 2) {
|
|
2308
|
-
throw OPE('invalid Authorization HTTP Header format', INVALID_REQUEST, {
|
|
2309
|
-
headers: request.headers,
|
|
2310
|
-
});
|
|
2311
|
-
}
|
|
2312
|
-
const requiredClaims = [
|
|
2313
|
-
'iss',
|
|
2314
|
-
'exp',
|
|
2315
|
-
'aud',
|
|
2316
|
-
'sub',
|
|
2317
|
-
'iat',
|
|
2318
|
-
'jti',
|
|
2319
|
-
'client_id',
|
|
2320
|
-
];
|
|
2321
|
-
if (options?.requireDPoP || scheme === 'dpop' || request.headers.has('dpop')) {
|
|
2322
|
-
requiredClaims.push('cnf');
|
|
2323
|
-
}
|
|
2324
|
-
const { claims, header } = await validateJwt(accessToken, checkSigningAlgorithm.bind(undefined, options?.signingAlgorithms, undefined, supported), getClockSkew(options), getClockTolerance(options), undefined)
|
|
2325
|
-
.then(checkJwtType.bind(undefined, 'at+jwt'))
|
|
2326
|
-
.then(validatePresence.bind(undefined, requiredClaims))
|
|
2327
|
-
.then(validateIssuer.bind(undefined, as))
|
|
2328
|
-
.then(validateAudience.bind(undefined, expectedAudience))
|
|
2329
|
-
.catch(reassignRSCode);
|
|
2330
|
-
for (const claim of ['client_id', 'jti', 'sub']) {
|
|
2331
|
-
if (typeof claims[claim] !== 'string') {
|
|
2332
|
-
throw OPE(`unexpected JWT "${claim}" claim type`, INVALID_REQUEST, { claims });
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
if ('cnf' in claims) {
|
|
2336
|
-
if (!isJsonObject(claims.cnf)) {
|
|
2337
|
-
throw OPE('unexpected JWT "cnf" (confirmation) claim value', INVALID_REQUEST, { claims });
|
|
2338
|
-
}
|
|
2339
|
-
const { 0: cnf, length } = Object.keys(claims.cnf);
|
|
2340
|
-
if (length) {
|
|
2341
|
-
if (length !== 1) {
|
|
2342
|
-
throw new UnsupportedOperationError('multiple confirmation claims are not supported', {
|
|
2343
|
-
cause: { claims },
|
|
2344
|
-
});
|
|
2345
|
-
}
|
|
2346
|
-
if (cnf !== 'jkt') {
|
|
2347
|
-
throw new UnsupportedOperationError('unsupported JWT Confirmation method', {
|
|
2348
|
-
cause: { claims },
|
|
2349
|
-
});
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
const { 0: protectedHeader, 1: payload, 2: encodedSignature } = accessToken.split('.');
|
|
2354
|
-
const signature = b64u(encodedSignature);
|
|
2355
|
-
const key = await getPublicSigKeyFromIssuerJwksUri(as, options, header);
|
|
2356
|
-
await validateJwsSignature(protectedHeader, payload, key, signature);
|
|
2357
|
-
if (options?.requireDPoP ||
|
|
2358
|
-
scheme === 'dpop' ||
|
|
2359
|
-
claims.cnf?.jkt !== undefined ||
|
|
2360
|
-
request.headers.has('dpop')) {
|
|
2361
|
-
await validateDPoP(request, accessToken, claims, options).catch(reassignRSCode);
|
|
2362
|
-
}
|
|
2363
|
-
return claims;
|
|
2364
|
-
}
|
|
2365
|
-
function reassignRSCode(err) {
|
|
2366
|
-
if (err instanceof OperationProcessingError && err?.code === INVALID_REQUEST) {
|
|
2367
|
-
err.code = INVALID_RESPONSE;
|
|
2368
|
-
}
|
|
2369
|
-
throw err;
|
|
2370
|
-
}
|
|
2371
|
-
export async function backchannelAuthenticationRequest(as, client, clientAuthentication, parameters, options) {
|
|
2372
|
-
assertAs(as);
|
|
2373
|
-
assertClient(client);
|
|
2374
|
-
const url = resolveEndpoint(as, 'backchannel_authentication_endpoint', client.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
2375
|
-
const body = new URLSearchParams(parameters);
|
|
2376
|
-
body.set('client_id', client.client_id);
|
|
2377
|
-
const headers = prepareHeaders(options?.headers);
|
|
2378
|
-
headers.set('accept', 'application/json');
|
|
2379
|
-
return authenticatedRequest(as, client, clientAuthentication, url, body, headers, options);
|
|
2380
|
-
}
|
|
2381
|
-
export async function processBackchannelAuthenticationResponse(as, client, response) {
|
|
2382
|
-
assertAs(as);
|
|
2383
|
-
assertClient(client);
|
|
2384
|
-
if (!looseInstanceOf(response, Response)) {
|
|
2385
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
2386
|
-
}
|
|
2387
|
-
await checkOAuthBodyError(response, 200, 'Backchannel Authentication Endpoint');
|
|
2388
|
-
assertReadableResponse(response);
|
|
2389
|
-
const json = await getResponseJsonBody(response);
|
|
2390
|
-
assertString(json.auth_req_id, '"response" body "auth_req_id" property', INVALID_RESPONSE, {
|
|
2391
|
-
body: json,
|
|
2392
|
-
});
|
|
2393
|
-
let expiresIn = typeof json.expires_in !== 'number' ? parseFloat(json.expires_in) : json.expires_in;
|
|
2394
|
-
assertNumber(expiresIn, true, '"response" body "expires_in" property', INVALID_RESPONSE, {
|
|
2395
|
-
body: json,
|
|
2396
|
-
});
|
|
2397
|
-
json.expires_in = expiresIn;
|
|
2398
|
-
if (json.interval !== undefined) {
|
|
2399
|
-
assertNumber(json.interval, false, '"response" body "interval" property', INVALID_RESPONSE, {
|
|
2400
|
-
body: json,
|
|
2401
|
-
});
|
|
2402
|
-
}
|
|
2403
|
-
return json;
|
|
2404
|
-
}
|
|
2405
|
-
export async function backchannelAuthenticationGrantRequest(as, client, clientAuthentication, authReqId, options) {
|
|
2406
|
-
assertAs(as);
|
|
2407
|
-
assertClient(client);
|
|
2408
|
-
assertString(authReqId, '"authReqId"');
|
|
2409
|
-
const parameters = new URLSearchParams(options?.additionalParameters);
|
|
2410
|
-
parameters.set('auth_req_id', authReqId);
|
|
2411
|
-
return tokenEndpointRequest(as, client, clientAuthentication, 'urn:openid:params:grant-type:ciba', parameters, options);
|
|
2412
|
-
}
|
|
2413
|
-
export async function processBackchannelAuthenticationGrantResponse(as, client, response, options) {
|
|
2414
|
-
return processGenericAccessTokenResponse(as, client, response, undefined, options?.[jweDecrypt], options?.recognizedTokenTypes);
|
|
2415
|
-
}
|
|
2416
|
-
export async function dynamicClientRegistrationRequest(as, metadata, options) {
|
|
2417
|
-
assertAs(as);
|
|
2418
|
-
const url = resolveEndpoint(as, 'registration_endpoint', metadata.use_mtls_endpoint_aliases, options?.[allowInsecureRequests] !== true);
|
|
2419
|
-
const headers = prepareHeaders(options?.headers);
|
|
2420
|
-
headers.set('accept', 'application/json');
|
|
2421
|
-
headers.set('content-type', 'application/json');
|
|
2422
|
-
const method = 'POST';
|
|
2423
|
-
if (options?.DPoP) {
|
|
2424
|
-
assertDPoP(options.DPoP);
|
|
2425
|
-
await options.DPoP.addProof(url, headers, method, options.initialAccessToken);
|
|
2426
|
-
}
|
|
2427
|
-
if (options?.initialAccessToken) {
|
|
2428
|
-
headers.set('authorization', `${headers.has('dpop') ? 'DPoP' : 'Bearer'} ${options.initialAccessToken}`);
|
|
2429
|
-
}
|
|
2430
|
-
const response = await (options?.[customFetch] || fetch)(url.href, {
|
|
2431
|
-
body: JSON.stringify(metadata),
|
|
2432
|
-
headers: Object.fromEntries(headers.entries()),
|
|
2433
|
-
method,
|
|
2434
|
-
redirect: 'manual',
|
|
2435
|
-
signal: signal(url, options?.signal),
|
|
2436
|
-
});
|
|
2437
|
-
options?.DPoP?.cacheNonce(response, url);
|
|
2438
|
-
return response;
|
|
2439
|
-
}
|
|
2440
|
-
export async function processDynamicClientRegistrationResponse(response) {
|
|
2441
|
-
if (!looseInstanceOf(response, Response)) {
|
|
2442
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
2443
|
-
}
|
|
2444
|
-
await checkOAuthBodyError(response, 201, 'Dynamic Client Registration Endpoint');
|
|
2445
|
-
assertReadableResponse(response);
|
|
2446
|
-
const json = await getResponseJsonBody(response);
|
|
2447
|
-
assertString(json.client_id, '"response" body "client_id" property', INVALID_RESPONSE, {
|
|
2448
|
-
body: json,
|
|
2449
|
-
});
|
|
2450
|
-
if (json.client_secret !== undefined) {
|
|
2451
|
-
assertString(json.client_secret, '"response" body "client_secret" property', INVALID_RESPONSE, {
|
|
2452
|
-
body: json,
|
|
2453
|
-
});
|
|
2454
|
-
}
|
|
2455
|
-
if (json.client_secret) {
|
|
2456
|
-
assertNumber(json.client_secret_expires_at, true, '"response" body "client_secret_expires_at" property', INVALID_RESPONSE, {
|
|
2457
|
-
body: json,
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
return json;
|
|
2461
|
-
}
|
|
2462
|
-
export async function resourceDiscoveryRequest(resourceIdentifier, options) {
|
|
2463
|
-
return performDiscovery(resourceIdentifier, 'resourceIdentifier', (url) => {
|
|
2464
|
-
prependWellKnown(url, '.well-known/oauth-protected-resource', true);
|
|
2465
|
-
return url;
|
|
2466
|
-
}, options);
|
|
2467
|
-
}
|
|
2468
|
-
export async function processResourceDiscoveryResponse(expectedResourceIdentifier, response) {
|
|
2469
|
-
const expected = expectedResourceIdentifier;
|
|
2470
|
-
if (!(expected instanceof URL) && expected !== _nodiscoverycheck) {
|
|
2471
|
-
throw CodedTypeError('"expectedResourceIdentifier" must be an instance of URL', ERR_INVALID_ARG_TYPE);
|
|
2472
|
-
}
|
|
2473
|
-
if (!looseInstanceOf(response, Response)) {
|
|
2474
|
-
throw CodedTypeError('"response" must be an instance of Response', ERR_INVALID_ARG_TYPE);
|
|
2475
|
-
}
|
|
2476
|
-
if (response.status !== 200) {
|
|
2477
|
-
throw OPE('"response" is not a conform Resource Server Metadata response (unexpected HTTP status code)', RESPONSE_IS_NOT_CONFORM, response);
|
|
2478
|
-
}
|
|
2479
|
-
assertReadableResponse(response);
|
|
2480
|
-
const json = await getResponseJsonBody(response);
|
|
2481
|
-
assertString(json.resource, '"response" body "resource" property', INVALID_RESPONSE, {
|
|
2482
|
-
body: json,
|
|
2483
|
-
});
|
|
2484
|
-
if (expected !== _nodiscoverycheck && new URL(json.resource).href !== expected.href) {
|
|
2485
|
-
throw OPE('"response" body "resource" property does not match the expected value', JSON_ATTRIBUTE_COMPARISON, { expected: expected.href, body: json, attribute: 'resource' });
|
|
2486
|
-
}
|
|
2487
|
-
return json;
|
|
2488
|
-
}
|
|
2489
|
-
async function getResponseJsonBody(response, check = assertApplicationJson) {
|
|
2490
|
-
let json;
|
|
2491
|
-
try {
|
|
2492
|
-
json = await response.json();
|
|
2493
|
-
}
|
|
2494
|
-
catch (cause) {
|
|
2495
|
-
check(response);
|
|
2496
|
-
throw OPE('failed to parse "response" body as JSON', PARSE_ERROR, cause);
|
|
2497
|
-
}
|
|
2498
|
-
if (!isJsonObject(json)) {
|
|
2499
|
-
throw OPE('"response" body must be a top level object', INVALID_RESPONSE, { body: json });
|
|
2500
|
-
}
|
|
2501
|
-
return json;
|
|
2502
|
-
}
|
|
2503
|
-
export const _nopkce = nopkce;
|
|
2504
|
-
export const _nodiscoverycheck = Symbol();
|
|
2505
|
-
export const _expectedIssuer = Symbol();
|
|
2506
|
-
//# sourceMappingURL=index.js.map
|