From e7fd0ee138a41d9ca9091ac5daf82aab7c112fff Mon Sep 17 00:00:00 2001 From: whimsical-c4lic0 Date: Tue, 10 Feb 2026 12:46:25 -0600 Subject: [PATCH] Update AGENTS.md --- AGENTS.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ee45881..368b337 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -60,7 +60,7 @@ most important change points. - DTOs live under `OF DL.Core/Models/Dtos/` and mirror API response JSON. - Entities live under `OF DL.Core/Models/Entities/` and represent the internal domain used by download logic. - Mappers in `OF DL.Core/Models/Mappers/` convert DTOs into entities to isolate API changes from downstream logic. -- Non-DTO/Entity models are grouped by concern under `OF DL.Core/Models/Api/`, `Auth/`, `Config/`, `Downloads/`, +- Non-DTO/Entity models are grouped by concern under `OF DL.Core/Models/OfdlApi/`, `Auth/`, `Config/`, `Downloads/`, and `Startup/`. - Classes in `OF DL.Core/Models/OfdlApi/` mirror request and response JOSN OF DL APIs (custom and gitea) - Classes in `OF DL.Core/Models/Config/` are used for reading and storing application configuration @@ -133,7 +133,8 @@ Environment variables used by auth: fallback to local `rules.json` in the current working directory. The repo ships `OF DL/rules.json` as the default rules file. - Cache durations: 15 minutes for remote rules, 5 minutes for local rules. -- `DynamicRules` shape is defined in `OF DL.Core/Models/Api/DynamicRules.cs` and includes `app-token`, `static_param`, +- `DynamicRules` shape is defined in `OF DL.Core/Models/OfdlApi/DynamicRules.cs` and includes `app-token`, + `static_param`, `prefix`, `suffix`, `checksum_constant`, and `checksum_indexes`. Signature algorithm in `GetDynamicHeaders`: