Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
Merge pull request #3117 from webbrain-one/codex/captcha-callback-recovery
WebBrain499d560114ae
diff --cc src/chrome/src/agent/agent.jsindex f4b9b0a06,cc24e5779..a36ff7e79--- a/src/chrome/src/agent/agent.js+++ b/src/chrome/src/agent/agent.js@@@ -80,16 -80,17 +80,17 @@@ import { isPdfHandlerTabUrl, pdfUrlFromimport { normalizePdfOcrResult, PDF_OCR_SYSTEM_PROMPT } from './pdf-ocr.js';import * as trace from '../trace/recorder.js';import { buildTerminalRuntimeEvent, enqueueCloudRuntimeEvent, flushCloudRuntimeOutbox } from '../trace/cloud-runtime-outbox.js';-import { buildShareGenerationItem, enqueueShareGeneration, flushShareOutbox, purgeShareGenerations } from '../trace/webbrain-share-outbox.js';+import { buildShareGenerationItem, buildShareDiagnosticItem, enqueueShareGeneration, enqueueShareDiagnostic, flushShareOutbox, purgeShareGenerations } from '../trace/webbrain-share-outbox.js';import { normalizeRuntimeTraceConfig } from '../trace/runtime-config.js';import { tracesToMarkdown } from './trace-export.js';+ import { advanceHuggingFaceSignupRecovery, normalizeHuggingFaceSignupRecovery, huggingFaceSignupRecoveryNote } from './huggingface-signup-recovery.js';import { hcaptchaParamError } from './captcha-hcaptcha-providers.js';- import { getCaptchaCapabilities, prepareNativeCaptchaTasks, solveNativeCaptchaTasks } from './captcha-native-providers.js';- import { applyNativeCaptchaSolution, captureCaptchaDocuments, captchaAnswerDocumentStatus } from './captcha-solution-application.js';- import { solveCaptchaWithProviders, detectCaptcha, injectToken, readCaptchaFrameUserAgent, captchaParamError, captchaTypesMatch, captchaWebsiteUrl } from './captcha-solver.js';+ import { AWS_WAF_COOKIE_PATHS, awsWafTaskRoute, describeAwsWafObservation, getCaptchaCapabilities, prepareNativeCaptchaTasks, solveNativeCaptchaTasks } from './captcha-native-providers.js';+ import { applyNativeCaptchaSolution, captureCaptchaDocuments, captchaAnswerDocumentStatus, requiresCaptchaUserAgent } from './captcha-solution-application.js';+ import { solveCaptchaWithProviders, detectCaptcha, injectToken, readCaptchaFrameUserAgent, captchaParamError, captchaAutomaticDispatchError, captchaTypesMatch, captchaWebsiteUrl } from './captcha-solver.js';import { CAPTCHA_SETTINGS_KEYS, getCaptchaProviders, captchaProviderSupportsType } from './captcha-provider-config.js';import { captchaChallengeKey, captchaChallengeMatcherOptions, detectChallengeDialog, detectChallengeDialogInPage } from './captcha-gate.js';- import { applyCaptchaFrameVisibility } from './captcha-frame-runtime.js';+ import { applyCaptchaFrameVisibility, observeAwsWafChallengeInPage } from './captcha-frame-runtime.js';import {cloudflareChallengeNavigationTransition,cloudflareChallengePlatformTransition,diff --cc src/firefox/src/agent/agent.jsindex e7f638af8,e89da47d0..a998e342c--- a/src/firefox/src/agent/agent.js+++ b/src/firefox/src/agent/agent.js@@@ -75,16 -75,17 +75,17 @@@ importimport { normalizePdfOcrResult, PDF_OCR_SYSTEM_PROMPT } from './pdf-ocr.js';import * as trace from '../trace/recorder.js';import { buildTerminalRuntimeEvent, enqueueCloudRuntimeEvent, flushCloudRuntimeOutbox } from '../trace/cloud-runtime-outbox.js';-import { buildShareGenerationItem, enqueueShareGeneration, flushShareOutbox, purgeShareGenerations } from '../trace/webbrain-share-outbox.js';+import { buildShareGenerationItem, buildShareDiagnosticItem, enqueueShareGeneration, enqueueShareDiagnostic, flushShareOutbox, purgeShareGenerations } from '../trace/webbrain-share-outbox.js';import { normalizeRuntimeTraceConfig } from '../trace/runtime-config.js';import { tracesToMarkdown } from './trace-export.js';+ import { advanceHuggingFaceSignupRecovery, normalizeHuggingFaceSignupRecovery, huggingFaceSignupRecoveryNote } from './huggingface-signup-recovery.js';import { hcaptchaParamError } from './captcha-hcaptcha-providers.js';- import { getCaptchaCapabilities, prepareNativeCaptchaTasks, solveNativeCaptchaTasks } from './captcha-native-providers.js';- import { applyNativeCaptchaSolution, captureCaptchaDocuments, captchaAnswerDocumentStatus } from './captcha-solution-application.js';- import { solveCaptchaWithProviders, detectCaptcha, injectToken, readCaptchaFrameUserAgent, captchaParamError, captchaTypesMatch, captchaWebsiteUrl } from './captcha-solver.js';+ import { AWS_WAF_COOKIE_PATHS, awsWafTaskRoute, describeAwsWafObservation, getCaptchaCapabilities, prepareNativeCaptchaTasks, solveNativeCaptchaTasks } from './captcha-native-providers.js';+ import { applyNativeCaptchaSolution, captureCaptchaDocuments, captchaAnswerDocumentStatus, requiresCaptchaUserAgent } from './captcha-solution-application.js';+ import { solveCaptchaWithProviders, detectCaptcha, injectToken, readCaptchaFrameUserAgent, captchaParamError, captchaAutomaticDispatchError, captchaTypesMatch, captchaWebsiteUrl } from './captcha-solver.js';import { CAPTCHA_SETTINGS_KEYS, getCaptchaProviders, captchaProviderSupportsType } from './captcha-provider-config.js';import { captchaChallengeKey, captchaChallengeMatcherOptions, detectChallengeDialog, detectChallengeDialogInPage } from './captcha-gate.js';- import { applyCaptchaFrameVisibility } from './captcha-frame-runtime.js';+ import { applyCaptchaFrameVisibility, observeAwsWafChallengeInPage } from './captcha-frame-runtime.js';import {cloudflareChallengeNavigationTransition,cloudflareChallengePlatformTransition,