/**
 * App registration interface for MCP Apps
 */
export interface AppDefinition {
  /** Tool name that triggers this app */
  toolName: string;
  /** Resource URI for the app HTML (e.g., "gsc://apps/dashboard") */
  resourceUri: string;
  /** Returns the bundled HTML string (self-contained, no external deps) */
  getHtml: () => string;
  /** Description shown in tool listing */
  description: string;
  /** JSON schema for the tool that triggers this app */
  inputSchema: any;
  /** Tool annotations */
  annotations: {
    readOnlyHint?: boolean;
    destructiveHint?: boolean;
    idempotentHint?: boolean;
    openWorldHint?: boolean;
  };
}
