From 456b26844509482d49e0b7b1ed68023aaa506dcd Mon Sep 17 00:00:00 2001 From: pickrui Date: Mon, 12 Oct 2026 13:57:46 +0800 Subject: [PATCH] Add Cohere, TRAE and DevTools AI routing rules --- Clash/Provider/AI Suite.yaml | 23 ++++++++++++++++++++++- Egern/Provider/AI Suite.yaml | 26 +++++++++++++++++++++++++- Surge/Surge 3/Provider/AI Suite.list | 23 ++++++++++++++++++++++- sing-box/Provider/AI Suite.json | 7 +++++++ 4 files changed, 76 insertions(+), 3 deletions(-) diff --git a/Clash/Provider/AI Suite.yaml b/Clash/Provider/AI Suite.yaml index e52d568..101a482 100644 --- a/Clash/Provider/AI Suite.yaml +++ b/Clash/Provider/AI Suite.yaml @@ -53,7 +53,7 @@ payload: - DOMAIN,workos.imgix.net # > ChatGPT Voice - # https://openai.com/chatgpt-voice.json (verified 2026-10-02) + # https://openai.com/chatgpt-voice.json (verified 2026-10-12) # UDP-capable outbound required for voice over UDP/3478 - IP-CIDR,102.37.57.54/32,no-resolve - IP-CIDR,13.71.25.29/32,no-resolve @@ -92,6 +92,12 @@ payload: # > Cloudflare AI Gateway - DOMAIN,gateway.ai.cloudflare.com + # > Cohere + # Hong Kong is a restricted location in the SaaS agreement + # https://cohere.com/saas-agreement + - DOMAIN-SUFFIX,cohere.ai + - DOMAIN-SUFFIX,cohere.com + # > Cursor # Provider region restrictions also apply to models in Cursor # https://cursor.com/docs/account/regions @@ -151,6 +157,11 @@ payload: - DOMAIN,daily-cloudcode-pa.googleapis.com - DOMAIN,daily-cloudcode-pa.sandbox.googleapis.com + # > Google Chrome DevTools AI assistance + # Hong Kong is excluded from the supported locations + # https://developer.chrome.com/docs/devtools/ai-assistance/get-started + - DOMAIN,aida.googleapis.com + # > Google DeepMind - DOMAIN-SUFFIX,deepmind.com - DOMAIN-SUFFIX,deepmind.google @@ -255,6 +266,16 @@ payload: # > Sora - DOMAIN-SUFFIX,sora.com + # > TRAE International + # Hong Kong is absent from the current service availability list + # https://docs.trae.ai/ide/supported-countries-and-regions + # https://docs.trae.ai/ide/troubleshoot-general-issues + # Keep shared mchost.guru limited to the international API hosts + - DOMAIN-SUFFIX,trae.ai + - DOMAIN-SUFFIX,traeapi.us + - DOMAIN,trae-api-sg.mchost.guru + - DOMAIN,trae-api-us.mchost.guru + # > Windsurf - DOMAIN-SUFFIX,codeium.com - DOMAIN-SUFFIX,codeiumdata.com diff --git a/Egern/Provider/AI Suite.yaml b/Egern/Provider/AI Suite.yaml index 96be8fd..8384fbd 100644 --- a/Egern/Provider/AI Suite.yaml +++ b/Egern/Provider/AI Suite.yaml @@ -33,6 +33,12 @@ domain_suffix_set: - claude.com - claudeusercontent.com + # > Cohere + # Hong Kong is a restricted location in the SaaS agreement + # https://cohere.com/saas-agreement + - cohere.ai + - cohere.com + # > Cursor # Provider region restrictions also apply to models in Cursor # https://cursor.com/docs/account/regions @@ -143,6 +149,13 @@ domain_suffix_set: # > Sora - sora.com + # > TRAE International + # Hong Kong is absent from the current service availability list + # https://docs.trae.ai/ide/supported-countries-and-regions + # https://docs.trae.ai/ide/troubleshoot-general-issues + - trae.ai + - traeapi.us + # > Windsurf - codeium.com - codeiumdata.com @@ -226,6 +239,11 @@ domain_set: - daily-cloudcode-pa.googleapis.com - daily-cloudcode-pa.sandbox.googleapis.com + # > Google Chrome DevTools AI assistance + # Hong Kong is excluded from the supported locations + # https://developer.chrome.com/docs/devtools/ai-assistance/get-started + - aida.googleapis.com + # > Google Gemini shared API # Shared Google API loader - apis.google.com @@ -262,11 +280,17 @@ domain_set: - login.live.com - login.microsoftonline.com + # > TRAE International + # Keep shared mchost.guru limited to the international API hosts + # https://docs.trae.ai/ide/troubleshoot-general-issues + - trae-api-sg.mchost.guru + - trae-api-us.mchost.guru + # > ChatGPT Voice # Direct-IP UDP voice needs separate IP rules and a UDP-capable outbound # Current ranges: https://openai.com/chatgpt-voice.json -# ChatGPT Voice: https://openai.com/chatgpt-voice.json (verified 2026-10-02) +# ChatGPT Voice: https://openai.com/chatgpt-voice.json (verified 2026-10-12) no_resolve: true ip_cidr_set: - 102.37.57.54/32 diff --git a/Surge/Surge 3/Provider/AI Suite.list b/Surge/Surge 3/Provider/AI Suite.list index f8b17b7..2127c14 100644 --- a/Surge/Surge 3/Provider/AI Suite.list +++ b/Surge/Surge 3/Provider/AI Suite.list @@ -52,7 +52,7 @@ DOMAIN,setup.workos.com DOMAIN,workos.imgix.net # > ChatGPT Voice -# https://openai.com/chatgpt-voice.json (verified 2026-10-02) +# https://openai.com/chatgpt-voice.json (verified 2026-10-12) # UDP-capable outbound required for voice over UDP/3478 IP-CIDR,102.37.57.54/32,no-resolve IP-CIDR,13.71.25.29/32,no-resolve @@ -91,6 +91,12 @@ DOMAIN-SUFFIX,claudeusercontent.com # > Cloudflare AI Gateway DOMAIN,gateway.ai.cloudflare.com +# > Cohere +# Hong Kong is a restricted location in the SaaS agreement +# https://cohere.com/saas-agreement +DOMAIN-SUFFIX,cohere.ai +DOMAIN-SUFFIX,cohere.com + # > Cursor # Provider region restrictions also apply to models in Cursor # https://cursor.com/docs/account/regions @@ -150,6 +156,11 @@ DOMAIN,cloudcode-pa.googleapis.com DOMAIN,daily-cloudcode-pa.googleapis.com DOMAIN,daily-cloudcode-pa.sandbox.googleapis.com +# > Google Chrome DevTools AI assistance +# Hong Kong is excluded from the supported locations +# https://developer.chrome.com/docs/devtools/ai-assistance/get-started +DOMAIN,aida.googleapis.com + # > Google DeepMind DOMAIN-SUFFIX,deepmind.com DOMAIN-SUFFIX,deepmind.google @@ -254,6 +265,16 @@ DOMAIN-SUFFIX,pplx.ai # > Sora DOMAIN-SUFFIX,sora.com +# > TRAE International +# Hong Kong is absent from the current service availability list +# https://docs.trae.ai/ide/supported-countries-and-regions +# https://docs.trae.ai/ide/troubleshoot-general-issues +# Keep shared mchost.guru limited to the international API hosts +DOMAIN-SUFFIX,trae.ai +DOMAIN-SUFFIX,traeapi.us +DOMAIN,trae-api-sg.mchost.guru +DOMAIN,trae-api-us.mchost.guru + # > Windsurf DOMAIN-SUFFIX,codeium.com DOMAIN-SUFFIX,codeiumdata.com diff --git a/sing-box/Provider/AI Suite.json b/sing-box/Provider/AI Suite.json index 0fff7ab..b71ecac 100644 --- a/sing-box/Provider/AI Suite.json +++ b/sing-box/Provider/AI Suite.json @@ -22,6 +22,8 @@ "clipdrop.co", "codeium.com", "codeiumdata.com", + "cohere.ai", + "cohere.com", "copilot.cloud.microsoft", "copilot.com", "copilot.microsoft.com", @@ -73,6 +75,8 @@ "proactivebackend-pa.googleapis.com", "robinfrontend-pa.googleapis.com", "sora.com", + "trae.ai", + "traeapi.us", "udify.app", "windsurf.com", "zed.dev" @@ -82,6 +86,7 @@ "accounts.spacex.ai", "accounts.x.ai", "ai.google.dev", + "aida.googleapis.com", "alkalicore-pa.clients6.google.com", "alkalimakersuite-pa.clients6.google.com", "anysphere-binaries.s3.us-east-1.amazonaws.com", @@ -132,6 +137,8 @@ "q.us-east-1.amazonaws.com", "rum.browser-intake-datadoghq.com", "setup.workos.com", + "trae-api-sg.mchost.guru", + "trae-api-us.mchost.guru", "waa-pa.clients6.google.com", "workos.imgix.net" ]