Track remote plugin IDs in skill invocation analytics (#35262)

## What changed

- Add `remote_plugin_id` to skill invocation facts and analytics event parameters.
- Propagate the ID for both explicit and implicit plugin skill invocations.

## Testing

- Cover explicit and implicit remote plugin skill invocations with analytics integration tests.

GitOrigin-RevId: 3e1d25b5ff88dcff9c2b6c9fe44bca97e8778221
This commit is contained in:
jameswt-oai authored and copyberry committed 2026-07-24 23:40:14 +00:00
1 parent 07fd04abb1
commit 0d2a0aa76b
8 files changed
+180 -31

No files matched your search

+1
View File
@@ -115,6 +115,7 @@ fn sample_skill_track_event(thread_id: &str, plugin_id: Option<&str>) -> TrackEv
product_client_id: None,
skill_scope: None,
plugin_id: plugin_id.map(str::to_string),
remote_plugin_id: None,
repo_url: None,
thread_id: Some(thread_id.to_string()),
turn_id: Some("turn-1".to_string()),