mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 21:20:44 +00:00
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:
parent
03c3889991
commit
997fcbfaed
10 changed files with 1758 additions and 1 deletions
8
integration-tests/terminal-capture/scenarios/about.ts
Normal file
8
integration-tests/terminal-capture/scenarios/about.ts
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue