Skip to content

Commit 95af622

Browse files
refactor(docs): code analysis engine
changes: - file: llx_refactor.py area: core added: [main, build_prompt, run_refactor, git_tracked_python_files, select_llx_model, build_parser] - file: browser.py area: core added: [site_explorer, form_data_loader, get_form_data_loader] modified: [__init__, _has_extract_companies_action, _has_form_action, _has_type_action, _has_extract_article_action, BrowserAdapter, +8 more] - file: browser_connector.py area: service modified: [BrowserConnector, connect] - file: backend_detector.py area: core modified: [detect, detect_with_fallback, BackendDetector] - file: browser_controller.py area: core modified: [check_session, BrowserController] - file: registry.py area: core added: [_register_default_actions] modified: [clear, ActionRegistry] - file: pipeline_runner_plans.py area: core added: [_initialize_plan_variables, _inject_replacement_steps, _build_service_context, _detect_desktop_steps, _summarize_results] modified: [execute_action_plan, PlanExecutionMixin] - file: conftest.py area: test added: [_session_event_loop, _default_event_loop] modified: [nlp2cmd_sql, pytest_configure, kubernetes_adapter, sql_adapter, docker_adapter, schema_registry, +7 more] - file: conftest_browser.py area: test added: [mock_site_explorer, mock_browser_adapter, sample_browser_irs, pytest_collection_modifyitems] - file: test_llm_router_live.py area: api added: [require_openrouter, require_ollama, _ollama_models] modified: [_has_ollama_model, TestLiveOpenRouter, TestLiveOllama, TestFallbackChain, test_vision_local_qwen_vl, _ollama_available] - file: test_form_detection.py area: test modified: [test_form_detection] - file: test_search_skill.py area: test modified: [TestSearchIntegration] dependencies: flow: "conftest→pytest, conftest_browser→pytest, desktop_action_executor→backend_detector, test_form_detection→pytest, test_llm_router_live→pytest, test_search_skill→pytest, test_service→pytest" - desktop_action_executor.py -> backend_detector.py - desktop_action_executor.py -> browser_controller.py - conftest.py -> pytest.py - conftest_browser.py -> pytest.py - test_llm_router_live.py -> pytest.py - test_form_detection.py -> pytest.py - test_search_skill.py -> pytest.py - test_service.py -> pytest.py stats: lines: "+78819/-15392 (net +63427)" files: 56 complexity: "+170% complexity (monitor)"
1 parent 9f33d91 commit 95af622

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+78861
-15399
lines changed

.pyqual/pipeline.db

24 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 2272 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,18 @@ setup-dev: ## Complete development setup
9797
# Testing
9898
# =============================================================================
9999

100-
test: ## Run all tests
100+
test: ## Run all tests (fast, parallel)
101101
$(PYTEST) tests/ -v --tb=short
102102

103+
test-fast: ## Run fast tests only (excludes slow, e2e, browser)
104+
$(PYTEST) tests/ -v --tb=short -m "not e2e and not slow and not browser"
105+
106+
test-slow: ## Run slow tests (including browser automation)
107+
$(PYTEST) tests/ -v --tb=short -m "slow"
108+
109+
test-parallel: ## Run tests with explicit parallelization
110+
$(PYTEST) tests/ -v --tb=short -n auto --dist=loadscope
111+
103112
test-unit: ## Run unit tests only
104113
$(PYTEST) tests/unit/ -v --tb=short
105114

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77
[![PyPI Version](https://img.shields.io/pypi/v/nlp2cmd.svg)](https://pypi.org/project/nlp2cmd/)
88
[![1543+ Tests](https://img.shields.io/badge/tests-1543%2B-brightgreen.svg)](https://github.com/wronai/nlp2cmd)
99

10+
11+
## AI Cost Tracking
12+
13+
![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-1.1.6-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
14+
![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-95.8h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
15+
16+
- 🤖 **LLM usage:** $7.5000 (273 commits)
17+
- 👤 **Human dev:** ~$9584 (95.8h @ $100/h, 30min dedup)
18+
19+
Generated on 2026-03-30 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
20+
21+
---
22+
23+
24+
1025
**Natural Language → Domain-Specific Commands** — production-ready framework for transforming natural language (Polish + English) into shell, SQL, Docker, Kubernetes, browser automation, and desktop GUI commands.
1126

1227
## Quick Start
@@ -355,8 +370,7 @@ pytest --cov=nlp2cmd --cov-report=html # With coverage
355370

356371
## License
357372

358-
Apache License 2.0 - see [LICENSE](LICENSE) for details.
359-
373+
Licensed under Apache-2.0.
360374
## Author
361375

362-
Created by **Tom Sapletta** - [tom@sapletta.com](mailto:tom@sapletta.com)
376+
Tom Sapletta

TODO.md

Lines changed: 4462 additions & 371 deletions
Large diffs are not rendered by default.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.5
1+
1.1.6

0 commit comments

Comments
 (0)