# ============================================================
# 由 SkillMesh / CCP 路由操作自动生成
# 源能力锚点：pdf-extract-text-001
# 生成时间：2026-09-06T19:52:41Z
# CCP 协议版本：v1.0.0
# ============================================================

apiVersion: deepseek.io/plugin/v1
kind: Plugin
metadata:
  name: pdf-extract-text-001
  version: 1.0.0
  description: "PDF文本提取 — PDF Text Extraction"
  authors:
    - name: "CCP Community"
  license: MIT
  homepage: "https://skillmesh.礼字号.中国"
  repository: "https://github.com/pymupdf/PyMuPDF"
  tags: [pdf, extract, text]
  categories: [data]
  maturity: stable
  minHarnessVersion: "0.8.0"

runtime:
  type: mcp-server
  entrypoint:
    command: ["python", "-m", "pdf_extract_text"]
  env:
    - name: ENDPOINT_URL
      description: "Service endpoint"
      required: true
      default: "mcp://pymupdf-server/extract-text"
capabilities:
  - name: 保留段落结构
    description: "保留段落结构"
  - name: 页码映射
    description: "页码映射"
  - name: 多语言文本支持
    description: "多语言文本支持"
  - name: 批量处理
    description: "批量处理"

permissions:
  services:
    inject: [fs]
    provide: [pdf-extract-text-001]
  sandbox:
    recommended: workspace-read
  riskScore: 0.9

# CCP 信任向量（以注释形式保留，供 DSH 安全策略参考）
# trustSource: 0.92
# trustUsage: 1242
# trustSuccess: 0.97
# trustRisk: 0.10
# trustTime: 0.90
# evidence: { count: 1242, uncertainty: 0.24 }