pi-cc-extensions

A Pi productivity suite with Claude Code-style UI, structured questionnaires, 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.22
Published
Jul 31, 2026
Downloads
6,207/mo · 3,662/wk
Author
minuque
License
unknown
Types
extension, theme
Size
1.1 MB
Dependencies
2 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/pi-aliases.ts",
    "./extensions/pi-startup-header.ts",
    "./extensions/claude-code-style.ts",
    "./extensions/context.ts",
    "./extensions/session-reference.ts",
    "./extensions/agent-autocomplete.ts",
    "./extensions/ask-user-question/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 交互 每刻度 5 行滚动、工具点击、收起位置补偿、回到底部按钮与Ctrl+End /ccstyle
Ask User Question 结构化问卷 单选、多选、自定义回答、Markdown 预览及 RPC / ACP 降级 ask_user_question
上下文检查 查看上下文占用,并预览 System prompt、Tools、Skills 和消息内容 /context
Session 引用 搜索并注入历史 Session 或现有 SubAgent 的有效上下文 @session:
主题 随包提供内置 GitHub Dark Default 主题 /theme

本地开发

npm test
npm run typecheck
pi -e .

修改扩展后执行 /reload。修改 extensions/ask-user-question/ 或重装其依赖后,需要完整重启 Pi。

兼容性

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

推荐搭配

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

致谢