@comake/skl-js-engine
Version:
Standard Knowledge Language Javascript Engine
27 lines • 810 B
TypeScript
/**
* Constants for JSExecutor configuration
*/
export declare const EXECUTION_CONSTANTS: {
readonly defaultTimeout: number;
readonly defaultFunctionName: "main";
readonly maxOutputLength: 500;
readonly denoCommand: "deno";
readonly denoFlags: readonly ["run", "--unstable-detect-cjs", "--quiet", "--unstable-sloppy-imports"];
readonly processSignals: {
readonly term: "SIGTERM";
};
};
/**
* Default execution options
*/
export declare const DEFAULT_EXECUTION_OPTIONS: {
readonly timeout: number;
readonly functionName: "main";
readonly allowNetwork: false;
readonly allowedDomains: readonly [];
readonly allowEnv: true;
readonly allowRead: false;
readonly debugMode: false;
readonly retries: 0;
};
//# sourceMappingURL=constants.d.ts.map