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>
This commit is contained in:
OverlordandClaude Bot committed 2026-10-14 01:46:03 +02:00
1 parent f90ef18f90
commit bb010356a0
28 files changed
+2096 -26

No files matched your search

+3 -3
View File
@@ -247,10 +247,10 @@ func (v *validator) items(cfg *Config, shops map[string]bool, builtins []string)
switch it.Seller {
case "":
it.Seller = SellerFirstParty
case SellerFirstParty, SellerAny:
it.Seller = DefaultSeller
case SellerFirstParty, SellerFulfilled, SellerAny:
default:
v.errorf(key+".seller", "must be %q or %q (got %q)", SellerFirstParty, SellerAny, it.Seller)
v.errorf(key+".seller", "must be %q, %q or %q (got %q)", SellerFirstParty, SellerFulfilled, SellerAny, it.Seller)
}
switch {