安装命令
aios
aios plugin install concierge-script --channel beta权限
插件只能做 manifest 里声明的事情, 系统会拒绝未声明的访问。
profile:guest:readprofile:guest:writeactuate:light:writeactuate:hvac:write
能力
插件 对外提供的能力接口
- profile
客人级画像的读写与迁移
可调用动作
可在规则或脚本里 显式触发的动作
- room.prepare
按预订信息预热房间
- room.reset
退房后重置房间默认
Manifest 预览
一份完整清单 就够了
PLUGIN_MANIFEST.yaml
plugin:
id: concierge-script
name: Concierge Script
vendor: Partner
stage: beta
topic: commercial
permissions:
- profile:guest:read
- profile:guest:write
- actuate:light:write
- actuate:hvac:write
capabilities:
- kind: profile
desc: Guest-level profile read, write, and transfer
actions:
- id: room.prepare
desc: Prepare the room per booking
- id: room.reset
desc: Reset the room to default after check-out
install: aios plugin install concierge-script --channel beta