@blackbelt-technology/pi-dashboard-document-converter 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/engine/Dockerfile +5 -1
- package/package.json +2 -2
package/engine/Dockerfile
CHANGED
|
@@ -44,7 +44,11 @@ RUN npm install -g @mermaid-js/mermaid-cli @the-focus-ai/nano-banana \
|
|
|
44
44
|
/opt/chrome-headless-shell
|
|
45
45
|
|
|
46
46
|
# --- Python engine deps (docling pulls OCR/ML model libs) ---
|
|
47
|
-
|
|
47
|
+
# CPU-only torch FIRST: the default torch wheel bundles ~3.4GB of CUDA/triton
|
|
48
|
+
# GPU libs that are dead weight in this CPU-only container. Installing the CPU
|
|
49
|
+
# build up front satisfies docling/easyocr's torch dep without the nvidia stack.
|
|
50
|
+
RUN pip install --index-url https://download.pytorch.org/whl/cpu torch torchvision \
|
|
51
|
+
&& pip install \
|
|
48
52
|
"docling" \
|
|
49
53
|
"python-docx>=1.0.0" "python-pptx>=0.6.23" "openpyxl>=3.1" \
|
|
50
54
|
"pypandoc>=1.11" "Pillow>=10.0.0" \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blackbelt-technology/pi-dashboard-document-converter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "TypeScript facade over a Dockerized Python document engine (pi-doc-engine). Bidirectional: ingest any format to provenance-stamped Markdown for kb, produce templated DOCX/PDF with diagrams. Engine quarantined in Docker; TS is the only call surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "vitest run"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@blackbelt-technology/pi-dashboard-shared": "^0.
|
|
33
|
+
"@blackbelt-technology/pi-dashboard-shared": "^0.7.0"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|