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

推荐订阅源

V
V2EX
Y
Y Combinator Blog
博客园_首页
V
Visual Studio Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
B
Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
WordPress大学
WordPress大学
L
LangChain Blog
爱范儿
爱范儿
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Help Net Security

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(channels): keep read-only plugin listing cold · openc...
vincentkoc · 2026-04-26 · via Recent Commits to openclaw:main

@@ -325,6 +325,29 @@ afterAll(() => {

325325

});

326326327327

describe("listReadOnlyChannelPluginsForConfig", () => {

328+

it("does not load setup-only channel plugin runtime by default", () => {

329+

const { pluginDir, fullMarker, setupMarker } = writeExternalSetupChannelPlugin();

330+

const plugins = listReadOnlyChannelPluginsForConfig(

331+

{

332+

channels: {

333+

"external-chat": { token: "configured" },

334+

},

335+

plugins: {

336+

load: { paths: [pluginDir] },

337+

allow: ["external-chat"],

338+

},

339+

} as never,

340+

{

341+

env: { ...process.env },

342+

includePersistedAuthState: false,

343+

},

344+

);

345+346+

expect(plugins.some((entry) => entry.id === "external-chat")).toBe(false);

347+

expect(fs.existsSync(setupMarker)).toBe(false);

348+

expect(fs.existsSync(fullMarker)).toBe(false);

349+

});

350+328351

it("loads configured external channel setup metadata without importing full runtime", () => {

329352

const { pluginDir, fullMarker, setupMarker } = writeExternalSetupChannelPlugin();

330353

const plugins = listReadOnlyChannelPluginsForConfig(

@@ -340,6 +363,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

340363

{

341364

env: { ...process.env },

342365

includePersistedAuthState: false,

366+

includeSetupRuntimeFallback: true,

343367

},

344368

);

345369

@@ -365,6 +389,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

365389

{

366390

env: { ...process.env },

367391

includePersistedAuthState: false,

392+

includeSetupRuntimeFallback: true,

368393

},

369394

);

370395

@@ -396,6 +421,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

396421

{

397422

env: { ...process.env },

398423

includePersistedAuthState: false,

424+

includeSetupRuntimeFallback: true,

399425

},

400426

);

401427

@@ -442,6 +468,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

442468

{

443469

env: { ...process.env },

444470

includePersistedAuthState: false,

471+

includeSetupRuntimeFallback: true,

445472

},

446473

);

447474

@@ -481,6 +508,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

481508

{

482509

env: { ...process.env },

483510

includePersistedAuthState: false,

511+

includeSetupRuntimeFallback: true,

484512

},

485513

);

486514

@@ -711,6 +739,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

711739

{

712740

env: { ...process.env, EXTERNAL_CHAT_TOKEN: "configured" },

713741

includePersistedAuthState: false,

742+

includeSetupRuntimeFallback: true,

714743

},

715744

);

716745

@@ -754,6 +783,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

754783

{

755784

env: { ...process.env, [envVar]: "configured" },

756785

includePersistedAuthState: false,

786+

includeSetupRuntimeFallback: true,

757787

},

758788

);

759789

@@ -779,6 +809,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

779809

{

780810

env: { ...process.env, [envVar]: "configured" },

781811

includePersistedAuthState: false,

812+

includeSetupRuntimeFallback: true,

782813

},

783814

);

784815

@@ -831,6 +862,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

831862

EXTERNAL_CHAT_TOKEN: "configured",

832863

workspaceDir: "workspace-env-value",

833864

},

865+

includeSetupRuntimeFallback: true,

834866

},

835867

);

836868

@@ -866,6 +898,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

866898

{

867899

env: { ...process.env },

868900

includePersistedAuthState: false,

901+

includeSetupRuntimeFallback: true,

869902

},

870903

);

871904

@@ -894,6 +927,7 @@ describe("listReadOnlyChannelPluginsForConfig", () => {

894927

} as never,

895928

{

896929

env: { ...process.env },

930+

includeSetupRuntimeFallback: true,

897931

},

898932

);

899933