@dreamboard-games/cli 0.1.30-alpha.1 → 0.1.30-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +179 -22
  2. package/dist/{chunk-C6UAT6EH.js → chunk-N7XPNNUI.js} +9 -12
  3. package/dist/chunk-N7XPNNUI.js.map +1 -0
  4. package/dist/chunk-SEGVTWSK.js +44 -0
  5. package/dist/{chunk-RS7UXJZV.js → chunk-TAQKH67O.js} +21300 -35881
  6. package/dist/chunk-TAQKH67O.js.map +1 -0
  7. package/dist/{global-config-AGFBDFYD.js → global-config-S4ZIPECE.js} +3 -3
  8. package/dist/index.js +415 -37
  9. package/dist/index.js.map +1 -1
  10. package/dist/internal.js +3 -4
  11. package/dist/{agent-verifier/keychain-backend-TNOPQV3Z.mjs → keychain-backend-HDF4TZDL.js} +2 -1
  12. package/dist/{agent-verifier/prompt-3BAINGAQ.mjs → prompt-NDV3AE5L.js} +2 -1
  13. package/package.json +6 -6
  14. package/skills/dreamboard/references/building-your-first-game.md +510 -0
  15. package/skills/dreamboard/references/cli.md +104 -0
  16. package/skills/dreamboard/references/game-interface.md +548 -0
  17. package/skills/dreamboard/references/manifest-authoring.md +597 -0
  18. package/skills/dreamboard/references/quickstart.md +66 -0
  19. package/skills/dreamboard/references/reducer.md +864 -0
  20. package/skills/dreamboard/references/rule-authoring.md +147 -0
  21. package/skills/dreamboard/references/testing.md +249 -0
  22. package/skills/dreamboard/scripts/events-extract.mjs +218 -0
  23. package/dist/agent-verifier/agent-workspace-verifier.mjs +0 -227
  24. package/dist/agent-verifier/chunk-2E5P5NWG.mjs +0 -835
  25. package/dist/agent-verifier/chunk-2GBBP27W.mjs +0 -301
  26. package/dist/agent-verifier/chunk-2QMNAVV4.mjs +0 -14522
  27. package/dist/agent-verifier/chunk-2SZHMP6F.mjs +0 -264
  28. package/dist/agent-verifier/chunk-4WD3YU2E.mjs +0 -166
  29. package/dist/agent-verifier/chunk-54TAYXUD.mjs +0 -12
  30. package/dist/agent-verifier/chunk-6A5HRJMQ.mjs +0 -3174
  31. package/dist/agent-verifier/chunk-6UUJEYDV.mjs +0 -213
  32. package/dist/agent-verifier/chunk-7653FPGJ.mjs +0 -381
  33. package/dist/agent-verifier/chunk-7E65UQLY.mjs +0 -38
  34. package/dist/agent-verifier/chunk-BVVNBJM4.mjs +0 -221
  35. package/dist/agent-verifier/chunk-CEDUHGNH.mjs +0 -74
  36. package/dist/agent-verifier/chunk-CEQ2VJWN.mjs +0 -149
  37. package/dist/agent-verifier/chunk-CFU5EWIC.mjs +0 -69
  38. package/dist/agent-verifier/chunk-CJEEA6NJ.mjs +0 -730
  39. package/dist/agent-verifier/chunk-EIQWDQWJ.mjs +0 -186
  40. package/dist/agent-verifier/chunk-EOQIV6PS.mjs +0 -649
  41. package/dist/agent-verifier/chunk-HBNDKQT5.mjs +0 -8381
  42. package/dist/agent-verifier/chunk-HJFQDSTU.mjs +0 -225
  43. package/dist/agent-verifier/chunk-JH22JNYD.mjs +0 -1681
  44. package/dist/agent-verifier/chunk-LI3ZR3BI.mjs +0 -41
  45. package/dist/agent-verifier/chunk-LM3OZLZG.mjs +0 -48
  46. package/dist/agent-verifier/chunk-MINCYHXN.mjs +0 -106
  47. package/dist/agent-verifier/chunk-MRCUP5SW.mjs +0 -128
  48. package/dist/agent-verifier/chunk-RBDDIIPM.mjs +0 -19
  49. package/dist/agent-verifier/chunk-SHUMAVAP.mjs +0 -59
  50. package/dist/agent-verifier/chunk-SYPLYRGB.mjs +0 -2812
  51. package/dist/agent-verifier/chunk-U6OJN7XS.mjs +0 -8092
  52. package/dist/agent-verifier/chunk-VYJTHSYR.mjs +0 -44
  53. package/dist/agent-verifier/chunk-XYDL7GY6.mjs +0 -10
  54. package/dist/agent-verifier/compile-5QSPIOUT.mjs +0 -313
  55. package/dist/agent-verifier/global-config-WX3ZZIVU.mjs +0 -17
  56. package/dist/agent-verifier/local-files-MTPLP62S.mjs +0 -46
  57. package/dist/agent-verifier/local-typecheck-QFYYAZOK.mjs +0 -9
  58. package/dist/agent-verifier/materialize-workspace-FKALAE2T.mjs +0 -90
  59. package/dist/agent-verifier/project-state-7GR6BQTQ.mjs +0 -32
  60. package/dist/agent-verifier/reducer-bundle-preflight-C73LEXI2.mjs +0 -23
  61. package/dist/agent-verifier/reducer-contract-preflight-22X7DSZW.mjs +0 -10
  62. package/dist/agent-verifier/reducer-native-test-harness-GMWBUISX.mjs +0 -53
  63. package/dist/agent-verifier/static-scaffold-AJMZZQWS.mjs +0 -28
  64. package/dist/agent-verifier/sync-3DUQH32H.mjs +0 -594
  65. package/dist/agent-verifier/test-P4U5INTD.mjs +0 -356
  66. package/dist/agent-verifier/testing-5K2BJYF2.mjs +0 -674
  67. package/dist/agent-verifier/workspace-codegen-JDZJRSDV.mjs +0 -11
  68. package/dist/agent-verifier/workspace-dependencies-HZ6VVS4G.mjs +0 -14
  69. package/dist/chunk-2H7UOFLK.js +0 -11
  70. package/dist/chunk-7FOO4AJI.js +0 -50
  71. package/dist/chunk-7FOO4AJI.js.map +0 -1
  72. package/dist/chunk-C6UAT6EH.js.map +0 -1
  73. package/dist/chunk-RS7UXJZV.js.map +0 -1
  74. package/dist/internal.d.ts +0 -311
  75. package/dist/keychain-backend-JHTXAKWC.js +0 -135
  76. package/dist/prompt-GMZABCJC.js +0 -756
  77. package/dist/runtime-packages/ui-host-runtime/src/actor-principal.ts +0 -71
  78. package/dist/runtime-packages/ui-host-runtime/src/browser-interaction.ts +0 -139
  79. package/dist/runtime-packages/ui-host-runtime/src/components/host-controls.tsx +0 -374
  80. package/dist/runtime-packages/ui-host-runtime/src/components/host-feedback-toaster.tsx +0 -266
  81. package/dist/runtime-packages/ui-host-runtime/src/components/host-feedback.tsx +0 -212
  82. package/dist/runtime-packages/ui-host-runtime/src/components/host-primitives.tsx +0 -271
  83. package/dist/runtime-packages/ui-host-runtime/src/components/host-session-metadata.tsx +0 -135
  84. package/dist/runtime-packages/ui-host-runtime/src/components/index.ts +0 -5
  85. package/dist/runtime-packages/ui-host-runtime/src/components/perf-overlay.tsx +0 -194
  86. package/dist/runtime-packages/ui-host-runtime/src/gameplay-authority-transport.ts +0 -626
  87. package/dist/runtime-packages/ui-host-runtime/src/host-controls.tsx +0 -1
  88. package/dist/runtime-packages/ui-host-runtime/src/host-feedback.tsx +0 -1
  89. package/dist/runtime-packages/ui-host-runtime/src/host-session-transport.ts +0 -294
  90. package/dist/runtime-packages/ui-host-runtime/src/index.ts +0 -3
  91. package/dist/runtime-packages/ui-host-runtime/src/logger.ts +0 -11
  92. package/dist/runtime-packages/ui-host-runtime/src/perf.ts +0 -324
  93. package/dist/runtime-packages/ui-host-runtime/src/plugin-bridge.ts +0 -195
  94. package/dist/runtime-packages/ui-host-runtime/src/plugin-health-check.ts +0 -138
  95. package/dist/runtime-packages/ui-host-runtime/src/plugin-messages.ts +0 -159
  96. package/dist/runtime-packages/ui-host-runtime/src/plugin-session-gateway.ts +0 -551
  97. package/dist/runtime-packages/ui-host-runtime/src/runtime/index.ts +0 -13
  98. package/dist/runtime-packages/ui-host-runtime/src/screenshot/projection-to-snapshot.ts +0 -122
  99. package/dist/runtime-packages/ui-host-runtime/src/screenshot/static-store-api.ts +0 -26
  100. package/dist/runtime-packages/ui-host-runtime/src/session-ingress-controller.ts +0 -583
  101. package/dist/runtime-packages/ui-host-runtime/src/session-ingress.ts +0 -219
  102. package/dist/runtime-packages/ui-host-runtime/src/session-live-runtime.ts +0 -117
  103. package/dist/runtime-packages/ui-host-runtime/src/session-model.ts +0 -431
  104. package/dist/runtime-packages/ui-host-runtime/src/session-projection.ts +0 -211
  105. package/dist/runtime-packages/ui-host-runtime/src/session-recovery.ts +0 -80
  106. package/dist/runtime-packages/ui-host-runtime/src/session-state-reducer.ts +0 -1034
  107. package/dist/runtime-packages/ui-host-runtime/src/sse-manager.ts +0 -416
  108. package/dist/runtime-packages/ui-host-runtime/src/unified-session-store.ts +0 -184
  109. package/dist/testing-KLSV6CPJ.js +0 -674
  110. package/dist/testing-KLSV6CPJ.js.map +0 -1
  111. /package/dist/{chunk-2H7UOFLK.js.map → chunk-SEGVTWSK.js.map} +0 -0
  112. /package/dist/{global-config-AGFBDFYD.js.map → global-config-S4ZIPECE.js.map} +0 -0
  113. /package/dist/{keychain-backend-JHTXAKWC.js.map → keychain-backend-HDF4TZDL.js.map} +0 -0
  114. /package/dist/{prompt-GMZABCJC.js.map → prompt-NDV3AE5L.js.map} +0 -0
