chore(unity): 固定Unity CLI Loop本地包并移除UnitySkills依赖

This commit is contained in:
Liubing\LB
2026-09-28 18:14:59 +08:00
parent 0eb43b2b40
commit c4ae02def9
952 changed files with 70137 additions and 11 deletions

View File

@@ -0,0 +1,16 @@
namespace io.github.hatayama.uLoopMCP
{
/// <summary>
/// Compatibility wrapper that keeps the old type name while delegating to the structured metadata validator.
/// The preload security check must inspect real metadata rows so user literals do not trigger false positives.
/// </summary>
internal sealed class PreloadMetadataSecurityValidator : IPreloadAssemblySecurityValidator
{
private readonly SystemReflectionMetadataPreloadValidator _validator = new SystemReflectionMetadataPreloadValidator();
public SecurityValidationResult Validate(byte[] assemblyBytes)
{
return _validator.Validate(assemblyBytes);
}
}
}