feat: unwrap provider namespaces to flat exports + barrel (#22760)

This commit is contained in:
Kit Langton
2026-04-16 05:02:50 +00:00
committed by GitHub
parent c8af8f96ce
commit 6b20838981
21 changed files with 1448 additions and 1452 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import { Hash } from "@opencode-ai/shared/util/hash"
import { Plugin } from "../plugin"
import { NamedError } from "@opencode-ai/shared/util/error"
import { type LanguageModelV3 } from "@ai-sdk/provider"
import { ModelsDev } from "./models"
import * as ModelsDev from "./models"
import { Auth } from "../auth"
import { Env } from "../env"
import { Instance } from "../project/instance"
@@ -55,7 +55,7 @@ import {
} from "gitlab-ai-provider"
import { fromNodeProviderChain } from "@aws-sdk/credential-providers"
import { GoogleAuth } from "google-auth-library"
import { ProviderTransform } from "./transform"
import * as ProviderTransform from "./transform"
import { Installation } from "../installation"
import { ModelID, ProviderID } from "./schema"