mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04:00
48ff37f6ea
Use JSON.parse directly in package verification and retain one parsed Cursor recovery snapshot. Route native command source loading through the shared transform-service owner so completed command cleanup leaves no transform child. Preserve JSONC validation and caller inputs. Cover the actual public source-loading lifecycle with an authored command and verified process lineage.
14 lines
460 B
JavaScript
14 lines
460 B
JavaScript
import { importVerifierSource } from "./verifier-source-loader.mjs";
|
|
|
|
let implementation;
|
|
|
|
/** Load the development command owner and its canonical process source graph. */
|
|
export async function createVerifierCommands(options = {}) {
|
|
implementation ??= importVerifierSource(
|
|
new URL("./verifier-command-owner.mts", import.meta.url).href,
|
|
import.meta.url,
|
|
);
|
|
const module = await implementation;
|
|
return module.createVerifierCommands(options);
|
|
}
|