feat(workspace): one-line attach toast, and a /workspace Status view for the detail
Merged
RA
2mo ago+2062+2062+0123456789012345678901234567890123456789-234-234-012345678901234567890123456789
Issue for this PR
Closes #1311
Type of change
- New feature
Stacking
Targets main. #1308 (the engine's report this view reads) is merged, so this PR's diff is only its own changes. The backend attach report (#1310) is not in this PR.
What does this PR do?
The attach toast listed every missing tool and reason, which read as noise. Counts go in the toast; the detail moves to a view.
- One-line toast: "2 of 9 integration tools available · 7 need attention. Details: /workspace".
- Attach snapshot per directory, in memory and in a state-dir file, because the TUI plugin runs in another process. Bounded to 64 directories.
- /workspace → Status (first row, headline read from the snapshot): one row per integration with counts and reasons, its tools beneath. Renders from the snapshot alone if the API is unreachable.
- Sidebar tile and the workspace-mode boot box show the same headline.
Claims
- C1 The toast never names a tool or a reason.
- C2 The view, menu, sidebar and toast derive their numbers the same way from the same snapshot.
- C3 The snapshot crosses the process boundary.
- C4 A snapshot from a workspace the project was re-linked away from is never shown.
- C5 No network before the menu opens.
- C6 Outside workspace mode the boot box is unchanged.
Residuals
- R1 Custom integrations are named "Integration N".
- R2 Headless run prints nothing on attach, as before.
- R3 The sidebar updates on its 30 s poll.
How did you verify your code works?
Typecheck clean in opencode, tui and plugin; workspace suites pass. Live against a local backend with the 0.7.3 engine and a workspace declaring Jira, GitHub, Altimate, Power User and a custom MCP (screenshots below, at 71d390b5a).
Screenshots / recordings
Before (the toast at the base of this stack):

After:





Checklist
- I have tested my changes locally
- I have not included unrelated changes in this PR
🤖 Generated with Claude Code
https://claude.ai/code/session_0172qrhMa5TQgETASi5hxMqD
Summary by CodeRabbit
- New Features
- Added a workspace status view showing integration availability, missing and unreported tools, and reported issues. Refresh the status or open workspace details from the view.
- Added concise integration counts and last-attach information to workspace notifications and the sidebar, with a link to view details.
- Added workspace-aware welcome content with available commands and integration status. The welcome panel indicates when integrations need attention and adapts to available screen space.