@seastudio/sdk 4.0.13 → 4.0.15

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.
@@ -1245,6 +1245,16 @@ var SeastudioNotifications = {
1245
1245
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
1246
1246
  */
1247
1247
  SESSION_DELETE_REQUESTED: "session:delete_requested",
1248
+ /**
1249
+ * Agent 请求宿主重命名某条对话会话(例如 Agent 标题栏右键菜单)。
1250
+ * 无 title 时宿主打开与侧栏一致的重命名对话框;有 title 时直接应用。
1251
+ */
1252
+ SESSION_RENAME_REQUESTED: "session:rename_requested",
1253
+ /**
1254
+ * Agent 请求宿主归档某条对话会话(例如 Agent 标题栏右键菜单)。
1255
+ * 归档只影响宿主侧会话列表,不删除 Agent 后端 thread。
1256
+ */
1257
+ SESSION_ARCHIVE_REQUESTED: "session:archive_requested",
1248
1258
  /** SeaStudio 主窗口前后台变化(blur/focus)。
1249
1259
  * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
1250
1260
  */
@@ -1247,6 +1247,16 @@ var SeastudioNotifications = {
1247
1247
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
1248
1248
  */
1249
1249
  SESSION_DELETE_REQUESTED: "session:delete_requested",
1250
+ /**
1251
+ * Agent 请求宿主重命名某条对话会话(例如 Agent 标题栏右键菜单)。
1252
+ * 无 title 时宿主打开与侧栏一致的重命名对话框;有 title 时直接应用。
1253
+ */
1254
+ SESSION_RENAME_REQUESTED: "session:rename_requested",
1255
+ /**
1256
+ * Agent 请求宿主归档某条对话会话(例如 Agent 标题栏右键菜单)。
1257
+ * 归档只影响宿主侧会话列表,不删除 Agent 后端 thread。
1258
+ */
1259
+ SESSION_ARCHIVE_REQUESTED: "session:archive_requested",
1250
1260
  /** SeaStudio 主窗口前后台变化(blur/focus)。
1251
1261
  * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
1252
1262
  */
@@ -1,4 +1,4 @@
1
- import { allTools } from './chunk-TEEUYAET.js';
1
+ import { allTools } from './chunk-AIKVFI4X.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 chunkMEZDKQ3Y_cjs = require('./chunk-MEZDKQ3Y.cjs');
3
+ var chunkCYXHI776_cjs = require('./chunk-CYXHI776.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: chunkMEZDKQ3Y_cjs.allTools }
14
+ { id: "seastudio", name: "SeaStudio", description: "\u6587\u4EF6/Shell/AIGC \u57FA\u7840\u80FD\u529B", tools: chunkCYXHI776_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 [...chunkMEZDKQ3Y_cjs.allTools];
32
+ return [...chunkCYXHI776_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
- chunkMEZDKQ3Y_cjs.allTools.map((tool) => [tool.name, "seastudio"])
65
+ chunkCYXHI776_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 chunk5EYIVNRA_cjs = require('./chunk-5EYIVNRA.cjs');
3
+ var chunkRMXIQTXC_cjs = require('./chunk-RMXIQTXC.cjs');
4
4
  var chunk2L26XL3M_cjs = require('./chunk-2L26XL3M.cjs');
5
- var chunkMEZDKQ3Y_cjs = require('./chunk-MEZDKQ3Y.cjs');
5
+ var chunkCYXHI776_cjs = require('./chunk-CYXHI776.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 chunk5EYIVNRA_cjs.MCP_PACKAGES; }
12
+ get: function () { return chunkRMXIQTXC_cjs.MCP_PACKAGES; }
13
13
  });
14
14
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
15
15
  enumerable: true,
16
- get: function () { return chunk5EYIVNRA_cjs.getMCPPackageIdForTool; }
16
+ get: function () { return chunkRMXIQTXC_cjs.getMCPPackageIdForTool; }
17
17
  });
18
18
  Object.defineProperty(exports, "getMCPPackages", {
19
19
  enumerable: true,
20
- get: function () { return chunk5EYIVNRA_cjs.getMCPPackages; }
20
+ get: function () { return chunkRMXIQTXC_cjs.getMCPPackages; }
21
21
  });
22
22
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
23
23
  enumerable: true,
24
- get: function () { return chunk5EYIVNRA_cjs.getMCPToolPackageIndex; }
24
+ get: function () { return chunkRMXIQTXC_cjs.getMCPToolPackageIndex; }
25
25
  });
