import { getProviderCliRuntimeSpec } from './providers/providerCliRuntime.js';
function providerLauncherCommand(agentId) {
    return getProviderCliRuntimeSpec(agentId).binaryName;
}
export const BUILT_IN_ACP_CONFIG = Object.freeze({
    customAcp: {
        agentId: 'customAcp',
        launcher: {
            command: providerLauncherCommand('customAcp'),
            args: [],
        },
        transportProfile: 'generic',
        supportsLoadSession: true,
        supportsModes: 'auto',
        supportsModels: 'auto',
        promptImageSupport: 'auto',
    },
    kiro: {
        agentId: 'kiro',
        launcher: {
            command: providerLauncherCommand('kiro'),
            args: ['acp'],
        },
        transportProfile: 'kiro',
        supportsLoadSession: true,
        supportsModes: 'yes',
        supportsModels: 'yes',
        promptImageSupport: 'yes',
    },
});
export function hasBuiltInAcpConfig(agentId) {
    return BUILT_IN_ACP_CONFIG[agentId] != null;
}
export function getBuiltInAcpConfig(agentId) {
    return BUILT_IN_ACP_CONFIG[agentId] ?? null;
}
//# sourceMappingURL=acp.js.map