refactor(scada): use canonical device identifiers
Generic Container CI/CD / test-build-publish (push) Successful in 32s
Agent CI/CD / build-test-publish-and-deploy (push) Successful in 32s

This commit is contained in:
2026-09-08 18:18:51 +08:00
parent b33d950d2b
commit 88b41ba04c
6 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ describe("toUiEnvelopeFromToolCall", () => {
it("does not generate duplicate UIEnvelopes for SCADA frontend actions", () => {
expect(toUiEnvelopeFromToolCall({
tool: "render_scada_analysis",
params: { items: [{ sensor_id: "MP01", level: "high" }] },
params: { items: [{ device_id: "MP01", level: "high" }] },
})).toBeNull();
expect(toUiEnvelopeFromToolCall({
tool: "clear_scada_analysis",