26
26
  Object.defineProperty(exports, "getToolsForLLM", {
27
27
  enumerable: true,
28
- get: function () { return chunk5EYIVNRA_cjs.getToolsForLLM; }
28
+ get: function () { return chunkRMXIQTXC_cjs.getToolsForLLM; }
29
29
  });
30
30
  Object.defineProperty(exports, "listAllTools", {
31
31
  enumerable: true,
32
- get: function () { return chunk5EYIVNRA_cjs.listAllTools; }
32
+ get: function () { return chunkRMXIQTXC_cjs.listAllTools; }
33
33
  });
34
34
  Object.defineProperty(exports, "listAvailableTools", {
35
35
  enumerable: true,
36
- get: function () { return chunk5EYIVNRA_cjs.listAvailableTools; }
36
+ get: function () { return chunkRMXIQTXC_cjs.listAvailableTools; }
37
37
  });
38
38
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
39
39
  enumerable: true,
40
- get: function () { return chunk5EYIVNRA_cjs.listAvailableToolsForLLM; }
40
+ get: function () { return chunkRMXIQTXC_cjs.listAvailableToolsForLLM; }
41
41
  });
42
42
  Object.defineProperty(exports, "loadPlugin", {
43
43
  enumerable: true,
44
- get: function () { return chunk5EYIVNRA_cjs.loadPlugin; }
44
+ get: function () { return chunkRMXIQTXC_cjs.loadPlugin; }
45
45
  });
46
46
  Object.defineProperty(exports, "mcpToolToOpenAI", {
47
47
  enumerable: true,
48
- get: function () { return chunk5EYIVNRA_cjs.mcpToolToOpenAI; }
48
+ get: function () { return chunkRMXIQTXC_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 chunkMEZDKQ3Y_cjs.SeastudioNotifications; }
104
+ get: function () { return chunkCYXHI776_cjs.SeastudioNotifications; }
105
105
  });
106
106
  Object.defineProperty(exports, "SeastudioRequests", {
107
107
  enumerable: true,
108
- get: function () { return chunkMEZDKQ3Y_cjs.SeastudioRequests; }
108
+ get: function () { return chunkCYXHI776_cjs.SeastudioRequests; }
109
109
  });
110
110
  Object.defineProperty(exports, "agentManagementTools", {
111
111
  enumerable: true,
112
- get: function () { return chunkMEZDKQ3Y_cjs.agentManagementTools; }
112
+ get: function () { return chunkCYXHI776_cjs.agentManagementTools; }
113
113
  });
114
114
  Object.defineProperty(exports, "agentTabTools", {
115
115
  enumerable: true,
116
- get: function () { return chunkMEZDKQ3Y_cjs.agentTabTools; }
116
+ get: function () { return chunkCYXHI776_cjs.agentTabTools; }
117
117
  });
118
118
  Object.defineProperty(exports, "fileTools", {
119
119
  enumerable: true,
120
- get: function () { return chunkMEZDKQ3Y_cjs.fileTools; }
120
+ get: function () { return chunkCYXHI776_cjs.fileTools; }
121
121
  });
122
122
  Object.defineProperty(exports, "pluginManagementTools", {
123
123
  enumerable: true,
124
- get: function () { return chunkMEZDKQ3Y_cjs.pluginManagementTools; }
124
+ get: function () { return chunkCYXHI776_cjs.pluginManagementTools; }
125
125
  });
126
126
  Object.defineProperty(exports, "pluginTabTools", {
127
127
  enumerable: true,
128
- get: function () { return chunkMEZDKQ3Y_cjs.pluginTabTools; }
128
+ get: function () { return chunkCYXHI776_cjs.pluginTabTools; }
129
129
  });
130
130
  Object.defineProperty(exports, "seaCloudTools", {
131
131
  enumerable: true,
132
- get: function () { return chunkMEZDKQ3Y_cjs.seaCloudTools; }
132
+ get: function () { return chunkCYXHI776_cjs.seaCloudTools; }
133
133
  });
