Update system prompt to guide AI toward using non-interactive command variants to avoid interrupting workflow. This includes using flags like --no-pager, auto-confirming prompts with -y when safe, and providing input via flags/arguments rather than stdin.
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.