@@ -1,41 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // ../../node_modules/.pnpm/@dreamboard-games+sdk@0.4.0-alpha.0_@types+react-dom@19.2.3_@types+react@19.2.17__@type_b74cbe125b074769500a56e94fa7f664/node_modules/@dreamboard-games/sdk/dist/chunk-3OZMHZK3.js
4
- var DEFAULT_REMEDY_BY_ARTIFACT = {
5
- "base-states": "run `dreamboard test generate`, then re-run the tests.",
6
- "session-state": "reset the dev session or run `dreamboard test generate`."
7
- };
8
- function artifactLabel(artifact) {
9
- return artifact === "base-states" ? "base states" : "session state";
10
- }
11
- function artifactVerb(artifact) {
12
- return artifact === "base-states" ? "were" : "was";
13
- }
14
- var StaleContractArtifactError = class extends Error {
15
- code = "STALE_CONTRACT_ARTIFACT";
16
- artifact;
17
- expected;
18
- found;
19
- remedy;
20
- constructor(options) {
21
- const remedy = options.remedy ?? DEFAULT_REMEDY_BY_ARTIFACT[options.artifact];
22
- super(
23
- `${artifactLabel(options.artifact)} ${artifactVerb(
24
- options.artifact
25
- )} generated for contract ${options.found} but the current contract is ${options.expected}. Your state or phase schemas changed since the artifact was created. Remedy: ${remedy}`
26
- );
27
- this.name = "StaleContractArtifactError";
28
- this.artifact = options.artifact;
29
- this.expected = options.expected;
30
- this.found = options.found;
31
- this.remedy = remedy;
32
- }
33
- };
34
- function isStaleContractArtifactError(error) {
35
- return error instanceof StaleContractArtifactError || typeof error === "object" && error !== null && error.code === "STALE_CONTRACT_ARTIFACT";
36
- }
37
-
38
- export {
39
- StaleContractArtifactError,
40
- isStaleContractArtifactError
41
- };
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/utils/fs.ts
4
- import { mkdir, readFile, stat, writeFile } from "fs/promises";
5
- import path from "path";
6
- async function ensureDir(dirPath) {
7
- await mkdir(dirPath, { recursive: true });
8
- }
9
- async function exists(filePath) {
10
- try {
11
- await stat(filePath);
12
- return true;
13
- } catch {
14
- return false;
15
- }
16
- }
17
- async function readTextFile(filePath) {
18
- return readFile(filePath, "utf8");
19
- }
20
- async function readTextFileIfExists(filePath) {
21
- try {
22
- return await readFile(filePath, "utf8");
23
- } catch {
24
- return null;
25
- }
26
- }
27
- async function writeTextFile(filePath, content) {
28
- await ensureDir(path.dirname(filePath));
29
- await writeFile(filePath, content, "utf8");
30
- }
31
- async function readJsonFile(filePath) {
32
- const data = await readTextFile(filePath);
33
- return JSON.parse(data);
34
- }
35
- async function writeJsonFile(filePath, data) {
36
- await writeTextFile(filePath, `${JSON.stringify(data, null, 2)}
37
- `);
38
- }
39
-
40
- export {
41
- ensureDir,
42
- exists,
43
- readTextFile,
44
- readTextFileIfExists,
45
- writeTextFile,
46
- readJsonFile,
47
- writeJsonFile
48
- };
@@ -1,106 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/utils/atomic-file.ts
4
- import { constants as fsConstants, promises as fs } from "fs";
5
- import path from "path";
6
- import crypto from "crypto";
7
- async function atomicWriteFile(targetPath, contents, options = {}) {
8
- if (contents.length === 0) {
9
- throw new Error(
10
- `Refusing to atomicWriteFile an empty payload to ${targetPath}`
11
- );
12
- }
13
- const mode = options.mode ?? 384;
14
- const shouldFsync = options.fsync ?? true;
15
- const dir = path.dirname(targetPath);
16
- await fs.mkdir(dir, { recursive: true });
17
- const suffix = crypto.randomBytes(6).toString("hex");
18
- const tmpPath = `${targetPath}.tmp-${process.pid}-${suffix}`;
19
- const fh = await fs.open(
20
- tmpPath,
21
- fsConstants.O_WRONLY | fsConstants.O_CREAT | fsConstants.O_EXCL,
22
- mode
23
- );
24
- try {
25
- await fh.writeFile(contents, "utf8");
26
- try {
27
- await fh.chmod(mode);
28
- } catch {
29
- }
30
- if (shouldFsync) {
31
- try {
32
- await fh.sync();
33
- } catch {
34
- }
35
- }
36
- } finally {
37
- await fh.close();
38
- }
39
- try {
40
- await fs.rename(tmpPath, targetPath);
41
- } catch (err) {
42
- await fs.unlink(tmpPath).catch(() => void 0);
43
- throw err;
44
- }
45
- }
46
- async function withFileLock(lockPath, fn, options = {}) {
47
- const retries = options.retries ?? 100;
48
- const minDelayMs = options.minDelayMs ?? 20;
49
- const maxDelayMs = options.maxDelayMs ?? 200;
50
- const staleMs = options.staleMs ?? 3e4;
51
- await fs.mkdir(path.dirname(lockPath), { recursive: true });
52
- let attempt = 0;
53
- let acquired = false;
54
- while (!acquired) {
55
- try {
56
- const fh = await fs.open(
57
- lockPath,
58
- fsConstants.O_WRONLY | fsConstants.O_CREAT | fsConstants.O_EXCL,
59
- 384
60
- );
61
- await fh.writeFile(`${process.pid}
62
- `, "utf8");
63
- await fh.close();
64
- acquired = true;
65
- break;
66
- } catch (err) {
67
- const code = err.code;
68
- if (code !== "EEXIST") {
69
- throw err;
70
- }
71
- }
72
- let stat = null;
73
- try {
74
- stat = await fs.stat(lockPath);
75
- } catch {
76
- continue;
77
- }
78
- if (stat !== null) {
79
- const ageMs = Date.now() - stat.mtimeMs;
80
- if (ageMs > staleMs) {
81
- await fs.unlink(lockPath).catch(() => void 0);
82
- continue;
83
- }
84
- }
85
- attempt += 1;
86
- if (attempt >= retries) {
87
- throw new Error(
88
- `Timed out acquiring file lock at ${lockPath} after ${retries} attempts.`
89
- );
90
- }
91
- const jitter = Math.floor(
92
- Math.random() * Math.max(1, maxDelayMs - minDelayMs)
93
- );
94
- await new Promise((resolve) => setTimeout(resolve, minDelayMs + jitter));
95
- }
96
- try {
97
- return await fn();
98
- } finally {
99
- await fs.unlink(lockPath).catch(() => void 0);
100
- }
101
- }
102
-
103
- export {
104
- atomicWriteFile,
105
- withFileLock
106
- };
@@ -1,128 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/services/project/project-state.ts
4
- var LOCAL_MAINTAINER_SDK_PACKAGE_NAMES = [
5
- "@dreamboard-games/api-client",
6
- "@dreamboard-games/sdk"
7
- ];
8
- function getProjectAuthoringState(projectConfig) {
9
- return projectConfig.authoring ?? {};
10
- }
11
- function getProjectPendingAuthoringSync(projectConfig) {
12
- return getProjectAuthoringState(projectConfig).pendingSync;
13
- }
14
- function getProjectCompileState(projectConfig) {
15
- return projectConfig.compile ?? {};
16
- }
17
- function getProjectLocalMaintainerRegistry(projectConfig) {
18
- return projectConfig.localMaintainerRegistry;
19
- }
20
- function updateProjectAuthoringState(projectConfig, authoring) {
21
- return {
22
- ...projectConfig,
23
- authoring: {
24
- ...getProjectAuthoringState(projectConfig),
25
- ...authoring
26
- }
27
- };
28
- }
29
- function setProjectPendingAuthoringSync(projectConfig, pendingSync) {
30
- return updateProjectAuthoringState(projectConfig, {
31
- pendingSync
32
- });
33
- }
34
- function clearProjectPendingAuthoringSync(projectConfig) {
35
- const authoring = getProjectAuthoringState(projectConfig);
36
- if (!authoring.pendingSync) {
37
- return projectConfig;
38
- }
39
- const { pendingSync: _pendingSync, ...rest } = authoring;
40
- return {
41
- ...projectConfig,
42
- authoring: rest
43
- };
44
- }
45
- function finalizeProjectPendingAuthoringSync(projectConfig) {
46
- const authoring = getProjectAuthoringState(projectConfig);
47
- const pendingSync = authoring.pendingSync;
48
- if (!pendingSync) {
49
- return projectConfig;
50
- }
51
- return updateProjectAuthoringState(
52
- clearProjectPendingAuthoringSync(projectConfig),
53
- {
54
- authoringStateId: pendingSync.phase === "authoring_state_created" ? pendingSync.authoringStateId : authoring.authoringStateId,
55
- revisionDigest: pendingSync.revisionDigest ?? authoring.revisionDigest,
56
- sourceRevisionId: pendingSync.sourceRevisionId,
57
- sourceTreeHash: pendingSync.sourceTreeHash,
58
- manifestId: pendingSync.manifestId,
59
- manifestContentHash: pendingSync.manifestContentHash,
60
- localManifestContentHash: pendingSync.localManifestContentHash,
61
- ruleId: pendingSync.ruleId
62
- }
63
- );
64
- }
65
- function updateProjectCompileState(projectConfig, compile) {
66
- return {
67
- ...projectConfig,
68
- compile: {
69
- ...getProjectCompileState(projectConfig),
70
- ...compile
71
- }
72
- };
73
- }
74
- function setLatestCompileAttempt(projectConfig, attempt) {
75
- return updateProjectCompileState(projectConfig, {
76
- ...getProjectCompileState(projectConfig),
77
- latestAttempt: attempt,
78
- latestSuccessful: attempt.status === "successful" && attempt.resultId ? {
79
- resultId: attempt.resultId,
80
- authoringStateId: attempt.authoringStateId,
81
- revisionDigest: attempt.revisionDigest
82
- } : getProjectCompileState(projectConfig).latestSuccessful
83
- });
84
- }
85
- function clearProjectCompileState(projectConfig) {
86
- return {
87
- ...projectConfig,
88
- compile: {}
89
- };
90
- }
91
- function updateProjectLocalMaintainerRegistry(projectConfig, localMaintainerRegistry) {
92
- return {
93
- ...projectConfig,
94
- localMaintainerRegistry: sanitizeProjectLocalMaintainerRegistry(
95
- localMaintainerRegistry
96
- )
97
- };
98
- }
99
- function sanitizeProjectLocalMaintainerRegistry(localMaintainerRegistry) {
100
- if (!localMaintainerRegistry) return void 0;
101
- const packages = {};
102
- for (const packageName of LOCAL_MAINTAINER_SDK_PACKAGE_NAMES) {
103
- const version = localMaintainerRegistry.packages[packageName];
104
- if (version) {
105
- packages[packageName] = version;
106
- }
107
- }
108
- return {
109
- ...localMaintainerRegistry,
110
- packages
111
- };
112
- }
113
-
114
- export {
115
- getProjectAuthoringState,
116
- getProjectPendingAuthoringSync,
117
- getProjectCompileState,
118
- getProjectLocalMaintainerRegistry,
119
- updateProjectAuthoringState,
120
- setProjectPendingAuthoringSync,
121
- clearProjectPendingAuthoringSync,
122
- finalizeProjectPendingAuthoringSync,
123
- updateProjectCompileState,
124
- setLatestCompileAttempt,
125
- clearProjectCompileState,
126
- updateProjectLocalMaintainerRegistry,
127
- sanitizeProjectLocalMaintainerRegistry
128
- };
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/services/project/framework-dependencies.ts
4
- var FRAMEWORK_REACT_VERSION = "19.2.6";
5
- var FRAMEWORK_ZOD_VERSION = "4.4.3";
6
- var FRAMEWORK_REACT_DEPENDENCIES = {
7
- react: FRAMEWORK_REACT_VERSION,
8
- "react-dom": FRAMEWORK_REACT_VERSION
9
- };
10
- var FRAMEWORK_PNPM_OVERRIDES = {
11
- ...FRAMEWORK_REACT_DEPENDENCIES,
12
- zod: FRAMEWORK_ZOD_VERSION
13
- };
14
-
15
- export {
16
- FRAMEWORK_ZOD_VERSION,
17
- FRAMEWORK_REACT_DEPENDENCIES,
18
- FRAMEWORK_PNPM_OVERRIDES
19
- };
@@ -1,59 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/constants.ts
4
- var DEFAULT_API_BASE_URL = "https://api.dreamboard.games";
5
- var DEFAULT_WEB_BASE_URL = "https://dreamboard.games";
6
- var PROJECT_DIR_NAME = ".dreamboard";
7
- var ENVIRONMENT_CONFIGS = {
8
- local: {
9
- apiBaseUrl: "http://localhost:8080",
10
- webBaseUrl: "http://localhost:5173",
11
- clerkOAuthIssuer: process.env.DREAMBOARD_LOCAL_CLERK_OAUTH_ISSUER,
12
- clerkOAuthClientId: process.env.DREAMBOARD_LOCAL_CLERK_OAUTH_CLIENT_ID,
13
- clerkOAuthScope: process.env.DREAMBOARD_LOCAL_CLERK_OAUTH_SCOPE
14
- },
15
- staging: {
16
- apiBaseUrl: "https://api-staging.dreamboard.games",
17
- webBaseUrl: "https://staging.dreamboard.games",
18
- clerkOAuthIssuer: process.env.DREAMBOARD_STAGING_CLERK_OAUTH_ISSUER ?? process.env.DREAMBOARD_CLERK_OAUTH_ISSUER,
19
- clerkOAuthClientId: process.env.DREAMBOARD_STAGING_CLERK_OAUTH_CLIENT_ID ?? process.env.DREAMBOARD_CLERK_OAUTH_CLIENT_ID,
20
- clerkOAuthScope: process.env.DREAMBOARD_STAGING_CLERK_OAUTH_SCOPE ?? process.env.DREAMBOARD_CLERK_OAUTH_SCOPE
21
- },
22
- prod: {
23
- apiBaseUrl: "https://api.dreamboard.games",
24
- webBaseUrl: "https://dreamboard.games",
25
- clerkOAuthIssuer: process.env.DREAMBOARD_PROD_CLERK_OAUTH_ISSUER ?? process.env.DREAMBOARD_CLERK_OAUTH_ISSUER,
26
- clerkOAuthClientId: process.env.DREAMBOARD_PROD_CLERK_OAUTH_CLIENT_ID ?? process.env.DREAMBOARD_CLERK_OAUTH_CLIENT_ID,
27
- clerkOAuthScope: process.env.DREAMBOARD_PROD_CLERK_OAUTH_SCOPE ?? process.env.DREAMBOARD_CLERK_OAUTH_SCOPE
28
- }
29
- };
30
- var PROJECT_CONFIG_FILE = "project.json";
31
- var PROJECT_STATE_FILE = "state.json";
32
- var SNAPSHOT_FILE = "snapshot.json";
33
- var MANIFEST_FILE = "manifest.ts";
34
- var GENERATED_DIR_NAME = "generated";
35
- var MATERIALIZED_MANIFEST_FILE = `${PROJECT_DIR_NAME}/${GENERATED_DIR_NAME}/manifest.json`;
36
- var MANIFEST_TYPECHECK_CONFIG_FILE = "manifest.tsconfig.json";
37
- var RULE_FILE = "rule.md";
38
- var DEFAULT_LOGIN_TIMEOUT_MS = 5 * 60 * 1e3;
39
- var LOCAL_IGNORE_DIRS = /* @__PURE__ */ new Set([
40
- ".dreamboard",
41
- ".git",
42
- "node_modules",
43
- "dist"
44
- ]);
45
-
46
- export {
47
- DEFAULT_API_BASE_URL,
48
- DEFAULT_WEB_BASE_URL,
49
- PROJECT_DIR_NAME,
50
- ENVIRONMENT_CONFIGS,
51
- PROJECT_CONFIG_FILE,
52
- PROJECT_STATE_FILE,
53
- SNAPSHOT_FILE,
54
- MANIFEST_FILE,
55
- MATERIALIZED_MANIFEST_FILE,
56
- MANIFEST_TYPECHECK_CONFIG_FILE,
57
- RULE_FILE,
58
- LOCAL_IGNORE_DIRS
59
- };