134
134
  Object.defineProperty(exports, "seastudio", {
135
135
  enumerable: true,
136
- get: function () { return chunkMEZDKQ3Y_cjs.seastudio; }
136
+ get: function () { return chunkCYXHI776_cjs.seastudio; }
137
137
  });
138
138
  Object.defineProperty(exports, "seastudioAllTools", {
139
139
  enumerable: true,
140
- get: function () { return chunkMEZDKQ3Y_cjs.allTools; }
140
+ get: function () { return chunkCYXHI776_cjs.allTools; }
141
141
  });
142
142
  Object.defineProperty(exports, "seastudioTools", {
143
143
  enumerable: true,
144
- get: function () { return chunkMEZDKQ3Y_cjs.tools; }
144
+ get: function () { return chunkCYXHI776_cjs.tools; }
145
145
  });
146
146
  Object.defineProperty(exports, "shellTools", {
147
147
  enumerable: true,
148
- get: function () { return chunkMEZDKQ3Y_cjs.shellTools; }
148
+ get: function () { return chunkCYXHI776_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-TVX54YIG.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-P6WQYTHO.js';
2
2
  export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-BIOX6KGR.js';
3
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-TEEUYAET.js';
3
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-AIKVFI4X.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 chunk5EYIVNRA_cjs = require('../chunk-5EYIVNRA.cjs');
4
- var chunkMEZDKQ3Y_cjs = require('../chunk-MEZDKQ3Y.cjs');
3
+ var chunkRMXIQTXC_cjs = require('../chunk-RMXIQTXC.cjs');
4
+ var chunkCYXHI776_cjs = require('../chunk-CYXHI776.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 chunk5EYIVNRA_cjs.MCP_PACKAGES; }
11
+ get: function () { return chunkRMXIQTXC_cjs.MCP_PACKAGES; }
12
12
  });
13
13
  Object.defineProperty(exports, "getMCPPackageIdForTool", {
14
14
  enumerable: true,
15
- get: function () { return chunk5EYIVNRA_cjs.getMCPPackageIdForTool; }
15
+ get: function () { return chunkRMXIQTXC_cjs.getMCPPackageIdForTool; }
16
16
  });
17
17
  Object.defineProperty(exports, "getMCPPackages", {
18
18
  enumerable: true,
19
- get: function () { return chunk5EYIVNRA_cjs.getMCPPackages; }
19
+ get: function () { return chunkRMXIQTXC_cjs.getMCPPackages; }
20
20
  });
21
21
  Object.defineProperty(exports, "getMCPToolPackageIndex", {
22
22
  enumerable: true,
23
- get: function () { return chunk5EYIVNRA_cjs.getMCPToolPackageIndex; }
23
+ get: function () { return chunkRMXIQTXC_cjs.getMCPToolPackageIndex; }
24
24
  });
25
25
  Object.defineProperty(exports, "getToolsForLLM", {
26
26
  enumerable: true,
27
- get: function () { return chunk5EYIVNRA_cjs.getToolsForLLM; }
27
+ get: function () { return chunkRMXIQTXC_cjs.getToolsForLLM; }
28
28
  });
29
29
  Object.defineProperty(exports, "listAllTools", {
30
30
  enumerable: true,
31
- get: function () { return chunk5EYIVNRA_cjs.listAllTools; }
31
+ get: function () { return chunkRMXIQTXC_cjs.listAllTools; }
32
32
  });
33
33
  Object.defineProperty(exports, "listAvailableTools", {
34
34
  enumerable: true,
35
- get: function () { return chunk5EYIVNRA_cjs.listAvailableTools; }
35
+ get: function () { return chunkRMXIQTXC_cjs.listAvailableTools; }
36
36
  });
37
37
  Object.defineProperty(exports, "listAvailableToolsForLLM", {
38
38
  enumerable: true,
39
- get: function () { return chunk5EYIVNRA_cjs.listAvailableToolsForLLM; }
39
+ get: function () { return chunkRMXIQTXC_cjs.listAvailableToolsForLLM; }
40
40
  });
41
41
  Object.defineProperty(exports, "loadPlugin", {
42
42
  enumerable: true,
43
- get: function () { return chunk5EYIVNRA_cjs.loadPlugin; }
43
+ get: function () { return chunkRMXIQTXC_cjs.loadPlugin; }
44
44
  });
45
45
  Object.defineProperty(exports, "mcpToolToOpenAI", {
46
46
  enumerable: true,
47
- get: function () { return chunk5EYIVNRA_cjs.mcpToolToOpenAI; }
47
+ get: function () { return chunkRMXIQTXC_cjs.mcpToolToOpenAI; }
48
48
  });
49
49
  Object.defineProperty(exports, "SeastudioNotifications", {
50
50
  enumerable: true,
51
- get: function () { return chunkMEZDKQ3Y_cjs.SeastudioNotifications; }
51
+ get: function () { return chunkCYXHI776_cjs.SeastudioNotifications; }
52
52
  });
53
53
  Object.defineProperty(exports, "SeastudioRequests", {
54
54
  enumerable: true,
55
- get: function () { return chunkMEZDKQ3Y_cjs.SeastudioRequests; }
55
+ get: function () { return chunkCYXHI776_cjs.SeastudioRequests; }
56
56
  });
57
57
  Object.defineProperty(exports, "agentManagementTools", {
58
58
  enumerable: true,
59
- get: function () { return chunkMEZDKQ3Y_cjs.agentManagementTools; }
59
+ get: function () { return chunkCYXHI776_cjs.agentManagementTools; }
60
60
  });
61
61
  Object.defineProperty(exports, "agentTabTools", {
62
62
  enumerable: true,
63
- get: function () { return chunkMEZDKQ3Y_cjs.agentTabTools; }
63
+ get: function () { return chunkCYXHI776_cjs.agentTabTools; }
64
64
  });
65
65
  Object.defineProperty(exports, "fileTools", {
66
66
  enumerable: true,
67
- get: function () { return chunkMEZDKQ3Y_cjs.fileTools; }
67
+ get: function () { return chunkCYXHI776_cjs.fileTools; }
68
68
  });
69
69
  Object.defineProperty(exports, "pluginManagementTools", {
70
70
  enumerable: true,
71
- get: function () { return chunkMEZDKQ3Y_cjs.pluginManagementTools; }
71
+ get: function () { return chunkCYXHI776_cjs.pluginManagementTools; }
72
72
  });
73
73
  Object.defineProperty(exports, "pluginTabTools", {
74
74
  enumerable: true,
75
- get: function () { return chunkMEZDKQ3Y_cjs.pluginTabTools; }
75
+ get: function () { return chunkCYXHI776_cjs.pluginTabTools; }
76
76
  });
77
77
  Object.defineProperty(exports, "seaCloudTools", {
78
78
  enumerable: true,
79
- get: function () { return chunkMEZDKQ3Y_cjs.seaCloudTools; }
79
+ get: function () { return chunkCYXHI776_cjs.seaCloudTools; }
80
80
  });
81
81
  Object.defineProperty(exports, "seastudio", {
82
82
  enumerable: true,
83
- get: function () { return chunkMEZDKQ3Y_cjs.seastudio; }
83
+ get: function () { return chunkCYXHI776_cjs.seastudio; }
84
84
  });
85
85
  Object.defineProperty(exports, "seastudioAllTools", {
86
86
  enumerable: true,
87
- get: function () { return chunkMEZDKQ3Y_cjs.allTools; }
87
+ get: function () { return chunkCYXHI776_cjs.allTools; }
88
88
  });
89
89
  Object.defineProperty(exports, "seastudioTools", {
90
90
  enumerable: true,
91
- get: function () { return chunkMEZDKQ3Y_cjs.tools; }
91
+ get: function () { return chunkCYXHI776_cjs.tools; }
92
92
  });
93
93
  Object.defineProperty(exports, "shellTools", {
94
94
  enumerable: true,
95
- get: function () { return chunkMEZDKQ3Y_cjs.shellTools; }
95
+ get: function () { return chunkCYXHI776_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-TVX54YIG.js';
2
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-TEEUYAET.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-P6WQYTHO.js';
2
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-AIKVFI4X.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,147 +1,147 @@
1
1
  'use strict';
2
2
 
3
- var chunkMEZDKQ3Y_cjs = require('../../chunk-MEZDKQ3Y.cjs');
3
+ var chunkCYXHI776_cjs = require('../../chunk-CYXHI776.cjs');
4
4
  require('../../chunk-3I7UM66P.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "SINGLETON_BROWSER_SESSION_ID", {
9
9
  enumerable: true,
10
- get: function () { return chunkMEZDKQ3Y_cjs.SINGLETON_BROWSER_SESSION_ID; }
10
+ get: function () { return chunkCYXHI776_cjs.SINGLETON_BROWSER_SESSION_ID; }
11
11
  });
12
12
  Object.defineProperty(exports, "SeastudioNotifications", {
13
13
  enumerable: true,
14
- get: function () { return chunkMEZDKQ3Y_cjs.SeastudioNotifications; }
14
+ get: function () { return chunkCYXHI776_cjs.SeastudioNotifications; }
15
15
  });
16
16
  Object.defineProperty(exports, "SeastudioRequests", {
17
17
  enumerable: true,
18
- get: function () { return chunkMEZDKQ3Y_cjs.SeastudioRequests; }
18
+ get: function () { return chunkCYXHI776_cjs.SeastudioRequests; }
19
19
  });
20
20
  Object.defineProperty(exports, "agentManagementTools", {
21
21
  enumerable: true,
22
- get: function () { return chunkMEZDKQ3Y_cjs.agentManagementTools; }
22
+ get: function () { return chunkCYXHI776_cjs.agentManagementTools; }
23
23
  });
24
24
  Object.defineProperty(exports, "agentTabTools", {
25
25
  enumerable: true,
26
- get: function () { return chunkMEZDKQ3Y_cjs.agentTabTools; }
26
+ get: function () { return chunkCYXHI776_cjs.agentTabTools; }
27
27
  });
28
28
  Object.defineProperty(exports, "allTools", {
29
29
  enumerable: true,
30
- get: function () { return chunkMEZDKQ3Y_cjs.allTools; }
30
+ get: function () { return chunkCYXHI776_cjs.allTools; }
31
31
  });
32
32
  Object.defineProperty(exports, "annotateTool", {
33
33
  enumerable: true,
34
- get: function () { return chunkMEZDKQ3Y_cjs.annotateTool; }
34
+ get: function () { return chunkCYXHI776_cjs.annotateTool; }
35
35
  });
36
36
  Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
37
37
  enumerable: true,
38
- get: function () { return chunkMEZDKQ3Y_cjs.batchFlattenCopyEvidenceOutputSchema; }
38
+ get: function () { return chunkCYXHI776_cjs.batchFlattenCopyEvidenceOutputSchema; }
39
39
  });
40
40
  Object.defineProperty(exports, "browserRuntimeTools", {
41
41
  enumerable: true,
42
- get: function () { return chunkMEZDKQ3Y_cjs.browserRuntimeTools; }
42
+ get: function () { return chunkCYXHI776_cjs.browserRuntimeTools; }
43
43
  });
44
44
  Object.defineProperty(exports, "callTool", {
45
45
  enumerable: true,
46
- get: function () { return chunkMEZDKQ3Y_cjs.callTool; }
46
+ get: function () { return chunkCYXHI776_cjs.callTool; }
47
47
  });
48
48
  Object.defineProperty(exports, "callToolText", {
49
49
  enumerable: true,
50
- get: function () { return chunkMEZDKQ3Y_cjs.callToolText; }
50
+ get: function () { return chunkCYXHI776_cjs.callToolText; }
51
51
  });
52
52
  Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkMEZDKQ3Y_cjs.dualPathEvidenceOutputSchema; }
54
+ get: function () { return chunkCYXHI776_cjs.dualPathEvidenceOutputSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "editorTools", {
57
57
  enumerable: true,
58
- get: function () { return chunkMEZDKQ3Y_cjs.editorTools; }
58
+ get: function () { return chunkCYXHI776_cjs.editorTools; }
59
59
  });
60
60
  Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkMEZDKQ3Y_cjs.fileDownloadEvidenceOutputSchema; }
