refactor: consolidate core micro-helpers (#117825)

* refactor: centralize stable stringification

* refactor: reuse canonical record coercion

* refactor: reuse safe JSON parsing in cron storage

* refactor: centralize environment truthiness

* fix: enforce model scan and block reply timeouts

* refactor: consolidate signal-aware sleep helper

* fix: preserve plugin SDK sleep contract

* test: satisfy model scan timeout lint
This commit is contained in:
Peter Steinberger
2026-08-01 23:10:46 -07:00
committed by GitHub
parent df8cc5a458
commit 33ea3e16e9
71 changed files with 309 additions and 405 deletions
+1 -1
View File
@@ -1,10 +1,10 @@
import { redactSensitiveUrlLikeString } from "@openclaw/net-policy/redact-sensitive-url";
import { stableStringify } from "@openclaw/normalization-core";
import {
listAgentEntries,
listAgentIds,
resolveAgentWorkspaceDir,
} from "../agents/agent-scope-config.js";
import { stableStringify } from "../agents/stable-stringify.js";
import {
applyClawAddPlan,
CLAW_ADD_RESULT_SCHEMA_VERSION,