);
}
// ---------------------------------------------------------------------------
// AgentMenuModal
// ---------------------------------------------------------------------------
export type AgentMenuModalProps = {
open: boolean;
onOpenChange: (open: boolean) => void;
agentTitle: string;
/**
* Agent-specific description. Callers should look this up from a
* slug-keyed content map and fall back to the agent's own backend
* description when no authored entry exists — never a shared generic
* default (see agent-card.md changelog, BUILD-2354).
*/
description?: string;
/** Capability bullets. Omit (or pass an empty array) when no authored content exists. */
features?: Array<{ title: string; description: string }>;
/** Short "for example" scenario illustrating what the agent does. */
example?: string;
/** Data sources / fields this agent reads or writes. */
dataTouched?: string[];
};
export function AgentMenuModal({
open,
onOpenChange,
agentTitle,
description = "Details for this agent haven't been added yet.",
features = [],
example,
dataTouched,
}: AgentMenuModalProps) {
return (
);
}