mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-05 17:59:03 +08:00
chore(registry): 更新 rea-mcp 至 6.8.0(需客户端 10.0.201) (#22)
* chore(registry): 更新 rea-mcp 候选 6.8.0 * chore(registry): 升级 rea-mcp 至 6.8.0 - 固定启动参数、来源摘要与审核记录改为 6.8.0,工具数更新为包内目录的 229 项 - 6.8.0 要求 Node.js ^22.23.4 || ^24.22.1 || >=26.12.1,sidecar 增加 requiredClientVersion 10.0.201(该版本起随包 Node.js 26.13.0) - 通知文件改为 THIRD_PARTY_NOTICES.md;review.md 新增 6.8.0 升级复核,记录 npm 来源证明、新增第三方声明、Windows 原生模块与可选 Frida 依赖 - 自动审核回执测试的夹具改为从当前条目推导版本与证据路径,不再写死 6.4.0 - 移除已完成的候选说明文件 --------- Co-authored-by: yi-ge <yi-ge@users.noreply.github.com> Co-authored-by: yi-ge <a@wyr.me>
This commit is contained in:
6 files changed
+78
-52
No files matched your search
@@ -9,8 +9,13 @@ import { validateRegistry } from './validator.mjs'
|
||||
function fixture() {
|
||||
const manifest = JSON.parse(readFileSync(new URL('../../entries/rea-mcp/manifest.json', import.meta.url)))
|
||||
const catalog = JSON.parse(readFileSync(new URL('../../entries/rea-mcp/catalog-metadata.v1.json', import.meta.url)))
|
||||
manifest.version = '6.5.0'
|
||||
for (const config of [manifest.install, manifest.connection]) config.args = config.args.map(arg => arg.replace('rea-agents@6.4.0', 'rea-agents@6.5.0'))
|
||||
// 从当前条目推导版本与证据路径,条目正常升级后夹具仍成立。
|
||||
const previousVersion = manifest.version
|
||||
const version = previousVersion.replace(/\d+$/, patch => String(Number(patch) + 1))
|
||||
manifest.version = version
|
||||
for (const config of [manifest.install, manifest.connection]) config.args = config.args.map(arg => arg === `rea-agents@${previousVersion}` ? `rea-agents@${version}` : arg)
|
||||
const compliance = catalog.governance.compliance
|
||||
const licenseEvidenceSha256 = Object.fromEntries([compliance.licenseEvidencePath, compliance.noticePath].filter(Boolean).map(path => [path, 'b'.repeat(64)]))
|
||||
catalog.release.version = manifest.version
|
||||
catalog.provenance.content.ref = manifest.version
|
||||
catalog.provenance.content.sha256 = 'a'.repeat(64)
|
||||
@@ -19,7 +24,7 @@ function fixture() {
|
||||
catalog.governance.compliance.reviewedAt = '2026-10-31'
|
||||
catalog.timestamps.reviewedAt = { state: 'known', value: '2026-10-31', precision: 'day' }
|
||||
const checks = ['publishedIntegrity', 'previousCatalogDigest', 'boundedOrdinaryFiles', 'licenseAndNoticeUnchanged', 'structuredPrerequisitesUnchanged', 'pinnedLaunchSelectors']
|
||||
const receipt = { schemaVersion: 1, reviewer: MCP_PACKAGE_REVIEWER, reviewedAt: '2026-10-31T08:00:00Z', entryId: 'rea-mcp', previousVersion: '6.4.0', version: '6.5.0', packageName: 'rea-agents', ecosystem: 'npm', sourceUrl: catalog.provenance.content.url, artifactUrl: 'https://registry.npmjs.org/rea-agents/-/rea-agents-6.5.0.tgz', contentSha256: 'a'.repeat(64), licenseEvidenceSha256: { LICENSE: 'b'.repeat(64) }, checks: Object.fromEntries(checks.map(key => [key, true])), limitations: ['Source verification only; no runtime/security acceptance'] }
|
||||
const receipt = { schemaVersion: 1, reviewer: MCP_PACKAGE_REVIEWER, reviewedAt: '2026-10-31T08:00:00Z', entryId: 'rea-mcp', previousVersion, version, packageName: 'rea-agents', ecosystem: 'npm', sourceUrl: catalog.provenance.content.url, artifactUrl: `https://registry.npmjs.org/rea-agents/-/rea-agents-${version}.tgz`, contentSha256: 'a'.repeat(64), licenseEvidenceSha256, checks: Object.fromEntries(checks.map(key => [key, true])), limitations: ['Source verification only; no runtime/security acceptance'] }
|
||||
return { manifest, catalog, receipt }
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user