62
+ get: function () { return chunkCYXHI776_cjs.fileDownloadEvidenceOutputSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "fileSaveAsEvidenceOutputSchema", {
65
65
  enumerable: true,
66
- get: function () { return chunkMEZDKQ3Y_cjs.fileSaveAsEvidenceOutputSchema; }
66
+ get: function () { return chunkCYXHI776_cjs.fileSaveAsEvidenceOutputSchema; }
67
67
  });
68
68
  Object.defineProperty(exports, "fileTools", {
69
69
  enumerable: true,
70
- get: function () { return chunkMEZDKQ3Y_cjs.fileTools; }
70
+ get: function () { return chunkCYXHI776_cjs.fileTools; }
71
71
  });
72
72
  Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
73
73
  enumerable: true,
74
- get: function () { return chunkMEZDKQ3Y_cjs.fileUrlEvidenceOutputSchema; }
74
+ get: function () { return chunkCYXHI776_cjs.fileUrlEvidenceOutputSchema; }
75
75
  });
76
76
  Object.defineProperty(exports, "gitTools", {
77
77
  enumerable: true,
78
- get: function () { return chunkMEZDKQ3Y_cjs.gitTools; }
78
+ get: function () { return chunkCYXHI776_cjs.gitTools; }
79
79
  });
80
80
  Object.defineProperty(exports, "pluginManagementTools", {
81
81
  enumerable: true,
82
- get: function () { return chunkMEZDKQ3Y_cjs.pluginManagementTools; }
82
+ get: function () { return chunkCYXHI776_cjs.pluginManagementTools; }
83
83
  });
