import { useAgentContextDisplayNames } from "./useAgentContextDisplayNames";
import { useAgentEditorContextSync } from "./useAgentEditorContextSync";
import { useAgentSubmitContextBuilder } from "./useAgentSubmitContextBuilder";
export function useAgentEditorContextPipeline(input) {
    const { buildCurrentContext, addVisibleTestIdsToContext, submitContext, contextSync, displayNames, } = input;
    const buildSubmitContext = useAgentSubmitContextBuilder({
        ...submitContext,
        buildCurrentContext,
        addVisibleTestIdsToContext,
    });
    const { handleRefreshContext } = useAgentEditorContextSync({
        ...contextSync,
        buildCurrentContext,
    });
    const names = useAgentContextDisplayNames(displayNames);
    return {
        buildSubmitContext,
        handleRefreshContext,
        ...names,
    };
}
//# sourceMappingURL=useAgentEditorContextPipeline.js.map