-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (106 loc) · 3.64 KB
/
Copy pathpyproject.toml
File metadata and controls
115 lines (106 loc) · 3.64 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pinky-ai"
version = "0.1.0"
description = "A personal AI companion framework powered by Claude Code"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Brad Brockman", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"mcp>=1.27,<2.0",
"pydantic>=2.12",
"pyyaml>=6.0",
"numpy>=2.2",
"openai>=2.30",
# Indexed vector search for pinky-memory (vec0 virtual table). Without it
# the store falls back to an O(n) numpy cosine scan — correct but slower.
# The store loads it via sqlite3 load_extension and degrades gracefully if
# absent, so this is a performance dependency, not a hard requirement.
"sqlite-vec>=0.1.9",
"httpx>=0.28",
"fastapi>=0.135",
"uvicorn>=0.44",
"websockets>=15.0",
"claude-agent-sdk>=0.2.129,<0.3",
"Pillow>=10.0",
# Federation crypto (sealed_box_v1): X25519, Ed25519, HKDF, XChaCha20-Poly1305.
"cryptography>=41.0",
"pynacl>=1.5",
# Per-agent service-auth identity (pinky_identity): RFC 9421 HTTP Message
# Signatures over Ed25519. `requests` is the canonical message type for
# http-message-signatures and is already a transitive dependency.
"http-message-signatures>=2.0",
"requests>=2.32",
# Slack Socket Mode is a daemon runtime path, so clean base installs must
# include its SDK and async transport without relying on an optional extra.
"slack-sdk>=3.0",
"aiohttp>=3.9",
]
[project.optional-dependencies]
acp = ["agent-client-protocol>=0.11,<0.12", "httpx"]
telegram = ["python-telegram-bot[webhooks]>=21.0"]
discord = ["discord.py>=2.3"]
# Backward-compatible no-op while hosts migrate off `uv run --extra slack`.
slack = []
google = ["google-auth>=2.0", "google-api-python-client>=2.0"]
calendar = [
"google-api-python-client>=2.0",
"google-auth>=2.0",
"google-auth-oauthlib>=1.0",
"google-auth-httplib2>=0.2",
"caldav>=1.3",
"icalendar>=5.0",
"cryptography>=41.0",
]
web = ["camoufox>=0.4", "markdownify>=1.0", "beautifulsoup4>=4.12"]
voice = ["twilio>=9.0", "anthropic>=0.98"]
local-embeddings = ["sentence-transformers>=2.0"]
all = [
"pinky-ai[telegram,discord,slack,google,calendar,voice]",
]
dev = [
"pytest>=9.0",
"pytest-asyncio>=1.0",
"ruff>=0.11",
]
[project.scripts]
pinky = "pinky_cli.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["src/pinky_memory", "src/pinky_outreach", "src/pinky_messaging", "src/pinky_daemon", "src/pinky_cli", "src/pinky_self", "src/pinky_calendar", "src/pinky_hub", "src/pinky_web", "src/pinky_federation", "src/pinky_identity"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
# E501 (line-too-long) tracked as cleanup backlog — don't block CI on cosmetic length.
# Width is still enforced at 100 for formatters.
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# Mock classes in tests legitimately use PascalCase (e.g. `MockAdapter = ...`).
"tests/*" = ["N806"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.8",
]