You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 77c0dab
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tui): expose the prompt's live model/agent selection to plugins
TUI plugins could only reach the model and agent through
data.session.get(id).model, which is the server-side session value set
when the next prompt is sent. A status-line plugin therefore showed a
stale value until the user sent another message. The prompt's actual
selection lives in the client-local Solid store, which the plugin
surface never surfaced.
This adds a selection accessor to the plugin Data API
(packages/plugin/src/tui/context.ts) - selection.model() and
selection.agent() read the live prompt selection out of the TUI Local
context (local.model.current() / local.agent.current()), so a status
line updates on every cycle or agent switch without waiting for a
server round-trip.
Fixesanomalyco#50315
0 commit comments