Repository navigation
feat(agents): add or remove one connector on an agent - #7903
Open
benjaminshafii wants to merge 1 commit into
Open
benjaminshafii wants to merge 1 commit into
benjaminshafii wants to merge 1 commit into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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 is this about?
One connector can be added to, or removed from, an agent that already exists, in one call or with
openwork agents connectors add|remove. Off by default behindagentConnectorChanges.What problem does it solve?
Changing which connectors an agent uses meant sending the agent's whole tool settings again, which is easy to get wrong and overwrites everything else.
What was the situation before?
How is this implemented?
POST /v1/personal-agents/:id/connectorsandDELETE /v1/personal-agents/:id/connectors/:connectionIdinroutes/personal-agents/permissions.ts; logic inpersonal-agents/connector-changes.ts.openwork agents connectors list|add|remove.packages/features/src/flags/agent-connector-changes.ts,docs/features/agent-connector-changes/README.md.What else changed?
Release note
none
Evidence
personal-agent-connectors.api.test.ts(9 tests against MySQL) and the CLI tests.personal_agent_connector_not_readyand_ambiguousrefusals.