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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
I
InfoQ
博客园_首页
G
Google Developers Blog
爱范儿
爱范儿
Last Week in AI
Last Week in AI
量子位
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
月光博客
月光博客
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

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(testing): probe plugin CLI help while installed · ope...
vincentkoc · 2026-06-02 · via Recent Commits to openclaw:main

@@ -595,6 +595,24 @@ export function hasGauntletWorkRows(rows) {

595595

return rows.some((row) => row.phase !== "prebuild");

596596

}

597597598+

function isPluginOwnedCliAlias(alias) {

599+

return alias.kind === "runtime-slash" && alias.cliCommand === alias.name;

600+

}

601+602+

function buildSlashHelpProbe(params) {

603+

const command = params.alias.cliCommand ?? params.alias.name;

604+

return {

605+

cwd: params.repoRoot,

606+

env: params.env,

607+

logDir: path.join(params.outputDir, "logs", "slash-help"),

608+

...openclawCommand(params.repoRoot, [command, "--help"]),

609+

label: `${params.plugin.id}-slash-${params.alias.name}`,

610+

phase: "slash:help",

611+

pluginId: params.plugin.id,

612+

timeoutMs: params.commandTimeoutMs,

613+

};

614+

}

615+598616

async function runPluginLifecycle(params) {

599617

for (const plugin of params.plugins) {

600618

const commands = [

@@ -603,13 +621,34 @@ async function runPluginLifecycle(params) {

603621

args: ["install", plugin.id],

604622

},

605623

{ phase: "inspect", args: ["inspect", plugin.id, "--json"] },

624+

...(params.skipSlashHelp

625+

? []

626+

: plugin.cliCommandAliases

627+

.filter(isPluginOwnedCliAlias)

628+

.map((alias) => ({ phase: `slash-help:${alias.name}`, alias }))),

606629

{ phase: "disable", args: ["disable", plugin.id] },

607630

...(plugin.hasRequiredConfigFields ? [] : [{ phase: "enable", args: ["enable", plugin.id] }]),

608631

{ phase: "doctor", args: ["doctor"] },

609632

{ phase: "uninstall", args: ["uninstall", plugin.id, "--force"] },

610633

];

611-

for (const { phase, args } of commands) {

634+

for (const { phase, args, alias } of commands) {

612635

process.stderr.write(`[plugin-gauntlet] ${plugin.id} ${phase}\n`);

636+

if (alias) {

637+

params.rows.push(

638+

await runMeasuredCommand({

639+

...buildSlashHelpProbe({

640+

repoRoot: params.repoRoot,

641+

outputDir: params.outputDir,

642+

env: params.env,

643+

plugin,

644+

alias,

645+

commandTimeoutMs: params.commandTimeoutMs,

646+

}),

647+

label: `${plugin.id}-${phase}`,

648+

}),

649+

);

650+

continue;

651+

}

613652

params.rows.push(

614653

await runMeasuredCommand({

615654

cwd: params.repoRoot,

@@ -628,19 +667,21 @@ async function runPluginLifecycle(params) {

628667629668

async function runSlashHelpProbes(params) {

630669

for (const plugin of params.plugins) {

631-

for (const alias of plugin.cliCommandAliases) {

632-

const command = alias.cliCommand ?? alias.name;

670+

const aliases = params.includePluginOwnedCliAliases

671+

? plugin.cliCommandAliases

672+

: plugin.cliCommandAliases.filter((entry) => !isPluginOwnedCliAlias(entry));

673+

for (const alias of aliases) {

633674

process.stderr.write(`[plugin-gauntlet] ${plugin.id} slash-help /${alias.name}\n`);

634675

params.rows.push(

635676

await runMeasuredCommand({

636-

cwd: params.repoRoot,

637-

env: params.env,

638-

logDir: path.join(params.outputDir, "logs", "slash-help"),

639-

...openclawCommand(params.repoRoot, [command, "--help"]),

640-

label: `${plugin.id}-slash-${alias.name}`,

641-

phase: "slash:help",

642-

pluginId: plugin.id,

643-

timeoutMs: params.commandTimeoutMs,

677+

...buildSlashHelpProbe({

678+

repoRoot: params.repoRoot,

679+

outputDir: params.outputDir,

680+

env: params.env,

681+

plugin,

682+

alias,

683+

commandTimeoutMs: params.commandTimeoutMs,

684+

}),

644685

}),

645686

);

646687

}

@@ -816,6 +857,7 @@ async function main() {

816857

plugins: selectedPlugins,

817858

rows,

818859

commandTimeoutMs: options.commandTimeoutMs,

860+

skipSlashHelp: options.skipSlashHelp,

819861

});

820862

}

821863

if (!prebuildFailed && !options.skipSlashHelp) {

@@ -826,6 +868,7 @@ async function main() {

826868

plugins: selectedPlugins,

827869

rows,

828870

commandTimeoutMs: options.commandTimeoutMs,

871+

includePluginOwnedCliAliases: options.skipLifecycle,

829872

});

830873

}

831874

const qaSummaries =