/** * Agent MCP config inspection helpers. * * @experimental This API is unstable and may change without notice. */ import * as FileSystem from "effect/FileSystem"; import * as Path from "effect/Path"; import * as Effect from "effect/Effect"; import { type McpConfigTarget } from "../agent-capabilities/index.js"; import { type AppError } from "../app-error/index.js"; import type { McpServerEntry } from "../settings/index.js"; export type AgentMcpInspectionStatus = "not-applicable" | "unsupported" | "absent" | "match" | "drift" | "unmanaged"; export interface AgentMcpServerInspection { readonly agentId: string; readonly path: string; readonly absolutePath: string; readonly status: AgentMcpInspectionStatus; readonly fields: ReadonlyArray; readonly warnings: ReadonlyArray; readonly reason?: string; readonly expected?: Readonly>; readonly actual?: Readonly>; } export interface InspectAgentMcpServerArgs { readonly workspaceRoot: string; readonly scope: "project" | "user"; readonly agentId: string; readonly serverName: string; readonly entry: McpServerEntry; } export interface ManagedAgentMcpServer { readonly agentId: string; readonly serverName: string; readonly path: string; readonly absolutePath: string; readonly target: McpConfigTarget; } export interface CollectManagedAgentMcpServersArgs { readonly workspaceRoot: string; readonly scope: "project" | "user"; readonly agentIds: ReadonlyArray; } export declare const inspectAgentMcpServer: (args: InspectAgentMcpServerArgs) => Effect.Effect; export declare const inspectMcpServerAcrossAgents: (args: { readonly workspaceRoot: string; readonly scope: "project" | "user"; readonly agentIds: ReadonlyArray; readonly serverName: string; readonly entry: McpServerEntry; }) => Effect.Effect, AppError, FileSystem.FileSystem | Path.Path>; export declare const collectManagedAgentMcpServers: (args: CollectManagedAgentMcpServersArgs) => Effect.Effect, AppError, FileSystem.FileSystem | Path.Path>; //# sourceMappingURL=inspection.d.ts.map