mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 10:45:22 +00:00
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:
+12
-12
@@ -1,18 +1,18 @@
|
||||
# Upstream provenance
|
||||
# 上游来源
|
||||
|
||||
- Upstream: <https://github.com/tuansondinh/pi-tool-search>
|
||||
- Imported tag: `v0.3.6`
|
||||
- Imported commit: `ddfb23646fd3957b791214de278e23aa393c9b13`
|
||||
- Snapshot date: 2026-08-19
|
||||
- Upstream package version: `0.3.6`
|
||||
- License declared by upstream package metadata: MIT
|
||||
- 上游:<https://github.com/tuansondinh/pi-tool-search>
|
||||
- 导入 tag:`v0.3.6`
|
||||
- 导入 commit:`ddfb23646fd3957b791214de278e23aa393c9b13`
|
||||
- 快照日期:2026-08-19
|
||||
- 上游包版本:`0.3.6`
|
||||
- 上游包元数据声明的许可证:MIT
|
||||
|
||||
The upstream repository did not contain a `LICENSE` file at this snapshot. This directory adds the standard MIT text using the author identity declared in upstream `package.json`.
|
||||
上游仓库在该快照中没有 `LICENSE` 文件。本目录使用上游 `package.json` 中声明的作者身份补充标准 MIT 文本。
|
||||
|
||||
## Local maintenance
|
||||
## 本地维护
|
||||
|
||||
This directory is maintained directly by the `my-pi` repository. It is not a submodule and must not contain a nested `.git`, `.pi` state, `node_modules`, or generated build output.
|
||||
本目录由 `my-pi` 仓库直接维护。它不是 submodule,且不得包含嵌套 `.git`、`.pi` 状态、`node_modules` 或生成的构建产物。
|
||||
|
||||
The initial local adaptation replaces the retired `@mariozechner/pi-coding-agent` and `@sinclair/typebox` imports with the current `@earendil-works/pi-coding-agent` and `typebox` host APIs, and removes the hidden `sendMessage` steer workaround.
|
||||
初始本地适配把已退役的 `@mariozechner/pi-coding-agent` 与 `@sinclair/typebox` 导入替换为当前 `@earendil-works/pi-coding-agent` 与 `typebox` 宿主 API,并移除了隐藏的 `sendMessage` steer 变通实现。
|
||||
|
||||
The maintained implementation now diverges further from the upstream add-only exact-name manifest: it ships authoritative groups for the tools exposed by `my-pi`, optionally builds strictly validated model metadata only for unrecognized third-party tools, activates original schemas by group, and bounds long-session growth with pinned tools plus group-level LRU eviction. Standard bundle users need neither first-use model generation nor a user cache. Pure additions use current Pi's native incremental propagation; replacements intentionally use the host's safe fallback.
|
||||
当前维护的实现已进一步偏离上游的 add-only 精确名称清单:它为 `my-pi` 暴露的工具提供权威分组,只为未识别的第三方工具可选地构建经过严格校验的模型元数据,按分组激活原始 schema,并通过固定工具加分组级 LRU 淘汰来限制长会话增长。标准组合包用户既不需要首次使用的模型生成,也不需要用户缓存。纯新增使用当前 Pi 的原生增量传播;替换则有意使用宿主的安全 fallback。
|
||||
|
||||
Reference in New Issue
Block a user