@seastudio/sdk 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -711,17 +711,17 @@ var agentManagementTools = [
711
711
  var agentTabTools = [
712
712
  annotateTool({
713
713
  name: "seastudio-agent_tab",
714
- description: "\u67E5\u8BE2\u3001\u6253\u5F00\u3001\u5207\u6362\u548C\u5173\u95ED Agent \u6807\u7B7E\u9875\u3002\u4F7F\u7528 action \u9009\u62E9 list\u3001getActive\u3001open\u3001switch\u3001close \u6216 getStatus\u3002",
714
+ description: "\u67E5\u8BE2\u3001\u6253\u5F00\u3001\u5207\u6362\u548C\u5173\u95ED Agent \u6807\u7B7E\u9875\uFF0C\u5E76\u83B7\u53D6\u5F53\u524D Agent \u4E0A\u4E0B\u6587\u4E2D\u7684\u9879\u76EE\u540D\u4E0E\u4F1A\u8BDD\u540D\u3002\u4F7F\u7528 action \u9009\u62E9 list\u3001getActive\u3001open\u3001switch\u3001close\u3001getStatus\u3001getCurrentProjectName \u6216 getCurrentSessionName\u3002",
715
715
  inputSchema: {
716
716
  type: "object",
717
717
  properties: {
718
718
  action: {
719
719
  type: "string",
720
- enum: ["list", "getActive", "open", "switch", "close", "getStatus"],
721
- description: "Agent \u6807\u7B7E\u9875\u52A8\u4F5C\u3002open/getStatus \u9700\u8981 agentId\uFF1Bswitch/close \u9700\u8981 instanceId\u3002"
720
+ enum: ["list", "getActive", "open", "switch", "close", "getStatus", "getCurrentProjectName", "getCurrentSessionName"],
721
+ description: "Agent \u6807\u7B7E\u9875\u52A8\u4F5C\u3002open/getStatus \u9700\u8981 agentId\uFF1Bswitch/close \u9700\u8981 instanceId\uFF1BgetCurrentProjectName/getCurrentSessionName \u8FD4\u56DE\u7528\u6237\u53EF\u4FEE\u6539\u540E\u7684\u5F53\u524D\u9879\u76EE\u540D/\u5F53\u524D\u4F1A\u8BDD\u540D\u3002"
722
722
  },
723
723
  agentId: { type: "string", description: "Agent ID\u3002open\u3001getStatus \u5FC5\u586B\u3002" },
724
- instanceId: { type: "string", description: "Agent \u6807\u7B7E\u9875\u5B9E\u4F8B ID\u3002switch\u3001close \u5FC5\u586B\u3002" }
724
+ instanceId: { type: "string", description: "Agent \u6807\u7B7E\u9875\u5B9E\u4F8B ID\u3002switch\u3001close \u5FC5\u586B\uFF1BgetCurrentProjectName/getCurrentSessionName \u53EF\u9009\uFF0C\u672A\u4F20\u65F6\u4F7F\u7528\u5F53\u524D\u8C03\u7528\u65B9 Agent \u5B9E\u4F8B\u6216\u524D\u53F0 Agent \u6807\u7B7E\u3002" }
725
725
  },
726
726
  required: ["action"]
727
727
  }
@@ -709,17 +709,17 @@ var agentManagementTools = [
709
709
  var agentTabTools = [
710
710
  annotateTool({
711
711
  name: "seastudio-agent_tab",
712
- description: "\u67E5\u8BE2\u3001\u6253\u5F00\u3001\u5207\u6362\u548C\u5173\u95ED Agent \u6807\u7B7E\u9875\u3002\u4F7F\u7528 action \u9009\u62E9 list\u3001getActive\u3001open\u3001switch\u3001close \u6216 getStatus\u3002",
712
+ description: "\u67E5\u8BE2\u3001\u6253\u5F00\u3001\u5207\u6362\u548C\u5173\u95ED Agent \u6807\u7B7E\u9875\uFF0C\u5E76\u83B7\u53D6\u5F53\u524D Agent \u4E0A\u4E0B\u6587\u4E2D\u7684\u9879\u76EE\u540D\u4E0E\u4F1A\u8BDD\u540D\u3002\u4F7F\u7528 action \u9009\u62E9 list\u3001getActive\u3001open\u3001switch\u3001close\u3001getStatus\u3001getCurrentProjectName \u6216 getCurrentSessionName\u3002",
713
713
  inputSchema: {
714
714
  type: "object",
715
715
  properties: {
716
716
  action: {
717
717
  type: "string",
718
- enum: ["list", "getActive", "open", "switch", "close", "getStatus"],
719
- description: "Agent \u6807\u7B7E\u9875\u52A8\u4F5C\u3002open/getStatus \u9700\u8981 agentId\uFF1Bswitch/close \u9700\u8981 instanceId\u3002"
718
+ enum: ["list", "getActive", "open", "switch", "close", "getStatus", "getCurrentProjectName", "getCurrentSessionName"],
719
+ description: "Agent \u6807\u7B7E\u9875\u52A8\u4F5C\u3002open/getStatus \u9700\u8981 agentId\uFF1Bswitch/close \u9700\u8981 instanceId\uFF1BgetCurrentProjectName/getCurrentSessionName \u8FD4\u56DE\u7528\u6237\u53EF\u4FEE\u6539\u540E\u7684\u5F53\u524D\u9879\u76EE\u540D/\u5F53\u524D\u4F1A\u8BDD\u540D\u3002"
720
720
  },
721
721
  agentId: { type: "string", description: "Agent ID\u3002open\u3001getStatus \u5FC5\u586B\u3002" },
722
- instanceId: { type: "string", description: "Agent \u6807\u7B7E\u9875\u5B9E\u4F8B ID\u3002switch\u3001close \u5FC5\u586B\u3002" }
722
+ instanceId: { type: "string", description: "Agent \u6807\u7B7E\u9875\u5B9E\u4F8B ID\u3002switch\u3001close \u5FC5\u586B\uFF1BgetCurrentProjectName/getCurrentSessionName \u53EF\u9009\uFF0C\u672A\u4F20\u65F6\u4F7F\u7528\u5F53\u524D\u8C03\u7528\u65B9 Agent \u5B9E\u4F8B\u6216\u524D\u53F0 Agent \u6807\u7B7E\u3002" }
723
723
  },
724
724
  required: ["action"]
725
725
  }
@@ -1,4 +1,4 @@
1
- import { allTools } from './chunk-CRW5HIAT.js';
1
+ import { allTools } from './chunk-BEYRWP23.js';
2
2
  import { normalizeMCPTool, normalizeMCPToolObjectSchema, getDefaultClient } from './chunk-TJ3CGHWJ.js';
3
3
 
4
4
  // src/mcp/index.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkESYMLBX2_cjs = require('./chunk-ESYMLBX2.cjs');
3
+ var chunk2W4WODYZ_cjs = require('./chunk-2W4WODYZ.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: chunkESYMLBX2_cjs.allTools }
14
+ { id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools: chunk2W4WODYZ_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 [...chunkESYMLBX2_cjs.allTools];
32
+ return [...chunk2W4WODYZ_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
- chunkESYMLBX2_cjs.allTools.map((tool) => [tool.name, "seastudio"])
65
+ chunk2W4WODYZ_cjs.allTools.map((tool) => [tool.name, "seastudio"])
66
66
  );
67
67
  function getMCPToolPackageIndex() {
68
68
  return new Map(MCP_TOOL_PACKAGE_INDEX);
package/dist/index.cjs CHANGED
@@ -1,51 +1,51 @@
1
1
  'use strict';
2
2
 
3
- var chunkPHCR3VWY_cjs = require('./chunk-PHCR3VWY.cjs');
3
+ var chunkWDWGJ5DX_cjs = require('./chunk-WDWGJ5DX.cjs');
4
4
  var chunkTKROLSLX_cjs = require('./chunk-TKROLSLX.cjs');
5
- var chunkESYMLBX2_cjs = require('./chunk-ESYMLBX2.cjs');
5
+ var chunk2W4WODYZ_cjs = require('./chunk-2W4WODYZ.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 chunkPHCR3VWY_cjs.MCP_PACKAGES; }
12
+ get: function () { return chunkWDWGJ5DX_cjs.MCP_PACKAGES; }
13
13
  });
14
14
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
15
15
  enumerable: true,
16
- get: function () { return chunkPHCR3VWY_cjs.getMCPPackageIdForTool; }
16
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPPackageIdForTool; }
17
17
  });
18
18
  Object.defineProperty(exports, "getMCPPackages", {
19
19
  enumerable: true,
20
- get: function () { return chunkPHCR3VWY_cjs.getMCPPackages; }
20
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPPackages; }
21
21
  });
22
22
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
23
23
  enumerable: true,
24
- get: function () { return chunkPHCR3VWY_cjs.getMCPToolPackageIndex; }
24
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPToolPackageIndex; }
25
25
  });
26
26
  Object.defineProperty(exports, "getToolsForLLM", {
27
27
  enumerable: true,
28
- get: function () { return chunkPHCR3VWY_cjs.getToolsForLLM; }
28
+ get: function () { return chunkWDWGJ5DX_cjs.getToolsForLLM; }
29
29
  });
30
30
  Object.defineProperty(exports, "listAllTools", {
31
31
  enumerable: true,
32
- get: function () { return chunkPHCR3VWY_cjs.listAllTools; }
32
+ get: function () { return chunkWDWGJ5DX_cjs.listAllTools; }
33
33
  });
34
34
  Object.defineProperty(exports, "listAvailableTools", {
35
35
  enumerable: true,
36
- get: function () { return chunkPHCR3VWY_cjs.listAvailableTools; }
36
+ get: function () { return chunkWDWGJ5DX_cjs.listAvailableTools; }
37
37
  });
38
38
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
39
39
  enumerable: true,
40
- get: function () { return chunkPHCR3VWY_cjs.listAvailableToolsForLLM; }
40
+ get: function () { return chunkWDWGJ5DX_cjs.listAvailableToolsForLLM; }
41
41
  });
42
42
  Object.defineProperty(exports, "loadPlugin", {
43
43
  enumerable: true,
44
- get: function () { return chunkPHCR3VWY_cjs.loadPlugin; }
44
+ get: function () { return chunkWDWGJ5DX_cjs.loadPlugin; }
45
45
  });
46
46
  Object.defineProperty(exports, "mcpToolToOpenAI", {
47
47
  enumerable: true,
48
- get: function () { return chunkPHCR3VWY_cjs.mcpToolToOpenAI; }
48
+ get: function () { return chunkWDWGJ5DX_cjs.mcpToolToOpenAI; }
49
49
  });
50
50
  Object.defineProperty(exports, "DialogBody", {
51
51
  enumerable: true,
@@ -101,51 +101,51 @@ Object.defineProperty(exports, "showHostContextMenu", {
101
101
  });
102
102
  Object.defineProperty(exports, "SeastudioNotifications", {
103
103
  enumerable: true,
104
- get: function () { return chunkESYMLBX2_cjs.SeastudioNotifications; }
104
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioNotifications; }
105
105
  });
106
106
  Object.defineProperty(exports, "SeastudioRequests", {
107
107
  enumerable: true,
108
- get: function () { return chunkESYMLBX2_cjs.SeastudioRequests; }
108
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioRequests; }
109
109
  });
110
110
  Object.defineProperty(exports, "agentManagementTools", {
111
111
  enumerable: true,
112
- get: function () { return chunkESYMLBX2_cjs.agentManagementTools; }
112
+ get: function () { return chunk2W4WODYZ_cjs.agentManagementTools; }
113
113
  });
114
114
  Object.defineProperty(exports, "agentTabTools", {
115
115
  enumerable: true,
116
- get: function () { return chunkESYMLBX2_cjs.agentTabTools; }
116
+ get: function () { return chunk2W4WODYZ_cjs.agentTabTools; }
117
117
  });
118
118
  Object.defineProperty(exports, "fileTools", {
119
119
  enumerable: true,
120
- get: function () { return chunkESYMLBX2_cjs.fileTools; }
120
+ get: function () { return chunk2W4WODYZ_cjs.fileTools; }
121
121
  });
122
122
  Object.defineProperty(exports, "pluginManagementTools", {
123
123
  enumerable: true,
124
- get: function () { return chunkESYMLBX2_cjs.pluginManagementTools; }
124
+ get: function () { return chunk2W4WODYZ_cjs.pluginManagementTools; }
125
125
  });
126
126
  Object.defineProperty(exports, "pluginTabTools", {
127
127
  enumerable: true,
128
- get: function () { return chunkESYMLBX2_cjs.pluginTabTools; }
128
+ get: function () { return chunk2W4WODYZ_cjs.pluginTabTools; }
129
129
  });
130
130
  Object.defineProperty(exports, "seaCloudTools", {
131
131
  enumerable: true,
132
- get: function () { return chunkESYMLBX2_cjs.seaCloudTools; }
132
+ get: function () { return chunk2W4WODYZ_cjs.seaCloudTools; }
133
133
  });
134
134
  Object.defineProperty(exports, "seastudio", {
135
135
  enumerable: true,
136
- get: function () { return chunkESYMLBX2_cjs.seastudio; }
136
+ get: function () { return chunk2W4WODYZ_cjs.seastudio; }
137
137
  });
138
138
  Object.defineProperty(exports, "seastudioAllTools", {
139
139
  enumerable: true,
140
- get: function () { return chunkESYMLBX2_cjs.allTools; }
140
+ get: function () { return chunk2W4WODYZ_cjs.allTools; }
141
141
  });
142
142
  Object.defineProperty(exports, "seastudioTools", {
143
143
  enumerable: true,
144
- get: function () { return chunkESYMLBX2_cjs.tools; }
144
+ get: function () { return chunk2W4WODYZ_cjs.tools; }
145
145
  });
146
146
  Object.defineProperty(exports, "shellTools", {
147
147
  enumerable: true,
148
- get: function () { return chunkESYMLBX2_cjs.shellTools; }
148
+ get: function () { return chunk2W4WODYZ_cjs.shellTools; }
149
149
  });
150
150
  Object.defineProperty(exports, "MCPClient", {
151
151
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-4N65MCEL.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-FM7T46Q5.js';
2
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-CRW5HIAT.js';
3
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-BEYRWP23.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,98 +1,98 @@
1
1
  'use strict';
2
2
 
3
- var chunkPHCR3VWY_cjs = require('../chunk-PHCR3VWY.cjs');
4
- var chunkESYMLBX2_cjs = require('../chunk-ESYMLBX2.cjs');
3
+ var chunkWDWGJ5DX_cjs = require('../chunk-WDWGJ5DX.cjs');
4
+ var chunk2W4WODYZ_cjs = require('../chunk-2W4WODYZ.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 chunkPHCR3VWY_cjs.MCP_PACKAGES; }
11
+ get: function () { return chunkWDWGJ5DX_cjs.MCP_PACKAGES; }
12
12
  });
13
13
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
14
14
  enumerable: true,
15
- get: function () { return chunkPHCR3VWY_cjs.getMCPPackageIdForTool; }
15
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPPackageIdForTool; }
16
16
  });
