config: create an agent without a repository, and move it between the two owners - #113
Merged
Conversation
… two owners An agent is owned either by a file in a repository or by the API, and until now the CLI could only make the first kind. `config create` drops --repo to make an agent that has no file and is live at once; `config edit` and `config delete` change and remove it; `config link` and `config unlink` move an existing agent between the two owners.
Contributor
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed e9d5e0a in 8 minutes, 1 second.
- Reviewed
1commit with273lines of code in6files - Ran
1review agent producing0comments where0were posted - This pipeline runs no gatekeeper, so findings are posted as written.
- View full details on ellipsis.dev
This review was created by . You can tag
@ellipsis in this pull request.
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.
Important
Adds API-managed agents, decoupling agent creation from repository files. Agents can now be owned by either the API (live immediately, edited via CLI) or by a file in a repository (deployed by pull request).
agent config create --file <path>now creates an API-managed agent with no file, live at once (previously--repowas required)agent config create --repo <repo> --file <path>uses the original pull-request-based path for repository-managed agentsagent config edit <id> --file <path>andagent config delete <id>for managing API-owned agentsagent config link <id> --repo <repo>moves an API-managed agent into a repository via pull request (keeps running until merge)agent config unlink <id>takes a repository-managed agent under API control (file stays in place, inert)This description was created by
for e9d5e0a. It will automatically update as commits are pushed.