@roster-lock/match-agent 0.3.1 → 0.4.0

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.
Files changed (157) hide show
  1. package/client/dist/assets/index-D2395vmC.css +1 -0
  2. package/client/dist/assets/index-DcKsa72V.js +125 -0
  3. package/client/dist/index.html +2 -2
  4. package/client/e2e/lib/env.ts +50 -0
  5. package/client/e2e/lib/fileDialog.ts +31 -0
  6. package/client/e2e/lib/mockGamepad.ts +71 -0
  7. package/client/e2e/lib/onscreenKeyboard.ts +32 -0
  8. package/client/e2e/playwright.config.ts +48 -0
  9. package/client/e2e/tests/gamepad-only.spec.ts +274 -0
  10. package/client/e2e/tests/keyboard-only.spec.ts +67 -0
  11. package/client/e2e/tsconfig.json +15 -0
  12. package/client/node_modules/.bin/playwright +17 -0
  13. package/client/node_modules/.bin/roster-lock-plugin-manager +17 -0
  14. package/client/node_modules/.vite/deps/@roster-lock_ts-client.js +2 -2
  15. package/client/node_modules/.vite/deps/@roster-lock_types.js +1 -1
  16. package/client/node_modules/.vite/deps/@roster-lock_utils.js +1 -1
  17. package/client/node_modules/.vite/deps/_metadata.json +18 -18
  18. package/client/node_modules/.vite/deps/{chunk-CKYX73LL.js → chunk-3HBL6DQ6.js} +1 -1
  19. package/client/node_modules/.vite/deps/{chunk-CKYX73LL.js.map → chunk-3HBL6DQ6.js.map} +2 -2
  20. package/client/node_modules/.vite/deps/{chunk-EDVVVQBR.js → chunk-QTQN6EZX.js} +2 -2
  21. package/client/node_modules/.vite/deps/chunk-QTQN6EZX.js.map +7 -0
  22. package/client/package.json +4 -1
  23. package/client/src/App.tsx +23 -14
  24. package/client/src/NavBar.tsx +15 -5
  25. package/client/src/api/matchAgent.ts +193 -5
  26. package/client/src/bridge/hostBridge.ts +15 -5
  27. package/client/src/components/FullScreenMenu.tsx +32 -0
  28. package/client/src/components/GameLauncherSettingsForm.tsx +80 -5
  29. package/client/src/components/InputHints.tsx +37 -0
  30. package/client/src/components/OnScreenFileDialog.tsx +83 -0
  31. package/client/src/components/OnScreenKeyboard.tsx +75 -0
  32. package/client/src/components/Selection/PieceCard.tsx +29 -4
  33. package/client/src/components/Selection/PiecePreviewPanel.tsx +48 -0
  34. package/client/src/components/Selection/PieceTypeSection.tsx +124 -46
  35. package/client/src/components/Selection/PlayerSelectionPanel.tsx +1 -5
  36. package/client/src/components/Selection/index.tsx +72 -47
  37. package/client/src/context/GlobalNavContext.tsx +340 -0
  38. package/client/src/context/SelectionSourceContext.tsx +26 -0
  39. package/client/src/hooks/useCursorInput.ts +66 -24
  40. package/client/src/hooks/useDownloadedPieceVersions.ts +39 -0
  41. package/client/src/hooks/useGridColumns.ts +29 -0
  42. package/client/src/hooks/useInView.ts +32 -0
  43. package/client/src/hooks/usePiecePreview.ts +124 -0
  44. package/client/src/pages/Controls/index.tsx +126 -0
  45. package/client/src/pages/Game/index.tsx +11 -15
  46. package/client/src/pages/MatchMaking/index.tsx +6 -3
  47. package/client/src/pages/PreviewRoster/index.tsx +118 -0
  48. package/client/src/styles/global.css +355 -6
  49. package/client/src/utils/inputLabels.ts +25 -0
  50. package/client/test-results/.last-run.json +4 -0
  51. package/client/tsconfig.tsbuildinfo +1 -1
  52. package/dist/config/index.js +2 -0
  53. package/dist/config/index.js.map +1 -1
  54. package/dist/config/inputBindings.js +40 -0
  55. package/dist/config/inputBindings.js.map +1 -0
  56. package/dist/config/manage.js +1 -0
  57. package/dist/config/manage.js.map +1 -1
  58. package/dist/handle-room/version-1/game-launcher/binaries.js +36 -0
  59. package/dist/handle-room/version-1/game-launcher/binaries.js.map +1 -0
  60. package/dist/handle-room/version-1/game-launcher/listing.js +24 -0
  61. package/dist/handle-room/version-1/game-launcher/listing.js.map +1 -0
  62. package/dist/handle-room/version-1/game-launcher/preview.js +38 -0
  63. package/dist/handle-room/version-1/game-launcher/preview.js.map +1 -0
  64. package/dist/handle-room/version-1/game-launcher/process.js +52 -0
  65. package/dist/handle-room/version-1/game-launcher/process.js.map +1 -0
  66. package/dist/handle-room/version-1/game-launcher/router.js +32 -0
  67. package/dist/handle-room/version-1/game-launcher/router.js.map +1 -0
  68. package/dist/handle-room/version-1/game-launcher/settings.js +49 -0
  69. package/dist/handle-room/version-1/game-launcher/settings.js.map +1 -0
  70. package/dist/handle-room/version-1/game-launcher/shared.js +28 -0
  71. package/dist/handle-room/version-1/game-launcher/shared.js.map +1 -0
  72. package/dist/handle-room/version-1/game-launcher/start.js +76 -0
  73. package/dist/handle-room/version-1/game-launcher/start.js.map +1 -0
  74. package/dist/handle-room/version-1/game-launcher/version.js +63 -0
  75. package/dist/handle-room/version-1/game-launcher/version.js.map +1 -0
  76. package/dist/handle-room/version-1/globals/FolderDB/SQLFolderDB/ensurePieceExists.js +22 -9
  77. package/dist/handle-room/version-1/globals/FolderDB/SQLFolderDB/ensurePieceExists.js.map +1 -1
  78. package/dist/handle-room/version-1/globals/FolderDB/SQLFolderDB/schema.js +50 -1
  79. package/dist/handle-room/version-1/globals/FolderDB/SQLFolderDB/schema.js.map +1 -1
  80. package/dist/handle-room/version-1/index.js +15 -16
  81. package/dist/handle-room/version-1/index.js.map +1 -1
  82. package/dist/handle-room/version-1/input-bindings.js +22 -0
  83. package/dist/handle-room/version-1/input-bindings.js.map +1 -0
  84. package/dist/handle-room/version-1/room-handler-bridge/exchange-and-download-selections.js +2 -1
  85. package/dist/handle-room/version-1/room-handler-bridge/exchange-and-download-selections.js.map +1 -1
  86. package/dist/handle-room/version-1/room-handler-bridge/http-handler.js +1 -1
  87. package/dist/handle-room/version-1/room-handler-bridge/http-handler.js.map +1 -1
  88. package/dist/handle-room/version-1/room-handler-bridge/steps.js +2 -1
  89. package/dist/handle-room/version-1/room-handler-bridge/steps.js.map +1 -1
  90. package/dist/handle-room/version-1/room-handler-bridge/ws-handler.js +2 -2
  91. package/dist/handle-room/version-1/room-handler-bridge/ws-handler.js.map +1 -1
  92. package/dist/index.js +18 -4
  93. package/dist/index.js.map +1 -1
  94. package/dist/util-routers/file-system/env.js +3 -0
  95. package/dist/util-routers/file-system/env.js.map +1 -0
  96. package/dist/util-routers/file-system/index.js +31 -0
  97. package/dist/util-routers/file-system/index.js.map +1 -0
  98. package/dist/util-routers/file-system/list.js +50 -0
  99. package/dist/util-routers/file-system/list.js.map +1 -0
  100. package/dist/util-routers/file-system/resolve-within-root.js +18 -0
  101. package/dist/util-routers/file-system/resolve-within-root.js.map +1 -0
  102. package/dist/util-routers/file-system/roster-lock.js +56 -0
  103. package/dist/util-routers/file-system/roster-lock.js.map +1 -0
  104. package/dist/utils/pick-file.js +82 -0
  105. package/dist/utils/pick-file.js.map +1 -0
  106. package/dist/utils/pick-folder.js +84 -0
  107. package/dist/utils/pick-folder.js.map +1 -0
  108. package/package.json +9 -8
  109. package/src/config/index.ts +8 -3
  110. package/src/config/inputBindings.ts +56 -0
  111. package/src/config/manage.ts +7 -0
  112. package/src/handle-room/version-1/game-launcher/binaries.ts +52 -0
  113. package/src/handle-room/version-1/game-launcher/listing.ts +36 -0
  114. package/src/handle-room/version-1/game-launcher/preview.ts +54 -0
  115. package/src/handle-room/version-1/game-launcher/process.ts +75 -0
  116. package/src/handle-room/version-1/game-launcher/router.ts +42 -0
  117. package/src/handle-room/version-1/game-launcher/settings.ts +58 -0
  118. package/src/handle-room/version-1/game-launcher/shared.ts +34 -0
  119. package/src/handle-room/version-1/game-launcher/start.ts +113 -0
  120. package/src/handle-room/version-1/game-launcher/version.ts +85 -0
  121. package/src/handle-room/version-1/globals/FolderDB/SQLFolderDB/ensurePieceExists.ts +39 -14
  122. package/src/handle-room/version-1/globals/FolderDB/SQLFolderDB/schema.ts +83 -1
  123. package/src/handle-room/version-1/globals/FolderDB/types.ts +24 -0
  124. package/src/handle-room/version-1/globals/types.ts +24 -2
  125. package/src/handle-room/version-1/index.ts +27 -26
  126. package/src/handle-room/version-1/input-bindings.ts +19 -0
  127. package/src/handle-room/version-1/room-handler-bridge/exchange-and-download-selections.ts +4 -1
  128. package/src/handle-room/version-1/room-handler-bridge/http-handler.ts +4 -1
  129. package/src/handle-room/version-1/room-handler-bridge/steps.ts +8 -0
  130. package/src/handle-room/version-1/room-handler-bridge/ws-handler.ts +2 -2
  131. package/src/index.ts +42 -10
  132. package/src/util-routers/file-system/env.ts +7 -0
  133. package/src/util-routers/file-system/index.ts +23 -0
  134. package/src/util-routers/file-system/list.ts +62 -0
  135. package/src/util-routers/file-system/resolve-within-root.ts +25 -0
  136. package/src/util-routers/file-system/roster-lock.ts +74 -0
  137. package/src/utils/pick-file.ts +81 -0
  138. package/src/utils/pick-folder.ts +92 -0
  139. package/tests/integration/filesystem.test.ts +117 -0
  140. package/tests/integration/game-launcher-binaries.test.ts +263 -0
  141. package/tests/integration/game-launcher-game-complete.test.ts +111 -0
  142. package/tests/integration/game-launcher-preview.test.ts +107 -0
  143. package/tests/integration/game-launcher-settings.test.ts +123 -8
  144. package/tests/integration/game-processes-ws.test.ts +122 -0
  145. package/tests/integration/helpers/fakeFolderDB.ts +16 -0
  146. package/tests/integration/helpers/fakePluginRuntime.ts +10 -1
  147. package/tests/integration/helpers/server.ts +23 -3
  148. package/tests/integration/input-bindings.test.ts +94 -0
  149. package/tests/integration/piece-files.test.ts +1 -1
  150. package/tests/integration/roster-lock.test.ts +86 -0
  151. package/vitest.config.ts +7 -1
  152. package/client/dist/assets/index-CX6eCHuc.js +0 -125
  153. package/client/dist/assets/index-gxAuIfGQ.css +0 -1
  154. package/client/node_modules/.vite/deps/chunk-EDVVVQBR.js.map +0 -7
  155. package/dist/handle-room/version-1/game-launcher.js +0 -197
  156. package/dist/handle-room/version-1/game-launcher.js.map +0 -1
  157. package/src/handle-room/version-1/game-launcher.ts +0 -287
