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,58 @@
using System.ComponentModel;
namespace io.github.hatayama.uLoopMCP
{
/// <summary>
/// Supported log types for filtering: Log, Warning, Error, All
/// </summary>
public static class McpLogType
{
public const string Log = "Log";
public const string Warning = "Warning";
public const string Error = "Error";
public const string All = "All";
}
/// <summary>
/// Schema for GetLogs command parameters
/// Provides type-safe parameter access with default values
/// </summary>
public class GetLogsSchema : BaseToolSchema
{
/// <summary>
/// Log type to filter (Error, Warning, Log, All)
/// </summary>
[Description("Log type to filter (Error, Warning, Log, All)")]
public string LogType { get; set; } = McpLogType.All;
/// <summary>
/// Maximum number of logs to retrieve
/// </summary>
[Description("Maximum number of logs to retrieve")]
public int MaxCount { get; set; } = 100;
/// <summary>
/// Text to search within log messages (retrieve all if empty)
/// </summary>
[Description("Text to search within log messages (retrieve all if empty)")]
public string SearchText { get; set; } = "";
/// <summary>
/// Whether to use regular expression for search
/// </summary>
[Description("Whether to use regular expression for search")]
public bool UseRegex { get; set; } = false;
/// <summary>
/// Whether to search within stack trace as well
/// </summary>
[Description("Whether to search within stack trace as well")]
public bool SearchInStackTrace { get; set; } = false;
/// <summary>
/// Whether to display stack trace
/// </summary>
[Description("Whether to display stack trace")]
public bool IncludeStackTrace { get; set; } = false;
}
}