vite-plugin-aipanel 1.2.2 → 1.2.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.
@@ -54,7 +54,11 @@ class McpProxy {
54
54
  __privateSet(this, _args, options.args ?? [
55
55
  "--auto-connect",
56
56
  "--no-usage-statistics",
57
- "--no-performance-crux"
57
+ "--no-performance-crux",
58
+ // chrome-devtools-mcp >=1.8.0 默认开启 pageIdRouting(要求每个页面级工具都传 pageId)。
59
+ // 代理层已自行校验 pageId 并用 select_page 选中目标页面后再转发,故显式关闭,
60
+ // 避免底层工具 schema 强制必填 pageId 导致转发时的参数校验失败。
61
+ "--no-page-id-routing"
58
62
  ]);
59
63
  __privateSet(this, _idleTimeout, options.idleTimeout ?? 0);
60
64
  this.sessionId = crypto.randomUUID();
@@ -85,7 +85,11 @@ class McpProxy {
85
85
  __privateSet(this, _args, options.args ?? [
86
86
  "--auto-connect",
87
87
  "--no-usage-statistics",
88
- "--no-performance-crux"
88
+ "--no-performance-crux",
89
+ // chrome-devtools-mcp >=1.8.0 默认开启 pageIdRouting(要求每个页面级工具都传 pageId)。
90
+ // 代理层已自行校验 pageId 并用 select_page 选中目标页面后再转发,故显式关闭,
91
+ // 避免底层工具 schema 强制必填 pageId 导致转发时的参数校验失败。
92
+ "--no-page-id-routing"
89
93
  ]);
90
94
  __privateSet(this, _idleTimeout, options.idleTimeout ?? 0);
91
95
  this.sessionId = import_node_crypto.default.randomUUID();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-aipanel",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Embed OpenCode Web UI in your Vite dev server for real-time code modification and preview",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",
@@ -41,12 +41,12 @@
41
41
  "execa": "^9.6.1",
42
42
  "typescript-language-server": "^5.3.0",
43
43
  "unplugin-vue-inspector": "^3.0.0",
44
- "@aipanel/provider-opencode": "1.2.2",
45
- "@aipanel/core": "1.2.2"
44
+ "@aipanel/provider-opencode": "1.2.4",
45
+ "@aipanel/core": "1.2.4"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "vite": ">=5.0.0",
49
- "@aipanel/provider-deepseek": "1.2.2"
49
+ "@aipanel/provider-deepseek": "1.2.4"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@aipanel/provider-deepseek": {
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "sharp": "^0.34.5",
58
- "@aipanel/client": "1.2.2"
58
+ "@aipanel/client": "1.2.4"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "pagoda-cli build && vite build -c vite.client.config.ts",