@seastudio/sdk 3.3.0 → 3.3.2
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-2MGJLIRZ.cjs → chunk-2SQFLDTT.cjs} +4 -4
- package/dist/{chunk-VFDZPHJD.js → chunk-BUC7WN5U.js} +1 -1
- package/dist/chunk-GCE3TTCJ.cjs +184 -0
- package/dist/{chunk-CJ2BXMJ3.js → chunk-IZRKT6NQ.js} +25 -1
- package/dist/chunk-O2C4Z5B5.cjs +65 -0
- package/dist/chunk-OVBIWRAB.js +170 -0
- package/dist/{chunk-RRDE5HQX.cjs → chunk-UXBJODKS.cjs} +25 -1
- package/dist/chunk-ZOGVKB2Z.js +57 -0
- package/dist/index.cjs +133 -51
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -3
- package/dist/mcp/index.cjs +24 -24
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/seastudio/index.cjs +29 -29
- package/dist/mcp/seastudio/index.d.cts +6 -0
- package/dist/mcp/seastudio/index.d.ts +6 -0
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/registry-OS2Xo46V.d.cts +138 -0
- package/dist/registry-OS2Xo46V.d.ts +138 -0
- package/dist/skill/index.cjs +87 -0
- package/dist/skill/index.d.cts +60 -0
- package/dist/skill/index.d.ts +60 -0
- package/dist/skill/index.js +2 -0
- package/dist/skill/registry.cjs +34 -0
- package/dist/skill/registry.d.cts +1 -0
- package/dist/skill/registry.d.ts +1 -0
- package/dist/skill/registry.js +1 -0
- package/package.json +11 -1
package/dist/index.cjs
CHANGED
|
@@ -1,151 +1,181 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunk2SQFLDTT_cjs = require('./chunk-2SQFLDTT.cjs');
|
|
4
|
+
var chunkGCE3TTCJ_cjs = require('./chunk-GCE3TTCJ.cjs');
|
|
5
|
+
var chunkO2C4Z5B5_cjs = require('./chunk-O2C4Z5B5.cjs');
|
|
6
|
+
var chunkUXBJODKS_cjs = require('./chunk-UXBJODKS.cjs');
|
|
6
7
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
8
|
+
var chunkGEPSOYJN_cjs = require('./chunk-GEPSOYJN.cjs');
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
11
13
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk2SQFLDTT_cjs.MCP_PACKAGES; }
|
|
13
15
|
});
|
|
14
16
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
15
17
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPPackageIdForTool; }
|
|
17
19
|
});
|
|
18
20
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
19
21
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPPackages; }
|
|
21
23
|
});
|
|
22
24
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
23
25
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPToolPackageIndex; }
|
|
25
27
|
});
|
|
26
28
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
27
29
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk2SQFLDTT_cjs.getToolsForLLM; }
|
|
29
31
|
});
|
|
30
32
|
Object.defineProperty(exports, "listAllTools", {
|
|
31
33
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk2SQFLDTT_cjs.listAllTools; }
|
|
33
35
|
});
|
|
34
36
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
35
37
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk2SQFLDTT_cjs.listAvailableTools; }
|
|
37
39
|
});
|
|
38
40
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
39
41
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk2SQFLDTT_cjs.listAvailableToolsForLLM; }
|
|
41
43
|
});
|
|
42
44
|
Object.defineProperty(exports, "loadPlugin", {
|
|
43
45
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk2SQFLDTT_cjs.loadPlugin; }
|
|
45
47
|
});
|
|
46
48
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
47
49
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk2SQFLDTT_cjs.mcpToolToOpenAI; }
|
|
49
51
|
});
|
|
50
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "buildSkillId", {
|
|
51
53
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkGCE3TTCJ_cjs.buildSkillId; }
|
|
53
55
|
});
|
|
54
|
-
Object.defineProperty(exports, "
|
|
56
|
+
Object.defineProperty(exports, "getSkill", {
|
|
55
57
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkGCE3TTCJ_cjs.getSkill; }
|
|
57
59
|
});
|
|
58
|
-
Object.defineProperty(exports, "
|
|
60
|
+
Object.defineProperty(exports, "getSkillTransport", {
|
|
59
61
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkGCE3TTCJ_cjs.getSkillTransport; }
|
|
61
63
|
});
|
|
62
|
-
Object.defineProperty(exports, "
|
|
64
|
+
Object.defineProperty(exports, "listSkillProjects", {
|
|
63
65
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkGCE3TTCJ_cjs.listSkillProjects; }
|
|
65
67
|
});
|
|
66
|
-
Object.defineProperty(exports, "
|
|
68
|
+
Object.defineProperty(exports, "listSkills", {
|
|
67
69
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkGCE3TTCJ_cjs.listSkills; }
|
|
69
71
|
});
|
|
70
|
-
Object.defineProperty(exports, "
|
|
72
|
+
Object.defineProperty(exports, "onSkillsChanged", {
|
|
71
73
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkGCE3TTCJ_cjs.onSkillsChanged; }
|
|
73
75
|
});
|
|
74
|
-
Object.defineProperty(exports, "
|
|
76
|
+
Object.defineProperty(exports, "parseSkillFrontmatter", {
|
|
75
77
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkGCE3TTCJ_cjs.parseSkillFrontmatter; }
|
|
77
79
|
});
|
|
78
|
-
Object.defineProperty(exports, "
|
|
80
|
+
Object.defineProperty(exports, "rescanSkills", {
|
|
79
81
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkGCE3TTCJ_cjs.rescanSkills; }
|
|
81
83
|
});
|
|
82
|
-
Object.defineProperty(exports, "
|
|
84
|
+
Object.defineProperty(exports, "setSkillEnabled", {
|
|
83
85
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkGCE3TTCJ_cjs.setSkillEnabled; }
|
|
85
87
|
});
|
|
86
|
-
Object.defineProperty(exports, "
|
|
88
|
+
Object.defineProperty(exports, "setSkillScope", {
|
|
87
89
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkGCE3TTCJ_cjs.setSkillScope; }
|
|
89
91
|
});
|
|
90
|
-
Object.defineProperty(exports, "
|
|
92
|
+
Object.defineProperty(exports, "setSkillTransport", {
|
|
91
93
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkGCE3TTCJ_cjs.setSkillTransport; }
|
|
93
95
|
});
|
|
94
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "uninstallSkill", {
|
|
95
97
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkGCE3TTCJ_cjs.uninstallSkill; }
|
|
97
99
|
});
|
|
98
|
-
Object.defineProperty(exports, "
|
|
100
|
+
Object.defineProperty(exports, "useElectronSkillTransport", {
|
|
99
101
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkGCE3TTCJ_cjs.useElectronSkillTransport; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "getMarketSkill", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkO2C4Z5B5_cjs.getMarketSkill; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "getSkillRegistryTransport", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkO2C4Z5B5_cjs.getSkillRegistryTransport; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "listMarketSkills", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkO2C4Z5B5_cjs.listMarketSkills; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "publishSkill", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkO2C4Z5B5_cjs.publishSkill; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "selectPublishSkillFile", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkO2C4Z5B5_cjs.selectPublishSkillFile; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "setSkillRegistryTransport", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkO2C4Z5B5_cjs.setSkillRegistryTransport; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "useElectronSkillRegistryTransport", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkO2C4Z5B5_cjs.useElectronSkillRegistryTransport; }
|
|
101
131
|
});
|
|
102
132
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
103
133
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioNotifications; }
|
|
105
135
|
});
|
|
106
136
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
107
137
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioRequests; }
|
|
109
139
|
});
|
|
110
140
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
111
141
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkUXBJODKS_cjs.agentManagementTools; }
|
|
113
143
|
});
|
|
114
144
|
Object.defineProperty(exports, "agentTabTools", {
|
|
115
145
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkUXBJODKS_cjs.agentTabTools; }
|
|
117
147
|
});
|
|
118
148
|
Object.defineProperty(exports, "fileTools", {
|
|
119
149
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkUXBJODKS_cjs.fileTools; }
|
|
121
151
|
});
|
|
122
152
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
123
153
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkUXBJODKS_cjs.pluginManagementTools; }
|
|
125
155
|
});
|
|
126
156
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
127
157
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkUXBJODKS_cjs.pluginTabTools; }
|
|
129
159
|
});
|
|
130
160
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
131
161
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkUXBJODKS_cjs.seaCloudTools; }
|
|
133
163
|
});
|
|
134
164
|
Object.defineProperty(exports, "seastudio", {
|
|
135
165
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkUXBJODKS_cjs.seastudio; }
|
|
137
167
|
});
|
|
138
168
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
139
169
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkUXBJODKS_cjs.allTools; }
|
|
141
171
|
});
|
|
142
172
|
Object.defineProperty(exports, "seastudioTools", {
|
|
143
173
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkUXBJODKS_cjs.tools; }
|
|
145
175
|
});
|
|
146
176
|
Object.defineProperty(exports, "shellTools", {
|
|
147
177
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkUXBJODKS_cjs.shellTools; }
|
|
149
179
|
});
|
|
150
180
|
Object.defineProperty(exports, "MCPClient", {
|
|
151
181
|
enumerable: true,
|
|
@@ -231,3 +261,55 @@ Object.defineProperty(exports, "startDefaultServer", {
|
|
|
231
261
|
enumerable: true,
|
|
232
262
|
get: function () { return chunk3I7UM66P_cjs.startDefaultServer; }
|
|
233
263
|
});
|
|
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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.cjs';
|
|
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
|
+
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
|
+
export { SkillChangedListener, SkillFrontmatter, SkillTransport, SkillUninstallResult, buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './skill/index.cjs';
|
|
3
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-CUFTi2bZ.cjs';
|
|
4
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';
|
|
5
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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.js';
|
|
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
|
+
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
|
+
export { SkillChangedListener, SkillFrontmatter, SkillTransport, SkillUninstallResult, buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './skill/index.js';
|
|
3
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-CUFTi2bZ.js';
|
|
4
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';
|
|
5
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';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-BUC7WN5U.js';
|
|
2
|
+
export { buildSkillId, getSkill, getSkillTransport, listSkillProjects, listSkills, onSkillsChanged, parseSkillFrontmatter, rescanSkills, setSkillEnabled, setSkillScope, setSkillTransport, uninstallSkill, useElectronSkillTransport } from './chunk-OVBIWRAB.js';
|
|
3
|
+
export { getMarketSkill, getSkillRegistryTransport, listMarketSkills, publishSkill, selectPublishSkillFile, setSkillRegistryTransport, useElectronSkillRegistryTransport } from './chunk-ZOGVKB2Z.js';
|
|
4
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-IZRKT6NQ.js';
|
|
4
5
|
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';
|
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk2SQFLDTT_cjs = require('../chunk-2SQFLDTT.cjs');
|
|
4
|
+
var chunkUXBJODKS_cjs = require('../chunk-UXBJODKS.cjs');
|
|
5
5
|
var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2SQFLDTT_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk2SQFLDTT_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk2SQFLDTT_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk2SQFLDTT_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk2SQFLDTT_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk2SQFLDTT_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk2SQFLDTT_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk2SQFLDTT_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioNotifications; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioRequests; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkUXBJODKS_cjs.agentManagementTools; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkUXBJODKS_cjs.agentTabTools; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fileTools", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkUXBJODKS_cjs.fileTools; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkUXBJODKS_cjs.pluginManagementTools; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkUXBJODKS_cjs.pluginTabTools; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkUXBJODKS_cjs.seaCloudTools; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "seastudio", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkUXBJODKS_cjs.seastudio; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkUXBJODKS_cjs.allTools; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "seastudioTools", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkUXBJODKS_cjs.tools; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "shellTools", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkUXBJODKS_cjs.shellTools; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "MCPClient", {
|
|
98
98
|
enumerable: true,
|
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-
|
|
2
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-BUC7WN5U.js';
|
|
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,119 +1,119 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUXBJODKS_cjs = require('../../chunk-UXBJODKS.cjs');
|
|
4
4
|
require('../../chunk-3I7UM66P.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioNotifications; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkUXBJODKS_cjs.SeastudioRequests; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUXBJODKS_cjs.agentManagementTools; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentTabTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkUXBJODKS_cjs.agentTabTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "allTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkUXBJODKS_cjs.allTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "annotateTool", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkUXBJODKS_cjs.annotateTool; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkUXBJODKS_cjs.batchFlattenCopyEvidenceOutputSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "callTool", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkUXBJODKS_cjs.callTool; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "callToolText", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkUXBJODKS_cjs.callToolText; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkUXBJODKS_cjs.dualPathEvidenceOutputSchema; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkUXBJODKS_cjs.fileDownloadEvidenceOutputSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "fileTools", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkUXBJODKS_cjs.fileTools; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkUXBJODKS_cjs.pluginManagementTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkUXBJODKS_cjs.pluginTabTools; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "projectTools", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkUXBJODKS_cjs.projectTools; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "request", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkUXBJODKS_cjs.request; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkUXBJODKS_cjs.rootedPathEvidenceOutputSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkUXBJODKS_cjs.rootedWriteEvidenceOutputSchema; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "runOneShotShellCommand", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkUXBJODKS_cjs.runOneShotShellCommand; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkUXBJODKS_cjs.seaCloudTools; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "seastudio", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkUXBJODKS_cjs.seastudio; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkUXBJODKS_cjs.shellSessionCloseEvidenceOutputSchema; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkUXBJODKS_cjs.shellSessionOpenEvidenceOutputSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkUXBJODKS_cjs.shellSessionRunEvidenceOutputSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkUXBJODKS_cjs.shellSessionSignalEvidenceOutputSchema; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkUXBJODKS_cjs.shellSessionSnapshotEvidenceOutputSchema; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "shellTools", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkUXBJODKS_cjs.shellTools; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "tools", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkUXBJODKS_cjs.tools; }
|
|
119
119
|
});
|
|
@@ -82,6 +82,11 @@ interface SeastudioFileReadOptions {
|
|
|
82
82
|
interface SeastudioFileListOptions {
|
|
83
83
|
rootId?: SeastudioFilesystemRootId;
|
|
84
84
|
}
|
|
85
|
+
interface SeastudioFileTreeOptions {
|
|
86
|
+
rootId?: SeastudioFilesystemRootId;
|
|
87
|
+
maxDepth?: number;
|
|
88
|
+
maxEntries?: number;
|
|
89
|
+
}
|
|
85
90
|
interface SeastudioFileTreeOptions {
|
|
86
91
|
rootId?: SeastudioFilesystemRootId;
|
|
87
92
|
depth?: number;
|
|
@@ -212,6 +217,7 @@ declare const seastudio: {
|
|
|
212
217
|
read: (path: string, options?: SeastudioFileReadOptions) => Promise<MCPToolResult>;
|
|
213
218
|
write: (path: string, content: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
214
219
|
list: (path?: string, options?: SeastudioFileListOptions) => Promise<MCPToolResult>;
|
|
220
|
+
tree: (path?: string, options?: SeastudioFileTreeOptions) => Promise<MCPToolResult>;
|
|
215
221
|
delete: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
216
222
|
mkdir: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
217
223
|
exists: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
@@ -82,6 +82,11 @@ interface SeastudioFileReadOptions {
|
|
|
82
82
|
interface SeastudioFileListOptions {
|
|
83
83
|
rootId?: SeastudioFilesystemRootId;
|
|
84
84
|
}
|
|
85
|
+
interface SeastudioFileTreeOptions {
|
|
86
|
+
rootId?: SeastudioFilesystemRootId;
|
|
87
|
+
maxDepth?: number;
|
|
88
|
+
maxEntries?: number;
|
|
89
|
+
}
|
|
85
90
|
interface SeastudioFileTreeOptions {
|
|
86
91
|
rootId?: SeastudioFilesystemRootId;
|
|
87
92
|
depth?: number;
|
|
@@ -212,6 +217,7 @@ declare const seastudio: {
|
|
|
212
217
|
read: (path: string, options?: SeastudioFileReadOptions) => Promise<MCPToolResult>;
|
|
213
218
|
write: (path: string, content: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
214
219
|
list: (path?: string, options?: SeastudioFileListOptions) => Promise<MCPToolResult>;
|
|
220
|
+
tree: (path?: string, options?: SeastudioFileTreeOptions) => Promise<MCPToolResult>;
|
|
215
221
|
delete: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
216
222
|
mkdir: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
217
223
|
exists: (path: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|