mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
b3a39ad93d
* refactor: replace persistent subagents with ephemeral spawn tool (#subagent) - Drop subagents table, remove all persistent subagent infrastructure - Add 'subagent' session type with parent_session_id on bot_sessions - Rewrite subagent tool as single 'spawn' tool with parallel execution - Create system_subagent.md prompt, add _subagent.md include for chat - Limit subagent tools to file, exec, web_search, web_fetch only - Merge subagent token usage into parent chat session in reporting - Remove frontend subagent management page, update chat UI for spawn - Fix UTF-8 truncation in session title, fix query not passed to agent * refactor: remove history message page
20 lines
640 B
Go
20 lines
640 B
Go
package command
|
|
|
|
// buildRegistry constructs the full command registry with all resource groups.
|
|
func (h *Handler) buildRegistry() *Registry {
|
|
r := newRegistry()
|
|
r.RegisterGroup(h.buildScheduleGroup())
|
|
r.RegisterGroup(h.buildMCPGroup())
|
|
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
|
|
}
|