openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
13 lines • 750 B
TypeScript
import { r as OpenClawConfig } from "./types.openclaw-BdCLfP4c.js";
import "./types-BdcVdC5E.js";
//#region src/media/local-roots.d.ts
/** Adds the active agent workspace to the default media roots without exposing all agent state. */
declare function getAgentScopedMediaLocalRoots(cfg: OpenClawConfig, agentId?: string, sessionWorkspaceDir?: string): readonly string[];
/** Resolves outbound media roots, expanding for local sources only when filesystem policy allows it. */
declare function getAgentScopedMediaLocalRootsForSources(params: {
cfg: OpenClawConfig;
agentId?: string;
mediaSources?: readonly string[];
}): readonly string[];
//#endregion
export { getAgentScopedMediaLocalRootsForSources as n, getAgentScopedMediaLocalRoots as t };