Skip to content

feat(keymap): prompt.stop and file.attach as Desktop's commands - #264

Merged
Hona merged 1 commit into
devfrom
ws8/keymap
Nov 20, 2026
Merged

Hona merged 1 commit into
devfrom
ws8/keymap

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Ports anomalyco/opencode#64394's commands into our one keymap table (crates/opencode-ui/src/keymap).

  • prompt.stop (was session.stop): Esc and Ctrl+G in one keybind, titled Stop session under Session, now listed in Settings > Shortcuts and the palette. Changing it in Settings replaces both keys, as Desktop's does; Escape stops only while it is one of them. In a suggestion list Ctrl+G still cancels the list and Escape stays Escape.
  • Saved data: a change saved under session.stop is read as prompt.stop's; nothing saved is rewritten, so an older build keeps reading its own id. A prompt.stop that Desktop saved (shared settings.v3) now applies here too.
  • file.attach is in the palette while the composer can attach.

Proof (scratch home, old build -> new -> old, stored keybinds read after each run):

Esc and Ctrl+G stop a running session in both builds. Checks: guardrails 5/5, check --workspace, web.ps1 -Check.

Ports anomalyco/opencode#64394's commands into our one keymap table.

- prompt.stop (was session.stop): Esc and Ctrl+G in one keybind, titled Stop session under
  Session, listed in Settings > Shortcuts and the palette. A change in Settings replaces both
  keys, as Desktop's does; Escape stops only while it is still one of them. A list's Ctrl+G
  still cancels the list and its Escape stays Escape.
- A change saved under session.stop is read as prompt.stop's. Nothing saved is rewritten, so an
  older build keeps reading its own id; a prompt.stop that Desktop saved now applies here.
- file.attach is in the palette while the composer can attach (normal mode).
@Hona
Hona merged commit 77cc154 into dev Nov 20, 2026
3 checks passed
@Hona
Hona deleted the ws8/keymap branch November 20, 2026 09:40
Hona added a commit that referenced this pull request Nov 20, 2026
…ing (#266)

- Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257,
  #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296)
  into docs/upstream-sync/ledger.{json,md}
- Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past
  bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to
  BROWSER-UI
- Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files
  and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant