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

推荐订阅源

T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Register - Security
The Register - Security
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
N
Netflix TechBlog - Medium
量子位
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
H
Help Net Security
D
Docker
D
DataBreaches.Net
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
B
Blog
博客园 - 聂微东
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
The Cloudflare Blog
F
Full Disclosure
GbyAI
GbyAI
F
Fortinet All Blogs
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
博客园 - 叶小钗
小众软件
小众软件
V
Visual Studio Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Recorded Future
Recorded Future
J
Java Code Geeks
雷峰网
雷峰网
P
Privacy & Cybersecurity Law Blog
C
Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
Webroot Blog
Webroot Blog
美团技术团队
N
News | PayPal Newsroom
G
Google Developers Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园_首页
V
Vulnerabilities – Threatpost

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: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
chore: move swift configs under config · openclaw/openclaw@e7bb5d6
steipete · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1998,8 +1998,8 @@ jobs:

19981998
19991999

- name: Swift lint

20002000

run: |

2001-

swiftlint --config .swiftlint.yml

2002-

swiftformat --lint apps/macos/Sources --config .swiftformat

2001+

swiftlint lint --config config/swiftlint.yml

2002+

swiftformat --lint apps/macos/Sources --config config/swiftformat --exclude '**/OpenClawProtocol,**/HostEnvSecurityPolicy.generated.swift'

20032003
20042004

- name: Swift build (release)

20052005

run: |

Original file line numberDiff line numberDiff line change

@@ -97,15 +97,15 @@ repos:

9797

# swiftlint (same as CI)

9898

- id: swiftlint

9999

name: swiftlint

100-

entry: swiftlint --config .swiftlint.yml

100+

entry: swiftlint lint --config config/swiftlint.yml

101101

language: system

102102

pass_filenames: false

103103

types: [swift]

104104
105105

# swiftformat --lint (same as CI)

106106

- id: swiftformat

107107

name: swiftformat

108-

entry: swiftformat --lint apps/macos/Sources --config .swiftformat

108+

entry: swiftformat --lint apps/macos/Sources --config config/swiftformat --exclude '**/OpenClawProtocol,**/HostEnvSecurityPolicy.generated.swift'

109109

language: system

110110

pass_filenames: false

111111

types: [swift]

Original file line numberDiff line numberDiff line change

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

1-

parent_config: ../../.swiftlint.yml

1+

parent_config: ../../config/swiftlint.yml

22
33

included:

44

- Sources

Original file line numberDiff line numberDiff line change

@@ -70,7 +70,7 @@ targets:

7070

echo "error: swiftformat not found (brew install swiftformat)" >&2

7171

exit 1

7272

fi

73-

swiftformat --lint --config "$SRCROOT/../../.swiftformat" \

73+

swiftformat --lint --config "$SRCROOT/../../config/swiftformat" \

7474

--unexclude "$SRCROOT/Sources,$SRCROOT/ShareExtension,$SRCROOT/ActivityWidget,$SRCROOT/WatchExtension,$SRCROOT/../shared/OpenClawKit,$SRCROOT/../swabble" \

7575

--filelist "$SRCROOT/SwiftSources.input.xcfilelist"

7676

- name: SwiftLint

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,51 @@

1+

# SwiftFormat configuration adapted from Peekaboo defaults (Swift 6 friendly)

2+
3+

--swiftversion 6.2

4+
5+

# Self handling

6+

--self insert

7+

--selfrequired

8+
9+

# Imports / extensions

10+

--importgrouping testable-bottom

11+

--extensionacl on-declarations

12+
13+

# Indentation

14+

--indent 4

15+

--indentcase false

16+

--ifdef no-indent

17+

--xcodeindentation enabled

18+
19+

# Line breaks

20+

--linebreaks lf

21+

--maxwidth 120

22+
23+

# Whitespace

24+

--trimwhitespace always

25+

--emptybraces no-space

26+

--nospaceoperators ...,..<

27+

--ranges no-space

28+

--someAny true

29+

--voidtype void

30+
31+

# Wrapping

32+

--wraparguments before-first

33+

--wrapparameters before-first

34+

--wrapcollections before-first

35+

--closingparen same-line

36+
37+

# Organization

38+

--organizetypes class,struct,enum,extension

39+

--extensionmark "MARK: - %t + %p"

40+

--marktypes always

41+

--markextensions always

42+

--structthreshold 0

43+

--enumthreshold 0

44+
45+

# Other

46+

--stripunusedargs closure-only

