Repository navigation
feat: open a clip from a message marker - #20
Merged
Merged
Conversation
A finished message containing `media-panel: /path` now opens that clip. The plugin subscribes to session.text.ended through the client it already holds, so the request originates inside the TUI process and takes the same RPC path as /media: client call, server event, local render. No shell, no CLI. Fixes the documented payload shape (events carry `data`) and records both paths in the README.
|
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.
Trigger without a shell
0.1.11 made the plugin send the open request through its own RPC. This adds a way for a message to ask for it, with no CLI, curl or subprocess anywhere:
A finished message containing that line opens the clip:
An agent writes the marker in a reply; the plugin does the rest.
Fix found while testing
Session events carry their payload under
data. The first version readevent.textand silently did nothing; the handler now readsevent.data.text.Verification
Isolated instance, marker produced by a model reply: panel opened at
13/48, and the trace showedmatch → open → rpc open → show(show from the server event, so the round trip succeeded). Instrumentation removed;npm run checkgreen.