把 12 份 UPSTREAM.md 来源记录全部翻译为中文,并把中文定为这份仓库自有 维护文档的强制语言。 - 翻译 hippo-memory-pi、pi-ask-user、pi-chrome、pi-compaction、 pi-extension-codex-fast-mode、pi-minimal-footer、pi-notify、 pi-permission-system/docs/auto-review、pi-ssh、pi-subagents 与 pi-tool-search 的来源记录。 - 在 AGENTS.md 增加纪律:每个自维护扩展目录必须保留中文 UPSTREAM.md, 内容涵盖官方仓库、tag/commit、导入版本、导入日期、许可证归属、本地 改动清单与同步上游时的约束。 - 明确边界:UPSTREAM.md 属于仓库自有的维护文档,因此使用中文;上游自带 的源码、测试、文档、README、CHANGELOG 与 LICENSE 一律保持原文,不翻 译、不改写,避免同步上游时产生无意义 diff 并破坏许可证原文完整性。 - 所有 40 位 commit、tag/版本号、仓库 URL 与许可证路径原样保留,仅翻译 叙述性文字。 验证:12 份文件均无残留英文正文;逐份复核了 commit、版本、URL 与 LICENSES/ 路径未发生改变。
Codex Fast Mode for Pi
A locally maintained fork of @firstpick/pi-extension-codex-fast-mode@0.1.1 that adds a cross-session Fast mode default.
Behavior
/fast-mode onand/fast-mode offupdate the current session and the global default for future sessions.- A new session inherits the global default.
- A resumed session branch keeps its own latest recorded setting, overriding the global default.
- Only
openai-codexrequests usingopenai-codex-responsesreceiveservice_tier: "priority". - Other providers, APIs, payload fields, and authentication remain unchanged.
The global preference is stored at:
<Pi agent dir>/extensions/pi-extension-codex-fast-mode/config.json
Normally this is ~/.pi/agent/extensions/pi-extension-codex-fast-mode/config.json. The directory and file are restricted to owner-only permissions (0700 and 0600). Missing, unreadable, or invalid configuration fails safely to Fast mode off.
Commands
/fast-modetoggles Fast mode and saves the new global default./fast-mode onenables it and makes new sessions default to on./fast-mode offdisables it and makes new sessions default to off./fast-mode statusreports the active branch setting and the default for new sessions.
Mode changes are rejected while Pi is busy; status remains available.
Installation in my-pi
The root bundle loads this directory directly and declares it as a local file: dependency. Do not also install the upstream npm package, or Pi may load the command twice.
Source and technical details
See UPSTREAM.md for provenance, TECHNICAL.md for runtime behavior, and DEVELOPMENT.md for validation. The upstream MIT license is retained in LICENSE.