@seastudio/sdk 3.0.2 → 3.0.4
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 +14 -0
- package/bin/seastudio.js +0 -0
- package/dist/{chunk-TFOJLA2F.cjs → chunk-3I7UM66P.cjs} +9 -7
- package/dist/{chunk-SUF5BPSK.cjs → chunk-3IVOSJIO.cjs} +3 -3
- package/dist/chunk-AXT6ZLY2.js +98 -0
- package/dist/{chunk-XU5GEWWL.js → chunk-GPM5XGYM.js} +1 -1
- package/dist/chunk-PYYG6U4M.cjs +109 -0
- package/dist/{chunk-ANWOL7SM.js → chunk-TJ3CGHWJ.js} +9 -7
- package/dist/develop-tool/cli/index.cjs +79 -7
- package/dist/develop-tool/cli/index.js +79 -7
- package/dist/index.cjs +96 -246
- package/dist/index.d.cts +3 -8
- package/dist/index.d.ts +3 -8
- package/dist/index.js +3 -9
- package/dist/mcp/core/index.cjs +22 -22
- package/dist/mcp/core/index.d.cts +10 -7
- package/dist/mcp/core/index.d.ts +10 -7
- package/dist/mcp/core/index.js +1 -1
- package/dist/mcp/index.cjs +49 -199
- package/dist/mcp/index.d.cts +13 -84
- package/dist/mcp/index.d.ts +13 -84
- package/dist/mcp/index.js +3 -9
- package/dist/mcp/seastudio/index.cjs +19 -19
- package/dist/mcp/seastudio/index.d.cts +1 -1
- package/dist/mcp/seastudio/index.d.ts +1 -1
- package/dist/mcp/seastudio/index.js +2 -2
- package/dist/{types-B1Zqr-0Q.d.cts → types-CUFTi2bZ.d.cts} +10 -1
- package/dist/{types-B1Zqr-0Q.d.ts → types-CUFTi2bZ.d.ts} +10 -1
- package/package.json +2 -22
- package/src/develop-tool/templates/plugin/frontend/package.json.tmpl +2 -2
- package/src/develop-tool/templates/plugin/frontend/src/main.tsx +3 -0
- package/src/develop-tool/templates/plugin/frontend/src/mcp-entry.ts.tmpl +12 -0
- package/dist/chunk-4ITOR5QE.js +0 -901
- package/dist/chunk-CVF4QHS6.cjs +0 -436
- package/dist/chunk-DSOSHJH2.js +0 -643
- package/dist/chunk-FLATZQA2.js +0 -174
- package/dist/chunk-G66KY35N.js +0 -334
- package/dist/chunk-HJJTBVKQ.cjs +0 -909
- package/dist/chunk-ISI2OLPI.cjs +0 -179
- package/dist/chunk-MYURVLGP.cjs +0 -165
- package/dist/chunk-ORBVHAAS.cjs +0 -341
- package/dist/chunk-QD4KISXM.js +0 -160
- package/dist/chunk-S2UIBWKA.js +0 -99
- package/dist/chunk-SNGU4SHO.cjs +0 -654
- package/dist/chunk-XIPL7VSP.cjs +0 -110
- package/dist/chunk-Z7LV7DCO.js +0 -429
- package/dist/mcp/plugin-editor/index.cjs +0 -47
- package/dist/mcp/plugin-editor/index.d.cts +0 -98
- package/dist/mcp/plugin-editor/index.d.ts +0 -98
- package/dist/mcp/plugin-editor/index.js +0 -2
- package/dist/mcp/plugin-excel/index.cjs +0 -31
- package/dist/mcp/plugin-excel/index.d.cts +0 -86
- package/dist/mcp/plugin-excel/index.d.ts +0 -86
- package/dist/mcp/plugin-excel/index.js +0 -2
- package/dist/mcp/plugin-preview/index.cjs +0 -23
- package/dist/mcp/plugin-preview/index.d.cts +0 -109
- package/dist/mcp/plugin-preview/index.d.ts +0 -109
- package/dist/mcp/plugin-preview/index.js +0 -2
- package/dist/mcp/plugin-seaflow/index.cjs +0 -35
- package/dist/mcp/plugin-seaflow/index.d.cts +0 -318
- package/dist/mcp/plugin-seaflow/index.d.ts +0 -318
- package/dist/mcp/plugin-seaflow/index.js +0 -2
- package/dist/mcp/plugin-word/index.cjs +0 -31
- package/dist/mcp/plugin-word/index.d.cts +0 -86
- package/dist/mcp/plugin-word/index.d.ts +0 -86
- package/dist/mcp/plugin-word/index.js +0 -2
- package/dist/tools-LMW67LIY.js +0 -2
- package/dist/tools-TU7PBMDO.cjs +0 -23
package/dist/mcp/core/index.cjs
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3I7UM66P_cjs = require('../../chunk-3I7UM66P.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MCPClient", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3I7UM66P_cjs.MCPClient; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MCPServer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3I7UM66P_cjs.MCPServer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PostMessageTransport", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3I7UM66P_cjs.PostMessageTransport; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "callHostTool", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3I7UM66P_cjs.callHostTool; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "callHostToolText", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk3I7UM66P_cjs.callHostToolText; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "createMCPClient", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk3I7UM66P_cjs.createMCPClient; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createMCPServer", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk3I7UM66P_cjs.createMCPServer; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createNotification", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk3I7UM66P_cjs.createNotification; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createRequest", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk3I7UM66P_cjs.createRequest; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createResponse", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk3I7UM66P_cjs.createResponse; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getDefaultClient", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultClient; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getDefaultServer", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultServer; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getDefaultTransport", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultTransport; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isMCPMessage", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk3I7UM66P_cjs.isMCPMessage; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isNotification", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk3I7UM66P_cjs.isNotification; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "normalizeMCPTool", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPTool; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "normalizeMCPToolInputSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPToolInputSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "normalizeMCPToolObjectSchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPToolObjectSchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "setDefaultClient", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk3I7UM66P_cjs.setDefaultClient; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "setDefaultTransport", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk3I7UM66P_cjs.setDefaultTransport; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "startDefaultServer", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk3I7UM66P_cjs.startDefaultServer; }
|
|
90
90
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PublishParams, S as SubscribeParams,
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-CUFTi2bZ.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-CUFTi2bZ.cjs';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
|
@@ -50,6 +50,9 @@ interface MCPClientOptions {
|
|
|
50
50
|
interface MCPRequestOptions {
|
|
51
51
|
timeout?: number;
|
|
52
52
|
}
|
|
53
|
+
interface MCPToolCallOptions extends MCPRequestOptions {
|
|
54
|
+
pluginInstanceId?: string;
|
|
55
|
+
}
|
|
53
56
|
declare class MCPClient {
|
|
54
57
|
private transport;
|
|
55
58
|
private timeout;
|
|
@@ -61,8 +64,8 @@ declare class MCPClient {
|
|
|
61
64
|
private handleNotification;
|
|
62
65
|
request<T = unknown>(method: string, params?: Record<string, unknown>, options?: MCPRequestOptions): Promise<T>;
|
|
63
66
|
private resolveToolCallTimeout;
|
|
64
|
-
callTool(name: string, args?: Record<string, unknown>, options?:
|
|
65
|
-
callToolText(name: string, args?: Record<string, unknown>, options?:
|
|
67
|
+
callTool(name: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<MCPToolResult>;
|
|
68
|
+
callToolText(name: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<string>;
|
|
66
69
|
ping(): Promise<boolean>;
|
|
67
70
|
subscribe(topics: string[]): Promise<void>;
|
|
68
71
|
unsubscribeTopics(topics: string[]): Promise<void>;
|
|
@@ -87,13 +90,13 @@ declare function setDefaultClient(client: MCPClient): void;
|
|
|
87
90
|
* const data = JSON.parse(result.content[0].text);
|
|
88
91
|
* ```
|
|
89
92
|
*/
|
|
90
|
-
declare function callHostTool(toolName: string, args?: Record<string, unknown
|
|
93
|
+
declare function callHostTool(toolName: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<MCPToolResult>;
|
|
91
94
|
/**
|
|
92
95
|
* 调用 Host 提供的 MCP 工具并返回文本结果(便捷函数)
|
|
93
96
|
*
|
|
94
97
|
* 如果调用出错会抛出异常。
|
|
95
98
|
*/
|
|
96
|
-
declare function callHostToolText(toolName: string, args?: Record<string, unknown
|
|
99
|
+
declare function callHostToolText(toolName: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<string>;
|
|
97
100
|
|
|
98
101
|
/**
|
|
99
102
|
* MCP Server (Plugin Side)
|
|
@@ -121,4 +124,4 @@ declare function createMCPServer(): MCPServer;
|
|
|
121
124
|
declare function getDefaultServer(): MCPServer;
|
|
122
125
|
declare function startDefaultServer(): void;
|
|
123
126
|
|
|
124
|
-
export { JSONRPCMessage, JSONRPCRequest, JSONRPCResponse, MCPClient, type MCPClientOptions, type MCPRequestOptions, MCPServer, MCPTool, type MCPToolHandler, MCPToolInputSchema, MCPToolResult, type MCPTransport, type NormalizeMCPToolInputSchemaOptions, NotificationHandler, PostMessageTransport, type PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer };
|
|
127
|
+
export { JSONRPCMessage, JSONRPCRequest, JSONRPCResponse, MCPClient, type MCPClientOptions, type MCPRequestOptions, MCPServer, MCPTool, type MCPToolCallOptions, type MCPToolHandler, MCPToolInputSchema, MCPToolResult, type MCPTransport, type NormalizeMCPToolInputSchemaOptions, NotificationHandler, PostMessageTransport, type PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer };
|
package/dist/mcp/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PublishParams, S as SubscribeParams,
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-CUFTi2bZ.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-CUFTi2bZ.js';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
|
@@ -50,6 +50,9 @@ interface MCPClientOptions {
|
|
|
50
50
|
interface MCPRequestOptions {
|
|
51
51
|
timeout?: number;
|
|
52
52
|
}
|
|
53
|
+
interface MCPToolCallOptions extends MCPRequestOptions {
|
|
54
|
+
pluginInstanceId?: string;
|
|
55
|
+
}
|
|
53
56
|
declare class MCPClient {
|
|
54
57
|
private transport;
|
|
55
58
|
private timeout;
|
|
@@ -61,8 +64,8 @@ declare class MCPClient {
|
|
|
61
64
|
private handleNotification;
|
|
62
65
|
request<T = unknown>(method: string, params?: Record<string, unknown>, options?: MCPRequestOptions): Promise<T>;
|
|
63
66
|
private resolveToolCallTimeout;
|
|
64
|
-
callTool(name: string, args?: Record<string, unknown>, options?:
|
|
65
|
-
callToolText(name: string, args?: Record<string, unknown>, options?:
|
|
67
|
+
callTool(name: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<MCPToolResult>;
|
|
68
|
+
callToolText(name: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<string>;
|
|
66
69
|
ping(): Promise<boolean>;
|
|
67
70
|
subscribe(topics: string[]): Promise<void>;
|
|
68
71
|
unsubscribeTopics(topics: string[]): Promise<void>;
|
|
@@ -87,13 +90,13 @@ declare function setDefaultClient(client: MCPClient): void;
|
|
|
87
90
|
* const data = JSON.parse(result.content[0].text);
|
|
88
91
|
* ```
|
|
89
92
|
*/
|
|
90
|
-
declare function callHostTool(toolName: string, args?: Record<string, unknown
|
|
93
|
+
declare function callHostTool(toolName: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<MCPToolResult>;
|
|
91
94
|
/**
|
|
92
95
|
* 调用 Host 提供的 MCP 工具并返回文本结果(便捷函数)
|
|
93
96
|
*
|
|
94
97
|
* 如果调用出错会抛出异常。
|
|
95
98
|
*/
|
|
96
|
-
declare function callHostToolText(toolName: string, args?: Record<string, unknown
|
|
99
|
+
declare function callHostToolText(toolName: string, args?: Record<string, unknown>, options?: MCPToolCallOptions): Promise<string>;
|
|
97
100
|
|
|
98
101
|
/**
|
|
99
102
|
* MCP Server (Plugin Side)
|
|
@@ -121,4 +124,4 @@ declare function createMCPServer(): MCPServer;
|
|
|
121
124
|
declare function getDefaultServer(): MCPServer;
|
|
122
125
|
declare function startDefaultServer(): void;
|
|
123
126
|
|
|
124
|
-
export { JSONRPCMessage, JSONRPCRequest, JSONRPCResponse, MCPClient, type MCPClientOptions, type MCPRequestOptions, MCPServer, MCPTool, type MCPToolHandler, MCPToolInputSchema, MCPToolResult, type MCPTransport, type NormalizeMCPToolInputSchemaOptions, NotificationHandler, PostMessageTransport, type PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer };
|
|
127
|
+
export { JSONRPCMessage, JSONRPCRequest, JSONRPCResponse, MCPClient, type MCPClientOptions, type MCPRequestOptions, MCPServer, MCPTool, type MCPToolCallOptions, type MCPToolHandler, MCPToolInputSchema, MCPToolResult, type MCPTransport, type NormalizeMCPToolInputSchemaOptions, NotificationHandler, PostMessageTransport, type PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer };
|
package/dist/mcp/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MCPClient, MCPServer, PostMessageTransport, callHostTool, callHostToolText, createMCPClient, createMCPServer, createNotification, createRequest, createResponse, getDefaultClient, getDefaultServer, getDefaultTransport, isMCPMessage, isNotification, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from '../../chunk-
|
|
1
|
+
export { MCPClient, MCPServer, PostMessageTransport, callHostTool, callHostToolText, createMCPClient, createMCPServer, createNotification, createRequest, createResponse, getDefaultClient, getDefaultServer, getDefaultTransport, isMCPMessage, isNotification, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from '../../chunk-TJ3CGHWJ.js';
|
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,342 +1,192 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var chunkSUF5BPSK_cjs = require('../chunk-SUF5BPSK.cjs');
|
|
7
|
-
var chunkISI2OLPI_cjs = require('../chunk-ISI2OLPI.cjs');
|
|
8
|
-
var chunkCVF4QHS6_cjs = require('../chunk-CVF4QHS6.cjs');
|
|
9
|
-
var chunkMYURVLGP_cjs = require('../chunk-MYURVLGP.cjs');
|
|
10
|
-
var chunkSNGU4SHO_cjs = require('../chunk-SNGU4SHO.cjs');
|
|
11
|
-
var chunkTFOJLA2F_cjs = require('../chunk-TFOJLA2F.cjs');
|
|
3
|
+
var chunkPYYG6U4M_cjs = require('../chunk-PYYG6U4M.cjs');
|
|
4
|
+
var chunk3IVOSJIO_cjs = require('../chunk-3IVOSJIO.cjs');
|
|
5
|
+
var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
|
|
12
6
|
|
|
13
7
|
|
|
14
8
|
|
|
15
9
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
16
10
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkPYYG6U4M_cjs.MCP_PACKAGES; }
|
|
18
12
|
});
|
|
19
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
20
14
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkPYYG6U4M_cjs.getMCPPackageIdForTool; }
|
|
22
16
|
});
|
|
23
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
24
18
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkPYYG6U4M_cjs.getMCPPackages; }
|
|
26
20
|
});
|
|
27
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
28
22
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkPYYG6U4M_cjs.getMCPToolPackageIndex; }
|
|
30
24
|
});
|
|
31
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
32
26
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkPYYG6U4M_cjs.getToolsForLLM; }
|
|
34
28
|
});
|
|
35
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
36
30
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkPYYG6U4M_cjs.listAllTools; }
|
|
38
32
|
});
|
|
39
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
40
34
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkPYYG6U4M_cjs.listAvailableTools; }
|
|
42
36
|
});
|
|
43
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
44
38
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkPYYG6U4M_cjs.listAvailableToolsForLLM; }
|
|
46
40
|
});
|
|
47
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
48
42
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkPYYG6U4M_cjs.loadPlugin; }
|
|
50
44
|
});
|
|
51
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
52
46
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "word", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () { return chunkORBVHAAS_cjs.word; }
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(exports, "wordAllTools", {
|
|
60
|
-
enumerable: true,
|
|
61
|
-
get: function () { return chunkORBVHAAS_cjs.allTools; }
|
|
62
|
-
});
|
|
63
|
-
Object.defineProperty(exports, "wordLifecycleTools", {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
get: function () { return chunkORBVHAAS_cjs.lifecycleTools; }
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "wordMutateTools", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () { return chunkORBVHAAS_cjs.mutateTools; }
|
|
70
|
-
});
|
|
71
|
-
Object.defineProperty(exports, "wordReadTools", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
get: function () { return chunkORBVHAAS_cjs.readTools; }
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(exports, "wordTools", {
|
|
76
|
-
enumerable: true,
|
|
77
|
-
get: function () { return chunkORBVHAAS_cjs.tools; }
|
|
78
|
-
});
|
|
79
|
-
Object.defineProperty(exports, "seaflow", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function () { return chunkHJJTBVKQ_cjs.seaflow; }
|
|
82
|
-
});
|
|
83
|
-
Object.defineProperty(exports, "seaflowAllTools", {
|
|
84
|
-
enumerable: true,
|
|
85
|
-
get: function () { return chunkHJJTBVKQ_cjs.allTools; }
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(exports, "seaflowCanvasAuthTools", {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () { return chunkHJJTBVKQ_cjs.canvasAuthTools; }
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "seaflowCanvasContextTools", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function () { return chunkHJJTBVKQ_cjs.canvasContextTools; }
|
|
94
|
-
});
|
|
95
|
-
Object.defineProperty(exports, "seaflowCanvasExecutionTools", {
|
|
96
|
-
enumerable: true,
|
|
97
|
-
get: function () { return chunkHJJTBVKQ_cjs.canvasExecutionTools; }
|
|
98
|
-
});
|
|
99
|
-
Object.defineProperty(exports, "seaflowTools", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
get: function () { return chunkHJJTBVKQ_cjs.tools; }
|
|
47
|
+
get: function () { return chunkPYYG6U4M_cjs.mcpToolToOpenAI; }
|
|
102
48
|
});
|
|
103
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
104
50
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk3IVOSJIO_cjs.SeastudioNotifications; }
|
|
106
52
|
});
|
|
107
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
108
54
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3IVOSJIO_cjs.SeastudioRequests; }
|
|
110
56
|
});
|
|
111
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
112
58
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3IVOSJIO_cjs.agentManagementTools; }
|
|
114
60
|
});
|
|
115
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
116
62
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk3IVOSJIO_cjs.agentTabTools; }
|
|
118
64
|
});
|
|
119
65
|
Object.defineProperty(exports, "batchFileTools", {
|
|
120
66
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk3IVOSJIO_cjs.batchFileTools; }
|
|
122
68
|
});
|
|
123
69
|
Object.defineProperty(exports, "clipboardTools", {
|
|
124
70
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk3IVOSJIO_cjs.clipboardTools; }
|
|
126
72
|
});
|
|
127
73
|
Object.defineProperty(exports, "codeQualityTools", {
|
|
128
74
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3IVOSJIO_cjs.codeQualityTools; }
|
|
130
76
|
});
|
|
131
77
|
Object.defineProperty(exports, "fileTools", {
|
|
132
78
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk3IVOSJIO_cjs.fileTools; }
|
|
134
80
|
});
|
|
135
81
|
Object.defineProperty(exports, "gitTools", {
|
|
136
82
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk3IVOSJIO_cjs.gitTools; }
|
|
138
84
|
});
|
|
139
85
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
140
86
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk3IVOSJIO_cjs.pluginManagementTools; }
|
|
142
88
|
});
|
|
143
89
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
144
90
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk3IVOSJIO_cjs.pluginTabTools; }
|
|
146
92
|
});
|
|
147
93
|
Object.defineProperty(exports, "seastudio", {
|
|
148
94
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk3IVOSJIO_cjs.seastudio; }
|
|
150
96
|
});
|
|
151
97
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
152
98
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk3IVOSJIO_cjs.allTools; }
|
|
154
100
|
});
|
|
155
101
|
Object.defineProperty(exports, "seastudioTools", {
|
|
156
102
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk3IVOSJIO_cjs.tools; }
|
|
158
104
|
});
|
|
159
105
|
Object.defineProperty(exports, "shellTools", {
|
|
160
106
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
162
|
-
});
|
|
163
|
-
Object.defineProperty(exports, "shellPlugin", {
|
|
164
|
-
enumerable: true,
|
|
165
|
-
get: function () { return chunkISI2OLPI_cjs.shellPlugin; }
|
|
166
|
-
});
|
|
167
|
-
Object.defineProperty(exports, "shellPluginCommandTools", {
|
|
168
|
-
enumerable: true,
|
|
169
|
-
get: function () { return chunkISI2OLPI_cjs.commandTools; }
|
|
170
|
-
});
|
|
171
|
-
Object.defineProperty(exports, "shellPluginSessionTools", {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
get: function () { return chunkISI2OLPI_cjs.sessionTools; }
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(exports, "shellPluginTools", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () { return chunkISI2OLPI_cjs.tools; }
|
|
178
|
-
});
|
|
179
|
-
Object.defineProperty(exports, "excel", {
|
|
180
|
-
enumerable: true,
|
|
181
|
-
get: function () { return chunkCVF4QHS6_cjs.excel; }
|
|
182
|
-
});
|
|
183
|
-
Object.defineProperty(exports, "excelAllTools", {
|
|
184
|
-
enumerable: true,
|
|
185
|
-
get: function () { return chunkCVF4QHS6_cjs.allTools; }
|
|
186
|
-
});
|
|
187
|
-
Object.defineProperty(exports, "excelLifecycleTools", {
|
|
188
|
-
enumerable: true,
|
|
189
|
-
get: function () { return chunkCVF4QHS6_cjs.lifecycleTools; }
|
|
190
|
-
});
|
|
191
|
-
Object.defineProperty(exports, "excelMutateTools", {
|
|
192
|
-
enumerable: true,
|
|
193
|
-
get: function () { return chunkCVF4QHS6_cjs.mutateTools; }
|
|
194
|
-
});
|
|
195
|
-
Object.defineProperty(exports, "excelReadTools", {
|
|
196
|
-
enumerable: true,
|
|
197
|
-
get: function () { return chunkCVF4QHS6_cjs.readTools; }
|
|
198
|
-
});
|
|
199
|
-
Object.defineProperty(exports, "excelTools", {
|
|
200
|
-
enumerable: true,
|
|
201
|
-
get: function () { return chunkCVF4QHS6_cjs.tools; }
|
|
202
|
-
});
|
|
203
|
-
Object.defineProperty(exports, "preview", {
|
|
204
|
-
enumerable: true,
|
|
205
|
-
get: function () { return chunkMYURVLGP_cjs.preview; }
|
|
206
|
-
});
|
|
207
|
-
Object.defineProperty(exports, "previewCoreTools", {
|
|
208
|
-
enumerable: true,
|
|
209
|
-
get: function () { return chunkMYURVLGP_cjs.coreTools; }
|
|
210
|
-
});
|
|
211
|
-
Object.defineProperty(exports, "previewEnhancedTools", {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
get: function () { return chunkMYURVLGP_cjs.enhancedTools; }
|
|
214
|
-
});
|
|
215
|
-
Object.defineProperty(exports, "previewTools", {
|
|
216
|
-
enumerable: true,
|
|
217
|
-
get: function () { return chunkMYURVLGP_cjs.tools; }
|
|
218
|
-
});
|
|
219
|
-
Object.defineProperty(exports, "editor", {
|
|
220
|
-
enumerable: true,
|
|
221
|
-
get: function () { return chunkSNGU4SHO_cjs.editor; }
|
|
222
|
-
});
|
|
223
|
-
Object.defineProperty(exports, "editorAllTools", {
|
|
224
|
-
enumerable: true,
|
|
225
|
-
get: function () { return chunkSNGU4SHO_cjs.allTools; }
|
|
226
|
-
});
|
|
227
|
-
Object.defineProperty(exports, "editorExtensionTools", {
|
|
228
|
-
enumerable: true,
|
|
229
|
-
get: function () { return chunkSNGU4SHO_cjs.extensionTools; }
|
|
230
|
-
});
|
|
231
|
-
Object.defineProperty(exports, "editorFileMutationTools", {
|
|
232
|
-
enumerable: true,
|
|
233
|
-
get: function () { return chunkSNGU4SHO_cjs.fileMutationTools; }
|
|
234
|
-
});
|
|
235
|
-
Object.defineProperty(exports, "editorPreviewTools", {
|
|
236
|
-
enumerable: true,
|
|
237
|
-
get: function () { return chunkSNGU4SHO_cjs.previewTools; }
|
|
238
|
-
});
|
|
239
|
-
Object.defineProperty(exports, "editorProposalTools", {
|
|
240
|
-
enumerable: true,
|
|
241
|
-
get: function () { return chunkSNGU4SHO_cjs.proposalTools; }
|
|
242
|
-
});
|
|
243
|
-
Object.defineProperty(exports, "editorReferenceTools", {
|
|
244
|
-
enumerable: true,
|
|
245
|
-
get: function () { return chunkSNGU4SHO_cjs.referenceTools; }
|
|
246
|
-
});
|
|
247
|
-
Object.defineProperty(exports, "editorSessionTools", {
|
|
248
|
-
enumerable: true,
|
|
249
|
-
get: function () { return chunkSNGU4SHO_cjs.sessionTools; }
|
|
250
|
-
});
|
|
251
|
-
Object.defineProperty(exports, "editorTools", {
|
|
252
|
-
enumerable: true,
|
|
253
|
-
get: function () { return chunkSNGU4SHO_cjs.tools; }
|
|
254
|
-
});
|
|
255
|
-
Object.defineProperty(exports, "fileOperationTools", {
|
|
256
|
-
enumerable: true,
|
|
257
|
-
get: function () { return chunkSNGU4SHO_cjs.fileOperationTools; }
|
|
107
|
+
get: function () { return chunk3IVOSJIO_cjs.shellTools; }
|
|
258
108
|
});
|
|
259
109
|
Object.defineProperty(exports, "MCPClient", {
|
|
260
110
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk3I7UM66P_cjs.MCPClient; }
|
|
262
112
|
});
|
|
263
113
|
Object.defineProperty(exports, "MCPServer", {
|
|
264
114
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk3I7UM66P_cjs.MCPServer; }
|
|
266
116
|
});
|
|
267
117
|
Object.defineProperty(exports, "PostMessageTransport", {
|
|
268
118
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk3I7UM66P_cjs.PostMessageTransport; }
|
|
270
120
|
});
|
|
271
121
|
Object.defineProperty(exports, "callHostTool", {
|
|
272
122
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk3I7UM66P_cjs.callHostTool; }
|
|
274
124
|
});
|
|
275
125
|
Object.defineProperty(exports, "callHostToolText", {
|
|
276
126
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk3I7UM66P_cjs.callHostToolText; }
|
|
278
128
|
});
|
|
279
129
|
Object.defineProperty(exports, "createMCPClient", {
|
|
280
130
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk3I7UM66P_cjs.createMCPClient; }
|
|
282
132
|
});
|
|
283
133
|
Object.defineProperty(exports, "createMCPServer", {
|
|
284
134
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk3I7UM66P_cjs.createMCPServer; }
|
|
286
136
|
});
|
|
287
137
|
Object.defineProperty(exports, "createNotification", {
|
|
288
138
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk3I7UM66P_cjs.createNotification; }
|
|
290
140
|
});
|
|
291
141
|
Object.defineProperty(exports, "createRequest", {
|
|
292
142
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk3I7UM66P_cjs.createRequest; }
|
|
294
144
|
});
|
|
295
145
|
Object.defineProperty(exports, "createResponse", {
|
|
296
146
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk3I7UM66P_cjs.createResponse; }
|
|
298
148
|
});
|
|
299
149
|
Object.defineProperty(exports, "getDefaultClient", {
|
|
300
150
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultClient; }
|
|
302
152
|
});
|
|
303
153
|
Object.defineProperty(exports, "getDefaultServer", {
|
|
304
154
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultServer; }
|
|
306
156
|
});
|
|
307
157
|
Object.defineProperty(exports, "getDefaultTransport", {
|
|
308
158
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunk3I7UM66P_cjs.getDefaultTransport; }
|
|
310
160
|
});
|
|
311
161
|
Object.defineProperty(exports, "isMCPMessage", {
|
|
312
162
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk3I7UM66P_cjs.isMCPMessage; }
|
|
314
164
|
});
|
|
315
165
|
Object.defineProperty(exports, "isNotification", {
|
|
316
166
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk3I7UM66P_cjs.isNotification; }
|
|
318
168
|
});
|
|
319
169
|
Object.defineProperty(exports, "normalizeMCPTool", {
|
|
320
170
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPTool; }
|
|
322
172
|
});
|
|
323
173
|
Object.defineProperty(exports, "normalizeMCPToolInputSchema", {
|
|
324
174
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPToolInputSchema; }
|
|
326
176
|
});
|
|
327
177
|
Object.defineProperty(exports, "normalizeMCPToolObjectSchema", {
|
|
328
178
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunk3I7UM66P_cjs.normalizeMCPToolObjectSchema; }
|
|
330
180
|
});
|
|
331
181
|
Object.defineProperty(exports, "setDefaultClient", {
|
|
332
182
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunk3I7UM66P_cjs.setDefaultClient; }
|
|
334
184
|
});
|
|
335
185
|
Object.defineProperty(exports, "setDefaultTransport", {
|
|
336
186
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunk3I7UM66P_cjs.setDefaultTransport; }
|
|
338
188
|
});
|
|
339
189
|
Object.defineProperty(exports, "startDefaultServer", {
|
|
340
190
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunk3I7UM66P_cjs.startDefaultServer; }
|
|
342
192
|
});
|