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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
U
Unit 42
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
博客园 - 司徒正美

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: require plugin npm provenance repository · openclaw...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -6,6 +6,7 @@ import {

66

collectPublishablePluginPackages,

77

collectChangedExtensionIdsFromPaths,

88

collectPublishablePluginPackageErrors,

9+

OPENCLAW_PLUGIN_NPM_REPOSITORY_URL,

910

parsePluginReleaseArgs,

1011

parsePluginReleaseSelection,

1112

parsePluginReleaseSelectionMode,

@@ -90,6 +91,10 @@ describe("collectPublishablePluginPackageErrors", () => {

9091

packageJson: {

9192

name: "@openclaw/zalo",

9293

version: "2026.3.15",

94+

repository: {

95+

type: "git",

96+

url: OPENCLAW_PLUGIN_NPM_REPOSITORY_URL,

97+

},

9398

openclaw: {

9499

extensions: ["./index.ts"],

95100

release: {

@@ -121,10 +126,32 @@ describe("collectPublishablePluginPackageErrors", () => {

121126

).toEqual([

122127

'package name must start with "@openclaw/"; found "broken".',

123128

"package.json private must not be true.",

129+

`package.json repository.url must be "${OPENCLAW_PLUGIN_NPM_REPOSITORY_URL}" so npm provenance can validate GitHub trusted publishing; found "<missing>".`,

124130

'package.json version must match YYYY.M.D, YYYY.M.D-N, or YYYY.M.D-beta.N; found "latest".',

125131

"openclaw.extensions must contain only non-empty strings.",

126132

]);

127133

});

134+135+

it("requires the GitHub repository URL npm provenance validates for trusted publishing", () => {

136+

expect(

137+

collectPublishablePluginPackageErrors({

138+

extensionId: "twitch",

139+

packageDir: bundledPluginRoot("twitch"),

140+

packageJson: {

141+

name: "@openclaw/twitch",

142+

version: "2026.5.1-beta.1",

143+

openclaw: {

144+

extensions: ["./index.ts"],

145+

release: {

146+

publishToNpm: true,

147+

},

148+

},

149+

},

150+

}),

151+

).toEqual([

152+

`package.json repository.url must be "${OPENCLAW_PLUGIN_NPM_REPOSITORY_URL}" so npm provenance can validate GitHub trusted publishing; found "<missing>".`,

153+

]);

154+

});

128155

});

129156130157

describe("collectPublishablePluginPackages", () => {

@@ -134,6 +161,10 @@ describe("collectPublishablePluginPackages", () => {

134161

writeJsonFile(join(repoDir, "extensions", "demo-plugin", "package.json"), {

135162

name: "@openclaw/demo-plugin",

136163

version: "2026.4.10",

164+

repository: {

165+

type: "git",

166+

url: OPENCLAW_PLUGIN_NPM_REPOSITORY_URL,

167+

},

137168

openclaw: {

138169

extensions: ["./index.ts"],

139170

install: {

@@ -164,6 +195,10 @@ describe("collectPublishablePluginPackages", () => {

164195

writeJsonFile(join(repoDir, "extensions", "demo-plugin", "package.json"), {

165196

name: "@openclaw/demo-plugin",

166197

version: "2026.4.10-beta.1",

198+

repository: {

199+

type: "git",

200+

url: OPENCLAW_PLUGIN_NPM_REPOSITORY_URL,

201+

},

167202

openclaw: {

168203

extensions: ["./index.ts"],

169204

release: {