secubox-openwrt/package/secubox/luci-app-localai/root/usr/share/luci/menu.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

57 lines
983 B
JSON

{
"admin/secubox/services/localai": {
"title": "LocalAI",
"order": 50,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/dashboard": {
"title": "Dashboard",
"order": 10,
"action": {
"type": "view",
"path": "localai/dashboard"
},
"depends": {
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/models": {
"title": "Models",
"order": 20,
"action": {
"type": "view",
"path": "localai/models"
},
"depends": {
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/chat": {
"title": "Chat",
"order": 30,
"action": {
"type": "view",
"path": "localai/chat"
},
"depends": {
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "localai/settings"
},
"depends": {
"acl": ["luci-app-localai"]
}
}
}