Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Merge remote-tracking branch 'refs/remotes/upstream/main' into pr/5668\n\n

Steven Enamakeldac63736eeaf
diff --cc src/core/runtime/context.rs
index 06272e6c17,30d20bcd76..b1ff796af1
--- a/src/core/runtime/context.rs
+++ b/src/core/runtime/context.rs
@@@ -97,13 -80,8 +97,12 @@@ impl CoreContext
/// workspace-bound init. Order is load-bearing and mirrors the original
/// `run_server_inner` sequence:
///
- /// 1. register controllers, 2. master key, 3. AgentBox GMI provider,
- /// 4. seed RPC bearer, 5. workspace stores ([`init_stores`]),
- /// 6. pure runtime registration.
+ /// 1. register controllers, 2. master key, 3. seed RPC bearer,
+ /// 4. workspace stores ([`init_stores`]), 5. pure runtime registration.
+ ///
+ /// `preloaded_config` lets an embedder supply the [`Config`] outright
- /// instead of having step 5 discover one from disk and the environment. See
++ /// instead of having step 4 discover one from disk and the environment. See
+ /// [`init_with_config`](Self::init_with_config) for why that matters.
pub async fn init(
host_kind: HostKind,
token: &TokenSource,