pi-tui-footer 1.2.2 → 1.2.3
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 +2 -4
- 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,
|
|
11
|
+
* Re-registers the built-in tools (read, write, edit, 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,7 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
import type { ExtensionAPI, ToolDefinition } from "@earendil-works/pi-coding-agent";
|
|
28
28
|
import {
|
|
29
|
-
createBashToolDefinition,
|
|
30
29
|
createEditToolDefinition,
|
|
31
30
|
createFindToolDefinition,
|
|
32
31
|
createGrepToolDefinition,
|
|
@@ -229,7 +228,7 @@ function wrapBuiltin(def: ToolDef) {
|
|
|
229
228
|
}
|
|
230
229
|
|
|
231
230
|
/**
|
|
232
|
-
* Register the
|
|
231
|
+
* Register the 6 built-in file tools, either with rounded frames
|
|
233
232
|
* (`enabled`) or with their plain stock definitions (`!enabled`, restores
|
|
234
233
|
* original rendering). Registration refreshes the active tool set in the
|
|
235
234
|
* current session, so toggling the setting takes effect immediately.
|
|
@@ -239,7 +238,6 @@ export function registerRoundedTools(pi: ExtensionAPI, enabled: boolean, cwd: st
|
|
|
239
238
|
createReadToolDefinition(cwd),
|
|
240
239
|
createWriteToolDefinition(cwd),
|
|
241
240
|
createEditToolDefinition(cwd),
|
|
242
|
-
createBashToolDefinition(cwd),
|
|
243
241
|
createGrepToolDefinition(cwd),
|
|
244
242
|
createFindToolDefinition(cwd),
|
|
245
243
|
createLsToolDefinition(cwd),
|