#ifndef CST_EXT_H #define CST_EXT_H /* Startup / reload of everything that adds tools at runtime: the skill * tool, plugin exec tools and MCP servers. */ #include "cst_agent.h" #include #include #ifdef __cplusplus extern "C" { #endif /* Load for cfg's workspace (no-op for `--tools minimal`). One-line summary * in report, e.g. "2 skills · 1 plugin (3 tools) · mcp 1/2". */ void cst_extensions_load(const cst_agent_config_t *cfg, char *report, size_t report_sz); /* Summary of the last load (empty when nothing was found). */ const char *cst_extensions_report(void); /* Headless: wait for MCP handshakes, then note servers that failed. */ void cst_extensions_wait(FILE *log); /* Drop plugin/MCP tools and stop MCP servers. */ void cst_extensions_unload(void); #ifdef __cplusplus } #endif #endif