@seastudio/sdk 3.0.1 → 3.0.2
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-G66KY35N.js +334 -0
- package/dist/chunk-ORBVHAAS.cjs +341 -0
- package/dist/{chunk-V7MNKGS7.js → chunk-S2UIBWKA.js} +14 -9
- package/dist/{chunk-AGBZJGTY.cjs → chunk-SUF5BPSK.cjs} +3 -1
- package/dist/{chunk-CSXDT47Y.cjs → chunk-XIPL7VSP.cjs} +15 -10
- package/dist/{chunk-DDVRUPMZ.js → chunk-XU5GEWWL.js} +3 -1
- package/dist/index.cjs +126 -101
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -4
- package/dist/mcp/core/index.d.cts +2 -2
- package/dist/mcp/core/index.d.ts +2 -2
- package/dist/mcp/index.cjs +93 -68
- package/dist/mcp/index.d.cts +8 -2
- package/dist/mcp/index.d.ts +8 -2
- package/dist/mcp/index.js +4 -3
- package/dist/mcp/plugin-editor/index.d.cts +1 -1
- package/dist/mcp/plugin-editor/index.d.ts +1 -1
- package/dist/mcp/plugin-excel/index.d.cts +1 -1
- package/dist/mcp/plugin-excel/index.d.ts +1 -1
- package/dist/mcp/plugin-preview/index.d.cts +1 -1
- package/dist/mcp/plugin-preview/index.d.ts +1 -1
- package/dist/mcp/plugin-seaflow/index.d.cts +1 -1
- package/dist/mcp/plugin-seaflow/index.d.ts +1 -1
- package/dist/mcp/plugin-word/index.cjs +31 -0
- package/dist/mcp/plugin-word/index.d.cts +86 -0
- package/dist/mcp/plugin-word/index.d.ts +86 -0
- package/dist/mcp/plugin-word/index.js +2 -0
- package/dist/mcp/seastudio/index.cjs +18 -18
- package/dist/mcp/seastudio/index.d.cts +34 -2
- package/dist/mcp/seastudio/index.d.ts +34 -2
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/{types-Clgf5gBf.d.cts → types-B1Zqr-0Q.d.cts} +1 -1
- package/dist/{types-Clgf5gBf.d.ts → types-B1Zqr-0Q.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSUF5BPSK_cjs = require('../../chunk-SUF5BPSK.cjs');
|
|
4
4
|
require('../../chunk-TFOJLA2F.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 chunkSUF5BPSK_cjs.SeastudioNotifications; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkSUF5BPSK_cjs.SeastudioRequests; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkSUF5BPSK_cjs.agentManagementTools; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "agentTabTools", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkSUF5BPSK_cjs.agentTabTools; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "allTools", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkSUF5BPSK_cjs.allTools; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "annotateTool", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkSUF5BPSK_cjs.annotateTool; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "batchFileTools", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkSUF5BPSK_cjs.batchFileTools; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "clipboardTools", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkSUF5BPSK_cjs.clipboardTools; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "codeQualityTools", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkSUF5BPSK_cjs.codeQualityTools; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "fileTools", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkSUF5BPSK_cjs.fileTools; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "gitTools", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkSUF5BPSK_cjs.gitTools; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkSUF5BPSK_cjs.pluginManagementTools; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkSUF5BPSK_cjs.pluginTabTools; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkSUF5BPSK_cjs.seaCloudTools; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "seastudio", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkSUF5BPSK_cjs.seastudio; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "shellTools", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkSUF5BPSK_cjs.shellTools; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "tools", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkSUF5BPSK_cjs.tools; }
|
|
75
75
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, k as MCPToolResult, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../../types-
|
|
1
|
+
import { g as MCPTool, k as MCPToolResult, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../../types-B1Zqr-0Q.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Plugin MCP Tools
|
|
@@ -253,6 +253,8 @@ declare const SeastudioNotifications: {
|
|
|
253
253
|
readonly FILE_SEND_REQUESTED: "seastudio:file-send_requested";
|
|
254
254
|
/** 文本发送请求 */
|
|
255
255
|
readonly TEXT_SEND_REQUESTED: "seastudio:text-send_requested";
|
|
256
|
+
/** 代码提案审核反馈 */
|
|
257
|
+
readonly PROPOSAL_FEEDBACK: "seastudio:proposal-feedback";
|
|
256
258
|
};
|
|
257
259
|
/**
|
|
258
260
|
* files:changed 通知参数
|
|
@@ -317,6 +319,36 @@ interface TextSendRequestedParams {
|
|
|
317
319
|
source: TextSendRequestedSource;
|
|
318
320
|
text: string;
|
|
319
321
|
}
|
|
322
|
+
interface ProposalFeedbackOrigin {
|
|
323
|
+
source?: string;
|
|
324
|
+
threadId?: string;
|
|
325
|
+
projectId?: string;
|
|
326
|
+
agentInstanceId?: string;
|
|
327
|
+
}
|
|
328
|
+
interface ProposalFeedbackHunk {
|
|
329
|
+
id: string;
|
|
330
|
+
filePath: string;
|
|
331
|
+
rootId: 'workspace' | 'assets';
|
|
332
|
+
startLine: number;
|
|
333
|
+
endLine: number;
|
|
334
|
+
originalContent: string;
|
|
335
|
+
proposedContent: string;
|
|
336
|
+
}
|
|
337
|
+
interface ProposalFeedbackFileSummary {
|
|
338
|
+
path: string;
|
|
339
|
+
rootId: 'workspace' | 'assets';
|
|
340
|
+
acceptedHunkIds: string[];
|
|
341
|
+
rejectedHunkIds: string[];
|
|
342
|
+
}
|
|
343
|
+
interface ProposalFeedbackParams {
|
|
344
|
+
proposalId: string;
|
|
345
|
+
title: string;
|
|
346
|
+
decision: 'rejected' | 'partial';
|
|
347
|
+
origin?: ProposalFeedbackOrigin;
|
|
348
|
+
acceptedFilePaths: string[];
|
|
349
|
+
rejectedHunks: ProposalFeedbackHunk[];
|
|
350
|
+
files: ProposalFeedbackFileSummary[];
|
|
351
|
+
}
|
|
320
352
|
/**
|
|
321
353
|
* file:modified 通知参数
|
|
322
354
|
*/
|
|
@@ -338,4 +370,4 @@ interface FileSavedParams {
|
|
|
338
370
|
source?: string;
|
|
339
371
|
}
|
|
340
372
|
|
|
341
|
-
export { type FileModifiedParams, type FileOpenRequestedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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, SeastudioRequests, type SeastudioShellCommandResult, type SeastudioShellSessionEntry, type SeastudioShellSessionEntryLevel, type SeastudioShellSessionSnapshot, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools };
|
|
373
|
+
export { type FileModifiedParams, type FileOpenRequestedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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, SeastudioRequests, type SeastudioShellCommandResult, type SeastudioShellSessionEntry, type SeastudioShellSessionEntryLevel, type SeastudioShellSessionSnapshot, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as MCPTool, k as MCPToolResult, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../../types-
|
|
1
|
+
import { g as MCPTool, k as MCPToolResult, h as MCPToolAnnotations, j as MCPToolInputSchema } from '../../types-B1Zqr-0Q.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Plugin MCP Tools
|
|
@@ -253,6 +253,8 @@ declare const SeastudioNotifications: {
|
|
|
253
253
|
readonly FILE_SEND_REQUESTED: "seastudio:file-send_requested";
|
|
254
254
|
/** 文本发送请求 */
|
|
255
255
|
readonly TEXT_SEND_REQUESTED: "seastudio:text-send_requested";
|
|
256
|
+
/** 代码提案审核反馈 */
|
|
257
|
+
readonly PROPOSAL_FEEDBACK: "seastudio:proposal-feedback";
|
|
256
258
|
};
|
|
257
259
|
/**
|
|
258
260
|
* files:changed 通知参数
|
|
@@ -317,6 +319,36 @@ interface TextSendRequestedParams {
|
|
|
317
319
|
source: TextSendRequestedSource;
|
|
318
320
|
text: string;
|
|
319
321
|
}
|
|
322
|
+
interface ProposalFeedbackOrigin {
|
|
323
|
+
source?: string;
|
|
324
|
+
threadId?: string;
|
|
325
|
+
projectId?: string;
|
|
326
|
+
agentInstanceId?: string;
|
|
327
|
+
}
|
|
328
|
+
interface ProposalFeedbackHunk {
|
|
329
|
+
id: string;
|
|
330
|
+
filePath: string;
|
|
331
|
+
rootId: 'workspace' | 'assets';
|
|
332
|
+
startLine: number;
|
|
333
|
+
endLine: number;
|
|
334
|
+
originalContent: string;
|
|
335
|
+
proposedContent: string;
|
|
336
|
+
}
|
|
337
|
+
interface ProposalFeedbackFileSummary {
|
|
338
|
+
path: string;
|
|
339
|
+
rootId: 'workspace' | 'assets';
|
|
340
|
+
acceptedHunkIds: string[];
|
|
341
|
+
rejectedHunkIds: string[];
|
|
342
|
+
}
|
|
343
|
+
interface ProposalFeedbackParams {
|
|
344
|
+
proposalId: string;
|
|
345
|
+
title: string;
|
|
346
|
+
decision: 'rejected' | 'partial';
|
|
347
|
+
origin?: ProposalFeedbackOrigin;
|
|
348
|
+
acceptedFilePaths: string[];
|
|
349
|
+
rejectedHunks: ProposalFeedbackHunk[];
|
|
350
|
+
files: ProposalFeedbackFileSummary[];
|
|
351
|
+
}
|
|
320
352
|
/**
|
|
321
353
|
* file:modified 通知参数
|
|
322
354
|
*/
|
|
@@ -338,4 +370,4 @@ interface FileSavedParams {
|
|
|
338
370
|
source?: string;
|
|
339
371
|
}
|
|
340
372
|
|
|
341
|
-
export { type FileModifiedParams, type FileOpenRequestedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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, SeastudioRequests, type SeastudioShellCommandResult, type SeastudioShellSessionEntry, type SeastudioShellSessionEntryLevel, type SeastudioShellSessionSnapshot, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools };
|
|
373
|
+
export { type FileModifiedParams, type FileOpenRequestedParams, type FileSavedParams, type FileSendRequestedParams, type FileTransferRequestedParams, type FilesChangedParams, type ProposalFeedbackFileSummary, type ProposalFeedbackHunk, type ProposalFeedbackOrigin, type ProposalFeedbackParams, type RootsChangedParams, type SeastudioBatchFlattenCopyOptions, type SeastudioBatchFlattenPreviewOptions, 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, SeastudioRequests, type SeastudioShellCommandResult, type SeastudioShellSessionEntry, type SeastudioShellSessionEntryLevel, type SeastudioShellSessionSnapshot, type SeastudioSinglePathOptions, type SeastudioWorkspacePathMode, type TextSendRequestedParams, type TextSendRequestedSelectionRange, type TextSendRequestedSource, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools } from '../../chunk-
|
|
1
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFileTools, clipboardTools, codeQualityTools, fileTools, gitTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, shellTools, tools } from '../../chunk-XU5GEWWL.js';
|
|
2
2
|
import '../../chunk-ANWOL7SM.js';
|
|
@@ -43,7 +43,7 @@ interface MCPToolInputSchema {
|
|
|
43
43
|
interface MCPToolAnnotations {
|
|
44
44
|
operationKind?: 'read' | 'mutate' | 'system' | 'workflow';
|
|
45
45
|
requiresExecutionEvidence?: boolean;
|
|
46
|
-
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel';
|
|
46
|
+
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word';
|
|
47
47
|
hostForwarding?: {
|
|
48
48
|
timeoutMs?: number;
|
|
49
49
|
};
|
|
@@ -43,7 +43,7 @@ interface MCPToolInputSchema {
|
|
|
43
43
|
interface MCPToolAnnotations {
|
|
44
44
|
operationKind?: 'read' | 'mutate' | 'system' | 'workflow';
|
|
45
45
|
requiresExecutionEvidence?: boolean;
|
|
46
|
-
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel';
|
|
46
|
+
rawDomain?: 'workspace' | 'filesystem' | 'editor' | 'seaflow' | 'asset' | 'git' | 'preview' | 'shell' | 'excel' | 'word';
|
|
47
47
|
hostForwarding?: {
|
|
48
48
|
timeoutMs?: number;
|
|
49
49
|
};
|