luminos/luminos_lib
Jeff Smith 0c49da23ab refactor: extract AST parsing into luminos_lib/ast_parser.py
Moves all tree-sitter parsing logic from ai.py into a dedicated module.
Replaces the if/elif language chain with a _LANGUAGE_HANDLERS registry
mapping language names to handler functions.

Extracted: _tool_parse_structure body, _get_ts_parser, _child_by_type,
_text, and all per-language helpers (_py_func_sig, _py_class, etc.).
ai.py retains a thin wrapper for path validation.

Public API: parse_structure(path) -> JSON string

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 14:34:02 -06:00
..
__init__.py chore: initial project scaffold 2026-03-30 09:57:11 -06:00
ai.py refactor: extract AST parsing into luminos_lib/ast_parser.py 2026-03-30 14:34:02 -06:00
ast_parser.py refactor: extract AST parsing into luminos_lib/ast_parser.py 2026-03-30 14:34:02 -06:00
cache.py refactor: extract cache management into luminos_lib/cache.py 2026-03-30 13:12:37 -06:00
capabilities.py chore: remove dead clear_cache from ai.py, deduplicate CACHE_ROOT 2026-03-30 13:52:38 -06:00
code.py feat: add code detection and line counting 2026-03-30 09:57:22 -06:00
disk.py feat: add disk usage summary 2026-03-30 09:57:31 -06:00
filetypes.py feat: add file type intelligence 2026-03-30 09:57:18 -06:00
recency.py feat: add recency analysis 2026-03-30 09:57:25 -06:00
report.py feat: add chain-of-thought observability tools 2026-03-30 13:02:19 -06:00
tree.py feat: add directory tree visualization 2026-03-30 09:57:14 -06:00
watch.py feat: add --watch mode with change diffing 2026-03-30 09:57:39 -06:00