mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-05 11:22:53 +00:00
refactor: extract normalization core package
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.
This commit is contained in:
committed by
GitHub
parent
94814f3516
commit
00d8d7ead0
@@ -1,7 +1,7 @@
|
||||
import { normalizeLowercaseStringOrEmpty } from "@openclaw/normalization-core/string-coerce";
|
||||
import type { Command } from "commander";
|
||||
import { getChannelPlugin } from "../../../channels/plugins/index.js";
|
||||
import type { ChannelMessageActionName } from "../../../channels/plugins/types.public.js";
|
||||
import { normalizeLowercaseStringOrEmpty } from "../../../shared/string-coerce.js";
|
||||
import type { MessageCliHelpers } from "./helpers.js";
|
||||
|
||||
function resolveThreadCreateRequest(opts: Record<string, unknown>) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { uniqueStrings } from "@openclaw/normalization-core/string-normalization";
|
||||
import type { Command } from "commander";
|
||||
import { uniqueStrings } from "../../shared/string-normalization.js";
|
||||
import { removeCommandByName } from "./command-tree.js";
|
||||
import { registerLazyCommand } from "./register-lazy-command.js";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { normalizeLowercaseStringOrEmpty } from "@openclaw/normalization-core/string-coerce";
|
||||
import type { Command } from "commander";
|
||||
import { formatDocsLink } from "../../../packages/terminal-core/src/links.js";
|
||||
import { theme } from "../../../packages/terminal-core/src/theme.js";
|
||||
import { defaultRuntime } from "../../runtime.js";
|
||||
import { normalizeLowercaseStringOrEmpty } from "../../shared/string-coerce.js";
|
||||
import { runCommandWithRuntime } from "../cli-utils.js";
|
||||
import { hasExplicitOptions } from "../command-options.js";
|
||||
import { formatHelpExamples } from "../help-format.js";
|
||||
|
||||
Reference in New Issue
Block a user