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

@@ -4,7 +4,7 @@ import { createWriteStream } from "node:fs"
import { Tool } from "./tool"
import path from "path"
import DESCRIPTION from "./bash.txt"
import { Log } from "../util/log"
import { Log } from "../util"
import { Instance } from "../project/instance"
import { lazy } from "@/util/lazy"
import { Language, type Node } from "web-tree-sitter"

View File

@@ -22,7 +22,7 @@ import { ProviderID, type ModelID } from "../provider/schema"
import { WebSearchTool } from "./websearch"
import { CodeSearchTool } from "./codesearch"
import { Flag } from "@/flag/flag"
import { Log } from "@/util/log"
import { Log } from "@/util"
import { LspTool } from "./lsp"
import { Truncate } from "./truncate"
import { ApplyPatchTool } from "./apply_patch"

View File

@@ -5,7 +5,7 @@ import type { Agent } from "../agent/agent"
import { AppFileSystem } from "@opencode-ai/shared/filesystem"
import { evaluate } from "@/permission/evaluate"
import { Identifier } from "../id/id"
import { Log } from "../util/log"
import { Log } from "../util"
import { ToolID } from "./schema"
import { TRUNCATION_DIR } from "./truncation-dir"