From ae2632241f9c0202f5511fb176da3ca0904ee787 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 06:52:45 +0000 Subject: [PATCH 1/2] docs: archive changelog for v0.7.39 --- CHANGELOG.md | 26 +++++++++++++++++++ .../unreleased/codearts-inline-images.md | 7 ----- changelog/unreleased/credit-floor.md | 15 ----------- changelog/unreleased/kiro-oauth-expiry.md | 7 ----- .../unreleased/qoder-checkin-activity.md | 9 ------- 5 files changed, 26 insertions(+), 38 deletions(-) delete mode 100644 changelog/unreleased/codearts-inline-images.md delete mode 100644 changelog/unreleased/credit-floor.md delete mode 100644 changelog/unreleased/kiro-oauth-expiry.md delete mode 100644 changelog/unreleased/qoder-checkin-activity.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e2141ea..d21a44ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,32 @@ Published user-facing notes for GitHub Releases and the console update page. Write upcoming notes as bilingual files in `changelog/unreleased/`. +## 0.7.39 - 2026-11-20 + +### English + +- CodeArts vision requests now inline remote image URLs as base64 data URLs before the call, so clients that send signed object-storage links (for example a Qoder or WorkBuddy custom endpoint) no longer fail with `InferHub.ModelArts.81001.400 unsupported image url`. Downloaded images are cached briefly so replayed turns are not re-fetched. +- Add a configurable credit floor (`CLI2API_CREDIT_FLOOR`, default `0` = disabled) so accounts below the threshold are skipped for paid models while remaining eligible for free models. +- Allow a per-account `credit_floor` override in the account card (save an explicit `0` to disable the floor for that account; leave the override off to inherit the global floor) and through the management API. +- Only enforce the credit floor against quota snapshots reported in `credits`. +- Add an independent percent floor (`CLI2API_PERCENT_FLOOR`, default `0` = disabled, per-account `percent_floor`) for accounts whose quota is reported as a remaining percentage (Devin, Kimi, Zhipu). The two floors never compare across units; entitlement-pack and rate-limit-window accounts keep their existing scheduling behaviour. +- Reject invalid or negative floor values at startup instead of silently disabling the gate. +- Refresh imported Kiro OAuth credentials that omit an expiry when a refresh token is available. Use the profile lookup page size accepted by Kiro so account usage and model discovery can proceed with the renewed credential. +- Qoder check-in sends the activity page `Origin` / `Referer` headers alongside the desktop identity. The in-process PAT path had dropped them, which could make upstream return no daily credit campaign even when the activity was open. +- Global check-in retries the campaign list with the desktop COSY token when the OpenAPI bearer authenticates but exposes no claimable campaign. + +### 中文 + +- 码道视觉请求现在会在调用前把远程图片 URL 内联为 base64 data URL,发送签名对象存储链接的客户端(如 Qoder / WorkBuddy 自定义端点)不再报 `InferHub.ModelArts.81001.400 unsupported image url`。已下载的图片会短暂缓存,重放的历史轮次不会重复下载。 +- 新增可配置积分下限(`CLI2API_CREDIT_FLOOR`,默认 `0` 表示关闭):积分低于阈值的账号不再调度计费模型,但仍可调度免费模型。 +- 账号卡片与管理 API 支持按账号设置 `credit_floor`(填 0 表示显式关闭该账号保底;关闭覆盖则继承全局阈值)。 +- 积分阈值只对以 `credits` 为单位上报的余额生效。 +- 新增独立的百分比保底(`CLI2API_PERCENT_FLOOR`,默认 `0` 关闭;按账号 `percent_floor`),适用于以剩余百分比上报余额的账号(Devin、Kimi、智谱);两种单位分别判断、互不做数值换算,权益包与速率窗口账号维持原有调度行为。 +- 启动时会拒绝非法或负值配置,避免阈值校验被静默关闭。 +- 导入的 Kiro OAuth 凭证缺少有效期但带有刷新令牌时,先换取新的访问令牌。按 Kiro 接受的分页大小查找 profile,以便后续读取会员额度和模型目录。 +- Qoder 签到重新发送活动页需要的 `Origin` / `Referer` 头。进程内 PAT 路径之前漏掉这两个头,可能导致上游在活动开放时也不返回每日积分活动。 +- 国际版在 OpenAPI token 能鉴权但拿不到可领活动时,会再用桌面 COSY token 重试活动列表。 + ## 0.7.38 - 2026-11-19 ### English diff --git a/changelog/unreleased/codearts-inline-images.md b/changelog/unreleased/codearts-inline-images.md deleted file mode 100644 index c0455ab3..00000000 --- a/changelog/unreleased/codearts-inline-images.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- CodeArts vision requests now inline remote image URLs as base64 data URLs before the call, so clients that send signed object-storage links (for example a Qoder or WorkBuddy custom endpoint) no longer fail with `InferHub.ModelArts.81001.400 unsupported image url`. Downloaded images are cached briefly so replayed turns are not re-fetched. - -### 中文 - -- 码道视觉请求现在会在调用前把远程图片 URL 内联为 base64 data URL,发送签名对象存储链接的客户端(如 Qoder / WorkBuddy 自定义端点)不再报 `InferHub.ModelArts.81001.400 unsupported image url`。已下载的图片会短暂缓存,重放的历史轮次不会重复下载。 diff --git a/changelog/unreleased/credit-floor.md b/changelog/unreleased/credit-floor.md deleted file mode 100644 index 4e4c4fa7..00000000 --- a/changelog/unreleased/credit-floor.md +++ /dev/null @@ -1,15 +0,0 @@ -### English - -- Add a configurable credit floor (`CLI2API_CREDIT_FLOOR`, default `0` = disabled) so accounts below the threshold are skipped for paid models while remaining eligible for free models. -- Allow a per-account `credit_floor` override in the account card (save an explicit `0` to disable the floor for that account; leave the override off to inherit the global floor) and through the management API. -- Only enforce the credit floor against quota snapshots reported in `credits`. -- Add an independent percent floor (`CLI2API_PERCENT_FLOOR`, default `0` = disabled, per-account `percent_floor`) for accounts whose quota is reported as a remaining percentage (Devin, Kimi, Zhipu). The two floors never compare across units; entitlement-pack and rate-limit-window accounts keep their existing scheduling behaviour. -- Reject invalid or negative floor values at startup instead of silently disabling the gate. - -### 中文 - -- 新增可配置积分下限(`CLI2API_CREDIT_FLOOR`,默认 `0` 表示关闭):积分低于阈值的账号不再调度计费模型,但仍可调度免费模型。 -- 账号卡片与管理 API 支持按账号设置 `credit_floor`(填 0 表示显式关闭该账号保底;关闭覆盖则继承全局阈值)。 -- 积分阈值只对以 `credits` 为单位上报的余额生效。 -- 新增独立的百分比保底(`CLI2API_PERCENT_FLOOR`,默认 `0` 关闭;按账号 `percent_floor`),适用于以剩余百分比上报余额的账号(Devin、Kimi、智谱);两种单位分别判断、互不做数值换算,权益包与速率窗口账号维持原有调度行为。 -- 启动时会拒绝非法或负值配置,避免阈值校验被静默关闭。 diff --git a/changelog/unreleased/kiro-oauth-expiry.md b/changelog/unreleased/kiro-oauth-expiry.md deleted file mode 100644 index ff8fb959..00000000 --- a/changelog/unreleased/kiro-oauth-expiry.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- Refresh imported Kiro OAuth credentials that omit an expiry when a refresh token is available. Use the profile lookup page size accepted by Kiro so account usage and model discovery can proceed with the renewed credential. - -### 中文 - -- 导入的 Kiro OAuth 凭证缺少有效期但带有刷新令牌时,先换取新的访问令牌。按 Kiro 接受的分页大小查找 profile,以便后续读取会员额度和模型目录。 diff --git a/changelog/unreleased/qoder-checkin-activity.md b/changelog/unreleased/qoder-checkin-activity.md deleted file mode 100644 index af3078de..00000000 --- a/changelog/unreleased/qoder-checkin-activity.md +++ /dev/null @@ -1,9 +0,0 @@ -### English - -- Qoder check-in sends the activity page `Origin` / `Referer` headers alongside the desktop identity. The in-process PAT path had dropped them, which could make upstream return no daily credit campaign even when the activity was open. -- Global check-in retries the campaign list with the desktop COSY token when the OpenAPI bearer authenticates but exposes no claimable campaign. - -### 中文 - -- Qoder 签到重新发送活动页需要的 `Origin` / `Referer` 头。进程内 PAT 路径之前漏掉这两个头,可能导致上游在活动开放时也不返回每日积分活动。 -- 国际版在 OpenAPI token 能鉴权但拿不到可领活动时,会再用桌面 COSY token 重试活动列表。 From f3a3ca20dadab6874d39ae57f6e80de18435c719 Mon Sep 17 00:00:00 2001 From: caiji <522caiji@gmail.com> Date: Fri, 20 Nov 2026 14:57:42 +0800 Subject: [PATCH 2/2] ci: retrigger checks for the changelog archive