zan-browser 3.0.44 → 3.0.45

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.
@@ -158,11 +158,11 @@ class AgentOrchestrator {
158
158
  seenUrls.add(r.url);
159
159
  }
160
160
  }
161
- // Path 3: successful fetch_url in the last 3 steps of a successful run
161
+ // Path 3: successful fetch_url in the last 5 steps of a successful run
162
162
  // fetch_url bypasses the browser — its results never appear in the interceptor.
163
163
  // If the agent succeeded and a recent fetch_url returned data, accept it directly.
164
164
  if (agentResult.success) {
165
- const recentSteps = agentResult.steps.slice(-3);
165
+ const recentSteps = agentResult.steps.slice(-5);
166
166
  for (const step of recentSteps) {
167
167
  if (step.toolName === "fetch_url" &&
168
168
  step.result.success &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zan-browser",
3
- "version": "3.0.44",
3
+ "version": "3.0.45",
4
4
  "description": "AI-powered cloud browser library with observe-first, screenshot-as-fallback pattern",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",