import { defineToolboxApp, parseToolboxApp } from '@add-ideas/toolbox-contract';
import manifestSource from './manifest.source.json';

/**
 * The JSON document is the one canonical source used by both the browser and
 * the build-time manifest generator. Runtime parsing also protects development
 * builds from silently accepting an invalid contract.
 */
export const manifest = defineToolboxApp(parseToolboxApp(manifestSource));
