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

推荐订阅源

I
InfoQ
S
SegmentFault 最新的问题
N
Netflix TechBlog - Medium
B
Blog
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 聂微东
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
U
Unit 42
J
Java Code Geeks
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC

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

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

11

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

22
3-

export type ProviderModelRef = {

3+

type ProviderModelRef = {

44

provider: string;

55

model: string;

66

};

Original file line numberDiff line numberDiff line change

@@ -6,13 +6,13 @@ import { isMcpConfigRecord, toMcpStringRecord } from "./mcp-config-shared.js";

66
77

export type HttpMcpTransportType = "sse" | "streamable-http";

88
9-

export type HttpMcpServerLaunchConfig = {

9+

type HttpMcpServerLaunchConfig = {

1010

transportType: HttpMcpTransportType;

1111

url: string;

1212

headers?: Record<string, string>;

1313

};

1414
15-

export type HttpMcpServerLaunchResult =

15+

type HttpMcpServerLaunchResult =

1616

| { ok: true; config: HttpMcpServerLaunchConfig }

1717

| { ok: false; reason: string };

1818
Original file line numberDiff line numberDiff line change

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

11

import { isMcpConfigRecord, toMcpEnvRecord, toMcpStringArray } from "./mcp-config-shared.js";

22
3-

type StdioMcpServerLaunchConfig = {

3+

export type StdioMcpServerLaunchConfig = {

44

command: string;

55

args?: string[];

66

env?: Record<string, string>;

@@ -50,5 +50,3 @@ export function describeStdioMcpServerLaunchConfig(config: StdioMcpServerLaunchC

5050

const cwd = config.cwd ? ` (cwd=${config.cwd})` : "";

5151

return `${config.command}${args}${cwd}`;

5252

}

53-
54-

export type { StdioMcpServerLaunchConfig, StdioMcpServerLaunchResult };

Original file line numberDiff line numberDiff line change

@@ -17,7 +17,7 @@ type ResolvedBaseMcpTransportConfig = {

1717

connectionTimeoutMs: number;

1818

};

1919
20-

export type ResolvedStdioMcpTransportConfig = ResolvedBaseMcpTransportConfig & {

20+

type ResolvedStdioMcpTransportConfig = ResolvedBaseMcpTransportConfig & {

2121

kind: "stdio";

2222

transportType: "stdio";

2323

command: string;

@@ -26,16 +26,14 @@ export type ResolvedStdioMcpTransportConfig = ResolvedBaseMcpTransportConfig & {

2626

cwd?: string;

2727

};

2828
29-

export type ResolvedHttpMcpTransportConfig = ResolvedBaseMcpTransportConfig & {

29+

type ResolvedHttpMcpTransportConfig = ResolvedBaseMcpTransportConfig & {

3030

kind: "http";

3131

transportType: HttpMcpTransportType;

3232

url: string;

3333

headers?: Record<string, string>;

3434

};

3535
36-

export type ResolvedMcpTransportConfig =

37-

| ResolvedStdioMcpTransportConfig

38-

| ResolvedHttpMcpTransportConfig;

36+

type ResolvedMcpTransportConfig = ResolvedStdioMcpTransportConfig | ResolvedHttpMcpTransportConfig;

3937
4038

const DEFAULT_CONNECTION_TIMEOUT_MS = 30_000;

4139
Original file line numberDiff line numberDiff line change

@@ -10,7 +10,7 @@ import { normalizeOptionalString } from "../shared/string-coerce.js";

1010

import { OpenClawStdioClientTransport } from "./mcp-stdio-transport.js";

1111

import { resolveMcpTransportConfig } from "./mcp-transport-config.js";

1212
13-

export type ResolvedMcpTransport = {

13+

type ResolvedMcpTransport = {

1414

transport: Transport;

1515

description: string;

1616

transportType: "stdio" | "sse" | "streamable-http";

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import type { ModelCatalogEntry } from "./model-catalog.js";

33

import { createProviderAuthChecker } from "./model-provider-auth.js";

44

import { buildAllowedModelSet, buildConfiguredModelCatalog, modelKey } from "./model-selection.js";

55
6-

export type ModelCatalogVisibilityView = "default" | "configured" | "all";

6+

type ModelCatalogVisibilityView = "default" | "configured" | "all";

77
88

function sortModelCatalogEntries(entries: ModelCatalogEntry[]): ModelCatalogEntry[] {

99

return entries.toSorted(

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import { normalizeAgentId } from "../routing/session-key.js";

33

import { resolveAgentRuntimePolicy } from "./agent-runtime-policy.js";

44

import { normalizeProviderId } from "./provider-id.js";

55
6-

export type LegacyRuntimeModelProviderAlias = {

6+

type LegacyRuntimeModelProviderAlias = {

77

/** Legacy provider id that encoded the runtime in the model ref. */

88

legacyProvider: string;

99

/** Canonical provider id that should own model selection. */

@@ -50,7 +50,7 @@ export function listLegacyRuntimeModelProviderAliases(): readonly LegacyRuntimeM

5050

return LEGACY_RUNTIME_MODEL_PROVIDER_ALIASES;

5151

}

5252
53-

export function resolveLegacyRuntimeModelProviderAlias(

53+

function resolveLegacyRuntimeModelProviderAlias(

5454

provider: string,

5555

): LegacyRuntimeModelProviderAlias | undefined {

5656

return LEGACY_ALIAS_BY_PROVIDER.get(normalizeProviderId(provider));

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,12 @@ import crypto from "node:crypto";

22

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

33

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

44
5-

export type OwnerDisplaySetting = {

5+

type OwnerDisplaySetting = {

66

ownerDisplay?: "raw" | "hash";

77

ownerDisplaySecret?: string;

88

};

99
10-

export type OwnerDisplaySecretResolution = {

10+

type OwnerDisplaySecretResolution = {

1111

config: OpenClawConfig;

1212

generatedSecret?: string;

1313

};

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@ import crypto from "node:crypto";

22

import { estimateBase64DecodedBytes } from "../media/base64.js";

33

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

44
5-

export const REDACTED_IMAGE_DATA = "<redacted>";

5+

const REDACTED_IMAGE_DATA = "<redacted>";

66
77

const NON_CREDENTIAL_FIELD_NAMES = new Set([

88

"passwordfile",