Conversation
stweil
force-pushed
the
tui-slash-dispatch
branch
from
September 24, 2026 21:13
0520c3f to
99971ce
Compare
Contributor
|
The following comment was made by an LLM, it may be inaccurate: |
Submitting an exact single-token slash command such as /compact, /new, /share, or /exit sent it to the model as a plain prompt. Only server command templates in sync.data.command were intercepted; client-side commands surfaced by useCommandSlashes in the / autocomplete were never dispatched on submit. Route exact single-token input through the same command-slashes registry the autocomplete uses, preserving server-command priority and letting multi-token input fall through to the prompt. Assisted-by: OpenCode / big-pickle (OpenCode) Signed-off-by: Jack <jack@anoma.ly>
stweil
force-pushed
the
tui-slash-dispatch
branch
from
September 25, 2026 07:17
99971ce to
4de1f86
Compare
This branch has not been deployed
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.
Issue for this PR
Closes #51222
Type of change
What does this PR do?
Submitting an exact single-token slash command such as /compact, /new, /share, or /exit sent it to the model as a plain prompt. Only server command templates in sync.data.command were intercepted; client-side commands surfaced by useCommandSlashes in the / autocomplete were never dispatched on submit.
Route exact single-token input through the same command-slashes registry the autocomplete uses, preserving server-command priority and letting multi-token input fall through to the prompt.
Assisted-by: OpenCode / big-pickle (OpenCode)
How did you verify your code works?
Local tests.
Screenshots / recordings
None.
Checklist