@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 673 B
TypeScript
import type { McpServerConfig, McpServerDeclaration, McpServerDeclaredConfig, RawConfig } from "./config-schema.ts";
type LiteralDeclaration = Omit<McpServerDeclaration, "args" | "env" | "headers"> & {
args?: string[];
env?: Record<string, string>;
headers?: Record<string, string>;
};
/** A declaration of plain strings normalizes to a resolved snapshot; one holding references stays declared. */
export declare function normalizeServer(server: LiteralDeclaration): McpServerConfig;
export declare function normalizeServer(server: NonNullable<RawConfig["mcpServers"]>[string]): McpServerDeclaredConfig;
export {};
//# sourceMappingURL=config-normalize.d.ts.map