Merge remote-tracking branch 'origin/master' into codex/agc-runtime-generation-reliability
# Conflicts: # apps/ai-game-creator-shell/src-tauri/src/project/manifest.rs # apps/ai-game-creator-shell/src/features/app-shell/useHomeProjectCreation.ts # apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts
This commit is contained in:
@@ -60,6 +60,12 @@ const aiGameCreatorShellTauriConfig = JSON.parse(
|
||||
'utf8',
|
||||
),
|
||||
);
|
||||
const aiGameCreatorGameChatTauriConfig = JSON.parse(
|
||||
fs.readFileSync(
|
||||
'apps/ai-game-creator-shell/src-tauri/tauri.game-chat-release.conf.json',
|
||||
'utf8',
|
||||
),
|
||||
);
|
||||
const aiGameCreatorShellTauriSource = readSourceTree(
|
||||
'apps/ai-game-creator-shell/src-tauri/src',
|
||||
'.rs',
|
||||
@@ -2351,6 +2357,32 @@ function assertAiGameCreatorShellUserDevBoundary() {
|
||||
'AI game creator release shell must register only the client window',
|
||||
);
|
||||
}
|
||||
const clientWindow = windows[0];
|
||||
if (
|
||||
clientWindow?.width !== 1280 ||
|
||||
clientWindow?.height !== 800 ||
|
||||
clientWindow?.minWidth !== 1280 ||
|
||||
clientWindow?.minHeight !== 720
|
||||
) {
|
||||
throw new Error(
|
||||
'AI game creator release shell must default to 1280x800 and stay at least 1280x720',
|
||||
);
|
||||
}
|
||||
const gameChatWindows = aiGameCreatorGameChatTauriConfig.app?.windows ?? [];
|
||||
const gameChatClientWindow = gameChatWindows[0];
|
||||
if (
|
||||
gameChatWindows.length !== 1 ||
|
||||
gameChatClientWindow?.label !== 'client' ||
|
||||
gameChatClientWindow?.url !== 'index.html' ||
|
||||
gameChatClientWindow?.width !== 1280 ||
|
||||
gameChatClientWindow?.height !== 800 ||
|
||||
gameChatClientWindow?.minWidth !== 1280 ||
|
||||
gameChatClientWindow?.minHeight !== 720
|
||||
) {
|
||||
throw new Error(
|
||||
'AI game creator game-chat shell must default to 1280x800 and stay at least 1280x720',
|
||||
);
|
||||
}
|
||||
const releaseCsp = aiGameCreatorShellTauriConfig.app?.security?.csp ?? '';
|
||||
const devCsp = aiGameCreatorShellTauriConfig.app?.security?.devCsp ?? '';
|
||||
const releaseFrameSrc =
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user