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
test(rpcMethods): update drift guard path for controller metadata\n\nThe test's drift guard now reads controller metadata from the `tinychannels-bus` crate instead of the top-level `tinychannels` crate, reflecting that contract metadata was moved to its own crate. The `readFileSync` call will throw on a missing path, ensuring the guard fails loudly if the file moves again.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel30d16bf68370
diff --git a/app/src/services/__tests__/rpcMethods.test.ts b/app/src/services/__tests__/rpcMethods.test.tsindex b23c19674b..d0d83d16f8 100644--- a/app/src/services/__tests__/rpcMethods.test.ts+++ b/app/src/services/__tests__/rpcMethods.test.ts@@ -161,12 +161,20 @@ describe('rpcMethods catalog', () => {'utf8'),// The channels_* namespace/function literals now live in the vendored- // tinychannels crate (`ChannelControllerSchema`), not in the thin+ // tinychannels workspace (`ChannelControllerSchema`), not in the thin// `src/openhuman/channels/controllers/schemas.rs` adapter above, which// only converts from it (#4557 "Use tinychannels provider// implementations") — read both so this drift guard still sees them.+ //+ // Controller metadata is contract, so it lives in the `tinychannels-bus`+ // crate rather than the implementation crate. `readFileSync` throws on a+ // missing path, which is what we want: if this file moves again the guard+ // fails loudly instead of silently checking a shorter corpus and passing.fs.readFileSync(- path.resolve(__dirname, '../../../../vendor/tinychannels/src/controllers/schemas.rs'),+ path.resolve(+ __dirname,+ '../../../../vendor/tinychannels/crates/tinychannels-bus/src/controllers/schemas.rs'+ ),'utf8'),].join('\n');