mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-11-22 18:41:07 +08:00
fix(deps): bump mem0ai, langgraph and langgraph-sdk past open advisories (#4614)
## Description Clears Dependabot alerts #546, #547 and #548, which Vanta's dependency vulnerability test flags. | Package | Before | After | Advisory | |---|---|---|---| | mem0ai | 2.0.18 | 2.2.1 | GHSA-5324-3w58-qpp2 (fixed in 2.0.18) | | langgraph | 1.2.11 | 1.2.19 | GHSA-3fx2-cqw9-xr3c (fixed in 1.2.14) | | langgraph-sdk | 0.4.6 | 0.4.11 | GHSA-3fx2-cqw9-xr3c (fixed in 0.4.6) | #4537 (Dependabot) has since moved `main` to mem0ai 2.0.18, langgraph-sdk 0.4.6 and posthog 7.79.0, and fixed `Mem0Backend`'s identity filters. Merged on top of that, this PR still bumps langgraph past GHSA-3fx2-cqw9-xr3c (1.2.11 → 1.2.19, plus langgraph-checkpoint 4.2.0 → 4.3.1), raises the install-time floors, passes `top_k` to `Mem0Backend.search`, and fixes `DirectMem0Adapter`, which #4537 did not touch. posthog stays at 7.79.0. No package is added or removed from the lock. The runtime proof below found that Headroom's Mem0 search was already broken on `main`. Mem0 2.x (including the 2.0.5 we locked) raises `ValueError` when `user_id` is passed at the top level of `search()` / `get_all()`. So the second commit fixes the call sites. Without it, the upgrade could not be shown to work. ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) ## Changes Made - `uv lock --upgrade-package mem0ai --upgrade-package langgraph --upgrade-package langgraph-sdk` - `pyproject.toml`: floors raised to `mem0ai>=2.0.18` (memory-stack extra) and `langgraph>=1.2.14` (langgraph extra), so a fresh PyPI install can't resolve a vulnerable version. `langgraph-sdk>=0.4.6` comes transitively from langgraph 1.2.14+. - `headroom/memory/backends/direct_mem0.py`, `mem0.py`: pass `user_id` inside `filters=` and the limit as `top_k=` to Mem0 `search()` / `get_all()`. Direct Qdrant writes also store the fact under `data`, the payload key Mem0 search reads. Points without it were skipped. ## Dependency review (CONTRIBUTING.md) | | mem0ai 2.2.1 | langgraph 1.2.19 / sdk 0.4.11 / checkpoint 4.3.1 | posthog 7.79.0 | |---|---|---|---| | Why this package | Already a dependency of the optional `memory-stack` extra | Already a dependency of the optional `langgraph` extra | Not ours: required by mem0ai | | Who maintains it | Mem0 (Apache-2.0); 8 releases in the last 90 days, latest 2026-09-25 | LangChain (MIT); 9 langgraph releases in 90 days, latest 2026-10-30 | PostHog (MIT); very frequent releases (107 in 90 days) | | Security history | GHSA-5324-3w58-qpp2 fixed in 2.0.18; PyPI lists no advisories against 2.2.1 | GHSA-3fx2-cqw9-xr3c fixed in 1.2.14 / sdk 0.4.6; none against the locked versions | None listed against 7.79.0 | | Native code | None (pure-Python wheel) | None (pure-Python wheels) | None (pure-Python wheel) | | Install-time network | None beyond the package index | None | None | | Runtime network | OpenAI (LLM + embeddings) and Qdrant/Neo4j, as configured. Also anonymous telemetry to `https://us.i.posthog.com`, on by default unless `MEM0_TELEMETRY=False` (same as 2.0.5, see below) | None for graph execution; `langgraph-sdk` only talks to a LangGraph server if a client is created (Headroom does not) | Used only by mem0 telemetry | | Why this version | Security patch | Security patch | Pulled by the mem0 security patch | Lock: the `python-socks` line that now appears under `lean` is uv flattening the existing `proxy` extra that `lean` already includes. `uv lock --check` passes on `main`, and the set of resolved packages is unchanged (only the five versions above differ). ## Testing - [x] Unit tests pass: `pytest tests/test_memory tests/test_integrations/langchain/test_langgraph.py tests/integrations/test_langgraph.py` → 676 passed - [x] Linting passes: `ruff check` and `ruff format --check` on the touched paths - [x] Type checking: `mypy headroom/memory/backends` reports 8 errors at `direct_mem0.py:202`, identical on `main` (not from this change) - [x] New test: `test_search_scopes_by_user_through_filters` fails on `main` (`search` called with top-level `user_id`/`limit`), passes here - [x] Manual testing performed (below) ## Real Behavior Proof **Environment:** macOS arm64, Python 3.12.13, uv 0.12.5. Qdrant 1.15.5 in Docker (`qdrant/qdrant:v1.15.5` on 127.0.0.1:16333). Real `mem0ai 2.2.1`, `qdrant-client 1.17.1`, `posthog 7.79.0` (rerun after merging `main`). The OpenAI API is replaced by a local OpenAI-compatible stub (`OPENAI_BASE_URL=http://127.0.0.1:18099/v1`) that returns deterministic bag-of-words embeddings and a canned extraction. So Mem0, Qdrant and Headroom code are real, and the LLM is not. **Mem0 round trip through Headroom** (`DirectMem0Adapter` and `Mem0Backend`, graph disabled): ```text optimized save: Memory id ok # facts written straight to Qdrant optimized search top: The billing service is written in Rust 0.802 other user sees: 0 # user scoping holds fallback (Mem0 LLM extraction) save: Memory fallback search top: The deploy region is eu-west-1 delete: True get after delete: None Mem0Backend save: True Mem0Backend search top: The deploy region is eu-west-1 Mem0Backend search other user: 0 Mem0Backend get_all_memories: ['The deploy region is eu-west-1'] ``` Before the second commit, the same script failed on the first search with `ValueError: Top-level entity parameters frozenset({'user_id'}) are not supported in search()`. Unpacking mem0ai 2.0.5 and calling `search(user_id=..., limit=...)` raises the same error, so this was broken on `main` too. Once the call was fixed, search returned `[]` until facts were also written under `data`. **LangGraph invocation** (`StateGraph` agent → tool → `create_compress_tool_messages_node()` → model, `InMemorySaver` checkpointer) on langgraph 1.2.19 / checkpoint 4.3.1: ```text final: done | checkpoint resumed messages: 5 tool chars before: 30690 after compress node: 17933 ``` **Pre/post dependency resolution** (`uv pip compile` of the extra's requirement with a vulnerable pin as a constraint): ```text pre mem0ai>=2.0.0,<3.0 + mem0ai==2.0.17 => resolves pre langgraph>=1.0,<2.0 + langgraph==1.2.13 => resolves post mem0ai>=2.0.18,<3.0 + mem0ai==2.0.17 => rejected (Because you require mem0ai>=2.0.18,<3.0 and mem0ai==2.0.17 ...) post langgraph>=1.2.14,<2.0 + langgraph==1.2.13 => rejected (Because you require langgraph>=1.2.14,<2.0 and langgraph==1.2.13 ...) ``` This is the regression check for the floors. A pytest that reads `pyproject.toml` would only restate the constants. The behavioural regression test is the Mem0 search test above. **Mem0 telemetry, observed** (PostHog `capture` patched to record instead of send): `mem0.init`, `mem0.add`, `mem0.search` and `mem0.notice_displayed` events. Properties are config/OS/version fields plus `encoded_ids` and `keys`; no memory text or query. 2.0.5 has the same default (`MEM0_TELEMETRY` defaults to `True`, same host), so this is not new with the bump. **Remaining limitations** - Real OpenAI not exercised (stub). Neo4j graph path not exercised (`enable_graph=False`). - Existing Qdrant points written by the old direct path lack `data` and stay invisible to Mem0 search until re-saved. - Found while testing, not fixed here (pre-existing on langgraph 1.2.11 too): the compress node returns a new `ToolMessage` without the original `id`, so `add_messages` appends a compressed copy next to the original instead of replacing it (5 messages instead of 4). Will follow up separately. - Headroom does not set `MEM0_TELEMETRY=False` for memory-stack users. Separate decision. ## Runtime Rollout Safety - Rollout-managed feature(s): none - Minimum rollout channel: N/A - Stable/default behavior changed: no; optional `memory-stack` / `langgraph` extras only. Mem0 search goes from always raising to working. - Kill switch / disable path: N/A - Unsafe override required: no - Qualification impact: none - Rollback path: revert this PR ## Review Readiness - [x] I have performed a self-review - [x] This PR is ready for human review ## Checklist - [x] I did **not** edit `CHANGELOG.md` ## Additional Notes The undici, ip-address, glob and minimatch npm audit failures (`e2e/wrap/tools`, `plugins/opencode`) and the `test_v1_compress_timeout_fails_open_quickly` timing failure also fail on `main` and are not touched here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Independent review proof Independently re-reviewed exact head `3c326036a93a95378114f3f7e47f66471663aaf1` on Windows / CPython 3.12.13. No new code finding. These checks supplement the author's evidence above. Runtime versions: mem0ai 2.2.1, langgraph 1.2.19, langgraph-sdk 0.4.11, langgraph-checkpoint 4.3.1, langgraph-prebuilt 1.1.0, posthog 7.79.0, qdrant-client 1.17.1, ormsgpack 1.12.2, xxhash 3.6.0; genuine MiniLM embeddings through sentence-transformers 5.2.1. The review used an isolated environment inheriting existing project/embedding dependencies, with the listed upgrade/framework packages installed separately at their locked versions. Source imports were verified against the exact-head checkout. It did not rebuild or recreate every dependency in the full lock. For a fresh reproduction, check out the exact head, install/build Headroom with its `memory-stack`, `langgraph` and development extras using `uv sync --locked --extra dev --extra memory-stack --extra langgraph`, and make sentence-transformers 5.2.1 available in the selected interpreter. This clean bootstrap is a reproduction recipe, not a claim that the review rebuilt the native extension. Run the following commands with that interpreter, from the repository root: ```powershell $env:PYTHONPATH = (Get-Location).Path python scripts/verify_mem0_agent_scope.py python scripts/verify_mem0_tenant_scope.py python scripts/verify_mem0_dependency_boundaries.py ``` All three public committed proof scripts passed: each agent retrieved its own persisted memory and excluded its sibling; get_all/query excluded unrelated users; distinct identity tuples generated different SQLite scope keys and the other tenant retrieved zero messages; SDK identifiers remained one encoded path segment against an actual loopback HTTP server; telemetry opt-out created no client/event, and enabled PostHog capture/shutdown delivered one event to loopback only. MiniLM weights may require an initial Hugging Face download. Two additional full diagnostics follow. Save their code as `review_direct.py` and `review_langgraph.py` outside tracked source, then run `python review_direct.py` and `python review_langgraph.py` with the same interpreter and repository-root PYTHONPATH. No OpenAI credentials are required. These are review diagnostics, not changes to contributor logic. <details> <summary>DirectMem0 actual changed write/search methods: complete diagnostic</summary> ```python import asyncio import os import tempfile from importlib.metadata import version os.environ['MEM0_TELEMETRY'] = 'false' os.environ['HF_HUB_DISABLE_TELEMETRY'] = '1' from mem0 import Memory as Mem0 from headroom.memory.backends.direct_mem0 import DirectMem0Adapter, Mem0Config async def main(): with tempfile.TemporaryDirectory(prefix='headroom-direct-proof-') as path: client = Mem0.from_config({ 'version': 'v1.1', 'llm': {'provider': 'openai', 'config': {'api_key': 'unused-no-inference'}}, 'embedder': {'provider': 'huggingface', 'config': { 'model': 'sentence-transformers/all-MiniLM-L6-v2', 'embedding_dims': 384}}, 'vector_store': {'provider': 'qdrant', 'config': { 'path': path, 'collection_name': 'direct_proof', 'embedding_model_dims': 384}}, 'history_db_path': path + '/history.db'}) adapter = DirectMem0Adapter(Mem0Config(enable_graph=False, collection_name='direct_proof')) adapter._mem0_client = client adapter._qdrant_client = client.vector_store.client adapter._initialized = True # Use the genuine local MiniLM embedder rather than an OpenAI request. adapter._embed = lambda text: client.embedding_model.embed(text, 'add') fact = 'The billing service is written in Rust' ids = await adapter._write_facts_to_qdrant([fact], 'tenant-a', 0.8) point = adapter._qdrant_client.retrieve('direct_proof', ids)[0] assert point.payload['data'] == fact results = await adapter.search_memories(query='billing service programming language', user_id='tenant-a', top_k=1) assert len(results) == 1 and results[0].memory.content == fact, results assert await adapter.search_memories(query='billing service programming language', user_id='tenant-b', top_k=1) == [] print(f'mem0ai={version("mem0ai")}: real direct Qdrant data payload, MiniLM search, top_k=1 and tenant isolation PASS') client.vector_store.client.close() client.db.connection.close() asyncio.run(main()) ``` Observed exit 0: `mem0ai=2.2.1: real direct Qdrant data payload, MiniLM search, top_k=1 and tenant isolation PASS`. This uses the genuine local embedder in place of OpenAI transport; it executes Headroom's actual direct Qdrant write and Mem0 search methods. </details> <details> <summary>Real StateGraph / Headroom compression / checkpoint: complete diagnostic</summary> The optional `HEADROOM_REVIEW_NATIVE_CORE` variable lets an existing compatible native extension be reused. The Windows review pointed it to an already-built local `_core.pyd`; with a normally built Headroom checkout, leave it unset. This review did not qualify a fresh native build. ```python import importlib.util import json import os import sys from importlib.metadata import version import headroom if os.environ.get('HEADROOM_REVIEW_NATIVE_CORE'): spec = importlib.util.spec_from_file_location('headroom._core', os.environ['HEADROOM_REVIEW_NATIVE_CORE']) native = importlib.util.module_from_spec(spec) sys.modules['headroom._core'] = native spec.loader.exec_module(native) headroom._core = native from langchain_core.messages import HumanMessage, AIMessage, ToolMessage from langgraph.graph import StateGraph, MessagesState, START, END from langgraph.checkpoint.memory import InMemorySaver from headroom.integrations.langchain.langgraph import create_compress_tool_messages_node content = json.dumps([{'id': i, 'status': 'healthy', 'region': 'us-east-1', 'latency_ms': i % 11, 'detail': 'routine health check'} for i in range(300)]) observed = {} compress = create_compress_tool_messages_node(min_tokens_to_compress=100) def agent(state): return {'messages': [AIMessage(content='', tool_calls=[{'name': 'health', 'args': {}, 'id': 'call-1'}])]} def tool(state): return {'messages': [ToolMessage(content=content, tool_call_id='call-1', name='health')]} def compression(state): out = compress(state) tools = [m for m in out['messages'] if isinstance(m, ToolMessage)] observed['after'] = len(tools[-1].content) assert observed['after'] < len(content), observed return out graph = StateGraph(MessagesState) graph.add_node('agent', agent) graph.add_node('tools', tool) graph.add_node('compress', compression) graph.add_node('model', lambda state: {'messages': [AIMessage(content='done')]}) graph.add_edge(START, 'agent') graph.add_edge('agent', 'tools') graph.add_edge('tools', 'compress') graph.add_edge('compress', 'model') graph.add_edge('model', END) app = graph.compile(checkpointer=InMemorySaver()) config = {'configurable': {'thread_id': 'review-4614'}} result = app.invoke({'messages': [HumanMessage(content='Check service health')]}, config) assert result['messages'][-1].content == 'done' snapshot = app.get_state(config) assert snapshot.values['messages'][-1].content == 'done' print(f'langgraph={version("langgraph")}; checkpoint={version("langgraph-checkpoint")}; final=done; restored_messages={len(snapshot.values["messages"])}; tool_chars={len(content)} -> {observed["after"]}; PASS') ``` Observed exit 0: `langgraph=1.2.19; checkpoint=4.3.1; final=done; restored_messages=5; tool_chars=32317 -> 13791; PASS`. An isolated baseline environment with langgraph 1.2.11 / checkpoint 4.2.0 / SDK 0.4.6 produced the identical five restored messages and compression sizes, exit 0. Thus the disclosed duplicate ToolMessage behavior is inherited rather than introduced by this upgrade. </details> Additional validation: focused memory/LangGraph suite yielded 674 passed, 3 skipped, 8 failures. All eight failures reproduced on current main `74277d47ecfbca349ddb99f81094c4dd30539d43`: six optional embedding/configuration failures and two Windows/POSIX-path assumptions. `uv lock --check --offline` and whitespace verification passed. Required current-head GitHub checks were all successful when this review was submitted. Limits: local embedded Qdrant; no real OpenAI inference or Neo4j graph path. Optional spaCy models were absent and Mem0 emitted warnings. Full lock/native rebuild and live cloud infrastructure were not exercised by these independent diagnostics. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
be456d4e3f
commit
7e0094d6c8
@@ -315,6 +315,7 @@ class DirectMem0Adapter:
|
||||
|
||||
# Build metadata payload
|
||||
payload = {
|
||||
"data": fact, # the key Mem0 search reads; points without it are skipped
|
||||
"memory": fact,
|
||||
"user_id": user_id,
|
||||
"importance": importance,
|
||||
@@ -811,8 +812,8 @@ class DirectMem0Adapter:
|
||||
results = await asyncio.to_thread(
|
||||
self._mem0_client.search,
|
||||
query=query,
|
||||
user_id=user_id,
|
||||
limit=top_k,
|
||||
filters={"user_id": user_id},
|
||||
top_k=top_k,
|
||||
)
|
||||
|
||||
search_results: list[MemorySearchResult] = []
|
||||
|
||||
@@ -377,21 +377,13 @@ class Mem0Backend:
|
||||
"""
|
||||
client = await self._ensure_client()
|
||||
|
||||
# Build search kwargs
|
||||
search_kwargs: dict[str, Any] = {
|
||||
"query": query,
|
||||
"limit": limit,
|
||||
}
|
||||
|
||||
# Mem0 2.0.18 requires search identity scopes inside filters.
|
||||
# Mem0 2.x reads identity scopes from filters and the limit as top_k.
|
||||
filters = self._build_mem0_filters(filter) if filter else {}
|
||||
if user_id:
|
||||
filters["user_id"] = user_id
|
||||
if filters:
|
||||
search_kwargs["filters"] = filters
|
||||
|
||||
# Execute search
|
||||
results = await asyncio.to_thread(client.search, **search_kwargs)
|
||||
results = await asyncio.to_thread(client.search, query=query, top_k=limit, filters=filters)
|
||||
|
||||
# Convert results to VectorSearchResult objects
|
||||
search_results: list[VectorSearchResult] = []
|
||||
|
||||
+2
-2
@@ -165,7 +165,7 @@ vector = [
|
||||
]
|
||||
# Qdrant + Neo4j memory backend helpers
|
||||
memory-stack = [
|
||||
"mem0ai>=2.0.0,<3.0",
|
||||
"mem0ai>=2.0.18,<3.0",
|
||||
"qdrant-client>=1.9.0,<2.0",
|
||||
"neo4j>=5.20.0,<7.0",
|
||||
]
|
||||
@@ -241,7 +241,7 @@ langchain = [
|
||||
langgraph = [
|
||||
"langchain-core>=1.3.3,<4.0",
|
||||
"langchain-openai>=1.1.14,<2.0",
|
||||
"langgraph>=1.0,<2.0",
|
||||
"langgraph>=1.2.14,<2.0",
|
||||
]
|
||||
# Agno agent framework integration
|
||||
agno = [
|
||||
|
||||
@@ -332,3 +332,21 @@ async def test_get_memory_survives_an_out_of_range_errno(level: int) -> None:
|
||||
assert any(r.levelno == logging.DEBUG for r in records) is (level == logging.DEBUG)
|
||||
for record in records:
|
||||
logging.Formatter().format(record)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_search_scopes_by_user_through_filters() -> None:
|
||||
"""Mem0 2.x raises ValueError on a top-level user_id, so scope must go through filters."""
|
||||
adapter = _adapter()
|
||||
adapter._ensure_initialized = AsyncMock() # type: ignore[method-assign]
|
||||
adapter._mem0_client = MagicMock()
|
||||
adapter._mem0_client.search.return_value = {
|
||||
"results": [{"id": "m1", "memory": "Uses Rust", "score": 0.9}]
|
||||
}
|
||||
|
||||
results = await adapter.search_memories(query="language", user_id="u1", top_k=2)
|
||||
|
||||
adapter._mem0_client.search.assert_called_once_with(
|
||||
query="language", filters={"user_id": "u1"}, top_k=2
|
||||
)
|
||||
assert [r.memory.content for r in results] == ["Uses Rust"]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
version = 1
|
||||
revision = 5
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
resolution-markers = [
|
||||
"python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
|
||||
@@ -1463,7 +1463,7 @@ all = [
|
||||
{ name = "orjson", marker = "platform_python_implementation != 'PyPy'" },
|
||||
{ name = "pillow" },
|
||||
{ name = "python-socks" },
|
||||
{ name = "rapidocr", marker = "python_full_version == '3.13.*' or (python_full_version >= '3.14' and platform_machine != 'x86_64') or (python_full_version >= '3.14' and sys_platform != 'darwin')" },
|
||||
{ name = "rapidocr", marker = "(python_full_version >= '3.13' and platform_machine != 'x86_64') or (python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin') or (python_full_version >= '3.13' and sys_platform != 'darwin')" },
|
||||
{ name = "rapidocr-onnxruntime", marker = "python_full_version < '3.13'" },
|
||||
{ name = "scikit-learn" },
|
||||
{ name = "sentence-transformers", marker = "platform_machine != 'x86_64' or sys_platform != 'darwin'" },
|
||||
@@ -1539,7 +1539,7 @@ image = [
|
||||
{ name = "onnxruntime", version = "1.23.2", source = { registry = "https://pypi.org/simple/" }, marker = "python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'" },
|
||||
{ name = "onnxruntime", version = "1.26.0", source = { registry = "https://pypi.org/simple/" }, marker = "(python_full_version >= '3.13' and platform_machine != 'x86_64') or (python_full_version >= '3.13' and sys_platform != 'darwin')" },
|
||||
{ name = "pillow" },
|
||||
{ name = "rapidocr", marker = "python_full_version == '3.13.*' or (python_full_version >= '3.14' and platform_machine != 'x86_64') or (python_full_version >= '3.14' and sys_platform != 'darwin')" },
|
||||
{ name = "rapidocr", marker = "(python_full_version >= '3.13' and platform_machine != 'x86_64') or (python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin') or (python_full_version >= '3.13' and sys_platform != 'darwin')" },
|
||||
{ name = "rapidocr-onnxruntime", marker = "python_full_version < '3.13'" },
|
||||
{ name = "sentencepiece" },
|
||||
]
|
||||
@@ -1745,13 +1745,13 @@ requires-dist = [
|
||||
{ name = "langchain-ollama", marker = "extra == 'dev'", specifier = ">=0.2.0" },
|
||||
{ name = "langchain-openai", marker = "extra == 'langchain'", specifier = ">=1.1.14,<2.0" },
|
||||
{ name = "langchain-openai", marker = "extra == 'langgraph'", specifier = ">=1.1.14,<2.0" },
|
||||
{ name = "langgraph", marker = "extra == 'langgraph'", specifier = ">=1.0,<2.0" },
|
||||
{ name = "langgraph", marker = "extra == 'langgraph'", specifier = ">=1.2.14,<2.0" },
|
||||
{ name = "litellm", specifier = ">=1.96.2,<2.0" },
|
||||
{ name = "litellm", marker = "extra == 'dev'", specifier = ">=1.96.2,<2.0" },
|
||||
{ name = "magika", marker = "(python_full_version < '3.14' and extra == 'proxy') or (platform_machine != 'x86_64' and extra == 'proxy') or (sys_platform != 'darwin' and extra == 'proxy')", specifier = ">=0.6.0" },
|
||||
{ name = "mcp", marker = "extra == 'mcp'", specifier = ">=1.30.0,<2.0.0" },
|
||||
{ name = "mcp", marker = "extra == 'proxy'", specifier = ">=1.30.0,<2.0.0" },
|
||||
{ name = "mem0ai", marker = "extra == 'memory-stack'", specifier = ">=2.0.0,<3.0" },
|
||||
{ name = "mem0ai", marker = "extra == 'memory-stack'", specifier = ">=2.0.18,<3.0" },
|
||||
{ name = "mypy", marker = "extra == 'dev'", specifier = ">=1.0.0" },
|
||||
{ name = "neo4j", marker = "extra == 'memory-stack'", specifier = ">=5.20.0,<7.0" },
|
||||
{ name = "numpy", marker = "extra == 'dev'", specifier = ">=1.24.0" },
|
||||
@@ -1760,9 +1760,9 @@ requires-dist = [
|
||||
{ name = "ollama", marker = "extra == 'dev'", specifier = ">=0.4.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version >= '3.11' and platform_machine != 'x86_64' and extra == 'proxy') or (python_full_version >= '3.11' and sys_platform != 'darwin' and extra == 'proxy')", specifier = ">=1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version >= '3.11' and platform_machine != 'x86_64' and extra == 'voice') or (python_full_version >= '3.11' and sys_platform != 'darwin' and extra == 'voice')", specifier = ">=1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version >= '3.11' and python_full_version < '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'proxy') or (python_full_version < '3.11' and extra == 'proxy')", specifier = ">=1.16.0,<1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version >= '3.11' and python_full_version < '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'voice') or (python_full_version < '3.11' and extra == 'voice')", specifier = ">=1.16.0,<1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version >= '3.14' and platform_machine != 'x86_64' and extra == 'image') or (python_full_version >= '3.14' and sys_platform != 'darwin' and extra == 'image') or (python_full_version == '3.13.*' and extra == 'image')", specifier = ">=1.7,<2" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version < '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'proxy') or (python_full_version < '3.11' and platform_machine != 'x86_64' and extra == 'proxy') or (python_full_version < '3.11' and sys_platform != 'darwin' and extra == 'proxy')", specifier = ">=1.16.0,<1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version < '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'voice') or (python_full_version < '3.11' and platform_machine != 'x86_64' and extra == 'voice') or (python_full_version < '3.11' and sys_platform != 'darwin' and extra == 'voice')", specifier = ">=1.16.0,<1.24.0" },
|
||||
{ name = "onnxruntime", marker = "(python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'image') or (python_full_version >= '3.13' and platform_machine != 'x86_64' and extra == 'image') or (python_full_version >= '3.13' and sys_platform != 'darwin' and extra == 'image')", specifier = ">=1.7,<2" },
|
||||
{ name = "openai", marker = "extra == 'dev'", specifier = ">=1.0.0" },
|
||||
{ name = "openai", marker = "extra == 'evals'", specifier = ">=1.0.0" },
|
||||
{ name = "openai", marker = "extra == 'proxy'", specifier = ">=2.14.0" },
|
||||
@@ -1783,7 +1783,7 @@ requires-dist = [
|
||||
{ name = "python-socks", extras = ["asyncio"], marker = "extra == 'proxy'", specifier = ">=2.7.1" },
|
||||
{ name = "pyyaml", specifier = ">=6.0" },
|
||||
{ name = "qdrant-client", marker = "extra == 'memory-stack'", specifier = ">=1.9.0,<2.0" },
|
||||
{ name = "rapidocr", marker = "(python_full_version >= '3.14' and platform_machine != 'x86_64' and extra == 'image') or (python_full_version >= '3.14' and sys_platform != 'darwin' and extra == 'image') or (python_full_version == '3.13.*' and extra == 'image')", specifier = ">=3.0,<4" },
|
||||
{ name = "rapidocr", marker = "(python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'image') or (python_full_version >= '3.13' and platform_machine != 'x86_64' and extra == 'image') or (python_full_version >= '3.13' and sys_platform != 'darwin' and extra == 'image')", specifier = ">=3.0,<4" },
|
||||
{ name = "rapidocr-onnxruntime", marker = "python_full_version < '3.13' and extra == 'image'", specifier = ">=1.4.0,<2" },
|
||||
{ name = "redis", marker = "extra == 'redis'", specifier = ">=5.0.0" },
|
||||
{ name = "respx", marker = "extra == 'dev'", specifier = ">=0.20.0" },
|
||||
@@ -2251,7 +2251,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langgraph"
|
||||
version = "1.2.11"
|
||||
version = "1.2.19"
|
||||
source = { registry = "https://pypi.org/simple/" }
|
||||
dependencies = [
|
||||
{ name = "langchain-core" },
|
||||
@@ -2261,22 +2261,22 @@ dependencies = [
|
||||
{ name = "pydantic" },
|
||||
{ name = "xxhash" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/56/0d/c8e7ee98896659e1b6555db0ab115a9ca899844744645d5d894032bab1d7/langgraph-1.2.11.tar.gz", hash = "sha256:9ecfe11e50d338b34b15cf4d8a442642de103e8ae6971320efba84e4542eb363", size = 725753, upload-time = "2026-08-11T14:00:36.945Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/ba/10/329dc49ce3fc40e36faafd407f08607fe3fab75613e709a66758b53faac2/langgraph-1.2.19.tar.gz", hash = "sha256:4a00fa1aad2b5fc2d3a789a8e9eaf993f76218ca924b434902ecf1bbaaf300f6", size = 782618, upload-time = "2026-10-30T22:23:32.962Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/0a/7f/c5c30e4be99ff821029c7ac872a480676bb179c9f3df85ea3f38d13f86d4/langgraph-1.2.11-py3-none-any.whl", hash = "sha256:8bab70de7b2d00b5300fb289bcf38d8b241400f3184c1e95e8ce706fb0e8686b", size = 248854, upload-time = "2026-08-11T14:00:35.494Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d7/9e/bd29e368fb16feea8d24270d377d56c34b49afea371717124f19cdfa890c/langgraph-1.2.19-py3-none-any.whl", hash = "sha256:6094a5cbed52a77d8c74c276fcd2056abde7b2836eab1c7a6b74bacbd1a269b3", size = 262285, upload-time = "2026-10-30T22:23:31.334Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "langgraph-checkpoint"
|
||||
version = "4.2.0"
|
||||
version = "4.3.1"
|
||||
source = { registry = "https://pypi.org/simple/" }
|
||||
dependencies = [
|
||||
{ name = "langchain-core" },
|
||||
{ name = "ormsgpack" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/dc/e1/089c4c9e0a2fec7f883f82ae8e6a727138d50074cfeb6644bc2d13b1019b/langgraph_checkpoint-4.2.0.tar.gz", hash = "sha256:51a593b6bee684b0818e5d6e58e28ab340c6db7794575056ce7bd1b746a84ed7", size = 180239, upload-time = "2026-08-07T20:05:03.756Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/f0/c4/f4107f50dd07169d08d95766cd69104231e694f44a1b25b68ad8b393712d/langgraph_checkpoint-4.3.1.tar.gz", hash = "sha256:625e7c78a72b33e7c47f7e87ca051060fb90aa66f5fd551c472c08376fb669cb", size = 182679, upload-time = "2026-10-26T19:57:31.416Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/05/71/3b475f09bd57d3a5649792c66353312b4432afd843f301739dfcebd157f0/langgraph_checkpoint-4.2.0-py3-none-any.whl", hash = "sha256:0547fd228935a0b758865de3a3d6d7a2537c308895d0f9ab092ce9151b5da942", size = 56833, upload-time = "2026-08-07T20:05:02.655Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f3/40/4251d676b5c585d42175c901175d4bff56e22939625e18bcef781fc3e893/langgraph_checkpoint-4.3.1-py3-none-any.whl", hash = "sha256:215a826935c8db4d9676e79fd95943e5b3847d78604390898e1d98581cc594e5", size = 58093, upload-time = "2026-10-26T19:57:30.361Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2294,7 +2294,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langgraph-sdk"
|
||||
version = "0.4.6"
|
||||
version = "0.4.11"
|
||||
source = { registry = "https://pypi.org/simple/" }
|
||||
dependencies = [
|
||||
{ name = "httpx" },
|
||||
@@ -2303,9 +2303,9 @@ dependencies = [
|
||||
{ name = "orjson" },
|
||||
{ name = "websockets" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/78/85/54edf4902c0378510f09a009f64e3d3f5644aeeb51d13cf67ec380a5245b/langgraph_sdk-0.4.6.tar.gz", hash = "sha256:ea5b1749d70987d741c9b9fe2b7e1c5f7da7e4d102f64e390333c1890c9bbd5b", size = 350632, upload-time = "2026-10-06T14:17:53.641Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/64/a8/d5807df5976f2b8e181baddbddf857cc0ba501bba274e81711b10385c65b/langgraph_sdk-0.4.11.tar.gz", hash = "sha256:2550af3bc7cb78ac4facb97d141ec1a76568fa3eb3d29040cff70b45bda84740", size = 366656, upload-time = "2026-10-30T22:17:49.202Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/6c/c7/69d13026db3577c157877dea47a9dc5fffd3dcde2d1ab8009fa8f7e5f6a6/langgraph_sdk-0.4.6-py3-none-any.whl", hash = "sha256:57122b02bda41d37a97a5e09eb018aa8c9b3dc85c433880073779bd9324b7eea", size = 162390, upload-time = "2026-10-06T14:17:52.134Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/01/88/69899bb20b96b80468e98b90377e605c36658125e7e7fba401868a86138e/langgraph_sdk-0.4.11-py3-none-any.whl", hash = "sha256:6a65be4a8f825966a07317b8e34e3337cd227b9b58b185f0123fd13c3d0116fa", size = 169311, upload-time = "2026-10-30T22:17:47.96Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2759,7 +2759,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "mem0ai"
|
||||
version = "2.0.18"
|
||||
version = "2.2.1"
|
||||
source = { registry = "https://pypi.org/simple/" }
|
||||
dependencies = [
|
||||
{ name = "httpx" },
|
||||
@@ -2771,9 +2771,9 @@ dependencies = [
|
||||
{ name = "qdrant-client" },
|
||||
{ name = "sqlalchemy" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/50/42/00de525fc6a4ec4a6bddb180356e7a1587179cfb12e37953075bc7751328/mem0ai-2.0.18.tar.gz", hash = "sha256:7dfd23b119448fe631f2a20c025eeaee2bb2fb28b155e18b791486d2aa01896f", size = 248611, upload-time = "2026-08-11T18:58:00.363Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/08/28/151a796111f90017ec09b052ac09a55e7b3ae5e976542f38f35c54270f8e/mem0ai-2.2.1.tar.gz", hash = "sha256:099a7d58368908d0a05a633c5da3920f607a57db00d4f168800de05966b2a4a8", size = 256091, upload-time = "2026-09-25T17:36:09.406Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/09/eb/733a2c405f2890bbdbb32294f9fa9a4b248f0b7e91378821482caf02c5c4/mem0ai-2.0.18-py3-none-any.whl", hash = "sha256:2c20c78dec21c512e1daf6b7c2cacc306cb34eaab7dd24c2edc81b71386b0a10", size = 344386, upload-time = "2026-08-11T18:57:58.616Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/aa/48/7051dd9009232802c11a4c4d9e58ea32968c8e076ea79e2e8a6d243e49b3/mem0ai-2.2.1-py3-none-any.whl", hash = "sha256:fe91bb91ac8926231993a4aa58df00a60c6c74c709e6a338fe399500776eef4d", size = 351907, upload-time = "2026-09-25T17:36:07.48Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in New Issue
Block a user