dsh-plugin-ccp
DSH 插件:CCP 协议能力发现层。
安装
dsh plugin install dsh-plugin-ccp
配置
dsh config set ccp.endpoint https://skillmesh.礼字号.中国/api/ccp/v1
dsh config set ccp.federated true
提供的工具
| 工具 | 功能 |
|---|---|
ccp_search |
搜索能力锚点(支持中文/英文) |
ccp_detail |
获取能力详情 + 信任向量 |
ccp_telemetry |
回传调用结果(信任向量闭环) |
使用示例
# DSH Agent 中使用 CCP 发现能力
result = ccp_search("pdf text extraction")
for cap in result["results"]:
print(f"{cap['name']} — trust: {cap['trust']['success']:.0%}")
# 获取详情
detail = ccp_detail("pdf-extract-text-001")
# 回传调用结果
ccp_telemetry("pdf-extract-text-001", success=True, latency_ms=120)
许可
MIT
Metadata
Release files for dsh-plugin-ccp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsh_plugin_ccp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dsh_plugin_ccp-1.0.0-py3-none-any.whl
| Download URL | dsh_plugin_ccp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79667938d341d85e65babd39867702de39287d2b132302d1782632dccc62cf4f
|
|
BLAKE2b-256 checksum How to use checksums |
cdd6b6174bacc9d3139ecd1d9a74d9a41a17326b3cd3f8631b982b25d806ec31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.8
|