From 13d4b5fe2f4540464bd2c813889716bb4d63f586 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Fri, 19 Jun 2026 07:12:41 -0700 Subject: [PATCH] fix(hindsight): align client version to 0.6.1 across all sources The lazy_deps pin (memory.hindsight -> hindsight-client==0.6.1) was newer than the plugin's stated floor (>=0.4.22). Align _MIN_CLIENT_VERSION, the setup wizard dep string, plugin.yaml, and the README to 0.6.1 so the floor check, auto-upgrade target, and runtime lazy-install all agree. Also drops the redundant local _MIN_CLIENT_VERSION redefinition in post_setup. --- plugins/memory/hindsight/README.md | 2 +- plugins/memory/hindsight/__init__.py | 4 ++-- plugins/memory/hindsight/plugin.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/memory/hindsight/README.md b/plugins/memory/hindsight/README.md index d8f96a45e1e..be2e24528bb 100644 --- a/plugins/memory/hindsight/README.md +++ b/plugins/memory/hindsight/README.md @@ -144,4 +144,4 @@ Available in `hybrid` and `tools` memory modes: ## Client Version -Requires `hindsight-client >= 0.4.22`. The plugin auto-upgrades on session start if an older version is detected. +Requires `hindsight-client >= 0.6.1`. The plugin auto-upgrades on session start if an older version is detected. diff --git a/plugins/memory/hindsight/__init__.py b/plugins/memory/hindsight/__init__.py index 900f177d391..dbe4ecd06c0 100644 --- a/plugins/memory/hindsight/__init__.py +++ b/plugins/memory/hindsight/__init__.py @@ -50,7 +50,8 @@ logger = logging.getLogger(__name__) _DEFAULT_API_URL = "https://api.hindsight.vectorize.io" _DEFAULT_LOCAL_URL = "http://localhost:8888" -_MIN_CLIENT_VERSION = "0.4.22" +# Keep in sync with tools/lazy_deps.py ("memory.hindsight") and plugin.yaml. +_MIN_CLIENT_VERSION = "0.6.1" _DEFAULT_TIMEOUT = 120 # seconds — cloud API can take 30-40s per request _DEFAULT_IDLE_TIMEOUT = 300 # seconds — Hindsight embedded daemon default # Mirrors hindsight-integrations/openclaw — Hindsight 0.5.0 added @@ -741,7 +742,6 @@ class HindsightMemoryProvider(MemoryProvider): env_writes: dict = {} # Step 2: Install/upgrade deps for selected mode - _MIN_CLIENT_VERSION = "0.4.22" cloud_dep = f"hindsight-client>={_MIN_CLIENT_VERSION}" local_dep = "hindsight-all" if mode == "local_embedded": diff --git a/plugins/memory/hindsight/plugin.yaml b/plugins/memory/hindsight/plugin.yaml index b12c09142bb..9dfa763af7f 100644 --- a/plugins/memory/hindsight/plugin.yaml +++ b/plugins/memory/hindsight/plugin.yaml @@ -2,7 +2,7 @@ name: hindsight version: 1.0.0 description: "Hindsight — long-term memory with knowledge graph, entity resolution, and multi-strategy retrieval." pip_dependencies: - - "hindsight-client>=0.4.22" + - "hindsight-client>=0.6.1" requires_env: [] hooks: - on_session_end