fix(core): restore catalog status schema export
This commit is contained in:
parent
4c80c23e11
commit
0ac8f91ed6
3 changed files with 3 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import path from "path"
|
||||
import { Context, Duration, Effect, Layer, Option, Schedule } from "effect"
|
||||
import { Context, Duration, Effect, Layer, Option, Schedule, Schema } from "effect"
|
||||
import { HttpClient, HttpClientRequest } from "effect/unstable/http"
|
||||
import { ModelsDev } from "@opencode-ai/schema/models-dev"
|
||||
import { Money } from "@opencode-ai/schema/money"
|
||||
|
|
@ -15,7 +15,8 @@ import { httpClient } from "./effect/app-node-platform"
|
|||
import { ModelV2 } from "./model"
|
||||
import { ProviderV2 } from "./provider"
|
||||
|
||||
export type CatalogModelStatus = "alpha" | "beta" | "deprecated"
|
||||
export const CatalogModelStatus = Schema.Literals(["alpha", "beta", "deprecated"])
|
||||
export type CatalogModelStatus = typeof CatalogModelStatus.Type
|
||||
|
||||
const USER_AGENT = `opencode/${InstallationChannel}/${InstallationVersion}/${Flag.OPENCODE_CLIENT}`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue