Adds session_exact pinning, sampler/scheduler chips, expanded param tags with non-default highlighting, QLoRA HF presets, LoRA strength editing, SQLite bootstrap for training memory, last-job UI, and harsher critique_image QC so result review leads with defects instead of praise. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
2.0 KiB
XML
37 lines
2.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<AssemblyName>SwarmAssistentExtension</AssemblyName>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.11" />
|
|
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.10" />
|
|
</ItemGroup>
|
|
<Import Project="../../SwarmUI.extension.props" />
|
|
<!-- Must come after the import: SwarmUI.extension.props disables it, but the Sqlite
|
|
assemblies have to sit next to the extension dll for SwarmExtensionLoadContext
|
|
to resolve them as private deps. -->
|
|
<PropertyGroup>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
<!-- Everything else in the lock file is already loaded by the SwarmUI host. -->
|
|
<Target Name="ShipOnlySqlitePrivateDeps" AfterTargets="ResolveReferences">
|
|
<ItemGroup>
|
|
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)"
|
|
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != 'Microsoft.Data.Sqlite'
|
|
AND '%(ReferenceCopyLocalPaths.NuGetPackageId)' != 'Microsoft.Data.Sqlite.Core'
|
|
AND !$([System.String]::Copy('%(ReferenceCopyLocalPaths.NuGetPackageId)').StartsWith('SQLitePCLRaw'))" />
|
|
</ItemGroup>
|
|
</Target>
|
|
<!-- Native libe_sqlite3 for Linux — ReferenceCopyLocalPaths alone is not enough. -->
|
|
<Target Name="CopySqliteNativeRuntimes" AfterTargets="Build">
|
|
<ItemGroup>
|
|
<_SqliteNative Include="@(RuntimeCopyLocalItems)"
|
|
Condition="$([System.String]::Copy('%(RuntimeCopyLocalItems.DestinationSubPath)').Contains('e_sqlite3'))" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_SqliteNative)"
|
|
DestinationFiles="$(OutputPath)@(_SqliteNative->'%(RuntimeCopyLocalItems.DestinationSubPath)')"
|
|
SkipUnchangedFiles="true"
|
|
Condition="'@(_SqliteNative)' != ''" />
|
|
</Target>
|
|
</Project>
|