Skip to content

Releases: UmairBaig8/okf-generator

v0.1.34

Choose a tag to compare

@github-actions github-actions released this 03 Jul 20:59

Added

  • Fuzzy search — camelCase/snake_case tokenization, acronym matching (okf lookup repo finds UserRepository). New --exact flag for strict title-only matching.
  • Dockerfile + Containerfile + docker-compose.yml parsersFROM → docker dep with tag, RUN pip install → pip dep with version, image: and depends_on: for compose services.
  • LLM enrichment CLIokf generate --enrich activates LLM description/docstring enrichment. Gracefully skips when no API key is configured.
  • .okfconfig config system — extensible flat + sectional config (global bundle_dir, feature sections llm.*, serve.*, lookup.*, mcp.*, pairs.*). No environment variables. okf config CLI to view/edit. okf init prompts for config interactively.
  • Pre-commit hook.pre-commit-config.yaml includes okf-generate hook that auto-regenerates bundle when source files change.
  • Docker imageDockerfile + GHCR publish workflow on release.
  • Live Demo button on landing page with CI-published visualization.

Changed

  • Config system migrated from env vars to .okfconfig file. All os.environ lookups 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 init wizard 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

Choose a tag to compare

@github-actions github-actions released this 03 Jul 18:34

Fixed

  • pyproject.toml — added missing tree-sitter-swift and tree-sitter-kotlin dependencies (CI workflows were failing to install them).
  • CI workflows — added Rust toolchain setup for building tree-sitter-kotlin from source on Linux runners.
  • visualize.py — guarded PermissionError in source code file lookup (was crashing on CI when scanning /tmp/ siblings).
  • GitHub Pages deployment — fixed by resolving CI failures; docs/viz.html now auto-deploys.

v0.1.31

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:17

Added

  • Structured doc tag parsing — Javadoc @param/@return, JSDoc @param {type}/@returns {type}, YARD @param [Type] now populate structured concept.params and concept.returns. Applies to Java, JS/TS, Ruby.
  • Go const/var declarations — package-level const and var bindings extracted as Constant/Variable concept types with type annotations and values.
  • Ruby singleton methodsdef self.foo extracted as Function concepts with self. prefix in signature and singleton visibility tag.
  • C++ full template signaturestemplate<typename T> prefix now appears in class/function signatures (e.g. template<typename T> class Container).

Changed

  • Concept dataclass: 2 new concept types (Constant, Variable) added to index renderer.
  • GoParser refactored: _prev_comment extracted once per node to avoid UnboundLocalError with new declaration types.

v0.1.30

Choose a tag to compare

@github-actions github-actions released this 02 Jul 20:27

Changed

  • PyPI Homepage now points to GitHub Pages landing page (https://umairbaig8.github.io/okf-generator/).
  • README: added 🌐 Site badge linking to landing page.

v0.1.29

Choose a tag to compare

@github-actions github-actions released this 02 Jul 19:51

Fixed

  • Publish CI: MCP/serve tests now use HTTP mode with unique ports (19876/19877), portable sed -i for Linux/macOS.

v0.1.27

Choose a tag to compare

@github-actions github-actions released this 02 Jul 18:06

Added

  • Generics/type params — extraction for Java, TypeScript, Rust, Go (1.18+), C++ (templates), C#. Each concept's type_params field 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 structured decorators field.
  • Method emission — class methods now emitted as individual Function concepts 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

  • Concept dataclass: 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

Choose a tag to compare

@github-actions github-actions released this 02 Jul 17:17

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.md subdirectory 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 visualize always showed fresh_agentbox as title (both JS var + HTML span).
  • Bundle detection used naive first-path-segment causing false bundles.

v0.1.25

Choose a tag to compare

@github-actions github-actions released this 02 Jul 15:57

Added

  • 10 languages — C, C++, C# tree-sitter parsers (was 7).
  • 17 manifest formatsyarn.lock and pnpm-lock.yaml parsers.
  • 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 generate progress bar via tqdm.
  • 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 more demo.html not found on PyPI).
  • source_lines end was hardcoded to 0 — now uses node.end_point.

v0.1.24

Choose a tag to compare

@github-actions github-actions released this 02 Jul 14:23

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) so okf visualize works from PyPI without external files.

Fixed

  • okf visualize no longer fails with demo.html not found when installed from PyPI — template is now bundled inside the package.

v0.1.23

Choose a tag to compare

@github-actions github-actions released this 02 Jul 13:58

Added

  • 10 languages — C, C++, C# tree-sitter parsers (was 7). Each supports functions, classes/structs, and doc comments.
  • 17 manifest formatsyarn.lock and pnpm-lock.yaml parsers added (was 15).
  • okf lookup --deps — shortcut for --type Dependency.
  • okf generate progress bar — tqdm wraps 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.