Repository navigation
docs: install needs both config files; document the open path - #21
Merged
Merged
Conversation
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.
|
Beta prerelease published: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsonand notopencode.json. Since 0.1.10 the package ships a server part, so the name must be in both:cli.jsonfor the panel,opencode.jsonforPOST /api/rpc/media/open. A fresh install following the old text would have a working/mediaand 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
rpc.unavailable: media: the package is missing fromopencode.json.Docs only;
npm run checkgreen.