chore: 更新 .gitignore,忽略 AI 工具配置、临时调试脚本和杂乱文件

This commit is contained in:
lincube
2026-06-16 15:21:57 +08:00
parent 2793be68d4
commit 2ead9d8619
39 changed files with 757 additions and 7734 deletions

View File

@@ -91,10 +91,9 @@ public sealed record PluginManifest(
if (requestedVersion.Major != currentVersion.Major)
{
throw new InvalidOperationException(
$"Plugin '{normalized.Id}' targets API version '{normalized.ApiVersion}' (major {requestedVersion.Major}), " +
$"but the host provides '{PluginSdkInfo.ApiVersion}' (major {currentVersion.Major}). " +
$"This host only supports v{currentVersion.Major}.x plugins and rejects v{requestedVersion.Major}.x packages by default. " +
$"Migrate the plugin manifest and code to API {PluginSdkInfo.ApiVersion}, then rebuild and republish the package.");
$"Plugin '{normalized.Id}' targets API version '{normalized.ApiVersion}', " +
$"but the host provides '{PluginSdkInfo.ApiVersion}'. " +
$"This host only supports API {PluginSdkInfo.ApiVersion} plugins.");
}
return normalized;