Versions in this module Expand all Collapse all v0 v0.1.2 Aug 7, 2026 v0.1.1 Aug 2, 2026 v0.1.0 Aug 2, 2026 Changes in this version + type BatchItem struct + Error *PageError + GroundingWarnings int + Index int + Input string + ManifestPath string + MergedMarkdown string + Mode string + OK bool + OutputDir string + PagesCached int + PagesFailed int + PagesProcessed int + PagesRetained int + PagesSuccess int + PagesTotal int + Resumed bool + SourcePagesTotal int + Status string + type BatchOptions struct + APIKey string + BaseURL string + ContextFallbacks int + DPI int + DryRun bool + FileWorkers int + ImageDetail string + KeepImages bool + MaxImageBytes int64 + MaxTokens int + Merge bool + MinImageDimension int + Model string + OutputRoot string + Pages string + PresentationRenderer string + Progress ProgressFunc + PromptFile string + PromptName string + Provider string + Resume bool + RetryCount int + TextGrounding bool + Timeout time.Duration + Workers int + func DefaultBatchOptions() BatchOptions + type BatchSummary struct + Command string + DryRun bool + FileWorkers int + FilesDone int + FilesFailed int + FilesTotal int + FinishedAt time.Time + GroundingWarnings int + InputDir string + Items []BatchItem + Manifest string + OK bool + OutputRoot string + StartedAt time.Time + func ConvertBatch(ctx context.Context, inputDir string, options BatchOptions) (BatchSummary, error) + type Error struct + Cause error + Kind ErrorKind + Message string + Retryable bool + func (e *Error) Error() string + func (e *Error) Unwrap() error + type ErrorKind string + const AuthError + const ConfigError + const DependencyError + const ModelError + const ParseError + const PartialError + const RateLimitError + const RenderError + const ServerError + const TimeoutError + type Options struct + APIKey string + BaseURL string + ContextFallbacks int + DPI int + ImageDetail string + InputLabel string + KeepImages bool + MaxImageBytes int64 + MaxTokens int + Merge bool + MergedName string + MinImageDimension int + Model string + OutputDir string + Pages string + PresentationRenderer string + Progress ProgressFunc + PromptFile string + PromptName string + Provider string + Resume bool + RetryCount int + SourceURL string + TextGrounding bool + Timeout time.Duration + Workers int + func DefaultOptions() Options + type PageError struct + Kind string + Message string + type ProgressEvent struct + Cached bool + Duration time.Duration + Error *PageError + Index int + Input string + Message string + OutputDir string + Page int + PagesCached int + PagesCompleted int + PagesFailed int + PagesSuccess int + PagesTotal int + SourcePagesTotal int + Stage ProgressStage + Status string + Total int + type ProgressFunc func(ProgressEvent) + type ProgressStage string + const ProgressFileCompleted + const ProgressFileStarted + const ProgressPageCompleted + const ProgressRenderCompleted + const ProgressRenderFailed + const ProgressRenderStarted + type ReadMode string + const ReadBatch + const ReadDocument + type ReadOptions struct + ArchiveMaxBytes int64 + ArchiveMaxFiles int + DownloadMaxBytes int64 + DownloadTimeout time.Duration + FileWorkers int + func DefaultReadOptions() ReadOptions + type ReadResult struct + Batch *BatchSummary + Document *Summary + Input string + Mode ReadMode + OK bool + OutputDir string + func Read(ctx context.Context, input string, options ReadOptions) (ReadResult, error) + type Summary struct + Command string + GroundingWarnings int + Input string + ManifestPath string + MergedMarkdown string + Mode string + OK bool + OutputDir string + PagesCached int + PagesFailed int + PagesProcessed int + PagesRetained int + PagesSuccess int + PagesTotal int + Resumed bool + SourcePagesTotal int + func Convert(ctx context.Context, inputPath string, options Options) (Summary, error)