UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

25 lines (24 loc) • 746 B
import type { OpenClawConfig } from "../config/config.js"; import type { AnyAgentTool } from "./tools/common.js"; type LspServerCapabilities = { hoverProvider?: boolean; completionProvider?: boolean; definitionProvider?: boolean; referencesProvider?: boolean; diagnosticProvider?: boolean; [key: string]: unknown; }; export type BundleLspToolRuntime = { tools: AnyAgentTool[]; sessions: Array<{ serverName: string; capabilities: LspServerCapabilities; }>; dispose: () => Promise<void>; }; export declare function createBundleLspToolRuntime(params: { workspaceDir: string; cfg?: OpenClawConfig; reservedToolNames?: Iterable<string>; }): Promise<BundleLspToolRuntime>; export {};