pi-cc-extensions

A Pi productivity suite with Claude Code-style UI, fixed editor, context inspection, and agent/session references

Packages

Package details

extensiontheme

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

$ pi install npm:pi-cc-extensions
Package
pi-cc-extensions
Version
0.8.37
Published
Aug 3, 2026
Downloads
8,607/mo · 3,484/wk
Author
minuque
License
unknown
Types
extension, theme
Size
1 MB
Dependencies
4 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ],
  "themes": [
    "./themes/github-dark-default.json"
  ],
  "image": "https://raw.githubusercontent.com/minuque/pi-cc-extensions/main/assets/readme/welcome.webp"
}

Security note

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

README


界面预览

快速开始

pi install npm:pi-cc-extensions

# GitHub
pi install git:github.com/minuque/pi-cc-extensions

安装后执行 /reload

功能

功能 说明 入口
Claude Code 风格输出 工具摘要、折叠展开、rich edit/write diff,以及on / off / compact 三种模式 /ccstyle
Fixed editor 交互 基于 @tifan/pi-fixed-editor,支持动态开关、每刻度 5 行滚动、工具点击与回到底部 /ccstyle
上下文检查 查看上下文占用,并预览 System prompt、Tools、Skills 和消息内容 /context
Session 引用 搜索并注入历史 Session 或现有 SubAgent 的有效上下文 @session:
主题 随包提供内置 GitHub Dark Default 主题 /theme

本地开发

npm test
npm run typecheck
pi -e .

修改扩展后执行 /reload

兼容性

  • Node.js >=22.19.0
  • 通过根目录 package.jsonpi.extensionspi.themes 加载
  • @tifan/pi-fixed-editor、Pi 或 TUI 内部实现升级后若显示异常,先执行 /reload

推荐搭配

扩展 用途
npm:@tintinweb/pi-subagents 并行 SubAgent、后台任务与工作树隔离
npm:pi-mcp-adapter 按需发现 MCP 工具,减少上下文占用
npm:pi-theme-picker 主题搜索和实时预览
npm:@ayulab/pi-rewind 基于 checkpoint 回退代码或对话
npm:pi-compact-thinking 紧凑显示隐藏的 thinking 块

致谢