1import { isActionSupported } from './isActionSupportedF.mts'2import { getDeployActions } from '../ptDeployActions/doPtDeployActionF.mts'4// built-in resource action handles the action only when no composed action is registered —5// app-registered extraActions (e.g. mkTestdeploy) take precedence. Without this guard, adding an6// action name to coreResourcesActionsH hijacks composed dispatch (testdeploy regression, 2026-07-24)7export const resourceActionWins = (action: string) => {8 return isActionSupported(action) && !getDeployActions()[action]9}