mirror of
https://github.com/openai/codex.git
synced 2026-11-20 15:07:25 +00:00
Attribute external agent imports by provider (#34451)
## What changed - Add an optional opaque `providerId` to `externalAgentConfig/import` for analytics attribution, independently of the `migrationSource` selector. - Include the provider ID in completed-import and import-failure analytics events. - Have TUI imports identify their selected migration source as the provider. ## Testing - Cover provider attribution in app-server import completion and failure tests and analytics serialization tests. GitOrigin-RevId: 0ee7313a43652e5305939c526bf6b903a79334ad
This commit is contained in:
1 parent
3bc49e1721
commit
a30aee8d90
15 files changed
+71
-2
No files matched your search
@@ -597,6 +597,7 @@ pub(crate) struct PluginInstallFailedInput {
|
||||
pub struct ExternalAgentConfigImportCompletedInput {
|
||||
pub import_id: String,
|
||||
pub source: String,
|
||||
pub provider_id: String,
|
||||
pub item_type: String,
|
||||
pub success_count: usize,
|
||||
pub failed_count: usize,
|
||||
@@ -605,6 +606,7 @@ pub struct ExternalAgentConfigImportCompletedInput {
|
||||
pub struct ExternalAgentConfigImportFailureInput {
|
||||
pub import_id: String,
|
||||
pub source: String,
|
||||
pub provider_id: String,
|
||||
pub item_type: String,
|
||||
pub failure_stage: String,
|
||||
pub error_type: String,
|
||||
|
||||
Reference in new issue
Block a user