/** * SDK Runner - Main orchestration for skill execution. * * This module re-exports functionality from focused submodules: * - errors.ts: Error classes and classification (SkillRunnerError, WardenAuthenticationError) * - retry.ts: Retry logic with exponential backoff * - usage.ts: Usage stats extraction and aggregation * - prompt.ts: Prompt building for skills * - extract.ts: JSON extraction from model output * - prepare.ts: File preparation for analysis * - analyze.ts: Hunk and file analysis orchestration * - types.ts: Shared interfaces */ export { SkillRunnerError, WardenAuthenticationError, isRetryableError, isAuthenticationError, isAuthenticationErrorMessage, isSubprocessError } from './errors.js'; export { verifyAuth } from './auth.js'; export { calculateRetryDelay } from './retry.js'; export { aggregateUsage, aggregateAuxiliaryUsage, mergeAuxiliaryUsage, estimateTokens } from './usage.js'; export { anthropicUsageToStats, apiUsageToStats } from './pricing.js'; export type { AnthropicApiUsage } from './pricing.js'; export { buildHunkSystemPrompt, buildHunkUserPrompt } from './prompt.js'; export type { PRPromptContext } from './prompt.js'; export { buildHunkSystemPrompt as buildSystemPrompt } from './prompt.js'; export { extractFindingsJson, extractBalancedJson, extractFindingsWithLLM, truncateForLLMFallback, deduplicateFindings, mergeGroupLocations, applyMergeGroups, mergeCrossLocationFindings, validateFindings, generateShortId, } from './extract.js'; export type { ExtractFindingsResult, MergeResult } from './extract.js'; export { parseJsonFromOutput } from './json-output.js'; export type { JsonOutputRepairOptions, ParseJsonFromOutputOptions, ParseJsonFromOutputResult, } from './json-output.js'; export { prepareFiles } from './prepare.js'; export { verifyFindings } from './verify.js'; export { postProcessFindings } from './post-process.js'; export type { PostProcessFindingsOptions, PostProcessFindingsResult, } from './post-process.js'; export { analyzeFile, runSkill, generateSummary } from './analyze.js'; export { runLocalSkill, verifyLocalFindings } from './local.js'; export type { RunLocalSkillOptions, RunLocalSkillResult, VerifyLocalFindingsOptions, VerifyLocalFindingsResult, } from './local.js'; export { claudeRuntime, piRuntime, getRuntimeProviderOptions, getRuntime, } from './runtimes/index.js'; export type { Runtime, RuntimeName } from './runtimes/index.js'; export type { AuxiliaryRunRequest, AuxiliaryRunResult, AuxiliaryTask, AuxiliaryTool, SynthesisRunRequest, SynthesisTask, SkillRunOptions, SkillRunRequest, SkillRunResponse, SkillRunResult, SkillRunStatus, } from './runtimes/index.js'; export type { AuxiliaryUsageEntry, FindingProcessingEvent, SkillRunnerCallbacks, SkillRunnerOptions, PreparedFile, PrepareFilesOptions, PrepareFilesResult, FileAnalysisCallbacks, FileAnalysisResult, ChunkAnalysisResult, } from './types.js'; //# sourceMappingURL=runner.d.ts.map