17
17
  Object.defineProperty(exports, "getMCPPackages", {
18
18
  enumerable: true,
19
- get: function () { return chunkPHCR3VWY_cjs.getMCPPackages; }
19
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPPackages; }
20
20
  });
21
21
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
22
22
  enumerable: true,
23
- get: function () { return chunkPHCR3VWY_cjs.getMCPToolPackageIndex; }
23
+ get: function () { return chunkWDWGJ5DX_cjs.getMCPToolPackageIndex; }
24
24
  });
25
25
  Object.defineProperty(exports, "getToolsForLLM", {
26
26
  enumerable: true,
27
- get: function () { return chunkPHCR3VWY_cjs.getToolsForLLM; }
27
+ get: function () { return chunkWDWGJ5DX_cjs.getToolsForLLM; }
28
28
  });
29
29
  Object.defineProperty(exports, "listAllTools", {
30
30
  enumerable: true,
31
- get: function () { return chunkPHCR3VWY_cjs.listAllTools; }
31
+ get: function () { return chunkWDWGJ5DX_cjs.listAllTools; }
32
32
  });
33
33
  Object.defineProperty(exports, "listAvailableTools", {
34
34
  enumerable: true,
35
- get: function () { return chunkPHCR3VWY_cjs.listAvailableTools; }
35
+ get: function () { return chunkWDWGJ5DX_cjs.listAvailableTools; }
36
36
  });