84
84
  Object.defineProperty(exports, "pluginTabTools", {
85
85
  enumerable: true,
86
- get: function () { return chunkMEZDKQ3Y_cjs.pluginTabTools; }
86
+ get: function () { return chunkCYXHI776_cjs.pluginTabTools; }
87
87
  });
88
88
  Object.defineProperty(exports, "projectTools", {
89
89
  enumerable: true,
90
- get: function () { return chunkMEZDKQ3Y_cjs.projectTools; }
90
+ get: function () { return chunkCYXHI776_cjs.projectTools; }
91
91
  });
92
92
  Object.defineProperty(exports, "request", {
93
93
  enumerable: true,
94
- get: function () { return chunkMEZDKQ3Y_cjs.request; }
94
+ get: function () { return chunkCYXHI776_cjs.request; }
95
95
  });
96
96
  Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
97
97
  enumerable: true,
98
- get: function () { return chunkMEZDKQ3Y_cjs.rootedPathEvidenceOutputSchema; }
98
+ get: function () { return chunkCYXHI776_cjs.rootedPathEvidenceOutputSchema; }
99
99
  });
100
100
  Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
101
101
  enumerable: true,
102
- get: function () { return chunkMEZDKQ3Y_cjs.rootedWriteEvidenceOutputSchema; }
102
+ get: function () { return chunkCYXHI776_cjs.rootedWriteEvidenceOutputSchema; }
103
103
  });
