Skeleton: plugin root, backend socket, /mm router, settings, test harness
The socket connects with the shared-secret header, registers first, reassembles incoming frames of any size (the original dropped anything over 4 KiB) and reconnects two seconds after a failure. Incoming share_* frames go to the vital-sharing handlers; any other frame is a chat-box command for this character, run one per tick through the chat bar as if typed. Frames are written with Newtonsoft.Json defaults, the original's serializer, so the backend sees the same bytes. The secret lives in the character's settings. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
5dbb294a96
31 changed files with 3442 additions and 0 deletions
21
Directory.Build.props
Normal file
21
Directory.Build.props
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<!-- Repository-wide language and warning policy, matching OpenAC. -->
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<AnalysisLevel>latest</AnalysisLevel>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Deterministic>true</Deterministic>
|
||||
|
||||
<!-- The plugin's own version; plugin.json names the same number. -->
|
||||
<Version>0.1.0</Version>
|
||||
|
||||
<!-- The plugin contract, compile-only, from the .nupkg in ./packages-local
|
||||
(downloaded from the OpenAC release of the same version). The host
|
||||
supplies the contract assembly at runtime. -->
|
||||
<PluginApiPackageVersion>0.1.18</PluginApiPackageVersion>
|
||||
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue