import { importExtensionModule } from "@singularity-forge/coding-agent";

export { registerSFCommand, registerSFCommands } from "./commands/index.js";
export async function handleSFCommand(...args) {
	const { handleSFCommand: dispatch } = await importExtensionModule(
		import.meta.url,
		"./commands/dispatcher.js",
	);
	return dispatch(...args);
}
export async function fireStatusViaCommand(...args) {
	const { fireStatusViaCommand: fireStatus } = await importExtensionModule(
		import.meta.url,
		"./commands/handlers/core.js",
	);
	return fireStatus(...args);
}
