@zhihand/mcp 0.12.2 → 0.12.3
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/core/pair.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/core/pair.js
CHANGED
|
@@ -70,7 +70,7 @@ export async function waitForPairingClaim(endpoint, sessionId, timeoutMs = 600_0
|
|
|
70
70
|
throw new Error("Pairing timeout.");
|
|
71
71
|
}
|
|
72
72
|
export async function renderPairingQRCode(url) {
|
|
73
|
-
return QRCode.toString(url, { type: "utf8", margin:
|
|
73
|
+
return QRCode.toString(url, { type: "utf8", margin: 2 });
|
|
74
74
|
}
|
|
75
75
|
export async function executePairing(endpoint, edgeId, deviceName) {
|
|
76
76
|
// Step 0: Register plugin first — server requires a known edge_id before pairing.
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { controlSchema, screenshotSchema, pairSchema } from "./tools/schemas.js"
|
|
|
5
5
|
import { executeControl } from "./tools/control.js";
|
|
6
6
|
import { handleScreenshot } from "./tools/screenshot.js";
|
|
7
7
|
import { handlePair } from "./tools/pair.js";
|
|
8
|
-
const PACKAGE_VERSION = "0.12.
|
|
8
|
+
const PACKAGE_VERSION = "0.12.3";
|
|
9
9
|
export function createServer(deviceName) {
|
|
10
10
|
const server = new McpServer({
|
|
11
11
|
name: "zhihand",
|