Skip to content

feat: add loop diff/term generators and 3 dual-theme README showcase demos - #9

Merged
MarcusK00 merged 2 commits into
devfrom
feat/diff-term-generators
Nov 18, 2026
Merged

MarcusK00 merged 2 commits into
devfrom
feat/diff-term-generators

Conversation

@MarcusK00

Copy link
Copy Markdown
Owner

Summary

Expands Loop Studio with two zero-dependency data-driven generators and 3 new dual-theme README showcase demos:

  1. loop diff & loop term (tool/lib/generators.js, tool/bin/loop.js):
    • loop diff <dir> [--range <a..b> | --staged | --file <patch>]: Parses real unified git diffs, applies theme-aware syntax highlighting, and generates a dual-theme scene.html + showcase.json grounded to the real changed file:line range and "match" symbol.
    • loop term <dir> --cmd "<command>": Captures real CLI output (or supplied lines) into a dual-theme animated terminal showcase with pass/fail status chips.
  2. 3 New Dual-Theme README Demos (examples/ + assets/demos/):
    • cli-terminal (778 KB dark / 863 KB light, seamScore: 0.472)
    • architecture-flow (640 KB dark / 688 KB light, seamScore: 1.073)
    • benchmark-compare (529 KB dark / 542 KB light, seamScore: 0.443)
  3. Docs & Tests:
    • Updated README.md, AGENTS.md, docs/tool.md, skills/loop-studio/SKILL.md, and tool/test/run-evals.js.

Verification

  • npm test: 31 passed, 0 failed (core unit/negative gates, loop diff, loop term, and all 6 examples via macOS WebKit; optional ffmpeg external MP4 test skipped locally).

@MarcusK00
MarcusK00 merged commit 423d106 into dev Nov 18, 2026
@MarcusK00
MarcusK00 deleted the feat/diff-term-generators branch November 18, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant