aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -14,7 +14,6 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
chrono = { workspace = true }
|
||||
codex-analytics = { workspace = true }
|
||||
codex-config = { workspace = true }
|
||||
codex-core = { workspace = true }
|
||||
codex-core-plugins = { workspace = true }
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
use codex_analytics::PluginInstallSource;
|
||||
use codex_core::config::ConfigBuilder;
|
||||
use codex_core::plugins_manager_for_config_with_runtime;
|
||||
use codex_core_plugins::PluginInstallError;
|
||||
@@ -109,11 +108,7 @@ impl ExternalAgentConfigService {
|
||||
let plugins_manager =
|
||||
plugins_manager_for_config_with_runtime(&config, Arc::clone(&self.auth_manager))
|
||||
.await
|
||||
.map_err(io::Error::other)?
|
||||
.with_plugin_install_source(PluginInstallSource::ExternalAgentMigration);
|
||||
if let Some(analytics_events_client) = self.analytics_events_client.clone() {
|
||||
plugins_manager.set_analytics_events_client(analytics_events_client);
|
||||
}
|
||||
.map_err(io::Error::other)?;
|
||||
let configured_marketplace_paths = plugins_manager
|
||||
.list_marketplaces_for_config(
|
||||
&config.plugins_config_input(),
|
||||
|
||||
@@ -39,7 +39,6 @@ use crate::utils::invalid_data_error;
|
||||
use crate::utils::is_missing_or_empty_text_file;
|
||||
pub(super) use crate::utils::read_json_file as read_external_settings;
|
||||
use crate::utils::rewrite_external_agent_terms;
|
||||
use codex_analytics::AnalyticsEventsClient;
|
||||
use codex_core::config::Config;
|
||||
use codex_core_plugins::PluginsManager;
|
||||
use codex_core_plugins::marketplace::MarketplacePluginInstallPolicy;
|
||||
@@ -70,7 +69,6 @@ pub struct ExternalAgentConfigService {
|
||||
pub(super) codex_home: PathBuf,
|
||||
pub(super) connector_metadata_roots: Vec<PathBuf>,
|
||||
pub(crate) external_agent_home: PathBuf,
|
||||
pub(crate) analytics_events_client: Option<AnalyticsEventsClient>,
|
||||
pub(crate) auth_manager: Arc<AuthManager>,
|
||||
pub(crate) source: ExternalAgentSource,
|
||||
pub(crate) session_import_limits: ExternalAgentSessionImportLimits,
|
||||
@@ -82,7 +80,6 @@ impl ExternalAgentConfigService {
|
||||
pub fn new(
|
||||
codex_home: PathBuf,
|
||||
auth_manager: Arc<AuthManager>,
|
||||
analytics_events_client: AnalyticsEventsClient,
|
||||
state_db: Option<StateDbHandle>,
|
||||
) -> Self {
|
||||
let source = ExternalAgentSource::default();
|
||||
@@ -92,7 +89,6 @@ impl ExternalAgentConfigService {
|
||||
codex_home,
|
||||
connector_metadata_roots,
|
||||
external_agent_home,
|
||||
analytics_events_client: Some(analytics_events_client),
|
||||
auth_manager,
|
||||
source,
|
||||
session_import_limits: ExternalAgentSessionImportLimits::default(),
|
||||
@@ -109,7 +105,6 @@ impl ExternalAgentConfigService {
|
||||
codex_home: self.codex_home.clone(),
|
||||
connector_metadata_roots,
|
||||
external_agent_home,
|
||||
analytics_events_client: self.analytics_events_client.clone(),
|
||||
auth_manager: Arc::clone(&self.auth_manager),
|
||||
source,
|
||||
session_import_limits: self.session_import_limits,
|
||||
@@ -172,7 +167,6 @@ impl ExternalAgentConfigService {
|
||||
codex_home,
|
||||
connector_metadata_roots,
|
||||
external_agent_home,
|
||||
analytics_events_client: None,
|
||||
auth_manager: codex_login::test_support::auth_manager_from_optional_auth(
|
||||
/*auth*/ None,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user