Files
plugins/packages/fingerprint/package.json
T
KaranocaVe 5db645541a fingerprint 0.2.3: History expands saved runs in place, an About tab, and a launcher fallback address (#858)
KaranocaVe (#858): History expands a saved run in place (results, cancel and
export for that run, by id) instead of replacing the current run; a new About
tab links the project and lm-detector (anchors standalone, copy buttons in
magpie's frame); the desktop launcher shows the local service address after
4s if navigation stalls; integration.md documents Windows' excluded port
ranges. Version 0.2.3.

Reviewed at d272d0c14fed1c1b654f970f358fabea4b2fe210, run on mote (macOS) in
a copy of the PR tree with a temp HOME in the run folder:
- packages/fingerprint: bun install --frozen-lockfile, typecheck ok, bun test
  37 pass 0 fail, bun run build. diff -r of the PR's dist against the rebuild:
  identical (dist/ui, plugin.js, cli.js).
- bun scripts/check.mjs fingerprint: registry.json ok, fingerprint ok.
- Bundle: the only new URL strings are the two About links
  (github.com/KaranocaVe/magpie-fingerprint, github.com/Ikaleio/lm-detector);
  no new fetch/eval/Function/WebSocket/sendBeacon; CSS has only the existing
  data: SVG.
- Playwright 1.62.0, Chromium and WebKit, en and zh-CN, 1100px and 380px,
  standalone and inside a parent frame, with the API stubbed from the demo
  server's /api/bootstrap (a running, a completed and a failed run): History
  expands a row (aria-expanded true), cancel from an expanded running row sends
  one cancel and the row shows Cancelled, About shows 2 anchors standalone and
  2 copy buttons framed (copy shows Copied in both engines), ArrowRight/Left
  wrap across the three tabs, no horizontal overflow, no request off the stub
  origin. 48 screenshots checked.
- The one page error, standalone only ("Cannot destructure property 'context'"
  from the vendored bridge's hello), is the same on main 03ab6d66f (same load
  harness on main's dist).

Not tried: the launcher fallback in a real Windows magpie window (covered by
the new boot test only). src/service-identity.ts VERSION still says 0.2.2
(health/bootstrap report it; nothing compares it), filed separately.
2026-11-08 14:29:18 +08:00

98 lines
2.4 KiB
JSON

{
"name": "@magpie-community/page-fingerprint",
"version": "0.2.3",
"description": "Check for suspected model substitution with numeric response fingerprints in Magpie, powered by lm-detector.",
"type": "module",
"license": "MIT",
"main": "dist/plugin.js",
"files": [
"dist",
"page",
"README.md",
"README.zh-CN.md",
"LICENSE",
"integration.md",
"THIRD_PARTY_NOTICES.md"
],
"engines": {
"bun": ">=1.4.2"
},
"scripts": {
"dev": "bun --watch src/cli.ts",
"start": "bun src/cli.ts",
"build": "bun scripts/build.ts",
"typecheck": "tsc --noEmit",
"test": "bun test",
"check": "bun run typecheck && bun run test && bun run build",
"format": "prettier --write src web scripts tests page *.json *.ts *.md",
"rebuild": "bun scripts/rebuild.ts"
},
"magpie": {
"page": {
"title": "Fingerprint",
"titles": {
"zh": "模型指纹",
"zh-TW": "模型指紋",
"ja": "モデル指紋",
"de": "Modell-Fingerabdruck"
},
"file": "page/index.html",
"service": {
"port": 3488,
"option": "port"
}
},
"actions": [
{
"id": "fingerprint",
"menu": "provider",
"title": "Fingerprint",
"titles": {
"zh": "检测指纹",
"zh-TW": "檢測指紋",
"ja": "指紋を検査",
"de": "Fingerabdruck prüfen"
}
}
],
"options": {
"port": 3488
},
"permissions": []
},
"devDependencies": {
"react": "19.3.1",
"react-dom": "19.3.1",
"@phosphor-icons/react": "2.1.10",
"@types/bun": "1.4.4",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "5.2.0",
"prettier": "3.9.10",
"typescript": "5.9.3",
"vite": "7.3.7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/fingerprint"
},
"bugs": {
"url": "https://github.com/magpie-community/plugins/issues"
},
"author": "KaranocaVe (https://github.com/KaranocaVe)",
"homepage": "https://github.com/KaranocaVe/magpie-fingerprint#readme",
"keywords": [
"magpie",
"magpie-page",
"magpie-plugin",
"llm",
"fingerprint",
"model-detection"
],
"publishConfig": {
"access": "public"
},
"packageManager": "bun@1.4.4"
}