Skip to content

Commit dbc07ad

Browse files
committed
refactor(agents): remove unused helper wrappers
1 parent 6b11bd9 commit dbc07ad

3 files changed

Lines changed: 0 additions & 14 deletions

File tree

src/agents/agent-bundle-mcp-runtime.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -464,15 +464,6 @@ export function resolveSessionMcpConfigSummary(params: {
464464
};
465465
}
466466

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-
476467
function createDisposedError(sessionId: string): Error {
477468
return new Error(`bundle-mcp runtime disposed for session ${sessionId}`);
478469
}

src/agents/agent-bundle-mcp-tools.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export {
1717
getOrCreateSessionMcpRuntime,
1818
getSessionMcpRuntimeManager,
1919
peekSessionMcpRuntime,
20-
resolveSessionMcpConfigFingerprint,
2120
resolveSessionMcpConfigSummary,
2221
retireSessionMcpRuntime,
2322
retireSessionMcpRuntimeForSessionKey,

src/commands/doctor/cron/payload-migration.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,3 @@ export function classifyUnresolvedAgentTurnShellToolPrompt(
241241
}
242242
return null;
243243
}
244-
245-
export function hasUnresolvedAgentTurnShellToolPrompt(payload: UnknownRecord): boolean {
246-
return classifyUnresolvedAgentTurnShellToolPrompt(payload) !== null;
247-
}

0 commit comments

Comments
 (0)