Skip to content

Updated the SDK for email agent triggers and email domain management … - #10

Merged
burgaard merged 7 commits into
mainfrom
2026-07-25-api-sync
Jul 25, 2026
Merged

Updated the SDK for email agent triggers and email domain management …#10
burgaard merged 7 commits into
mainfrom
2026-07-25-api-sync

Conversation

@burgaard

Copy link
Copy Markdown
Contributor

…#minor

Copilot AI review requested due to automatic review settings July 25, 2026 19:00

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 to align with the latest Seclai API surface, adding client methods/types for identity, agent enable/disable, agent email triggers/governance, email domain management, docs search, and model catalog enhancements, along with corresponding tests and documentation.

Changes:

  • Add new Seclai client methods for identity (getMe), agent enable/disable, agent email trigger/governance endpoints, email domain management, docs search, and generation tiers.
  • Sync and extend the bundled OpenAPI types (src/openapi.ts) and re-export new public types via src/types.ts / src/index.ts.
  • Expand tests/client.test.ts and README examples to cover the new SDK surface; add CHANGELOG.md to the published package files.

Reviewed changes

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

Show a summary per file
File Description
tests/client.test.ts Adds request/response-shape tests for new endpoints (identity, email triggers/governance, email domains, docs search, generation tiers).
src/types.ts Exposes new type aliases mapping to OpenAPI component schemas for the added endpoints.
src/openapi.ts Updates the generated OpenAPI typings with new paths, operations, and schemas.
src/index.ts Re-exports newly added SDK types from the public entrypoint.
src/client.ts Implements new high-level client methods to call the added API endpoints and extends model filtering.
README.md Documents new SDK features with usage examples (identity, email triggers/governance, email domains, docs search, models).
package.json Ensures CHANGELOG.md is included in the published package artifacts.
CHANGELOG.md Adds release notes for v1.4.0 covering the new SDK/API surface.

Comment thread src/client.ts Outdated
Kim Burgaard added 2 commits July 25, 2026 12:43
git-subtree-dir: .claude/skills/seclai-changelog
git-subtree-split: fad366245a851644b3679a1b6fc8948c26d0c631
Copilot AI review requested due to automatic review settings July 25, 2026 19:55

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 9 out of 11 changed files in this pull request and generated 3 comments.

Comment thread README.md
Comment thread src/client.ts Outdated
Comment thread src/client.ts Outdated
Copilot AI review requested due to automatic review settings July 25, 2026 20:23

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 9 out of 11 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

README.md:127

  • The org-scoped client example constructs a new Seclai instance without credentials, which will fail unless the environment/SSO profile resolves credentials implicitly. Make the example self-contained by showing passing the same credential (e.g., an OAuth access token).
// Act as an organization
const orgClient = new Seclai({ accountId: me.organizations[0].account_id });

Comment thread README.md
Kim Burgaard added 3 commits July 25, 2026 13:53
…92f0

ae892f0 Updated skill to clarify type handling

git-subtree-dir: .claude/skills/seclai-changelog
git-subtree-split: ae892f07a0c58ce7db4aa0601768f48ff9e49564
Copilot AI review requested due to automatic review settings July 25, 2026 21:19
@burgaard burgaard mentioned this pull request Jul 25, 2026
7 tasks

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 9 out of 11 changed files in this pull request and generated 2 comments.

Comment thread src/openapi.ts
Comment thread src/openapi.ts
@burgaard
burgaard merged commit 324f86b into main Jul 25, 2026
2 checks passed
@burgaard
burgaard deleted the 2026-07-25-api-sync branch July 25, 2026 21: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