mirror of
https://github.com/openai/codex.git
synced 2026-11-29 07:35:16 +00:00
Move external agent migration into its crate (#33456)
## What changed - Move migration detection, import orchestration, models, and reporting from `codex-app-server` into `codex-external-agent-migration`. - Keep app-server protocol conversion in a dedicated boundary module. - Organize source-specific configuration, sessions, hooks, plugins, commands, subagents, and memory handling behind shared migration adapters. - Relocate and split the migration tests alongside the extracted service. GitOrigin-RevId: 3378ec2064806a28136d6ac98664ca1d75414a4e
This commit is contained in:
1 parent
2edad72de3
commit
e7efc5b04b
57 files changed
+7713
-7471
No files matched your search
@@ -0,0 +1,13 @@
|
||||
use super::*;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
const PROFILE: RewriteProfile = RewriteProfile::new("SOURCE.md", &["source agent"])
|
||||
.with_case_sensitive_term_variants(&["Source"]);
|
||||
|
||||
#[test]
|
||||
fn rewrites_terms_only_at_word_boundaries() {
|
||||
assert_eq!(
|
||||
PROFILE.rewrite("SOURCE.md Source source agent source_agent"),
|
||||
"AGENTS.md Codex Codex source_agent"
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user