Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(provider-opencode): move OpenCode into its own provider package #17345

Mergedjuliusmarmingemerged 3 commits intomain fromrefs/pull/17345/headmerged by juliusmarminge View on GitHub

Showing 92 changed files with 3 additions and 10 deletions (loading 88).

x
0 of 92 viewed, 92 left
0 additions and 9 deletionsapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -138,15 +138,6 @@
​
- if (props.provider === "opencode") {
- return (
- <Svg width={size} height={size} viewBox="0 0 32 40" fill="none">
- <Path d="M24 32H8V16H24V32Z" fill={isDarkMode ? "#4B4646" : "#CFCECD"} />
- <Path d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill={isDarkMode ? "#F1ECEC" : "#211E1E"} />
- </Svg>
- );
- }
-​
// codex (and unknown drivers)
return (
<Svg width={size} height={size} viewBox="100 100 411 411" fill="none">
2 additions and 1 deletionapps/mobile/src/lib/providerClients.tsModified
View file
@@ -1,10 +1,11 @@
import { isProviderDriverKind } from "@t3tools/contracts";
import { makeProviderClientRegistry } from "@t3tools/provider-core/client";
import { museClient } from "@t3tools/provider-muse/client";
+import { openCodeClient } from "@t3tools/provider-opencode/client";
import { piClient } from "@t3tools/provider-pi/client";
​
/** The provider client definitions this mobile build ships. */
-const providerClients = makeProviderClientRegistry([museClient, piClient]);
+const providerClients = makeProviderClientRegistry([museClient, openCodeClient, piClient]);
​