Repository navigation
Conversation
…three tools One catalogue row connects a web search service once for every agent thread. Sign-in by browser uses Firecrawl's MCP sign-in address; a key pasted under Advanced moves the connector to its key address as a bearer header set inside the app, and switching ways forgets the old bridge and what the other way kept. The row has an allowlist in core: search, scrape and parse, each read. Only these are shown to the agent (the wrapper and the app's bridge), counted (3, not 34) and called; a call to another tool is answered in plain words and never leaves the computer. Running out of credits or into the rate limit (an HTTP 402 or 429, or a 200 error result) is answered in Nova's words with the row's id, never the server's text, with no retry; the row reads broken until a call goes through.
Tools draws the Web search row with a globe, its line naming Firecrawl, and under it, until it is connected, that a search can cost more than 2 of its free credits. Scenes for the row connected, waiting for its sign-in and out of credits, with tests for each state; a verify-nova script that finds the row by its name and shoots it. The sign-in test's fake now carries Firecrawl's published endpoints and scopes.
ShotsRendered by CI on GitHub's Windows runner, with its software renderer, at the default window size. Before is 614
614wc
614ws
614wx
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.










TL;DR
Settings > Tools gains a Web search row. Connect it once, for free, and every agent thread can search the web and read whole pages through Firecrawl, next to its own web search. Agents get three tools only: search, read a page, read a document. They are never shown, counted or allowed any other tool the service lists. Running out of free credits reads as plain words in the step, and the run goes on.
Problem
Not every agent can search the web, and the ones that can read a page as a summary, not the page. A person had no way to give every agent thread search and whole-page reading from one place.
Cause
Nova's connector catalogue had no web search service. A catalogue server was also trusted with every tool it lists. Firecrawl's server lists 34 tools once signed in, among them crawl, extract and agent tools that spend credits fast or act on their own, and 34 tools would trip the 30-tool warning.
Change
One catalogue row, "Web search", opt in. Its line names Firecrawl. Until it is connected, a line under it says a search can cost more than 2 of its free credits.
Connect signs in by browser at
https://mcp.firecrawl.dev/v2/mcp-oauth: discovery, client registration and PKCE, the same sign-in Linear's row uses.Advanced takes a pasted key instead. The row then moves to
https://mcp.firecrawl.dev/v2/mcp, and the key goes from the credential store into an Authorization header set inside the app. Switching between the two ways forgets the old address's bridge and whatever the other way kept, so a key never rides the sign-in address.Core gets an allowlist per catalogue row (
connectors::allowlist). This row's list isfirecrawl_search,firecrawl_scrapeandfirecrawl_parse, each read-only. It is enforced on all three paths:server_line_in,relay_http) and the app's bridge (http_call);refusalanswers a call to any other tool in a plain sentence, and it never leaves the computer;record_toolscounts 3, whatever the server lists.The list fails closed: a tool the service adds later never appears by itself. Rows without a list behave as before.
Only the two exact addresses are vetted; a near miss is not. The list also holds on the row installed from the catalogue, wherever it points, because a list only narrows.
Out of credits or rate limited, whether as an HTTP 402 or 429 from the bridge or as a 200 whose result is an error about credits or the rate: the step reads "Firecrawl's free credits for this month are used up. So this search did not run. Web search in Settings > Tools has the row." The row's id rides in
_meta, and none of the server's text is shown. Nothing is retried. The row reads Not working with those words until a call goes through; a rate limit clears after a minute.seq-http-bridgeanswers 402 and 429 with two named errors. The two Firecrawl hosts are added tooutbound-hosts.txt.docs/CORE-API.mddescribes the row.Three scenes (
614wcconnected,614wswaiting for its sign-in,614wxout of credits) with scene tests, and a verify-nova script and recipe (scripts/web-search.txt,features/tools.md).Scope
Touches the connector catalogue and core connectors, the HTTP wrapper and bridge, the Tools page row and its scenes. Leaves alone, on purpose:
approval.rsandlive.rs;firecrawl_map, interact and crawl.The row sits beside each agent's own web search, and the per-agent switch every connector has applies to it.
Before and after
Verification
Each new test failed before the change it covers:
A green run then caught a real gap: the count returned the server's whole list while it stored three. It is fixed and covered.
cargo nextest run -p sequence-core --test core_suite -E 'test(web_search) | test(d5_relay_http)': exit 0, 12 passed. Covers vetting of both addresses and near misses, a row without a list, the count, the agent's view, the refusal (no Denied card), the wrapper never sending an off-list call, both limit shapes, and the outside-content mark.cargo nextest run -p seq-shell -p seq-http-bridge -E 'test(web_search_tests) | test(catalog_tests) | test(d5_tests) | test(sign_in_tests) | package(seq-http-bridge)': exit 0, 101 passed. Covers:cargo nextest run --manifest-path native/Cargo.toml --workspace -E 'test(web_search_row) | test(registry) | test(scene) | test(search_fields) | test(pages_menu)': exit 0, 61 passed.cargo clippyon the four touched root crates with-D warnings: exit 0.cargo fmt --all -- --check: exit 0.seq-guardsoutbound hosts: exit 0.run scripts/web-search.txt --run ws-1: exit 0, 12 of 12 steps, 2 shots, looked at light and dark./api/oauth/; S256; no client secret;offline_accessoffered.Not verified: