返回目录
模型与 MCP 插件

dsh-plugin-models-fingerprint

Darkhe55/dsh-plugin-models-fingerprint

用于监控和诊断接入厂商的模型是否发生指纹变动,提示可能存在的不稳定路由情况。

Stars
0
Forks
0
Issues
0
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:Darkhe55/dsh-plugin-models-fingerprint

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Model fingerprint identifier

A local-first model-route observability plugin for DeepSeek Harness. It compares protocol shapes and behavior statistics across sessions, shows per-turn evidence, and flags routing drift.

Model fingerprint panel

Fingerprints are evidence, not proof of model identity. This plugin does not claim to identify a black-box model from text alone.

What it does

  • Groups model responses by wire protocol, adapter, response-id shape, usage fields, and behavior statistics.
  • Shows a per-turn rail card with the current fingerprint and verdict.
  • Compares routes for behavioral equivalence and compares routes with configured official baselines.
  • Detects session-level behavior changes and route/fingerprint transitions.
  • Keeps prompt and response text out of its local state.

Install

Install from npm:

dsh plugin --profile desktop add dsh-plugin-model-fingerprint@0.2.3

Or install a local checkout:

git clone https://github.com/Darkhe55/dsh-plugin-models-fingerprint.git
dsh plugin --profile desktop add "C:\path\to\dsh-plugin-models-fingerprint"

Restart DSH after installation or upgrade.

Quick start

  1. Open a conversation with at least one completed model response.
  2. Enable Show fingerprint cards beside messages above the composer.
  3. Open Panel to inspect turns, fingerprint families, route equivalence, and official similarity.
  4. Configure an official baseline only when you have explicit provider/model evidence.
  5. Use Drift diagnostics to review session-level changes; treat them as exploratory signals.

Features

Area What you get
Per-turn rail Fingerprint, protocol state, model name, and verdict
Fingerprint families Protocol shape, response-id shape, tool/usage fields
Route equivalence Behavior distance between routes and sessions
Official baselines Explicit evidence levels and stale-safe calibration
Drift diagnostics Session-level change points and route transitions
Local persistence Append-only journal, crash recovery, offline compaction
Privacy No prompt or response body stored in plugin state

Boundaries

  • fp_... identifies a transport/protocol fingerprint, not a model weight set.
  • Official identity requires explicit evidence and still remains an attribution, not cryptographic proof.
  • Passive behavior cannot identify MoE experts or guarantee a provider's routing.
  • FPR and confidence results can be “insufficient”; the plugin must not turn them into a positive claim.
  • No provider API is called unless you explicitly run a probe.

Data and privacy

Plugin state lives under:

%USERPROFILE%\.dsh\model-fingerprint

It stores protocol shapes, behavior summaries, hashes, session IDs, timestamps, labels, baselines, and calibration metadata. It does not store prompt text or assistant response text.

Before a major upgrade, copy the state directory. Do not delete state.json.zst or journal-v3 while diagnosing persistence.

Compatibility

  • DSH >=0.2.2-rc.1 <0.3.0
  • Node.js 24 runtime used by current DSH desktop builds
  • Web client and local dashboard

Development

npm install
npm run build
npm test
npm run check

Useful offline checks:

npm pack --dry-run
npm run bench:persistence
npm run benchmark:minimax
npm run benchmark:official

Documentation

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 模型。