Command Registry (src/commands.ts)

Description

Central registry at src/commands.ts (~25K LOC) for all ~50 slash commands. Exports getCommands() which assembles the command list with the same gating scheme as tools — bun:bundle feature flags + USER_TYPE==='ant' + dynamic imports. Paired with src/types/command.ts for the Command type definition and src/commands/ for individual implementations. Invoked both from the REPL (slash command detection) and from CLI args.

Key claims

Relations

Sources

src-20260420-fa667858d414