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

推荐订阅源

MyScale Blog
MyScale Blog
博客园 - 司徒正美
A
About on SuperTechFans
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Fortinet All Blogs
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
H
Help Net Security
量子位
IT之家
IT之家

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
feat: add subagent delegation preference mode · openclaw/...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -31,7 +31,6 @@ import {

3131

transformProviderSystemPrompt,

3232

} from "../../plugins/provider-runtime.js";

3333

import { isCronSessionKey, isSubagentSessionKey } from "../../routing/session-key.js";

34-

import { buildTtsSystemPromptHint } from "../../tts/tts.js";

3534

import { resolveUserPath } from "../../utils.js";

3635

import { normalizeMessageChannel } from "../../utils/message-channel.js";

3736

import { isReasoningTagProvider } from "../../utils/provider-utils.js";

@@ -69,7 +68,6 @@ import {

6968

import { isFallbackSummaryError, runWithModelFallback } from "../model-fallback.js";

7069

import { supportsModelTools } from "../model-tool-support.js";

7170

import { ensureOpenClawModelsJson } from "../models-config.js";

72-

import { resolveOwnerDisplaySetting } from "../owner-display.js";

7371

import { createBundleLspToolRuntime } from "../pi-bundle-lsp-runtime.js";

7472

import { createBundleMcpToolRuntime } from "../pi-bundle-mcp-tools.js";

7573

import { ensureSessionHeader } from "../pi-embedded-helpers.js";

@@ -140,7 +138,7 @@ import { log } from "./logger.js";

140138

import { hardenManualCompactionBoundary } from "./manual-compaction-boundary.js";

141139

import { buildEmbeddedMessageActionDiscoveryInput } from "./message-action-discovery-input.js";

142140

import { readPiModelContextTokens } from "./model-context-tokens.js";

143-

import { buildModelAliasLines, resolveModelAsync } from "./model.js";

141+

import { resolveModelAsync } from "./model.js";

144142

import { sanitizeSessionHistory, validateReplayTurns } from "./replay-history.js";

145143

import { buildEmbeddedSandboxInfo } from "./sandbox-info.js";

146144

import { prewarmSessionFile, trackSessionManagerAccess } from "./session-manager-cache.js";

@@ -859,10 +857,6 @@ async function compactEmbeddedPiSessionDirectOnce(

859857

cwd: effectiveWorkspace,

860858

moduleUrl: import.meta.url,

861859

});

862-

const ttsHint = params.config

863-

? buildTtsSystemPromptHint(params.config, sessionAgentId)

864-

: undefined;

865-

const ownerDisplay = resolveOwnerDisplaySetting(params.config);

866860

const promptContributionContext: Parameters<

867861

AgentRuntimePlan["prompt"]["resolveSystemPromptContribution"]

868862

>[0] = {

@@ -885,13 +879,13 @@ async function compactEmbeddedPiSessionDirectOnce(

885879

agentId: sessionAgentId,

886880

}) ??

887881

buildEmbeddedSystemPrompt({

882+

config: params.config,

883+

agentId: sessionAgentId,

888884

workspaceDir: effectiveWorkspace,

889885

defaultThinkLevel,

890886

reasoningLevel: params.reasoningLevel ?? "off",

891887

extraSystemPrompt: params.extraSystemPrompt,

892888

ownerNumbers: params.ownerNumbers,

893-

ownerDisplay: ownerDisplay.ownerDisplay,

894-

ownerDisplaySecret: ownerDisplay.ownerDisplaySecret,

895889

reasoningTagHint,

896890

heartbeatPrompt: resolveHeartbeatPromptForSystemPrompt({

897891

config: params.config,

@@ -901,7 +895,6 @@ async function compactEmbeddedPiSessionDirectOnce(

901895

skillsPrompt,

902896

docsPath: openClawReferences.docsPath ?? undefined,

903897

sourcePath: openClawReferences.sourcePath ?? undefined,

904-

ttsHint,

905898

promptMode,

906899

sourceReplyDeliveryMode: params.sourceReplyDeliveryMode,

907900

acpEnabled: isAcpRuntimeSpawnAvailable({

@@ -913,12 +906,10 @@ async function compactEmbeddedPiSessionDirectOnce(

913906

messageToolHints,

914907

sandboxInfo,

915908

tools: effectiveTools,

916-

modelAliasLines: buildModelAliasLines(params.config),

917909

userTimezone,

918910

userTime,

919911

userTimeFormat,

920912

contextFiles,

921-

memoryCitationsMode: params.config?.memory?.citations,

922913

promptContribution,

923914

});

924915

return createSystemPromptOverride(