Skip to content

docs: install needs both config files; document the open path - #21

Merged
nabheet merged 1 commit into
mainfrom
docs/install-rpc
Nov 21, 2026
Merged

nabheet merged 1 commit into
mainfrom
docs/install-rpc

Conversation

@nabheet

@nabheet nabheet commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Documentation audit after 0.1.10-0.1.12. Three things were stale or missing:

Install was wrong

It said a TUI-only package belongs in cli.json and not opencode.json. Since 0.1.10 the package ships a server part, so the name must be in both: cli.json for the panel, opencode.json for POST /api/rpc/media/open. A fresh install following the old text would have a working /media and a marker/RPC that fail.

How it works

Added the single open path: command, autoplay and marker all go through context.client.rpc(Media).open(), the server emits, the TUI renders. Fallback to the local opener when the server part is absent.

Troubleshooting

  • Marker does nothing: plugin older than 0.1.12, or the TUI was not running when the message ended (events are live only).
  • rpc.unavailable: media: the package is missing from opencode.json.

Docs only; npm run check green.

Since 0.1.10 the package also has a server part. The install section still said
it belongs in cli.json only, so a fresh install would have a working /media and
a dead marker and RPC.

Also documents the single open path (plugin RPC), and adds troubleshooting for
a marker that does nothing and for rpc.unavailable.
@github-actions

Copy link
Copy Markdown

Beta prerelease published: 0.1.0-beta.51. Install with npm i opencode-media-panel@beta.

@nabheet
nabheet merged commit 959cb55 into main Nov 21, 2026
3 checks passed
@nabheet
nabheet deleted the docs/install-rpc branch November 21, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant