@seastudio/sdk 3.7.1 → 3.7.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-HAFMJ47Q.cjs → chunk-KWOX5T3P.cjs} +6 -2
- package/dist/{chunk-GZRP7JKO.js → chunk-PV6XSOI5.js} +6 -2
- package/dist/{chunk-UZ6SEVW3.cjs → chunk-TKROLSLX.cjs} +2 -1
- package/dist/{chunk-2DFXLVWC.js → chunk-TNBCJUAY.js} +1 -1
- package/dist/{chunk-6ZZFSVSZ.cjs → chunk-TTHMG5IA.cjs} +4 -4
- package/dist/{chunk-XWORXNCU.js → chunk-UZWEOUCK.js} +2 -1
- package/dist/index.cjs +38 -38
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/mcp/index.cjs +24 -24
- package/dist/mcp/index.d.cts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/seastudio/index.cjs +32 -32
- package/dist/mcp/seastudio/index.d.cts +12 -1
- package/dist/mcp/seastudio/index.d.ts +12 -1
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/ui/index.cjs +14 -14
- package/dist/ui/index.d.cts +2 -1
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
|
@@ -152,12 +152,13 @@ var fileTools = [
|
|
|
152
152
|
}),
|
|
153
153
|
annotateTool({
|
|
154
154
|
name: "seastudio-file_read",
|
|
155
|
-
description: "\u8BFB\u53D6\u6307\u5B9A\u6587\u4EF6\u5185\u5BB9\u3002\u9002\u7528\u4E8E\u67E5\u770B\u3001\u5F15\u7528\u6216\u5206\u6790\u5DF2\u77E5\u8DEF\u5F84\u7684\u6587\u4EF6\uFF0C\u4E0D\u4F1A\u4FEE\u6539\u9879\u76EE\u3002",
|
|
155
|
+
description: "\u8BFB\u53D6\u6307\u5B9A\u6587\u4EF6\u7684\u6587\u672C\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u6309 utf-8 \u89E3\u7801\uFF0C\u4E5F\u53EF\u901A\u8FC7 encoding \u6307\u5B9A\u5176\u4ED6\u6587\u672C\u7F16\u7801\u3002\u9002\u7528\u4E8E\u67E5\u770B\u3001\u5F15\u7528\u6216\u5206\u6790\u5DF2\u77E5\u8DEF\u5F84\u7684\u4EE3\u7801/\u914D\u7F6E/\u6587\u6863\u6587\u4EF6\uFF0C\u4E0D\u4F1A\u4FEE\u6539\u9879\u76EE\u3002\u4E0D\u8981\u6839\u636E\u6587\u4EF6\u540E\u7F00\u81EA\u884C\u62D2\u7EDD\u8BFB\u53D6\uFF1B\u53EA\u5728\u786E\u8BA4\u9700\u8981 base64 \u8BFB\u53D6\u771F\u5B9E\u4E8C\u8FDB\u5236\u6587\u4EF6\u65F6\u624D\u6539\u7528 seastudio-file_read_binary\u3002",
|
|
156
156
|
inputSchema: {
|
|
157
157
|
type: "object",
|
|
158
158
|
properties: {
|
|
159
159
|
rootId: { type: "string", description: "\u76EE\u6807\u9879\u76EE\u6839\uFF1A'workspace' \u8868\u793A\u5F53\u524D\u6FC0\u6D3B\u9879\u76EE\uFF1B'proj-<projectId>' \u8868\u793A\u6309 id \u5BFB\u5740\u67D0\u4E2A\u9879\u76EE" },
|
|
160
160
|
path: { type: "string", description: "\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u4E8E rootId\uFF09" },
|
|
161
|
+
encoding: { type: "string", description: "\u6587\u672C\u7F16\u7801\uFF08\u53EF\u9009\uFF0C\u9ED8\u8BA4 'utf-8'\uFF1B\u4F8B\u5982 utf-8\u3001utf-16le\u3001gbk\u3001gb18030\u3001big5\u3001latin1\uFF09" },
|
|
161
162
|
offset: { type: "number", description: "\u8D77\u59CB\u884C\u504F\u79FB\uFF08\u53EF\u9009\uFF09" },
|
|
162
163
|
limit: { type: "number", description: "\u8BFB\u53D6\u884C\u6570\u9650\u5236\uFF08\u53EF\u9009\uFF09" }
|
|
163
164
|
},
|
|
@@ -876,6 +877,7 @@ var seastudio = {
|
|
|
876
877
|
read: (path, options) => callTool("seastudio-file_read", {
|
|
877
878
|
rootId: options?.rootId ?? "workspace",
|
|
878
879
|
path,
|
|
880
|
+
...typeof options?.encoding === "string" ? { encoding: options.encoding } : {},
|
|
879
881
|
...typeof options?.offset === "number" ? { offset: options.offset } : {},
|
|
880
882
|
...typeof options?.limit === "number" ? { limit: options.limit } : {}
|
|
881
883
|
}),
|
|
@@ -1398,7 +1400,7 @@ var projectTools = [
|
|
|
1398
1400
|
}),
|
|
1399
1401
|
annotateTool({
|
|
1400
1402
|
name: "seastudio-project_get_active",
|
|
1401
|
-
description: "\u83B7\u53D6\u5F53\u524D\
|
|
1403
|
+
description: "\u83B7\u53D6\u5F53\u524D MCP \u8BF7\u6C42\u4E0A\u4E0B\u6587\u6240\u5C5E\u9879\u76EE\uFF1B\u6CA1\u6709\u4E0A\u4E0B\u6587\u65F6\u56DE\u9000\u5230\u524D\u53F0\u805A\u7126\u9879\u76EE\u3002\u8FD4\u56DE\u7ED3\u6784\u4E0E seastudio-project_list \u4E2D\u5355\u9879\u4E00\u81F4\uFF1B\u82E5\u5F53\u524D\u6CA1\u6709\u9879\u76EE\u5219\u8FD4\u56DE null\u3002",
|
|
1402
1404
|
inputSchema: {
|
|
1403
1405
|
type: "object",
|
|
1404
1406
|
properties: {}
|
|
@@ -1746,6 +1748,8 @@ var SeastudioNotifications = {
|
|
|
1746
1748
|
ROOTS_CHANGED: "roots:changed",
|
|
1747
1749
|
/** 文件打开请求,可广播也可定向 */
|
|
1748
1750
|
FILE_OPEN_REQUESTED: "seastudio:file-open_requested",
|
|
1751
|
+
/** 文件固定请求:将当前临时打开的文件实例转为固定 */
|
|
1752
|
+
FILE_KEEP_REQUESTED: "seastudio:file-keep_requested",
|
|
1749
1753
|
/** 文件已修改通知(内容变化,未保存) */
|
|
1750
1754
|
FILE_MODIFIED: "file:modified",
|
|
1751
1755
|
/** 文件已保存通知 */
|
|
@@ -150,12 +150,13 @@ var fileTools = [
|
|
|
150
150
|
}),
|
|
151
151
|
annotateTool({
|
|
152
152
|
name: "seastudio-file_read",
|
|
153
|
-
description: "\u8BFB\u53D6\u6307\u5B9A\u6587\u4EF6\u5185\u5BB9\u3002\u9002\u7528\u4E8E\u67E5\u770B\u3001\u5F15\u7528\u6216\u5206\u6790\u5DF2\u77E5\u8DEF\u5F84\u7684\u6587\u4EF6\uFF0C\u4E0D\u4F1A\u4FEE\u6539\u9879\u76EE\u3002",
|
|
153
|
+
description: "\u8BFB\u53D6\u6307\u5B9A\u6587\u4EF6\u7684\u6587\u672C\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u6309 utf-8 \u89E3\u7801\uFF0C\u4E5F\u53EF\u901A\u8FC7 encoding \u6307\u5B9A\u5176\u4ED6\u6587\u672C\u7F16\u7801\u3002\u9002\u7528\u4E8E\u67E5\u770B\u3001\u5F15\u7528\u6216\u5206\u6790\u5DF2\u77E5\u8DEF\u5F84\u7684\u4EE3\u7801/\u914D\u7F6E/\u6587\u6863\u6587\u4EF6\uFF0C\u4E0D\u4F1A\u4FEE\u6539\u9879\u76EE\u3002\u4E0D\u8981\u6839\u636E\u6587\u4EF6\u540E\u7F00\u81EA\u884C\u62D2\u7EDD\u8BFB\u53D6\uFF1B\u53EA\u5728\u786E\u8BA4\u9700\u8981 base64 \u8BFB\u53D6\u771F\u5B9E\u4E8C\u8FDB\u5236\u6587\u4EF6\u65F6\u624D\u6539\u7528 seastudio-file_read_binary\u3002",
|
|
154
154
|
inputSchema: {
|
|
155
155
|
type: "object",
|
|
156
156
|
properties: {
|
|
157
157
|
rootId: { type: "string", description: "\u76EE\u6807\u9879\u76EE\u6839\uFF1A'workspace' \u8868\u793A\u5F53\u524D\u6FC0\u6D3B\u9879\u76EE\uFF1B'proj-<projectId>' \u8868\u793A\u6309 id \u5BFB\u5740\u67D0\u4E2A\u9879\u76EE" },
|
|
158
158
|
path: { type: "string", description: "\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u4E8E rootId\uFF09" },
|
|
159
|
+
encoding: { type: "string", description: "\u6587\u672C\u7F16\u7801\uFF08\u53EF\u9009\uFF0C\u9ED8\u8BA4 'utf-8'\uFF1B\u4F8B\u5982 utf-8\u3001utf-16le\u3001gbk\u3001gb18030\u3001big5\u3001latin1\uFF09" },
|
|
159
160
|
offset: { type: "number", description: "\u8D77\u59CB\u884C\u504F\u79FB\uFF08\u53EF\u9009\uFF09" },
|
|
160
161
|
limit: { type: "number", description: "\u8BFB\u53D6\u884C\u6570\u9650\u5236\uFF08\u53EF\u9009\uFF09" }
|
|
161
162
|
},
|
|
@@ -874,6 +875,7 @@ var seastudio = {
|
|
|
874
875
|
read: (path, options) => callTool("seastudio-file_read", {
|
|
875
876
|
rootId: options?.rootId ?? "workspace",
|
|
876
877
|
path,
|
|
878
|
+
...typeof options?.encoding === "string" ? { encoding: options.encoding } : {},
|
|
877
879
|
...typeof options?.offset === "number" ? { offset: options.offset } : {},
|
|
878
880
|
...typeof options?.limit === "number" ? { limit: options.limit } : {}
|
|
879
881
|
}),
|
|
@@ -1396,7 +1398,7 @@ var projectTools = [
|
|
|
1396
1398
|
}),
|
|
1397
1399
|
annotateTool({
|
|
1398
1400
|
name: "seastudio-project_get_active",
|
|
1399
|
-
description: "\u83B7\u53D6\u5F53\u524D\
|
|
1401
|
+
description: "\u83B7\u53D6\u5F53\u524D MCP \u8BF7\u6C42\u4E0A\u4E0B\u6587\u6240\u5C5E\u9879\u76EE\uFF1B\u6CA1\u6709\u4E0A\u4E0B\u6587\u65F6\u56DE\u9000\u5230\u524D\u53F0\u805A\u7126\u9879\u76EE\u3002\u8FD4\u56DE\u7ED3\u6784\u4E0E seastudio-project_list \u4E2D\u5355\u9879\u4E00\u81F4\uFF1B\u82E5\u5F53\u524D\u6CA1\u6709\u9879\u76EE\u5219\u8FD4\u56DE null\u3002",
|
|
1400
1402
|
inputSchema: {
|
|
1401
1403
|
type: "object",
|
|
1402
1404
|
properties: {}
|
|
@@ -1744,6 +1746,8 @@ var SeastudioNotifications = {
|
|
|
1744
1746
|
ROOTS_CHANGED: "roots:changed",
|
|
1745
1747
|
/** 文件打开请求,可广播也可定向 */
|
|
1746
1748
|
FILE_OPEN_REQUESTED: "seastudio:file-open_requested",
|
|
1749
|
+
/** 文件固定请求:将当前临时打开的文件实例转为固定 */
|
|
1750
|
+
FILE_KEEP_REQUESTED: "seastudio:file-keep_requested",
|
|
1747
1751
|
/** 文件已修改通知(内容变化,未保存) */
|
|
1748
1752
|
FILE_MODIFIED: "file:modified",
|
|
1749
1753
|
/** 文件已保存通知 */
|
|
@@ -15,6 +15,7 @@ function Tab({
|
|
|
15
15
|
onClose,
|
|
16
16
|
icon,
|
|
17
17
|
title,
|
|
18
|
+
titleClassName,
|
|
18
19
|
className,
|
|
19
20
|
disabled = false,
|
|
20
21
|
draggable = false,
|
|
@@ -56,7 +57,7 @@ function Tab({
|
|
|
56
57
|
}
|
|
57
58
|
),
|
|
58
59
|
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: icon }),
|
|
59
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
|
|
60
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("truncate max-w-[120px] text-sm font-normal", titleClassName), children: title }),
|
|
60
61
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
61
62
|
"button",
|
|
62
63
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKWOX5T3P_cjs = require('./chunk-KWOX5T3P.cjs');
|
|
4
4
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
5
5
|
|
|
6
6
|
// src/mcp/index.ts
|
|
@@ -11,7 +11,7 @@ async function loadPlugin(pluginName) {
|
|
|
11
11
|
throw new Error(`Unknown plugin: ${pluginName}. \u63D2\u4EF6 MCP \u4E0D\u518D\u901A\u8FC7 SDK \u9759\u6001\u5BFC\u5165\u3002`);
|
|
12
12
|
}
|
|
13
13
|
var MCP_PACKAGES = [
|
|
14
|
-
{ id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools:
|
|
14
|
+
{ id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools: chunkKWOX5T3P_cjs.allTools }
|
|
15
15
|
];
|
|
16
16
|
function mcpToolToOpenAI(tool) {
|
|
17
17
|
const normalizedTool = chunk3I7UM66P_cjs.normalizeMCPTool(tool);
|
|
@@ -29,7 +29,7 @@ function mcpToolToOpenAI(tool) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
function listAllTools() {
|
|
32
|
-
return [...
|
|
32
|
+
return [...chunkKWOX5T3P_cjs.allTools];
|
|
33
33
|
}
|
|
34
34
|
function toPackageName(source) {
|
|
35
35
|
if (source === "seastudio") {
|
|
@@ -62,7 +62,7 @@ function normalizeAvailableTool(raw) {
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
var MCP_TOOL_PACKAGE_INDEX = new Map(
|
|
65
|
-
|
|
65
|
+
chunkKWOX5T3P_cjs.allTools.map((tool) => [tool.name, "seastudio"])
|
|
66
66
|
);
|
|
67
67
|
function getMCPToolPackageIndex() {
|
|
68
68
|
return new Map(MCP_TOOL_PACKAGE_INDEX);
|
|
@@ -13,6 +13,7 @@ function Tab({
|
|
|
13
13
|
onClose,
|
|
14
14
|
icon,
|
|
15
15
|
title,
|
|
16
|
+
titleClassName,
|
|
16
17
|
className,
|
|
17
18
|
disabled = false,
|
|
18
19
|
draggable = false,
|
|
@@ -54,7 +55,7 @@ function Tab({
|
|
|
54
55
|
}
|
|
55
56
|
),
|
|
56
57
|
icon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: icon }),
|
|
57
|
-
title && /* @__PURE__ */ jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
|
|
58
|
+
title && /* @__PURE__ */ jsx("span", { className: cn("truncate max-w-[120px] text-sm font-normal", titleClassName), children: title }),
|
|
58
59
|
onClose && /* @__PURE__ */ jsx(
|
|
59
60
|
"button",
|
|
60
61
|
{
|
package/dist/index.cjs
CHANGED
|
@@ -1,151 +1,151 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkTTHMG5IA_cjs = require('./chunk-TTHMG5IA.cjs');
|
|
4
|
+
var chunkTKROLSLX_cjs = require('./chunk-TKROLSLX.cjs');
|
|
5
|
+
var chunkKWOX5T3P_cjs = require('./chunk-KWOX5T3P.cjs');
|
|
6
6
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkTTHMG5IA_cjs.MCP_PACKAGES; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPPackageIdForTool; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPPackages; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPToolPackageIndex; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkTTHMG5IA_cjs.getToolsForLLM; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "listAllTools", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkTTHMG5IA_cjs.listAllTools; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkTTHMG5IA_cjs.listAvailableTools; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkTTHMG5IA_cjs.listAvailableToolsForLLM; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "loadPlugin", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkTTHMG5IA_cjs.loadPlugin; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkTTHMG5IA_cjs.mcpToolToOpenAI; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DialogBody", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkTKROLSLX_cjs.DialogBody; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DialogButton", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkTKROLSLX_cjs.DialogButton; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DialogContainer", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkTKROLSLX_cjs.DialogContainer; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DialogFooter", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkTKROLSLX_cjs.DialogFooter; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DialogHeader", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkTKROLSLX_cjs.DialogHeader; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkTKROLSLX_cjs.DialogOverlay; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "MenuContainer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkTKROLSLX_cjs.MenuContainer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkTKROLSLX_cjs.MenuEmpty; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MenuItem", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkTKROLSLX_cjs.MenuItem; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkTKROLSLX_cjs.MenuSeparator; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "Tab", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkTKROLSLX_cjs.Tab; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "cn", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkTKROLSLX_cjs.cn; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkTKROLSLX_cjs.showHostContextMenu; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkKWOX5T3P_cjs.SeastudioNotifications; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "agentTabTools", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "fileTools", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkKWOX5T3P_cjs.fileTools; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "seastudio", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkKWOX5T3P_cjs.seastudio; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkKWOX5T3P_cjs.allTools; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "seastudioTools", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkKWOX5T3P_cjs.tools; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "shellTools", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkKWOX5T3P_cjs.shellTools; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "MCPClient", {
|
|
151
151
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +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
3
|
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-D7xY0bt6.cjs';
|
|
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 './mcp/seastudio/index.cjs';
|
|
4
|
+
export { FileKeepRequestedParams, 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
5
|
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';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'clsx';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +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
3
|
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-D7xY0bt6.js';
|
|
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 './mcp/seastudio/index.js';
|
|
4
|
+
export { FileKeepRequestedParams, 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
5
|
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';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-
|
|
2
|
-
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-
|
|
3
|
-
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-TNBCJUAY.js';
|
|
2
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-UZWEOUCK.js';
|
|
3
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-PV6XSOI5.js';
|
|
4
4
|
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,98 +1,98 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTTHMG5IA_cjs = require('../chunk-TTHMG5IA.cjs');
|
|
4
|
+
var chunkKWOX5T3P_cjs = require('../chunk-KWOX5T3P.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 chunkTTHMG5IA_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkTTHMG5IA_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkTTHMG5IA_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkTTHMG5IA_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkTTHMG5IA_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkTTHMG5IA_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkTTHMG5IA_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkTTHMG5IA_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkKWOX5T3P_cjs.SeastudioNotifications; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fileTools", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkKWOX5T3P_cjs.fileTools; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "seastudio", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkKWOX5T3P_cjs.seastudio; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkKWOX5T3P_cjs.allTools; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "seastudioTools", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkKWOX5T3P_cjs.tools; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "shellTools", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkKWOX5T3P_cjs.shellTools; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "MCPClient", {
|
|
98
98
|
enumerable: true,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.cjs';
|
|
2
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-D7xY0bt6.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
|
-
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';
|
|
4
|
+
export { FileKeepRequestedParams, 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
|
|
|
6
6
|
/**
|
|
7
7
|
* MCP Module Entry
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.js';
|
|
2
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-D7xY0bt6.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
|
-
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';
|
|
4
|
+
export { FileKeepRequestedParams, 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
|
|
|
6
6
|
/**
|
|
7
7
|
* MCP Module Entry
|
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-TNBCJUAY.js';
|
|
2
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-PV6XSOI5.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,131 +1,131 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKWOX5T3P_cjs = require('../../chunk-KWOX5T3P.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 chunkKWOX5T3P_cjs.SeastudioNotifications; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentTabTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "allTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkKWOX5T3P_cjs.allTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "annotateTool", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkKWOX5T3P_cjs.annotateTool; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkKWOX5T3P_cjs.batchFlattenCopyEvidenceOutputSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "browserRuntimeTools", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkKWOX5T3P_cjs.browserRuntimeTools; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "callTool", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkKWOX5T3P_cjs.callTool; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "callToolText", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkKWOX5T3P_cjs.callToolText; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkKWOX5T3P_cjs.dualPathEvidenceOutputSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkKWOX5T3P_cjs.fileDownloadEvidenceOutputSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "fileTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkKWOX5T3P_cjs.fileTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkKWOX5T3P_cjs.fileUrlEvidenceOutputSchema; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "projectTools", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkKWOX5T3P_cjs.projectTools; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "request", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkKWOX5T3P_cjs.request; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkKWOX5T3P_cjs.rootedPathEvidenceOutputSchema; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkKWOX5T3P_cjs.rootedWriteEvidenceOutputSchema; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "runOneShotShellCommand", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkKWOX5T3P_cjs.runOneShotShellCommand; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "seastudio", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkKWOX5T3P_cjs.seastudio; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkKWOX5T3P_cjs.shellSessionCloseEvidenceOutputSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkKWOX5T3P_cjs.shellSessionOpenEvidenceOutputSchema; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkKWOX5T3P_cjs.shellSessionRunEvidenceOutputSchema; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkKWOX5T3P_cjs.shellSessionSignalEvidenceOutputSchema; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkKWOX5T3P_cjs.shellSessionSnapshotEvidenceOutputSchema; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "shellTools", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkKWOX5T3P_cjs.shellTools; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "skillTools", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkKWOX5T3P_cjs.skillTools; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "tools", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkKWOX5T3P_cjs.tools; }
|
|
131
131
|
});
|
|
@@ -77,6 +77,7 @@ interface SeastudioFileSearchMatch {
|
|
|
77
77
|
}
|
|
78
78
|
interface SeastudioFileReadOptions {
|
|
79
79
|
rootId?: SeastudioFilesystemRootId;
|
|
80
|
+
encoding?: string;
|
|
80
81
|
offset?: number;
|
|
81
82
|
limit?: number;
|
|
82
83
|
}
|
|
@@ -470,6 +471,8 @@ declare const SeastudioNotifications: {
|
|
|
470
471
|
readonly ROOTS_CHANGED: "roots:changed";
|
|
471
472
|
/** 文件打开请求,可广播也可定向 */
|
|
472
473
|
readonly FILE_OPEN_REQUESTED: "seastudio:file-open_requested";
|
|
474
|
+
/** 文件固定请求:将当前临时打开的文件实例转为固定 */
|
|
475
|
+
readonly FILE_KEEP_REQUESTED: "seastudio:file-keep_requested";
|
|
473
476
|
/** 文件已修改通知(内容变化,未保存) */
|
|
474
477
|
readonly FILE_MODIFIED: "file:modified";
|
|
475
478
|
/** 文件已保存通知 */
|
|
@@ -602,6 +605,8 @@ interface FileTransferRequestedParams {
|
|
|
602
605
|
}
|
|
603
606
|
interface FileOpenRequestedParams extends FileTransferRequestedParams {
|
|
604
607
|
}
|
|
608
|
+
interface FileKeepRequestedParams extends FileTransferRequestedParams {
|
|
609
|
+
}
|
|
605
610
|
interface FileSendRequestedParams extends FileTransferRequestedParams {
|
|
606
611
|
}
|
|
607
612
|
interface FileSelectedParams {
|
|
@@ -697,6 +702,12 @@ interface PluginTabTitleChangedParams {
|
|
|
697
702
|
openPath?: string | null;
|
|
698
703
|
/** 当前实例承载的文件根;null 表示实例已空闲 */
|
|
699
704
|
openRootId?: SeastudioRootId | null;
|
|
705
|
+
/** 当前实例是否只是临时预览打开,未占用单文件实例 */
|
|
706
|
+
isTemporary?: boolean | null;
|
|
707
|
+
/** 当前临时预览的文件路径;null 表示无临时目标 */
|
|
708
|
+
temporaryOpenPath?: string | null;
|
|
709
|
+
/** 当前临时预览的文件根;null 表示无临时目标 */
|
|
710
|
+
temporaryOpenRootId?: SeastudioRootId | null;
|
|
700
711
|
}
|
|
701
712
|
/** 各 session 通知的公共字段 */
|
|
702
713
|
interface SessionNotificationBase {
|
|
@@ -798,4 +809,4 @@ interface SessionDeleteRequestedParams {
|
|
|
798
809
|
declare const allTools: MCPTool[];
|
|
799
810
|
declare const tools: MCPTool[];
|
|
800
811
|
|
|
801
|
-
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
812
|
+
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
@@ -77,6 +77,7 @@ interface SeastudioFileSearchMatch {
|
|
|
77
77
|
}
|
|
78
78
|
interface SeastudioFileReadOptions {
|
|
79
79
|
rootId?: SeastudioFilesystemRootId;
|
|
80
|
+
encoding?: string;
|
|
80
81
|
offset?: number;
|
|
81
82
|
limit?: number;
|
|
82
83
|
}
|
|
@@ -470,6 +471,8 @@ declare const SeastudioNotifications: {
|
|
|
470
471
|
readonly ROOTS_CHANGED: "roots:changed";
|
|
471
472
|
/** 文件打开请求,可广播也可定向 */
|
|
472
473
|
readonly FILE_OPEN_REQUESTED: "seastudio:file-open_requested";
|
|
474
|
+
/** 文件固定请求:将当前临时打开的文件实例转为固定 */
|
|
475
|
+
readonly FILE_KEEP_REQUESTED: "seastudio:file-keep_requested";
|
|
473
476
|
/** 文件已修改通知(内容变化,未保存) */
|
|
474
477
|
readonly FILE_MODIFIED: "file:modified";
|
|
475
478
|
/** 文件已保存通知 */
|
|
@@ -602,6 +605,8 @@ interface FileTransferRequestedParams {
|
|
|
602
605
|
}
|
|
603
606
|
interface FileOpenRequestedParams extends FileTransferRequestedParams {
|
|
604
607
|
}
|
|
608
|
+
interface FileKeepRequestedParams extends FileTransferRequestedParams {
|
|
609
|
+
}
|
|
605
610
|
interface FileSendRequestedParams extends FileTransferRequestedParams {
|
|
606
611
|
}
|
|
607
612
|
interface FileSelectedParams {
|
|
@@ -697,6 +702,12 @@ interface PluginTabTitleChangedParams {
|
|
|
697
702
|
openPath?: string | null;
|
|
698
703
|
/** 当前实例承载的文件根;null 表示实例已空闲 */
|
|
699
704
|
openRootId?: SeastudioRootId | null;
|
|
705
|
+
/** 当前实例是否只是临时预览打开,未占用单文件实例 */
|
|
706
|
+
isTemporary?: boolean | null;
|
|
707
|
+
/** 当前临时预览的文件路径;null 表示无临时目标 */
|
|
708
|
+
temporaryOpenPath?: string | null;
|
|
709
|
+
/** 当前临时预览的文件根;null 表示无临时目标 */
|
|
710
|
+
temporaryOpenRootId?: SeastudioRootId | null;
|
|
700
711
|
}
|
|
701
712
|
/** 各 session 通知的公共字段 */
|
|
702
713
|
interface SessionNotificationBase {
|
|
@@ -798,4 +809,4 @@ interface SessionDeleteRequestedParams {
|
|
|
798
809
|
declare const allTools: MCPTool[];
|
|
799
810
|
declare const tools: MCPTool[];
|
|
800
811
|
|
|
801
|
-
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
812
|
+
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-
|
|
1
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-PV6XSOI5.js';
|
|
2
2
|
import '../../chunk-TJ3CGHWJ.js';
|
package/dist/ui/index.cjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTKROLSLX_cjs = require('../chunk-TKROLSLX.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DialogBody", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkTKROLSLX_cjs.DialogBody; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DialogButton", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkTKROLSLX_cjs.DialogButton; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DialogContainer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkTKROLSLX_cjs.DialogContainer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DialogFooter", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkTKROLSLX_cjs.DialogFooter; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DialogHeader", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTKROLSLX_cjs.DialogHeader; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTKROLSLX_cjs.DialogOverlay; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MenuContainer", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkTKROLSLX_cjs.MenuContainer; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTKROLSLX_cjs.MenuEmpty; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MenuItem", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTKROLSLX_cjs.MenuItem; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTKROLSLX_cjs.MenuSeparator; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "Tab", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTKROLSLX_cjs.Tab; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "cn", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTKROLSLX_cjs.cn; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTKROLSLX_cjs.showHostContextMenu; }
|
|
58
58
|
});
|
package/dist/ui/index.d.cts
CHANGED
|
@@ -13,6 +13,7 @@ interface TabProps {
|
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
icon?: React.ReactNode;
|
|
15
15
|
title?: string;
|
|
16
|
+
titleClassName?: string;
|
|
16
17
|
className?: string;
|
|
17
18
|
disabled?: boolean;
|
|
18
19
|
draggable?: boolean;
|
|
@@ -22,7 +23,7 @@ interface TabProps {
|
|
|
22
23
|
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
23
24
|
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
24
25
|
}
|
|
25
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
26
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* Menu - 统一菜单组件
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ interface TabProps {
|
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
icon?: React.ReactNode;
|
|
15
15
|
title?: string;
|
|
16
|
+
titleClassName?: string;
|
|
16
17
|
className?: string;
|
|
17
18
|
disabled?: boolean;
|
|
18
19
|
draggable?: boolean;
|
|
@@ -22,7 +23,7 @@ interface TabProps {
|
|
|
22
23
|
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
23
24
|
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
24
25
|
}
|
|
25
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
26
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* Menu - 统一菜单组件
|
package/dist/ui/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-
|
|
1
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-UZWEOUCK.js';
|