Architecture documentation for the TaskState type/interface in types.ts from the claude-code codebase.