pi-agent-rb 1.2.1 → 1.2.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: f7c01a8fec7bf4290d4482d3789e16b8606b96282d1c1b9a2b4483fb74f31cd6
4
- data.tar.gz: 9bbe1686b1f30a66ac752e59fb6fe5cfd1aba2bd55412626379fa79a0687d56f
3
+ metadata.gz: d812943288299bb5f5f86dbb770ca3304d3d3aff76adff8343d75614ac1e9086
4
+ data.tar.gz: a4a0962142abee43f5b31a02d9c7db221884b9d163f66f4a40386c2fdf6feee2
5
5
  SHA512:
6
- metadata.gz: fd191daa5f49d399d2918b11992e7f34604aec94573c21cdc0abac2bde8af6d61f52ca3d757859c1bb532125728cb9a3822b17214376ff1a696be69a7d51fa79
7
- data.tar.gz: d20001bfc37bda6c2ef11b4140b3c08db81abc707fbb7ccd5ec8c7622a1ff2ae0c8f9aab9210217480fd78ce5a2ac409436d7d60f639aa4abd4cd52fa99328ae
6
+ metadata.gz: f0022fe8acd2d26f99236f6ae0a3b85b11519096e55260eab374f477f99d56df31692b688a6dfd4333cb57d4b2faa1b9aa83fda95b6e71fefe99e97633f54ee8
7
+ data.tar.gz: 6befef34ee061b511fc75e7607194ca9adf0600de47a7314100b4a8ca7d972d1035205c7350cc25de6d4a60e1d68a446521f609de0e3218ab1be9b464f342c2a
data/CHANGELOG.md CHANGED
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.2] - 2026-10-30
11
+
12
+ Tracks pi 1.4.0. No gem API change: the RPC mode sources (`src/modes/rpc/*`)
13
+ and `docs/rpc.md` are unchanged between pi 1.3.0 and 1.4.0, so the JSONL RPC
14
+ command/response shapes this gem drives are the same. Verified against a real
15
+ `pi --mode rpc` 1.4.0 (live specs green).
16
+
17
+ ### Changed
18
+ - Bumped pinned upstream `pi-coding-agent` version to `1.4.0` (from `1.3.0`).
19
+ - `1.4.0` — codemode `models.classify()` accepts `images`; generated
20
+ `models.json` Models Configuration reference; compaction/branch summaries
21
+ use the model's output limit (`reserveTokens` only controls when
22
+ compaction starts); codemode queues for a free worker
23
+ (`PI_CODEMODE_MAX_WORKERS`); provider attribution headers come from
24
+ pi-ai's client identity; new default Copilot/NVIDIA/Xiaomi models; fixes
25
+ for truncated-tool-call recovery, resumed-session extension tools,
26
+ `grep` ignoring `RIPGREP_CONFIG_PATH`, and BOM-prefixed `mcp.json`.
27
+ Release notes: https://github.com/earendil-works/pi/releases/tag/v1.4.0
28
+
10
29
  ## [1.2.1] - 2026-10-16
11
30
 
12
31
  Tracks pi 1.3.0 (rolls up `1.2.0` and `1.3.0`). No gem API change: the RPC
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 `1.3.0`; other versions may work but are not verified.
17
+ - This gem is pinned against pi `1.4.0`; 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 1.3.0.
108
+ 0.80.4; it is available in this gem's pinned pi 1.4.0.
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 = "1.2.1"
4
+ VERSION = "1.2.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 = "1.3.0"
8
+ SUPPORTED_PI_VERSION = "1.4.0"
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: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - chagel