Initial commit
This commit is contained in:
commit
57fc3525eb
7311 files changed
+1291398
No files matched your search
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"site": "grok.com",
|
||||
"adapter_version": "2026.09.26",
|
||||
"min_app_version": "3.0.0",
|
||||
"config": {
|
||||
"presets": {
|
||||
"主预设": {
|
||||
"selectors": {
|
||||
"input_box": "div[data-testid=\"chat-input\"] [contenteditable=\"true\"], div.tiptap.ProseMirror, textarea",
|
||||
"send_btn": "form button[type=\"submit\"][aria-label=\"提交\"], form button[type=\"submit\"][aria-label=\"Send\"], form button[type=\"submit\"], button[aria-label=\"提交\"]",
|
||||
"result_container": "div[id^=\"response-\"] [data-testid=\"assistant-message\"], [data-testid=\"assistant-message\"]",
|
||||
"new_chat_btn": "a.peer\\/menu-button[href=\"/\"], a[href=\"/\"]",
|
||||
"message_wrapper": "div[id^=\"response-\"]",
|
||||
"generating_indicator": "button[aria-label*=\"停止模型响应\"], button[aria-label*=\"停止\"], button[aria-label*=\"Stop\"]",
|
||||
"upload_btn": "button[data-testid=\"attach-button\"], button.group\\/attach-button, button[aria-label=\"附件\"]",
|
||||
"drop_zone": "form, div[data-testid=\"chat-input\"], div.tiptap.ProseMirror",
|
||||
"file_input": "input[type=\"file\"][name=\"files\"], input[type=\"file\"]"
|
||||
},
|
||||
"workflow": [
|
||||
{
|
||||
"action": "CLICK",
|
||||
"target": "new_chat_btn",
|
||||
"optional": true,
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"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": "KEY_PRESS",
|
||||
"target": "Enter",
|
||||
"optional": true,
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"action": "STREAM_WAIT",
|
||||
"target": "result_container",
|
||||
"optional": false,
|
||||
"value": null
|
||||
}
|
||||
],
|
||||
"stealth": true,
|
||||
"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": "div.group\\/image img.object-cover.relative",
|
||||
"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": 100,
|
||||
"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": "button[aria-label=\"朗读\"], button[aria-label*=\"朗读\"], button[data-dbx-name=\"button\"][aria-label*=\"朗读\"], button.voiceButton-GAZh3G, [data-testid*=\"voice\"] button, [class*=\"voice\"] button, [role=\"button\"][aria-label*=\"朗读\"]",
|
||||
"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": 5000,
|
||||
"temp_file_type": "txt",
|
||||
"hint_text": "完全专注于文件内容",
|
||||
"txt_hint_text": "完全专注于文件内容",
|
||||
"pdf_hint_text": "完全专注于文件内容",
|
||||
"error_hint_text": "输入文本长度超过限制,已中止发送",
|
||||
"reacquire_input_after_upload": false,
|
||||
"post_upload_input_selector": "",
|
||||
"post_upload_settle": 0.0,
|
||||
"upload_signal_timeout": 2.5,
|
||||
"upload_signal_grace": 3.0,
|
||||
"state_probe": {
|
||||
"enabled": false,
|
||||
"code": ""
|
||||
},
|
||||
"attachment_monitor": {
|
||||
"root_selectors": [
|
||||
"form",
|
||||
"div[data-testid=\"chat-input\"]"
|
||||
],
|
||||
"attachment_selectors": [
|
||||
"[class*=\"attachment\"]",
|
||||
"[class*=\"preview\"]",
|
||||
"img[src^=\"blob:\"]",
|
||||
"button[aria-label*=\"附件\"]",
|
||||
"div:has(> img)"
|
||||
],
|
||||
"pending_selectors": [],
|
||||
"busy_text_markers": [],
|
||||
"send_button_disabled_markers": [],
|
||||
"require_attachment_present": false,
|
||||
"require_upload_signal_before_ready": false,
|
||||
"continue_once_on_unconfirmed_send": true,
|
||||
"idle_timeout": 8.0,
|
||||
"hard_max_wait": 90.0
|
||||
},
|
||||
"attachments": {
|
||||
"enabled": true,
|
||||
"max_count": 8,
|
||||
"max_file_mb": 20,
|
||||
"max_total_mb": 50,
|
||||
"allowed_types": [],
|
||||
"error_selectors": [],
|
||||
"transport_order": [
|
||||
"file_input",
|
||||
"cdp_drop",
|
||||
"image_clipboard"
|
||||
],
|
||||
"ready_timeout": 30
|
||||
}
|
||||
},
|
||||
"stream_config": {
|
||||
"mode": "dom",
|
||||
"hard_timeout": 90,
|
||||
"network": {
|
||||
"listen_pattern": "",
|
||||
"parser": "grok",
|
||||
"response_interval": 0.5,
|
||||
"silence_threshold": 3
|
||||
}
|
||||
},
|
||||
"prompt_padding": {
|
||||
"enabled": false,
|
||||
"marker_text": "测试号,无实际意义",
|
||||
"segments_per_side": 12,
|
||||
"random_insert_enabled": false,
|
||||
"random_insert_chars": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_preset": "主预设"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user