#pragma once /** * MetaBuilder Workflow Plugins - C++ Header-Only Library * * All plugins are header-only for maximum portability. * Each plugin follows: PluginResult run(Runtime&, const json&) */ #ifndef METABUILDER_WORKFLOW_PLUGIN_HPP #define METABUILDER_WORKFLOW_PLUGIN_HPP #include #include #include #include namespace metabuilder::workflow { using json = nlohmann::json; struct Runtime { std::unordered_map store; std::unordered_map context; }; using PluginResult = json; using PluginFunc = std::function; } // namespace metabuilder::workflow #endif // METABUILDER_WORKFLOW_PLUGIN_HPP