mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
ab82a72639
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.
22 lines
719 B
Go
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
|
|
}
|