alpha
Login
or
Join now
compounding.tech
/
pty
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pty
/
tests
/
at
699a44ae0f3447ea0aa723bc74274b4641a6caf8
19 files
Nathan Herald
Respond to DA1 queries to fix fish shell 10s startup delay
3mo ago
4f7d628b
codex-integration.test.ts
Respond to DA1 queries to fix fish shell 10s startup delay Fish 4.x sends a DA1 (Primary Device Attribute) query at startup and blocks for up to 10s waiting for a response. Add a CSI handler in PtyServer that intercepts the query and writes back a VT220 response. Add shell integration tests for bash, zsh, and fish. Closes #5 Based on the approach by @schickling-assistant in #5
3 months ago
connection.test.ts
Add @myobie/pty/client entry point for programmatic session management New public API covering every CLI feature: SessionConnection for bidirectional attach without stdin/stdout, sendData/peekScreen as Promise-based alternatives, events, keys, stats, and protocol types. Refactor spawnDaemon to options object with optional rows/cols.
3 months ago
events.test.ts
pty events
3 months ago
integration.test.ts
Make stats not count the stat counter; skip codex for now
3 months ago
keys.test.ts
Fix more edge cases, introduce send command
4 months ago
nesting.test.ts
Prevent session nesting and add resource usage to stats Detect when pty run is invoked inside an existing session via PTY_SESSION env var and exec the command directly (-d bypasses). Add CPU, memory, and PID reporting to pty stats for both the child process and daemon.
3 months ago
protocol.test.ts
Add pty stats command, STATUS protocol message, and 10k scrollback
3 months ago
pty-handle.test.ts
Add mouseMode, cursorRow/Col, and scrollback support to PtyHandle - Track mouse mode (1000/1002/1003) via CSI parser on local and attached handles, exposed as readonly mouseMode property - Add cursorRow/cursorCol properties (from xterm buffer cursor) - Accept scrollback option in createPty/attachPty (default 0) - Add bufferLength/baseY properties for scrollback navigation - Support readCells(scrollOffset) to read into scrollback history - Fix readXtermCells to read from baseY (was reading from line 0, masked by scrollback:0) - Re-export spawnDaemon from tui index
3 months ago
ratatui-compat.test.ts
Improve attach fidelity for ratatui/crossterm TUI apps Fix stale screen content on reattach by tracking last resize time and delaying serialization when a resize recently occurred. After sending the serialized screen, nudge the child process with a SIGWINCH to trigger a fresh redraw, eliminating visual artifacts from the serialize addon's ECH/CUF approximation.
3 months ago
resize-tui.test.ts
Improve attach fidelity for ratatui/crossterm TUI apps Fix stale screen content on reattach by tracking last resize time and delaying serialization when a resize recently occurred. After sending the serialized screen, nudge the child process with a SIGWINCH to trigger a fresh redraw, eliminating visual artifacts from the serialize addon's ECH/CUF approximation.
3 months ago
rm-kill-ephemeral.test.ts
Moar tests
3 months ago
sanitize.test.ts
Better sanitization, handle resizing better
4 months ago
screenshot.test.ts
Fix CLI for npm global install — build src/ to dist/ with tsc Node refuses to run .ts files from node_modules/. The CLI and daemon now run from dist/ (compiled by tsc). Tests and exports updated to use dist/ for subprocess spawning. npm run build is now required before using the CLI locally.
3 months ago
scrollback-fidelity.test.ts
Improve attach fidelity for ratatui/crossterm TUI apps Fix stale screen content on reattach by tracking last resize time and delaying serialization when a resize recently occurred. After sending the serialized screen, nudge the child process with a SIGWINCH to trigger a fresh redraw, eliminating visual artifacts from the serialize addon's ECH/CUF approximation.
3 months ago
shells.test.ts
Respond to DA1 queries to fix fish shell 10s startup delay Fish 4.x sends a DA1 (Primary Device Attribute) query at startup and blocks for up to 10s waiting for a response. Add a CSI handler in PtyServer that intercepts the query and writes back a VT220 response. Add shell integration tests for bash, zsh, and fish. Closes #5 Based on the approach by @schickling-assistant in #5
3 months ago
spawn-options.test.ts
Add @myobie/pty/client entry point for programmatic session management New public API covering every CLI feature: SessionConnection for bidirectional attach without stdin/stdout, sendData/peekScreen as Promise-based alternatives, events, keys, stats, and protocol types. Refactor spawnDaemon to options object with optional rows/cols.
3 months ago
stats-cli.test.ts
Prevent session nesting and add resource usage to stats Detect when pty run is invoked inside an existing session via PTY_SESSION env var and exec the command directly (-d bypasses). Add CPU, memory, and PID reporting to pty stats for both the child process and daemon.
3 months ago
tui-framework.test.ts
Add fuzzy filter, light themes, terminal theme, Ctrl+G theme cycling, persist theme Interactive list: - Fuzzy matching for session filter (fzf-style, characters in order) - Name matches scored 10000+ above cwd/command matches - ▸ selection indicator on the active item - Ctrl+G cycles through all themes, name shown in footer - Theme preference saved to ~/.local/state/pty/theme Themes: - Light variants of all 5 themes (coolBlueLight, warmAmberLight, etc.) - New "terminal" theme: null colors, uses terminal's own fg/bg - Terminal theme is the default — works on any color scheme - Theme type widened to allow null (renderer already handled it) Framework fix: - Text nodes inside panels now preserve the panel's background color instead of clearing to null. Previously invisible on dark themes but caused white bleed-through on light terminals.
3 months ago
tui.test.ts
Auto-name sessions, fix global install spawn failure (fixes #4) Sessions are now auto-named from directory + command when no name is given: `pty run -- node server.js` creates `myapp-node-server`. Use `--name` for explicit names. Old positional syntax still works with a hint to migrate. The interactive wizard auto-generates the name as you type the command. Manually editing the name stops auto-generation. Filter results now rank name matches above path/command matches. Fix: add postinstall script to chmod +x node-pty's spawn-helper binary. npm strips the executable bit during install, causing posix_spawnp to fail on global installs. Fix: move @preact/signals-core from optional peer dependency to regular dependency — the CLI now uses it since the interactive list rewrite.
3 months ago