pi-subagents 0.12.4 → 0.12.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 +6 -0
- package/package.json +1 -1
- package/slash-commands.ts +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.12.5] - 2026-04-09
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Slash-command result cards now finalize through the extension's own snapshot timing instead of relying on core to treat hidden custom messages as in-place updates. The final slash snapshot and hidden persisted message are written before the last status-clear redraw, so live `/run`, `/chain`, and `/parallel` cards update to their final state more reliably.
|
|
9
|
+
- Added focused slash-command regression coverage for the success/error ordering around visible placeholder messages, hidden final messages, and the final status-clear redraw.
|
|
10
|
+
|
|
5
11
|
## [0.12.4] - 2026-04-04
|
|
6
12
|
|
|
7
13
|
### Added
|
package/package.json
CHANGED
package/slash-commands.ts
CHANGED
|
@@ -170,7 +170,6 @@ async function requestSlashRun(
|
|
|
170
170
|
unsubResponse();
|
|
171
171
|
unsubUpdate();
|
|
172
172
|
onTerminalInput?.();
|
|
173
|
-
if (ctx.hasUI) ctx.ui.setStatus("subagent-slash", undefined);
|
|
174
173
|
next();
|
|
175
174
|
};
|
|
176
175
|
|
|
@@ -221,6 +220,9 @@ async function runSlashSubagent(
|
|
|
221
220
|
display: false,
|
|
222
221
|
details: finalDetails,
|
|
223
222
|
});
|
|
223
|
+
if (ctx.hasUI) {
|
|
224
|
+
ctx.ui.setStatus("subagent-slash", undefined);
|
|
225
|
+
}
|
|
224
226
|
if (response.isError && ctx.hasUI) {
|
|
225
227
|
ctx.ui.notify(response.errorText || "Subagent failed", "error");
|
|
226
228
|
}
|
|
@@ -233,6 +235,9 @@ async function runSlashSubagent(
|
|
|
233
235
|
display: false,
|
|
234
236
|
details: failedDetails,
|
|
235
237
|
});
|
|
238
|
+
if (ctx.hasUI) {
|
|
239
|
+
ctx.ui.setStatus("subagent-slash", undefined);
|
|
240
|
+
}
|
|
236
241
|
if (message === "Cancelled") {
|
|
237
242
|
if (ctx.hasUI) ctx.ui.notify("Cancelled", "warning");
|
|
238
243
|
return;
|