chore(gemini-ops): 导入 sleep 工具函数,用于延迟操作

This commit is contained in:
knowen
2026-03-19 21:28:07 +08:00
parent c258a402f4
commit 03bb48bb54
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
* 全部通过 CDP 实现,不往页面注入任何对象。
*/
import { createOperator } from './operator.js';
import { sleep } from './util.js';
// ── Gemini 页面元素选择器 ──
const SELECTORS = {

View File

@@ -7,6 +7,7 @@ import { join } from "node:path";
// 复用已有的统一入口,不修改原有逻辑
import { createGeminiSession, disconnect } from './index.js';
import config from './config.js';
import { sleep } from './util.js';
const server = new McpServer({
name: "gemini-mcp-server",