@dyyz1993/pi-coding-agent 0.74.5 → 0.74.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.
@@ -281,6 +281,16 @@ export declare class AgentSession {
281
281
  * Call this when completely done with the session.
282
282
  */
283
283
  dispose(): void;
284
+ getMcpConnections(): Array<{
285
+ name: string;
286
+ status: "connecting" | "connected" | "error" | "disconnected";
287
+ error?: string;
288
+ tools: Array<{
289
+ originalName: string;
290
+ fullName: string;
291
+ description: string;
292
+ }>;
293
+ }>;
284
294
  /** Full agent state */
285
295
  get state(): AgentState;
286
296
  /** Current model (may be undefined if not yet selected) */