pi-agent-rb 0.3.1 → 1.0.0
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 +4 -4
- data/CHANGELOG.md +103 -0
- data/README.md +2 -2
- data/lib/pi_agent/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 598562cfd43d42932f31cada440026454ac6facfd61baff6ef75134f643ddaff
|
|
4
|
+
data.tar.gz: e67c310c8cb265deacebe3deff201f37db4fc5464872dd05106f5720adaecc97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34abf402cfeb274858b1f0cc40d2b7c965bb1980c96944b3ac2586ce28f17035cada9a740beda3ef7aff0155930f112022a3781f0ba240cac18f1b76b5b8a2e3
|
|
7
|
+
data.tar.gz: f69a3730cd59b1fb1dccd582f74869290e51fe0d8038b84d9ddbbb5a118cd4d8350c54b5dcb1a50df92d883940b52a5cd918f08e41bd0c936f441093c4576dec
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,109 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.0] - 2026-09-23
|
|
11
|
+
|
|
12
|
+
First stable release. The public API (`PiAgent.session` / `PiAgent.open`,
|
|
13
|
+
`Session`, `Client`, `Event`, `Image`, the `Transport` contract, and the
|
|
14
|
+
error classes) has been unchanged since 0.3.0 across pi 0.83 through 0.87,
|
|
15
|
+
so this release marks it stable: from here on, breaking changes bump the
|
|
16
|
+
major version per SemVer.
|
|
17
|
+
|
|
18
|
+
No functional changes versus 0.3.2 beyond the pi pin bump below.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Bumped pinned upstream `pi-coding-agent` version to `0.87.1` (from
|
|
22
|
+
`0.84.4`). This skips the intermediate `0.85.0`, `0.85.1`, `0.86.0`,
|
|
23
|
+
`0.86.1`, and `0.87.0` releases. Across all six releases, none of the
|
|
24
|
+
changes alter the JSONL RPC command/response shapes this gem drives, so
|
|
25
|
+
no gem API change is required.
|
|
26
|
+
- `0.85.0`/`0.85.1` are CLI/TUI/provider/SDK feature-and-fix batches:
|
|
27
|
+
persistent Claude thinking effort, fullscreen transcript controls,
|
|
28
|
+
restorable in-memory sessions (`SessionManager.inMemory()`), GPT-6
|
|
29
|
+
Astra, and a large batch of provider/streaming fixes. These are
|
|
30
|
+
CLI/TUI or TypeScript SDK/provider concerns, outside the JSONL RPC
|
|
31
|
+
surface this Ruby client speaks.
|
|
32
|
+
- `0.86.0`/`0.86.1` list breaking changes confined to the TypeScript
|
|
33
|
+
SDK/extension surface, not the JSONL RPC protocol: custom providers
|
|
34
|
+
now read normalized `TranscriptContext` values; `ToolCall.arguments`
|
|
35
|
+
and `ToolResultMessage.details` are restricted to JSON-compatible
|
|
36
|
+
values; and the `user_bash` extension hook now fails closed. They also
|
|
37
|
+
add prompt cache warming, `/bug` reporting, transcript-aware prompt/tool
|
|
38
|
+
updates, an offline Radius model catalog, per-model compaction budgets,
|
|
39
|
+
and the Meta Muse provider login. This gem implements neither pi
|
|
40
|
+
providers nor extensions, so none of this affects it.
|
|
41
|
+
- `0.87.0` adds canonical session context and extension boundaries,
|
|
42
|
+
full-transcript context extensions (`context_with_system`), and
|
|
43
|
+
per-model image input limits. Its breaking changes are all in the
|
|
44
|
+
TypeScript agent-core/extension API (`shouldStopAfterTurn` removed in
|
|
45
|
+
favor of `finishTurn`; a new `ContextEditEntry` in the `SessionEntry`
|
|
46
|
+
union; `SessionManager` made canonical for provider context; expanded
|
|
47
|
+
`TurnEndEvent`/`ExtensionEvent`). These are SDK/extension concerns and
|
|
48
|
+
do not change the JSONL RPC command/response shapes this gem drives.
|
|
49
|
+
- `0.87.1` is a provider/model maintenance patch: Claude Opus 5.5, GPT-6
|
|
50
|
+
Sol, and GPT-6 Luna support (including GitHub Copilot), Grok 4.7 as the
|
|
51
|
+
new xAI default, and fixes for compaction summaries, `--mode`
|
|
52
|
+
validation, image-only messages, and Anthropic OAuth version reporting.
|
|
53
|
+
All of these are CLI/provider concerns outside the JSONL RPC surface.
|
|
54
|
+
- As with prior bumps, the additive `clear_queue` RPC command remains
|
|
55
|
+
unwrapped by this gem; exposing a `clear_queue` helper is a possible
|
|
56
|
+
future enhancement, not required for this bump.
|
|
57
|
+
|
|
58
|
+
## [0.3.2] - 2026-09-03
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- Bumped pinned upstream `pi-coding-agent` version to `0.84.4` (from
|
|
62
|
+
`0.84.3`). This is a CLI/TUI/provider/extension feature-and-fix batch;
|
|
63
|
+
none of the changes alter the JSONL RPC command/response shapes this gem
|
|
64
|
+
drives, so no gem API change is required.
|
|
65
|
+
- v0.84.4 adds terminal capability overrides, `ui_prompt_start` /
|
|
66
|
+
`ui_prompt_end` extension events, fullscreen selection-copy controls,
|
|
67
|
+
and the experimental DeepSeek V4 Flash Vision model. These are
|
|
68
|
+
CLI/TUI/provider or TypeScript extension-API concerns, outside the
|
|
69
|
+
JSONL RPC surface this Ruby client speaks.
|
|
70
|
+
- v0.84.4 adds a new `clear_queue` RPC command to retrieve and remove
|
|
71
|
+
queued steering and follow-up messages (upstream #8432). This gem
|
|
72
|
+
drives the queue via `Session#steer` / `Session#follow_up` but does not
|
|
73
|
+
yet wrap `clear_queue`; the addition is purely additive and optional,
|
|
74
|
+
so existing behavior is unaffected. Exposing a `clear_queue` helper is
|
|
75
|
+
a possible future enhancement, not required for this bump.
|
|
76
|
+
- v0.84.4 fixes resumed sessions corrupting the next appended entry when
|
|
77
|
+
their JSONL file lacks a trailing newline (upstream #8345). This is a
|
|
78
|
+
pi-side session-file persistence fix, not part of the RPC stream this
|
|
79
|
+
gem's `Framer` parses, so it does not affect the gem.
|
|
80
|
+
- Bumped pinned upstream `pi-coding-agent` version to `0.84.3` (from
|
|
81
|
+
`0.84.2`). This is a CLI/TUI/provider/extension fix batch; none of the
|
|
82
|
+
changes alter the JSONL RPC command/response shapes this gem drives, so
|
|
83
|
+
no gem API change is required.
|
|
84
|
+
- v0.84.3 adds an optional Windows `powershell` tool, safer
|
|
85
|
+
stage-verify-activate managed updates, and `/thinking` model/thinking
|
|
86
|
+
controls (session-scoped selections persisted with `Ctrl+S`), plus a
|
|
87
|
+
large batch of fixes. These are CLI/TUI/provider or TypeScript
|
|
88
|
+
extension-API concerns, outside the JSONL RPC surface this Ruby client
|
|
89
|
+
speaks.
|
|
90
|
+
- v0.84.3 fixes JSON and RPC `toolcall_start` events omitting the tool
|
|
91
|
+
call id and name (upstream #7953). This gem does not consume
|
|
92
|
+
`toolcall_start` events, so it is unaffected and compatible as-is.
|
|
93
|
+
- The v0.84.3 breaking change (renaming the `GoogleThinkingLevel` type to
|
|
94
|
+
`GoogleApiThinkingLevel`) is a TypeScript SDK type, not part of the RPC
|
|
95
|
+
protocol, so it does not affect this gem.
|
|
96
|
+
- Bumped pinned upstream `pi-coding-agent` version to `0.84.2` (from
|
|
97
|
+
`0.84.1`). This is a CLI/TUI/provider/extension fix batch; none of the
|
|
98
|
+
changes alter the JSONL RPC command/response shapes this gem drives, so
|
|
99
|
+
no gem API change is required.
|
|
100
|
+
- v0.84.2 adds fullscreen transcript search, a configurable
|
|
101
|
+
`defaultTools` setting, and configurable fullscreen exit output, plus
|
|
102
|
+
a large batch of fixes (managed-tool downloads delaying TUI startup,
|
|
103
|
+
fullscreen search/scroll/selection, and many inherited provider fixes
|
|
104
|
+
across OpenAI Responses, Google/Vertex, Bedrock, DeepSeek, and Mistral).
|
|
105
|
+
All are CLI/TUI/provider or TypeScript extension-API concerns, outside
|
|
106
|
+
the JSONL RPC surface this Ruby client speaks.
|
|
107
|
+
- v0.84.2 fixes JSON and RPC `message_update` events dropping cumulative
|
|
108
|
+
usage during streaming (upstream #7982). This gem does not read usage
|
|
109
|
+
from streaming `message_update` deltas — it queries token usage via the
|
|
110
|
+
`get_session_stats` RPC (`Session#session_stats`) — so it is unaffected
|
|
111
|
+
and compatible as-is.
|
|
112
|
+
|
|
10
113
|
## [0.3.1] - 2026-08-07
|
|
11
114
|
|
|
12
115
|
### 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.
|
|
17
|
+
- This gem is pinned against pi `0.87.1`; 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.
|
|
108
|
+
0.80.4; it is available in this gem's pinned pi 0.87.1.
|
|
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
|
data/lib/pi_agent/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module PiAgent
|
|
4
|
-
VERSION = "0.
|
|
4
|
+
VERSION = "1.0.0"
|
|
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.
|
|
8
|
+
SUPPORTED_PI_VERSION = "0.87.1"
|
|
9
9
|
end
|