agentcache-core 0.9.9__tar.gz → 0.9.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/PKG-INFO +5 -3
  2. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/README.md +4 -2
  3. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/pyproject.toml +2 -1
  4. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/__init__.py +1 -1
  5. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/app.py +6 -0
  6. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/connect.py +394 -164
  7. agentcache_core-0.9.11/src/agentcache/integrations/__init__.py +5 -0
  8. agentcache_core-0.9.11/src/agentcache/integrations/hermes/README.md +107 -0
  9. agentcache_core-0.9.11/src/agentcache/integrations/hermes/__init__.py +485 -0
  10. agentcache_core-0.9.11/src/agentcache/integrations/hermes/plugin.yaml +12 -0
  11. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/mcp_stdio.py +1 -1
  12. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/health.py +1 -1
  13. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/viewer_helpers.py +1 -1
  14. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/PKG-INFO +5 -3
  15. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/SOURCES.txt +5 -0
  16. agentcache_core-0.9.11/tests/test_connect_repair.py +533 -0
  17. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/LICENSE +0 -0
  18. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/setup.cfg +0 -0
  19. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/cli.py +0 -0
  20. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/__init__.py +0 -0
  21. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/audit_log.py +0 -0
  22. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/config.py +0 -0
  23. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/context_builder.py +0 -0
  24. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/graph.py +0 -0
  25. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/image_store.py +0 -0
  26. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/infer.py +0 -0
  27. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/kv_scopes.py +0 -0
  28. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/lessons.py +0 -0
  29. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/llm.py +0 -0
  30. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/memory_store.py +0 -0
  31. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/observation_store.py +0 -0
  32. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/privacy.py +0 -0
  33. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/project_profile.py +0 -0
  34. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/search_service.py +0 -0
  35. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/session_store.py +0 -0
  36. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/core/slots.py +0 -0
  37. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/db.py +0 -0
  38. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/import_data.py +0 -0
  39. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/legacy.py +0 -0
  40. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/py.typed +0 -0
  41. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/replay_import.py +0 -0
  42. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/__init__.py +0 -0
  43. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/_deps.py +0 -0
  44. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/auth.py +0 -0
  45. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/graph.py +0 -0
  46. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/mcp.py +0 -0
  47. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/memories.py +0 -0
  48. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/migration.py +0 -0
  49. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/observations.py +0 -0
  50. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/routes/search.py +0 -0
  51. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/search.py +0 -0
  52. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/storage/__init__.py +0 -0
  53. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/storage/images.py +0 -0
  54. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/storage/paths.py +0 -0
  55. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/storage/scopes.py +0 -0
  56. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/viewer/favicon.svg +0 -0
  57. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/viewer/index.html +0 -0
  58. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache/workers.py +0 -0
  59. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/dependency_links.txt +0 -0
  60. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/entry_points.txt +0 -0
  61. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/requires.txt +0 -0
  62. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/src/agentcache_core.egg-info/top_level.txt +0 -0
  63. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/tests/test_auth.py +0 -0
  64. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/tests/test_legacy_reexports.py +0 -0
  65. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/tests/test_observation_store.py +0 -0
  66. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/tests/test_routes_auth_matrix.py +0 -0
  67. {agentcache_core-0.9.9 → agentcache_core-0.9.11}/tests/test_search_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentcache-core
3
- Version: 0.9.9
3
+ Version: 0.9.11
4
4
  Summary: A Python REST + WebSocket + MCP cache server for AI agents, backed by SQLite
5
5
  Author-email: Yashwant K <yashwantk0303@gmail.com>
6
6
  Maintainer-email: Yashwant K <yashwantk0303@gmail.com>
@@ -130,11 +130,13 @@ Top-level exports: `create_app`, `StateKV`, `KV`, `ObservationStore`, `Observati
130
130
  ## Wire it into your agent
131
131
 
132
132
  ```bash
