This commit is contained in:
Ahmed Ibrahim
2026-03-25 01:48:06 -07:00
parent 83bd182dbd
commit 99877f6f4d
3 changed files with 5 additions and 6 deletions

View File

@@ -5492,11 +5492,12 @@ impl CodexMessageProcessor {
let cwd_abs = match AbsolutePathBuf::try_from(cwd.as_path()) {
Ok(path) => path,
Err(err) => {
let error_path = cwd.clone();
data.push(codex_app_server_protocol::SkillsListEntry {
cwd,
skills: Vec::new(),
errors: errors_to_info(&[codex_core::skills::SkillError {
path: cwd.clone(),
path: error_path,
message: err.to_string(),
}]),
});
@@ -5514,11 +5515,12 @@ impl CodexMessageProcessor {
{
Ok(config_layer_stack) => config_layer_stack,
Err(err) => {
let error_path = cwd.clone();
data.push(codex_app_server_protocol::SkillsListEntry {
cwd,
skills: Vec::new(),
errors: errors_to_info(&[codex_core::skills::SkillError {
path: cwd.clone(),
path: error_path,
message: err.to_string(),
}]),
});

View File

@@ -406,9 +406,7 @@ mod tests {
.await
.expect("load analytics config"),
);
let auth_manager = Arc::new(AuthManager::from_auth_for_testing(CodexAuth::from_api_key(
"test",
)));
let auth_manager = AuthManager::from_auth_for_testing(CodexAuth::from_api_key("test"));
let config_api = ConfigApi::new(
codex_home.path().to_path_buf(),
Vec::new(),

View File

@@ -15,7 +15,6 @@ use crate::plugins::test_support::write_curated_plugin_sha_with as write_curated
use crate::plugins::test_support::write_file;
use crate::plugins::test_support::write_openai_curated_marketplace;
use codex_app_server_protocol::ConfigLayerSource;
use codex_plugin::prompt_safe_plugin_description;
use codex_protocol::protocol::Product;
use pretty_assertions::assert_eq;
use std::fs;