import { t as definePluginEntry } from "../../plugin-entry-ieJOYYXv.js";
import { d as prewarmSealgwModels } from "../../media-gateway-pQeaOUl7.js";
import { t as buildSealgwImageGenerationProvider } from "../../image-generation-provider-D5LDVj3k.js";
import { t as createSealgwListModelsTool } from "../../list-models-tool-Cj0FwtPh.js";
import { t as buildSealgwVideoGenerationProvider } from "../../video-generation-provider-BHst4x5D.js";
//#region extensions/sealgw/index.ts
var sealgw_default = definePluginEntry({
	id: "sealgw",
	name: "SealSeek Media Gateway Plugin",
	description: "Routes image_generate and video_generate to the in-house SealSeek media gateway (OpenAI-compatible, async task + poll), and exposes sealgw_list_models so the agent can show available models to the user.",
	register(api) {
		api.registerImageGenerationProvider(buildSealgwImageGenerationProvider());
		api.registerVideoGenerationProvider(buildSealgwVideoGenerationProvider());
		api.registerTool(createSealgwListModelsTool(api));
		api.registerService({
			id: "sealgw-model-prewarm",
			start: (ctx) => {
				prewarmSealgwModels({ cfg: ctx.config });
			}
		});
	}
});
//#endregion
export { sealgw_default as default };