133
- agentcache connect claude-code # or: cursor, cline, kiro, antigravity, codex
133
+ agentcache connect claude-code # or: cursor, cline, kiro, antigravity, codex, hermes, vscode
134
134
  agentcache connect --all # detect and wire every supported client
135
135
  ```
136
136
 
137
- This registers the MCP stdio bridge (`agentcache.mcp_stdio`) and, with `--with-hooks`, installs workspace hook blocks that call `/agentcache/observe` on file events.
137
+ This registers the MCP stdio bridge (`agentcache.mcp_stdio`) and, with `--with-hooks`, installs workspace hook blocks that call `/agentcache/observe` on file events. Re-running is safe — the CLI detects stale entries (wrong interpreter path, missing env keys, etc.) and repairs them, or prints a `--force` hint when the entry is already up to date.
138
+
139
+ See [docs/mcp-setup.md](docs/mcp-setup.md) for per-client config paths, manual wiring, and troubleshooting.
138
140
 
139
141
  ---
140
142
 
@@ -91,11 +91,13 @@ Top-level exports: `create_app`, `StateKV`, `KV`, `ObservationStore`, `Observati
91
91
  ## Wire it into your agent
92
92
 
93
93
  ```bash
94
- agentcache connect claude-code # or: cursor, cline, kiro, antigravity, codex
94
+ agentcache connect claude-code # or: cursor, cline, kiro, antigravity, codex, hermes, vscode
95
95
  agentcache connect --all # detect and wire every supported client
96
96
  ```
97
97
 
98
- This registers the MCP stdio bridge (`agentcache.mcp_stdio`) and, with `--with-hooks`, installs workspace hook blocks that call `/agentcache/observe` on file events.
98
+ This registers the MCP stdio bridge (`agentcache.mcp_stdio`) and, with `--with-hooks`, installs workspace hook blocks that call `/agentcache/observe` on file events. Re-running is safe — the CLI detects stale entries (wrong interpreter path, missing env keys, etc.) and repairs them, or prints a `--force` hint when the entry is already up to date.
99
+
100
+ See [docs/mcp-setup.md](docs/mcp-setup.md) for per-client config paths, manual wiring, and troubleshooting.
99
101
 
100
102
  ---
101
103
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "agentcache-core"
7
- version = "0.9.9"
7
+ version = "0.9.11"
8
8
  description = "A Python REST + WebSocket + MCP cache server for AI agents, backed by SQLite"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  authors = [
@@ -63,6 +63,7 @@ include = ["agentcache*"]
63
63
  [tool.setuptools.package-data]
64
64
  "agentcache" = ["py.typed"]
65
65
  "agentcache.viewer" = ["*.html", "*.svg", "*.js", "*.css"]
66
+ "agentcache.integrations.hermes" = ["plugin.yaml", "README.md"]
66
67
 
67
68
  [tool.pytest.ini_options]
68
69
  testpaths = ["tests"]
@@ -2,7 +2,7 @@
2
2
  agentcache — A Python REST + WebSocket + MCP cache server for AI agents, backed by SQLite.
3
3
  """
4
4
 
5
- __version__ = "0.9.9"
5
+ __version__ = "0.9.11"
6
6
 
7
7
  from .app import create_app
8
8
  from .connect import run_connect
@@ -109,6 +109,12 @@ def init_services() -> tuple:
109
109
  kv, search_service=search_service, events=ObservationEvents()
110
110
  )
111
111
 
112
+ # Register on the legacy shim so core/* modules (memory_store, llm,
113
+ # session_store) can reach the same SearchService via `_legacy._search_service`.
114
+ # Without this, `remember()` and friends silently skip BM25 indexing, and
115
+ # newly-saved memories become unsearchable until the next full rebuild.
116
+ legacy.set_search_service(search_service)
117
+
112
118
  # Load persisted indexes.
113
119
  loaded = search_service.load_persisted()
114
120
  print(