@seastudio/sdk 4.0.15 → 4.0.18
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/README.md +57 -92
- package/dist/{chunk-AIKVFI4X.js → chunk-IAAA5JF6.js} +33 -37
- package/dist/{chunk-P6WQYTHO.js → chunk-LMANS2IQ.js} +2 -2
- package/dist/{chunk-CYXHI776.cjs → chunk-M5UESV5E.cjs} +32 -37
- package/dist/{chunk-RMXIQTXC.cjs → chunk-UIRFMS2U.cjs} +4 -4
- package/dist/index.cjs +23 -27
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp/index.cjs +23 -27
- 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 +35 -39
- package/dist/mcp/seastudio/index.d.cts +63 -9
- package/dist/mcp/seastudio/index.d.ts +63 -9
- package/dist/mcp/seastudio/index.js +1 -1
- package/package.json +10 -8
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-LMANS2IQ.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,
|
|
3
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-IAAA5JF6.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';
|
package/dist/mcp/index.cjs
CHANGED
|
@@ -1,98 +1,94 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkUIRFMS2U_cjs = require('../chunk-UIRFMS2U.cjs');
|
|
4
|
+
var chunkM5UESV5E_cjs = require('../chunk-M5UESV5E.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 chunkUIRFMS2U_cjs.MCP_PACKAGES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkUIRFMS2U_cjs.getMCPPackageIdForTool; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkUIRFMS2U_cjs.getMCPPackages; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkUIRFMS2U_cjs.getMCPToolPackageIndex; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUIRFMS2U_cjs.getToolsForLLM; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "listAllTools", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkUIRFMS2U_cjs.listAllTools; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkUIRFMS2U_cjs.listAvailableTools; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkUIRFMS2U_cjs.listAvailableToolsForLLM; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "loadPlugin", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkUIRFMS2U_cjs.loadPlugin; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkUIRFMS2U_cjs.mcpToolToOpenAI; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkM5UESV5E_cjs.SeastudioNotifications; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkM5UESV5E_cjs.SeastudioRequests; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkM5UESV5E_cjs.agentManagementTools; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "agentTabTools", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkM5UESV5E_cjs.agentTabTools; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fileTools", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkM5UESV5E_cjs.fileTools; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkM5UESV5E_cjs.pluginManagementTools; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports, "seaCloudTools", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function () { return chunkCYXHI776_cjs.seaCloudTools; }
|
|
75
|
+
get: function () { return chunkM5UESV5E_cjs.pluginTabTools; }
|
|
80
76
|
});
|
|
81
77
|
Object.defineProperty(exports, "seastudio", {
|
|
82
78
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkM5UESV5E_cjs.seastudio; }
|
|
84
80
|
});
|
|
85
81
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
86
82
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkM5UESV5E_cjs.allTools; }
|
|
88
84
|
});
|
|
89
85
|
Object.defineProperty(exports, "seastudioTools", {
|
|
90
86
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkM5UESV5E_cjs.tools; }
|
|
92
88
|
});
|
|
93
89
|
Object.defineProperty(exports, "shellTools", {
|
|
94
90
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkM5UESV5E_cjs.shellTools; }
|
|
96
92
|
});
|
|
97
93
|
Object.defineProperty(exports, "MCPClient", {
|
|
98
94
|
enumerable: true,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -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, GitChangeKind, GitChangedParams, GitFileChange, GitLineChange, GitLineChangeKind, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools,
|
|
4
|
+
export { AuthSessionChangedParams, AuthSessionStatus, AuthSessionUser, FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, GitBranchInfo, GitBranchesResult, GitChangeKind, GitChangedParams, GitCommitRef, GitCommitRefType, GitFileChange, GitLineChange, GitLineChangeKind, GitLogCommit, GitLogResult, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* MCP Module Entry
|
|
@@ -14,7 +14,7 @@ declare function loadPlugin(pluginName: string): Promise<unknown>;
|
|
|
14
14
|
declare const MCP_PACKAGES: readonly [{
|
|
15
15
|
readonly id: "seastudio";
|
|
16
16
|
readonly name: "SeaStudio";
|
|
17
|
-
readonly description: "文件/Shell/
|
|
17
|
+
readonly description: "文件/Shell/Git/插件基础能力";
|
|
18
18
|
readonly tools: MCPTool[];
|
|
19
19
|
}];
|
|
20
20
|
type MCPPackageId = string;
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -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, GitChangeKind, GitChangedParams, GitFileChange, GitLineChange, GitLineChangeKind, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools,
|
|
4
|
+
export { AuthSessionChangedParams, AuthSessionStatus, AuthSessionUser, FileKeepRequestedParams, FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, GitBranchInfo, GitBranchesResult, GitChangeKind, GitChangedParams, GitCommitRef, GitCommitRefType, GitFileChange, GitLineChange, GitLineChangeKind, GitLogCommit, GitLogResult, GitOpenDiffRequestedParams, GitStatusResult, GitSummary, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './seastudio/index.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* MCP Module Entry
|
|
@@ -14,7 +14,7 @@ declare function loadPlugin(pluginName: string): Promise<unknown>;
|
|
|
14
14
|
declare const MCP_PACKAGES: readonly [{
|
|
15
15
|
readonly id: "seastudio";
|
|
16
16
|
readonly name: "SeaStudio";
|
|
17
|
-
readonly description: "文件/Shell/
|
|
17
|
+
readonly description: "文件/Shell/Git/插件基础能力";
|
|
18
18
|
readonly tools: MCPTool[];
|
|
19
19
|
}];
|
|
20
20
|
type MCPPackageId = string;
|
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,
|
|
1
|
+
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from '../chunk-LMANS2IQ.js';
|
|
2
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from '../chunk-IAAA5JF6.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,143 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM5UESV5E_cjs = require('../../chunk-M5UESV5E.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
|
|
10
|
+
get: function () { return chunkM5UESV5E_cjs.SINGLETON_BROWSER_SESSION_ID; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkM5UESV5E_cjs.SeastudioNotifications; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkM5UESV5E_cjs.SeastudioRequests; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkM5UESV5E_cjs.agentManagementTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "agentTabTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkM5UESV5E_cjs.agentTabTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "allTools", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkM5UESV5E_cjs.allTools; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "annotateTool", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkM5UESV5E_cjs.annotateTool; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "batchFlattenCopyEvidenceOutputSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkM5UESV5E_cjs.batchFlattenCopyEvidenceOutputSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "browserRuntimeTools", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkM5UESV5E_cjs.browserRuntimeTools; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "callTool", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkM5UESV5E_cjs.callTool; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "callToolText", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkM5UESV5E_cjs.callToolText; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "dualPathEvidenceOutputSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkM5UESV5E_cjs.dualPathEvidenceOutputSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "editorTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkM5UESV5E_cjs.editorTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "fileDownloadEvidenceOutputSchema", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkM5UESV5E_cjs.fileDownloadEvidenceOutputSchema; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "fileSaveAsEvidenceOutputSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkM5UESV5E_cjs.fileSaveAsEvidenceOutputSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "fileTools", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkM5UESV5E_cjs.fileTools; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "fileUrlEvidenceOutputSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkM5UESV5E_cjs.fileUrlEvidenceOutputSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "gitTools", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkM5UESV5E_cjs.gitTools; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkM5UESV5E_cjs.pluginManagementTools; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkM5UESV5E_cjs.pluginTabTools; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "projectTools", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkM5UESV5E_cjs.projectTools; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "request", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkM5UESV5E_cjs.request; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "rootedPathEvidenceOutputSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkM5UESV5E_cjs.rootedPathEvidenceOutputSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "rootedWriteEvidenceOutputSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkM5UESV5E_cjs.rootedWriteEvidenceOutputSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "runOneShotShellCommand", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, "seaCloudTools", {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () { return chunkCYXHI776_cjs.seaCloudTools; }
|
|
106
|
+
get: function () { return chunkM5UESV5E_cjs.runOneShotShellCommand; }
|
|
111
107
|
});
|
|
112
108
|
Object.defineProperty(exports, "seastudio", {
|
|
113
109
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkM5UESV5E_cjs.seastudio; }
|
|
115
111
|
});
|
|
116
112
|
Object.defineProperty(exports, "shellSessionCloseEvidenceOutputSchema", {
|
|
117
113
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkM5UESV5E_cjs.shellSessionCloseEvidenceOutputSchema; }
|
|
119
115
|
});
|
|
120
116
|
Object.defineProperty(exports, "shellSessionOpenEvidenceOutputSchema", {
|
|
121
117
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkM5UESV5E_cjs.shellSessionOpenEvidenceOutputSchema; }
|
|
123
119
|
});
|
|
124
120
|
Object.defineProperty(exports, "shellSessionRunEvidenceOutputSchema", {
|
|
125
121
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkM5UESV5E_cjs.shellSessionRunEvidenceOutputSchema; }
|
|
127
123
|
});
|
|
128
124
|
Object.defineProperty(exports, "shellSessionSignalEvidenceOutputSchema", {
|
|
129
125
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkM5UESV5E_cjs.shellSessionSignalEvidenceOutputSchema; }
|
|
131
127
|
});
|
|
132
128
|
Object.defineProperty(exports, "shellSessionSnapshotEvidenceOutputSchema", {
|
|
133
129
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkM5UESV5E_cjs.shellSessionSnapshotEvidenceOutputSchema; }
|
|
135
131
|
});
|
|
136
132
|
Object.defineProperty(exports, "shellTools", {
|
|
137
133
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkM5UESV5E_cjs.shellTools; }
|
|
139
135
|
});
|
|
140
136
|
Object.defineProperty(exports, "skillTools", {
|
|
141
137
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkM5UESV5E_cjs.skillTools; }
|
|
143
139
|
});
|
|
144
140
|
Object.defineProperty(exports, "tools", {
|
|
145
141
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkM5UESV5E_cjs.tools; }
|
|
147
143
|
});
|
|
@@ -48,6 +48,50 @@ interface GitStatusResult {
|
|
|
48
48
|
isRepository: boolean;
|
|
49
49
|
ignoredPaths?: string[];
|
|
50
50
|
}
|
|
51
|
+
interface GitBranchInfo {
|
|
52
|
+
/** Short ref name, e.g. `main` or `origin/main` */
|
|
53
|
+
name: string;
|
|
54
|
+
isRemote: boolean;
|
|
55
|
+
/** Remote name for remote branches, e.g. `origin` */
|
|
56
|
+
remote?: string;
|
|
57
|
+
isCurrent: boolean;
|
|
58
|
+
/** Upstream short name for local branches, e.g. `origin/main` */
|
|
59
|
+
upstream?: string;
|
|
60
|
+
ahead: number;
|
|
61
|
+
behind: number;
|
|
62
|
+
tipHash: string;
|
|
63
|
+
tipSubject?: string;
|
|
64
|
+
/** ISO committer date of the branch tip */
|
|
65
|
+
tipDate?: string;
|
|
66
|
+
}
|
|
67
|
+
interface GitBranchesResult {
|
|
68
|
+
/** Current branch short name, null when detached HEAD */
|
|
69
|
+
current: string | null;
|
|
70
|
+
detachedHash?: string;
|
|
71
|
+
branches: GitBranchInfo[];
|
|
72
|
+
remotes: string[];
|
|
73
|
+
}
|
|
74
|
+
type GitCommitRefType = 'head' | 'localBranch' | 'remoteBranch' | 'tag';
|
|
75
|
+
interface GitCommitRef {
|
|
76
|
+
name: string;
|
|
77
|
+
type: GitCommitRefType;
|
|
78
|
+
}
|
|
79
|
+
interface GitLogCommit {
|
|
80
|
+
hash: string;
|
|
81
|
+
parents: string[];
|
|
82
|
+
subject: string;
|
|
83
|
+
author: string;
|
|
84
|
+
authorEmail?: string;
|
|
85
|
+
/** ISO author date */
|
|
86
|
+
date: string;
|
|
87
|
+
refs: GitCommitRef[];
|
|
88
|
+
}
|
|
89
|
+
interface GitLogResult {
|
|
90
|
+
commits: GitLogCommit[];
|
|
91
|
+
/** Hash of HEAD commit, null for empty repository */
|
|
92
|
+
headHash: string | null;
|
|
93
|
+
hasMore: boolean;
|
|
94
|
+
}
|
|
51
95
|
|
|
52
96
|
/**
|
|
53
97
|
* File MCP Tools
|
|
@@ -86,14 +130,6 @@ declare const gitTools: MCPTool[];
|
|
|
86
130
|
|
|
87
131
|
declare const shellTools: MCPTool[];
|
|
88
132
|
|
|
89
|
-
/**
|
|
90
|
-
* AIGC MCP Tools
|
|
91
|
-
*
|
|
92
|
-
* SeaCloud 多模态生成能力。
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
declare const seaCloudTools: MCPTool[];
|
|
96
|
-
|
|
97
133
|
/**
|
|
98
134
|
* SeaStudio MCP Client Helpers
|
|
99
135
|
*
|
|
@@ -701,6 +737,8 @@ declare const SeastudioNotifications: {
|
|
|
701
737
|
readonly HOST_APP_VISIBILITY: "host:app_visibility";
|
|
702
738
|
/** Host MCP tools/list 发生变化(例如 Seaflow bridge 动态注册工具) */
|
|
703
739
|
readonly RUNTIME_TOOLS_CHANGED: "mcp:runtime_tools_changed";
|
|
740
|
+
/** 主程序用户登录态变化;不包含访问令牌 */
|
|
741
|
+
readonly AUTH_SESSION_CHANGED: "auth:session_changed";
|
|
704
742
|
};
|
|
705
743
|
|
|
706
744
|
/** 项目根在 MCP 文件工具中的寻址 id;browser 表示 URL 资源根 */
|
|
@@ -756,6 +794,22 @@ interface RootsChangedParams {
|
|
|
756
794
|
description: string;
|
|
757
795
|
}>;
|
|
758
796
|
}
|
|
797
|
+
type AuthSessionStatus = 'anonymous' | 'authenticated' | 'expired';
|
|
798
|
+
interface AuthSessionUser {
|
|
799
|
+
id: string;
|
|
800
|
+
unionId?: string;
|
|
801
|
+
email?: string;
|
|
802
|
+
name?: string;
|
|
803
|
+
avatar?: string;
|
|
804
|
+
appId?: string;
|
|
805
|
+
}
|
|
806
|
+
interface AuthSessionChangedParams {
|
|
807
|
+
event: 'INITIAL_SESSION' | 'SIGNED_IN' | 'SIGNED_OUT' | 'TOKEN_REFRESHED' | 'USER_UPDATED';
|
|
808
|
+
session: {
|
|
809
|
+
status: AuthSessionStatus;
|
|
810
|
+
user: AuthSessionUser | null;
|
|
811
|
+
};
|
|
812
|
+
}
|
|
759
813
|
interface SeastudioDragFileData {
|
|
760
814
|
sourcePath: string;
|
|
761
815
|
sourceRootId?: SeastudioDragRootId;
|
|
@@ -1044,4 +1098,4 @@ interface HostAppVisibilityParams {
|
|
|
1044
1098
|
declare const allTools: MCPTool[];
|
|
1045
1099
|
declare const tools: MCPTool[];
|
|
1046
1100
|
|
|
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,
|
|
1101
|
+
export { type AgentInstanceSessionSnapshot, type AuthSessionChangedParams, type AuthSessionStatus, type AuthSessionUser, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitBranchInfo, type GitBranchesResult, type GitChangeKind, type GitChangedParams, type GitCommitRef, type GitCommitRefType, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitLogCommit, type GitLogResult, 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, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools };
|
|
@@ -48,6 +48,50 @@ interface GitStatusResult {
|
|
|
48
48
|
isRepository: boolean;
|
|
49
49
|
ignoredPaths?: string[];
|
|
50
50
|
}
|
|
51
|
+
interface GitBranchInfo {
|
|
52
|
+
/** Short ref name, e.g. `main` or `origin/main` */
|
|
53
|
+
name: string;
|
|
54
|
+
isRemote: boolean;
|
|
55
|
+
/** Remote name for remote branches, e.g. `origin` */
|
|
56
|
+
remote?: string;
|
|
57
|
+
isCurrent: boolean;
|
|
58
|
+
/** Upstream short name for local branches, e.g. `origin/main` */
|
|
59
|
+
upstream?: string;
|
|
60
|
+
ahead: number;
|
|
61
|
+
behind: number;
|
|
62
|
+
tipHash: string;
|
|
63
|
+
tipSubject?: string;
|
|
64
|
+
/** ISO committer date of the branch tip */
|
|
65
|
+
tipDate?: string;
|
|
66
|
+
}
|
|
67
|
+
interface GitBranchesResult {
|
|
68
|
+
/** Current branch short name, null when detached HEAD */
|
|
69
|
+
current: string | null;
|
|
70
|
+
detachedHash?: string;
|
|
71
|
+
branches: GitBranchInfo[];
|
|
72
|
+
remotes: string[];
|
|
73
|
+
}
|
|
74
|
+
type GitCommitRefType = 'head' | 'localBranch' | 'remoteBranch' | 'tag';
|
|
75
|
+
interface GitCommitRef {
|
|
76
|
+
name: string;
|
|
77
|
+
type: GitCommitRefType;
|
|
78
|
+
}
|
|
79
|
+
interface GitLogCommit {
|
|
80
|
+
hash: string;
|
|
81
|
+
parents: string[];
|
|
82
|
+
subject: string;
|
|
83
|
+
author: string;
|
|
84
|
+
authorEmail?: string;
|
|
85
|
+
/** ISO author date */
|
|
86
|
+
date: string;
|
|
87
|
+
refs: GitCommitRef[];
|
|
88
|
+
}
|
|
89
|
+
interface GitLogResult {
|
|
90
|
+
commits: GitLogCommit[];
|
|
91
|
+
/** Hash of HEAD commit, null for empty repository */
|
|
92
|
+
headHash: string | null;
|
|
93
|
+
hasMore: boolean;
|
|
94
|
+
}
|
|
51
95
|
|
|
52
96
|
/**
|
|
53
97
|
* File MCP Tools
|
|
@@ -86,14 +130,6 @@ declare const gitTools: MCPTool[];
|
|
|
86
130
|
|
|
87
131
|
declare const shellTools: MCPTool[];
|
|
88
132
|
|
|
89
|
-
/**
|
|
90
|
-
* AIGC MCP Tools
|
|
91
|
-
*
|
|
92
|
-
* SeaCloud 多模态生成能力。
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
declare const seaCloudTools: MCPTool[];
|
|
96
|
-
|
|
97
133
|
/**
|
|
98
134
|
* SeaStudio MCP Client Helpers
|
|
99
135
|
*
|
|
@@ -701,6 +737,8 @@ declare const SeastudioNotifications: {
|
|
|
701
737
|
readonly HOST_APP_VISIBILITY: "host:app_visibility";
|
|
702
738
|
/** Host MCP tools/list 发生变化(例如 Seaflow bridge 动态注册工具) */
|
|
703
739
|
readonly RUNTIME_TOOLS_CHANGED: "mcp:runtime_tools_changed";
|
|
740
|
+
/** 主程序用户登录态变化;不包含访问令牌 */
|
|
741
|
+
readonly AUTH_SESSION_CHANGED: "auth:session_changed";
|
|
704
742
|
};
|
|
705
743
|
|
|
706
744
|
/** 项目根在 MCP 文件工具中的寻址 id;browser 表示 URL 资源根 */
|
|
@@ -756,6 +794,22 @@ interface RootsChangedParams {
|
|
|
756
794
|
description: string;
|
|
757
795
|
}>;
|
|
758
796
|
}
|
|
797
|
+
type AuthSessionStatus = 'anonymous' | 'authenticated' | 'expired';
|
|
798
|
+
interface AuthSessionUser {
|
|
799
|
+
id: string;
|
|
800
|
+
unionId?: string;
|
|
801
|
+
email?: string;
|
|
802
|
+
name?: string;
|
|
803
|
+
avatar?: string;
|
|
804
|
+
appId?: string;
|
|
805
|
+
}
|
|
806
|
+
interface AuthSessionChangedParams {
|
|
807
|
+
event: 'INITIAL_SESSION' | 'SIGNED_IN' | 'SIGNED_OUT' | 'TOKEN_REFRESHED' | 'USER_UPDATED';
|
|
808
|
+
session: {
|
|
809
|
+
status: AuthSessionStatus;
|
|
810
|
+
user: AuthSessionUser | null;
|
|
811
|
+
};
|
|
812
|
+
}
|
|
759
813
|
interface SeastudioDragFileData {
|
|
760
814
|
sourcePath: string;
|
|
761
815
|
sourceRootId?: SeastudioDragRootId;
|
|
@@ -1044,4 +1098,4 @@ interface HostAppVisibilityParams {
|
|
|
1044
1098
|
declare const allTools: MCPTool[];
|
|
1045
1099
|
declare const tools: MCPTool[];
|
|
1046
1100
|
|
|
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,
|
|
1101
|
+
export { type AgentInstanceSessionSnapshot, type AuthSessionChangedParams, type AuthSessionStatus, type AuthSessionUser, type FileDeletedParams, type FileKeepRequestedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, type FileSavedParams, type FileSelectedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type GitBranchInfo, type GitBranchesResult, type GitChangeKind, type GitChangedParams, type GitCommitRef, type GitCommitRefType, type GitFileChange, type GitLineChange, type GitLineChangeKind, type GitLogCommit, type GitLogResult, 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, 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,
|
|
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, seastudio, shellSessionCloseEvidenceOutputSchema, shellSessionOpenEvidenceOutputSchema, shellSessionRunEvidenceOutputSchema, shellSessionSignalEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, skillTools, tools } from '../../chunk-IAAA5JF6.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.
|
|
3
|
+
"version": "4.0.18",
|
|
4
4
|
"description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -39,11 +39,6 @@
|
|
|
39
39
|
"dist",
|
|
40
40
|
"src/ui/cosmos.css"
|
|
41
41
|
],
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "tsup",
|
|
44
|
-
"dev": "tsup --watch",
|
|
45
|
-
"prepublishOnly": "npm run build"
|
|
46
|
-
},
|
|
47
42
|
"dependencies": {
|
|
48
43
|
"clsx": "^2.1.0",
|
|
49
44
|
"lucide-react": "^0.469.0",
|
|
@@ -67,7 +62,8 @@
|
|
|
67
62
|
],
|
|
68
63
|
"license": "MIT",
|
|
69
64
|
"publishConfig": {
|
|
70
|
-
"access": "public"
|
|
65
|
+
"access": "public",
|
|
66
|
+
"registry": "https://registry.npmjs.org/"
|
|
71
67
|
},
|
|
72
68
|
"repository": {
|
|
73
69
|
"type": "git",
|
|
@@ -76,5 +72,11 @@
|
|
|
76
72
|
"homepage": "https://gitlab.internal.ops.haiyiai.tech/seastudio/seastudio-sdk",
|
|
77
73
|
"bugs": {
|
|
78
74
|
"url": "https://gitlab.internal.ops.haiyiai.tech/seastudio/seastudio-sdk/-/issues"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "tsup",
|
|
78
|
+
"dev": "tsup --watch",
|
|
79
|
+
"release:pack": "pnpm build && rm -rf .release-artifacts && mkdir -p .release-artifacts && pnpm pack --pack-destination .release-artifacts --json > .release-artifacts/pack.json && node scripts/verify-release-artifact.mjs .release-artifacts/seastudio-sdk-$(node -p \"require('./package.json').version\").tgz",
|
|
80
|
+
"release:verify": "node scripts/verify-release-artifact.mjs .release-artifacts/seastudio-sdk-$(node -p \"require('./package.json').version\").tgz"
|
|
79
81
|
}
|
|
80
|
-
}
|
|
82
|
+
}
|