| description | Send recent work to OpenAI Codex CLI for an independent audit/review |
|---|---|
| allowed-tools | Bash(git:*), Bash(codex:*), Bash(git diff:*), Bash(cat:*), TaskGet, TaskList |
First, determine the audit mode:
| diff --git a/src/async-require/setupHMR.ts b/src/async-require/setupHMR.ts | |
| index 1278b6eb12c4702d2c2487d7780266c454e5116e..d8ef51578019b46e9ce84b7ce0ccd145005dc065 100644 | |
| --- a/src/async-require/setupHMR.ts | |
| +++ b/src/async-require/setupHMR.ts | |
| @@ -3,7 +3,7 @@ import HMRClient from './hmr'; | |
| if ( | |
| typeof window !== 'undefined' && | |
| // @ts-expect-error: Added via react-native-webview | |
| - typeof window.$$EXPO_INITIAL_PROPS !== 'undefined' | |
| + typeof window.ReactNativeWebView !== 'undefined' |
| export const DiscoverSection = memo(() => { | |
| const { data: discover, isLoading: isDiscoverLoading } = useQuery({ | |
| queryKey: ['discover-home'], | |
| query: getDiscoverHome(), | |
| }) | |
| // useSetQueryDataCollection(discover) | |
| return ( | |
| <HorizontalListSection |
| diff --git a/src/dom/dom-entry.tsx b/src/dom/dom-entry.tsx | |
| index 43a920aa9d1ec3457b070aeaa9adcfbca844614d..c39c3bc0d94f85a3c2b9effd9b8179c5caadb7a7 100644 | |
| --- a/src/dom/dom-entry.tsx | |
| +++ b/src/dom/dom-entry.tsx | |
| @@ -57,11 +57,6 @@ export function registerDOMComponent(AppModule: any) { | |
| function DOMComponentRoot(props) { | |
| // Props listeners | |
| const [marshalledProps, setProps] = React.useState(() => { | |
| - if (typeof window.$$EXPO_INITIAL_PROPS === 'undefined') { | |
| - throw new Error( |
| import { | |
| AVPlaybackStatus, | |
| AVPlaybackStatusError, | |
| AVPlaybackStatusSuccess, | |
| Audio, | |
| } from 'expo-av' | |
| import { Platform } from 'react-native' | |
| const FADE_DURATION = 600 |
| import React, { useContext, createContext, useState, useEffect } from 'react' | |
| import { Session, User } from '@supabase/supabase-js' | |
| import { useSystem } from './system' | |
| interface AuthProviderProps { | |
| children: React.ReactNode | |
| } | |
| type AuthContextType = { | |
| session: Session | null |
| import LottieView from 'lottie-react-native' | |
| import Animated, { | |
| makeMutable, | |
| useAnimatedProps, | |
| useAnimatedStyle, | |
| useFrameCallback, | |
| useSharedValue, | |
| withTiming, | |
| } from 'react-native-reanimated' | |
| import { Button, XStack } from 'tamagui' |
| import { UseThemeResult } from '@tamagui/core' | |
| import React from 'react' | |
| import Animated, { | |
| Easing, | |
| SharedValue, | |
| interpolateColor, | |
| useAnimatedStyle, | |
| useDerivedValue, | |
| useSharedValue, | |
| withRepeat, |
| import { useWindowDimensions } from 'react-native' | |
| import { Gesture } from 'react-native-gesture-handler' | |
| import Animated, { | |
| Extrapolation, | |
| WithSpringConfig, | |
| interpolate, | |
| scrollTo, | |
| useAnimatedRef, | |
| useAnimatedScrollHandler, | |
| useAnimatedStyle, |
| import { | |
| AVPlaybackSource, | |
| AVPlaybackStatus, | |
| AVPlaybackStatusError, | |
| AVPlaybackStatusSuccess, | |
| Audio, | |
| } from 'expo-av' | |
| const FADE_DURATION = 4000 |