@seastudio/sdk 3.7.2 → 3.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1748,6 +1748,8 @@ var SeastudioNotifications = {
1748
1748
  ROOTS_CHANGED: "roots:changed",
1749
1749
  /** 文件打开请求,可广播也可定向 */
1750
1750
  FILE_OPEN_REQUESTED: "seastudio:file-open_requested",
1751
+ /** 文件固定请求:将当前临时打开的文件实例转为固定 */
1752
+ FILE_KEEP_REQUESTED: "seastudio:file-keep_requested",
1751
1753
  /** 文件已修改通知(内容变化,未保存) */
1752
1754
  FILE_MODIFIED: "file:modified",
1753
1755
  /** 文件已保存通知 */
@@ -1746,6 +1746,8 @@ var SeastudioNotifications = {
1746
1746
  ROOTS_CHANGED: "roots:changed",
1747
1747
  /** 文件打开请求,可广播也可定向 */
1748
1748
  FILE_OPEN_REQUESTED: "seastudio:file-open_requested",
1749
+ /** 文件固定请求:将当前临时打开的文件实例转为固定 */
1750
+ FILE_KEEP_REQUESTED: "seastudio:file-keep_requested",
1749
1751
  /** 文件已修改通知(内容变化,未保存) */
1750
1752
  FILE_MODIFIED: "file:modified",
1751
1753
  /** 文件已保存通知 */
@@ -15,6 +15,7 @@ function Tab({
15
15
  onClose,
16
16
  icon,
17
17
  title,
18
+ titleClassName,
18
19
  className,
19
20
  disabled = false,
20
21
  draggable = false,
@@ -56,7 +57,7 @@ function Tab({
56
57
  }
57
58
  ),
58
59
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: icon }),
59
- title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
60
+ title && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("truncate max-w-[120px] text-sm font-normal", titleClassName), children: title }),
60
61
  onClose && /* @__PURE__ */ jsxRuntime.jsx(
61
62
  "button",
62
63
  {
@@ -1,4 +1,4 @@
1
- import { allTools } from './chunk-MUF4S4BF.js';
1
+ import { allTools } from './chunk-PV6XSOI5.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 chunkF4DUBO7S_cjs = require('./chunk-F4DUBO7S.cjs');
3
+ var chunkKWOX5T3P_cjs = require('./chunk-KWOX5T3P.cjs');
4
4
  var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
5
5
 
6
6
  // src/mcp/index.ts
@@ -11,7 +11,7 @@ async function loadPlugin(pluginName) {
11
11
  throw new Error(`Unknown plugin: ${pluginName}. \u63D2\u4EF6 MCP \u4E0D\u518D\u901A\u8FC7 SDK \u9759\u6001\u5BFC\u5165\u3002`);
12
12
  }
13
13
  var MCP_PACKAGES = [
14
- { id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools: chunkF4DUBO7S_cjs.allTools }
14
+ { id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools: chunkKWOX5T3P_cjs.allTools }
15
15
  ];
16
16
  function mcpToolToOpenAI(tool) {
17
17
  const normalizedTool = chunk3I7UM66P_cjs.normalizeMCPTool(tool);
@@ -29,7 +29,7 @@ function mcpToolToOpenAI(tool) {
29
29
  };
30
30
  }
31
31
  function listAllTools() {
32
- return [...chunkF4DUBO7S_cjs.allTools];
32
+ return [...chunkKWOX5T3P_cjs.allTools];
33
33
  }
34
34
  function toPackageName(source) {
35
35
  if (source === "seastudio") {
@@ -62,7 +62,7 @@ function normalizeAvailableTool(raw) {
62
62
  };
63
63
  }
64
64
  var MCP_TOOL_PACKAGE_INDEX = new Map(
65
- chunkF4DUBO7S_cjs.allTools.map((tool) => [tool.name, "seastudio"])
65
+ chunkKWOX5T3P_cjs.allTools.map((tool) => [tool.name, "seastudio"])
66
66
  );
67
67
  function getMCPToolPackageIndex() {
68
68
  return new Map(MCP_TOOL_PACKAGE_INDEX);
@@ -13,6 +13,7 @@ function Tab({
13
13
  onClose,
14
14
  icon,
15
15
  title,
16
+ titleClassName,
16
17
  className,
17
18
  disabled = false,
18
19
  draggable = false,
@@ -54,7 +55,7 @@ function Tab({
54
55
  }
55
56
  ),
56
57
  icon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: icon }),
57
- title && /* @__PURE__ */ jsx("span", { className: "truncate max-w-[120px] text-sm font-normal", children: title }),
58
+ title && /* @__PURE__ */ jsx("span", { className: cn("truncate max-w-[120px] text-sm font-normal", titleClassName), children: title }),
58
59
  onClose && /* @__PURE__ */ jsx(
59
60
  "button",
60
61
  {
package/dist/index.cjs CHANGED
@@ -1,151 +1,151 @@
1
1
  'use strict';
2
2
 
3
- var chunkYJJDS46Z_cjs = require('./chunk-YJJDS46Z.cjs');
4
- var chunkUZ6SEVW3_cjs = require('./chunk-UZ6SEVW3.cjs');
5
- var chunkF4DUBO7S_cjs = require('./chunk-F4DUBO7S.cjs');
3
+ var chunkTTHMG5IA_cjs = require('./chunk-TTHMG5IA.cjs');
4
+ var chunkTKROLSLX_cjs = require('./chunk-TKROLSLX.cjs');
5
+ var chunkKWOX5T3P_cjs = require('./chunk-KWOX5T3P.cjs');
6
6
  var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "MCP_PACKAGES", {
11
11
  enumerable: true,
12
- get: function () { return chunkYJJDS46Z_cjs.MCP_PACKAGES; }
12
+ get: function () { return chunkTTHMG5IA_cjs.MCP_PACKAGES; }
13
13
  });
14
14
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
15
15
  enumerable: true,
16
- get: function () { return chunkYJJDS46Z_cjs.getMCPPackageIdForTool; }
16
+ get: function () { return chunkTTHMG5IA_cjs.getMCPPackageIdForTool; }
17
17
  });
18
18
  Object.defineProperty(exports, "getMCPPackages", {
19
19
  enumerable: true,
20
- get: function () { return chunkYJJDS46Z_cjs.getMCPPackages; }
20
+ get: function () { return chunkTTHMG5IA_cjs.getMCPPackages; }
21
21
  });
22
22
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
23
23
  enumerable: true,
24
- get: function () { return chunkYJJDS46Z_cjs.getMCPToolPackageIndex; }
24
+ get: function () { return chunkTTHMG5IA_cjs.getMCPToolPackageIndex; }
25
25
  });
26
26
  Object.defineProperty(exports, "getToolsForLLM", {
27
27
  enumerable: true,
28
- get: function () { return chunkYJJDS46Z_cjs.getToolsForLLM; }
28
+ get: function () { return chunkTTHMG5IA_cjs.getToolsForLLM; }
29
29
  });
30
30
  Object.defineProperty(exports, "listAllTools", {
31
31
  enumerable: true,
32
- get: function () { return chunkYJJDS46Z_cjs.listAllTools; }
32
+ get: function () { return chunkTTHMG5IA_cjs.listAllTools; }
33
33
  });
34
34
  Object.defineProperty(exports, "listAvailableTools", {
35
35
  enumerable: true,
36
- get: function () { return chunkYJJDS46Z_cjs.listAvailableTools; }
36
+ get: function () { return chunkTTHMG5IA_cjs.listAvailableTools; }
37
37
  });
38
38
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
39
39
  enumerable: true,
40
- get: function () { return chunkYJJDS46Z_cjs.listAvailableToolsForLLM; }
40
+ get: function () { return chunkTTHMG5IA_cjs.listAvailableToolsForLLM; }
41
41
  });
