Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(provider-cursor): move Cursor into its own provider package #17349

Mergedjuliusmarmingemerged 4 commits intot3/provider-opencode fromrefs/pull/17349/headmerged by juliusmarminge View on GitHub

Showing 64 changed files with 8 additions and 12 deletions (loading 60).

x
0 of 64 viewed, 64 left
0 additions and 11 deletionsapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -109,17 +109,6 @@
​
- if (props.provider === "cursor") {
- return (
- <Svg width={size} height={size} viewBox="0 0 466.73 532.09" fill="none">
- <Path
- fill={isDarkMode ? "#EDECEC" : "#26251E"}
- d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z"
- />
- </Svg>
- );
- }
-​
const packageIcon = getProviderClient(props.provider)?.icon;
if (packageIcon) {
const themeFill = (fill: { readonly light: string; readonly dark: string }) =>
7 additions and 1 deletionapps/mobile/src/lib/providerClients.tsModified
View file
@@ -1,11 +1,17 @@
import { isProviderDriverKind } from "@t3tools/contracts";
import { makeProviderClientRegistry } from "@t3tools/provider-core/client";
+import { cursorClient } from "@t3tools/provider-cursor/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. */