hermes-agent/ui-tui/src
Teknium 7fa70b6c87
refactor: /btw is now an alias for /background (#16053)
The ephemeral no-tools side-question variant of /btw confused users who
expected 'by-the-way' to mean 'run this off to the side with tools' —
they'd type /btw and get a toolless agent that couldn't do the work.
/bg worked because it was /background with full tools.

Collapse the two: /btw and /bg both alias to /background. One command,
one behavior, no more gotchas about which variant has tools.

Removed:
- _handle_btw_command in cli.py and gateway/run.py
- _run_btw_task + _active_btw_tasks state in gateway/run.py
- prompt.btw JSON-RPC method + btw.complete event in tui_gateway
- BtwStartResponse type + btw.complete case in ui-tui
- Standalone /btw slash tree registration in Discord
- Standalone btw CommandDef in hermes_cli/commands.py

Updated:
- background CommandDef aliases: (bg,) -> (bg, btw)
- TUI session.ts: local btw handler merged into background
- Docs and tips updated to describe /btw as a /background alias
2026-04-26 07:11:08 -07:00
..
__tests__ fix(clipboard): report native/tmux success, keep Ctrl+Shift+C on dashboard 2026-04-26 05:46:45 -07:00
app refactor: /btw is now an alias for /background (#16053) 2026-04-26 07:11:08 -07:00
components fix(tui): track rendered spaces for selection copy 2026-04-25 15:21:26 -05:00
config chore(tui): /clean pass — inline one-off locals, tighten ConfirmPrompt 2026-04-19 07:55:38 -05:00
content fix(tui): address Copilot review on editor handoff 2026-04-25 20:34:24 -05:00
domain feat(tui): stream thinking + tools expanded by default 2026-04-24 02:53:44 -05:00
hooks fix(tui): address PR #13231 review comments 2026-04-20 19:09:09 -05:00
lib fix(tui): address Copilot review on editor handoff 2026-04-25 20:34:24 -05:00
protocol refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
types fix(clipboard): report native/tmux success, keep Ctrl+Shift+C on dashboard 2026-04-26 05:46:45 -07:00
app.tsx fix(tui): apply ui-tui fix pass and restore type-check 2026-04-25 14:08:54 -05:00
banner.ts refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
entry.tsx fix(tui): drop main-screen banner flash, widen alt-screen clear on entry 2026-04-22 15:27:54 -05:00
gatewayClient.ts fix(tui): address PR #13231 review comments 2026-04-20 19:09:09 -05:00
gatewayTypes.ts refactor: /btw is now an alias for /background (#16053) 2026-04-26 07:11:08 -07:00
theme.ts feat(tui): subagent spawn observability overlay 2026-04-22 10:38:17 -05:00
types.ts fix(tui): gate messageLine on content-bearing sections, not all sections 2026-04-24 03:01:06 -05:00