Add runtime abstraction and agent loop

Co-authored-by: codegirl007 <codegirl-007@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-17 16:47:22 +00:00
co-authored by codegirl007
parent 54dc5658c6
commit 94146fcae2
17 changed files with 1512 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -eu
root=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
image=agentbox-runtime:local
output="$root/examples/mover/mover"
temporary="$output.tmp"
cleanup() {
rm -f "$temporary"
}
trap cleanup EXIT INT TERM
docker build -q -t "$image" -f "$root/environment/Dockerfile" "$root" >/dev/null
docker run --rm --network=none --entrypoint cat "$image" /opt/agentbox/mover >"$temporary"
chmod 0755 "$temporary"
mv "$temporary" "$output"