@seastudio/sdk 3.3.2 → 3.3.3
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/dist/{chunk-2SQFLDTT.cjs → chunk-3STW46ME.cjs} +4 -1
- package/dist/{chunk-BUC7WN5U.js → chunk-HXP4V4WE.js} +4 -1
- package/dist/index.cjs +94 -94
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp/core/index.d.cts +2 -2
- package/dist/mcp/core/index.d.ts +2 -2
- package/dist/mcp/index.cjs +11 -11
- package/dist/mcp/index.d.cts +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/seastudio/index.d.cts +1 -1
- package/dist/mcp/seastudio/index.d.ts +1 -1
- package/dist/{types-CUFTi2bZ.d.cts → types-DY867NzA.d.cts} +1 -0
- package/dist/{types-CUFTi2bZ.d.ts → types-DY867NzA.d.ts} +1 -0
- package/package.json +1 -1
|
@@ -48,9 +48,12 @@ function normalizeAvailableTool(raw) {
|
|
|
48
48
|
return null;
|
|
49
49
|
}
|
|
50
50
|
const tool = raw;
|
|
51
|
-
if (typeof tool.name !== "string" || typeof tool.
|
|
51
|
+
if (typeof tool.name !== "string" || typeof tool.inputSchema !== "object" || tool.inputSchema === null) {
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
|
+
if (typeof tool.description !== "string") {
|
|
55
|
+
tool.description = tool.description == null ? "" : String(tool.description);
|
|
56
|
+
}
|
|
54
57
|
const normalized = chunk3I7UM66P_cjs.normalizeMCPTool(tool);
|
|
55
58
|
const source = typeof tool.source === "string" && tool.source.trim() ? tool.source.trim() : "seastudio";
|
|
56
59
|
return {
|
|
@@ -46,9 +46,12 @@ function normalizeAvailableTool(raw) {
|
|
|
46
46
|
return null;
|
|
47
47
|
}
|
|
48
48
|
const tool = raw;
|
|
49
|
-
if (typeof tool.name !== "string" || typeof tool.
|
|
49
|
+
if (typeof tool.name !== "string" || typeof tool.inputSchema !== "object" || tool.inputSchema === null) {
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
+
if (typeof tool.description !== "string") {
|
|
53
|
+
tool.description = tool.description == null ? "" : String(tool.description);
|
|
54
|
+
}
|
|
52
55
|
const normalized = normalizeMCPTool(tool);
|
|
53
56
|
const source = typeof tool.source === "string" && tool.source.trim() ? tool.source.trim() : "seastudio";
|
|
54
57
|
return {
|
package/dist/index.cjs
CHANGED
|
@@ -1,54 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunk2SQFLDTT_cjs = require('./chunk-2SQFLDTT.cjs');
|
|
4
3
|
var chunkGCE3TTCJ_cjs = require('./chunk-GCE3TTCJ.cjs');
|
|
5
4
|
var chunkO2C4Z5B5_cjs = require('./chunk-O2C4Z5B5.cjs');
|
|
5
|
+
var chunk3STW46ME_cjs = require('./chunk-3STW46ME.cjs');
|
|
6
|
+
var chunkGEPSOYJN_cjs = require('./chunk-GEPSOYJN.cjs');
|
|
6
7
|
var chunkUXBJODKS_cjs = require('./chunk-UXBJODKS.cjs');
|
|
7
8
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
8
|
-
var chunkGEPSOYJN_cjs = require('./chunk-GEPSOYJN.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunk2SQFLDTT_cjs.MCP_PACKAGES; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunk2SQFLDTT_cjs.getMCPPackageIdForTool; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getMCPPackages", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunk2SQFLDTT_cjs.getMCPPackages; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunk2SQFLDTT_cjs.getMCPToolPackageIndex; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "getToolsForLLM", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunk2SQFLDTT_cjs.getToolsForLLM; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "listAllTools", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return chunk2SQFLDTT_cjs.listAllTools; }
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "listAvailableTools", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return chunk2SQFLDTT_cjs.listAvailableTools; }
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () { return chunk2SQFLDTT_cjs.listAvailableToolsForLLM; }
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "loadPlugin", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return chunk2SQFLDTT_cjs.loadPlugin; }
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () { return chunk2SQFLDTT_cjs.mcpToolToOpenAI; }
|
|
51
|
-
});
|
|
52
12
|
Object.defineProperty(exports, "buildSkillId", {
|
|
53
13
|
enumerable: true,
|
|
54
14
|
get: function () { return chunkGCE3TTCJ_cjs.buildSkillId; }
|
|
@@ -129,6 +89,98 @@ Object.defineProperty(exports, "useElectronSkillRegistryTransport", {
|
|
|
129
89
|
enumerable: true,
|
|
130
90
|
get: function () { return chunkO2C4Z5B5_cjs.useElectronSkillRegistryTransport; }
|
|
131
91
|
});
|
|
92
|
+
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunk3STW46ME_cjs.MCP_PACKAGES; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunk3STW46ME_cjs.getMCPPackageIdForTool; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "getMCPPackages", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunk3STW46ME_cjs.getMCPPackages; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunk3STW46ME_cjs.getMCPToolPackageIndex; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "getToolsForLLM", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunk3STW46ME_cjs.getToolsForLLM; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "listAllTools", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunk3STW46ME_cjs.listAllTools; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "listAvailableTools", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunk3STW46ME_cjs.listAvailableTools; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunk3STW46ME_cjs.listAvailableToolsForLLM; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "loadPlugin", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunk3STW46ME_cjs.loadPlugin; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunk3STW46ME_cjs.mcpToolToOpenAI; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "DialogBody", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogBody; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "DialogButton", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogButton; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "DialogContainer", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogContainer; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "DialogFooter", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogFooter; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "DialogHeader", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogHeader; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "DialogOverlay", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkGEPSOYJN_cjs.DialogOverlay; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "MenuContainer", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkGEPSOYJN_cjs.MenuContainer; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "MenuEmpty", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunkGEPSOYJN_cjs.MenuEmpty; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "MenuItem", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunkGEPSOYJN_cjs.MenuItem; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "MenuSeparator", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunkGEPSOYJN_cjs.MenuSeparator; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "Tab", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkGEPSOYJN_cjs.Tab; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "cn", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkGEPSOYJN_cjs.cn; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "showHostContextMenu", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkGEPSOYJN_cjs.showHostContextMenu; }
|
|
183
|
+
});
|
|
132
184
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
133
185
|
enumerable: true,
|
|
134
186
|
get: function () { return chunkUXBJODKS_cjs.SeastudioNotifications; }
|
|
@@ -261,55 +313,3 @@ Object.defineProperty(exports, "startDefaultServer", {
|
|
|
261
313
|
enumerable: true,
|
|
262
314
|
get: function () { return chunk3I7UM66P_cjs.startDefaultServer; }
|
|
263
315
|
});
|
|
264
|
-
Object.defineProperty(exports, "DialogBody", {
|
|
265
|
-
enumerable: true,
|
|
266
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogBody; }
|
|
267
|
-
});
|
|
268
|
-
Object.defineProperty(exports, "DialogButton", {
|
|
269
|
-
enumerable: true,
|
|
270
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogButton; }
|
|
271
|
-
});
|
|
272
|
-
Object.defineProperty(exports, "DialogContainer", {
|
|
273
|
-
enumerable: true,
|
|
274
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogContainer; }
|
|
275
|
-
});
|
|
276
|
-
Object.defineProperty(exports, "DialogFooter", {
|
|
277
|
-
enumerable: true,
|
|
278
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogFooter; }
|
|
279
|
-
});
|
|
280
|
-
Object.defineProperty(exports, "DialogHeader", {
|
|
281
|
-
enumerable: true,
|
|
282
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogHeader; }
|
|
283
|
-
});
|
|
284
|
-
Object.defineProperty(exports, "DialogOverlay", {
|
|
285
|
-
enumerable: true,
|
|
286
|
-
get: function () { return chunkGEPSOYJN_cjs.DialogOverlay; }
|
|
287
|
-
});
|
|
288
|
-
Object.defineProperty(exports, "MenuContainer", {
|
|
289
|
-
enumerable: true,
|
|
290
|
-
get: function () { return chunkGEPSOYJN_cjs.MenuContainer; }
|
|
291
|
-
});
|
|
292
|
-
Object.defineProperty(exports, "MenuEmpty", {
|
|
293
|
-
enumerable: true,
|
|
294
|
-
get: function () { return chunkGEPSOYJN_cjs.MenuEmpty; }
|
|
295
|
-
});
|
|
296
|
-
Object.defineProperty(exports, "MenuItem", {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () { return chunkGEPSOYJN_cjs.MenuItem; }
|
|
299
|
-
});
|
|
300
|
-
Object.defineProperty(exports, "MenuSeparator", {
|
|
301
|
-
enumerable: true,
|
|
302
|
-
get: function () { return chunkGEPSOYJN_cjs.MenuSeparator; }
|
|
303
|
-
});
|
|
304
|
-
Object.defineProperty(exports, "Tab", {
|
|
305
|
-
enumerable: true,
|
|
306
|
-
get: function () { return chunkGEPSOYJN_cjs.Tab; }
|
|
307
|
-
});
|
|
308
|
-
Object.defineProperty(exports, "cn", {
|
|
309
|
-
enumerable: true,
|
|
310
|
-
get: function () { return chunkGEPSOYJN_cjs.cn; }
|
|
311
|
-
});
|
|
312
|
-
Object.defineProperty(exports, "showHostContextMenu", {
|
|
313
|
-
enumerable: true,
|
|
314
|
-
get: function () { return chunkGEPSOYJN_cjs.showHostContextMenu; }
|
|
315
|
-
});
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogCon
|
|
|
2
2
|
export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.cjs';
|
|
3
3
|
export { P as PublishSkillReleaseResult, R as RegistrySkillSummary, S as ScannedRoot, a as Skill, b as SkillContent, c as SkillDetailResponse, d as SkillProjectInfo, e as SkillRegistryListResponse, f as SkillRegistryTransport, g as SkillReleaseRecord, h as SkillReleaseStatus, i as SkillScanResult, j as SkillScope, k as SkillSource, l as getMarketSkill, m as getSkillRegistryTransport, n as listMarketSkills, p as publishSkill, s as selectPublishSkillFile, o as setSkillRegistryTransport, u as useElectronSkillRegistryTransport } from './registry-OS2Xo46V.cjs';
|
|
4
4
|
export { SkillChangedListener, SkillFrontmatter, SkillTransport, SkillUninstallResult, buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './skill/index.cjs';
|
|
5
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, 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-
|
|
5
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, 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-DY867NzA.cjs';
|
|
6
6
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.cjs';
|
|
7
7
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './mcp/core/index.cjs';
|
|
8
8
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogCon
|
|
|
2
2
|
export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.js';
|
|
3
3
|
export { P as PublishSkillReleaseResult, R as RegistrySkillSummary, S as ScannedRoot, a as Skill, b as SkillContent, c as SkillDetailResponse, d as SkillProjectInfo, e as SkillRegistryListResponse, f as SkillRegistryTransport, g as SkillReleaseRecord, h as SkillReleaseStatus, i as SkillScanResult, j as SkillScope, k as SkillSource, l as getMarketSkill, m as getSkillRegistryTransport, n as listMarketSkills, p as publishSkill, s as selectPublishSkillFile, o as setSkillRegistryTransport, u as useElectronSkillRegistryTransport } from './registry-OS2Xo46V.js';
|
|
4
4
|
export { SkillChangedListener, SkillFrontmatter, SkillTransport, SkillUninstallResult, buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './skill/index.js';
|
|
5
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, 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-
|
|
5
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, 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-DY867NzA.js';
|
|
6
6
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.js';
|
|
7
7
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './mcp/core/index.js';
|
|
8
8
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-BUC7WN5U.js';
|
|
2
1
|
export { buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './chunk-OVBIWRAB.js';
|
|
3
2
|
export { getMarketSkill, getSkillRegistryTransport, listMarketSkills, publishSkill, selectPublishSkillFile, setSkillRegistryTransport, useElectronSkillRegistryTransport } from './chunk-ZOGVKB2Z.js';
|
|
3
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-HXP4V4WE.js';
|
|
4
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-X62SRZS4.js';
|
|
4
5
|
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-IZRKT6NQ.js';
|
|
5
6
|
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';
|
|
6
|
-
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-X62SRZS4.js';
|
|
@@ -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 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-
|
|
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-DY867NzA.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-DY867NzA.cjs';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
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 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-
|
|
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-DY867NzA.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-DY867NzA.js';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3STW46ME_cjs = require('../chunk-3STW46ME.cjs');
|
|
4
4
|
var chunkUXBJODKS_cjs = require('../chunk-UXBJODKS.cjs');
|
|
5
5
|
var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
|
|
6
6
|
|
|
@@ -8,43 +8,43 @@ var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk3STW46ME_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk3STW46ME_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk3STW46ME_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk3STW46ME_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk3STW46ME_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk3STW46ME_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk3STW46ME_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk3STW46ME_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk3STW46ME_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk3STW46ME_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, 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-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-DY867NzA.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, 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-DY867NzA.cjs';
|
|
3
3
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.cjs';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
|
|
5
5
|
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, 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-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-DY867NzA.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, 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-DY867NzA.js';
|
|
3
3
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.js';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
|
|
5
5
|
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-HXP4V4WE.js';
|
|
2
2
|
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-IZRKT6NQ.js';
|
|
3
3
|
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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-DY867NzA.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* File MCP Tools
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-DY867NzA.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* File MCP Tools
|