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

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