UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

5 lines (4 loc) • 371 B
export { sha256Hex } from "./hash-mirror.js"; /** A mod package's digest: the sha256 of the newline-joined sha256 of `plugin.json`, `hooks.json` and the hooks module, in * that order (the value 7.58 – 7.73 computed with `node:crypto` for the same bytes). */ export declare function modPackageDigest(plugin: Uint8Array, hooks: Uint8Array, module: Uint8Array): string;