diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7b24d85..94994d4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.66.0" + ".": "0.67.0" } diff --git a/.stats.yml b/.stats.yml index 4f4675b..157a928 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 51 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/smithery/smithery-17e2ab7acd1320ecd813be917905dbcd27162f0567e09bec9285d36ebee46b75.yml -openapi_spec_hash: f13af802436dd7be0885099be40b8888 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/smithery/smithery-5da229a4e8dd752ba7575c3a98f8cf53836cb7bccabdafc70f17686740d0b1d1.yml +openapi_spec_hash: 87826d5de8739709a64bfe2a4ec671c6 config_hash: f2aa99cbb823283fae1b61bbdb1320ee diff --git a/CHANGELOG.md b/CHANGELOG.md index d5be639..9f50ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.67.0 (2026-05-30) + +Full Changelog: [v0.66.0...v0.67.0](https://github.com/smithery-ai/typescript-api/compare/v0.66.0...v0.67.0) + +### Features + +* **SMI-1814:** add dynamic MCP source connections ([#2518](https://github.com/smithery-ai/typescript-api/issues/2518)) ([a81cf8f](https://github.com/smithery-ai/typescript-api/commit/a81cf8f4b675cb872baa5b0710a67975a5e2c0e5)) + ## 0.66.0 (2026-05-28) Full Changelog: [v0.65.2...v0.66.0](https://github.com/smithery-ai/typescript-api/compare/v0.65.2...v0.66.0) diff --git a/package-lock.json b/package-lock.json index 08bc858..bcd9591 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@smithery/api", - "version": "0.66.0", + "version": "0.67.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@smithery/api", - "version": "0.66.0", + "version": "0.67.0", "license": "Apache-2.0", "devDependencies": { "@arethetypeswrong/cli": "^0.17.0", diff --git a/package.json b/package.json index 0d355cf..233fad5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smithery/api", - "version": "0.66.0", + "version": "0.67.0", "description": "The official TypeScript library for the Smithery API", "author": "Smithery ", "types": "dist/index.d.ts", diff --git a/src/resources/connections/connections.ts b/src/resources/connections/connections.ts index 32574b5..7cb4cd0 100644 --- a/src/resources/connections/connections.ts +++ b/src/resources/connections/connections.ts @@ -371,6 +371,8 @@ export interface CreateConnectionRequest { */ server?: string; + source?: CreateConnectionRequest.Source; + /** * Connection transport. Use `uplink` for a local server paired over Smithery CLI. */ @@ -396,6 +398,22 @@ export namespace CreateConnectionRequest { */ scenario?: string; } + + export interface Source { + entrypoint: string; + + kind: 'module'; + + sourceFiles: Array; + } + + export namespace Source { + export interface SourceFile { + contents: string; + + path: string; + } + } } export interface ConnectionDeleteResponse { @@ -438,6 +456,8 @@ export interface ConnectionCreateParams { */ server?: string; + source?: ConnectionCreateParams.Source; + /** * Connection transport. Use `uplink` for a local server paired over Smithery CLI. */ @@ -463,6 +483,22 @@ export namespace ConnectionCreateParams { */ scenario?: string; } + + export interface Source { + entrypoint: string; + + kind: 'module'; + + sourceFiles: Array; + } + + export namespace Source { + export interface SourceFile { + contents: string; + + path: string; + } + } } export interface ConnectionListParams { @@ -536,6 +572,11 @@ export interface ConnectionSetParams { */ server?: string; + /** + * Body param + */ + source?: ConnectionSetParams.Source; + /** * Body param: Connection transport. Defaults to the existing connection transport * when updating. @@ -560,6 +601,22 @@ export namespace ConnectionSetParams { */ scenario?: string; } + + export interface Source { + entrypoint: string; + + kind: 'module'; + + sourceFiles: Array; + } + + export namespace Source { + export interface SourceFile { + contents: string; + + path: string; + } + } } Connections.Tools = Tools; diff --git a/src/version.ts b/src/version.ts index 9826986..ed32717 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.66.0'; // x-release-please-version +export const VERSION = '0.67.0'; // x-release-please-version diff --git a/tests/api-resources/connections/connections.test.ts b/tests/api-resources/connections/connections.test.ts index eeeafda..3ba38d3 100644 --- a/tests/api-resources/connections/connections.test.ts +++ b/tests/api-resources/connections/connections.test.ts @@ -33,6 +33,11 @@ describe('resource connections', () => { mock: { enabled: true, scenario: 'A developer inbox with 3 unread Q4 planning threads.' }, name: 'My MCP Server', server: 'upstash/context7-mcp', + source: { + entrypoint: 'x', + kind: 'module', + sourceFiles: [{ contents: 'contents', path: 'x' }], + }, transport: 'http', }, { path: '/_stainless_unknown_path' }, @@ -129,6 +134,11 @@ describe('resource connections', () => { }, name: 'My MCP Server', server: 'upstash/context7-mcp', + source: { + entrypoint: 'x', + kind: 'module', + sourceFiles: [{ contents: 'contents', path: 'x' }], + }, transport: 'http', }); });