From 647e40bebf01eca5c97a626836ec8ded45afdc88 Mon Sep 17 00:00:00 2001 From: ruoxhub Date: Wed, 18 Nov 2026 18:22:25 +0800 Subject: [PATCH] registry: magpie-traecode, Trae CN / Global rebuilt on llm-api's trae channel A second package for the Trae channel, listed beside @magpie-community/opencode-trae-auth. Same accounts, different way of talking to the service: it is built on the trae channel of llm-api, so it sends the SOLO llm_utils_chat request with its AES-256-GCM encrypted body (x-request-pin / x-requested-at) instead of the relay's plain envelope, and reads the model table's real capability fields (context window, output limit, images, credits rate, reasoning levels) rather than a fixed list. It also differs in what it does around the chat: the IDE version headers are probed (the local install's product.json, else Trae's own update check) instead of pinned to a constant, the check-in uses the 15-digit device id that endpoint accepts, and errors are classified (1001/20101 lapsed, 4008/1005/4011 quota) so a lapsed sign-in asks for a new one instead of surfacing a 502. --- registry.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/registry.json b/registry.json index 8237e459e..e180b8bb7 100644 --- a/registry.json +++ b/registry.json @@ -211,6 +211,20 @@ "zh": "用腾讯云遨驰终端(OrcaTerm)AI 助手的模型——DeepSeek、混元、GLM、Kimi——走账号每月问答额度。非官方,条款风险见 README。" } }, + { + "package": "magpie-traecode", + "name": "TraeCode", + "icon": "trae", + "providers": [ + "trae-cn", + "trae-global" + ], + "community": true, + "summary": { + "en": "Trae CN (trae.cn) and Trae Global (trae.ai), rebuilt on the trae channel of llm-api: the SOLO llm_utils_chat endpoint with its AES-GCM encrypted request body, live model capabilities (context, output limit, images, credits rate, reasoning levels), Trae's own browser sign-in, daily check-in and credits. Shares the accounts with Trae; differs in how it talks to the service.", + "zh": "用 Trae CN(trae.cn)与 Trae 国际版(trae.ai)账号,以 llm-api 的 trae 渠道重建:走 SOLO 的 llm_utils_chat 并加密请求体(AES-256-GCM),模型能力取自真实条目(上下文、输出上限、收图、credits 倍数、思考档位),使用 Trae 自己的浏览器登录,支持每日签到与积分。与 Trae 共用同一批账号,区别在于与服务通信的方式。" + } + }, { "package": "magpie-aws-bedrock-sso", "name": "AWS Bedrock SSO", "providers": ["bedrock-sso"], "summary": { "en": "Use Amazon Bedrock Claude and GPT models with your AWS CLI profile, including SSO / IAM Identity Center. SigV4 authentication; no Bedrock API key needed.", "zh": "使用 AWS CLI 配置(支持 SSO / IAM Identity Center)接入 Amazon Bedrock 的 Claude 和 GPT 模型,通过 SigV4 签名,无需 Bedrock API 密钥。" } }, {