true-input

द्वारा factory-ai

ड्रॉइड-नियंत्रण वर्कफ़्लो के लिए पृष्ठभूमि ज्ञान -- सीधे आह्वान नहीं किया जाता। हेडलेस के माध्यम से वास्तविक टर्मिनल एमुलेटर ऑटोमेशन के लिए ट्रू-इनपुट ड्राइवर मैकेनिक्स…

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 the tuistory backend in terminal-use -- 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.

factory-ai की और Skills

feng-shui
factory-ai
आपके कोडबेस के लिए वास्तुकला सामंजस्य मूल्यांकन।
obituary
factory-ai
अप्रचलित और जीवन-अंत कोड पर पूर्वव्यापी दृष्टि।
review
factory-ai
कोड परिवर्तनों की समीक्षा करें और उच्च-विश्वास वाले, कार्रवाई योग्य बग्स की पहचान करें। तब उपयोग करें जब उपयोगकर्ता चाहता है: - पुल रिक्वेस्ट या ब्रांच डिफ की समीक्षा करना - बग्स, सुरक्षा…
agent-repellent
factory-ai
अपने कोडबेस की AI-सहायता प्राप्त विकास उपकरणों के प्रति प्रतिरोधक क्षमता का आकलन करें।
blame
factory-ai
गिट इतिहास जांच से पैटर्न और विसंगतियां उजागर होती हैं।
cobol-converter
factory-ai
COBOL माइग्रेशन योजना अनुवादित आउटपुट के साथ।
dating-profile
factory-ai
प्रौद्योगिकी स्टैक और आर्किटेक्चर पर आधारित संगतता प्रोफ़ाइल।
performance-review
factory-ai
आपके कोडबेस का वार्षिक प्रदर्शन समीक्षा।