moves query from a top-level param to a format in the formats array,
consistent with json, summary, branding. new api shape:
formats: [{ type: "query", prompt: "..." }]. updates prompt to use
gemini-2.5-flash-lite, xml-structured context, and faithful extraction.
adds firecrawl-*.log to gitignore.
allows users to pass a `query` param to ask natural language questions
about a scraped page. returns the answer in `data.answer` using
gemini-2.5-flash-lite with gemini-2.0-flash-lite fallback. includes
cost tracking, telemetry, xml-structured prompts, and e2e tests.
* fix: override http-proxy-agent to v7 to resolve GHSA-vpq2-c234-7xj6
* fix: override @tootallnate/once to 3.0.1 instead of bumping http-proxy-agent
Safer fix — keeps http-proxy-agent at v5, only upgrades the vulnerable
transitive dep to its patched version.
* fix: override http-proxy-agent to v7 to resolve GHSA-vpq2-c234-7xj6
* fix: override @tootallnate/once to 3.0.1 instead of bumping http-proxy-agent
Safer fix — keeps http-proxy-agent at v5, only upgrades the vulnerable
transitive dep to its patched version.
* feat(api/native): update pdf-inspector to d5e03b8
* revert changes unrelated
* skip shadow comparison for scanned/image-based PDFs and add pdfType to logs
* fix: capture pdfResult fields before MU scope for shadow comparison logs
Updates pdf-inspector from 8f652b8 to 2b5fcd7.
Changes:
- feat: detect tables from PDF line path operators (m/l/S)
- feat: enhance header/footer stripping with Y-band coalescing and page number normalization
- fix: increase edge line count to catch form column headers as repeated content
- feat: strip repeated headers/footers from markdown output
Add agent signup feature allowing AI agents to programmatically
request sandboxed API keys with sponsor verification:
- POST /v2/agent-signup: create sandboxed account with 50-credit cap
- POST /v2/agent-signup/confirm: merge agent key into sponsor account
- POST /v2/agent-signup/block: disable agent key and ban sandbox
- Agent sponsor service with Redis-cached lookups
- Enforcement middleware for credit cap and expiry checks
- Email notification to sponsor with confirm/block links
Co-Authored-By: ericciarla <eric@sideguide.dev>