2976 lines
111 KiB
JSON
2976 lines
111 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"site": "arena.ai",
|
|
"adapter_version": "2026.10.10",
|
|
"min_app_version": "3.0.1",
|
|
"config": {
|
|
"presets": {
|
|
"万能直连-通用文本": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"model_select_btn": "button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate.text-start), button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate.text-left), button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate)",
|
|
"send_btn": "button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[aria-label=\"Send message\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "READONLY_HINT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": {
|
|
"title": "提示",
|
|
"text": "请勿使用此工作流",
|
|
"tone": "warning"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "new_chat_btn",
|
|
"optional": false,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.8
|
|
},
|
|
{
|
|
"action": "JS_EXEC",
|
|
"target": "file://custom_scripts/examples/arena_payload_interceptor.js",
|
|
"optional": false,
|
|
"value": {
|
|
"target_endpoint": "/nextjs-api/stream/create-evaluation",
|
|
"override_model": "{{context.model}}"
|
|
}
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena",
|
|
"first_response_timeout": 15,
|
|
"silence_threshold": 6,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": false,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "all",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_binary_stream",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "完全专注于文件内容",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": false,
|
|
"random_insert_chars": ""
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"万能直连-通用生图": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[aria-label=\"Send message\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": null,
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"retry button": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "READONLY_HINT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": {
|
|
"title": "提示",
|
|
"text": "请勿使用此工作流",
|
|
"tone": "warning"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry button",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "JS_EXEC",
|
|
"target": "file://custom_scripts/examples/arena_payload_interceptor.js",
|
|
"optional": false,
|
|
"value": {
|
|
"target_endpoint": "/nextjs-api/stream/create-evaluation",
|
|
"override_model": "{{context.model}}"
|
|
}
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena",
|
|
"first_response_timeout": 15,
|
|
"silence_threshold": 6,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 60,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_binary_stream",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"arena_image_generation": true
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": "。,、’"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"主预设-直连模式": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"model_select_btn": "button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate.text-start), button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate.text-left), button[aria-haspopup=\"dialog\"]:has(span.flex-1.truncate)",
|
|
"send_btn": "button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"]), button[aria-label=\"Send message\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "new_chat_btn",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "SELECT_MODEL",
|
|
"target": "model_select_btn",
|
|
"optional": false,
|
|
"value": {
|
|
"timeout": 3
|
|
}
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "JS_EXEC",
|
|
"target": "",
|
|
"optional": true,
|
|
"value": "return (async () => { const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); const norm = (v) => String(v || '').replace(/\\s+/g, ' ').trim().toLowerCase(); const isVisible = (el) => { if (!el) return false; const rect = el.getBoundingClientRect(); const style = window.getComputedStyle(el); return rect.width > 0 && rect.height > 0 && style.display !== 'none' && style.visibility !== 'hidden'; }; const popupVisible = () => Array.from(document.querySelectorAll('button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"], [role=\"dialog\"], [data-radix-popper-content-wrapper]')).some((el) => { if (!isVisible(el)) return false; const text = norm(el.innerText || el.value || el.getAttribute('aria-label')); return text.includes('terms of use') && text.includes('privacy policy') && text.includes('agree'); }); const findAgreeButton = () => Array.from(document.querySelectorAll('button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"]')).find((el) => { if (!isVisible(el) || el.disabled) return false; const text = norm(el.innerText || el.value || el.getAttribute('aria-label')); return text === 'agree' || text.includes('agree'); }); const appearanceDeadline = Date.now() + 2200; let popupSeen = false; let clicked = false; while (Date.now() < appearanceDeadline) { if (popupVisible()) { popupSeen = true; break; } await sleep(120); } if (!popupSeen) return 'ARENA_AGREE_NOT_PRESENT'; const settleDeadline = Date.now() + 3500; while (Date.now() < settleDeadline) { const button = findAgreeButton(); if (button && !clicked) { button.click(); clicked = true; await sleep(180); } if (!popupVisible()) return clicked ? 'ARENA_AGREE_DISMISSED' : 'ARENA_AGREE_CLEARED'; await sleep(120); } return clicked ? 'ARENA_AGREE_STILL_VISIBLE' : 'ARENA_AGREE_BUTTON_NOT_FOUND'; })();"
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"advanced": {
|
|
"input_box_stability_wait_enabled": true,
|
|
"input_box_stability_wait_after_new_chat_only": true,
|
|
"input_box_stability_wait_timeout": 1.5,
|
|
"url_transition_wait_on_new_chat": true,
|
|
"send_confirmation_check_enabled": true,
|
|
"send_confirmation_check_timeout": 6,
|
|
"skip_new_chat_on_retry": true
|
|
},
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 6,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"arena_image_generation": false,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
},
|
|
"send_confirmation": {
|
|
"attachment_sensitivity": "medium",
|
|
"post_click_observe_window": 1.8,
|
|
"pre_retry_probe_window": 0.12,
|
|
"retry_observe_window": 0.9,
|
|
"attachment_observe_window": 6,
|
|
"max_retry_count": 2,
|
|
"retry_interval": 0.6,
|
|
"retry_cooldown_window": 1.5,
|
|
"retry_action": "click_send_btn",
|
|
"retry_key_combo": "Enter",
|
|
"retry_on_unconfirmed_send": true,
|
|
"accept_attachment_change": false,
|
|
"accept_attachment_disappear": false,
|
|
"accept_probe_confirmation": true,
|
|
"retry_block_on_stop_button": true,
|
|
"retry_block_if_generating": true,
|
|
"trust_network_activity": true,
|
|
"trust_generating_indicator": true,
|
|
"trust_send_disabled_with_input_shrink": true
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": false,
|
|
"random_insert_chars": ""
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"预设_过CF盾": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[type=\"submit\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "COORD_CLICK",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": {
|
|
"x": 511,
|
|
"y": 427,
|
|
"random_radius": 1
|
|
}
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"parser": "lmarena",
|
|
"url_pattern": "**/nextjs-api/stream/**",
|
|
"method": "POST",
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 3,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": false,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "all",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "完全专注于文件内容",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": false,
|
|
"random_insert_chars": ""
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"direct-预注入-图片模式": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"retry button": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry button",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.2
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry button",
|
|
"state": "absent"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 6,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_binary_stream",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"final_target_strategy": "latest_visual_reply",
|
|
"latest_visual_column": "left",
|
|
"allow_container_fallback": false,
|
|
"arena_image_generation": true
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": true,
|
|
"marker_text": "System Notice: Due to the high complexity of this prompt, the request has been redirected to gpt-image-2. [语义容错与多模态指令 / Text Cleaning & Multimodal Directive] 1. 占位符隔离:提示词中形如“[图片1]”、“[图片X]”、“[Image X]”等标记均为多模态附件的引用占位符。绝对严禁将其当作配文、标题、水印或文字印在生成的图像画面中,仅将其作为对应参考图的上下文代称。 2. 容错解析:用户提示词中可能包含随机插入的孤立干扰符号(如突兀的标点、运算符或特殊字符)。若符号打断了连续词组(如“置。身于” -> “置身于”),请在理解时自动平滑过滤并拼接还原。 3. 配文规范:若指令允许或要求配文,仅可基于用户的真实主题构思贴合情境的创意文字,严禁出现任何系统标记或占位符。 4. 正常响应:理解真实意图后直接执行任务,输出自然、干净的内容,不要在回答中提及或纠正干扰字符与占位符。",
|
|
"segments_per_side": 0,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": "`~-_=+'\"\\|[{]}"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"主预设-双栏模式": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[type=\"submit\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 2
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "JS_EXEC",
|
|
"target": "",
|
|
"optional": true,
|
|
"value": "return (async () => { const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); const norm = (v) => String(v || '').replace(/\\s+/g, ' ').trim().toLowerCase(); const isVisible = (el) => { if (!el) return false; const rect = el.getBoundingClientRect(); const style = window.getComputedStyle(el); return rect.width > 0 && rect.height > 0 && style.display !== 'none' && style.visibility !== 'hidden'; }; const popupVisible = () => Array.from(document.querySelectorAll('button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"], [role=\"dialog\"], [data-radix-popper-content-wrapper]')).some((el) => { if (!isVisible(el)) return false; const text = norm(el.innerText || el.value || el.getAttribute('aria-label')); return text.includes('terms of use') && text.includes('privacy policy') && text.includes('agree'); }); const findAgreeButton = () => Array.from(document.querySelectorAll('button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"]')).find((el) => { if (!isVisible(el) || el.disabled) return false; const text = norm(el.innerText || el.value || el.getAttribute('aria-label')); return text === 'agree' || text.includes('agree'); }); const appearanceDeadline = Date.now() + 2200; let popupSeen = false; let clicked = false; while (Date.now() < appearanceDeadline) { if (popupVisible()) { popupSeen = true; break; } await sleep(120); } if (!popupSeen) return 'ARENA_AGREE_NOT_PRESENT'; const settleDeadline = Date.now() + 3500; while (Date.now() < settleDeadline) { const button = findAgreeButton(); if (button && !clicked) { button.click(); clicked = true; await sleep(180); } if (!popupVisible()) return clicked ? 'ARENA_AGREE_DISMISSED' : 'ARENA_AGREE_CLEARED'; await sleep(120); } return clicked ? 'ARENA_AGREE_STILL_VISIBLE' : 'ARENA_AGREE_BUTTON_NOT_FOUND'; })();"
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"parser": "lmarena_side_left",
|
|
"url_pattern": "**/nextjs-api/stream/**",
|
|
"method": "POST",
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 3,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": true,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "all",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"final_target_strategy": "latest_visual_reply",
|
|
"allow_container_fallback": false,
|
|
"arena_image_generation": false
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "完全专注于文件内容",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": false,
|
|
"random_insert_chars": ""
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"主预设-图片模式": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"retry button": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry button",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.2
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry button",
|
|
"state": "absent"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"parser": "lmarena_image_side_left",
|
|
"url_pattern": "**/nextjs-api/stream/post-to-evaluation/**",
|
|
"method": "POST",
|
|
"listen_pattern": "/nextjs-api/stream/post-to-evaluation",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 3,
|
|
"response_interval": 1,
|
|
"first_content_timeout": 60
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": true,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"final_target_strategy": "latest_visual_reply",
|
|
"latest_visual_column": "left",
|
|
"allow_container_fallback": false,
|
|
"arena_image_generation": true
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "完全专注于文件内容",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": true,
|
|
"marker_text": "[语义容错与多模态指令 / Text Cleaning & Multimodal Directive] 1. 占位符隔离:提示词中形如“[图片1]”、“[图片X]”、“[Image X]”等标记均为多模态附件的引用占位符。绝对严禁将其当作配文、标题、水印或文字印在生成的图像画面中,仅将其作为对应参考图的上下文代称。 2. 容错解析:用户提示词中可能包含随机插入的孤立干扰符号(如突兀的标点、运算符或特殊字符)。若符号打断了连续词组(如“置。身于” -> “置身于”),请在理解时自动平滑过滤并拼接还原。 3. 配文规范:若指令允许或要求配文,仅可基于用户的真实主题构思贴合情境的创意文字,严禁出现任何系统标记或占位符。 4. 正常响应:理解真实意图后直接执行任务,输出自然、干净的内容,不要在回答中提及或纠正干扰字符与占位符。",
|
|
"segments_per_side": 0,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": "`~-_=+'\"\\|[{]}"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"Battle-左侧": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": "button[aria-label=\"Stop generation\"]",
|
|
"retry_send_btn": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry_send_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.3
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry_send_btn",
|
|
"state": "hidden"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
},
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 1.2
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"advanced": {
|
|
"send_confirmation_check_enabled": false,
|
|
"skip_new_chat_on_retry": false
|
|
},
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena_battle_side_left",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 5,
|
|
"response_interval": 0.5,
|
|
"url_pattern": "**/nextjs-api/stream/**"
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
},
|
|
"send_confirmation": {
|
|
"attachment_sensitivity": "medium",
|
|
"post_click_observe_window": 1.8,
|
|
"pre_retry_probe_window": 0.12,
|
|
"retry_observe_window": 0.9,
|
|
"attachment_observe_window": 6,
|
|
"max_retry_count": 2,
|
|
"retry_interval": 0.6,
|
|
"retry_cooldown_window": 1.5,
|
|
"retry_action": "click_send_btn",
|
|
"retry_key_combo": "Enter",
|
|
"retry_on_unconfirmed_send": false,
|
|
"accept_attachment_change": false,
|
|
"accept_attachment_disappear": false,
|
|
"accept_probe_confirmation": true,
|
|
"retry_block_on_stop_button": true,
|
|
"retry_block_if_generating": true,
|
|
"trust_network_activity": true,
|
|
"trust_generating_indicator": true,
|
|
"trust_send_disabled_with_input_shrink": true
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": ",。、、’"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"Battle-右侧": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": "button[aria-label=\"Stop generation\"]",
|
|
"retry_send_btn": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry_send_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.3
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry_send_btn",
|
|
"state": "hidden"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
},
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 1.2
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"advanced": {
|
|
"send_confirmation_check_enabled": false,
|
|
"skip_new_chat_on_retry": false
|
|
},
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena_battle_side_right",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 5,
|
|
"response_interval": 0.5,
|
|
"url_pattern": "**/nextjs-api/stream/**"
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
},
|
|
"send_confirmation": {
|
|
"attachment_sensitivity": "medium",
|
|
"post_click_observe_window": 1.8,
|
|
"pre_retry_probe_window": 0.12,
|
|
"retry_observe_window": 0.9,
|
|
"attachment_observe_window": 6,
|
|
"max_retry_count": 2,
|
|
"retry_interval": 0.6,
|
|
"retry_cooldown_window": 1.5,
|
|
"retry_action": "click_send_btn",
|
|
"retry_key_combo": "Enter",
|
|
"retry_on_unconfirmed_send": false,
|
|
"accept_attachment_change": false,
|
|
"accept_attachment_disappear": false,
|
|
"accept_probe_confirmation": true,
|
|
"retry_block_on_stop_button": true,
|
|
"retry_block_if_generating": true,
|
|
"trust_network_activity": true,
|
|
"trust_generating_indicator": true,
|
|
"trust_send_disabled_with_input_shrink": true
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": ",。、;‘、’"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"Battle-赢家优先(非流式)": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": "button[aria-label=\"Stop generation\"]",
|
|
"retry_send_btn": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 2
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry_send_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.3
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry_send_btn",
|
|
"state": "hidden"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
},
|
|
"click_mode": "dom_safe"
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.8
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"advanced": {
|
|
"send_confirmation_check_enabled": false,
|
|
"skip_new_chat_on_retry": false
|
|
},
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"parser": "lmarena_battle_winner",
|
|
"url_pattern": "**/nextjs-api/stream/**",
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 3,
|
|
"response_interval": 0.5
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 10,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
},
|
|
"send_confirmation": {
|
|
"attachment_sensitivity": "medium",
|
|
"post_click_observe_window": 1.8,
|
|
"pre_retry_probe_window": 0.12,
|
|
"retry_observe_window": 0.9,
|
|
"attachment_observe_window": 6,
|
|
"max_retry_count": 2,
|
|
"retry_interval": 0.6,
|
|
"retry_cooldown_window": 1.5,
|
|
"retry_action": "click_send_btn",
|
|
"retry_key_combo": "Enter",
|
|
"retry_on_unconfirmed_send": false,
|
|
"accept_attachment_change": false,
|
|
"accept_attachment_disappear": false,
|
|
"accept_probe_confirmation": true,
|
|
"retry_block_on_stop_button": true,
|
|
"retry_block_if_generating": true,
|
|
"trust_network_activity": true,
|
|
"trust_generating_indicator": true,
|
|
"trust_send_disabled_with_input_shrink": true
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": false,
|
|
"marker_text": "测试号,无实际意义",
|
|
"segments_per_side": 12,
|
|
"random_insert_enabled": false,
|
|
"random_insert_chars": ""
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"主预设-图片模式-右侧": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"retry button": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry button",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.2
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry button",
|
|
"state": "absent"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/post-to-evaluation",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena_image_side_right",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 3,
|
|
"response_interval": 1,
|
|
"url_pattern": "**/nextjs-api/stream/post-to-evaluation/**",
|
|
"method": "POST",
|
|
"first_content_timeout": 60
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": true,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_ogg_pages",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"final_target_strategy": "latest_visual_reply",
|
|
"latest_visual_column": "right",
|
|
"allow_container_fallback": false,
|
|
"arena_image_generation": true
|
|
},
|
|
"file_paste": {
|
|
"enabled": false,
|
|
"threshold": 50000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "完全专注于文件内容",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
},
|
|
"send_confirmation": {
|
|
"attachment_sensitivity": "medium",
|
|
"post_click_observe_window": 1.8,
|
|
"pre_retry_probe_window": 0.12,
|
|
"retry_observe_window": 0.9,
|
|
"attachment_observe_window": 6,
|
|
"max_retry_count": 2,
|
|
"retry_interval": 0.6,
|
|
"retry_cooldown_window": 1.5,
|
|
"retry_action": "click_send_btn",
|
|
"retry_key_combo": "Enter",
|
|
"retry_on_unconfirmed_send": true,
|
|
"accept_attachment_change": false,
|
|
"accept_attachment_disappear": false,
|
|
"accept_probe_confirmation": true,
|
|
"retry_block_on_stop_button": true,
|
|
"retry_block_if_generating": true,
|
|
"trust_network_activity": true,
|
|
"trust_generating_indicator": true,
|
|
"trust_send_disabled_with_input_shrink": true
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": true,
|
|
"marker_text": "[语义容错与多模态指令 / Text Cleaning & Multimodal Directive] 1. 占位符隔离:提示词中形如“[图片1]”、“[图片X]”、“[Image X]”等标记均为多模态附件的引用占位符。绝对严禁将其当作配文、标题、水印或文字印在生成的图像画面中,仅将其作为对应参考图的上下文代称。 2. 容错解析:用户提示词中可能包含随机插入的孤立干扰符号(如突兀的标点、运算符或特殊字符)。若符号打断了连续词组(如“置。身于” -> “置身于”),请在理解时自动平滑过滤并拼接还原。 3. 配文规范:若指令允许或要求配文,仅可基于用户的真实主题构思贴合情境的创意文字,严禁出现任何系统标记或占位符。 4. 正常响应:理解真实意图后直接执行任务,输出自然、干净的内容,不要在回答中提及或纠正干扰字符与占位符。",
|
|
"segments_per_side": 0,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": "`~-_=+'\"\\|[{]}"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
},
|
|
"direct-图片模式-文生图": {
|
|
"selectors": {
|
|
"input_box": "textarea[name=\"message\"]",
|
|
"send_btn": "button[aria-label=\"Stop generation\"], button[aria-label=\"Send message\"][type=\"submit\"]:not(:disabled):not([aria-disabled=\"true\"])",
|
|
"result_container": "main ol > div.w-full:not(.flex) .flex.flex-col.gap-3",
|
|
"new_chat_btn": "a[data-sidebar=\"menu-button\"][href=\"/text\"], a[data-sidebar=\"menu-button\"][href*=\"direct\"], a[data-sidebar=\"menu-button\"][href=\"/\"], a[data-sidebar=\"menu-button\"][href=\"/code\"], a[data-sidebar=\"menu-button\"][href*=\"image\"], a[href=\"/text\"], a[href=\"/text/direct\"]",
|
|
"message_wrapper": null,
|
|
"generating_indicator": null,
|
|
"retry button": "button[aria-label=\"Rerun stopped messages\"], button[data-slot=\"tooltip-trigger\"]:has(svg path[d*=\"21.8883\"])",
|
|
"stop_btn": "button[aria-label=\"Stop generation\"]",
|
|
"upload_btn": "button[aria-label=\"Add files\"], button[aria-label*=\"files\" i]",
|
|
"file_input": "input[type=\"file\"]",
|
|
"drop_zone": "form, textarea[name=\"message\"]"
|
|
},
|
|
"workflow": [
|
|
{
|
|
"action": "CLICK",
|
|
"target": "retry button",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"retry": {
|
|
"enabled": true,
|
|
"max_attempts": 2,
|
|
"interval": 0.2
|
|
},
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "any",
|
|
"timeout": 5,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "retry button",
|
|
"state": "absent"
|
|
},
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "stop_btn",
|
|
"optional": true,
|
|
"value": null,
|
|
"execution": {
|
|
"click_mode": "dom_safe",
|
|
"verification": {
|
|
"enabled": true,
|
|
"match": "all",
|
|
"timeout": 0.3,
|
|
"poll_interval": 0.03,
|
|
"conditions": [
|
|
{
|
|
"target": "stop_btn",
|
|
"state": "hidden"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"action": "JS_EXEC",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": "return (async () => { try { const b64 = '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAQABADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6pooooA//2Q=='; const bin = atob(b64); const len = bin.length; const bytes = new Uint8Array(len); for (let i = 0; i < len; i++) { bytes[i] = bin.charCodeAt(i); } const file = new File([bytes], 'blank.jpg', { type: 'image/jpeg', lastModified: Date.now() }); const dt = new DataTransfer(); dt.items.add(file); const fileInput = document.querySelector('input[type=\"file\"]'); if (fileInput) { fileInput.files = dt.files; fileInput.dispatchEvent(new Event('input', { bubbles: true })); fileInput.dispatchEvent(new Event('change', { bubbles: true })); return 'UPLOADED_VIA_FILE_INPUT'; } const input = document.querySelector('textarea[name=\"message\"]') || document.querySelector('textarea') || document.querySelector('div[contenteditable=\"true\"]') || document.activeElement; if (input) { try { input.focus(); } catch (e) {} try { const pasteEvent = new ClipboardEvent('paste', { bubbles: true, cancelable: true, clipboardData: dt }); input.dispatchEvent(pasteEvent); return 'UPLOADED_VIA_PASTE'; } catch (e) {} try { const dropEvent = new DragEvent('drop', { bubbles: true, cancelable: true, dataTransfer: dt }); input.dispatchEvent(dropEvent); return 'UPLOADED_VIA_DROP'; } catch (e) {} } return 'NO_UPLOAD_TARGET_FOUND'; } catch (err) { return 'IMAGE_UPLOAD_ERROR: ' + err.message; } })();"
|
|
},
|
|
{
|
|
"action": "WAIT",
|
|
"target": "",
|
|
"optional": false,
|
|
"value": 0.8
|
|
},
|
|
{
|
|
"action": "FILL_INPUT",
|
|
"target": "input_box",
|
|
"optional": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "CLICK",
|
|
"target": "send_btn",
|
|
"optional": true,
|
|
"value": null
|
|
},
|
|
{
|
|
"action": "STREAM_WAIT",
|
|
"target": "result_container",
|
|
"optional": false,
|
|
"value": null
|
|
}
|
|
],
|
|
"stealth": true,
|
|
"stream_config": {
|
|
"mode": "network",
|
|
"request_transport": {
|
|
"mode": "workflow",
|
|
"profile": "",
|
|
"options": {}
|
|
},
|
|
"hard_timeout": 300,
|
|
"network": {
|
|
"listen_pattern": "/nextjs-api/stream/",
|
|
"stream_match_mode": "keyword",
|
|
"stream_match_pattern": "",
|
|
"parser": "lmarena",
|
|
"first_response_timeout": 12,
|
|
"silence_threshold": 6,
|
|
"response_interval": 1
|
|
}
|
|
},
|
|
"image_extraction": {
|
|
"enabled": true,
|
|
"modalities": {
|
|
"image": {
|
|
"enabled": true,
|
|
"run_policy": "on_signal",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 45,
|
|
"blind_wait_timeout_seconds": 1
|
|
},
|
|
"audio": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"capture_timeout_seconds": 12
|
|
},
|
|
"video": {
|
|
"enabled": false,
|
|
"run_policy": "disabled",
|
|
"quick_probe_timeout_seconds": 1,
|
|
"late_wait_timeout_seconds": 90
|
|
}
|
|
},
|
|
"selector": "img",
|
|
"audio_selector": "audio, audio source",
|
|
"video_selector": "video, video source",
|
|
"container_selector": null,
|
|
"force_postprocess": false,
|
|
"debounce_seconds": 2,
|
|
"wait_for_load": true,
|
|
"load_timeout_seconds": 5,
|
|
"download_blobs": true,
|
|
"max_size_mb": 20,
|
|
"canvas_export_mime": "image/jpeg",
|
|
"canvas_export_quality": 0.88,
|
|
"src_allow_patterns": [],
|
|
"mode": "first",
|
|
"audio_capture_enabled": true,
|
|
"audio_capture_mute_playback": true,
|
|
"audio_capture_preload_enabled": true,
|
|
"audio_capture_reload_before_workflow": false,
|
|
"audio_capture_preserve_graph": true,
|
|
"audio_capture_terminal_settle_seconds": 0.35,
|
|
"audio_trigger_selector": "",
|
|
"audio_trigger_labels": [
|
|
"朗读",
|
|
"语音朗读",
|
|
"收听",
|
|
"read aloud",
|
|
"listen",
|
|
"tts",
|
|
"voice"
|
|
],
|
|
"audio_capture_max_wait_seconds": 12,
|
|
"audio_capture_min_wait_seconds": 2,
|
|
"audio_capture_hard_max_wait_seconds": 45,
|
|
"audio_capture_estimated_chars_per_second": 4.8,
|
|
"audio_capture_wait_padding_seconds": 1.2,
|
|
"audio_network_capture": {
|
|
"enabled": false,
|
|
"timeout_seconds": 2.5,
|
|
"transport": "page_websocket_probe",
|
|
"url_patterns": [
|
|
"voicegenie",
|
|
"speech",
|
|
"audio",
|
|
"tts"
|
|
],
|
|
"extractor": "voicegenie_binary_stream",
|
|
"settle_seconds": 0.35,
|
|
"max_payload_bytes": 10485760
|
|
},
|
|
"audio_browser_tts_fallback": {
|
|
"enabled": false,
|
|
"provider": "doubao_samantha",
|
|
"speaker": "2",
|
|
"speech_rate": 0,
|
|
"pitch": 0,
|
|
"format": "aac",
|
|
"timeout_seconds": 30,
|
|
"pc_version": "3.20.2",
|
|
"aid": "497858",
|
|
"real_aid": "497858",
|
|
"language": "zh",
|
|
"device_platform": "web",
|
|
"pkg_type": "release_version",
|
|
"region": "CN",
|
|
"sys_region": "CN",
|
|
"use_olympus_account": "1",
|
|
"samantha_web": "1"
|
|
},
|
|
"audio_capture_poll_seconds": 0.25,
|
|
"audio_capture_silence_seconds": 1.2,
|
|
"audio_capture_activity_threshold": 0.006,
|
|
"audio_capture_activity_silence_seconds": 0.65,
|
|
"final_target_strategy": "latest_visual_reply",
|
|
"latest_visual_column": "left",
|
|
"allow_container_fallback": false,
|
|
"arena_image_generation": true
|
|
},
|
|
"file_paste": {
|
|
"enabled": true,
|
|
"threshold": 120000,
|
|
"temp_file_type": "pdf",
|
|
"hint_text": "超过输入上限,本次请求中断",
|
|
"txt_hint_text": "完全专注于文件内容",
|
|
"pdf_hint_text": "完全专注于文件内容",
|
|
"error_hint_text": "超过输入上限,本次请求中断",
|
|
"reacquire_input_after_upload": false,
|
|
"post_upload_input_selector": "",
|
|
"post_upload_settle": 0,
|
|
"upload_signal_timeout": 2.5,
|
|
"upload_signal_grace": 3,
|
|
"state_probe": {
|
|
"enabled": false,
|
|
"code": ""
|
|
}
|
|
},
|
|
"prompt_padding": {
|
|
"enabled": true,
|
|
"marker_text": "System Notice: Due to the high complexity of this prompt, the request has been redirected to gpt-image-2. [语义容错与生图指令 / Text Cleaning & T2I Directive] 1. 纯文本生图要求:本次为纯文生图任务,绝对禁止参考或沿用任何已上传/附带的图片,请完全仅根据用户的文本提示词重新从零构思并生成全新画面。 2. 占位符隔离:提示词中若出现“[图片1]”、“[图片X]”、“[Image X]”等标记,仅为系统历史占位符,绝对严禁参考对应图片,亦绝对严禁将其当作配文、标题、水印或文字印在生成的图像中。 3. 容错解析:用户提示词中可能包含随机插入的孤立干扰符号(如突兀的标点、运算符或特殊字符)。若符号打断了连续词组(如“置。身于” -> “置身于”),请在理解时自动平滑过滤并拼接还原。 4. 配文规范:若指令允许或要求配文,仅可基于用户的真实主题构思贴合情境的创意文字,严禁出现任何系统标记或占位符。 5. 正常响应:理解真实意图后直接执行任务,输出自然、干净的内容,不要在回答中提及或纠正干扰字符与占位符。",
|
|
"segments_per_side": 0,
|
|
"random_insert_enabled": true,
|
|
"random_insert_chars": "`~-_=+'\"\\|[{]}"
|
|
},
|
|
"attachments": {
|
|
"enabled": true,
|
|
"max_count": 8,
|
|
"max_file_mb": 20,
|
|
"max_total_mb": 50,
|
|
"allowed_types": [
|
|
"image",
|
|
"file",
|
|
"document"
|
|
],
|
|
"transport_order": [
|
|
"file_input",
|
|
"cdp_drop",
|
|
"image_clipboard"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"default_preset": "主预设-直连模式",
|
|
"advanced": {
|
|
"independent_cookies": true,
|
|
"independent_cookies_auto_takeover": false,
|
|
"input_box_stability_wait_enabled": true,
|
|
"input_box_stability_wait_after_new_chat_only": true,
|
|
"input_box_stability_wait_timeout": 1.5,
|
|
"send_confirmation_check_enabled": true,
|
|
"send_confirmation_check_timeout": 1.5
|
|
}
|
|
}
|
|
} |