Resync hq ADR references 0044-0054 -> 0039-0049 after the hq record reconciliation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Grafana's API client — grafana's own code, living in the module (novox/hq ADR 0044). Ported from
|
||||
// Grafana's API client — grafana's own code, living in the module (novox/hq ADR 0039). Ported from
|
||||
// the shared hal sdk, where a change here rebuilt everything; here it rebuilds only grafana. Both
|
||||
// this module's tools and its events entrypoint import it, and nothing outside grafana does.
|
||||
|
||||
@@ -37,7 +37,7 @@ export interface GrafanaAlert {
|
||||
activeAt?: string;
|
||||
}
|
||||
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0051): { url, apiKey, token, password, user, ... }. */
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0046): { url, apiKey, token, password, user, ... }. */
|
||||
function meshConfig(file?: string): Record<string, string> {
|
||||
if (!file) return {};
|
||||
try { return JSON.parse(readFileSync(file, "utf8")) as Record<string, string>; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// grafana's events. The tool runtime imports this once the broker is bound. It watches unified
|
||||
// alerting and announces when an alert instance starts firing.
|
||||
//
|
||||
// Emits (novox/hq ADR 0046/0047):
|
||||
// Emits (novox/hq ADR 0041/0042):
|
||||
// module.grafana.alert.firing — an alert instance entered the Alerting state
|
||||
//
|
||||
// A Grafana with no alerting configured simply never has a firing alert, so this observes nothing
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@novox/module-grafana",
|
||||
"version": "0.1.0",
|
||||
"description": "grafana — monitoring dashboards. Its API client, tools and events live here (novox/hq ADR 0044).",
|
||||
"description": "grafana — monitoring dashboards. Its API client, tools and events live here (novox/hq ADR 0039).",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// grafana's tools — moved here from the shared hal sdk (novox/hq ADR 0044), importing grafana's own
|
||||
// grafana's tools — moved here from the shared hal sdk (novox/hq ADR 0039), importing grafana's own
|
||||
// client. They return structured data; the mesh serves them through the sdk's tool harness.
|
||||
|
||||
import { registerModuleTools, type ToolDefinition } from "@novox/mesh-sdk/tools";
|
||||
|
||||
Reference in New Issue
Block a user