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

推荐订阅源

博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
爱范儿
爱范儿
月光博客
月光博客
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
T
Tailwind CSS Blog
美团技术团队
D
Docker
V
Visual Studio Blog
Martin Fowler
Martin Fowler
博客园 - 聂微东
The Cloudflare Blog

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: restore main ci and speed tests · openclaw/openclaw@...
steipete · 2026-04-28 · via Recent Commits to openclaw:main

File tree

  • apps

    • macos/Sources/OpenClawProtocol

    • shared/OpenClawKit/Sources/OpenClawProtocol

  • extensions

    • browser/src

      • browser

      • test-support

    • diagnostics-prometheus/src

  • test/vitest

Original file line numberDiff line numberDiff line change

@@ -3185,7 +3185,19 @@ public struct ModelChoice: Codable, Sendable {

31853185

}

31863186

}

31873187
3188-

public struct ModelsListParams: Codable, Sendable {}

3188+

public struct ModelsListParams: Codable, Sendable {

3189+

public let view: AnyCodable?

3190+
3191+

public init(

3192+

view: AnyCodable?)

3193+

{

3194+

self.view = view

3195+

}

3196+
3197+

private enum CodingKeys: String, CodingKey {

3198+

case view

3199+

}

3200+

}

31893201
31903202

public struct ModelsListResult: Codable, Sendable {

31913203

public let models: [ModelChoice]

Original file line numberDiff line numberDiff line change

@@ -3185,7 +3185,19 @@ public struct ModelChoice: Codable, Sendable {

31853185

}

31863186

}

31873187
3188-

public struct ModelsListParams: Codable, Sendable {}

3188+

public struct ModelsListParams: Codable, Sendable {

3189+

public let view: AnyCodable?

3190+
3191+

public init(

3192+

view: AnyCodable?)

3193+

{

3194+

self.view = view

3195+

}

3196+
3197+

private enum CodingKeys: String, CodingKey {

3198+

case view

3199+

}

3200+

}

31893201
31903202

public struct ModelsListResult: Codable, Sendable {

31913203

public let models: [ModelChoice]

Original file line numberDiff line numberDiff line change

@@ -5,7 +5,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

55

import { type WebSocket, WebSocketServer } from "ws";

66

import { SsrFBlockedError } from "../infra/net/ssrf.js";

77

import { rawDataToString } from "../infra/ws.js";

8-

import "../../test-support/browser-security.mock.js";

8+

import "../test-support/browser-security.mock.js";

99

import {

1010

isDirectCdpWebSocketEndpoint,

1111

isWebSocketUrl,

Original file line numberDiff line numberDiff line change

@@ -1,5 +1,5 @@

11

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

2-

import "../../test-support/browser-security.mock.js";

2+

import "../test-support/browser-security.mock.js";

33

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

44

import type { BrowserDispatchResponse } from "./routes/dispatcher.js";

55
Original file line numberDiff line numberDiff line change

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

11

import { chromium } from "playwright-core";

22

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

33

import { SsrFBlockedError } from "../infra/net/ssrf.js";

4-

import "../../test-support/browser-security.mock.js";

4+

import "../test-support/browser-security.mock.js";

55

import * as chromeModule from "./chrome.js";

66

import { BrowserTabNotFoundError } from "./errors.js";

77

import { InvalidBrowserNavigationUrlError } from "./navigation-guard.js";

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,6 @@

11

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

22

import { SsrFBlockedError } from "../infra/net/ssrf.js";

3-

import "../../test-support/browser-security.mock.js";

3+

import "../test-support/browser-security.mock.js";

44

import { InvalidBrowserNavigationUrlError } from "./navigation-guard.js";

55

import {

66

getPwToolsCoreSessionMocks,

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,6 @@

11

import fs from "node:fs";

22

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

3-

import "../../test-support/browser-security.mock.js";

3+

import "../test-support/browser-security.mock.js";

44

import type { BrowserServerState } from "./server-context.js";

55
66

const chromeMcpMock = vi.hoisted(() => ({

Original file line numberDiff line numberDiff line change

@@ -3,12 +3,12 @@ import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/text-runti

33

export {

44

getRuntimeConfig,

55

getRuntimeConfigSnapshot,

6-

replaceConfigFile,

7-

} from "openclaw/plugin-sdk/config-runtime";

8-

export type {

9-

BrowserConfig,

10-

BrowserProfileConfig,

11-

OpenClawConfig,

6+

} from "openclaw/plugin-sdk/runtime-config-snapshot";

7+

export { replaceConfigFile } from "openclaw/plugin-sdk/config-mutation";

8+

export {

9+

type BrowserConfig,

10+

type BrowserProfileConfig,

11+

type OpenClawConfig,

1212

} from "openclaw/plugin-sdk/config-types";

1313

export {

1414

normalizePluginsConfig,

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,8 @@

11

import { vi } from "vitest";

22
3-

vi.mock("../src/sdk-security-runtime.js", async () => {

4-

const actual = await vi.importActual<typeof import("../src/sdk-security-runtime.js")>(

5-

"../src/sdk-security-runtime.js",

3+

vi.mock("../sdk-security-runtime.js", async () => {

4+

const actual = await vi.importActual<typeof import("../sdk-security-runtime.js")>(

5+

"../sdk-security-runtime.js",

66

);

77

const lookupFn = async (_hostname: string, options?: { all?: boolean }) => {

88

const result = { address: "93.184.216.34", family: 4 };

Original file line numberDiff line numberDiff line change

@@ -599,6 +599,9 @@ function recordDiagnosticEvent(

599599

},

600600

);

601601

return;

602+

case "diagnostic.heartbeat":

603+

case "diagnostic.liveness.warning":

604+

return;

602605

case "telemetry.exporter":

603606

store.counter("openclaw_telemetry_exporter_total", "Telemetry exporter lifecycle events.", {

604607

exporter: lowCardinalityLabel(evt.exporter),