feat: add shared child batch creation
This commit is contained in:
1 parent
515b545b32
commit
6ac90f838a
32 files changed
+958
-90
No files matched your search
@@ -3,7 +3,7 @@ import { resolve } from 'node:path';
|
||||
import { createHash } from 'node:crypto';
|
||||
|
||||
interface ExternalContractModule {
|
||||
validateAgentOperation(operation: unknown): string[];
|
||||
validateProgramOperation(operation: unknown): string[];
|
||||
}
|
||||
|
||||
let contractModulePromise: Promise<ExternalContractModule> | null = null;
|
||||
@@ -18,7 +18,7 @@ async function loadContractModule(): Promise<ExternalContractModule> {
|
||||
|
||||
export async function validateParsedOperation(operation: unknown): Promise<string[]> {
|
||||
const contract = await loadContractModule();
|
||||
return contract.validateAgentOperation(operation);
|
||||
return contract.validateProgramOperation(operation);
|
||||
}
|
||||
|
||||
const EXPORT_TYPE_ORDER = [
|
||||
|
||||
Reference in new issue
Block a user