Build against the released OpenAC 0.1.19 plugin contract

This commit is contained in:
Erik 2026-09-26 06:36:44 +02:00
parent a5186e58b9
commit 360300a1ee
2 changed files with 5 additions and 10 deletions

View file

@ -15,7 +15,7 @@
<!-- The plugin contract, compile-only, from the .nupkg in ./packages-local <!-- The plugin contract, compile-only, from the .nupkg in ./packages-local
(downloaded from the OpenAC release of the same version). The host (downloaded from the OpenAC release of the same version). The host
supplies the contract assembly at runtime. --> supplies the contract assembly at runtime. -->
<PluginApiPackageVersion>0.1.19-mm.2</PluginApiPackageVersion> <PluginApiPackageVersion>0.1.19</PluginApiPackageVersion>
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile> <RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -12,17 +12,12 @@ byte-for-byte what the DECAL plugin sent and accepted; the golden tests under
## Building ## Building
The plugin contract is `AcDream.Plugin.Abstractions` of the version named in The plugin contract is `AcDream.Plugin.Abstractions` of the version named in
`Directory.Build.props` (`PluginApiPackageVersion`), currently 0.1.19-mm.2: `Directory.Build.props` (`PluginApiPackageVersion`), currently 0.1.19, the
OpenAC `claude/mm-plugin-api` at 0f11c12b, now part of `claude/ryncmd-host` (peer relay, status board, object OpenAC 0.1.19 release. Put that release's package in `packages-local/`; an
headers and the other additions this plugin needs) packed with OpenAC client from 0.1.19 on loads the plugin.
`dotnet pack src/AcDream.Plugin.Abstractions -c Release -p:Version=0.1.19-mm.2`.
The package sits in `packages-staging/`; copy it to `packages-local/`.
Once that branch is released the package comes from the OpenAC release
instead. The client must be built from the same line (with
`-p:Version=0.1.19-mm.2` when built from source), or it refuses the plugin.
``` ```
cp packages-staging/*.nupkg packages-local/ gh release download v0.1.19 --repo eriknihlen/OpenAC -p "AcDream.Plugin.Abstractions.0.1.19.nupkg" -D packages-local
dotnet build OpenAC.MosswartMassacre.slnx dotnet build OpenAC.MosswartMassacre.slnx
dotnet test OpenAC.MosswartMassacre.slnx dotnet test OpenAC.MosswartMassacre.slnx
``` ```