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

推荐订阅源

博客园 - 三生石上(FineUI控件)
博客园 - Franky
GbyAI
GbyAI
B
Blog
WordPress大学
WordPress大学
D
Docker
小众软件
小众软件
月光博客
月光博客
博客园 - 【当耐特】
T
The Blog of Author Tim Ferriss
IT之家
IT之家
腾讯CDC
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
H
Help Net Security
M
MIT News - Artificial intelligence
L
LangChain Blog
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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: hide unsupported video audio refs · openclaw/opencla...
steipete · 2026-05-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -38,6 +38,7 @@ Docs: https://docs.openclaw.ai

3838
3939

### Fixes

4040
41+

- Agents/video: hide `video_generate` reference-audio parameters unless a registered video provider supports audio inputs.

4142

- Plugins/xAI: echo PKCE challenge fields during OAuth authorization-code token exchange for xAI token-endpoint compatibility. (#83499) Thanks @fuller-stack-dev.

4243

- Codex app-server: hydrate current inbound image attachments before queued runs so Responses-backed agents receive Discord and other channel images as native vision input. Fixes #83466. Thanks @iannwu.

4344

- Release stability: recover stale session diagnostics and Codex OAuth fallback state so stuck runs and reused refresh tokens clear without blocking follow-up work. (#83503) Thanks @100yenadmin.

Original file line numberDiff line numberDiff line change

@@ -241,12 +241,13 @@ stay in the plugin runtime.

241241
242242

Each metadata entry supports:

243243
244-

| Field | Required | Type | What it means |

245-

| --------------- | -------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------- |

246-

| `aliases` | No | `string[]` | Additional provider ids that should count as static auth aliases for the generation provider. |

247-

| `authProviders` | No | `string[]` | Provider ids whose configured auth profiles should count as auth for this generation provider. |

248-

| `configSignals` | No | `object[]` | Cheap config-only availability signals for local or self-hosted providers that can be configured without auth profiles or env vars. |

249-

| `authSignals` | No | `object[]` | Explicit auth signals. When present, these replace the default signal set from the provider id, `aliases`, and `authProviders`. |

244+

| Field | Required | Type | What it means |

245+

| ---------------------- | -------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |

246+

| `aliases` | No | `string[]` | Additional provider ids that should count as static auth aliases for the generation provider. |

247+

| `authProviders` | No | `string[]` | Provider ids whose configured auth profiles should count as auth for this generation provider. |

248+

| `configSignals` | No | `object[]` | Cheap config-only availability signals for local or self-hosted providers that can be configured without auth profiles or env vars. |

249+

| `authSignals` | No | `object[]` | Explicit auth signals. When present, these replace the default signal set from the provider id, `aliases`, and `authProviders`. |

250+

| `referenceAudioInputs` | No | `boolean` | Video-generation only. Set to `true` when the provider accepts reference audio assets; otherwise `video_generate` hides audio reference parameters. |

250251
251252

Each `configSignals` entry supports:

252253
Original file line numberDiff line numberDiff line change

@@ -29,6 +29,11 @@

2929

"musicGenerationProviders": ["fal"],

3030

"videoGenerationProviders": ["fal"]

3131

},

32+

"videoGenerationProviderMetadata": {

33+

"fal": {

34+

"referenceAudioInputs": true

35+

}

36+

},

3237

"configSchema": {

3338

"type": "object",

3439

"additionalProperties": false,

Original file line numberDiff line numberDiff line change

@@ -848,6 +848,16 @@

848848

]

849849

}

850850

},

851+

"videoGenerationProviderMetadata": {

852+

"openai": {

853+

"aliases": ["openai-codex"],

854+

"authSignals": [

855+

{

856+

"provider": "openai"

857+

}

858+

]

859+

}

860+

},

851861

"mediaUnderstandingProviderMetadata": {

852862

"openai": {

853863

"capabilities": ["image", "audio"],

Original file line numberDiff line numberDiff line change

@@ -195,3 +195,71 @@ export function hasSnapshotProviderEnvAvailability(params: {

195195

}

196196

return false;

197197

}

198+
199+

export function hasSnapshotCapabilityProviderAvailability(params: {

200+

snapshot: Pick<PluginMetadataSnapshot, "index" | "plugins">;

201+

key: CapabilityContractKey;

202+

providerId: string;

203+

config?: OpenClawConfig;

204+

authStore?: AuthProfileStore;

205+

}): boolean {

206+

if (params.config?.plugins?.enabled === false) {

207+

return false;

208+

}

209+

for (const plugin of params.snapshot.plugins) {

210+

if (

211+

!isManifestPluginAvailableForControlPlane({

212+

snapshot: params.snapshot,

213+

plugin,

214+

config: params.config,

215+

})

216+

) {

217+

continue;

218+

}

219+

if (!plugin.contracts?.[params.key]?.includes(params.providerId)) {

220+

continue;

221+

}

222+

const metadataKey = metadataKeyForCapabilityContract(params.key);

223+

const metadata = metadataKey ? plugin[metadataKey]?.[params.providerId] : undefined;

224+

if (

225+

metadata?.configSignals?.some((signal) =>

226+

manifestConfigSignalPasses({

227+

config: params.config,

228+

env: process.env,

229+

signal,

230+

}),

231+

)

232+

) {

233+

return true;

234+

}

235+

for (const signal of listCapabilityAuthSignals({

236+

plugin,

237+

key: params.key,

238+

providerId: params.providerId,

239+

})) {

240+

if (

241+

!manifestProviderBaseUrlGuardPasses({

242+

config: params.config,

243+

guard: signal.providerBaseUrl,

244+

})

245+

) {

246+

continue;

247+

}

248+

if (

249+

params.authStore &&

250+

listProfilesForProvider(params.authStore, signal.provider).length > 0

251+

) {

252+

return true;

253+

}

254+

if (

255+

hasNonEmptyManifestEnvCandidate(

256+

process.env,

257+

manifestPluginSetupProviderEnvVars(plugin, signal.provider),

258+

)

259+

) {

260+

return true;

261+

}

262+

}

263+

}

264+

return false;

265+

}