Repository navigation
feat(desktop): conversation work states, granular Office, projects × PRs × Notion - #45
Merged
Merged
Conversation
A one-click target on each workspace (sidebar rows, Ctrl+Tab cards, Office name plates, Hosts page, Workspaces list and board) puts it in focus; ⌘⇧F, the context menus, bulk selection, the command palette and F in Ctrl+Tab do the same. Focused workspaces show a bold name and an indigo target. One shared "Focus" filter narrows the sidebar, Ctrl+Tab, ⌘K, Office, Hosts, Workspaces and Needs you. The Office's "Active" filter (agents not resting) is renamed "Working" so "active" no longer means two things. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts crossed with PRs and Notion Each open conversation now has one work state, the same in the Office, the sidebar and the to-dos panel: waiting for your answer, to check, working, resume with its to-dos, resume later, or done and closable. It is derived from the conversation's own live signals (lifecycle, reports of its latest turn, to-dos, read or not), never from workspace labels. The user pins a state in one click from the to-dos panel or the Office; the host keeps the pin (`conversationStates`, `superset state`) until the agent's next turn. The Office shows only workspaces with open agents, filters by state (with counts), project and Notion project status, groups rooms by folder or by project, and opens a project panel with its PRs, Notion page and specs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for Marius
One work state per conversation, the same everywhere (Office bubble, sidebar dot and tooltip, to-dos panel):
Start(or live subagents). A turn silent for over 1 h without subagents becomes To check insteadRules for "real" states:
Correct it in one click: a state card at the top of the to-dos panel (right panel, popover and inline placements) and in the Office agent panel: current state, why (or "Set by you · 5 min ago" and what automatic would say), four buttons, "Automatic" to undo. "Done, can be closed" offers Close the agent (two clicks, same close flow as the Hosts page).
Pin rule: a pin wins while the agent is not running; the host drops it when the agent starts its next turn (a prompt after a stop or an error; answering a permission continues the turn). Pins follow a resumed conversation to its new terminal.
Office
How
conversation-statesstore (~/.superset/state/conversation-states.json),conversationStates.list/set/clearrouter,host-store:changedevent, a turn watcher that drops pins on a new turn. Older hosts: the app detects the missing procedure and shows the state without pinning ("Update this host to set the state by hand").superset state list|set|clearso agents (and the observer) read and set pins.deriveWorkStateinlib/agent-state/work-state.ts(shared by every surface),useConversationWorkStates,WorkStatePicker. New color var--sb-state-todos(sky) and--sb-state-check(violet); others reuse--sb-state-*.my-pull-requests-state, v4) gainnotionUrlandstatus, seeded for the default projects from the Notion "Projects" database. Workspace → project: pick by hand (office-projects-v1) > its PR's project (same rules and moves as the PR page) > project label > keyword or project name in its name/branch > none. PRs come from the hosts' cached "Mine" read (shared with the Desk viauseCachedMyPullRequests).Not visible in the diff
Checks
bun teston office, agent-state, pull-requests, sidebar, TodosPanel, desk hooks, persisted keys (476 pass); hostconversation-statesstore, watcher and router tests.check:i18nclean, all 16 locales filled.🤖 Generated with Claude Code