From 812d1c38467557e01c3d80ea7db580df086ddf7d Mon Sep 17 00:00:00 2001 From: alvinfei Date: Wed, 28 Oct 2026 11:24:20 +0800 Subject: [PATCH] build(memhub): pin hy-memory 2.0.7 2.0.7 stores and returns the conversation time of working/coding experiences. apps/core/uv.lock is not updated: 2.0.7 is not on PyPI yet, so the lock is regenerated (uv lock --directory apps/core) once it is published. Co-Authored-By: Claude Opus 5.5 (1M context) --- memhub/README.md | 4 ++-- memhub/SBOM.spdx.json | 2 +- memhub/THIRD_PARTY_NOTICES.md | 2 +- memhub/apps/core/pyproject.toml | 2 +- memhub/apps/core/src/one_memory/hy_runtime_config.py | 2 +- memhub/apps/core/tests/test_sdk_migration_bundle.py | 2 +- memhub/docs/ARCHITECTURE.md | 2 +- memhub/scripts/generate_sbom.py | 2 +- memhub/scripts/test_generate_sbom.py | 6 +++--- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/memhub/README.md b/memhub/README.md index 0c06ec2..df3bd58 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.6`。MemHub 源码版本为 `1.0.5` +源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.7`。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.6`。SDK 配置、权限边界及 search +SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.7`。SDK 配置、权限边界及 search 返回格式见 [`MEMORY.md`](MEMORY.md)。HY search 返回的 `content` 已包含 SDK 统一生成的 逻辑时间和演化上下文;调用方不应再次转换时间戳或重复拼接 `When`。 diff --git a/memhub/SBOM.spdx.json b/memhub/SBOM.spdx.json index f5f91d3..10d6b9f 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.6", + "versionInfo": "2.0.7", "downloadLocation": "NOASSERTION", "filesAnalyzed": false, "licenseConcluded": "Apache-2.0", diff --git a/memhub/THIRD_PARTY_NOTICES.md b/memhub/THIRD_PARTY_NOTICES.md index 58c3ab6..a8895bb 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.6 +## hy-memory 2.0.7 License: Apache-2.0 diff --git a/memhub/apps/core/pyproject.toml b/memhub/apps/core/pyproject.toml index ea2dce7..316bdcc 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.6", + "hy-memory==2.0.7", # 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 097e450..0012252 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.6" +HY_MEMORY_VERSION = "2.0.7" HY_MEMORY_NAMESPACE = "governed-v2" DiagnosticLogLevel = Literal["error", "warning", "info", "debug"] diff --git a/memhub/apps/core/tests/test_sdk_migration_bundle.py b/memhub/apps/core/tests/test_sdk_migration_bundle.py index 19381b4..ebb4e3d 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.6" + assert manifest["snapshot_sdk_version"] == "2.0.7" 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 c6af59e..7e7adfc 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.6` is the current stable SDK dependency; the release +- `hy-memory==2.0.7` 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 60212ba..bd20d27 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.6" +HY_MEMORY_VERSION = "2.0.7" class SbomError(RuntimeError): diff --git a/memhub/scripts/test_generate_sbom.py b/memhub/scripts/test_generate_sbom.py index bda070d..ca69a7f 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.6.dist-info" + dist_info = tmp_path / "hy_memory-2.0.7.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.6", + "Version: 2.0.7", "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.6" + assert notice["version"] == "2.0.7" 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"]