Commit Graph
9 Commits
Author SHA1 Message Date
Overlord e2cbc1a55c Add the Chrome fallback and the needs-human flow.
Bot checks escalate to headless Chrome with stealth, which claims the
same identity as tls-client and hands its cookies back to the jar. The
visit counts against the rate limits. If Chrome can't clear a check,
the URL is marked needs-human. Pressing Enter on it in the TUI, or
running 'dibs solve', opens a visible window; dibs carries on once the
page loads. Processes now merge the cookie file on save, with the
newest cookie winning.
2026-10-14 14:08:56 +02:00
Overlord f2ea1297e8 Improve table resizing, add terminal workaround, and expose last check. 2026-10-14 12:37:27 +02:00
OverlordandClaude Bot a19e6fa711 Add the TUI.
A table with one row per URL, a level-colored log pane and a status bar.
New alerts flash their row and ring the bell. Keys pause, force checks,
open the product page or cart link, and reload the config, which is
validated first and applied in place, keeping each URL's timing.
Headless mode and the TUI now share one watcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 12:25:26 +02:00
Overlord 8f0eda5d4d Add alerts, currency conversion and notifications.
Items fire when a page is available from an accepted seller at or below
max_price, converted with the ECB's daily rates when the page uses
another currency. A per-item cooldown, kept in the state file, holds
back repeat alerts unless the price drops. Alerts go to Discord, ntfy
and JSON webhooks with retries, and to the desktop;
'dibs notify test' sends a sample.
2026-10-14 11:55:27 +02:00
Overlord 2175c0e5aa Add scheduler, rate limiting and headless mode.
Hard-coded 60s URL and 10s host floors with jitter and per-host
backoff, shared between dibs processes through a locked state file.
The scheduler shuffles due URLs each round and runs one worker per
host; 'dibs --headless' watches and logs JSON.
2026-10-14 09:04:15 +02:00
OverlordandClaude Bot bb010356a0 Add Lua plugin host, built-in amazon plugin and dibs check.
Sandboxed gopher-lua with time, memory and call-stack limits from
[sandbox], a goquery-backed doc API, price parsing, and the 'check',
'plugin test' and 'fixtures' commands. Sellers are first_party,
fulfilled (shipped by the shop) or third_party, and items accept
fulfilled by default; used-only offers are not available. Plugin tests
run on real pages that 'dibs fixtures' fetches into an untracked
directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 01:46:03 +02:00
OverlordandClaude Bot f90ef18f90 Add tls-client fetch pipeline.
Add Chrome 152 fingerprint and navigation headers, Accept-Language by TLD,
challenge/block classification, and a cookie jar that can be saved and
exported per host.

Bumps x/net, x/text, x/crypto and circl for govulncheck findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 00:48:23 +02:00
Overlord 94bfc87e9d Refactor code style for improved readability and consistency. 2026-10-14 00:28:32 +02:00
Overlord 463c013056 Add config loading and validation.
Strict dibs.toml decoding with line-numbered errors, defaults, and a
[sandbox] section for the Lua call limits. Adds `dibs config validate`
and `dibs version`.
2026-10-14 00:22:19 +02:00