Swift Packages now support build tool plugins, as defined in SE-0303 and SE-0325. This allows packages to define plugins that can specify tools that should run during a build operation, for example to generate source code. This is supported in both swift package and in Xcode’s support for packages. (79876749) The swift package command now supports command plugins, as defined in SE-0332. This allows Packages to define commands that can be invoked using the swift package command line to perform custom actions on the package. (82895553)