feat(agent-studio): add Agent Studio commands (agents, providers, secret keys)#265
Closed
Nagriar wants to merge 2 commits into
Closed
feat(agent-studio): add Agent Studio commands (agents, providers, secret keys)#265Nagriar wants to merge 2 commits into
Nagriar wants to merge 2 commits into
Conversation
…cret keys Adds `algolia agents` (with `domains` and `conversations` subgroups), `algolia providers`, and `algolia secret-keys` command groups backed by the algoliasearch-client-go agent-studio SDK, wiring a new AgentStudioClient into the command factory. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…a top-level agent-studio command Groups the previously flat `agents`, `providers`, and `secret-keys` commands under `algolia agent-studio` so the Agent Studio surface reads as one cohesive product area instead of three unrelated top-level verbs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 255 |
| Duplication | 340 |
TIP This summary will be updated as you push new changes.
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.
Summary
algolia agent-studiocommand:agent-studio agents—list,get,create,update,delete,publish,unpublish,invalidate-cache,completions, plusdomains(list/get/add/delete/bulk-add/bulk-delete) andconversations(list/get/delete/export) subgroupsagent-studio providers—list,get,create,update,delete,modelsagent-studio secret-keys—list,get,create,update,deleteAgentStudioClientintocmdutil.Factory, backed by thealgoliasearch-client-goagent-studioSDK package.settings/editSettings/admin/logs/search), matching the existing auth-check convention.compositions,crawler): JSON-first output,--confirmon deletes, file-based JSON body input for create/update of complex resources.Test plan
go build ./...go vet ./...go test ./...(all packages pass, including new httpmock-based tests for every command)gofmt -lcleanalgolia agent-studio --help,agent-studio agents get --help,agent-studio providers list --helpand confirmed the old flatagents/providers/secret-keystop-level commands no longer exist🤖 Generated with Claude Code