47+

--header ignore

48+

--allman false

49+
50+

# Exclusions

51+

--exclude .build,.swiftpm,DerivedData,node_modules,dist,coverage,xcuserdata,Peekaboo,apps/swabble,apps/android,apps/ios,apps/shared

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,150 @@

1+

# SwiftLint configuration adapted from Peekaboo defaults (Swift 6 friendly)

2+
3+

included:

4+

- ../apps/macos/Sources

5+
6+

excluded:

7+

- ../.build

8+

- ../DerivedData

9+

- "**/.build"

10+

- "**/.swiftpm"

11+

- "**/DerivedData"

12+

- "**/Generated"

13+

- "**/Resources"

14+

- "**/Package.swift"

15+

- "**/Tests/Resources"

16+

- ../node_modules

17+

- ../dist

18+

- ../coverage

19+

- "*.playground"

20+

# Generated (protocol-gen-swift.ts)

21+

- ../apps/macos/Sources/OpenClawProtocol/GatewayModels.swift

22+

# Generated (generate-host-env-security-policy-swift.mjs)

23+

- ../apps/macos/Sources/OpenClaw/HostEnvSecurityPolicy.generated.swift

24+
25+

analyzer_rules:

26+

- unused_declaration

27+

- unused_import

28+
29+

opt_in_rules:

30+

- array_init

31+

- closure_spacing

32+

- contains_over_first_not_nil

33+

- empty_count

34+

- empty_string

35+

- explicit_init

36+

- fallthrough

37+

- fatal_error_message

38+

- first_where

39+

- joined_default_parameter

40+

- last_where

41+

- literal_expression_end_indentation

42+

- multiline_arguments

43+

- multiline_parameters

44+

- operator_usage_whitespace

45+

- overridden_super_call

46+

- pattern_matching_keywords

47+

- private_outlet

48+

- prohibited_super_call

49+

- redundant_nil_coalescing

50+

- sorted_first_last

51+

- switch_case_alignment

52+

- unneeded_parentheses_in_closure_argument

53+

- vertical_parameter_alignment_on_call

54+
55+

disabled_rules:

56+

# SwiftFormat handles these

57+

- trailing_whitespace

58+

- trailing_newline

59+

- trailing_comma

60+

- vertical_whitespace

61+

- indentation_width

62+
63+

# Style exclusions

64+

- explicit_self

65+

- identifier_name

66+

- file_header

67+

- explicit_top_level_acl

68+

- explicit_acl

69+

- explicit_type_interface

70+

- missing_docs

71+

- required_deinit

72+

- prefer_nimble

73+

- quick_discouraged_call

74+

- quick_discouraged_focused_test

75+

- quick_discouraged_pending_test

76+

- anonymous_argument_in_multiline_closure

77+

- no_extension_access_modifier

78+

- no_grouping_extension

79+

- switch_case_on_newline

80+

- strict_fileprivate

81+

- extension_access_modifier

82+

- convenience_type

83+

- no_magic_numbers

84+

- one_declaration_per_file

85+

- vertical_whitespace_between_cases

86+

- vertical_whitespace_closing_braces

87+

- superfluous_else

88+

- number_separator

89+

- prefixed_toplevel_constant

90+

- opening_brace

91+

- trailing_closure

92+

- contrasted_opening_brace

93+

- sorted_imports

94+

- redundant_type_annotation

95+

- shorthand_optional_binding

96+

- untyped_error_in_catch

97+

- file_name

98+

- todo

99+
100+

force_cast: warning

101+

force_try: warning

102+
103+

type_name:

104+

min_length:

105+

warning: 2

106+

error: 1

107+

max_length:

108+

warning: 60

109+

error: 80

110+
111+

function_body_length:

112+

warning: 150

113+

error: 300

114+
115+

function_parameter_count:

116+

warning: 7

117+

error: 10

118+
119+

file_length:

120+

warning: 1500

121+

error: 2500

122+

ignore_comment_only_lines: true

123+
124+

type_body_length:

125+

warning: 800

126+

error: 1200

127+
128+

cyclomatic_complexity:

129+

warning: 20

130+

error: 120

131+
132+

large_tuple:

133+

warning: 4

134+

error: 5

135+
136+

nesting:

137+

type_level:

138+

warning: 4

139+

error: 6

140+

function_level:

141+

warning: 5

142+

error: 7

143+
144+

line_length:

145+

warning: 120

146+

error: 250

147+

ignores_comments: true

148+

ignores_urls: true