37
37
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
38
38
  enumerable: true,
39
- get: function () { return chunkPHCR3VWY_cjs.listAvailableToolsForLLM; }
39
+ get: function () { return chunkWDWGJ5DX_cjs.listAvailableToolsForLLM; }
40
40
  });
41
41
  Object.defineProperty(exports, "loadPlugin", {
42
42
  enumerable: true,
43
- get: function () { return chunkPHCR3VWY_cjs.loadPlugin; }
43
+ get: function () { return chunkWDWGJ5DX_cjs.loadPlugin; }
44
44
  });
45
45
  Object.defineProperty(exports, "mcpToolToOpenAI", {
46
46
  enumerable: true,
47
- get: function () { return chunkPHCR3VWY_cjs.mcpToolToOpenAI; }
47
+ get: function () { return chunkWDWGJ5DX_cjs.mcpToolToOpenAI; }
48
48
  });
49
49
  Object.defineProperty(exports, "SeastudioNotifications", {
50
50
  enumerable: true,
51
- get: function () { return chunkESYMLBX2_cjs.SeastudioNotifications; }
51
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioNotifications; }
52
52
  });
53
53
  Object.defineProperty(exports, "SeastudioRequests", {
54
54
  enumerable: true,
55
- get: function () { return chunkESYMLBX2_cjs.SeastudioRequests; }
55
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioRequests; }
56
56
  });
