docs(upstream): 将 UPSTREAM.md 来源记录统一改为中文维护

把 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/ 路径未发生改变。
This commit is contained in:
云服务部-叶林立
2026-10-13 23:19:01 -07:00
parent ff1e7400da
commit 879fc5d37f
12 changed files with 127 additions and 136 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
# Upstream sources
# 上游来源(多个)
`pi-ask-user` is maintained directly in this repository. Its initial UI and tool design was adapted from the following MIT-licensed Pi examples:
`pi-ask-user` 由本仓库直接维护。其初始 UI 与工具设计改编自以下 MIT 许可的 Pi 示例:
- <https://github.com/earendil-works/pi/blob/dcd461925db2edf69a43c8135db1180d418afd54/packages/coding-agent/examples/extensions/question.ts>
- <https://github.com/earendil-works/pi/blob/dcd461925db2edf69a43c8135db1180d418afd54/packages/coding-agent/examples/extensions/questionnaire.ts>
Initial reference snapshot: `dcd461925db2edf69a43c8135db1180d418afd54` (`main`, inspected 2026-08-24).
初始参考快照:`dcd461925db2edf69a43c8135db1180d418afd54`(`main`,查看于 2026-08-24)。
The upstream `qna.ts` command is intentionally not included: this package only supports model-initiated questions. Local changes consolidate single and multi-question flows into one tool, add text questions, keep a user-controlled free-form escape hatch on every select question, validation, bounded schemas, cancellation/abort handling, width-aware rendering, IME focus propagation, and a standard Pi extension-UI fallback for dialog-capable RPC clients.
上游的 `qna.ts` 命令有意不包含:本包只支持由模型主动发起的提问。本地改动把单题与多题流程整合为一个工具,新增文本题,在每道选择型问题上保留用户可控的自由文本逃生口,并实现校验、有界 schema、取消/中止处理、宽度感知渲染、IME 焦点传播,以及为支持对话框的 RPC 客户端提供标准 Pi extension-UI 回退。
The copied MIT license and original copyright notice are retained in `LICENSE`.
复制来的 MIT 许可证与原始版权声明保留在 `LICENSE` 中。