Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(ui): restore the approved sidebar and home presentation (#2067)
Maxaab2892bc7d5
diff --git a/docs/plans/2026-09-18-workbench-general-settings.md b/docs/plans/2026-09-18-workbench-general-settings.mdindex d6081c958..8c28de6ff 100644--- a/docs/plans/2026-09-18-workbench-general-settings.md+++ b/docs/plans/2026-09-18-workbench-general-settings.md@@ -1,5 +1,22 @@# Shared Workbench and General Settings — issue #2012+> Sidebar presentation update (2026-09-20 12:53 Asia/Shanghai): the owner now+> requests #2061's logo, Inbox/capability styles and Projects-header Search on+> current master, preserving #2058 correctness and current collapse behavior.+> [The scoped reapplication contract](2026-09-20-sidebar-2061-presentation-reapply.md)+> supersedes the older sidebar presentation choice below; other behavior stays current.+>+> Home presentation update (2026-09-20 13:03 Asia/Shanghai): the owner extended+> that same change to the Workbench home — the bounded welcome card, its three+> action pills, the PROJECT chip row, the separate AGENT picker and the+> single-row composer, as presentation only. At 13:20 the owner settled the+> reference question: the two attached screenshots govern, #2061 and v3.1.0 are+> matching sources for restoring presentation hunks rather than a release to+> reset to, and both surfaces ship in one PR. The same contract now governs both+> surfaces and supersedes the home presentation described below; the home's+> current send, readiness, attachment and authorization behavior stays exactly+> as this plan left it.+## Current PM scope and acceptance (2026-09-20)The 11:24 PM continuation ruling supersedes the broader exploratory queue scopediff --git a/docs/plans/2026-09-20-sidebar-2061-presentation-reapply.md b/docs/plans/2026-09-20-sidebar-2061-presentation-reapply.mdnew file mode 100644index 000000000..de4828a02--- /dev/null+++ b/docs/plans/2026-09-20-sidebar-2061-presentation-reapply.md@@ -0,0 +1,334 @@+# Reapply the approved sidebar and home presentation after PR #2058++The owner approved this work in two steps. The sidebar contract below was given+first; the Workbench home was added to the same change at 13:03:52 and is+specified in "Owner amendment: restore the Workbench home". Both surfaces ship+in one branch and one PR.++## Owner decision and precedence++On 2026-09-20 at 12:53 Asia/Shanghai, the owner explicitly requested reapplying+PR #2061's sidebar presentation and search position to current master while+preserving PR #2058's queue fixes and other improvements. The attached reference+at `/Users/max/.avibe/attachments/avibe/sesqn7etypwey/a3387de5-8137-491f-9313-2653ced80d92_image.png`+is the approved visual target. The owner also accepted the immediately preceding+proposal to retain current collapse behavior while restoring the presentation.+No new design decision is pending.++This supersedes the September 20 10:30 choice of the complete #2058 sidebar only+for the presentation named below. It does not restore #2061's localStorage+persistence or revert #2058 as a whole. The historical v3.1.0 and Workbench plans+remain as provenance; this contract governs the new change.++Base: actual master `b821f22f55b2230de176ede3a1183acbae81b528` (merged #2058).+Reference implementation: #2061 commit `05904ee80595e14f1d0fd44398ff4798bec9a597`.+Use the relevant presentation hunks as evidence, not a wholesale file replacement.+Branch: `fix/sidebar-2061-presentation-20260920`.+PM: `sesqn7etypwey`. One implementation lane owns the isolated worktree.++## Outcome and visual contract++- Restore the #2061 sidebar brand chip treatment: square mark with mint hairline,+ rounded corners and the existing subdued glow; Avibe title and the existing+ translated `Agent OS · Workbench` subtitle. Reuse the current logo asset.+- Restore the full-width outlined Inbox entry, its active/hover/unread treatment,+ and spacing matching #2061. Keep the real unread counter, zero-badge absence,+ hover popover, mark-read behavior, navigation and suspension unchanged.+- Restore the Capabilities heading's label-left/chevron-right composition and+ the #2061 Agents/Skills/Harness/Vaults row treatment: compact rounded rows,+ 16px icons, 13px labels, original default/hover/mint selected states.+- Move Search from the standalone row below the brand to an icon button on the+ right of PROJECTS, immediately before New Project. Keep existing search+ callback, keyboard shortcuts, accessibility name and authorization behavior.+ Search remains available even if project creation is not permitted.+- Reuse #2061 sidebar grouping/spacing needed for the screenshot, while keeping+ current sidebar sizing, project scrolling and footer ownership.++## Behavior that remains current++Capabilities start expanded, can collapse, and retain state through Settings+suspension while their owner is mounted. Do not add localStorage reads/writes or+change behavior on fresh mount. The reference image depicts the collapsed state,+not a requirement to change the default. Keep current permission filtering,+aria-expanded/aria-controls linkage, routes, focus behavior and inactive-surface+admission guards. Preserve all merged queue snapshot/invocation repairs, Composer+spacing/voice controls, real project/session data, drag/reorder, sidebar resize,+Apps/Settings footer and VersionBadge. No global or mobile logo changes.++## File boundaries++Primary implementation: `ui/src/components/workbench/WorkbenchSidebar.tsx`.+Update the existing `WorkbenchSidebar.inbox.test.tsx` consumer as needed.+Existing browser coverage in `ui/e2e/workbench-general/sidebar-capabilities.spec.ts`+and `sidebar-floating.spec.ts` may receive narrowly justified assertions for this+contract; do not rewrite unrelated scenarios or relax guards. Test-owned visual+probes and evidence can live outside the tracked tree.++Documentation: this plan, plus a short precedence notice in+`docs/plans/2026-09-18-workbench-general-settings.md` (prepared by PM).+Do not alter the historical #2061 implementation record.++No ChatPage, ChatQueueRow, Composer, AppShell, project drag production/spec,+shared primitive/hook/provider, backend/API, translation, global CSS/token,+logo asset, dependency or workflow edits. If a real compile/accessibility gap+requires another path, report evidence to PM before expanding the scope.++## Verification and delivery++Use existing tests for affected behavior; avoid tests that merely duplicate+class strings. Hold Search callback/location, authorized capability navigation,+collapse/restore through Settings, unread and inactive behavior to their current+contracts. Run focused sidebar consumers and relevant adjacent consumers, UI+typecheck, baseline lint and production build. Run the existing project-order+suite once because the available project height changes; preserve exact ordering+and session assertions, declared platform skips and retries=0.++Inspect hermetic real-App renders against the supplied image and #2061 in one+bounded batch (light/dark and EN/ZH, normal/narrow sidebar, expanded/collapsed,+selected/hover states), then at most one targeted correction/confirmation batch.+Keep screenshot/probe limitations explicit; no real credentials, cloud/native+interaction, production user data, service restart or shared deployment.++The implementation lane commits and hands back a clean local candidate with its+evidence, then ends its turn; it performs no remote writes. PM independently+checks the bounded diff and opens the new non-draft PR to master, reading back+title/body/base/head with --body-file. PM owns the delivery loop and one durable+combined PR/CI Watch once the PR exists; this local-only lane needs no Watch.+Retain exact-head Codex review, all expected CI and zero unresolved whole-PR+threads; no manual review trigger or CI rerun. Never touch retired #2058 or+unrelated Watches. No merge authority.++## Owner amendment: restore the Workbench home (2026-09-20 13:03)++At 13:03:52 Asia/Shanghai the owner authorized restoring the Workbench home to+the attached reference+`/Users/max/.avibe/attachments/avibe/sesqn7etypwey/0fc9e661-a496-4183-903f-9f76a6270ad4_image.png`+and asked for it in the same change as the sidebar, not a second PR.++Precedence: this amendment supersedes only the sidebar-only outcome above and+the earlier "no home, no translation" boundary. It does not replace the sidebar+contract and authorizes no other revert of #2058. Presentation reference is+v3.1.0 commit `0e5a672ad183ac56f5ee8df7bcb770754840b3d9` at the then-current+`ui/src/components/Workbench.tsx` — evidence for layout and copy, never a file+to restore wholesale over the current home.++### Outcome and visual contract++- A centered, bounded welcome card: rounded corners, a fine border over the+ raised surface, a mint outlined Sparkles tile, the heading "What should we+ build today?" and the body "Describe what you want and an agent will run it.+ Or start with one of the suggestions below." Chinese is recovered from the+ v3.1.0 locale (or translated accurately where it does not exist) and lives in+ the existing `workbench.home` keys — no new namespace, no hardcoded copy.+- Three rounded outline pills inside the card: Open project (FolderPlus),+ Manage agents (Bot), Schedule background work (Activity). Their owners stay+ the current ones: the directory/new-project path, the capability-gated agents+ route, and the current `CreateViaChatDialog` task initiation. The historical+ `/harness` navigation is not restored and no permission check is dropped.+- Below the card, in order: a visible PROJECT section of real selectable+ horizontal project chips through the existing `ProjectPicker`; an AGENT label+ with a separate, normally bordered `AgentRoutePicker`; then the existing+ `Composer` in its supported single-row mode — no embedded action row, the+ component itself unchanged.+- The old reference's column is 640 CSS px, and the screenshot's proportions+ correspond to it. Its pixel dimensions are not a spec and imply no capture+ device pixel ratio; no 1544px fixed geometry. Responsive renders, not capture+ metadata, decide whether the column is right.+- Narrow widths stay in normal flow: wrapping, horizontal chip scrolling, no+ page overflow and nothing obstructed by the mobile tab bar.+- The composer placeholder is "Tell the agent what you want…" through the+ existing home key. Project names, Agent, model and reasoning effort are+ whatever the instance actually has; nothing in the screenshot is faked.+- The current ReadyBanner/setup handoff and the conditional owner continuation+ links are retained, fitted unobtrusively outside the hero.++### Behavior that remains current++`useNewSession` keeps ownership of projects, Agent route and send. Errors and+the uncertain-send inspect link, `stageMedia` with staged attachments passed+through to `ns.send`, and deferred navigation that only runs while the surface+is active all stay as they are — the old `initialMessage` replay is NOT revived.+The authorization gate, setup readiness and its one-time handoff, ordinary+departure semantics, retained Settings drafts and pickers, real folder+find/create/select, and the empty and permission-restricted project flows are+unchanged. No queue or data-model rewrite.++### Additional file scope++Primary: `ui/src/components/Workbench.tsx`, its existing consumer+`ui/src/components/Workbench.test.tsx`, and existing `workbench.home` leaf+values in `ui/src/i18n/en.json` and `ui/src/i18n/zh.json`.++Focused locator migrations only, where an existing case names home copy or an+affordance this change moves: `ui/e2e/workbench-general/setup-handoff.spec.ts`,+`mobile-continuation.spec.ts` and `ui/e2e/home-media/media.spec.ts`; the same+allowance covers `geometry.spec.ts` and `standalone-settings.spec.ts` if they+turn out to name one. Keep each scenario's claim; migrate the locator, not the+assertion. `Composer.tsx`, `AgentRoutePicker.tsx`, `ProjectPicker.tsx`,+`useNewSession.ts` and `ChatPage.tsx` stay unchanged unless a specific gap is+reproduced and PM rules on it.++### Acceptance++Both surfaces are judged together against their two approved references in one+bounded hermetic visual batch (EN/ZH, light/dark, desktop and narrow), plus at+most one targeted confirmation batch. Home acceptance additionally requires:+real project chips selectable and reflected in the send target, the Agent picker+readable and separate, a single-row composer that still sends with staged+attachments, no horizontal overflow at narrow widths, and the readiness banner+and continuation links still behaving as they do today. Validation extends to+the home's own consumers — focused Vitest, UI typecheck, test typecheck, lint,+production build, and the browser cases whose locators moved.++## Owner resolution: the screenshots govern (2026-09-20 13:20)++Between 13:14 and 13:20 the contract was clarified twice, and the second+clarification settles it.++At 13:14:59 the owner asked whether the home was a revert or a reimplementation+and answered it themselves: it is a restoration. The old presentation hunks —+layout structure, tokens and classes, card proportions and spacing, the Sparkles+treatment, pill shape and icons, project chips with a standalone Agent picker,+the single-row composer and the old localized copy — are reapplied onto the+current home. No new visual abstraction, component or approximation from+scratch.++At 13:16:18 the owner was unsure which version to revert to, and work on the+home paused while that was resolved. At 13:20:14 the owner resolved it:+"以截图为准,sidebar 和首页回退放到一个 PR 里". **That resolution supersedes the+13:16 hold in full**, and this section supersedes any earlier wording here that+reads as a release identification.++What the resolution fixes:++- The two attached screenshots are the authoritative visual targets. #2061+ `05904ee80595e14f1d0fd44398ff4798bec9a597` and v3.1.0+ `0e5a672ad183ac56f5ee8df7bcb770754840b3d9` are matching source references for+ restoring existing presentation hunks. Neither identifies the release the+ screenshots came from, and neither authorizes resetting a release.+- No release selection is needed or pending. There is no open version question.+- Both surfaces ship in one branch and one PR. The sidebar is already committed;+ the home lands on the same branch.+- Screenshot appearance governs appearance only. It is not a licence to roll+ back business logic: background work still starts through+ `CreateViaChatDialog`, permission filters, retained Settings drafts and+ pickers, readiness and continuations, staged media and voice, send-exactly-once+ and the merged queue/invocation repairs all stay as master has them.+- The capability group still defaults to expanded with no localStorage. The+ collapsed sidebar in the screenshot is a render state, not a new default.+- `ProjectPicker`, the standalone `AgentRoutePicker` and `Composer`'s single-row+ mode are reused unchanged.++### Sidebar colour ruling (PM, 13:22)++The first sidebar commit kept `--nav-selected-bg` / `--nav-selected-border` /+`--nav-hover-bg` / `--shadow-glow-nav-mint` for the capability rows,+`--logo-well-background` for the brand chip and the nav hover token for the Inbox+row. Those are not equivalent to the reference: the dark selected fill differs in+alpha, the light selected border differs in alpha, and the logo well is grey+instead of mint. `bg-mint/[0.08]`, `border-mint/30` and `hover:bg-foreground/[0.04]`+are themed mint and foreground at a deliberate opacity, not hard-coded colours,+so "the reference hard-codes values" never justified substituting them.++Ruled: restore the reference's capability default/hover/selected classes and the+mint logo well exactly, and give the Inbox row the same `foreground/[0.04]` hover.+State, accessibility, permission and lifecycle behavior stay current; differences+from the reference in those dimensions are intended, colour differences without a+reference are not. No `index.css` or token cleanup is in scope. Both themes are+checked once in the final visual batch.++## Implementation and evidence++Implemented on `fix/sidebar-2061-presentation-20260920` and handed back locally+at `fa6a57bb09fc12e2e0c8b0eb311f09b5c888a67c` for independent PM verification.+Remote acceptance requires the new PR's exact-head review and CI.++### What changed++`WorkbenchSidebar.tsx` carries the reference's capability row classes, the+`foreground/[0.04]` Inbox hover and the mint brand well. `Workbench.tsx` is the+restored home: a bounded welcome card with the mint Sparkles tile, the heading+and body copy, and the three outline pills, over a 640px input column holding+the existing `ProjectPicker`, a labelled standalone `AgentRoutePicker` and the+`Composer` in single-row mode. The pills keep their current owners — the+directory/new-project path, the capability-gated agents route and+`CreateViaChatDialog`. The old copy comes back through the existing+`workbench.home` keys, with the Chinese recovered from the v3.1.0 locale;+`chooseWorkspace` and `workspaceAria` had no consumer left and were dropped.+`Composer.tsx`, `AgentRoutePicker.tsx`, `ProjectPicker.tsx`, `useNewSession.ts`+and `ChatPage.tsx` are untouched.++### Consumer migrations++Each moved locator keeps its scenario's claim. The home surfaces no folder path+now, so `Workspace: <path>` accessible-name assertions became display-name chip+locators plus the picker's own `bg-mint-soft` selection fill; `ProjectPicker`+exposes no `aria-current`, and adding one would edit a shared component that is+out of scope. `home-media`'s attach-target assertion moved from 28x28 to 28x36,+which is what the shared `Composer` renders in single-row mode — the mode the+contract mandates — so the claim (a fixed target that does not stretch with the+viewport, language or theme) is unchanged. `mobile-continuation`'s `pickClaude`+now dismisses the Agent popover, because in the restored layout it is anchored+over the project row.++The restored home uses normal page flow on a short phone, so the primary action+can require scrolling. The short-phone geometry case now checks real overflow+at scrollTop zero, then scrolls to the end and retains send hit-testing,+actionability, draft preservation and bottom-nav clearance. The normal-height+control still checks these at scrollTop zero. This is an explicit adaptation to+the approved layout, not a claim that short-phone first-paint visibility is+unchanged. The page itself must not overflow horizontally.++### Pre-existing failures repaired in passing++The build-config suite was already red before this branch: a probe of the+unmodified base head ran 6 failed / 2 passed. `NewProjectDialog` began passing+`initialPath` in #2047, after the browse fixture landed in #2033, and+`directory-browser` has no fallback when the opening listing misses — so the+four mobile-continuation cases could never reach a folder. One fixture entry for+the recent workspace's own path fixes it with no assertion changed. Two+setup-handoff locators were also stale: a heading string that no longer exists,+and a "New chat" link whose i18n key has no consumer anywhere in `src`; the+latter now leaves and returns through the sidebar brand row.++### Validation++Vitest 4765 passed across 332 files; lint, `tsc -b`, test typecheck, both e2e+project typechecks and the production build all pass. Browser suites:+workbench-general 67 passed, workbench-general-build 8 passed (base head: 6+failed / 2 passed), home-media 55 passed (before: 20 failed / 35 passed),+project-order 16 passed with two existing platform-specific skips. The browser+configs use retries=0. These are local results, not remote CI evidence.++The workflow named `lint` also runs UI unit tests and Playwright suites in its+`ui-checks` job: model catalog/provider, the onboarding hub ownership case,+project-order, inbox-return, badge-triggers and Workbench sidebar-floating.+The full Workbench general/build and home-media selections above have broader+local coverage than the workflow. No workflow change is part of this PR.++The visual batch used the suites' own captures — `home-{en,zh}-{light,dark}-+{desktop,narrow}` under `ui/e2e/.artifacts/workbench-general/shots/` and the 20+`home-media` layout renders. Both surfaces match their references in both+themes: the brand chip sits in a mint well, the Inbox pill and capability rows+carry the reference's fills, and the home reproduces the card, tile, copy, pill+order and icons, the mint-filled selected project chip, the bordered Agent+picker and the single-row composer. The remaining differences are fixture data+(one project instead of five, an Agent with no model or effort to show) and the+capability group rendering expanded, which the owner already ruled is a render+state rather than a new default. No targeted confirmation batch was needed.++### Independent PM verification before PR creation++PM verified all 14 changed paths against the granted scope and compared 893+baseline source/asset/workflow/dependency entries: only the six permitted source,+unit-test and locale paths differ in that inventory. Queue, Composer, shared+pickers, new-session hook, project drag, tokens and workflows are unchanged.+The current master advance consists of the unrelated #2063 migration fixture+repair; a mechanical merge with it is conflict-free.++PM reran three relevant unit files (83 passed), the two EN/ZH real-App phone+geometry cases (2 passed), and the staged-file/project/Agent/Settings/send+consumer (1 passed). Both phone evidence records have collected empty denied,+unknown and pageErrors arrays. This does not imply the same guard collection+for every inherited browser case. The candidate's browser artifacts were+archived before these targeted reruns, which used separate output directories.diff --git a/ui/e2e/home-media/media.spec.ts b/ui/e2e/home-media/media.spec.tsindex 175df3691..3fa8210aa 100644--- a/ui/e2e/home-media/media.spec.ts+++ b/ui/e2e/home-media/media.spec.ts@@ -24,19 +24,22 @@ test('draft files follow final project and Agent selection through picker cancelawait expect(page.getByText(file.name, { exact: true })).toBeVisible();expect(await writes(page, '/api/sessions')).toEqual([]);expect(await writes(page, '/attachments')).toEqual([]);- const workspace = () => page.getByRole('button', { name: /^Workspace:/ });- await workspace().click();+ // Opening a folder is the card's own action; the project row below shows+ // which one the draft is bound to, with the mint fill marking the target.+ const openProject = () => page.getByRole('button', { name: en.workbench.home.openProject, exact: true });+ const projectChip = (name: string) => page.getByRole('button', { name, exact: true });+ await openProject().click();expect((await writes(page, '/api/browse')).at(-1)?.body.path).toBe('/fixture/中文项目');await page.keyboard.press('Escape');await expect(input(page)).toHaveValue('请阅读这份中文文件');- await workspace().click();+ await openProject().click();await page.getByRole('button', { name: '另一个项目', exact: true }).click();await page.getByRole('button', { name: en.directoryBrowser.select, exact: true }).click();await page.getByRole('button', { name: en.workbench.newProjectDialog.pickFolder, exact: false }).click();expect((await writes(page, '/api/browse')).at(-1)?.body.path).toBe('/fixture/另一个项目');await page.getByRole('button', { name: en.directoryBrowser.select, exact: true }).click();await page.getByRole('dialog').getByRole('button', { name: en.workbench.newProjectDialog.create, exact: true }).click();- await expect(workspace()).toContainText('另一个项目');+ await expect(projectChip('另一个项目')).toHaveClass(/bg-mint-soft/);await page.getByRole('button', { name: /codex/ }).first().click();await page.getByRole('button', { name: /^claude/ }).click();await page.keyboard.press('Escape');@@ -140,9 +143,13 @@ for (const width of [320, 375, 390, 1366, 1600]) {await expect(page.getByRole('heading', { name: copy.workbench.home.heroTitle })).toBeVisible();await expect(page.getByRole('button', { name: copy.chat.compose.voice, exact: true })).toBeVisible();expect(await page.evaluate(() => document.documentElement.scrollWidth > window.innerWidth)).toBe(false);+ // The home now uses the composer's single-row box, the same one the chat+ // page uses, and that mode gives its controls a 28x36 target of their own.+ // Fixed numbers either way: the control must not shrink or stretch with+ // the viewport, the language or the theme.const attachBox = await page.getByRole('button', { name: copy.chat.compose.attach }).boundingBox();expect(attachBox?.width).toBe(28);- expect(attachBox?.height).toBe(28);+ expect(attachBox?.height).toBe(36);await page.getByRole('button', { name: copy.chat.compose.attach }).focus();await expect(page.getByRole('button', { name: copy.chat.compose.attach })).toBeFocused();await page.screenshot({ path: testInfo.outputPath('home.png'), fullPage: true });@@ -170,7 +177,7 @@ test('voice failure retains the recording for explicit retry while preserving thtest('directory picker remains keyboard-contained and its footer reachable on a short narrow viewport', async ({ page }) => {await page.setViewportSize({ width: 320, height: 440 });await open(page);- await page.getByRole('button', { name: /^Workspace:/ }).click();+ await page.getByRole('button', { name: en.workbench.home.openProject, exact: true }).click();const dialog = page.getByRole('dialog');const select = dialog.getByRole('button', { name: en.directoryBrowser.select, exact: true });await expect(select).toBeInViewport();diff --git a/ui/e2e/workbench-general/geometry.spec.ts b/ui/e2e/workbench-general/geometry.spec.tsindex ceabc24f5..e69f3f8d5 100644--- a/ui/e2e/workbench-general/geometry.spec.ts+++ b/ui/e2e/workbench-general/geometry.spec.ts@@ -1,4 +1,4 @@-import { expect, test } from '@playwright/test';+import { expect, test, type Page } from '@playwright/test';import { DESKTOP, NARROW, ORIGIN, WIDE, config, open, serveProduct } from './support';@@ -16,10 +16,11 @@ const SETTINGS_RAIL = 'nav[aria-label="Settings sections"]';const SETTINGS_PAGE = 'nav[aria-label="Settings sections"] + section';const SETTINGS_CONTENT = 'nav[aria-label="Settings sections"] + section > div';const APPEARANCE_CARD = 'section.bg-surface-2:has([role="radiogroup"])';-// The composer's own workspace chip, not the sidebar tree row: it is the-// selection the overlay has to hand back, and its label carries the fixture's-// non-ASCII path.-const WORKSPACE_CHIP = 'Workspace: /Users/max/工作区/中文项目';+// The home's own project row, not the sidebar tree row: it is the selection the+// overlay has to hand back, and the fixture names it in non-ASCII on purpose.+const PROJECT_CHIP = '中文项目';+const projectChip = (page: Page) =>+ page.locator(SHELL_SCROLL).getByRole('button', { name: PROJECT_CHIP, exact: true });const MOBILE_NAV = 'nav.fixed.bottom-0';const ULTRA = { width: 1920, height: 1000 };// A short phone that still requires scrolling after the composer spacing was@@ -181,15 +182,17 @@ test.describe('workbench home geometry', () => {});/**- * The phone home is taller than the screen, so whatever ends the page sits- * under the fixed tab bar until someone scrolls. What ends the page is the- * composer's own action row — Agent, workspace, Send — so the defect is a- * dead primary button on first paint, not a cropped screenshot. Both- * languages, because the row's left side is translated text whose width moves.+ * The phone home flows from the top: nothing is pinned above the tab bar, so+ * a crowded screen is reached by scrolling. That makes the defect a primary+ * button you cannot press once you get to it — the end of the page left+ * sitting under the fixed bar — rather than a cropped screenshot. Checked on+ * a normal phone, where it fits without scrolling, and on a short one, where+ * it does not. Both languages, because the controls sit beside translated+ * text whose width moves.*/const PHONE_COMPOSER: { lang: 'en' | 'zh'; placeholder: string; send: string; lastRow: string }[] = [- { lang: 'en', placeholder: 'Describe a task or ask a question...', send: 'Send', lastRow: 'Continue on your phone' },- { lang: 'zh', placeholder: '给你的助手安排任务…', send: '发送', lastRow: '在手机 APP 上继续' },+ { lang: 'en', placeholder: 'Tell the agent what you want…', send: 'Send', lastRow: 'Continue on your phone' },+ { lang: 'zh', placeholder: '和 Agent 聊点什么…', send: '发送', lastRow: '在手机 APP 上继续' },];for (const { lang, placeholder, send, lastRow } of PHONE_COMPOSER) {@@ -249,17 +252,27 @@ test.describe('workbench home geometry', () => {await sendButton.click({ trial: true });// Continue the typed draft on the existing short phone. Here overflow- // must be real: the controls clear the bar even in a crowded layout.+ // must be real, and it must be vertical only: the column wraps and the+ // project chips scroll inside their own row, so the page itself never+ // goes sideways.await page.setViewportSize(NARROW_SHORT);await page.waitForFunction((height) => window.innerHeight === height, NARROW_SHORT.height);const overflow = await page.locator(SHELL_SCROLL).evaluate((node) => ({top: node.scrollTop,hidden: node.scrollHeight - node.clientHeight,+ sideways: node.scrollWidth - node.clientWidth,}));expect(overflow.top).toBe(0);expect(overflow.hidden).toBeGreaterThan(0);+ expect(overflow.sideways).toBe(0);await expect(composer).toHaveValue(draft);await expect(composer).toBeFocused();++ // Scroll to the end the way a reader would. What the scroll arrives at+ // has to be usable: the shell's own clearance keeps the last row and+ // the primary button off the bar instead of parking them underneath it.+ await page.locator(SHELL_SCROLL).evaluate((node) => { node.scrollTop = node.scrollHeight; });+ await expect(composer).toHaveValue(draft);expect(await topmostOver(page, sendButton)).toBe(send);expect(await bottomOf(page.getByRole('link', { name: lastRow }))).toBeLessThanOrEqual((await nav.boundingBox())!.y);@@ -287,10 +300,10 @@ test.describe('settings overlay geometry', () => {// A draft and a project selection are what the overlay exists to preserve,// so the assertion starts by creating both. Non-ASCII on purpose.const draft = '给中文项目写一份说明';- const composer = page.getByPlaceholder('Describe a task or ask a question...');+ const composer = page.getByPlaceholder('Tell the agent what you want…');await composer.fill(draft);await expect(composer).toHaveValue(draft);- await expect(page.getByLabel(WORKSPACE_CHIP)).toBeVisible();+ await expect(projectChip(page)).toBeVisible();await page.locator('aside [data-settings-toggle="true"]').click();await expect(page).toHaveURL(/\/settings\/general$/);@@ -309,8 +322,8 @@ test.describe('settings overlay geometry', () => {await page.getByRole('button', { name: 'Close Settings' }).click();await expect(page).toHaveURL(`${ORIGIN}/`);await expect(overlay).toHaveCount(0);- await expect(page.getByPlaceholder('Describe a task or ask a question...')).toHaveValue(draft);- await expect(page.getByLabel(WORKSPACE_CHIP)).toBeVisible();+ await expect(page.getByPlaceholder('Tell the agent what you want…')).toHaveValue(draft);+ await expect(projectChip(page)).toBeVisible();expect(denied).toEqual([]);});diff --git a/ui/e2e/workbench-general/mobile-continuation.spec.ts b/ui/e2e/workbench-general/mobile-continuation.spec.tsindex 84153b72b..2f36fbd80 100644--- a/ui/e2e/workbench-general/mobile-continuation.spec.ts+++ b/ui/e2e/workbench-general/mobile-continuation.spec.ts@@ -28,7 +28,7 @@ import { NARROW, open, serveProduct } from './support';* double-mount; `playwright.workbench-general-build.config.ts` explains why.*/-const COMPOSER = 'Describe a task or ask a question...';+const COMPOSER = 'Tell the agent what you want…';const DRAFT = '把「中文项目」的日志整理成周报,并附上待办清单';// Two workspaces, because one cannot tell a preserved selection from the@@ -72,6 +72,11 @@ const BROWSE: Record<string, { path: string; parent: string | null; dirs: { name{ name: RECENT_WORKSPACE.display_name, path: RECENT_WORKSPACE.folder_path },],},+ // The browser opens on the current target's folder, so the walk starts at+ // the recent workspace and goes up through the breadcrumb — the same route a+ // user takes. Without this entry the very first listing fails and no folder+ // is reachable at all.+ [RECENT_WORKSPACE.folder_path]: { path: RECENT_WORKSPACE.folder_path, parent: WORKSPACES_DIR, dirs: [] },[PICKED_WORKSPACE.folder_path]: { path: PICKED_WORKSPACE.folder_path, parent: WORKSPACES_DIR, dirs: [] },};@@ -150,9 +155,16 @@ const asEditor = (page: Page) =>const composer = (page: Page) => page.getByPlaceholder(COMPOSER);const agentTrigger = (page: Page) => page.getByRole('button', { name: /codex|claude/ }).first();-// One accessible name for both chip branches: the workspace path, which is what-// actually distinguishes the two fixtures.-const workspaceChip = (page: Page) => page.getByRole('button', { name: /^Workspace: / });+// The home's own project row, not the sidebar tree. The mint fill is how the+// shared picker marks the resolved target, so "which workspace is selected" is+// read off the named chip rather than off a separate label.+const homeMain = (page: Page) => page.locator('main#app-shell-scroll');+const projectChip = (page: Page, name: string) => homeMain(page).getByRole('button', { name, exact: true });+const expectSelectedProject = async (page: Page, name: string) => {+ await expect(projectChip(page, name)).toHaveClass(/bg-mint-soft/);+};+// Opening a folder is the card's own action now, not a chip beside the input.+const openProjectPill = (page: Page) => homeMain(page).getByRole('button', { name: 'Open project', exact: true });const popover = (page: Page) => page.locator('[data-radix-popper-content-wrapper]');const settingsSurface = (page: Page) => page.locator('[data-settings-overlay="true"]');const inboxTab = (page: Page) => page.locator('nav.fixed.bottom-0 a[href="/inbox"]');@@ -193,17 +205,23 @@ async function pickClaude(page: Page) {await agentTrigger(page).click();await popover(page).getByRole('button', { name: 'claude', exact: true }).click();await expect(agentTrigger(page)).toHaveText(/claude/);+ // The picker keeps its panel open after a pick so the model and effort rows+ // stay reachable. It is anchored above the input column, so leaving it open+ // would cover the project row; close it the way a user does.+ await page.keyboard.press('Escape');+ await expect(popover(page)).toHaveCount(0);}/*** Opens the non-default workspace the way someone who can manage projects- * actually does it: the chip opens the directory browser, the browser walks to- * a real folder, and the confirm card fires create_project — which is+ * actually does it: the card's Open project starts the directory browser on the+ * current target's folder, the browser walks up and into a real one, and the+ * confirm card fires create_project — which is* find-or-create by path, so opening a folder that is already a project selects* that project. No product code is aware of this test; only the endpoints are.*/async function openPickedWorkspace(page: Page) {- await workspaceChip(page).click();+ await openProjectPill(page).click();const browser = page.getByRole('dialog', { name: 'Select Project Folder' });await browser.getByRole('button', { name: '工作区' }).click();await browser.getByRole('button', { name: PICKED_WORKSPACE.display_name }).click();@@ -214,8 +232,7 @@ async function openPickedWorkspace(page: Page) {await expect(confirm).toContainText(PICKED_WORKSPACE.folder_path);await confirm.getByRole('button', { name: 'Open project' }).click();- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${PICKED_WORKSPACE.folder_path}`);- await expect(workspaceChip(page)).toContainText(PICKED_WORKSPACE.display_name);+ await expectSelectedProject(page, PICKED_WORKSPACE.display_name);}/**@@ -228,7 +245,7 @@ async function primeHome(page: Page) {await composer(page).fill(DRAFT);// The home resolves the most recent project on its own; the open below is// what makes a preserved reading distinguishable from a re-derived one.- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${RECENT_WORKSPACE.folder_path}`);+ await expectSelectedProject(page, RECENT_WORKSPACE.display_name);await openPickedWorkspace(page);await pickClaude(page);await markInstance(page);@@ -253,7 +270,7 @@ async function leaveByInboxTab(page: Page) {async function expectHomeIntact(page: Page, creates: unknown[]) {await expect(composer(page)).toHaveValue(DRAFT);await expect(agentTrigger(page)).toHaveText(/claude/);- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${PICKED_WORKSPACE.folder_path}`);+ await expectSelectedProject(page, PICKED_WORKSPACE.display_name);expect(await instanceSurvived(page)).toBe(true);// Coming back must not re-run the open: the same home is still there, so the// one create the user made is the only one the server ever sees.@@ -386,7 +403,7 @@ test.describe('Workbench continuations on a phone', () => {await expect(composer(page)).toHaveValue('');await expect(agentTrigger(page)).toHaveText(/codex/);- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${RECENT_WORKSPACE.folder_path}`);+ await expectSelectedProject(page, RECENT_WORKSPACE.display_name);expect(await instanceSurvived(page)).toBe(false);expect(creates).toEqual([{ folder_path: PICKED_WORKSPACE.folder_path }]);expect(denied).toEqual([]);@@ -398,15 +415,15 @@ test.describe('Workbench continuations on a phone', () => {await asEditor(page);await open(page, '/');- // The other branch of the same chip: someone who cannot open folders picks- // among the projects they already have, with no create call at all.+ // The other half of the same row: someone who cannot open folders picks+ // among the projects they already have, with no create call at all — and+ // gets no folder-opening affordance to reach for.await composer(page).fill(DRAFT);await pickClaude(page);- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${RECENT_WORKSPACE.folder_path}`);- await workspaceChip(page).click();- await popover(page).getByRole('button', { name: PICKED_WORKSPACE.display_name }).click();- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${PICKED_WORKSPACE.folder_path}`);- await expect(workspaceChip(page)).toContainText(PICKED_WORKSPACE.display_name);+ await expectSelectedProject(page, RECENT_WORKSPACE.display_name);+ await expect(openProjectPill(page)).toHaveCount(0);+ await projectChip(page, PICKED_WORKSPACE.display_name).click();+ await expectSelectedProject(page, PICKED_WORKSPACE.display_name);// No continuation to offer: both destinations sit behind `can_manage_instance`,// which this role does not have — so neither the links nor the sentence that@@ -423,7 +440,7 @@ test.describe('Workbench continuations on a phone', () => {await page.goBack();await expect(page).toHaveURL(/127\.0\.0\.1:5213\/$/);await expect(composer(page)).toHaveValue('');- await expect(workspaceChip(page)).toHaveAccessibleName(`Workspace: ${RECENT_WORKSPACE.folder_path}`);+ await expectSelectedProject(page, RECENT_WORKSPACE.display_name);expect(creates).toEqual([]);expect(denied).toEqual([]);diff --git a/ui/e2e/workbench-general/setup-handoff.spec.ts b/ui/e2e/workbench-general/setup-handoff.spec.tsindex 928ae554a..cda507cc2 100644--- a/ui/e2e/workbench-general/setup-handoff.spec.ts+++ b/ui/e2e/workbench-general/setup-handoff.spec.ts@@ -27,7 +27,7 @@ import { DESKTOP, config, open, serveProduct } from './support';* come from. Each test asserts nothing was refused.*/-const COMPOSER = 'Describe a task or ask a question...';+const COMPOSER = 'Tell the agent what you want…';const DRAFT = '整理一下这周的发布说明';/**@@ -137,9 +137,12 @@ const withSetupApi = async (page: Page) => {const composer = (page: Page) => page.getByPlaceholder(COMPOSER);const agentTrigger = (page: Page) => page.getByRole('button', { name: /codex|claude/ }).first();-const workspaceChip = (page: Page) => page.getByRole('button', { name: /^Workspace: / });+// The home's own project row, not the sidebar tree; the mint fill is how the+// shared picker marks the resolved target.+const projectChip = (page: Page) =>+ page.locator('main#app-shell-scroll').getByRole('button', { name: '中文项目', exact: true });const banner = (page: Page) => page.getByText('Codex is ready to go');-const heroTitle = (page: Page) => page.getByRole('heading', { name: 'What would you like to do?' });+const heroTitle = (page: Page) => page.getByRole('heading', { name: 'What should we build today?' });/** `gpt-5` is a prefix of `gpt-5-codex`, so "the trigger shows the Agent's own* default model" has to include the picked one being absent from it. */@@ -201,7 +204,7 @@ test.describe('Setup handoff to the Workbench home', () => {// the only one this flow has made.await expect(agentTrigger(page)).toHaveText(/codex/);await expect(agentTrigger(page)).toContainText(PICKED_MODEL);- await expect(workspaceChip(page)).toContainText('中文项目');+ await expect(projectChip(page)).toHaveClass(/bg-mint-soft/);expect(setup.writes).toEqual([{ setup_completed: true }]);// Dismissing is about the banner and nothing else: the home the user has@@ -212,7 +215,7 @@ test.describe('Setup handoff to the Workbench home', () => {await expect(composer(page)).toHaveValue(DRAFT);await expect(agentTrigger(page)).toHaveText(/codex/);await expect(agentTrigger(page)).toContainText(PICKED_MODEL);- await expect(workspaceChip(page)).toContainText('中文项目');+ await expect(projectChip(page)).toHaveClass(/bg-mint-soft/);// The completion was consumed, not read: reloading restores the entry as it// now stands, which no longer claims a setup just finished. So the home says@@ -255,7 +258,9 @@ test.describe('Setup handoff to the Workbench home', () => {// Away, through the shell's own nav — and really away: the home's composer// is gone, not covered.- await page.getByRole('link', { name: 'Agents' }).click();+ // Exact, because the home's own "Manage agents" pill points at the same+ // route: leaving through the shell's nav is the claim here.+ await page.getByRole('link', { name: 'Agents', exact: true }).click();await expect(page).toHaveURL(/\/agents$/);await expect(composer(page)).toHaveCount(0);@@ -263,7 +268,10 @@ test.describe('Setup handoff to the Workbench home', () => {// announced — and nothing is asked either, which is the assertion that// separates "said nothing" from "said nothing yet".const readsBeforeReturn = setup.homeReads.length;- await page.getByRole('link', { name: 'New chat' }).click();+ // Back through the shell's own brand row — the control that opens the+ // new-conversation home. Anchored, so the phone header's "avibe logo+ // Avibe" could never stand in for it.+ await page.getByRole('link', { name: /^Avibe/ }).click();await expect(heroTitle(page)).toBeVisible();await expect(composer(page)).toBeVisible();await expect(banner(page)).toHaveCount(0);diff --git a/ui/e2e/workbench-general/sidebar-capabilities.spec.ts b/ui/e2e/workbench-general/sidebar-capabilities.spec.tsindex 8f36a4dd0..68982940f 100644--- a/ui/e2e/workbench-general/sidebar-capabilities.spec.ts+++ b/ui/e2e/workbench-general/sidebar-capabilities.spec.ts@@ -3,8 +3,10 @@ import { expect, test } from '@playwright/test';import { DESKTOP, open, serveProduct } from './support';for (const copy of [- { lang: 'en', capabilities: 'Capabilities', search: 'Search', inbox: 'Inbox', close: 'Close Settings' },- { lang: 'zh', capabilities: '能力', search: '搜索', inbox: '收件箱', close: '关闭设置' },+ { lang: 'en', capabilities: 'Capabilities', search: 'Search', inbox: 'Inbox', close: 'Close Settings',+ brand: 'Agent OS · Workbench', add: 'Open project' },+ { lang: 'zh', capabilities: '能力', search: '搜索', inbox: '收件箱', close: '关闭设置',+ brand: 'Agent OS · 工作台', add: '打开项目' },] as const) {test(`capability navigation survives retained Settings (${copy.lang})`, async ({ page }, info) => {const denied = await serveProduct(page, copy.lang);@@ -14,9 +16,16 @@ for (const copy of [const sidebar = page.locator('aside.fixed');const toggle = sidebar.getByRole('button', { name: copy.capabilities, exact: true });const destinations = sidebar.locator('#workbench-capability-nav a');- await expect(sidebar.getByText('Agent OS', { exact: true })).toBeVisible();+ await expect(sidebar.getByText(copy.brand, { exact: true })).toBeVisible();await expect(toggle).toHaveAttribute('aria-expanded', 'true');await expect(destinations).toHaveCount(4);+ // Search is a Projects-header icon immediately before the add control, and+ // the palette entry is not gated on being able to create a project.+ const search = sidebar.getByRole('button', { name: copy.search, exact: true });+ const add = sidebar.getByRole('button', { name: copy.add, exact: true });+ await expect(search).toBeVisible();+ expect(await search.evaluate((node, other) => node.compareDocumentPosition(other)+ === Node.DOCUMENT_POSITION_FOLLOWING, await add.elementHandle())).toBe(true);await toggle.click();await expect(toggle).toHaveAttribute('aria-expanded', 'false');diff --git a/ui/e2e/workbench-general/standalone-settings.spec.ts b/ui/e2e/workbench-general/standalone-settings.spec.tsindex c1e8323c9..e75a1aa61 100644--- a/ui/e2e/workbench-general/standalone-settings.spec.ts+++ b/ui/e2e/workbench-general/standalone-settings.spec.ts@@ -23,7 +23,10 @@ const caps = {};const editor = { remote: true, authenticated: true, authorization_state: 'current',instance_kind: 'organization', instance_role: 'editor', capabilities: caps };-const textarea = (page: Page) => page.getByPlaceholder('Describe a task or ask a question...');+const textarea = (page: Page) => page.getByPlaceholder('Tell the agent what you want…');+// The home's own project row, not the sidebar tree.+const homeProject = (page: Page, name: string) =>+ page.locator('main#app-shell-scroll').getByRole('button', { name, exact: true });const settings = (page: Page) => page.locator('[data-settings-overlay="true"]');const rail = (page: Page) => page.getByRole('navigation', { name: 'Settings sections' });const toggle = (page: Page) => page.locator('aside [data-settings-toggle="true"]');@@ -94,9 +97,8 @@ test('C-SETTINGS-02: preserves picked Agent/workspace, Unicode draft and historyawait page.setViewportSize({ width: 1366, height: 768 });await open(page, '/');await textarea(page).fill(draft);- const workspace = page.getByRole('button', { name: /^Workspace: / });+ const workspace = homeProject(page, '星河项目');await workspace.click();- await page.locator('[data-radix-popper-content-wrapper]').getByRole('button', { name: '星河项目', exact: true }).click();const agent = page.getByRole('button', { name: /codex|claude/ }).first();await agent.click();await page.locator('[data-radix-popper-content-wrapper]').getByRole('button', { name: 'claude', exact: true }).click();@@ -113,7 +115,8 @@ test('C-SETTINGS-02: preserves picked Agent/workspace, Unicode draft and historyawait expect(page).toHaveURL(`${origin}/`);await expect(textarea(page)).toHaveValue(draft);await expect(textarea(page)).toHaveAttribute('data-origin-instance', 'preserved');- await expect(workspace).toHaveAccessibleName('Workspace: /fixture/星河项目');+ // The mint fill is how the shared picker marks the resolved target.+ await expect(workspace).toHaveClass(/bg-mint-soft/);await expect(agent).toContainText('claude');await expect(toggle(page)).toBeFocused();expect(await page.evaluate(() => window.history.state.idx)).toBe(index);diff --git a/ui/src/components/Workbench.test.tsx b/ui/src/components/Workbench.test.tsxindex 8b7da3d0e..91278786d 100644--- a/ui/src/components/Workbench.test.tsx+++ b/ui/src/components/Workbench.test.tsx@@ -208,17 +208,17 @@ describe('Workbench first-task home', () => {expect(await screen.findByText('chat-page')).toBeTruthy();});- it('opens the folder picker straight from the workspace chip and keeps the draft when it is cancelled', async () => {+ it('shows the real project row and reaches the folder picker from it without a menu', async () => {const user = userEvent.setup();renderHome();await user.type(input(), '帮我看看这个仓库');- const chip = screen.getByRole('button', { name: `Workspace: ${项目.folder_path}` });- expect(chip.getAttribute('title')).toBe(项目.folder_path);- expect(chip.textContent).toContain(项目.display_name);+ // The row names the instance's own projects, so where the session lands is+ // readable before anything is typed.+ expect(screen.getByRole('button', { name: 项目.display_name })).toBeTruthy();- await user.click(chip);- // No menu in between: the chip reaches the folder picker itself.+ // No menu in between: the row reaches the folder picker itself.+ await user.click(screen.getByRole('button', { name: en.newSession.newProject }));expect(screen.getByRole('dialog', { name: 'directory-browser' })).toBeTruthy();await user.click(screen.getByText('cancel-folder'));@@ -226,6 +226,11 @@ describe('Workbench first-task home', () => {expect(input().value).toBe('帮我看看这个仓库');expect(newSession.setSelected).not.toHaveBeenCalled();expect(newSession.upsertSelectProject).not.toHaveBeenCalled();++ // Picking one is a real selection, not a decoration.+ await user.click(screen.getByRole('button', { name: 项目.display_name }));+ expect(newSession.setSelected).toHaveBeenCalledWith(项目.id);+ expect(input().value).toBe('帮我看看这个仓库');});it('keeps the draft when the Agent route changes', async () => {diff --git a/ui/src/components/Workbench.tsx b/ui/src/components/Workbench.tsxindex f9363fa97..1542f2349 100644--- a/ui/src/components/Workbench.tsx+++ b/ui/src/components/Workbench.tsx@@ -1,7 +1,7 @@import { useEffect, useState } from 'react';import { Trans, useTranslation } from 'react-i18next';import { Link, Navigate, useLocation, useNavigate } from 'react-router-dom';-import { Bot, ChevronDown, Clock, FolderOpen, Smartphone } from 'lucide-react';+import { Activity, Bot, FolderPlus, Smartphone, Sparkles } from 'lucide-react';import { useRouteSurfaceActive } from '../lib/routeSurfaceActivity';import { useNewSession } from '../lib/useNewSession';@@ -11,12 +11,15 @@ import { ProjectPicker } from './workbench/ProjectPicker';import { AgentRoutePicker } from './workbench/AgentRoutePicker';import { ReadyBanner } from './workbench/ReadyBanner';import { shouldShowReadyBanner, useBackendReadiness, useSetupHandoff } from './workbench/backendReadiness';-import { Popover, PopoverContent, PopoverTrigger } from './ui/popover';import { useInstanceAuthorization } from '../context/InstanceAuthorizationContext';import { canCreateLocalProject } from '../lib/sessionInfo';-import logoImg from '../assets/logo.png';import { CreateViaChatDialog } from './workbench/CreateViaChatDialog';-import { Button } from './ui/button';++// The pill treatment the approved home puts under the heading. Disabled styling+// is this home's own: the reference never shows a send in flight, but a pill+// that stays lit while it is inert would be lying.+const SUGGESTION_PILL_CLASS = 'group flex items-center gap-2 rounded-full border border-border-strong bg-surface px-3 py-2 text-[12px] text-foreground transition hover:border-mint/40 hover:bg-mint-soft hover:text-mint-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50';+const SUGGESTION_ICON_CLASS = 'size-3.5 text-muted group-hover:text-mint-ink';// The home owns one unsent draft. Files and voice stay in its Composer until// explicit Send binds the selected project/Agent and commits the first message.@@ -38,7 +41,6 @@ export const Workbench: React.FC = () => {errorText: t,});const [newProjectOpen, setNewProjectOpen] = useState(false);- const [workspaceMenuOpen, setWorkspaceMenuOpen] = useState(false);const [newTaskOpen, setNewTaskOpen] = useState(false);// The wizard hands `{ onboardingCompleted: true }` to this route. That is an@@ -92,132 +94,107 @@ export const Workbench: React.FC = () => {if (!capabilities.can_chat) return <Navigate to="/projects" replace />;- const workspaceLabel = ns.target?.display_name ?? t('workbench.home.chooseWorkspace');- const workspaceChipClass = 'flex h-7 min-w-0 max-w-full sm:max-w-[220px] items-center gap-1.5 rounded-md px-2 text-[12px] text-muted transition-colors hover:bg-foreground/[0.06] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50';- const workspaceChipBody = (- <>- <span className="min-w-0 truncate">{workspaceLabel}</span>- <ChevronDown className="size-3 shrink-0" />- </>- );- // One affordance, two contents by capability. Opening folders is how a- // workspace is chosen (design: the chip opens the directory browser directly,- // with no menu in between); someone who cannot open folders still has to be- // able to pick among the projects they already have, so the same chip lists- // them instead of becoming a control that does nothing.- const workspaceChip = canCreateProject ? (- <button- type="button"- onClick={() => setNewProjectOpen(true)}- disabled={ns.sending}- title={ns.target?.folder_path}- aria-label={ns.target ? t('workbench.home.workspaceAria', { path: ns.target.folder_path }) : t('workbench.home.chooseWorkspace')}- className={workspaceChipClass}- >- {workspaceChipBody}- </button>- ) : (- <Popover open={workspaceMenuOpen} onOpenChange={setWorkspaceMenuOpen}>- <PopoverTrigger asChild>- <button- type="button"- disabled={ns.sending || ns.projects.length === 0}- title={ns.target?.folder_path}- aria-label={ns.target ? t('workbench.home.workspaceAria', { path: ns.target.folder_path }) : t('workbench.home.chooseWorkspace')}- className={workspaceChipClass}- >- {workspaceChipBody}- </button>- </PopoverTrigger>- <PopoverContent align="start" className="w-[320px] p-2">- <ProjectPicker- projects={ns.projects}- targetId={ns.target?.id}- onSelect={(id) => {- ns.setSelected(id);- setWorkspaceMenuOpen(false);- }}- onNewProject={() => setNewProjectOpen(true)}- disabled={ns.sending}- />- </PopoverContent>- </Popover>- );-return (- // Desktop: the discovery block is centred in whatever height is left and the- // composer sits at the bottom (design rhythm — not a fixed block plus a fixed- // gap). Mobile DOESN'T get the tall centred column: it fights the iOS- // keyboard. There the block flows from the top and the composer pins itself- // to the bottom of the scroll area instead (see below).- //- // The column is fluid. 856 in the source is what a 1200 staging window minus- // the 248 sidebar and its padding happens to leave — no max width is- // expressed anywhere in the design, so none is imposed here.- <div className="flex w-full flex-col gap-6 md:min-h-[calc(100dvh-4rem)]">+ // Desktop centres the card and the input column as one group. Mobile+ // DOESN'T get the tall centred container: it fights the iOS keyboard+ // (focusing the composer leaves a big gap / pushes it off-screen).+ // Top-aligned normal flow lets iOS scroll the focused composer into view+ // above the keyboard the way it does for any in-flow input, and the shell+ // already keeps the tab bar clear of the bottom of this page.+ <div className="flex w-full flex-col items-center gap-5 md:min-h-[calc(100dvh-7rem)] md:justify-center">{showReadyBanner && currentBackend && (- <ReadyBanner backend={currentBackend} onDismiss={dismissReadyBanner} />+ <div className="w-full max-w-[640px]">+ <ReadyBanner backend={currentBackend} onDismiss={dismissReadyBanner} />+ </div>)}- <div className="flex flex-col items-center justify-center gap-6 py-6 md:flex-1 md:py-0">- <div className="flex flex-col items-center gap-4 text-center">- <img src={logoImg} alt="" aria-hidden="true" className="h-12 w-16 object-contain" />- <h1 className="text-[clamp(22px,4vw,30px)] font-semibold text-foreground">{t('workbench.home.heroTitle')}</h1>- <p className="max-w-[520px] text-[14px] leading-[1.5] text-muted">{t('workbench.home.heroBody')}</p>+ {/* Welcome card — a centred bounded panel, not a full-bleed fill. */}+ <div className="flex w-full max-w-[640px] flex-col items-center gap-6 rounded-2xl border border-border bg-surface-2 px-6 py-10">+ <div className="flex size-14 items-center justify-center rounded-2xl border border-mint/40 bg-mint-soft text-mint-ink shadow-glow-md-mint">+ <Sparkles className="size-6" /></div>-+ <div className="flex max-w-[520px] flex-col items-center gap-3 text-center">+ <h1 className="text-[22px] font-semibold text-foreground">{t('workbench.home.heroTitle')}</h1>+ <p className="text-[13px] leading-[1.55] text-muted">{t('workbench.home.heroBody')}</p>+ </div>+ {/* Three first moves. Each one keeps the owner this home already has:+ the directory browser, the Agents route and the background-task+ dialog — the pills restore the look, not an older destination. */}<div className="flex flex-wrap items-center justify-center gap-2">- <Button variant="outline" size="sm" disabled={ns.sending}- onClick={() => canCreateProject ? setNewProjectOpen(true) : setWorkspaceMenuOpen(true)}>- <FolderOpen className="size-4" />{t('workbench.home.openProject')}- </Button>+ {canCreateProject && (+ <button+ type="button"+ onClick={() => setNewProjectOpen(true)}+ disabled={ns.sending}+ className={SUGGESTION_PILL_CLASS}+ >+ <FolderPlus className={SUGGESTION_ICON_CLASS} />+ <span>{t('workbench.home.openProject')}</span>+ </button>+ )}{capabilities.can_manage_agents && (- <Button variant="outline" size="sm" asChild>- <Link to="/agents"><Bot className="size-4" />{t('workbench.home.manageAgents')}</Link>- </Button>+ // A route, so it still opens in a new tab on middle-click.+ <Link to="/agents" className={SUGGESTION_PILL_CLASS}>+ <Bot className={SUGGESTION_ICON_CLASS} />+ <span>{t('workbench.home.manageAgents')}</span>+ </Link>)}- <Button variant="outline" size="sm" disabled={ns.sending} onClick={() => setNewTaskOpen(true)}>- <Clock className="size-4" />{t('workbench.home.createTask')}- </Button>+ <button+ type="button"+ onClick={() => setNewTaskOpen(true)}+ disabled={ns.sending}+ className={SUGGESTION_PILL_CLASS}+ >+ <Activity className={SUGGESTION_ICON_CLASS} />+ <span>{t('workbench.home.createTask')}</span>+ </button></div></div>- {/* Keep the action row above the mobile tab bar while the content scrolls. */}- <div className="flex flex-col gap-4 pb-2 max-md:sticky max-md:bottom-[var(--mobile-nav-clearance)] max-md:z-10 max-md:bg-background max-md:pt-3">- {/* A card that scrolls behind an opaque block reads as cut in half. The- short fade above it says "passing behind", which is what happens. */}- <div- aria-hidden- className="pointer-events-none absolute inset-x-0 -top-4 h-4 bg-gradient-to-t from-background to-transparent md:hidden"- />+ {/* Input — the project chips and the Agent picker stand above the shared+ Composer, so where the session lands and which Agent runs it are both+ visible before anything is typed. */}+ <div className="flex w-full max-w-[640px] flex-col gap-3">+ {ns.projects.length > 0 && (+ <ProjectPicker+ projects={ns.projects}+ targetId={ns.target?.id}+ onSelect={ns.setSelected}+ onNewProject={() => setNewProjectOpen(true)}+ disabled={ns.sending}+ />+ )}+ <div className="flex min-w-0 flex-col gap-2">+ <div className="font-mono text-[11px] font-bold uppercase tracking-[0.08em] text-muted">{t('newSession.agent')}</div>+ <AgentRoutePicker+ value={ns.agentRoute}+ agents={ns.agents}+ onChange={ns.setAgentRoute}+ defaultLabel={ns.effectiveDefaultAgentName+ ? t('newSession.defaultAgentNamed', { name: ns.effectiveDefaultAgentName })+ : t('newSession.defaultAgent')}+ disabled={ns.sending}+ align="start"+ // Fill the column on mobile (≈ full screen); on desktop hug content+ // and cap at 62% so it reads like the compact Chat-header picker+ // instead of a full-width 640px bar. self-start defeats the flex-col+ // stretch that would otherwise force the trigger to the column width.+ triggerClassName="max-w-full sm:max-w-[62%] sm:self-start"+ />+ </div><ComposerstageMediaonSend={send}placeholder={t('workbench.home.inputPlaceholder')}disabled={ns.sending || !ns.loaded}sendDisabled={Boolean(ns.uncertainSessionId)}- actions={- <>- <AgentRoutePicker- value={ns.agentRoute}- agents={ns.agents}- onChange={ns.setAgentRoute}- defaultLabel={ns.effectiveDefaultAgentName- ? t('newSession.defaultAgentNamed', { name: ns.effectiveDefaultAgentName })- : t('newSession.defaultAgent')}- disabled={ns.sending}- align="start"- triggerClassName="h-7 min-w-0 max-w-full sm:max-w-[240px] rounded-md border-transparent bg-transparent px-2 py-0 hover:bg-foreground/[0.06]"- />- {workspaceChip}- </>- }+ className="max-w-[640px]"/>{ns.needsProject && (<div className="px-2 text-[10.5px] text-gold-ink">{t('workbench.home.noProjectForChat')}</div>)}{ns.error && (- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">+ <div className="mt-1 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">{ns.error}{ns.uncertainSessionId && (<Link className="ml-2 underline underline-offset-2" target="_blank" rel="noopener noreferrer"diff --git a/ui/src/components/workbench/WorkbenchSidebar.inbox.test.tsx b/ui/src/components/workbench/WorkbenchSidebar.inbox.test.tsxindex 3445e9148..498a3ed5a 100644--- a/ui/src/components/workbench/WorkbenchSidebar.inbox.test.tsx+++ b/ui/src/components/workbench/WorkbenchSidebar.inbox.test.tsx@@ -1,13 +1,12 @@/* @vitest-environment jsdom */import { createInstance } from 'i18next';-import { cleanup, render, screen } from '@testing-library/react';+import { cleanup, render, screen, within } from '@testing-library/react';import userEvent from '@testing-library/user-event';import { I18nextProvider, initReactI18next } from 'react-i18next';import { MemoryRouter } from 'react-router-dom';import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';import { RouteSurfaceActivityBoundary } from '../RouteSurfaceActivityBoundary';-import { tabModifierLabel } from '../../apps/appLaunch';const inbox = vi.hoisted(() => ({totalUnread: 0,@@ -23,6 +22,9 @@ const hookCalls = vi.hoisted(() => ({const capabilities = vi.hoisted(() => ({can_chat: true,can_manage_projects: true,+ // Project creation is `can_manage_projects && can_use_files`; both are named so+ // a case can withhold creation alone and still watch Search stay reachable.+ can_use_files: true,can_use_agents: true,can_use_skills: true,can_use_vault_secrets: true,@@ -96,6 +98,7 @@ beforeEach(() => {Object.assign(capabilities, {can_chat: true,can_manage_projects: true,+ can_use_files: true,can_use_agents: true,can_use_skills: true,can_use_vault_secrets: true,@@ -114,7 +117,8 @@ describe('Workbench sidebar inbox counter', () => {const link = screen.getByRole('link', { name: en.workbench.nav.inbox });// A zero badge is still a badge — an empty inbox draws no attention at all.expect(link.textContent).toBe(en.workbench.nav.inbox);- expect(inboxIcon().getAttribute('class')).toContain('text-muted');+ // Cyan is the unread read; the resting row is plain foreground ink.+ expect(inboxIcon().getAttribute('class')).toContain('text-foreground');expect(inboxIcon().getAttribute('class')).not.toContain('text-cyan-ink');});@@ -135,10 +139,22 @@ describe('Workbench sidebar inbox counter', () => {expect(screen.getByRole('link', { name: en.workbench.nav.inbox }).textContent).toBe(`${en.workbench.nav.inbox}99+`);});- it('shows the platform-appropriate search shortcut', () => {- renderSidebar();-- expect(screen.getByText(`${tabModifierLabel()}K`)).toBeTruthy();+ it('keeps Search in the Projects header, before New Project and without needing it', async () => {+ const user = userEvent.setup();+ const onOpenSearch = vi.fn();+ const { rerender } = renderSidebar(true, onOpenSearch);++ const header = screen.getByText(en.workbench.projectsLabel).parentElement!;+ expect(within(header).getAllByRole('button').map((button) => button.getAttribute('aria-label')))+ .toEqual([en.workbench.search.entry, en.workbench.addProject]);++ // Search is not a project-creation affordance: withholding creation must+ // take the add control away and leave the palette entry exactly where it is.+ capabilities.can_use_files = false;+ rerender(sidebarElement(true, onOpenSearch));+ expect(screen.queryByRole('button', { name: en.workbench.addProject })).toBeNull();+ await user.click(within(header).getByRole('button', { name: en.workbench.search.entry }));+ expect(onOpenSearch).toHaveBeenCalledOnce();});it('withdraws feed and tree activation while the retained sidebar is hidden', () => {@@ -163,7 +179,7 @@ describe('Workbench sidebar capability navigation', () => {const toggle = screen.getByRole('button', { name: en.nav.capabilities });expect(toggle.getAttribute('aria-expanded')).toBe('true');- expect(screen.getByRole('link', { name: `${en.appShell.title} Agent OS` }).getAttribute('href')).toBe('/');+ expect(screen.getByRole('link', { name: `${en.appShell.title} ${en.appShell.subtitle}` }).getAttribute('href')).toBe('/');expect(screen.getByRole('navigation').id).toBe(toggle.getAttribute('aria-controls'));for (const name of destinations) expect(screen.getByRole('link', { name })).toBeTruthy();diff --git a/ui/src/components/workbench/WorkbenchSidebar.tsx b/ui/src/components/workbench/WorkbenchSidebar.tsxindex 2a2273ba2..f353b215b 100644--- a/ui/src/components/workbench/WorkbenchSidebar.tsx+++ b/ui/src/components/workbench/WorkbenchSidebar.tsx@@ -29,7 +29,6 @@ import type { LucideIcon } from 'lucide-react';import { useRouteSurfaceActive } from '../../lib/routeSurfaceActivity';import { useLatestRef } from '../../lib/useLatestRef';-import { tabModifierLabel } from '../../apps/appLaunch';import { useWorkbenchInbox } from '../../context/WorkbenchInboxContext';import { useWorkbenchProjectsActions, useWorkbenchProjectsTree } from '../../context/WorkbenchProjectsContext';@@ -70,9 +69,10 @@ const CAPABILITY_NAV: CapabilityNavItem[] = [{ to: '/vaults', i18nKey: 'workbench.nav.vaults', icon: KeyRound },];-// One navigation row (design m8K59, 216 x 40). Selected / hover / default are the-// three states the approved source draws, each on its own token so Light and Dark-// follow the table instead of a hard-coded neon.+// One capability row, in the approved compact treatment: a 13px medium label+// behind a 16px icon on a rounded-lg row, with mint reserved for the selected+// state. The mint and foreground opacities are the approved reference's own and+// already follow the theme; they are not interchangeable with the nav tokens.const SidebarNavRow: React.FC<{to: string;end?: boolean;@@ -84,10 +84,10 @@ const SidebarNavRow: React.FC<{end={end}className={({ isActive }) =>clsx(- 'group flex h-10 items-center gap-2.5 rounded-xl border px-3 text-[13px] transition-colors',+ 'group flex items-center gap-2.5 rounded-lg border px-3 py-2 text-[13px] font-medium transition-colors',isActive- ? 'border-[var(--nav-selected-border)] bg-[var(--nav-selected-bg)] font-semibold text-foreground shadow-[var(--shadow-glow-nav-mint)]'- : 'border-transparent font-medium text-muted hover:bg-[var(--nav-hover-bg)] hover:text-foreground',+ ? 'border-mint/30 bg-mint/[0.08] text-foreground shadow-glow-sm-mint'+ : 'border-transparent text-muted hover:bg-foreground/[0.04] hover:text-foreground',)}>@@ -95,7 +95,7 @@ const SidebarNavRow: React.FC<{<><IconclassName={clsx(- 'size-[17px] shrink-0',+ 'size-4 shrink-0',isActive ? 'text-mint-ink' : 'text-muted group-hover:text-foreground',)}/>@@ -804,13 +804,15 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp}, [totalUnread]);// Fill the sidebar column and cap its height so the project list (and only the- // project list) scrolls; the brand row and navigation stay pinned. The Inbox- // hover popover stays OUT of any overflow box below, so it is never clipped.+ // project list) scrolls; the brand row, Inbox and Capabilities stay pinned. The+ // Inbox hover popover stays OUT of any overflow box below, so it is never clipped.return (- <div className="flex min-h-0 flex-1 flex-col gap-4">- {/* Brand row tLDP1 — the whole brand opens the new-conversation home.- Search and Inbox live in full-width rows below it so the shell keeps one- clear reading order at every supported sidebar width. */}+ <div className="flex min-h-0 flex-1 flex-col gap-2.5">+ {/* Brand row tLDP1 — the whole brand opens the new-conversation home. The+ mark keeps the approved chip treatment (32px, mint hairline over a+ mint well, resting glow that strengthens on hover) inside this+ sidebar's own padding, so the adjustable width still governs the+ column. Search is a compact icon in the Projects header below. */}<div className="flex shrink-0 items-center py-2"><Linkto="/"@@ -822,52 +824,49 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOpsrc={logoImg}alt=""aria-hidden="true"- className="h-9 w-[38px] shrink-0 rounded-[7px] border border-mint/35 bg-[var(--logo-well-background)] object-cover transition-shadow group-hover:shadow-glow-sm-mint"+ className="size-8 shrink-0 rounded-lg border border-mint/35 bg-mint/[0.08] object-cover shadow-glow-sm-mint transition-shadow group-hover:shadow-glow-md-mint"/><div className="min-w-0 leading-tight"><div className="truncate text-[13px] font-semibold text-foreground">{t('appShell.title')}</div>- <div className="truncate text-[11px] text-muted">{t('workbench.eyebrow')}</div>+ <div className="truncate text-[11px] text-muted">{t('appShell.subtitle')}</div></div></Link></div>- <Button- type="button"- variant="ghost"- className="h-9 w-full justify-start rounded-lg px-2.5 text-[13px] text-muted hover:text-foreground"- aria-label={t('workbench.search.entry')}- onClick={onOpenSearch}- >- <Search className="size-[17px]" />- <span>{t('workbench.search.entry')}</span>- <kbd className="ml-auto rounded border border-border-strong px-1.5 py-0.5 font-mono text-[10px] font-medium text-muted">{tabModifierLabel()}K</kbd>- </Button>-{/* Inbox entry — hover opens the floating popover (portaled above the chat).- At zero unread there is no badge node at all and the icon stays muted;- both reads come from the same real counter. */}+ Search is a compact icon in the Projects header below, so this row keeps+ the full width the approved design gives it. At zero unread there is no+ badge node at all and the icon stays uncoloured; both reads come from+ the same real counter. */}<Popover open={popoverOpen} onOpenChange={(open) => { if (!open) setPopoverOpen(false); }}><PopoverAnchor asChild><div className="w-full" onMouseEnter={openPopover} onMouseLeave={queueClose}><NavLinkto="/inbox"aria-label={t('workbench.nav.inbox')}- className="relative flex h-9 w-full items-center gap-2.5 rounded-lg px-2.5 text-[13px] transition-colors hover:bg-[var(--nav-hover-bg)]"+ className={({ isActive }) =>+ clsx(+ 'group flex w-full items-center gap-2.5 rounded-lg border px-3 py-2.5 text-[13px] font-semibold transition-colors',+ // Cyan active state per design.pen ze15A — mint is reserved+ // for sessions / projects so the two reads stay distinct.+ isActive+ ? 'border-cyan/40 bg-cyan-soft text-foreground shadow-glow-sm-cyan'+ : 'border-border-strong text-foreground hover:bg-foreground/[0.04]',+ )+ }>{({ isActive }) => (<>- <Inbox- className={clsx(- 'size-[17px]',- badge ? 'text-cyan-ink' : isActive ? 'text-foreground' : 'text-muted',- )}- />- <span className={clsx(isActive ? 'font-semibold text-foreground' : 'font-medium text-muted')}>{t('workbench.nav.inbox')}</span>+ {/* Cyan is what unread means here, so the counter colours the+ icon on any route — not only while Inbox is the open one. */}+ <Inbox className={clsx('size-4', badge || isActive ? 'text-cyan-ink' : 'text-foreground')} />+ <span className="flex-1">{t('workbench.nav.inbox')}</span>{badge && (- <span className="ml-auto inline-flex min-w-[18px] items-center justify-center rounded-full border border-surface bg-cyan px-[4px] font-mono text-[9px] font-bold leading-[14px] text-primary-foreground">+ <span className="inline-flex min-w-[1.25rem] items-center justify-center rounded-full bg-cyan px-1.5 py-0.5 font-mono text-[9px] font-bold text-accent-foreground shadow-glow-xs-cyan">{badge}</span>)}+ <ChevronRight className="size-3.5 text-muted opacity-0 transition-opacity group-hover:opacity-100" /></>)}</NavLink>@@ -886,19 +885,22 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp/></Popover>- {/* Navigation m8K59 — the home brand is the new-conversation entry, so- capability destinations are the only rows in this group. */}+ {/* Capabilities m8K59 — a collapsible group, so a long project list can+ reclaim the rows. The label leads and the chevron closes the row on the+ right, matching the Projects header below. Only the destinations the+ current authorization admits are rendered, and the header disappears+ with them. */}{capabilityNav.length > 0 && (- <div className="flex shrink-0 flex-col gap-1">+ <div className="flex shrink-0 flex-col gap-1.5"><buttontype="button"- className="group flex h-7 items-center gap-1 px-1 font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-muted transition-colors hover:text-foreground"+ className="group flex items-center gap-1 px-1 font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-muted transition-colors hover:text-foreground"aria-expanded={capabilitiesOpen}aria-controls="workbench-capability-nav"onClick={() => setCapabilitiesOpen((open) => !open)}>- {capabilitiesOpen ? <ChevronDown className="size-3" /> : <ChevronRight className="size-3" />}- <span>{t('nav.capabilities')}</span>+ <span className="flex-1 text-left">{t('nav.capabilities')}</span>+ <ChevronDown className={clsx('size-3.5 shrink-0 transition-transform', !capabilitiesOpen && '-rotate-90')} /></button>{capabilitiesOpen && (<nav id="workbench-capability-nav" className="flex flex-col gap-0.5">@@ -910,23 +912,39 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp</div>)}- {/* Projects section t7o96 — the label on the left and the create- affordance on the right; Search has its own row below the brand. */}+ {/* Projects section t7o96 — the label on the left (matching the+ Capabilities label style) and the borderless search + add icons grouped+ on the right. Search sits immediately before add and stays reachable+ for everyone who could reach it before, including the people this+ instance does not let create a project; ⌘K still opens the same+ palette from anywhere. */}<div className="flex min-h-0 flex-1 flex-col gap-1.5"><div className="flex items-center justify-between px-1">- <span className="font-mono text-[10px] font-bold uppercase tracking-[0.16em] text-muted">+ <span className="font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-muted">{t('workbench.projectsLabel')}</span>- {canCreateProject && <Button- type="button"- variant="ghost"- size="icon"- className="size-[22px] shrink-0 text-muted hover:text-foreground"- aria-label={t('workbench.addProject')}- onClick={() => setShowNewProject(true)}- >- <FolderPlus className="size-[15px]" />- </Button>}+ <div className="flex items-center gap-0.5">+ <Button+ type="button"+ variant="ghost"+ size="icon"+ className="size-7 shrink-0 text-muted hover:text-foreground"+ aria-label={t('workbench.search.entry')}+ onClick={onOpenSearch}+ >+ <Search className="size-4" />+ </Button>+ {canCreateProject && <Button+ type="button"+ variant="ghost"+ size="icon"+ className="size-7 shrink-0 text-muted hover:text-foreground"+ aria-label={t('workbench.addProject')}+ onClick={() => setShowNewProject(true)}+ >+ <FolderPlus className="size-4" />+ </Button>}+ </div></div><div className="flex min-h-0 flex-1 flex-col gap-0.5 overflow-y-auto pr-0.5">diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex ddba01526..511a525c8 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -2480,8 +2480,8 @@"placeholderTitle": "Your AI workbench is coming together","placeholderBody": "Agents, Skills, Harness, and Vaults will live here. For now, jump into the control panel to configure platforms and backends.","home": {- "heroTitle": "What would you like to build today?",- "heroBody": "Pick a starting point, or describe your own task",+ "heroTitle": "What should we build today?",+ "heroBody": "Describe what you want and an agent will run it. Or start with one of the suggestions below.","suggestions": {"exploreTitle": "Explore a project","exploreBody": "Get to know your project's structure",@@ -2493,12 +2493,10 @@"planBody": "Turn your goal into a step-by-step plan","planDraft": "Help me turn this goal into a concrete step-by-step plan"},- "inputPlaceholder": "Describe a task or ask a question...",+ "inputPlaceholder": "Tell the agent what you want…","openProject": "Open project",- "manageAgents": "Manage Agents",- "createTask": "Create background task",- "chooseWorkspace": "Choose a workspace",- "workspaceAria": "Workspace: {{path}}",+ "manageAgents": "Manage agents",+ "createTask": "Schedule background work","noProjectForChat": "No projects yet — add one before starting a chat","ready": "{{backend}} is ready to go","readyDismiss": "Dismiss",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 16b372714..8bca87c7c 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -2481,7 +2481,7 @@"placeholderBody": "Agents、Skills、Harness、Vaults 将会汇聚到这里。现在先进控制面板配置平台和 backend。","home": {"heroTitle": "今天想搭点什么?",- "heroBody": "从一个真实任务开始,助手可以规划、研究和构建",+ "heroBody": "在下面输入想做的事,Agent 会按你的描述执行。你也可以从下面的建议开始。","suggestions": {"exploreTitle": "探索项目","exploreBody": "了解工作区中的文件",@@ -2493,12 +2493,10 @@"planBody": "把目标拆成可执行的下一步","planDraft": "帮我把这个目标拆成具体、可执行的步骤"},- "inputPlaceholder": "给你的助手安排任务…",+ "inputPlaceholder": "和 Agent 聊点什么…","openProject": "打开项目","manageAgents": "管理 Agents","createTask": "建后台任务",- "chooseWorkspace": "选择工作区",- "workspaceAria": "工作区:{{path}}","noProjectForChat": "还没有项目 — 先添加一个,再开始对话","ready": "{{backend}} 已连接,可以开始工作","readyDismiss": "关闭",