# @pleach/base-tools changelog (/docs/changelog/base-tools)



This page collects the **site-content changelog entries** that
materially touched the [`@pleach/base-tools`](/docs/base-tools)
docs surface or named a `@pleach/base-tools` symbol. It is not the
runtime changelog — the canonical record of `@pleach/base-tools`
runtime behavior lives in the upstream package
[`CHANGELOG.md`](https://www.getpleach.com/docs/contributing).
`@pleach/base-tools` isn't on npm yet, so there's no package
page to link.

See the combined site changelog at
[`/docs/changelog/combined`](/docs/changelog/combined) for the
chronological unified view across every SKU.

## Unreleased [#unreleased]

### Changed [#changed]

* **Redacted error lines and self-model write checks (2026-11-18).**
  `content/docs/session-runtime.mdx` says console lines for a caught error
  now print a redacted summary (class, code, message length), and that
  `setUnredactedErrorSink` receives the original value. It also says the
  redactor reads escaped, serialized and percent-encoded text.
  `error-codes.mdx` says `ErrorPropagator` stores the redacted shape, and
  documents `setErrorPropagatorTimerRunner`. `base-tools.mdx` says the
  self-model writers clean text before storing it, and that the identity
  renders as a fenced `# Your identity` section (`composeIdentitySection`).
  It also lists what a `SelfWriteRequest` now shows the approval gate, and
  that only an explicit `true` approves a write. Upstream dd49262e5a, 3d4f2c76b7,
  fe7fab9737, 12d7dc9370, 3392bdd749, ffc79b9ab2.

* **Docs cite public import specifiers, not package source paths.** Pages
  that pointed at files inside a package's source tree (`src/...`,
  `packages/<sku>/src/...`, line numbers, deep links into source) now name the
  symbol and the subpath it's exported from. "Cited source" lists are now
  "Public surface" lists. The site's CI now fails on a new source path in a page.

### Deprecated [#deprecated]

* **`@pleach/base-tools` is deprecated — folded into `@pleach/core`.** The tools now
  ship inside `@pleach/core` at the opt-in subpath `@pleach/core/base-tools` (with the
  same per-tool subpaths). Import from there — zero extra install, identical surface.
  The standalone package is a thin re-export shim, retained only for back-compat, and is
  no longer maintained. New projects should not add it; the tools themselves are
  unchanged.

### Added [#added]

* **Ten new tools documented on
  [`@pleach/base-tools`](/docs/base-tools).** Two zero-config:
  `json_query` (path extraction over a JSON document — the partner to
  `http_json`) and `memory` (durable cross-session key/value, namespaced,
  with a pluggable `MemoryStore` backend). Eight opt-in and injected:
  `web_search` (provider-injected, with a bundled no-key
  `createDuckDuckGoProvider`), `web_fetch` (allowlisted HTML → readable
  text over the `url_fetch` SSRF core), `http_json` / `http_head`
  (previously shipped, now documented), `code_exec` (injected sandbox
  `runner`), `ask_user` (injected human-input `ask` handler),
  `fs_read` / `fs_write` / `fs_list` (injected `FileSystemAdapter` with
  `allowedRoots` confinement, read-only by default), and `recall` (query
  the session event log via an injected `reader`). All follow the
  refuse-by-default, inject-the-capability rule.
* **Model-driven memory can be approval-gated.** Documented
  `requireApprovalForWrites` + the injected `approveWrite` gate, and
  `createGraduatingApproval` — prompt the human for the first N writes,
  then let the agent write autonomously once trust is established.
* **`summarizeToolOutcomes`** documented — a pure fold of recalled
  events into per-tool `{ started, completed, failed, lastError }`
  counts, for turning the audit log into a prompt hint.

### Fixed [#fixed]

* **Two dead npm links removed.** This page's opener linked an npm page
  for `@pleach/base-tools`, and so did the package table on
  [`/changelog`](/changelog); the name isn't on the registry, so both
  404'd. The table inferred npm presence from source status, which marks
  this SKU deprecated — independent of whether it was ever published. It
  now reads a measured list of the names that resolve, and its status chip
  says the package isn't on npm, the way [the package
  table](/docs/packages) already did.

* **Registration examples corrected to `createBaseToolsPlugin(...)`.**
  `baseToolsPlugin` is the zero-config singleton; `createBaseToolsPlugin`
  is the factory that takes an `include` set + capability config. The
  prior examples called the singleton as if it were the factory and used
  a stale `enable` / `allowList` field shape (now `include` /
  `allowedHostnames`). The zero-config default set is now the seven tools
  that need no injected capability.

### Fixed [#fixed-1]

* **Schema `codeRepository` + `sameAs` for
  [`@pleach/base-tools`](/docs/base-tools) corrected** in the
  site's Organization + SoftwareApplication JSON-LD `@graph`
  (inlined in `<head>` on every page). Both fields now point at
  `https://github.com/pleachhq/base-tools` (was
  `https://github.com/pleachhq`, a
  leftover from when the SKU schemas were drafted against an
  upstream monorepo). Load-bearing because `sameAs` is the field
  AI search engines use for entity reconciliation across the npm
  ↔ GitHub ↔ docs boundary. See the
  [combined view](/docs/changelog/combined) for the full
  cross-SKU pack.

## 2026-06-08 — page-level restructuring [#2026-06-08--page-level-restructuring]

### Changed [#changed-1]

* **[Examples](/docs/reference-apps) reframed and renamed to
  [Reference apps](/docs/reference-apps).** Inbound links on
  [Getting started](/docs/getting-started),
  [`@pleach/base-tools`](/docs/base-tools), and the prior
  changelog entry are repointed.

## 2026-06-08 [#2026-06-08]

### Changed [#changed-2]

* [Packages](/docs/packages) table corrected to real published
  version — `@pleach/base-tools 0.1.0` (was largely stale
  "Reserved · placeholder" framing).
