INTERNAL_ONLY_COMMANDS registrations
src/commands.ts defines INTERNAL_ONLY_COMMANDS and injects them into COMMANDS() only when:
process.env.USER_TYPE === 'ant'!process.env.IS_DEMO
/backfill-sessions, /break-cache, /bughunter, /commit, /commit-push-pr, /ctx_viz, /goodClaude, /issue, /init-verifiers, /force-snip (when enabled), /mock-limits, /bridge-kick, /version, /ultraplan (when enabled), /subscribe-pr (when enabled), /reset-limits, /reset-limits-noninteractive, /onboarding, /share, /summary, /teleport, /ant-trace, /perf-issue, /env, /oauth-refresh, /debug-tool-call, /agents-platform, /autofix-pr
Additional command sources merged by getCommands()
Beyond built-ins,getCommands(cwd) also merges command-like entries from:
- skill directory commands
- plugin skills
- bundled skills
- builtin plugin skill commands
- plugin commands
- workflow commands
- dynamic skills discovered during file operations
COMMANDS().
Bridge and remote safety notes
src/commands.ts also exports safety filters used in restricted contexts:
REMOTE_SAFE_COMMANDSBRIDGE_SAFE_COMMANDSisBridgeSafeCommand()