| Merge pull request #117 from ekailabs/semantic-release ci: add semantic-release with multi-semantic-release | 7 months ago |
| feat(contexto-py): LocalBackend for on-disk mindmap retrieval (#153) * docs: design spec for Contexto × Hermes local backend * feat(contexto-py): LocalBackend for on-disk mindmap retrieval Implements the LocalBackend per the approved 2026-05-23 design: embeddings + summarization call the user's OpenAI/OpenRouter provider, and state lives on disk as a single JSON file. Selectable via CONTEXTO_BACKEND=local; remote stays the default. - 10 modules under src/contexto_hermes/local/ (mindmap_types, extractor, store, labeler, embedder, summarizer, clustering, retrieval, backend, __init__) - scipy AGNES (linkage average/cosine) + beam-search retrieval - Atomic JSON writes with corrupt-file quarantine + version:1 schema - Backend-aware register() reading CONTEXTO_BACKEND - ContextoEngine.from_env_local() + ContextoConfig.local_mode_defaults() - SearchResult.paths typed list[list[str]] (cluster labels) - Search items wrapped as {item, score} mirroring TS ScoredQueryResult - LocalBackendConfig.embed_model/llm_model nullable with provider-default fallback - config_snapshot populated on every save (embed_model, mindmap tunables) - Store quarantines non-dict stats explicitly - 124 tests under tests/local/ (336 total in contexto-py, all green) - Docker E2E harness (e2e/Dockerfile + run_local_e2e.py) verified against real OpenRouter - pyproject.toml bumped 0.1.0 -> 0.2.0; adds numpy + scipy - Spec §7 storage path resolved to honor \$HERMES_HOME * fix(contexto-py/e2e): unwrap search items + activate Hermes bind mount - e2e/run_local_e2e.py: SearchResult.items are {"item": ..., "score": ...} wrappers per spec §5. The script read item["content"] directly, which KeyError'd after a successful real-provider search. Now unwraps and also logs the score so the rank ordering is visible. - e2e/docker-compose.hermes-local.yml: the hermes-agent repo's plugins/context_engine/contexto symlink works for the local hermes CLI but not inside a Docker image — docker build's COPY resolves the absolute symlink to a host path the container can't see, leaving a broken link at the plugin slot. Make the bind mount of src/contexto_hermes onto the plugin path active and read-only. - e2e/README.md: replace the misleading "no bind-mount needed" note with the actual constraint, plus an alternative (copy the plugin tree into the image before docker build) for users who don't want a bind mount. * fix(contexto-py): seed cluster-id counter from loaded state; refresh README - clustering.py: Clusterer reset its counter to 1 on every construction. After a process restart, an incremental insert against a loaded tree produced a fresh `cluster-1` under root alongside the persisted `cluster-1`. Replace the itertools.count with a plain `_next_id` int and fast-forward it past the largest `cluster-N` already in the tree on every add() that has a root. Idempotent across multiple adds. - tests/local/test_clustering.py: new TestClusterIdUniquenessAfterReload reproduces the reviewer's scenario (100 items, rebuild_interval=1000, fresh Clusterer against loaded state) and asserts unique ids across reload + multiple incremental adds. - README.md: was still remote-only — said "Only CONTEXTO_API_KEY is required" and described the remote env vars exclusively. Document both backends, the CONTEXTO_BACKEND selector, the local provider/key resolution rules, and the full CONTEXTO_LOCAL_* table so users installing 0.2.0 can enable the new backend from the package README alone. * fix(contexto-py/e2e): install numpy+scipy into hermes image before launch The hermes-agent base image doesn't ship numpy or scipy. Bind-mounting the plugin source is necessary but not sufficient: on first agent request the local backend fails to construct ("No module named 'numpy'") and the gateway silently falls back to its built-in compressor. Wrap the gateway command in `sh -c` so `uv pip install` runs against the image's venv (already activated by the entrypoint) before exec'ing `gateway run`. The install is idempotent — fast no-op on restarts. Document both image gaps (plugin source + runtime deps) in the e2e README. * docs: contexto-hermes quickstart with copy-paste install paths Adds docs/contexto-hermes-quickstart.md — a focused install guide for both backends. Covers prereqs, the shared pip+symlink step, the per-backend env vars, a verify step (log grep + jq on the mindmap), the two Docker gotchas (symlinked plugin source + missing numpy/scipy in the image), and a troubleshooting table for the common failure modes. Linked from docs/SUMMARY.md. Package README points to the new doc for the copy-paste walkthrough. Also normalizes the install command in the README to `contexto-hermes-install` (the script entry point shipped in pyproject.toml) instead of `python -m contexto_hermes.install` — both work, but the script form is shorter and is what the quickstart uses. * fix(contexto-py/e2e): call `hermes gateway run`, not `gateway run` The hermes-agent entrypoint wraps a bare `gateway run` as `hermes gateway run` only when `gateway` is the first container arg (its `command -v "$1"` check fails, so it falls through to `exec hermes "$@"`). Inside our `sh -c` wrapper the first arg is `sh`, which resolves on PATH — the entrypoint exec's `sh` directly and never reaches the `hermes` fallback. `gateway` isn't a standalone binary, so the container died with `sh: exec: gateway: not found`. Fix: call `hermes gateway run` explicitly inside the `sh -c`. `hermes` is on PATH because the entrypoint activates /opt/hermes/.venv before exec. Same fix applied to the Docker snippet in docs/contexto-hermes-quickstart.md. * docs: top-level README covers Hermes runtime; renumber contexto-hermes to 0.1.0 Top-level README: - Quick Start now has two subsections: OpenClaw (existing) and Hermes (new — pip install + contexto-hermes-install + config.yaml + key + run). Points to docs/contexto-hermes-quickstart.md for the fully local setup. - Hero copy, "Why Contexto", "What You Get", "Who Should Use This", and the Quick Start lead now mention both runtimes instead of OpenClaw only. - Roadmap no longer lists "Local backend" — shipped in this release. Version renumber 0.2.0 -> 0.1.0: - contexto-hermes was never on PyPI as 0.1.0; the bump to 0.2.0 was internal noise. Renumber so the first public release lands as 0.1.0. - pyproject.toml, __init__.py, plugin.yaml, types.py docstring, README, test_plugin_yaml.py comment, and the v0.2.0+ marker in the quickstart all updated. Verification: 338 passed, 2 skipped. `python -m build` produces clean contexto_hermes-0.1.0.{tar.gz,whl}; `twine check` passes both. * fix(contexto-py): return empty SearchResult for no-hit searches, not None None is now reserved for failures (embed error, unexpected exception), matching RemoteBackend — so contexto_search reports ok-with-empty-items instead of a misleading 'backend unavailable' degraded status when the store is empty or nothing clears min_score. Also dedupe the item-content construction in _build_item (identical to the embed input). * fix(contexto-py): lower local-mode CONTEXTO_MIN_SCORE default to 0.35 Local summaries cover an entire drop slice, so query-to-summary cosine for relevant hits lands in the 0.35-0.45 band — verified on a Hermes container against real OpenRouter where a relevant item scored 0.444 and was filtered by the remote default of 0.45. Remote default unchanged. * chore(contexto-py): clustering input guards + safer e2e compose default - Reject zero-vector embeddings before scipy linkage (cosine distance is NaN there, which the NaN->0 clamp would silently merge into one cluster); clamp tiny negative distances too and make the comment match the code. - Drop unused typing imports. - Default the hermes-local compose data dir to /tmp/hermes-contexto-e2e instead of the live ~/.hermes; opt in via CONTEXTO_E2E_HOME. Avoids two gateways sharing state.db/gateway.lock under host networking. | 5 months ago |
| feat(contexto-py): LocalBackend for on-disk mindmap retrieval (#153) * docs: design spec for Contexto × Hermes local backend * feat(contexto-py): LocalBackend for on-disk mindmap retrieval Implements the LocalBackend per the approved 2026-05-23 design: embeddings + summarization call the user's OpenAI/OpenRouter provider, and state lives on disk as a single JSON file. Selectable via CONTEXTO_BACKEND=local; remote stays the default. - 10 modules under src/contexto_hermes/local/ (mindmap_types, extractor, store, labeler, embedder, summarizer, clustering, retrieval, backend, __init__) - scipy AGNES (linkage average/cosine) + beam-search retrieval - Atomic JSON writes with corrupt-file quarantine + version:1 schema - Backend-aware register() reading CONTEXTO_BACKEND - ContextoEngine.from_env_local() + ContextoConfig.local_mode_defaults() - SearchResult.paths typed list[list[str]] (cluster labels) - Search items wrapped as {item, score} mirroring TS ScoredQueryResult - LocalBackendConfig.embed_model/llm_model nullable with provider-default fallback - config_snapshot populated on every save (embed_model, mindmap tunables) - Store quarantines non-dict stats explicitly - 124 tests under tests/local/ (336 total in contexto-py, all green) - Docker E2E harness (e2e/Dockerfile + run_local_e2e.py) verified against real OpenRouter - pyproject.toml bumped 0.1.0 -> 0.2.0; adds numpy + scipy - Spec §7 storage path resolved to honor \$HERMES_HOME * fix(contexto-py/e2e): unwrap search items + activate Hermes bind mount - e2e/run_local_e2e.py: SearchResult.items are {"item": ..., "score": ...} wrappers per spec §5. The script read item["content"] directly, which KeyError'd after a successful real-provider search. Now unwraps and also logs the score so the rank ordering is visible. - e2e/docker-compose.hermes-local.yml: the hermes-agent repo's plugins/context_engine/contexto symlink works for the local hermes CLI but not inside a Docker image — docker build's COPY resolves the absolute symlink to a host path the container can't see, leaving a broken link at the plugin slot. Make the bind mount of src/contexto_hermes onto the plugin path active and read-only. - e2e/README.md: replace the misleading "no bind-mount needed" note with the actual constraint, plus an alternative (copy the plugin tree into the image before docker build) for users who don't want a bind mount. * fix(contexto-py): seed cluster-id counter from loaded state; refresh README - clustering.py: Clusterer reset its counter to 1 on every construction. After a process restart, an incremental insert against a loaded tree produced a fresh `cluster-1` under root alongside the persisted `cluster-1`. Replace the itertools.count with a plain `_next_id` int and fast-forward it past the largest `cluster-N` already in the tree on every add() that has a root. Idempotent across multiple adds. - tests/local/test_clustering.py: new TestClusterIdUniquenessAfterReload reproduces the reviewer's scenario (100 items, rebuild_interval=1000, fresh Clusterer against loaded state) and asserts unique ids across reload + multiple incremental adds. - README.md: was still remote-only — said "Only CONTEXTO_API_KEY is required" and described the remote env vars exclusively. Document both backends, the CONTEXTO_BACKEND selector, the local provider/key resolution rules, and the full CONTEXTO_LOCAL_* table so users installing 0.2.0 can enable the new backend from the package README alone. * fix(contexto-py/e2e): install numpy+scipy into hermes image before launch The hermes-agent base image doesn't ship numpy or scipy. Bind-mounting the plugin source is necessary but not sufficient: on first agent request the local backend fails to construct ("No module named 'numpy'") and the gateway silently falls back to its built-in compressor. Wrap the gateway command in `sh -c` so `uv pip install` runs against the image's venv (already activated by the entrypoint) before exec'ing `gateway run`. The install is idempotent — fast no-op on restarts. Document both image gaps (plugin source + runtime deps) in the e2e README. * docs: contexto-hermes quickstart with copy-paste install paths Adds docs/contexto-hermes-quickstart.md — a focused install guide for both backends. Covers prereqs, the shared pip+symlink step, the per-backend env vars, a verify step (log grep + jq on the mindmap), the two Docker gotchas (symlinked plugin source + missing numpy/scipy in the image), and a troubleshooting table for the common failure modes. Linked from docs/SUMMARY.md. Package README points to the new doc for the copy-paste walkthrough. Also normalizes the install command in the README to `contexto-hermes-install` (the script entry point shipped in pyproject.toml) instead of `python -m contexto_hermes.install` — both work, but the script form is shorter and is what the quickstart uses. * fix(contexto-py/e2e): call `hermes gateway run`, not `gateway run` The hermes-agent entrypoint wraps a bare `gateway run` as `hermes gateway run` only when `gateway` is the first container arg (its `command -v "$1"` check fails, so it falls through to `exec hermes "$@"`). Inside our `sh -c` wrapper the first arg is `sh`, which resolves on PATH — the entrypoint exec's `sh` directly and never reaches the `hermes` fallback. `gateway` isn't a standalone binary, so the container died with `sh: exec: gateway: not found`. Fix: call `hermes gateway run` explicitly inside the `sh -c`. `hermes` is on PATH because the entrypoint activates /opt/hermes/.venv before exec. Same fix applied to the Docker snippet in docs/contexto-hermes-quickstart.md. * docs: top-level README covers Hermes runtime; renumber contexto-hermes to 0.1.0 Top-level README: - Quick Start now has two subsections: OpenClaw (existing) and Hermes (new — pip install + contexto-hermes-install + config.yaml + key + run). Points to docs/contexto-hermes-quickstart.md for the fully local setup. - Hero copy, "Why Contexto", "What You Get", "Who Should Use This", and the Quick Start lead now mention both runtimes instead of OpenClaw only. - Roadmap no longer lists "Local backend" — shipped in this release. Version renumber 0.2.0 -> 0.1.0: - contexto-hermes was never on PyPI as 0.1.0; the bump to 0.2.0 was internal noise. Renumber so the first public release lands as 0.1.0. - pyproject.toml, __init__.py, plugin.yaml, types.py docstring, README, test_plugin_yaml.py comment, and the v0.2.0+ marker in the quickstart all updated. Verification: 338 passed, 2 skipped. `python -m build` produces clean contexto_hermes-0.1.0.{tar.gz,whl}; `twine check` passes both. * fix(contexto-py): return empty SearchResult for no-hit searches, not None None is now reserved for failures (embed error, unexpected exception), matching RemoteBackend — so contexto_search reports ok-with-empty-items instead of a misleading 'backend unavailable' degraded status when the store is empty or nothing clears min_score. Also dedupe the item-content construction in _build_item (identical to the embed input). * fix(contexto-py): lower local-mode CONTEXTO_MIN_SCORE default to 0.35 Local summaries cover an entire drop slice, so query-to-summary cosine for relevant hits lands in the 0.35-0.45 band — verified on a Hermes container against real OpenRouter where a relevant item scored 0.444 and was filtered by the remote default of 0.45. Remote default unchanged. * chore(contexto-py): clustering input guards + safer e2e compose default - Reject zero-vector embeddings before scipy linkage (cosine distance is NaN there, which the NaN->0 clamp would silently merge into one cluster); clamp tiny negative distances too and make the comment match the code. - Drop unused typing imports. - Default the hermes-local compose data dir to /tmp/hermes-contexto-e2e instead of the live ~/.hermes; opt in via CONTEXTO_E2E_HOME. Avoids two gateways sharing state.db/gateway.lock under host networking. | 5 months ago |
| feat: Migrate to pnpm & update mindmap to contexto | 7 months ago |
| feat: modify dockerignore | 11 months ago |
| Strip dead dashboard code, keep memory UI Remove all usage/analytics components, hooks, and API methods left over from the gateway service removal. The root page now redirects to /memory. Update README, .env.example, and metadata to reflect the memory-only dashboard. | 8 months ago |
| Add Contexto Hermes context engine plugin (#150) * docs: design spec for Contexto × Hermes context engine plugin Adds the v1 design for a Python context engine plugin that mirrors @ekai/contexto's remote mode for hermes-agent. Lives in the plugins/context_engine/<name>/ slot, uses the standard ContextEngine ABC without core changes, ingests on compact() and exposes a contexto_search tool for between-compaction recall. * feat: add Contexto Hermes plugin Add the contexto-hermes Python package as a Hermes context engine plugin. The implementation is remote-only and uses env-var configuration, a fail-soft httpx backend, compaction-time ingestion/search, and the contexto_search engine tool. Include installer support for Hermes' bundled context_engine slot, plugin metadata, README/changelog, TS-parity fixtures, and unit/smoke tests. Also add Python artifact ignores so local venv/cache/build files stay out of commits. * fix: harden contexto hermes fail-soft paths * fix: surface fail-closed ingest state * fix: add preflight compression fallback * fix: harden config validation, token coercion, and namespace install Address remaining review findings on the contexto-hermes plugin: - #4: update_from_response() coerces provider token counts defensively (numeric strings like "1.5" handled; non-numeric preserves prior value instead of raising into Hermes' response path). - #6: env-var config is now bounds-checked — max_context_chars >= 1, max_results >= 1, min_score in [0,1], non-finite/NaN rejected; invalid values fall back to defaults with a WARNING. Truncation sites also guard against a non-positive cap so context never collapses to just "…". - #8: installer discovers Hermes' plugins/context_engine when it is a PEP-420 namespace package (origin is None -> submodule_search_locations); directory checks relaxed from __init__.py to is_dir(). - Docs: README documents the fail-closed ingest status counters and clarifies CONTEXTO_MAX_RESULTS (compaction recall) vs the contexto_search tool's own max_results (default 5); CHANGELOG updated. Tests: 209 passed, 3 skipped. * docs: tighten contexto-hermes README config/status notes | 5 months ago |
| Add .nvmrc (Node 22) and gitignore .next/ build cache | 8 months ago |
| ci: add semantic-release with multi-semantic-release | 7 months ago |
| refactor: Cleanup containers (#118) * Remove Cloud Run deployment setup Cloud Run instance is no longer needed. Removes the CI workflow, Dockerfile stage, docker-compose service, and updates docs to reference the ekai-gateway image instead. * Remove docker-compose.yaml No longer needed after disabling Cloud Run setup. | 7 months ago |
| build: add Dockerfile.selfhost for self-hosting the OSS stack (#146) Multi-stage Dockerfile that builds dashboard + memory + openrouter from this repo and runs them all in one container. Currently the only path to self-hosting is "build it yourself"; this provides a reproducible, ready-to-run image. Layout: - build-base (node:22) installs the workspace and copies sources - per-package build stages compile dashboard / memory / openrouter - node:22-slim runtime stage installs prod deps + the built dist - exposes ports 3000 (dashboard) and 4010 (memory API via openrouter) - volume at /app/packages/memory/data persists SQLite Two non-obvious choices worth flagging: 1. pnpm pinned to 9.15.4 (via `corepack prepare`). pnpm v10 makes [ERR_PNPM_IGNORED_BUILDS] fatal — the install fails on packages with native build scripts (better-sqlite3, sharp, esbuild, koffi, protobufjs, sqlite-vec, ...) until each one is explicitly approved via `pnpm approve-builds`. Pinning v9 sidesteps this entirely. If the team prefers v10, the alternative is adding a `pnpm.onlyBuiltDependencies` field to root package.json with the full list — happy to do that instead of the pin if preferred. 2. Runtime stage is `node:22-slim` (debian) rather than `node:22-alpine`. sqlite-vec ships only a glibc `linux-x64` binary — no musl variant — so the alpine runtime fails at startup with `Error loading shared library .../vec0.so.so`. Slim has glibc, fixes it with a few extra MB. Tested locally: builds cleanly, runs against a Gemini provider for both extract and embed (`MEMORY_EXTRACT_PROVIDER=gemini MEMORY_EMBED_PROVIDER=gemini GOOGLE_API_KEY=...`), persists SQLite data across container restarts via the volume, dashboard accessible on :3000, memory API on :4010. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> | 6 months ago |
| add license | 1 year ago |
| feat(contexto-py): LocalBackend for on-disk mindmap retrieval (#153) * docs: design spec for Contexto × Hermes local backend * feat(contexto-py): LocalBackend for on-disk mindmap retrieval Implements the LocalBackend per the approved 2026-05-23 design: embeddings + summarization call the user's OpenAI/OpenRouter provider, and state lives on disk as a single JSON file. Selectable via CONTEXTO_BACKEND=local; remote stays the default. - 10 modules under src/contexto_hermes/local/ (mindmap_types, extractor, store, labeler, embedder, summarizer, clustering, retrieval, backend, __init__) - scipy AGNES (linkage average/cosine) + beam-search retrieval - Atomic JSON writes with corrupt-file quarantine + version:1 schema - Backend-aware register() reading CONTEXTO_BACKEND - ContextoEngine.from_env_local() + ContextoConfig.local_mode_defaults() - SearchResult.paths typed list[list[str]] (cluster labels) - Search items wrapped as {item, score} mirroring TS ScoredQueryResult - LocalBackendConfig.embed_model/llm_model nullable with provider-default fallback - config_snapshot populated on every save (embed_model, mindmap tunables) - Store quarantines non-dict stats explicitly - 124 tests under tests/local/ (336 total in contexto-py, all green) - Docker E2E harness (e2e/Dockerfile + run_local_e2e.py) verified against real OpenRouter - pyproject.toml bumped 0.1.0 -> 0.2.0; adds numpy + scipy - Spec §7 storage path resolved to honor \$HERMES_HOME * fix(contexto-py/e2e): unwrap search items + activate Hermes bind mount - e2e/run_local_e2e.py: SearchResult.items are {"item": ..., "score": ...} wrappers per spec §5. The script read item["content"] directly, which KeyError'd after a successful real-provider search. Now unwraps and also logs the score so the rank ordering is visible. - e2e/docker-compose.hermes-local.yml: the hermes-agent repo's plugins/context_engine/contexto symlink works for the local hermes CLI but not inside a Docker image — docker build's COPY resolves the absolute symlink to a host path the container can't see, leaving a broken link at the plugin slot. Make the bind mount of src/contexto_hermes onto the plugin path active and read-only. - e2e/README.md: replace the misleading "no bind-mount needed" note with the actual constraint, plus an alternative (copy the plugin tree into the image before docker build) for users who don't want a bind mount. * fix(contexto-py): seed cluster-id counter from loaded state; refresh README - clustering.py: Clusterer reset its counter to 1 on every construction. After a process restart, an incremental insert against a loaded tree produced a fresh `cluster-1` under root alongside the persisted `cluster-1`. Replace the itertools.count with a plain `_next_id` int and fast-forward it past the largest `cluster-N` already in the tree on every add() that has a root. Idempotent across multiple adds. - tests/local/test_clustering.py: new TestClusterIdUniquenessAfterReload reproduces the reviewer's scenario (100 items, rebuild_interval=1000, fresh Clusterer against loaded state) and asserts unique ids across reload + multiple incremental adds. - README.md: was still remote-only — said "Only CONTEXTO_API_KEY is required" and described the remote env vars exclusively. Document both backends, the CONTEXTO_BACKEND selector, the local provider/key resolution rules, and the full CONTEXTO_LOCAL_* table so users installing 0.2.0 can enable the new backend from the package README alone. * fix(contexto-py/e2e): install numpy+scipy into hermes image before launch The hermes-agent base image doesn't ship numpy or scipy. Bind-mounting the plugin source is necessary but not sufficient: on first agent request the local backend fails to construct ("No module named 'numpy'") and the gateway silently falls back to its built-in compressor. Wrap the gateway command in `sh -c` so `uv pip install` runs against the image's venv (already activated by the entrypoint) before exec'ing `gateway run`. The install is idempotent — fast no-op on restarts. Document both image gaps (plugin source + runtime deps) in the e2e README. * docs: contexto-hermes quickstart with copy-paste install paths Adds docs/contexto-hermes-quickstart.md — a focused install guide for both backends. Covers prereqs, the shared pip+symlink step, the per-backend env vars, a verify step (log grep + jq on the mindmap), the two Docker gotchas (symlinked plugin source + missing numpy/scipy in the image), and a troubleshooting table for the common failure modes. Linked from docs/SUMMARY.md. Package README points to the new doc for the copy-paste walkthrough. Also normalizes the install command in the README to `contexto-hermes-install` (the script entry point shipped in pyproject.toml) instead of `python -m contexto_hermes.install` — both work, but the script form is shorter and is what the quickstart uses. * fix(contexto-py/e2e): call `hermes gateway run`, not `gateway run` The hermes-agent entrypoint wraps a bare `gateway run` as `hermes gateway run` only when `gateway` is the first container arg (its `command -v "$1"` check fails, so it falls through to `exec hermes "$@"`). Inside our `sh -c` wrapper the first arg is `sh`, which resolves on PATH — the entrypoint exec's `sh` directly and never reaches the `hermes` fallback. `gateway` isn't a standalone binary, so the container died with `sh: exec: gateway: not found`. Fix: call `hermes gateway run` explicitly inside the `sh -c`. `hermes` is on PATH because the entrypoint activates /opt/hermes/.venv before exec. Same fix applied to the Docker snippet in docs/contexto-hermes-quickstart.md. * docs: top-level README covers Hermes runtime; renumber contexto-hermes to 0.1.0 Top-level README: - Quick Start now has two subsections: OpenClaw (existing) and Hermes (new — pip install + contexto-hermes-install + config.yaml + key + run). Points to docs/contexto-hermes-quickstart.md for the fully local setup. - Hero copy, "Why Contexto", "What You Get", "Who Should Use This", and the Quick Start lead now mention both runtimes instead of OpenClaw only. - Roadmap no longer lists "Local backend" — shipped in this release. Version renumber 0.2.0 -> 0.1.0: - contexto-hermes was never on PyPI as 0.1.0; the bump to 0.2.0 was internal noise. Renumber so the first public release lands as 0.1.0. - pyproject.toml, __init__.py, plugin.yaml, types.py docstring, README, test_plugin_yaml.py comment, and the v0.2.0+ marker in the quickstart all updated. Verification: 338 passed, 2 skipped. `python -m build` produces clean contexto_hermes-0.1.0.{tar.gz,whl}; `twine check` passes both. * fix(contexto-py): return empty SearchResult for no-hit searches, not None None is now reserved for failures (embed error, unexpected exception), matching RemoteBackend — so contexto_search reports ok-with-empty-items instead of a misleading 'backend unavailable' degraded status when the store is empty or nothing clears min_score. Also dedupe the item-content construction in _build_item (identical to the embed input). * fix(contexto-py): lower local-mode CONTEXTO_MIN_SCORE default to 0.35 Local summaries cover an entire drop slice, so query-to-summary cosine for relevant hits lands in the 0.35-0.45 band — verified on a Hermes container against real OpenRouter where a relevant item scored 0.444 and was filtered by the remote default of 0.45. Remote default unchanged. * chore(contexto-py): clustering input guards + safer e2e compose default - Reject zero-vector embeddings before scipy linkage (cosine distance is NaN there, which the NaN->0 clamp would silently merge into one cluster); clamp tiny negative distances too and make the comment match the code. - Drop unused typing imports. - Default the hermes-local compose data dir to /tmp/hermes-contexto-e2e instead of the live ~/.hermes; opt in via CONTEXTO_E2E_HOME. Avoids two gateways sharing state.db/gateway.lock under host networking. | 5 months ago |
| ci: add semantic-release with multi-semantic-release | 7 months ago |
| fix(contexto): tighten openclaw peerDependency range to >=2026.4.5 (#147) `peerDependencies.openclaw` was declared as `*`, which accepts any version including ones older than the API surface this plugin actually relies on. Users on an older `openclaw` install today get no install-time warning — they hit a runtime breakage instead. The same `package.json` already pins a real minimum via `openclaw.compat.minGatewayVersion = "2026.4.5"`; align the peerDep to match so `pnpm install` (or any package manager that surfaces peer-range warnings) tells the user to upgrade BEFORE they trip the runtime error. Closes #140. Test plan --------- - `pnpm install` resolves cleanly (lockfile updated to record the new specifier; no other package's resolution changed). - `pnpm --filter @ekai/contexto run build` (tsc --noEmit) is green. - No other workspace package depends on the wildcard — verified with `grep -rn '"openclaw"' packages/ --include=package.json` (only `packages/contexto/package.json` references it). Acceptance criteria from the issue: - [x] `peerDependencies.openclaw` matches `openclaw.compat.minGatewayVersion` - [x] `pnpm install` from a clean checkout resolves cleanly - [ ] CONTRIBUTING.md note about keeping the two fields in lockstep — happy to add in a follow-up if maintainer wants it; keeping this PR scoped to the one-line behavioral fix. | 5 months ago |
| feat: Migrate to pnpm & update mindmap to contexto | 7 months ago |
| ci: add semantic-release with multi-semantic-release | 7 months ago |