This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
chaim 3fa0775ffe feat(legal-aid): add /api/legal-aid/parse-pdf-report endpoint
Ports the pdfplumber-based parser from the (currently inactive) n8n
workflow legal-aid-report-ingest.json so EspoCRM's GreenInvoiceBilling
extension can do manual upload + dry-run preview of monthly Legal Aid
payment reports without depending on n8n being live.

Auth: X-Api-Key (matches admin_kb pattern).
Response shape: same JSON the existing LegalAidPaymentReportService
ingest pipeline expects, so the EspoCRM controller can hand it
straight back to ::ingest($payload, $pdf, dryRun=true).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 10:56:25 +00:00

33 lines
710 B
TOML

[project]
name = "shira-hermes"
version = "0.3.0"
description = "Shira AI Assistant — Hermes Agent backend for EspoCRM SmartAssistant"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"httpx>=0.27.0",
"pydantic>=2.10.0",
"openai>=1.50.0",
"pyyaml>=6.0",
"pymupdf>=1.24.0",
"pdfplumber>=0.11.0",
"asyncpg>=0.30.0",
"python-docx>=1.1.2",
"boto3>=1.35.0",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24.0",
]
[tool.hatch.build.targets.wheel]
packages = ["api", "mcp_server"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"