-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 2.58 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 2.58 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
90
91
92
93
94
95
96
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "kimi-mneme"
version = "2.0.24"
description = "Persistent memory plugin for Kimi Code CLI"
readme = "README.md"
license = { text = "AGPL-3.0" }
requires-python = ">=3.10"
authors = [
{ name = "kimi-mneme contributors" }
]
keywords = ["kimi", "kimi-cli", "kimi-plugin", "kimi-plugins", "cli", "memory", "ai", "agent", "plugin", "moonshot", "kimi-code-cli", "persistent-memory", "context", "coding-assistant"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"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 :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fastapi>=0.110.0",
"uvicorn[standard]>=0.29.0",
"websockets>=12.0",
"sqlite-vec>=0.1.0",
"numpy>=1.24.0",
"httpx>=0.27.0",
"pydantic>=2.6.0",
"loguru>=0.7.0",
"python-dotenv>=1.0.0",
"click>=8.1.0",
"watchdog>=6.0.0",
"winloop>=0.1.0; platform_system=='Windows'",
"fastmcp>=3.2.0",
]
[project.optional-dependencies]
embeddings = [
"sentence-transformers>=2.6.0",
]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"black>=24.0.0",
"ruff>=0.3.0",
"mypy>=1.9.0",
"build>=1.1.0",
"tree-sitter>=0.25.0",
"tree-sitter-python>=0.25.0",
]
[project.scripts]
mneme = "mneme.cli:main"
[project.urls]
Homepage = "https://github.com/barrelc/kimi-mneme"
Documentation = "https://github.com/barrelc/kimi-mneme#readme"
Repository = "https://github.com/barrelc/kimi-mneme"
Issues = "https://github.com/barrelc/kimi-mneme/issues"
[tool.hatch.build.targets.wheel]
packages = ["mneme", "plugin"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312", "py313"]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["*.js", "mneme/server/static/"]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
per-file-ignores = { "hooks/*.py" = ["E402"], "plugin/tools/*.py" = ["E402"] }
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --tb=short"