refactor: trim tool runtime type exports · openclaw/openclaw@a7a8c81
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,14 +6,14 @@ import { isPlainObject } from "../utils.js";
|
6 | 6 | |
7 | 7 | const log = createSubsystemLogger("agents/loop-detection"); |
8 | 8 | |
9 | | -export type LoopDetectorKind = |
| 9 | +type LoopDetectorKind = |
10 | 10 | | "generic_repeat" |
11 | 11 | | "unknown_tool_repeat" |
12 | 12 | | "known_poll_no_progress" |
13 | 13 | | "global_circuit_breaker" |
14 | 14 | | "ping_pong"; |
15 | 15 | |
16 | | -export type LoopDetectionResult = |
| 16 | +type LoopDetectionResult = |
17 | 17 | | { stuck: false } |
18 | 18 | | { |
19 | 19 | stuck: true; |
@@ -58,7 +58,7 @@ type ResolvedLoopDetectionConfig = {
|
58 | 58 | }; |
59 | 59 | }; |
60 | 60 | |
61 | | -export type ToolLoopDetectionScope = { |
| 61 | +type ToolLoopDetectionScope = { |
62 | 62 | runId?: string; |
63 | 63 | }; |
64 | 64 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。