Report CLI as the external agent config import source (#33883)

## Why

The TUI import request used the selected migration source as the identifier for
the product initiating the import, conflating two distinct protocol fields.

## What changed

Set `source` to `cli` for imports initiated by the TUI while continuing to pass
the selected adapter through `migrationSource`.

GitOrigin-RevId: 7b00728464cb1d4e478ac4aa6b18f7254d2e5152
This commit is contained in:
charlesgong-openai
2026-07-17 18:24:26 +00:00
committed by copyberry
parent cf4c8cab7c
commit b99cc315fd
+1 -1
View File
@@ -453,7 +453,7 @@ impl AppServerSession {
request_id,
params: ExternalAgentConfigImportParams {
migration_items,
source: Some(migration_source.clone()),
source: Some("cli".to_string()),
migration_source: Some(migration_source),
},
})