Skip to content

feat: AI agent workspace API — agents get their own dedicated workspace#39

Merged
hydro13 merged 1 commit intomainfrom
feat/workspace-api
Apr 2, 2026
Merged

feat: AI agent workspace API — agents get their own dedicated workspace#39
hydro13 merged 1 commit intomainfrom
feat/workspace-api

Conversation

@hydro13
Copy link
Copy Markdown
Owner

@hydro13 hydro13 commented Apr 2, 2026

[v0.67.0] - 2026-04-02

Added

  • AI workspaces for agents: OpenClaw or any API-driven agent can now operate in its own dedicated Tandem workspace, keep its tabs separate from Robin's browsing, and persist that workspace across sessions
  • POST /workspaces/:id/activate switches the active workspace via API so Tandem can bring the agent's workspace into view instantly
  • POST /workspaces/:id/tabs moves an existing tab into a workspace by webContents ID
  • POST /tabs/open now accepts inheritSessionFrom and copies IndexedDB data from the source tab into the new tab before reloading the destination, preserving Discord-style IndexedDB-backed logins.

Changed

  • POST /tabs/open now accepts workspaceId, so new tabs can be assigned directly into the agent's workspace at creation time
  • POST /wingman-alert now accepts optional workspaceId, so captcha or takeover alerts can automatically switch Tandem into the right workspace before notifying Robin

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
@hydro13 hydro13 self-assigned this Apr 2, 2026
@hydro13 hydro13 merged commit 27a7a2b into main Apr 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant