Prune stale editor and Wayland surface area

Stop shipping code that implied Aman supported a two-pass editor, external API cleanup, or a Wayland scaffold when the runtime only exercises single-pass local cleanup on X11.\n\nCollapse aiprocess to the active single-pass Llama contract, delete desktop_wayland and the empty wayland extra, and make model_eval reject pass1_/pass2_ tuning keys while keeping pass1_ms/pass2_ms as report compatibility fields.\n\nRemove the unused pillow dependency, switch to SPDX-style license metadata, and clean setuptools build state before packaging so deleted modules do not leak into wheels. Update the methodology and repo guidance docs, and add focused tests for desktop adapter selection, stale param rejection, and portable wheel contents.\n\nValidate with uv lock, python3 -m unittest discover -s tests -p 'test_*.py', python3 -m py_compile src/*.py tests/*.py, and python3 -m build --wheel --sdist --no-isolation.
This commit is contained in:
Thales Maciel 2026-03-14 17:48:23 -03:00
parent dd2813340b
commit 94ead25737
12 changed files with 98 additions and 811 deletions

View file

@ -12,12 +12,10 @@
- `src/aman_processing.py` owns shared Whisper/editor pipeline helpers.
- `src/aiprocess.py` runs the in-process Llama-3.2-3B cleanup.
- `src/desktop_x11.py` encapsulates X11 hotkeys, tray, and injection.
- `src/desktop_wayland.py` scaffolds Wayland support (exits with a message).
## Build, Test, and Development Commands
- Install deps (X11): `uv sync`.
- Install deps (Wayland scaffold): `uv sync --extra wayland`.
- Run daemon: `uv run aman run --config ~/.config/aman/config.json`.
System packages (example names):