42
42
  Object.defineProperty(exports, "loadPlugin", {
43
43
  enumerable: true,
44
- get: function () { return chunkYJJDS46Z_cjs.loadPlugin; }
44
+ get: function () { return chunkTTHMG5IA_cjs.loadPlugin; }
45
45
  });
46
46
  Object.defineProperty(exports, "mcpToolToOpenAI", {
47
47
  enumerable: true,
48
- get: function () { return chunkYJJDS46Z_cjs.mcpToolToOpenAI; }
48
+ get: function () { return chunkTTHMG5IA_cjs.mcpToolToOpenAI; }
49
49
  });
50
50
  Object.defineProperty(exports, "DialogBody", {
51
51
  enumerable: true,
52
- get: function () { return chunkUZ6SEVW3_cjs.DialogBody; }
52
+ get: function () { return chunkTKROLSLX_cjs.DialogBody; }
53
53
  });
54
54
  Object.defineProperty(exports, "DialogButton", {
55
55
  enumerable: true,
56
- get: function () { return chunkUZ6SEVW3_cjs.DialogButton; }
56
+ get: function () { return chunkTKROLSLX_cjs.DialogButton; }
57
57
  });
58
58
  Object.defineProperty(exports, "DialogContainer", {
59
59
  enumerable: true,
60
- get: function () { return chunkUZ6SEVW3_cjs.DialogContainer; }
60
+ get: function () { return chunkTKROLSLX_cjs.DialogContainer; }
61
61
  });
62
62
  Object.defineProperty(exports, "DialogFooter", {
63
63
  enumerable: true,
64
- get: function () { return chunkUZ6SEVW3_cjs.DialogFooter; }
64
+ get: function () { return chunkTKROLSLX_cjs.DialogFooter; }
65
65
  });
66
66
  Object.defineProperty(exports, "DialogHeader", {
67
67
  enumerable: true,
68
- get: function () { return chunkUZ6SEVW3_cjs.DialogHeader; }
68
+ get: function () { return chunkTKROLSLX_cjs.DialogHeader; }
69
69
  });
70
70
  Object.defineProperty(exports, "DialogOverlay", {
71
71
  enumerable: true,
72
- get: function () { return chunkUZ6SEVW3_cjs.DialogOverlay; }
72
+ get: function () { return chunkTKROLSLX_cjs.DialogOverlay; }
73
73
  });
74
74
  Object.defineProperty(exports, "MenuContainer", {
75
75
  enumerable: true,
76
- get: function () { return chunkUZ6SEVW3_cjs.MenuContainer; }
76
+ get: function () { return chunkTKROLSLX_cjs.MenuContainer; }
77
77
  });
78
78
  Object.defineProperty(exports, "MenuEmpty", {
79
79
  enumerable: true,
80
- get: function () { return chunkUZ6SEVW3_cjs.MenuEmpty; }
80
+ get: function () { return chunkTKROLSLX_cjs.MenuEmpty; }
81
81
  });
82
82
  Object.defineProperty(exports, "MenuItem", {
83
83
  enumerable: true,
84
- get: function () { return chunkUZ6SEVW3_cjs.MenuItem; }
84
+ get: function () { return chunkTKROLSLX_cjs.MenuItem; }
85
85
  });
86
86
  Object.defineProperty(exports, "MenuSeparator", {
87
87
  enumerable: true,
88
- get: function () { return chunkUZ6SEVW3_cjs.MenuSeparator; }
88
+ get: function () { return chunkTKROLSLX_cjs.MenuSeparator; }
89
89
  });
90
90
  Object.defineProperty(exports, "Tab", {
91
91
  enumerable: true,
92
- get: function () { return chunkUZ6SEVW3_cjs.Tab; }
92
+ get: function () { return chunkTKROLSLX_cjs.Tab; }
93
93
  });
94
94
  Object.defineProperty(exports, "cn", {
95
95
  enumerable: true,
96
- get: function () { return chunkUZ6SEVW3_cjs.cn; }
96
+ get: function () { return chunkTKROLSLX_cjs.cn; }
97
97
  });
98
98
  Object.defineProperty(exports, "showHostContextMenu", {
99
99
  enumerable: true,
100
- get: function () { return chunkUZ6SEVW3_cjs.showHostContextMenu; }
100
+ get: function () { return chunkTKROLSLX_cjs.showHostContextMenu; }
101
101
  });
102
102
  Object.defineProperty(exports, "SeastudioNotifications", {
103
103
  enumerable: true,
104
- get: function () { return chunkF4DUBO7S_cjs.SeastudioNotifications; }
104
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioNotifications; }
105
105
  });
106
106
  Object.defineProperty(exports, "SeastudioRequests", {
107
107
  enumerable: true,
108
- get: function () { return chunkF4DUBO7S_cjs.SeastudioRequests; }
108
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
109
109
  });
110
110
  Object.defineProperty(exports, "agentManagementTools", {
111
111
  enumerable: true,
112
- get: function () { return chunkF4DUBO7S_cjs.agentManagementTools; }
112
+ get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
113
113
  });
114
114
  Object.defineProperty(exports, "agentTabTools", {
115
115
  enumerable: true,
116
- get: function () { return chunkF4DUBO7S_cjs.agentTabTools; }
116
+ get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
117
117
  });
118
118
  Object.defineProperty(exports, "fileTools", {
119
119
  enumerable: true,
120
- get: function () { return chunkF4DUBO7S_cjs.fileTools; }
120
+ get: function () { return chunkKWOX5T3P_cjs.fileTools; }
121
121
  });
122
122
  Object.defineProperty(exports, "pluginManagementTools", {
123
123
  enumerable: true,
124
- get: function () { return chunkF4DUBO7S_cjs.pluginManagementTools; }
124
+ get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
125
125
  });
126
126
  Object.defineProperty(exports, "pluginTabTools", {
127
127
  enumerable: true,
128
- get: function () { return chunkF4DUBO7S_cjs.pluginTabTools; }
128
+ get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
129
129
  });
130
130
  Object.defineProperty(exports, "seaCloudTools", {
131
131
  enumerable: true,
132
- get: function () { return chunkF4DUBO7S_cjs.seaCloudTools; }
132
+ get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
133
133
  });
134
134
  Object.defineProperty(exports, "seastudio", {
135
135
  enumerable: true,
136
- get: function () { return chunkF4DUBO7S_cjs.seastudio; }
136
+ get: function () { return chunkKWOX5T3P_cjs.seastudio; }
137
137
  });
138
138
  Object.defineProperty(exports, "seastudioAllTools", {
139
139
  enumerable: true,
140
- get: function () { return chunkF4DUBO7S_cjs.allTools; }
140
+ get: function () { return chunkKWOX5T3P_cjs.allTools; }
141
141
  });
142
142
  Object.defineProperty(exports, "seastudioTools", {
143
143
  enumerable: true,
144
- get: function () { return chunkF4DUBO7S_cjs.tools; }
144
+ get: function () { return chunkKWOX5T3P_cjs.tools; }
145
145
  });
146
146
  Object.defineProperty(exports, "shellTools", {
147
147
  enumerable: true,
148
- get: function () { return chunkF4DUBO7S_cjs.shellTools; }
148
+ get: function () { return chunkKWOX5T3P_cjs.shellTools; }
149
149
  });
150
150
  Object.defineProperty(exports, "MCPClient", {
151
151
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.cjs';
2
2
  export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.cjs';
3
3
  export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from './types-D7xY0bt6.cjs';
4
- export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.cjs';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.cjs';
5
5
  export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './mcp/core/index.cjs';
6
6
  import 'react';
7
7
  import 'clsx';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.js';
2
2
  export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.js';
3
3
  export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from './types-D7xY0bt6.js';
4
- export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.js';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.js';
5
5
  export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './mcp/core/index.js';
6
6
  import 'react';
7
7
  import 'clsx';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-XH5RBIDC.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-MUF4S4BF.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-TNBCJUAY.js';
2
+ export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-UZWEOUCK.js';
3
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-PV6XSOI5.js';
4
4
  export { MCPClient, MCPServer, PostMessageTransport, callHostTool, callHostToolText, createMCPClient, createMCPServer, createNotification, createRequest, createResponse, getDefaultClient, getDefaultServer, getDefaultTransport, isMCPMessage, isNotification, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './chunk-TJ3CGHWJ.js';
@@ -1,98 +1,98 @@
1
1
  'use strict';
2
2
 
3
- var chunkYJJDS46Z_cjs = require('../chunk-YJJDS46Z.cjs');
4
- var chunkF4DUBO7S_cjs = require('../chunk-F4DUBO7S.cjs');
3
+ var chunkTTHMG5IA_cjs = require('../chunk-TTHMG5IA.cjs');
4
+ var chunkKWOX5T3P_cjs = require('../chunk-KWOX5T3P.cjs');
5
5
  var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "MCP_PACKAGES", {
10
10
  enumerable: true,
11
- get: function () { return chunkYJJDS46Z_cjs.MCP_PACKAGES; }
11
+ get: function () { return chunkTTHMG5IA_cjs.MCP_PACKAGES; }
12
12
  });
13
13
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
14
14
  enumerable: true,
15
- get: function () { return chunkYJJDS46Z_cjs.getMCPPackageIdForTool; }
15
+ get: function () { return chunkTTHMG5IA_cjs.getMCPPackageIdForTool; }
16
16
  });
17
17
  Object.defineProperty(exports, "getMCPPackages", {
18
18
  enumerable: true,
19
- get: function () { return chunkYJJDS46Z_cjs.getMCPPackages; }
19
+ get: function () { return chunkTTHMG5IA_cjs.getMCPPackages; }
20
20
  });
21
21
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
22
22
  enumerable: true,
23
- get: function () { return chunkYJJDS46Z_cjs.getMCPToolPackageIndex; }
23
+ get: function () { return chunkTTHMG5IA_cjs.getMCPToolPackageIndex; }
24
24
  });
25
25
  Object.defineProperty(exports, "getToolsForLLM", {
26
26
  enumerable: true,
27
- get: function () { return chunkYJJDS46Z_cjs.getToolsForLLM; }
27
+ get: function () { return chunkTTHMG5IA_cjs.getToolsForLLM; }
28
28
  });
29
29
  Object.defineProperty(exports, "listAllTools", {
30
30
  enumerable: true,
31
- get: function () { return chunkYJJDS46Z_cjs.listAllTools; }
31
+ get: function () { return chunkTTHMG5IA_cjs.listAllTools; }
32
32
  });
33
33
  Object.defineProperty(exports, "listAvailableTools", {
34
34
  enumerable: true,
35
- get: function () { return chunkYJJDS46Z_cjs.listAvailableTools; }
35
+ get: function () { return chunkTTHMG5IA_cjs.listAvailableTools; }
36
36
  });
37
37
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
38
38
  enumerable: true,
39
- get: function () { return chunkYJJDS46Z_cjs.listAvailableToolsForLLM; }
39
+ get: function () { return chunkTTHMG5IA_cjs.listAvailableToolsForLLM; }
40
40
  });
41
41
  Object.defineProperty(exports, "loadPlugin", {
42
42
  enumerable: true,
43
- get: function () { return chunkYJJDS46Z_cjs.loadPlugin; }
43
+ get: function () { return chunkTTHMG5IA_cjs.loadPlugin; }
44
44
  });
45
45
  Object.defineProperty(exports, "mcpToolToOpenAI", {
46
46
  enumerable: true,
47
- get: function () { return chunkYJJDS46Z_cjs.mcpToolToOpenAI; }
47
+ get: function () { return chunkTTHMG5IA_cjs.mcpToolToOpenAI; }
48
48
  });
49
49
  Object.defineProperty(exports, "SeastudioNotifications", {
50
50
  enumerable: true,
51
- get: function () { return chunkF4DUBO7S_cjs.SeastudioNotifications; }
51
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioNotifications; }
52
52
  });
53
53
  Object.defineProperty(exports, "SeastudioRequests", {
54
54
  enumerable: true,
55
- get: function () { return chunkF4DUBO7S_cjs.SeastudioRequests; }
55
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
56
56
  });
57
57
  Object.defineProperty(exports, "agentManagementTools", {
58
58
  enumerable: true,
59
- get: function () { return chunkF4DUBO7S_cjs.agentManagementTools; }
59
+ get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
60
60
  });
61
61
  Object.defineProperty(exports, "agentTabTools", {
62
62
  enumerable: true,
63
- get: function () { return chunkF4DUBO7S_cjs.agentTabTools; }
63
+ get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
64
64
  });
65
65
  Object.defineProperty(exports, "fileTools", {
66
66
  enumerable: true,
67
- get: function () { return chunkF4DUBO7S_cjs.fileTools; }
67
+ get: function () { return chunkKWOX5T3P_cjs.fileTools; }
68
68
  });
69
69
  Object.defineProperty(exports, "pluginManagementTools", {
70
70
  enumerable: true,
71
- get: function () { return chunkF4DUBO7S_cjs.pluginManagementTools; }
71
+ get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
72
72
  });
73
73
  Object.defineProperty(exports, "pluginTabTools", {
74
74
  enumerable: true,
75
- get: function () { return chunkF4DUBO7S_cjs.pluginTabTools; }
75
+ get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
76
76
  });
77
77
  Object.defineProperty(exports, "seaCloudTools", {
78
78
  enumerable: true,
79
- get: function () { return chunkF4DUBO7S_cjs.seaCloudTools; }
79
+ get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
80
80
  });
