Forge 0.5.0
Forge 0.5.0
A minor release. web_search stops pretending to be a search engine and
becomes what it actually is — a crawler that keeps what it read — and a second
tool searches documents already on your disk. The rest is what using it turned
up.
macOS is the supported platform for this release. Linux and Windows are
next; see Platforms for what has
been verified per component.
Search
The index is a directory of append-only segments. It was one file rewritten
in full on every save — 556 MB to add sixty pages at the page cap. A save now
writes only what it added: 0.98 MB to add sixty pages, whether the index holds
one thousand or fifty thousand.
web_search says plainly that it cannot find a site for you. Naming sites
narrows the answer to them, and a result that finds nothing reports which sites
have been read, when, and which of your words the index has never seen.
Coverage is weighted by rarity, so a document matching six common words and
missing the one that was the question no longer reads as a near miss.
search_documents indexes prose on disk as the sections it is made of, each
named by the heading trail leading to it and carrying the lines it occupies — so
a result is a place to read rather than a file to search. Measured on 176
markdown files: 540 sections in 408 ms, queries in 24–44 ms.
When a site says no
A bot check is reported as a refusal rather than a missing page, and never
indexed as content. In the editor the agent can offer the page to a person, who
clears the check in a real browser and hands it back; the agent is told at
startup whether its client can do that at all, so a terminal is never asked for
something it cannot give.
Nothing on that route claims to be something it is not. No cookie is replayed,
no identity spoofed, and robots.txt is honoured even when the refusal
arrives wrapped in a bot check — a 4xx carrying the real rules used to be read
as "this site has no robots.txt".
Dependencies
One added: forge-search, which is ours and has none of its own. One outside
requirement removed: web_search no longer needs DuckDuckGo. The in-window
browser cost no new crates — WebKit is linked as an operating system framework.
Also fixed
A long prompt no longer hangs below the window. An input prompt is withdrawn
when the process proves it was not waiting. A split escape sequence no longer
cancels a running turn over a slow link. Three user-facing messages that
rendered with runs of spaces in them.
Full detail in the changelogs:
agent ·
editor ·
terminal
Forge-IDE-0.5.0.dmg is signed with Vulkgryph LLC's Developer ID and notarized
by Apple, so it opens without the unidentified-developer warning. The terminal
client is not distributed this way — install.sh builds it from a checkout.