-- Required Items pulled from each mod's Steam "Required Items" sidebar. -- Originally scraped from the public Workshop HTML page (the anonymous -- GetPublishedFileDetails endpoint omits `children` for individual mods); -- worker.fetch_required_wsids now uses authenticated IPublishedFileService/ -- GetDetails with includechildren=true and gets the same data structurally. -- -- Use cases: -- 1. Auto-resolving missing-dep warnings: when a cached mod_id Y is -- missing dep X, we look at Y's source wsid's required_wsids and -- auto-queue any uncached wsids — the next sort resolves X. -- 2. Surfacing "↗ add " actions for unresolved deps so the user -- can pull them with one click. ALTER TABLE workshop_meta ADD COLUMN IF NOT EXISTS required_wsids TEXT[] NOT NULL DEFAULT '{}';