Skip to content

2026 05 22 api sync#8

Merged
burgaard merged 8 commits into
mainfrom
2026-05-22-api-sync
May 22, 2026
Merged

2026 05 22 api sync#8
burgaard merged 8 commits into
mainfrom
2026-05-22-api-sync

Conversation

@burgaard

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 22, 2026 18:12

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

Syncs the JavaScript SDK with the latest API schema, adding support for agent import preview and updating generated OpenAPI typings/docs accordingly.

Changes:

  • Adds POST /agents/preview-import support via Seclai.previewImportAgent() plus a request-shape test.
  • Introduces new exported type aliases for import preview + import validation error payloads.
  • Updates the generated OpenAPI spec/types and README usage docs to reflect new import/definition behaviors.

Reviewed changes

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

Show a summary per file
File Description
tests/client.test.ts Adds request-shape coverage for previewImportAgent.
src/types.ts Adds stable aliases for import preview + import-validation error models.
src/openapi.ts Regenerates OpenAPI types/docs with new endpoint and updated schemas.
src/index.ts Re-exports the newly added public types from the package entrypoint.
src/client.ts Adds previewImportAgent() convenience method and related JSDoc.
README.md Documents export → preview-import → create flow for cross-account imports.
openapi/seclai.openapi.json Updates the underlying OpenAPI document with new schemas/endpoint and revised descriptions.

Comment thread src/client.ts
Comment thread src/client.ts
Comment thread README.md Outdated
Comment thread README.md
Comment thread src/openapi.ts
Comment thread src/openapi.ts
Comment thread openapi/seclai.openapi.json
Comment thread openapi/seclai.openapi.json
Comment thread openapi/seclai.openapi.json
@burgaard burgaard merged commit 3e629d1 into main May 22, 2026
1 check passed
@burgaard burgaard deleted the 2026-05-22-api-sync branch May 22, 2026 19:11
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