refactor: move terminal core into package (#88279)

* refactor: move terminal core into package

* refactor: move terminal module files

* fix: clean terminal package CI followups

* test: update lint suppression allowlist

* fix: ship terminal core runtime aliases
This commit is contained in:
Peter Steinberger
2026-05-30 11:07:45 +02:00
committed by GitHub
parent 7b699fddac
commit de1dfab03e
351 changed files with 1158 additions and 457 deletions

View File

@@ -1,4 +1,5 @@
import fs from "node:fs";
import { theme } from "../../packages/terminal-core/src/theme.js";
import { collectChannelDoctorStaleConfigMutations } from "../commands/doctor/shared/channel-doctor.js";
import { assertConfigWriteAllowedInCurrentMode, readConfigFileSnapshot } from "../config/config.js";
import type { OpenClawConfig } from "../config/types.openclaw.js";
@@ -33,7 +34,6 @@ import { validateJsonSchemaValue } from "../plugins/schema-validator.js";
import { defaultRuntime, type RuntimeEnv } from "../runtime.js";
import { isRecord } from "../shared/record-coerce.js";
import { uniqueStrings } from "../shared/string-normalization.js";
import { theme } from "../terminal/theme.js";
import { shortenHomePath } from "../utils.js";
import { formatCliCommand } from "./command-format.js";
import { looksLikeLocalInstallSpec } from "./install-spec.js";