Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
import { createContext, useContext } from "react";
/**
* Shared actions (e.g. 在访达中显示) lead with an IconTile when they sit in a PopupMenu and
* keep their plain icon elsewhere, without every caller passing a flag.
*/
export const InPopupMenu = createContext(false);
export const useInPopupMenu = () => useContext(InPopupMenu);