true-input

โดย factory-ai

ความรู้พื้นฐานสำหรับเวิร์กโฟลว์การควบคุมโดรน — ไม่ได้ถูกเรียกใช้โดยตรง กลไกการขับเคลื่อน true-input สำหรับการทำงานอัตโนมัติของเทอร์มินัลอีมูเลเตอร์แบบเรียลไทม์ผ่านโหมดไร้หัว…

npx skills add https://github.com/factory-ai/factory-plugins --skill true-input

True-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

PlatformStatusDriverRead
Linux / WaylandImplementedcage + wtype + any Wayland terminalplatforms/linux.md
macOS (QEMU)ImplementedQEMU monitor sendkey to a macOS VMplatforms/macos.md
Windows (KVM)Implementedvirsh send-key to a KVM/QEMU VMplatforms/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

Concerntuistorytrue-input
Snapshot sourceVirtual screen bufferScrubbed PTY log (Linux) or screenshot (VM platforms)
Wait mechanismEvent-driven (screen redraws)Log polling (Linux) or sleep-based (VMs)
RecordingMust wrap launch (--record)Can start/stop any time
Keyboard encodingSynthetic (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 via wf-recorder (Wayland screen capture), not asciinema. Use tctl --record or tctl record start/stop. Calling asciinema rec directly has no access to the compositor and produces nothing useful.

Skills เพิ่มเติมจาก factory-ai

full-stack-playbook
factory-ai
เพลย์บุ๊กนี้จะแนะนำคุณตลอดการดำเนินภารกิจพัฒนาเว็บแอปพลิเคชันแบบฟูลสแต็ก ใช้สำหรับแอป CRUD, แดชบอร์ด, เว็บไซต์อีคอมเมิร์ซ และโปรเจกต์ที่คล้ายกันซึ่งมีเลเยอร์ฟรอนต์เอนด์และแบ็กเอนด์ที่ชัดเจน
official
agent-browser
factory-ai
ความรู้พื้นฐานสำหรับเวิร์กโฟลว์การควบคุมดรอยด์ -- ไม่ได้ถูกเรียกใช้โดยตรง กลไกไดรเวอร์ของ 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 การตรวจสอบก่อน commit หรือการเปรียบเทียบ branch
official
compose
factory-ai
ความรู้พื้นฐานสำหรับเวิร์กโฟลว์การควบคุมโดรน — ไม่ได้ถูกเรียกใช้โดยตรง การประกอบวิดีโอผ่าน Remotion — การ์ดชื่อเรื่อง เค้าโครง การเปลี่ยนภาพ เอฟเฟกต์ และการนำเสนอ…
official