New LuCI application for Ollama management: - Dashboard with service status and controls - Model management (pull, remove, list) - Chat interface with model selection - Settings page for configuration Files: - RPCD backend (luci.ollama) - Dashboard, Models, Chat, Settings views - ACL and menu definitions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
594 B
JSON
37 lines
594 B
JSON
{
|
|
"luci-app-ollama": {
|
|
"description": "Grant access to LuCI Ollama Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.ollama": [
|
|
"status",
|
|
"models",
|
|
"config",
|
|
"health"
|
|
],
|
|
"system": [ "info", "board" ],
|
|
"file": [ "read", "stat", "exec" ]
|
|
},
|
|
"uci": [ "ollama" ],
|
|
"file": {
|
|
"/etc/config/ollama": [ "read" ],
|
|
"/srv/ollama/*": [ "read" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.ollama": [
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"model_pull",
|
|
"model_remove",
|
|
"chat",
|
|
"generate"
|
|
]
|
|
},
|
|
"uci": [ "ollama" ]
|
|
}
|
|
}
|
|
}
|