Skip to main content

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.

FieldValue
Latest0.2.0
Stabilityexperimental
EffectsProcess, IO
Exports1 modules
Last Updated2026-08-31T09:59:12Z
Exported Modules
  • sunholo/external_backend/runner
Dependencies

No dependencies (pure standalone package).

Loading version history from registry...