pi-agent-rb 0.3.2 → 1.1.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 +100 -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: 3c4f0ddb3c0e7d8dd8c01189b0b27469f1c62f5293ffe6aee263b41af4c248d3
|
|
4
|
+
data.tar.gz: 0fc2f911b59a4e0ae3e0a78897ce5a1457e29d7badcf1e6623b12d8754d9e803
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ae00b74a6ce44eec1e0e25cd5250ff0f6c2f68e2495d005bd69367611c71ce253a3d096cf51e83c4e64d4710d4c226ab29bc20ab7027562faf5597ca9c485d8
|
|
7
|
+
data.tar.gz: 6d0ab90a5e5a95014b2604973e13790fa9d44a43fd6baf813dabaebf2fe7de41bc75fe7970aa6b00d885de6bd64edcef17fe6bcba7614017d5c33f032d91ae09
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,106 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.0] - 2026-10-01
|
|
11
|
+
|
|
12
|
+
Tracks pi 1.0.0. No gem API change; verified against a real `pi --mode rpc`
|
|
13
|
+
1.0.0 (live specs).
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Bumped pinned upstream `pi-coding-agent` version to `1.0.0` (from
|
|
17
|
+
`0.87.1`). Upstream jumped its numbering from the `0.87.x` line straight
|
|
18
|
+
to the `0.99.x` line and then to the `1.0.0` milestone; there are no
|
|
19
|
+
intermediate `0.88`–`0.98` releases.
|
|
20
|
+
None of the changes alter the JSONL RPC command/response shapes this gem
|
|
21
|
+
drives, so no gem API change is required.
|
|
22
|
+
- `0.99.0` is a large feature batch centered on the CLI/TUI and the
|
|
23
|
+
TypeScript SDK/extension layer: built-in codemode, tool-search, and MCP
|
|
24
|
+
extensions (QuickJS sandbox, `mcp.json`, `/mcp`, `pi mcp ...`); a new
|
|
25
|
+
`system` theme that derives colors from the terminal palette (now the
|
|
26
|
+
default); Sign in with ChatGPT for the OpenAI provider; experimental
|
|
27
|
+
virtual models and llama.cpp/Jev classifier models; and image
|
|
28
|
+
generation on `ModelRuntime`. These are CLI/TUI or TypeScript
|
|
29
|
+
SDK/provider concerns, outside the JSONL RPC surface this gem speaks.
|
|
30
|
+
- The one RPC-adjacent change is additive: successful `prompt`, `steer`,
|
|
31
|
+
and `follow_up` responses now carry a per-input disposition, and
|
|
32
|
+
`RpcClient.prompt()` also accepts `streamingBehavior`. This gem treats
|
|
33
|
+
those responses as acks and does not read the new fields, and it does
|
|
34
|
+
not send `streamingBehavior`, so the existing behavior is unchanged.
|
|
35
|
+
- Built-in extensions/tools are now named `builtin:<name>` in RPC source
|
|
36
|
+
info, diagnostics, and bug reports (was `<inline:name>`/`<builtin:name>`).
|
|
37
|
+
This gem does not parse those identifier strings, so it is unaffected.
|
|
38
|
+
- `0.99.1` is a provider maintenance patch: adds GPT-6.1 Sol
|
|
39
|
+
(`gpt-6.1-sol`) to the OpenAI, Azure OpenAI, and OpenAI Codex providers
|
|
40
|
+
(now the default OpenAI Codex model) and fixes `/login` with OpenAI in
|
|
41
|
+
the bundled release. No RPC surface change.
|
|
42
|
+
- `0.99.2` is an MCP/codemode and provider batch: MCP servers with the
|
|
43
|
+
default codemode exposure stay out of the codemode description and no
|
|
44
|
+
longer block the first prompt; adds `oauth.clientName` and an
|
|
45
|
+
`auth: { provider }` option for HTTP MCP servers, a `describeNamespace()`
|
|
46
|
+
codemode helper, Anthropic workload identity federation, and `/reload`
|
|
47
|
+
enabling newly added `defaultTools`. All changes are CLI/TUI, codemode,
|
|
48
|
+
or TypeScript SDK/provider concerns, outside the JSONL RPC surface this
|
|
49
|
+
gem speaks, so no gem API change is required.
|
|
50
|
+
- `1.0.0` is the stable milestone release and, despite the major version
|
|
51
|
+
bump, carries no breaking change to the JSONL RPC command/response
|
|
52
|
+
shapes this gem drives. It makes the TUI fullscreen by default
|
|
53
|
+
(`tuiMode: "regular"` restores scrollback), shrinks codemode prompt
|
|
54
|
+
tokens (~40%) with recovery-oriented errors, adds image generation in
|
|
55
|
+
codemode (`models.generateImages()`), Radius `/login` + MCP setup,
|
|
56
|
+
Anthropic copy-code login for headless setups, MCP OAuth hardening
|
|
57
|
+
(`oauth.authServerMetadataUrl`, RFC 9207 `iss` checks, per-server
|
|
58
|
+
credentials, scope-preserving step-up), and `quietStartup: "header"`.
|
|
59
|
+
All are CLI/TUI, codemode, MCP, or provider concerns outside the RPC
|
|
60
|
+
surface this gem speaks.
|
|
61
|
+
|
|
62
|
+
## [1.0.0] - 2026-09-23
|
|
63
|
+
|
|
64
|
+
First stable release. The public API (`PiAgent.session` / `PiAgent.open`,
|
|
65
|
+
`Session`, `Client`, `Event`, `Image`, the `Transport` contract, and the
|
|
66
|
+
error classes) has been unchanged since 0.3.0 across pi 0.83 through 0.87,
|
|
67
|
+
so this release marks it stable: from here on, breaking changes bump the
|
|
68
|
+
major version per SemVer.
|
|
69
|
+
|
|
70
|
+
No functional changes versus 0.3.2 beyond the pi pin bump below.
|
|
71
|
+
|
|
72
|
+
### Changed
|
|
73
|
+
- Bumped pinned upstream `pi-coding-agent` version to `0.87.1` (from
|
|
74
|
+
`0.84.4`). This skips the intermediate `0.85.0`, `0.85.1`, `0.86.0`,
|
|
75
|
+
`0.86.1`, and `0.87.0` releases. Across all six releases, none of the
|
|
76
|
+
changes alter the JSONL RPC command/response shapes this gem drives, so
|
|
77
|
+
no gem API change is required.
|
|
78
|
+
- `0.85.0`/`0.85.1` are CLI/TUI/provider/SDK feature-and-fix batches:
|
|
79
|
+
persistent Claude thinking effort, fullscreen transcript controls,
|
|
80
|
+
restorable in-memory sessions (`SessionManager.inMemory()`), GPT-6
|
|
81
|
+
Astra, and a large batch of provider/streaming fixes. These are
|
|
82
|
+
CLI/TUI or TypeScript SDK/provider concerns, outside the JSONL RPC
|
|
83
|
+
surface this Ruby client speaks.
|
|
84
|
+
- `0.86.0`/`0.86.1` list breaking changes confined to the TypeScript
|
|
85
|
+
SDK/extension surface, not the JSONL RPC protocol: custom providers
|
|
86
|
+
now read normalized `TranscriptContext` values; `ToolCall.arguments`
|
|
87
|
+
and `ToolResultMessage.details` are restricted to JSON-compatible
|
|
88
|
+
values; and the `user_bash` extension hook now fails closed. They also
|
|
89
|
+
add prompt cache warming, `/bug` reporting, transcript-aware prompt/tool
|
|
90
|
+
updates, an offline Radius model catalog, per-model compaction budgets,
|
|
91
|
+
and the Meta Muse provider login. This gem implements neither pi
|
|
92
|
+
providers nor extensions, so none of this affects it.
|
|
93
|
+
- `0.87.0` adds canonical session context and extension boundaries,
|
|
94
|
+
full-transcript context extensions (`context_with_system`), and
|
|
95
|
+
per-model image input limits. Its breaking changes are all in the
|
|
96
|
+
TypeScript agent-core/extension API (`shouldStopAfterTurn` removed in
|
|
97
|
+
favor of `finishTurn`; a new `ContextEditEntry` in the `SessionEntry`
|
|
98
|
+
union; `SessionManager` made canonical for provider context; expanded
|
|
99
|
+
`TurnEndEvent`/`ExtensionEvent`). These are SDK/extension concerns and
|
|
100
|
+
do not change the JSONL RPC command/response shapes this gem drives.
|
|
101
|
+
- `0.87.1` is a provider/model maintenance patch: Claude Opus 5.5, GPT-6
|
|
102
|
+
Sol, and GPT-6 Luna support (including GitHub Copilot), Grok 4.7 as the
|
|
103
|
+
new xAI default, and fixes for compaction summaries, `--mode`
|
|
104
|
+
validation, image-only messages, and Anthropic OAuth version reporting.
|
|
105
|
+
All of these are CLI/provider concerns outside the JSONL RPC surface.
|
|
106
|
+
- As with prior bumps, the additive `clear_queue` RPC command remains
|
|
107
|
+
unwrapped by this gem; exposing a `clear_queue` helper is a possible
|
|
108
|
+
future enhancement, not required for this bump.
|
|
109
|
+
|
|
10
110
|
## [0.3.2] - 2026-09-03
|
|
11
111
|
|
|
12
112
|
### 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 `1.0.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 0.
|
|
108
|
+
0.80.4; it is available in this gem's pinned pi 1.0.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
|
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 = "
|
|
4
|
+
VERSION = "1.1.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 = "1.0.0"
|
|
9
9
|
end
|