071522ea33
Harden summarize_session to chunk + merge long sessions (imported convos can exceed the local model's context), and add summarize_all: idempotent, resumable batch that summarizes every session needing it (skips up-to-date ones), with progress logged to the live log. `lyra-summarize [limit]` CLI. This is the first consolidation stage feeding the profile (semantic memory) and era-rollup tiers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
41 lines
758 B
TOML
41 lines
758 B
TOML
[project]
|
|
name = "lyra"
|
|
version = "0.1.0"
|
|
description = "Persistent, autonomous AI assistant"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"httpx>=0.28.1",
|
|
"numpy>=2.4.5",
|
|
"openai>=2.37.0",
|
|
"python-dotenv>=1.2.2",
|
|
"uvicorn[standard]>=0.34",
|
|
]
|
|
|
|
[project.scripts]
|
|
lyra = "lyra.__main__:main"
|
|
lyra-web = "lyra.web.server:serve"
|
|
lyra-import = "lyra.ingest:main"
|
|
lyra-summarize = "lyra.summary:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"ruff>=0.6",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["lyra"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|