mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 06:02:53 +00:00
Extract shared normalization/coercion helpers into private @openclaw/normalization-core workspace package while preserving existing plugin SDK helper subpaths.\n\nAlso keeps direct normalization-core imports internal, wires UI/build/loader resolution, and replaces the slow PR network CodeQL lane with a fast added-line boundary scan while retaining full CodeQL for scheduled/manual runs.\n\nVerification: local moved tests, plugin SDK boundary tests, extension loader tests, agents-support shard, UI build/test, build artifacts, lint, workflow guards, autoreview, and GitHub CI passed on PR head 963d893715.
66 lines
2.2 KiB
TypeScript
66 lines
2.2 KiB
TypeScript
/**
|
|
* @deprecated Broad public SDK barrel. Prefer focused text/chunking/logging
|
|
* subpaths and avoid adding new imports here.
|
|
*/
|
|
|
|
export * from "../logger.js";
|
|
export * from "../logging/diagnostic.js";
|
|
export * from "../logging/logger.js";
|
|
export * from "../logging/redact.js";
|
|
export * from "../logging/redact-identifier.js";
|
|
export * from "../../packages/markdown-core/src/ir.js";
|
|
export * from "../../packages/markdown-core/src/render-aware-chunking.js";
|
|
export * from "../../packages/markdown-core/src/render.js";
|
|
export * from "../../packages/markdown-core/src/tables.js";
|
|
export * from "../shared/global-singleton.js";
|
|
export * from "../../packages/normalization-core/src/record-coerce.js";
|
|
export * from "../shared/scoped-expiring-id-cache.js";
|
|
export * from "../../packages/normalization-core/src/string-coerce.js";
|
|
export * from "../../packages/normalization-core/src/string-normalization.js";
|
|
export * from "../shared/string-sample.js";
|
|
export * from "../shared/text/assistant-visible-text.js";
|
|
export * from "../shared/text/auto-linked-file-ref.js";
|
|
export * from "../shared/text/code-regions.js";
|
|
export * from "../shared/text/reasoning-tags.js";
|
|
export * from "../shared/text/strip-markdown.js";
|
|
export * from "../../packages/terminal-core/src/safe-text.js";
|
|
export * from "../infra/system-message.ts";
|
|
export * from "../utils/directive-tags.js";
|
|
export * from "../utils/chunk-items.js";
|
|
export * from "../utils/fetch-timeout.js";
|
|
export * from "../utils/reaction-level.js";
|
|
export * from "../utils/with-timeout.js";
|
|
export {
|
|
hasNonEmptyString,
|
|
localeLowercasePreservingWhitespace,
|
|
lowercasePreservingWhitespace,
|
|
normalizeLowercaseStringOrEmpty,
|
|
normalizeNullableString,
|
|
normalizeOptionalLowercaseString,
|
|
normalizeOptionalString,
|
|
normalizeStringifiedOptionalString,
|
|
readStringValue,
|
|
} from "../../packages/normalization-core/src/string-coerce.js";
|
|
export {
|
|
CONFIG_DIR,
|
|
clamp,
|
|
clampInt,
|
|
clampNumber,
|
|
displayPath,
|
|
displayString,
|
|
ensureDir,
|
|
escapeRegExp,
|
|
isRecord,
|
|
normalizeE164,
|
|
pathExists,
|
|
resolveConfigDir,
|
|
resolveHomeDir,
|
|
resolveUserPath,
|
|
safeParseJson,
|
|
shortenHomeInString,
|
|
shortenHomePath,
|
|
sleep,
|
|
sliceUtf16Safe,
|
|
truncateUtf16Safe,
|
|
} from "../utils.js";
|