The best way to control Claude Code, Codex and more from any computer or phone

main
ts 19 lines 636 Bytes
Raw
1 import { ProviderDriverKind } from "@t3tools/contracts";
2 import { defineProviderClient } from "@t3tools/provider-core/client";
3
4 import { OpenCodeSettings } from "./settings.ts";
5
6 export const openCodeClient = defineProviderClient({
7 driverKind: ProviderDriverKind.make("opencode"),
8 label: "OpenCode",
9 acpRegistryAgentIds: ["opencode", "opencode-v2"],
10 settingsSchema: OpenCodeSettings,
11 icon: {
12 viewBox: "0 0 32 40",
13 fill: { light: "#211E1E", dark: "#F1ECEC" },
14 paths: [
15 { d: "M24 32H8V16H24V32Z", fill: { light: "#CFCECD", dark: "#4B4646" } },
16 { d: "M24 8H8V32H24V8ZM32 40H0V0H32V40Z" },
17 ],
18 },
19 });