Repository navigation
Conversation
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 changed
Imports all eligible connectors and enabled skills returned by the authenticated Anthropic account APIs into third-party Cowork when relay mode is enabled, alongside the workspace plugin and
system.aiMCPs. Inference continues through the configured gateway. The plugin retains its existingug-account-docs@unity-gateway-coworkID for installed users.Configure discovers account connectors and downloads enabled skills, including custom skill archives and supporting files with executable permissions. Names use safe aliases and deterministic collision suffixes. SessionStart refreshes enabled skills and requests
reloadSkills; connector additions or removals require reconfigure and a fresh task.An ownership manifest removes confirmed disabled/deleted skills while preserving other plugin files. Individual download failures retain previous copies for the same organization and skill ID; discovery failures preserve the existing account plugin. Archive validation rejects unsafe paths, symlinks, conflicting files, and excessive downloads.
Managed configure carries Claude's newly configured relay flag and proxy-port state into Cowork sync and subsequent agent setup. Previously, the outer state could retain an earlier non-relay mode, causing Cowork sync to remove account resources even though Desktop had just been configured for relay. Switching away from relay also clears the obsolete state.
The transparent stdio-to-HTTP bridge preserves MCP instructions, schemas, annotations, and results, checking connector eligibility and reading or silently refreshing the existing relay credential. Generated configuration contains no bearer. Disabling relay removes the account plugin on configure; revert cleans up both plugins.
These are undocumented Anthropic APIs. Importing skills does not provide missing native browser, artifact, computer-use, or other tools; some imported skills may depend on capabilities unavailable in this session.
How was it tested?
tytype checks passed.guide, skill listing, and thedocsarchive.google-workspace, invoked the Docs read-only guide, and discovered regular workspace tools in the same task. The installed account Google Drive stdio command also initialized and listed 11 tools through the MCP SDK.Native account Google Drive visibility remains unverified: it was absent from the native connector list despite the successful direct bridge probe, and later inspection found both the account registration and generated source missing. Restoring them after the managed-configure fix and repeated same-session skill reload still require Mac validation. This PR remains draft.