chore: formatting etc

This commit is contained in:
Brooklyn Nicholson 2026-04-03 20:14:57 -05:00
parent 56a69e519b
commit 5a5d90c85a
14 changed files with 698 additions and 237 deletions

View file

@ -1,50 +1,6 @@
import type { Theme } from './theme.js'
import type { Role, Usage } from './types.js'
export const COMMANDS: [string, string][] = [
['/help', 'commands & hotkeys'],
['/new', 'new session'],
['/resume', 'resume a previous session'],
['/title', 'set session title'],
['/history', 'show session list'],
['/clear', 'reset session + chat'],
['/undo', 'drop last exchange'],
['/retry', 'resend last message'],
['/save', 'save conversation to file'],
['/compact', 'toggle compact [focus]'],
['/compress', 'compress context'],
['/model', 'switch model'],
['/skin', 'change theme'],
['/provider', 'show model/provider info'],
['/prompt', 'set custom system prompt'],
['/personality', 'set personality preset'],
['/verbose', 'cycle tool verbosity'],
['/yolo', 'toggle auto-approve mode'],
['/reasoning', 'set reasoning level'],
['/tools', 'list active tools'],
['/toolsets', 'list toolsets'],
['/skills', 'list skills'],
['/stop', 'kill background processes'],
['/background', 'run prompt in background'],
['/btw', 'side question (no tools)'],
['/plan', 'invoke plan skill'],
['/queue', 'queue prompt for next turn'],
['/profile', 'show active profile'],
['/cost', 'token usage stats'],
['/context', 'context window info'],
['/insights', 'usage analytics'],
['/copy', 'copy last response'],
['/paste', 'clipboard info'],
['/config', 'show config'],
['/status', 'session info'],
['/statusbar', 'toggle status bar'],
['/voice', 'voice mode toggle'],
['/reload-mcp', 'reload MCP servers'],
['/rollback', 'checkpoint info'],
['/browser', 'browser tools info'],
['/quit', 'exit hermes']
]
export const FACES = [
'(。•́︿•̀。)',
'(◔_◔)',
@ -67,6 +23,7 @@ export const HOTKEYS: [string, string][] = [
['Ctrl+C', 'interrupt / clear / exit'],
['Ctrl+D', 'exit'],
['Ctrl+L', 'clear screen'],
['Tab', 'complete /commands (registry-aware)'],
['↑/↓', 'queue edit (if queued) / input history'],
['PgUp/PgDn', 'scroll messages'],
['Esc', 'clear input'],