Skip to content

feat: API specs update#393

Open
Natalia Markitantova (markitosha) wants to merge 1 commit into
masterfrom
henrik-special
Open

feat: API specs update#393
Natalia Markitantova (markitosha) wants to merge 1 commit into
masterfrom
henrik-special

Conversation

@markitosha
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 09:36
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 updates the generated SDK types and wire tests to reflect new Agents API fields for expert configuration and schema support, and adjusts the integration test script entrypoint.

Changes:

  • Added configSchema to registry experts, and added config (create) / resolvedConfig (response) to expert references across API + serialization layers.
  • Updated wire tests to include the new configSchema field in getRegistryExperts expectations.
  • Simplified test:integration to run via vitest --config vitest.integration.config.mts and bumped Fern CLI metadata.

Reviewed changes

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

Show a summary per file
File Description
tests/wire/agents.test.ts Extends wire expectations to include configSchema on registry experts.
src/serialization/types/AgentsRegistryExpert.ts Adds serialization support for optional configSchema.
src/serialization/types/AgentsExpertReference.ts Adds serialization support for optional resolvedConfig.
src/serialization/types/AgentsCreateExpertReference.ts Adds serialization support for optional config.
src/api/types/AgentsRegistryExpert.ts Exposes configSchema on the public API type with documentation.
src/api/types/AgentsExpertReference.ts Exposes resolvedConfig on the public API type with documentation.
src/api/types/AgentsCreateExpertReference.ts Exposes config on the public API type with documentation.
package.json Changes integration test script shape (now a single test:integration).
.fern/metadata.json Updates Fern CLI version and origin commit metadata.

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

Comment thread package.json
"test:integration": "pnpm test:integration:main && pnpm test:integration:empty-state",
"test:integration:main": "vitest run --config vitest.integration.config.mts --project integration",
"test:integration:empty-state": "vitest run --config vitest.integration.config.mts --project integration-empty-state"
"test:integration": "vitest --config vitest.integration.config.mts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants