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 + func FindMarkdownPages(path string) ([]string, error) + func GroundingVersion() string + func MergeMarkdown(outputPath string, pagePaths []string) error + func NativeCacheKey(input detect.Input, format string) string + func PagePromptHash(basePrompt string, embeddedTextSHA256 string) string + func Prompt(name string) (string, error) + func PromptForInput(name string, promptFile string, kind detect.Kind) (string, error) + func ValidateResume(inputPath string, outputDir string, requestedPages string) error + func VisualCacheKey(imageHash string, promptHash string, provider string, baseURL string, ...) string + func VisualNormalizationVersion() string + type Manifest struct + Command string + Input detect.Input + Mode string + Pages []ManifestPage + Render struct{ ... } + Resume *ResumeInfo + Summary struct{ ... } + VLM struct{ ... } + Version string + type ManifestPage struct + CacheKey string + Cached bool + ContextFallbacksUsed int + DurationMS int64 + EmbeddedTextChars int + EmbeddedTextChecked bool + EmbeddedTextSHA256 string + EmbeddedTextSupported bool + EmbeddedTextTruncated bool + Error *PageError + ImagePath string + MarkdownPath string + MetaPath string + Page int + RequestImageMaxDimension int + Status PageStatus + Usage vlm.Usage + type Options struct + InputLabel string + Merge bool + MergedName string + OutputDir string + Progress ProgressFunc + PromptFile string + PromptName string + Render render.Options + Resume bool + RetryCount int + SourceURL string + TextGrounding bool + VLMConfig vlm.Config + Workers int + type PageError struct + Kind string + Message string + func PageErrorFromError(err error) *PageError + type PageMeta struct + BaseURL string + CacheKey string + Cached bool + ContextFallbacksUsed int + DurationMS int64 + EmbeddedTextChars int + EmbeddedTextChecked bool + EmbeddedTextSHA256 string + EmbeddedTextSupported bool + EmbeddedTextTruncated bool + Error *PageError + GroundingChecked bool + GroundingCorrected bool + GroundingError *PageError + GroundingSkipped bool + GroundingUnresolved []string + ImagePath string + ImageSHA256 string + InputPath string + MaxTokens int + Model string + Page int + PromptName string + PromptSHA256 string + Provider string + RequestImageMaxDimension int + Status PageStatus + TextGrounding bool + Usage vlm.Usage + Version string + type PageStatus string + const StatusError + const StatusSuccess + type ProgressEvent struct + Cached bool + Duration time.Duration + Error *PageError + Input string + Message string + OutputDir string + Page int + PagesCompleted int + PagesTotal int + SourcePagesTotal int + Stage ProgressStage + Status PageStatus + type ProgressFunc func(ProgressEvent) + type ProgressStage string + const ProgressPageCompleted + const ProgressRenderCompleted + const ProgressRenderFailed + const ProgressRenderStarted + type ResumeInfo struct + PageSelection string + PagesProcessed int + PagesRetained int + PreviousManifestPath string + PreviousManifestSHA256 string + 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 + RefinedMarkdown string + Resumed bool + SourcePagesTotal int + func Run(ctx context.Context, inputPath string, options Options) (Summary, error)