import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { z } from 'zod'; import type { IAgentOrchestratorClient } from '../orchestrator-client/orchestrator-client.js'; export declare const GetSessionSchema: z.ZodObject<{ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; include_transcript: z.ZodOptional; transcript_format: z.ZodOptional>; include_logs: z.ZodOptional; logs_page: z.ZodOptional; logs_per_page: z.ZodOptional; include_subagent_transcripts: z.ZodOptional; transcripts_page: z.ZodOptional; transcripts_per_page: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string | number; include_transcript?: boolean | undefined; transcript_format?: "text" | "json" | undefined; include_logs?: boolean | undefined; logs_page?: number | undefined; logs_per_page?: number | undefined; include_subagent_transcripts?: boolean | undefined; transcripts_page?: number | undefined; transcripts_per_page?: number | undefined; }, { id: string | number; include_transcript?: boolean | undefined; transcript_format?: "text" | "json" | undefined; include_logs?: boolean | undefined; logs_page?: number | undefined; logs_per_page?: number | undefined; include_subagent_transcripts?: boolean | undefined; transcripts_page?: number | undefined; transcripts_per_page?: number | undefined; }>; export declare function getSessionTool(_server: Server, clientFactory: () => IAgentOrchestratorClient): { name: string; description: string; inputSchema: { type: "object"; properties: { id: { oneOf: { type: string; }[]; description: "Session ID (numeric) or slug (string). Examples: \"1\", \"fix-auth-bug-20250115\""; }; include_transcript: { type: string; description: "Include the full transcript inline. Default: false. WARNING: can be very large and may overwhelm your context window. When false, the transcript file path is returned instead so you can grep/tail it efficiently (see tool description for tips)."; }; transcript_format: { type: string; enum: string[]; description: "Format for transcript retrieval: \"text\" (human-readable) or \"json\" (structured). Only used when include_transcript is true. When specified, fetches transcript via dedicated endpoint instead of inline."; }; include_logs: { type: string; description: "Include logs for the session. Default: false. Use logs_page and logs_per_page for pagination."; }; logs_page: { type: string; minimum: number; description: "Page number for logs pagination. Default: 1"; }; logs_per_page: { type: string; minimum: number; maximum: number; description: "Number of logs per page (1-100). Default: 25"; }; include_subagent_transcripts: { type: string; description: "Include subagent transcripts for the session. Default: false. Use transcripts_page and transcripts_per_page for pagination."; }; transcripts_page: { type: string; minimum: number; description: "Page number for subagent transcripts pagination. Default: 1"; }; transcripts_per_page: { type: string; minimum: number; maximum: number; description: "Number of subagent transcripts per page (1-100). Default: 25"; }; }; required: string[]; }; handler: (args: unknown) => Promise<{ content: { type: string; text: string; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>; }; //# sourceMappingURL=get-session.d.ts.map