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

@@ -10,7 +10,7 @@ import {
ToolListChangedNotificationSchema,
} from "@modelcontextprotocol/sdk/types.js"
import { Config } from "../config"
import { Log } from "../util/log"
import { Log } from "../util"
import { NamedError } from "@opencode-ai/shared/util/error"
import z from "zod/v4"
import { Instance } from "../project/instance"

View File

@@ -1,6 +1,6 @@
import { createConnection } from "net"
import { createServer } from "http"
import { Log } from "../util/log"
import { Log } from "../util"
import { OAUTH_CALLBACK_PORT, OAUTH_CALLBACK_PATH, parseRedirectUri } from "./oauth-provider"
const log = Log.create({ service: "mcp.oauth-callback" })

View File

@@ -7,7 +7,7 @@ import type {
} from "@modelcontextprotocol/sdk/shared/auth.js"
import { Effect } from "effect"
import { McpAuth } from "./auth"
import { Log } from "../util/log"
import { Log } from "../util"
const log = Log.create({ service: "mcp.oauth" })