feat: auto-discover runners (#12)

This commit is contained in:
banteg
2026-01-01 20:31:11 +04:00
committed by GitHub
parent 936ea5109b
commit d35752fc55
21 changed files with 1069 additions and 698 deletions
+7 -2
View File
@@ -106,9 +106,14 @@ Transforms takopi events into human-readable text:
| `model.py` | Domain types: resume tokens, actions, events, run result |
| `runner.py` | Runner protocol + event queue utilities |
### `engines.py` - Engine backend registry
### `backends.py` - Engine backend contracts
Registers available engines and provides setup checks + runner construction.
Defines `EngineBackend`, `SetupIssue`, and the `EngineConfig` type used by
runner modules.
### `engines.py` - Engine backend discovery
Auto-discovers runner modules in `takopi.runners` that export `BACKEND`.
### `runners/` - Runner implementations