opencode-pty
opencode-pty copied to clipboard
OpenCode plugin for interactive PTY management - run background processes, send input, read output with regex filtering
## Summary `[email protected]` fails to load on OpenCode `1.14.x` (and likely all OpenCode versions since `~1.4.x`) because the compiled `dist/src/plugin/pty/manager.js` imports `bun:semver` and `bun-pty/package.json`. OpenCode's plugin host switched from Bun...
## Description I'm using OpenCode Desktop (i.e. the GUI version), and the plugin shows up in the plugin list after configuring it in the configuration file. However, when asking the...
## Problem Statement "I'm always frustrated when..." I try to reload the browser tab with the running sessions ... and page is not reachable. even with my own shell script...
## Context OpenCode V2 is currently beta and intentionally does not load V1 plugins. The migration guide describes the new plugin shape (`Plugin.define({ id, setup })`) and runtime registration APIs:...
## Problem Statement It's frustrating when the agent runs long commands and the command gets stuck, or takes longer than expected, with this plugin, the agent isn't notified of anything...
## Description When a PTY process spawned with `notifyOnExit: true` exits, the plugin sends the `` notification via `client.session.promptAsync` with only `agent: session.parentAgent` and **no `model`** in the body (see...
## Description If I say `run dev server in the background` it will fail, but when I say `run pwsh in background and run dev server` it will succeed. ##...
## Problem Currently, the 5 tool description files (`spawn.txt`, `read.txt`, `write.txt`, `list.txt`, `kill.txt`) read like tutorial/reference docs. They explain *how* to use each tool in detail, but give the AI...
## Problem Statement Currently, the pty spy web interface is only accessible on ipv6, which WSL does not passthrough to your host machine. You must install a browser inside your...
## `opencode-pty` still fails under OpenCode Node plugin runtime after PR #38: `bun-pty` resolves to TypeScript source under `node_modules` ### Summary I am trying to use `opencode-pty` with OpenCode running...