Skip to content

feat(terminal): add Ptyxis support - #113

Merged
aannoo merged 2 commits into
aannoo:mainfrom
pzxy:feat/ptyxis-terminal
Sep 13, 2026
Merged

feat(terminal): add Ptyxis support#113
aannoo merged 2 commits into
aannoo:mainfrom
pzxy:feat/ptyxis-terminal

Conversation

@pzxy

@pzxy pzxy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a Linux ptyxis terminal preset that opens agents in a new Ptyxis window
  • auto-detect Ptyxis sessions through PTYXIS_VERSION
  • strip and capture Ptyxis identity variables consistently across launches and relay tests
  • expose Ptyxis in Linux fallback selection, the TUI preset list, config validation, and documentation

Ptyxis is intentionally open-only: its CLI can open windows and tabs, but does not expose a supported pane/window ID close API for managed hcom kill cleanup.

Testing

  • cargo fmt --all -- --check
  • bash ./scripts/typecheck.sh
  • cargo clippy --all-targets --locked -- -D warnings
  • cargo test --locked (2175 unit tests passed; integration suites passed)
  • cargo +1.88 check --locked --all-targets (MSRV)
  • pinned Codex real-tool tests (2 passed)
  • pinned Claude real-tool tests (2 passed)
  • MQTT relay roundtrip test (all 14 phases passed)
  • manual smoke test with ptyxis --new-window -- bash -c 'sleep 3'

@pzxy pzxy closed this Aug 20, 2026
@pzxy pzxy reopened this Aug 20, 2026
@aannoo

aannoo commented Sep 13, 2026

Copy link
Copy Markdown
Owner

thanks

@aannoo
aannoo merged commit b40de98 into aannoo:main Sep 13, 2026
30 of 31 checks passed
orgoj added a commit to orgoj/hcom that referenced this pull request Sep 13, 2026
… module)

Upstream fabb309 brings the runner Node-precedence fix (aannoo#117), the grown
CODEX_HOME resolution (aannoo#115), Ptyxis support (aannoo#113), the Windows nested
PowerShell removal (aannoo#137) and the kimi modularisation (aannoo#106).

Conflicts resolved in upstream's favour:
- codex.rs / codex_preprocessing.rs: the fork's cherry-picked 080c78a used a
  thread-local CODEX_HOME override; upstream's explicit `*_at` threading
  replaces it, so the wrapper functions and the thread-local are dropped.
- launcher.rs: upstream's case-insensitive effective-env helpers and the
  earlier canonical_dir are taken; the fork's per-instance system-prompt
  path stays and upstream's global gemini system-prompt block is dropped.
- kimi: upstream's src/hooks/kimi/ module replaces the fork's kimi.rs (it
  already carries the fork's lifecycle and observation fixes); only the
  fork's nested-identity gate `hook_gate_check_for_tools` is re-applied.
- terminal_presets: expected preset count raised to 30 for Ptyxis.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDRs6TVA2uSBXG2TQacFRf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants