Python
release(memhub): pin hy-memory 2.0.5
alvinfeif5a38c38b3f3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0e2c342..6683843 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -119,7 +119,17 @@ Hy Memory and MemHub are versioned and released independently.Because PyPI release metadata is immutable, the next SDK patch release mustcarry the updated license metadata; `2.0.1` retains its published metadata.-## MemHub 1.0.3 — Unreleased+## MemHub 1.0.5 — Unreleased++- Updated the source version to `1.0.5` (build 14).+- Pinned the public SDK to the stable `hy-memory==2.0.5` release.++## MemHub 1.0.4 — 2026-10-18++- Updated the source version to `1.0.4` (build 13).+- Published the `v1.0.4` source and release metadata.++## MemHub 1.0.3 — 2026-10-17- Updated the source version to `1.0.3` (build 7).- Pinned the public SDK to `hy-memory==2.0.3`.diff --git a/memhub/README.md b/memhub/README.mdindex 7f13a7c..4dbba9e 100644--- a/memhub/README.md+++ b/memhub/README.md@@ -18,13 +18,13 @@ If you run into a problem, please open an Issue with the version, platform,repro## 发行与平台合同-源码当前固定使用公开 PyPI 开发预览 `hy-memory==2.0.5.dev3`。MemHub 源码版本为 `1.0.4`-(build 13),GitHub 仓库为+源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.5`。MemHub 源码版本为 `1.0.5`+(build 14),GitHub 仓库为[`Tencent-Hunyuan/Hy-Memory`](https://github.com/Tencent-Hunyuan/Hy-Memory),npm 包名为`memhub-cli`。当前代码架构见[`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md)。-`v1.0.4` 的发行目标是 Linux x64/arm64 Runtime 与 macOS arm64/x64 App 和 Runtime。+`v1.0.5` 的发行目标是 Linux x64/arm64 Runtime 与 macOS arm64/x64 App 和 Runtime。Linux 制品由 GitHub Actions 在原生架构 runner 上构建并完成生命周期验收;macOS制品由发行流水线完成 Developer ID 签名、公证和验收后手动上传。Windows 不支持。只有同时出现在 GitHub Release 与 `release-manifest.json` 中、且通过公开校验的制品才属于@@ -45,7 +45,7 @@ Linux 制品由 GitHub Actions 在原生架构 runner 上构建并完成生命## 仓库结构-- `apps/core`:Python / FastAPI Kernel,负责授权、模型、队列、SDK bridge 与 API。+- `apps/core`:Python / FastAPI Kernel,负责授权、模型、队列、SDK Runtime 边界与 API。- `apps/cli`:安装、控制和诊断共享 Runtime 的 `one-memory` CLI。- `apps/web`:React / TypeScript 管理界面。- `apps/desktop`:Electron 桌面壳与图形安装入口。@@ -117,7 +117,7 @@ MemHub 的 SQLite 数据默认位于 `~/.one-memory`,不在 npm 包或 Runtime## Hy Memory-SDK 依赖固定为公开 PyPI 开发预览 `hy-memory==2.0.5.dev3`。SDK 配置、权限边界及 search+SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.5`。SDK 配置、权限边界及 search返回格式见 [`MEMORY.md`](MEMORY.md)。HY search 返回的 `content` 已包含 SDK 统一生成的逻辑时间和演化上下文;调用方不应再次转换时间戳或重复拼接 `When`。diff --git a/memhub/SBOM.spdx.json b/memhub/SBOM.spdx.jsonindex 6794e68..a819e21 100644--- a/memhub/SBOM.spdx.json+++ b/memhub/SBOM.spdx.json@@ -3,9 +3,9 @@"dataLicense": "CC0-1.0","SPDXID": "SPDXRef-DOCUMENT","name": "one-memory",- "documentNamespace": "https://one-memory.local/spdx/2026-10-22T08:09:31Z",+ "documentNamespace": "https://one-memory.local/spdx/2026-10-22T13:18:16Z","creationInfo": {- "created": "2026-10-22T08:09:31Z",+ "created": "2026-10-22T13:18:16Z","creators": ["Tool: one-memory-generate-sbom"]@@ -2352,7 +2352,7 @@{"SPDXID": "SPDXRef-Package-hy-memory","name": "hy-memory",- "versionInfo": "2.0.5.dev3",+ "versionInfo": "2.0.5","downloadLocation": "NOASSERTION","filesAnalyzed": false,"licenseConcluded": "Apache-2.0",diff --git a/memhub/THIRD_PARTY_NOTICES.md b/memhub/THIRD_PARTY_NOTICES.mdindex dd7a6bb..cb32e85 100644--- a/memhub/THIRD_PARTY_NOTICES.md+++ b/memhub/THIRD_PARTY_NOTICES.md@@ -2,14 +2,14 @@MemHub itself is licensed under Apache-2.0 (see `LICENSE`).It bundles the runtime dependencies listed below.-Generated from the installed dependency tree on 2026-10-22T08:09:31Z+Generated from the installed dependency tree on 2026-10-22T13:18:16Zby `python3 scripts/generate_sbom.py`. Do not edit by hand.Per-package license texts are not reproduced here yet; the licensecolumn is filled in as part of release review, and the SBOM records`NOASSERTION` until then rather than guessing.-## hy-memory 2.0.5.dev3+## hy-memory 2.0.5License: Apache-2.0diff --git a/memhub/apps/cli/package.json b/memhub/apps/cli/package.jsonindex 2080ba6..c8c6a8a 100644--- a/memhub/apps/cli/package.json+++ b/memhub/apps/cli/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/cli",- "version": "1.0.4",+ "version": "1.0.5","description": "MemHub bootstrap CLI for installing and managing the local-first shared memory runtime","license": "Apache-2.0","repository": {diff --git a/memhub/apps/core/pyproject.toml b/memhub/apps/core/pyproject.tomlindex a540c14..dda79b0 100644--- a/memhub/apps/core/pyproject.toml+++ b/memhub/apps/core/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "uv_build"[project]name = "one-memory"-version = "1.0.4"+version = "1.0.5"description = "MemHub local-first memory core"readme = "README.md"requires-python = ">=3.12"@@ -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.5.dev3",+ "hy-memory==2.0.5",# Retrieval's derived vector index directly consumes these locked versions."chromadb==1.5.9","numpy==2.5.2",diff --git a/memhub/apps/core/src/one_memory/hy_runtime_config.py b/memhub/apps/core/src/one_memory/hy_runtime_config.pyindex 3c47acd..afe834b 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 Pathfrom typing import Literal, castHY_MEMORY_DISTRIBUTION = "hy-memory"-HY_MEMORY_VERSION = "2.0.5.dev3"+HY_MEMORY_VERSION = "2.0.5"HY_MEMORY_NAMESPACE = "governed-v2"DiagnosticLogLevel = Literal["error", "warning", "info", "debug"]diff --git a/memhub/apps/core/tests/test_cli_restore.py b/memhub/apps/core/tests/test_cli_restore.pyindex 5f24d75..7e61f40 100644--- a/memhub/apps/core/tests/test_cli_restore.py+++ b/memhub/apps/core/tests/test_cli_restore.py@@ -363,7 +363,7 @@ def test_sdk_cutover_is_offline_confirmed_and_returns_marker(tmp_path, monkeypatlambda **_kwargs: SimpleNamespace(migration_id="migration-1",backup_bundle_id="bundle-1",- sdk_version="2.0.5.dev3",+ sdk_version="2.0.5",completed_at="2026-10-21T00:00:00Z",),)@@ -393,7 +393,7 @@ def test_sdk_cutover_is_offline_confirmed_and_returns_marker(tmp_path, monkeypatassert code == 0document = output.getvalue().replace(" ", "")assert '"state":"cutover"' in document- assert '"sdk_version":"2.0.5.dev3"' in document+ assert '"sdk_version":"2.0.5"' in documentdef test_sdk_cutover_never_runs_while_runtime_is_live(tmp_path, monkeypatch) -> None:diff --git a/memhub/apps/core/tests/test_sdk_data_plane_migration.py b/memhub/apps/core/tests/test_sdk_data_plane_migration.pyindex 1ddb416..8e59c37 100644--- a/memhub/apps/core/tests/test_sdk_data_plane_migration.py+++ b/memhub/apps/core/tests/test_sdk_data_plane_migration.py@@ -219,7 +219,7 @@ def test_startup_cutover_freezes_pending_job_input_and_preserves_the_queue(storedatabase_path=store.database_path,migration_id="m1",bundle_id="bundle-1",- sdk_version="2.0.5.dev3",+ sdk_version="2.0.5",)assert marker.migration_id == "m1"assert legacy_tables_present(store.database_path)@@ -683,7 +683,7 @@ def test_offline_backfill_reaches_ready_without_committing_cutover(store):migration_id="migration",bundle_id="bundle",source_runtime_build="v1.0.4",- target_sdk_version="2.0.5.dev3",+ target_sdk_version="2.0.5",source_schema_version=55,namespace_fingerprint="namespace",backend_fingerprint="backend",@@ -719,7 +719,7 @@ def test_offline_backfill_reaches_ready_without_committing_cutover(store):migration_id="migration",bundle_id="bundle",source_runtime_build="v1.0.4",- target_sdk_version="2.0.5.dev3",+ target_sdk_version="2.0.5",source_schema_version=55,namespace_fingerprint="namespace",backend_fingerprint="backend",@@ -752,7 +752,7 @@ def test_offline_backfill_blocks_cutover_when_an_item_is_quarantined(store):migration_id="migration",bundle_id="bundle",source_runtime_build="v1.0.4",- target_sdk_version="2.0.5.dev3",+ target_sdk_version="2.0.5",source_schema_version=55,namespace_fingerprint="namespace",backend_fingerprint="backend",diff --git a/memhub/apps/core/tests/test_sdk_migration_bundle.py b/memhub/apps/core/tests/test_sdk_migration_bundle.pyindex 830c24d..f4a6960 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.5.dev3"+ assert manifest["snapshot_sdk_version"] == "2.0.5"paths = {item["path"]: item for item in manifest["files"]}assert {"management/one-memory.sqlite3",diff --git a/memhub/apps/core/uv.lock b/memhub/apps/core/uv.lockindex 37a1040..9039ae7 100644--- a/memhub/apps/core/uv.lock+++ b/memhub/apps/core/uv.lock@@ -991,7 +991,7 @@ wheels = [[[package]]name = "hy-memory"-version = "2.0.5.dev3"+version = "2.0.5"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "chromadb" },@@ -1008,9 +1008,9 @@ dependencies = [{ name = "scikit-learn" },{ name = "tiktoken" },]-sdist = { url = "https://files.pythonhosted.org/packages/cb/83/67c261bc379eb45f1cc460cf55eb057867d485695c2799bd861827dbcedb/hy_memory-2.0.5.dev3.tar.gz", hash = "sha256:8ae8c2b2d9736b304d26654a5c2903160f430ec5065206ae724d5cb841820d75", size = 836317, upload-time = "2026-10-21T09:59:27.311Z" }+sdist = { url = "https://files.pythonhosted.org/packages/94/56/7a279122bb56b067c390b748b8a83b6a90bb2a8f237c1d3989b6317681cd/hy_memory-2.0.5.tar.gz", hash = "sha256:bfb1e9e9815377477702327fa318331d555b8256a67b5bad8d70d6a682bd9a4f", size = 839060, upload-time = "2026-10-22T12:59:30.502Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/b6/5f/30a88b0278c070c63d11f0c25a360e1cfe130d90a53a5eece9359c4ca7ec/hy_memory-2.0.5.dev3-py3-none-any.whl", hash = "sha256:621193ac3a527c0b8736d66f17c4cce4956dc4a882d9dfc724b9df4d34fe816e", size = 900779, upload-time = "2026-10-21T09:59:24.716Z" },+ { url = "https://files.pythonhosted.org/packages/c5/97/090ca18b6a13d0216d2df607cb67732ff7a8eba2d0359b9ad95283b2cbdc/hy_memory-2.0.5-py3-none-any.whl", hash = "sha256:c24649d188eaa03d3b4e4e4ec20e818da884170b5f775f3cf23ecfa6b60523d6", size = 902923, upload-time = "2026-10-22T12:59:28.018Z" },][[package]]@@ -1801,7 +1801,7 @@ wheels = [[[package]]name = "one-memory"-version = "1.0.4"+version = "1.0.5"source = { editable = "." }dependencies = [{ name = "aiomysql" },@@ -1837,7 +1837,7 @@ requires-dist = [{ name = "fastapi", specifier = ">=0.141.1" },{ name = "filelock", specifier = ">=3.32.4" },{ name = "httpx", specifier = ">=0.28.1" },- { name = "hy-memory", specifier = "==2.0.5.dev3" },+ { name = "hy-memory", specifier = "==2.0.5" },{ name = "keyring", specifier = ">=25.7.0" },{ name = "numpy", specifier = "==2.5.2" },{ name = "onnxruntime", specifier = "==1.23.2" },diff --git a/memhub/apps/desktop/package.json b/memhub/apps/desktop/package.jsonindex 742eefe..8abe1af 100644--- a/memhub/apps/desktop/package.json+++ b/memhub/apps/desktop/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/desktop",- "version": "1.0.4",+ "version": "1.0.5","private": true,"main": "dist/main.js","scripts": {diff --git a/memhub/apps/site/package.json b/memhub/apps/site/package.jsonindex 3a1c536..22f1ac1 100644--- a/memhub/apps/site/package.json+++ b/memhub/apps/site/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/site",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","scripts": {diff --git a/memhub/apps/web/package.json b/memhub/apps/web/package.jsonindex 0e82d76..9c5cb7a 100644--- a/memhub/apps/web/package.json+++ b/memhub/apps/web/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/web",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","scripts": {diff --git a/memhub/docs/ARCHITECTURE.md b/memhub/docs/ARCHITECTURE.mdindex 274a3ac..d1fdc68 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.5.dev3` is the current development-preview SDK dependency; the release+- `hy-memory==2.0.5` is the current stable SDK dependency; the releaselock and [`../MEMORY.md`](../MEMORY.md) are authoritative when the pin changes.See [`INSTALLATION.md`](INSTALLATION.md).diff --git a/memhub/docs/INSTALLATION.md b/memhub/docs/INSTALLATION.mdindex 2268018..a9e52d3 100644--- a/memhub/docs/INSTALLATION.md+++ b/memhub/docs/INSTALLATION.md@@ -1,6 +1,6 @@# MemHub 安装与发行-MemHub `v1.0.4`(build 13)的发行目标如下:+MemHub `v1.0.5`(build 14)的发行目标如下:| 平台 | 发行物 | 构建与验收 || --- | --- | --- |diff --git a/memhub/package.json b/memhub/package.jsonindex ca12475..fe4c042 100644--- a/memhub/package.json+++ b/memhub/package.json@@ -1,8 +1,8 @@{"name": "one-memory",- "version": "1.0.4",+ "version": "1.0.5","release": {- "build_number": 13,+ "build_number": 14,"macos_min_version": "13.0","app_update": "manual","runtime_manifest_schema": 1,diff --git a/memhub/packages/contracts/package.json b/memhub/packages/contracts/package.jsonindex d950bba..34fad54 100644--- a/memhub/packages/contracts/package.json+++ b/memhub/packages/contracts/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/contracts",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","types": "./src/index.ts",diff --git a/memhub/packages/host-bridge/package.json b/memhub/packages/host-bridge/package.jsonindex c702aac..0a0b884 100644--- a/memhub/packages/host-bridge/package.json+++ b/memhub/packages/host-bridge/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/host-bridge",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","exports": {diff --git a/memhub/packages/i18n/package.json b/memhub/packages/i18n/package.jsonindex 62183ee..a73872e 100644--- a/memhub/packages/i18n/package.json+++ b/memhub/packages/i18n/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/i18n",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","types": "./src/index.ts",diff --git a/memhub/packages/operations/package.json b/memhub/packages/operations/package.jsonindex b29d36f..12598c4 100644--- a/memhub/packages/operations/package.json+++ b/memhub/packages/operations/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/operations",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","types": "./src/index.ts",diff --git a/memhub/packages/runtime-control/package.json b/memhub/packages/runtime-control/package.jsonindex 79edbcf..04844ab 100644--- a/memhub/packages/runtime-control/package.json+++ b/memhub/packages/runtime-control/package.json@@ -1,6 +1,6 @@{"name": "@one-memory/runtime-control",- "version": "1.0.4",+ "version": "1.0.5","private": true,"type": "module","bin": {diff --git a/memhub/scripts/generate_sbom.py b/memhub/scripts/generate_sbom.pyindex 3f99e98..c86ed5b 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.5.dev3"+HY_MEMORY_VERSION = "2.0.5"class SbomError(RuntimeError):diff --git a/memhub/scripts/test_generate_sbom.py b/memhub/scripts/test_generate_sbom.pyindex 8bb7005..13cf6ea 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.5.dev3.dist-info"+ dist_info = tmp_path / "hy_memory-2.0.5.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.5.dev3",+ "Version: 2.0.5","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.5.dev3"+ assert notice["version"] == "2.0.5"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"]