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

推荐订阅源

The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
L
LangChain Blog
WordPress大学
WordPress大学
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
P
Proofpoint News Feed
D
DataBreaches.Net

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
refactor(gateway): hide websocket helper types · openclaw...
unauthorized-flood-guard.ts · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -350,7 +350,7 @@ export type ChatAbortOps = {

350350

nodeSendToSession: (sessionKey: string, event: string, payload: unknown) => void;

351351

};

352352
353-

export type TrackedChatRunAbortOps = {

353+

type TrackedChatRunAbortOps = {

354354

chatAbortControllers: ChatAbortOps["chatAbortControllers"];

355355

chatRunBuffers: ChatAbortOps["chatRunBuffers"];

356356

chatRunState: {

Original file line numberDiff line numberDiff line change

@@ -71,7 +71,7 @@ const CONTROL_UI_OPERATOR_READ_SCOPE = "operator.read";

7171

const CONTROL_UI_OPERATOR_ROLE = "operator";

7272

const controlUiAssistantMediaTicketSecret = randomBytes(32);

7373
74-

export type ControlUiRequestOptions = {

74+

type ControlUiRequestOptions = {

7575

basePath?: string;

7676

config?: OpenClawConfig;

7777

agentId?: string;

@@ -154,7 +154,7 @@ const CONTROL_UI_ROOT_PUBLIC_ASSETS = new Set([

154154

"sw.js",

155155

]);

156156
157-

export type ControlUiAvatarResolution =

157+

type ControlUiAvatarResolution =

158158

| { kind: "none"; reason: string; source?: string | null }

159159

| { kind: "local"; filePath: string; source?: string | null }

160160

| { kind: "remote"; url: string; source?: string | null }

Original file line numberDiff line numberDiff line change

@@ -13,7 +13,7 @@ type EventLoopDelayMonitor = ReturnType<typeof monitorEventLoopDelay>;

1313

type EventLoopUtilization = ReturnType<typeof performance.eventLoopUtilization>;

1414

type CpuUsage = ReturnType<typeof process.cpuUsage>;

1515
16-

export type GatewayEventLoopHealthReason = "event_loop_delay" | "event_loop_utilization" | "cpu";

16+

type GatewayEventLoopHealthReason = "event_loop_delay" | "event_loop_utilization" | "cpu";

1717
1818

export type GatewayEventLoopHealth = {

1919

degraded: boolean;

@@ -25,7 +25,7 @@ export type GatewayEventLoopHealth = {

2525

cpuCoreRatio: number;

2626

};

2727
28-

export type GatewayEventLoopHealthMonitor = {

28+

type GatewayEventLoopHealthMonitor = {

2929

snapshot: () => GatewayEventLoopHealth | undefined;

3030

stop: () => void;

3131

};

Original file line numberDiff line numberDiff line change

@@ -23,7 +23,7 @@ type HandshakeConnectAuth = {

2323

approvalRuntimeToken?: string;

2424

};

2525
26-

export type DeviceTokenCandidateSource = "explicit-device-token" | "shared-token-fallback";

26+

type DeviceTokenCandidateSource = "explicit-device-token" | "shared-token-fallback";

2727
2828

export type ConnectAuthState = {

2929

authResult: GatewayAuthResult;

@@ -48,7 +48,7 @@ type VerifyDeviceTokenResult = {

4848

};

4949

type VerifyBootstrapTokenResult = { ok: boolean; reason?: string };

5050
51-

export type ConnectAuthDecision = {

51+

type ConnectAuthDecision = {

5252

authResult: GatewayAuthResult;

5353

authOk: boolean;

5454

authMethod: GatewayAuthResult["method"];

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import type { ConnectParams } from "../../../../packages/gateway-protocol/src/in

33

import type { GatewayRole } from "../../role-policy.js";

44

import { roleCanSkipDeviceIdentity } from "../../role-policy.js";

55
6-

export type ControlUiAuthPolicy = {

6+

type ControlUiAuthPolicy = {

77

isControlUi: boolean;

88

allowInsecureAuthConfigured: boolean;

99

dangerouslyDisableDeviceAuth: boolean;

@@ -77,7 +77,7 @@ export function isTrustedProxyControlUiOperatorAuth(params: {

7777

);

7878

}

7979
80-

export type MissingDeviceIdentityDecision =

80+

type MissingDeviceIdentityDecision =

8181

| { kind: "allow" }

8282

| { kind: "reject-control-ui-insecure-auth" }

8383

| { kind: "reject-unauthorized" }

Original file line numberDiff line numberDiff line change

@@ -20,14 +20,14 @@ import type { AuthProvidedKind } from "./auth-messages.js";

2020
2121

export const BROWSER_ORIGIN_LOOPBACK_RATE_LIMIT_IP = "198.18.0.1";

2222

export const BROWSER_ORIGIN_RATE_LIMIT_KEY_PREFIX = "browser-origin:";

23-

export type PairingLocalityKind =

23+

type PairingLocalityKind =

2424

| "direct_local"

2525

| "cli_container_local"

2626

| "browser_container_local"

2727

| "shared_secret_loopback_local"

2828

| "remote";

2929
30-

export type HandshakeBrowserSecurityContext = {

30+

type HandshakeBrowserSecurityContext = {

3131

hasBrowserOriginHeader: boolean;

3232

enforceOriginCheckForAnyClient: boolean;

3333

rateLimitClientIp: string | undefined;

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@

22

import { resolveIntegerOption } from "@openclaw/normalization-core/number-coercion";

33
44

/** Decision returned for a handshake auth log attempt. */

5-

export type HandshakeAuthLogDecision = {

5+

type HandshakeAuthLogDecision = {

66

shouldLog: boolean;

77

suppressedSinceLastLog: number;

88

};

Original file line numberDiff line numberDiff line change

@@ -5,13 +5,13 @@ import { ErrorCodes, type ErrorShape } from "../../../../packages/gateway-protoc

55

/**

66

* Per-connection guard that suppresses noisy unauthorized-role retries.

77

*/

8-

export type UnauthorizedFloodGuardOptions = {

8+

type UnauthorizedFloodGuardOptions = {

99

closeAfter?: number;

1010

logEvery?: number;

1111

};

1212
1313

/** Decision returned after recording one unauthorized role failure. */

14-

export type UnauthorizedFloodDecision = {

14+

type UnauthorizedFloodDecision = {

1515

shouldClose: boolean;

1616

shouldLog: boolean;

1717

count: number;