feat: API specs update#393
Open
Natalia Markitantova (markitosha) wants to merge 1 commit into
Open
Conversation
Copilot started reviewing on behalf of
Natalia Markitantova (markitosha)
May 5, 2026 09:36
View session
There was a problem hiding this comment.
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
configSchemato registry experts, and addedconfig(create) /resolvedConfig(response) to expert references across API + serialization layers. - Updated wire tests to include the new
configSchemafield ingetRegistryExpertsexpectations. - Simplified
test:integrationto run viavitest --config vitest.integration.config.mtsand 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.
| "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" |
Henrik Cullen (hccullen)
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.