@foldrun/core 2.10.0 → 2.10.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.
- package/dist/src/providers.js +8 -1
- package/package.json +1 -1
- package/src/providers.ts +8 -1
package/dist/src/providers.js
CHANGED
|
@@ -982,8 +982,15 @@ export function resolveSearch(name, kind = "search") {
|
|
|
982
982
|
if (other) {
|
|
983
983
|
return { provider: null, error: `web.fetch: ${key} — ${other.title} searches but has no fetch here. The fetch APIs: ${FETCH_APIS.map((a) => a.name).join(", ")}; or anthropic.` };
|
|
984
984
|
}
|
|
985
|
+
// `anthropic` handed fetch to Claude Code's WebFetch, which is not
|
|
986
|
+
// Anthropic's server-side tool: it fetches from the sandbox after a domain
|
|
987
|
+
// check that fails behind the egress proxy ("Unable to verify if domain …
|
|
988
|
+
// is safe to fetch"), so every fetch by a step in a run pod was refused
|
|
989
|
+
// (validators on four desks, Oct 2026). The name is still accepted, and
|
|
990
|
+
// our own fetch answers: through the proxy, on the run record, like every
|
|
991
|
+
// other read (owner, 23 Oct 2026).
|
|
985
992
|
if (key === "anthropic")
|
|
986
|
-
return { provider:
|
|
993
|
+
return { provider: null, index: "foldrun's own fetch (web.fetch: anthropic is answered by it)" };
|
|
987
994
|
const preset = PROVIDERS.find((p) => p.name === key);
|
|
988
995
|
return {
|
|
989
996
|
provider: null,
|
package/package.json
CHANGED
package/src/providers.ts
CHANGED
|
@@ -1302,7 +1302,14 @@ export function resolveSearch(name: unknown, kind: "search" | "fetch" | "browse"
|
|
|
1302
1302
|
if (other) {
|
|
1303
1303
|
return { provider: null, error: `web.fetch: ${key} — ${other.title} searches but has no fetch here. The fetch APIs: ${FETCH_APIS.map((a) => a.name).join(", ")}; or anthropic.` };
|
|
1304
1304
|
}
|
|
1305
|
-
|
|
1305
|
+
// `anthropic` handed fetch to Claude Code's WebFetch, which is not
|
|
1306
|
+
// Anthropic's server-side tool: it fetches from the sandbox after a domain
|
|
1307
|
+
// check that fails behind the egress proxy ("Unable to verify if domain …
|
|
1308
|
+
// is safe to fetch"), so every fetch by a step in a run pod was refused
|
|
1309
|
+
// (validators on four desks, Oct 2026). The name is still accepted, and
|
|
1310
|
+
// our own fetch answers: through the proxy, on the run record, like every
|
|
1311
|
+
// other read (owner, 23 Oct 2026).
|
|
1312
|
+
if (key === "anthropic") return { provider: null, index: "foldrun's own fetch (web.fetch: anthropic is answered by it)" };
|
|
1306
1313
|
const preset = PROVIDERS.find((p) => p.name === key);
|
|
1307
1314
|
return {
|
|
1308
1315
|
provider: null,
|