feat: exclude completed games from recommendations

Skip played and ignore statuses by default; add an include-played toggle to the API, CLI and UI for replay suggestions.
This commit is contained in:
strsv committed 2026-11-07 00:57:53 +03:00
1 parent 6a1b3aadfc
commit 2f5791d1a3
11 files changed
+40 -10

No files matched your search

+4
View File
@@ -298,6 +298,7 @@ DELETE → `{"deleted": true}`.
"preset": "adventure-rpg-party",
"mood": null,
"unplayed_only": true,
"include_played": false,
"include_tribute": false,
"include_nostalgia": false,
"min_review": 65,
@@ -309,6 +310,9 @@ DELETE → `{"deleted": true}`.
}
```
`include_played`: по умолчанию `played`-игры исключаются; `true` возвращает их
(с штрафом за завершённость). `ignore` не попадает в выдачу никогда.
`taste_profile`: `solo` (игры с `Singleplayer` без кооп-тегов), `coop` (кооп/мультиплеер)
или `null`. Профиль фильтрует кандидатов и считает веса вкуса только по играм
соответствующего контекста; неизвестное значение → 400.