import { AGENTS_CORE } from './manifest.js';
export function getAgentLocalControlCapability(agentId) {
    const agent = AGENTS_CORE[agentId];
    const localControl = agent.localControl;
    if (!localControl || localControl.supported !== true)
        return null;
    return {
        supported: true,
        topology: localControl.topology ?? 'exclusive',
        attachStrategy: localControl.attachStrategy ?? 'unsupported',
    };
}
export function usesProviderAttachForLocalControl(agentId) {
    return getAgentLocalControlCapability(agentId)?.attachStrategy === 'provider_attach';
}
//# sourceMappingURL=localControl.js.map