Skip to content

The agent that grows with you

fix(gateway,tui,desktop): the setting writes Ink and Desktop still refused run on the owner

Tekniumada38db216e3
diff --git a/apps/desktop/src/api/canonical-producer-contract.test.ts b/apps/desktop/src/api/canonical-producer-contract.test.ts
index e9d992b21db..0a4e5c04e0c 100644
--- a/apps/desktop/src/api/canonical-producer-contract.test.ts
+++ b/apps/desktop/src/api/canonical-producer-contract.test.ts
@@ -106,7 +106,7 @@ const SITES: Array<[string, string, Record<string, unknown>, string[] | RegExp]>
'reasoning-slash.ts /reasoning --global',
'config.set',
{ key: 'reasoning', session_id: 's', value: 'high', scope: 'global' },
- /reasoning .*not available/
+ ['config.set']
],
[
'reasoning-step.ts keybind step (B14)',
@@ -115,29 +115,29 @@ const SITES: Array<[string, string, Record<string, unknown>, string[] | RegExp]>
['session.mutate']
],
[
- 'reasoning-slash.ts /reasoning show (display word, config.yaml)',
+ 'reasoning-slash.ts /reasoning show (display word: the /reasoning handler)',
'config.set',
{ key: 'reasoning', session_id: 's', value: 'show' },
- /reasoning is not available/
+ ['config.set']
],
- ['model-presets.ts fast', 'config.set', { key: 'fast', session_id: 's', value: 'fast' }, /fast is not available/],
+ ['model-presets.ts fast', 'config.set', { key: 'fast', session_id: 's', value: 'fast' }, ['config.set']],
[
'approval-mode.ts menu',
'config.set',
{ key: 'approvals.mode', value: 'manual', profile: 'default' },
- /approvals\.mode is not available/
+ ['config.set']
],
[
'voice-live.ts engine',
'config.set',
{ key: 'voice.voice_chat_mode', value: 'chained' },
- /voice\.voice_chat_mode is not available/
+ ['config.set']
],
[
'yolo-session.ts Shift+click zap',
'config.set',
{ key: 'yolo', scope: 'global', value: '1' },
- /yolo \(global\) is not available/
+ ['config.set']
],
['yolo-session.ts session toggle', 'config.set', { key: 'yolo', session_id: 's', value: '1' }, ['config.set']],
[
diff --git a/apps/desktop/src/api/canonical-protocol.ts b/apps/desktop/src/api/canonical-protocol.ts
index 35681f068c5..75794125a5a 100644
--- a/apps/desktop/src/api/canonical-protocol.ts
+++ b/apps/desktop/src/api/canonical-protocol.ts
@@ -139,15 +139,22 @@ export function splitRewindSubmit(params: Record<string, unknown>): { rewind: Re
// reaped runtime). Refused by name until the owner serves them.
const SIDECAR_SESSION_VERBS = new Set(['handoff.request', 'handoff.state', 'handoff.fail', 'preview.restart'])
-// `config.set` keys the owner serves (tui_gateway/contracts/canonical_projections.py::CanonicalConfigSetParams).
-const CANONICAL_CONFIG_KEYS = new Set(['busy', 'verbose', 'yolo', 'model'])
+// `config.set` keys the owner serves (tui_gateway/contracts/canonical_projections.py::CanonicalConfigSetParams;
+// gateway/session_tui_config.py), with the keys that take a `scope` (`reasoning --global`, the
+// Shift+click global yolo zap).
+const CANONICAL_CONFIG_KEYS = new Set([
+ 'busy', 'verbose', 'yolo', 'model', 'reasoning', 'fast', 'personality', 'approvals.mode', 'voice.voice_chat_mode',
+ 'display.message_reactions', 'display.in_app_tips', 'display.in_app_tours'
+])
+
+const SCOPED_CONFIG_KEYS = new Set(['reasoning', 'yolo'])
// The one guard between a Desktop producer and the owner's closed contracts: translate a legacy
// shape the owner has a canonical form for, refuse by name what it does not serve.
function canonicalProducerFrame(method: string, params: Record<string, unknown>): Record<string, unknown> {
- // No verb for other settings (reasoning display words, fast, approvals.mode, voice, display.*)
- // nor a global scope: refuse before the wire, like Ink, instead of a bare invalid_params.
- if (method === 'config.set' && (!CANONICAL_CONFIG_KEYS.has(String(params.key)) || 'scope' in params)) {
+ // Any other key, or a scope on a key without one: refuse before the wire, like Ink, instead of a
+ // bare invalid_params.
+ if (method === 'config.set' && (!CANONICAL_CONFIG_KEYS.has(String(params.key)) || ('scope' in params && !SCOPED_CONFIG_KEYS.has(String(params.key))))) {
throw new Error(`Changing ${params.key}${'scope' in params ? ` (${params.scope})` : ''} is not available on the shared gateway yet`)
}
diff --git a/apps/desktop/src/api/canonical-reasoning-config-set.test.ts b/apps/desktop/src/api/canonical-reasoning-config-set.test.ts
index 3dc4116c1db..873b1526a23 100644
--- a/apps/desktop/src/api/canonical-reasoning-config-set.test.ts
+++ b/apps/desktop/src/api/canonical-reasoning-config-set.test.ts
@@ -5,8 +5,8 @@ import { HermesGateway } from './client'
// B14: main's Desktop /reasoning <level> changed the session's reasoning through legacy config.set.
// On the shared owner the session scope is the revision-fenced `session.mutate operation=reasoning`;
-// `--global` (a config.yaml write the owner has no verb for) stays a named refusal.
-test('typed /reasoning sets the session level through the owner mutation; --global is refused by name', async () => {
+// `--global` is the owner's `/reasoning` handler behind `config.set reasoning scope=global`.
+test('typed /reasoning sets the session level through the owner mutation; --global reaches the owner', async () => {
const wsPackage = 'ws'
const { WebSocketServer } = await import(wsPackage)
const server = new WebSocketServer({ host: '127.0.0.1', port: 0 })
@@ -30,7 +30,7 @@ test('typed /reasoning sets the session level through the owner mutation; --glob
effort: p.payload.effort
}
: frame.method === 'config.set'
- ? null
+ ? { key: 'reasoning', value: p.value, scope: p.scope }
: { value: 'medium' }
socket.send(
@@ -63,7 +63,7 @@ test('typed /reasoning sets the session level through the owner mutation; --glob
).resolves.toMatchObject({ value: 'low' })
await expect(
client.request('config.set', { key: 'reasoning', session_id: 's', value: 'high', scope: 'global' })
- ).rejects.toThrow(/reasoning \(global\) is not available on the shared gateway yet/)
+ ).resolves.toMatchObject({ value: 'high', scope: 'global' })
const mutations = sent.filter(frame => frame.method === 'session.mutate').map(frame => frame.params)
expect(mutations).toMatchObject([
@@ -76,7 +76,9 @@ test('typed /reasoning sets the session level through the owner mutation; --glob
},
{ session_id: 's', operation: 'reasoning', payload: { effort: 'low' }, expected_revision: 5 }
])
- expect(sent.filter(frame => frame.method === 'config.set')).toEqual([])
+ expect(sent.filter(frame => frame.method === 'config.set').map(frame => frame.params)).toEqual([
+ { key: 'reasoning', session_id: 's', value: 'high', scope: 'global' }
+ ])
// The bare form's read still reaches the owner.
await expect(client.request('config.get', { key: 'reasoning', session_id: 's' })).resolves.toEqual({
value: 'medium'
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.ts
index 021f3cb088c..65c8da274b3 100644
--- a/apps/shared/src/gateway-contract.generated.ts
+++ b/apps/shared/src/gateway-contract.generated.ts
@@ -5064,6 +5064,7 @@ export interface CanonicalConfigSetParams {
key: string
value?: unknown
confirm_expensive_model?: boolean | null
+ scope?: 'session' | 'global' | null
}
export interface CanonicalProfilesParams {
profile?: string | null
diff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.json
index cecd52a0219..3f745c437df 100644
--- a/apps/shared/src/gateway-contract.openrpc.json
+++ b/apps/shared/src/gateway-contract.openrpc.json
@@ -8425,6 +8425,22 @@
],
"default": null,
"title": "Confirm Expensive Model"
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "enum": [
+ "session",
+ "global"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Scope"
}
},
"required": [
diff --git a/gateway/session_tui_config.py b/gateway/session_tui_config.py
index 0a21fd0b351..fccfb55dc0d 100644
--- a/gateway/session_tui_config.py
+++ b/gateway/session_tui_config.py
@@ -162,8 +162,16 @@ def _authorize_write(connection, ref, params):
return policy
+# Profile settings main's sidecar wrote for Desktop's toggles (``tui_gateway/server.py::_DISPLAY_TOGGLE_KEYS``)
+# and its voice-engine pick: config.yaml leaves with main's validation.
+_DISPLAY_TOGGLE_KEYS = frozenset({'display.message_reactions', 'display.in_app_tips', 'display.in_app_tours'})
+_VOICE_CHAT_MODES = frozenset({'chained', 'gpt-live'})
+
+
async def config_set(connection, ref, params):
key = params.get('key')
+ if key == 'reasoning' or (key == 'yolo' and 'scope' in params):
+ return await _set_command_setting(connection, ref, params)
if key in _SESSION_CONTROL_KEYS or not isinstance(key, str):
from gateway.session_busy_controls import busy_config
return await busy_config(connection, ref, params, write=True)
@@ -175,6 +183,11 @@ async def config_set(connection, ref, params):
return await _set_fast(connection, ref, policy, value)
if key == 'personality':
return await asyncio.to_thread(_set_personality, connection, value)
+ if key in ('approvals.mode', 'approval_mode'):
+ return await asyncio.to_thread(_set_approval_mode, connection, value)
+ if key in _DISPLAY_TOGGLE_KEYS or key == 'voice.voice_chat_mode':
+ return {'key': key, **await asyncio.to_thread(_write_profile_config, connection,
+ lambda cfg: _set_profile_leaf(cfg, key, value))}
result = await asyncio.to_thread(_write_profile_config, connection,
lambda cfg: _set_display(cfg, key, value))
if key == 'focus' and ref.session_id and 'tool_progress' in result:
@@ -264,3 +277,75 @@ def _set_personality(connection, value):
if not persist_personality(name):
raise RuntimeStoreError('storage_unavailable')
return {'key': 'personality', 'value': str(value or 'none'), 'history_reset': False}
+
+
+def _set_profile_leaf(cfg, key, value):
+ section, leaf = key.split('.', 1)
+ if key == 'voice.voice_chat_mode':
+ new = _word(value)
+ if new not in _VOICE_CHAT_MODES:
+ raise RuntimeStoreError('invalid_params')
+ else:
+ new = {**_BOOL_WORDS, '1': True, '0': False}.get(_word(value))
+ if new is None:
+ raise RuntimeStoreError('invalid_params')
+ if not isinstance(cfg.get(section), dict):
+ cfg[section] = {}
+ cfg[section][leaf] = new
+ return {'value': new}
+
+
+def _set_approval_mode(connection, value):
+ """``/approvals <mode>``'s own write (``hermes_cli.approval_mode``) for this profile."""
+ from gateway.run import _profile_runtime_scope
+ from hermes_cli.approval_mode import run_approval_mode_command
+ with _profile_runtime_scope(Path(connection.authority.profile_id)), _WRITE_LOCK:
+ result = run_approval_mode_command(_word(value) or None)
+ if not result.ok:
+ raise RuntimeStoreError('invalid_params' if _word(value) not in ('manual', 'smart', 'off')
+ else 'storage_unavailable')
+ return {'key': 'approvals.mode', 'value': result.mode}
+
+
+async def _set_command_setting(connection, ref, params):
+ """``config.set`` for a setting a slash command owns: the same handler code, so the picker, the
+ keybind and the typed command agree. ``reasoning`` is ``/reasoning`` (``scope=global`` =
+ ``--global``; show/hide/reset/levels), ``yolo`` with ``scope=global`` is main's Shift+click zap
+ (``approvals.mode`` off / manual)."""
+ if (set(params) - {'session_id', 'profile', 'key', 'value', 'scope'} or not ref.session_id
+ or params.get('scope', 'session') not in ('session', 'global')):
+ raise RuntimeStoreError('invalid_params')
+ _authorize_write(connection, ref, params)
+ connection.authority.authorize(connection.actor, ref, 'session:control')
+ value, scope = _word(params.get('value')), params.get('scope', 'session')
+ if params['key'] == 'yolo':
+ if scope != 'global':
+ raise RuntimeStoreError('invalid_params')
+ on = {**_BOOL_WORDS, '1': True, '0': False}.get(value)
+ if on is None and value not in ('', 'toggle'):
+ raise RuntimeStoreError('invalid_params')
+
+ def flip():
+ from tools.approval_context import _get_approval_mode
+ from gateway.run import _profile_runtime_scope
+ with _profile_runtime_scope(Path(connection.authority.profile_id)):
+ enable = (_get_approval_mode() != 'off') if on is None else on
+ return enable, _set_approval_mode(connection, 'off' if enable else 'manual')
+ enable, _ = await asyncio.to_thread(flip)
+ return {'key': 'yolo', 'value': '1' if enable else '0', 'scope': 'global'}
+ if not value:
+ raise RuntimeStoreError('invalid_params')
+ from gateway.run import _profile_runtime_scope
+ from hermes_constants import parse_reasoning_effort
+ from gateway.slash_commands_model import _REASONING_DISPLAY_TOGGLES
+ if value not in _REASONING_DISPLAY_TOGGLES and value != 'reset' and parse_reasoning_effort(value) is None:
+ raise RuntimeStoreError('invalid_params')
+ live, runner = connection.authority.sessions[ref.session_id], connection.authority.runner
+
+ def apply():
+ with _profile_runtime_scope(Path(connection.authority.profile_id)):
+ return runner._apply_reasoning_selection(live.route, 'cli', value, persist_global=scope == 'global')
+ await asyncio.to_thread(apply)
+ show = _REASONING_DISPLAY_TOGGLES.get(value)
+ reported = ('show' if show else 'hide') if show is not None else value
+ return {'key': 'reasoning', 'value': reported, 'scope': scope}
diff --git a/tests/gateway/test_session_setting_commands.py b/tests/gateway/test_session_setting_commands.py
index 96f054a207a..f1d7b33dac4 100644
--- a/tests/gateway/test_session_setting_commands.py
+++ b/tests/gateway/test_session_setting_commands.py
@@ -151,3 +151,34 @@ def test_local_session_settings_run_the_messaging_handlers_and_read_back_through
# /fast on a custom endpoint: the handler's own refusal, not unsupported_command.
assert '/fast' in out['fast'] and not out['fast'].startswith('ERR:'), out['fast']
assert saved['model'] == config['model']
+
+
+def _set(label, key, value, **extra):
+ return (label, 'config.set', {'key': key, 'value': value, **extra})
+
+
+def test_config_set_serves_the_settings_desktop_and_ink_write_through_the_same_handlers(tmp_path):
+ steps = [
+ _set('global high', 'reasoning', 'high', scope='global'), _get('get global', 'reasoning'),
+ _turn('turn global', 'TURN_GLOBAL'),
+ _set('hide', 'reasoning', 'hide'), _get('get hide', 'show_reasoning'),
+ _set('approvals', 'approvals.mode', 'smart'), _get('get approvals', 'approvals.mode'),
+ _set('bad approvals', 'approvals.mode', 'nope'),
+ _set('zap on', 'yolo', '1', scope='global'), _get('get approvals zap', 'approvals.mode'),
+ _set('zap off', 'yolo', '0', scope='global'),
+ _set('tips', 'display.in_app_tips', 'false'), _set('engine', 'voice.voice_chat_mode', 'gpt-live'),
+ _set('bad engine', 'voice.voice_chat_mode', 'loud'),
+ ]
+ out, home, _ = _run(tmp_path, steps)
+ saved = _yaml(home)
+ assert out['global high'] == {'key': 'reasoning', 'value': 'high', 'scope': 'global'}, out['global high']
+ assert out['get global']['value'] == 'high' and saved['agent']['reasoning_effort'] == 'high', out
+ assert out['turn global'].get('reasoning_effort') == 'high', out['turn global']
+ assert out['hide']['value'] == 'hide' and out['get hide']['value'] == '0', out
+ assert out['get approvals']['value'] == 'smart' and out['bad approvals'] == 'ERR:invalid_params', out
+ assert isinstance(out['zap on'], dict) and out['zap on']['value'] == '1', out['zap on']
+ assert out['get approvals zap']['value'] == 'off', out['get approvals zap']
+ assert out['zap off']['value'] == '0' and saved['approvals']['mode'] == 'manual', out
+ assert saved['display']['in_app_tips'] is False and saved['voice']['voice_chat_mode'] == 'gpt-live'
+ assert out['bad engine'] == 'ERR:invalid_params', out['bad engine']
diff --git a/tui_gateway/contracts/canonical_projections.py b/tui_gateway/contracts/canonical_projections.py
index bb3020a4253..52f6f2395d9 100644
--- a/tui_gateway/contracts/canonical_projections.py
+++ b/tui_gateway/contracts/canonical_projections.py
@@ -27,6 +27,8 @@ class CanonicalConfigSetParams(ProfileParams):
key: str
value: JsonValue = None
confirm_expensive_model: bool | None = None
+ # ``reasoning`` (``global`` = ``/reasoning --global``) and ``yolo`` (``global`` = approvals.mode).
+ scope: Literal['session', 'global'] | None = None
class CanonicalAttachedImageResult(AttachedImageResult):
diff --git a/ui-tui/src/__tests__/canonicalSlashCommands.test.ts b/ui-tui/src/__tests__/canonicalSlashCommands.test.ts
index 02c8b49b57f..c1bf1f3d05d 100644
--- a/ui-tui/src/__tests__/canonicalSlashCommands.test.ts
+++ b/ui-tui/src/__tests__/canonicalSlashCommands.test.ts
@@ -77,6 +77,10 @@ function harness() {
return { output: 'Session: owner' }
}
+ if (method === 'slash.exec' && params.command === 'voice tts') {
+ return { type: 'exec', output: 'Auto-TTS enabled.' }
+ }
+
throw new Error(`unknown_method: ${method}`)
})
@@ -223,7 +227,7 @@ it('/stop is session-scoped; process-global /reload-mcp refuses on the shared ga
}
})
-it('/reasoning --global still says the shared gateway has no verb for it; /skin reads still work', async () => {
+it('/reasoning --global is the owner\'s /reasoning handler behind config.set; /skin reads still work', async () => {
const { request, slash, sys } = harness()
for (const cmd of ['/reasoning high --global', '/skin']) {
@@ -232,15 +236,25 @@ it('/reasoning --global still says the shared gateway has no verb for it; /skin
await flush()
- expect(request.mock.calls.map(([method]) => method)).not.toContain('config.set')
+ expect(request).toHaveBeenCalledWith('config.set', { key: 'reasoning', scope: 'global', session_id: 'owner', value: 'high' })
expect(request).toHaveBeenCalledWith('config.get', { key: 'skin' })
const notices = sys.mock.calls.map(([text]) => String(text))
- expect(notices).toContain('/reasoning is not available on the shared gateway yet')
+ expect(notices.some(line => /not available/.test(line))).toBe(false)
expect(notices.some(line => /skin: default/.test(line))).toBe(true)
})
+it('/voice tts sets the session\'s voice state through the owner\'s /voice handler', async () => {
+ const { request, slash, sys } = harness()
+
+ slash('/voice tts')
+ await flush()
+
+ expect(request).toHaveBeenCalledWith('slash.exec', { command: 'voice tts', session_id: 'owner' })
+ expect(sys.mock.calls.map(([text]) => String(text))).toEqual(['Auto-TTS enabled.'])
+})
+
it('/personality <name> is the owner\'s config.set like main', async () => {
const { request, slash, sys } = harness()
@@ -290,7 +304,7 @@ it('/theme and /indicator write the profile through the owner\'s config.set like
expect(getUiState().indicatorStyle).toBe('ascii')
})
-it('session /reasoning <level> is the owner\'s fenced reasoning mutation (B14); display words still refuse', async () => {
+it('session /reasoning <level> is the owner\'s fenced reasoning mutation (B14); display words are its /reasoning handler', async () => {
const { request, slash, sys } = harness()
slash('/reasoning high')
@@ -301,10 +315,11 @@ it('session /reasoning <level> is the owner\'s fenced reasoning mutation (B14);
expect(request).toHaveBeenCalledWith('session.mutate', expect.objectContaining({
session_id: 'owner', operation: 'reasoning', payload: { effort: 'high' }, expected_revision: 7, expected_generation: 3
}))
- expect(request.mock.calls.map(([method]) => method)).not.toContain('config.set')
+ expect(request).toHaveBeenCalledWith('config.set', { key: 'reasoning', session_id: 'owner', value: 'show' })
const notices = sys.mock.calls.map(([text]) => String(text))
expect(notices.some(line => /high/.test(line))).toBe(true)
- expect(notices).toContain('/reasoning is not available on the shared gateway yet')
+ expect(notices.some(line => /not available/.test(line))).toBe(false)
+ expect(getUiState().showReasoning).toBe(true)
})
diff --git a/ui-tui/src/app/slash/commands/session.ts b/ui-tui/src/app/slash/commands/session.ts
index ffc4c83e5b6..281d18f2ae6 100644
--- a/ui-tui/src/app/slash/commands/session.ts
+++ b/ui-tui/src/app/slash/commands/session.ts
@@ -386,10 +386,13 @@ export const sessionCommands: SlashCommand[] = [
? normalized
: 'status'
- // Read-aloud ran in the sidecar's own turn; a shared-gateway turn runs on the owner, which
- // never speaks a TUI reply, so the toggle would say "on" and stay silent.
+ // `/voice tts` is the session's voice state, held by the owner's `/voice` handler (one behaviour
+ // on every surface); recording and playback stay in this terminal.
if (action === 'tts' && ctx.gateway.gw?.isCanonical) {
- return ctx.transcript.sys(t('canonical.controls.notAvailable', 'voice tts'))
+ return ctx.gateway.gw
+ .request<SlashExecResponse>('slash.exec', { command: 'voice tts', session_id: ctx.sid })
+ .then(ctx.guarded<SlashExecResponse>(r => r.output && ctx.transcript.sys(r.output)))
+ .catch(ctx.guardedErr)
}
ctx.gateway.rpc<VoiceToggleResponse>('voice.toggle', { action }).then(
@@ -636,10 +639,10 @@ export const sessionCommands: SlashCommand[] = [
const payload = reasoningConfigPayload(arg, ctx.sid ?? '')
- // The shared owner sets a session level through its frozen-policy mutation; it has no verb for
- // the config.yaml writes (`--global`, the display words): say so instead of a bare invalid_params.
- if (ctx.gateway.gw?.isCanonical) {
- return canonicalReasoning(payload, ctx) || ctx.transcript.sys(t('canonical.controls.notAvailable', 'reasoning'))
+ // The shared owner sets a session level through its frozen-policy mutation; `--global`, `reset`
+ // and the display words are the owner's `/reasoning` handler behind `config.set reasoning`.
+ if (ctx.gateway.gw?.isCanonical && canonicalReasoning(payload, ctx)) {
+ return
}
ctx.gateway.rpc<ConfigSetResponse>('config.set', payload).then(
diff --git a/website/docs/developer-guide/gateway-command-parity.md b/website/docs/developer-guide/gateway-command-parity.md
index c0d0487ca89..3e4aca6dfe7 100644
--- a/website/docs/developer-guide/gateway-command-parity.md
+++ b/website/docs/developer-guide/gateway-command-parity.md
@@ -87,7 +87,7 @@ handler does; `client-local (cli_only)` commands are terminal/UI features of a c
| `/prompt` (/compose) | refused | refused: not available yet | local | slash.exec: refused | refused | client-local (cli_only) |
| `/queue` (/q) | refused | refused: not available yet | local | slash.exec: refused | refused | |
| `/quit` (/exit) | refused | detach | local | unavailable: terminal | refused | client-local (cli_only) |
-| `/reasoning` | control | slash.exec | config.get; change refused: not available yet | action: reasoning | refused | per-session setting (gateway handler) |
+| `/reasoning` | control | slash.exec | canonical route | action: reasoning | refused | per-session setting (gateway handler) |
| `/redraw` | refused | refused: not available yet | local | unavailable: terminal | refused | client-local (cli_only) |
| `/refine` | control | slash.exec | slash.exec | slash.exec | refused | |
| `/reload` | refused | refused: not available yet | canonical route | unavailable: terminal | refused | client-local (cli_only) |
@@ -123,7 +123,7 @@ handler does; `client-local (cli_only)` commands are terminal/UI features of a c
| `/usage` | read (bare only (`reset` refused)) | slash.exec + last-turn receipt | canonical route | slash.exec | refused | |
| `/verbose` | control | slash.exec | config.set | unavailable: terminal | refused | per-session setting (gateway handler) |
| `/version` (/v) | read | slash.exec | slash.exec | slash.exec | refused | |
-| `/voice` | control | slash.exec | sidecar: voice.toggle; `tts` refused | unavailable: composer-voice | refused | per-session setting (gateway handler) |
+| `/voice` | control | slash.exec | canonical route | unavailable: composer-voice | refused | per-session setting (gateway handler) |
| `/wake` | refused | refused: not available yet | local | action: wake | refused | client-local (cli_only) |
| `/whoami` | read | slash.exec | slash.exec | slash.exec | refused | |
| `/worktree` | refused | refused: not available yet | slash.exec: refused | slash.exec: refused | refused | client-local (cli_only) |