pi-agent-rb 0.3.2 → 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 +48 -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,54 @@ 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
|
+
|
|
10
58
|
## [0.3.2] - 2026-09-03
|
|
11
59
|
|
|
12
60
|
### 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
|