true-input

Hintergrundwissen für Droid-Control-Workflows – nicht direkt aufgerufen. True-Input-Treibermechanik für die Automatisierung echter Terminalemulatoren über headless…

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.

Mehr Skills von factory-ai

full-stack-playbook
factory-ai
Dieses Playbook führt Sie durch die Ausführung einer Full-Stack-Webanwendungsmission. Verwenden Sie es für CRUD-Apps, Dashboards, E-Commerce-Seiten und ähnliche Projekte mit getrennten Frontend- und Backend-Ebenen.
official
agent-browser
factory-ai
Hintergrundwissen für Droid-Control-Workflows – nicht direkt aufgerufen. Agent-Browser-Treibermechanismen für die Automatisierung von Webseiten und Electron-Desktop-Apps.
official
autoresearch
factory-ai
Autonome Experimentierschleife: Ideen ausprobieren, behalten, was funktioniert, verwerfen, was nicht, niemals aufhören.
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
Umfassende Browser-Automatisierung für Tests, Datenextraktion und Web-Interaktion.
official
capture
factory-ai
Hintergrundwissen für Droid-Control-Workflows – nicht direkt aufgerufen. Aufzeichnungslebenszyklus für Terminal- und Browser-Sitzungen.
official
commit-security-scan
factory-ai
Analysiere Codeänderungen auf Sicherheitslücken mittels LLM-gestützter Argumentation und Bedrohungsmodell-Mustern. Verwende dies für PR-Reviews, Pre-Commit-Checks oder Branch-Vergleiche.
official
compose
factory-ai
Hintergrundwissen für Droid-Control-Workflows – nicht direkt aufgerufen. Videozusammenstellung via Remotion – Titelcards, Layout, Übergänge, Effekte und Showcase…
official