feat: add agent projects service, resource, and tests - #19
Open
nathaniel-itential wants to merge 4 commits into
Open
feat: add agent projects service, resource, and tests#19nathaniel-itential wants to merge 4 commits into
nathaniel-itential wants to merge 4 commits into
Conversation
Adds AgentProjects service and resource with full test coverage. Registers agent_projects on ResourceBase. No integration model support included. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
import_agent_project unconditionally remapped every agent to a specific
provider profile name, which must already exist on the destination
platform. Instances without that exact profile registered got a 404
("Profile anthropic not found") instead of importing the bundle's own
embedded provider info as-is. Make it an optional parameter, omitted
from the request by default per the API's schema (not required).
…ield
Omitting providerResolutions entirely caused a 500 from the platform.
Match ipctl's behavior: always send an explicit {agent_id: null} entry
per agent so the platform uses each agent's own provider field as-is,
unless the caller explicitly supplies overrides.
Verified end-to-end against a live platform (both via direct API call
and through the real asyncplatform client) before pushing.
…for import and update_members
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.
Adds AgentProjects service and resource with full test coverage. Registers agent_projects on ResourceBase. All tests pass.