@seastudio/sdk 4.0.5 → 4.0.6
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-UZWEOUCK.js → chunk-KAEDK3UR.js} +3 -1
- package/dist/{chunk-TKROLSLX.cjs → chunk-RGBW5MI2.cjs} +3 -1
- package/dist/index.cjs +14 -14
- package/dist/index.js +1 -1
- package/dist/ui/index.cjs +14 -14
- package/dist/ui/index.d.cts +2 -1
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
|
@@ -21,7 +21,8 @@ function Tab({
|
|
|
21
21
|
onDragOver,
|
|
22
22
|
onDragLeave,
|
|
23
23
|
onDrop,
|
|
24
|
-
onDragEnd
|
|
24
|
+
onDragEnd,
|
|
25
|
+
onDoubleClick
|
|
25
26
|
}) {
|
|
26
27
|
return /* @__PURE__ */ jsxs(
|
|
27
28
|
"div",
|
|
@@ -32,6 +33,7 @@ function Tab({
|
|
|
32
33
|
onDragLeave,
|
|
33
34
|
onDrop,
|
|
34
35
|
onDragEnd,
|
|
36
|
+
onDoubleClick,
|
|
35
37
|
onClick: () => {
|
|
36
38
|
if (!disabled) {
|
|
37
39
|
onClick();
|
|
@@ -23,7 +23,8 @@ function Tab({
|
|
|
23
23
|
onDragOver,
|
|
24
24
|
onDragLeave,
|
|
25
25
|
onDrop,
|
|
26
|
-
onDragEnd
|
|
26
|
+
onDragEnd,
|
|
27
|
+
onDoubleClick
|
|
27
28
|
}) {
|
|
28
29
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29
30
|
"div",
|
|
@@ -34,6 +35,7 @@ function Tab({
|
|
|
34
35
|
onDragLeave,
|
|
35
36
|
onDrop,
|
|
36
37
|
onDragEnd,
|
|
38
|
+
onDoubleClick,
|
|
37
39
|
onClick: () => {
|
|
38
40
|
if (!disabled) {
|
|
39
41
|
onClick();
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkJXANHQNQ_cjs = require('./chunk-JXANHQNQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkRGBW5MI2_cjs = require('./chunk-RGBW5MI2.cjs');
|
|
5
5
|
var chunkY4QEHVYJ_cjs = require('./chunk-Y4QEHVYJ.cjs');
|
|
6
6
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
7
7
|
|
|
@@ -49,55 +49,55 @@ Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DialogBody", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogBody; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DialogButton", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogButton; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DialogContainer", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogContainer; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DialogFooter", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogFooter; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DialogHeader", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogHeader; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogOverlay; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "MenuContainer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuContainer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuEmpty; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MenuItem", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuItem; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuSeparator; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "Tab", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkRGBW5MI2_cjs.Tab; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "cn", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkRGBW5MI2_cjs.cn; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkRGBW5MI2_cjs.showHostContextMenu; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
103
103
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { MCP_PACKAGES, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './chunk-EWNKBKGJ.js';
|
|
2
|
-
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-
|
|
2
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-KAEDK3UR.js';
|
|
3
3
|
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-QA7XGPJX.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/ui/index.cjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRGBW5MI2_cjs = require('../chunk-RGBW5MI2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DialogBody", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogBody; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DialogButton", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogButton; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DialogContainer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogContainer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DialogFooter", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogFooter; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DialogHeader", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogHeader; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRGBW5MI2_cjs.DialogOverlay; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MenuContainer", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuContainer; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MenuEmpty", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuEmpty; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MenuItem", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuItem; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "MenuSeparator", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRGBW5MI2_cjs.MenuSeparator; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "Tab", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkRGBW5MI2_cjs.Tab; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "cn", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkRGBW5MI2_cjs.cn; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "showHostContextMenu", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRGBW5MI2_cjs.showHostContextMenu; }
|
|
58
58
|
});
|
package/dist/ui/index.d.cts
CHANGED
|
@@ -22,8 +22,9 @@ interface TabProps {
|
|
|
22
22
|
onDragLeave?: React.DragEventHandler<HTMLDivElement>;
|
|
23
23
|
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
24
24
|
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
25
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
25
26
|
}
|
|
26
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
27
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, onDoubleClick, }: TabProps): React.ReactElement;
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Menu - 统一菜单组件
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -22,8 +22,9 @@ interface TabProps {
|
|
|
22
22
|
onDragLeave?: React.DragEventHandler<HTMLDivElement>;
|
|
23
23
|
onDrop?: React.DragEventHandler<HTMLDivElement>;
|
|
24
24
|
onDragEnd?: React.DragEventHandler<HTMLDivElement>;
|
|
25
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
25
26
|
}
|
|
26
|
-
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, }: TabProps): React.ReactElement;
|
|
27
|
+
declare function Tab({ isActive, onClick, onClose, icon, title, titleClassName, className, disabled, draggable, onDragStart, onDragOver, onDragLeave, onDrop, onDragEnd, onDoubleClick, }: TabProps): React.ReactElement;
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Menu - 统一菜单组件
|
package/dist/ui/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-
|
|
1
|
+
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from '../chunk-KAEDK3UR.js';
|