Skip to content

pi-fox v1.0.5

Choose a tag to compare

@vaniteav vaniteav released this 29 Jun 00:43
· 11 commits to main since this release

[1.0.5] - 2026-06-28

Changed

  • Updated development dependencies to pi SDK v0.80.2; no runtime changes for extension consumers.
  • Removed three unused runtime dependencies (@mozilla/readability, linkedom, p-limit); content extraction has always used Turndown directly.

Fixed

  • ImageContent shape updated to the flat { data, mimeType } format introduced in SDK v0.80.2 (was using the old Anthropic API source: { type, mediaType, data } wrapper).
  • Explicit return-type annotation added to execute() functions with multiple details shapes, resolving AgentToolResult<T> inference failures under TypeScript 6.0.
  • Dead second parameter removed from the internal toolError helper and its 11 call sites.
  • CHANGELOG compare links for versions 1.0.3 and 1.0.4 were missing; [Unreleased] still pointed at v1.0.2. All links now correct.
  • browser_forward now mirrors the browser_back SPA guard: arms a popstate marker and uses waitUntil: "commit" so same-document (pushState) forward entries no longer time out with a false failure.
  • browser_tab_new no longer leaks the newly created page on navigation failure; the tab is closed before the error is re-thrown.
  • web_search with includeContent: true now returns contentFetchId in its result details, making the background-fetched page bodies retrievable via get_search_content.
  • urlToCacheKey now appends a DJB2 hash of the full URL so two URLs sharing the same first characters no longer collide in the fetch cache.
  • browser_network clear now also clears pendingNetworkQueue; previously pending entries accumulated across repeated clears.
  • browser_key count is now clamped to [1, 100] before the press loop; previously negative or very large values caused silent no-ops or indefinite hangs.