Architecture documentation for the Command type/interface in command.ts from the claude-code codebase.