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

推荐订阅源

博客园 - 叶小钗
爱范儿
爱范儿
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
博客园 - 聂微东
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
宝玉的分享
宝玉的分享
罗磊的独立博客
Jina AI
Jina AI

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: trim install infra exports · openclaw/openclaw@...
steipete · 2026-05-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -9,18 +9,18 @@ import { setActivePluginRegistry } from "../plugins/runtime.js";

99

import { createTestRegistry } from "../test-utils/channel-plugins.js";

1010

import type { HeartbeatDeps } from "./heartbeat-runner.js";

1111
12-

export type HeartbeatSessionSeed = {

12+

type HeartbeatSessionSeed = {

1313

sessionId?: string;

1414

updatedAt?: number;

1515

lastChannel: string;

1616

lastProvider: string;

1717

lastTo: string;

1818

};

1919
20-

export type HeartbeatReplyFn = NonNullable<HeartbeatDeps["getReplyFromConfig"]>;

20+

type HeartbeatReplyFn = NonNullable<HeartbeatDeps["getReplyFromConfig"]>;

2121

export type HeartbeatReplySpy = ReturnType<typeof vi.fn<HeartbeatReplyFn>>;

2222
23-

export function createHeartbeatReplySpy(): HeartbeatReplySpy {

23+

function createHeartbeatReplySpy(): HeartbeatReplySpy {

2424

const replySpy: HeartbeatReplySpy = vi.fn<HeartbeatReplyFn>();

2525

replySpy.mockResolvedValue({ text: "ok" });

2626

return replySpy;

Original file line numberDiff line numberDiff line change

@@ -5,7 +5,7 @@ import { resolveUserPath } from "../utils.js";

55

import { type ArchiveLogger, extractArchive, fileExists, resolvePackedRootDir } from "./archive.js";

66

import { withTempDir } from "./install-source-utils.js";

77
8-

export type ExistingInstallPathResult =

8+

type ExistingInstallPathResult =

99

| {

1010

ok: true;

1111

resolvedPath: string;

Original file line numberDiff line numberDiff line change

@@ -1,12 +1,12 @@

1-

export type InstallMode = "install" | "update";

1+

type InstallMode = "install" | "update";

22
3-

export type InstallModeOptions<TLogger> = {

3+

type InstallModeOptions<TLogger> = {

44

logger?: TLogger;

55

mode?: InstallMode;

66

dryRun?: boolean;

77

};

88
9-

export type TimedInstallModeOptions<TLogger> = InstallModeOptions<TLogger> & {

9+

type TimedInstallModeOptions<TLogger> = InstallModeOptions<TLogger> & {

1010

timeoutMs?: number;

1111

};

1212
Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@ import type { GatewayBindMode } from "../config/types.js";

22

import { pickPrimaryLanIPv4, resolveGatewayBindHost } from "../gateway/net.js";

33

import { pickPrimaryTailnetIPv4 } from "./tailnet.js";

44
5-

export function summarizeDisplayNetworkError(error: unknown): string {

5+

function summarizeDisplayNetworkError(error: unknown): string {

66

if (error instanceof Error) {

77

const message = error.message.trim();

88

if (message) {

@@ -12,10 +12,7 @@ export function summarizeDisplayNetworkError(error: unknown): string {

1212

return "network interface discovery failed";

1313

}

1414
15-

export function fallbackBindHostForDisplay(

16-

bindMode: GatewayBindMode,

17-

customBindHost?: string,

18-

): string {

15+

function fallbackBindHostForDisplay(bindMode: GatewayBindMode, customBindHost?: string): string {

1916

if (bindMode === "lan") {

2017

return "0.0.0.0";

2118

}

Original file line numberDiff line numberDiff line change

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

11

import os from "node:os";

22
33

export type NetworkInterfacesSnapshot = ReturnType<typeof os.networkInterfaces>;

4-

export type NetworkInterfaceFamily = "IPv4" | "IPv6";

5-

export type ExternalNetworkInterfaceAddress = {

4+

type NetworkInterfaceFamily = "IPv4" | "IPv6";

5+

type ExternalNetworkInterfaceAddress = {

66

name: string;

77

address: string;

88

family: NetworkInterfaceFamily;

Original file line numberDiff line numberDiff line change

@@ -2,9 +2,9 @@ import { NODE_SYSTEM_RUN_COMMANDS } from "./node-commands.js";

22
33

export type NodeApprovalScope = "operator.pairing" | "operator.write" | "operator.admin";

44
5-

export const OPERATOR_PAIRING_SCOPE: NodeApprovalScope = "operator.pairing";

6-

export const OPERATOR_WRITE_SCOPE: NodeApprovalScope = "operator.write";

7-

export const OPERATOR_ADMIN_SCOPE: NodeApprovalScope = "operator.admin";

5+

const OPERATOR_PAIRING_SCOPE: NodeApprovalScope = "operator.pairing";

6+

const OPERATOR_WRITE_SCOPE: NodeApprovalScope = "operator.write";

7+

const OPERATOR_ADMIN_SCOPE: NodeApprovalScope = "operator.admin";

88
99

export function resolveNodePairApprovalScopes(commands: unknown): NodeApprovalScope[] {

1010

const normalized = Array.isArray(commands)

Original file line numberDiff line numberDiff line change

@@ -14,7 +14,7 @@ import {

1414

import { rejectPendingPairingRequest } from "./pairing-pending.js";

1515

import { generatePairingToken, verifyPairingToken } from "./pairing-token.js";

1616
17-

export type NodeDeclaredSurface = {

17+

type NodeDeclaredSurface = {

1818

nodeId: string;

1919

displayName?: string;

2020

platform?: string;

@@ -29,7 +29,7 @@ export type NodeDeclaredSurface = {

2929

remoteIp?: string;

3030

};

3131
32-

export type NodeApprovedSurface = NodeDeclaredSurface;

32+

type NodeApprovedSurface = NodeDeclaredSurface;

3333
3434

export type NodePairingRequestInput = NodeDeclaredSurface & {

3535

silent?: boolean;

@@ -41,7 +41,7 @@ export type NodePairingPendingRequest = NodePairingRequestInput & {

4141

ts: number;

4242

};

4343
44-

export type NodePairingPendingEntry = NodePairingPendingRequest & {

44+

type NodePairingPendingEntry = NodePairingPendingRequest & {

4545

requiredApproveScopes: NodeApprovalScope[];

4646

};

4747

@@ -55,7 +55,7 @@ export type NodePairingPairedNode = NodeApprovedSurface & {

5555

lastSeenReason?: string;

5656

};

5757
58-

export type NodePairingList = {

58+

type NodePairingList = {

5959

pending: NodePairingPendingEntry[];

6060

paired: NodePairingPairedNode[];

6161

};

Original file line numberDiff line numberDiff line change

@@ -21,7 +21,7 @@ type ResolveNpmIntegrityDriftParams<TPayload> = {

2121

warn?: (payload: TPayload) => void;

2222

};

2323
24-

export type ResolveNpmIntegrityDriftResult<TPayload> = {

24+

type ResolveNpmIntegrityDriftResult<TPayload> = {

2525

integrityDrift?: NpmIntegrityDrift;

2626

proceed: boolean;

2727

payload?: TPayload;

Original file line numberDiff line numberDiff line change

@@ -14,7 +14,7 @@ import {

1414

parseRegistryNpmSpec,

1515

} from "./npm-registry-spec.js";

1616
17-

export type NpmSpecArchiveInstallFlowResult<TResult extends { ok: boolean }> =

17+

type NpmSpecArchiveInstallFlowResult<TResult extends { ok: boolean }> =

1818

| {

1919

ok: false;

2020

error: string;

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@ import { spawnSync } from "node:child_process";

22

import os from "node:os";

33

import { normalizeOptionalString } from "../shared/string-coerce.js";

44
5-

export type OsSummary = {

5+

type OsSummary = {

66

platform: NodeJS.Platform;

77

arch: string;

88

release: string;