You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify API keys around workspace scope with per-mount permissions
- Collapse MCP and CLI tokens into one workspace-composition-scoped API
key. Auth dispatch is now by token prefix so the same key works for
both the MCP server and the CLI HTTP API.
- Add per-mount capabilities on workspace keys so /skills can be
read-only while /memory is read-write on the same key. Validated
against the composition manifest at create time.
- New POST /v2/workspaces/:id/api-keys endpoint; MCP server resolves the
composition manifest on auth and routes file_* tool calls by path
prefix to the matching volume, enforcing per-mount capability.
- Frontend: rename MCP -> API Keys (sidebar, route alias at /api-keys),
drop the Access Type radio, single workspace composition picker, per-
volume permission picker. Drop the Type column; scope = Workspace or
Control plane. Filter via dropdown next to Local/Create. Workspace
profile gets a Settings-tab API keys summary; volume Settings keys
panel removed.
- MountsSection Add Volumes dialog now has one permission dropdown per
row instead of a single global setting.
- Read-only mount enforcement: fullReconciler.execUpload rejects writes
for readonly daemons (the real source of the silent-import bug);
mount reconcile planner downgrades local-side ops to Skipped on
readonly and resolves remote-wins conflicts as redownloads; daemon
chmods the mount root to 0o555 after initial sync so shell writes
fail with EACCES.
- Misc: remove "Agent search tools are built in" notice + MCP Endpoint
panel from API Keys page (endpoint lives at /mcp/connect); drop the
"Mounted" tag from the Filesystem table; update empty-state hero copy.
- Plan doc at plans/api-keys-unification.md captures the design pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments