@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
20 lines • 1.01 kB
TypeScript
import type { FsCondition } from '../../../errors/index.ts';
export declare const MISSING_PACKAGE_HINT = "monty runtime requires the '@pydantic/monty' package \u2014 install it or select the pyodide runtime";
export declare const DEFAULT_PROG = "main.py";
export declare const MAX_URANDOM_BYTES = 1048576;
export declare const LIMITS: {
maxSuspensions: number;
};
export declare const POOL_WORKERS = 4;
export declare const SCAN_MAX_ENTRIES = 100000;
export declare const SCAN_LINK_DEPTH = 64;
/**
* What a refused readlink may mean "no link here". EINVAL is the backend
* saying the path is not one, and the other three are CPython's own
* `_ignore_error` list, which is what `Path.is_symlink` swallows around
* its lstat. Everything else propagates: CPython re-raises
* PermissionError out of `is_symlink`, and reporting a refusal as "not a
* link" is an answer the guest cannot tell from one.
*/
export declare const NOT_A_LINK: ReadonlySet<FsCondition>;
//# sourceMappingURL=constants.d.ts.map