Repository navigation
feat(providers): 接入 HAL-X THX-01 决策模型 - #61
Merged
Merged
Conversation
…锁导致各渠道安装结果漂移,arm64 QEMU 两挂 6h
CD 等伴侣应用在自己侧解析额度后 POST /api/external-quota/<source> 推数字, 统一配额页渲染合成卡片(ext:<source>,不进 providers 表、不参与路由)。 载荷白名单+标量强制(嵌套结构 400 拒收,凭据材料从构造上进不来); 快照存 _meta,7 天 TTL 惰性清理;guard 例外+路由自验双保险,LAN 模式 与仪表盘其他写路由同姿态。parseQuotaData default 分支透传 unlimited/ recurring/percentScale 等展示标志。移除 fec93dc 误提交的 token-harbor 外挂草案(3 文件+Sidebar 入口,从未发版);tokenharbor 注册表 priority:45 保留。literals 一并登记推送卡与后续 UI 文案。 Co-Authored-By: Claude Code <noreply@anthropic.com>
独立部署(Docker/VPS 无 CD)也可在控制台粘 Cookie 建连接:category webCookie/authType cookie,AddApiKeyModal 走 Cookie 输入态;纯配额监控 卡(models 空)不参与路由。探针 getTokenHarborFreeUsage 抓 tokenharbor.ai /dashboard 解析 Free allowance/重置倒计时,走 proxyAwareFetch(连接代理+ 严格 SSL+fail-soft),周期性抓取天然实现会话滑动保活。双轨优先取 providerSpecificData.creditDaddyWebSession.cookie 再回落 apiKey。USAGE_ COOKIE_PROVIDERS 打通 isUsageEligible/computeConnectionUsage/validate。 注册表基线与 golden snap 同步(109 providers)。 Co-Authored-By: Claude Code <noreply@anthropic.com>
apiKeys 增 allowedModels/allowedCombos(JSON 列,SCHEMA_VERSION 2→3 加列 备份;exportDb/importDb 显式枚举避免往返静默丢列)。checkApiKeyModelAccess 在 /v1 与 /responses 鉴权链校验:未配=不限,请求 combo 看 allowedCombos、 单模型看 allowedModels(精确+provider 前缀剥离+通配符),越权 403 model_not_allowed;带 key 的 GET /v1/models 同步按白名单过滤。key 轮换 继承白名单。Endpoint 页 tune 弹窗编辑白名单、列表显示限制徽章、行改响应式 排版。api-key-daily-limit-wiring 源码守卫同步到新形状,whitelist 测试钉住 放行/拦截/通配/combo 四路。 Co-Authored-By: Claude Code <noreply@anthropic.com>
…or 透传与空轮次 9Router 0.5.95–0.5.99 对照评估后按 10Router 风格自写吸收: openai-to-gemini 对重复 tool_call_id 自动加 _dupN 后缀并按队列对齐 functionResponse(防 Google 400 Duplicate ID;properties 键名冲突此前 358ce4a 已修,守卫在 antigravity-tool-sanitize)。capabilities 补 glm-5.2/5.3 真实 1M 窗口、glm-5.3 thinkingCanDisable:false。cursor AgentService 帧透传 reasoning_effort、过滤空轮次。kimi transports 增 responses 直连端点,minimax-free 加 mcode 别名(alias 基线同步)。 Co-Authored-By: Claude Code <noreply@anthropic.com>
…未连接模型 sttCore 增 elevenlabs 通道(xi-api-key 头+multipart model_id/language_code) 与 elevenlabs.js sttConfig(scribe_v1);ollama usage 提取器读 prompt_tokens_details.cached_tokens 并入 buildUsage 的 cachedTokens,本地 缓存命中进用量账本。Endpoint 密钥行/ModelsCard 长模型名改响应式排版,窄屏 不再横向撑爆。ModelSelectModal 未连接供应商按 kindFilter 也纳入候选、 排在已连接后并挂「未连接」徽章,Combo 可提前编排未配置渠道的模型。 CHANGELOG v1.4.1 补两批更新记录。 Co-Authored-By: Claude Code <noreply@anthropic.com>
首次跑某补丁号时导出目录必然没有 10router-X.Y.Z-test.* 产物,流水线里 的 grep 以退出码 1 收尾,被 set -euo pipefail 放大成盖号前无输出退出 (2026-10-12 热替换 1.4.1 时踩到)。grep 段补 || true 兜底。 Co-Authored-By: Claude Code <noreply@anthropic.com>
1. 撤除 tokenharbor-free:用户确认其为脏数据,tokenharbor 已具备完整匹配; 移除其注册表、用量探针、验证路由、literals 词条与单测,保持主注册表干净。 2. MiniMax Code 订阅双线(minimax-code / minimax-code-global): - 支持通过设备码 OAuth 流程(PKCE S256,client mcode-public)直连 Agent Mavis 网关; - 适配单飞防并发单次刷新令牌轮换机制与 needs-reauth 冷却; - 内置用量探针自动抓取 M Plan 速率限制窗口,fail-soft 读取 Credits 余额; - 别名 mcode 与 mm 正式映射至国内订阅线,mmg 映射至国际线。 3. 图标覆盖与守卫: - 为 minimax-code 与 minimax-code-global 补齐标准图标; - 新增 provider-icon-coverage.test.js 自动化全量守卫,严查图标缺失。 Co-Authored-By: Claude Code <noreply@anthropic.com>
1. QuotaToolbar 新增 tune 按钮弹窗,将隐藏无配额、隐藏零余额、嵌套圆环条 与新增的「显示外部推送卡片」开关聚合管理,避免实验性页面杂乱。 2. 过滤解耦:外部推送卡(conn.external,来自 CreditDaddy 等)拥有独立 开关,不再受常规卡片无配额/零余额的误伤;且带有错误或重新登录提示的 卡片始终强制保留呈现,确保用户不会漏看关键会话告警。 Co-Authored-By: Claude Code <noreply@anthropic.com>
将原本堆叠在实验性页面的 4 个配额卡片偏好设置彻底移除, 仅保留一行指引提示。偏好设置已完全收敛至配额追踪器 工具栏的「配额卡片显示偏好」专属弹窗中统一管理。 Co-Authored-By: Claude Code <noreply@anthropic.com>
1. 修复 OAuthModal 中硬编码的 deviceCodeProviders 未包含 minimax-code 与 minimax-code-global 导致前端误走普通授权码模式报错的问题。 2. MiniMax Code Free 增加 mmcf 简写别名(与国内订阅线 mcode/mm、国际线 mmg 形成清晰区分)。 Co-Authored-By: Claude Code <noreply@anthropic.com>
THX-01 走现有 /v1/systemone 决策通道(state + typed questions),零 chat 翻译层, 与 v1m/drex 同一接线方式。别名 thx / hal-x / halx,同步重生成别名基线。 Co-Authored-By: Claude Code <noreply@anthropic.com>
1 of 2 tasks
# Conflicts: # open-sse/providers/registry/index.js
provider-icon-coverage 测试要求所有活跃 registry provider 都有对应的 public/providers 图标。 Co-Authored-By: Claude Code <noreply@anthropic.com>
tokenharbor-free 已从 PROVIDERS 中移除,但快照条目仍残留,CI 模式下报 obsolete。 Co-Authored-By: Claude Code <noreply@anthropic.com>
techysy
added a commit
that referenced
this pull request
Oct 15, 2026
modelscope(别名 ms):api-inference.modelscope.cn OpenAI 兼容 + passthrough, 首批 20 款官方命名空间全名模型(DeepSeek V4.1/V4/V3/R1、Qwen3.8/3.5/2.5、GLM-5.x、 MiniMax-M3、Kimi-K3、Step-3.7、ERNIE-4.5);魔方额度只在网页会话侧,走 CreditDaddy 推送 + 同名认领。未绑阿里云的 403 归入实名闸门类(REALNAME_GATE_RE/ERROR_RULES 补 "bind your alibaba cloud account",REALNAME_HINT 给 modelscope.cn/my/account 出路)。 codiv(别名 cdv):System One 决策端点 /v1/systemone(7 款 kind:systemone)+ diffusiongemma-26b 文本生成,serviceKinds [llm, systemone]。 thx.png 用品牌占位图(128×128 圆角渐变 + TX 字标,注册表 color/textIcon 同源)替换 #61 随附的 361 字节纯色 stub;图标覆盖守卫测试(provider-icon-coverage)保持绿。 registry/index.js 一次性登记 river/codiv/modelscope/thx 四条目。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/v1/systemone决策通道(state + typed questions),零 chat 翻译层,与 v1m/drex 同一接线方式thx/hal-x/halx,模型thx-01,端点https://api.hal-x.ai/v1/systemone,无用量卡tests/__baseline__/alias-baseline.json(仅新增三个别名条目)Test plan
tests/unit/v1m-systemone-provider.test.js、tests/unit/drex-wiring.test.js共 12 用例通过tests/__baseline__/verify-alias.mjs通过tests/__baseline__/verify-providers.mjs通过🤖 Generated with Claude Code