@smithery/api 0.58.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/resources/connections/connections.d.mts +34 -6
- package/resources/connections/connections.d.mts.map +1 -1
- package/resources/connections/connections.d.ts +34 -6
- package/resources/connections/connections.d.ts.map +1 -1
- package/resources/connections/connections.js +4 -5
- package/resources/connections/connections.js.map +1 -1
- package/resources/connections/connections.mjs +4 -5
- package/resources/connections/connections.mjs.map +1 -1
- package/src/resources/connections/connections.ts +40 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.60.0 (2026-04-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.59.0...v0.60.0](https://github.com/smithery-ai/typescript-api/compare/v0.59.0...v0.60.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **connect:** add LLM-simulated mock mode ([#2010](https://github.com/smithery-ai/typescript-api/issues/2010)) ([421730e](https://github.com/smithery-ai/typescript-api/commit/421730efb615dd3671dd82fde56256a908cf5ed1))
|
|
10
|
+
|
|
11
|
+
## 0.59.0 (2026-04-16)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.58.0...v0.59.0](https://github.com/smithery-ai/typescript-api/compare/v0.58.0...v0.59.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* REST surface + getPath host routing (SMI-1763) ([#1988](https://github.com/smithery-ai/typescript-api/issues/1988)) ([81883c0](https://github.com/smithery-ai/typescript-api/commit/81883c0203ca6350601a952368f52ef00e361b3c))
|
|
18
|
+
* **SMI-1774:** unify connect setup flow for input_required ([#1997](https://github.com/smithery-ai/typescript-api/issues/1997)) ([f5fc52b](https://github.com/smithery-ai/typescript-api/commit/f5fc52b9a8246e611892033fdc67dfe57359d09b))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* strip internal host from connect openapi ([#2001](https://github.com/smithery-ai/typescript-api/issues/2001)) ([d9376d4](https://github.com/smithery-ai/typescript-api/commit/d9376d406990e7cd88c15aefd9ce21f27dc4e65b))
|
|
24
|
+
|
|
3
25
|
## 0.58.0 (2026-04-12)
|
|
4
26
|
|
|
5
27
|
Full Changelog: [v0.57.0...v0.58.0](https://github.com/smithery-ai/typescript-api/compare/v0.57.0...v0.58.0)
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export declare class Connections extends APIResource {
|
|
|
20
20
|
create(namespace: string, body: ConnectionCreateParams, options?: RequestOptions): APIPromise<Connection>;
|
|
21
21
|
/**
|
|
22
22
|
* List all connections in a namespace. Supports filtering by metadata using
|
|
23
|
-
* `metadata.{key}={value}` query params
|
|
23
|
+
* `metadata.{key}={value}` query params.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
@@ -57,10 +57,9 @@ export declare class Connections extends APIResource {
|
|
|
57
57
|
get(connectionID: string, params: ConnectionGetParams, options?: RequestOptions): APIPromise<Connection>;
|
|
58
58
|
/**
|
|
59
59
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
60
|
-
* creating a new connection, but optional when updating
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* and namespace ownership.
|
|
60
|
+
* creating a new connection, but optional when updating. Returns 409 if a
|
|
61
|
+
* different mcpUrl is provided, except while the connection is input_required and
|
|
62
|
+
* the new URL keeps the same host and path.
|
|
64
63
|
*
|
|
65
64
|
* @example
|
|
66
65
|
* ```ts
|
|
@@ -93,6 +92,10 @@ export interface Connection {
|
|
|
93
92
|
*/
|
|
94
93
|
createdAt?: string;
|
|
95
94
|
iconUrl?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* True if the connection is in mock mode (LLM-simulated tool calls).
|
|
97
|
+
*/
|
|
98
|
+
mock?: boolean;
|
|
96
99
|
/**
|
|
97
100
|
* Server information from MCP initialization (name, version)
|
|
98
101
|
*/
|
|
@@ -128,14 +131,22 @@ export declare namespace Connection {
|
|
|
128
131
|
interface ConnectionStatusAuthRequired {
|
|
129
132
|
state: 'auth_required';
|
|
130
133
|
/**
|
|
131
|
-
*
|
|
134
|
+
* @deprecated Deprecated compatibility alias for setupUrl
|
|
132
135
|
*/
|
|
133
136
|
authorizationUrl?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Hosted Smithery URL for completing setup and OAuth
|
|
139
|
+
*/
|
|
140
|
+
setupUrl?: string;
|
|
134
141
|
}
|
|
135
142
|
interface ConnectionStatusInputRequired {
|
|
136
143
|
http: ConnectionStatusInputRequired.HTTP;
|
|
137
144
|
missing: ConnectionStatusInputRequired.Missing;
|
|
138
145
|
state: 'input_required';
|
|
146
|
+
/**
|
|
147
|
+
* Hosted Smithery URL for completing setup in the browser
|
|
148
|
+
*/
|
|
149
|
+
setupUrl?: string;
|
|
139
150
|
}
|
|
140
151
|
namespace ConnectionStatusInputRequired {
|
|
141
152
|
interface HTTP {
|
|
@@ -196,6 +207,12 @@ export interface CreateConnectionRequest {
|
|
|
196
207
|
metadata?: {
|
|
197
208
|
[key: string]: unknown;
|
|
198
209
|
};
|
|
210
|
+
/**
|
|
211
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
212
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
213
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
214
|
+
*/
|
|
215
|
+
mock?: boolean;
|
|
199
216
|
/**
|
|
200
217
|
* Human-readable name (optional, defaults to connection ID)
|
|
201
218
|
*/
|
|
@@ -222,6 +239,12 @@ export interface ConnectionCreateParams {
|
|
|
222
239
|
metadata?: {
|
|
223
240
|
[key: string]: unknown;
|
|
224
241
|
};
|
|
242
|
+
/**
|
|
243
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
244
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
245
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
246
|
+
*/
|
|
247
|
+
mock?: boolean;
|
|
225
248
|
/**
|
|
226
249
|
* Human-readable name (optional, defaults to connection ID)
|
|
227
250
|
*/
|
|
@@ -274,6 +297,11 @@ export interface ConnectionSetParams {
|
|
|
274
297
|
metadata?: {
|
|
275
298
|
[key: string]: unknown;
|
|
276
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* Body param: Run this connection in mock mode. Only honored on first creation;
|
|
302
|
+
* ignored on updates to an existing connection.
|
|
303
|
+
*/
|
|
304
|
+
mock?: boolean;
|
|
277
305
|
/**
|
|
278
306
|
* Body param: Human-readable name (optional, defaults to connection ID)
|
|
279
307
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,EAAE,aAAa,EAAE;OACvD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAE/C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIzG;;;;;;;;;OASG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;OAWG;IACH,MA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M,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEtC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -20,7 +20,7 @@ export declare class Connections extends APIResource {
|
|
|
20
20
|
create(namespace: string, body: ConnectionCreateParams, options?: RequestOptions): APIPromise<Connection>;
|
|
21
21
|
/**
|
|
22
22
|
* List all connections in a namespace. Supports filtering by metadata using
|
|
23
|
-
* `metadata.{key}={value}` query params
|
|
23
|
+
* `metadata.{key}={value}` query params.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
@@ -57,10 +57,9 @@ export declare class Connections extends APIResource {
|
|
|
57
57
|
get(connectionID: string, params: ConnectionGetParams, options?: RequestOptions): APIPromise<Connection>;
|
|
58
58
|
/**
|
|
59
59
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
60
|
-
* creating a new connection, but optional when updating
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* and namespace ownership.
|
|
60
|
+
* creating a new connection, but optional when updating. Returns 409 if a
|
|
61
|
+
* different mcpUrl is provided, except while the connection is input_required and
|
|
62
|
+
* the new URL keeps the same host and path.
|
|
64
63
|
*
|
|
65
64
|
* @example
|
|
66
65
|
* ```ts
|
|
@@ -93,6 +92,10 @@ export interface Connection {
|
|
|
93
92
|
*/
|
|
94
93
|
createdAt?: string;
|
|
95
94
|
iconUrl?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* True if the connection is in mock mode (LLM-simulated tool calls).
|
|
97
|
+
*/
|
|
98
|
+
mock?: boolean;
|
|
96
99
|
/**
|
|
97
100
|
* Server information from MCP initialization (name, version)
|
|
98
101
|
*/
|
|
@@ -128,14 +131,22 @@ export declare namespace Connection {
|
|
|
128
131
|
interface ConnectionStatusAuthRequired {
|
|
129
132
|
state: 'auth_required';
|
|
130
133
|
/**
|
|
131
|
-
*
|
|
134
|
+
* @deprecated Deprecated compatibility alias for setupUrl
|
|
132
135
|
*/
|
|
133
136
|
authorizationUrl?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Hosted Smithery URL for completing setup and OAuth
|
|
139
|
+
*/
|
|
140
|
+
setupUrl?: string;
|
|
134
141
|
}
|
|
135
142
|
interface ConnectionStatusInputRequired {
|
|
136
143
|
http: ConnectionStatusInputRequired.HTTP;
|
|
137
144
|
missing: ConnectionStatusInputRequired.Missing;
|
|
138
145
|
state: 'input_required';
|
|
146
|
+
/**
|
|
147
|
+
* Hosted Smithery URL for completing setup in the browser
|
|
148
|
+
*/
|
|
149
|
+
setupUrl?: string;
|
|
139
150
|
}
|
|
140
151
|
namespace ConnectionStatusInputRequired {
|
|
141
152
|
interface HTTP {
|
|
@@ -196,6 +207,12 @@ export interface CreateConnectionRequest {
|
|
|
196
207
|
metadata?: {
|
|
197
208
|
[key: string]: unknown;
|
|
198
209
|
};
|
|
210
|
+
/**
|
|
211
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
212
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
213
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
214
|
+
*/
|
|
215
|
+
mock?: boolean;
|
|
199
216
|
/**
|
|
200
217
|
* Human-readable name (optional, defaults to connection ID)
|
|
201
218
|
*/
|
|
@@ -222,6 +239,12 @@ export interface ConnectionCreateParams {
|
|
|
222
239
|
metadata?: {
|
|
223
240
|
[key: string]: unknown;
|
|
224
241
|
};
|
|
242
|
+
/**
|
|
243
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
244
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
245
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
246
|
+
*/
|
|
247
|
+
mock?: boolean;
|
|
225
248
|
/**
|
|
226
249
|
* Human-readable name (optional, defaults to connection ID)
|
|
227
250
|
*/
|
|
@@ -274,6 +297,11 @@ export interface ConnectionSetParams {
|
|
|
274
297
|
metadata?: {
|
|
275
298
|
[key: string]: unknown;
|
|
276
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* Body param: Run this connection in mock mode. Only honored on first creation;
|
|
302
|
+
* ignored on updates to an existing connection.
|
|
303
|
+
*/
|
|
304
|
+
mock?: boolean;
|
|
277
305
|
/**
|
|
278
306
|
* Body param: Human-readable name (optional, defaults to connection ID)
|
|
279
307
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,cAAc,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AAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -29,7 +29,7 @@ class Connections extends resource_1.APIResource {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* List all connections in a namespace. Supports filtering by metadata using
|
|
32
|
-
* `metadata.{key}={value}` query params
|
|
32
|
+
* `metadata.{key}={value}` query params.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* ```ts
|
|
@@ -74,10 +74,9 @@ class Connections extends resource_1.APIResource {
|
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
77
|
-
* creating a new connection, but optional when updating
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* and namespace ownership.
|
|
77
|
+
* creating a new connection, but optional when updating. Returns 409 if a
|
|
78
|
+
* different mcpUrl is provided, except while the connection is input_required and
|
|
79
|
+
* the new URL keeps the same host and path.
|
|
81
80
|
*
|
|
82
81
|
* @example
|
|
83
82
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yDAAgC;AAChC,kCAA4E;AAG5E,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF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AC7E,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AA7FD,kCA6FC;AAgSD,WAAW,CAAC,GAAG,GAAG,SAAG,CAAC"}
|
|
@@ -25,7 +25,7 @@ export class Connections extends APIResource {
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* List all connections in a namespace. Supports filtering by metadata using
|
|
28
|
-
* `metadata.{key}={value}` query params
|
|
28
|
+
* `metadata.{key}={value}` query params.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* ```ts
|
|
@@ -70,10 +70,9 @@ export class Connections extends APIResource {
|
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
73
|
-
* creating a new connection, but optional when updating
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* and namespace ownership.
|
|
73
|
+
* creating a new connection, but optional when updating. Returns 409 if a
|
|
74
|
+
* different mcpUrl is provided, except while the connection is input_required and
|
|
75
|
+
* the new URL keeps the same host and path.
|
|
77
76
|
*
|
|
78
77
|
* @example
|
|
79
78
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAmC,GAAG,EAAiB;OAGvD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"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AAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,YAAoB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AAgSD,WAAW,CAAC,GAAG,GAAG,GAAG,CAAC"}
|
|
@@ -28,7 +28,7 @@ export class Connections extends APIResource {
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* List all connections in a namespace. Supports filtering by metadata using
|
|
31
|
-
* `metadata.{key}={value}` query params
|
|
31
|
+
* `metadata.{key}={value}` query params.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
@@ -84,10 +84,9 @@ export class Connections extends APIResource {
|
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
87
|
-
* creating a new connection, but optional when updating
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* and namespace ownership.
|
|
87
|
+
* creating a new connection, but optional when updating. Returns 409 if a
|
|
88
|
+
* different mcpUrl is provided, except while the connection is input_required and
|
|
89
|
+
* the new URL keeps the same host and path.
|
|
91
90
|
*
|
|
92
91
|
* @example
|
|
93
92
|
* ```ts
|
|
@@ -128,6 +127,11 @@ export interface Connection {
|
|
|
128
127
|
|
|
129
128
|
iconUrl?: string | null;
|
|
130
129
|
|
|
130
|
+
/**
|
|
131
|
+
* True if the connection is in mock mode (LLM-simulated tool calls).
|
|
132
|
+
*/
|
|
133
|
+
mock?: boolean;
|
|
134
|
+
|
|
131
135
|
/**
|
|
132
136
|
* Server information from MCP initialization (name, version)
|
|
133
137
|
*/
|
|
@@ -181,9 +185,14 @@ export namespace Connection {
|
|
|
181
185
|
state: 'auth_required';
|
|
182
186
|
|
|
183
187
|
/**
|
|
184
|
-
*
|
|
188
|
+
* @deprecated Deprecated compatibility alias for setupUrl
|
|
185
189
|
*/
|
|
186
190
|
authorizationUrl?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Hosted Smithery URL for completing setup and OAuth
|
|
194
|
+
*/
|
|
195
|
+
setupUrl?: string;
|
|
187
196
|
}
|
|
188
197
|
|
|
189
198
|
export interface ConnectionStatusInputRequired {
|
|
@@ -192,6 +201,11 @@ export namespace Connection {
|
|
|
192
201
|
missing: ConnectionStatusInputRequired.Missing;
|
|
193
202
|
|
|
194
203
|
state: 'input_required';
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Hosted Smithery URL for completing setup in the browser
|
|
207
|
+
*/
|
|
208
|
+
setupUrl?: string;
|
|
195
209
|
}
|
|
196
210
|
|
|
197
211
|
export namespace ConnectionStatusInputRequired {
|
|
@@ -262,6 +276,13 @@ export interface CreateConnectionRequest {
|
|
|
262
276
|
*/
|
|
263
277
|
metadata?: { [key: string]: unknown };
|
|
264
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
281
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
282
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
283
|
+
*/
|
|
284
|
+
mock?: boolean;
|
|
285
|
+
|
|
265
286
|
/**
|
|
266
287
|
* Human-readable name (optional, defaults to connection ID)
|
|
267
288
|
*/
|
|
@@ -289,6 +310,13 @@ export interface ConnectionCreateParams {
|
|
|
289
310
|
*/
|
|
290
311
|
metadata?: { [key: string]: unknown };
|
|
291
312
|
|
|
313
|
+
/**
|
|
314
|
+
* Run this connection in mock mode. Tool calls are LLM-simulated against the
|
|
315
|
+
* registry's scanned schemas and never reach the upstream server. Registry servers
|
|
316
|
+
* only; frozen at creation (cannot be toggled via PUT).
|
|
317
|
+
*/
|
|
318
|
+
mock?: boolean;
|
|
319
|
+
|
|
292
320
|
/**
|
|
293
321
|
* Human-readable name (optional, defaults to connection ID)
|
|
294
322
|
*/
|
|
@@ -348,6 +376,12 @@ export interface ConnectionSetParams {
|
|
|
348
376
|
*/
|
|
349
377
|
metadata?: { [key: string]: unknown };
|
|
350
378
|
|
|
379
|
+
/**
|
|
380
|
+
* Body param: Run this connection in mock mode. Only honored on first creation;
|
|
381
|
+
* ignored on updates to an existing connection.
|
|
382
|
+
*/
|
|
383
|
+
mock?: boolean;
|
|
384
|
+
|
|
351
385
|
/**
|
|
352
386
|
* Body param: Human-readable name (optional, defaults to connection ID)
|
|
353
387
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.60.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.60.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.60.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.60.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|