Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import { createContext, useContext } from 'react';
import type { SettingsSearchEntry } from './settingsSearchTypes';
/** Page-owned reveal handlers consume the same resolved target as the scroll lifecycle. */
export const SettingsSearchNavigationContext = createContext<{
entry: SettingsSearchEntry | null;
activation: number;
}>({ entry: null, activation: 0 });
export function useSettingsSearchNavigation() {
return useContext(SettingsSearchNavigationContext);
}