An open API service indexing awesome lists of open source software.

https://github.com/pedropombeiro/opencode-terminal-progress

OpenCode plugin that shows agent progress in terminal tabs (iTerm2, WezTerm, Windows Terminal)
https://github.com/pedropombeiro/opencode-terminal-progress

iterm2 opencode opencode-plugin wezterm

Last synced: 29 days ago
JSON representation

OpenCode plugin that shows agent progress in terminal tabs (iTerm2, WezTerm, Windows Terminal)

Awesome Lists containing this project

README

          

# opencode-terminal-progress

An [OpenCode](https://opencode.ai) plugin that shows agent progress in your terminal tab using
[OSC 9;4](https://iterm2.com/documentation-escape-codes.html) progress reporting.

## Supported terminals

| Terminal | Detection |
| --------------------------------------------------------- | ------------------------------------------------------- |
| [iTerm2](https://iterm2.com) | `TERM_PROGRAM=iTerm.app`, `LC_TERMINAL`, `ITERM_SESSION_ID` |
| [WezTerm](https://wezfurlong.org/wezterm/) | `TERM_PROGRAM=WezTerm`, `WEZTERM_EXECUTABLE` |
| [Windows Terminal](https://github.com/microsoft/terminal) | `WT_SESSION` |

The plugin automatically detects which terminal is in use and becomes a no-op if none of the above
are found. tmux passthrough is handled transparently when `$TMUX` is set.

## Progress states

| Agent state | Progress indicator |
| ------------------- | ------------------ |
| Busy | Indeterminate |
| Idle | Cleared |
| Error | Error (red) |
| Waiting for input | Paused at 50% |

## Installation

```bash
npm install opencode-terminal-progress
```

Add to your `~/.config/opencode/opencode.json`:

```json
{
"plugin": ["opencode-terminal-progress"]
}
```

## License

[MIT](LICENSE)