pi-agent-rb 1.2.3 → 1.2.4
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 +43 -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: bfcb5693e6ad80474fd5bfb7cf617a9074420810d7dd2f0d182f4a7cd7ca5704
|
|
4
|
+
data.tar.gz: 1ed54f1463dc3affc9a22557784e4cc3f0fd2124edd62a09a0cee0b80963cd0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c47740cc6c5e2cb579077712480b55613cbf3a335c07da5032e76702515e8d075faee8ea4e488c6e6ec903765b3ee5c9c10895aad7164d156e8b5cdb1d7aac0
|
|
7
|
+
data.tar.gz: 14acb2265fe345c5dd5e326b42aba0f71f000f1bc7c6b9e369fe4fbcbb34a10e717df397d76c81567d71193049877f72571ada32642a49716060b1b6400fdd46
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.4] - 2026-11-21
|
|
11
|
+
|
|
12
|
+
Tracks pi 1.6.0 (rolls up `1.5.1`, `1.5.2`, and `1.6.0`). No gem API change:
|
|
13
|
+
the JSONL RPC command/response/event shapes this gem drives are unchanged
|
|
14
|
+
between pi 1.5.0 and 1.6.0. The RPC-mode changes (`src/modes/rpc/rpc-mode.ts`,
|
|
15
|
+
`docs/rpc.md`) are shutdown behavior (1.5.1) and session-replacement event
|
|
16
|
+
ordering / stderr diagnostics (1.6.0); both are compatible with this gem.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Bumped pinned upstream `pi-coding-agent` version to `1.6.0` (from `1.5.0`).
|
|
20
|
+
- `1.5.1` — `pi auth login/logout` shell commands; idle prompt cache warming
|
|
21
|
+
(`cacheWarming` now defaults to `"idle"`); Anthropic message threads;
|
|
22
|
+
richer Mermaid rendering; GitHub Copilot classifiers; `pi update` package
|
|
23
|
+
summaries; new default models (e.g. `anthropic` now defaults to Claude
|
|
24
|
+
Opus 5.5). RPC mode: an extension's `ctx.shutdown()` while idle now exits
|
|
25
|
+
immediately; after stdin EOF pi waits for pending work (e.g. MCP token
|
|
26
|
+
refresh) before exiting, and a single SIGTERM/SIGHUP during shutdown no
|
|
27
|
+
longer interrupts cleanup (a second signal still exits at once). This is
|
|
28
|
+
compatible with `Transport::Subprocess#close` (stdin EOF, then bounded
|
|
29
|
+
SIGTERM/SIGKILL escalation). Breaking for extension authors / model config
|
|
30
|
+
only (`GrepOperations.readFile` no longer used for context lines;
|
|
31
|
+
OpenAI-compatible requests omit empty `tools`). Not used by this gem.
|
|
32
|
+
Release notes: https://github.com/earendil-works/pi/releases/tag/v1.5.1
|
|
33
|
+
- `1.5.2` — interactive `Continue`/`Fork`/`Cancel` when a session's working
|
|
34
|
+
directory no longer exists; `/import` cleanup fix; Anthropic OAuth client
|
|
35
|
+
version fix. No RPC change.
|
|
36
|
+
Release notes: https://github.com/earendil-works/pi/releases/tag/v1.5.2
|
|
37
|
+
- `1.6.0` — GPT-6.2 Astra / Sol (Sol is the new default for `openai`,
|
|
38
|
+
`azure`, `openai-codex`); find tool path patterns are now relative to the
|
|
39
|
+
search directory; more provider errors (`Connection closed.`, socket
|
|
40
|
+
error codes) trigger automatic retries; `undici` security update. RPC
|
|
41
|
+
mode: after `new_session` / `switch_session` / `fork` / `clone`, extension
|
|
42
|
+
`session_start` handlers run once (not twice) and events they emit (e.g.
|
|
43
|
+
`entry_appended`) now reach the client, possibly before the command's
|
|
44
|
+
response; session-replacement diagnostics go to stderr (surfaced via
|
|
45
|
+
`on_stderr`); `pi.events` handler errors arrive as `extension_error`;
|
|
46
|
+
`get_last_assistant_text` skips aborted/errored assistant messages.
|
|
47
|
+
Response shapes are unchanged and the client already fans out
|
|
48
|
+
unsolicited events independently of pending requests. Breaking for
|
|
49
|
+
extension authors only (component `render()` returns `readonly
|
|
50
|
+
string[]`). Not used by this gem.
|
|
51
|
+
Release notes: https://github.com/earendil-works/pi/releases/tag/v1.6.0
|
|
52
|
+
|
|
10
53
|
## [1.2.3] - 2026-11-05
|
|
11
54
|
|
|
12
55
|
Tracks pi 1.5.0. No gem API change: the RPC mode sources (`src/modes/rpc/*`)
|
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 `1.
|
|
17
|
+
- This gem is pinned against pi `1.6.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 1.
|
|
108
|
+
0.80.4; it is available in this gem's pinned pi 1.6.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.2.
|
|
4
|
+
VERSION = "1.2.4"
|
|
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 = "1.
|
|
8
|
+
SUPPORTED_PI_VERSION = "1.6.0"
|
|
9
9
|
end
|