Skip to content

Releases: aidulibrary/skillmesh-index

dsh-plugin-ccp v2.1.1

Choose a tag to compare

@aidulibrary aidulibrary released this 21 Oct 12:23

dsh-plugin-ccp v2.1.1 Release Notes

版本概述

v2.1.1 是将 B5 节点验证通过的偏差修正合并为可对外发布的插件版本。包含 ccp_trust_query 六维映射修复、ccp_search 精确查重增强、trustUsageRate 字段补充。

核心变更

新增:ccp_trust_query 信任查询工具

  • 输出六维信任向量(trustSource / trustUsage / trustUsageRate / trustSuccess / trustRisk / trustTime)
  • data_coverage 数据覆盖度评估
  • 修正原插件读取信任向量字段路径错误(result.dimensions.trustSource 不存在,导致六维信任向量恒为 null);修正为读取 result.vector.source 等正确字段,并补齐 data_coverage 字段
  • 下一轮修复:绕过 computeTrustVector(外部依赖读 snake_case 字段失效),改为直接调用 getCapability 获取 camelCase 原始数据;不做加权计算和数值反转,直接透传站点值
  • status 改为基于 evidence.count 判定(0 → not_evaluated)

新增:ccp_search exact_match 精确匹配参数

  • exact_match: true 时仅返回 name 或 id 与关键词完全一致的结果
  • 默认 false,行为与原版完全一致

修正:trust_vector 补 trustUsageRate 字段

  • 与 ccp_detail 返回的 trust.usage_rate 对齐,六维信任向量完整性补齐

安装验证

  • 内置 verify-install.mjs,零依赖验证四工具可用性

安装

# GitHub Release(推荐)
npm install https://github.com/aidulibrary/skillmesh-index/releases/download/v2.1.1/dsh-plugin-ccp-2.1.1.tgz

# 或 npm(待发布)
npm install dsh-plugin-ccp@2.1.1

已知限制

  • evaluated_at 当前恒为 null(CCP Client 暂不返回评估时间戳)
  • /search 召回在站点后端修复前可能不稳定(D2 修复计划中,不影响 ccp_detail / ccp_trust_query 独立使用)

文件清单

文件 说明
src/index.js 插件入口,四工具注册与导出
src/tools.js 工具实现:search / detail / trust_query / telemetry
plugin.yaml Cordis 插件声明
cordis.patch.yml 补丁配置
README.md 用户安装文档
verify-install.mjs 安装验证脚本(支持 CCP_VERIFY_ANCHOR 环境变量覆盖)
LICENSE MIT

SHA512:

c4c21e11bb850b65471ec27bb3aa5b2854cc450b2356522ddb1b4b197508c0e4fecf16d84b8fa7bf5a613291dedaf7595b7d20f5faeb06ff4c87309e94576cad