gstack/design/src
Garry Tan 41cf56617a
feat: add $D serve command for HTTP-based comparison board feedback
The comparison board feedback loop was fundamentally broken: browse blocks
file:// URLs (url-validation.ts:71), so $B goto file://board.html always
fails. The fallback open + $B eval polls a different browser instance.

$D serve fixes this by serving the board over HTTP on localhost. The server
is stateful: stays alive across regeneration rounds, exposes /api/progress
for the board to poll, and accepts /api/reload from the agent to swap in
new board HTML. Stdout carries feedback JSON only; stderr carries telemetry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 08:13:59 -06:00
..
auth.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
brief.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
check.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
cli.ts feat: add $D serve command for HTTP-based comparison board feedback 2026-03-27 08:13:59 -06:00
commands.ts feat: add $D serve command for HTTP-based comparison board feedback 2026-03-27 08:13:59 -06:00
compare.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
design-to-code.ts feat: responsive variants + design-to-code prompt 2026-03-26 22:23:41 -06:00
diff.ts feat: mockup diffing + design intent verification 2026-03-26 22:17:12 -06:00
evolve.ts feat: screenshot-to-mockup evolution ($D evolve) 2026-03-26 22:18:14 -06:00
generate.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
iterate.ts feat: design binary variants + iterate commands 2026-03-26 21:59:48 -06:00
memory.ts feat: design memory — extract visual language from mockups into DESIGN.md 2026-03-26 22:16:12 -06:00
serve.ts feat: add $D serve command for HTTP-based comparison board feedback 2026-03-27 08:13:59 -06:00
session.ts feat: design binary core — generate, check, compare commands 2026-03-26 21:52:16 -06:00
variants.ts feat: responsive variants + design-to-code prompt 2026-03-26 22:23:41 -06:00