@mobrienv/autoloop-backends
v0.7.0
Published
autoloop backend drivers (ACP/kiro bridge, shell command runner)
Readme
@mobrienv/autoloop-backends
Backend drivers for autoloop: the shell-command runner and the Kiro ACP bridge.
A "backend" is the thing that actually executes a loop iteration's prompt. Two flavors ship in this package:
- shell / pi / mock — one-shot
execSyncthroughrunShellCommand. The prompt is either piped on stdin or appended as an argv. Exit code + stdout are mapped onto aBackendRunResult. - kiro — a persistent ACP session held by a worker thread, driven via
SharedArrayBuffer + Atomics from the sync main loop. See
kiro-bridge.ts(main-thread API) andkiro-worker.ts(worker-thread loop).
The harness doesn't know about these internals — it calls:
import {
buildBackendShellCommand,
runBackendCommand,
runKiroIterationSync,
initKiroSession,
terminateKiroSession,
} from "@mobrienv/autoloop-backends";See packages/harness/src/parallel.ts / iteration.ts for wiring examples.
