mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-21 10:22:18 +00:00
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.
This commit is contained in:
parent
6c44471bfd
commit
13d4b5fe2f
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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":
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue