@seastudio/sdk 3.6.0 → 3.7.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/dist/{chunk-BFJ2EFTV.js → chunk-2DFXLVWC.js} +1 -1
- package/dist/{chunk-N4KBTMOV.cjs → chunk-6ZZFSVSZ.cjs} +4 -4
- package/dist/{chunk-UFFMPHL3.js → chunk-GZRP7JKO.js} +177 -74
- package/dist/{chunk-NP6AI7I4.cjs → chunk-HAFMJ47Q.cjs} +177 -74
- package/dist/index.cjs +24 -24
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp/core/index.d.cts +2 -2
- package/dist/mcp/core/index.d.ts +2 -2
- package/dist/mcp/index.cjs +24 -24
- package/dist/mcp/index.d.cts +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/seastudio/index.cjs +32 -32
- package/dist/mcp/seastudio/index.d.cts +78 -51
- package/dist/mcp/seastudio/index.d.ts +78 -51
- package/dist/mcp/seastudio/index.js +1 -1
- package/dist/{types-BZaBjaZh.d.cts → types-D7xY0bt6.d.cts} +1 -1
- package/dist/{types-BZaBjaZh.d.ts → types-D7xY0bt6.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1005,20 +1005,46 @@ var seastudio = {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
},
|
|
1007
1007
|
browser: {
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1008
|
+
session: {
|
|
1009
|
+
open: async (options = {}) => parseToolResult(await callTool("seastudio-browser_session_open", { ...options })),
|
|
1010
|
+
list: async () => parseToolResult(await callTool("seastudio-browser_session_list")),
|
|
1011
|
+
get: async (browserSessionId) => parseToolResult(await callTool("seastudio-browser_session_get", { browserSessionId })),
|
|
1012
|
+
close: async (browserSessionId) => parseToolResult(
|
|
1013
|
+
await callTool("seastudio-browser_session_close", { browserSessionId })
|
|
1014
|
+
)
|
|
1015
|
+
},
|
|
1016
|
+
tab: {
|
|
1017
|
+
create: async (browserSessionId, url) => parseToolResult(
|
|
1018
|
+
await callTool("seastudio-browser_tab_create", { browserSessionId, url })
|
|
1019
|
+
),
|
|
1020
|
+
close: async (browserSessionId, tabId) => parseToolResult(
|
|
1021
|
+
await callTool("seastudio-browser_tab_close", { browserSessionId, tabId })
|
|
1022
|
+
),
|
|
1023
|
+
activate: async (browserSessionId, tabId) => parseToolResult(
|
|
1024
|
+
await callTool("seastudio-browser_tab_activate", { browserSessionId, tabId })
|
|
1025
|
+
),
|
|
1026
|
+
navigate: async (browserSessionId, tabId, url) => parseToolResult(
|
|
1027
|
+
await callTool("seastudio-browser_tab_navigate", { browserSessionId, tabId, url })
|
|
1028
|
+
),
|
|
1029
|
+
goBack: async (browserSessionId, tabId) => parseToolResult(await callTool("seastudio-browser_tab_go_back", { browserSessionId, tabId })),
|
|
1030
|
+
goForward: async (browserSessionId, tabId) => parseToolResult(await callTool("seastudio-browser_tab_go_forward", { browserSessionId, tabId })),
|
|
1031
|
+
reload: async (browserSessionId, tabId) => parseToolResult(await callTool("seastudio-browser_tab_reload", { browserSessionId, tabId })),
|
|
1032
|
+
stop: async (browserSessionId, tabId) => parseToolResult(await callTool("seastudio-browser_tab_stop", { browserSessionId, tabId }))
|
|
1033
|
+
},
|
|
1034
|
+
viewport: {
|
|
1035
|
+
bind: async (browserSessionId, rect, ownerInstanceId) => parseToolResult(
|
|
1036
|
+
await callTool("seastudio-browser_viewport_bind", {
|
|
1037
|
+
browserSessionId,
|
|
1038
|
+
rect,
|
|
1039
|
+
...ownerInstanceId ? { ownerInstanceId } : {}
|
|
1040
|
+
})
|
|
1041
|
+
)
|
|
1042
|
+
},
|
|
1043
|
+
certificate: {
|
|
1044
|
+
respond: async (browserSessionId, requestId, allow) => parseToolResult(
|
|
1045
|
+
await callTool("seastudio-browser_certificate_respond", { browserSessionId, requestId, allow })
|
|
1046
|
+
)
|
|
1047
|
+
}
|
|
1022
1048
|
}
|
|
1023
1049
|
};
|
|
1024
1050
|
async function runOneShotShellCommand(command, options = {}) {
|
|
@@ -1463,128 +1489,204 @@ var skillTools = [
|
|
|
1463
1489
|
];
|
|
1464
1490
|
|
|
1465
1491
|
// src/mcp/seastudio/tools-browser.ts
|
|
1492
|
+
var browserSessionIdParam = {
|
|
1493
|
+
browserSessionId: { type: "string", description: "Browser session ID" }
|
|
1494
|
+
};
|
|
1466
1495
|
var tabIdParam = {
|
|
1467
|
-
tabId: { type: "string", description: "Browser
|
|
1496
|
+
tabId: { type: "string", description: "Browser tab ID" }
|
|
1468
1497
|
};
|
|
1469
1498
|
var browserRuntimeTools = [
|
|
1470
1499
|
annotateTool({
|
|
1471
|
-
name: "
|
|
1472
|
-
description: "\
|
|
1500
|
+
name: "seastudio-browser_session_open",
|
|
1501
|
+
description: "\u521B\u5EFA\u6216\u6253\u5F00\u4E00\u4E2A\u5BBF\u4E3B Browser Session\uFF0C\u8FD4\u56DE browserSessionId\u3002Session \u53EF\u88AB agent \u548C Browser \u63D2\u4EF6\u5171\u540C\u64CD\u4F5C\u3002",
|
|
1502
|
+
inputSchema: {
|
|
1503
|
+
type: "object",
|
|
1504
|
+
properties: {
|
|
1505
|
+
label: { type: "string", description: "\u53EF\u9009 session \u663E\u793A\u540D\u79F0\u3002" },
|
|
1506
|
+
partitionKey: { type: "string", description: "\u53EF\u9009\u7F51\u7AD9\u6570\u636E\u5206\u533A key\uFF1B\u76F8\u540C key \u5171\u4EAB cookie/localStorage\u3002" },
|
|
1507
|
+
homepage: { type: "string", description: "\u53EF\u9009\u9ED8\u8BA4\u9996\u9875\u3002" }
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}, {
|
|
1511
|
+
operationKind: "mutate",
|
|
1512
|
+
requiresExecutionEvidence: false,
|
|
1513
|
+
rawDomain: "browser"
|
|
1514
|
+
}),
|
|
1515
|
+
annotateTool({
|
|
1516
|
+
name: "seastudio-browser_session_list",
|
|
1517
|
+
description: "\u5217\u51FA\u5F53\u524D\u6240\u6709 Browser Session\u3002",
|
|
1473
1518
|
inputSchema: {
|
|
1474
1519
|
type: "object",
|
|
1475
1520
|
properties: {}
|
|
1476
1521
|
}
|
|
1477
1522
|
}, {
|
|
1478
1523
|
operationKind: "read",
|
|
1479
|
-
requiresExecutionEvidence: false
|
|
1524
|
+
requiresExecutionEvidence: false,
|
|
1525
|
+
rawDomain: "browser"
|
|
1526
|
+
}),
|
|
1527
|
+
annotateTool({
|
|
1528
|
+
name: "seastudio-browser_session_get",
|
|
1529
|
+
description: "\u8BFB\u53D6\u6307\u5B9A Browser Session \u7684\u5F53\u524D\u72B6\u6001\u3002",
|
|
1530
|
+
inputSchema: {
|
|
1531
|
+
type: "object",
|
|
1532
|
+
properties: browserSessionIdParam,
|
|
1533
|
+
required: ["browserSessionId"]
|
|
1534
|
+
}
|
|
1535
|
+
}, {
|
|
1536
|
+
operationKind: "read",
|
|
1537
|
+
requiresExecutionEvidence: false,
|
|
1538
|
+
rawDomain: "browser"
|
|
1539
|
+
}),
|
|
1540
|
+
annotateTool({
|
|
1541
|
+
name: "seastudio-browser_session_close",
|
|
1542
|
+
description: "\u5173\u95ED Browser Session \u5E76\u91CA\u653E\u5176 tabs \u4E0E surface \u7ED1\u5B9A\u3002",
|
|
1543
|
+
inputSchema: {
|
|
1544
|
+
type: "object",
|
|
1545
|
+
properties: browserSessionIdParam,
|
|
1546
|
+
required: ["browserSessionId"]
|
|
1547
|
+
}
|
|
1548
|
+
}, {
|
|
1549
|
+
operationKind: "mutate",
|
|
1550
|
+
requiresExecutionEvidence: false,
|
|
1551
|
+
rawDomain: "browser"
|
|
1480
1552
|
}),
|
|
1481
1553
|
annotateTool({
|
|
1482
|
-
name: "
|
|
1483
|
-
description: "\u5728
|
|
1554
|
+
name: "seastudio-browser_tab_create",
|
|
1555
|
+
description: "\u5728 Browser Session \u4E2D\u521B\u5EFA\u4E00\u4E2A tab\u3002",
|
|
1484
1556
|
inputSchema: {
|
|
1485
1557
|
type: "object",
|
|
1486
1558
|
properties: {
|
|
1487
|
-
|
|
1488
|
-
|
|
1559
|
+
...browserSessionIdParam,
|
|
1560
|
+
url: { type: "string", description: "\u521D\u59CB URL\uFF1B\u4E3A\u7A7A\u65F6\u4F7F\u7528 session homepage\u3002" }
|
|
1561
|
+
},
|
|
1562
|
+
required: ["browserSessionId"]
|
|
1489
1563
|
}
|
|
1490
1564
|
}, {
|
|
1491
1565
|
operationKind: "mutate",
|
|
1492
|
-
requiresExecutionEvidence: false
|
|
1566
|
+
requiresExecutionEvidence: false,
|
|
1567
|
+
rawDomain: "browser"
|
|
1493
1568
|
}),
|
|
1494
1569
|
annotateTool({
|
|
1495
|
-
name: "
|
|
1496
|
-
description: "\u5173\u95ED
|
|
1570
|
+
name: "seastudio-browser_tab_close",
|
|
1571
|
+
description: "\u5173\u95ED Browser Session \u4E2D\u7684 tab\u3002",
|
|
1497
1572
|
inputSchema: {
|
|
1498
1573
|
type: "object",
|
|
1499
|
-
properties:
|
|
1500
|
-
|
|
1574
|
+
properties: {
|
|
1575
|
+
...browserSessionIdParam,
|
|
1576
|
+
...tabIdParam
|
|
1577
|
+
},
|
|
1578
|
+
required: ["browserSessionId", "tabId"]
|
|
1501
1579
|
}
|
|
1502
1580
|
}, {
|
|
1503
1581
|
operationKind: "mutate",
|
|
1504
|
-
requiresExecutionEvidence: false
|
|
1582
|
+
requiresExecutionEvidence: false,
|
|
1583
|
+
rawDomain: "browser"
|
|
1505
1584
|
}),
|
|
1506
1585
|
annotateTool({
|
|
1507
|
-
name: "
|
|
1508
|
-
description: "\u6FC0\u6D3B
|
|
1586
|
+
name: "seastudio-browser_tab_activate",
|
|
1587
|
+
description: "\u6FC0\u6D3B Browser Session \u4E2D\u7684 tab\u3002",
|
|
1509
1588
|
inputSchema: {
|
|
1510
1589
|
type: "object",
|
|
1511
|
-
properties:
|
|
1512
|
-
|
|
1590
|
+
properties: {
|
|
1591
|
+
...browserSessionIdParam,
|
|
1592
|
+
...tabIdParam
|
|
1593
|
+
},
|
|
1594
|
+
required: ["browserSessionId", "tabId"]
|
|
1513
1595
|
}
|
|
1514
1596
|
}, {
|
|
1515
1597
|
operationKind: "mutate",
|
|
1516
|
-
requiresExecutionEvidence: false
|
|
1598
|
+
requiresExecutionEvidence: false,
|
|
1599
|
+
rawDomain: "browser"
|
|
1517
1600
|
}),
|
|
1518
1601
|
annotateTool({
|
|
1519
|
-
name: "
|
|
1520
|
-
description: "\u8BA9
|
|
1602
|
+
name: "seastudio-browser_tab_navigate",
|
|
1603
|
+
description: "\u8BA9 Browser Session \u4E2D\u7684 tab \u5BFC\u822A\u5230 URL \u6216\u641C\u7D22\u8BCD\u3002",
|
|
1521
1604
|
inputSchema: {
|
|
1522
1605
|
type: "object",
|
|
1523
1606
|
properties: {
|
|
1607
|
+
...browserSessionIdParam,
|
|
1524
1608
|
...tabIdParam,
|
|
1525
1609
|
url: { type: "string", description: "\u76EE\u6807 URL \u6216\u641C\u7D22\u8BCD\u3002" }
|
|
1526
1610
|
},
|
|
1527
|
-
required: ["tabId", "url"]
|
|
1611
|
+
required: ["browserSessionId", "tabId", "url"]
|
|
1528
1612
|
}
|
|
1529
1613
|
}, {
|
|
1530
1614
|
operationKind: "mutate",
|
|
1531
|
-
requiresExecutionEvidence: false
|
|
1615
|
+
requiresExecutionEvidence: false,
|
|
1616
|
+
rawDomain: "browser"
|
|
1532
1617
|
}),
|
|
1533
1618
|
annotateTool({
|
|
1534
|
-
name: "
|
|
1535
|
-
description: "\u8BA9
|
|
1619
|
+
name: "seastudio-browser_tab_go_back",
|
|
1620
|
+
description: "\u8BA9 Browser Session \u4E2D\u7684 tab \u540E\u9000\u3002",
|
|
1536
1621
|
inputSchema: {
|
|
1537
1622
|
type: "object",
|
|
1538
|
-
properties:
|
|
1539
|
-
|
|
1623
|
+
properties: {
|
|
1624
|
+
...browserSessionIdParam,
|
|
1625
|
+
...tabIdParam
|
|
1626
|
+
},
|
|
1627
|
+
required: ["browserSessionId", "tabId"]
|
|
1540
1628
|
}
|
|
1541
1629
|
}, {
|
|
1542
1630
|
operationKind: "mutate",
|
|
1543
|
-
requiresExecutionEvidence: false
|
|
1631
|
+
requiresExecutionEvidence: false,
|
|
1632
|
+
rawDomain: "browser"
|
|
1544
1633
|
}),
|
|
1545
1634
|
annotateTool({
|
|
1546
|
-
name: "
|
|
1547
|
-
description: "\u8BA9
|
|
1635
|
+
name: "seastudio-browser_tab_go_forward",
|
|
1636
|
+
description: "\u8BA9 Browser Session \u4E2D\u7684 tab \u524D\u8FDB\u3002",
|
|
1548
1637
|
inputSchema: {
|
|
1549
1638
|
type: "object",
|
|
1550
|
-
properties:
|
|
1551
|
-
|
|
1639
|
+
properties: {
|
|
1640
|
+
...browserSessionIdParam,
|
|
1641
|
+
...tabIdParam
|
|
1642
|
+
},
|
|
1643
|
+
required: ["browserSessionId", "tabId"]
|
|
1552
1644
|
}
|
|
1553
1645
|
}, {
|
|
1554
1646
|
operationKind: "mutate",
|
|
1555
|
-
requiresExecutionEvidence: false
|
|
1647
|
+
requiresExecutionEvidence: false,
|
|
1648
|
+
rawDomain: "browser"
|
|
1556
1649
|
}),
|
|
1557
1650
|
annotateTool({
|
|
1558
|
-
name: "
|
|
1559
|
-
description: "\u5237\u65B0
|
|
1651
|
+
name: "seastudio-browser_tab_reload",
|
|
1652
|
+
description: "\u5237\u65B0 Browser Session \u4E2D\u7684 tab\u3002",
|
|
1560
1653
|
inputSchema: {
|
|
1561
1654
|
type: "object",
|
|
1562
|
-
properties:
|
|
1563
|
-
|
|
1655
|
+
properties: {
|
|
1656
|
+
...browserSessionIdParam,
|
|
1657
|
+
...tabIdParam
|
|
1658
|
+
},
|
|
1659
|
+
required: ["browserSessionId", "tabId"]
|
|
1564
1660
|
}
|
|
1565
1661
|
}, {
|
|
1566
1662
|
operationKind: "mutate",
|
|
1567
|
-
requiresExecutionEvidence: false
|
|
1663
|
+
requiresExecutionEvidence: false,
|
|
1664
|
+
rawDomain: "browser"
|
|
1568
1665
|
}),
|
|
1569
1666
|
annotateTool({
|
|
1570
|
-
name: "
|
|
1571
|
-
description: "\u505C\u6B62
|
|
1667
|
+
name: "seastudio-browser_tab_stop",
|
|
1668
|
+
description: "\u505C\u6B62 Browser Session \u4E2D\u7684 tab \u52A0\u8F7D\u3002",
|
|
1572
1669
|
inputSchema: {
|
|
1573
1670
|
type: "object",
|
|
1574
|
-
properties:
|
|
1575
|
-
|
|
1671
|
+
properties: {
|
|
1672
|
+
...browserSessionIdParam,
|
|
1673
|
+
...tabIdParam
|
|
1674
|
+
},
|
|
1675
|
+
required: ["browserSessionId", "tabId"]
|
|
1576
1676
|
}
|
|
1577
1677
|
}, {
|
|
1578
1678
|
operationKind: "mutate",
|
|
1579
|
-
requiresExecutionEvidence: false
|
|
1679
|
+
requiresExecutionEvidence: false,
|
|
1680
|
+
rawDomain: "browser"
|
|
1580
1681
|
}),
|
|
1581
1682
|
annotateTool({
|
|
1582
|
-
name: "
|
|
1583
|
-
description: "\
|
|
1683
|
+
name: "seastudio-browser_viewport_bind",
|
|
1684
|
+
description: "\u628A\u4E00\u4E2A Browser Session \u7ED1\u5B9A\u5230\u5F53\u524D UI viewport\uFF0C\u7528\u4E8E\u5BBF\u4E3B\u6E32\u67D3\u771F\u5B9E webview surface\u3002",
|
|
1584
1685
|
inputSchema: {
|
|
1585
1686
|
type: "object",
|
|
1586
1687
|
properties: {
|
|
1587
|
-
|
|
1688
|
+
...browserSessionIdParam,
|
|
1689
|
+
ownerInstanceId: { type: "string", description: "\u53EF\u9009 UI owner instance id\u3002" },
|
|
1588
1690
|
rect: {
|
|
1589
1691
|
type: "object",
|
|
1590
1692
|
properties: {
|
|
@@ -1596,26 +1698,29 @@ var browserRuntimeTools = [
|
|
|
1596
1698
|
required: ["x", "y", "width", "height"]
|
|
1597
1699
|
}
|
|
1598
1700
|
},
|
|
1599
|
-
required: ["rect"]
|
|
1701
|
+
required: ["browserSessionId", "rect"]
|
|
1600
1702
|
}
|
|
1601
1703
|
}, {
|
|
1602
1704
|
operationKind: "mutate",
|
|
1603
|
-
requiresExecutionEvidence: false
|
|
1705
|
+
requiresExecutionEvidence: false,
|
|
1706
|
+
rawDomain: "browser"
|
|
1604
1707
|
}),
|
|
1605
1708
|
annotateTool({
|
|
1606
|
-
name: "
|
|
1607
|
-
description: "\u54CD\u5E94
|
|
1709
|
+
name: "seastudio-browser_certificate_respond",
|
|
1710
|
+
description: "\u54CD\u5E94 Browser Session \u8BC1\u4E66\u9519\u8BEF\u51B3\u7B56\u3002",
|
|
1608
1711
|
inputSchema: {
|
|
1609
1712
|
type: "object",
|
|
1610
1713
|
properties: {
|
|
1714
|
+
...browserSessionIdParam,
|
|
1611
1715
|
requestId: { type: "string", description: "\u8BC1\u4E66\u9519\u8BEF\u8BF7\u6C42 ID\u3002" },
|
|
1612
1716
|
allow: { type: "boolean", description: "\u662F\u5426\u7EE7\u7EED\u52A0\u8F7D\u8BE5\u8BC1\u4E66\u9519\u8BEF\u9875\u9762\u3002" }
|
|
1613
1717
|
},
|
|
1614
|
-
required: ["requestId", "allow"]
|
|
1718
|
+
required: ["browserSessionId", "requestId", "allow"]
|
|
1615
1719
|
}
|
|
1616
1720
|
}, {
|
|
1617
1721
|
operationKind: "mutate",
|
|
1618
|
-
requiresExecutionEvidence: false
|
|
1722
|
+
requiresExecutionEvidence: false,
|
|
1723
|
+
rawDomain: "browser"
|
|
1619
1724
|
})
|
|
1620
1725
|
];
|
|
1621
1726
|
|
|
@@ -1655,15 +1760,13 @@ var SeastudioNotifications = {
|
|
|
1655
1760
|
PROPOSAL_FEEDBACK: "seastudio:proposal-feedback",
|
|
1656
1761
|
/** 插件实例请求更新宿主 plugin tab 标题 */
|
|
1657
1762
|
PLUGIN_TAB_TITLE_CHANGED: "plugin:tab-title_changed",
|
|
1658
|
-
/** Browser
|
|
1659
|
-
|
|
1660
|
-
/** Browser
|
|
1661
|
-
|
|
1662
|
-
/** Browser
|
|
1663
|
-
BROWSER_LOAD_STATE_CHANGED: "browser:load_state_changed",
|
|
1664
|
-
/** Browser runtime 证书错误,需要插件 UI 决策 */
|
|
1763
|
+
/** Browser Session 状态变化 */
|
|
1764
|
+
BROWSER_SESSION_CHANGED: "browser:session_changed",
|
|
1765
|
+
/** Browser Session 关闭 */
|
|
1766
|
+
BROWSER_SESSION_CLOSED: "browser:session_closed",
|
|
1767
|
+
/** Browser Session 证书错误,需要客户端 UI 决策 */
|
|
1665
1768
|
BROWSER_CERTIFICATE_ERROR: "browser:certificate_error",
|
|
1666
|
-
/** Browser
|
|
1769
|
+
/** Browser Session 收到网页新标签请求 */
|
|
1667
1770
|
BROWSER_NEW_TAB_REQUESTED: "browser:new_tab_requested",
|
|
1668
1771
|
/**
|
|
1669
1772
|
* Agent 对话 session:新建。消息历史仍由 Agent 前端持有,宿主仅同步列表用于侧栏。
|
package/dist/index.cjs
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6ZZFSVSZ_cjs = require('./chunk-6ZZFSVSZ.cjs');
|
|
4
4
|
var chunkUZ6SEVW3_cjs = require('./chunk-UZ6SEVW3.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkHAFMJ47Q_cjs = require('./chunk-HAFMJ47Q.cjs');
|
|
6
6
|
var chunk3I7UM66P_cjs = require('./chunk-3I7UM66P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MCP_PACKAGES", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk6ZZFSVSZ_cjs.MCP_PACKAGES; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getMCPPackageIdForTool", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPPackageIdForTool; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getMCPPackages", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPPackages; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getMCPToolPackageIndex", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getMCPToolPackageIndex; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "getToolsForLLM", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk6ZZFSVSZ_cjs.getToolsForLLM; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "listAllTools", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAllTools; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "listAvailableTools", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAvailableTools; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "listAvailableToolsForLLM", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk6ZZFSVSZ_cjs.listAvailableToolsForLLM; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "loadPlugin", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk6ZZFSVSZ_cjs.loadPlugin; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "mcpToolToOpenAI", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk6ZZFSVSZ_cjs.mcpToolToOpenAI; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DialogBody", {
|
|
51
51
|
enumerable: true,
|
|
@@ -101,51 +101,51 @@ Object.defineProperty(exports, "showHostContextMenu", {
|
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "SeastudioNotifications", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioNotifications; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "SeastudioRequests", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkHAFMJ47Q_cjs.SeastudioRequests; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "agentManagementTools", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentManagementTools; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "agentTabTools", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkHAFMJ47Q_cjs.agentTabTools; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "fileTools", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkHAFMJ47Q_cjs.fileTools; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "pluginManagementTools", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginManagementTools; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "pluginTabTools", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkHAFMJ47Q_cjs.pluginTabTools; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "seaCloudTools", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkHAFMJ47Q_cjs.seaCloudTools; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "seastudio", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkHAFMJ47Q_cjs.seastudio; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "seastudioAllTools", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkHAFMJ47Q_cjs.allTools; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "seastudioTools", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkHAFMJ47Q_cjs.tools; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "shellTools", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkHAFMJ47Q_cjs.shellTools; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "MCPClient", {
|
|
151
151
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.cjs';
|
|
2
2
|
export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.cjs';
|
|
3
|
-
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, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, 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-
|
|
3
|
+
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, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, 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';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.cjs';
|
|
5
5
|
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 './mcp/core/index.cjs';
|
|
6
6
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DialogBody, DialogBodyProps, DialogButton, DialogButtonProps, DialogContainer, DialogContainerProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, HostContextMenuItem, HostContextMenuResult, MenuContainer, MenuContainerProps, MenuEmpty, MenuEmptyProps, MenuItem, MenuItemProps, MenuSeparator, MenuSeparatorProps, Tab, TabProps, cn, showHostContextMenu } from './ui/index.js';
|
|
2
2
|
export { MCPAvailableTool, MCPPackageId, MCPPackageInfo, MCPToolCapabilityMetadata, MCPToolCapabilityRisk, MCP_PACKAGES, OpenAITool, getMCPPackageIdForTool, getMCPPackages, getMCPToolPackageIndex, getToolsForLLM, listAllTools, listAvailableTools, listAvailableToolsForLLM, loadPlugin, mcpToolToOpenAI } from './mcp/index.js';
|
|
3
|
-
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, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, 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-
|
|
3
|
+
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, g as MCPTool, h as MCPToolAnnotations, i as MCPToolCallRequest, j as MCPToolInputSchema, 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';
|
|
4
4
|
export { FileModifiedParams, FileOpenRequestedParams, FileSavedParams, FileSendRequestedParams, FilesChangedParams, RootsChangedParams, SeastudioDragDropParams, SeastudioDragEnterParams, SeastudioDragFileData, SeastudioDragRootId, SeastudioDragStartParams, SeastudioFileDownloadOptions, SeastudioFileTreeOptions, SeastudioNotifications, SeastudioRequests, TextSendRequestedParams, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './mcp/seastudio/index.js';
|
|
5
5
|
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 './mcp/core/index.js';
|
|
6
6
|
import 'react';
|
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-2DFXLVWC.js';
|
|
2
2
|
export { DialogBody, DialogButton, DialogContainer, DialogFooter, DialogHeader, DialogOverlay, MenuContainer, MenuEmpty, MenuItem, MenuSeparator, Tab, cn, showHostContextMenu } from './chunk-XWORXNCU.js';
|
|
3
|
-
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-
|
|
3
|
+
export { SeastudioNotifications, SeastudioRequests, agentManagementTools, agentTabTools, fileTools, pluginManagementTools, pluginTabTools, seaCloudTools, seastudio, allTools as seastudioAllTools, tools as seastudioTools, shellTools } from './chunk-GZRP7JKO.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-D7xY0bt6.cjs';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, 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
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|
package/dist/mcp/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-
|
|
2
|
-
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, P as PluginMCPManifest, l as PluginMCPModuleExports, m as PublishParams, S as SubscribeParams, n as createNotification, o as createRequest, p as createResponse, q as isMCPMessage, r as isNotification } from '../../types-
|
|
1
|
+
import { j as MCPToolInputSchema, g as MCPTool, b as JSONRPCMessage, k as MCPToolResult, N as NotificationHandler, d as JSONRPCRequest, e as JSONRPCResponse } from '../../types-D7xY0bt6.js';
|
|
2
|
+
export { F as FileItem, a as FileNode, J as JSONRPCError, c as JSONRPCNotification, M as MCPMessageEnvelope, f as MCPMethod, h as MCPToolAnnotations, i as MCPToolCallRequest, 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
|
|
|
4
4
|
interface NormalizeMCPToolInputSchemaOptions {
|
|
5
5
|
defaultType?: MCPToolInputSchema['type'];
|