refactor(packages): extract utils package

This commit is contained in:
YeonGyu-Kim
2026-05-21 00:31:03 +09:00
parent c4fe747e15
commit a5c1d71001
52 changed files with 717 additions and 508 deletions
+12
View File
@@ -0,0 +1,12 @@
src/shared/deep-merge.ts: export { deepMerge, isPlainObject } from "@oh-my-opencode/utils"
src/shared/snake-case.ts: export { camelToSnake, objectToCamelCase, objectToSnakeCase, snakeToCamel, transformObjectKeys } from "@oh-my-opencode/utils"
src/shared/record-type-guard.ts: export { isRecord } from "@oh-my-opencode/utils"
src/shared/extract-semver.ts: export { extractSemverFromOutput } from "@oh-my-opencode/utils"
src/shared/frontmatter.ts: export { parseFrontmatter, type FrontmatterResult } from "@oh-my-opencode/utils"
src/shared/file-utils.ts: export { isMarkdownFile, isSymbolicLink, resolveSymlink, resolveSymlinkAsync } from "@oh-my-opencode/utils"
src/shared/contains-path.ts: export { containsPath, isWithinProject } from "@oh-my-opencode/utils"
src/shared/port-utils.ts: export {
src/shared/tool-name.ts: export { transformToolName } from "@oh-my-opencode/utils"
src/shared/replace-tool-args.ts: export { replaceToolArgs } from "@oh-my-opencode/utils"
src/shared/jsonc-parser.ts: export {
src/features/boulder-state/format-duration.ts: export { formatDurationHuman } from "@oh-my-opencode/utils"