Increase VectorEngine timeouts and add image UI
Add VectorEngine image generation config and raise request timeouts (env + scripts) from 180000 to 1000000ms. Introduce a reusable CreativeImageInputPanel component with tests and wire up mobile keyboard-focus helpers; update generation views and related tests (CustomWorldGenerationView, BarkBattle editor, Match3D, Puzzle flows). Improve API error handling / VectorEngine request guidance (packages/shared http.ts and docs), and apply multiple backend/frontend fixes for puzzle/match3d/prompt handling. Also include extensive docs and decision-log updates describing UI/UX decisions and verification steps.
This commit is contained in:
@@ -35,7 +35,7 @@ function resolveEnv() {
|
||||
return {
|
||||
baseUrl: String(loaded.VECTOR_ENGINE_BASE_URL || '').trim().replace(/\/+$/u, ''),
|
||||
apiKey: String(loaded.VECTOR_ENGINE_API_KEY || '').trim(),
|
||||
timeoutMs: Number.parseInt(String(loaded.VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS || 180000), 10),
|
||||
timeoutMs: Number.parseInt(String(loaded.VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS || 1000000), 10),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ const scriptDir = path.dirname(fileURLToPath(import.meta.url));
|
||||
const repoRoot = path.resolve(scriptDir, '..');
|
||||
const assetDir = path.join(repoRoot, 'public', 'child-motion-demo');
|
||||
const intermediateDir = path.join(repoRoot, 'tmp', 'child-motion-demo-assets');
|
||||
const defaultTimeoutMs = 180000;
|
||||
const defaultTimeoutMs = 1000000;
|
||||
const chromaKeyColor = '#ff00ff';
|
||||
const layoutReferenceOutput = 'picture-book-stage-layout-v2.png';
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { fileURLToPath } from 'node:url';
|
||||
const scriptDir = path.dirname(fileURLToPath(import.meta.url));
|
||||
const repoRoot = path.resolve(scriptDir, '..');
|
||||
const defaultOutDir = path.join(repoRoot, 'public', 'match3d-style-references');
|
||||
const defaultTimeoutMs = 180000;
|
||||
const defaultTimeoutMs = 1000000;
|
||||
|
||||
const styleTemplates = [
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ const outputDir = path.join(
|
||||
'branding',
|
||||
'taonier-logo-concepts',
|
||||
);
|
||||
const defaultTimeoutMs = 420000;
|
||||
const defaultTimeoutMs = 1000000;
|
||||
|
||||
const dimensionalConcepts = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user