AxMCPClientEvent
type AxMCPClientEvent =
| {
catalog: "tools" | "prompts" | "resources";
revision: number;
type: "catalog_changed";
}
| {
type: "resource_updated";
uri: string;
}
| {
params: Readonly<Record<string, unknown>>;
type: "logging";
}
| {
params: Readonly<AxMCPProgressNotificationParams>;
type: "progress";
}
| {
task: Readonly<AxMCPTask>;
type: "task_status";
}
| {
state: "reconnected";
type: "lifecycle";
}
| {
notification: Readonly<AxMCPJSONRPCNotification>;
type: "notification";
};Defined in: https://github.com/ax-llm/ax/blob/7965c876f6a5b641e0cf166e8942e540cfde65e1/src/ax/mcp/client.ts#L130