feat: add terminal-capture for CLI screenshot automation

- Add terminal-capture engine using node-pty + xterm.js + Playwright
- Add scenario runner with TypeScript configuration
- Add pre-built scenarios (/about, /context, /export, /auth)
- Add Cursor skills for terminal-capture and pr-review workflow
- Add motivation documentation

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
pomelo-nwu 2026-02-14 21:34:42 +08:00
parent 03c3889991
commit 997fcbfaed
10 changed files with 1758 additions and 1 deletions

View file

@ -0,0 +1,8 @@
import type { ScenarioConfig } from '../scenario-runner.js';
export default {
name: '/about command',
spawn: ['node', 'dist/cli.js', '--yolo'],
terminal: { title: 'qwen-code', cwd: '../../..' },
flow: [{ type: 'hi' }, { type: '/about' }],
} satisfies ScenarioConfig;