sunholo/external_backend
Generic wrapper around std/process.exec for JSON-on-stdout backends (PDF parsers, OCR, embedders, classifiers). Returns Result[Json, BackendError] with ExecFailed/NonZeroExit/InvalidJson variants carrying exit code + stderr. Pure formatError and describeProcessError helpers for logging; describeProcessError renders each std/process failure (timeout duration, output-byte limit, kill signal, PATH miss) rather than collapsing them into one string. Confines the Process effect so callers stay effect-thin.
| Field | Value |
|---|---|
| Latest | 0.2.0 |
| Stability | experimental |
| Effects | Process, IO |
| Exports | 1 modules |
| Last Updated | 2026-08-31T09:59:12Z |
Exported Modules
- sunholo/external_backend/runner
Dependencies
No dependencies (pure standalone package).
Loading version history from registry...