You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(firecrawl): correct map's declared shape, a crash path, and a timeout race
map declared links as an array of strings, but v2 returns MapDocument objects
{url, title?, description?} -- so every consumer reading <firecrawl.links> as
URLs got [object Object]. Same declared-vs-real class this branch fixed for
search, one file over.
scrape's transformResponse read data.data.markdown unguarded. Firecrawl's error
bodies carry no data key, so any non-happy path threw a TypeError instead of
surfacing the error; every sibling tool already guards.
The country description claimed an unconditional "US" default. The schema
applies it only when location is unset.
sources and categories were unconstrained strings against a strict-object
schema, so an LLM emitting an invalid value got a hard 400. Constrained with
const unions, verified to survive into the model-visible schema. Adds the
'developer' category, which is a live enum member with its own aliases.
timeout shadowed the transport's reserved param on the three external tools.
The units agree, so this looked safe -- but the 30s headroom the executor adds
applies only to internal routes, and the external branch passes the deadline
bare. Sim's clock starts earlier, so Sim always won the race and the user never
saw Firecrawl's structured 408. parse is internal-route and keeps the old name.
The subBlock's condition only hid the field, so a stale value still reached the
transport on operations that never declared it; the mapper now clears it once.
'Discovered links, each an object with `url` and optional `title`/`description`. Reference `<firecrawl.links>[i].url` for the address — the entry itself is no longer a bare URL string.',
description: 'Array of discovered URLs from the website',
120
+
description:
121
+
'Discovered links. Each entry is an object with `url` and optional `title`/`description` — read `<firecrawl.links>[i].url` for the address, not the entry itself.',
0 commit comments