@seastudio/sdk 3.4.2 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-NHB3FYA5.cjs → chunk-3NRHIVM4.cjs} +40 -1
- package/dist/{chunk-UNEJNDGF.cjs → chunk-AICOQOAA.cjs} +4 -4
- package/dist/{chunk-X3FJ2ICU.js → chunk-ARYIPOZN.js} +1 -1
- package/dist/{chunk-T27GHTNF.js → chunk-H4V6HT4E.js} +40 -1
- package/dist/{chunk-GUBMEDHZ.cjs → chunk-UZ6SEVW3.cjs} +14 -2
- package/dist/{chunk-P45BKQJK.js → chunk-XWORXNCU.js} +14 -2
- 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/core/index.d.cts +2 -2
- package/dist/mcp/core/index.d.ts +2 -2
- package/dist/mcp/index.cjs +24 -24
- package/dist/mcp/index.d.cts +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/seastudio/index.cjs +30 -30
- package/dist/mcp/seastudio/index.d.cts +46 -8
- package/dist/mcp/seastudio/index.d.ts +46 -8
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/{types-Coyj9hGb.d.cts → types-BZaBjaZh.d.cts} +1 -1
- package/dist/{types-Coyj9hGb.d.ts → types-BZaBjaZh.d.ts} +1 -1
- package/dist/ui/index.cjs +14 -14
- package/dist/ui/index.d.cts +7 -1
- package/dist/ui/index.d.ts +7 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
|
@@ -1370,13 +1370,17 @@ var skillTools = [
|
|
|
1370
1370
|
}),
|
|
1371
1371
|
annotateTool({
|
|
1372
1372
|
name: "seastudio-skill_get",
|
|
1373
|
-
description: "\u8BFB\u53D6\u6307\u5B9A skill \u7684
|
|
1373
|
+
description: "\u8BFB\u53D6\u6307\u5B9A skill \u7684\u8131\u654F manifest\u3001SKILL.md \u5B8C\u6574\u5185\u5BB9\u548C\u9644\u5C5E\u6587\u4EF6\u6E05\u5355\u3002id \u53D6\u81EA seastudio-skill_list \u8FD4\u56DE\u9879\u7684 id\u3002\u53EF\u9009 projectId \u7528\u4E8E\u9650\u5B9A\u53EA\u80FD\u8BFB\u53D6\u5F53\u524D\u4F1A\u8BDD\u9879\u76EE\u53EF\u89C1\u7684 skill\uFF08\u8BE5\u9879\u76EE skill + \u5168\u5C40 skill\uFF09\u3002\u8FD4\u56DE\u5185\u5BB9\u5E94\u4F5C\u4E3A Agent Skill \u6307\u4EE4\u9075\u5FAA\u3002\u8FD4\u56DE { content: { skill, content } | null }\uFF0Cid \u4E0D\u5B58\u5728\u3001\u4E0D\u53EF\u89C1\u6216\u8BFB\u53D6\u5931\u8D25\u65F6 content \u4E3A null\u3002",
|
|
1374
1374
|
inputSchema: {
|
|
1375
1375
|
type: "object",
|
|
1376
1376
|
properties: {
|
|
1377
1377
|
id: {
|
|
1378
1378
|
type: "string",
|
|
1379
1379
|
description: 'Skill \u7684\u7A33\u5B9A id\uFF08\u5982 "seastudio:my-skill"\uFF09\uFF0C\u6765\u6E90\u4E8E seastudio-skill_list \u7684\u8FD4\u56DE\u9879\u3002'
|
|
1380
|
+
},
|
|
1381
|
+
projectId: {
|
|
1382
|
+
type: "string",
|
|
1383
|
+
description: "\u53EF\u9009\uFF1A\u5F53\u524D\u4F1A\u8BDD\u6240\u5C5E\u9879\u76EE ID\u3002\u4F20\u5165\u540E\u53EA\u5141\u8BB8\u8BFB\u53D6\u5168\u5C40 skill \u6216\u8BE5\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002"
|
|
1380
1384
|
}
|
|
1381
1385
|
},
|
|
1382
1386
|
required: ["id"]
|
|
@@ -1385,6 +1389,37 @@ var skillTools = [
|
|
|
1385
1389
|
operationKind: "read",
|
|
1386
1390
|
requiresExecutionEvidence: false,
|
|
1387
1391
|
rawDomain: "skill"
|
|
1392
|
+
}),
|
|
1393
|
+
annotateTool({
|
|
1394
|
+
name: "seastudio-skill_read",
|
|
1395
|
+
description: "\u8BFB\u53D6\u6307\u5B9A skill \u76EE\u5F55\u5185\u7684\u9644\u5C5E\u6587\u672C\u6587\u4EF6\u3002path \u5FC5\u987B\u6765\u81EA seastudio-skill_get \u8FD4\u56DE\u7684 files \u6E05\u5355\u3002\u53EF\u9009 projectId \u7528\u4E8E\u9650\u5B9A\u53EA\u80FD\u8BFB\u53D6\u5F53\u524D\u4F1A\u8BDD\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002\u5355\u6B21\u6700\u591A\u8BFB\u53D6 1MiB\uFF1B\u82E5\u8FD4\u56DE truncated=true\uFF0C\u53EF\u4F7F\u7528 nextOffset \u4F5C\u4E3A offset \u518D\u6B21\u8C03\u7528\u7EE7\u7EED\u8BFB\u53D6\u3002",
|
|
1396
|
+
inputSchema: {
|
|
1397
|
+
type: "object",
|
|
1398
|
+
properties: {
|
|
1399
|
+
id: {
|
|
1400
|
+
type: "string",
|
|
1401
|
+
description: 'Skill \u7684\u7A33\u5B9A id\uFF08\u5982 "seastudio:my-skill"\uFF09\u3002'
|
|
1402
|
+
},
|
|
1403
|
+
path: {
|
|
1404
|
+
type: "string",
|
|
1405
|
+
description: "\u8981\u8BFB\u53D6\u7684 skill \u5185\u76F8\u5BF9\u8DEF\u5F84\uFF0C\u5FC5\u987B\u4F4D\u4E8E\u8BE5 skill \u76EE\u5F55\u5185\uFF0C\u4E0D\u80FD\u662F\u7EDD\u5BF9\u8DEF\u5F84\u6216\u5305\u542B\u8DEF\u5F84\u7A7F\u8D8A\u3002"
|
|
1406
|
+
},
|
|
1407
|
+
projectId: {
|
|
1408
|
+
type: "string",
|
|
1409
|
+
description: "\u53EF\u9009\uFF1A\u5F53\u524D\u4F1A\u8BDD\u6240\u5C5E\u9879\u76EE ID\u3002\u4F20\u5165\u540E\u53EA\u5141\u8BB8\u8BFB\u53D6\u5168\u5C40 skill \u6216\u8BE5\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002"
|
|
1410
|
+
},
|
|
1411
|
+
offset: {
|
|
1412
|
+
type: "integer",
|
|
1413
|
+
minimum: 0,
|
|
1414
|
+
description: "\u53EF\u9009\uFF1A\u4ECE\u6587\u4EF6\u7684 byte offset \u5F00\u59CB\u8BFB\u53D6\uFF0C\u9ED8\u8BA4 0\u3002\u7528\u4E8E\u5206\u6BB5\u8BFB\u53D6\u8D85\u8FC7 1MiB \u7684\u6587\u672C\u6587\u4EF6\u3002"
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
required: ["id", "path"]
|
|
1418
|
+
}
|
|
1419
|
+
}, {
|
|
1420
|
+
operationKind: "read",
|
|
1421
|
+
requiresExecutionEvidence: false,
|
|
1422
|
+
rawDomain: "skill"
|
|
1388
1423
|
})
|
|
1389
1424
|
];
|
|
1390
1425
|
|
|
@@ -1414,12 +1449,16 @@ var SeastudioNotifications = {
|
|
|
1414
1449
|
FILE_MODIFIED: "file:modified",
|
|
1415
1450
|
/** 文件已保存通知 */
|
|
1416
1451
|
FILE_SAVED: "file:saved",
|
|
1452
|
+
/** 文件被选中通知 */
|
|
1453
|
+
FILE_SELECTED: "file:selected",
|
|
1417
1454
|
/** 文件发送请求 */
|
|
1418
1455
|
FILE_SEND_REQUESTED: "seastudio:file-send_requested",
|
|
1419
1456
|
/** 文本发送请求 */
|
|
1420
1457
|
TEXT_SEND_REQUESTED: "seastudio:text-send_requested",
|
|
1421
1458
|
/** 代码提案审核反馈 */
|
|
1422
1459
|
PROPOSAL_FEEDBACK: "seastudio:proposal-feedback",
|
|
1460
|
+
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
1461
|
+
PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed",
|
|
1423
1462
|
/**
|
|
1424
1463
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
|
1425
1464
|
* 通常由 Agent 通过 notifications/publish 发出;其他订阅者(含 host-ui)可据此更新 UI。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3NRHIVM4_cjs = require('./chunk-3NRHIVM4.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: chunk3NRHIVM4_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 [...chunk3NRHIVM4_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
|
+
chunk3NRHIVM4_cjs.allTools.map((tool) => [tool.name, "seastudio"])
|
|
66
66
|
);
|
|
67
67
|
function getMCPToolPackageIndex() {
|
|
68
68
|
return new Map(MCP_TOOL_PACKAGE_INDEX);
|
|
@@ -1368,13 +1368,17 @@ var skillTools = [
|
|
|
1368
1368
|
}),
|
|
1369
1369
|
annotateTool({
|
|
1370
1370
|
name: "seastudio-skill_get",
|
|
1371
|
-
description: "\u8BFB\u53D6\u6307\u5B9A skill \u7684
|
|
1371
|
+
description: "\u8BFB\u53D6\u6307\u5B9A skill \u7684\u8131\u654F manifest\u3001SKILL.md \u5B8C\u6574\u5185\u5BB9\u548C\u9644\u5C5E\u6587\u4EF6\u6E05\u5355\u3002id \u53D6\u81EA seastudio-skill_list \u8FD4\u56DE\u9879\u7684 id\u3002\u53EF\u9009 projectId \u7528\u4E8E\u9650\u5B9A\u53EA\u80FD\u8BFB\u53D6\u5F53\u524D\u4F1A\u8BDD\u9879\u76EE\u53EF\u89C1\u7684 skill\uFF08\u8BE5\u9879\u76EE skill + \u5168\u5C40 skill\uFF09\u3002\u8FD4\u56DE\u5185\u5BB9\u5E94\u4F5C\u4E3A Agent Skill \u6307\u4EE4\u9075\u5FAA\u3002\u8FD4\u56DE { content: { skill, content } | null }\uFF0Cid \u4E0D\u5B58\u5728\u3001\u4E0D\u53EF\u89C1\u6216\u8BFB\u53D6\u5931\u8D25\u65F6 content \u4E3A null\u3002",
|
|
1372
1372
|
inputSchema: {
|
|
1373
1373
|
type: "object",
|
|
1374
1374
|
properties: {
|
|
1375
1375
|
id: {
|
|
1376
1376
|
type: "string",
|
|
1377
1377
|
description: 'Skill \u7684\u7A33\u5B9A id\uFF08\u5982 "seastudio:my-skill"\uFF09\uFF0C\u6765\u6E90\u4E8E seastudio-skill_list \u7684\u8FD4\u56DE\u9879\u3002'
|
|
1378
|
+
},
|
|
1379
|
+
projectId: {
|
|
1380
|
+
type: "string",
|
|
1381
|
+
description: "\u53EF\u9009\uFF1A\u5F53\u524D\u4F1A\u8BDD\u6240\u5C5E\u9879\u76EE ID\u3002\u4F20\u5165\u540E\u53EA\u5141\u8BB8\u8BFB\u53D6\u5168\u5C40 skill \u6216\u8BE5\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002"
|
|
1378
1382
|
}
|
|
1379
1383
|
},
|
|
1380
1384
|
required: ["id"]
|
|
@@ -1383,6 +1387,37 @@ var skillTools = [
|
|
|
1383
1387
|
operationKind: "read",
|
|
1384
1388
|
requiresExecutionEvidence: false,
|
|
1385
1389
|
rawDomain: "skill"
|
|
1390
|
+
}),
|
|
1391
|
+
annotateTool({
|
|
1392
|
+
name: "seastudio-skill_read",
|
|
1393
|
+
description: "\u8BFB\u53D6\u6307\u5B9A skill \u76EE\u5F55\u5185\u7684\u9644\u5C5E\u6587\u672C\u6587\u4EF6\u3002path \u5FC5\u987B\u6765\u81EA seastudio-skill_get \u8FD4\u56DE\u7684 files \u6E05\u5355\u3002\u53EF\u9009 projectId \u7528\u4E8E\u9650\u5B9A\u53EA\u80FD\u8BFB\u53D6\u5F53\u524D\u4F1A\u8BDD\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002\u5355\u6B21\u6700\u591A\u8BFB\u53D6 1MiB\uFF1B\u82E5\u8FD4\u56DE truncated=true\uFF0C\u53EF\u4F7F\u7528 nextOffset \u4F5C\u4E3A offset \u518D\u6B21\u8C03\u7528\u7EE7\u7EED\u8BFB\u53D6\u3002",
|
|
1394
|
+
inputSchema: {
|
|
1395
|
+
type: "object",
|
|
1396
|
+
properties: {
|
|
1397
|
+
id: {
|
|
1398
|
+
type: "string",
|
|
1399
|
+
description: 'Skill \u7684\u7A33\u5B9A id\uFF08\u5982 "seastudio:my-skill"\uFF09\u3002'
|
|
1400
|
+
},
|
|
1401
|
+
path: {
|
|
1402
|
+
type: "string",
|
|
1403
|
+
description: "\u8981\u8BFB\u53D6\u7684 skill \u5185\u76F8\u5BF9\u8DEF\u5F84\uFF0C\u5FC5\u987B\u4F4D\u4E8E\u8BE5 skill \u76EE\u5F55\u5185\uFF0C\u4E0D\u80FD\u662F\u7EDD\u5BF9\u8DEF\u5F84\u6216\u5305\u542B\u8DEF\u5F84\u7A7F\u8D8A\u3002"
|
|
1404
|
+
},
|
|
1405
|
+
projectId: {
|
|
1406
|
+
type: "string",
|
|
1407
|
+
description: "\u53EF\u9009\uFF1A\u5F53\u524D\u4F1A\u8BDD\u6240\u5C5E\u9879\u76EE ID\u3002\u4F20\u5165\u540E\u53EA\u5141\u8BB8\u8BFB\u53D6\u5168\u5C40 skill \u6216\u8BE5\u9879\u76EE\u53EF\u89C1\u7684 skill\u3002"
|
|
1408
|
+
},
|
|
1409
|
+
offset: {
|
|
1410
|
+
type: "integer",
|
|
1411
|
+
minimum: 0,
|
|
1412
|
+
description: "\u53EF\u9009\uFF1A\u4ECE\u6587\u4EF6\u7684 byte offset \u5F00\u59CB\u8BFB\u53D6\uFF0C\u9ED8\u8BA4 0\u3002\u7528\u4E8E\u5206\u6BB5\u8BFB\u53D6\u8D85\u8FC7 1MiB \u7684\u6587\u672C\u6587\u4EF6\u3002"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
required: ["id", "path"]
|
|
1416
|
+
}
|
|
1417
|
+
}, {
|
|
1418
|
+
operationKind: "read",
|
|
1419
|
+
requiresExecutionEvidence: false,
|
|
1420
|
+
rawDomain: "skill"
|
|
1386
1421
|
})
|
|
1387
1422
|
];
|
|
1388
1423
|
|
|
@@ -1412,12 +1447,16 @@ var SeastudioNotifications = {
|
|
|
1412
1447
|
FILE_MODIFIED: "file:modified",
|
|
1413
1448
|
/** 文件已保存通知 */
|
|
1414
1449
|
FILE_SAVED: "file:saved",
|
|
1450
|
+
/** 文件被选中通知 */
|
|
1451
|
+
FILE_SELECTED: "file:selected",
|
|
1415
1452
|
/** 文件发送请求 */
|
|
1416
1453
|
FILE_SEND_REQUESTED: "seastudio:file-send_requested",
|
|
1417
1454
|
/** 文本发送请求 */
|
|
1418
1455
|
TEXT_SEND_REQUESTED: "seastudio:text-send_requested",
|
|
1419
1456
|
/** 代码提案审核反馈 */
|
|
1420
1457
|
PROPOSAL_FEEDBACK: "seastudio:proposal-feedback",
|
|
1458
|
+
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
1459
|
+
PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed",
|
|
1421
1460
|
/**
|
|
1422
1461
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
|
1423
1462
|
* 通常由 Agent 通过 notifications/publish 发出;其他订阅者(含 host-ui)可据此更新 UI。
|
|
@@ -16,11 +16,23 @@ function Tab({
|
|
|
16
16
|
icon,
|
|
17
17
|
title,
|
|
18
18
|
className,
|
|
19
|
-
disabled = false
|
|
19
|
+
disabled = false,
|
|
20
|
+
draggable = false,
|
|
21
|
+
onDragStart,
|
|
22
|
+
onDragOver,
|
|
23
|
+
onDragLeave,
|
|
24
|
+
onDrop,
|
|
25
|
+
onDragEnd
|
|
20
26
|
}) {
|
|
21
27
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22
28
|
"div",
|
|
23
29
|
{
|
|
30
|
+
draggable: !disabled && draggable,
|
|
31
|
+
onDragStart,
|
|
32
|
+
onDragOver,
|
|
33
|
+
onDragLeave,
|
|
34
|
+
onDrop,
|
|
35
|
+
onDragEnd,
|
|
24
36
|
onClick: () => {
|
|
25
37
|
if (!disabled) {
|
|
26
38
|
onClick();
|
|
@@ -44,7 +56,7 @@ function Tab({
|
|
|
44
56
|
}
|
|
45
57
|
),
|
|
46
58
|
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: icon }),
|
|
47
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate max-w-[120px] text-
|
|
59
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
|
|
48
60
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
49
61
|
"button",
|
|
50
62
|
{
|
|
@@ -14,11 +14,23 @@ function Tab({
|
|
|
14
14
|
icon,
|
|
15
15
|
title,
|
|
16
16
|
className,
|
|
17
|
-
disabled = false
|
|
17
|
+
disabled = false,
|
|
18
|
+
draggable = false,
|
|
19
|
+
onDragStart,
|
|
20
|
+
onDragOver,
|
|
21
|
+
onDragLeave,
|
|
22
|
+
onDrop,
|
|
23
|
+
onDragEnd
|
|
18
24
|
}) {
|
|
19
25
|
return /* @__PURE__ */ jsxs(
|
|
20
26
|
"div",
|
|
21
27
|
{
|
|
28
|
+
draggable: !disabled && draggable,
|
|
29
|
+
onDragStart,
|
|
30
|
+
onDragOver,
|
|
31
|
+
onDragLeave,
|
|
32
|
+
onDrop,
|
|
33
|
+
onDragEnd,
|
|
22
34
|
onClick: () => {
|
|
23
35
|
if (!disabled) {
|
|
24
36
|
onClick();
|
|
@@ -42,7 +54,7 @@ function Tab({
|
|
|
42
54
|
}
|
|
43
55
|
),
|
|
44
56
|
icon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: icon }),
|
|
45
|
-
title && /* @__PURE__ */ jsx("span", { className: "truncate max-w-[120px] text-
|
|
57
|
+
title && /* @__PURE__ */ jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
|
|
46
58
|
onClose && /* @__PURE__ */ jsx(
|
|
47
59
|
"button",
|
|
48
60
|
{
|
package/dist/index.cjs
CHANGED
|
@@ -1,151 +1,151 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkAICOQOAA_cjs = require('./chunk-AICOQOAA.cjs');
|
|
4
|
+
var chunkUZ6SEVW3_cjs = require('./chunk-UZ6SEVW3.cjs');
|
|
5
|
+
var chunk3NRHIVM4_cjs = require('./chunk-3NRHIVM4.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 chunkAICOQOAA_cjs.MCP_PACKAGES; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPPackageIdForTool; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPPackages; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPToolPackageIndex; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkAICOQOAA_cjs.getToolsForLLM; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "listAllTools", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkAICOQOAA_cjs.listAllTools; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkAICOQOAA_cjs.listAvailableTools; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkAICOQOAA_cjs.listAvailableToolsForLLM; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "loadPlugin", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkAICOQOAA_cjs.loadPlugin; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkAICOQOAA_cjs.mcpToolToOpenAI; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DialogBody", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogBody; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DialogButton", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogButton; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DialogContainer", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogContainer; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DialogFooter", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogFooter; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DialogHeader", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogHeader; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogOverlay; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "MenuContainer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuContainer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuEmpty; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MenuItem", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuItem; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuSeparator; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "Tab", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkUZ6SEVW3_cjs.Tab; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "cn", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkUZ6SEVW3_cjs.cn; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkUZ6SEVW3_cjs.showHostContextMenu; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk3NRHIVM4_cjs.SeastudioNotifications; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunk3NRHIVM4_cjs.SeastudioRequests; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunk3NRHIVM4_cjs.agentManagementTools; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "agentTabTools", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk3NRHIVM4_cjs.agentTabTools; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "fileTools", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk3NRHIVM4_cjs.fileTools; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginManagementTools; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginTabTools; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunk3NRHIVM4_cjs.seaCloudTools; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "seastudio", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunk3NRHIVM4_cjs.seastudio; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunk3NRHIVM4_cjs.allTools; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "seastudioTools", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunk3NRHIVM4_cjs.tools; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "shellTools", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunk3NRHIVM4_cjs.shellTools; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "MCPClient", {
|
|
151
151
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 { 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-
|
|
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-BZaBjaZh.cjs';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 { 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-
|
|
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-BZaBjaZh.js';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './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';
|
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-ARYIPOZN.js';
|
|
2
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-XWORXNCU.js';
|
|
3
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-H4V6HT4E.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-BZaBjaZh.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-BZaBjaZh.cjs';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
package/dist/mcp/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-BZaBjaZh.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-BZaBjaZh.js';
|
|
3
3
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkAICOQOAA_cjs = require('../chunk-AICOQOAA.cjs');
|
|
4
|
+
var chunk3NRHIVM4_cjs = require('../chunk-3NRHIVM4.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 chunkAICOQOAA_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkAICOQOAA_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkAICOQOAA_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkAICOQOAA_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkAICOQOAA_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkAICOQOAA_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkAICOQOAA_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkAICOQOAA_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk3NRHIVM4_cjs.SeastudioNotifications; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3NRHIVM4_cjs.SeastudioRequests; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3NRHIVM4_cjs.agentManagementTools; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk3NRHIVM4_cjs.agentTabTools; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fileTools", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk3NRHIVM4_cjs.fileTools; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginManagementTools; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginTabTools; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk3NRHIVM4_cjs.seaCloudTools; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "seastudio", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk3NRHIVM4_cjs.seastudio; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk3NRHIVM4_cjs.allTools; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "seastudioTools", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk3NRHIVM4_cjs.tools; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "shellTools", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk3NRHIVM4_cjs.shellTools; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "MCPClient", {
|
|
98
98
|
enumerable: true,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-BZaBjaZh.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-BZaBjaZh.cjs';
|
|
3
3
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.cjs';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
|
|
5
5
|
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-BZaBjaZh.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-BZaBjaZh.js';
|
|
3
3
|
export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.js';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
|
|
5
5
|
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-
|
|
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-ARYIPOZN.js';
|
|
2
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-H4V6HT4E.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,123 +1,123 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3NRHIVM4_cjs = require('../../chunk-3NRHIVM4.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 chunk3NRHIVM4_cjs.SeastudioNotifications; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3NRHIVM4_cjs.SeastudioRequests; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3NRHIVM4_cjs.agentManagementTools; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentTabTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk3NRHIVM4_cjs.agentTabTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "allTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk3NRHIVM4_cjs.allTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "annotateTool", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk3NRHIVM4_cjs.annotateTool; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk3NRHIVM4_cjs.batchFlattenCopyEvidenceOutputSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "callTool", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk3NRHIVM4_cjs.callTool; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "callToolText", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk3NRHIVM4_cjs.callToolText; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk3NRHIVM4_cjs.dualPathEvidenceOutputSchema; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk3NRHIVM4_cjs.fileDownloadEvidenceOutputSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "fileTools", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk3NRHIVM4_cjs.fileTools; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginManagementTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk3NRHIVM4_cjs.pluginTabTools; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "projectTools", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk3NRHIVM4_cjs.projectTools; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "request", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk3NRHIVM4_cjs.request; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk3NRHIVM4_cjs.rootedPathEvidenceOutputSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk3NRHIVM4_cjs.rootedWriteEvidenceOutputSchema; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "runOneShotShellCommand", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk3NRHIVM4_cjs.runOneShotShellCommand; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk3NRHIVM4_cjs.seaCloudTools; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "seastudio", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk3NRHIVM4_cjs.seastudio; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk3NRHIVM4_cjs.shellSessionCloseEvidenceOutputSchema; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk3NRHIVM4_cjs.shellSessionOpenEvidenceOutputSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk3NRHIVM4_cjs.shellSessionRunEvidenceOutputSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunk3NRHIVM4_cjs.shellSessionSignalEvidenceOutputSchema; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk3NRHIVM4_cjs.shellSessionSnapshotEvidenceOutputSchema; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "shellTools", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk3NRHIVM4_cjs.shellTools; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "skillTools", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk3NRHIVM4_cjs.skillTools; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "tools", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunk3NRHIVM4_cjs.tools; }
|
|
123
123
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-BZaBjaZh.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* File MCP Tools
|
|
@@ -373,12 +373,16 @@ declare const SeastudioNotifications: {
|
|
|
373
373
|
readonly FILE_MODIFIED: "file:modified";
|
|
374
374
|
/** 文件已保存通知 */
|
|
375
375
|
readonly FILE_SAVED: "file:saved";
|
|
376
|
+
/** 文件被选中通知 */
|
|
377
|
+
readonly FILE_SELECTED: "file:selected";
|
|
376
378
|
/** 文件发送请求 */
|
|
377
379
|
readonly FILE_SEND_REQUESTED: "seastudio:file-send_requested";
|
|
378
380
|
/** 文本发送请求 */
|
|
379
381
|
readonly TEXT_SEND_REQUESTED: "seastudio:text-send_requested";
|
|
380
382
|
/** 代码提案审核反馈 */
|
|
381
383
|
readonly PROPOSAL_FEEDBACK: "seastudio:proposal-feedback";
|
|
384
|
+
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
385
|
+
readonly PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed";
|
|
382
386
|
/**
|
|
383
387
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
|
384
388
|
* 通常由 Agent 通过 notifications/publish 发出;其他订阅者(含 host-ui)可据此更新 UI。
|
|
@@ -418,12 +422,21 @@ declare const SeastudioNotifications: {
|
|
|
418
422
|
interface FilesChangedParams {
|
|
419
423
|
/** 变化类型:project(工作区) */
|
|
420
424
|
type: 'project';
|
|
421
|
-
/**
|
|
425
|
+
/** 发生变化的项目根路径(绝对路径,兼容旧订阅者) */
|
|
422
426
|
path: string;
|
|
427
|
+
/** 发生变化的项目内相对路径(可选,用于精准刷新) */
|
|
428
|
+
relativePath?: string;
|
|
429
|
+
/** 发生变化的绝对路径(可选,用于精准刷新) */
|
|
430
|
+
absolutePath?: string;
|
|
431
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
432
|
+
origin?: 'tool' | 'watcher';
|
|
433
|
+
/** 变化类型:内容变化、结构变化或未知兜底 */
|
|
434
|
+
changeKind?: 'content' | 'structure' | 'unknown';
|
|
423
435
|
}
|
|
436
|
+
type SeastudioRootId = 'workspace' | `proj-${string}`;
|
|
424
437
|
interface FileRenamedParams {
|
|
425
438
|
/** 根目录 ID */
|
|
426
|
-
rootId:
|
|
439
|
+
rootId: SeastudioRootId;
|
|
427
440
|
/** 原路径 */
|
|
428
441
|
oldPath: string;
|
|
429
442
|
/** 新路径 */
|
|
@@ -437,7 +450,7 @@ interface FileRenamedParams {
|
|
|
437
450
|
}
|
|
438
451
|
interface FileDeletedParams {
|
|
439
452
|
/** 根目录 ID */
|
|
440
|
-
rootId:
|
|
453
|
+
rootId: SeastudioRootId;
|
|
441
454
|
/** 被删除路径 */
|
|
442
455
|
path: string;
|
|
443
456
|
/** 目标类型 */
|
|
@@ -449,12 +462,12 @@ interface FileDeletedParams {
|
|
|
449
462
|
}
|
|
450
463
|
interface RootsChangedParams {
|
|
451
464
|
roots: Array<{
|
|
452
|
-
id:
|
|
465
|
+
id: SeastudioRootId;
|
|
453
466
|
label: string;
|
|
454
467
|
description: string;
|
|
455
468
|
}>;
|
|
456
469
|
}
|
|
457
|
-
type SeastudioDragRootId =
|
|
470
|
+
type SeastudioDragRootId = SeastudioRootId;
|
|
458
471
|
interface SeastudioDragFileData {
|
|
459
472
|
sourcePath: string;
|
|
460
473
|
sourceRootId?: SeastudioDragRootId;
|
|
@@ -472,7 +485,7 @@ interface SeastudioDragDropParams extends SeastudioDragFileData {
|
|
|
472
485
|
}
|
|
473
486
|
interface FileTransferRequestedParams {
|
|
474
487
|
source: 'workspace';
|
|
475
|
-
rootId:
|
|
488
|
+
rootId: SeastudioRootId;
|
|
476
489
|
path: string;
|
|
477
490
|
name: string;
|
|
478
491
|
kind: 'file' | 'directory';
|
|
@@ -482,6 +495,16 @@ interface FileOpenRequestedParams extends FileTransferRequestedParams {
|
|
|
482
495
|
}
|
|
483
496
|
interface FileSendRequestedParams extends FileTransferRequestedParams {
|
|
484
497
|
}
|
|
498
|
+
interface FileSelectedParams {
|
|
499
|
+
source: 'editor' | 'workspace' | 'plugin';
|
|
500
|
+
rootId: SeastudioRootId;
|
|
501
|
+
path: string;
|
|
502
|
+
name: string;
|
|
503
|
+
kind: 'file' | 'directory';
|
|
504
|
+
isDirectory: boolean;
|
|
505
|
+
pluginId?: string;
|
|
506
|
+
instanceId?: string;
|
|
507
|
+
}
|
|
485
508
|
interface TextSendRequestedSelectionRange {
|
|
486
509
|
startLine?: number;
|
|
487
510
|
startColumn?: number;
|
|
@@ -551,6 +574,21 @@ interface FileSavedParams {
|
|
|
551
574
|
/** 触发来源插件 ID */
|
|
552
575
|
source?: string;
|
|
553
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* plugin:tab-title_changed 通知参数
|
|
579
|
+
*/
|
|
580
|
+
interface PluginTabTitleChangedParams {
|
|
581
|
+
/** 插件 ID,可选;Host 主要按 instanceId 定位 */
|
|
582
|
+
pluginId?: string;
|
|
583
|
+
/** 插件实例 ID */
|
|
584
|
+
instanceId: string;
|
|
585
|
+
/** 新的 tab 标题 */
|
|
586
|
+
title: string;
|
|
587
|
+
/** 当前实例承载的文件路径;null 表示实例已空闲 */
|
|
588
|
+
openPath?: string | null;
|
|
589
|
+
/** 当前实例承载的文件根;null 表示实例已空闲 */
|
|
590
|
+
openRootId?: SeastudioRootId | null;
|
|
591
|
+
}
|
|
554
592
|
/** 各 session 通知的公共字段 */
|
|
555
593
|
interface SessionNotificationBase {
|
|
556
594
|
/** 对应 Agent 标签实例 ID(与 MCP 上下文中的 agent 实例一致) */
|
|
@@ -651,4 +689,4 @@ interface SessionDeleteRequestedParams {
|
|
|
651
689
|
declare const allTools: MCPTool[];
|
|
652
690
|
declare const tools: MCPTool[];
|
|
653
691
|
|
|
654
|
-
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
692
|
+
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 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-BZaBjaZh.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* File MCP Tools
|
|
@@ -373,12 +373,16 @@ declare const SeastudioNotifications: {
|
|
|
373
373
|
readonly FILE_MODIFIED: "file:modified";
|
|
374
374
|
/** 文件已保存通知 */
|
|
375
375
|
readonly FILE_SAVED: "file:saved";
|
|
376
|
+
/** 文件被选中通知 */
|
|
377
|
+
readonly FILE_SELECTED: "file:selected";
|
|
376
378
|
/** 文件发送请求 */
|
|
377
379
|
readonly FILE_SEND_REQUESTED: "seastudio:file-send_requested";
|
|
378
380
|
/** 文本发送请求 */
|
|
379
381
|
readonly TEXT_SEND_REQUESTED: "seastudio:text-send_requested";
|
|
380
382
|
/** 代码提案审核反馈 */
|
|
381
383
|
readonly PROPOSAL_FEEDBACK: "seastudio:proposal-feedback";
|
|
384
|
+
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
385
|
+
readonly PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed";
|
|
382
386
|
/**
|
|
383
387
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
|
384
388
|
* 通常由 Agent 通过 notifications/publish 发出;其他订阅者(含 host-ui)可据此更新 UI。
|
|
@@ -418,12 +422,21 @@ declare const SeastudioNotifications: {
|
|
|
418
422
|
interface FilesChangedParams {
|
|
419
423
|
/** 变化类型:project(工作区) */
|
|
420
424
|
type: 'project';
|
|
421
|
-
/**
|
|
425
|
+
/** 发生变化的项目根路径(绝对路径,兼容旧订阅者) */
|
|
422
426
|
path: string;
|
|
427
|
+
/** 发生变化的项目内相对路径(可选,用于精准刷新) */
|
|
428
|
+
relativePath?: string;
|
|
429
|
+
/** 发生变化的绝对路径(可选,用于精准刷新) */
|
|
430
|
+
absolutePath?: string;
|
|
431
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
432
|
+
origin?: 'tool' | 'watcher';
|
|
433
|
+
/** 变化类型:内容变化、结构变化或未知兜底 */
|
|
434
|
+
changeKind?: 'content' | 'structure' | 'unknown';
|
|
423
435
|
}
|
|
436
|
+
type SeastudioRootId = 'workspace' | `proj-${string}`;
|
|
424
437
|
interface FileRenamedParams {
|
|
425
438
|
/** 根目录 ID */
|
|
426
|
-
rootId:
|
|
439
|
+
rootId: SeastudioRootId;
|
|
427
440
|
/** 原路径 */
|
|
428
441
|
oldPath: string;
|
|
429
442
|
/** 新路径 */
|
|
@@ -437,7 +450,7 @@ interface FileRenamedParams {
|
|
|
437
450
|
}
|
|
438
451
|
interface FileDeletedParams {
|
|
439
452
|
/** 根目录 ID */
|
|
440
|
-
rootId:
|
|
453
|
+
rootId: SeastudioRootId;
|
|
441
454
|
/** 被删除路径 */
|
|
442
455
|
path: string;
|
|
443
456
|
/** 目标类型 */
|
|
@@ -449,12 +462,12 @@ interface FileDeletedParams {
|
|
|
449
462
|
}
|
|
450
463
|
interface RootsChangedParams {
|
|
451
464
|
roots: Array<{
|
|
452
|
-
id:
|
|
465
|
+
id: SeastudioRootId;
|
|
453
466
|
label: string;
|
|
454
467
|
description: string;
|
|
455
468
|
}>;
|
|
456
469
|
}
|
|
457
|
-
type SeastudioDragRootId =
|
|
470
|
+
type SeastudioDragRootId = SeastudioRootId;
|
|
458
471
|
interface SeastudioDragFileData {
|
|
459
472
|
sourcePath: string;
|
|
460
473
|
sourceRootId?: SeastudioDragRootId;
|
|
@@ -472,7 +485,7 @@ interface SeastudioDragDropParams extends SeastudioDragFileData {
|
|
|
472
485
|
}
|
|
473
486
|
interface FileTransferRequestedParams {
|
|
474
487
|
source: 'workspace';
|
|
475
|
-
rootId:
|
|
488
|
+
rootId: SeastudioRootId;
|
|
476
489
|
path: string;
|
|
477
490
|
name: string;
|
|
478
491
|
kind: 'file' | 'directory';
|
|
@@ -482,6 +495,16 @@ interface FileOpenRequestedParams extends FileTransferRequestedParams {
|
|
|
482
495
|
}
|
|
483
496
|
interface FileSendRequestedParams extends FileTransferRequestedParams {
|
|
484
497
|
}
|
|
498
|
+
interface FileSelectedParams {
|
|
499
|
+
source: 'editor' | 'workspace' | 'plugin';
|
|
500
|
+
rootId: SeastudioRootId;
|
|
501
|
+
path: string;
|
|
502
|
+
name: string;
|
|
503
|
+
kind: 'file' | 'directory';
|
|
504
|
+
isDirectory: boolean;
|
|
505
|
+
pluginId?: string;
|
|
506
|
+
instanceId?: string;
|
|
507
|
+
}
|
|
485
508
|
interface TextSendRequestedSelectionRange {
|
|
486
509
|
startLine?: number;
|
|
487
510
|
startColumn?: number;
|
|
@@ -551,6 +574,21 @@ interface FileSavedParams {
|
|
|
551
574
|
/** 触发来源插件 ID */
|
|
552
575
|
source?: string;
|
|
553
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* plugin:tab-title_changed 通知参数
|
|
579
|
+
*/
|
|
580
|
+
interface PluginTabTitleChangedParams {
|
|
581
|
+
/** 插件 ID,可选;Host 主要按 instanceId 定位 */
|
|
582
|
+
pluginId?: string;
|
|
583
|
+
/** 插件实例 ID */
|
|
584
|
+
instanceId: string;
|
|
585
|
+
/** 新的 tab 标题 */
|
|
586
|
+
title: string;
|
|
587
|
+
/** 当前实例承载的文件路径;null 表示实例已空闲 */
|
|
588
|
+
openPath?: string | null;
|
|
589
|
+
/** 当前实例承载的文件根;null 表示实例已空闲 */
|
|
590
|
+
openRootId?: SeastudioRootId | null;
|
|
591
|
+
}
|
|
554
592
|
/** 各 session 通知的公共字段 */
|
|
555
593
|
interface SessionNotificationBase {
|
|
556
594
|
/** 对应 Agent 标签实例 ID(与 MCP 上下文中的 agent 实例一致) */
|
|
@@ -651,4 +689,4 @@ interface SessionDeleteRequestedParams {
|
|
|
651
689
|
declare const allTools: MCPTool[];
|
|
652
690
|
declare const tools: MCPTool[];
|
|
653
691
|
|
|
654
|
-
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
692
|
+
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 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, 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, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-H4V6HT4E.js';
|
|
2
2
|
import '../../chunk-TJ3CGHWJ.js';
|
|
@@ -43,7 +43,7 @@ interface MCPToolInputSchema {
|
|
|
43
43
|
interface MCPToolAnnotations {
|
|
44
44
|
operationKind?: 'read' | 'mutate' | 'system' | 'workflow';
|
|
45
45
|
requiresExecutionEvidence?: boolean;
|
|
46
|
-
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word' | 'skill'
|
|
46
|
+
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word' | 'skill' | `plugin-${string}`;
|
|
47
47
|
hostForwarding?: {
|
|
48
48
|
timeoutMs?: number;
|
|
49
49
|
};
|
|
@@ -43,7 +43,7 @@ interface MCPToolInputSchema {
|
|
|
43
43
|
interface MCPToolAnnotations {
|
|
44
44
|
operationKind?: 'read' | 'mutate' | 'system' | 'workflow';
|
|
45
45
|
requiresExecutionEvidence?: boolean;
|
|
46
|
-
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word' | 'skill'
|
|
46
|
+
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word' | 'skill' | `plugin-${string}`;
|
|
47
47
|
hostForwarding?: {
|
|
48
48
|
timeoutMs?: number;
|
|
49
49
|
};
|
package/dist/ui/index.cjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUZ6SEVW3_cjs = require('../chunk-UZ6SEVW3.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 chunkUZ6SEVW3_cjs.DialogBody; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DialogButton", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogButton; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DialogContainer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogContainer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DialogFooter", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogFooter; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DialogHeader", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogHeader; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkUZ6SEVW3_cjs.DialogOverlay; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MenuContainer", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuContainer; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuEmpty; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MenuItem", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuItem; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkUZ6SEVW3_cjs.MenuSeparator; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "Tab", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkUZ6SEVW3_cjs.Tab; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "cn", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkUZ6SEVW3_cjs.cn; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkUZ6SEVW3_cjs.showHostContextMenu; }
|
|
58
58
|
});
|
package/dist/ui/index.d.cts
CHANGED
|
@@ -15,8 +15,14 @@ interface TabProps {
|
|
|
15
15
|
title?: string;
|
|
16
16
|
className?: string;
|
|
17
17
|
disabled?: boolean;
|
|
18
|
+
draggable?: boolean;
|
|
19
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement>;
|
|
20
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement>;
|
|
21
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement>;
|
|
22
|
+
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
23
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
18
24
|
}
|
|
19
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, }: TabProps): React.ReactElement;
|
|
25
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
20
26
|
|
|
21
27
|
/**
|
|
22
28
|
* Menu - 统一菜单组件
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -15,8 +15,14 @@ interface TabProps {
|
|
|
15
15
|
title?: string;
|
|
16
16
|
className?: string;
|
|
17
17
|
disabled?: boolean;
|
|
18
|
+
draggable?: boolean;
|
|
19
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement>;
|
|
20
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement>;
|
|
21
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement>;
|
|
22
|
+
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
23
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
18
24
|
}
|
|
19
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, }: TabProps): React.ReactElement;
|
|
25
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
20
26
|
|
|
21
27
|
/**
|
|
22
28
|
* 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-XWORXNCU.js';
|