Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ classifiers = [
]

dependencies = [
"fastmcp>=4.0.10",
"fastmcp>=4.1.0",
"psycopg[binary,pool]>=3.3.6",
"redis>=8.1.0,<9.0",
"psycopg-pool>=3.3.3",
Expand All @@ -44,27 +44,27 @@ dependencies = [
]

[project.optional-dependencies]
cli = ["typer>=0.27.2", "rich>=15.0.0"]
cli = ["typer>=0.27.3", "rich>=15.0.0"]
tui = ["textual>=8.2.8"]
redis = ["redis>=8.1.0"]
# Local sentence embeddings (PIX-4701). Opt-in because fastembed pulls in
# onnxruntime, whose wheels are large (~200MB) and missing on a few platforms;
# a hard dependency would break installation there. With
# FORESIGHT_EMBEDDING_PROVIDER=auto the server uses this when present, and warns
# loudly before falling back to the dependency-free local-hash embedder.
embeddings = ["fastembed>=0.8.1"]
embeddings = ["fastembed>=0.9.0"]
# Document ingestion (PIX-4704). Opt-in and fully local: pypdf extracts text
# from PDFs, pytesseract+Pillow OCR raster images (also needs the `tesseract`
# binary on PATH). Kept optional so a bare install stays dependency-light.
pdf = ["pypdf>=6.19.0"]
pdf = ["pypdf>=6.20.0"]
ocr = ["pytesseract>=0.3.13", "Pillow>=12.3.0"]
documents = ["foresight[pdf,ocr]"]
all = ["foresight[cli,tui,redis,embeddings,pdf,ocr]"]
dev = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.1.0",
"typer>=0.27.2",
"typer>=0.27.3",
"rich>=15.0.0",
"textual>=8.2.8",
"hatchling>=1.32.4",
Expand Down Expand Up @@ -93,10 +93,10 @@ dev = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.1.0",
"typer>=0.27.2",
"typer>=0.27.3",
"rich>=15.0.0",
"textual>=8.2.8",
"ruff>=0.16.9",
"ruff>=0.17.0",
"bandit>=1.9.4",
"twine>=7.0.0",
]
Expand Down
Loading