pty-capture

โดย factory-ai

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

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
อ่าน repository จากนั้นสร้างชุดหน้าเอกสารที่เชื่อมโยงกัน ซึ่งอธิบายว่าโค้ดทำงานอย่างไรและประกอบกันอย่างไร ผลลัพธ์คือไดเรกทอรี droid-wiki/ ที่มีไฟล์ markdown อัปโหลดไปยัง Factory ผ่าน droid wiki-upload
official
threat-model-generation
factory-ai
สร้างแบบจำลองภัยคุกคามความปลอดภัยตาม STRIDE สำหรับที่เก็บโค้ด ใช้เมื่อตั้งค่าการตรวจสอบความปลอดภัย หลังการเปลี่ยนแปลงสถาปัตยกรรม หรือสำหรับการตรวจสอบความปลอดภัย
official
agent-repellent
factory-ai
ประเมินความต้านทานของฐานโค้ดของคุณต่อเครื่องมือช่วยพัฒนาแบบ 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