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 CHANGED
@@ -17,7 +17,7 @@ pi install git:github.com/onenora/pi-tui-footer
17
17
  固定版本:
18
18
 
19
19
  ```bash
20
- pi install git:github.com/onenora/pi-tui-footer@v1.2.3
20
+ pi install git:github.com/onenora/pi-tui-footer@v1.2.4
21
21
  ```
22
22
 
23
23
  更新:
@@ -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 6 built-in file tools, either with rounded frames
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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tui-footer",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "pi extension: TUI footer/header with git status, telemetry, rounded tools, editor and settings enhancements",
5
5
  "type": "module",
6
6
  "keywords": [