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

推荐订阅源

B
Blog
Hugging Face - Blog
Hugging Face - Blog
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
F
Fortinet All Blogs
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
Jina AI
Jina AI
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
S
SegmentFault 最新的问题
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
美团技术团队
博客园 - 司徒正美
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research

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(release): classify packaged runtime deps roots · open...
steipete · 2026-05-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -29,10 +29,20 @@ describeLive("xai x_search live", () => {

2929

});

3030
3131

expect(tool).toBeTruthy();

32-

const result = await tool!.execute("x-search:live", {

33-

query: "OpenClaw from:steipete",

34-

to_date: "2026-03-28",

35-

});

32+

let result: Awaited<ReturnType<NonNullable<typeof tool>["execute"]>>;

33+

try {

34+

result = await tool!.execute("x-search:live", {

35+

query: "OpenClaw from:steipete",

36+

to_date: "2026-03-28",

37+

});

38+

} catch (error) {

39+

const message = error instanceof Error ? error.message : String(error);

40+

if (isBillingErrorMessage(message)) {

41+

console.warn(`[xai:x-search:live] skip: billing drift: ${message}`);

42+

return;

43+

}

44+

throw error;

45+

}

3646
3747

const details = (result.details ?? {}) as {

3848

provider?: string;

Original file line numberDiff line numberDiff line change

@@ -85,6 +85,10 @@ async function runXaiLiveCase(label: string, run: () => Promise<void>): Promise<

8585

}

8686

}

8787
88+

function isRealtimeOpenBillingDrift(error: Error): boolean {

89+

return isBillingErrorMessage(error.message) || error.message.includes("server response: 429");

90+

}

91+
8892

describeLive("xai plugin live", () => {

8993

it("synthesizes TTS through the registered speech provider", async () => {

9094

await runXaiLiveCase("tts", async () => {

@@ -189,7 +193,21 @@ describeLive("xai plugin live", () => {

189193

});

190194
191195

try {

192-

await session.connect();

196+

try {

197+

await session.connect();

198+

} catch (error) {

199+

const thrown = error instanceof Error ? error : new Error(String(error));

200+

if (isRealtimeOpenBillingDrift(thrown)) {

201+

console.warn(`[xai:live] skip realtime-open: billing drift: ${thrown.message}`);

202+

return;

203+

}

204+

throw error;

205+

}

206+

const billingError = errors.find(isRealtimeOpenBillingDrift);

207+

if (billingError) {

208+

console.warn(`[xai:live] skip realtime-open: billing drift: ${billingError.message}`);

209+

return;

210+

}

193211

expect(errors).toEqual([]);

194212

expect(session.isConnected()).toBe(true);

195213

} finally {

Original file line numberDiff line numberDiff line change

@@ -705,9 +705,10 @@ export async function runPluginRegistryPostinstallMigration(params = {}) {

705705
706706

export function isSourceCheckoutRoot(params) {

707707

const pathExists = params.existsSync ?? existsSync;

708+

const hasPostinstallInventory = pathExists(join(params.packageRoot, DIST_INVENTORY_PATH));

708709

return (

709710

(pathExists(join(params.packageRoot, ".git")) ||

710-

pathExists(join(params.packageRoot, "pnpm-workspace.yaml"))) &&

711+

(pathExists(join(params.packageRoot, "pnpm-workspace.yaml")) && !hasPostinstallInventory)) &&

711712

pathExists(join(params.packageRoot, "src")) &&

712713

pathExists(join(params.packageRoot, "extensions"))

713714

);

Original file line numberDiff line numberDiff line change

@@ -3,6 +3,7 @@ import { tmpdir } from "node:os";

33

import path from "node:path";

44

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

55

import {

6+

isSourceCheckoutRoot,

67

isDirectPostinstallInvocation,

78

pruneOpenClawCompileCache,

89

pruneInstalledPackageDist,

@@ -136,6 +137,23 @@ describe("bundled plugin postinstall", () => {

136137

);

137138

});

138139
140+

it("does not classify published packages with source files as source checkouts", () => {

141+

const packageRoot = "/pkg";

142+

const existingPaths = new Set([

143+

path.join(packageRoot, "pnpm-workspace.yaml"),

144+

path.join(packageRoot, "src"),

145+

path.join(packageRoot, "extensions"),

146+

path.join(packageRoot, "dist", "postinstall-inventory.json"),

147+

]);

148+
149+

expect(

150+

isSourceCheckoutRoot({

151+

packageRoot,

152+

existsSync: (value: string) => existingPaths.has(value),

153+

}),

154+

).toBe(false);

155+

});

156+
139157

it("prunes source-checkout bundled plugin node_modules", async () => {

140158

const packageRoot = await createTempDirAsync("openclaw-source-checkout-");

141159

const extensionsDir = path.join(packageRoot, "extensions");