@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
19 lines (18 loc) • 602 B
TypeScript
import type { OpenClawConfig } from "../../config/config.js";
import type { SandboxConfig, SandboxToolPolicyResolved } from "./types.js";
export declare function resolveSandboxRuntimeStatus(params: {
cfg?: OpenClawConfig;
sessionKey?: string;
}): {
agentId: string;
sessionKey: string;
mainSessionKey: string;
mode: SandboxConfig["mode"];
sandboxed: boolean;
toolPolicy: SandboxToolPolicyResolved;
};
export declare function formatSandboxToolPolicyBlockedMessage(params: {
cfg?: OpenClawConfig;
sessionKey?: string;
toolName: string;
}): string | undefined;