@xiaou66/vite-plugin-vue-mcp-next 1.2.0 → 1.3.0

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.
@@ -1,3 +1,7 @@
1
+ import { h as RuntimeClientOptions } from '../types-BKXdHkwk.cjs';
2
+ import 'hookable';
3
+ import 'vite';
4
+
1
5
  /**
2
6
  * 浏览器端 snapdom 截图降级能力。
3
7
  *
@@ -60,6 +64,6 @@ declare function evaluateExpression(request: RuntimeEvaluateRequest): Promise<un
60
64
  *
61
65
  * Vue Devtools hook 必须在等待 Vite hot context 前同步初始化,否则 Vue app 挂载时会错过注册窗口。
62
66
  */
63
- declare function startRuntimeClient(): Promise<void>;
67
+ declare function startRuntimeClient(runtimeOptions?: RuntimeClientOptions): Promise<void>;
64
68
 
65
69
  export { type RuntimeEvaluateRequest, evaluateExpression, setScreenshotModuleRegistry, setSnapdomLoader, startRuntimeClient };
@@ -1,3 +1,7 @@
1
+ import { h as RuntimeClientOptions } from '../types-BKXdHkwk.js';
2
+ import 'hookable';
3
+ import 'vite';
4
+
1
5
  /**
2
6
  * 浏览器端 snapdom 截图降级能力。
3
7
  *
@@ -60,6 +64,6 @@ declare function evaluateExpression(request: RuntimeEvaluateRequest): Promise<un
60
64
  *
61
65
  * Vue Devtools hook 必须在等待 Vite hot context 前同步初始化,否则 Vue app 挂载时会错过注册窗口。
62
66
  */
63
- declare function startRuntimeClient(): Promise<void>;
67
+ declare function startRuntimeClient(runtimeOptions?: RuntimeClientOptions): Promise<void>;
64
68
 
65
69
  export { type RuntimeEvaluateRequest, evaluateExpression, setScreenshotModuleRegistry, setSnapdomLoader, startRuntimeClient };