UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

26 lines (25 loc) 668 B
import { DockerFastCommands } from "../../base"; import { PluginDescriptions } from "./plugin"; export type DockerInitConfig = { safeMode?: boolean; defaultTimeout?: number; workingDir?: string; }; export type DockerRunArgs = { command: string; timeout?: number; env?: Record<string, string>; }; export interface DockerExpose extends PluginDescriptions { safeMode: boolean; defaultTimeout: number; workingDir: string; unsafeCommands: string[]; allowedDockerCommands: string[]; dfc: DockerFastCommands; } export declare const DockerPluginTypes: { runArgs: DockerRunArgs; return: any; expose: DockerExpose; };