pi-agent-rb 0.3.0 → 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: ec081bcb7d1b2bac67301f37239e002e9b32d0eeb065d80a36b4d217896e1485
4
- data.tar.gz: f19a72e0adb62fb42a49e3a21f2bcdffe3d46b3b546752c66e36427469c04c6e
3
+ metadata.gz: d7507694bc0245dd0605adc87af1f1e01ac9b01121545680dd7144bb2da3ed79
4
+ data.tar.gz: e6f3115a22568ec2a47f86cdd3f249267f8225bff31046ee338ed73e94adc4d7
5
5
  SHA512:
6
- metadata.gz: 1493e49939b44a45ff13fa7652b855ff48e25c611ad59bb6ac00c725bec549e76297156a455b20668bc5641a7fb0d8bcadd3eb535227e4e988c06c004a34dd92
7
- data.tar.gz: 9cbd030aa9ae76199aa5730aab067bfd447a15416e9845d17fa3632f8baffd341586d0ca11b423eb4b66da6baa837c92511ec2ad7a6703a85c40e8d5996396d4
6
+ metadata.gz: 2ccab2440e90b0bacf57473f5930e69fbab2838cb39d20369579541c812072d2c8548d0cc7edd7442d7ab1fdcb77053fa8174f7e6bb50ab9d46e4c9ef8fb3fcd
7
+ data.tar.gz: 26050dcfb03ede2ac9ee8b7d0fe852eb1d197fdc44e5e48b92f2a70693bfde9c3afae10583ff79784b1fd93e5dc252a7b9a19cd8e0cbdbcc484c05e4411a4299
data/CHANGELOG.md CHANGED
@@ -7,6 +7,94 @@ 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
+
65
+ ## [0.3.1] - 2026-08-07
66
+
67
+ ### Changed
68
+ - Bumped pinned upstream `pi-coding-agent` version to `0.84.1` (from
69
+ `0.83.0`). This is a CLI/TUI/auth/provider/extension batch; none of the
70
+ changes alter the JSONL RPC command/response shapes this gem drives, so
71
+ no gem API change is required.
72
+ - v0.84.1 adds the Qwen Token Plan Individual built-in provider, a
73
+ `pi auth check` credential preflight command, fullscreen selection /
74
+ scrolling improvements, and `terminate` support on blocked extension
75
+ `tool_call` events, plus assorted fixes (Bun standalone startup, LaTeX
76
+ spacing, fullscreen mouse volume, `Agent.reset()` during active runs).
77
+ All are CLI/TUI/auth/provider or TypeScript extension-API concerns,
78
+ outside the JSONL RPC surface this Ruby client speaks.
79
+ - v0.84.0 (folded into this bump) is a CLI/TUI/provider/extension batch;
80
+ none of the changes alter the JSONL RPC command/response shapes this
81
+ gem drives, so no gem API change is required.
82
+ - v0.84.0 changes the JSON/RPC `message_update` events to emit only
83
+ `assistantMessageEvent` deltas, removing the cumulative `message` and
84
+ `assistantMessageEvent.partial` fields (upstream #7290). This gem
85
+ already assembles output from `text_delta` deltas
86
+ (`Event#delta` reads `assistantMessageEvent["delta"]`) and never relied
87
+ on the removed cumulative/partial fields, so it is compatible as-is.
88
+ - Other headline changes — fullscreen TUI mode, Mermaid/LaTeX rendering,
89
+ per-directory `AGENTS.override.md` context overrides, advanced custom
90
+ model sampling, and the Baseten provider — are TUI/context/provider
91
+ concerns outside the RPC surface this gem speaks.
92
+ - The remaining breaking changes (renamed `ModelsRequestTransforms`, the
93
+ v4 lane-based `Session`/`SessionRepo` harness APIs, remote-session
94
+ client APIs, `ModelRegistry`/`ModelRuntime` signatures) are TypeScript
95
+ library APIs consumed by native pi extensions, not the RPC protocol
96
+ this Ruby client drives.
97
+
10
98
  ## [0.3.0] - 2026-07-31
11
99
 
12
100
  ### Added
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.83.0`; 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.83.0.
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.0"
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.83.0"
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.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - chagel