3 Commits

Author SHA1 Message Date
76ff1ad46a Fix v5.x parsers, clean up CLI, bump to 2026.02.25
- Rewrite _parse_tools_list for ESP-IDF v5.x compact format
  (handles both v5.x and older verbose output)
- Archive detection runs before v5.x version matching to avoid
  false positives on filenames like *.tar.gz
- Remove dead --config and --port CLI parameters
- Add 21 new tests: v5.x parser coverage, Tier 2 tool invocations,
  resource/prompt tests (193 total)
2026-03-02 02:16:40 -07:00
edc1be4cc3 Fix idf_tools_check parser for ESP-IDF v5.x multi-line output
The v5.x check command uses multi-line blocks per tool instead of
single-line "tool version: found" format. Parser now tracks
"Checking tool <name>" headings and "version installed in tools
directory:" lines. Old single-line format still supported.
2026-03-01 23:30:09 -07:00
877fb273d0 Harden IDF integration against review findings
Restrict _build_idf_env to safe env var allowlist (_SAFE_ENV_KEYS)
instead of inheriting full os.environ. Add _resolve_project_path
to confine Tier 2 tool paths within configured project_roots.
Add 76 tests covering parsers, validators, subprocess runners,
tools.json caching, and tool/resource/prompt registration.
2026-03-01 23:26:10 -07:00