feat: агентный путь (Docker sandbox) — паритет по форматам .xls/.doc/OCR
Паритет agent-пути с GLM: read_xlsx_sheet читает .xls через xlrd; в образ песочницы добавлены catdoc (.doc), tesseract-ocr+rus (OCR PDF), xlrd/pytesseract/pillow (pip). parse_gsfx_file/parse_arp_file уже доступны агенту (gge_tools/smeta_mcp монтируются). Образ smeta-claude-sandbox пересобран. Real-тест: read_xlsx_sheet(.xls) в песочнице → 1926 строк. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+5
-2
@@ -1,13 +1,16 @@
|
||||
FROM node:22-slim
|
||||
|
||||
# Python + libs for file processing + smeta-railway deps
|
||||
# catdoc — старые .doc (OLE2); tesseract-ocr + rus — OCR PDF-сканов
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3 python3-pip python3-venv && \
|
||||
python3 python3-pip python3-venv \
|
||||
catdoc tesseract-ocr tesseract-ocr-rus && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install --break-system-packages --no-cache-dir \
|
||||
openpyxl python-docx pymupdf pandas \
|
||||
faiss-cpu pyyaml pydantic typer openai rank-bm25
|
||||
faiss-cpu pyyaml pydantic typer openai rank-bm25 \
|
||||
xlrd pytesseract pillow
|
||||
|
||||
# Claude Code CLI
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
Reference in New Issue
Block a user