File size: 920 Bytes
4d5727a
 
 
 
 
12a6c9a
4d5727a
12a6c9a
4d5727a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12a6c9a
4d5727a
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.backends.legacy:build"

[project]
name = "agentcache"
version = "0.9.8"
description = "A Python REST + WebSocket + MCP cache server for AI agents, backed by SQLite"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = [
    "flask>=3.0.0",
    "flask-sock>=0.7.0",
    "requests>=2.31.0",
    "python-dateutil>=2.8.2",
    "huggingface_hub>=0.20.0",
    "websockets>=12.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "hypothesis>=6.100.0",
]
local-embeddings = [
    "sentence-transformers>=2.7.0",
]

[project.scripts]
agentcache = "src.cli:main"

[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]

[tool.setuptools.package-data]
"src.viewer" = ["*.html", "*.svg", "*.js", "*.css"]

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]