pi-compact-tools 0.13.2 → 0.14.0
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/README.md +48 -26
- package/extensions/compact-tools-claude.ts +20 -26
- package/extensions/compact-tools-codex-rows.ts +465 -0
- package/extensions/compact-tools-codex.ts +453 -0
- package/extensions/compact-tools-command.ts +196 -0
- package/extensions/compact-tools-custom.ts +9 -0
- package/extensions/compact-tools-grouping.ts +130 -31
- package/extensions/compact-tools-invocation.ts +30 -1
- package/extensions/compact-tools-layout.ts +115 -19
- package/extensions/compact-tools-palette.ts +6 -7
- package/extensions/compact-tools-release.ts +30 -7
- package/extensions/compact-tools-shell.ts +277 -0
- package/extensions/compact-tools-silent.ts +4 -1
- package/extensions/compact-tools-types.ts +9 -2
- package/extensions/compact-tools.ts +107 -34
- package/package.json +4 -2
- package/release-notes.json +14 -0
- package/schemas/compact-tools.schema.json +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-compact-tools",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.14.0",
|
|
4
|
+
"description": "Tool rows for Pi in three styles: Claude, Codex, and Compact. Switch with /compact-tools; includes silent mode and a GitHub Dark theme.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Dong Hyeong Lee",
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
"pi-package",
|
|
18
18
|
"pi-coding-agent",
|
|
19
19
|
"pi-extension",
|
|
20
|
+
"claude-code",
|
|
21
|
+
"codex",
|
|
20
22
|
"terminal-ui",
|
|
21
23
|
"theme"
|
|
22
24
|
],
|
package/release-notes.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"0.14.0": {
|
|
3
|
+
"New": [
|
|
4
|
+
"Codex style added.",
|
|
5
|
+
"`/compact-tools` command added. Try `/compact-tools codex`."
|
|
6
|
+
],
|
|
7
|
+
"Fix": [
|
|
8
|
+
"Commands that write or run something, such as `tee`, `xargs`, or `find -delete`, keep their own row instead of folding into a group",
|
|
9
|
+
"`/compact-tools codex` without a scope saves where the style is decided, so a switch always takes effect",
|
|
10
|
+
"`/compact-tools` and `/silent` run on the first Enter",
|
|
11
|
+
"A trusted project's tools apply right after a style switch",
|
|
12
|
+
"Fixes for narrow panes, long error messages, and pipelines in Compact summaries"
|
|
13
|
+
],
|
|
14
|
+
"Deprecated": []
|
|
15
|
+
},
|
|
2
16
|
"0.13.2": [
|
|
3
17
|
"Verified on Pi 1.0.0 while keeping compatibility with Pi 0.85.1 and later",
|
|
4
18
|
"Silent activity keeps animating through retries and follow-up turns until final settlement",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
11
|
"style": {
|
|
12
|
-
"description": "How tool rows are drawn. compact draws each call as a compact, expandable row. claude draws them the way Claude Code does: runs of reads, searches, listings, and commands that only look around fold into one summary line, while other commands, edits, writes, and custom tools keep rows of their own with Bash(…), Update(…), and similar titles; click a group or press Ctrl+O to open it. off leaves every tool with Pi's own renderer.",
|
|
12
|
+
"description": "How tool rows are drawn. compact draws each call as a compact, expandable row. claude draws them the way Claude Code does: runs of reads, searches, listings, and commands that only look around fold into one summary line, while other commands, edits, writes, and custom tools keep rows of their own with Bash(…), Update(…), and similar titles; click a group or press Ctrl+O to open it. codex draws them the way Codex CLI does: calls that only look around fold into a • Explored group, commands read Ran or Failed (exit N) with their last three output lines, edits preview their changed lines, and custom tools read • Called; Ctrl+O or a click opens each one. off leaves every tool with Pi's own renderer.",
|
|
13
13
|
"type": "string",
|
|
14
|
-
"enum": ["compact", "claude", "off"],
|
|
14
|
+
"enum": ["compact", "claude", "codex", "off"],
|
|
15
15
|
"default": "compact"
|
|
16
16
|
},
|
|
17
17
|
"mode": {
|
|
18
|
-
"description": "normal shows every tool row. silent leaves only your prompts and the final answers: tool rows, in-between assistant turns, thinking, error and abort notices, extension notices, and Pi's own status lines are hidden while a light animates beneath the prompt. Ctrl+' or /silent toggles it for the current session, in
|
|
18
|
+
"description": "normal shows every tool row. silent leaves only your prompts and the final answers: tool rows, in-between assistant turns, thinking, error and abort notices, extension notices, and Pi's own status lines are hidden while a light animates beneath the prompt. Ctrl+' or /silent toggles it for the current session, in any style.",
|
|
19
19
|
"type": "string",
|
|
20
20
|
"enum": ["normal", "silent"],
|
|
21
21
|
"default": "normal"
|