104
104
  Object.defineProperty(exports, "runOneShotShellCommand", {
105
105
  enumerable: true,
106
- get: function () { return chunkMEZDKQ3Y_cjs.runOneShotShellCommand; }
106
+ get: function () { return chunkCYXHI776_cjs.runOneShotShellCommand; }
107
107
  });
108
108
  Object.defineProperty(exports, "seaCloudTools", {
109
109
  enumerable: true,
110
- get: function () { return chunkMEZDKQ3Y_cjs.seaCloudTools; }
110
+ get: function () { return chunkCYXHI776_cjs.seaCloudTools; }
111
111
  });
112
112
  Object.defineProperty(exports, "seastudio", {
113
113
  enumerable: true,
114
- get: function () { return chunkMEZDKQ3Y_cjs.seastudio; }
114
+ get: function () { return chunkCYXHI776_cjs.seastudio; }
115
115
  });
116
116
  Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
117
117
  enumerable: true,
118
- get: function () { return chunkMEZDKQ3Y_cjs.shellSessionCloseEvidenceOutputSchema; }
118
+ get: function () { return chunkCYXHI776_cjs.shellSessionCloseEvidenceOutputSchema; }
119
119
  });
120
120
  Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
121
121
  enumerable: true,
122
- get: function () { return chunkMEZDKQ3Y_cjs.shellSessionOpenEvidenceOutputSchema; }
122
+ get: function () { return chunkCYXHI776_cjs.shellSessionOpenEvidenceOutputSchema; }
123
123
  });
124
124
  Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
125
125
  enumerable: true,
126
- get: function () { return chunkMEZDKQ3Y_cjs.shellSessionRunEvidenceOutputSchema; }
126
+ get: function () { return chunkCYXHI776_cjs.shellSessionRunEvidenceOutputSchema; }
127
127
  });
128
128
  Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
129
129
  enumerable: true,
130
- get: function () { return chunkMEZDKQ3Y_cjs.shellSessionSignalEvidenceOutputSchema; }
130
+ get: function () { return chunkCYXHI776_cjs.shellSessionSignalEvidenceOutputSchema; }
131
131
  });
132
132
  Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
133
133
  enumerable: true,
134
- get: function () { return chunkMEZDKQ3Y_cjs.shellSessionSnapshotEvidenceOutputSchema; }
134
+ get: function () { return chunkCYXHI776_cjs.shellSessionSnapshotEvidenceOutputSchema; }
135
135
  });
136
136
  Object.defineProperty(exports, "shellTools", {
137
137
  enumerable: true,
138
- get: function () { return chunkMEZDKQ3Y_cjs.shellTools; }
138
+ get: function () { return chunkCYXHI776_cjs.shellTools; }
139
139
  });
140
140
  Object.defineProperty(exports, "skillTools", {
141
141
  enumerable: true,
142
- get: function () { return chunkMEZDKQ3Y_cjs.skillTools; }
142
+ get: function () { return chunkCYXHI776_cjs.skillTools; }
143
143
  });
144
144
  Object.defineProperty(exports, "tools", {
145
145
  enumerable: true,
146
- get: function () { return chunkMEZDKQ3Y_cjs.tools; }
146
+ get: function () { return chunkCYXHI776_cjs.tools; }
147
147
  });
