@seastudio/sdk 3.6.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-BFJ2EFTV.js → chunk-2DFXLVWC.js} +1 -1
- package/dist/{chunk-N4KBTMOV.cjs → chunk-6ZZFSVSZ.cjs} +4 -4
- package/dist/{chunk-UFFMPHL3.js → chunk-GZRP7JKO.js} +177 -74
- package/dist/{chunk-NP6AI7I4.cjs → chunk-HAFMJ47Q.cjs} +177 -74
- package/dist/index.cjs +24 -24
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp/core/index.d.cts +2 -2
- package/dist/mcp/core/index.d.ts +2 -2
- package/dist/mcp/index.cjs +24 -24
- package/dist/mcp/index.d.cts +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/seastudio/index.cjs +32 -32
- package/dist/mcp/seastudio/index.d.cts +78 -51
- package/dist/mcp/seastudio/index.d.ts +78 -51
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/{types-BZaBjaZh.d.cts → types-D7xY0bt6.d.cts} +1 -1
- package/dist/{types-BZaBjaZh.d.ts → types-D7xY0bt6.d.ts} +1 -1
- package/package.json +1 -1
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk6ZZFSVSZ_cjs = require('../chunk-6ZZFSVSZ.cjs');
|
|
4
|
+
var chunkHAFMJ47Q_cjs = require('../chunk-HAFMJ47Q.cjs');
|
|
5
5
|
var chunk3I7UM66P_cjs = require('../chunk-3I7UM66P.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk6ZZFSVSZ_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk6ZZFSVSZ_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk6ZZFSVSZ_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioNotifications; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioRequests; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentManagementTools; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentTabTools; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fileTools", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkHAFMJ47Q_cjs.fileTools; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginManagementTools; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginTabTools; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkHAFMJ47Q_cjs.seaCloudTools; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "seastudio", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkHAFMJ47Q_cjs.seastudio; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkHAFMJ47Q_cjs.allTools; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "seastudioTools", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkHAFMJ47Q_cjs.tools; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "shellTools", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellTools; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "MCPClient", {
|
|
98
98
|
enumerable: true,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-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
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
|
|
5
5
|
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../types-D7xY0bt6.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, b as JSONRPCMessage, c as JSONRPCNotification, d as JSONRPCRequest, e as JSONRPCResponse, M as MCPMessageEnvelope, f as MCPMethod, i as MCPToolCallRequest, k as MCPToolResult, N as NotificationHandler, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../types-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
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
|
|
5
5
|
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-
|
|
2
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-2DFXLVWC.js';
|
|
2
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-GZRP7JKO.js';
|
|
3
3
|
export { MCPClient, MCPServer, PostMessageTransport, callHostTool, callHostToolText, createMCPClient, createMCPServer, createNotification, createRequest, createResponse, getDefaultClient, getDefaultServer, getDefaultTransport, isMCPMessage, isNotification, normalizeMCPTool, normalizeMCPToolInputSchema, normalizeMCPToolObjectSchema, setDefaultClient, setDefaultTransport, startDefaultServer } from '../chunk-TJ3CGHWJ.js';
|
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHAFMJ47Q_cjs = require('../../chunk-HAFMJ47Q.cjs');
|
|
4
4
|
require('../../chunk-3I7UM66P.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioNotifications; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioRequests; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentManagementTools; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentTabTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentTabTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "allTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHAFMJ47Q_cjs.allTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "annotateTool", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkHAFMJ47Q_cjs.annotateTool; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkHAFMJ47Q_cjs.batchFlattenCopyEvidenceOutputSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "browserRuntimeTools", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHAFMJ47Q_cjs.browserRuntimeTools; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "callTool", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkHAFMJ47Q_cjs.callTool; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "callToolText", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkHAFMJ47Q_cjs.callToolText; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkHAFMJ47Q_cjs.dualPathEvidenceOutputSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkHAFMJ47Q_cjs.fileDownloadEvidenceOutputSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "fileTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkHAFMJ47Q_cjs.fileTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkHAFMJ47Q_cjs.fileUrlEvidenceOutputSchema; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginManagementTools; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginTabTools; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "projectTools", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkHAFMJ47Q_cjs.projectTools; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "request", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkHAFMJ47Q_cjs.request; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkHAFMJ47Q_cjs.rootedPathEvidenceOutputSchema; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkHAFMJ47Q_cjs.rootedWriteEvidenceOutputSchema; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "runOneShotShellCommand", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkHAFMJ47Q_cjs.runOneShotShellCommand; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkHAFMJ47Q_cjs.seaCloudTools; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "seastudio", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkHAFMJ47Q_cjs.seastudio; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellSessionCloseEvidenceOutputSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellSessionOpenEvidenceOutputSchema; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellSessionRunEvidenceOutputSchema; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellSessionSignalEvidenceOutputSchema; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellSessionSnapshotEvidenceOutputSchema; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "shellTools", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellTools; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "skillTools", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkHAFMJ47Q_cjs.skillTools; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "tools", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkHAFMJ47Q_cjs.tools; }
|
|
131
131
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-D7xY0bt6.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* File MCP Tools
|
|
@@ -217,15 +217,33 @@ interface SeastudioBrowserTab {
|
|
|
217
217
|
certificateError?: SeastudioBrowserCertificateError | null;
|
|
218
218
|
}
|
|
219
219
|
interface SeastudioBrowserState {
|
|
220
|
+
browserSessionId: string;
|
|
221
|
+
label?: string;
|
|
222
|
+
partitionKey: string;
|
|
223
|
+
homepage: string;
|
|
220
224
|
tabs: SeastudioBrowserTab[];
|
|
221
225
|
activeTabId: string | null;
|
|
222
226
|
}
|
|
227
|
+
interface SeastudioBrowserSession extends SeastudioBrowserState {
|
|
228
|
+
createdAt: number;
|
|
229
|
+
updatedAt: number;
|
|
230
|
+
}
|
|
231
|
+
interface SeastudioBrowserSessionOpenOptions {
|
|
232
|
+
label?: string;
|
|
233
|
+
partitionKey?: string;
|
|
234
|
+
homepage?: string;
|
|
235
|
+
}
|
|
223
236
|
interface SeastudioBrowserRect {
|
|
224
237
|
x: number;
|
|
225
238
|
y: number;
|
|
226
239
|
width: number;
|
|
227
240
|
height: number;
|
|
228
241
|
}
|
|
242
|
+
interface SeastudioBrowserViewportBinding {
|
|
243
|
+
browserSessionId: string;
|
|
244
|
+
ownerInstanceId?: string;
|
|
245
|
+
rect: SeastudioBrowserRect;
|
|
246
|
+
}
|
|
229
247
|
declare function callTool(name: string, args?: Record<string, unknown>): Promise<MCPToolResult>;
|
|
230
248
|
declare function request<T = unknown>(method: string, params?: Record<string, unknown>): Promise<T>;
|
|
231
249
|
declare function callToolText(name: string, args?: Record<string, unknown>): Promise<string>;
|
|
@@ -281,40 +299,58 @@ declare const seastudio: {
|
|
|
281
299
|
};
|
|
282
300
|
};
|
|
283
301
|
browser: {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
302
|
+
session: {
|
|
303
|
+
open: (options?: SeastudioBrowserSessionOpenOptions) => Promise<SeastudioBrowserSession>;
|
|
304
|
+
list: () => Promise<{
|
|
305
|
+
sessions: SeastudioBrowserSession[];
|
|
306
|
+
}>;
|
|
307
|
+
get: (browserSessionId: string) => Promise<SeastudioBrowserSession>;
|
|
308
|
+
close: (browserSessionId: string) => Promise<{
|
|
309
|
+
browserSessionId: string;
|
|
310
|
+
closed: boolean;
|
|
311
|
+
}>;
|
|
312
|
+
};
|
|
313
|
+
tab: {
|
|
314
|
+
create: (browserSessionId: string, url?: string) => Promise<{
|
|
315
|
+
browserSessionId: string;
|
|
316
|
+
tab: SeastudioBrowserTab;
|
|
317
|
+
activeTabId: string;
|
|
318
|
+
}>;
|
|
319
|
+
close: (browserSessionId: string, tabId: string) => Promise<{
|
|
320
|
+
browserSessionId: string;
|
|
321
|
+
closedTabId: string;
|
|
322
|
+
activeTabId: string | null;
|
|
323
|
+
}>;
|
|
324
|
+
activate: (browserSessionId: string, tabId: string) => Promise<{
|
|
325
|
+
browserSessionId: string;
|
|
326
|
+
activeTabId: string;
|
|
327
|
+
}>;
|
|
328
|
+
navigate: (browserSessionId: string, tabId: string, url: string) => Promise<{
|
|
329
|
+
browserSessionId: string;
|
|
330
|
+
tabId: string;
|
|
331
|
+
url: string;
|
|
332
|
+
}>;
|
|
333
|
+
goBack: (browserSessionId: string, tabId: string) => Promise<{
|
|
334
|
+
ok: boolean;
|
|
335
|
+
}>;
|
|
336
|
+
goForward: (browserSessionId: string, tabId: string) => Promise<{
|
|
337
|
+
ok: boolean;
|
|
338
|
+
}>;
|
|
339
|
+
reload: (browserSessionId: string, tabId: string) => Promise<{
|
|
340
|
+
ok: boolean;
|
|
341
|
+
}>;
|
|
342
|
+
stop: (browserSessionId: string, tabId: string) => Promise<{
|
|
343
|
+
ok: boolean;
|
|
344
|
+
}>;
|
|
345
|
+
};
|
|
346
|
+
viewport: {
|
|
347
|
+
bind: (browserSessionId: string, rect: SeastudioBrowserRect, ownerInstanceId?: string) => Promise<SeastudioBrowserViewportBinding>;
|
|
348
|
+
};
|
|
349
|
+
certificate: {
|
|
350
|
+
respond: (browserSessionId: string, requestId: string, allow: boolean) => Promise<{
|
|
351
|
+
ok: boolean;
|
|
352
|
+
}>;
|
|
353
|
+
};
|
|
318
354
|
};
|
|
319
355
|
};
|
|
320
356
|
/**
|
|
@@ -364,13 +400,6 @@ declare const projectTools: MCPTool[];
|
|
|
364
400
|
|
|
365
401
|
declare const skillTools: MCPTool[];
|
|
366
402
|
|
|
367
|
-
/**
|
|
368
|
-
* Browser Runtime MCP Tools
|
|
369
|
-
*
|
|
370
|
-
* 这些定义描述 browser runtime bridge 支持的协议能力。
|
|
371
|
-
* 插件通过标准 MCP tools/call 调用,宿主在声明 browser runtime capability 后实现这些工具。
|
|
372
|
-
*/
|
|
373
|
-
|
|
374
403
|
declare const browserRuntimeTools: MCPTool[];
|
|
375
404
|
|
|
376
405
|
/**
|
|
@@ -455,15 +484,13 @@ declare const SeastudioNotifications: {
|
|
|
455
484
|
readonly PROPOSAL_FEEDBACK: "seastudio:proposal-feedback";
|
|
456
485
|
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
457
486
|
readonly PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed";
|
|
458
|
-
/** Browser
|
|
459
|
-
readonly
|
|
460
|
-
/** Browser
|
|
461
|
-
readonly
|
|
462
|
-
/** Browser
|
|
463
|
-
readonly BROWSER_LOAD_STATE_CHANGED: "browser:load_state_changed";
|
|
464
|
-
/** Browser runtime 证书错误,需要插件 UI 决策 */
|
|
487
|
+
/** Browser Session 状态变化 */
|
|
488
|
+
readonly BROWSER_SESSION_CHANGED: "browser:session_changed";
|
|
489
|
+
/** Browser Session 关闭 */
|
|
490
|
+
readonly BROWSER_SESSION_CLOSED: "browser:session_closed";
|
|
491
|
+
/** Browser Session 证书错误,需要客户端 UI 决策 */
|
|
465
492
|
readonly BROWSER_CERTIFICATE_ERROR: "browser:certificate_error";
|
|
466
|
-
/** Browser
|
|
493
|
+
/** Browser Session 收到网页新标签请求 */
|
|
467
494
|
readonly BROWSER_NEW_TAB_REQUESTED: "browser:new_tab_requested";
|
|
468
495
|
/**
|
|
469
496
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
|
@@ -771,4 +798,4 @@ interface SessionDeleteRequestedParams {
|
|
|
771
798
|
declare const allTools: MCPTool[];
|
|
772
799
|
declare const tools: MCPTool[];
|
|
773
800
|
|
|
774
|
-
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
801
|
+
export { type AgentInstanceSessionSnapshot, type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type PluginTabTitleChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, type SeastudioBrowserCertificateError, type SeastudioBrowserRect, type SeastudioBrowserSession, type SeastudioBrowserSessionOpenOptions, type SeastudioBrowserState, type SeastudioBrowserStatus, type SeastudioBrowserTab, type SeastudioBrowserViewportBinding, type SeastudioDragDropParams, type SeastudioDragEnterParams, type SeastudioDragFileData, type SeastudioDragRootId, type SeastudioDragStartParams, type SeastudioFileDownloadOptions, type SeastudioFileInfo, type SeastudioFileInfoOptions, type SeastudioFileListOptions, type SeastudioFileReadOptions, type SeastudioFileSearchMatch, type SeastudioFileSearchOptions, type SeastudioFileTransferOptions, type SeastudioFileTreeOptions, type SeastudioFilesystemRoot, type SeastudioFilesystemRootId, SeastudioNotifications, type SeastudioProjectInfo, SeastudioRequests, type SeastudioRootId, type SeastudioShellCloseResult, type SeastudioShellEntry, type SeastudioShellEntryLevel, type SeastudioShellGetEntriesOptions, type SeastudioShellGetEntriesResult, type SeastudioShellKind, type SeastudioShellOneShotResult, type SeastudioShellOpenOptions, type SeastudioShellRunOptions, type SeastudioShellRunResult, type SeastudioShellSession, type SeastudioShellSignalResult, type SeastudioShellWaitResult, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type SessionCreatedParams, type SessionDeleteRequestedParams, type SessionNewRequestedParams, type SessionNotificationBase, type SessionRemovedParams, type SessionSelectedParams, type SessionSelectedReason, type SessionSnapshotItem, type SessionStateSnapshotParams, type SessionStatus, type SessionStatusParams, type SessionSummaryParams, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, browserRuntimeTools, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, fileUrlEvidenceOutputSchema, pluginManagementTools, pluginTabTools, projectTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, runOneShotShellCommand, seaCloudTools, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|