@smithery/api 0.17.0 → 0.20.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 +40 -0
- package/package.json +1 -1
- package/resources/beta/connect/connect.d.mts +4 -8
- package/resources/beta/connect/connect.d.mts.map +1 -1
- package/resources/beta/connect/connect.d.ts +4 -8
- package/resources/beta/connect/connect.d.ts.map +1 -1
- package/resources/beta/connect/connect.js +0 -4
- package/resources/beta/connect/connect.js.map +1 -1
- package/resources/beta/connect/connect.mjs +1 -5
- package/resources/beta/connect/connect.mjs.map +1 -1
- package/resources/beta/connect/connections.d.mts +27 -92
- package/resources/beta/connect/connections.d.mts.map +1 -1
- package/resources/beta/connect/connections.d.ts +27 -92
- package/resources/beta/connect/connections.d.ts.map +1 -1
- package/resources/beta/connect/connections.js +0 -72
- package/resources/beta/connect/connections.js.map +1 -1
- package/resources/beta/connect/connections.mjs +0 -72
- package/resources/beta/connect/connections.mjs.map +1 -1
- package/resources/beta/connect/index.d.mts +2 -3
- package/resources/beta/connect/index.d.mts.map +1 -1
- package/resources/beta/connect/index.d.ts +2 -3
- package/resources/beta/connect/index.d.ts.map +1 -1
- package/resources/beta/connect/index.js +1 -3
- package/resources/beta/connect/index.js.map +1 -1
- package/resources/beta/connect/index.mjs +0 -1
- package/resources/beta/connect/index.mjs.map +1 -1
- package/resources/beta/connect/rpc.d.mts +1 -42
- package/resources/beta/connect/rpc.d.mts.map +1 -1
- package/resources/beta/connect/rpc.d.ts +1 -42
- package/resources/beta/connect/rpc.d.ts.map +1 -1
- package/resources/beta/connect/rpc.js +0 -24
- package/resources/beta/connect/rpc.js.map +1 -1
- package/resources/beta/connect/rpc.mjs +0 -24
- package/resources/beta/connect/rpc.mjs.map +1 -1
- package/resources/beta/tools.d.mts +0 -10
- package/resources/beta/tools.d.mts.map +1 -1
- package/resources/beta/tools.d.ts +0 -10
- package/resources/beta/tools.d.ts.map +1 -1
- package/resources/beta/tools.js +0 -10
- package/resources/beta/tools.js.map +1 -1
- package/resources/beta/tools.mjs +0 -10
- package/resources/beta/tools.mjs.map +1 -1
- package/src/resources/beta/connect/connect.ts +3 -27
- package/src/resources/beta/connect/connections.ts +36 -132
- package/src/resources/beta/connect/index.ts +1 -6
- package/src/resources/beta/connect/rpc.ts +2 -60
- package/src/resources/beta/tools.ts +0 -10
- 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/resources/beta/connect/namespaces.d.mts +0 -21
- package/resources/beta/connect/namespaces.d.mts.map +0 -1
- package/resources/beta/connect/namespaces.d.ts +0 -21
- package/resources/beta/connect/namespaces.d.ts.map +0 -1
- package/resources/beta/connect/namespaces.js +0 -9
- package/resources/beta/connect/namespaces.js.map +0 -1
- package/resources/beta/connect/namespaces.mjs +0 -5
- package/resources/beta/connect/namespaces.mjs.map +0 -1
- package/src/resources/beta/connect/namespaces.ts +0 -26
|
@@ -1,77 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
4
3
|
export class Connections extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new MCP connection with the given ID. Requires API key and namespace
|
|
7
|
-
* ownership.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const connection =
|
|
12
|
-
* await client.beta.connect.connections.create(
|
|
13
|
-
* 'connectionId',
|
|
14
|
-
* {
|
|
15
|
-
* namespaceId: 'namespaceId',
|
|
16
|
-
* mcpUrl: 'https://mcp.example.com/sse',
|
|
17
|
-
* name: 'My MCP Server',
|
|
18
|
-
* },
|
|
19
|
-
* );
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
create(connectionID, params, options) {
|
|
23
|
-
const { namespaceId, ...body } = params;
|
|
24
|
-
return this._client.put(path `/connect/namespaces/${namespaceId}/connections/${connectionID}`, {
|
|
25
|
-
body,
|
|
26
|
-
...options,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get details for a specific connection. Requires service token with
|
|
31
|
-
* connections:read scope.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const connection =
|
|
36
|
-
* await client.beta.connect.connections.retrieve(
|
|
37
|
-
* 'connectionId',
|
|
38
|
-
* { namespaceId: 'namespaceId' },
|
|
39
|
-
* );
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
retrieve(connectionID, params, options) {
|
|
43
|
-
const { namespaceId } = params;
|
|
44
|
-
return this._client.get(path `/connect/namespaces/${namespaceId}/connections/${connectionID}`, options);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* List all connections in a namespace. Requires service token with
|
|
48
|
-
* connections:read scope.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* ```ts
|
|
52
|
-
* const connectionsListResponse =
|
|
53
|
-
* await client.beta.connect.connections.list('namespaceId');
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
list(namespaceID, options) {
|
|
57
|
-
return this._client.get(path `/connect/namespaces/${namespaceID}/connections`, options);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Delete a connection and terminate its MCP session. Requires API key and
|
|
61
|
-
* namespace ownership.
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* ```ts
|
|
65
|
-
* const connection =
|
|
66
|
-
* await client.beta.connect.connections.delete(
|
|
67
|
-
* 'connectionId',
|
|
68
|
-
* { namespaceId: 'namespaceId' },
|
|
69
|
-
* );
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
delete(connectionID, params, options) {
|
|
73
|
-
const { namespaceId } = params;
|
|
74
|
-
return this._client.delete(path `/connect/namespaces/${namespaceId}/connections/${connectionID}`, options);
|
|
75
|
-
}
|
|
76
4
|
}
|
|
77
5
|
//# sourceMappingURL=connections.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,WAAY,SAAQ,WAAW;CAAG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { Connect } from "./connect.mjs";
|
|
2
|
-
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest,
|
|
3
|
-
export {
|
|
4
|
-
export { Rpc, type JsonRpcRequest, type JsonRpcResponse, type RpcCallParams } from "./rpc.mjs";
|
|
2
|
+
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, } from "./connections.mjs";
|
|
3
|
+
export { Rpc, type JsonRpcRequest, type JsonRpcResponse } from "./rpc.mjs";
|
|
5
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { Connect } from "./connect.js";
|
|
2
|
-
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest,
|
|
3
|
-
export {
|
|
4
|
-
export { Rpc, type JsonRpcRequest, type JsonRpcResponse, type RpcCallParams } from "./rpc.js";
|
|
2
|
+
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, } from "./connections.js";
|
|
3
|
+
export { Rpc, type JsonRpcRequest, type JsonRpcResponse } from "./rpc.js";
|
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Rpc = exports.
|
|
4
|
+
exports.Rpc = exports.Connections = exports.Connect = void 0;
|
|
5
5
|
var connect_1 = require("./connect.js");
|
|
6
6
|
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
7
|
var connections_1 = require("./connections.js");
|
|
8
8
|
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
9
|
-
var namespaces_1 = require("./namespaces.js");
|
|
10
|
-
Object.defineProperty(exports, "Namespaces", { enumerable: true, get: function () { return namespaces_1.Namespaces; } });
|
|
11
9
|
var rpc_1 = require("./rpc.js");
|
|
12
10
|
Object.defineProperty(exports, "Rpc", { enumerable: true, get: function () { return rpc_1.Rpc; } });
|
|
13
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,gCAAuE;AAA9D,0FAAA,GAAG,OAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Connect } from "./connect.mjs";
|
|
3
3
|
export { Connections, } from "./connections.mjs";
|
|
4
|
-
export { Namespaces } from "./namespaces.mjs";
|
|
5
4
|
export { Rpc } from "./rpc.mjs";
|
|
6
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,WAAW,GAIZ;OACM,EAAE,GAAG,EAA6C"}
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
2
|
export declare class Rpc extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a JSON-RPC call on an MCP connection. Requires service token with rpc
|
|
7
|
-
* scope.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.rpc.call(
|
|
12
|
-
* 'connectionId',
|
|
13
|
-
* {
|
|
14
|
-
* namespaceId: 'namespaceId',
|
|
15
|
-
* jsonrpc: '2.0',
|
|
16
|
-
* method: 'tools/list',
|
|
17
|
-
* },
|
|
18
|
-
* );
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
call(connectionID: string, params: RpcCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
|
|
22
3
|
}
|
|
23
4
|
export interface JsonRpcRequest {
|
|
24
5
|
jsonrpc: '2.0';
|
|
@@ -37,29 +18,7 @@ export interface JsonRpcResponse {
|
|
|
37
18
|
jsonrpc: '2.0';
|
|
38
19
|
result?: unknown;
|
|
39
20
|
}
|
|
40
|
-
export interface RpcCallParams {
|
|
41
|
-
/**
|
|
42
|
-
* Path param
|
|
43
|
-
*/
|
|
44
|
-
namespaceId: string;
|
|
45
|
-
/**
|
|
46
|
-
* Body param
|
|
47
|
-
*/
|
|
48
|
-
jsonrpc: '2.0';
|
|
49
|
-
/**
|
|
50
|
-
* Body param: MCP method to call
|
|
51
|
-
*/
|
|
52
|
-
method: string;
|
|
53
|
-
/**
|
|
54
|
-
* Body param
|
|
55
|
-
*/
|
|
56
|
-
id?: string | number;
|
|
57
|
-
/**
|
|
58
|
-
* Body param: Method parameters
|
|
59
|
-
*/
|
|
60
|
-
params?: unknown;
|
|
61
|
-
}
|
|
62
21
|
export declare namespace Rpc {
|
|
63
|
-
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse
|
|
22
|
+
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse };
|
|
64
23
|
}
|
|
65
24
|
//# sourceMappingURL=rpc.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"rpc.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,GAAI,SAAQ,WAAW;CAAG;AAEvC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAE3B,OAAO,EAAE,KAAK,CAAC;IAEf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CAC3F"}
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
2
|
export declare class Rpc extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a JSON-RPC call on an MCP connection. Requires service token with rpc
|
|
7
|
-
* scope.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.rpc.call(
|
|
12
|
-
* 'connectionId',
|
|
13
|
-
* {
|
|
14
|
-
* namespaceId: 'namespaceId',
|
|
15
|
-
* jsonrpc: '2.0',
|
|
16
|
-
* method: 'tools/list',
|
|
17
|
-
* },
|
|
18
|
-
* );
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
call(connectionID: string, params: RpcCallParams, options?: RequestOptions): APIPromise<JsonRpcResponse>;
|
|
22
3
|
}
|
|
23
4
|
export interface JsonRpcRequest {
|
|
24
5
|
jsonrpc: '2.0';
|
|
@@ -37,29 +18,7 @@ export interface JsonRpcResponse {
|
|
|
37
18
|
jsonrpc: '2.0';
|
|
38
19
|
result?: unknown;
|
|
39
20
|
}
|
|
40
|
-
export interface RpcCallParams {
|
|
41
|
-
/**
|
|
42
|
-
* Path param
|
|
43
|
-
*/
|
|
44
|
-
namespaceId: string;
|
|
45
|
-
/**
|
|
46
|
-
* Body param
|
|
47
|
-
*/
|
|
48
|
-
jsonrpc: '2.0';
|
|
49
|
-
/**
|
|
50
|
-
* Body param: MCP method to call
|
|
51
|
-
*/
|
|
52
|
-
method: string;
|
|
53
|
-
/**
|
|
54
|
-
* Body param
|
|
55
|
-
*/
|
|
56
|
-
id?: string | number;
|
|
57
|
-
/**
|
|
58
|
-
* Body param: Method parameters
|
|
59
|
-
*/
|
|
60
|
-
params?: unknown;
|
|
61
|
-
}
|
|
62
21
|
export declare namespace Rpc {
|
|
63
|
-
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse
|
|
22
|
+
export { type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse };
|
|
64
23
|
}
|
|
65
24
|
//# sourceMappingURL=rpc.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,GAAI,SAAQ,WAAW;CAAG;AAEvC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAE3B,OAAO,EAAE,KAAK,CAAC;IAEf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CAC3F"}
|
|
@@ -3,31 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Rpc = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
7
6
|
class Rpc extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Execute a JSON-RPC call on an MCP connection. Requires service token with rpc
|
|
10
|
-
* scope.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const jsonRpcResponse = await client.beta.connect.rpc.call(
|
|
15
|
-
* 'connectionId',
|
|
16
|
-
* {
|
|
17
|
-
* namespaceId: 'namespaceId',
|
|
18
|
-
* jsonrpc: '2.0',
|
|
19
|
-
* method: 'tools/list',
|
|
20
|
-
* },
|
|
21
|
-
* );
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
call(connectionID, params, options) {
|
|
25
|
-
const { namespaceId, ...body } = params;
|
|
26
|
-
return this._client.post((0, path_1.path) `/connect/namespaces/${namespaceId}/connections/${connectionID}/rpc`, {
|
|
27
|
-
body,
|
|
28
|
-
...options,
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
7
|
}
|
|
32
8
|
exports.Rpc = Rpc;
|
|
33
9
|
//# sourceMappingURL=rpc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,GAAI,SAAQ,sBAAW;CAAG;AAAvC,kBAAuC"}
|
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
4
3
|
export class Rpc extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a JSON-RPC call on an MCP connection. Requires service token with rpc
|
|
7
|
-
* scope.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const jsonRpcResponse = await client.beta.connect.rpc.call(
|
|
12
|
-
* 'connectionId',
|
|
13
|
-
* {
|
|
14
|
-
* namespaceId: 'namespaceId',
|
|
15
|
-
* jsonrpc: '2.0',
|
|
16
|
-
* method: 'tools/list',
|
|
17
|
-
* },
|
|
18
|
-
* );
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
call(connectionID, params, options) {
|
|
22
|
-
const { namespaceId, ...body } = params;
|
|
23
|
-
return this._client.post(path `/connect/namespaces/${namespaceId}/connections/${connectionID}/rpc`, {
|
|
24
|
-
body,
|
|
25
|
-
...options,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
4
|
}
|
|
29
5
|
//# sourceMappingURL=rpc.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"rpc.mjs","sourceRoot":"","sources":["../../../src/resources/beta/connect/rpc.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,GAAI,SAAQ,WAAW;CAAG"}
|
|
@@ -5,16 +5,6 @@ export declare class Tools extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Get a paginated list of all MCP tools across servers. Use the `q` parameter for
|
|
7
7
|
* semantic search.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* // Automatically fetches more pages as needed.
|
|
12
|
-
* for await (const toolListResponse of client.beta.tools.list(
|
|
13
|
-
* { q: 'x' },
|
|
14
|
-
* )) {
|
|
15
|
-
* // ...
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
8
|
*/
|
|
19
9
|
list(query: ToolListParams, options?: RequestOptions): PagePromise<ToolListResponsesToolsPage, ToolListResponse>;
|
|
20
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"tools.d.mts","sourceRoot":"","s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OAAO,CAAC;IAE9C,YAAY,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,gBAAgB,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEhD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,cAAc,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE9C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -5,16 +5,6 @@ export declare class Tools extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Get a paginated list of all MCP tools across servers. Use the `q` parameter for
|
|
7
7
|
* semantic search.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* // Automatically fetches more pages as needed.
|
|
12
|
-
* for await (const toolListResponse of client.beta.tools.list(
|
|
13
|
-
* { q: 'x' },
|
|
14
|
-
* )) {
|
|
15
|
-
* // ...
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
8
|
*/
|
|
19
9
|
list(query: ToolListParams, options?: RequestOptions): PagePromise<ToolListResponsesToolsPage, ToolListResponse>;
|
|
20
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,eAAe,EAAE;OAChD,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
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AG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE9C,YAAY,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,gBAAgB,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEhD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,cAAc,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE9C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
package/resources/beta/tools.js
CHANGED
|
@@ -8,16 +8,6 @@ class Tools extends resource_1.APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get a paginated list of all MCP tools across servers. Use the `q` parameter for
|
|
10
10
|
* semantic search.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* // Automatically fetches more pages as needed.
|
|
15
|
-
* for await (const toolListResponse of client.beta.tools.list(
|
|
16
|
-
* { q: 'x' },
|
|
17
|
-
* )) {
|
|
18
|
-
* // ...
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
11
|
*/
|
|
22
12
|
list(query, options) {
|
|
23
13
|
return this._client.getAPIList('/tools', (pagination_1.ToolsPage), { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAClD,yDAAqF;AAGrF,MAAa,KAAM,SAAQ,sBAAW;IACpC
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAClD,yDAAqF;AAGrF,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;OAGG;IACH,IAAI,CACF,KAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA,sBAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AAXD,sBAWC"}
|
package/resources/beta/tools.mjs
CHANGED
|
@@ -5,16 +5,6 @@ export class Tools extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Get a paginated list of all MCP tools across servers. Use the `q` parameter for
|
|
7
7
|
* semantic search.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* // Automatically fetches more pages as needed.
|
|
12
|
-
* for await (const toolListResponse of client.beta.tools.list(
|
|
13
|
-
* { q: 'x' },
|
|
14
|
-
* )) {
|
|
15
|
-
* // ...
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
8
|
*/
|
|
19
9
|
list(query, options) {
|
|
20
10
|
return this._client.getAPIList('/tools', (ToolsPage), { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.mjs","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAe,SAAS,EAAwB;AAGvD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"tools.mjs","sourceRoot":"","sources":["../../src/resources/beta/tools.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAe,SAAS,EAAwB;AAGvD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,IAAI,CACF,KAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA,SAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
|
|
@@ -2,49 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as ConnectionsAPI from './connections';
|
|
5
|
-
import {
|
|
6
|
-
Connection,
|
|
7
|
-
ConnectionCreateParams,
|
|
8
|
-
ConnectionDeleteParams,
|
|
9
|
-
ConnectionDeleteResponse,
|
|
10
|
-
ConnectionRetrieveParams,
|
|
11
|
-
Connections,
|
|
12
|
-
ConnectionsListResponse,
|
|
13
|
-
CreateConnectionRequest,
|
|
14
|
-
} from './connections';
|
|
15
|
-
import * as NamespacesAPI from './namespaces';
|
|
16
|
-
import { Namespace, Namespaces } from './namespaces';
|
|
5
|
+
import { Connection, Connections, ConnectionsListResponse, CreateConnectionRequest } from './connections';
|
|
17
6
|
import * as RpcAPI from './rpc';
|
|
18
|
-
import { JsonRpcRequest, JsonRpcResponse, Rpc
|
|
7
|
+
import { JsonRpcRequest, JsonRpcResponse, Rpc } from './rpc';
|
|
19
8
|
|
|
20
9
|
export class Connect extends APIResource {
|
|
21
|
-
namespaces: NamespacesAPI.Namespaces = new NamespacesAPI.Namespaces(this._client);
|
|
22
10
|
connections: ConnectionsAPI.Connections = new ConnectionsAPI.Connections(this._client);
|
|
23
11
|
rpc: RpcAPI.Rpc = new RpcAPI.Rpc(this._client);
|
|
24
12
|
}
|
|
25
13
|
|
|
26
|
-
Connect.Namespaces = Namespaces;
|
|
27
14
|
Connect.Connections = Connections;
|
|
28
15
|
Connect.Rpc = Rpc;
|
|
29
16
|
|
|
30
17
|
export declare namespace Connect {
|
|
31
|
-
export { Namespaces as Namespaces, type Namespace as Namespace };
|
|
32
|
-
|
|
33
18
|
export {
|
|
34
19
|
Connections as Connections,
|
|
35
20
|
type Connection as Connection,
|
|
36
21
|
type ConnectionsListResponse as ConnectionsListResponse,
|
|
37
22
|
type CreateConnectionRequest as CreateConnectionRequest,
|
|
38
|
-
type ConnectionDeleteResponse as ConnectionDeleteResponse,
|
|
39
|
-
type ConnectionCreateParams as ConnectionCreateParams,
|
|
40
|
-
type ConnectionRetrieveParams as ConnectionRetrieveParams,
|
|
41
|
-
type ConnectionDeleteParams as ConnectionDeleteParams,
|
|
42
23
|
};
|
|
43
24
|
|
|
44
|
-
export {
|
|
45
|
-
Rpc as Rpc,
|
|
46
|
-
type JsonRpcRequest as JsonRpcRequest,
|
|
47
|
-
type JsonRpcResponse as JsonRpcResponse,
|
|
48
|
-
type RpcCallParams as RpcCallParams,
|
|
49
|
-
};
|
|
25
|
+
export { Rpc as Rpc, type JsonRpcRequest as JsonRpcRequest, type JsonRpcResponse as JsonRpcResponse };
|
|
50
26
|
}
|