Skip to content

Expanded SDK to cover many new API endpoints#3

Merged
burgaard merged 2 commits into
mainfrom
2026-03-api-sync
Mar 23, 2026
Merged

Expanded SDK to cover many new API endpoints#3
burgaard merged 2 commits into
mainfrom
2026-03-api-sync

Conversation

@burgaard
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 23, 2026 01:55
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

This PR expands the public Go SDK surface to provide broader endpoint coverage, improved streaming support, and more ergonomic typed models, along with documentation and test updates to match the new API.

Changes:

  • Added many new typed model aliases in types.go to avoid importing the generated package directly.
  • Expanded Client with convenience methods across Agents, Evaluations, KBs, Memory Banks, Sources/Exports, Content, Solutions, Governance, Alerts/Models, Search, and top-level AI assistant endpoints.
  • Improved tooling/tests: specfix now normalizes OpenAPI 3.1 exclusive bounds, and client_typed_test.go adds extensive endpoint/streaming coverage; docs updated accordingly.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
types.go Adds a large set of public type aliases for generated OpenAPI models.
errors.go Adds inline field docs and introduces StreamingError for SSE failures.
doc.go Expands package-level docs: auth, usage examples, and typed error overview.
cmd/specfix/main.go Adds transformation of numeric exclusive bounds (3.1) to 3.0-compatible boolean form.
cmd/specfix/main_test.go Adds tests validating the exclusive bound transformations.
client.go Major expansion of typed convenience methods, default headers support, uploads refactor, polling helper, and channel-based streaming.
client_typed_test.go Updates existing tests and adds many new endpoint/streaming/polling/header tests.
README.md Rewrites/expands documentation and examples to reflect new API surface.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread client.go Outdated
Comment thread client.go
Comment thread client.go Outdated
Comment thread client.go Outdated
Comment thread client.go
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@burgaard burgaard merged commit 782b588 into main Mar 23, 2026
1 check passed
@burgaard burgaard deleted the 2026-03-api-sync 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