@@ -685,6 +685,16 @@ declare const SeastudioNotifications: {
685
685
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
686
686
  */
687
687
  readonly SESSION_DELETE_REQUESTED: "session:delete_requested";
688
+ /**
689
+ * Agent 请求宿主重命名某条对话会话(例如 Agent 标题栏右键菜单)。
690
+ * 无 title 时宿主打开与侧栏一致的重命名对话框;有 title 时直接应用。
691
+ */
692
+ readonly SESSION_RENAME_REQUESTED: "session:rename_requested";
693
+ /**
694
+ * Agent 请求宿主归档某条对话会话(例如 Agent 标题栏右键菜单)。
695
+ * 归档只影响宿主侧会话列表,不删除 Agent 后端 thread。
696
+ */
697
+ readonly SESSION_ARCHIVE_REQUESTED: "session:archive_requested";
688
698
  /** SeaStudio 主窗口前后台变化(blur/focus)。
689
699
  * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
690
700
  */
@@ -1008,6 +1018,15 @@ interface SessionDeleteRequestedParams {
1008
1018
  projectId?: string;
1009
1019
  reason?: 'host_sidebar';
1010
1020
  }
1021
+ /** Agent 请求宿主重命名某条会话;无 title 时宿主打开重命名对话框(与侧栏一致) */
1022
+ interface SessionRenameRequestedParams extends SessionNotificationBase {
1023
+ title?: string;
1024
+ reason?: 'agent_titlebar';
1025
+ }
1026
+ /** Agent 请求宿主归档某条会话 */
1027
+ interface SessionArchiveRequestedParams extends SessionNotificationBase {
1028
+ reason?: 'agent_titlebar';
1029
+ }
1011
1030
  /** 宿主主窗口前后台变化(blur/focus) */
1012
1031
  interface HostAppVisibilityParams {
1013
1032
  agentInstanceId: string;
@@ -1025,4 +1044,4 @@ interface HostAppVisibilityParams {
1025
1044
  declare const allTools: MCPTool[];
1026
1045
  declare const tools: MCPTool[];
1027
1046
 
1028
- export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitChangeKind, type GitChangedParams, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitOpenDiffRequestedParams, type GitStatusResult, type GitSummary, type HostAppVisibilityParams, type PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, type RootsChangedParams, SINGLETON_BROWSER_SESSION_ID, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSaveAsOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFileWriteOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, type SeastudioProposalFile, type SeastudioProposalHunk, 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 SeastudioWriteReviewMode, 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, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
1047
+ export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitChangeKind, type GitChangedParams, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitOpenDiffRequestedParams, type GitStatusResult, type GitSummary, type HostAppVisibilityParams, type PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, type RootsChangedParams, SINGLETON_BROWSER_SESSION_ID, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSaveAsOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFileWriteOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, type SeastudioProposalFile, type SeastudioProposalHunk, 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 SeastudioWriteReviewMode, type SessionArchiveRequestedParams, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionRenameRequestedParams, 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, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
@@ -685,6 +685,16 @@ declare const SeastudioNotifications: {
685
685
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
686
686
  */
687
687
  readonly SESSION_DELETE_REQUESTED: "session:delete_requested";
688
+ /**
689
+ * Agent 请求宿主重命名某条对话会话(例如 Agent 标题栏右键菜单)。
690
+ * 无 title 时宿主打开与侧栏一致的重命名对话框;有 title 时直接应用。
691
+ */
692
+ readonly SESSION_RENAME_REQUESTED: "session:rename_requested";
693
+ /**
694
+ * Agent 请求宿主归档某条对话会话(例如 Agent 标题栏右键菜单)。
695
+ * 归档只影响宿主侧会话列表,不删除 Agent 后端 thread。
696
+ */
697
+ readonly SESSION_ARCHIVE_REQUESTED: "session:archive_requested";
688
698
  /** SeaStudio 主窗口前后台变化(blur/focus)。
689
699
  * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
690
700
  */
@@ -1008,6 +1018,15 @@ interface SessionDeleteRequestedParams {
1008
1018
  projectId?: string;
1009
1019
  reason?: 'host_sidebar';
1010
1020
  }
1021
+ /** Agent 请求宿主重命名某条会话;无 title 时宿主打开重命名对话框(与侧栏一致) */
1022
+ interface SessionRenameRequestedParams extends SessionNotificationBase {
1023
+ title?: string;
1024
+ reason?: 'agent_titlebar';
1025
+ }
1026
+ /** Agent 请求宿主归档某条会话 */
1027
+ interface SessionArchiveRequestedParams extends SessionNotificationBase {
1028
+ reason?: 'agent_titlebar';
1029
+ }
1011
1030
  /** 宿主主窗口前后台变化(blur/focus) */
1012
1031
  interface HostAppVisibilityParams {
1013
1032
  agentInstanceId: string;
@@ -1025,4 +1044,4 @@ interface HostAppVisibilityParams {
1025
1044
  declare const allTools: MCPTool[];
1026
1045
  declare const tools: MCPTool[];
1027
1046
 
1028
- export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitChangeKind, type GitChangedParams, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitOpenDiffRequestedParams, type GitStatusResult, type GitSummary, type HostAppVisibilityParams, type PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, type RootsChangedParams, SINGLETON_BROWSER_SESSION_ID, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSaveAsOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFileWriteOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, type SeastudioProposalFile, type SeastudioProposalHunk, 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 SeastudioWriteReviewMode, 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, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
1047
+ export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitChangeKind, type GitChangedParams, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitOpenDiffRequestedParams, type GitStatusResult, type GitSummary, type HostAppVisibilityParams, type PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, type RootsChangedParams, SINGLETON_BROWSER_SESSION_ID, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSaveAsOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFileWriteOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, type SeastudioProposalFile, type SeastudioProposalHunk, 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 SeastudioWriteReviewMode, type SessionArchiveRequestedParams, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionRenameRequestedParams, 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, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
@@ -1,2 +1,2 @@
1
- export { SINGLETON_BROWSER_SESSION_ID, SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-TEEUYAET.js';
1
+ export { SINGLETON_BROWSER_SESSION_ID, SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, editorTools, fileDownloadEvidenceOutputSchema, fileSaveAsEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-AIKVFI4X.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.13",
3
+ "version": "4.0.15",
4
4
  "description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",