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(ci): inline module trust digest in connector staging
Steven Enamakelbf97576cabe5
diff --git a/scripts/ci/stage-connector-test-module.mjs b/scripts/ci/stage-connector-test-module.mjsindex 7aafab3ca0..92315aad8f 100644--- a/scripts/ci/stage-connector-test-module.mjs+++ b/scripts/ci/stage-connector-test-module.mjs@@ -2,9 +2,9 @@// The test runner builds this fixture from the pinned submodule. Record that// artifact's digest as operator trust; TinyBus still verifies it before loading// and refuses confidential delivery when the file or allowlist does not match.+import { createHash } from "node:crypto";import { basename, join, resolve } from "node:path";import { mkdirSync, readFileSync, writeFileSync } from "node:fs";-import { trustToml } from "../lib/module-sources.mjs";const [source, destination] = process.argv.slice(2);if (!source || !destination) {@@ -21,7 +21,6 @@ const directory = resolve(destination);mkdirSync(directory, { recursive: true });const artifact = join(directory, filename);writeFileSync(artifact, bytes);-// The attestation is shared with scripts/modules/build.mjs (E0.6 removes this-// CI entry point).-writeFileSync(join(directory, "modules.toml"), trustToml(filename, bytes));+const digest = createHash("sha256").update(bytes).digest("hex");+writeFileSync(join(directory, "modules.toml"), `"${filename}" = "${digest}"\n`);process.stdout.write(`${artifact}\n`);