Repository navigation
Releases
Releases · ayeaaaa/mix2api
mix2api v2.8.8
[2.8.8] - 2026-11-17
中文
修复
- 桌面端账号列加宽到 180px,账号昵称、备注/分组/任务徽章、OAuth、过期时间
和设备信息允许换行显示,不再被省略号截断;其它数据列和操作列保持不变,
<1440px继续使用卡片布局。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Fixed
- The desktop account column is now 180px wide, and account names, note/group/
task badges, OAuth, expiry, and device details wrap instead of being clipped
with ellipses. Other data and action columns are unchanged;<1440pxkeeps
the card layout.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.7
[2.8.7] - 2026-11-16
中文
修复
- WorkBuddy 网页活跃补齐 v1 的 300 条内置提示词池;设置页的提示词选择器
现在可用,开启随机提示词后从自定义列表或全部内置提示词中抽取,关闭时仍
只发送Hi。 - 发布流程改为只把当前版本的 CHANGELOG 段落写入 GitHub Release,不再把整份
变更记录附到每个版本;v2.8.6的历史 release notes 也已修正。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Fixed
- WorkBuddy web activity now has the full 300-prompt built-in pool from v1.
The settings prompt picker works again: random-prompt mode draws from the
custom selection or all built-ins, while the switch-off default remainsHi. - Release publishing now writes only the current version's CHANGELOG section to
GitHub Releases instead of attaching the whole changelog to every version;
the historical v2.8.6 release notes were corrected as well.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.6
[2.8.6] - 2026-11-16
中文
修复
- 账号列表在手机和平板宽度下改为完整卡片布局:原表格只在 ≤640px 切卡片,
820px 等常见视口仍渲染 1076px 表格,导致积分、请求、总 token、缓存和操作
列被裁切。现在 <1440px 全部显示卡片,账号徽章可换行;总 token/缓存按顺序
显示,操作按钮和删除按钮完整可见。1440px+ 继续使用桌面表格。
验证
make check、make race通过;国内版/国际版在 1440、1400、1280、820、
390px 视口实测无横向溢出。
English
Fixed
- Account lists now use a complete card layout on phones and tablets. The old
table only switched to cards at ≤640px, so common 820px viewports still
rendered the 1076px desktop table and clipped credits, requests, total tokens,
cache, and actions. Below 1440px every field is shown in a card, account
badges can wrap, total tokens/cache keep their order, and action/delete
buttons remain fully visible. 1440px+ keeps the desktop table.
Verification
make checkandmake racepass; CN/INTL layouts were checked at 1440,
1400, 1280, 820, and 390px with no horizontal overflow.
mix2api v2.8.5
[2.8.5] - 2026-11-16
中文
修复
- 重新分配桌面端账号表列宽:1440 宽下所有数据列完整可见,操作列不再遮挡
出口、权重、积分、请求、总 token 和缓存列;641–1399 宽需要横向滚动时取消
操作列 sticky,避免盖住右侧数据。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Fixed
- Rebalanced the desktop account-table columns so all data columns are visible at
1440px and the action column no longer covers outlet, weight, credits,
requests, total tokens, or cache. Between 641 and 1399px the action column is
no longer sticky, so horizontal scrolling does not hide right-hand data.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.4
[2.8.4] - 2026-11-16
中文
变更
- 提供商调度开关集中到「自动化」页:WorkBuddy 定时自动打卡、CodeArts 每天
自动签到、小浣熊每日活跃、豆包自动签到;未启用提供商的卡片自动隐藏,提供
商设置只保留连接、并发和超时参数。 - 账号列表操作列加宽,避免「删除」等按钮被表格右边缘裁切。
修复
- WorkBuddy 国际版账号现在会执行
/v2/report活动上报,补上国际版每日积分
的调度路径;不会自动替用户打开账号任务开关。 - Raccoon 每日活跃改为每 4 小时窗口随机分钟尝试一次,失败等下一个窗口重试,
当日奖励到账后停止触发。 - CodeArts 门户浏览器回调现在按
secret→ 顶层ticket_id→state→
redirect内嵌ticket_id做精确匹配;陌生secret不再阻断
ticket_id/state匹配。
安全边界
- 没有识别出会话标识的回调仍然拒绝;不会自动选中唯一的 pending 会话。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Changed
- Provider schedule switches now live on the Automation page: WorkBuddy timed
activity, CodeArts daily check-in, Raccoon daily activity, and Doubao
check-in. Cards for disabled providers are hidden; provider settings keep
only connection, concurrency, and timeout controls. - The account action column is wider so trailing actions such as Delete are not
clipped by the table edge.
Fixed
- WorkBuddy international accounts now run the
/v2/reportactivity job,
restoring the international daily-credit scheduling path. This does not
enable account task switches on the user's behalf. - Raccoon daily activity now attempts once per four-hour window at a random
minute, retries failed windows, and stops after the day's grant lands. - CodeArts portal browser callbacks now match exactly by
secret→ top-level
ticket_id→state→ticket_idnested inredirect; an unknownsecret
no longer blocksticket_id/statematching.
Safety boundary
- Callbacks with no recognized session identifier are still rejected; the
gateway does not guess the sole pending session.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.3
[2.8.3] - 2026-11-14
中文
修复
- Raccoon 每日活跃改为调用 Web 端
GET /api/web/office/v3/setting_info触发
daily_grant;仅在 access token 被拒时刷新并重试。看板文案改为「触发每日
活跃」,不再声称刷新登录本身会发放奖励。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Fixed
- Raccoon daily activity now triggers
daily_grantthrough the authenticated
webGET /api/web/office/v3/setting_infostartup request; a token refresh is
only used to repair a rejected session before retrying. Dashboard wording now
says "trigger daily activity" instead of claiming a token refresh grants it.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.2
[2.8.2] - 2026-11-14
中文
变更
- 清理文档、测试夹具和更新器默认路径中的历史外部项目署名与链接;更新器默认
请求目录改为/run/mix2api-updater,已有自定义路径可用
WB_UPDATE_REQUEST_DIR覆盖。 main现在是唯一开发分支;v1.6.6 的 Python 代码已归档在 tag/release/历史
中,不再位于main文件树。
修复
- Anthropic Messages 的
thinking.budget_tokens=31999(Claude Code 的 MAX)
现在映射为max,不再降成high;24000 以上映射xhigh。 - CodeArts 的
thinking.effort和thinking.budget_tokens会解析为对应
reasoning_effort,包括max。 - Raccoon 的
sn-deepseek-v4-1-flash-1017模型目录补上
reasoning_efforts(含max),客户端不再只能选到 high。 - Raccoon 流式请求在客户端收到
[DONE]后断开时,网关仍会读取 post-DONE
的 credit usage 帧并记录扣分;Chat、Messages、Responses 的流式和非流式
credit 统计现在一致。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Changed
- Removed historical external-project attribution and links from documentation,
test fixtures, and updater defaults. The default request directory is now
/run/mix2api-updater; existing custom paths can use
WB_UPDATE_REQUEST_DIR. mainis now the only development branch; the v1.6.6 Python tree is archived
at the tag/release/history and no longer in themaintree.
Fixed
- Anthropic Messages
thinking.budget_tokens=31999(Claude Code MAX) now
maps tomaxinstead ofhigh; budgets at 24000+ map toxhigh. - CodeArts now derives
reasoning_effortfromthinking.effortand
thinking.budget_tokens, includingmax. - The Raccoon
sn-deepseek-v4-1-flash-1017catalog now advertises
reasoning_effortsincludingmax. - Raccoon streaming requests now drain and record the post-DONE credit usage
frame even when the client disconnects at[DONE], matching non-streaming
credit accounting across Chat, Messages, and Responses.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.1
[2.8.1] - 2026-11-13
中文
修复
- Raccoon 每日活跃改为刷新登录会话触发上游
daily_grant,不再发送hi
对话、不消耗积分;刷新后轮询账单,到账后记录当日结果。刷新失败不会再被
标记为已刷新,看板状态与账单保持一致。
验证
make check、make race全量通过;dashboard JS 套件 15/15。
English
Fixed
- Raccoon daily activity now triggers the upstream
daily_grantby refreshing
the login session instead of sending ahichat, so it no longer spends
points. It polls the bill after the refresh and records the result when the
grant lands. A failed refresh is no longer marked as refreshed, keeping the
dashboard state consistent with the bill.
Verification
make checkandmake racepass; dashboard JS suites pass (15/15).
mix2api v2.8.0
[2.8.0] - 2026-11-13
中文
新增
- 最近请求支持服务端筛选:账号、模型、API Key、结果;超过扫描上限时返回
total_exact=false/scanned,失败行可展开完整错误。 - 单发
/v1/messages支持稳定亲和键:WB_MSGSTAT_SHARDS打开后按
(Key, 模型, system, tools) 固定账号桶,WB_MSGSTAT_DAILY_SALT控制每日盐。 - Key 并发上限改为有界等待:
WB_CHAT_SLOT_WAIT默认 30 秒,超时才 429。 - CodeArts 单账号并发满改为有界等待:
CODEARTS_BUSY_WAIT_SECONDS默认 10 秒,
超时返回 429 + retry metadata,不再误报 502。 - 运营活动任务自动化:portal 活动读取/viewed/claim(回读
claimed_at)、
星巴克协作、记者节活动、活动与成长任务解耦、真实技能分享渠道、模板真实
场景与四事件组;看板新增运营活动面板。 - 计费头宽松兜底:
WB_SANITIZE_LOOSE_BILLING=1时删除严格解析认不出但
明显是计费头的首段元数据,默认关闭。
安全边界
- 运营活动不伪造成功;App/手机端任务只提示手动完成。
- 技能分享只有拿到真实
share_code+ link 并确认进度后才上报/领奖。 - 模板任务在服务端进度不前进时停止,不重复刷事件。
验证
make check、make race全量通过;dashboard JS 套件通过。
English
Added
- Recent requests now support server-side account / model / API-key / outcome
filters,total_exact=false+scannedwhen the scan cap is hit, and
expandable failure details. - One-shot
/v1/messagesgets a stable affinity key via
WB_MSGSTAT_SHARDS, with an optional daily salt controlled by
WB_MSGSTAT_DAILY_SALT. - Key concurrency limits now wait up to
WB_CHAT_SLOT_WAIT(default 30s)
before returning 429. - CodeArts per-account concurrency waits up to
CODEARTS_BUSY_WAIT_SECONDS(default 10s) and returns 429 with retry metadata
instead of a misleading 502. - Operational campaign automation: portal activity read/viewed/claim with
claimed_atverification, Starbucks and Reporter's Day campaigns, activity/
growth decoupling, real skill-share channels, real template scenes and the
four-event group, plus a dashboard activity panel. - Opt-in loose billing-header cleanup via
WB_SANITIZE_LOOSE_BILLING=1.
Safety boundaries
- Campaign actions never fake success; App/mobile-only tasks are reported as
manual. - Skill sharing reports/claims only after a real
share_code+ link and
verified progress. - Template tasks stop when server progress does not advance.
Verification
make checkandmake racepass; dashboard JS suites pass.
mix2api v2.7.0
[2.7.0] - 2026-11-13
中文
新增
- CodeArts 请求积分结算:CodeArts SSE 只返回 token,不返回逐请求
credit。现在请求前采样账号累计已用积分,响应后强制刷新统计并按差值
写入 usage;上游显式返回非零credit时不重复记账,采样失败不影响聊天。
同一账号的并发请求共享高水位,避免同一段增量被重复结算。 - API Key 新增日 token 限额:
daily_token_limit,单位 M,0不限。
超限在占用并发槽位之前返回403 permission_error;/v1/messages使用
Anthropic 错误信封。看板 Key 编辑器新增输入框和「日限 NM」徽标。 - 工具 schema 关键字纠偏:WorkBuddy / CodeArts 共用
providers.HardenSchemaKeywords,数字/布尔字符串、enum/examples、
description/title/format/pattern、additionalProperties和
null 关键字都会在出站前规整,修复上游code 11129。
验证
make check、make race全量通过;dashboard JS 套件 14/14 通过。- 新增 CodeArts 积分 delta/显式 credit/并发高水位/采样失败、Key 日限额
存储/折叠/API 拒绝,以及两个 provider 的 schema 关键字纠偏测试。
English
Added
- CodeArts per-request credit settlement: CodeArts SSE reports tokens but not
per-requestcredit. The gateway now samples the account's cumulative used
credits before a request, force-refreshes statistics afterward, and writes the
delta to usage. Explicit non-zero upstream credit is not counted twice, and
sampling failures never block chat. Concurrent requests share a high-water
mark so the same delta is not settled twice. - API keys now support a daily token limit (
daily_token_limit, in millions;
0= unlimited). The limit is enforced before a concurrency slot and returns
403 permission_error;/v1/messagesuses the Anthropic error envelope. The
dashboard key editor adds the field and adaily limit NMbadge. - Tool-schema keyword coercion: WorkBuddy and CodeArts share
providers.HardenSchemaKeywords, which normalizes numeric/boolean strings,
enum/examples,description/title/format/pattern,
additionalProperties, and null keywords before sending upstream, fixing
upstreamcode 11129.
Verification
make checkandmake racepass; the dashboard JS harness passes 14/14
suites.- Added coverage for CodeArts credit delta/explicit/high-water/failure, key
daily-limit storage/fold/API rejection, and schema keyword coercion in both
providers.