pi-slim-tools

Pi 扩展:将 bash/read/edit/write/grep/find/ls 的输出压缩为单行摘要,终端更清爽。按 Ctrl+O 展开。

Packages

Package details

extension

Install pi-slim-tools from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-slim-tools
Package
pi-slim-tools
Version
1.0.7
Published
Jun 30, 2026
Downloads
1,184/mo · 31/wk
Author
congrong567
License
MIT
Types
extension
Size
86.5 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-slim-tools

将 pi 的 7 个内置工具输出压缩为单行摘要,终端不再被刷屏。

Compress pi's 7 built-in tool outputs into single-line summaries. No more terminal spam.

效果 / Preview

screenshot

安装 / Install

pi install npm:pi-slim-tools

手动安装 / Manual

复制到 ~/.pi/agent/extensions/ 然后 /reload

Copy to ~/.pi/agent/extensions/ then /reload.

使用 / Usage

工具 Tool 折叠时 Collapsed 展开 Expanded
bash $ command ✓ 完整输出 full output
read ▸ path 42L 文件内容 file content
edit ~ path +5 -3 diff
write • path (155L) ✓ 完整结果 full result
grep # pattern 7 matches 匹配结果 matches
find ? path 1 files 查找结果 files found
ls / path 15 entries 文件列表 file list

Ctrl+O 展开/折叠。 Press Ctrl+O to expand/collapse.

License

MIT