Fix explicit script wait APIs (#1885)

This commit is contained in:
陈大猫 authored and GitHub committed 2026-07-02 17:48:04 +08:00
1 parent eedb123b3a
commit a46c3321db
17 files changed
+659 -30

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
const STEP_MATCHERS = [
{ regex: /await\s+nct\.screen\.waitForPrompt\s*\(/g, label: "waitForPrompt" },
{ regex: /await\s+nct\.screen\.waitForAny\s*\(/g, label: "waitForAny" },
{ regex: /await\s+nct\.screen\.waitForText\s*\(/g, label: "waitForText" },
{ regex: /await\s+nct\.screen\.waitForRegex\s*\(/g, label: "waitForRegex" },
{ regex: /await\s+nct\.screen\.waitFor\s*\(/g, label: "waitFor" },
{ regex: /await\s+nct\.screen\.sendLine\s*\(/g, label: "sendLine" },
{ regex: /await\s+nct\.screen\.send\s*\(/g, label: "send" },