Files
Memoh/internal/command/commands.go
T
Acbox ab82a72639 feat(command): extend slash command system with new commands and UX improvements
Add 9 new command groups (/model, /memory, /search, /browser, /usage,
/email, /heartbeat, /skill, /fs) and improve existing commands by hiding
internal UUIDs, resolving IDs to human-readable names in /settings, and
switching /schedule to name-based references.
2026-03-11 18:57:08 +08:00

22 lines
719 B
Go

package command
// buildRegistry constructs the full command registry with all resource groups.
func (h *Handler) buildRegistry() *Registry {
r := newRegistry()
r.RegisterGroup(h.buildSubagentGroup())
r.RegisterGroup(h.buildScheduleGroup())
r.RegisterGroup(h.buildMCPGroup())
r.RegisterGroup(h.buildInboxGroup())
r.RegisterGroup(h.buildSettingsGroup())
r.RegisterGroup(h.buildModelGroup())
r.RegisterGroup(h.buildMemoryGroup())
r.RegisterGroup(h.buildSearchGroup())
r.RegisterGroup(h.buildBrowserGroup())
r.RegisterGroup(h.buildUsageGroup())
r.RegisterGroup(h.buildEmailGroup())
r.RegisterGroup(h.buildHeartbeatGroup())
r.RegisterGroup(h.buildSkillGroup())
r.RegisterGroup(h.buildFSGroup())
return r
}