Files
deepseek-harness/apps/web/tests/snapshots/lifecycle-chrome/plan-active.expected.md
creatixchu d6231007af cleanup(web): give adding a Workspace one route
Both Workspace surfaces offered "Open local folder…" and "Create a new
workspace" for one outcome. The browse occupant already carries its own
New folder affordance, so picking a directory covered creating one; the
name dialog only added a second vocabulary and a create target the
operator could neither see nor choose.

The surviving entry is named after the outcome — "Add workspace…" — and a
menu now appears only where there is something to choose between: with no
Workspace listed (the add-only sidebar header, or an empty hero list) the
anchor gesture raises the directory flow directly instead of a one-row
popover. An empty list counts as final only after the list baseline lands,
and a composition with no directory-flow occupant hides the sidebar button
rather than offering a dead one.

WorkspaceCreateFlow becomes WorkspacePickFlow (createOnly -> addOnly) and
the injected createWorkspace narrows to { path }. The host's
workspace.create({ name }) branch and `dsh web --workspace-root` lost their
last product consumer; both are marked at the call site for a follow-up.
2026-07-31 15:47:40 +08:00

968 B

  • button "New session"
  • button "Collapse sidebar":
    • img
  • button "New session":
    • img
    • text: New Session
  • text: Workspaces
  • button "Group by":
    • img
  • button "Add workspace":
    • img
  • button "Search sessions":
    • img
  • textbox "Search name, keywords..."
  • tree "Sessions":
    • treeitem "workspace 1 session" [expanded]:
      • img
      • text: workspace 1 session
    • treeitem "New Session" [selected]
  • button "Settings":
    • img
    • text: Settings
  • text: Let's start building
  • button "Choose workspace":
    • img
    • text: workspace
    • img
  • textbox "Describe what you want to build"
  • button "Commands":
    • img
  • 'button "Access mode, current: Full access"': Full access
  • button "Plan mode on, press to turn off": Plan
  • button "Select model, current deepseek-v4-flash":
    • text: deepseek-v4-flash
    • img
  • button "Send message" [disabled]
  • text: Details
  • button "Close details"
  • text: Click a tool row in the message flow to view its details