true-input
bởi factory-ai
Kiến thức nền tảng cho quy trình làm việc điều khiển droid -- không được gọi trực tiếp. Cơ chế điều khiển đầu vào thực cho tự động hóa trình giả lập thiết bị đầu cuối không giao diện…
npx skills add https://github.com/factory-ai/factory-plugins --skill true-inputTrue-Input Driver
The orchestrator routed you here. Use these mechanics to execute your plan.
Drive a real terminal emulator, injecting keystrokes through the platform's native HID input path. This proves exactly what bytes the terminal emits -- no synthetic injection, no PTY distortion.
When to use
- Proving that a terminal really sends the sequence you expect (e.g., Ghostty's
Shift+Enter) - Recording demos that reflect actual terminal rendering
- Validating that Droid handles a keystroke correctly end-to-end in a specific terminal
If you don't need real terminal proof, use tuistory -- it's faster and more deterministic.
Platform support
| Platform | Status | Driver | Read |
|---|---|---|---|
| Linux / Wayland | Implemented | cage + wtype + any Wayland terminal | platforms/linux.md |
| macOS (QEMU) | Implemented | QEMU monitor sendkey to a macOS VM | platforms/macos.md |
| Windows (KVM) | Implemented | virsh send-key to a KVM/QEMU VM | platforms/windows.md |
Read the platform file for your target OS. Each contains prerequisites, core pattern, command reference, encoding reference, recording, troubleshooting, and recovery -- specific to that platform.
Key differences from tuistory
| Concern | tuistory | true-input |
|---|---|---|
| Snapshot source | Virtual screen buffer | Scrubbed PTY log (Linux) or screenshot (VM platforms) |
| Wait mechanism | Event-driven (screen redraws) | Log polling (Linux) or sleep-based (VMs) |
| Recording | Must wrap launch (--record) | Can start/stop any time |
| Keyboard encoding | Synthetic (bypasses terminal) | Real terminal encoding path |
Known dead ends
- Xvfb + xdotool: bypasses real keyboard processing entirely
- uinput + Xvfb: Xvfb does not consume kernel input devices
- SSH for TUI testing: PTY layer distorts input encoding; use SSH only for deployment
- Raw
asciinema rec: true-input records viawf-recorder(Wayland screen capture), not asciinema. Usetctl --recordortctl record start/stop. Callingasciinema recdirectly has no access to the compositor and produces nothing useful.
Thêm skills từ factory-ai
full-stack-playbook
factory-ai
Sổ tay hướng dẫn này giúp bạn thực hiện một nhiệm vụ phát triển ứng dụng web full-stack. Sử dụng cho các ứng dụng CRUD, bảng điều khiển, trang thương mại điện tử và các dự án tương tự có lớp frontend và backend riêng biệt.
official
agent-browser
factory-ai
Kiến thức nền tảng cho quy trình điều khiển droid -- không được gọi trực tiếp. Cơ chế điều khiển agent-browser để tự động hóa trang web và ứng dụng desktop Electron.
official
autoresearch
factory-ai
Vòng lặp thí nghiệm tự động: thử nghiệm ý tưởng, giữ lại cái hiệu quả, loại bỏ cái không hiệu quả, không bao giờ dừng lại.
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
Tự động hóa trình duyệt toàn diện để kiểm thử, trích xuất dữ liệu và tương tác web.
official
capture
factory-ai
Kiến thức nền tảng cho quy trình điều khiển droid -- không được gọi trực tiếp. Ghi lại vòng đời cho các phiên terminal và trình duyệt.
official
commit-security-scan
factory-ai
Phân tích các thay đổi mã nguồn để tìm lỗ hổng bảo mật bằng cách sử dụng suy luận LLM và các mẫu mô hình mối đe dọa. Sử dụng cho đánh giá PR, kiểm tra trước khi commit hoặc so sánh nhánh.
official
compose
factory-ai
Kiến thức nền tảng cho quy trình làm việc điều khiển droid — không được gọi trực tiếp. Lắp ráp video qua Remotion — thẻ tiêu đề, bố cục, chuyển cảnh, hiệu ứng và trình diễn…
official