@seastudio/sdk 4.0.6 → 4.0.10

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.
@@ -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 { 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';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, GitChangeKind, GitChangedParams, GitFileChange, GitLineChange, GitLineChangeKind, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, 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 { 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';
4
+ export { FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, GitChangeKind, GitChangedParams, GitFileChange, GitLineChange, GitLineChangeKind, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, 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-EWNKBKGJ.js';
2
- export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-QA7XGPJX.js';
1
+ export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-UBPI7GGM.js';
2
+ export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-FC5C47PU.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,139 +1,143 @@
1
1
  'use strict';
2
2
 
3
- var chunkY4QEHVYJ_cjs = require('../../chunk-Y4QEHVYJ.cjs');
3
+ var chunkTW754GRA_cjs = require('../../chunk-TW754GRA.cjs');
4
4
  require('../../chunk-3I7UM66P.cjs');
5
5
 
6
6
 
7
7
 
8
+ Object.defineProperty(exports, "SINGLETON_BROWSER_SESSION_ID", {
9
+ enumerable: true,
10
+ get: function () { return chunkTW754GRA_cjs.SINGLETON_BROWSER_SESSION_ID; }
11
+ });
8
12
  Object.defineProperty(exports, "SeastudioNotifications", {
9
13
  enumerable: true,
10
- get: function () { return chunkY4QEHVYJ_cjs.SeastudioNotifications; }
14
+ get: function () { return chunkTW754GRA_cjs.SeastudioNotifications; }
11
15
  });
12
16
  Object.defineProperty(exports, "SeastudioRequests", {
13
17
  enumerable: true,
14
- get: function () { return chunkY4QEHVYJ_cjs.SeastudioRequests; }
18
+ get: function () { return chunkTW754GRA_cjs.SeastudioRequests; }
15
19
  });
16
20
  Object.defineProperty(exports, "agentManagementTools", {
17
21
  enumerable: true,
18
- get: function () { return chunkY4QEHVYJ_cjs.agentManagementTools; }
22
+ get: function () { return chunkTW754GRA_cjs.agentManagementTools; }
19
23
  });
20
24
  Object.defineProperty(exports, "agentTabTools", {
21
25
  enumerable: true,
22
- get: function () { return chunkY4QEHVYJ_cjs.agentTabTools; }
26
+ get: function () { return chunkTW754GRA_cjs.agentTabTools; }
23
27
  });
24
28
  Object.defineProperty(exports, "allTools", {
25
29
  enumerable: true,
26
- get: function () { return chunkY4QEHVYJ_cjs.allTools; }
30
+ get: function () { return chunkTW754GRA_cjs.allTools; }
27
31
  });
28
32
  Object.defineProperty(exports, "annotateTool", {
29
33
  enumerable: true,
30
- get: function () { return chunkY4QEHVYJ_cjs.annotateTool; }
34
+ get: function () { return chunkTW754GRA_cjs.annotateTool; }
31
35
  });
32
36
  Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
33
37
  enumerable: true,
34
- get: function () { return chunkY4QEHVYJ_cjs.batchFlattenCopyEvidenceOutputSchema; }
38
+ get: function () { return chunkTW754GRA_cjs.batchFlattenCopyEvidenceOutputSchema; }
35
39
  });
36
40
  Object.defineProperty(exports, "browserRuntimeTools", {
37
41
  enumerable: true,
38
- get: function () { return chunkY4QEHVYJ_cjs.browserRuntimeTools; }
42
+ get: function () { return chunkTW754GRA_cjs.browserRuntimeTools; }
39
43
  });
40
44
  Object.defineProperty(exports, "callTool", {
41
45
  enumerable: true,
42
- get: function () { return chunkY4QEHVYJ_cjs.callTool; }
46
+ get: function () { return chunkTW754GRA_cjs.callTool; }
43
47
  });
