unarr/internal/agent
Deivid Soto 5e80911501 feat(debrid): add HTTPS downloader for debrid direct URLs
DebridDownloader receives directUrl from the server and downloads via
plain HTTPS with progress reporting, resume (Range), and pause/cancel.

- Add DirectURL, DirectFileName to agent Task and engine Task types
- Implement DebridDownloader: HTTPS download with progress, resume, cancel
- HTTP client with 30s ResponseHeaderTimeout
- Safe shortID helper to prevent slice panic on short IDs
- Validate 416 against Content-Range server size for resume integrity
- Register debridDl in daemon and one-shot download command
- Tests: available, download, resume, cancel, pause, fallback filename,
  expired URL (410), unauthorized (401), shutdown, task propagation
2026-03-28 18:09:34 +01:00
..
client.go feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
client_test.go feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
daemon.go feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
disk_unix.go feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
disk_windows.go feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
types.go feat(debrid): add HTTPS downloader for debrid direct URLs 2026-03-28 18:09:34 +01:00