Group core utility modules into util, skill, and update

Move duration, redact, runtime, secure-file, and semver under core/util; embedded-skill and skill-version under core/skill; update-cache under core/update. Move the dev-override test next to the script it covers, and update the embedded-skill generator output path and regenerated manifest. No behavior change.
This commit is contained in:
gitea committed 2026-11-19 16:31:50 +08:00
1 parent 666a12c676
commit a189f49223
44 files changed
+146 -145

No files matched your search

+3 -3
View File
@@ -4,7 +4,7 @@ import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
import type { CorpConfig } from "../core/config/types.js";
import { VERSION_INFO } from "../version.js";
import { isUpdateCacheExpired, loadUpdateCache, triggerBackgroundUpdateCheck } from "../core/update-cache.js";
import { isUpdateCacheExpired, loadUpdateCache, triggerBackgroundUpdateCheck } from "../core/update/update-cache.js";
import { classifyCliError, usageError, validationError } from "../core/errors.js";
import { isCorpDisabledError } from "../core/config/active.js";
import {
@@ -15,8 +15,8 @@ import {
stringOption
} from "./parser.js";
import { extractHelpRequest } from "./help.js";
import { isNewerVersion } from "../core/semver.js";
import { getSkillVersionStatus } from "../core/skill-version.js";
import { isNewerVersion } from "../core/util/semver.js";
import { getSkillVersionStatus } from "../core/skill/skill-version.js";
import {
formatConsoleOutput,
joinOutput,