@@ -1 +1 @@
1
- {"version":"7.0.2","root":["./src/App.tsx","./src/NavBar.tsx","./src/main.tsx","./src/api/matchAgent.ts","./src/bridge/hostBridge.ts","./src/components/GameLauncherSettingsForm.tsx","./src/components/InstallGameLauncherLightbox.tsx","./src/components/Lightbox.tsx","./src/components/RequireConnection.tsx","./src/components/Selection/PieceCard.tsx","./src/components/Selection/PieceTypeSection.tsx","./src/components/Selection/PieceTypeTabs.tsx","./src/components/Selection/PlayerSelectionPanel.tsx","./src/components/Selection/index.tsx","./src/components/Selection/selectionPlan.ts","./src/context/DownloadSessionContext.tsx","./src/context/IdentityContext.tsx","./src/context/JoinSettingsContext.tsx","./src/context/MatchAgentContext.tsx","./src/hooks/useCursorInput.ts","./src/hooks/useGamepads.ts","./src/pages/Connect/index.tsx","./src/pages/Download/index.tsx","./src/pages/Game/index.tsx","./src/pages/GameLauncher/Detail.tsx","./src/pages/GameLauncher/index.tsx","./src/pages/JoinSettings/index.tsx","./src/pages/MatchMaking/index.tsx"],"packageJsons":["../../../client/typescript/package.json","./package.json","../../types/package.json","../../utils/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/package.json","../../../node_modules/.pnpm/@rjsf+validator-ajv8@6.8.0_@rjsf+utils@6.8.0_react@19.2.7_/node_modules/@rjsf/validator-ajv8/package.json","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/package.json","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.3_@types+react@19.2.17/node_modules/@types/react-dom/package.json","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/ws/package.json","../../../node_modules/.pnpm/ajv-formats@2.1.1_ajv@8.20.0/node_modules/ajv-formats/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/package.json","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/package.json","../../../node_modules/.pnpm/cookie@1.1.1/node_modules/cookie/package.json","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/package.json","../../../node_modules/.pnpm/events@3.3.0/node_modules/events/package.json","../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/package.json","../../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/package.json","../../../node_modules/.pnpm/path-to-regexp@8.4.2/node_modules/path-to-regexp/package.json","../../../node_modules/.pnpm/process@0.11.10/node_modules/process/package.json","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/package.json","../../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router-dom/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/package.json","../../../node_modules/.pnpm/react@19.2.7/node_modules/react/package.json","../../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/terser@5.49.0/node_modules/terser/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/vite/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/vite/types/package.json","../../../node_modules/.pnpm/ws@8.21.0_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/package.json","../../../node_modules/.pnpm/ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/package.json","../../../node_modules/punycode/package.json","../../../../../../node_modules/assert/package.json","../../../../../../node_modules/events/package.json","../../../../../../node_modules/process/package.json","../../../../../../node_modules/punycode/package.json","../../../../../../node_modules/string_decoder/package.json","../../../../../../node_modules/url/package.json","../../../../../../node_modules/util/package.json"],"missingPackageJsons":["./node_modules/@types/node/package.json","./node_modules/@types/react-dom/client/package.json","./node_modules/@types/react/jsx-runtime/package.json","./node_modules/@types/vite/client/package.json","./node_modules/react-dom/client/package.json","./node_modules/react/jsx-runtime/package.json","./node_modules/vite/client/package.json","../node_modules/@types/vite/client/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/parser/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/schema/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/json-schema/package.json","../../../node_modules/.pnpm/@rjsf+validator-ajv8@6.8.0_@rjsf+utils@6.8.0_react@19.2.7_/node_modules/@rjsf/validator-ajv8/lib/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/console/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/module/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/compatibility/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/web-globals/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/os/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/util/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/buffer/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/child_process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/cluster/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/console/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/constants/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/crypto/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dgram/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/domain/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/http/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/http2/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/https/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/inspector/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/module/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/net/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/os/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/posix/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/win32/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/punycode/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/querystring/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/repl/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/web/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/trace_events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/tty/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/url/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/util/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/util/types/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/v8/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/vm/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/wasi/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/zlib/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.3_@types+react@19.2.17/node_modules/react/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/events/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/http/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/https/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/net/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/url/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/zlib/package.json","../../../node_modules/.pnpm/ajv-formats@2.1.1_ajv@8.20.0/node_modules/ajv-formats/dist/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/types/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/package.json","../../../node_modules/.pnpm/cookie@1.1.1/node_modules/cookie/dist/package.json","../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/types/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/node_modules/assert/package.json","../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../node_modules/.pnpm/node_modules/console/package.json","../../../node_modules/.pnpm/node_modules/constants/package.json","../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/dns/package.json","../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/domain/package.json","../../../node_modules/.pnpm/node_modules/fs/package.json","../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/http/package.json","../../../node_modules/.pnpm/node_modules/http2/package.json","../../../node_modules/.pnpm/node_modules/https/package.json","../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/json-schema/package.json","../../../node_modules/.pnpm/node_modules/module/package.json","../../../node_modules/.pnpm/node_modules/net/package.json","../../../node_modules/.pnpm/node_modules/os/package.json","../../../node_modules/.pnpm/node_modules/path/package.json","../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../node_modules/.pnpm/node_modules/readline/package.json","../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/repl/package.json","../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/stream/package.json","../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../node_modules/.pnpm/node_modules/timers/package.json","../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/tls/package.json","../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../node_modules/.pnpm/node_modules/tty/package.json","../../../node_modules/.pnpm/node_modules/url/package.json","../../../node_modules/.pnpm/node_modules/util/package.json","../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../node_modules/.pnpm/node_modules/v8/package.json","../../../node_modules/.pnpm/node_modules/vm/package.json","../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../node_modules/.pnpm/path-to-regexp@8.4.2/node_modules/path-to-regexp/dist/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router-dom/dist/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dom/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dist/development/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dist/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/buffer/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/events/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/net/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/stream/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/stream/web/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/tls/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/url/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/less/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/lightningcss/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sass-embedded/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sass/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/stylus/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sugarss/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vite/client/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/events/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/module/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tty/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json","../../../../../../node_modules/@types/assert/package.json","../../../../../../node_modules/@types/assert/strict/package.json","../../../../../../node_modules/@types/async_hooks/package.json","../../../../../../node_modules/@types/child_process/package.json","../../../../../../node_modules/@types/cluster/package.json","../../../../../../node_modules/@types/console/package.json","../../../../../../node_modules/@types/constants/package.json","../../../../../../node_modules/@types/crypto/package.json","../../../../../../node_modules/@types/dgram/package.json","../../../../../../node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/@types/dns/package.json","../../../../../../node_modules/@types/dns/promises/package.json","../../../../../../node_modules/@types/domain/package.json","../../../../../../node_modules/@types/events/package.json","../../../../../../node_modules/@types/fs/package.json","../../../../../../node_modules/@types/fs/promises/package.json","../../../../../../node_modules/@types/http/package.json","../../../../../../node_modules/@types/http2/package.json","../../../../../../node_modules/@types/https/package.json","../../../../../../node_modules/@types/inspector/package.json","../../../../../../node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/@types/module/package.json","../../../../../../node_modules/@types/net/package.json","../../../../../../node_modules/@types/os/package.json","../../../../../../node_modules/@types/path/package.json","../../../../../../node_modules/@types/path/posix/package.json","../../../../../../node_modules/@types/path/win32/package.json","../../../../../../node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/@types/process/package.json","../../../../../../node_modules/@types/punycode/package.json","../../../../../../node_modules/@types/querystring/package.json","../../../../../../node_modules/@types/readline/package.json","../../../../../../node_modules/@types/readline/promises/package.json","../../../../../../node_modules/@types/repl/package.json","../../../../../../node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/@types/stream/package.json","../../../../../../node_modules/@types/stream/promises/package.json","../../../../../../node_modules/@types/stream/web/package.json","../../../../../../node_modules/@types/string_decoder/package.json","../../../../../../node_modules/@types/timers/package.json","../../../../../../node_modules/@types/timers/promises/package.json","../../../../../../node_modules/@types/tls/package.json","../../../../../../node_modules/@types/trace_events/package.json","../../../../../../node_modules/@types/tty/package.json","../../../../../../node_modules/@types/url/package.json","../../../../../../node_modules/@types/util/package.json","../../../../../../node_modules/@types/util/types/package.json","../../../../../../node_modules/@types/v8/package.json","../../../../../../node_modules/@types/vite/client/package.json","../../../../../../node_modules/@types/vm/package.json","../../../../../../node_modules/@types/wasi/package.json","../../../../../../node_modules/@types/worker_threads/package.json","../../../../../../node_modules/@types/zlib/package.json","../../../../../../node_modules/assert/strict/package.json","../../../../../../node_modules/async_hooks/package.json","../../../../../../node_modules/child_process/package.json","../../../../../../node_modules/cluster/package.json","../../../../../../node_modules/console/package.json","../../../../../../node_modules/constants/package.json","../../../../../../node_modules/crypto/package.json","../../../../../../node_modules/dgram/package.json","../../../../../../node_modules/diagnostics_channel/package.json","../../../../../../node_modules/dns/package.json","../../../../../../node_modules/dns/promises/package.json","../../../../../../node_modules/domain/package.json","../../../../../../node_modules/fs/package.json","../../../../../../node_modules/fs/promises/package.json","../../../../../../node_modules/http/package.json","../../../../../../node_modules/http2/package.json","../../../../../../node_modules/https/package.json","../../../../../../node_modules/inspector/package.json","../../../../../../node_modules/inspector/promises/package.json","../../../../../../node_modules/module/package.json","../../../../../../node_modules/net/package.json","../../../../../../node_modules/os/package.json","../../../../../../node_modules/path/package.json","../../../../../../node_modules/path/posix/package.json","../../../../../../node_modules/path/win32/package.json","../../../../../../node_modules/perf_hooks/package.json","../../../../../../node_modules/querystring/package.json","../../../../../../node_modules/readline/package.json","../../../../../../node_modules/readline/promises/package.json","../../../../../../node_modules/repl/package.json","../../../../../../node_modules/stream/consumers/package.json","../../../../../../node_modules/stream/package.json","../../../../../../node_modules/stream/promises/package.json","../../../../../../node_modules/stream/web/package.json","../../../../../../node_modules/timers/package.json","../../../../../../node_modules/timers/promises/package.json","../../../../../../node_modules/tls/package.json","../../../../../../node_modules/trace_events/package.json","../../../../../../node_modules/tty/package.json","../../../../../../node_modules/util/types/package.json","../../../../../../node_modules/v8/package.json","../../../../../../node_modules/vm/package.json","../../../../../../node_modules/wasi/package.json","../../../../../../node_modules/worker_threads/package.json","../../../../../../node_modules/zlib/package.json"]}
1
+ {"version":"7.0.2","root":["./src/App.tsx","./src/NavBar.tsx","./src/main.tsx","./src/api/matchAgent.ts","./src/bridge/hostBridge.ts","./src/components/FullScreenMenu.tsx","./src/components/GameLauncherSettingsForm.tsx","./src/components/InputHints.tsx","./src/components/InstallGameLauncherLightbox.tsx","./src/components/Lightbox.tsx","./src/components/OnScreenFileDialog.tsx","./src/components/OnScreenKeyboard.tsx","./src/components/RequireConnection.tsx","./src/components/Selection/PieceCard.tsx","./src/components/Selection/PiecePreviewPanel.tsx","./src/components/Selection/PieceTypeSection.tsx","./src/components/Selection/PieceTypeTabs.tsx","./src/components/Selection/PlayerSelectionPanel.tsx","./src/components/Selection/index.tsx","./src/components/Selection/selectionPlan.ts","./src/context/DownloadSessionContext.tsx","./src/context/GlobalNavContext.tsx","./src/context/IdentityContext.tsx","./src/context/JoinSettingsContext.tsx","./src/context/MatchAgentContext.tsx","./src/context/SelectionSourceContext.tsx","./src/hooks/useCursorInput.ts","./src/hooks/useDownloadedPieceVersions.ts","./src/hooks/useGamepads.ts","./src/hooks/useGridColumns.ts","./src/hooks/useInView.ts","./src/hooks/usePiecePreview.ts","./src/pages/Connect/index.tsx","./src/pages/Controls/index.tsx","./src/pages/Download/index.tsx","./src/pages/Game/index.tsx","./src/pages/GameLauncher/Detail.tsx","./src/pages/GameLauncher/index.tsx","./src/pages/JoinSettings/index.tsx","./src/pages/MatchMaking/index.tsx","./src/pages/PreviewRoster/index.tsx","./src/utils/inputLabels.ts"],"packageJsons":["../../../client/typescript/package.json","./package.json","../../types/package.json","../../utils/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/package.json","../../../node_modules/.pnpm/@rjsf+validator-ajv8@6.8.0_@rjsf+utils@6.8.0_react@19.2.7_/node_modules/@rjsf/validator-ajv8/package.json","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/package.json","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.3_@types+react@19.2.17/node_modules/@types/react-dom/package.json","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/ws/package.json","../../../node_modules/.pnpm/ajv-formats@2.1.1_ajv@8.20.0/node_modules/ajv-formats/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/package.json","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/package.json","../../../node_modules/.pnpm/cookie@1.1.1/node_modules/cookie/package.json","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/package.json","../../../node_modules/.pnpm/events@3.3.0/node_modules/events/package.json","../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/package.json","../../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/package.json","../../../node_modules/.pnpm/path-to-regexp@8.4.2/node_modules/path-to-regexp/package.json","../../../node_modules/.pnpm/process@0.11.10/node_modules/process/package.json","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/package.json","../../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router-dom/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/package.json","../../../node_modules/.pnpm/react@19.2.7/node_modules/react/package.json","../../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/terser@5.49.0/node_modules/terser/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/vite/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/vite/types/package.json","../../../node_modules/.pnpm/ws@8.21.0_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/package.json","../../../node_modules/.pnpm/ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/package.json","../../../node_modules/punycode/package.json","../../../../../../node_modules/assert/package.json","../../../../../../node_modules/events/package.json","../../../../../../node_modules/process/package.json","../../../../../../node_modules/punycode/package.json","../../../../../../node_modules/string_decoder/package.json","../../../../../../node_modules/url/package.json","../../../../../../node_modules/util/package.json"],"missingPackageJsons":["./node_modules/@types/node/package.json","./node_modules/@types/react-dom/client/package.json","./node_modules/@types/react/jsx-runtime/package.json","./node_modules/@types/vite/client/package.json","./node_modules/react-dom/client/package.json","./node_modules/react/jsx-runtime/package.json","./node_modules/vite/client/package.json","../node_modules/@types/vite/client/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/package.json","../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/parser/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/@rjsf/utils/lib/schema/package.json","../../../node_modules/.pnpm/@rjsf+utils@6.8.0_react@19.2.7/node_modules/json-schema/package.json","../../../node_modules/.pnpm/@rjsf+validator-ajv8@6.8.0_@rjsf+utils@6.8.0_react@19.2.7_/node_modules/@rjsf/validator-ajv8/lib/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/console/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/module/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/compatibility/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/node/web-globals/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/os/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/util/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/assert/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/buffer/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/child_process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/cluster/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/console/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/constants/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/crypto/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dgram/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dns/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/domain/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/fs/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/http/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/http2/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/https/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/inspector/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/module/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/net/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/os/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/posix/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/path/win32/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/process/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/punycode/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/querystring/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/readline/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/repl/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/stream/web/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/timers/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/trace_events/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/tty/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/url/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/util/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/util/types/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/v8/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/vm/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/wasi/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@22.20.0/node_modules/zlib/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.3_@types+react@19.2.17/node_modules/react/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/events/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/http/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/https/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/net/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/url/package.json","../../../node_modules/.pnpm/@types+ws@8.18.1/node_modules/zlib/package.json","../../../node_modules/.pnpm/ajv-formats@2.1.1_ajv@8.20.0/node_modules/ajv-formats/dist/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/types/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/package.json","../../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/package.json","../../../node_modules/.pnpm/cookie@1.1.1/node_modules/cookie/dist/package.json","../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/types/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/node_modules/assert/package.json","../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../node_modules/.pnpm/node_modules/console/package.json","../../../node_modules/.pnpm/node_modules/constants/package.json","../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/dns/package.json","../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/domain/package.json","../../../node_modules/.pnpm/node_modules/fs/package.json","../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/http/package.json","../../../node_modules/.pnpm/node_modules/http2/package.json","../../../node_modules/.pnpm/node_modules/https/package.json","../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/json-schema/package.json","../../../node_modules/.pnpm/node_modules/module/package.json","../../../node_modules/.pnpm/node_modules/net/package.json","../../../node_modules/.pnpm/node_modules/os/package.json","../../../node_modules/.pnpm/node_modules/path/package.json","../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../node_modules/.pnpm/node_modules/readline/package.json","../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/repl/package.json","../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/stream/package.json","../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../node_modules/.pnpm/node_modules/timers/package.json","../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/tls/package.json","../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../node_modules/.pnpm/node_modules/tty/package.json","../../../node_modules/.pnpm/node_modules/url/package.json","../../../node_modules/.pnpm/node_modules/util/package.json","../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../node_modules/.pnpm/node_modules/v8/package.json","../../../node_modules/.pnpm/node_modules/vm/package.json","../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../node_modules/.pnpm/path-to-regexp@8.4.2/node_modules/path-to-regexp/dist/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router-dom/dist/package.json","../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dom/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dist/development/package.json","../../../node_modules/.pnpm/react-router@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dist/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/buffer/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/events/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/net/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/stream/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/stream/web/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/tls/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/url/package.json","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/less/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/lightningcss/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sass-embedded/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sass/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/stylus/package.json","../../../node_modules/.pnpm/vite@5.4.21_@types+node@26.2.0_terser@5.49.0/node_modules/sugarss/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vite/client/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/events/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/module/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tty/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json","../../../../../../node_modules/@types/assert/package.json","../../../../../../node_modules/@types/assert/strict/package.json","../../../../../../node_modules/@types/async_hooks/package.json","../../../../../../node_modules/@types/child_process/package.json","../../../../../../node_modules/@types/cluster/package.json","../../../../../../node_modules/@types/console/package.json","../../../../../../node_modules/@types/constants/package.json","../../../../../../node_modules/@types/crypto/package.json","../../../../../../node_modules/@types/dgram/package.json","../../../../../../node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/@types/dns/package.json","../../../../../../node_modules/@types/dns/promises/package.json","../../../../../../node_modules/@types/domain/package.json","../../../../../../node_modules/@types/events/package.json","../../../../../../node_modules/@types/fs/package.json","../../../../../../node_modules/@types/fs/promises/package.json","../../../../../../node_modules/@types/http/package.json","../../../../../../node_modules/@types/http2/package.json","../../../../../../node_modules/@types/https/package.json","../../../../../../node_modules/@types/inspector/package.json","../../../../../../node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/@types/module/package.json","../../../../../../node_modules/@types/net/package.json","../../../../../../node_modules/@types/os/package.json","../../../../../../node_modules/@types/path/package.json","../../../../../../node_modules/@types/path/posix/package.json","../../../../../../node_modules/@types/path/win32/package.json","../../../../../../node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/@types/process/package.json","../../../../../../node_modules/@types/punycode/package.json","../../../../../../node_modules/@types/querystring/package.json","../../../../../../node_modules/@types/readline/package.json","../../../../../../node_modules/@types/readline/promises/package.json","../../../../../../node_modules/@types/repl/package.json","../../../../../../node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/@types/stream/package.json","../../../../../../node_modules/@types/stream/promises/package.json","../../../../../../node_modules/@types/stream/web/package.json","../../../../../../node_modules/@types/string_decoder/package.json","../../../../../../node_modules/@types/timers/package.json","../../../../../../node_modules/@types/timers/promises/package.json","../../../../../../node_modules/@types/tls/package.json","../../../../../../node_modules/@types/trace_events/package.json","../../../../../../node_modules/@types/tty/package.json","../../../../../../node_modules/@types/url/package.json","../../../../../../node_modules/@types/util/package.json","../../../../../../node_modules/@types/util/types/package.json","../../../../../../node_modules/@types/v8/package.json","../../../../../../node_modules/@types/vite/client/package.json","../../../../../../node_modules/@types/vm/package.json","../../../../../../node_modules/@types/wasi/package.json","../../../../../../node_modules/@types/worker_threads/package.json","../../../../../../node_modules/@types/zlib/package.json","../../../../../../node_modules/assert/strict/package.json","../../../../../../node_modules/async_hooks/package.json","../../../../../../node_modules/child_process/package.json","../../../../../../node_modules/cluster/package.json","../../../../../../node_modules/console/package.json","../../../../../../node_modules/constants/package.json","../../../../../../node_modules/crypto/package.json","../../../../../../node_modules/dgram/package.json","../../../../../../node_modules/diagnostics_channel/package.json","../../../../../../node_modules/dns/package.json","../../../../../../node_modules/dns/promises/package.json","../../../../../../node_modules/domain/package.json","../../../../../../node_modules/fs/package.json","../../../../../../node_modules/fs/promises/package.json","../../../../../../node_modules/http/package.json","../../../../../../node_modules/http2/package.json","../../../../../../node_modules/https/package.json","../../../../../../node_modules/inspector/package.json","../../../../../../node_modules/inspector/promises/package.json","../../../../../../node_modules/module/package.json","../../../../../../node_modules/net/package.json","../../../../../../node_modules/os/package.json","../../../../../../node_modules/path/package.json","../../../../../../node_modules/path/posix/package.json","../../../../../../node_modules/path/win32/package.json","../../../../../../node_modules/perf_hooks/package.json","../../../../../../node_modules/querystring/package.json","../../../../../../node_modules/readline/package.json","../../../../../../node_modules/readline/promises/package.json","../../../../../../node_modules/repl/package.json","../../../../../../node_modules/stream/consumers/package.json","../../../../../../node_modules/stream/package.json","../../../../../../node_modules/stream/promises/package.json","../../../../../../node_modules/stream/web/package.json","../../../../../../node_modules/timers/package.json","../../../../../../node_modules/timers/promises/package.json","../../../../../../node_modules/tls/package.json","../../../../../../node_modules/trace_events/package.json","../../../../../../node_modules/tty/package.json","../../../../../../node_modules/util/types/package.json","../../../../../../node_modules/v8/package.json","../../../../../../node_modules/vm/package.json","../../../../../../node_modules/wasi/package.json","../../../../../../node_modules/worker_threads/package.json","../../../../../../node_modules/zlib/package.json"]}
@@ -18,12 +18,14 @@ exports.resolveConfigFolders = resolveConfigFolders;
18
18
  __exportStar(require("./constants"), exports);