81
81
  Object.defineProperty(exports, "seastudio", {
82
82
  enumerable: true,
83
- get: function () { return chunkF4DUBO7S_cjs.seastudio; }
83
+ get: function () { return chunkKWOX5T3P_cjs.seastudio; }
84
84
  });
85
85
  Object.defineProperty(exports, "seastudioAllTools", {
86
86
  enumerable: true,
87
- get: function () { return chunkF4DUBO7S_cjs.allTools; }
87
+ get: function () { return chunkKWOX5T3P_cjs.allTools; }
88
88
  });
89
89
  Object.defineProperty(exports, "seastudioTools", {
90
90
  enumerable: true,
91
- get: function () { return chunkF4DUBO7S_cjs.tools; }
91
+ get: function () { return chunkKWOX5T3P_cjs.tools; }
92
92
  });
93
93
  Object.defineProperty(exports, "shellTools", {
94
94
  enumerable: true,
95
- get: function () { return chunkF4DUBO7S_cjs.shellTools; }
95
+ get: function () { return chunkKWOX5T3P_cjs.shellTools; }
96
96
  });
97
97
  Object.defineProperty(exports, "MCPClient", {
98
98
  enumerable: true,
@@ -1,7 +1,7 @@
1
1
  import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.cjs';
2
2
  export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-D7xY0bt6.cjs';
3
3
  export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.cjs';
4
- export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
5
5
 
6
6
  /**
7
7
  * MCP Module Entry
@@ -1,7 +1,7 @@
1
1
  import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.js';
2
2
  export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-D7xY0bt6.js';
3
3
  export { MCPClient, MCPClientOptions, MCPRequestOptions, MCPServer, MCPToolCallOptions, MCPToolHandler, MCPTransport, NormalizeMCPToolInputSchemaOptions, PostMessageTransport, PostMessageTransportOptions, callHostTool, callHostToolText, createMCPClient, createMCPServer, getDefaultClient, getDefaultServer, getDefaultTransport, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from './core/index.js';
4
- export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
5
5
 
6
6
  /**
7
7
  * MCP Module Entry
package/dist/mcp/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-XH5RBIDC.js';
2
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-MUF4S4BF.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-TNBCJUAY.js';
2
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-PV6XSOI5.js';
3
3
  export { MCPClient, MCPServer, PostMessageTransport, callHostTool, callHostToolText, createMCPClient, createMCPServer, createNotification, createRequest, createResponse, getDefaultClient, getDefaultServer, getDefaultTransport, isMCPMessage, isNotification, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from '../chunk-TJ3CGHWJ.js';
@@ -1,131 +1,131 @@
1
1
  'use strict';
2
2
 
3
- var chunkF4DUBO7S_cjs = require('../../chunk-F4DUBO7S.cjs');
3
+ var chunkKWOX5T3P_cjs = require('../../chunk-KWOX5T3P.cjs');
4
4
  require('../../chunk-3I7UM66P.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "SeastudioNotifications", {
9
9
  enumerable: true,
10
- get: function () { return chunkF4DUBO7S_cjs.SeastudioNotifications; }
10
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioNotifications; }
11
11
  });
12
12
  Object.defineProperty(exports, "SeastudioRequests", {
13
13
  enumerable: true,
14
- get: function () { return chunkF4DUBO7S_cjs.SeastudioRequests; }
14
+ get: function () { return chunkKWOX5T3P_cjs.SeastudioRequests; }
15
15
  });
16
16
  Object.defineProperty(exports, "agentManagementTools", {
17
17
  enumerable: true,
18
- get: function () { return chunkF4DUBO7S_cjs.agentManagementTools; }
18
+ get: function () { return chunkKWOX5T3P_cjs.agentManagementTools; }
19
19
  });
20
20
  Object.defineProperty(exports, "agentTabTools", {
21
21
  enumerable: true,
22
- get: function () { return chunkF4DUBO7S_cjs.agentTabTools; }
22
+ get: function () { return chunkKWOX5T3P_cjs.agentTabTools; }
23
23
  });
24
24
  Object.defineProperty(exports, "allTools", {
25
25
  enumerable: true,
26
- get: function () { return chunkF4DUBO7S_cjs.allTools; }
26
+ get: function () { return chunkKWOX5T3P_cjs.allTools; }
27
27
  });
28
28
  Object.defineProperty(exports, "annotateTool", {
29
29
  enumerable: true,
30
- get: function () { return chunkF4DUBO7S_cjs.annotateTool; }
30
+ get: function () { return chunkKWOX5T3P_cjs.annotateTool; }
31
31
  });
32
32
  Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
33
33
  enumerable: true,
34
- get: function () { return chunkF4DUBO7S_cjs.batchFlattenCopyEvidenceOutputSchema; }
34
+ get: function () { return chunkKWOX5T3P_cjs.batchFlattenCopyEvidenceOutputSchema; }
35
35
  });
36
36
  Object.defineProperty(exports, "browserRuntimeTools", {
37
37
  enumerable: true,
38
- get: function () { return chunkF4DUBO7S_cjs.browserRuntimeTools; }
38
+ get: function () { return chunkKWOX5T3P_cjs.browserRuntimeTools; }
39
39
  });
40
40
  Object.defineProperty(exports, "callTool", {
41
41
  enumerable: true,
42
- get: function () { return chunkF4DUBO7S_cjs.callTool; }
42
+ get: function () { return chunkKWOX5T3P_cjs.callTool; }
43
43
  });
44
44
  Object.defineProperty(exports, "callToolText", {
45
45
  enumerable: true,
46
- get: function () { return chunkF4DUBO7S_cjs.callToolText; }
46
+ get: function () { return chunkKWOX5T3P_cjs.callToolText; }
47
47
  });
48
48
  Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
49
49
  enumerable: true,
50
- get: function () { return chunkF4DUBO7S_cjs.dualPathEvidenceOutputSchema; }
50
+ get: function () { return chunkKWOX5T3P_cjs.dualPathEvidenceOutputSchema; }
51
51
  });
52
52
  Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkF4DUBO7S_cjs.fileDownloadEvidenceOutputSchema; }
54
+ get: function () { return chunkKWOX5T3P_cjs.fileDownloadEvidenceOutputSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "fileTools", {
57
57
  enumerable: true,
58
- get: function () { return chunkF4DUBO7S_cjs.fileTools; }
58
+ get: function () { return chunkKWOX5T3P_cjs.fileTools; }
59
59
  });
60
60
  Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkF4DUBO7S_cjs.fileUrlEvidenceOutputSchema; }
62
+ get: function () { return chunkKWOX5T3P_cjs.fileUrlEvidenceOutputSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "pluginManagementTools", {
65
65
  enumerable: true,
66
- get: function () { return chunkF4DUBO7S_cjs.pluginManagementTools; }
66
+ get: function () { return chunkKWOX5T3P_cjs.pluginManagementTools; }
67
67
  });
68
68
  Object.defineProperty(exports, "pluginTabTools", {
69
69
  enumerable: true,
70
- get: function () { return chunkF4DUBO7S_cjs.pluginTabTools; }
70
+ get: function () { return chunkKWOX5T3P_cjs.pluginTabTools; }
71
71
  });
72
72
  Object.defineProperty(exports, "projectTools", {
73
73
  enumerable: true,
74
- get: function () { return chunkF4DUBO7S_cjs.projectTools; }
74
+ get: function () { return chunkKWOX5T3P_cjs.projectTools; }
75
75
  });
76
76
  Object.defineProperty(exports, "request", {
77
77
  enumerable: true,
78
- get: function () { return chunkF4DUBO7S_cjs.request; }
78
+ get: function () { return chunkKWOX5T3P_cjs.request; }
79
79
  });
80
80
  Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
81
81
  enumerable: true,
82
- get: function () { return chunkF4DUBO7S_cjs.rootedPathEvidenceOutputSchema; }
82
+ get: function () { return chunkKWOX5T3P_cjs.rootedPathEvidenceOutputSchema; }
83
83
  });
84
84
  Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
85
85
  enumerable: true,
86
- get: function () { return chunkF4DUBO7S_cjs.rootedWriteEvidenceOutputSchema; }
86
+ get: function () { return chunkKWOX5T3P_cjs.rootedWriteEvidenceOutputSchema; }
87
87
  });
88
88
  Object.defineProperty(exports, "runOneShotShellCommand", {
89
89
  enumerable: true,
90
- get: function () { return chunkF4DUBO7S_cjs.runOneShotShellCommand; }
90
+ get: function () { return chunkKWOX5T3P_cjs.runOneShotShellCommand; }
91
91
  });
92
92
  Object.defineProperty(exports, "seaCloudTools", {
93
93
  enumerable: true,
94
- get: function () { return chunkF4DUBO7S_cjs.seaCloudTools; }
94
+ get: function () { return chunkKWOX5T3P_cjs.seaCloudTools; }
95
95
  });
96
96
  Object.defineProperty(exports, "seastudio", {
97
97
  enumerable: true,
98
- get: function () { return chunkF4DUBO7S_cjs.seastudio; }
98
+ get: function () { return chunkKWOX5T3P_cjs.seastudio; }
99
99
  });
100
100
  Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
101
101
  enumerable: true,
102
- get: function () { return chunkF4DUBO7S_cjs.shellSessionCloseEvidenceOutputSchema; }
102
+ get: function () { return chunkKWOX5T3P_cjs.shellSessionCloseEvidenceOutputSchema; }
103
103
  });
104
104
  Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
105
105
  enumerable: true,
106
- get: function () { return chunkF4DUBO7S_cjs.shellSessionOpenEvidenceOutputSchema; }
106
+ get: function () { return chunkKWOX5T3P_cjs.shellSessionOpenEvidenceOutputSchema; }
107
107
  });
108
108
  Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
109
109
  enumerable: true,
110
- get: function () { return chunkF4DUBO7S_cjs.shellSessionRunEvidenceOutputSchema; }
110
+ get: function () { return chunkKWOX5T3P_cjs.shellSessionRunEvidenceOutputSchema; }
111
111
  });
112
112
  Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
113
113
  enumerable: true,
114
- get: function () { return chunkF4DUBO7S_cjs.shellSessionSignalEvidenceOutputSchema; }
114
+ get: function () { return chunkKWOX5T3P_cjs.shellSessionSignalEvidenceOutputSchema; }
115
115
  });
116
116
  Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
117
117
  enumerable: true,
118
- get: function () { return chunkF4DUBO7S_cjs.shellSessionSnapshotEvidenceOutputSchema; }
118
+ get: function () { return chunkKWOX5T3P_cjs.shellSessionSnapshotEvidenceOutputSchema; }
119
119
  });
120
120
  Object.defineProperty(exports, "shellTools", {
121
121
  enumerable: true,
122
- get: function () { return chunkF4DUBO7S_cjs.shellTools; }
122
+ get: function () { return chunkKWOX5T3P_cjs.shellTools; }
123
123
  });
124
124
  Object.defineProperty(exports, "skillTools", {
125
125
  enumerable: true,
126
- get: function () { return chunkF4DUBO7S_cjs.skillTools; }
126
+ get: function () { return chunkKWOX5T3P_cjs.skillTools; }
127
127
  });
128
128
  Object.defineProperty(exports, "tools", {
129
129
  enumerable: true,
130
- get: function () { return chunkF4DUBO7S_cjs.tools; }
130
+ get: function () { return chunkKWOX5T3P_cjs.tools; }
131
131
  });
@@ -471,6 +471,8 @@ declare const SeastudioNotifications: {
471
471
  readonly ROOTS_CHANGED: "roots:changed";
472
472
  /** 文件打开请求,可广播也可定向 */
473
473
  readonly FILE_OPEN_REQUESTED: "seastudio:file-open_requested";
474
+ /** 文件固定请求:将当前临时打开的文件实例转为固定 */
475
+ readonly FILE_KEEP_REQUESTED: "seastudio:file-keep_requested";
474
476
  /** 文件已修改通知(内容变化,未保存) */
475
477
  readonly FILE_MODIFIED: "file:modified";
476
478
  /** 文件已保存通知 */
@@ -603,6 +605,8 @@ interface FileTransferRequestedParams {
603
605
  }
604
606
  interface FileOpenRequestedParams extends FileTransferRequestedParams {
605
607
  }
608
+ interface FileKeepRequestedParams extends FileTransferRequestedParams {
609
+ }
606
610
  interface FileSendRequestedParams extends FileTransferRequestedParams {
607
611
  }
608
612
  interface FileSelectedParams {
@@ -698,6 +702,12 @@ interface PluginTabTitleChangedParams {
698
702
  openPath?: string | null;
699
703
  /** 当前实例承载的文件根;null 表示实例已空闲 */
700
704
  openRootId?: SeastudioRootId | null;
705
+ /** 当前实例是否只是临时预览打开,未占用单文件实例 */
706
+ isTemporary?: boolean | null;
707
+ /** 当前临时预览的文件路径;null 表示无临时目标 */
708
+ temporaryOpenPath?: string | null;
709
+ /** 当前临时预览的文件根;null 表示无临时目标 */
710
+ temporaryOpenRootId?: SeastudioRootId | null;
701
711
  }
702
712
  /** 各 session 通知的公共字段 */
703
713
  interface SessionNotificationBase {
@@ -799,4 +809,4 @@ interface SessionDeleteRequestedParams {
799
809
  declare const allTools: MCPTool[];
800
810
  declare const tools: MCPTool[];
801
811
 
802
- export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
812
+ export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
@@ -471,6 +471,8 @@ declare const SeastudioNotifications: {
471
471
  readonly ROOTS_CHANGED: "roots:changed";
472
472
  /** 文件打开请求,可广播也可定向 */
473
473
  readonly FILE_OPEN_REQUESTED: "seastudio:file-open_requested";
474
+ /** 文件固定请求:将当前临时打开的文件实例转为固定 */
475
+ readonly FILE_KEEP_REQUESTED: "seastudio:file-keep_requested";
474
476
  /** 文件已修改通知(内容变化,未保存) */
475
477
  readonly FILE_MODIFIED: "file:modified";
476
478
  /** 文件已保存通知 */
@@ -603,6 +605,8 @@ interface FileTransferRequestedParams {
603
605
  }
604
606
  interface FileOpenRequestedParams extends FileTransferRequestedParams {
605
607
  }
608
+ interface FileKeepRequestedParams extends FileTransferRequestedParams {
609
+ }
606
610
  interface FileSendRequestedParams extends FileTransferRequestedParams {
607
611
  }
608
612
  interface FileSelectedParams {
@@ -698,6 +702,12 @@ interface PluginTabTitleChangedParams {
698
702
  openPath?: string | null;
699
703
  /** 当前实例承载的文件根;null 表示实例已空闲 */
700
704
  openRootId?: SeastudioRootId | null;
705
+ /** 当前实例是否只是临时预览打开,未占用单文件实例 */
706
+ isTemporary?: boolean | null;
707
+ /** 当前临时预览的文件路径;null 表示无临时目标 */
708
+ temporaryOpenPath?: string | null;
709
+ /** 当前临时预览的文件根;null 表示无临时目标 */
710
+ temporaryOpenRootId?: SeastudioRootId | null;
701
711
  }
702
712
  /** 各 session 通知的公共字段 */
703
713
  interface SessionNotificationBase {
@@ -799,4 +809,4 @@ interface SessionDeleteRequestedParams {
799
809
  declare const allTools: MCPTool[];
800
810
  declare const tools: MCPTool[];
801
811
 
802
- export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
812
+ export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
@@ -1,2 +1,2 @@
1
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-MUF4S4BF.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-PV6XSOI5.js';
2
2
  import '../../chunk-TJ3CGHWJ.js';
package/dist/ui/index.cjs CHANGED
@@ -1,58 +1,58 @@
1
1
  'use strict';
2
2
 
3
- var chunkUZ6SEVW3_cjs = require('../chunk-UZ6SEVW3.cjs');
3
+ var chunkTKROLSLX_cjs = require('../chunk-TKROLSLX.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DialogBody", {
8
8
  enumerable: true,
9
- get: function () { return chunkUZ6SEVW3_cjs.DialogBody; }
9
+ get: function () { return chunkTKROLSLX_cjs.DialogBody; }
10
10
  });
11
11
  Object.defineProperty(exports, "DialogButton", {
12
12
  enumerable: true,
13
- get: function () { return chunkUZ6SEVW3_cjs.DialogButton; }
13
+ get: function () { return chunkTKROLSLX_cjs.DialogButton; }
14
14
  });
15
15
  Object.defineProperty(exports, "DialogContainer", {
16
16
  enumerable: true,
17
- get: function () { return chunkUZ6SEVW3_cjs.DialogContainer; }
17
+ get: function () { return chunkTKROLSLX_cjs.DialogContainer; }
18
18
  });
19
19
  Object.defineProperty(exports, "DialogFooter", {
20
20
  enumerable: true,
21
- get: function () { return chunkUZ6SEVW3_cjs.DialogFooter; }
21
+ get: function () { return chunkTKROLSLX_cjs.DialogFooter; }
22
22
  });
23
23
  Object.defineProperty(exports, "DialogHeader", {
24
24
  enumerable: true,
25
- get: function () { return chunkUZ6SEVW3_cjs.DialogHeader; }
25
+ get: function () { return chunkTKROLSLX_cjs.DialogHeader; }
26
26
  });
27
27
  Object.defineProperty(exports, "DialogOverlay", {
28
28
  enumerable: true,
29
- get: function () { return chunkUZ6SEVW3_cjs.DialogOverlay; }
29
+ get: function () { return chunkTKROLSLX_cjs.DialogOverlay; }
30
30
  });
31
31
  Object.defineProperty(exports, "MenuContainer", {
32
32
  enumerable: true,
33
- get: function () { return chunkUZ6SEVW3_cjs.MenuContainer; }
33
+ get: function () { return chunkTKROLSLX_cjs.MenuContainer; }
34
34
  });
35
35
  Object.defineProperty(exports, "MenuEmpty", {
36
36
  enumerable: true,
37
- get: function () { return chunkUZ6SEVW3_cjs.MenuEmpty; }
37
+ get: function () { return chunkTKROLSLX_cjs.MenuEmpty; }
38
38
  });
39
39
  Object.defineProperty(exports, "MenuItem", {
40
40
  enumerable: true,
41
- get: function () { return chunkUZ6SEVW3_cjs.MenuItem; }
41
+ get: function () { return chunkTKROLSLX_cjs.MenuItem; }
42
42
  });
43
43
  Object.defineProperty(exports, "MenuSeparator", {
44
44
  enumerable: true,
45
- get: function () { return chunkUZ6SEVW3_cjs.MenuSeparator; }
45
+ get: function () { return chunkTKROLSLX_cjs.MenuSeparator; }
46
46
  });
47
47
  Object.defineProperty(exports, "Tab", {
48
48
  enumerable: true,
49
- get: function () { return chunkUZ6SEVW3_cjs.Tab; }
49
+ get: function () { return chunkTKROLSLX_cjs.Tab; }
50
50
  });
51
51
  Object.defineProperty(exports, "cn", {
52
52
  enumerable: true,
53
- get: function () { return chunkUZ6SEVW3_cjs.cn; }
53
+ get: function () { return chunkTKROLSLX_cjs.cn; }
54
54
  });
55
55
  Object.defineProperty(exports, "showHostContextMenu", {
56
56
  enumerable: true,
57
- get: function () { return chunkUZ6SEVW3_cjs.showHostContextMenu; }
57
+ get: function () { return chunkTKROLSLX_cjs.showHostContextMenu; }
58
58
  });
@@ -13,6 +13,7 @@ interface TabProps {
13
13
  onClose?: () => void;
14
14
  icon?: React.ReactNode;
15
15
  title?: string;
16
+ titleClassName?: string;
16
17
  className?: string;
17
18
  disabled?: boolean;
18
19
  draggable?: boolean;
@@ -22,7 +23,7 @@ interface TabProps {
22
23
  onDrop?: React.DragEventHandler<HTMLDivElement>;
23
24
  onDragEnd?: React.DragEventHandler<HTMLDivElement>;
24
25
  }
25
- declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
26
+ declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
26
27
 
27
28
  /**
28
29
  * Menu - 统一菜单组件
@@ -13,6 +13,7 @@ interface TabProps {
13
13
  onClose?: () => void;
14
14
  icon?: React.ReactNode;
15
15
  title?: string;
16
+ titleClassName?: string;
16
17
  className?: string;
17
18
  disabled?: boolean;
18
19
  draggable?: boolean;
@@ -22,7 +23,7 @@ interface TabProps {
22
23
  onDrop?: React.DragEventHandler<HTMLDivElement>;
23
24
  onDragEnd?: React.DragEventHandler<HTMLDivElement>;
24
25
  }
25
- declare function Tab({ isActive, onClick, onClose, icon, title, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
26
+ declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
26
27
 
27
28
  /**
28
29
  * Menu - 统一菜单组件
package/dist/ui/index.js CHANGED
@@ -1 +1 @@
1
- export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-XWORXNCU.js';
1
+ export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-UZWEOUCK.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seastudio/sdk",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",