Widgets

Test meter

Widget Code @dip497 0 installs

The share of tests passing in the last run, and the runs before it, reported by agents, hooks or CI.

hive plugins install @dip497/test-meter

Run it in a terminal, or find it in Hivemind under Settings ▸ Plugins.

Test meter

The share of tests passing in the last run, the ones that failed, and the runs before it, so a trend shows. An agent reports a run after it runs the tests, as can a git hook or a CI step.

hive plugins install @dip497/test-meter   # then add it from the toolbar's Add menu
hive ctl plugin open @dip497/test-meter        # or let an agent place it
hive ctl plugin call @dip497/test-meter report '{"passed":412,"failed":3,"skipped":2,"suite":"unit","failing":["auth refresh"]}'
hive ctl plugin call @dip497/test-meter history
hive ctl plugin call @dip497/test-meter clear

It asks for no permissions.

How it was made

Built by a coding agent (Claude) from the widget contract: hive plugins new widget's brief, hive.d.ts and the Widgets guide, then checked in the app over the demo workspace. Its behaviour test is tests/widgets.test.ts in this repository, which runs widget.js with the same worker prelude the app uses.

Files

From dip497/hivemind-plugins at fb488a4. Hivemind checks each file's checksum as it downloads, and stops if one changed.

  • failing.svg4c286c712ccf
  • icon.svgb73ceda4f45e
  • passing.svg4aab7cd49de4
  • README.md5ae605730284
  • widget.js7c5ac56b4b5e
  • widget.jsone90de44dbf78
widget.json
{
  "id": "@dip497/test-meter",
  "name": "Test meter",
  "version": "1.0.1",
  "description": "The share of tests passing in the last run, and the runs before it, reported by agents, hooks or CI.",
  "category": "code",
  "icon": "icon.svg",
  "size": { "w": 300, "h": 170 },
  "commands": [
    { "name": "report", "description": "Report a test run: how many passed, failed and were skipped, and the names of up to five that failed.", "args": "{ \"passed\": number, \"failed\": number, \"skipped\"?: number, \"suite\"?: string, \"failing\"?: string[] }" },
    { "name": "history", "description": "The last 20 runs reported, newest first." },
    { "name": "clear", "description": "Forget every run." }
  ]
}
VersionCommitListed
1.0.1 fb488a4 October 28, 2026

HiveHub keeps the version listed last. The ones before it are in the repository's history.

Something wrong with it? Report it.