@seastudio/sdk 3.0.4 → 3.1.0
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 +8 -0
- package/dist/{chunk-GPM5XGYM.js → chunk-4QK6VMIM.js} +743 -821
- package/dist/{chunk-3IVOSJIO.cjs → chunk-7I3A4U6V.cjs} +752 -824
- package/dist/{chunk-PYYG6U4M.cjs → chunk-E33WZ4UI.cjs} +4 -4
- package/dist/{chunk-AXT6ZLY2.js → chunk-IBRD7E5X.js} +2 -2
- package/dist/index.cjs +77 -89
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/mcp/index.cjs +27 -39
- 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 +47 -23
- package/dist/mcp/seastudio/index.d.cts +87 -33
- package/dist/mcp/seastudio/index.d.ts +87 -33
- package/dist/mcp/seastudio/index.js +1 -1
- package/package.json +5 -20
- package/bin/seastudio.js +0 -3
- package/dist/develop-tool/cli/index.cjs +0 -1210
- package/dist/develop-tool/cli/index.d.cts +0 -1
- package/dist/develop-tool/cli/index.d.ts +0 -1
- package/dist/develop-tool/cli/index.js +0 -1199
- package/src/develop-tool/templates/plugin/README.md.tmpl +0 -36
- package/src/develop-tool/templates/plugin/frontend/index.html.tmpl +0 -12
- package/src/develop-tool/templates/plugin/frontend/package.json.tmpl +0 -30
- package/src/develop-tool/templates/plugin/frontend/postcss.config.js +0 -6
- package/src/develop-tool/templates/plugin/frontend/src/App.css +0 -43
- package/src/develop-tool/templates/plugin/frontend/src/App.tsx.tmpl +0 -43
- package/src/develop-tool/templates/plugin/frontend/src/main.tsx +0 -13
- package/src/develop-tool/templates/plugin/frontend/src/mcp-entry.ts.tmpl +0 -12
- package/src/develop-tool/templates/plugin/frontend/src/vite-env.d.ts +0 -1
- package/src/develop-tool/templates/plugin/frontend/tsconfig.json +0 -20
- package/src/develop-tool/templates/plugin/frontend/vite.config.ts +0 -12
- package/src/develop-tool/templates/plugin/seastudio.config.json.tmpl +0 -14
|
@@ -1,27 +1,41 @@
|
|
|
1
|
-
import { g as MCPTool,
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-CUFTi2bZ.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* File MCP Tools
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* 文件能力 + 剪贴板文件能力 + 批量文件能力
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
declare
|
|
10
|
-
declare const
|
|
9
|
+
declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
|
|
10
|
+
declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
|
|
11
|
+
declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
|
|
12
|
+
declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
|
|
13
|
+
declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
|
|
14
|
+
declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
|
|
15
|
+
declare const shellCommandEvidenceOutputSchema: MCPToolInputSchema;
|
|
16
|
+
declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
|
|
17
|
+
declare const fileTools: MCPTool[];
|
|
11
18
|
|
|
12
19
|
/**
|
|
13
|
-
*
|
|
20
|
+
* Shell MCP Tools
|
|
14
21
|
*
|
|
15
|
-
*
|
|
22
|
+
* Shell 能力
|
|
16
23
|
*/
|
|
17
24
|
|
|
18
|
-
declare const
|
|
19
|
-
|
|
25
|
+
declare const shellTools: MCPTool[];
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* AIGC MCP Tools
|
|
29
|
+
*
|
|
30
|
+
* SeaCloud 多模态生成能力
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
declare const seaCloudTools: MCPTool[];
|
|
20
34
|
|
|
21
35
|
/**
|
|
22
|
-
* SeaStudio MCP
|
|
36
|
+
* SeaStudio MCP Client Helpers
|
|
23
37
|
*
|
|
24
|
-
*
|
|
38
|
+
* 供 TS/JS 代码直接调用 MCP 的便利 API
|
|
25
39
|
*/
|
|
26
40
|
|
|
27
41
|
type SeastudioFilesystemRootId = 'workspace';
|
|
@@ -115,17 +129,9 @@ interface SeastudioShellCommandResult {
|
|
|
115
129
|
durationMs: number;
|
|
116
130
|
usedFallback: boolean;
|
|
117
131
|
}
|
|
118
|
-
declare function
|
|
119
|
-
declare
|
|
120
|
-
declare
|
|
121
|
-
declare const gitTools: MCPTool[];
|
|
122
|
-
declare const clipboardTools: MCPTool[];
|
|
123
|
-
declare const codeQualityTools: MCPTool[];
|
|
124
|
-
declare const batchFileTools: MCPTool[];
|
|
125
|
-
declare const seaCloudTools: MCPTool[];
|
|
126
|
-
|
|
127
|
-
declare const allTools: MCPTool[];
|
|
128
|
-
declare const tools: MCPTool[];
|
|
132
|
+
declare function callTool(name: string, args?: Record<string, unknown>): Promise<MCPToolResult>;
|
|
133
|
+
declare function request<T = unknown>(method: string, params?: Record<string, unknown>): Promise<T>;
|
|
134
|
+
declare function callToolText(name: string, args?: Record<string, unknown>): Promise<string>;
|
|
129
135
|
declare const seastudio: {
|
|
130
136
|
roots: {
|
|
131
137
|
list: () => Promise<{
|
|
@@ -143,6 +149,7 @@ declare const seastudio: {
|
|
|
143
149
|
stat: (path: string, options?: SeastudioFileInfoOptions) => Promise<MCPToolResult>;
|
|
144
150
|
info: (path: string, options?: SeastudioFileInfoOptions) => Promise<MCPToolResult>;
|
|
145
151
|
search: (query: string, options?: SeastudioFileSearchOptions) => Promise<MCPToolResult>;
|
|
152
|
+
codeSearch: (pattern: string, path?: string, glob?: string, headLimit?: number) => Promise<MCPToolResult>;
|
|
146
153
|
rename: (path: string, newName: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
147
154
|
move: (sourcePath: string, destDir: string, options?: SeastudioFileTransferOptions) => Promise<MCPToolResult>;
|
|
148
155
|
copyTo: (sourcePath: string, destDir: string, options?: SeastudioFileTransferOptions) => Promise<MCPToolResult>;
|
|
@@ -169,18 +176,26 @@ declare const seastudio: {
|
|
|
169
176
|
reset: () => Promise<MCPToolResult>;
|
|
170
177
|
};
|
|
171
178
|
};
|
|
172
|
-
git: {
|
|
173
|
-
status: () => Promise<MCPToolResult>;
|
|
174
|
-
diff: (staged?: boolean, path?: string) => Promise<MCPToolResult>;
|
|
175
|
-
};
|
|
176
|
-
codeQuality: {
|
|
177
|
-
runTest: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
178
|
-
runTypecheck: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
179
|
-
runLint: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
180
|
-
codeSearch: (pattern: string, path?: string, glob?: string, headLimit?: number) => Promise<MCPToolResult>;
|
|
181
|
-
};
|
|
182
179
|
};
|
|
183
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Plugin MCP Tools
|
|
183
|
+
*
|
|
184
|
+
* 插件管理 + 插件标签操作
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
declare const pluginManagementTools: MCPTool[];
|
|
188
|
+
declare const pluginTabTools: MCPTool[];
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Agent MCP Tools
|
|
192
|
+
*
|
|
193
|
+
* Agent 管理 + Agent 标签操作
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
declare const agentManagementTools: MCPTool[];
|
|
197
|
+
declare const agentTabTools: MCPTool[];
|
|
198
|
+
|
|
184
199
|
/**
|
|
185
200
|
* SeaStudio MCP Notifications
|
|
186
201
|
*
|
|
@@ -241,6 +256,10 @@ declare const SeastudioRequests: {
|
|
|
241
256
|
declare const SeastudioNotifications: {
|
|
242
257
|
/** 文件系统变化通知(fs.watch 触发) */
|
|
243
258
|
readonly FILES_CHANGED: "files:changed";
|
|
259
|
+
/** 文件或目录被重命名/移动 */
|
|
260
|
+
readonly FILE_RENAMED: "file:renamed";
|
|
261
|
+
/** 文件或目录被删除/移入回收站 */
|
|
262
|
+
readonly FILE_DELETED: "file:deleted";
|
|
244
263
|
/** 根目录变化通知 */
|
|
245
264
|
readonly ROOTS_CHANGED: "roots:changed";
|
|
246
265
|
/** 文件打开请求,可广播也可定向 */
|
|
@@ -265,6 +284,32 @@ interface FilesChangedParams {
|
|
|
265
284
|
/** 发生变化的目录路径 */
|
|
266
285
|
path: string;
|
|
267
286
|
}
|
|
287
|
+
interface FileRenamedParams {
|
|
288
|
+
/** 根目录 ID */
|
|
289
|
+
rootId: 'workspace';
|
|
290
|
+
/** 原路径 */
|
|
291
|
+
oldPath: string;
|
|
292
|
+
/** 新路径 */
|
|
293
|
+
newPath: string;
|
|
294
|
+
/** 目标类型 */
|
|
295
|
+
kind: 'file' | 'directory';
|
|
296
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
297
|
+
origin?: 'tool' | 'watcher';
|
|
298
|
+
/** 触发来源插件 ID */
|
|
299
|
+
source?: string;
|
|
300
|
+
}
|
|
301
|
+
interface FileDeletedParams {
|
|
302
|
+
/** 根目录 ID */
|
|
303
|
+
rootId: 'workspace';
|
|
304
|
+
/** 被删除路径 */
|
|
305
|
+
path: string;
|
|
306
|
+
/** 目标类型 */
|
|
307
|
+
kind: 'file' | 'directory';
|
|
308
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
309
|
+
origin?: 'tool' | 'watcher';
|
|
310
|
+
/** 触发来源插件 ID */
|
|
311
|
+
source?: string;
|
|
312
|
+
}
|
|
268
313
|
interface RootsChangedParams {
|
|
269
314
|
roots: Array<{
|
|
270
315
|
id: 'workspace';
|
|
@@ -370,4 +415,13 @@ interface FileSavedParams {
|
|
|
370
415
|
source?: string;
|
|
371
416
|
}
|
|
372
417
|
|
|
373
|
-
|
|
418
|
+
/**
|
|
419
|
+
* SeaStudio MCP Module
|
|
420
|
+
*
|
|
421
|
+
* 主程序基础能力
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
declare const allTools: MCPTool[];
|
|
425
|
+
declare const tools: MCPTool[];
|
|
426
|
+
|
|
427
|
+
export { type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, 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, batchFlattenCopyEvidenceOutputSchema, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, seaCloudTools, seastudio, shellCommandEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, tools };
|
|
@@ -1,27 +1,41 @@
|
|
|
1
|
-
import { g as MCPTool,
|
|
1
|
+
import { g as MCPTool, h as MCPToolAnnotations, j as MCPToolInputSchema, k as MCPToolResult } from '../../types-CUFTi2bZ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* File MCP Tools
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* 文件能力 + 剪贴板文件能力 + 批量文件能力
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
declare
|
|
10
|
-
declare const
|
|
9
|
+
declare function annotateTool(tool: MCPTool, annotations: MCPToolAnnotations, outputSchema?: MCPToolInputSchema): MCPTool;
|
|
10
|
+
declare const rootedPathEvidenceOutputSchema: MCPToolInputSchema;
|
|
11
|
+
declare const rootedWriteEvidenceOutputSchema: MCPToolInputSchema;
|
|
12
|
+
declare const dualPathEvidenceOutputSchema: MCPToolInputSchema;
|
|
13
|
+
declare const batchFlattenCopyEvidenceOutputSchema: MCPToolInputSchema;
|
|
14
|
+
declare const fileDownloadEvidenceOutputSchema: MCPToolInputSchema;
|
|
15
|
+
declare const shellCommandEvidenceOutputSchema: MCPToolInputSchema;
|
|
16
|
+
declare const shellSessionSnapshotEvidenceOutputSchema: MCPToolInputSchema;
|
|
17
|
+
declare const fileTools: MCPTool[];
|
|
11
18
|
|
|
12
19
|
/**
|
|
13
|
-
*
|
|
20
|
+
* Shell MCP Tools
|
|
14
21
|
*
|
|
15
|
-
*
|
|
22
|
+
* Shell 能力
|
|
16
23
|
*/
|
|
17
24
|
|
|
18
|
-
declare const
|
|
19
|
-
|
|
25
|
+
declare const shellTools: MCPTool[];
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* AIGC MCP Tools
|
|
29
|
+
*
|
|
30
|
+
* SeaCloud 多模态生成能力
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
declare const seaCloudTools: MCPTool[];
|
|
20
34
|
|
|
21
35
|
/**
|
|
22
|
-
* SeaStudio MCP
|
|
36
|
+
* SeaStudio MCP Client Helpers
|
|
23
37
|
*
|
|
24
|
-
*
|
|
38
|
+
* 供 TS/JS 代码直接调用 MCP 的便利 API
|
|
25
39
|
*/
|
|
26
40
|
|
|
27
41
|
type SeastudioFilesystemRootId = 'workspace';
|
|
@@ -115,17 +129,9 @@ interface SeastudioShellCommandResult {
|
|
|
115
129
|
durationMs: number;
|
|
116
130
|
usedFallback: boolean;
|
|
117
131
|
}
|
|
118
|
-
declare function
|
|
119
|
-
declare
|
|
120
|
-
declare
|
|
121
|
-
declare const gitTools: MCPTool[];
|
|
122
|
-
declare const clipboardTools: MCPTool[];
|
|
123
|
-
declare const codeQualityTools: MCPTool[];
|
|
124
|
-
declare const batchFileTools: MCPTool[];
|
|
125
|
-
declare const seaCloudTools: MCPTool[];
|
|
126
|
-
|
|
127
|
-
declare const allTools: MCPTool[];
|
|
128
|
-
declare const tools: MCPTool[];
|
|
132
|
+
declare function callTool(name: string, args?: Record<string, unknown>): Promise<MCPToolResult>;
|
|
133
|
+
declare function request<T = unknown>(method: string, params?: Record<string, unknown>): Promise<T>;
|
|
134
|
+
declare function callToolText(name: string, args?: Record<string, unknown>): Promise<string>;
|
|
129
135
|
declare const seastudio: {
|
|
130
136
|
roots: {
|
|
131
137
|
list: () => Promise<{
|
|
@@ -143,6 +149,7 @@ declare const seastudio: {
|
|
|
143
149
|
stat: (path: string, options?: SeastudioFileInfoOptions) => Promise<MCPToolResult>;
|
|
144
150
|
info: (path: string, options?: SeastudioFileInfoOptions) => Promise<MCPToolResult>;
|
|
145
151
|
search: (query: string, options?: SeastudioFileSearchOptions) => Promise<MCPToolResult>;
|
|
152
|
+
codeSearch: (pattern: string, path?: string, glob?: string, headLimit?: number) => Promise<MCPToolResult>;
|
|
146
153
|
rename: (path: string, newName: string, options?: SeastudioSinglePathOptions) => Promise<MCPToolResult>;
|
|
147
154
|
move: (sourcePath: string, destDir: string, options?: SeastudioFileTransferOptions) => Promise<MCPToolResult>;
|
|
148
155
|
copyTo: (sourcePath: string, destDir: string, options?: SeastudioFileTransferOptions) => Promise<MCPToolResult>;
|
|
@@ -169,18 +176,26 @@ declare const seastudio: {
|
|
|
169
176
|
reset: () => Promise<MCPToolResult>;
|
|
170
177
|
};
|
|
171
178
|
};
|
|
172
|
-
git: {
|
|
173
|
-
status: () => Promise<MCPToolResult>;
|
|
174
|
-
diff: (staged?: boolean, path?: string) => Promise<MCPToolResult>;
|
|
175
|
-
};
|
|
176
|
-
codeQuality: {
|
|
177
|
-
runTest: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
178
|
-
runTypecheck: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
179
|
-
runLint: (command?: string, timeout?: number) => Promise<MCPToolResult>;
|
|
180
|
-
codeSearch: (pattern: string, path?: string, glob?: string, headLimit?: number) => Promise<MCPToolResult>;
|
|
181
|
-
};
|
|
182
179
|
};
|
|
183
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Plugin MCP Tools
|
|
183
|
+
*
|
|
184
|
+
* 插件管理 + 插件标签操作
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
declare const pluginManagementTools: MCPTool[];
|
|
188
|
+
declare const pluginTabTools: MCPTool[];
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Agent MCP Tools
|
|
192
|
+
*
|
|
193
|
+
* Agent 管理 + Agent 标签操作
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
declare const agentManagementTools: MCPTool[];
|
|
197
|
+
declare const agentTabTools: MCPTool[];
|
|
198
|
+
|
|
184
199
|
/**
|
|
185
200
|
* SeaStudio MCP Notifications
|
|
186
201
|
*
|
|
@@ -241,6 +256,10 @@ declare const SeastudioRequests: {
|
|
|
241
256
|
declare const SeastudioNotifications: {
|
|
242
257
|
/** 文件系统变化通知(fs.watch 触发) */
|
|
243
258
|
readonly FILES_CHANGED: "files:changed";
|
|
259
|
+
/** 文件或目录被重命名/移动 */
|
|
260
|
+
readonly FILE_RENAMED: "file:renamed";
|
|
261
|
+
/** 文件或目录被删除/移入回收站 */
|
|
262
|
+
readonly FILE_DELETED: "file:deleted";
|
|
244
263
|
/** 根目录变化通知 */
|
|
245
264
|
readonly ROOTS_CHANGED: "roots:changed";
|
|
246
265
|
/** 文件打开请求,可广播也可定向 */
|
|
@@ -265,6 +284,32 @@ interface FilesChangedParams {
|
|
|
265
284
|
/** 发生变化的目录路径 */
|
|
266
285
|
path: string;
|
|
267
286
|
}
|
|
287
|
+
interface FileRenamedParams {
|
|
288
|
+
/** 根目录 ID */
|
|
289
|
+
rootId: 'workspace';
|
|
290
|
+
/** 原路径 */
|
|
291
|
+
oldPath: string;
|
|
292
|
+
/** 新路径 */
|
|
293
|
+
newPath: string;
|
|
294
|
+
/** 目标类型 */
|
|
295
|
+
kind: 'file' | 'directory';
|
|
296
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
297
|
+
origin?: 'tool' | 'watcher';
|
|
298
|
+
/** 触发来源插件 ID */
|
|
299
|
+
source?: string;
|
|
300
|
+
}
|
|
301
|
+
interface FileDeletedParams {
|
|
302
|
+
/** 根目录 ID */
|
|
303
|
+
rootId: 'workspace';
|
|
304
|
+
/** 被删除路径 */
|
|
305
|
+
path: string;
|
|
306
|
+
/** 目标类型 */
|
|
307
|
+
kind: 'file' | 'directory';
|
|
308
|
+
/** 事件来源:工具调用或系统 watcher 推断 */
|
|
309
|
+
origin?: 'tool' | 'watcher';
|
|
310
|
+
/** 触发来源插件 ID */
|
|
311
|
+
source?: string;
|
|
312
|
+
}
|
|
268
313
|
interface RootsChangedParams {
|
|
269
314
|
roots: Array<{
|
|
270
315
|
id: 'workspace';
|
|
@@ -370,4 +415,13 @@ interface FileSavedParams {
|
|
|
370
415
|
source?: string;
|
|
371
416
|
}
|
|
372
417
|
|
|
373
|
-
|
|
418
|
+
/**
|
|
419
|
+
* SeaStudio MCP Module
|
|
420
|
+
*
|
|
421
|
+
* 主程序基础能力
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
declare const allTools: MCPTool[];
|
|
425
|
+
declare const tools: MCPTool[];
|
|
426
|
+
|
|
427
|
+
export { type FileDeletedParams, type FileModifiedParams, type FileOpenRequestedParams, type FileRenamedParams, 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, batchFlattenCopyEvidenceOutputSchema, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, seaCloudTools, seastudio, shellCommandEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, tools };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool,
|
|
1
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, allTools, annotateTool, batchFlattenCopyEvidenceOutputSchema, callTool, callToolText, dualPathEvidenceOutputSchema, fileDownloadEvidenceOutputSchema, fileTools, pluginManagementTools, pluginTabTools, request, rootedPathEvidenceOutputSchema, rootedWriteEvidenceOutputSchema, seaCloudTools, seastudio, shellCommandEvidenceOutputSchema, shellSessionSnapshotEvidenceOutputSchema, shellTools, tools } from '../../chunk-4QK6VMIM.js';
|
|
2
2
|
import '../../chunk-TJ3CGHWJ.js';
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seastudio/sdk",
|
|
3
|
-
"version": "3.0
|
|
4
|
-
"description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"description": "SeaStudio SDK - UI 组件 + MCP 信息交换中心",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
|
-
"bin": {
|
|
10
|
-
"seastudio": "bin/seastudio.js"
|
|
11
|
-
},
|
|
12
9
|
"exports": {
|
|
13
10
|
".": {
|
|
14
11
|
"types": "./dist/index.d.ts",
|
|
@@ -39,37 +36,25 @@
|
|
|
39
36
|
"./styles/cosmos.css": "./src/ui/cosmos.css"
|
|
40
37
|
},
|
|
41
38
|
"files": [
|
|
42
|
-
"bin",
|
|
43
39
|
"dist",
|
|
44
|
-
"src/ui/cosmos.css"
|
|
45
|
-
"src/develop-tool/templates"
|
|
40
|
+
"src/ui/cosmos.css"
|
|
46
41
|
],
|
|
47
42
|
"scripts": {
|
|
48
|
-
"build": "tsup
|
|
43
|
+
"build": "tsup",
|
|
49
44
|
"dev": "tsup --watch",
|
|
50
45
|
"prepublishOnly": "npm run build"
|
|
51
46
|
},
|
|
52
47
|
"dependencies": {
|
|
53
|
-
"archiver": "^7.0.1",
|
|
54
|
-
"chalk": "^5.6.2",
|
|
55
48
|
"clsx": "^2.1.0",
|
|
56
|
-
"commander": "^14.0.3",
|
|
57
|
-
"inquirer": "^13.3.0",
|
|
58
49
|
"lucide-react": "^0.469.0",
|
|
59
|
-
"
|
|
60
|
-
"tailwind-merge": "^2.2.0",
|
|
61
|
-
"tar": "^7.4.3",
|
|
62
|
-
"unzipper": "^0.12.3"
|
|
50
|
+
"tailwind-merge": "^2.2.0"
|
|
63
51
|
},
|
|
64
52
|
"peerDependencies": {
|
|
65
53
|
"react": ">=18.0.0",
|
|
66
54
|
"react-dom": ">=18.0.0"
|
|
67
55
|
},
|
|
68
56
|
"devDependencies": {
|
|
69
|
-
"@types/archiver": "^7.0.0",
|
|
70
|
-
"@types/inquirer": "^9.0.9",
|
|
71
57
|
"@types/react": "^18.2.0",
|
|
72
|
-
"@types/unzipper": "^0.10.10",
|
|
73
58
|
"tailwindcss": "^4.2.1",
|
|
74
59
|
"tsup": "^8.0.0",
|
|
75
60
|
"typescript": "^5.3.0"
|
package/bin/seastudio.js
DELETED