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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Jina AI
Jina AI
The Cloudflare Blog
V
Visual Studio Blog
博客园_首页
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园 - Franky

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
chore(lint): enable readability lint rules · openclaw/ope...
steipete · 2026-05-31 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -26,6 +26,7 @@

2626

"eslint/no-sequences": "error",

2727

"eslint/no-self-compare": "error",

2828

"eslint/no-shadow": "off",

29+

"eslint/no-implicit-coercion": "error",

2930

"eslint/no-var": "error",

3031

"eslint/no-useless-call": "error",

3132

"eslint/no-useless-computed-key": "error",

@@ -41,6 +42,7 @@

4142

"eslint/default-param-last": "error",

4243

"eslint/prefer-exponentiation-operator": "error",

4344

"eslint/prefer-numeric-literals": "error",

45+

"eslint/prefer-object-has-own": "error",

4446

"eslint/prefer-rest-params": "error",

4547

"eslint/prefer-spread": "error",

4648

"eslint/radix": "error",

@@ -66,6 +68,7 @@

6668

"typescript/no-empty-object-type": ["error", { "allowInterfaces": "with-single-extends" }],

6769

"typescript/no-explicit-any": "error",

6870

"typescript/no-extraneous-class": "error",

71+

"typescript/no-import-type-side-effects": "error",

6972

"typescript/no-meaningless-void-operator": "error",

7073

"typescript/no-non-null-asserted-nullish-coalescing": "error",

7174

"typescript/no-unnecessary-qualifier": "error",

@@ -111,6 +114,7 @@

111114

"unicorn/no-unnecessary-slice-end": "error",

112115

"unicorn/no-useless-error-capture-stack-trace": "error",

113116

"unicorn/no-useless-promise-resolve-reject": "error",

117+

"unicorn/no-zero-fractions": "error",

114118

"unicorn/prefer-date-now": "error",

115119

"unicorn/prefer-dom-node-text-content": "error",

116120

"unicorn/prefer-keyboard-event-key": "error",

@@ -183,6 +187,7 @@

183187

"docs/_layouts/",

184188

"extensions/diffs/assets/viewer-runtime.js",

185189

"extensions/diffs-language-pack/assets/viewer-runtime.js",

190+

"extensions/canvas/src/host/a2ui/a2ui.bundle.js",

186191

"node_modules/",

187192

"patches/",

188193

"pnpm-lock.yaml",

Original file line numberDiff line numberDiff line change

@@ -75,7 +75,7 @@ async function readLeaseFile(filePath: string): Promise<LeaseFile> {

7575

leases: [],

7676

});

7777

const leases = Array.isArray(value.leases)

78-

? value.leases.map(normalizeLease).filter((lease): lease is AcpxProcessLease => !!lease)

78+

? value.leases.map(normalizeLease).filter((lease): lease is AcpxProcessLease => Boolean(lease))

7979

: [];

8080

return { version: 1, leases };

8181

}

Original file line numberDiff line numberDiff line change

@@ -127,9 +127,7 @@ function readRpcRequestBody(body: unknown):

127127

request: {

128128

id,

129129

method: rpcBody.method.trim(),

130-

...(Object.prototype.hasOwnProperty.call(rpcBody, "params")

131-

? { params: rpcBody.params }

132-

: {}),

130+

...(Object.hasOwn(rpcBody, "params") ? { params: rpcBody.params } : {}),

133131

},

134132

};

135133

}

Original file line numberDiff line numberDiff line change

@@ -1,7 +1,7 @@

1-

import {

2-

type BedrockClient,

3-

type ListFoundationModelsCommandOutput,

4-

type ListInferenceProfilesCommandOutput,

1+

import type {

2+

BedrockClient,

3+

ListFoundationModelsCommandOutput,

4+

ListInferenceProfilesCommandOutput,

55

} from "@aws-sdk/client-bedrock";

66

import { createSubsystemLogger } from "openclaw/plugin-sdk/core";

77

import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";

Original file line numberDiff line numberDiff line change

@@ -26,7 +26,7 @@ export const ARCEE_MODEL_CATALOG: ModelDefinitionConfig[] = [

2626

maxTokens: 16384,

2727

cost: {

2828

input: 0.25,

29-

output: 1.0,

29+

output: 1,

3030

cacheRead: 0.25,

3131

cacheWrite: 0.25,

3232

},

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

import { type WebSearchProviderPlugin } from "openclaw/plugin-sdk/provider-web-search-config-contract";

1+

import type { WebSearchProviderPlugin } from "openclaw/plugin-sdk/provider-web-search-config-contract";

22

import { buildBraveWebSearchProviderBase } from "./web-search-shared.js";

33
44

export function createBraveWebSearchProvider(): WebSearchProviderPlugin {

Original file line numberDiff line numberDiff line change

@@ -38,13 +38,10 @@ export default definePluginEntry({

3838

) {

3939

return null;

4040

}

41-

if (Object.prototype.hasOwnProperty.call(config, "browser")) {

41+

if (Object.hasOwn(config, "browser")) {

4242

return "browser configured";

4343

}

44-

if (

45-

config.plugins?.entries &&

46-

Object.prototype.hasOwnProperty.call(config.plugins.entries, "browser")

47-

) {

44+

if (config.plugins?.entries && Object.hasOwn(config.plugins.entries, "browser")) {

4845

return "browser plugin configured";

4946

}

5047

if (hasBrowserToolReference(config)) {

Original file line numberDiff line numberDiff line change

@@ -5,11 +5,7 @@ import {

55

normalizeOptionalString,

66

normalizeOptionalTrimmedStringList,

77

} from "openclaw/plugin-sdk/string-coerce-runtime";

8-

import {

9-

type BrowserConfig,

10-

type BrowserProfileConfig,

11-

type OpenClawConfig,

12-

} from "../config/config.js";

8+

import type { BrowserConfig, BrowserProfileConfig, OpenClawConfig } from "../config/config.js";

139

import { resolveGatewayPort } from "../config/paths.js";

1410

import {

1511

DEFAULT_BROWSER_CONTROL_PORT,

Original file line numberDiff line numberDiff line change

@@ -269,7 +269,7 @@ async function runBrowserLiveProbe(req: BrowserRequest, ctx: BrowserRouteContext

269269

}

270270
271271

function hasQueryKey(query: BrowserRequest["query"], key: string): boolean {

272-

return Object.prototype.hasOwnProperty.call(query ?? {}, key);

272+

return Object.hasOwn(query ?? {}, key);

273273

}

274274
275275

function parseHeadlessStartOverride(params: {

Original file line numberDiff line numberDiff line change

@@ -133,7 +133,7 @@ function isLegacyClawdProfileConfigured(cfg: OpenClawConfig, legacyProfileDir: s

133133

if (!configuredProfiles) {

134134

return false;

135135

}

136-

if (Object.prototype.hasOwnProperty.call(configuredProfiles, LEGACY_CLAWD_BROWSER_PROFILE_NAME)) {

136+

if (Object.hasOwn(configuredProfiles, LEGACY_CLAWD_BROWSER_PROFILE_NAME)) {

137137

return true;

138138

}

139139