#588588th of 706 in Skills, plugins and prompts

opencode-pty

OpenCode plugin that lets the agent run and drive background terminal sessions

Releases and problems feed (RSS)

Stars
613
License
MIT
Last commit
Oct 2026
Last release
Sep 2026
Language
TypeScript
Stars, last 30 weeks+254
26 Apr 2026: 359 stars3 May 2026: 370 stars10 May 2026: 384 stars17 May 2026: 409 stars24 May 2026: 421 stars31 May 2026: 439 stars7 Jun 2026: 448 stars14 Jun 2026: 456 stars21 Jun 2026: 464 stars28 Jun 2026: 472 stars5 Jul 2026: 481 stars12 Jul 2026: 492 stars19 Jul 2026: 508 stars26 Jul 2026: 518 stars2 Aug 2026: 530 stars9 Aug 2026: 539 stars16 Aug 2026: 545 stars23 Aug 2026: 548 stars30 Aug 2026: 558 stars6 Sept 2026: 561 stars13 Sept 2026: 570 stars20 Sept 2026: 578 stars27 Sept 2026: 585 stars4 Oct 2026: 592 stars11 Oct 2026: 598 stars18 Oct 2026: 601 stars25 Oct 2026: 604 stars1 Nov 2026: 608 stars8 Nov 2026: 610 stars15 Nov 2026: 613 stars22 Nov 2026: 613 stars

359 on 26 Apr 2026613 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A plugin for OpenCode that adds PTY tools (pty_spawn, pty_write, pty_read, pty_list, pty_kill) so the agent can run dev servers, watch modes and interactive programs without blocking. Output goes to a per-session ring buffer (50,000 lines by default) that can be read with pagination and regex filtering. It also ships a React web UI with WebSocket streaming, a REST API and a TUI sidebar panel.

Who it is for: OpenCode users who want the agent to run long-lived or interactive processes

Strengths

  • Exit notifications via notifyOnExit remove the need for the agent to poll
  • Read output with offset/limit pagination and regex filtering, buffer capped by PTY_MAX_BUFFER_LINES
  • Web UI, REST API and WebSocket stream let a human watch and type into sessions
  • Checks spawned commands against OpenCode's permission.bash rules

Weaknesses

  • Permission 'ask' rules are treated as deny, since plugins cannot open OpenCode's prompt
  • external_directory set to 'ask' is treated as allow
  • Agent may run a background job with & unless the prompt calls it a 'session'
  • Depends on the bun-pty library and OpenCode's plugin API, with separate V1 and V2 setups

What it needs

  • no GPU
  • Needs OpenCode, bun-pty

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Skills, plugins and prompts

See all 706
Also in Skills, plugins and prompts
RankProjectScore
#586microsoftdocs/agent-skillsAzure documentation packaged as 193 SKILL.md skills for coding agents821 starsCC-BY-4.045 out of 100
#587re_gentGit-like audit log of what coding agents changed and which prompt caused it809 starsApache-2.045 out of 100
#589notebooklm-skillCLI and MCP server for automating Google NotebookLM notebooks and artifacts505 starsMIT45 out of 100
#590ai-memory-skillpackSize-capped project memory skills and installer for Codex CLI493 starsMIT45 out of 100
#591pro-longLocal searchable session log memory for Codex, Claude Code, OpenCode and pi465 starsMIT45 out of 100