pi-agent-rb 1.0.0 → 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 +52 -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,58 @@ 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
|
+
|
|
10
62
|
## [1.0.0] - 2026-09-23
|
|
11
63
|
|
|
12
64
|
First stable release. The public API (`PiAgent.session` / `PiAgent.open`,
|
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 = "1.
|
|
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
|