mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(command): improve slash command UX (#361)
Make slash commands easier to navigate in chat by splitting help into levels, compacting list output, and surfacing current selections for model, search, memory, and browser settings. Also route /status to the active conversation session and add an access inspector so users can understand their current command and ACL context.
This commit is contained in:
@@ -13,6 +13,8 @@ func TestParse_Basic(t *testing.T) {
|
||||
args []string
|
||||
}{
|
||||
{"/help", "help", "", nil},
|
||||
{"/help model", "help", "model", nil},
|
||||
{"/help model set", "help", "model", []string{"set"}},
|
||||
{"/subagent list", "subagent", "list", nil},
|
||||
{"/subagent get mybot", "subagent", "get", []string{"mybot"}},
|
||||
{"/schedule create daily \"0 9 * * *\" Send report", "schedule", "create", []string{"daily", "0 9 * * *", "Send", "report"}},
|
||||
|
||||
Reference in New Issue
Block a user