refactor(agents): remove unused helper wrappers · openclaw/openclaw@dbc07ad
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -464,15 +464,6 @@ export function resolveSessionMcpConfigSummary(params: {
|
464 | 464 | }; |
465 | 465 | } |
466 | 466 | |
467 | | -/** Returns the session MCP config fingerprint with the same no-runtime/no-connect contract as the summary helper. */ |
468 | | -export function resolveSessionMcpConfigFingerprint(params: { |
469 | | -workspaceDir: string; |
470 | | -cfg?: OpenClawConfig; |
471 | | -manifestRegistry?: Pick<PluginManifestRegistry, "plugins">; |
472 | | -}): string { |
473 | | -return resolveSessionMcpConfigSummary(params).fingerprint; |
474 | | -} |
475 | | - |
476 | 467 | function createDisposedError(sessionId: string): Error { |
477 | 468 | return new Error(`bundle-mcp runtime disposed for session ${sessionId}`); |
478 | 469 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,7 +17,6 @@ export {
|
17 | 17 | getOrCreateSessionMcpRuntime, |
18 | 18 | getSessionMcpRuntimeManager, |
19 | 19 | peekSessionMcpRuntime, |
20 | | -resolveSessionMcpConfigFingerprint, |
21 | 20 | resolveSessionMcpConfigSummary, |
22 | 21 | retireSessionMcpRuntime, |
23 | 22 | retireSessionMcpRuntimeForSessionKey, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -241,7 +241,3 @@ export function classifyUnresolvedAgentTurnShellToolPrompt(
|
241 | 241 | } |
242 | 242 | return null; |
243 | 243 | } |
244 | | - |
245 | | -export function hasUnresolvedAgentTurnShellToolPrompt(payload: UnknownRecord): boolean { |
246 | | -return classifyUnresolvedAgentTurnShellToolPrompt(payload) !== null; |
247 | | -} |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。