Skip to content

fix: 增加插件 V3t 运行时兼容门禁 - #6475

Merged
jxxghp merged 3 commits into
jxxghp:v3from
InfinityPacer:codex/feat/plugin-v3t-compat
Aug 26, 2026
Merged

fix: 增加插件 V3t 运行时兼容门禁#6475
jxxghp merged 3 commits into
jxxghp:v3from
InfinityPacer:codex/feat/plugin-v3t-compat

Conversation

@InfinityPacer

@InfinityPacer InfinityPacer commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

变更

为 V3/V3t 增加统一的插件运行时兼容门禁,复用现有 package.json 声明:

  • 标准 V3 运行时显式声明 v3: false 的插件不会进入候选、安装或加载流程。
  • free-threaded V3t 运行时显式声明 v3t: false 的插件不会进入候选、安装或加载流程。
  • 未声明对应字段、runtime 为空或缺少 package.json 时保持历史兼容,不影响存量插件可见性和加载。
  • 市场候选、本地候选、最终安装候选和运行目录加载均使用同一语义;没有新增数据库字段,也没有插件逐个特判。

验证

  • tests/test_plugin_candidate_inventory.pytests/test_plugin_helper.pytests/test_plugin_virtual_instances.py:140 passed
  • Ruff ratchet:通过
  • Pylint(受影响 Python 文件):10.00/10
  • git diff --check:通过

该 PR 仅修改插件兼容判断和加载边界,与后端 PR #6474、前端 PR #725 的文件范围不重叠;可独立合并。

PR-Agent 摘要

🤖 Generated by PR Agent at b0215d6

  • 修复 free-threaded V3t 插件误加载
  • 市场候选与运行时加载统一检查 package.json
  • 缺失或无效声明继续兼容;显式 v3t:false 拒绝
  • 补充门禁测试并同步覆盖率、依赖基线

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR-Agent Code Review

该 PR 在市场候选筛选、安装兼容判断以及普通和虚拟插件加载路径中统一加入 V3/V3t 显式不兼容声明门禁,同时保留缺失声明时的历史兼容行为。基于所示变更,未发现可确认的行为缺陷,无需提出审查意见。

审查提交:95ff38e

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR-Agent Code Review

本次变更在插件候选筛选、安装兼容判断以及实体和虚拟插件加载阶段加入统一的 V3t 显式不兼容门禁,同时保留缺失声明时的历史兼容行为。基于所示变更,未发现需要提出的具体行为缺陷。

审查提交:f18ce95

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR-Agent Code Review

本次变更为市场、本地及最终安装候选和插件加载增加了统一的 V3/V3t 运行时兼容门禁,并保留缺失或空声明时的历史兼容行为。根据所示 diff,未发现可确认的行为缺陷,因此没有审查意见。

审查提交:b0215d6

@jxxghp
jxxghp merged commit 3b7f8c3 into jxxghp:v3 Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants