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

推荐订阅源

博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
Vercel News
Vercel News
H
Help Net Security
Martin Fowler
Martin Fowler
美团技术团队
云风的 BLOG
云风的 BLOG
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
MyScale Blog
MyScale Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
小众软件
小众软件
T
Tailwind CSS Blog
WordPress大学
WordPress大学

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(agents): trim session helper facades · openclaw/...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -11,10 +11,8 @@ import { resolveInternalSessionKey, resolveMainSessionAlias } from "./sessions-r

1111
1212

export {

1313

createAgentToAgentPolicy,

14-

createSessionVisibilityChecker,

1514

createSessionVisibilityGuard,

1615

createSessionVisibilityRowChecker,

17-

listSpawnedSessionKeys,

1816

resolveEffectiveSessionToolsVisibility,

1917

} from "../../plugin-sdk/session-visibility.js";

2018
Original file line numberDiff line numberDiff line change

@@ -30,10 +30,10 @@ import { getRuntimeConfig } from "../../config/config.js";

3030

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

3131
3232

/** Coarse session category used by session list/status tools. */

33-

export type SessionKind = "main" | "group" | "cron" | "hook" | "node" | "other";

33+

type SessionKind = "main" | "group" | "cron" | "hook" | "node" | "other";

3434
3535

/** Delivery target metadata attached to session rows. */

36-

export type SessionListDeliveryContext = {

36+

type SessionListDeliveryContext = {

3737

channel?: string;

3838

to?: string;

3939

accountId?: string;

Original file line numberDiff line numberDiff line change

@@ -88,8 +88,6 @@ export function resolveCurrentSessionClientAlias(params: {

8888

return requesterKey;

8989

}

9090
91-

export { listSpawnedSessionKeys };

92-
9391

export async function isRequesterSpawnedSessionVisible(params: {

9492

requesterSessionKey: string;

9593

targetSessionKey: string;

@@ -190,7 +188,7 @@ export function shouldResolveSessionIdInput(value: string): boolean {

190188

return looksLikeSessionId(value) || !looksLikeSessionKey(value);

191189

}

192190
193-

export type SessionReferenceResolution =

191+

type SessionReferenceResolution =

194192

| {

195193

ok: true;

196194

key: string;

@@ -199,7 +197,7 @@ export type SessionReferenceResolution =

199197

}

200198

| { ok: false; status: "error" | "forbidden"; error: string };

201199
202-

export type VisibleSessionReferenceResolution =

200+

type VisibleSessionReferenceResolution =

203201

| {

204202

ok: true;

205203

key: string;

@@ -508,8 +506,6 @@ export async function resolveVisibleSessionReference(params: {

508506

return { ok: true, key: resolvedKey, displayKey };

509507

}

510508
511-

export const normalizeOptionalKey: (value?: string) => string | undefined = normalizeOptionalString;

512-
513509

export const testing = {

514510

setDepsForTest(overrides?: Partial<{ callGateway: GatewayCaller }>) {

515511

sessionsResolutionDeps = overrides