19
19
  __exportStar(require("./manage"), exports);
20
20
  __exportStar(require("./findFile"), exports);
21
+ __exportStar(require("./inputBindings"), exports);
21
22
  const node_path_1 = require("node:path");
22
23
  function resolveConfigFolders(configFilePath, config) {
23
24
  const configDir = (0, node_path_1.dirname)(configFilePath);
24
25
  return {
25
26
  pieceFolder: (0, node_path_1.resolve)(configDir, config.pieceFolder ?? "pieces"),
26
27
  pluginFolder: (0, node_path_1.resolve)(configDir, config.pluginFolder ?? "plugins"),
28
+ rosterLockFolder: (0, node_path_1.resolve)(configDir, config.rosterLockFolder ?? "roster-locks"),
27
29
  };
28
30
  }
29
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,8CAA4B;AAC5B,2CAAyB;AACzB,6CAA2B;AAE3B,yCAA4D;AAK5D,8BAAqC,cAAsB,EAAE,MAA8D;IACzH,MAAM,SAAS,GAAG,IAAA,mBAAO,EAAC,cAAc,CAAC,CAAC;IAC1C,OAAO;QACL,WAAW,EAAE,IAAA,mBAAW,EAAC,SAAS,EAAE,MAAM,CAAC,WAAW,IAAI,QAAQ,CAAC;QACnE,YAAY,EAAE,IAAA,mBAAW,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,IAAI,SAAS,CAAC;KACvE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,8CAA4B;AAC5B,2CAAyB;AACzB,6CAA2B;AAC3B,kDAAgC;AAEhC,yCAA4D;AAM5D,8BACE,cAAsB,EAAE,MAAmF;IAE3G,MAAM,SAAS,GAAG,IAAA,mBAAO,EAAC,cAAc,CAAC,CAAC;IAC1C,OAAO;QACL,WAAW,EAAE,IAAA,mBAAW,EAAC,SAAS,EAAE,MAAM,CAAC,WAAW,IAAI,QAAQ,CAAC;QACnE,YAAY,EAAE,IAAA,mBAAW,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,IAAI,SAAS,CAAC;QACtE,gBAAgB,EAAE,IAAA,mBAAW,EAAC,SAAS,EAAE,MAAM,CAAC,gBAAgB,IAAI,cAAc,CAAC;KACpF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inputBindingsSchema = exports.DEFAULT_INPUT_BINDINGS = void 0;
4
+ exports.inputBindingsFilePath = inputBindingsFilePath;
5
+ exports.getInputBindings = getInputBindings;
6
+ exports.setInputBindings = setInputBindings;
7
+ const node_path_1 = require("node:path");
8
+ const promises_1 = require("node:fs/promises");
9
+ const zod_1 = require("zod");
10
+ exports.DEFAULT_INPUT_BINDINGS = {
11
+ keyboard: { select: "Enter", back: "Backspace", menu: " " },
12
+ gamepad: { select: 0, back: 1, menu: 9 },
13
+ };
14
+ function actionMap(value) {
15
+ return zod_1.z.object({ select: value, back: value, menu: value }).strict();
16
+ }
17
+ exports.inputBindingsSchema = zod_1.z.object({
18
+ keyboard: actionMap(zod_1.z.string().min(1)),
19
+ gamepad: actionMap(zod_1.z.number().int().min(0)),
20
+ }).strict();
21
+ function inputBindingsFilePath(configFilePath) {
22
+ return (0, node_path_1.join)((0, node_path_1.dirname)(configFilePath), "input-bindings.json");
23
+ }
24
+ async function getInputBindings(configFilePath) {
25
+ try {
26
+ const contents = await (0, promises_1.readFile)(inputBindingsFilePath(configFilePath), "utf8");
27
+ const parsed = exports.inputBindingsSchema.safeParse(JSON.parse(contents));
28
+ if (parsed.success)
29
+ return parsed.data;
30
+ }
31
+ catch {
32
+ }
33
+ return exports.DEFAULT_INPUT_BINDINGS;
34
+ }
35
+ async function setInputBindings(configFilePath, bindings) {
36
+ const filePath = inputBindingsFilePath(configFilePath);
37
+ await (0, promises_1.mkdir)((0, node_path_1.dirname)(filePath), { recursive: true });
38
+ await (0, promises_1.writeFile)(filePath, JSON.stringify(bindings, null, 2) + "\n");
39
+ }
40
+ //# sourceMappingURL=inputBindings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputBindings.js","sourceRoot":"","sources":["../../src/config/inputBindings.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAsD;AACtD,+CAA8D;AAC9D,6BAAiC;AAOpB,QAAA,sBAAsB,GAAkB;IACnD,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,EAAE;IAC3D,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;CACzC,CAAC;AAEF,SAAS,SAAS,CAAoB,KAAQ;IAC5C,OAAO,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AACxE,CAAC;AAEY,QAAA,mBAAmB,GAA2B,OAAC,CAAC,MAAM,CAAC;IAClE,QAAQ,EAAE,SAAS,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACtC,OAAO,EAAE,SAAS,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC5C,CAAC,CAAC,MAAM,EAAE,CAAC;AAaZ,+BAAsC,cAAsB;IAC1D,OAAO,IAAA,gBAAQ,EAAC,IAAA,mBAAO,EAAC,cAAc,CAAC,EAAE,qBAAqB,CAAC,CAAC;AAClE,CAAC;AAEM,KAAK,2BAA2B,cAAsB;IAC3D,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,IAAA,mBAAQ,EAAC,qBAAqB,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;QAC/E,MAAM,MAAM,GAAG,QAAA,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;QACnE,IAAI,MAAM,CAAC,OAAO;YAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACzC,CAAC;IAAC,MAAM,CAAC;IAIT,CAAC;IACD,OAAO,QAAA,sBAAsB,CAAC;AAChC,CAAC;AAEM,KAAK,2BAA2B,cAAsB,EAAE,QAAuB;IACpF,MAAM,QAAQ,GAAG,qBAAqB,CAAC,cAAc,CAAC,CAAC;IACvD,MAAM,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,MAAM,IAAA,oBAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AACtE,CAAC"}
@@ -14,6 +14,7 @@ const matchAgentConfig = zod_1.z.object({
14
14
  authCode: zod_1.z.string(),
15
15
  pieceFolder: zod_1.z.string().optional(),
16
16
  pluginFolder: zod_1.z.string().optional(),
17
+ rosterLockFolder: zod_1.z.string().optional(),
17
18
  });
