engine

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package engine provides the lightweight filter engine for quick output post-processing, distinct from the full 26+ layer pipeline.

The engine handles simple formatting tasks:

  • ANSI code stripping
  • Comment removal
  • Import condensing
  • Semantic pruning
  • Position-aware reordering
  • Hierarchical summarization
  • Query-aware filtering

Usage:

engine := filter.NewEngine(filter.ModeMinimal)
output, saved := engine.Process(input)

For full compression, use filter.PipelineCoordinator instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL