pty-capture

Фоновые знания для рабочих процессов управления дроидами — не вызывается напрямую. Захватывает эталонные байтовые последовательности из реальных эмуляторов терминала.

npx skills add https://github.com/factory-ai/factory-plugins --skill pty-capture

PTY 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

PlatformStatusRead
Linux / WaylandImplementedplatforms/linux.md
Windows (KVM)Implementedplatforms/windows.md
macOS (QEMU)Implementedplatforms/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.

Больше skills от factory-ai

wiki
factory-ai
Прочитать репозиторий, затем создать набор взаимосвязанных страниц документации, объясняющих, что делает код и как он устроен. Результат — каталог droid-wiki/ с файлами Markdown, загруженный в Factory через droid wiki-upload.
official
threat-model-generation
factory-ai
Сгенерировать модель угроз безопасности на основе STRIDE для репозитория. Использовать при настройке мониторинга безопасности, после изменений архитектуры или для аудитов безопасности.
official
agent-repellent
factory-ai
Оцените устойчивость вашей кодовой базы к инструментам разработки с использованием ИИ.
official
blame
factory-ai
Исследование истории Git с выявлением паттернов и аномалий.
official
cobol-converter
factory-ai
План миграции COBOL с переведённым выводом.
official
dating-profile
factory-ai
Профиль совместимости на основе технологического стека и архитектуры.
official
feng-shui
factory-ai
Оценка архитектурной гармонии вашей кодовой базы.
official
obituary
factory-ai
Ретроспектива устаревшего и снятого с поддержки кода.
official