Initial commit
This commit is contained in:
commit
57fc3525eb
7311 files changed
+1291398
No files matched your search
@@ -0,0 +1,232 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"site": "chatgpt.com",
|
||||
"adapter_version": "2026.09.26",
|
||||
"min_app_version": "3.0.0",
|
||||
"config": {
|
||||
"presets": {
|
||||
"主预设": {
|
||||
"file_paste": {
|
||||
"enabled": false,
|
||||
"threshold": 50000,
|
||||
"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,
|
||||
"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
|
||||
},
|
||||
"attachment_monitor": {
|
||||
"root_selectors": [
|
||||
"form:has(div.ProseMirror)",
|
||||
"form:has(#prompt-textarea)",
|
||||
"form",
|
||||
".shadow-short-composer"
|
||||
],
|
||||
"attachment_selectors": [
|
||||
"div[role='group'][aria-label]",
|
||||
"button[aria-label='以全视图打开图片']",
|
||||
"button[aria-label^='移除文件']",
|
||||
"[data-testid*='attachment']",
|
||||
"[class*='attachment']",
|
||||
"[class*='file-preview']",
|
||||
"img[src^='blob:']",
|
||||
"img[src^='data:image']"
|
||||
],
|
||||
"pending_selectors": [],
|
||||
"busy_text_markers": [],
|
||||
"send_button_disabled_markers": [],
|
||||
"require_attachment_present": true,
|
||||
"require_upload_signal_before_ready": false,
|
||||
"continue_once_on_unconfirmed_send": false,
|
||||
"idle_timeout": 8,
|
||||
"hard_max_wait": 90
|
||||
}
|
||||
},
|
||||
"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:not([aria-hidden=\"true\"])",
|
||||
"audio_selector": "audio, audio source",
|
||||
"video_selector": "video, video source",
|
||||
"container_selector": "div[id^=\"image-\"]",
|
||||
"force_postprocess": false,
|
||||
"debounce_seconds": 2,
|
||||
"wait_for_load": true,
|
||||
"load_timeout_seconds": 8,
|
||||
"download_blobs": true,
|
||||
"max_size_mb": 20,
|
||||
"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
|
||||
},
|
||||
"selectors": {
|
||||
"file_input": "input[type=\"file\"]",
|
||||
"upload_btn": "button[aria-label*=\"添加文件\"], button[aria-label*=\"Attach\"], button[aria-label*=\"Upload\"]",
|
||||
"drop_zone": "form, div.ProseMirror",
|
||||
"generating_indicator": null,
|
||||
"input_box": "#prompt-textarea, div.ProseMirror[contenteditable=\"true\"], div[role=\"textbox\"][contenteditable=\"true\"]",
|
||||
"message_wrapper": "section[data-testid^=\"conversation-turn-\"]",
|
||||
"new_chat_btn": "[data-testid=\"create-new-chat-button\"], a[href=\"/\"]",
|
||||
"result_container": "section[data-testid^=\"conversation-turn-\"] .markdown, section[data-testid^=\"conversation-turn-\"] div[id^=\"image-\"]",
|
||||
"send_btn": "button[data-testid=\"send-button\"], button[type=\"submit\"], button[aria-label*=\"发送\"], button[aria-label*=\"Send\"]",
|
||||
"temp_chat_btn": "button[aria-label=\"开启临时聊天\"]"
|
||||
},
|
||||
"stealth": false,
|
||||
"stream_config": {
|
||||
"hard_timeout": 600,
|
||||
"mode": "network",
|
||||
"network": {
|
||||
"listen_pattern": "backend-api/f/conversation",
|
||||
"parser": "chatgpt",
|
||||
"response_interval": 0.5,
|
||||
"silence_threshold": 2,
|
||||
"stream_match_mode": "regex",
|
||||
"stream_match_pattern": "/backend-api/f/conversation(?:$|[?#])"
|
||||
}
|
||||
},
|
||||
"workflow": [
|
||||
{
|
||||
"action": "CLICK",
|
||||
"optional": true,
|
||||
"target": "new_chat_btn",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"action": "FILL_INPUT",
|
||||
"optional": false,
|
||||
"target": "input_box",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"action": "CLICK",
|
||||
"optional": true,
|
||||
"target": "send_btn",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"action": "STREAM_WAIT",
|
||||
"optional": false,
|
||||
"target": "result_container",
|
||||
"value": null
|
||||
}
|
||||
],
|
||||
"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