aio-patch-run
aio-patch-run — exec the compiled patched claude binary
Goal
One-line invocation of the binary built by aio-patch-compile. Same args/env passthrough as claude itself.
Usage
/aio-claude-toolkit:aio-patch-run --version
/aio-claude-toolkit:aio-patch-run -p "Explain X"
/aio-claude-toolkit:aio-patch-run [any-claude-args]
Requires
- Walk-up must find a scaffolded project (
tools/pipeline/patch_cli.pyexists above CWD) dist/<host-arch>/claudemust exist (produced byaio-patch-compile)
Implementation
Invokes ${CLAUDE_PLUGIN_ROOT}/skills/aio-patch-run/scripts/run.sh "$@".
It:
- Walks up from CWD to find the project root
cdto project root- Exec
./tools/run.sh "$@"(pass-through args, host-arch auto-detected)
tools/run.sh (scaffolded by aio-patch-setup) picks the right dist/<host-arch>/claude and exec's it with all arguments and environment passed through.