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
feat(core): add core process management
Steven Enamakel446caeeb2763
diff --git a/crates/openhuman-app/src/core_process.rs b/crates/openhuman-app/src/core_process.rsindex d24142b375..09c58dc0d2 100644--- a/crates/openhuman-app/src/core_process.rs+++ b/crates/openhuman-app/src/core_process.rs@@ -95,8 +95,8 @@ impl CoreProcessHandle {pub fn new(port: u16) -> Self {// CURRENT_RPC_TOKEN is intentionally NOT set here. It is published by// ensure_running() only after the embedded server has been spawned- // with this token handed over via the in-memory `rpc_token` arg of- // `run_server_embedded_with_ready`. Setting it here would advertise+ // with this token handed over in memory (`DesktopOptions::rpc_token`+ // of `openhuman_rpc::host::desktop`). Setting it here would advertise// a token that an existing process listening on the port (the// harness-attach fast-path) has never seen, causing 401s on every// authenticated call.diff --git a/crates/openhuman-app/src/core_process_tests.rs b/crates/openhuman-app/src/core_process_tests.rsindex c0edfa5873..94264434b4 100644--- a/crates/openhuman-app/src/core_process_tests.rs+++ b/crates/openhuman-app/src/core_process_tests.rs@@ -102,8 +102,8 @@ fn ready_signal_updates_runtime_port_and_fallback_notice() {/// Regression: `ensure_running` must NOT publish the per-launch RPC bearer/// to the `OPENHUMAN_CORE_TOKEN` environment variable.///-/// The bearer is now handed to the in-process core in-memory via the-/// `rpc_token` argument of `run_server_embedded_with_ready`; setting it on+/// The bearer is now handed to the in-process core in-memory via+/// `DesktopOptions::rpc_token` of `openhuman_rpc::host::desktop`; setting it on/// the process env would put it within reach of any same-UID process/// reading `/proc/<pid>/environ` (Linux) or `sysctl KERN_PROCARGS2` //// `ps eww -p <pid>` (macOS).