57
57
  Object.defineProperty(exports, "agentManagementTools", {
58
58
  enumerable: true,
59
- get: function () { return chunkESYMLBX2_cjs.agentManagementTools; }
59
+ get: function () { return chunk2W4WODYZ_cjs.agentManagementTools; }
60
60
  });
61
61
  Object.defineProperty(exports, "agentTabTools", {
62
62
  enumerable: true,
63
- get: function () { return chunkESYMLBX2_cjs.agentTabTools; }
63
+ get: function () { return chunk2W4WODYZ_cjs.agentTabTools; }
64
64
  });
65
65
  Object.defineProperty(exports, "fileTools", {
66
66
  enumerable: true,
67
- get: function () { return chunkESYMLBX2_cjs.fileTools; }
67
+ get: function () { return chunk2W4WODYZ_cjs.fileTools; }
68
68
  });
69
69
  Object.defineProperty(exports, "pluginManagementTools", {
70
70
  enumerable: true,
71
- get: function () { return chunkESYMLBX2_cjs.pluginManagementTools; }
71
+ get: function () { return chunk2W4WODYZ_cjs.pluginManagementTools; }
72
72
  });
73
73
  Object.defineProperty(exports, "pluginTabTools", {
74
74
  enumerable: true,
75
- get: function () { return chunkESYMLBX2_cjs.pluginTabTools; }
75
+ get: function () { return chunk2W4WODYZ_cjs.pluginTabTools; }
76
76
  });
77
77
  Object.defineProperty(exports, "seaCloudTools", {
78
78
  enumerable: true,
79
- get: function () { return chunkESYMLBX2_cjs.seaCloudTools; }
79
+ get: function () { return chunk2W4WODYZ_cjs.seaCloudTools; }
80
80
  });
81
81
  Object.defineProperty(exports, "seastudio", {
82
82
  enumerable: true,
83
- get: function () { return chunkESYMLBX2_cjs.seastudio; }
83
+ get: function () { return chunk2W4WODYZ_cjs.seastudio; }
84
84
  });
85
85
  Object.defineProperty(exports, "seastudioAllTools", {
86
86
  enumerable: true,
87
- get: function () { return chunkESYMLBX2_cjs.allTools; }
87
+ get: function () { return chunk2W4WODYZ_cjs.allTools; }
88
88
  });
89
89
  Object.defineProperty(exports, "seastudioTools", {
90
90
  enumerable: true,
91
- get: function () { return chunkESYMLBX2_cjs.tools; }
91
+ get: function () { return chunk2W4WODYZ_cjs.tools; }
92
92
  });
93
93
  Object.defineProperty(exports, "shellTools", {
94
94
  enumerable: true,
95
- get: function () { return chunkESYMLBX2_cjs.shellTools; }
95
+ get: function () { return chunk2W4WODYZ_cjs.shellTools; }
96
96
  });
97
97
  Object.defineProperty(exports, "MCPClient", {
98
98
  enumerable: true,
package/dist/mcp/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-4N65MCEL.js';
2
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-CRW5HIAT.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-FM7T46Q5.js';
2
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-BEYRWP23.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 chunkESYMLBX2_cjs = require('../../chunk-ESYMLBX2.cjs');
3
+ var chunk2W4WODYZ_cjs = require('../../chunk-2W4WODYZ.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 chunkESYMLBX2_cjs.SeastudioNotifications; }
10
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioNotifications; }
11
11
  });
