import { createOmniDependencyProfile } from '../../_shared/omniOperationDependencies.js';
import { createOmniOperationDescriptor, createOmniOperationPlanner, executeOmniOperationCore, } from '../../_shared/omniOperationCore.js';
export const omniAudioCompressionConfig = {
    toolId: "omni.audioCompressor",
    capability: "compress-audio",
    route: "agent_executionEngine.basic_toolLayer.baseTools.omniBase.audioTransformer",
    mediaKind: "audio",
    action: "compress-audio",
    outputResource: "audio",
    permissionsRequired: ["omni:audio:read", "omni:audio:write"],
    requiresInput: true,
    requiresOutput: true,
    requiresPrompt: false,
    unsafeSideEffects: true,
    runtimeOperation: "omni.audioCompressor.compressaudio",
    dependencyProfile: createOmniDependencyProfile("media-transform"),
};
export const omniAudioCompressionDescriptor = createOmniOperationDescriptor(omniAudioCompressionConfig);
export function executeOmniAudioCompressionCore(request = {}) {
    return executeOmniOperationCore(omniAudioCompressionConfig, request);
}
export const planAudioCompression = createOmniOperationPlanner(omniAudioCompressionConfig);
