Skip to content

Releases: joaomj/pi-claude-directsdk

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:27
661537d

Improvements

  • Reuse stable conversation history through prompt caching. Earlier long-session verification measured more than 99.5% warm cache-read share, including after restarting Pi. History is still sent on every call; cache reuse is not a measurement of subscription allowance deductions.
  • Reuse upstream connections and keep the native working directory stable across calls.
  • Bound subprocess writes and exit waits, with improved cancellation and cleanup.

Fixes

  • Prevent compiled Pi from starting another Pi agent instead of the inert MCP helper (#5, #6).
  • Preserve successful model discovery when Bun has already stopped the discovery guard server (#4, #7).

Verification

Both fixes passed real paid conversation checks together under compiled Pi 1.2.0 / Bun 1.3.14 on macOS arm64 with Claude Haiku 4.5. Six model calls covered a fresh response, a Pi read-tool round trip, conversation-history replay, and resuming after a Pi restart. No unintended Pi sessions or stderr errors were observed. These short conversations did not verify warm-cache reuse. Earlier long-session measurements are documented in docs/transport-measurements.md.

Type checking, compilation, offline startup, helper protocol checks, real model discovery, and catalog refresh with offline restoration also passed. The two compiled-Pi fixes were not verified locally on Linux.

Availability

GitHub and npm publication are separate. The release workflow stages the npm package; maintainer approval with 2FA is required before it becomes public on npm.

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 09 Oct 04:44
v0.1.6
7ca52cc

Full Changelog: v0.1.5...v0.1.6

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Oct 03:54
c0ec5c9

What's Changed

  • Discover Claude models and prices without blocking startup by @joaomj in #2

New Contributors

  • @joaomj made their first contribution in #2

Full Changelog: v0.1.4...v0.1.5

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 09 Oct 00:08
b09989e

Full Changelog: v0.1.3...v0.1.4

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 05 Oct 04:48
14e1642

Full Changelog: v0.1.2...v0.1.3

v0.1.0

Choose a tag to compare

@joaomj joaomj released this 28 Sep 14:43
4d8a2d7

First public release. Published to npm as pi-claude-directsdk@0.1.0

Claude as a Pi model provider through the unmodified Claude Code executable. Pi owns the transcript, tools, approvals, and retries; the CLI supplies subscription authentication as a model transport.

Install: pi install npm:pi-claude-directsdk
List models: pi --list-models claude-directsdk

Requires Node 20+, Claude Code in the qualified range (>=2.1.263 <2.2.0), logged in via claude auth login, and a Claude paid plan.