Encodes the platform contract validated against the live API: - project_id/org_id pinned in request body (query params are ignored) - latest_only=True enforced on every read - metadata.type as the read-time taxonomy (categorization lags ~4h) - NOT filters take a list; delete_all takes query params; fields repeated Includes project config (write-gate instructions, 6 custom categories, decay), verified filter recipes, circuit breaker, session-scoped state, keychain auth, and identity/project resolution. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
30 lines
632 B
TOML
30 lines
632 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mem0-agent"
|
|
version = "0.1.0"
|
|
description = "Coding-agent memory for Claude Code and friends, built on the Mem0 platform"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "Apache-2.0" }
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
keyring = ["keyring>=24"]
|
|
dev = ["pytest>=8", "keyring>=24"]
|
|
|
|
[project.scripts]
|
|
mem0-agent = "mem0_agent.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mem0_agent"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|