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

推荐订阅源

云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
博客园 - Franky
J
Java Code Geeks
V
Visual Studio Blog
G
Google Developers Blog
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
博客园 - 【当耐特】
IT之家
IT之家
I
InfoQ
U
Unit 42
C
Check Point Blog
Martin Fowler
Martin Fowler

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

@@ -5,11 +5,7 @@ import {

55

resolveDefaultAgentId,

66

} from "../agents/agent-scope.js";

77

import type { AgentIdentityFile } from "../agents/identity-file.js";

8-

import {

9-

identityHasValues,

10-

loadAgentIdentityFromWorkspace,

11-

parseIdentityMarkdown as parseIdentityMarkdownFile,

12-

} from "../agents/identity-file.js";

8+

import { identityHasValues, loadAgentIdentityFromWorkspace } from "../agents/identity-file.js";

139

import { listRouteBindings } from "../config/bindings.js";

1410

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

1511

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

@@ -53,10 +49,6 @@ function resolveAgentModel(cfg: OpenClawConfig, agentId: string) {

5349

return resolvePrimaryStringValue(cfg.agents?.defaults?.model);

5450

}

5551
56-

export function parseIdentityMarkdown(content: string): AgentIdentity {

57-

return parseIdentityMarkdownFile(content);

58-

}

59-
6052

export function loadAgentIdentity(workspace: string): AgentIdentity | null {

6153

const parsed = loadAgentIdentityFromWorkspace(workspace);

6254

if (!parsed) {

Original file line numberDiff line numberDiff line change

@@ -37,7 +37,7 @@ export async function requireValidConfig(

3737

return effectiveConfig;

3838

}

3939
40-

export function formatAccountLabel(params: { accountId: string; name?: string }) {

40+

function formatAccountLabel(params: { accountId: string; name?: string }) {

4141

const base = params.accountId || DEFAULT_ACCOUNT_ID;

4242

if (params.name?.trim()) {

4343

return `${base} (${params.name.trim()})`;

Original file line numberDiff line numberDiff line change

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

11

import { getLoadedChannelPlugin } from "../channels/plugins/index.js";

2-

import type { ChannelId, ChannelMessageActionName } from "../channels/plugins/types.public.js";

2+

import type { ChannelId } from "../channels/plugins/types.public.js";

33

import type { OutboundDeliveryResult } from "../infra/outbound/deliver.js";

44

import { formatGatewaySummary, formatOutboundDeliverySummary } from "../infra/outbound/format.js";

55

import type { MessageActionRunResult } from "../infra/outbound/message-action-runner.js";

@@ -33,24 +33,6 @@ function extractMessageId(payload: unknown): string | null {

3333

return null;

3434

}

3535
36-

export type MessageCliJsonEnvelope = {

37-

action: ChannelMessageActionName;

38-

channel: ChannelId;

39-

dryRun: boolean;

40-

handledBy: "plugin" | "core" | "dry-run";

41-

payload: unknown;

42-

};

43-
44-

export function buildMessageCliJson(result: MessageActionRunResult): MessageCliJsonEnvelope {

45-

return {

46-

action: result.action,

47-

channel: result.channel,

48-

dryRun: result.dryRun,

49-

handledBy: result.handledBy,

50-

payload: result.payload,

51-

};

52-

}

53-
5436

type FormatOpts = {

5537

width: number;

5638

};

Original file line numberDiff line numberDiff line change

@@ -37,7 +37,7 @@ export function appendStatusSectionHeading(params: {

3737

params.lines.push(params.heading(params.title));

3838

}

3939
40-

export function appendStatusLinesSection(params: {

40+

function appendStatusLinesSection(params: {

4141

lines: string[];

4242

heading: HeadingFn;

4343

title: string;

@@ -47,7 +47,7 @@ export function appendStatusLinesSection(params: {

4747

params.lines.push(...params.body);

4848

}

4949
50-

export function appendStatusTableSection<Row extends Record<string, string>>(params: {

50+

function appendStatusTableSection<Row extends Record<string, string>>(params: {

5151

lines: string[];

5252

heading: HeadingFn;

5353

title: string;

Original file line numberDiff line numberDiff line change

@@ -122,7 +122,7 @@ function toSystemAuditFindings(params: {

122122

};

123123

}

124124
125-

export function buildTasksListJsonPayload(opts: TasksListJsonArgs) {

125+

function buildTasksListJsonPayload(opts: TasksListJsonArgs) {

126126

const runtimeFilter = opts.runtime?.trim();

127127

const statusFilter = opts.status?.trim();

128128

const tasks = listTaskJsonRecords().filter((task) => {

@@ -142,7 +142,7 @@ export function buildTasksListJsonPayload(opts: TasksListJsonArgs) {

142142

};

143143

}

144144
145-

export function buildTasksAuditJsonPayload(opts: TasksAuditJsonArgs) {

145+

function buildTasksAuditJsonPayload(opts: TasksAuditJsonArgs) {

146146

const severityFilter = opts.severity?.trim() as TaskSystemAuditSeverity | undefined;

147147

const codeFilter = opts.code?.trim() as TaskSystemAuditCode | undefined;

148148

const { allFindings, filteredFindings, taskFindings, summary } = toSystemAuditFindings({