pi-tui-footer 1.2.3 → 1.2.4
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 +1 -1
- package/extensions/rounded-tools.ts +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* OldSun) and gated behind `roundedTools` in pi-tui config
|
|
9
9
|
* (~/.pi/agent/pi-tui.json, default on).
|
|
10
10
|
*
|
|
11
|
-
* Re-registers the built-in tools (read, write, edit, grep, find, ls)
|
|
11
|
+
* Re-registers the built-in tools (read, write, edit, bash, grep, find, ls)
|
|
12
12
|
* with `renderShell: "self"` and wraps each tool call / result in a frame
|
|
13
13
|
* drawn with Unicode rounded-corner characters (╭ ╮ ╰ ╯ ─ │).
|
|
14
14
|
*
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
import type { ExtensionAPI, ToolDefinition } from "@earendil-works/pi-coding-agent";
|
|
28
28
|
import {
|
|
29
|
+
createBashToolDefinition,
|
|
29
30
|
createEditToolDefinition,
|
|
30
31
|
createFindToolDefinition,
|
|
31
32
|
createGrepToolDefinition,
|
|
@@ -228,7 +229,7 @@ function wrapBuiltin(def: ToolDef) {
|
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
/**
|
|
231
|
-
* Register the
|
|
232
|
+
* Register the 7 built-in file/bash tools, either with rounded frames
|
|
232
233
|
* (`enabled`) or with their plain stock definitions (`!enabled`, restores
|
|
233
234
|
* original rendering). Registration refreshes the active tool set in the
|
|
234
235
|
* current session, so toggling the setting takes effect immediately.
|
|
@@ -238,6 +239,7 @@ export function registerRoundedTools(pi: ExtensionAPI, enabled: boolean, cwd: st
|
|
|
238
239
|
createReadToolDefinition(cwd),
|
|
239
240
|
createWriteToolDefinition(cwd),
|
|
240
241
|
createEditToolDefinition(cwd),
|
|
242
|
+
createBashToolDefinition(cwd),
|
|
241
243
|
createGrepToolDefinition(cwd),
|
|
242
244
|
createFindToolDefinition(cwd),
|
|
243
245
|
createLsToolDefinition(cwd),
|