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

推荐订阅源

美团技术团队
T
The Blog of Author Tim Ferriss
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
Engineering at Meta
Engineering at Meta
量子位
I
InfoQ
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
J
Java Code Geeks
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
V
V2EX
腾讯CDC
P
Proofpoint News Feed
A
About on SuperTechFans
爱范儿
爱范儿
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI

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: canonicalize ACP permission mode aliases (#79926) (t...
steipete · 2026-05-10 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1111
1212

### Fixes

1313
14+

- ACP sessions: map canonical runtime options to backend-advertised ACP config keys like Claude's `effort` while keeping persisted OpenClaw state canonical. (#79926) Thanks @InTheCloudDan.

1415

- OpenAI/Codex: point gateway missing-key recovery and wizard docs at the canonical `openai/gpt-5.5` plus Codex OAuth route, and fix trajectory export errors so they suggest the valid `openclaw sessions` command.

1516

- Google/Gemini: normalize retired `google/gemini-3-pro-preview` primary, fallback, and model-map refs during config load and unrelated config writes so saved config keeps targeting Gemini 3.1 Pro Preview.

1617

- Discord/voice: synthesize realtime playback timestamps from emitted Discord PCM so OpenAI realtime barge-in truncation no longer sees `audioEndMs=0` and skips legitimate interruptions.

Original file line numberDiff line numberDiff line change

@@ -3326,6 +3326,39 @@ describe("AcpSessionManager", () => {

33263326

expect(nextOptions).toEqual({ thinking: "high" });

33273327

});

33283328
3329+

it("persists explicit native permission_mode config updates as canonical permission profiles", async () => {

3330+

const runtimeState = createRuntime();

3331+

runtimeState.getCapabilities.mockResolvedValue({

3332+

controls: ["session/set_config_option", "session/status"],

3333+

configOptionKeys: ["permission_mode"],

3334+

});

3335+

hoisted.requireAcpRuntimeBackendMock.mockReturnValue({

3336+

id: "acpx",

3337+

runtime: runtimeState.runtime,

3338+

});

3339+

hoisted.readAcpSessionEntryMock.mockReturnValue({

3340+

sessionKey: "agent:claude:acp:session-1",

3341+

storeSessionKey: "agent:claude:acp:session-1",

3342+

acp: readySessionMeta({ agent: "claude" }),

3343+

});

3344+
3345+

const manager = new AcpSessionManager();

3346+

const nextOptions = await manager.setSessionConfigOption({

3347+

cfg: baseCfg,

3348+

sessionKey: "agent:claude:acp:session-1",

3349+

key: "permission_mode",

3350+

value: "strict",

3351+

});

3352+
3353+

expect(runtimeState.setConfigOption).toHaveBeenCalledWith(

3354+

expect.objectContaining({

3355+

key: "permission_mode",

3356+

value: "strict",

3357+

}),

3358+

);

3359+

expect(nextOptions).toEqual({ permissionProfile: "strict" });

3360+

});

3361+
33293362

it("rejects invalid runtime option values before backend controls run", async () => {

33303363

const runtimeState = createRuntime();

33313364

hoisted.requireAcpRuntimeBackendMock.mockReturnValue({

Original file line numberDiff line numberDiff line change

@@ -422,7 +422,8 @@ export function inferRuntimeOptionPatchFromConfigOption(

422422

if (

423423

normalizedKey === "approval_policy" ||

424424

normalizedKey === "permission_profile" ||

425-

normalizedKey === "permissions"

425+

normalizedKey === "permissions" ||

426+

normalizedKey === "permission_mode"

426427

) {

427428

return { permissionProfile: validateRuntimePermissionProfileInput(validated.value) };

428429

}