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

推荐订阅源

J
Java Code Geeks
腾讯CDC
Jina AI
Jina AI
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
小众软件
小众软件
M
MIT News - Artificial intelligence
MyScale Blog
MyScale Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
月光博客
月光博客
L
LangChain Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
C
Check Point Blog
U
Unit 42
人人都是产品经理
人人都是产品经理

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
refactor(channels): drop unused approval aliases · opencl...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -7,7 +7,6 @@ import type { OpenClawConfig } from "openclaw/plugin-sdk/config-contracts";

77

import { describe, expect, it } from "vitest";

88

import {

99

imessageApprovalCapability,

10-

imessageNativeApprovalAdapter,

1110

shouldSuppressLocalIMessageExecApprovalPrompt,

1211

} from "./approval-native.js";

1312

@@ -112,7 +111,7 @@ describe("imessage approval capability", () => {

112111

const pluginRequest = buildPluginRequest("+15551230000");

113112
114113

expect(

115-

imessageNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

114+

imessageApprovalCapability?.getActionAvailabilityState?.({

116115

cfg,

117116

accountId: "default",

118117

action: "approve",

@@ -255,7 +254,7 @@ describe("imessage approval capability", () => {

255254

const request = buildExecRequest("+15551230000");

256255
257256

expect(

258-

imessageNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

257+

imessageApprovalCapability?.getActionAvailabilityState?.({

259258

cfg,

260259

accountId: "default",

261260

action: "approve",

@@ -398,7 +397,7 @@ describe("imessage approval capability", () => {

398397

});

399398
400399

expect(

401-

imessageNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

400+

imessageApprovalCapability?.getActionAvailabilityState?.({

402401

cfg,

403402

accountId: "default",

404403

action: "approve",

@@ -440,15 +439,15 @@ describe("imessage approval capability", () => {

440439

});

441440
442441

expect(

443-

imessageNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

442+

imessageApprovalCapability?.getActionAvailabilityState?.({

444443

cfg,

445444

accountId: "default",

446445

action: "approve",

447446

approvalKind: "exec",

448447

}),

449448

).toEqual({ kind: "disabled" });

450449

expect(

451-

imessageNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

450+

imessageApprovalCapability?.getActionAvailabilityState?.({

452451

cfg,

453452

accountId: "work",

454453

action: "approve",

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,5 @@

11

// Imessage plugin module implements approval native behavior.

2-

import {

3-

createChannelApprovalCapability,

4-

splitChannelApprovalCapability,

5-

} from "openclaw/plugin-sdk/approval-delivery-runtime";

2+

import { createChannelApprovalCapability } from "openclaw/plugin-sdk/approval-delivery-runtime";

63

import { createLazyChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";

74

import type { ChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";

85

import {

@@ -444,7 +441,3 @@ export const imessageApprovalCapability: ChannelApprovalCapability =

444441

.imessageApprovalNativeRuntime as unknown as ChannelApprovalNativeRuntimeAdapter,

445442

}),

446443

});

447-
448-

export const imessageNativeApprovalAdapter = splitChannelApprovalCapability(

449-

imessageApprovalCapability,

450-

);

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,6 @@ import { describe, expect, it } from "vitest";

88

import {

99

shouldSuppressLocalSignalExecApprovalPrompt,

1010

signalApprovalCapability,

11-

signalNativeApprovalAdapter,

1211

} from "./approval-native.js";

1312
1413

type SignalConfig = NonNullable<NonNullable<OpenClawConfig["channels"]>["signal"]>;

@@ -112,15 +111,15 @@ describe("signal approval capability", () => {

112111

const pluginRequest = buildPluginRequest("+15551230000");

113112
114113

expect(

115-

signalNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

114+

signalApprovalCapability?.getActionAvailabilityState?.({

116115

cfg,

117116

accountId: "default",

118117

action: "approve",

119118

approvalKind: "exec",

120119

}),

121120

).toEqual({ kind: "disabled" });

122121

expect(

123-

signalNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

122+

signalApprovalCapability?.getActionAvailabilityState?.({

124123

cfg,

125124

accountId: "default",

126125

action: "approve",

@@ -235,7 +234,7 @@ describe("signal approval capability", () => {

235234

const request = buildExecRequest("+15551230000");

236235
237236

expect(

238-

signalNativeApprovalAdapter.auth?.getActionAvailabilityState?.({

237+

signalApprovalCapability?.getActionAvailabilityState?.({

239238

cfg,

240239

accountId: "default",

241240

action: "approve",

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,5 @@

11

// Signal plugin module implements approval native behavior.

2-

import {

3-

createChannelApprovalCapability,

4-

splitChannelApprovalCapability,

5-

} from "openclaw/plugin-sdk/approval-delivery-runtime";

2+

import { createChannelApprovalCapability } from "openclaw/plugin-sdk/approval-delivery-runtime";

63

import { createLazyChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";

74

import type { ChannelApprovalNativeRuntimeAdapter } from "openclaw/plugin-sdk/approval-handler-runtime";

85

import {

@@ -324,5 +321,3 @@ export const signalApprovalCapability: ChannelApprovalCapability = createChannel

324321

.signalApprovalNativeRuntime as unknown as ChannelApprovalNativeRuntimeAdapter,

325322

}),

326323

});

327-
328-

export const signalNativeApprovalAdapter = splitChannelApprovalCapability(signalApprovalCapability);