secubox-openwrt/package/secubox/luci-app-localai/root/usr/share/rpcd/acl.d/luci-app-localai.json
CyberMind-FR 6b28c4260b feat(localai): Add LocalAI LuCI app with chat, models management and portal integration
- Add secubox-app-localai package with LXC container support for LocalAI service
- Add luci-app-localai with dashboard, chat, models and settings views
- Implement RPCD backend for LocalAI API integration via /v1/models and /v1/chat/completions
- Use direct RPC declarations in LuCI views for reliable frontend communication
- Add LocalAI and Glances to secubox-portal services page
- Move Glances from services to monitoring section

Packages:
- secubox-app-localai: 0.1.0-r1
- luci-app-localai: 0.1.0-r8
- luci-app-secubox-portal: 0.6.0-r5

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:54:13 +01:00

40 lines
661 B
JSON

{
"luci-app-localai": {
"description": "Grant access to LuCI LocalAI Dashboard",
"read": {
"ubus": {
"luci.localai": [
"status",
"models",
"config",
"health",
"metrics"
],
"system": [ "info", "board" ],
"file": [ "read", "stat", "exec" ]
},
"uci": [ "localai" ],
"file": {
"/etc/config/localai": [ "read" ],
"/srv/localai/*": [ "read" ]
}
},
"write": {
"ubus": {
"luci.localai": [
"start",
"stop",
"restart",
"model_install",
"model_remove",
"model_load",
"model_unload",
"chat",
"complete"
]
},
"uci": [ "localai" ]
}
}
}