@thotischner/observability-mcp 3.3.2 → 3.5.0

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.
@@ -212,6 +212,16 @@ describe("get_blast_radius tool", () => {
212
212
  const out = parseTool(result);
213
213
  assert.match(out.error, /No resource found/);
214
214
  });
215
+ it("no topology connector → explicit note, not a misleading 'resource not found' (R5)", async () => {
216
+ // An empty registry has no topology source. The cause is "no graph", not
217
+ // "wrong name" — the response must say so rather than blame the resource.
218
+ const reg = new ConnectorRegistry(new PluginLoader());
219
+ const result = await getBlastRadiusHandler(reg, { resource: "anything" });
220
+ assert.equal(result.isError, true);
221
+ const out = parseTool(result);
222
+ assert.match(out.note, /No topology-capable connector is configured/i);
223
+ assert.ok(!out.error || !/No resource found/.test(out.error), "must not misattribute to a not-found name");
224
+ });
215
225
  it("uses ownership root, not direct owner, when grouping co-tenants", async () => {
216
226
  // api-aaa is OWNED_BY a ReplicaSet which is OWNED_BY a Deployment.
217
227
  // The blast-radius should bucket api-aaa under the Deployment, not the RS.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thotischner/observability-mcp",
3
- "version": "3.3.2",
3
+ "version": "3.5.0",
4
4
  "description": "Unified observability gateway for AI agents — one MCP server for Prometheus, Loki, and any backend",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",