GHHG10/CodeServer / opencode /packages /app /src /wsl /settings-model.ts
GHHG10's picture
download
raw
590 Bytes
import type { WslOpencodeCheck, WslServerRuntime } from "./types"
export const wslRuntimeRetryable = (runtime: WslServerRuntime) =>
runtime.kind === "failed" || runtime.kind === "stopped"
export async function enterWslOpencodeStep(
distro: string,
probe: (distro: string) => Promise<unknown>,
select: (step: "opencode") => void,
) {
await probe(distro)
select("opencode")
}
export function wslOpencodeAction(check?: WslOpencodeCheck) {
if (!check) return
if (!check.resolvedPath) return "Install OpenCode"
if (check.matchesDesktop === false) return "Update OpenCode"
}

Xet Storage Details

Size:
590 Bytes
·
Xet hash:
5a17cd75e1c98fd79d4799ab85b935c7c3c1cde672402b73abd75315da4fe66f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.