feat: añadir subcomandos upload-media y set-avatar-url en agentctl

Expone las funciones separadas de profile.go como CLI:
- agentctl upload-media <id> <path> — sube sin activar avatar
- agentctl set-avatar-url <id> <mxc://...> — activa un mxc ya subido

Complementa la refactorizacion de shell/matrix/profile.go.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-09 21:37:13 +00:00
parent 730e415dc1
commit cc8c5a6645
2 changed files with 60 additions and 0 deletions
+3
View File
@@ -51,6 +51,9 @@ func main() {
reloadCmd(mgr),
removeCmd(mgr),
avatarCmd(),
uploadMediaCmd(),
setAvatarURLCmd(),
autoAvatarCmd(),
displaynameCmd(),
)