149+
150+

reporter: "xcode"

Original file line numberDiff line numberDiff line change

@@ -1376,7 +1376,7 @@

13761376

"format:docs": "node scripts/format-docs.mjs",

13771377

"format:docs:check": "node scripts/format-docs.mjs --check",

13781378

"format:fix": "oxfmt --write --threads=1",

1379-

"format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources",

1379+

"format:swift": "swiftformat --lint --config config/swiftformat --exclude '**/apps/swabble,**/apps/android,**/apps/ios,**/apps/shared,**/OpenClawProtocol,**/HostEnvSecurityPolicy.generated.swift' apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources",

13801380

"gateway:dev": "OPENCLAW_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway",

13811381

"gateway:dev:reset": "OPENCLAW_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway --reset",

13821382

"gateway:watch": "node scripts/gateway-watch-tmux.mjs gateway --force",

@@ -1421,7 +1421,7 @@

14211421

"lint:plugins:no-register-http-handler": "node scripts/check-no-register-http-handler.mjs",

14221422

"lint:plugins:plugin-sdk-subpaths-exported": "node scripts/check-plugin-sdk-subpath-exports.mjs",

14231423

"lint:scripts": "pnpm lint:docker-e2e && node scripts/run-oxlint.mjs --tsconfig tsconfig.oxlint.scripts.json scripts",

1424-

"lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",

1424+

"lint:swift": "swiftlint lint --config config/swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",

14251425

"lint:tmp:channel-agnostic-boundaries": "node scripts/check-channel-agnostic-boundaries.mjs",

14261426

"lint:tmp:dynamic-import-warts": "node scripts/check-dynamic-import-warts.mjs",

14271427

"lint:tmp:no-random-messaging": "node scripts/check-no-random-messaging-tmp.mjs",

Original file line numberDiff line numberDiff line change

@@ -9,7 +9,7 @@ const APP_PATH_RE = /^(?:apps\/|Swabble\/|appcast\.xml$)/u;

99

const EXTENSION_PATH_RE = /^extensions\/[^/]+(?:\/|$)/u;

1010

const CORE_PATH_RE = /^(?:src\/|ui\/|packages\/)/u;

1111

const TOOLING_PATH_RE =

12-

/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|config\/|deploy\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|Makefile$|docker-setup\.sh$|setup-podman\.sh$|openclaw\.podman\.env$|skills\/pyproject\.toml$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.dockerignore$|\.gitignore$|\.jscpd\.json$|\.npmignore$|\.pre-commit-config\.yaml$|\.swiftformat$|\.oxlint.*|\.oxfmt.*)/u;

12+

/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|config\/|deploy\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|Makefile$|docker-setup\.sh$|setup-podman\.sh$|openclaw\.podman\.env$|skills\/pyproject\.toml$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.dockerignore$|\.gitignore$|\.jscpd\.json$|\.npmignore$|\.pre-commit-config\.yaml$|\.swiftformat$|\.swiftlint\.yml$|\.oxlint.*|\.oxfmt.*)/u;

1313

const ROOT_GLOBAL_PATH_RE =

1414

/^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u;

1515

const LEGACY_ROOT_ASSET_PATH_RE = /^assets\//u;

Original file line numberDiff line numberDiff line change

@@ -81,8 +81,8 @@ run_macos_ci_mirror() {

8181

return 0

8282

fi

8383
84-

run_step swiftlint --config .swiftlint.yml

85-

run_step swiftformat --lint apps/macos/Sources --config .swiftformat

84+

run_step swiftlint lint --config config/swiftlint.yml

85+

run_step swiftformat --lint apps/macos/Sources --config config/swiftformat --exclude '**/OpenClawProtocol,**/HostEnvSecurityPolicy.generated.swift'

8686

run_step swift build --package-path apps/macos --configuration release

8787

run_step swift test --package-path apps/macos --parallel

8888

}

Original file line numberDiff line numberDiff line change

@@ -327,10 +327,13 @@ describe("scripts/changed-lanes", () => {

327327

".npmignore",

328328

".pre-commit-config.yaml",

329329

".swiftformat",

330+

".swiftlint.yml",

330331

"Makefile",

331332

"config/knip.config.ts",

332333

"config/markdownlint-cli2.jsonc",

333334

"config/shellcheckrc",

335+

"config/swiftformat",

336+

"config/swiftlint.yml",

334337

"deploy/fly.private.toml",

335338

"docker-setup.sh",

336339

"openclaw.podman.env",