Skip to content

Updated the SDK to handle attachments #minor#9

Merged
burgaard merged 4 commits into
mainfrom
2026-06-04-sync
Jun 5, 2026
Merged

Updated the SDK to handle attachments #minor#9
burgaard merged 4 commits into
mainfrom
2026-06-04-sync

Conversation

@burgaard

@burgaard burgaard commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 04:38

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the JavaScript SDK’s generated OpenAPI types and client surface to reflect new/expanded API capabilities around attachments (agent attachment-reference contracts, multi-upload semantics, and additional run metadata), and adds a couple of new client conveniences/tests.

Changes:

  • Added Seclai.getAgentAttachmentReferences() plus a corresponding unit test and README usage snippet.
  • Added Seclai.deleteExperiment() plus a corresponding unit test and README snippet.
  • Regenerated OpenAPI artifacts and type aliases to include new schemas/fields (e.g., tool call data, insufficient-credits envelope, multi-upload fields).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/client.test.ts Adds request-shape tests for the new client methods.
src/types.ts Adds/updates exported type aliases for new OpenAPI schemas.
src/openapi.ts Regenerated OpenAPI typings for new endpoints/schemas/fields.
src/index.ts Re-exports newly added public type aliases.
src/client.ts Adds getAgentAttachmentReferences() and deleteExperiment() methods.
README.md Documents usage for attachment references and experiment deletion.
openapi/seclai.openapi.json Updates the OpenAPI source spec with new endpoints/schemas/fields.

Comment thread openapi/seclai.openapi.json
Comment thread src/types.ts

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread openapi/seclai.openapi.json
Comment thread openapi/seclai.openapi.json
Copilot AI review requested due to automatic review settings June 5, 2026 07:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@burgaard burgaard merged commit a453dad into main Jun 5, 2026
2 checks passed
@burgaard burgaard deleted the 2026-06-04-sync branch June 5, 2026 07:18
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