12
12
  Object.defineProperty(exports, "SeastudioRequests", {
13
13
  enumerable: true,
14
- get: function () { return chunkESYMLBX2_cjs.SeastudioRequests; }
14
+ get: function () { return chunk2W4WODYZ_cjs.SeastudioRequests; }
15
15
  });
16
16
  Object.defineProperty(exports, "agentManagementTools", {
17
17
  enumerable: true,
18
- get: function () { return chunkESYMLBX2_cjs.agentManagementTools; }
18
+ get: function () { return chunk2W4WODYZ_cjs.agentManagementTools; }
19
19
  });
20
20
  Object.defineProperty(exports, "agentTabTools", {
21
21
  enumerable: true,
22
- get: function () { return chunkESYMLBX2_cjs.agentTabTools; }
22
+ get: function () { return chunk2W4WODYZ_cjs.agentTabTools; }
23
23
  });
24
24
  Object.defineProperty(exports, "allTools", {
25
25
  enumerable: true,
26
- get: function () { return chunkESYMLBX2_cjs.allTools; }
26
+ get: function () { return chunk2W4WODYZ_cjs.allTools; }
27
27
  });
28
28
  Object.defineProperty(exports, "annotateTool", {
29
29
  enumerable: true,
30
- get: function () { return chunkESYMLBX2_cjs.annotateTool; }
30
+ get: function () { return chunk2W4WODYZ_cjs.annotateTool; }
31
31
  });
32
32
  Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
33
33
  enumerable: true,
34
- get: function () { return chunkESYMLBX2_cjs.batchFlattenCopyEvidenceOutputSchema; }
34
+ get: function () { return chunk2W4WODYZ_cjs.batchFlattenCopyEvidenceOutputSchema; }
35
35
  });
36
36
  Object.defineProperty(exports, "browserRuntimeTools", {
37
37
  enumerable: true,
38
- get: function () { return chunkESYMLBX2_cjs.browserRuntimeTools; }
38
+ get: function () { return chunk2W4WODYZ_cjs.browserRuntimeTools; }
39
39
  });
40
40
  Object.defineProperty(exports, "callTool", {
41
41
  enumerable: true,
42
- get: function () { return chunkESYMLBX2_cjs.callTool; }
42
+ get: function () { return chunk2W4WODYZ_cjs.callTool; }
43
43
  });
44
44
  Object.defineProperty(exports, "callToolText", {
45
45
  enumerable: true,
46
- get: function () { return chunkESYMLBX2_cjs.callToolText; }
46
+ get: function () { return chunk2W4WODYZ_cjs.callToolText; }
47
47
  });
48
48
  Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
49
49
  enumerable: true,
50
- get: function () { return chunkESYMLBX2_cjs.dualPathEvidenceOutputSchema; }
50
+ get: function () { return chunk2W4WODYZ_cjs.dualPathEvidenceOutputSchema; }
51
51
  });
52
52
  Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkESYMLBX2_cjs.fileDownloadEvidenceOutputSchema; }
54
+ get: function () { return chunk2W4WODYZ_cjs.fileDownloadEvidenceOutputSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "fileTools", {
57
57
  enumerable: true,
58
- get: function () { return chunkESYMLBX2_cjs.fileTools; }
58
+ get: function () { return chunk2W4WODYZ_cjs.fileTools; }
59
59
  });
60
60
  Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkESYMLBX2_cjs.fileUrlEvidenceOutputSchema; }
62
+ get: function () { return chunk2W4WODYZ_cjs.fileUrlEvidenceOutputSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "pluginManagementTools", {
65
65
  enumerable: true,
66
- get: function () { return chunkESYMLBX2_cjs.pluginManagementTools; }
66
+ get: function () { return chunk2W4WODYZ_cjs.pluginManagementTools; }
67
67
  });
68
68
  Object.defineProperty(exports, "pluginTabTools", {
69
69
  enumerable: true,
70
- get: function () { return chunkESYMLBX2_cjs.pluginTabTools; }
70
+ get: function () { return chunk2W4WODYZ_cjs.pluginTabTools; }
71
71
  });
72
72
  Object.defineProperty(exports, "projectTools", {
73
73
  enumerable: true,
74
- get: function () { return chunkESYMLBX2_cjs.projectTools; }
74
+ get: function () { return chunk2W4WODYZ_cjs.projectTools; }
75
75
  });
