refactor(core): migrate to Bun and converge acquisition policies and Agent boundaries

This commit is contained in:
root committed 2026-10-13 14:37:03 +08:00
1 parent 3f1c6d02f6
commit 27c0f27434
268 files changed
+7468 -7852

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
[ "$(uname -s)" = Linux ] || { echo '解析沙箱目前需要 Linux seccomp' >&2; exit 1; }
mkdir -p dist
cc -O2 -fPIC -shared -Wall -Wextra -Werror -Wno-unused-parameter \
-I "${NODE_INCLUDE_DIR:-/usr/include/node}" \
apps/server/src/sandbox/native/policy.c -o dist/sandbox-policy.node