pi-agent-rb 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50b2e74842e7ea8c7d0ff8f84ebd37a83430a6eb560183030ffe608473352910
4
- data.tar.gz: 47d36a467b310841094ed6ceb2412caca3d23523a88591957872de510c27ce17
3
+ metadata.gz: d7507694bc0245dd0605adc87af1f1e01ac9b01121545680dd7144bb2da3ed79
4
+ data.tar.gz: e6f3115a22568ec2a47f86cdd3f249267f8225bff31046ee338ed73e94adc4d7
5
5
  SHA512:
6
- metadata.gz: 47034cb6829fdbfab2996d80a68ef89b68a9229add36e824fe635119475952702112e79f987c604cd9bf8b6b1aa47e6a86bcc87adec23de2acf59597a85502c8
7
- data.tar.gz: 29ef8a8e9ed3f85a704a239e5eb6dd95f8f6d9118fd6804e6fb3492755b6fb0450b0b811658b4f46f217365cdbfb092279ae4f31cb9557641d79f8f5cc6a5422
6
+ metadata.gz: 2ccab2440e90b0bacf57473f5930e69fbab2838cb39d20369579541c812072d2c8548d0cc7edd7442d7ab1fdcb77053fa8174f7e6bb50ab9d46e4c9ef8fb3fcd
7
+ data.tar.gz: 26050dcfb03ede2ac9ee8b7d0fe852eb1d197fdc44e5e48b92f2a70693bfde9c3afae10583ff79784b1fd93e5dc252a7b9a19cd8e0cbdbcc484c05e4411a4299
data/CHANGELOG.md CHANGED
@@ -7,6 +7,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.2] - 2026-09-03
11
+
12
+ ### Changed
13
+ - Bumped pinned upstream `pi-coding-agent` version to `0.84.4` (from
14
+ `0.84.3`). This is a CLI/TUI/provider/extension feature-and-fix batch;
15
+ none of the changes alter the JSONL RPC command/response shapes this gem
16
+ drives, so no gem API change is required.
17
+ - v0.84.4 adds terminal capability overrides, `ui_prompt_start` /
18
+ `ui_prompt_end` extension events, fullscreen selection-copy controls,
19
+ and the experimental DeepSeek V4 Flash Vision model. These are
20
+ CLI/TUI/provider or TypeScript extension-API concerns, outside the
21
+ JSONL RPC surface this Ruby client speaks.
22
+ - v0.84.4 adds a new `clear_queue` RPC command to retrieve and remove
23
+ queued steering and follow-up messages (upstream #8432). This gem
24
+ drives the queue via `Session#steer` / `Session#follow_up` but does not
25
+ yet wrap `clear_queue`; the addition is purely additive and optional,
26
+ so existing behavior is unaffected. Exposing a `clear_queue` helper is
27
+ a possible future enhancement, not required for this bump.
28
+ - v0.84.4 fixes resumed sessions corrupting the next appended entry when
29
+ their JSONL file lacks a trailing newline (upstream #8345). This is a
30
+ pi-side session-file persistence fix, not part of the RPC stream this
31
+ gem's `Framer` parses, so it does not affect the gem.
32
+ - Bumped pinned upstream `pi-coding-agent` version to `0.84.3` (from
33
+ `0.84.2`). This is a CLI/TUI/provider/extension fix batch; none of the
34
+ changes alter the JSONL RPC command/response shapes this gem drives, so
35
+ no gem API change is required.
36
+ - v0.84.3 adds an optional Windows `powershell` tool, safer
37
+ stage-verify-activate managed updates, and `/thinking` model/thinking
38
+ controls (session-scoped selections persisted with `Ctrl+S`), plus a
39
+ large batch of fixes. These are CLI/TUI/provider or TypeScript
40
+ extension-API concerns, outside the JSONL RPC surface this Ruby client
41
+ speaks.
42
+ - v0.84.3 fixes JSON and RPC `toolcall_start` events omitting the tool
43
+ call id and name (upstream #7953). This gem does not consume
44
+ `toolcall_start` events, so it is unaffected and compatible as-is.
45
+ - The v0.84.3 breaking change (renaming the `GoogleThinkingLevel` type to
46
+ `GoogleApiThinkingLevel`) is a TypeScript SDK type, not part of the RPC
47
+ protocol, so it does not affect this gem.
48
+ - Bumped pinned upstream `pi-coding-agent` version to `0.84.2` (from
49
+ `0.84.1`). This is a CLI/TUI/provider/extension fix batch; none of the
50
+ changes alter the JSONL RPC command/response shapes this gem drives, so
51
+ no gem API change is required.
52
+ - v0.84.2 adds fullscreen transcript search, a configurable
53
+ `defaultTools` setting, and configurable fullscreen exit output, plus
54
+ a large batch of fixes (managed-tool downloads delaying TUI startup,
55
+ fullscreen search/scroll/selection, and many inherited provider fixes
56
+ across OpenAI Responses, Google/Vertex, Bedrock, DeepSeek, and Mistral).
57
+ All are CLI/TUI/provider or TypeScript extension-API concerns, outside
58
+ the JSONL RPC surface this Ruby client speaks.
59
+ - v0.84.2 fixes JSON and RPC `message_update` events dropping cumulative
60
+ usage during streaming (upstream #7982). This gem does not read usage
61
+ from streaming `message_update` deltas — it queries token usage via the
62
+ `get_session_stats` RPC (`Session#session_stats`) — so it is unaffected
63
+ and compatible as-is.
64
+
10
65
  ## [0.3.1] - 2026-08-07
11
66
 
12
67
  ### Changed
data/README.md CHANGED
@@ -14,7 +14,7 @@ building interactive agent UIs (web, TUI) on top of pi.
14
14
 
15
15
  - Ruby 3.3+
16
16
  - `pi` 0.80.4+ on `PATH` (install via `npm i -g @earendil-works/pi-coding-agent`)
17
- - This gem is pinned against pi `0.84.1`; other versions may work but are not verified.
17
+ - This gem is pinned against pi `0.84.4`; other versions may work but are not verified.
18
18
 
19
19
  ## Installation
20
20
 
@@ -105,7 +105,7 @@ Pi emits `agent_end` after each low-level agent run, but may then retry,
105
105
  compact and retry, or process queued continuations. It emits
106
106
  `agent_settled` only when no automatic work remains, so high-level streams
107
107
  use that as their completion boundary. Upstream added the RPC event in pi
108
- 0.80.4; it is available in this gem's pinned pi 0.84.1.
108
+ 0.80.4; it is available in this gem's pinned pi 0.84.4.
109
109
 
110
110
  `events` is a lower-level, prompt-less drain of the same stream. Because it
111
111
  subscribes lazily when iteration begins, it only works when you subscribe
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PiAgent
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
 
6
6
  # Pinned upstream pi-coding-agent version this gem is verified against.
7
7
  # See: https://www.npmjs.com/package/@earendil-works/pi-coding-agent
8
- SUPPORTED_PI_VERSION = "0.84.1"
8
+ SUPPORTED_PI_VERSION = "0.84.4"
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pi-agent-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - chagel