UNPKG

@openai/agents-core

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.

7 lines (6 loc) • 486 B
import type { SandboxPathGrant } from '../pathGrants'; export declare function sandboxPathGrantHostPath(grant: SandboxPathGrant): string; export declare function relativeHostPathEscapesRoot(relativePath: string): boolean; export declare function relativeHostPathEscapesRootOrSelf(relativePath: string): boolean; export declare function isHostPathWithinRoot(root: string, path: string): boolean; export declare function isHostPathStrictlyWithinRoot(root: string, path: string): boolean;