Reviewers can now check a tool result first
Approval gates can hold a tool result for review, chat UIs can hold an answer until checks finish, and the docs now say plainly that nothing is on npm yet.
Drafted by an AI agent from the package and docs commit history and reviewed by a maintainer before publishing. Each post names what it was drafted from.
No @pleach/* package is on npm yet. Each name holds a 0.0.1 placeholder until its first release, so the code here describes the source, not an install that works today. Package status
Approval gates can now hold a tool's result until a person reviews it, and chat UIs can hold an answer until the guards finish. Developers using approvals or keyless setups should check the changes, and anyone reading the license pages should note the corrections.
Core runtime (@pleach/core)
- Breaking: a route with a provider but no API key now answers with a typed error instead of a placeholder reply (details).
- A repeated message id now gets a duplicate-message error while its turn runs or after it was answered (details).
createPleachRoutenow screens replies for garbled text by default and writes a fresh answer instead of sending the garbled draft (details).
Approvals and interrupts
- A gate after a tool runs lets a reviewer see the result before the model does; a denial withholds it (details).
- Only the person a turn belongs to can decide its gates, and a gate with no resolvable owner is released at once (details).
- Corrected: approval gates are production controls that fail closed, not a debug-only feature, and the page now describes how a pause really works (details).
React bindings (@pleach/react)
- An opt-in answer hold keeps a reply hidden until the turn ends, so text a guard corrects is never shown first (details).
- The hooks now keep the finished message's parts, including its tool calls, after the turn settles (details).
Stream events
- Corrected: a failed tool call can end as a completed event with a failed status, and the page now says so (details).
- Corrected: a guard's rewrite reaches a streaming client as a correction after the original text, not before it (details).
Response cache
- A runtime can now report its response cache's live counters, or nothing when caching is off (details).
License and install
- Corrected: no
@pleach/*package is published on npm yet; every name is a placeholder until its first release (details). - Corrected: the license is fair source, not OSI-approved, and each release converts to Apache-2.0 two years after it ships (details).