feat(pi-hermes-memory): 导入上游 v0.9.10 源码快照

从官方 Git 仓库导入 chandra447/pi-hermes-memory 在 tag v0.9.10
(df624056a2e8c68bc89ba0a81e1c120856ec9665,2026-10-02)的源码快照。
本次仅导入源码,尚未接入组合包:package.json、加载顺序、依赖与权限策略
均未改动。

- 原样导入 src/、tests/、docs/、scripts/、README、CHANGELOG、PLAN、
  AGENTS 与 LICENSE;该快照共 156 个上游文件。
- 剔除嵌套 .git、上游 .github 工作流、.ralph/、.claude/、node_modules、
  覆盖率与构建产物。
- 新增中文 UPSTREAM.md,记录来源,以及启用前必须完成的待决事项:
  在 pi-compaction 之前注册加载顺序、better-sqlite3 版本与根 allowScripts
  对齐、strip-ansi 解析确认。
- 说明选择 tag 而非 main 的原因:导入时上游 main 已领先至
  24fcd8ad26fc27badb8d7dbaf8034645de07b893(2026-10-11),选 tag 是为
  对应一个已发布、可复现的版本。

尚未接线。启用前还需反转 tests/extension-load.test.ts 中"不得加载
Hermes"的断言,并同步 pi-tool-search 分组、权限策略与文档。

验证:快照 156 个上游文件全部导入,目录内仅多出 UPSTREAM.md 一份;
已确认与上游 main 内容存在差异,证明取的是 tag 而非 main。
This commit is contained in:
云服务部-叶林立
2026-10-13 23:19:35 -07:00
parent 879fc5d37f
commit 312bb2ba5a
157 changed files with 52287 additions and 0 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 35 KiB

+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
<!-- P shape: outer boundary clockwise, inner hole counter-clockwise -->
<path fill="#fff" fill-rule="evenodd" d="
M165.29 165.29
H517.36
V400
H400
V517.36
H282.65
V634.72
H165.29
Z
M282.65 282.65
V400
H400
V282.65
Z
"/>
<!-- i dot -->
<path fill="#fff" d="M517.36 400 H634.72 V634.72 H517.36 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 78.5" width="800" height="392">
<!-- SVG created with Arrow, by QuiverAI (https://quiver.ai) -->
<style type="text/css">.cls-0 {fill:#11141D;}
.cls-1 {fill:url(#SVGID_1_);}
.cls-2 {fill:#4F90FF;}
.cls-3 {fill:none;stroke:#FFFFFF;stroke-width:0.5436;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:2.7181,3.4026;}
.cls-4 {fill:#FFFFFF;}</style>
<rect class="cls-0" width="160" height="78.5"/>
<radialGradient id="SVGID_1_" cx="120" cy="37.94" r="36.95" gradientUnits="userSpaceOnUse">
<stop stop-color="#1E345E" offset="0"/>
<stop stop-color="#11141D" offset="1"/>
</radialGradient>
<path class="cls-1" d="m160 0h-80v78.5h80v-78.5z"/>
<path class="cls-2" d="m151.6 33.2c-0.1 0-0.1 0 0 0-1.3-3.9-3.5-6.9-6.1-9.1 1.4-2.5-0.5-6.1-3.5-5.9-0.8-0.2-1.7 0.1-2.2 0.5-1.7-1-3.7-2.1-6.8-3.2 0.1-1.6-2-4.2-5-4.2-1.4 0.1-2.5 0.9-3.3 2.2-3.7-0.3-7.4 0-11.9 1.1-0.6-0.7-1.8-1.1-3.2-1.1-2.2 0-4.6 2.2-4.4 4.8-3.3 1.4-6.8 4.1-9.5 8.3-2.6-0.6-5.3 1.8-5.2 4.2 0 1.4 0.6 2.8 1.8 3.6-0.7 5.4 1.1 9.1 5.9 11.1-0.2 2.3 2 4.6 4.2 4.6s4.7-1.7 4.5-4.5l13.5-2.7 0.2 0.5-6.5 5.5c-3.2-1.9-6.7 0.7-6.6 4.2 0.1 2.7 4.1 5.8 7.6 2.6 2.3 0.9 3.8 0.9 6.7 0.5 0.6 1.8 2.8 3.3 4.4 2.9l3.8 5.7c-2.1 2.8-0.1 7.7 4.1 7.5 4.5-0.4 5.5-6.5 1.5-8.8-1-0.6-2.1-0.8-3.4-0.4l-3.3-4.9c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0 0-0.2 0.2-0.6 0.5-0.9 0.8l-3.1-1.6h-0.1v-0.1h-0.1l-0.1-0.1h-0.1l-0.1-0.1h-0.1l0.6 0.3h-0.1v-0.1h-0.1l-0.1-0.1h-0.1l-0.1-0.1c1-3.6-3.5-7.1-6.7-4.7-1.7 1.2-2.7 3.7-1.2 5.6l-3.3 3.2c-2.3-0.7-4.5 0.3-5.5 2.8l-3.3 0.3-2.2-0.3c0.2-0.8 0.2-1.9-0.5-2.8l6.3-5.7c2.4 1.6 7.2 0 6.3-5l3.1-2.1c3.1 2.6 8 0.6 7.6-4-0.1-0.8-0.5-1.7-1-2.3l2.7-4.4c1.3 0.5 2.7 0.2 3.5-0.8 2.1 1.5 3.7 4.3 4.3 7.4-3.3 1.8-2.5 7.2 0.9 8 0 2.1-1 4.1-1.4 4.8v0.1h-0.1v0.1l-0.1 0.1v0.1h-0.1v0.1h-0.1v0.1 0.1h-0.1v0.1l-0.1 0.1v0.1h-0.1v0.1z"/>
<path class="cls-3" d="m51.1 9.5c5.5-3.6 12.5-6.9 23.5-6.9 10 0 15.6 1.5 23.9 6.5l4.1 3.9"/>
<path class="cls-4" d="m26.7 30.2v-12.8h-24.2v51.3h11.7v-13.1h12.4v-12.5h-12.3v-12.8l12.4-0.1z"/>
<path class="cls-4" d="m26.7 30.2v12.9h13v-12.9h-13z"/>
<path class="cls-4" d="m39.6 10.9v13.4h12.9v-13.4h-12.9z"/>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 43 KiB