From 9398672efbce0519e25a33305ff718b10d63b02c Mon Sep 17 00:00:00 2001 From: xiaofei Date: Sun, 1 Nov 2026 21:43:11 -0800 Subject: [PATCH 1/2] Revert "Merge pull request #935 from Stack-Cairn/automation/model-catalog-refresh" This reverts commit 81dc8e8314f15f4506183f2b84106edfa54e818e, reversing changes made to 1ca36c635f4f2e012aee9f80872af94069266cf3. --- .../src/lib/models/catalog.generated.ts | 64 +++++++++++-------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/crates/agent-ui/src/lib/models/catalog.generated.ts b/crates/agent-ui/src/lib/models/catalog.generated.ts index 52a123556..101faf051 100644 --- a/crates/agent-ui/src/lib/models/catalog.generated.ts +++ b/crates/agent-ui/src/lib/models/catalog.generated.ts @@ -26,7 +26,7 @@ export type CatalogModelEntry = { export type CatalogProviderId = "anthropic" | "google" | "openai" | "xai" | "deepseek" | "zhipuai" | "moonshotai" | "minimax" | "stepfun" | "xiaomi" | "longcat" | "alibaba" | "tencent"; -export const MODEL_CATALOG_SNAPSHOT_DATE = "2026-11-01"; +export const MODEL_CATALOG_SNAPSHOT_DATE = "2026-10-02"; export const MODEL_CATALOG: Record = { anthropic: [ @@ -34,7 +34,6 @@ export const MODEL_CATALOG: Record Date: Sun, 1 Nov 2026 21:48:30 -0800 Subject: [PATCH 2/2] =?UTF-8?q?ci(biome):=20=E4=BB=85=E6=94=B9=E5=8A=A8?= =?UTF-8?q?=E8=A2=AB=E5=BF=BD=E7=95=A5=E7=9A=84=E7=94=9F=E6=88=90=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=E4=B8=8D=E5=86=8D=E6=8A=A5=20No=20files=20we?= =?UTF-8?q?re=20processed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/check-biome-changed.mjs | 2 ++ scripts/check-biome-changed.test.mjs | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/check-biome-changed.mjs b/scripts/check-biome-changed.mjs index 0d7365a5f..c99e98610 100644 --- a/scripts/check-biome-changed.mjs +++ b/scripts/check-biome-changed.mjs @@ -97,6 +97,8 @@ export function biomeInvocation(filter, files, ci = Boolean(process.env.CI)) { "--line-ending=lf", "--max-diagnostics=none", "--error-on-warnings", + // 只改了 biome.json 忽略的文件(如 catalog.generated.ts)时不应报 "No files were processed"。 + "--no-errors-on-unmatched", ]; // CI installs the exact Node/pnpm versions before this gate. It does not // install mise; local runs keep using the repository's mise toolchain. diff --git a/scripts/check-biome-changed.test.mjs b/scripts/check-biome-changed.test.mjs index 8a59ef557..f387ee8b7 100644 --- a/scripts/check-biome-changed.test.mjs +++ b/scripts/check-biome-changed.test.mjs @@ -24,5 +24,6 @@ test("CI warning gate uses installed pnpm without dropping strict checks", () => assert.deepEqual(local, { command: "mise", args: ["exec", "--", "pnpm", ...ci.args] }); assert.ok(ci.args.includes("--error-on-warnings")); assert.ok(ci.args.includes("--line-ending=lf")); + assert.ok(ci.args.includes("--no-errors-on-unmatched")); assert.ok(ci.args.includes("src/sidebar/store.ts")); });