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
@@ -66,6 +66,7 @@ pub(crate) async fn maybe_emit_implicit_skill_invocation(
skill_scope: candidate.scope,
skill_path: candidate.path_to_skills_md.to_path_buf(),
plugin_id: candidate.plugin_id,
remote_plugin_id: candidate.remote_plugin_id,
invocation_type: InvocationType::Implicit,
};
let skill_scope = match invocation.skill_scope {