@taole/dd-playwright 0.1.2 → 0.1.4
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/bin/mcp-server.mjs +1 -1
- package/package.json +1 -1
- package/src/server/web-server.mjs +3 -0
package/bin/mcp-server.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { resolveConfig } from "../src/config.mjs";
|
|
|
10
10
|
import { PlaywrightBrowserManager } from "../src/browser-manager.mjs";
|
|
11
11
|
import { pathToFileURL } from "node:url";
|
|
12
12
|
|
|
13
|
-
export const MCP_VERSION = "0.1.
|
|
13
|
+
export const MCP_VERSION = "0.1.4";
|
|
14
14
|
|
|
15
15
|
function textResult(payload) {
|
|
16
16
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createServer } from "node:http";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
+
import { AccountStore } from "../account-store.mjs";
|
|
4
5
|
import { DiandianAuthManager } from "../auth/diandian-auth.mjs";
|
|
5
6
|
import { getChromiumMetadata } from "../browser-check.mjs";
|
|
6
7
|
|
|
@@ -389,7 +390,9 @@ const DASHBOARD_HTML = `<!DOCTYPE html>
|
|
|
389
390
|
• 表单填写使用 <code>browser_fill_text</code>,按键使用 <code>browser_press_key</code>。
|
|
390
391
|
</div>
|
|
391
392
|
</div>
|
|
393
|
+
</div>
|
|
392
394
|
</div>
|
|
395
|
+
|
|
393
396
|
<!-- TAB 4: 全局配置 -->
|
|
394
397
|
<div id="pane-settings" class="tab-pane">
|
|
395
398
|
<div class="card">
|