@mearl/mcp-server 2.7.0 → 2.7.1
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/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1295,7 +1295,7 @@ async function main() {
|
|
|
1295
1295
|
},
|
|
1296
1296
|
{
|
|
1297
1297
|
name: 'browser_page_drag',
|
|
1298
|
-
description: '
|
|
1298
|
+
description: '在页面内执行连续拖动,并默认内置观察与原子诊断,返回 { action, observation, diagnostics }。from/to 均可传原生 CSS、"@eN" snapshot ref 或 {x,y} 视口坐标;选择器端点需要同时位于当前视口。dragMode 默认 auto:可见页按设备模拟状态使用可信 touch/mouse,隐藏页自动使用不抢焦点的 DOM 模拟;可用 dom 显式强制模拟,mouse/touch 显式强制可信输入。适合轮播图滑动、滑块、画布手势和拖放。',
|
|
1299
1299
|
inputSchema: {
|
|
1300
1300
|
type: 'object',
|
|
1301
1301
|
properties: {
|
|
@@ -1327,8 +1327,8 @@ async function main() {
|
|
|
1327
1327
|
},
|
|
1328
1328
|
dragMode: {
|
|
1329
1329
|
type: 'string',
|
|
1330
|
-
enum: ['auto', 'mouse', 'touch'],
|
|
1331
|
-
description: '输入类型;auto
|
|
1330
|
+
enum: ['auto', 'dom', 'mouse', 'touch'],
|
|
1331
|
+
description: '输入类型;auto 在可见页选择可信 touch/mouse、隐藏页使用 DOM 模拟;dom 显式强制模拟',
|
|
1332
1332
|
default: 'auto',
|
|
1333
1333
|
},
|
|
1334
1334
|
durationMs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/mcp-server",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "MCP Server for Mearl - enables AI to interact with Chrome browser requests and logs",
|
|
5
5
|
"mcpName": "io.github.F-loat/mearl",
|
|
6
6
|
"type": "module",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
32
32
|
"prompts": "^2.4.2",
|
|
33
|
-
"@mearl/client": "2.7.
|
|
34
|
-
"@mearl/native-host": "2.7.
|
|
33
|
+
"@mearl/client": "2.7.1",
|
|
34
|
+
"@mearl/native-host": "2.7.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^24.9.1",
|