Skip to content

Releases: chagel/pi-agent-rb

v0.1.5

10 Jun 05:20
ed514b8

Choose a tag to compare

Changed

  • Bumped pinned upstream pi-coding-agent version to 0.79.1 (adds Claude Fable 5 model support, a global defaultProjectTrust setting to configure unresolved-trust behavior, prompt template argument defaults, extension autocomplete trigger characters, and assorted fixes; no changes to the RPC protocol surface or the --approve/--no-approve flags this gem drives).

RubyGems: https://rubygems.org/gems/pi-agent-rb/versions/0.1.5

v0.1.4

09 Jun 20:32
d54cbeb

Choose a tag to compare

Changed

  • Bumped pinned upstream pi-coding-agent version to 0.79.0 (cache-hit visibility in footer, richer SDK exports, and assorted fixes; the RPC wire protocol this gem drives is unchanged).
  • Behavior change in pi 0.79.0: project-local inputs (.pi/settings.json, project extensions, resources, packages) are now trust-gated. In RPC mode pi does not prompt — without a saved trust decision it silently ignores them. Pass the new approve: true option to keep loading them.

Added

  • approve: option on Client.new / PiAgent.session / PiAgent.open: true appends --approve to the pi spawn args (trust the project), false appends --no-approve (explicitly ignore project inputs); the default nil leaves pi's own behavior untouched.

RubyGems: https://rubygems.org/gems/pi-agent-rb/versions/0.1.4

v0.1.3

29 May 19:36
2b6855b

Choose a tag to compare

Changed

  • Bumped pinned upstream pi-coding-agent version to 0.77.0 (adds Claude Opus 4.8 metadata, --exclude-tools, and Codex subscription device login; no changes to the RPC protocol surface this gem drives).

Install

gem install pi-agent-rb

Full changelog: v0.1.2...v0.1.3

v0.1.2

27 May 23:58
6fea615

Choose a tag to compare

Changed

  • Minimum Ruby raised to 3.3.0 (Ruby 3.2 reached EOL on 2026-04-01).

Added

  • GitHub Actions CI: rspec across Ruby 3.3, 3.4, 4.0, and head; rubocop on 4.0.
  • README badges (CI status, gem version, license) and an installation section.

Install

```
gem install pi-agent-rb
```

Full changelog: v0.1.1...v0.1.2

v0.1.0

27 May 23:44
bb26301

Choose a tag to compare

First release of pi-agent-rb — a Ruby client for the pi coding agent, driving pi --mode rpc over its JSONL protocol.

Verified against pi 0.75.3.

Added

  • Initial project scaffold.
  • popen3 transport with JSONL framing and request correlation.
  • Pluggable transport.
  • Session API with typed event stream.
  • Session#run single-shot helper (pi print-mode equivalent).
  • Session commands: cycle_model, available_models, messages, last_assistant_text, compact, new_session, switch_session.
  • Session#session_stats.
  • Session forking and error mapping.
  • Image attachments; follow_up uses a dedicated command.
  • Extension UI protocol.

Fixed

  • Session#set_model now sends provider/modelId (pi rejected the previous single model field).
  • Session#set_thinking now sends the set_thinking_level command.

Install

```
gem install pi-agent-rb
```