mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:20:42 +00:00
fix: restore reply tool prep stage trace
This commit is contained in:
@@ -3,7 +3,6 @@ import { HEARTBEAT_RESPONSE_TOOL_NAME } from "../auto-reply/heartbeat-tool-respo
|
||||
import type { ModelCompatConfig } from "../config/types.models.js";
|
||||
import type { OpenClawConfig } from "../config/types.openclaw.js";
|
||||
import type { ToolLoopDetectionConfig } from "../config/types.tools.js";
|
||||
import type { AuthProfileStore } from "./auth-profiles/types.js";
|
||||
import type { DiagnosticTraceContext } from "../infra/diagnostic-trace-context.js";
|
||||
import { resolveMergedSafeBinProfileFixtures } from "../infra/exec-safe-bin-runtime-policy.js";
|
||||
import { logWarn } from "../logger.js";
|
||||
@@ -15,6 +14,7 @@ import {
|
||||
import { resolveGatewayMessageChannel } from "../utils/message-channel.js";
|
||||
import { resolveAgentConfig } from "./agent-scope.js";
|
||||
import { createApplyPatchTool } from "./apply-patch.js";
|
||||
import type { AuthProfileStore } from "./auth-profiles/types.js";
|
||||
import { describeExecTool, describeProcessTool } from "./bash-tools.descriptions.js";
|
||||
import type { ExecToolDefaults } from "./bash-tools.exec-types.js";
|
||||
import type { ProcessToolDefaults } from "./bash-tools.process.js";
|
||||
@@ -464,6 +464,7 @@ export function createOpenClawCodingTools(options?: {
|
||||
sandboxToolPolicy,
|
||||
subagentPolicy,
|
||||
]);
|
||||
options?.recordToolPrepStage?.("tool-policy");
|
||||
const execConfig = resolveExecConfig({ cfg: options?.config, agentId });
|
||||
const fsConfig = resolveToolFsConfig({ cfg: options?.config, agentId });
|
||||
const fsPolicy = createToolFsPolicy({
|
||||
|
||||
Reference in New Issue
Block a user