agent-afk 5.327.5 → 5.327.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/mcp/failure-notice.d.ts +4 -0
- package/dist/agent/mcp/manager.d.ts +1 -0
- package/dist/cli.mjs +401 -401
- package/dist/index.mjs +201 -201
- package/dist/telegram.mjs +215 -215
- package/package.json +1 -1
|
@@ -7,5 +7,9 @@ export declare function failedMcpServers(states: readonly McpServerStateLike[]):
|
|
|
7
7
|
name: string;
|
|
8
8
|
reason: string;
|
|
9
9
|
}[];
|
|
10
|
+
export declare function oauthPendingMcpServers(states: readonly McpServerStateLike[]): {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
10
13
|
export declare function buildMcpFailureNotice(states: readonly McpServerStateLike[]): string | undefined;
|
|
14
|
+
export declare function buildMcpDisconnectNotice(serverName: string, reason: string): string;
|
|
11
15
|
export declare function mcpUnknownToolMessage(toolName: string, states: readonly McpServerStateLike[]): string | undefined;
|
|
@@ -12,6 +12,7 @@ export declare class McpManager {
|
|
|
12
12
|
private readonly records;
|
|
13
13
|
private readonly nameRegistry;
|
|
14
14
|
onToolsRefreshed?: (serverName: string) => void;
|
|
15
|
+
onServerError?: (serverName: string, reason: string) => void;
|
|
15
16
|
private constructor();
|
|
16
17
|
static fromConfig(servers: Record<string, McpServerConfig>, opts?: McpManagerInitOptions): Promise<McpManager>;
|
|
17
18
|
getMcpTools(): AnthropicToolDef[];
|