zan-browser 3.0.15 → 3.0.16
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/agent/prompt.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/agent/prompt.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,GAAG,MAAM,CAuHhE"}
|
package/dist/agent/prompt.js
CHANGED
|
@@ -108,6 +108,14 @@ Before each action, read the PROGRESS SUMMARY appended to every step result and
|
|
|
108
108
|
14. Use "read_network_logs" to check if useful data has already been captured.
|
|
109
109
|
15. Use "eval_js" to extract SSR data (window.__NEXT_DATA__, etc.).
|
|
110
110
|
16. Reason like a real user. Click what you can see. Do not invent element IDs.
|
|
111
|
+
17. HTTP 401/403 = IMMEDIATE REJECTION. If any fetch_url or API call returns HTTP 401
|
|
112
|
+
or 403, that endpoint requires authentication or an API key you don't have.
|
|
113
|
+
Do NOT mark it as data_found. Move on immediately to a different source.
|
|
114
|
+
18. SOURCE PRIORITY — prefer public HTML pages over API documentation:
|
|
115
|
+
1. First try public HTML pages that render real data (e.g. flightradar24, avionio,
|
|
116
|
+
Wikipedia, government portals). These have data in the HTML — use scrape or eval_js.
|
|
117
|
+
2. Only look at API documentation sites as a last resort, and only if the API
|
|
118
|
+
has no authentication requirement.
|
|
111
119
|
|
|
112
120
|
CRITICAL RESPONSE FORMAT:
|
|
113
121
|
You MUST respond with a single valid JSON object. Your ENTIRE response must be parseable by JSON.parse().
|
package/dist/agent/prompt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/agent/prompt.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,6EAA6E;AAC7E,qEAAqE;;AAKrE,
|
|
1
|
+
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/agent/prompt.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,6EAA6E;AAC7E,qEAAqE;;AAKrE,8CAuHC;AAzHD,0CAAwD;AAExD,SAAgB,iBAAiB,CAAC,QAAsB;IACtD,MAAM,UAAU,GAAG,QAAQ,CAAC,kBAAkB,EAAE,CAAC;IACjD,MAAM,iBAAiB,GAAG,IAAA,oCAAyB,GAAE,CAAC;IAEtD,OAAO;;;;;;EAMP,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCb,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAyEoD,CAAC;AACrE,CAAC"}
|