安装命令
aios
aios plugin install fall-watch权限
插件只能做 manifest 里声明的事情, 系统会拒绝未声明的访问。
sense:mmwave:readsense:acoustic:readalert:emitprofile:resident:read
能力
插件 对外提供的能力接口
- detect
跌倒、久卧、离床、超时坐起四类识别
- tier-alert
按严重度分级告警, 家属与值班护士各自触达
可调用动作
可在规则或脚本里 显式触发的动作
- alert.dispatch
向家属或值班岗位派发告警
- incident.record
记录事件到本地审计账本
Manifest 预览
一份完整清单 就够了
PLUGIN_MANIFEST.yaml
plugin:
id: fall-watch
name: Fall Watch
vendor: By SidebyStar
stage: beta
topic: health
permissions:
- sense:mmwave:read
- sense:acoustic:read
- alert:emit
- profile:resident:read
capabilities:
- kind: detect
desc: Detects fall, prolonged lying, bed leaving, excessive sitting
- kind: tier-alert
desc: Alert tiered by severity, routed separately to family and duty nurse
actions:
- id: alert.dispatch
desc: Dispatch alert to family or duty post
- id: incident.record
desc: Record the incident to the local audit ledger
install: aios plugin install fall-watch