Skip to content

feat(workbot): add Cmd+K command palette behind a flag - #6471

Merged
benjaminshafii merged 3 commits into
devfrom
feat/workbot-command-palette
Oct 24, 2026
Merged

benjaminshafii merged 3 commits into
devfrom
feat/workbot-command-palette

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

What is this about?

Workbot gets a Cmd+K / Ctrl+K command palette, plus a search button in the header, behind a new feature flag.

What problem does it solve?

Moving between chats, pages, background tasks and settings in Workbot takes several clicks and the mouse. People who live in the keyboard have no fast way around.

What was the situation before?

No palette and no shortcut: chats sit in a drawer, pages in the header, tasks only in the conversation.

How is this implemented?

  • workbotCommandPalette (cloud and self-hosted, off) in packages/features/src/registry.ts. Den sends commandPalette on /v1/workbot/session → Workbot /v1/workbot/me → WorkbotHost.commandPalette. When it's off, there's no button, the shortcut does nothing, and no requests go out. Safe to turn off at any time.
  • ee/packages/workbot-ui/src/command-palette.tsx: Base UI Dialog + inline Autocomplete. Every row is an action Workbot already has: switch or start a chat, stop a reply or task, open a page, files, or a Den page. Nested lists open with Tab, Cmd/Ctrl+Enter runs a row's second action, and recently used rows come first.
  • command-palette-search.ts: fuzzysort ranking and match highlighting, the same approach as the desktop palette.
  • Doc: docs/features/workbot-command-palette/README.md.

What else changed?

  • fuzzysort added to @openwork-ee/workbot-ui (already used by the desktop app).
  • New unit test pnpm --filter @openwork-ee/workbot test:command-palette.

Release note

none

Evidence

evals/proofs/workbot-command-palette.proof.test.ts: before, the feature is off, there's no button, and Cmd+K does nothing. After, Cmd+K from the message box opens the palette, search highlights matches, Tab opens the Chats list, no-match text shows, Cmd+Enter stops a task, Enter opens Calendar, Esc puts focus back, and it fits a 390px phone.

Design: P1, P4, P5, P6, S6, S7, C1, C6, C7, V2, V5, V6

@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Oct 24, 2026 1:50pm UTC
openwork-den Ready Ready Preview Oct 24, 2026 1:50pm UTC
openwork-diagnostics Ready Ready Preview Oct 24, 2026 1:50pm UTC
openwork-landing Ready Ready Preview, v0 Oct 24, 2026 1:50pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed 6d51d42 Open preview 2026-10-24 13:58:11 UTC

Run details · Open the preview to inspect evidence and sandbox options.

@benjaminshafii

Copy link
Copy Markdown
Member Author

Screenshots from the headless proof run (real Workbot page, 1280×800 and 390×844).

Closed (search button in header) Open, empty query Chats loading
Closed Open empty Loading
Typing "bud" with highlighted match Nested page: Switch chat No results
Typing Nested No results
Feature flag off Phone, closed Phone, open
Flag off Phone closed Phone open

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden clearance. Complete security and confidentiality review of 6d51d42df579eec9724576aee58f58f7f6d1d1f6 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

@diff-warden

diff-warden Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Warden: approved

No high or medium security findings and no confidentiality findings.

Reviewed 6d51d42df579 · Warden run · Updates after every Warden run.

@benjaminshafii
benjaminshafii merged commit b787657 into dev Oct 24, 2026
48 checks passed

This branch was successfully deployed

6 active deployments
Evidence / PR 6471 — 6d51d42d Deployed Oct 24, 2026 by github-actions[bot]
Preview – openwork-den — 6d51d42d Deployed Oct 24, 2026 by vercel[bot]
Preview – openwork-landing — 6d51d42d Deployed Oct 24, 2026 by vercel[bot]
Preview – openwork-app — 6d51d42d Deployed Oct 24, 2026 by vercel[bot]
Preview – openwork-diagnostics — 6d51d42d Deployed Oct 24, 2026 by vercel[bot]
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