Skip to content

Added support for exporting agent definitions#6

Merged
burgaard merged 2 commits into
mainfrom
agent-export
Apr 2, 2026
Merged

Added support for exporting agent definitions#6
burgaard merged 2 commits into
mainfrom
agent-export

Conversation

@burgaard
Copy link
Copy Markdown
Contributor

@burgaard burgaard commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 04:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support in the Go SDK (and OpenAPI spec) for exporting an agent definition as a portable JSON snapshot, including a new typed response model and a convenience client method.

Changes:

  • Extend the OpenAPI spec with AgentExportResponse and GET /agents/{agent_id}/export.
  • Regenerate the Go OpenAPI client to include the new schema/endpoint (and related spec-driven signature changes).
  • Add a hand-written Client.ExportAgent(...) convenience wrapper and expose the new response type via types.go.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
types.go Exposes AgentExportResponse as a top-level alias for SDK consumers.
openapi/seclai.openapi.json Defines AgentExportResponse schema and the /agents/{agent_id}/export endpoint.
generated/seclai.gen.go Regenerated client/models for the new export endpoint and schema.
client.go Adds ExportAgent convenience method calling /agents/{id}/export.
.github/copilot-instructions.md Adds additional quality gates and workflow rules for contributors/automation.

Comment thread client.go
Comment thread openapi/seclai.openapi.json Outdated
Comment thread openapi/seclai.openapi.json
Comment thread .github/copilot-instructions.md Outdated
@burgaard burgaard merged commit f393038 into main Apr 2, 2026
1 check passed
@burgaard burgaard deleted the agent-export branch May 22, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants