import { createOmniDependencyProfile } from '../../_shared/omniOperationDependencies.js';
import { createOmniOperationDescriptor, createOmniOperationPlanner, executeOmniOperationCore, } from '../../_shared/omniOperationCore.js';
export const omniImageCompressorConfig = {
    toolId: "omni.imageCompressor",
    capability: "compress-image",
    route: "agent_executionEngine.basic_toolLayer.baseTools.omniBase.imageTransformer",
    mediaKind: "image",
    action: "compress-image",
    outputResource: "image",
    permissionsRequired: ["omni:image:read", "omni:image:write"],
    requiresInput: true,
    requiresOutput: true,
    requiresPrompt: false,
    unsafeSideEffects: true,
    runtimeOperation: "omni.imageCompressor.compressimage",
    dependencyProfile: createOmniDependencyProfile("media-transform"),
};
export const omniImageCompressorDescriptor = createOmniOperationDescriptor(omniImageCompressorConfig);
export function executeOmniImageCompressorCore(request = {}) {
    return executeOmniOperationCore(omniImageCompressorConfig, request);
}
export const planImageCompressor = createOmniOperationPlanner(omniImageCompressorConfig);
