feat: unwrap 11 util namespaces to flat exports + barrel (#22739)

This commit is contained in:
Kit Langton
2026-04-15 23:15:58 -04:00
committed by GitHub
parent b0eae5e12f
commit 343a564183
188 changed files with 1182 additions and 1193 deletions

View File

@@ -12,7 +12,7 @@ import path from "path"
import z from "zod"
import { Global } from "../global"
import { Instance } from "../project/instance"
import { Log } from "../util/log"
import { Log } from "../util"
import { Protected } from "./protected"
import { Ripgrep } from "./ripgrep"

View File

@@ -5,8 +5,8 @@ import z from "zod"
import { Cause, Context, Effect, Layer, Queue, Stream } from "effect"
import { ripgrep } from "ripgrep"
import { Filesystem } from "@/util/filesystem"
import { Log } from "@/util/log"
import { Filesystem } from "@/util"
import { Log } from "@/util"
export namespace Ripgrep {
const log = Log.create({ service: "ripgrep" })

View File

@@ -3,7 +3,7 @@ import { InstanceState } from "@/effect"
import { AppFileSystem } from "@opencode-ai/shared/filesystem"
import { Flag } from "@/flag/flag"
import type { SessionID } from "@/session/schema"
import { Log } from "../util/log"
import { Log } from "../util"
export namespace FileTime {
const log = Log.create({ service: "file.time" })

View File

@@ -15,7 +15,7 @@ import { lazy } from "@/util/lazy"
import { Config } from "../config"
import { FileIgnore } from "./ignore"
import { Protected } from "./protected"
import { Log } from "../util/log"
import { Log } from "../util"
declare const OPENCODE_LIBC: string | undefined