yiyan-browser-agent 1.7.0 → 1.7.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/browser.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yiyan-browser-agent",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "AI coding agent powered by Yiyan (文心一言) via browser automation — no API key needed",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/browser.js CHANGED
@@ -300,7 +300,7 @@ class YiyanBrowser {
300
300
  // 条件: dialogCardBottom 出现 + 连续两次内容稳定
301
301
  let lastText = '';
302
302
  let stableCount = 0;
303
- let lastCheckTime = Date.now();
303
+ let lastCheckTime = Date.now(); // 在 Phase 2 开始时重新设置
304
304
  let dotCount = 0;
305
305
  let hasCompletionMarker = false;
306
306