Skip to content

refactor(tui): remove legacy keymap layer#37206

Merged
opencode-agent[bot] merged 3 commits into
v2from
hide-quick-slots
Jul 16, 2026
Merged

refactor(tui): remove legacy keymap layer#37206
opencode-agent[bot] merged 3 commits into
v2from
hide-quick-slots

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • delete the legacy packages/tui/src/keymap.tsx layer and its package export
  • migrate V2 TUI and Mini CLI registrations, shortcuts, modes, and tests to context/keymap.tsx
  • use KeymapCommand.palette for command-palette membership, keeping quick-slot and internal commands out
  • preserve keyboard event access for key-dispatched V2 commands

Validation

  • bun typecheck (packages/tui)
  • bun typecheck (packages/cli)
  • bun typecheck (packages/plugin)
  • bun test test/keymap.test.tsx test/cli/tui/keymap-arguments.test.tsx (packages/tui)
  • bun test test/footer-keymap.test.tsx (packages/cli)
  • bun test test/cli/run/footer.view.test.tsx (packages/opencode)

@opencode-agent opencode-agent Bot force-pushed the hide-quick-slots branch 2 times, most recently from 2e92610 to 97d09c7 Compare July 16, 2026 14:37
@opencode-agent opencode-agent Bot changed the title fix(tui): hide internal commands from palette refactor(tui): remove legacy keymap layer Jul 16, 2026
# Conflicts:
#	packages/tui/src/routes/session/index.tsx
#	packages/tui/test/keymap.test.tsx
@opencode-agent opencode-agent Bot merged commit b4a4ef0 into v2 Jul 16, 2026
5 of 7 checks passed
@opencode-agent opencode-agent Bot deleted the hide-quick-slots branch July 16, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants