mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
## 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
14 lines
382 B
Rust
14 lines
382 B
Rust
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"
|
|
);
|
|
}
|