In AI Architecture V2, all requests share a single AIDA ClientFeature
(CHROME_DEVTOOLS_V2_AGENT), and most tools are DataTools that do not
trigger context-change events. Without client-side telemetry for skill
loading, tool calls, error types, and per-turn active context,
analyzing topic popularity and per-domain error rates requires
reconstructing conversation state across turns.
Emit four Visual Elements FunctionCall events in AiAssistancePanel when
devToolsAiV2Architecture is enabled:
- ai-v2-query-submitted with the active context type on every turn.
- ai-v2-learn-skill for each newly activated skill on learnSkills calls.
- ai-v2-tool-call with the kebab-case tool name for DataTool and
ContextTool executions on live conversations.
- ai-v2-error with the ErrorType on non-abort errors.
Fixed: 546084105
Change-Id: I0c166e7535a2041fea1f9183e70f74f918ba67f0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/8578558
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>