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

推荐订阅源

B
Blog RSS Feed
B
Blog
N
Netflix TechBlog - Medium
量子位
月光博客
月光博客
博客园_首页
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
M
MIT News - Artificial intelligence
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG
L
LangChain Blog
GbyAI
GbyAI
IT之家
IT之家
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理

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: refresh protocol models and cron test lint · opencla...
steipete · 2026-04-24 · via Recent Commits to openclaw:main

File tree

  • apps

    • macos/Sources/OpenClawProtocol

    • shared/OpenClawKit/Sources/OpenClawProtocol

  • src/gateway

Original file line numberDiff line numberDiff line change

@@ -2330,28 +2330,24 @@ public struct TalkRealtimeSessionParams: Codable, Sendable {

23302330

public let provider: String?

23312331

public let model: String?

23322332

public let voice: String?

2333-

public let instructions: String?

23342333
23352334

public init(

23362335

sessionkey: String?,

23372336

provider: String?,

23382337

model: String?,

2339-

voice: String?,

2340-

instructions: String?)

2338+

voice: String?)

23412339

{

23422340

self.sessionkey = sessionkey

23432341

self.provider = provider

23442342

self.model = model

23452343

self.voice = voice

2346-

self.instructions = instructions

23472344

}

23482345
23492346

private enum CodingKeys: String, CodingKey {

23502347

case sessionkey = "sessionKey"

23512348

case provider

23522349

case model

23532350

case voice

2354-

case instructions

23552351

}

23562352

}

23572353
Original file line numberDiff line numberDiff line change

@@ -2330,28 +2330,24 @@ public struct TalkRealtimeSessionParams: Codable, Sendable {

23302330

public let provider: String?

23312331

public let model: String?

23322332

public let voice: String?

2333-

public let instructions: String?

23342333
23352334

public init(

23362335

sessionkey: String?,

23372336

provider: String?,

23382337

model: String?,

2339-

voice: String?,

2340-

instructions: String?)

2338+

voice: String?)

23412339

{

23422340

self.sessionkey = sessionkey

23432341

self.provider = provider

23442342

self.model = model

23452343

self.voice = voice

2346-

self.instructions = instructions

23472344

}

23482345
23492346

private enum CodingKeys: String, CodingKey {

23502347

case sessionkey = "sessionKey"

23512348

case provider

23522349

case model

23532350

case voice

2354-

case instructions

23552351

}

23562352

}

23572353
Original file line numberDiff line numberDiff line change

@@ -172,22 +172,22 @@ async function createDirectCronState(): Promise<DirectCronState> {

172172

});

173173

}

174174
175-

async function directCronReq<TPayload = unknown>(

175+

async function directCronReq(

176176

cronState: DirectCronState,

177177

method: string,

178178

params: Record<string, unknown>,

179-

): Promise<{ ok: boolean; payload?: TPayload; error?: { code?: string; message?: string } }> {

179+

): Promise<{ ok: boolean; payload?: unknown; error?: { code?: string; message?: string } }> {

180180

const { cronHandlers } = await import("./server-methods/cron.js");

181181

let result:

182-

| { ok: boolean; payload?: TPayload; error?: { code?: string; message?: string } }

182+

| { ok: boolean; payload?: unknown; error?: { code?: string; message?: string } }

183183

| undefined;

184-

await cronHandlers[method as keyof typeof cronHandlers]({

184+

await cronHandlers[method]({

185185

req: {} as never,

186186

params,

187187

respond: (ok, payload, error) => {

188188

result = {

189189

ok,

190-

payload: payload as TPayload,

190+

payload,

191191

error,

192192

};

193193

},

@@ -204,7 +204,7 @@ async function directCronReq<TPayload = unknown>(

204204

isWebchatConnect: () => false,

205205

});

206206

if (!result) {

207-

throw new Error(`${String(method)} did not respond`);

207+

throw new Error(`${method} did not respond`);

208208

}

209209

return result;

210210

}