@directivegames/genesys.sdk 3.2.4 → 3.3.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 (88) hide show
  1. package/dist/src/asset-pack/eslint.config.js +4 -4
  2. package/dist/src/core/common.js +2 -2
  3. package/dist/src/core/tools/build-project.js +1 -1
  4. package/dist/src/core/tools/new-asset-pack.js +2 -2
  5. package/dist/src/core/tools/new-project.js +2 -2
  6. package/dist/src/dependencies.js +1 -1
  7. package/dist/src/electron/backend/tools/const.js +1 -1
  8. package/dist/src/electron/backend/tools/open-project.js +1 -1
  9. package/dist/src/templates/eslint.config.js +4 -4
  10. package/dist/src/templates/scripts/genesys/calc-bounding-box.js +2 -2
  11. package/dist/src/templates/scripts/genesys/dev/dump-default-scene.js +1 -1
  12. package/dist/src/templates/scripts/genesys/dev/generate-manifest.js +1 -1
  13. package/dist/src/templates/scripts/genesys/dev/launcher.js +1 -1
  14. package/dist/src/templates/scripts/genesys/dev/storage-provider.js +4 -4
  15. package/dist/src/templates/scripts/genesys/genesys-mcp.js +1 -1
  16. package/dist/src/templates/scripts/genesys/mcp/doc-tools.js +2 -2
  17. package/dist/src/templates/scripts/genesys/mcp/editor-functions.js +1 -1
  18. package/dist/src/templates/scripts/genesys/mcp/search-actors.js +1 -1
  19. package/dist/src/templates/scripts/genesys/mcp/search-assets.js +1 -1
  20. package/dist/src/templates/scripts/genesys/mcp/utils.js +1 -1
  21. package/dist/src/templates/scripts/genesys/misc.js +1 -1
  22. package/dist/src/templates/scripts/genesys/mock.js +1 -1
  23. package/dist/src/templates/scripts/genesys/place-actors.js +1 -1
  24. package/dist/src/templates/scripts/genesys/post-install.js +1 -1
  25. package/dist/src/templates/scripts/genesys/storageProvider.js +2 -2
  26. package/dist/src/templates/src/index.js +1 -1
  27. package/dist/src/templates/src/templates/firstPerson/src/game.js +1 -1
  28. package/dist/src/templates/src/templates/firstPerson/src/player.js +1 -1
  29. package/dist/src/templates/src/templates/fps/src/game.js +1 -1
  30. package/dist/src/templates/src/templates/fps/src/player.js +1 -1
  31. package/dist/src/templates/src/templates/fps/src/weapon.js +1 -1
  32. package/dist/src/templates/src/templates/freeCamera/src/game.js +1 -1
  33. package/dist/src/templates/src/templates/freeCamera/src/player.js +1 -1
  34. package/dist/src/templates/src/templates/sideScroller/src/game.js +1 -1
  35. package/dist/src/templates/src/templates/sideScroller/src/level-generator.js +1 -1
  36. package/dist/src/templates/src/templates/sideScroller/src/player.js +1 -1
  37. package/dist/src/templates/src/templates/thirdPerson/src/game.js +1 -1
  38. package/dist/src/templates/src/templates/thirdPerson/src/player.js +1 -1
  39. package/dist/src/templates/src/templates/vehicle/src/base-vehicle.js +1 -1
  40. package/dist/src/templates/src/templates/vehicle/src/game.js +1 -1
  41. package/dist/src/templates/src/templates/vehicle/src/mesh-vehicle.js +1 -1
  42. package/dist/src/templates/src/templates/vehicle/src/player.js +1 -1
  43. package/dist/src/templates/src/templates/vehicle/src/primitive-vehicle.js +1 -1
  44. package/dist/src/templates/src/templates/vehicle/src/ui-hints.js +1 -1
  45. package/dist/src/templates/src/templates/vr-game/src/game.js +1 -1
  46. package/dist/src/templates/src/templates/vr-game/src/sample-vr-actor.js +1 -1
  47. package/package.json +2 -2
  48. package/src/asset-pack/eslint.config.js +4 -4
  49. package/src/templates/AGENTS.md +3 -3
  50. package/src/templates/README.md +1 -1
  51. package/src/templates/eslint.config.js +4 -4
  52. package/src/templates/scripts/genesys/calc-bounding-box.ts +2 -2
  53. package/src/templates/scripts/genesys/dev/dump-default-scene.ts +1 -1
  54. package/src/templates/scripts/genesys/dev/generate-manifest.ts +1 -1
  55. package/src/templates/scripts/genesys/dev/launcher.ts +1 -1
  56. package/src/templates/scripts/genesys/dev/storage-provider.ts +4 -4
  57. package/src/templates/scripts/genesys/genesys-mcp.ts +1 -1
  58. package/src/templates/scripts/genesys/mcp/doc-tools.ts +2 -2
  59. package/src/templates/scripts/genesys/mcp/editor-functions.ts +1 -1
  60. package/src/templates/scripts/genesys/mcp/search-actors.ts +1 -1
  61. package/src/templates/scripts/genesys/mcp/search-assets.ts +1 -1
  62. package/src/templates/scripts/genesys/mcp/utils.ts +1 -1
  63. package/src/templates/scripts/genesys/misc.ts +1 -1
  64. package/src/templates/scripts/genesys/mock.ts +1 -1
  65. package/src/templates/scripts/genesys/place-actors.ts +1 -1
  66. package/src/templates/scripts/genesys/post-install.ts +1 -1
  67. package/src/templates/scripts/genesys/storageProvider.ts +2 -2
  68. package/src/templates/src/index.ts +1 -1
  69. package/src/templates/src/templates/firstPerson/src/game.ts +1 -1
  70. package/src/templates/src/templates/firstPerson/src/player.ts +1 -1
  71. package/src/templates/src/templates/fps/src/game.ts +1 -1
  72. package/src/templates/src/templates/fps/src/player.ts +1 -1
  73. package/src/templates/src/templates/fps/src/weapon.ts +1 -1
  74. package/src/templates/src/templates/freeCamera/src/game.ts +1 -1
  75. package/src/templates/src/templates/freeCamera/src/player.ts +1 -1
  76. package/src/templates/src/templates/sideScroller/src/game.ts +1 -1
  77. package/src/templates/src/templates/sideScroller/src/level-generator.ts +1 -1
  78. package/src/templates/src/templates/sideScroller/src/player.ts +1 -1
  79. package/src/templates/src/templates/thirdPerson/src/game.ts +1 -1
  80. package/src/templates/src/templates/thirdPerson/src/player.ts +1 -1
  81. package/src/templates/src/templates/vehicle/src/base-vehicle.ts +1 -1
  82. package/src/templates/src/templates/vehicle/src/game.ts +1 -1
  83. package/src/templates/src/templates/vehicle/src/mesh-vehicle.ts +1 -1
  84. package/src/templates/src/templates/vehicle/src/player.ts +1 -1
  85. package/src/templates/src/templates/vehicle/src/primitive-vehicle.ts +1 -1
  86. package/src/templates/src/templates/vehicle/src/ui-hints.ts +1 -1
  87. package/src/templates/src/templates/vr-game/src/game.ts +1 -1
  88. package/src/templates/src/templates/vr-game/src/sample-vr-actor.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  import tsParser from '@typescript-eslint/parser';
