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
ci: extend agent runtime boundary check for embed stop contracts
Steven Enamakel946519ccb369
diff --git a/scripts/ci/check-agent-runtime-boundary.mjs b/scripts/ci/check-agent-runtime-boundary.mjsindex 3820c0ebd5..5dfabb9e63 100644--- a/scripts/ci/check-agent-runtime-boundary.mjs+++ b/scripts/ci/check-agent-runtime-boundary.mjs@@ -36,6 +36,7 @@ const embedContractExports = new Map("crates/openhuman-embed/src/lib.rs",["pub use tinytools::ToolPolicy;",+ "pub use tinyagents_harness::middleware::{StopDecision, StopHook};","pub use tinyinference_llm::message::MessageDelta;","pub use tinyinference_llm::model::{ChatModel, DeferredHandle, DeferredStatus, ModelProfile, ModelRequest, ModelResponse, ModelStream, ModelStreamItem, ModelStreamMetadata};","pub use tinyinference_llm::{Error, Result};",@@ -422,6 +423,21 @@ function assertSelfTests() {throw new Error("agent-runtime boundary self-test: host tool policy export must stay exact",);+ const stopExport = [+ { text: "pub use tinyagents_harness::middleware::{StopDecision, StopHook};" },+ ];+ if (+ !isEmbedContractExport(embedPath, stopExport, 0) ||+ isEmbedContractExport("crates/openhuman-core/src/lib.rs", stopExport, 0) ||+ isEmbedContractExport(+ embedPath,+ [{ text: "pub use tinyagents_harness::middleware::{StopDecision, StopHook, TurnState};" }],+ 0,+ )+ )+ throw new Error(+ "agent-runtime boundary self-test: embed stop contracts must stay exact",+ );const sdkPath = "crates/openhuman-core/src/agent/tinyagents/budget.rs";const sdkStatement ="pub use tinyinference_llm::model::budget::{Budget, BudgetExceeded, BudgetSnapshot, CallBudget, Spend, SpendLimits};";