feat(file-tool): add djvu conversion and extraction actions

This commit is contained in:
Apple
2026-02-15 03:11:55 -08:00
parent 3a565fd910
commit b2be937fbb
3 changed files with 102 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ Implemented in actual NODE1 stack (`services/router/*` + gateway):
- `pdf_split`
- `pdf_fill`
- `pdf_update`
- `djvu_to_pdf`
- `djvu_extract_text`
- `text_create`
- `text_update`
- `markdown_create`
@@ -95,6 +97,7 @@ For file-producing tool calls, router now propagates:
- `services/router/agent_tools_config.py`
- `services/router/tool_manager.py`
- `services/router/main.py`
- `services/router/Dockerfile`
- `gateway-bot/router_client.py`
- `gateway-bot/http_api.py`
@@ -123,6 +126,8 @@ Run inside `dagi-router-node1` to validate actions deterministically:
- DOCX create/update
- PDF merge/split/fill
- PDF update (rotate/reorder/remove/extract/metadata)
- DJVU to PDF conversion
- DJVU text extraction
- Image create/edit/convert
- Image bundle (zip)
- SVG export + SVG->PNG convert (rect/circle/ellipse/line/polyline/polygon/text)
@@ -146,6 +151,9 @@ Also verify infer endpoint still works:
- `services/router/tool_manager.py.bak_20260215_113301`
- `services/router/tool_manager.py.bak_20260215_114512`
- `services/router/tool_manager.py.bak_20260215_114740`
- `services/router/tool_manager.py.bak_20260215_120912`
- `services/router/Dockerfile.bak_20260215_120912`
- `services/router/tool_manager.py.bak_20260215_121116`
## Rollback (NODE1)
```bash