GHHG10's picture
download
raw
412 Bytes
import { CommandV2 } from "@opencode-ai/core/command"
import { Effect } from "effect"
import { HttpApiBuilder } from "effect/unstable/httpapi"
import { Api } from "../api"
import { response } from "../groups/location"
export const CommandHandler = HttpApiBuilder.group(Api, "server.command", (handlers) =>
handlers.handle("command.list", () => response(CommandV2.Service.use((command) => command.list()))),
)

Xet Storage Details

Size:
412 Bytes
·
Xet hash:
a4788039337e8820beee40754fc0a1075581c91f317132ab2f53ed44b70f9253

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