omp packages

@liuchen64/pi-plan-mode0.1.0

Pi 扩展 - 在默认模式与只读计划模式间切换

liuchen64 Published 10 days ago MIT ~244 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@liuchen64/pi-plan-mode

Pi 工作模式切换扩展:按 F8 或输入 /plan,在 Default 和 Plan 之间切换。

  • Default:初始模式,保持 Pi 原有行为。
  • Plan:提示模型先调查、澄清需求并给出带验证步骤的计划。只保留已启用的内置 read、grep、find、ls 及 web_search、web_fetch。其他模型工具均被拒绝,不开放 Shell 或 Git 命令。它不是系统沙箱,不限制用户手动执行的命令或其他扩展自身的行为。
  • 只有任务空闲且没有排队消息时才能切换。切回 Default 会恢复进入前的工具列表,不会自动执行计划;切换会话或重载会回到 Default。
  • keybindings.json 已绑定 F8 时保留原绑定,用 /plan 切换。

在仓库根目录试用,无需安装:

pi --no-extensions -e ./packages/plan-mode/src/index.ts