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

推荐订阅源

云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
博客园 - Franky
J
Java Code Geeks
V
Visual Studio Blog
G
Google Developers Blog
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
博客园 - 【当耐特】
IT之家
IT之家
I
InfoQ
U
Unit 42
C
Check Point Blog
Martin Fowler
Martin Fowler

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
test: keep bundled root fixtures scoped · openclaw/opencl...
steipete · 2026-04-29 · via Recent Commits to openclaw:main

@@ -10,6 +10,15 @@ import {

1010

mkdirSafeDir,

1111

} from "./test-helpers/fs-fixtures.js";

121213+

vi.mock("./bundled-dir.js", async (importOriginal) => {

14+

const actual = await importOriginal<typeof import("./bundled-dir.js")>();

15+

return {

16+

...actual,

17+

resolveBundledPluginsDir: (env: NodeJS.ProcessEnv = process.env) =>

18+

env.OPENCLAW_BUNDLED_PLUGINS_DIR ?? actual.resolveBundledPluginsDir(env),

19+

};

20+

});

21+1322

const tempDirs: string[] = [];

14231524

function makeTempDir() {

@@ -58,6 +67,7 @@ function buildDiscoveryEnv(stateDir: string): NodeJS.ProcessEnv {

5867

return {

5968

OPENCLAW_STATE_DIR: stateDir,

6069

OPENCLAW_HOME: undefined,

70+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: "1",

6171

OPENCLAW_BUNDLED_PLUGINS_DIR: "/nonexistent/bundled/plugins",

6272

};

6373

}

@@ -483,6 +493,7 @@ describe("discoverOpenClawPlugins", () => {

483493

const { candidates, diagnostics } = discoverOpenClawPlugins({

484494

env: {

485495

...buildDiscoveryEnv(stateDir),

496+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

486497

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledDir,

487498

},

488499

});

@@ -504,6 +515,7 @@ describe("discoverOpenClawPlugins", () => {

504515

extraPaths: [bundledPluginDir],

505516

env: {

506517

...buildDiscoveryEnv(stateDir),

518+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

507519

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledRoot,

508520

},

509521

});

@@ -537,6 +549,7 @@ describe("discoverOpenClawPlugins", () => {

537549

extraPaths: [legacyPluginDir],

538550

env: {

539551

...buildDiscoveryEnv(stateDir),

552+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

540553

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledRoot,

541554

},

542555

});

@@ -577,6 +590,7 @@ describe("discoverOpenClawPlugins", () => {

577590

const { candidates, diagnostics } = discoverOpenClawPlugins({

578591

env: {

579592

...buildDiscoveryEnv(stateDir),

593+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

580594

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledRoot,

581595

},

582596

});

@@ -628,6 +642,7 @@ describe("discoverOpenClawPlugins", () => {

628642

const { candidates, diagnostics } = discoverOpenClawPlugins({

629643

env: {

630644

...buildDiscoveryEnv(stateDir),

645+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

631646

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledRoot,

632647

},

633648

});

@@ -1425,6 +1440,7 @@ describe("discoverOpenClawPlugins", () => {

14251440

});

1426144114271442

const env = buildCachedDiscoveryEnv(stateDir, {

1443+

OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,

14281444

OPENCLAW_BUNDLED_PLUGINS_DIR: bundledDir,

14291445

});

14301446

const readdirSync = vi.spyOn(fs, "readdirSync");