Ship Assistent 0.11.9: esbuild bundle and patch-keys manifest.

Replace split Assets JS with a built bundle and aligned C#/config so SwarmUI loads one script and patch apply stays consistent; drop legacy terse persona and memory seed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 13:58:11 +03:00
co-authored by Cursor
parent a5e96f7430
commit e8bb012885
42 changed files with 10652 additions and 1281 deletions
+19 -1
View File
@@ -747,7 +747,25 @@ public sealed partial class AssistentMemory : IDisposable
EnsureOpen();
Dictionary<long, int> ftsRanks = FtsRowRanks(ftsMatch, Math.Max(40, options.TopK * 4));
using SqliteCommand cmd = _conn.CreateCommand();
cmd.CommandText = "SELECT id, kind, key, text, source, embedding, persona FROM memories";
List<string> personaKeys = rank.Keys.ToList();
StringBuilder sql = new("SELECT id, kind, key, text, source, embedding, persona FROM memories WHERE persona IN (");
for (int i = 0; i < personaKeys.Count; i++)
{
if (i > 0)
{
sql.Append(',');
}
string pName = "$p" + i;
sql.Append(pName);
cmd.Parameters.AddWithValue(pName, personaKeys[i]);
}
sql.Append(')');
if (kindFilter is not null)
{
sql.Append(" AND kind = $kind");
cmd.Parameters.AddWithValue("$kind", kindFilter);
}
cmd.CommandText = sql.ToString();
using SqliteDataReader reader = cmd.ExecuteReader();
while (reader.Read())
{