18
19
  async function getConfig(filePath) {
19
20
  await initializeConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"manage.js","sourceRoot":"","sources":["../../src/config/manage.ts"],"names":[],"mappings":";;;;;AAEA,yCAAoC;AACpC,+CAAoE;AACpE,2CAAmD;AAEnD,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAE,EAAE;IAClD,OAAO,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,gCAAoB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;AAClE,CAAC,CAAC,CAAA;AAaF,6BAAiC;AAEjC,MAAM,gBAAgB,GAA8B,OAAC,CAAC,MAAM,CAAC;IAC3D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEI,KAAK,oBAAoB,QAAgB;IAC9C,MAAM,gBAAgB,CAAC;IACvB,MAAM,QAAQ,GAAG,MAAM,IAAA,mBAAQ,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClC,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAChD,IAAG,CAAC,MAAM,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACtD,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC;AAEM,KAAK,oBAAoB,QAAgB,EAAE,SAA2B;IAC3E,MAAM,gBAAgB,CAAC;IACvB,MAAM,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,MAAM,IAAA,oBAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;AACtE,CAAC;AAEM,KAAK,uBAAuB,QAAgB;IACjD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,IAAA,eAAI,EAAC,QAAQ,CAAC,CAAC;QAClC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACvB,CAAC;IAAA,OAAM,CAAC,EAAC,CAAC;QACR,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"manage.js","sourceRoot":"","sources":["../../src/config/manage.ts"],"names":[],"mappings":";;;;;AAEA,yCAAoC;AACpC,+CAAoE;AACpE,2CAAmD;AAEnD,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAE,EAAE;IAClD,OAAO,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,gCAAoB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;AAClE,CAAC,CAAC,CAAA;AAmBF,6BAAiC;AAEjC,MAAM,gBAAgB,GAA8B,OAAC,CAAC,MAAM,CAAC;IAC3D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEI,KAAK,oBAAoB,QAAgB;IAC9C,MAAM,gBAAgB,CAAC;IACvB,MAAM,QAAQ,GAAG,MAAM,IAAA,mBAAQ,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClC,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAChD,IAAG,CAAC,MAAM,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACtD,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC;AAEM,KAAK,oBAAoB,QAAgB,EAAE,SAA2B;IAC3E,MAAM,gBAAgB,CAAC;IACvB,MAAM,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,MAAM,IAAA,oBAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;AACtE,CAAC;AAEM,KAAK,uBAAuB,QAAgB;IACjD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,IAAA,eAAI,EAAC,QAAQ,CAAC,CAAC;QAClC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACvB,CAAC;IAAA,OAAM,CAAC,EAAC,CAAC;QACR,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.removeGameLauncherBinary = exports.listGameLauncherBinaries = void 0;
4
+ const http_router_1 = require("../../../utils/http-router");
5
+ const shared_1 = require("./shared");
6
+ const listGameLauncherBinaries = async function ({ res }, routeInfo) {
7
+ const pluginName = (0, shared_1.requirePluginName)(routeInfo);
8
+ const target = (0, shared_1.resolveTarget)(routeInfo);
9
+ const binaries = await this.pluginRuntime.gameLauncher.listBinaries(pluginName, target);
10
+ const usage = await this.fileDB.getBinaryUsageFor(pluginName, binaries.map((b) => b.binaryLocation));
11
+ const result = binaries.map((binary) => ({
12
+ ...binary,
13
+ downloadedAt: usage.get(binary.binaryLocation)?.downloadedAt ?? null,
14
+ lastUsedAt: usage.get(binary.binaryLocation)?.lastUsedAt ?? null,
15
+ }));
16
+ res.writeHead(200, { "Content-Type": "application/json" });
17
+ res.end(JSON.stringify(result));
18
+ };
19
+ exports.listGameLauncherBinaries = listGameLauncherBinaries;
20
+ const removeGameLauncherBinary = async function ({ res }, routeInfo) {
21
+ const pluginName = (0, shared_1.requirePluginName)(routeInfo);
22
+ const binaryLocation = routeInfo.url.searchParams.get("binaryLocation");
23
+ if (!binaryLocation)
24
+ throw new http_router_1.HTTPError(400, "Missing binaryLocation query parameter");
25
+ try {
26
+ await this.pluginRuntime.gameLauncher.removeBinary(pluginName, binaryLocation);
27
+ }
28
+ catch (e) {
29
+ throw new http_router_1.HTTPError(400, e.message);
30
+ }
31
+ await this.fileDB.removeBinaryUsage(pluginName, binaryLocation);
32
+ res.writeHead(200, { "Content-Type": "application/json" });
33
+ res.end(JSON.stringify({ ok: true }));
34
+ };
35
+ exports.removeGameLauncherBinary = removeGameLauncherBinary;
36
+ //# sourceMappingURL=binaries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binaries.js","sourceRoot":"","sources":["../../../../src/handle-room/version-1/game-launcher/binaries.ts"],"names":[],"mappings":";;;AAAA,4DAA2E;AAE3E,qCAA4D;AAQrD,MAAM,wBAAwB,GAAuB,KAAK,WAClD,EAAE,GAAG,EAAE,EAAE,SAAS;IAE/B,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,SAAS,CAAC,CAAC;IAChD,MAAM,MAAM,GAAG,IAAA,sBAAa,EAAC,SAAS,CAAC,CAAC;IAExC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACxF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IAErG,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACvC,GAAG,MAAM;QACT,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,YAAY,IAAI,IAAI;QACpE,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,UAAU,IAAI,IAAI;KACjE,CAAC,CAAC,CAAC;IAEJ,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAClC,CAAC,CAAA;AAjBY,QAAA,wBAAwB,GAAxB,wBAAwB,CAiBpC;AAQM,MAAM,wBAAwB,GAAuB,KAAK,WAClD,EAAE,GAAG,EAAE,EAAE,SAAS;IAE/B,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,SAAS,CAAC,CAAC;IAChD,MAAM,cAAc,GAAG,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACxE,IAAG,CAAC,cAAc;QAAE,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAE,wCAAwC,CAAC,CAAC;IAEvF,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,YAAY,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IACjF,CAAC;IAAC,OAAM,CAAC,EAAC,CAAC;QACT,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAG,CAAW,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAEhE,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACxC,CAAC,CAAA;AAhBY,QAAA,wBAAwB,GAAxB,wBAAwB,CAgBpC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.installGameLauncherPlugin = exports.listAvailableGameLaunchers = void 0;
4
+ const http_router_1 = require("../../../utils/http-router");
5
+ const shared_1 = require("./shared");
6
+ const listAvailableGameLaunchers = async function ({ res }) {
7
+ const available = await this.pluginRuntime.gameLauncher.listAvailable();
8
+ res.writeHead(200, { "Content-Type": "application/json" });
9
+ res.end(JSON.stringify(available));
10
+ };
11
+ exports.listAvailableGameLaunchers = listAvailableGameLaunchers;
12
+ const installGameLauncherPlugin = async function ({ res }, routeInfo) {
13
+ const pluginName = (0, shared_1.requirePluginName)(routeInfo);
14
+ try {
15
+ await this.pluginRuntime.installPlugin(pluginName);
16
+ }
17
+ catch (e) {
18
+ throw new http_router_1.HTTPError(400, e.message);
19
+ }
20
+ res.writeHead(200, { "Content-Type": "application/json" });
21
+ res.end(JSON.stringify({ ok: true }));
22
+ };
23
+ exports.installGameLauncherPlugin = installGameLauncherPlugin;
24
+ //# sourceMappingURL=listing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing.js","sourceRoot":"","sources":["../../../../src/handle-room/version-1/game-launcher/listing.ts"],"names":[],"mappings":";;;AAAA,4DAA2E;AAE3E,qCAA6C;AAStC,MAAM,0BAA0B,GAAuB,KAAK,WACpD,EAAE,GAAG,EAAE;IAEpB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC;IACxE,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;AACrC,CAAC,CAAA;AANY,QAAA,0BAA0B,GAA1B,0BAA0B,CAMtC;AAKM,MAAM,yBAAyB,GAAuB,KAAK,WACnD,EAAE,GAAG,EAAE,EAAE,SAAS;IAE/B,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,SAAS,CAAC,CAAC;IAEhD,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAAC,OAAM,CAAC,EAAC,CAAC;QACT,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAG,CAAW,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACxC,CAAC,CAAA;AAbY,QAAA,yBAAyB,GAAzB,yBAAyB,CAarC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getGameLauncherPreview = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ const http_router_1 = require("../../../utils/http-router");
9
+ const lock_1 = require("../schema/lock");
10
+ const shared_1 = require("./shared");
11
+ const getPreviewBodySchema = zod_1.default.object({
12
+ engine: lock_1.engineCaster, pieceType: zod_1.default.string(), piece: lock_1.pieceFileInfoCaster,
13
+ }).strict();
14
+ const getGameLauncherPreview = async function ({ req, res }, routeInfo) {
15
+ const pluginName = (0, shared_1.requirePluginName)(routeInfo);
16
+ const body = await (0, http_router_1.jsonBody)(req);
17
+ const parsed = getPreviewBodySchema.safeParse(body);
18
+ if (!parsed.success)
19
+ throw new http_router_1.HTTPError(400, "Bad Form", parsed.error);
20
+ const { engine, pieceType, piece } = parsed.data;
21
+ let folder;
22
+ try {
23
+ folder = await this.fileDB.getPieceFolder(engine, pieceType, piece);
24
+ }
25
+ catch {
26
+ const preview = await this.pluginRuntime.gameLauncher.useDefaultPreview(pluginName, pieceType);
27
+ respond(res, preview ?? null, preview ? "default" : null);
28
+ return;
29
+ }
30
+ const preview = await this.pluginRuntime.gameLauncher.getPreview(pluginName, pieceType, piece.pathVariables, folder);
31
+ respond(res, preview ?? null, preview ? "piece" : null);
32
+ };
33
+ exports.getGameLauncherPreview = getGameLauncherPreview;
34
+ function respond(res, preview, source) {
35
+ res.writeHead(200, { "Content-Type": "application/json" });
36
+ res.end(JSON.stringify({ preview, source }));
37
+ }
38
+ //# sourceMappingURL=preview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview.js","sourceRoot":"","sources":["../../../../src/handle-room/version-1/game-launcher/preview.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AACpB,4DAAqF;AAGrF,yCAAmE;AACnE,qCAA6C;AAE7C,MAAM,oBAAoB,GAAG,aAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,mBAAY,EAAE,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,0BAAmB;CACxE,CAAC,CAAC,MAAM,EAAE,CAAC;AAcL,MAAM,sBAAsB,GAAuB,KAAK,WAChD,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,SAAS;IAEpC,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,SAAS,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,MAAM,IAAA,sBAAQ,EAAC,GAAG,CAAC,CAAC;IACjC,MAAM,MAAM,GAAG,oBAAoB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACpD,IAAG,CAAC,MAAM,CAAC,OAAO;QAAE,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IACvE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC;IAMjD,IAAI,MAAc,CAAC;IACnB,IAAI,CAAC;QACH,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,iBAAiB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAC/F,OAAO,CAAC,GAAG,EAAE,OAAO,IAAI,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1D,OAAO;IACT,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IACrH,OAAO,CAAC,GAAG,EAAE,OAAO,IAAI,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC,CAAA;AAxBY,QAAA,sBAAsB,GAAtB,sBAAsB,CAwBlC;AAED,SAAS,OAAO,CAAC,GAAmB,EAAE,OAA4B,EAAE,MAAkC;IACpG,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stopGameProcess = exports.gameProcessesWs = exports.listGameProcesses = exports.getGameProcessStatus = void 0;
4
+ const utils_1 = require("@roster-lock/utils");
5
+ const http_router_1 = require("../../../utils/http-router");
6
+ const getGameProcessStatus = async function ({ res }, routeInfo) {
7
+ const handleId = routeInfo.params.handleId;
8
+ const entry = handleId ? this.processHandles.get(handleId) : undefined;
9
+ if (!entry)
10
+ throw new http_router_1.HTTPError(404, "Unknown process handle");
11
+ res.writeHead(200, { "Content-Type": "application/json" });
12
+ res.end(JSON.stringify({ exited: entry.handle.exited }));
13
+ };
14
+ exports.getGameProcessStatus = getGameProcessStatus;
15
+ function summarizeProcesses(env) {
16
+ return Array.from(env.processHandles.entries()).map(([handleId, entry]) => ({
17
+ handleId, pluginName: entry.pluginName, exited: entry.handle.exited,
18
+ }));
19
+ }
20
+ const listGameProcesses = async function ({ res }) {
21
+ res.writeHead(200, { "Content-Type": "application/json" });
22
+ res.end(JSON.stringify(summarizeProcesses(this)));
23
+ };
24
+ exports.listGameProcesses = listGameProcesses;
25
+ const gameProcessesWs = async function ({ ws }, params, next) {
26
+ try {
27
+ const bridge = new utils_1.MessageBridge((message) => ws.send(JSON.stringify(message)));
28
+ ws.on("message", (message) => {
29
+ bridge.handleMessage(JSON.parse(message.toString()));
30
+ });
31
+ const sendSnapshot = () => { bridge.sendEvent("processes", summarizeProcesses(this)); };
32
+ this.processEvents.on("changed", sendSnapshot);
33
+ ws.on("close", () => { this.processEvents.off("changed", sendSnapshot); });
34
+ sendSnapshot();
35
+ }
36
+ catch (e) {
37
+ ws.terminate();
38
+ next(e);
39
+ }
40
+ };
41
+ exports.gameProcessesWs = gameProcessesWs;
42
+ const stopGameProcess = async function ({ res }, routeInfo) {
43
+ const handleId = routeInfo.params.handleId;
44
+ const entry = handleId ? this.processHandles.get(handleId) : undefined;
45
+ if (!entry)
46
+ throw new http_router_1.HTTPError(404, "Unknown process handle");
47
+ await entry.handle.stop();
48
+ res.writeHead(200, { "Content-Type": "application/json" });
49
+ res.end(JSON.stringify({ ok: true }));
50
+ };
51
+ exports.stopGameProcess = stopGameProcess;
52
+ //# sourceMappingURL=process.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../src/handle-room/version-1/game-launcher/process.ts"],"names":[],"mappings":";;;AAAA,8CAAmD;AACnD,4DAA2E;AAIpE,MAAM,oBAAoB,GAAuB,KAAK,WAC9C,EAAE,GAAG,EAAE,EAAE,SAAS;IAE/B,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC;IAC3C,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,IAAG,CAAC,KAAK;QAAE,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAAC;IAE9D,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAA;AATY,QAAA,oBAAoB,GAApB,oBAAoB,CAShC;AAID,SAAS,kBAAkB,CAAC,GAAU;IACpC,OAAO,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1E,QAAQ,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM;KACpE,CAAC,CAAC,CAAC;AACN,CAAC;AAKM,MAAM,iBAAiB,GAAuB,KAAK,WAC3C,EAAE,GAAG,EAAE;IAEpB,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC,CAAA;AALY,QAAA,iBAAiB,GAAjB,iBAAiB,CAK7B;AASM,MAAM,eAAe,GAA6B,KAAK,WAC/C,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI;IAEjC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,qBAAa,CAAC,CAAC,OAAO,EAAC,EAAE,CAAA,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC9E,EAAE,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,OAAO,EAAC,EAAE;YAC1B,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QACvD,CAAC,CAAC,CAAC;QAEH,MAAM,YAAY,GAAG,GAAE,EAAE,GAAE,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtF,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAC/C,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,GAAE,EAAE,GAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAEzE,YAAY,EAAE,CAAC;IACjB,CAAC;IAAA,OAAM,CAAC,EAAC,CAAC;QACR,EAAE,CAAC,SAAS,EAAE,CAAC;QACf,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,CAAC;AACH,CAAC,CAAA;AAlBY,QAAA,eAAe,GAAf,eAAe,CAkB3B;AAIM,MAAM,eAAe,GAAuB,KAAK,WACzC,EAAE,GAAG,EAAE,EAAE,SAAS;IAE/B,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC;IAC3C,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,IAAG,CAAC,KAAK;QAAE,MAAM,IAAI,uBAAS,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAAC;IAE9D,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IAE1B,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACxC,CAAC,CAAA;AAXY,QAAA,eAAe,GAAf,eAAe,CAW3B"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createGameLauncherRouter = createGameLauncherRouter;
4
+ const http_router_1 = require("../../../utils/http-router");
5
+ const listing_1 = require("./listing");
6
+ const settings_1 = require("./settings");
7
+ const version_1 = require("./version");
8
+ const preview_1 = require("./preview");
9
+ const start_1 = require("./start");
10
+ const process_1 = require("./process");
11
+ const binaries_1 = require("./binaries");
12
+ function createGameLauncherRouter(env) {
13
+ const router = new http_router_1.HTTPRouter();
14
+ router.get("/available", listing_1.listAvailableGameLaunchers.bind(env));
15
+ router.get("/processes", process_1.listGameProcesses.bind(env));
16
+ router.post("/:pluginName/install", listing_1.installGameLauncherPlugin.bind(env));
17
+ router.get("/:pluginName/settings", settings_1.getGameLauncherSettings.bind(env));
18
+ router.put("/:pluginName/settings", settings_1.setGameLauncherSettings.bind(env));
19
+ router.post("/:pluginName/pick-binary-location", settings_1.pickGameLauncherBinaryLocation.bind(env));
20
+ router.get("/:pluginName/version", version_1.getGameLauncherVersion.bind(env));
21
+ router.get("/:pluginName/validate", version_1.validateGameLauncherBinaryLocation.bind(env));
22
+ router.post("/:pluginName/validate-game-config", version_1.validateGameLauncherGameConfig.bind(env));
23
+ router.post("/:pluginName/update", version_1.updateGameLauncherBinary.bind(env));
24
+ router.get("/:pluginName/binaries", binaries_1.listGameLauncherBinaries.bind(env));
25
+ router.delete("/:pluginName/binaries", binaries_1.removeGameLauncherBinary.bind(env));
26
+ router.post("/:pluginName/start", start_1.startGameLauncher.bind(env));
27
+ router.post("/:pluginName/preview", preview_1.getGameLauncherPreview.bind(env));
28
+ router.get("/:pluginName/process/:handleId", process_1.getGameProcessStatus.bind(env));
29
+ router.post("/:pluginName/process/:handleId/stop", process_1.stopGameProcess.bind(env));
30
+ return router;
31
+ }
32
+ //# sourceMappingURL=router.js.map