@esso0428/pi-subagents 0.17.35 → 0.17.36
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.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/index.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.17.36] - 2026-10-05
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Legacy session history no longer lists records that cannot be opened**: recovering `subagents:record` entries from older sessions bypassed the `canOpenAgentHistory` check that the this-session list, the project-wide list, and the roster all apply, so entries with no durable transcript were offered and could only ever answer "No agent history." They now clear the same bar, which drops roughly half of what the scan recovers.
|
|
14
|
+
|
|
10
15
|
## [0.17.35] - 2026-10-05
|
|
11
16
|
|
|
12
17
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esso0428/pi-subagents",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.36",
|
|
4
4
|
"description": "A pi extension that brings smart Claude Code-style autonomous sub-agents to pi, with npm:pi-subagents-style JSON agent overrides.",
|
|
5
5
|
"author": "ESSO0428",
|
|
6
6
|
"repository": {
|
package/src/index.ts
CHANGED
|
@@ -1931,9 +1931,16 @@ Terse command-style prompts produce shallow, generic work.
|
|
|
1931
1931
|
// Sessions recorded before durable checkpoints only exist as
|
|
1932
1932
|
// `subagents:record` entries in their session file. They are merged here for
|
|
1933
1933
|
// the project-wide view; the this-session view never needs the scan.
|
|
1934
|
+
//
|
|
1935
|
+
// They must clear the same `canOpenAgentHistory` bar as everything else:
|
|
1936
|
+
// most carry no durable transcript, and listing an entry that can only ever
|
|
1937
|
+
// answer "No agent history." is a dead link, not history.
|
|
1934
1938
|
const merged = scope === "this-session"
|
|
1935
1939
|
? scoped
|
|
1936
|
-
: mergeLegacyRecords(
|
|
1940
|
+
: mergeLegacyRecords(
|
|
1941
|
+
scoped,
|
|
1942
|
+
(await readLegacySessionRecords(ctx.cwd)).filter(record => canOpenAgentHistory(record, ctx.cwd)),
|
|
1943
|
+
);
|
|
1937
1944
|
const pairs = merged.map((record) => ({ record, label: formatAgentHistoryOption(record, Date.now()) }));
|
|
1938
1945
|
makeUniqueAgentOptionLabels(pairs);
|
|
1939
1946
|
const title = scope === "this-session" ? "Agent history — this session" : "Agent history — all sessions";
|