feat: auth-capture — WS frame stream, drag events, continuous CDP, profile cleanup

- AuthCaptureDialog: real WebSocket for binary JPEG frame stream (no polling)
- Pointer drag: mousedown/mousemove/mouseup events for slider-captcha
- CDP capture starts at session creation, caches headers in session.captured_headers
- Ephemeral profile dir deleted on session close (shutil.rmtree)
- Candidate types unified: bearer_token / cookie / api_key / credential
- Frontend handleAuthCaptureSelect maps all 4 types to correct form fields
This commit is contained in:
SmartUp Developer
2026-05-18 14:14:33 +08:00
parent 08c855677a
commit c7b33983d6
5 changed files with 258 additions and 296 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ export interface AuthCaptureResult {
session_storage: Record<string, string>
auth_headers: Record<string, string>[]
candidates: {
type: 'bearer_token' | 'cookie' | 'credential'
type: 'bearer_token' | 'cookie' | 'credential' | 'api_key'
source: string
value: string
preview: string