From 2906d51995164e9f18292663dd309531e6294480 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 7 Sep 2026 23:58:04 +0800 Subject: [PATCH] =?UTF-8?q?chore(update):=20=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E8=87=B3v2.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/admin/service/adminUpdateData/tips.php | 8 ++++++++ extend/base/common/command/admin/VersionBase.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/extend/base/admin/service/adminUpdateData/tips.php b/extend/base/admin/service/adminUpdateData/tips.php index 87cfa9f..6313875 100644 --- a/extend/base/admin/service/adminUpdateData/tips.php +++ b/extend/base/admin/service/adminUpdateData/tips.php @@ -71,4 +71,12 @@ return [ 'php think admin:update:code --update-version v2.5.0', ], ], + [ + 'version' => 'v2.5.1', + 'desc' => [ + '本次更新重构了AGENTS.md智能体文档结构(顶部「项目信息」节+精简框架规则),项目自有信息请记录到AGENTS.md项目信息节', + '.agents/PROJECT.md与project-*模板已删除,若升级时被自动删除且需找回内容,可用git checkout恢复后迁移到AGENTS.md项目信息节(升级前未提交的内容无法恢复,升级前务必先提交全部改动)', + 'admin:update已将.agents/rules/project-*与.agents/PROJECT.md改判为可选文件,项目自建的此类文件不会再被强制覆盖', + ], + ], ]; diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 09f5e9c..9724433 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -27,7 +27,7 @@ use think\console\Output; */ class VersionBase extends Command { - public const VERSION = 'v2.2.8'; + public const VERSION = 'v2.5.1'; public const PRODUCT_VERSION = '';