Skip to content
Python

build(memhub): pin hy-memory 2.0.8

alvinfeibf92105210bc
diff --git a/memhub/README.md b/memhub/README.md
index df3bd58..6f609e6 100644
--- a/memhub/README.md
+++ b/memhub/README.md
@@ -18,7 +18,7 @@ If you run into a problem, please open an Issue with the version, platform,repro
## 发行与平台合同
-源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.7`。MemHub 源码版本为 `1.0.5`
+源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.8`。MemHub 源码版本为 `1.0.5`
(build 14),GitHub 仓库为
[`Tencent-Hunyuan/Hy-Memory`](https://github.com/Tencent-Hunyuan/Hy-Memory),npm 包名为
`memhub-cli`。当前代码架构见
@@ -118,7 +118,7 @@ MemHub 的 SQLite 数据默认位于 `~/.one-memory`,不在 npm 包或 Runtime
## Hy Memory
-SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.7`。SDK 配置、权限边界及 search
+SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.8`。SDK 配置、权限边界及 search
返回格式见 [`MEMORY.md`](MEMORY.md)。HY search 返回的 `content` 已包含 SDK 统一生成的
逻辑时间和演化上下文;调用方不应再次转换时间戳或重复拼接 `When`。
diff --git a/memhub/SBOM.spdx.json b/memhub/SBOM.spdx.json
index 10d6b9f..cff821a 100644
--- a/memhub/SBOM.spdx.json
+++ b/memhub/SBOM.spdx.json
@@ -2352,7 +2352,7 @@
{
"SPDXID": "SPDXRef-Package-hy-memory",
"name": "hy-memory",
- "versionInfo": "2.0.7",
+ "versionInfo": "2.0.8",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "Apache-2.0",
diff --git a/memhub/THIRD_PARTY_NOTICES.md b/memhub/THIRD_PARTY_NOTICES.md
index a8895bb..58b9923 100644
--- a/memhub/THIRD_PARTY_NOTICES.md
+++ b/memhub/THIRD_PARTY_NOTICES.md
@@ -9,7 +9,7 @@ Per-package license texts are not reproduced here yet; the license
column is filled in as part of release review, and the SBOM records
`NOASSERTION` until then rather than guessing.
-## hy-memory 2.0.7
+## hy-memory 2.0.8
License: Apache-2.0
diff --git a/memhub/apps/core/pyproject.toml b/memhub/apps/core/pyproject.toml
index 316bdcc..c36f94d 100644
--- a/memhub/apps/core/pyproject.toml
+++ b/memhub/apps/core/pyproject.toml
@@ -12,7 +12,7 @@ dependencies = [
"fastapi>=0.141.1",
"filelock>=3.32.4",
# Public SDK version validated against MemHub's permission and recall contracts.
- "hy-memory==2.0.7",
+ "hy-memory==2.0.8",
# chromadb arrives through the HY SDK; locked here so an unrelated upgrade
# cannot move the SDK's store. Built-in embedding consumes numpy directly.
"chromadb==1.5.9",
diff --git a/memhub/apps/core/src/one_memory/hy_runtime_config.py b/memhub/apps/core/src/one_memory/hy_runtime_config.py
index 0012252..9d36b22 100644
--- a/memhub/apps/core/src/one_memory/hy_runtime_config.py
+++ b/memhub/apps/core/src/one_memory/hy_runtime_config.py
@@ -14,7 +14,7 @@ from pathlib import Path
from typing import Literal, cast
HY_MEMORY_DISTRIBUTION = "hy-memory"
-HY_MEMORY_VERSION = "2.0.7"
+HY_MEMORY_VERSION = "2.0.8"
HY_MEMORY_NAMESPACE = "governed-v2"
DiagnosticLogLevel = Literal["error", "warning", "info", "debug"]
diff --git a/memhub/apps/core/src/one_memory/hy_sdk_migration.py b/memhub/apps/core/src/one_memory/hy_sdk_migration.py
index df3d6c0..e111eac 100644
--- a/memhub/apps/core/src/one_memory/hy_sdk_migration.py
+++ b/memhub/apps/core/src/one_memory/hy_sdk_migration.py
@@ -497,7 +497,7 @@ def _ensure_coding_schema(path: Path) -> None:
CodingMemoryStore,
)
- # Relies on the pinned SDK's internals (hy-memory==2.0.7 is pinned exactly).
+ # Relies on the pinned SDK's internals (hy-memory==2.0.8 is pinned exactly).
store = CodingMemoryStore.__new__(CodingMemoryStore)
store._db_path = str(path)
store._conn = None
diff --git a/memhub/apps/core/tests/test_sdk_migration_bundle.py b/memhub/apps/core/tests/test_sdk_migration_bundle.py
index ebb4e3d..5f06d89 100644
--- a/memhub/apps/core/tests/test_sdk_migration_bundle.py
+++ b/memhub/apps/core/tests/test_sdk_migration_bundle.py
@@ -91,7 +91,7 @@ def test_bundle_contains_management_sdk_config_and_verified_manifest(tmp_path):
assert manifest["bundle_id"] == "migration-1"
assert manifest["sdk_namespace"] == "governed-v2"
assert manifest["runtime_build"] == "build-13"
- assert manifest["snapshot_sdk_version"] == "2.0.7"
+ assert manifest["snapshot_sdk_version"] == "2.0.8"
paths = {item["path"]: item for item in manifest["files"]}
assert {
"management/one-memory.sqlite3",
diff --git a/memhub/docs/ARCHITECTURE.md b/memhub/docs/ARCHITECTURE.md
index 7e7adfc..26d05dc 100644
--- a/memhub/docs/ARCHITECTURE.md
+++ b/memhub/docs/ARCHITECTURE.md
@@ -282,7 +282,7 @@ Support is declared per immutable GitHub Release manifest:
- Linux x64/arm64 Runtime on native GHA runners.
- macOS arm64/x64 App/Runtime: Developer ID, notarization, native acceptance.
- Windows is not supported.
-- `hy-memory==2.0.7` is the current stable SDK dependency; the release
+- `hy-memory==2.0.8` is the current stable SDK dependency; the release
lock and [`../MEMORY.md`](../MEMORY.md) are authoritative when the pin changes.
See [`INSTALLATION.md`](INSTALLATION.md).
diff --git a/memhub/scripts/generate_sbom.py b/memhub/scripts/generate_sbom.py
index bd20d27..c163ba0 100644
--- a/memhub/scripts/generate_sbom.py
+++ b/memhub/scripts/generate_sbom.py
@@ -36,7 +36,7 @@ MEMMY_LICENSE = (
MEMMY_PROVENANCE = MEMMY_LICENSE.with_name("PROVENANCE.md")
MEMMY_PIN = "25acd5f29fc7df73b943713abe61f1b2f9839887"
HY_MEMORY_NAME = "hy-memory"
-HY_MEMORY_VERSION = "2.0.7"
+HY_MEMORY_VERSION = "2.0.8"
class SbomError(RuntimeError):
diff --git a/memhub/scripts/install-docs.test.mjs b/memhub/scripts/install-docs.test.mjs
index 3ff91bf..24b5b6b 100644
--- a/memhub/scripts/install-docs.test.mjs
+++ b/memhub/scripts/install-docs.test.mjs
@@ -12,7 +12,7 @@ test("installation docs disclose publication and lifecycle boundaries", async ()
"utf8",
);
- assert.match(readme, /`hy-memory==2\.0\.7`/);
+ assert.match(readme, /`hy-memory==2\.0\.8`/);
assert.match(readme, /`v1\.0\.5` 的发行目标是 Linux x64\/arm64 Runtime/);
assert.match(readme, /Linux 制品由 GitHub Actions/);
assert.match(readme, /macOS.*Developer ID 签名、公证/s);
diff --git a/memhub/scripts/test_generate_sbom.py b/memhub/scripts/test_generate_sbom.py
index ca69a7f..0a11785 100644
--- a/memhub/scripts/test_generate_sbom.py
+++ b/memhub/scripts/test_generate_sbom.py
@@ -13,7 +13,7 @@ spec.loader.exec_module(module)
def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) -> None:
- dist_info = tmp_path / "hy_memory-2.0.7.dist-info"
+ dist_info = tmp_path / "hy_memory-2.0.8.dist-info"
licenses = dist_info / "licenses"
licenses.mkdir(parents=True)
(dist_info / "METADATA").write_text(
@@ -21,7 +21,7 @@ def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) ->
(
"Metadata-Version: 2.4",
"Name: hy-memory",
- "Version: 2.0.7",
+ "Version: 2.0.8",
"License-Expression: Apache-2.0",
"",
)
@@ -38,7 +38,7 @@ def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) ->
notice = module.hy_memory_notice(dist_info)
assert notice["name"] == "hy-memory"
- assert notice["version"] == "2.0.7"
+ assert notice["version"] == "2.0.8"
assert notice["license"] == "Apache-2.0"
assert notice["copyright"] == "Copyright (C) 2026 Tencent. All rights reserved."
assert "Licensed under the Apache License" in notice["text"]