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:
+2
-2
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user