44
48
  Object.defineProperty(exports, "callToolText", {
45
49
  enumerable: true,
46
- get: function () { return chunkY4QEHVYJ_cjs.callToolText; }
50
+ get: function () { return chunkTW754GRA_cjs.callToolText; }
47
51
  });
48
52
  Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
49
53
  enumerable: true,
50
- get: function () { return chunkY4QEHVYJ_cjs.dualPathEvidenceOutputSchema; }
54
+ get: function () { return chunkTW754GRA_cjs.dualPathEvidenceOutputSchema; }
51
55
  });
52
56
  Object.defineProperty(exports, "editorTools", {
53
57
  enumerable: true,
54
- get: function () { return chunkY4QEHVYJ_cjs.editorTools; }
58
+ get: function () { return chunkTW754GRA_cjs.editorTools; }
55
59
  });
56
60
  Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
57
61
  enumerable: true,
58
- get: function () { return chunkY4QEHVYJ_cjs.fileDownloadEvidenceOutputSchema; }
62
+ get: function () { return chunkTW754GRA_cjs.fileDownloadEvidenceOutputSchema; }
59
63
  });
60
64
  Object.defineProperty(exports, "fileTools", {
61
65
  enumerable: true,
62
- get: function () { return chunkY4QEHVYJ_cjs.fileTools; }
66
+ get: function () { return chunkTW754GRA_cjs.fileTools; }
63
67
  });
64
68
  Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
65
69
  enumerable: true,
66
- get: function () { return chunkY4QEHVYJ_cjs.fileUrlEvidenceOutputSchema; }
70
+ get: function () { return chunkTW754GRA_cjs.fileUrlEvidenceOutputSchema; }
67
71
  });
68
72
  Object.defineProperty(exports, "gitTools", {
69
73
  enumerable: true,
70
- get: function () { return chunkY4QEHVYJ_cjs.gitTools; }
74
+ get: function () { return chunkTW754GRA_cjs.gitTools; }
71
75
  });
72
76
  Object.defineProperty(exports, "pluginManagementTools", {
73
77
  enumerable: true,
74
- get: function () { return chunkY4QEHVYJ_cjs.pluginManagementTools; }
78
+ get: function () { return chunkTW754GRA_cjs.pluginManagementTools; }
75
79
  });
76
80
  Object.defineProperty(exports, "pluginTabTools", {
77
81
  enumerable: true,
78
- get: function () { return chunkY4QEHVYJ_cjs.pluginTabTools; }
82
+ get: function () { return chunkTW754GRA_cjs.pluginTabTools; }
79
83
  });
80
84
  Object.defineProperty(exports, "projectTools", {
81
85
  enumerable: true,
82
- get: function () { return chunkY4QEHVYJ_cjs.projectTools; }
86
+ get: function () { return chunkTW754GRA_cjs.projectTools; }
83
87
  });
84
88
  Object.defineProperty(exports, "request", {
85
89
  enumerable: true,
86
- get: function () { return chunkY4QEHVYJ_cjs.request; }
90
+ get: function () { return chunkTW754GRA_cjs.request; }
87
91
  });
88
92
  Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
89
93
  enumerable: true,
90
- get: function () { return chunkY4QEHVYJ_cjs.rootedPathEvidenceOutputSchema; }
94
+ get: function () { return chunkTW754GRA_cjs.rootedPathEvidenceOutputSchema; }
91
95
  });
92
96
  Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
93
97
  enumerable: true,
94
- get: function () { return chunkY4QEHVYJ_cjs.rootedWriteEvidenceOutputSchema; }
98
+ get: function () { return chunkTW754GRA_cjs.rootedWriteEvidenceOutputSchema; }
95
99
  });
96
100
  Object.defineProperty(exports, "runOneShotShellCommand", {
97
101
  enumerable: true,
98
- get: function () { return chunkY4QEHVYJ_cjs.runOneShotShellCommand; }
102
+ get: function () { return chunkTW754GRA_cjs.runOneShotShellCommand; }
99
103
  });
