Ship Assistent 0.13.1: compile 0.13.0 so the SwarmUI tab loads.

Add missing WebSocket/HttpClient usings, stop using static on Config/FilePath helpers, and copy Microsoft.Data.Sqlite next to the extension dll.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 15:14:31 +03:00
co-authored by Cursor
parent 474a674a35
commit d29436c944
10 changed files with 32 additions and 13 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ public partial class SwarmAssistentExtension
{
static readonly Regex JsonFenceRe = new(@"```(?:json)?\s*([\s\S]*?)```", RegexOptions.IgnoreCase | RegexOptions.Compiled);
static string[] PatchKeys => _patchKeys ??= Config?.LoadPatchKeys() ?? [];
string[] PatchKeys => _patchKeys ??= Config?.LoadPatchKeys() ?? [];
static string[] _patchKeys;
@@ -68,7 +68,7 @@ public partial class SwarmAssistentExtension
&& (HasValue(obj, "triggers") || HasValue(obj, "when") || HasValue(obj, "prompt_hint") || HasValue(obj, "notes"));
}
static JObject TryParsePatch(string reply)
JObject TryParsePatch(string reply)
{
if (string.IsNullOrWhiteSpace(reply))
{