pty-capture
作者: factory-ai
用于droid-control工作流的背景知识——不直接调用。从真实终端模拟器中捕获真实字节序列。
npx skills add https://github.com/factory-ai/factory-plugins --skill pty-capturePTY Byte Capture
The orchestrator routed you here. Use these mechanics to execute your plan.
Capture the exact bytes a real terminal emits for a given keystroke. Use this when the question is "what sequence does terminal X send for key Y?" rather than "does the UI look right?"
Platform support
| Platform | Status | Read |
|---|---|---|
| Linux / Wayland | Implemented | platforms/linux.md |
| Windows (KVM) | Implemented | platforms/windows.md |
| macOS (QEMU) | Implemented | platforms/macos.md |
Read the platform file for your target OS. Each contains the capture architecture, prerequisites, usage pattern, and platform-specific notes.
Known dead ends
- Xvfb + xdotool: bypasses real keyboard processing entirely
- uinput + Xvfb: Xvfb does not consume kernel input devices
- SSH PTY for keystroke injection: distorts the input encoding; SSH is only for output capture or deployment
Follow-on
Feed captured bytes into terminal compatibility fixtures and replay tests in apps/cli.
来自 factory-ai 的更多技能
full-stack-playbook
factory-ai
本手册指导您完成全栈Web应用程序任务的执行。适用于CRUD应用、仪表盘、电商网站以及具有明确前后端分层结构的类似项目。
official
agent-browser
factory-ai
用于droid-control工作流的背景知识——不直接调用。Agent-browser驱动机制,用于网页和Electron桌面应用自动化。
official
autoresearch
factory-ai
自主实验循环:尝试想法,保留有效的,摒弃无效的,永不停歇。
official
ban-type-assertions
factory-ai
Ban `as` type assertions in a package via the `@typescript-eslint/consistent-type-assertions` lint rule, replacing them with compiler-verified type-safe…
official
browser-navigation
factory-ai
全面的浏览器自动化,用于测试、数据提取和网页交互。
official
capture
factory-ai
用于机器人控制工作流的背景知识——不直接调用。记录终端和浏览器会话的生命周期。
official
commit-security-scan
factory-ai
使用LLM推理和威胁模型模式分析代码变更中的安全漏洞。适用于PR审查、预提交检查或分支比较。
official
compose
factory-ai
用于droid-control工作流的背景知识——不直接调用。通过Remotion进行视频组装——标题卡片、布局、转场、特效及展示……
official