Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (82 loc) · 3.1 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (82 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[project]
name = "layered-memory-mcp"
version = "3.8.1"
description = "Layered Memory MCP Server — Durable common-core memory for AI agents: L0 index, L1 knowledge, TODO and provenance, with deterministic persistence routing"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "LAIguapi" },
]
keywords = ["mcp", "memory", "ai-agent", "knowledge-management", "layered-memory"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fastapi>=0.115.0",
"fastmcp>=2.0.0",
"filelock>=3.0,<4.0",
"fastembed>=0.8.0",
"numpy>=1.24",
# config.py imports yaml at module level, so a missing PyYAML breaks the
# import entirely. It used to arrive transitively (fastembed ->
# huggingface_hub), which made `pip install --no-deps` fail in a clean env.
"PyYAML>=6.0",
]
[project.scripts]
layered-memory-mcp = "layered_memory_mcp.server:main"
layered-memory-migrate = "layered_memory_mcp.migrate:main"
layered-memory-update = "layered_memory_mcp.graph_update:main"
# Fresh initialisation is a separate, explicit operation from migration: it
# refuses any home that already holds memory, so the two can never be confused
# at the command line either.
layered-memory-bootstrap = "layered_memory_mcp.graph_bootstrap:main"
# Seeding the task authority is its own explicit step, for the same reason: the
# tasks a home already holds are real work, and a projection may not rebuild
# them away from a journal that never saw them. Preview by default.
layered-memory-seed-tasks = "layered_memory_mcp.graph_task:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
]
[project.urls]
Homepage = "https://github.com/LAIguapi/layered-memory-mcp"
Repository = "https://github.com/LAIguapi/layered-memory-mcp"
Bug-Tracker = "https://github.com/LAIguapi/layered-memory-mcp/issues"
PyPI = "https://pypi.org/project/layered-memory-mcp/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/layered_memory_mcp"]
artifacts = [
"src/layered_memory_mcp/dashboard_plugin/dist/*",
"src/layered_memory_mcp/dashboard_plugin/*.json",
"src/layered_memory_mcp/write_guard/plugin/*",
]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/README.md",
"/LICENSE",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Run the suite against the working tree, not against whatever copy of the
# package happens to be installed in the active interpreter. Without this the
# suite silently tested an older site-packages snapshot and could not even see
# newly added modules.
pythonpath = ["src"]