# Changelog

All notable changes to this project will be documented in this file.

## 0.2.5

### Fixed

- GitHub commit and pull request URLs ending in `.diff` or `.patch` now resolve to the same structured `web_fetch` document as their plain form, instead of falling through to a general web fetcher.

## 0.2.4

### Added

- API-backed `web_fetch` documents for GitHub commit history, optionally scoped by ref and file path.

## 0.2.3

### Fixed

- Local browser fallback now reports HTTP 4xx and 5xx responses as failures instead of extracting error pages as successful documents.

## 0.2.2

### Added

- API-backed `web_fetch` documents for commits; tagged, latest, and repository releases; tag and branch listings; GitHub Actions runs and listings; and Discussions.
- Native commit patches, release asset metadata, Actions jobs and artifacts, and threaded Discussion conversations as bounded on-disk artifacts.

## 0.2.1

### Changed

- Updated the optional `parallel-web` dependency to 1.1.0.
- Refreshed the TypeScript, Biome, and pi development toolchain, and consolidated repository automation around mise.

## 0.2.0

Improved local retrieval quality and made tool activity easier to follow in pi.

### Added

- Automatic headed-browser escalation for Cloudflare bot-wall challenges, configurable through `webTools.fetch.challenge`.
- Collapsed and expanded `web_search`/`web_fetch` views with elapsed timing, warning summaries, and per-URL fetch failures.

### Changed

- Replaced the local fetcher's trafilatura extraction with a rehype pipeline that preserves documentation structure, fenced code blocks, tables, and open shadow-root content.
- Refined completed search and fetch results around their primary artifacts: search titles and fetched URLs, with supporting URLs, titles, paths, warnings, and failure trails available when expanded.

## 0.1.3

Made the Parallel backend fully optional.

### Changed

- `parallel-web` is now an optional dependency, loaded lazily. Without `PARALLEL_API_KEY` or the installed SDK, Parallel is left out of both `web_search` and the `web_fetch` fallback chain.
- Pinned `playwright-core` to 1.61.0 and `@octokit/request` to 10.0.8.

## 0.1.2

Tightened `web_fetch`/`web_search` tool descriptions and prompt guidance for clarity.

## 0.1.1

First release of `pi-web-tools`.

### Added

- `web_fetch` and `web_search` tools for pi, with a GitHub/Parallel/local fetcher chain.
- `/open-browser` command for authenticated local browsing.
