Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(devin): integrate Devin CLI across T3 Code #11139

ClosedProtonDev-sys(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/11139/headopened View on GitHub

Showing 120 changed files with 84 additions and 2 deletions (loading 117).

x
0 of 120 viewed, 120 left
0 additions and 0 deletionsapps/mobile/assets/devin-logo.webpAdded
View file

Binary file. Open the Preview tab to see it.

79 additions and 2 deletionsapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -1,12 +1,15 @@
import { Image } from "expo-image";
-import { Path, Svg } from "react-native-svg";
-import { View } from "react-native";
+import { Circle, Path, Rect, Svg } from "react-native-svg";
+import { Image as NativeImage, View } from "react-native";
import { providerInstanceInitials } from "@t3tools/client-runtime/state/provider-instance-display";
import { useAppearancePreferences } from "../features/settings/appearance/AppearancePreferencesProvider";
import { AppText as Text } from "./AppText";
​
+const DEVIN_LOGO = require("../../assets/devin-logo.webp") as number;
+​
type ProviderIconProps = {
readonly provider: string | null | undefined;
+ readonly model?: string | null | undefined;
readonly size?: number;
};
​
@@ -15,6 +18,65 @@
const isDarkMode = themeAppearance === "dark";
const size = props.size ?? 16;
const mono = isDarkMode ? "#e5e5e5" : "#171717";
+ const modelIdentity = props.model?.toLowerCase() ?? "";
+​
+ if (props.provider === "devin" && modelIdentity) {
+ if (modelIdentity.includes("claude")) {
+ return <ProviderIcon provider="claudeAgent" size={size} />;