Releases: UmairBaig8/okf-generator
Releases · UmairBaig8/okf-generator
Release list
v0.1.34
Added
- Fuzzy search — camelCase/snake_case tokenization, acronym matching (
okf lookup repofindsUserRepository). New--exactflag for strict title-only matching. - Dockerfile + Containerfile + docker-compose.yml parsers —
FROM→ docker dep with tag,RUN pip install→ pip dep with version,image:anddepends_on:for compose services. - LLM enrichment CLI —
okf generate --enrichactivates LLM description/docstring enrichment. Gracefully skips when no API key is configured. .okfconfigconfig system — extensible flat + sectional config (globalbundle_dir, feature sectionsllm.*,serve.*,lookup.*,mcp.*,pairs.*). No environment variables.okf configCLI to view/edit.okf initprompts for config interactively.- Pre-commit hook —
.pre-commit-config.yamlincludesokf-generatehook that auto-regenerates bundle when source files change. - Docker image —
Dockerfile+ GHCR publish workflow on release. - Live Demo button on landing page with CI-published visualization.
Changed
- Config system migrated from env vars to
.okfconfigfile. Allos.environlookups removed from generator, pairs, serve, lookup, and init. - Default LLM endpoint changed to
http://localhost:8080/v1(local-first, works with llama.cpp/Ollama out of the box). okf initwizard now prompts for config (LLM provider, model, API key) before generating bundle.- RELEASE.md expanded with 15-point pre-release audit including feature validation and landing page freshness checks.
- README.md feature table updated with fuzzy search, Dockerfile/compose, config, pre-commit, Docker image rows.
v0.1.33
Fixed
pyproject.toml— added missingtree-sitter-swiftandtree-sitter-kotlindependencies (CI workflows were failing to install them).- CI workflows — added Rust toolchain setup for building
tree-sitter-kotlinfrom source on Linux runners. visualize.py— guardedPermissionErrorin source code file lookup (was crashing on CI when scanning/tmp/siblings).- GitHub Pages deployment — fixed by resolving CI failures;
docs/viz.htmlnow auto-deploys.
v0.1.31
Added
- Structured doc tag parsing — Javadoc
@param/@return, JSDoc@param {type}/@returns {type}, YARD@param [Type]now populate structuredconcept.paramsandconcept.returns. Applies to Java, JS/TS, Ruby. - Go const/var declarations — package-level
constandvarbindings extracted asConstant/Variableconcept types with type annotations and values. - Ruby singleton methods —
def self.fooextracted asFunctionconcepts withself.prefix in signature andsingletonvisibility tag. - C++ full template signatures —
template<typename T>prefix now appears in class/function signatures (e.g.template<typename T> class Container).
Changed
Conceptdataclass: 2 new concept types (Constant,Variable) added to index renderer.GoParserrefactored:_prev_commentextracted once per node to avoidUnboundLocalErrorwith new declaration types.
v0.1.30
Changed
- PyPI
Homepagenow points to GitHub Pages landing page (https://umairbaig8.github.io/okf-generator/). - README: added 🌐 Site badge linking to landing page.
v0.1.29
Fixed
- Publish CI: MCP/serve tests now use HTTP mode with unique ports (19876/19877), portable
sed -ifor Linux/macOS.
v0.1.27
Added
- Generics/type params — extraction for Java, TypeScript, Rust, Go (1.18+), C++ (templates), C#. Each concept's
type_paramsfield captures[T],[T, U extends Comparable], etc. - Inheritance chain — base class/interface extraction for Python, Java, TypeScript, C++, C#, Ruby. Each class concept shows
extends/implements/inherits targets. - Decorators/Attributes — extraction for Python (
@decorator), Java (@Annotation), C# ([Attribute]), Rust (#[derive]). Captured as structureddecoratorsfield. - Method emission — class methods now emitted as individual
Functionconcepts for Python, JS/TS, C++ (Ruby already supported). ~2x more Function concepts from those languages. - 22 new tests covering Tier 1 extraction across all 10 languages with real-world code fixtures.
- README language table updated with per-language extraction capabilities.
Changed
Conceptdataclass: 3 new fields (type_params,inheritance,decorators).- Java modifiers now use child iteration (no field name in grammar).
- C++ function methods no longer skipped — emitted as individual concepts.
v0.1.26
Added
okf visualize— bundle selector dropdown for multi-project monorepos.okf visualize— source code pane in concept detail view.okf visualize— resizable left sidebar via drag handle.- Multi-bundle detection via
SUMMARY.mdsubdirectory markers. - 3 new docs: agent-integration, ci-cd, languages-and-manifests.
Changed
- README rewritten with code-level knowledge graph pitch, local AI/SLM section,
CI/CD pipeline section, and architectural query examples. - Viz display name now dynamic — removed hardcoded
fresh_agentbox. - Docs assets reorganized into
images/,banners/,Demo deck/directories.
Fixed
okf visualizealways showedfresh_agentboxas title (both JS var + HTML span).- Bundle detection used naive first-path-segment causing false bundles.
v0.1.25
Added
- 10 languages — C, C++, C# tree-sitter parsers (was 7).
- 17 manifest formats —
yarn.lockandpnpm-lock.yamlparsers. okf mcp— MCP server for Claude Desktop, Cursor, and any MCP client.okf init— interactive wizard with REPL commands (/lookup,/viz,/serve,/deps,/install).okf serve— local HTTP server with auto-redirect to viz.okf diff— bundle comparison (added/removed/changed).okf lookup --deps— shortcut for--type Dependency.okf generateprogress bar viatqdm.- CLI banner (compact dashboard style with version).
- Lookup cache for instant repeat queries.
Changed
- README updated: 10 languages, 17 manifests, 7 consume commands, new demo GIF.
Fixed
okf visualize— embedded template (no moredemo.htmlnot found on PyPI).source_linesend was hardcoded to 0 — now usesnode.end_point.
v0.1.24
Added
okf serve [dir] [--port] [--open]— launch a local HTTP server for any bundle directory. Zero dependencies, auto-detects visualization HTML.okf/_viz_template.py— embedded HTML template (base64) sookf visualizeworks from PyPI without external files.
Fixed
okf visualizeno longer fails withdemo.html not foundwhen installed from PyPI — template is now bundled inside the package.
v0.1.23
Added
- 10 languages — C, C++, C# tree-sitter parsers (was 7). Each supports functions, classes/structs, and doc comments.
- 17 manifest formats —
yarn.lockandpnpm-lock.yamlparsers added (was 15). okf lookup --deps— shortcut for--type Dependency.okf generateprogress bar —tqdmwraps the scan loop, visible on 500+ file repos.okf visualize— "generated by okf" link in topbar.okf install— prompts before overwriting existing agent config files.
Changed
- README: language count 7→10, manifest count 15→17, new features section.
- 85 tests (was 76) covering C/C++/C# parsers, lock file parsers.