惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
L
LangChain Blog
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
博客园_首页
N
Netflix TechBlog - Medium
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
美团技术团队
V
V2EX

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: keep provider index previews authoritative · opencla...
shakkernerd · 2026-04-26 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -740,7 +740,11 @@ Catalog authority order:

740740

4. OpenClaw Provider Index preview rows.

741741
742742

The Provider Index must not contain secrets, enabled state, runtime hooks, or

743-

live account-specific model data. Providers with live `/models` discovery should

743+

live account-specific model data. Its preview catalogs use the same

744+

`modelCatalog` provider row shape as plugin manifests, but should stay limited

745+

to stable display metadata unless runtime adapter fields such as `api`,

746+

`baseUrl`, pricing, or compatibility flags are intentionally kept aligned with

747+

the installed plugin manifest. Providers with live `/models` discovery should

744748

write refreshed rows through the explicit model catalog cache path instead of

745749

making normal listing or onboarding call provider APIs.

746750
Original file line numberDiff line numberDiff line change

@@ -99,6 +99,8 @@ describe("OpenClaw provider index", () => {

9999

it("loads the bundled provider index without runtime plugin loading", () => {

100100

const index = loadOpenClawProviderIndex();

101101
102+

expect(index.providers.moonshot?.previewCatalog).not.toHaveProperty("api");

103+

expect(index.providers.moonshot?.previewCatalog).not.toHaveProperty("baseUrl");

102104

expect(index.providers.moonshot?.previewCatalog?.models).toEqual(

103105

expect.arrayContaining([

104106

expect.objectContaining({

@@ -108,5 +110,13 @@ describe("OpenClaw provider index", () => {

108110

]),

109111

);

110112

expect(index.providers.deepseek?.plugin.id).toBe("deepseek");

113+

expect(index.providers.deepseek?.previewCatalog?.models).toEqual(

114+

expect.arrayContaining([

115+

expect.objectContaining({

116+

id: "deepseek-chat",

117+

contextWindow: 131072,

118+

}),

119+

]),

120+

);

111121

});

112122

});

Original file line numberDiff line numberDiff line change

@@ -3,6 +3,9 @@ import type { OpenClawProviderIndex } from "./types.js";

33

// OpenClaw-owned preview metadata for providers whose plugins may not be

44

// installed yet. Installed plugin manifests remain authoritative; this index is

55

// a fallback for installable-provider and pre-install model picker surfaces.

6+

// Preview catalogs use the shared model catalog type, but intentionally keep to

7+

// stable display fields unless runtime adapter metadata is kept in sync with

8+

// the installed plugin manifest.

69

export const OPENCLAW_PROVIDER_INDEX = {

710

version: 1,

811

providers: {

@@ -15,8 +18,6 @@ export const OPENCLAW_PROVIDER_INDEX = {

1518

docs: "/providers/moonshot",

1619

categories: ["cloud", "llm"],

1720

previewCatalog: {

18-

api: "openai-responses",

19-

baseUrl: "https://api.moonshot.ai/v1",

2021

models: [

2122

{

2223

id: "kimi-k2.6",

@@ -36,21 +37,19 @@ export const OPENCLAW_PROVIDER_INDEX = {

3637

docs: "/providers/deepseek",

3738

categories: ["cloud", "llm"],

3839

previewCatalog: {

39-

api: "openai-responses",

40-

baseUrl: "https://api.deepseek.com/v1",

4140

models: [

4241

{

4342

id: "deepseek-chat",

4443

name: "DeepSeek Chat",

4544

input: ["text"],

46-

contextWindow: 64000,

45+

contextWindow: 131072,

4746

},

4847

{

4948

id: "deepseek-reasoner",

5049

name: "DeepSeek Reasoner",

5150

input: ["text"],

5251

reasoning: true,

53-

contextWindow: 64000,

52+

contextWindow: 131072,

5453

},

5554

],

5655

},