The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed scripts/modules/stage-local-modules.sh,scripts/test-rust-with-mock.sh
Steven Enamakela74821310b94
diff --git a/scripts/modules/stage-local-modules.sh b/scripts/modules/stage-local-modules.shindex 071323fca1..5ac32385a7 100644--- a/scripts/modules/stage-local-modules.sh+++ b/scripts/modules/stage-local-modules.sh@@ -6,8 +6,7 @@# the registry-pinned archive, verifies its sha256 and puts it on# OPENHUMAN_MODULE_PATH. Source-built modules: with OPENHUMAN_MODULE_SOURCE=source,# `stage_source_modules <id>...` builds them from the vendored submodules with-# scripts/modules/build.mjs and exports OPENHUMAN_MODULE_SOURCE_DIR plus the-# search path. tinyconnectors has no test release, so it is always built.+# scripts/modules/build.mjs. tinyconnectors has no test release, so it is always built.## Needs REPO_ROOT, module_ext and wallet_platform (or module_platform) set by the caller.@@ -37,10 +36,12 @@ stage_release_module() {printf '%s\n' "$dir"}-# stage_source_modules <id>... : build from the pinned submodules and eval the-# exports. OPENHUMAN_MODULE_PATH then carries every built directory.+# stage_source_modules <id>... : build from the pinned submodules into the+# default out dir (target/module-sources/<id>/). The runners put the directories+# they want on OPENHUMAN_MODULE_PATH themselves, so a module is visible only to+# the processes meant to see it. build.mjs prints its exports; they are dropped+# here on purpose (OPENHUMAN_MODULE_SOURCE_<ID> would switch a module on for+# every suite).stage_source_modules() {- local exports- exports="$(node "$REPO_ROOT/scripts/modules/build.mjs" "$@" --print-env)" || return 1- eval "$exports"+ node "$REPO_ROOT/scripts/modules/build.mjs" "$@" >/dev/null}diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.shindex 4b0ff6dc61..3fe3a8ec73 100755--- a/scripts/test-rust-with-mock.sh+++ b/scripts/test-rust-with-mock.sh@@ -202,17 +202,12 @@ fi# Build the source modules in one call. The connector directory goes only on# the processes that exercise it: most Composio raw-coverage groups explicitly# test the absent-module path.-path_before_sources="${OPENHUMAN_MODULE_PATH:-}"stage_source_modules "${local_source_ids[@]}"connectors_dir="$REPO_ROOT/target/module-sources/tinyconnectors"-if [ -n "$path_before_sources" ]; then- export OPENHUMAN_MODULE_PATH="$path_before_sources"-else- unset OPENHUMAN_MODULE_PATH-fifor source_id in "${local_source_ids[@]}"; do- [ "$source_id" = tinyconnectors ] && continue- export OPENHUMAN_MODULE_PATH="$REPO_ROOT/target/module-sources/$source_id${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"+ if [ "$source_id" != tinyconnectors ]; then+ export OPENHUMAN_MODULE_PATH="$REPO_ROOT/target/module-sources/$source_id${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"+ fidoneconnectors_module_path="$connectors_dir${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"