refactor: trim gateway loopback helper exports · openclaw/openclaw@23178d9
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { applyOwnerOnlyToolPolicy } from "../agents/tool-policy.js"; |
2 | 2 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
3 | | -import { |
4 | | -clearActiveMcpLoopbackRuntimeByOwnerToken, |
5 | | -createMcpLoopbackServerConfig, |
6 | | -getActiveMcpLoopbackRuntime, |
7 | | -setActiveMcpLoopbackRuntime, |
8 | | -} from "./mcp-http.loopback-runtime.js"; |
9 | 3 | import { |
10 | 4 | buildMcpToolSchema, |
11 | 5 | type McpLoopbackTool, |
@@ -72,10 +66,3 @@ export class McpLoopbackToolCache {
|
72 | 66 | return nextEntry; |
73 | 67 | } |
74 | 68 | } |
75 | | - |
76 | | -export { |
77 | | -clearActiveMcpLoopbackRuntimeByOwnerToken, |
78 | | -createMcpLoopbackServerConfig, |
79 | | -getActiveMcpLoopbackRuntime, |
80 | | -setActiveMcpLoopbackRuntime, |
81 | | -}; |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。