feat: AI agent workspace API — agents get their own dedicated workspace#39
Merged
feat: AI agent workspace API — agents get their own dedicated workspace#39
Conversation
What was built/changed: - Added workspace-aware tab opening via POST /tabs/open with workspaceId - Added POST /workspaces/:id/activate and POST /workspaces/:id/tabs - Extended POST /wingman-alert with optional workspaceId for human takeover - Added route tests, version bump to 0.67.0, changelog/docs updates, and skill guidance Why this approach: - Keeps workspace ownership in the existing WorkspaceManager and adds the missing API control surface with minimal regression risk Tested: - npm run verify: passed - Focused route tests for tabs, browser, workspaces: passed - Repeated agents/media flake check: 3/3 passes
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.
[v0.67.0] - 2026-04-02
Added
POST /workspaces/:id/activateswitches the active workspace via API so Tandem can bring the agent's workspace into view instantlyPOST /workspaces/:id/tabsmoves an existing tab into a workspace by webContents IDPOST /tabs/opennow acceptsinheritSessionFromand copies IndexedDB data from the source tab into the new tab before reloading the destination, preserving Discord-style IndexedDB-backed logins.Changed
POST /tabs/opennow acceptsworkspaceId, so new tabs can be assigned directly into the agent's workspace at creation timePOST /wingman-alertnow accepts optionalworkspaceId, so captcha or takeover alerts can automatically switch Tandem into the right workspace before notifying Robin