Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import { HeaderHeightContext } from 'expo-router/react-navigation';
import { useContext } from 'react';
// The home surface also renders inside the session drawer, where no screen
// header context exists. Only the native-header layout consumes this height.
export function useOptionalHeaderHeight(): number {
return useContext(HeaderHeightContext) ?? 0;
}