2
- import noDefaultClassFields from './node_modules/genesys.js/eslint-rules/no-default-class-fields.js';
3
- import defaultGetterReturnType from './node_modules/genesys.js/eslint-rules/default-getter-return-type.js';
4
- import constructorTypeConsistency from './node_modules/genesys.js/eslint-rules/constructor-type-consistency.js';
5
- import noOverrideMethods from './node_modules/genesys.js/eslint-rules/no-override-methods.js';
2
+ import noDefaultClassFields from './node_modules/@directivegames/genesys.js/eslint-rules/no-default-class-fields.js';
3
+ import defaultGetterReturnType from './node_modules/@directivegames/genesys.js/eslint-rules/default-getter-return-type.js';
4
+ import constructorTypeConsistency from './node_modules/@directivegames/genesys.js/eslint-rules/constructor-type-consistency.js';
5
+ import noOverrideMethods from './node_modules/@directivegames/genesys.js/eslint-rules/no-override-methods.js';
6
6
  export default [
7
7
  {
8
8
  ignores: ['dist/**', '.engine/**', 'node_modules/**']
@@ -3,8 +3,8 @@ import fs from 'fs';
3
3
  import path from 'path';
4
4
  import { fileURLToPath } from 'url';
5
5
  import { promisify } from 'util';
6
+ import * as ENGINE from '@directivegames/genesys.js';
6
7
  import fixPath from 'fix-path';
7
- import * as ENGINE from 'genesys.js';
8
8
  import { JSDOM } from 'jsdom';
9
9
  import { ALL_DEPENDENCIES } from '../dependencies.js';
10
10
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
@@ -39,7 +39,7 @@ export function checkEngineVersion(engineVersion) {
39
39
  }
40
40
  }
41
41
  export function getEngineVersion() {
42
- return ALL_DEPENDENCIES['genesys.js'];
42
+ return ALL_DEPENDENCIES['@directivegames/genesys.js'];
43
43
  }
44
44
  export function getAppVersion() {
45
45
  const pkg = JSON.parse(fs.readFileSync(path.join(getProjectRoot(), 'package.json'), 'utf8'));
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import { findFilesByPredicate, getProjectFolderAndFile, runCommandAsync } from '../index.js';
5
5
  function getTscBinaryPath(projectFolder, logger) {
6
6
  // Look in the project's node_modules for tsc
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import { ALL_DEPENDENCIES } from '../../dependencies.js';
5
5
  import { copyAsync, existsAsync, getEngineVersion, getProjectRoot, mkdirAsync, readdirAsync, runCommandAsync, writeFileAsync } from '../common.js';
6
6
  import { IgnoredFiles } from '../index.js';
@@ -24,7 +24,7 @@ export const packProjectFiles = {
24
24
  ],
25
25
  main: 'dist/src/index.js',
26
26
  peerDependencies: {
27
- 'genesys.js': `${getEngineVersion()}`,
27
+ '@directivegames/genesys.js': `${getEngineVersion()}`,
28
28
  'three': ALL_DEPENDENCIES['three'],
29
29
  },
30
30
  devDependencies: {
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import { ALL_DEPENDENCIES } from '../../dependencies.js';
5
5
  import { deletedTemplateItems, sharedTemplateItems } from '../../templates/src/index.js';
6
6
  import { copyAsync, existsAsync, getEngineVersion, getProjectRoot, mkdirAsync, readdirAsync, runCommandAsync, writeFileAsync } from '../common.js';
@@ -31,7 +31,7 @@ export const projectFiles = {
31
31
  keywords: [],
32
32
  type: 'module',
33
33
  dependencies: {
34
- 'genesys.js': `${getEngineVersion()}`,
34
+ '@directivegames/genesys.js': `${getEngineVersion()}`,
35
35
  'three': ALL_DEPENDENCIES['three'],
36
36
  },
37
37
  devDependencies: {
@@ -27,7 +27,7 @@ export const DEPENDENCIES = {
27
27
  'esbuild': '0.25.12',
28
28
  'express': '5.1.0',
29
29
  'fix-path': '4.0.0',
30
- 'genesys.js': '3.1.24',
30
+ '@directivegames/genesys.js': '3.1.25',
31
31
  'jsdom': '27.2.0',
32
32
  'minimatch': '10.1.1',
33
33
  'multer': '2.0.2',
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
+ import * as ENGINE from '@directivegames/genesys.js';
2
3
  import isDev from 'electron-is-dev';
3
- import * as ENGINE from 'genesys.js';
4
4
  // MUST be kept in sync with https://github.com/directivegames/genesys.ai/blob/develop/src/const.ts
5
5
  export const GENESYS_URL = 'https://web--genesys-ai.us-central1.hosted.app/dashboard';
6
6
  export const GENESYS_LOCAL_URL = 'http://localhost:3000/dashboard';
@@ -1,7 +1,7 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
+ import * as ENGINE from '@directivegames/genesys.js';
3
4
  import { app, dialog } from 'electron';
4
- import * as ENGINE from 'genesys.js';
5
5
  import { copySharedTemplateToProject, createGenesysProjectFile, getEngineVersion, getProjectFolderAndFile, getProjectNameFromPath, getProjectRoot, IgnoredFiles, projectFiles, runCommandAsync } from '../../../core/index.js';
6
6
  import { getTemplatePath as getTemplatePathImpl } from '../../../core/tools/new-project.js';
7
7
  import { deletedTemplateItems, sharedTemplateItems } from '../../../templates/src/index.js';
@@ -1,8 +1,8 @@
1
1
  import tsParser from '@typescript-eslint/parser';
2
- import noDefaultClassFields from './node_modules/genesys.js/eslint-rules/no-default-class-fields.js';
3
- import defaultGetterReturnType from './node_modules/genesys.js/eslint-rules/default-getter-return-type.js';
4
- import constructorTypeConsistency from './node_modules/genesys.js/eslint-rules/constructor-type-consistency.js';
5
- import noOverrideMethods from './node_modules/genesys.js/eslint-rules/no-override-methods.js';
2
+ import noDefaultClassFields from './node_modules/@directivegames/genesys.js/eslint-rules/no-default-class-fields.js';
3
+ import defaultGetterReturnType from './node_modules/@directivegames/genesys.js/eslint-rules/default-getter-return-type.js';
4
+ import constructorTypeConsistency from './node_modules/@directivegames/genesys.js/eslint-rules/constructor-type-consistency.js';
5
+ import noOverrideMethods from './node_modules/@directivegames/genesys.js/eslint-rules/no-override-methods.js';
6
6
  export default [
7
7
  {
8
8
  ignores: ['dist/**', '.engine/**', 'node_modules/**']
@@ -1,6 +1,6 @@
1
1
  import fs, { readFileSync } from 'fs';
2
2
  import path, { resolve } from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import * as THREE from 'three';
5
5
  import { MeshoptDecoder } from 'three/examples/jsm/libs/meshopt_decoder.module.js';
6
6
  import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
@@ -202,4 +202,4 @@ async function fetchBoundingBoxData(manifestFile, gltfPaths) {
202
202
  }
203
203
  // Export the main functions for use as a module
204
204
  export { calculateGLBBoundingBox, calculateGLBOriginalBoundingBox, createTransform, degreesToRadians, fetchBoundingBoxData, extractBoundingBoxData, GLBLoadError, BoundingBoxCalculationError };
205
- export { BoundingBoxSchema } from 'genesys.js';
205
+ export { BoundingBoxSchema } from '@directivegames/genesys.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import { defaultWorldOptions } from '../mcp/utils.js';
3
3
  function main() {
4
4
  const world = new ENGINE.World(defaultWorldOptions);
@@ -1,7 +1,7 @@
1
1
  // pnpm exec tsx ./scripts/genesys/dev/generate-manifest.ts
2
2
  import * as fs from 'fs';
3
3
  import * as path from 'path';
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import { ManifestPath } from './storage-provider.js';
6
6
  /**
7
7
  * Recursively scans a directory and returns file information
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import { DevStorageProvider } from './storage-provider.js';
3
3
  // Ensure process is available globally with minimal implementation
4
4
  if (typeof globalThis.process === 'undefined') {
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  export const ManifestPath = 'dist/file-manifest.json';
3
3
  export class DevStorageProvider {
4
4
  manifestCache = null;
@@ -41,17 +41,17 @@ export class DevStorageProvider {
41
41
  resolvedUrl = path.initialPath.replace(ENGINE.PROJECT_PATH_PREFIX, ENGINE.BUILT_PROJECT_FOLDER);
42
42
  }
43
43
  else if (path.initialPath.startsWith(ENGINE.ENGINE_PATH_PREFIX)) {
44
- resolvedUrl = path.initialPath.replace(ENGINE.ENGINE_PATH_PREFIX, '/node_modules/genesys.js');
44
+ resolvedUrl = path.initialPath.replace(ENGINE.ENGINE_PATH_PREFIX, '/node_modules/@directivegames/genesys.js');
45
45
  }
46
46
  else if (path.initialPath.startsWith('/')) {
47
- resolvedUrl = `/node_modules/genesys.js${path.initialPath}`;
47
+ resolvedUrl = `/node_modules/@directivegames/genesys.js${path.initialPath}`;
48
48
  }
49
49
  else if (path.initialPath.startsWith('http') || path.initialPath.startsWith('https')) {
50
50
  resolvedUrl = path.initialPath;
51
51
  }
52
52
  else {
53
53
  // Paths without prefix are treated as engine paths
54
- resolvedUrl = `/node_modules/genesys.js/${path.initialPath}`;
54
+ resolvedUrl = `/node_modules/@directivegames/genesys.js/${path.initialPath}`;
55
55
  }
56
56
  path.resolvePath(resolvedUrl, ENGINE.AssetPathEncodeState.Unknown);
57
57
  return path;
@@ -5,9 +5,9 @@
5
5
  //
6
6
  // for another MCP client (e.g. cline) that wants to use this, the command is: `pnpm exec tsc ./scripts/genesys/genesys-mcp.ts`
7
7
  import pathlib from 'path';
8
+ import * as ENGINE from '@directivegames/genesys.js';
8
9
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
10
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
10
- import * as ENGINE from 'genesys.js';
11
11
  import * as THREE from 'three';
12
12
  import { z } from 'zod';
13
13
  import { ActorInfoSchema, TransformSchema } from './common.js';
@@ -1,8 +1,8 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
3
  import { getProjectRoot } from '../common.js';
4
- const enginePathName = 'node_modules/genesys.js';
5
- const docPathName = 'node_modules/genesys.js/docs';
4
+ const enginePathName = 'node_modules/@directivegames/genesys.js';
5
+ const docPathName = 'node_modules/@directivegames/genesys.js/docs';
6
6
  const enginePath = path.join(getProjectRoot(), enginePathName);
7
7
  const docsPath = path.join(getProjectRoot(), docPathName);
8
8
  function listDocs() {
@@ -1,5 +1,5 @@
1
1
  import path from 'path';
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import getPort from 'get-port';
4
4
  import { nanoid } from 'nanoid';
5
5
  import { WebSocket, WebSocketServer } from 'ws';
@@ -1,6 +1,6 @@
1
1
  import * as fs from 'fs';
2
2
  import * as path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import { ModuleKind, ModuleResolutionKind, Project, ScriptTarget } from 'ts-morph';
5
5
  import { z } from 'zod';
6
6
  import { zodToJsonSchema } from 'zod-to-json-schema';
@@ -1,6 +1,6 @@
1
1
  import * as fs from 'fs';
2
2
  import * as path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import { zodToJsonSchema } from 'zod-to-json-schema';
5
5
  import { BoundingBoxSchema, fetchBoundingBoxData } from '../calc-bounding-box.js';
6
6
  import { ENGINE_PREFIX, JS_CLASSES_DIR_NAME, PROJECT_PREFIX, SCENE_EXTENSION } from '../const.js';
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
  import * as THREE from 'three';
5
5
  import { isDev } from '../common.js';
6
6
  import { mockBrowserEnvironment } from '../mock.js';
@@ -1,5 +1,5 @@
1
1
  import path from 'path';
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import { getProjectRoot } from './common.js';
4
4
  import { isSubclass } from './mcp/utils.js';
5
5
  import { fixUpClassName, registerGameClasses } from './mcp/utils.js';
@@ -1,4 +1,4 @@
1
- import { mockBrowserEnvironment as engineMock } from 'genesys.js';
1
+ import { mockBrowserEnvironment as engineMock } from '@directivegames/genesys.js';
2
2
  import { JSDOM } from 'jsdom';
3
3
  export function mockBrowserEnvironment() {
4
4
  engineMock(JSDOM);
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { ThreeEulerSchema, ThreeVector3Schema } from './mcp/search-actors.js';
4
4
  import { loadWorld, registerGameClassesIfAnyNotRegistered } from './mcp/utils.js';
@@ -2,7 +2,7 @@ import fs from 'fs';
2
2
  import path from 'path';
3
3
  import { getProjectRoot } from './common.js';
4
4
  async function main() {
5
- const engineInstallFolder = path.join(getProjectRoot(), 'node_modules/genesys.js');
5
+ const engineInstallFolder = path.join(getProjectRoot(), 'node_modules/@directivegames/genesys.js');
6
6
  if (!fs.existsSync(engineInstallFolder)) {
7
7
  return;
8
8
  }
@@ -1,7 +1,7 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
- import * as ENGINE from 'genesys.js';
4
- import { AssetPath, AssetPathEncodeState } from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
+ import { AssetPath, AssetPathEncodeState } from '@directivegames/genesys.js';
5
5
  import { getProjectRoot } from './common.js';
6
6
  export class StorageProvider {
7
7
  async resolvePath(assetPath, expiry) {
@@ -17,4 +17,4 @@ export const sharedTemplateItems = [
17
17
  export const deletedTemplateItems = [
18
18
  '.cursorrules'
19
19
  ];
20
- export * as ENGINE from 'genesys.js';
20
+ export * as ENGINE from '@directivegames/genesys.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { FirstPersonPlayer } from './player.js';
4
4
  import './auto-imports.js';
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  /**
10
10
  * A first person player class.
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { FPSPlayer } from './player.js';
4
4
  import './auto-imports.js';
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  import { DefaultWeapon } from './weapon.js';
10
10
  /**
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  /**
10
10
  * A default weapon class.
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { FreeCameraPlayer } from './player.js';
4
4
  import './auto-imports.js';
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  /**
10
10
  * A free camera player class.
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import './auto-imports.js';
4
4
  import { SideScrollerLevelGenerator } from './level-generator.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { COLORS, LEVEL_CONFIG } from './const.js';
4
4
  // Simple level generator for infinite side-scrolling levels
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  import { CAMERA_SETTINGS, PLAYER_MOVEMENT } from './const.js';
10
10
  // ============================================================================
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { ThirdPersonPlayer } from './player.js';
4
4
  import './auto-imports.js';
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  /**
10
10
  * A third person player class.
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import { VehiclePlayer } from './player.js';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import './auto-imports.js';
4
4
  import { VehiclePlayer } from './player.js';
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  var MeshVehicle_1;
8
- import * as ENGINE from 'genesys.js';
8
+ import * as ENGINE from '@directivegames/genesys.js';
9
9
  import * as THREE from 'three';
10
10
  import { BaseVehicle } from './base-vehicle.js';
11
11
  /**
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  import * as THREE from 'three';
9
9
  import { BaseVehicle } from './base-vehicle.js';
10
10
  /**
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  var PrimitiveVehicle_1;
8
- import * as ENGINE from 'genesys.js';
8
+ import * as ENGINE from '@directivegames/genesys.js';
9
9
  import * as THREE from 'three';
10
10
  import { BaseVehicle } from './base-vehicle.js';
11
11
  /**
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  /**
9
9
  * Dismissable UI component that displays control hints when the game starts
10
10
  */
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
  import './auto-imports.js';
4
4
  class MyGame extends ENGINE.BaseGameLoop {
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import * as ENGINE from 'genesys.js';
7
+ import * as ENGINE from '@directivegames/genesys.js';
8
8
  /**
9
9
  * Sample VR Actor - A simple actor that can be picked up and manipulated in VR
10
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directivegames/genesys.sdk",
3
- "version": "3.2.4",
3
+ "version": "3.3.0",
4
4
  "description": "Genesys SDK - A development toolkit for game development",
5
5
  "author": "Directive Games",
6
6
  "main": "index.js",
@@ -124,7 +124,7 @@
124
124
  "esbuild": "^0.25.11",
125
125
  "express": "^5.1.0",
126
126
  "fix-path": "^4.0.0",
127
- "genesys.js": "^3.1.24",
127
+ "@directivegames/genesys.js": "^3.1.24",
128
128
  "jsdom": "^27.0.0",
129
129
  "minimatch": "^10.0.1",
130
130
  "multer": "^2.0.2",
@@ -1,8 +1,8 @@
1
1
  import tsParser from '@typescript-eslint/parser';
2
- import noDefaultClassFields from './node_modules/genesys.js/eslint-rules/no-default-class-fields.js';
3
- import defaultGetterReturnType from './node_modules/genesys.js/eslint-rules/default-getter-return-type.js';
4
- import constructorTypeConsistency from './node_modules/genesys.js/eslint-rules/constructor-type-consistency.js';
5
- import noOverrideMethods from './node_modules/genesys.js/eslint-rules/no-override-methods.js';
2
+ import noDefaultClassFields from './node_modules/@directivegames/genesys.js/eslint-rules/no-default-class-fields.js';
3
+ import defaultGetterReturnType from './node_modules/@directivegames/genesys.js/eslint-rules/default-getter-return-type.js';
4
+ import constructorTypeConsistency from './node_modules/@directivegames/genesys.js/eslint-rules/constructor-type-consistency.js';
5
+ import noOverrideMethods from './node_modules/@directivegames/genesys.js/eslint-rules/no-override-methods.js';
6
6
 
7
7
 
8
8
  export default [
@@ -1,12 +1,12 @@
1
1
  # Assets
2
2
 
3
3
  ## Engine Assets
4
- - The engine's default assets are located in the **`node_modules/genesys.js/assets`** directory.
5
- - To reference these assets in your code, replace the **`node_modules/genesys.js`** prefix with **`@engine`** in the asset path.
4
+ - The engine's default assets are located in the **`node_modules/@directivegames/genesys.js/assets`** directory.
5
+ - To reference these assets in your code, replace the **`node_modules/@directivegames/genesys.js`** prefix with **`@engine`** in the asset path.
6
6
 
7
7
  **Example:**
8
8
  If an asset is located at:
9
- `node_modules/genesys.js/assets/models/SM_Monkey.glb`
9
+ `node_modules/@directivegames/genesys.js/assets/models/SM_Monkey.glb`
10
10
  Then the corresponding URL should be:
11
11
  `@engine/assets/models/SM_Monkey.glb`
12
12
 
@@ -3,7 +3,7 @@
3
3
  Root/ (Root Directory)
4
4
  ├── 📁 .cursor/ # Copied from genesys.sdk/src/templates
5
5
  ├── 📁 .vscode/ # Copied from genesys.sdk/src/templates
6
- ├── 📁 .engine/ # Various engine files copied from node_modules/genesys.js, by scripts/post-install.ts
6
+ ├── 📁 .engine/ # Various engine files copied from node_modules/@directivegames/genesys.js, by scripts/post-install.ts
7
7
  ├── 📁 assets/ # Game Assets Directory
8
8
  │ ├── 📄 default.genesys-scene # Copied from the selected template in genesys.sdk/src/templates/src/templates
9
9
  │ ├── 📁 models/ # Empty folder created by genesys.sdk
@@ -1,8 +1,8 @@
1
1
  import tsParser from '@typescript-eslint/parser';
2
- import noDefaultClassFields from './node_modules/genesys.js/eslint-rules/no-default-class-fields.js';
3
- import defaultGetterReturnType from './node_modules/genesys.js/eslint-rules/default-getter-return-type.js';
4
- import constructorTypeConsistency from './node_modules/genesys.js/eslint-rules/constructor-type-consistency.js';
5
- import noOverrideMethods from './node_modules/genesys.js/eslint-rules/no-override-methods.js';
2
+ import noDefaultClassFields from './node_modules/@directivegames/genesys.js/eslint-rules/no-default-class-fields.js';
3
+ import defaultGetterReturnType from './node_modules/@directivegames/genesys.js/eslint-rules/default-getter-return-type.js';
4
+ import constructorTypeConsistency from './node_modules/@directivegames/genesys.js/eslint-rules/constructor-type-consistency.js';
5
+ import noOverrideMethods from './node_modules/@directivegames/genesys.js/eslint-rules/no-override-methods.js';
6
6
 
7
7
 
8
8
  export default [
@@ -1,7 +1,7 @@
1
1
  import fs, { readFileSync } from 'fs';
2
2
  import path, { resolve } from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import * as THREE from 'three';
6
6
  import { MeshoptDecoder } from 'three/examples/jsm/libs/meshopt_decoder.module.js';
7
7
  import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
@@ -267,6 +267,6 @@ export {
267
267
  };
268
268
 
269
269
  export type { Transform, ManifestEntry, BoundingBoxManifest };
270
- export { BoundingBoxSchema } from 'genesys.js';
270
+ export { BoundingBoxSchema } from '@directivegames/genesys.js';
271
271
 
272
272
 
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
 
3
3
  import { defaultWorldOptions } from '../mcp/utils.js';
4
4
 
@@ -2,7 +2,7 @@
2
2
  import * as fs from 'fs';
3
3
  import * as path from 'path';
4
4
 
5
- import * as ENGINE from 'genesys.js';
5
+ import * as ENGINE from '@directivegames/genesys.js';
6
6
 
7
7
  import { ManifestPath } from './storage-provider.js';
8
8
 
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
 
3
3
  import { DevStorageProvider } from './storage-provider.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
 
3
3
  export type FileManifestItem = Omit<ENGINE.FileItem, 'absolutePath'>;
4
4
 
@@ -57,14 +57,14 @@ export class DevStorageProvider implements ENGINE.IStorageProvider {
57
57
  if (path.initialPath.startsWith(ENGINE.PROJECT_PATH_PREFIX)) {
58
58
  resolvedUrl = path.initialPath.replace(ENGINE.PROJECT_PATH_PREFIX, ENGINE.BUILT_PROJECT_FOLDER);
59
59
  } else if (path.initialPath.startsWith(ENGINE.ENGINE_PATH_PREFIX)) {
60
- resolvedUrl = path.initialPath.replace(ENGINE.ENGINE_PATH_PREFIX, '/node_modules/genesys.js');
60
+ resolvedUrl = path.initialPath.replace(ENGINE.ENGINE_PATH_PREFIX, '/node_modules/@directivegames/genesys.js');
61
61
  } else if (path.initialPath.startsWith('/')) {
62
- resolvedUrl = `/node_modules/genesys.js${path.initialPath}`;
62
+ resolvedUrl = `/node_modules/@directivegames/genesys.js${path.initialPath}`;
63
63
  } else if (path.initialPath.startsWith('http') || path.initialPath.startsWith('https')) {
64
64
  resolvedUrl = path.initialPath;
65
65
  } else {
66
66
  // Paths without prefix are treated as engine paths
67
- resolvedUrl = `/node_modules/genesys.js/${path.initialPath}`;
67
+ resolvedUrl = `/node_modules/@directivegames/genesys.js/${path.initialPath}`;
68
68
  }
69
69
 
70
70
  path.resolvePath(resolvedUrl, ENGINE.AssetPathEncodeState.Unknown);
@@ -6,9 +6,9 @@
6
6
  // for another MCP client (e.g. cline) that wants to use this, the command is: `pnpm exec tsc ./scripts/genesys/genesys-mcp.ts`
7
7
  import pathlib from 'path';
8
8
 
9
+ import * as ENGINE from '@directivegames/genesys.js';
9
10
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
10
11
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
11
- import * as ENGINE from 'genesys.js';
12
12
  import * as THREE from 'three';
13
13
  import { z } from 'zod';
14
14
 
@@ -6,8 +6,8 @@ import { getProjectRoot } from '../common.js';
6
6
  import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
7
 
8
8
 
9
- const enginePathName = 'node_modules/genesys.js';
10
- const docPathName = 'node_modules/genesys.js/docs';
9
+ const enginePathName = 'node_modules/@directivegames/genesys.js';
10
+ const docPathName = 'node_modules/@directivegames/genesys.js/docs';
11
11
  const enginePath = path.join(getProjectRoot(), enginePathName);
12
12
  const docsPath = path.join(getProjectRoot(), docPathName);
13
13
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  import path from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import getPort from 'get-port';
6
6
  import { nanoid } from 'nanoid';
7
7
  import { WebSocket, WebSocketServer } from 'ws';
@@ -1,7 +1,7 @@
1
1
  import * as fs from 'fs';
2
2
  import * as path from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import { ModuleKind, ModuleResolutionKind, Project, ScriptTarget } from 'ts-morph';
6
6
  import { z } from 'zod';
7
7
  import { zodToJsonSchema } from 'zod-to-json-schema';
@@ -1,7 +1,7 @@
1
1
  import * as fs from 'fs';
2
2
  import * as path from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import { zodToJsonSchema } from 'zod-to-json-schema';
6
6
 
7
7
  import { BoundingBoxSchema, fetchBoundingBoxData } from '../calc-bounding-box.js';
@@ -1,7 +1,7 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
5
  import * as THREE from 'three';
6
6
  import { type GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
2
 
3
- import * as ENGINE from 'genesys.js';
3
+ import * as ENGINE from '@directivegames/genesys.js';
4
4
 
5
5
  import { getProjectRoot } from './common.js';
6
6
  import { isSubclass } from './mcp/utils.js';
@@ -1,4 +1,4 @@
1
- import { mockBrowserEnvironment as engineMock } from 'genesys.js';
1
+ import { mockBrowserEnvironment as engineMock } from '@directivegames/genesys.js';
2
2
  import { JSDOM } from 'jsdom';
3
3
 
4
4
  export function mockBrowserEnvironment() {
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { ThreeEulerSchema, ThreeVector3Schema } from './mcp/search-actors.js';
@@ -5,7 +5,7 @@ import { getProjectRoot } from './common.js';
5
5
 
6
6
 
7
7
  async function main() {
8
- const engineInstallFolder = path.join(getProjectRoot(), 'node_modules/genesys.js');
8
+ const engineInstallFolder = path.join(getProjectRoot(), 'node_modules/@directivegames/genesys.js');
9
9
  if (!fs.existsSync(engineInstallFolder)) {
10
10
  return;
11
11
  }
@@ -1,8 +1,8 @@
1
1
  import fs from 'fs';
2
2
  import path from 'path';
3
3
 
4
- import * as ENGINE from 'genesys.js';
5
- import { AssetPath, AssetPathEncodeState } from 'genesys.js';
4
+ import * as ENGINE from '@directivegames/genesys.js';
5
+ import { AssetPath, AssetPathEncodeState } from '@directivegames/genesys.js';
6
6
 
7
7
  import { getProjectRoot } from './common.js';
8
8
 
@@ -19,4 +19,4 @@ export const deletedTemplateItems: string[] = [
19
19
  '.cursorrules'
20
20
  ];
21
21
 
22
- export * as ENGINE from 'genesys.js';
22
+ export * as ENGINE from '@directivegames/genesys.js';
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
 
5
5
  import { FirstPersonPlayer } from './player.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { FPSPlayer } from './player.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { DefaultWeapon } from './weapon.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
 
5
5
  import { FreeCameraPlayer } from './player.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
  import './auto-imports.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { COLORS, LEVEL_CONFIG } from './const.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { CAMERA_SETTINGS, PLAYER_MOVEMENT } from './const.js';
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
 
5
5
  import { ThirdPersonPlayer } from './player.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { VehiclePlayer } from './player.js';
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
 
5
5
  import './auto-imports.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { BaseVehicle } from './base-vehicle.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { BaseVehicle } from './base-vehicle.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  import { BaseVehicle } from './base-vehicle.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
 
3
3
  /**
4
4
  * Dismissable UI component that displays control hints when the game starts
@@ -1,5 +1,5 @@
1
1
 
2
- import * as ENGINE from 'genesys.js';
2
+ import * as ENGINE from '@directivegames/genesys.js';
3
3
  import * as THREE from 'three';
4
4
 
5
5
  import './auto-imports.js';
@@ -1,4 +1,4 @@
1
- import * as ENGINE from 'genesys.js';
1
+ import * as ENGINE from '@directivegames/genesys.js';
2
2
  import * as THREE from 'three';
3
3
 
4
4
  /**