1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Slash command handler implementations.
//!
//! Each module contains one or more handler structs implementing [`CommandHandler<CommandContext>`].
//! Handlers access agent subsystems through the trait objects on [`CommandContext`].
//!
//! [`CommandHandler<CommandContext>`]: crate::CommandHandler
//! [`CommandContext`]: crate::context::CommandContext
// Note: skill, skills, feedback handlers are kept as TODO — they hold non-Send DB references
// across .await points which prevents implementing AgentAccess::handle_skill as Send future.
// These commands continue to be dispatched via dispatch_slash_command in zeph-core until
// SemanticMemory and AnyProvider implement Sync.