@harusame64/desktop-touch-mcp 1.1.0 → 1.1.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/README.ja.md +2 -2
- package/README.md +2 -2
- package/bin/launcher.js +3 -3
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -239,7 +239,7 @@ mouse_click(x, y, origin?, scale?) → 最終手段。dotByDot screenshot の
|
|
|
239
239
|
リカバリ — `response.attention` を毎観測でチェック、`desktop_discover` / `desktop_act` の `response.warnings[]` を読む:
|
|
240
240
|
|
|
241
241
|
- `lease_expired` / `lease_generation_mismatch` / `lease_digest_mismatch` / `entity_not_found` → `desktop_discover` を再実行
|
|
242
|
-
- `modal_blocking` → `
|
|
242
|
+
- `modal_blocking` → `response.blockingElement` (含まれていれば) がブロック中の modal を識別する。`click_element(name=blockingElement.name)` で閉じてからリトライ
|
|
243
243
|
- `entity_outside_viewport` → `scroll(action='to_element' | 'raw')` 後に `desktop_discover` 再実行
|
|
244
244
|
- `executor_failed` → V1 (`click_element` / `mouse_click` / `browser_click`) にフォールバック
|
|
245
245
|
|
|
@@ -498,7 +498,7 @@ v0.16.x での opt-in フラグです。v0.17 では後方互換として受理
|
|
|
498
498
|
`desktop_act` が `ok: false` を返した場合は `reason` を確認し、ツール説明のリカバリヒントに従ってください。よくあるパターン:
|
|
499
499
|
|
|
500
500
|
- `lease_expired` / `*_mismatch` / `entity_not_found` → `desktop_discover` を再実行してリースを更新
|
|
501
|
-
- `modal_blocking` → `click_element` でモーダルを閉じてから retry
|
|
501
|
+
- `modal_blocking` → `response.blockingElement` (含まれていれば) が `{ name, role, automationId? }` を返す。`click_element(name=blockingElement.name)` でモーダルを閉じてから retry
|
|
502
502
|
- `entity_outside_viewport` → `scroll` / `scroll(action='to_element')` してから `desktop_discover` を再実行
|
|
503
503
|
- `executor_failed` → `click_element` / `mouse_click` / `browser_click` にフォールバック
|
|
504
504
|
|
package/README.md
CHANGED
|
@@ -187,7 +187,7 @@ mouse_click(x, y, origin?, scale?) → pixel last resort; origin+scale from d
|
|
|
187
187
|
Recovery hints — read `response.attention` after every observation and `response.warnings[]` on `desktop_discover` / `desktop_act`. Common reasons:
|
|
188
188
|
|
|
189
189
|
- `lease_expired` / `lease_generation_mismatch` / `lease_digest_mismatch` / `entity_not_found` → re-call `desktop_discover`
|
|
190
|
-
- `modal_blocking` → dismiss via `click_element
|
|
190
|
+
- `modal_blocking` → `response.blockingElement` (when present) names the blocking modal; dismiss via `click_element(name=blockingElement.name)` then retry
|
|
191
191
|
- `entity_outside_viewport` → `scroll(action='to_element' | 'raw')`, then re-call `desktop_discover`
|
|
192
192
|
- `executor_failed` → fall back to `click_element` / `mouse_click` / `browser_click`
|
|
193
193
|
|
|
@@ -691,7 +691,7 @@ This was the opt-in switch in v0.16.x. From v0.17 it is accepted for compatibili
|
|
|
691
691
|
If `desktop_act` returns `ok: false`, read `reason` and follow the built-in recovery hints in the tool description. Common paths:
|
|
692
692
|
|
|
693
693
|
- `lease_expired` / `*_mismatch` / `entity_not_found` → re-call `desktop_discover`
|
|
694
|
-
- `modal_blocking` →
|
|
694
|
+
- `modal_blocking` → `response.blockingElement` (when present) carries `{ name, role, automationId? }`; dismiss with `click_element(name=blockingElement.name)`, then retry
|
|
695
695
|
- `entity_outside_viewport` → `scroll` / `scroll(action='to_element')`, then re-call `desktop_discover`
|
|
696
696
|
- `executor_failed` → fall back to `click_element` / `mouse_click` / `browser_click`
|
|
697
697
|
|
package/bin/launcher.js
CHANGED
|
@@ -18,15 +18,15 @@ import path from "node:path";
|
|
|
18
18
|
import { Readable } from "node:stream";
|
|
19
19
|
import { pipeline } from "node:stream/promises";
|
|
20
20
|
|
|
21
|
-
const PACKAGE_VERSION = "1.1.
|
|
21
|
+
const PACKAGE_VERSION = "1.1.2";
|
|
22
22
|
const RELEASE_TAG = `v${PACKAGE_VERSION}`;
|
|
23
23
|
const REPO_API_URL = `https://api.github.com/repos/Harusame64/desktop-touch-mcp/releases/tags/${RELEASE_TAG}`;
|
|
24
24
|
const ASSET_NAME = "desktop-touch-mcp-windows.zip";
|
|
25
25
|
const RELEASE_METADATA_FILE = ".desktop-touch-release.json";
|
|
26
26
|
const RELEASE_MANIFEST = {
|
|
27
|
-
tagName: "v1.1.
|
|
27
|
+
tagName: "v1.1.2",
|
|
28
28
|
assetName: ASSET_NAME,
|
|
29
|
-
sha256: "
|
|
29
|
+
sha256: "4214ad72cf88bdf584789900cbaf23e629170d3ff07f6b88e8538b1408f9c88a",
|
|
30
30
|
};
|
|
31
31
|
const CACHE_ROOT = process.env.DESKTOP_TOUCH_MCP_HOME
|
|
32
32
|
? path.resolve(process.env.DESKTOP_TOUCH_MCP_HOME)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harusame64/desktop-touch-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"mcpName": "io.github.Harusame64/desktop-touch-mcp",
|
|
5
5
|
"description": "LLM-native Windows computer-use MCP server with 28 tools for screenshots, UIA, mouse/keyboard, Chrome CDP, terminal, SmartScroll, and perception guards",
|
|
6
6
|
"engines": {
|