feat(desktop): /reasoning command + /clear and /models aliases - #332
Merged
Merged
Conversation
… slash palette Desktop slash UX pass (follow-up to #330): - /reasoning (alias /effort): new first-class desktop action — bare shows the session's effort + display state (config.get reasoning), an arg sets it via the session-scoped config.set the model-edit submenu already uses; effort levels also update the composer store so the model pill reflects the change immediately. Localized (en/ja/zh/zh-hant). Was unavailable('advanced') — typing it dead-ended with 'not shown in the desktop palette'. - /clear: now an alias of /new instead of unavailable('terminal') — in every other surface it clears + starts fresh; the desktop equivalent is a new chat. Previously it dumped 'only available in the terminal interface'. - /models: alias of /model (common typo; sweep-flagged unknown-command). Tests: registry coverage for the three new surfaces + stale /clear expectations updated; full desktop suite 159 files / 1276 tests green; tsc clean.
Kyzcreig
added a commit
that referenced
this pull request
Jul 14, 2026
… slash palette (#332) Desktop slash UX pass (follow-up to #330): - /reasoning (alias /effort): new first-class desktop action — bare shows the session's effort + display state (config.get reasoning), an arg sets it via the session-scoped config.set the model-edit submenu already uses; effort levels also update the composer store so the model pill reflects the change immediately. Localized (en/ja/zh/zh-hant). Was unavailable('advanced') — typing it dead-ended with 'not shown in the desktop palette'. - /clear: now an alias of /new instead of unavailable('terminal') — in every other surface it clears + starts fresh; the desktop equivalent is a new chat. Previously it dumped 'only available in the terminal interface'. - /models: alias of /model (common typo; sweep-flagged unknown-command). Tests: registry coverage for the three new surfaces + stale /clear expectations updated; full desktop suite 159 files / 1276 tests green; tsc clean. Co-authored-by: Kyzcreig <9063726+Kyzcreig@users.noreply.github.com>
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.
Desktop slash UX pass (follow-up to #330; fixes the sweep-flagged UX bugs from the 2026-07-02 desktop slash audit).
/reasoning (alias /effort) — new desktop action
Was
unavailable('advanced')— typing it printed 'not shown in the desktop palette'. Now:/reasoning→ shows the session's current effort + display state via the gateway's session-scopedconfig.get reasoning/reasoning <none|minimal|low|medium|high|xhigh>→ sets effort viaconfig.set reasoning(the same session-scoped RPC the model-edit submenu uses — no global config clobber), and updates the composer effort store so the model pill reflects it immediately/reasoning show|hide|full|clamp→ display toggles (handled by the existing config.set branch)/clear → alias of /new
Was
unavailable('terminal'). On CLI/TUI it clears the screen + starts a new session; the desktop equivalent is a fresh chat, so it aliases /new (matching /reset)./models → alias of /model
Common plural typo, sweep-flagged as unknown-command; opens the model picker.
Testing