capacitor-agent-os
v0.2.4
Published
Standalone Rust-backed Capacitor plugin for taint tracking and tamper-evident agent audit trails.
Maintainers
Readme
capacitor-agent-os
Standalone Rust-backed Capacitor plugin for taint tracking, tamper-evident audit trails, loop guard, capability manager, model router, memory decay, knowledge store, session repair, and scoring.
Cloning this repository
The Rust FFI crate lives in a separate GitLab repository and is pulled in as a git submodule. After cloning:
git submodule update --init --recursiveUpstream URL: https://gitlab.k8s.t6x.io/rruiz/agent-os-ffi
Building the native binaries
Android
scripts/build-android.shRuns cargo ndk -t arm64-v8a build --release on the submodule, copies libagent_os_ffi.so into android/src/main/jniLibs/arm64-v8a/, and regenerates the Kotlin UniFFI bindings.
iOS
scripts/build-ios.shCross-compiles for aarch64-apple-ios + -sim and assembles ios/Frameworks/AgentOsFFI.xcframework.
E2E tests
cd example
npm install
npm run sync:android
node test-e2e-android.mjsRuns the full 90-test harness on an ADB-connected Android device.
License
MIT
