opencode-project-panelOpenCode TUI plugin with a file manager and permissions panels
0
1,090
703 in 7 days
38.7
Multi-signal model
2 days ago
2026-08-18
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": ["opencode-project-panel@0.1.9"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-project-panel@0.1.9"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-project-panelopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode TUI plugin that adds a bottom bar with:
- a project file manager with Markdown/code preview and editing;
- a Permissions panel for Skills, Tools, and MCP configuration.
Install
This is an OpenCode TUI plugin. It must be declared in tui.json, not in the
server plugin list in opencode.json.
Project installation
Install the package in the project's .opencode/ directory:
mkdir -p .opencode
cd .opencode
bun add opencode-project-panel
Create or update .opencode/tui.json:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-project-panel"]
}
The plugin loader uses OpenCode's own package cache; it does not load this
plugin from an unrelated application workspace such as apps/tui/node_modules.
Global installation
To enable the plugin for every project, create
~/.config/opencode/tui.json:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-project-panel"]
}
The global TUI configuration is ~/.config/opencode/tui.json. OpenCode
automatically downloads npm plugins into its own cache at
~/.cache/opencode/packages/; manually installing the package into
~/.opencode/ is not required for global activation.
The plugin uses the current project configuration (opencode.json or
opencode.jsonc) when editing permissions and MCP settings.
Upgrading
Alternatively, specify the version in the tui.json plugin spec. OpenCode
automatically downloads and loads the specified version when it starts:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-project-panel@0.1.9"]
}
Change @<version> to the version you want and restart OpenCode to upgrade;
you do not need to clear the cache manually.
For a project installation, run this command from the project's .opencode/
directory:
bun add opencode-project-panel@latest
For a global installation, remove this plugin's cache so OpenCode downloads the latest version from npm:
cache="$HOME/.cache/opencode/packages/opencode-project-panel"
if [ -d "$cache" ]; then rm -rf -- "$cache"; fi
Restart OpenCode after upgrading, changing tui.json, or clearing the package
cache.
If you are an agent
When installing or upgrading this plugin:
- Treat it as an OpenCode TUI plugin. Update the project
.opencode/tui.jsonor global~/.config/opencode/tui.json, notopencode.json. - Preserve existing
pluginentries and avoid duplicates. - If a specific version is requested, use
"opencode-project-panel@<version>"in thepluginarray. OpenCode will download and load that version on startup. - For a project dependency upgrade, run
bun add opencode-project-panel@latestfrom the project's.opencode/directory. - Restart OpenCode after changing
tui.json. For a global cached installation, remove only this plugin's cache directory if a fresh download is needed. - Do not load the npm package and a local
dist/index.jscopy at the same time.
Shortcuts
F1: open the file managerF3: open PermissionsF2: rename the selected fileF7: create a file or directoryDelete: delete the selected fileCtrl+G: go to a pathCtrl+R: return to the project root
Development
bun install
bun run typecheck
bun run build
The package entry point is the generated dist/index.js file. Runtime UI
dependencies remain external in the bundle and are declared in dependencies
so OpenCode's Bun-based plugin loader can resolve them.
Changelog
See CHANGELOG.md for the release history.
License
MIT