@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 1.05 kB
TypeScript
import { type LoadMcpConfigOptions, type ResolvedMcpConfig, type ResolvedMcpServer } from "./config-schema.ts";
export { McpConfigValidationError } from "./config-error.ts";
export { mergeExtensionMcpServers, resolveExtensionMcpServer } from "./config-extension.ts";
export { hashConfig } from "./config-identity.ts";
export { interpolateValue } from "./config-interpolation.ts";
export { normalizeServer } from "./config-normalize.ts";
export declare function loadMcpConfig(options: LoadMcpConfigOptions): ResolvedMcpConfig;
export declare function visitSpawnableMcpServers(config: ResolvedMcpConfig, visit: (name: string, server: ResolvedMcpServer) => void): void;
/**
* Throws the `McpConfigValidationError` loading `raw` as the trusted file at `path` would throw, without loading it:
* a candidate is checked with the loader's own steps before anything writes it (senpi#6485).
*/
export declare function assertLoadableMcpConfig(raw: unknown, path: string, env?: Record<string, string | undefined>): void;
//# sourceMappingURL=config.d.ts.map