100
104
  Object.defineProperty(exports, "seaCloudTools", {
101
105
  enumerable: true,
102
- get: function () { return chunkY4QEHVYJ_cjs.seaCloudTools; }
106
+ get: function () { return chunkTW754GRA_cjs.seaCloudTools; }
103
107
  });
104
108
  Object.defineProperty(exports, "seastudio", {
105
109
  enumerable: true,
106
- get: function () { return chunkY4QEHVYJ_cjs.seastudio; }
110
+ get: function () { return chunkTW754GRA_cjs.seastudio; }
107
111
  });
108
112
  Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
109
113
  enumerable: true,
110
- get: function () { return chunkY4QEHVYJ_cjs.shellSessionCloseEvidenceOutputSchema; }
114
+ get: function () { return chunkTW754GRA_cjs.shellSessionCloseEvidenceOutputSchema; }
111
115
  });
112
116
  Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
113
117
  enumerable: true,
114
- get: function () { return chunkY4QEHVYJ_cjs.shellSessionOpenEvidenceOutputSchema; }
118
+ get: function () { return chunkTW754GRA_cjs.shellSessionOpenEvidenceOutputSchema; }
115
119
  });
116
120
  Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
117
121
  enumerable: true,
118
- get: function () { return chunkY4QEHVYJ_cjs.shellSessionRunEvidenceOutputSchema; }
122
+ get: function () { return chunkTW754GRA_cjs.shellSessionRunEvidenceOutputSchema; }
119
123
  });
120
124
  Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
121
125
  enumerable: true,
122
- get: function () { return chunkY4QEHVYJ_cjs.shellSessionSignalEvidenceOutputSchema; }
126
+ get: function () { return chunkTW754GRA_cjs.shellSessionSignalEvidenceOutputSchema; }
123
127
  });
124
128
  Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
125
129
  enumerable: true,
126
- get: function () { return chunkY4QEHVYJ_cjs.shellSessionSnapshotEvidenceOutputSchema; }
130
+ get: function () { return chunkTW754GRA_cjs.shellSessionSnapshotEvidenceOutputSchema; }
127
131
  });
128
132
  Object.defineProperty(exports, "shellTools", {
129
133
  enumerable: true,
130
- get: function () { return chunkY4QEHVYJ_cjs.shellTools; }
134
+ get: function () { return chunkTW754GRA_cjs.shellTools; }
131
135
  });
132
136
  Object.defineProperty(exports, "skillTools", {
133
137
  enumerable: true,
134
- get: function () { return chunkY4QEHVYJ_cjs.skillTools; }
138
+ get: function () { return chunkTW754GRA_cjs.skillTools; }
135
139
  });
136
140
  Object.defineProperty(exports, "tools", {
137
141
  enumerable: true,
138
- get: function () { return chunkY4QEHVYJ_cjs.tools; }
142
+ get: function () { return chunkTW754GRA_cjs.tools; }
139
143
  });
@@ -1,33 +1,10 @@
1
1
  import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-D7xY0bt6.cjs';
2
2
 
3
3
  /**
4
- * File MCP Tools
4
+ * Git 共享类型契约
5
5
  *
6
- * 文件系统读写、传输与剪贴板能力。
7
- */
8
-
9
- declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
10
- declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
11
- declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
12
- declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
13
- declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
14
- declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
15
- declare const fileUrlEvidenceOutputSchema: MCPToolInputSchema;
16
- declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
17
- declare const shellSessionOpenEvidenceOutputSchema: MCPToolInputSchema;
18
- declare const shellSessionRunEvidenceOutputSchema: MCPToolInputSchema;
19
- declare const shellSessionSignalEvidenceOutputSchema: MCPToolInputSchema;
20
- declare const shellSessionCloseEvidenceOutputSchema: MCPToolInputSchema;
21
- declare const fileTools: MCPTool[];
22
-
23
- declare const editorTools: MCPTool[];
24
-
25
- /**
26
- * Git MCP Tools
6
+ * 供 MCP 工具返回值、git:changed 通知、SCM UI 与 Editor 插件共用。
27
7
  */
28
-
29
- declare const gitTools: MCPTool[];
30
-
31
8
  type GitChangeKind = 'added' | 'modified' | 'deleted' | 'renamed' | 'untracked' | 'conflicted' | 'unknown';
32
9
  type GitLineChangeKind = 'added' | 'modified' | 'deleted';
33
10
  interface GitFileChange {
@@ -72,6 +49,34 @@ interface GitStatusResult {
72
49
  ignoredPaths?: string[];
73
50
  }
74
51
 
52
+ /**
53
+ * File MCP Tools
54
+ *
55
+ * 文件系统读写、传输与剪贴板能力。
56
+ */
57
+
58
+ declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
59
+ declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
60
+ declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
61
+ declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
62
+ declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
63
+ declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
64
+ declare const fileUrlEvidenceOutputSchema: MCPToolInputSchema;
65
+ declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
66
+ declare const shellSessionOpenEvidenceOutputSchema: MCPToolInputSchema;
67
+ declare const shellSessionRunEvidenceOutputSchema: MCPToolInputSchema;
68
+ declare const shellSessionSignalEvidenceOutputSchema: MCPToolInputSchema;
69
+ declare const shellSessionCloseEvidenceOutputSchema: MCPToolInputSchema;
70
+ declare const fileTools: MCPTool[];
71
+
72
+ declare const editorTools: MCPTool[];
73
+
74
+ /**
75
+ * Git MCP Tools
76
+ */
77
+
78
+ declare const gitTools: MCPTool[];
79
+
75
80
  /**
76
81
  * Shell MCP Tools
77
82
  *
@@ -303,6 +308,7 @@ interface SeastudioBrowserTab {
303
308
  canGoBack: boolean;
304
309
  canGoForward: boolean;
305
310
  certificateError?: SeastudioBrowserCertificateError | null;
311
+ ownerInstanceId?: string;
306
312
  }
307
313
  interface SeastudioBrowserState {
308
314
  browserSessionId: string;
@@ -437,14 +443,20 @@ declare const seastudio: {
437
443
  list: () => Promise<{
438
444
  sessions: SeastudioBrowserSession[];
439
445
  }>;
440
- get: (browserSessionId: string) => Promise<SeastudioBrowserSession>;
441
- close: (browserSessionId: string) => Promise<{
446
+ get: (browserSessionId?: string) => Promise<SeastudioBrowserSession>;
447
+ close: (browserSessionId?: string) => Promise<{
442
448
  browserSessionId: string;
443
449
  closed: boolean;
444
450
  }>;
445
451
  };
452
+ show: (url: string) => Promise<{
453
+ url: string;
454
+ browserSessionId: string;
455
+ instanceId?: string;
456
+ tab?: SeastudioBrowserTab;
457
+ }>;
446
458
  tab: {
447
- create: (browserSessionId: string, url?: string) => Promise<{
459
+ create: (browserSessionId?: string, url?: string, ownerInstanceId?: string) => Promise<{
448
460
  browserSessionId: string;
449
461
  tab: SeastudioBrowserTab;
450
462
  activeTabId: string;
@@ -475,9 +487,15 @@ declare const seastudio: {
475
487
  stop: (browserSessionId: string, tabId: string) => Promise<{
476
488
  ok: boolean;
477
489
  }>;
490
+ getOrCreateForInstance: (ownerInstanceId: string, url?: string) => Promise<{
491
+ browserSessionId: string;
492
+ tab: SeastudioBrowserTab;
493
+ activeTabId: string;
494
+ created: boolean;
495
+ }>;
478
496
  };
479
497
  viewport: {
480
- bind: (browserSessionId: string, rect: SeastudioBrowserRect, ownerInstanceId?: string) => Promise<SeastudioBrowserViewportBinding>;
498
+ bind: (browserSessionId: string | undefined, rect: SeastudioBrowserRect, ownerInstanceId?: string) => Promise<SeastudioBrowserViewportBinding>;
481
499
  };
482
500
  certificate: {
483
501
  respond: (browserSessionId: string, requestId: string, allow: boolean) => Promise<{
@@ -529,6 +547,7 @@ declare const projectTools: MCPTool[];
529
547
 
530
548
  declare const skillTools: MCPTool[];
531
549
 
550
+ declare const SINGLETON_BROWSER_SESSION_ID = "browser-session-default";
532
551
  declare const browserRuntimeTools: MCPTool[];
533
552
 
534
553
  /**
@@ -653,10 +672,15 @@ declare const SeastudioNotifications: {
653
672
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
654
673
  */
655
674
  readonly SESSION_DELETE_REQUESTED: "session:delete_requested";
675
+ /**
676
+ * SeaStudio 主窗口前后台变化(blur/focus)。
677
+ * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
678
+ */
679
+ readonly HOST_APP_VISIBILITY: "host:app_visibility";
656
680
  };
