[VS Code] Diagnostics file does not reflect disabled DAP setting

Checklist

Summary

When you disable DAP in user or workspace settings, the DAP section disappears correctly but the diagnostics file still shows GitLab Agentic Chat and GitLab Flows as on.

We're also missing a ...is enabled in settings (true/false) item - I don't see anything under the GitLab Agentic Chat or GitLab Flows section, and nothing under the GitLab Duo Agent Platform settings section.

Video:

Steps to reproduce

  1. Open extension settings
  2. Disable GitLab Duo Agent Platform (I tried this in both User and Workspace settings)
  3. Open the diagnostics file (cmd + shift + p and type "GitLab Diagnostics") and scroll down to the GitLab Agentic Chat and GitLab Flows section

What is the current bug behavior?

  • The label beside "GitLab Agentic Chat" and "GitLab Flows" still says On
  • There isn't a distinct status in the doc indicating that the feature is enabled in settings (like we have for Code Suggestions and classic chat)

What is the expected correct behavior?

  • The label beside "GitLab Agentic Chat" and "GitLab Flows" should say Off.
  • We have a distinct status item that indicates that the feature is enabled in settings.

Possible fixes