feat(packages): add update check for packages, skills and MCP servers - #1112
Open
3316891527 wants to merge 2 commits into
Open
feat(packages): add update check for packages, skills and MCP servers#11123316891527 wants to merge 2 commits into
3316891527 wants to merge 2 commits into
Conversation
CATMIAOZHI
self-requested a review
September 7, 2026 00:16
CATMIAOZHI
reviewed
Sep 7, 2026
CATMIAOZHI
left a comment
Collaborator
There was a problem hiding this comment.
CLEAN:完整差异和实际调用链的静态审计未发现有充分证据的 P1/P2。
审计提交:d7e3a4510915f8fed8427734c5a84a715f15ef98,目标分支 dev。已先请求 CATMIAOZHI review,再完成独立工作树全 diff、实际调用链和独立 agent 复核;git diff --check 通过。已核对包、Skill、配置型及物理安装 MCP 的标记读写位置,以及检查 → 市场详情 → 安装更新 → 刷新状态的调用链。
验证范围:上游仓库该 HEAD 的 check-runs 为 0,审计前无 review 线程,已有普通评论也已核查。当前 PR workflow 仅匹配 development,本 PR 的目标为 dev;构建/单测 push workflow 匹配 main。已核对工作流实际任务及 Actions Variables(GITEE_OWNER、GITEE_REPO)。已核实作者 fork 的 Android Build 对应本次 HEAD 且成功;该运行只有构建步骤,没有 JVM 单测执行步骤,因此不将其视为单测通过。遵守目标仓库 AGENTS.md,本次未执行本地编译、测试、Lint 或真机验证,未修改源码。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明 / Description
背景与动机 / Context and motivation
issue #1099 希望为已安装插件提供版本更新检查。经讨论收敛范围:第一版只做单插件入口(插件详情对话框内"检查更新"按钮),不做进入包管理时的自动全量检查;版本选择交给市场详情页已有的版本列表,本 PR 不实现批量更新。后续将同一能力扩展到技能与 MCP 服务器。
改动范围 / Changes
<插件目录>/.operit/market.json)判定插件是否来自市场安装;本地导入(无 marker)提示非市场来源,无法检查。技能按技能目录读取 marker;MCP 同时支持 config 目录与 installedPath 两种形态,任一命中即返回。MarketStatsApiService.getEntry),以 versionId 对比判定是否有更新。不包含:进入包管理自动全量检查、多插件批量更新、版本选择 UI(复用市场详情页)。
兼容性与风险 / Compatibility and risks
关联 Issue / Related issue
Resolves #1099(范围收敛为单插件入口,见背景与动机)
验证方式 / Verification
证据 / Evidence
检查清单 / Checklist
dev;如目标为main,我已说明这是维护者发布同步 / The target branch isdevfor regular work; if it ismain, I explained why this is a maintainer-led release syncCandidate checks覆盖改动范围,并会处理技术失败项 /Candidate checkscovers the change scope and technical failures will be addressed