pi-agent-rb 1.2.1 → 1.2.3

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: 8df08842c605df1715f81e7a22a548273999e2fae431cb6e9f94187895a60374
4
+ data.tar.gz: fa9d6c3c1a26329961d822b4426bc5ab37796d68d97b238741d1ba00bdd3e05f
5
5
  SHA512:
6
- metadata.gz: fd191daa5f49d399d2918b11992e7f34604aec94573c21cdc0abac2bde8af6d61f52ca3d757859c1bb532125728cb9a3822b17214376ff1a696be69a7d51fa79
7
- data.tar.gz: d20001bfc37bda6c2ef11b4140b3c08db81abc707fbb7ccd5ec8c7622a1ff2ae0c8f9aab9210217480fd78ce5a2ac409436d7d60f639aa4abd4cd52fa99328ae
6
+ metadata.gz: 9b118118440d4de46b9d31166a4fe84d8a700512427a5166e93694b95c0078a4a55a223b4ebd4a5d0c1874bf6f836db3d7fd4fb633be2e41bfb1157729530bd1
7
+ data.tar.gz: 3e6d24dd470436b64097e746028b19a3736fdd5ececfde0141ba0c89b9b373400ee9d6f107e107f4acddab8d9e9fb354a963b2b9907d79a43c3dc6eb252aa1a2
data/CHANGELOG.md CHANGED
@@ -7,6 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.3] - 2026-11-05
11
+
12
+ Tracks pi 1.5.0. No gem API change: the RPC mode sources (`src/modes/rpc/*`)
13
+ and `docs/rpc.md` are unchanged between pi 1.4.0 and 1.5.0, so the JSONL RPC
14
+ command/response shapes this gem drives are the same. The only wire-visible
15
+ addition is the optional `usage.cost.totalFromProvider` flag on assistant
16
+ messages, which passes through untouched.
17
+
18
+ ### Changed
19
+ - Bumped pinned upstream `pi-coding-agent` version to `1.5.0` (from `1.4.0`).
20
+ - `1.5.0` — extension update changelogs (`pi.changelogPath`,
21
+ `collapseChangelog`); faster incremental streaming/rendering of large tool
22
+ calls; custom self-update commands (`PI_SELF_UPDATE_COMMAND` /
23
+ `selfUpdateCommand`); GPT-6.1 Terra models; `pi.exec()` `maxBuffer` with a
24
+ `truncated` result flag; provider-reported billed cost
25
+ (`usage.cost.totalFromProvider`). Breaking for extension authors only: tool
26
+ argument validation now runs on `@earendil-works/pi-schema` (TypeBox-only
27
+ features such as `Type.Refine()`/codecs no longer apply; plain JSON Schema
28
+ and MCP tools get the same coercion; validation error wording changed).
29
+ Not used by this gem.
30
+ Release notes: https://github.com/earendil-works/pi/releases/tag/v1.5.0
31
+
32
+ ## [1.2.2] - 2026-10-30
33
+
34
+ Tracks pi 1.4.0. No gem API change: the RPC mode sources (`src/modes/rpc/*`)
35
+ and `docs/rpc.md` are unchanged between pi 1.3.0 and 1.4.0, so the JSONL RPC
36
+ command/response shapes this gem drives are the same. Verified against a real
37
+ `pi --mode rpc` 1.4.0 (live specs green).
38
+
39
+ ### Changed
40
+ - Bumped pinned upstream `pi-coding-agent` version to `1.4.0` (from `1.3.0`).
41
+ - `1.4.0` — codemode `models.classify()` accepts `images`; generated
42
+ `models.json` Models Configuration reference; compaction/branch summaries
43
+ use the model's output limit (`reserveTokens` only controls when
44
+ compaction starts); codemode queues for a free worker
45
+ (`PI_CODEMODE_MAX_WORKERS`); provider attribution headers come from
46
+ pi-ai's client identity; new default Copilot/NVIDIA/Xiaomi models; fixes
47
+ for truncated-tool-call recovery, resumed-session extension tools,
48
+ `grep` ignoring `RIPGREP_CONFIG_PATH`, and BOM-prefixed `mcp.json`.
49
+ Release notes: https://github.com/earendil-works/pi/releases/tag/v1.4.0
50
+
10
51
  ## [1.2.1] - 2026-10-16
11
52
 
12
53
  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.5.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.5.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.3"
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.5.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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - chagel