@nirvana-labs/nirvana-mcp 1.19.0 → 1.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/README.md +15 -12
- package/package.json +2 -2
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/server.ts +1 -1
- package/src/tools/index.ts +18 -12
- package/src/tools/{connect/flux/update-connect-flux.ts → networking/connect/connections/create-connect-networking-connections.ts} +71 -13
- package/src/tools/networking/connect/connections/delete-connect-networking-connections.ts +49 -0
- package/src/tools/networking/connect/connections/get-connect-networking-connections.ts +49 -0
- package/src/tools/networking/connect/connections/list-connect-networking-connections.ts +46 -0
- package/src/tools/networking/connect/connections/update-connect-networking-connections.ts +58 -0
- package/src/tools/{connect/flux/routes/list-flux-connect-routes.ts → networking/connect/routes/list-connect-networking-routes.ts} +6 -6
- package/src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts +61 -0
- package/src/tools/rpc-nodes/flex/delete-rpc-nodes-flex.ts +40 -0
- package/src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts +56 -0
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +18 -12
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +18 -12
- package/tools/index.mjs.map +1 -1
- package/tools/networking/connect/connections/create-connect-networking-connections.d.mts +45 -0
- package/tools/networking/connect/connections/create-connect-networking-connections.d.mts.map +1 -0
- package/tools/networking/connect/connections/create-connect-networking-connections.d.ts +45 -0
- package/tools/networking/connect/connections/create-connect-networking-connections.d.ts.map +1 -0
- package/tools/{connect/flux/create-connect-flux.js → networking/connect/connections/create-connect-networking-connections.js} +15 -15
- package/tools/networking/connect/connections/create-connect-networking-connections.js.map +1 -0
- package/tools/{connect/flux/create-connect-flux.mjs → networking/connect/connections/create-connect-networking-connections.mjs} +15 -15
- package/tools/networking/connect/connections/create-connect-networking-connections.mjs.map +1 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.mts +45 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.mts.map +1 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.ts +45 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.ts.map +1 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.js +42 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.js.map +1 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.mjs +38 -0
- package/tools/networking/connect/connections/delete-connect-networking-connections.mjs.map +1 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.d.mts +45 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.d.mts.map +1 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.d.ts +45 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.d.ts.map +1 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.js +42 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.js.map +1 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.mjs +38 -0
- package/tools/networking/connect/connections/get-connect-networking-connections.mjs.map +1 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.d.mts +45 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.d.mts.map +1 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.d.ts +45 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.d.ts.map +1 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.js +39 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.js.map +1 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.mjs +35 -0
- package/tools/networking/connect/connections/list-connect-networking-connections.mjs.map +1 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.d.mts +45 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.d.mts.map +1 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.d.ts +45 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.d.ts.map +1 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.js +51 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.js.map +1 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.mjs +47 -0
- package/tools/networking/connect/connections/update-connect-networking-connections.mjs.map +1 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.d.mts +45 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.d.mts.map +1 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.d.ts +45 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.d.ts.map +1 -0
- package/tools/{connect/flux/routes/list-flux-connect-routes.js → networking/connect/routes/list-connect-networking-routes.js} +7 -7
- package/tools/networking/connect/routes/list-connect-networking-routes.js.map +1 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.mjs +35 -0
- package/tools/networking/connect/routes/list-connect-networking-routes.mjs.map +1 -0
- package/tools/{connect/flux/delete-connect-flux.d.mts → rpc-nodes/flex/create-rpc-nodes-flex.d.mts} +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.mts.map +1 -0
- package/tools/{connect/flux/delete-connect-flux.d.ts → rpc-nodes/flex/create-rpc-nodes-flex.d.ts} +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.ts.map +1 -0
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js +56 -0
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js.map +1 -0
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs +52 -0
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs.map +1 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.d.mts +45 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.d.mts.map +1 -0
- package/tools/{connect/flux/create-connect-flux.d.mts → rpc-nodes/flex/delete-rpc-nodes-flex.d.ts} +1 -1
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.d.ts.map +1 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.js +37 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.js.map +1 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.mjs +33 -0
- package/tools/rpc-nodes/flex/delete-rpc-nodes-flex.mjs.map +1 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.mts +45 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.mts.map +1 -0
- package/tools/{connect/flux/create-connect-flux.d.ts → rpc-nodes/flex/update-rpc-nodes-flex.d.ts} +1 -1
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.ts.map +1 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js +51 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js.map +1 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs +47 -0
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs.map +1 -0
- package/src/tools/connect/flux/create-connect-flux.ts +0 -112
- package/src/tools/connect/flux/delete-connect-flux.ts +0 -47
- package/src/tools/connect/flux/get-connect-flux.ts +0 -47
- package/src/tools/connect/flux/list-connect-flux.ts +0 -44
- package/tools/connect/flux/create-connect-flux.d.mts.map +0 -1
- package/tools/connect/flux/create-connect-flux.d.ts.map +0 -1
- package/tools/connect/flux/create-connect-flux.js.map +0 -1
- package/tools/connect/flux/create-connect-flux.mjs.map +0 -1
- package/tools/connect/flux/delete-connect-flux.d.mts.map +0 -1
- package/tools/connect/flux/delete-connect-flux.d.ts.map +0 -1
- package/tools/connect/flux/delete-connect-flux.js +0 -42
- package/tools/connect/flux/delete-connect-flux.js.map +0 -1
- package/tools/connect/flux/delete-connect-flux.mjs +0 -38
- package/tools/connect/flux/delete-connect-flux.mjs.map +0 -1
- package/tools/connect/flux/get-connect-flux.d.mts +0 -45
- package/tools/connect/flux/get-connect-flux.d.mts.map +0 -1
- package/tools/connect/flux/get-connect-flux.d.ts +0 -45
- package/tools/connect/flux/get-connect-flux.d.ts.map +0 -1
- package/tools/connect/flux/get-connect-flux.js +0 -42
- package/tools/connect/flux/get-connect-flux.js.map +0 -1
- package/tools/connect/flux/get-connect-flux.mjs +0 -38
- package/tools/connect/flux/get-connect-flux.mjs.map +0 -1
- package/tools/connect/flux/list-connect-flux.d.mts +0 -45
- package/tools/connect/flux/list-connect-flux.d.mts.map +0 -1
- package/tools/connect/flux/list-connect-flux.d.ts +0 -45
- package/tools/connect/flux/list-connect-flux.d.ts.map +0 -1
- package/tools/connect/flux/list-connect-flux.js +0 -39
- package/tools/connect/flux/list-connect-flux.js.map +0 -1
- package/tools/connect/flux/list-connect-flux.mjs +0 -35
- package/tools/connect/flux/list-connect-flux.mjs.map +0 -1
- package/tools/connect/flux/routes/list-flux-connect-routes.d.mts +0 -45
- package/tools/connect/flux/routes/list-flux-connect-routes.d.mts.map +0 -1
- package/tools/connect/flux/routes/list-flux-connect-routes.d.ts +0 -45
- package/tools/connect/flux/routes/list-flux-connect-routes.d.ts.map +0 -1
- package/tools/connect/flux/routes/list-flux-connect-routes.js.map +0 -1
- package/tools/connect/flux/routes/list-flux-connect-routes.mjs +0 -35
- package/tools/connect/flux/routes/list-flux-connect-routes.mjs.map +0 -1
- package/tools/connect/flux/update-connect-flux.d.mts +0 -45
- package/tools/connect/flux/update-connect-flux.d.mts.map +0 -1
- package/tools/connect/flux/update-connect-flux.d.ts +0 -45
- package/tools/connect/flux/update-connect-flux.d.ts.map +0 -1
- package/tools/connect/flux/update-connect-flux.js +0 -51
- package/tools/connect/flux/update-connect-flux.js.map +0 -1
- package/tools/connect/flux/update-connect-flux.mjs +0 -47
- package/tools/connect/flux/update-connect-flux.mjs.map +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=delete-connect-networking-connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-connect-networking-connections.d.ts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/delete-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@nirvana-labs/nirvana-mcp/filtering");
|
|
6
|
+
const types_1 = require("@nirvana-labs/nirvana-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'networking.connect.connections',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'delete',
|
|
12
|
+
httpPath: '/v1/networking/connect/connections/{connection_id}',
|
|
13
|
+
operationId: 'delete_connect_connection',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'delete_connect_networking_connections',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nDelete Connect Connection\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/operation',\n $defs: {\n operation: {\n type: 'object',\n description: 'Operation details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Operation.'\n },\n created_at: {\n type: 'string',\n description: 'When the Operation was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/operation_kind'\n },\n resource_id: {\n type: 'string',\n description: 'ID of the resource that the Operation is acting on.'\n },\n status: {\n $ref: '#/$defs/operation_status'\n },\n type: {\n $ref: '#/$defs/operation_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Operation was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'resource_id',\n 'status',\n 'type',\n 'updated_at'\n ]\n },\n operation_kind: {\n type: 'string',\n description: 'Kind of Operation.',\n enum: [ 'vm',\n 'volume',\n 'vpc',\n 'firewall_rule'\n ]\n },\n operation_status: {\n type: 'string',\n description: 'Status of the Operation.',\n enum: [ 'pending',\n 'running',\n 'done',\n 'failed',\n 'unknown'\n ]\n },\n operation_type: {\n type: 'string',\n description: 'Type of Operation.',\n enum: [ 'create',\n 'update',\n 'delete',\n 'restart'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
connection_id: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
},
|
|
24
|
+
jq_filter: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
title: 'jq Filter',
|
|
27
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
required: ['connection_id'],
|
|
31
|
+
},
|
|
32
|
+
annotations: {
|
|
33
|
+
idempotentHint: true,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
const handler = async (client, args) => {
|
|
37
|
+
const { connection_id, jq_filter, ...body } = args;
|
|
38
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.networking.connect.connections.delete(connection_id)));
|
|
39
|
+
};
|
|
40
|
+
exports.handler = handler;
|
|
41
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
42
|
+
//# sourceMappingURL=delete-connect-networking-connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-connect-networking-connections.js","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/delete-connect-networking-connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,oDAAoD;IAC9D,WAAW,EAAE,2BAA2B;CACzC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uCAAuC;IAC7C,WAAW,EACT,i6DAAi6D;IACn6D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC1D,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'networking.connect.connections',
|
|
6
|
+
operation: 'write',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'delete',
|
|
9
|
+
httpPath: '/v1/networking/connect/connections/{connection_id}',
|
|
10
|
+
operationId: 'delete_connect_connection',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'delete_connect_networking_connections',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nDelete Connect Connection\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/operation',\n $defs: {\n operation: {\n type: 'object',\n description: 'Operation details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Operation.'\n },\n created_at: {\n type: 'string',\n description: 'When the Operation was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/operation_kind'\n },\n resource_id: {\n type: 'string',\n description: 'ID of the resource that the Operation is acting on.'\n },\n status: {\n $ref: '#/$defs/operation_status'\n },\n type: {\n $ref: '#/$defs/operation_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Operation was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'resource_id',\n 'status',\n 'type',\n 'updated_at'\n ]\n },\n operation_kind: {\n type: 'string',\n description: 'Kind of Operation.',\n enum: [ 'vm',\n 'volume',\n 'vpc',\n 'firewall_rule'\n ]\n },\n operation_status: {\n type: 'string',\n description: 'Status of the Operation.',\n enum: [ 'pending',\n 'running',\n 'done',\n 'failed',\n 'unknown'\n ]\n },\n operation_type: {\n type: 'string',\n description: 'Type of Operation.',\n enum: [ 'create',\n 'update',\n 'delete',\n 'restart'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
connection_id: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
},
|
|
21
|
+
jq_filter: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
title: 'jq Filter',
|
|
24
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
required: ['connection_id'],
|
|
28
|
+
},
|
|
29
|
+
annotations: {
|
|
30
|
+
idempotentHint: true,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
export const handler = async (client, args) => {
|
|
34
|
+
const { connection_id, jq_filter, ...body } = args;
|
|
35
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.networking.connect.connections.delete(connection_id)));
|
|
36
|
+
};
|
|
37
|
+
export default { metadata, tool, handler };
|
|
38
|
+
//# sourceMappingURL=delete-connect-networking-connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-connect-networking-connections.mjs","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/delete-connect-networking-connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,oDAAoD;IAC9D,WAAW,EAAE,2BAA2B;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uCAAuC;IAC7C,WAAW,EACT,i6DAAi6D;IACn6D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC1D,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=get-connect-networking-connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connect-networking-connections.d.mts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/get-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=get-connect-networking-connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connect-networking-connections.d.ts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/get-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@nirvana-labs/nirvana-mcp/filtering");
|
|
6
|
+
const types_1 = require("@nirvana-labs/nirvana-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'networking.connect.connections',
|
|
9
|
+
operation: 'read',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'get',
|
|
12
|
+
httpPath: '/v1/networking/connect/connections/{connection_id}',
|
|
13
|
+
operationId: 'get_connect_connection',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'get_connect_networking_connections',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet Connect Connection details\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/connect_connection',\n $defs: {\n connect_connection: {\n type: 'object',\n description: 'Connect Connection details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Connect Connection'\n },\n asn: {\n type: 'integer',\n description: 'ASN'\n },\n aws: {\n $ref: '#/$defs/connect_connection_aws_config'\n },\n bandwidth_mbps: {\n $ref: '#/$defs/connect_bandwidth_mbps'\n },\n cidrs: {\n type: 'array',\n description: 'CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n description: 'When the Connect Connection was created',\n format: 'date-time'\n },\n name: {\n type: 'string',\n description: 'Name of the Connect Connection'\n },\n provider_asn: {\n type: 'integer',\n description: 'Provider ASN'\n },\n provider_cidrs: {\n type: 'array',\n description: 'Provider CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n provider_router_ip: {\n type: 'string',\n description: 'Provider Router IP for the Connect Connection'\n },\n region: {\n $ref: '#/$defs/region_name'\n },\n router_ip: {\n type: 'string',\n description: 'Router IP'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Connect Connection',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the Connect Connection was updated',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'asn',\n 'aws',\n 'bandwidth_mbps',\n 'cidrs',\n 'created_at',\n 'name',\n 'provider_asn',\n 'provider_cidrs',\n 'provider_router_ip',\n 'region',\n 'router_ip',\n 'status',\n 'tags',\n 'updated_at'\n ]\n },\n connect_connection_aws_config: {\n type: 'object',\n description: 'AWS provider configuration',\n properties: {\n region: {\n type: 'string',\n description: 'AWS region where the connection is established'\n }\n },\n required: [ 'region'\n ]\n },\n connect_bandwidth_mbps: {\n type: 'string',\n description: 'Connect Connection speed in Mbps',\n enum: [ 50,\n 200,\n 500,\n 1000,\n 2000\n ]\n },\n region_name: {\n type: 'string',\n description: 'Region the resource is in.',\n enum: [ 'us-sea-1',\n 'us-sva-1',\n 'us-chi-1',\n 'us-wdc-1',\n 'eu-frk-1',\n 'ap-sin-1',\n 'ap-seo-1',\n 'ap-tyo-1'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
connection_id: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
},
|
|
24
|
+
jq_filter: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
title: 'jq Filter',
|
|
27
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
required: ['connection_id'],
|
|
31
|
+
},
|
|
32
|
+
annotations: {
|
|
33
|
+
readOnlyHint: true,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
const handler = async (client, args) => {
|
|
37
|
+
const { connection_id, jq_filter, ...body } = args;
|
|
38
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.networking.connect.connections.get(connection_id)));
|
|
39
|
+
};
|
|
40
|
+
exports.handler = handler;
|
|
41
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
42
|
+
//# sourceMappingURL=get-connect-networking-connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connect-networking-connections.js","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/get-connect-networking-connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oDAAoD;IAC9D,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EACT,0oHAA0oH;IAC5oH,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC1D,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'networking.connect.connections',
|
|
6
|
+
operation: 'read',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'get',
|
|
9
|
+
httpPath: '/v1/networking/connect/connections/{connection_id}',
|
|
10
|
+
operationId: 'get_connect_connection',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'get_connect_networking_connections',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet Connect Connection details\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/connect_connection',\n $defs: {\n connect_connection: {\n type: 'object',\n description: 'Connect Connection details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Connect Connection'\n },\n asn: {\n type: 'integer',\n description: 'ASN'\n },\n aws: {\n $ref: '#/$defs/connect_connection_aws_config'\n },\n bandwidth_mbps: {\n $ref: '#/$defs/connect_bandwidth_mbps'\n },\n cidrs: {\n type: 'array',\n description: 'CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n description: 'When the Connect Connection was created',\n format: 'date-time'\n },\n name: {\n type: 'string',\n description: 'Name of the Connect Connection'\n },\n provider_asn: {\n type: 'integer',\n description: 'Provider ASN'\n },\n provider_cidrs: {\n type: 'array',\n description: 'Provider CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n provider_router_ip: {\n type: 'string',\n description: 'Provider Router IP for the Connect Connection'\n },\n region: {\n $ref: '#/$defs/region_name'\n },\n router_ip: {\n type: 'string',\n description: 'Router IP'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Connect Connection',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the Connect Connection was updated',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'asn',\n 'aws',\n 'bandwidth_mbps',\n 'cidrs',\n 'created_at',\n 'name',\n 'provider_asn',\n 'provider_cidrs',\n 'provider_router_ip',\n 'region',\n 'router_ip',\n 'status',\n 'tags',\n 'updated_at'\n ]\n },\n connect_connection_aws_config: {\n type: 'object',\n description: 'AWS provider configuration',\n properties: {\n region: {\n type: 'string',\n description: 'AWS region where the connection is established'\n }\n },\n required: [ 'region'\n ]\n },\n connect_bandwidth_mbps: {\n type: 'string',\n description: 'Connect Connection speed in Mbps',\n enum: [ 50,\n 200,\n 500,\n 1000,\n 2000\n ]\n },\n region_name: {\n type: 'string',\n description: 'Region the resource is in.',\n enum: [ 'us-sea-1',\n 'us-sva-1',\n 'us-chi-1',\n 'us-wdc-1',\n 'eu-frk-1',\n 'ap-sin-1',\n 'ap-seo-1',\n 'ap-tyo-1'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
connection_id: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
},
|
|
21
|
+
jq_filter: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
title: 'jq Filter',
|
|
24
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
required: ['connection_id'],
|
|
28
|
+
},
|
|
29
|
+
annotations: {
|
|
30
|
+
readOnlyHint: true,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
export const handler = async (client, args) => {
|
|
34
|
+
const { connection_id, jq_filter, ...body } = args;
|
|
35
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.networking.connect.connections.get(connection_id)));
|
|
36
|
+
};
|
|
37
|
+
export default { metadata, tool, handler };
|
|
38
|
+
//# sourceMappingURL=get-connect-networking-connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connect-networking-connections.mjs","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/get-connect-networking-connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oDAAoD;IAC9D,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EACT,0oHAA0oH;IAC5oH,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC1D,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-connect-networking-connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-connect-networking-connections.d.mts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/list-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-connect-networking-connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-connect-networking-connections.d.ts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/list-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@nirvana-labs/nirvana-mcp/filtering");
|
|
6
|
+
const types_1 = require("@nirvana-labs/nirvana-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'networking.connect.connections',
|
|
9
|
+
operation: 'read',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'get',
|
|
12
|
+
httpPath: '/v1/networking/connect/connections',
|
|
13
|
+
operationId: 'list_connect_connections',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'list_connect_networking_connections',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Connect Connections\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/connect_connection_list',\n $defs: {\n connect_connection_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/connect_connection'\n }\n }\n },\n required: [ 'items'\n ]\n },\n connect_connection: {\n type: 'object',\n description: 'Connect Connection details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Connect Connection'\n },\n asn: {\n type: 'integer',\n description: 'ASN'\n },\n aws: {\n $ref: '#/$defs/connect_connection_aws_config'\n },\n bandwidth_mbps: {\n $ref: '#/$defs/connect_bandwidth_mbps'\n },\n cidrs: {\n type: 'array',\n description: 'CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n description: 'When the Connect Connection was created',\n format: 'date-time'\n },\n name: {\n type: 'string',\n description: 'Name of the Connect Connection'\n },\n provider_asn: {\n type: 'integer',\n description: 'Provider ASN'\n },\n provider_cidrs: {\n type: 'array',\n description: 'Provider CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n provider_router_ip: {\n type: 'string',\n description: 'Provider Router IP for the Connect Connection'\n },\n region: {\n $ref: '#/$defs/region_name'\n },\n router_ip: {\n type: 'string',\n description: 'Router IP'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Connect Connection',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the Connect Connection was updated',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'asn',\n 'aws',\n 'bandwidth_mbps',\n 'cidrs',\n 'created_at',\n 'name',\n 'provider_asn',\n 'provider_cidrs',\n 'provider_router_ip',\n 'region',\n 'router_ip',\n 'status',\n 'tags',\n 'updated_at'\n ]\n },\n connect_connection_aws_config: {\n type: 'object',\n description: 'AWS provider configuration',\n properties: {\n region: {\n type: 'string',\n description: 'AWS region where the connection is established'\n }\n },\n required: [ 'region'\n ]\n },\n connect_bandwidth_mbps: {\n type: 'string',\n description: 'Connect Connection speed in Mbps',\n enum: [ 50,\n 200,\n 500,\n 1000,\n 2000\n ]\n },\n region_name: {\n type: 'string',\n description: 'Region the resource is in.',\n enum: [ 'us-sea-1',\n 'us-sva-1',\n 'us-chi-1',\n 'us-wdc-1',\n 'eu-frk-1',\n 'ap-sin-1',\n 'ap-seo-1',\n 'ap-tyo-1'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
jq_filter: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
title: 'jq Filter',
|
|
24
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
required: [],
|
|
28
|
+
},
|
|
29
|
+
annotations: {
|
|
30
|
+
readOnlyHint: true,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
const handler = async (client, args) => {
|
|
34
|
+
const { jq_filter } = args;
|
|
35
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.networking.connect.connections.list()));
|
|
36
|
+
};
|
|
37
|
+
exports.handler = handler;
|
|
38
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
39
|
+
//# sourceMappingURL=list-connect-networking-connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-connect-networking-connections.js","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/list-connect-networking-connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oCAAoC;IAC9C,WAAW,EAAE,0BAA0B;CACxC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,85HAA85H;IACh6H,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CACjF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'networking.connect.connections',
|
|
6
|
+
operation: 'read',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'get',
|
|
9
|
+
httpPath: '/v1/networking/connect/connections',
|
|
10
|
+
operationId: 'list_connect_connections',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'list_connect_networking_connections',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Connect Connections\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/connect_connection_list',\n $defs: {\n connect_connection_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/connect_connection'\n }\n }\n },\n required: [ 'items'\n ]\n },\n connect_connection: {\n type: 'object',\n description: 'Connect Connection details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Connect Connection'\n },\n asn: {\n type: 'integer',\n description: 'ASN'\n },\n aws: {\n $ref: '#/$defs/connect_connection_aws_config'\n },\n bandwidth_mbps: {\n $ref: '#/$defs/connect_bandwidth_mbps'\n },\n cidrs: {\n type: 'array',\n description: 'CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n description: 'When the Connect Connection was created',\n format: 'date-time'\n },\n name: {\n type: 'string',\n description: 'Name of the Connect Connection'\n },\n provider_asn: {\n type: 'integer',\n description: 'Provider ASN'\n },\n provider_cidrs: {\n type: 'array',\n description: 'Provider CIDRs for the Connect Connection',\n items: {\n type: 'string'\n }\n },\n provider_router_ip: {\n type: 'string',\n description: 'Provider Router IP for the Connect Connection'\n },\n region: {\n $ref: '#/$defs/region_name'\n },\n router_ip: {\n type: 'string',\n description: 'Router IP'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Connect Connection',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the Connect Connection was updated',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'asn',\n 'aws',\n 'bandwidth_mbps',\n 'cidrs',\n 'created_at',\n 'name',\n 'provider_asn',\n 'provider_cidrs',\n 'provider_router_ip',\n 'region',\n 'router_ip',\n 'status',\n 'tags',\n 'updated_at'\n ]\n },\n connect_connection_aws_config: {\n type: 'object',\n description: 'AWS provider configuration',\n properties: {\n region: {\n type: 'string',\n description: 'AWS region where the connection is established'\n }\n },\n required: [ 'region'\n ]\n },\n connect_bandwidth_mbps: {\n type: 'string',\n description: 'Connect Connection speed in Mbps',\n enum: [ 50,\n 200,\n 500,\n 1000,\n 2000\n ]\n },\n region_name: {\n type: 'string',\n description: 'Region the resource is in.',\n enum: [ 'us-sea-1',\n 'us-sva-1',\n 'us-chi-1',\n 'us-wdc-1',\n 'eu-frk-1',\n 'ap-sin-1',\n 'ap-seo-1',\n 'ap-tyo-1'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
jq_filter: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
title: 'jq Filter',
|
|
21
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
required: [],
|
|
25
|
+
},
|
|
26
|
+
annotations: {
|
|
27
|
+
readOnlyHint: true,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export const handler = async (client, args) => {
|
|
31
|
+
const { jq_filter } = args;
|
|
32
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.networking.connect.connections.list()));
|
|
33
|
+
};
|
|
34
|
+
export default { metadata, tool, handler };
|
|
35
|
+
//# sourceMappingURL=list-connect-networking-connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-connect-networking-connections.mjs","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/list-connect-networking-connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gCAAgC;IAC1C,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oCAAoC;IAC9C,WAAW,EAAE,0BAA0B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,85HAA85H;IACh6H,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CACjF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import NirvanaLabs from '@nirvana-labs/nirvana';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<import("@nirvana-labs/nirvana-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=update-connect-networking-connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-connect-networking-connections.d.mts","sourceRoot":"","sources":["../../../../src/tools/networking/connect/connections/update-connect-networking-connections.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAK3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO5F,wBAA2C"}
|