/** * `qodo-skills` MCP server — types. * * The wire response shape is the standard MCP `{ content, isError? }` * envelope. The tool input shapes mirror the contract in * `knowledge/doc/skills-mcp-server.md` §2. * * The `qodo-skills` server auto-registers via * `client.qar.registerMcp('qodo-skills', { transport: 'sdk', handler })` * when `ClientOptions.skills` is configured. The `McpInProcessHandler` * surface (`(req: { tool_name, arguments }) => Promise`) is * the actual integration shape; the `QodoSkillsMcpServer` class owns * the three tools and the in-memory caches. */ import type { ParsedSkill } from '../types.js'; export interface McpTextContent { readonly type: 'text'; readonly text: string; } export interface McpImageContent { readonly type: 'image'; readonly data: string; readonly mimeType: string; } export type McpContent = McpTextContent | McpImageContent; export interface McpToolResult { readonly content: readonly McpContent[]; readonly isError?: boolean; } /** Maximum entries returned by `list_skills` in a single call. */ export declare const LIST_SKILLS_DEFAULT_LIMIT = 50; export interface ListSkillsArgs { readonly query?: string; readonly limit?: number; readonly offset?: number; readonly includeAllVersions?: boolean; } export interface GetSkillArgs { readonly name: string; readonly arguments?: readonly string[]; } export interface GetSkillFileArgs { readonly name: string; readonly path: string; } export interface ListSkillsEntry { readonly fqn: string; readonly name: string; readonly vendor: string; readonly version: string; readonly description: string; readonly when_to_use?: string; readonly tier: ParsedSkill['trustTier']; readonly source: { readonly type: string; readonly path?: string; readonly packageName?: string; }; readonly user_invocable_only?: boolean; readonly requires?: readonly string[]; } export interface ListSkillsResponse { readonly total: number; readonly shown: number; readonly skills: readonly ListSkillsEntry[]; readonly truncated: boolean; } import type { SkillEvent } from '../types.js'; export type QodoSkillsMcpEvent = Extract; //# sourceMappingURL=types.d.ts.map