zan-browser 3.0.26 → 3.0.27
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,CA6MhE"}
|
package/dist/agent/prompt.js
CHANGED
|
@@ -195,6 +195,13 @@ abandon it and try something structurally different.
|
|
|
195
195
|
three consecutive fetch_url calls fail, stop probing and change approach:
|
|
196
196
|
navigate to the site, interact, and inspect network traffic or JS source
|
|
197
197
|
to find real endpoints before attempting more direct calls.
|
|
198
|
+
20. Connection errors are permanent. If navigate or fetch_url fails with a
|
|
199
|
+
connection-level error — SSL/TLS failure, connection refused, DNS resolution
|
|
200
|
+
failure, timeout with no response — that site is structurally unreachable.
|
|
201
|
+
Record it in memory as inaccessible and never retry it. These are not
|
|
202
|
+
application errors that can be fixed with different headers or params;
|
|
203
|
+
the server is down or doesn't exist. HTTP errors (4xx, 5xx) are different
|
|
204
|
+
— those come from a working server and may be solvable.
|
|
198
205
|
|
|
199
206
|
CRITICAL RESPONSE FORMAT:
|
|
200
207
|
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,8CA6MC;AA/MD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEA+JoD,CAAC;AACrE,CAAC"}
|