eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
10 lines (9 loc) • 409 B
TypeScript
import type { SandboxSession } from "#public/definitions/sandbox.js";
/**
* Returns `true` when `rg` is on PATH in the given sandbox session,
* `false` otherwise. Result is cached per session.
*
* Framework `grep` and `glob` tools call this to decide whether to use
* ripgrep or the POSIX `grep`/`find` fallback.
*/
export declare function ripgrepIsAvailable(session: SandboxSession): Promise<boolean>;