herdr-dashr 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +34 -6
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,14 +1,18 @@
1
1
  # herdr-dashr
2
2
 
3
3
  A [Herdr](https://github.com/herdrdev/herdr) plugin that opens an
4
- **agent-built, live Grafana dashboard inside a Herdr pane**, with a coding
5
- agent underneath to reshape it.
4
+ **agent-built, live Grafana dashboard inside a Herdr pane**, built and
5
+ reshaped by the AI session you are already talking to.
6
+
7
+ You only talk to your AI session. Paste a CodePipeline link and say
8
+ *"visualize it on a dashboard"*: its herdr-dashr skill opens the dashboard
9
+ pane beside you and builds the dashboard, then keeps changing it as you ask.
6
10
 
7
11
  - **Real Grafana, in the terminal.** The top pane shows Grafana in kiosk mode
8
12
  through [terminal-browser](https://github.com/zenbu-labs/terminal-browser);
9
13
  without it, a text status view.
10
14
  - **No model in the data path.** Grafana refreshes the data. The agent only
11
- changes the dashboard, through an MCP server.
15
+ changes the dashboard, through the `dashr` tools (a command line, or MCP).
12
16
  - **Privacy by construction.** The agent designs from schemas and masked
13
17
  samples (`<email#1>`, `<ipv4#2>`); only you see real values.
14
18
  - **Disposable.** A pane-owned Grafana container with a read-only root and
@@ -26,7 +30,7 @@ agent underneath to reshape it.
26
30
 
27
31
  `docs/PRD.md` is the authoritative specification and delivery ledger.
28
32
 
29
- **Status:** v0.1.1, on GitHub and npm, for Linux, macOS and Windows. Windows support is new; everything else is verified, most by an end-to-end
33
+ **Status:** v0.1.2, on GitHub and npm, for Linux, macOS and Windows. Windows support and the AI-session flow are new; everything else is verified, most by an end-to-end
30
34
  suite that runs a real Herdr, a real Grafana and terminal-browser in CI.
31
35
 
32
36
  ## Install
@@ -47,6 +51,12 @@ refuses to run as root), Claude Code (the chat pane) and the AWS CLI
47
51
  (CodePipeline, CloudWatch) are optional — run the **Check dashr
48
52
  prerequisites** action to see what is missing.
49
53
 
54
+ Another build step installs the **herdr-dashr skill** for Claude Code with
55
+ `npx skills add czinegeroland/herdr-dashr --skill herdr-dashr --agent
56
+ claude-code --global`, as herdr-remote-channel installs its skill. Your AI
57
+ session also needs the `dashr` command: `npm install -g herdr-dashr` (the
58
+ skill runs it for you when `dashr` is missing).
59
+
50
60
  On Windows, Docker Desktop must be running, and the chat pane's shell is
51
61
  PowerShell. Without terminal-browser the dashboard pane shows the Grafana URL;
52
62
  Ctrl-click it to open Grafana in your browser.
@@ -64,6 +74,21 @@ from GitHub.
64
74
 
65
75
  ## Use
66
76
 
77
+ Ask your AI session, in Herdr:
78
+
79
+ - *"Visualize this on a dashboard: https://eu-west-1.console.aws.amazon.com/codesuite/codepipeline/pipelines/api/view"*
80
+ - *"Show me error rates and latency for checkout."*
81
+ - *"I'm about to run the importer — show me its logs and check that `import done` is logged."*
82
+
83
+ The skill opens the dashboard pane beside the conversation (`herdr plugin
84
+ pane open --plugin herdr-dashr --entrypoint dashboard`), waits for Grafana
85
+ (`dashr wait`) and builds with `dashr tool <name>`: the same tools, masking
86
+ and privacy rules as the MCP server. You never have to leave the
87
+ conversation.
88
+
89
+ The Herdr actions still work without an AI session of your own; they open a
90
+ tab with Grafana on top and a new agent underneath:
91
+
67
92
  | Action | What it does |
68
93
  |---|---|
69
94
  | **Open live dashboard** | New tab: Grafana on top, the agent underneath. |
@@ -135,8 +160,11 @@ supported datasource (Prometheus, Loki, Tempo, CloudWatch, SQL Server, Azure
135
160
  Monitor, Zabbix, Seq, TestData) and debugging recipes (deploys, queue
136
161
  backlogs, Step Functions failures, error spikes, latency).
137
162
 
138
- - Installed by the plugin's build step, refreshed by the dashboard pane when
139
- the binary is newer. A skill of the same name that you wrote is never
163
+ - Installed by the plugin's build step with `npx skills add` from this
164
+ repository, as herdr-remote-channel does. It teaches your own AI session
165
+ to open the dashboard pane and drive it with `dashr wait` and `dashr tool`.
166
+ - `dashr skill install --dir <skills-dir>` installs the copy embedded in the
167
+ binary, for other agents; a skill of the same name that you wrote is never
140
168
  replaced (`--force` to override).
141
169
  - Also served as MCP resources (`dashr://guide/...`), so any MCP agent gets it.
142
170
  - `dashr skill files`, `dashr skill print reference/recipes.md`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "herdr-dashr",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Agent-built, live Grafana dashboards in a Herdr pane, with masking between your data and the agent.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "README.md"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "herdr-dashr-linux-x64": "0.1.1",
30
- "herdr-dashr-linux-arm64": "0.1.1",
31
- "herdr-dashr-darwin-x64": "0.1.1",
32
- "herdr-dashr-darwin-arm64": "0.1.1",
33
- "@czinegeroland/herdr-dashr-win32-x64": "0.1.1"
29
+ "herdr-dashr-linux-x64": "0.1.2",
30
+ "herdr-dashr-linux-arm64": "0.1.2",
31
+ "herdr-dashr-darwin-x64": "0.1.2",
32
+ "herdr-dashr-darwin-arm64": "0.1.2",
33
+ "@czinegeroland/herdr-dashr-win32-x64": "0.1.2"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=18"