This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Affected surfaces
ReleasePort's take
Light signalVersion v1.4.0 of janregesβaiβdistiller introduces selective expansion, Windows install fixes, new exclusion controls, AI action support, and an automated release pipeline; it now requires Goβ―1.25 for source builds while prebuilt binaries stay unchanged.
Why it matters: The update mandates Goβ―1.25 when compiling from source (prebuilt binaries unaffected), adds configurable `--exclude` directory matching, enables builtβin AI prompts, and automates CI/CD publishing via OIDC.
Summary
AI summaryUpdates π Bug Fixes, π§ Improvements, and β Also Resolved across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Breaking | Medium |
Requires Go 1.25 for building from source; prebuilt binaries and npm package remain unaffected. Requires Go 1.25 for building from source; prebuilt binaries and npm package remain unaffected. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Feature | Medium |
Adds selective expansion with `--expand` for agent-driven context building. Adds selective expansion with `--expand` for agent-driven context building. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Feature | Medium |
Implements fully automated release pipeline publishing CGOβenabled binaries and npm packages via OIDC. Implements fully automated release pipeline publishing CGOβenabled binaries and npm packages via OIDC. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Feature | Medium |
Supports excluding fields and properties via `--fields=0` / `--methods=0`. Supports excluding fields and properties via `--fields=0` / `--methods=0`. Source: llm_adapter@2026-05-25 Confidence: low |
β |
| Feature | Medium |
Enables `prompt-*` AI actions out of the box with embedded prompt templates. Enables `prompt-*` AI actions out of the box with embedded prompt templates. Source: llm_adapter@2026-05-25 Confidence: low |
β |
| Dependency | Medium |
Refreshes Go and npm dependencies. Refreshes Go and npm dependencies. Source: llm_adapter@2026-05-25 Confidence: low |
β |
| Bugfix | Medium |
Fixes Windows install path extraction using PowerShell instead of tar. Fixes Windows install path extraction using PowerShell instead of tar. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Bugfix | Medium |
Fixes Windows architecture detection to be localeβindependent. Fixes Windows architecture detection to be localeβindependent. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Bugfix | Medium |
Makes `--exclude` match directories as well as files. Makes `--exclude` match directories as well as files. Source: llm_adapter@2026-05-25 Confidence: high |
β |
| Bugfix | Medium |
Renders C# method bodies with `--implementation=1` and applies visibility filtering inside namespaces. Renders C# method bodies with `--implementation=1` and applies visibility filtering inside namespaces. Source: llm_adapter@2026-05-25 Confidence: high |
β |
Full changelog
This release adds selective implementation expansion for agent-driven context building, fixes the Windows install path end-to-end, and ships a fully automated, OIDC-published release pipeline.
π New Features
- Selective expansion with
--expandβ distill to clean signatures as usual, then keep full implementation only for the symbols you care about, matched by glob (--expand "GetUser",--expand "*Service*,run"). Matches a function/method name; matching a type name expands the methods nested inside it (Python/TypeScript/Java/C#β¦). Perfect for agents that explore a codebase and pull full code for just a few symbols. Also exposed on the MCPdistill_file/distill_directory/distill_with_dependenciestools via anexpandparameter. (#1)
π Bug Fixes
- Windows MCP install fixed β the npm postinstall tried to extract the
.zipwithtaron Windows ("Unrecognized archive format"); it now uses PowerShell extraction. (#11) - Windows
install.ps1architecture detection β a localizedOSArchitecturestring ("64 bits") caused "Unknown architecture"; detection is now locale-independent. (#10) --excludenow matches directories β a bare pattern like*migrations*only matched file names; it now matches any path segment and correctly skips whole directories. (#9)- C# method bodies & visibility β method implementations now render with
--implementation=1(the formatter previously emitted empty{ }), and visibility filtering (e.g.--internal=0) now applies insidenamespaceblocks. (#3)
β Also Resolved
- Exclude fields/properties β supported via
--fields=0/--methods=0. (#5) prompt-*AI actions work out of the box β prompt templates are embedded in the binary. (#8)
π§ Improvements
- Fully automated releases β tagging
vX.Y.Znow builds CGO-enabled binaries (full tree-sitter language support) for all platforms, publishes this GitHub Release with checksums, and publishes the MCP package to npm β entirely in CI, via npm Trusted Publishing (OIDC) with provenance. - Dependency refresh β updated Go and npm dependencies.
- Test fixtures β corrected stale integration fixtures across languages.
π¦ MCP Package
- New
expandparameter ondistill_file,distill_directory, anddistill_with_dependencies. - Updated to MCP TypeScript SDK 1.29.
β οΈ Notable
- Building from source now requires Go 1.25 (users of the prebuilt binaries and the npm package are unaffected).
Breaking Changes
- Minimum Go version bumped to 1.25 for building from source
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About janreges/ai-distiller-mcp
Extracts essential code structure from large codebases into AI-digestible format, helping AI agents write code that correctly uses existing APIs on the first attempt.
Related context
Beta — feedback welcome: [email protected]