8 Commits

Author SHA1 Message Date
ethernet
fc4086c4c5 fix(cli): route dependency hints through pm
Replace direct Hermes-environment pip advice with PM repair, existing
setup commands, or explicit extra sync. Keep Termux package guidance.
Plugin discovery reports missing dependencies without installing them.

Targeted Nix runner, HERMES_TEST_FILE_RETRIES=0:
- Seven focused files: 153 passed.
- Voice CLI integration: 31 passed on the follow-up run.
- Dashboard follow-up: 33 passed before one failure with --maxfail=1.
  test_post_memory_provider_setup_routes_pip_through_pm receives failed
  instead of restart_required from the memory setup endpoint.

Doctor launcher and runtime-detection gaps are reported separately.
No doctor checks are disabled. The full suite was not run.
2026-09-11 18:13:53 -04:00
Teknium
31bc234a66 refactor(hermes_cli): compact setup-flow docstrings/comments; fold env-ref identity indexing 2026-09-02 21:54:56 -07:00
Teknium
c704df54f9 refactor(hermes_cli): squeeze double blanks between module constants 2026-09-02 21:22:41 -07:00
Teknium
3709a7334e refactor(hermes_cli): join remaining closer lines in setup flows 2026-09-02 21:00:49 -07:00
Teknium
9f9401cf05 refactor(hermes_cli): azure flow — current-settings dataclass, transport-detection phase helper; squeeze import blanks 2026-09-02 20:49:52 -07:00
Teknium
f4996ddbee refactor(hermes_cli): main_platform_setup — WhatsApp phase helpers, sync subcommand dispatch, _say/_err banners 2026-09-02 20:43:00 -07:00
Teknium
b5f96ab3e5 refactor(hermes_cli): AST-neutral layout compaction of provider/platform setup flows 2026-09-02 20:03:18 -07:00
Teknium
72490fa6cd refactor(model_setup_flows): extract custom-endpoint, Azure Foundry and Bedrock wizards into concern modules
hermes_cli/model_setup_flows_custom.py (_model_flow_custom, _model_flow_named_custom + helpers),
model_setup_flows_azure.py (_model_flow_azure_foundry + Entra preflight / picker),
model_setup_flows_bedrock.py (BEDROCK_GEO_PREFIXES, routability predicates, both Bedrock flows).
Bodies moved verbatim (AST slices); every name re-exported from model_setup_flows (noqa: F401)
so hermes_cli.main and test imports keep resolving. Origin: 1975 -> 1159 lines.
Flow corpus (396 cases): 0 diffs; 34 test files / 364 tests green.
2026-09-02 16:39:35 -07:00