* feat: add OpenAI Response API support and Codex model compatibility - Add ApiFormat enum to proto definitions with OPENAI_RESPONSES format - Update model info messages to include api_format field across providers - Refactor OpenAI native handler to conditionally use Response API based on model's api_format - Add Codex model support in GPT-5 and GPT-5-1 prompt variants with appropriate exclusions - Remove hardcoded useResponseFormat parameter in favor of model-driven API selection This enables ChatGPT Codex models to use the Response API format when tools are provided, while maintaining backward compatibility with existing chat completion models. * add comments * tabs
Core Architecture
Extension entry point (extension.ts) -> webview -> controller -> task
core/
├── webview/ # Manages webview lifecycle
├── controller/ # Handles webview messages and task management
├── task/ # Executes API requests and tool operations
└── ... # Additional components to help with context, parsing user/assistant messages, etc.