feat(agent): add typed server API tools

This commit is contained in:
2026-07-15 10:44:07 +08:00
parent f3f873e3c4
commit 8a21908785
30 changed files with 3119 additions and 15 deletions
+6
View File
@@ -87,6 +87,12 @@ Initial mappings:
- `view_history` -> `registered_component: HistoryPanel`
- `view_scada` -> `registered_component: ScadaPanel`
`view_history` parameters must include `start_time` and `end_time` ISO8601
timestamps with `start_time < end_time`. When the Agent needs historical
monitoring values for analysis or a chart, it should call
`query_monitoring_readings` first, then use `view_history` only to open the
frontend panel.
`render_junctions` accepts only a `render_ref`. The frontend must resolve the
full payload through: