feat(api): add job retry/priority/clear, history, config and maintenance endpoints

Persistent job history (capped by serve.history_limit, stored under cache), profiles/config reads, maintenance + env-check endpoints, and 409 conflict code.
This commit is contained in:
imSp4rky
2026-07-01 22:42:48 -06:00
parent f69ebb4fba
commit 7fdd514e18
8 changed files with 1345 additions and 61 deletions
+11
View File
@@ -124,6 +124,17 @@ download_job_retention_hours: 48
---
## serve.history_limit (int)
How many terminal jobs to keep in the persistent history file (`api_history.jsonl`, stored under the cache directory so it stays out of the config/data tree). Older entries are dropped as new jobs finish. Set to `0` for unlimited. Default: `100`.
```yaml
serve:
history_limit: 250
```
---
## debug (bool)
Enables comprehensive debug logging. Default: `false`