feat(captcha): deterministic HTML detection for known providers

This commit is contained in:
2026-06-07 13:13:10 +01:00
parent d438673a1f
commit ca9add612e
3 changed files with 98 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
// Package captcha provides deterministic detection and LLM-backed solving of
// captcha challenges. It never drives a browser and never mints tokens.
package captcha
// Detection describes one captcha found on a page. Fields are ordered
// largest-alignment-first for fieldalignment.
type Detection struct {
Type string `json:"type"`
Sitekey string `json:"sitekey,omitempty"`
IframeURL string `json:"iframe_url,omitempty"`
Notes string `json:"notes,omitempty"`
LLMSolvable bool `json:"llm_solvable"`
}