657
681
 
658
- /** 项目根在 MCP 文件工具中的寻址 id */
659
- type SeastudioRootId = 'workspace' | `proj-${string}`;
682
+ /** 项目根在 MCP 文件工具中的寻址 id;browser 表示 URL 资源根 */
683
+ type SeastudioRootId = 'workspace' | 'browser' | `proj-${string}`;
660
684
  type SeastudioDragRootId = SeastudioRootId;
661
685
  /**
662
686
  * files:changed 通知参数
@@ -903,7 +927,7 @@ interface SessionCreatedParams extends SessionNotificationBase {
903
927
  /** 可选:状态文案,供 tooltip 展示 */
904
928
  statusLabel?: string;
905
929
  }
906
- type SessionSelectedReason = 'user' | 'agent' | 'host' | 'host_restore';
930
+ type SessionSelectedReason = 'user' | 'agent' | 'host' | 'host_restore' | 'host_foreground';
907
931
  interface SessionSelectedParams extends Omit<SessionNotificationBase, 'sessionId'> {
908
932
  /** Agent 侧对话 session 标识;null 表示进入无会话状态 */
909
933
  sessionId: string | null;
@@ -970,6 +994,13 @@ interface SessionDeleteRequestedParams {
970
994
  projectId?: string;
971
995
  reason?: 'host_sidebar';
972
996
  }
997
+ /** 宿主主窗口前后台变化(blur/focus) */
998
+ interface HostAppVisibilityParams {
999
+ agentInstanceId: string;
1000
+ projectId?: string;
1001
+ /** true = focus/前台,false = blur/后台 */
1002
+ foreground: boolean;
1003
+ }
973
1004
 
974
1005
  /**
975
1006
  * SeaStudio MCP Module
@@ -980,4 +1011,4 @@ interface SessionDeleteRequestedParams {
980
1011
  declare const allTools: MCPTool[];
981
1012
  declare const tools: MCPTool[];
982
1013
 
983
- 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 PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, 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, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
1014
+ 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 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, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
@@ -1,33 +1,10 @@
1
1
  import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-D7xY0bt6.js';
2
2
 
3
3
  /**
4
- * File MCP Tools
4
+ * Git 共享类型契约
5
5
  *
6
- * 文件系统读写、传输与剪贴板能力。
7
- */
8
-
9
- declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
10
- declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
11
- declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
12
- declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
13
- declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
14
- declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
15
- declare const fileUrlEvidenceOutputSchema: MCPToolInputSchema;
16
- declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
17
- declare const shellSessionOpenEvidenceOutputSchema: MCPToolInputSchema;
18
- declare const shellSessionRunEvidenceOutputSchema: MCPToolInputSchema;
19
- declare const shellSessionSignalEvidenceOutputSchema: MCPToolInputSchema;
20
- declare const shellSessionCloseEvidenceOutputSchema: MCPToolInputSchema;
21
- declare const fileTools: MCPTool[];
22
-
23
- declare const editorTools: MCPTool[];
24
-
25
- /**
26
- * Git MCP Tools
6
+ * 供 MCP 工具返回值、git:changed 通知、SCM UI 与 Editor 插件共用。
27
7
  */
28
-
29
- declare const gitTools: MCPTool[];
30
-
31
8
  type GitChangeKind = 'added' | 'modified' | 'deleted' | 'renamed' | 'untracked' | 'conflicted' | 'unknown';
32
9
  type GitLineChangeKind = 'added' | 'modified' | 'deleted';
33
10
  interface GitFileChange {
@@ -72,6 +49,34 @@ interface GitStatusResult {
72
49
  ignoredPaths?: string[];
73
50
  }
74
51
 
52
+ /**
53
+ * File MCP Tools
54
+ *
55
+ * 文件系统读写、传输与剪贴板能力。
56
+ */
57
+
58
+ declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
59
+ declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
60
+ declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
61
+ declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
62
+ declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
63
+ declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
64
+ declare const fileUrlEvidenceOutputSchema: MCPToolInputSchema;
65
+ declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
66
+ declare const shellSessionOpenEvidenceOutputSchema: MCPToolInputSchema;
67
+ declare const shellSessionRunEvidenceOutputSchema: MCPToolInputSchema;
68
+ declare const shellSessionSignalEvidenceOutputSchema: MCPToolInputSchema;
69
+ declare const shellSessionCloseEvidenceOutputSchema: MCPToolInputSchema;
70
+ declare const fileTools: MCPTool[];
71
+
72
+ declare const editorTools: MCPTool[];
73
+
74
+ /**
75
+ * Git MCP Tools
76
+ */
77
+
78
+ declare const gitTools: MCPTool[];
79
+
75
80
  /**
76
81
  * Shell MCP Tools
77
82
  *
@@ -303,6 +308,7 @@ interface SeastudioBrowserTab {
303
308
  canGoBack: boolean;
304
309
  canGoForward: boolean;
305
310
  certificateError?: SeastudioBrowserCertificateError | null;
311
+ ownerInstanceId?: string;
306
312
  }
307
313
  interface SeastudioBrowserState {
308
314
  browserSessionId: string;
@@ -437,14 +443,20 @@ declare const seastudio: {
437
443
  list: () => Promise<{
438
444
  sessions: SeastudioBrowserSession[];
439
445
  }>;
440
- get: (browserSessionId: string) => Promise<SeastudioBrowserSession>;
441
- close: (browserSessionId: string) => Promise<{
446
+ get: (browserSessionId?: string) => Promise<SeastudioBrowserSession>;
447
+ close: (browserSessionId?: string) => Promise<{
442
448
  browserSessionId: string;
443
449
  closed: boolean;
444
450
  }>;
445
451
  };
452
+ show: (url: string) => Promise<{
453
+ url: string;
454
+ browserSessionId: string;
455
+ instanceId?: string;
456
+ tab?: SeastudioBrowserTab;
457
+ }>;
446
458
  tab: {
447
- create: (browserSessionId: string, url?: string) => Promise<{
459
+ create: (browserSessionId?: string, url?: string, ownerInstanceId?: string) => Promise<{
448
460
  browserSessionId: string;
449
461
  tab: SeastudioBrowserTab;
450
462
  activeTabId: string;
@@ -475,9 +487,15 @@ declare const seastudio: {
475
487
  stop: (browserSessionId: string, tabId: string) => Promise<{
476
488
  ok: boolean;
477
489
  }>;
490
+ getOrCreateForInstance: (ownerInstanceId: string, url?: string) => Promise<{
491
+ browserSessionId: string;
492
+ tab: SeastudioBrowserTab;
493
+ activeTabId: string;
494
+ created: boolean;
495
+ }>;
478
496
  };
479
497
  viewport: {
480
- bind: (browserSessionId: string, rect: SeastudioBrowserRect, ownerInstanceId?: string) => Promise<SeastudioBrowserViewportBinding>;
498
+ bind: (browserSessionId: string | undefined, rect: SeastudioBrowserRect, ownerInstanceId?: string) => Promise<SeastudioBrowserViewportBinding>;
481
499
  };
482
500
  certificate: {
483
501
  respond: (browserSessionId: string, requestId: string, allow: boolean) => Promise<{
@@ -529,6 +547,7 @@ declare const projectTools: MCPTool[];
529
547
 
530
548
  declare const skillTools: MCPTool[];
531
549
 
550
+ declare const SINGLETON_BROWSER_SESSION_ID = "browser-session-default";
532
551
  declare const browserRuntimeTools: MCPTool[];
533
552
 
534
553
  /**
@@ -653,10 +672,15 @@ declare const SeastudioNotifications: {
653
672
  * 通过 notifications/publish + publishTo 定向到对应 Agent 实例。
654
673
  */
655
674
  readonly SESSION_DELETE_REQUESTED: "session:delete_requested";
675
+ /**
676
+ * SeaStudio 主窗口前后台变化(blur/focus)。
677
+ * Agent 订阅后同步后端 host visibility,用于 session 完成 unread 策略。
678
+ */
679
+ readonly HOST_APP_VISIBILITY: "host:app_visibility";
656
680
  };
657
681
 
658
- /** 项目根在 MCP 文件工具中的寻址 id */
659
- type SeastudioRootId = 'workspace' | `proj-${string}`;
682
+ /** 项目根在 MCP 文件工具中的寻址 id;browser 表示 URL 资源根 */
683
+ type SeastudioRootId = 'workspace' | 'browser' | `proj-${string}`;
660
684
  type SeastudioDragRootId = SeastudioRootId;
661
685
  /**
662
686
  * files:changed 通知参数
@@ -903,7 +927,7 @@ interface SessionCreatedParams extends SessionNotificationBase {
903
927
  /** 可选:状态文案,供 tooltip 展示 */
904
928
  statusLabel?: string;
905
929
  }