76
76
  Object.defineProperty(exports, "request", {
77
77
  enumerable: true,
78
- get: function () { return chunkESYMLBX2_cjs.request; }
78
+ get: function () { return chunk2W4WODYZ_cjs.request; }
79
79
  });
80
80
  Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
81
81
  enumerable: true,
82
- get: function () { return chunkESYMLBX2_cjs.rootedPathEvidenceOutputSchema; }
82
+ get: function () { return chunk2W4WODYZ_cjs.rootedPathEvidenceOutputSchema; }
83
83
  });
84
84
  Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
85
85
  enumerable: true,
86
- get: function () { return chunkESYMLBX2_cjs.rootedWriteEvidenceOutputSchema; }
86
+ get: function () { return chunk2W4WODYZ_cjs.rootedWriteEvidenceOutputSchema; }
87
87
  });
88
88
  Object.defineProperty(exports, "runOneShotShellCommand", {
89
89
  enumerable: true,
90
- get: function () { return chunkESYMLBX2_cjs.runOneShotShellCommand; }
90
+ get: function () { return chunk2W4WODYZ_cjs.runOneShotShellCommand; }
91
91
  });
92
92
  Object.defineProperty(exports, "seaCloudTools", {
93
93
  enumerable: true,
94
- get: function () { return chunkESYMLBX2_cjs.seaCloudTools; }
94
+ get: function () { return chunk2W4WODYZ_cjs.seaCloudTools; }
95
95
  });
96
96
  Object.defineProperty(exports, "seastudio", {
97
97
  enumerable: true,
98
- get: function () { return chunkESYMLBX2_cjs.seastudio; }
98
+ get: function () { return chunk2W4WODYZ_cjs.seastudio; }
99
99
  });
100
100
  Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
101
101
  enumerable: true,
102
- get: function () { return chunkESYMLBX2_cjs.shellSessionCloseEvidenceOutputSchema; }
102
+ get: function () { return chunk2W4WODYZ_cjs.shellSessionCloseEvidenceOutputSchema; }
103
103
  });
104
104
  Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
105
105
  enumerable: true,
106
- get: function () { return chunkESYMLBX2_cjs.shellSessionOpenEvidenceOutputSchema; }
106
+ get: function () { return chunk2W4WODYZ_cjs.shellSessionOpenEvidenceOutputSchema; }
107
107
  });
108
108
  Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
109
109
  enumerable: true,
110
- get: function () { return chunkESYMLBX2_cjs.shellSessionRunEvidenceOutputSchema; }
110
+ get: function () { return chunk2W4WODYZ_cjs.shellSessionRunEvidenceOutputSchema; }
111
111
  });
112
112
  Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
113
113
  enumerable: true,
114
- get: function () { return chunkESYMLBX2_cjs.shellSessionSignalEvidenceOutputSchema; }
114
+ get: function () { return chunk2W4WODYZ_cjs.shellSessionSignalEvidenceOutputSchema; }
115
115
  });
116
116
  Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
117
117
  enumerable: true,
118
- get: function () { return chunkESYMLBX2_cjs.shellSessionSnapshotEvidenceOutputSchema; }
118
+ get: function () { return chunk2W4WODYZ_cjs.shellSessionSnapshotEvidenceOutputSchema; }
119
119
  });
120
120
  Object.defineProperty(exports, "shellTools", {
121
121
  enumerable: true,
122
- get: function () { return chunkESYMLBX2_cjs.shellTools; }
122
+ get: function () { return chunk2W4WODYZ_cjs.shellTools; }
123
123
  });
124
124
  Object.defineProperty(exports, "skillTools", {
125
125
  enumerable: true,
126
- get: function () { return chunkESYMLBX2_cjs.skillTools; }
126
+ get: function () { return chunk2W4WODYZ_cjs.skillTools; }
127
127
  });
128
128
  Object.defineProperty(exports, "tools", {
129
129
  enumerable: true,
130
- get: function () { return chunkESYMLBX2_cjs.tools; }
130
+ get: function () { return chunk2W4WODYZ_cjs.tools; }
131
131
  });
@@ -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-CRW5HIAT.js';
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-BEYRWP23.js';
2
2
  import '../../chunk-TJ3CGHWJ.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seastudio/sdk",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",