pi-recurse 0.1.4 → 0.1.6
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/index.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.5] - 2026-08-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Grey the recurse result summary, child ids, and expanded tree lines (muted) to match pi core's output styling.
|
|
13
|
+
|
|
8
14
|
## [0.1.0] - 2025-03-24
|
|
9
15
|
|
|
10
16
|
### Added
|
package/index.ts
CHANGED
|
@@ -478,7 +478,7 @@ export default function piRecurseExtension(pi: ExtensionAPI) {
|
|
|
478
478
|
const icon = stats.failed === 0 ? theme.fg('success', '✓') : theme.fg('warning', '⚠');
|
|
479
479
|
const hasChildren = data.results.some((r) => r.children);
|
|
480
480
|
|
|
481
|
-
let text = `${icon} ${stats.succeeded}/${stats.total} at depth ${depth}${mode ? ` · ${mode}` : ''}`;
|
|
481
|
+
let text = `${icon} ${theme.fg('muted', `${stats.succeeded}/${stats.total} at depth ${depth}${mode ? ` · ${mode}` : ''}`)}`;
|
|
482
482
|
|
|
483
483
|
if (stats.totalCost && stats.totalCost > 0) {
|
|
484
484
|
text += theme.fg('dim', ` · $${stats.totalCost.toFixed(4)}`);
|
|
@@ -493,13 +493,13 @@ export default function piRecurseExtension(pi: ExtensionAPI) {
|
|
|
493
493
|
// Render tree view
|
|
494
494
|
const tree = buildRecurseTree(data, mode);
|
|
495
495
|
const treeLines = renderRecurseTree(tree, 100);
|
|
496
|
-
text += '\n' + treeLines.join('\n');
|
|
496
|
+
text += '\n' + treeLines.map((line) => theme.fg('muted', line)).join('\n');
|
|
497
497
|
} else {
|
|
498
498
|
// Simple flat view
|
|
499
499
|
text += '\n';
|
|
500
500
|
for (const r of data.results) {
|
|
501
501
|
const status = r.success ? theme.fg('success', '✓') : theme.fg('error', '✗');
|
|
502
|
-
text += ` ${status} ${r.id}`;
|
|
502
|
+
text += ` ${status} ${theme.fg('muted', r.id)}`;
|
|
503
503
|
if (r.children) {
|
|
504
504
|
text += theme.fg('accent', ` → ${r.children.stats.total} children`);
|
|
505
505
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-recurse",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Recursive agent extension for Pi — spawn subagents programmatically with depth guardrails",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Tom X Nguyen",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@commitlint/cli": "21.0.1",
|
|
38
38
|
"@commitlint/config-conventional": "21.0.1",
|
|
39
|
-
"@earendil-works/pi-tui": "0.84.
|
|
39
|
+
"@earendil-works/pi-tui": "0.84.2",
|
|
40
40
|
"@types/node": "25.9.1",
|
|
41
41
|
"@vitest/coverage-v8": "4.1.7",
|
|
42
42
|
"knip": "6.14.1",
|