906
- type SessionSelectedReason = 'user' | 'agent' | 'host' | 'host_restore';
930
+ type SessionSelectedReason = 'user' | 'agent' | 'host' | 'host_restore' | 'host_foreground';
907
931
  interface SessionSelectedParams extends Omit<SessionNotificationBase, 'sessionId'> {
908
932
  /** Agent 侧对话 session 标识;null 表示进入无会话状态 */
909
933
  sessionId: string | null;
@@ -970,6 +994,13 @@ interface SessionDeleteRequestedParams {
970
994
  projectId?: string;
971
995
  reason?: 'host_sidebar';
972
996
  }
997
+ /** 宿主主窗口前后台变化(blur/focus) */
998
+ interface HostAppVisibilityParams {
999
+ agentInstanceId: string;
1000
+ projectId?: string;
1001
+ /** true = focus/前台,false = blur/后台 */
1002
+ foreground: boolean;
1003
+ }
973
1004
 
974
1005
  /**
975
1006
  * SeaStudio MCP Module
@@ -980,4 +1011,4 @@ interface SessionDeleteRequestedParams {
980
1011
  declare const allTools: MCPTool[];
981
1012
  declare const tools: MCPTool[];
982
1013
 
983
- 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 PluginTabTitleChangedParams, type ProposalChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type ProposalRecord, type ProposalRequestedFile, type ProposalRequestedHunk, type ProposalRequestedParams, type ProposalStatus, 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 SeastudioEditorProposalAction, type SeastudioEditorProposalOptions, type SeastudioEditorProposeOptions, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, 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, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
1014
+ 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 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, 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 { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, editorTools, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-QA7XGPJX.js';
1
+ export { SINGLETON_BROWSER_SESSION_ID, SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, editorTools, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, gitTools, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-FC5C47PU.js';
2
2
  import '../../chunk-TJ3CGHWJ.js';