diff --git a/landing/index.html b/landing/index.html index 317c01c..074acc0 100644 --- a/landing/index.html +++ b/landing/index.html @@ -155,6 +155,12 @@ width: 100%; } + @media (max-width: 640px) { + .meta-prompts { + padding: 0 1rem; + } + } + .meta-prompts h2 { text-align: center; font-size: 2rem; @@ -164,7 +170,7 @@ .prompts-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } @@ -743,6 +749,8 @@ color: #e6edf3; line-height: 1.5; white-space: pre-wrap; + word-break: break-all; + overflow-wrap: break-word; } #promptModal .close-prompt { diff --git a/test/run-scheduler-cycle-memory-policy.test.mjs b/test/run-scheduler-cycle-memory-policy.test.mjs index bfd6b63..5555112 100644 --- a/test/run-scheduler-cycle-memory-policy.test.mjs +++ b/test/run-scheduler-cycle-memory-policy.test.mjs @@ -73,6 +73,8 @@ async function setupFixture({ await fs.copyFile(SOURCE_SCRIPT, path.join(scriptsDir, 'run-scheduler-cycle.mjs')); await fs.copyFile(path.resolve('scripts/agent/scheduler-utils.mjs'), path.join(scriptsDir, 'scheduler-utils.mjs')); await fs.copyFile(path.resolve('scripts/agent/scheduler-lock.mjs'), path.join(scriptsDir, 'scheduler-lock.mjs')); + await fs.mkdir(path.join(root, 'src'), { recursive: true }); + await fs.copyFile(path.resolve('src/utils.mjs'), path.join(root, 'src', 'utils.mjs')); await fs.writeFile( path.join(scriptsDir, 'verify-run-artifacts.mjs'), '#!/usr/bin/env node\nprocess.exit(0);\n', @@ -182,7 +184,7 @@ test('accepts required memory policy when markers or artifacts are produced', { const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], { cwd: fixture.root, - env: fixture.env, + env: { ...fixture.env, AGENT_PLATFORM: 'codex' }, }); assert.equal(result.code, 0, `stdout: ${result.stdout}\nstderr: ${result.stderr}`); @@ -207,7 +209,7 @@ test('records backend failure metadata when lock command exits with code 2', { c const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], { cwd: fixture.root, - env: fixture.env, + env: { ...fixture.env, AGENT_PLATFORM: 'codex' }, }); assert.equal(result.code, 2, `stdout: ${result.stdout}\nstderr: ${result.stderr}`);