Skip to content

chore: remove autoplay, remember and the close RPC - #23

Merged
nabheet merged 1 commit into
mainfrom
chore/remove-autoplay
Nov 21, 2026
Merged

nabheet merged 1 commit into
mainfrom
chore/remove-autoplay

Conversation

@nabheet

@nabheet nabheet commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Cleanup of the open paths. Escape and the marker are untouched.

Removed

Removed Why
source, autoplay, remember options and the storage behind them the only path that opened the panel unasked; the marker covers the agent case
media.close RPC method escape closes the panel locally and always did; scripts can open another clip
four copies of "how to open" prose one description in the README

/media now requires a path; there is no configured default to fall back to.

Unchanged

  • escape, space, f — keymap layer in MediaPanel, independent of RPC.
  • The message marker and POST /api/rpc/media/open.
  • Local fallback when the server part is absent.

Verification

npm run check green (typecheck, biome, markdownlint, build, 22 tests — two tests removed with the options they covered).

The panel should open only when asked. `source`/`autoplay`/`remember` existed to
open on load, which surprised users and is now covered by the message marker.
`/media` requires a path again, and the storage the old path needed is gone.

The `close` RPC method goes with it: escape closes the panel in the TUI, and a
script can open another clip instead of closing the current one.
@nabheet
nabheet force-pushed the chore/remove-autoplay branch from a087d1d to a228767 Compare November 21, 2026 01:26
@github-actions

Copy link
Copy Markdown

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

@nabheet
nabheet merged commit 7dbfda3 into main Nov 21, 2026
3 checks passed
@nabheet
nabheet deleted the chore/remove-autoplay branch November 21, 2026 01:27
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