Commit Graph

440 Commits

Author SHA1 Message Date
ca22e82875 merge: p0-dashboard into master
- feat: /v1/capabilities, /v1/metrics (NPU), alarm endpoints
- feat: preview channels, alarm test overlay
- fix: config reload with health polling
- fix: alarm query format handling
2026-07-17 11:10:25 +08:00
760eb35697 docs: update guide.md with local test paths
- Carry over uncommitted changes from original repo
- Update old references: rk3588-agent → safesight-agent
2026-07-17 11:02:48 +08:00
c26531b4f3 refactor: rebrand to SafeSight Edge
- Rename Agent binary: rk3588-agent → safesight-agent
- Update Go module: rk3588sys/agent → safesight-agent
- Rename CMake project: rk3588_media_server → safesight_media
- Rename Media binary: media-server → safesight-media
- Update all install paths, scripts, and config references
2026-07-17 11:00:39 +08:00
ae7e9e8bfc fix: config reload with health polling, not blind timeout
writeConfigAndReload: 发送 reload 后每 2s 轮询 media-server
健康状态,60s 兜底回滚。替代原来的 10s 硬超时。
2026-05-12 15:00:09 +08:00
e8cc66636c fix: use static catalog for capabilities (not dynamic query) 2026-05-12 14:06:27 +08:00
477b82d60a feat: /v1/capabilities endpoint for device feature detection
Returns available detection capabilities based on installed media-server plugins.
Each capability includes key, label, description and availability flag.
2026-05-12 13:53:04 +08:00
d4d35ba447 修正npu使用率的计算错误 2026-05-12 10:12:53 +08:00
6a3b9f2c99 feat: add NPU load to /v1/metrics 2026-05-08 19:38:52 +08:00
c652c02c97 chore: final cleanup for video monitoring 2026-05-07 15:34:27 +08:00
c7cee8db39 feat: add preview channels endpoint 2026-05-07 14:16:10 +08:00
fd90faba47 fix: use map for alarm queries to handle mixed formats 2026-05-07 12:30:15 +08:00
25046d0a7b fix: accept any JSON format for alarm reports 2026-05-07 12:17:39 +08:00
5d1b32c071 fix: allow localhost alarm reports without token 2026-05-07 12:10:21 +08:00
84aab0fa8e feat: add alarm test overlay with low thresholds 2026-05-07 12:02:26 +08:00
a40a50a108 build: agent binary with alarm endpoints 2026-05-07 11:44:01 +08:00
dc86fe65ff feat: add agent alarm callback to standard template 2026-05-07 10:35:44 +08:00
8dd26cf49a feat: add /v1/alarms/report and /v1/alarms/recent endpoints 2026-05-07 10:25:15 +08:00
5ba627f265 fix: correct default template name in deploy.sh 2026-05-06 14:52:59 +08:00
c5f3e1a009 deploy: split models and resources, add resources_dir to agent config 2026-05-06 13:51:19 +08:00
4dd0335e55 refactor: separate resources directory from models; migrate face_gallery.db to resources/face_gallery/ 2026-05-06 13:45:39 +08:00
daa5da3b85 fix: use actual filename for face_gallery resource name, add dedup 2026-05-06 13:37:55 +08:00
8a9ec59134 build: update rk3588-agent binary with resources endpoints 2026-05-06 13:29:47 +08:00
2e730832a7 feat: add GET /v1/resources/status and PUT /v1/resources/{type}/{name} endpoints 2026-05-06 13:28:29 +08:00
85f3ca54a3 Scan model directory for installed model status 2026-05-05 12:12:49 +08:00
452d344b34 Merge branch 'codex/model-management' 2026-05-05 12:01:33 +08:00
540a495d7b Add device model status API and rebuild agent binary 2026-05-05 11:14:57 +08:00
cf4493507c Adopt slot-driven template rendering 2026-05-03 09:50:46 +08:00
00c9268834 Standardize built-in pipeline templates 2026-04-28 18:53:47 +08:00
f7ee102daa Update RK3588 agent binary 2026-04-28 16:33:20 +08:00
551c6016ff Expose graph node type catalog from agent 2026-04-28 16:29:52 +08:00
45fadc6699 Expose business config metadata in agent 2026-04-23 12:35:33 +08:00
ac930e90e1 Fix deploy config UTF-8 output 2026-04-20 12:39:50 +08:00
cd6d299bd3 Move shared config params into template 2026-04-20 12:27:39 +08:00
502991d026 Rebuild rk3588 agent binary for final metadata commit 2026-04-20 11:51:47 +08:00
f4b20f3e32 Refine profile-centric config metadata and agent status 2026-04-20 11:41:49 +08:00
04de2308fb Add profile-centered config design spec 2026-04-20 10:44:18 +08:00
3e747be2e6 Build agent with agent-owned rollback 2026-04-19 15:17:42 +08:00
5c04681360 Restore fstream include in graph manager 2026-04-19 15:07:04 +08:00
72d6a073a0 Remove unused graph manager file helpers 2026-04-19 15:06:11 +08:00
7b9d1aa385 Move config rollback ownership to agent 2026-04-19 15:03:38 +08:00
0f4a17aa8c Build agent with previous config fields 2026-04-19 14:46:50 +08:00
e9a720a898 Rename previous config fields in agent API 2026-04-19 14:46:19 +08:00
1742283989 Build agent with candidate apply endpoint 2026-04-19 12:24:15 +08:00
0ef98e1d26 Add candidate config apply endpoint 2026-04-19 12:23:28 +08:00
7a02176577 Reuse saved managerd agent token on deploy 2026-04-19 11:59:28 +08:00
d1d2da08d1 Require managerd agent token for deploy 2026-04-19 11:53:50 +08:00
6a0c533b7f Build agent with config candidate endpoint 2026-04-19 11:24:27 +08:00
041ce18ad0 Add agent config candidate endpoint 2026-04-19 11:24:14 +08:00
ace8dcde72 Render deploy config from template 2026-04-19 10:44:24 +08:00
de77e2ae85 Track single rk3588 agent binary 2026-04-19 10:33:46 +08:00