@esso0428/pi-subagents 0.15.4 → 0.15.5
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/dist/index.js +4 -2
- package/package.json +1 -1
- package/src/index.ts +6 -2
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.15.5] - 2026-09-11
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **The Running agents menu no longer advertises dead-end metadata.** Its summary count now uses the same live-session or existing-transcript filter as the detail list, so Enter does not open an empty list for stale restored records.
|
|
14
|
+
|
|
10
15
|
## [0.15.4] - 2026-09-11
|
|
11
16
|
|
|
12
17
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -1503,8 +1503,10 @@ Terse command-style prompts produce shallow, generic work.
|
|
|
1503
1503
|
const allNames = (0, agent_types_js_1.getAllTypes)();
|
|
1504
1504
|
// Build select options
|
|
1505
1505
|
const options = [];
|
|
1506
|
-
//
|
|
1507
|
-
|
|
1506
|
+
// Only advertise agents that can actually be opened. Reload-restored
|
|
1507
|
+
// metadata without a live session or durable transcript is intentionally
|
|
1508
|
+
// invisible here, matching FleetView and showRunningAgents below.
|
|
1509
|
+
const agents = manager.listAgents().filter((record) => record.session !== undefined || (0, agent_history_js_1.hasAgentHistory)(ctx.cwd, record.transcriptPath));
|
|
1508
1510
|
if (agents.length > 0) {
|
|
1509
1511
|
const running = agents.filter(a => a.status === "running" || a.status === "queued").length;
|
|
1510
1512
|
const done = agents.filter(a => a.status === "completed" || a.status === "steered").length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esso0428/pi-subagents",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5",
|
|
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
|
@@ -1667,8 +1667,12 @@ Terse command-style prompts produce shallow, generic work.
|
|
|
1667
1667
|
// Build select options
|
|
1668
1668
|
const options: string[] = [];
|
|
1669
1669
|
|
|
1670
|
-
//
|
|
1671
|
-
|
|
1670
|
+
// Only advertise agents that can actually be opened. Reload-restored
|
|
1671
|
+
// metadata without a live session or durable transcript is intentionally
|
|
1672
|
+
// invisible here, matching FleetView and showRunningAgents below.
|
|
1673
|
+
const agents = manager.listAgents().filter((record) =>
|
|
1674
|
+
record.session !== undefined || hasAgentHistory(ctx.cwd, record.transcriptPath),
|
|
1675
|
+
);
|
|
1672
1676
|
if (agents.length > 0) {
|
|
1673
1677
|
const running = agents.filter(a => a.status === "running" || a.status === "queued").length;
|
|
1674
1678
|
const done = agents.filter(a => a.status === "completed" || a.status === "steered").length;
|