@zhzy0077/opencode-terminal-titleTerminal title plugin for OpenCode - updates terminal window title based on session state
1
9
2 in 7 days
20.0
Multi-signal model
5 months ago
2026-03-12
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@zhzy0077/opencode-terminal-title@0.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@zhzy0077/opencode-terminal-title@0.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @zhzy0077/opencode-terminal-titleopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Terminal title plugin for OpenCode - updates terminal window title based on session state.
Installation
opencode plugin add @zhzy0077/opencode-terminal-title
Or for local development:
opencode plugin add file:///path/to/opencode-terminal-title
Features
- Updates terminal title with session status
- Shows current working state with icons
- Truncates long titles automatically
States
| Icon | Status | Description |
|---|---|---|
[*] |
Working | Session is processing |
[✓] |
Done | Session is idle |
[✗] |
Error | An error occurred |
[?] |
Waiting | Waiting for permission |
Title Format
[Icon] Status | Session Title
Example: [*] Working | How to implement auth...
Build
npm install
npm run build
License
MIT