Marchio: allineamento fine della rinomina (A)
Le righe che differivano dalla rinomina di aKode solo per codex/akode (header e user agent codex_cli_rs -> akode_cli_rs, nomi di file, testi di test) sono riportate come in aKode 0.9.2; dove la mappa automatica aveva rinominato troppo (stringhe di protocollo, residenza) e' ripristinato il testo originale. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -979,7 +979,7 @@ async fn manual_compact_uses_custom_prompt() {
|
||||
.build(&server)
|
||||
.await
|
||||
.expect("create conversation")
|
||||
.akode;
|
||||
.codex;
|
||||
|
||||
codex
|
||||
.start_or_steer_turn(TurnInputRequest::user_input(vec![UserInput::Text {
|
||||
@@ -2589,7 +2589,7 @@ async fn auto_compact_runs_after_resume_when_token_usage_is_over_limit() {
|
||||
let response_mock = mount_sse_sequence(&server, vec![compact_turn, sse_follow_up]).await;
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
follow_up_user,
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -2961,7 +2961,7 @@ async fn pre_sampling_compact_falls_back_from_retired_previous_model_after_renam
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"before switch",
|
||||
initial.cwd.path().to_path_buf(),
|
||||
@@ -2975,7 +2975,7 @@ async fn pre_sampling_compact_falls_back_from_retired_previous_model_after_renam
|
||||
.await;
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.submit(Op::Shutdown)
|
||||
.await
|
||||
.expect("shutdown initial session");
|
||||
@@ -2998,7 +2998,7 @@ async fn pre_sampling_compact_falls_back_from_retired_previous_model_after_renam
|
||||
.expect("resume codex");
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"after switch",
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -3074,7 +3074,7 @@ async fn pre_sampling_compact_falls_back_when_previous_model_is_not_found() {
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"before switch",
|
||||
initial.cwd.path().to_path_buf(),
|
||||
@@ -3088,7 +3088,7 @@ async fn pre_sampling_compact_falls_back_when_previous_model_is_not_found() {
|
||||
.await;
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.submit(Op::Shutdown)
|
||||
.await
|
||||
.expect("shutdown initial session");
|
||||
@@ -3112,7 +3112,7 @@ async fn pre_sampling_compact_falls_back_when_previous_model_is_not_found() {
|
||||
.expect("resume codex");
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"after switch",
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -3823,7 +3823,7 @@ async fn pre_sampling_compact_runs_after_resume_and_switch_to_smaller_model() {
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"before resume",
|
||||
initial.cwd.path().to_path_buf(),
|
||||
@@ -3837,7 +3837,7 @@ async fn pre_sampling_compact_runs_after_resume_and_switch_to_smaller_model() {
|
||||
.await;
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.submit(Op::Shutdown)
|
||||
.await
|
||||
.expect("shutdown initial session");
|
||||
@@ -3860,7 +3860,7 @@ async fn pre_sampling_compact_runs_after_resume_and_switch_to_smaller_model() {
|
||||
.expect("resume codex");
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"after resume",
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -3944,7 +3944,7 @@ async fn pre_sampling_compact_recovers_comp_hash_after_resume() {
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"before resume",
|
||||
initial.cwd.path().to_path_buf(),
|
||||
@@ -3958,7 +3958,7 @@ async fn pre_sampling_compact_recovers_comp_hash_after_resume() {
|
||||
.await;
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.submit(Op::Shutdown)
|
||||
.await
|
||||
.expect("shutdown initial session");
|
||||
@@ -3991,7 +3991,7 @@ async fn pre_sampling_compact_recovers_comp_hash_after_resume() {
|
||||
.expect("resume codex");
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"after resume",
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -4071,7 +4071,7 @@ async fn pre_sampling_compact_skips_missing_comp_hash_after_resume() {
|
||||
.expect("rollout path");
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"before resume",
|
||||
initial.cwd.path().to_path_buf(),
|
||||
@@ -4085,7 +4085,7 @@ async fn pre_sampling_compact_skips_missing_comp_hash_after_resume() {
|
||||
.await;
|
||||
|
||||
initial
|
||||
.akode
|
||||
.codex
|
||||
.submit(Op::Shutdown)
|
||||
.await
|
||||
.expect("shutdown initial session");
|
||||
@@ -4116,7 +4116,7 @@ async fn pre_sampling_compact_skips_missing_comp_hash_after_resume() {
|
||||
.expect("resume codex");
|
||||
|
||||
resumed
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(disabled_permission_user_turn(
|
||||
"after resume",
|
||||
resumed.cwd.path().to_path_buf(),
|
||||
@@ -4411,7 +4411,7 @@ async fn manual_compact_non_context_failure_retries_then_emits_task_error() {
|
||||
.build(&server)
|
||||
.await
|
||||
.expect("build codex")
|
||||
.akode;
|
||||
.codex;
|
||||
|
||||
codex
|
||||
.start_or_steer_turn(TurnInputRequest::user_input(vec![UserInput::Text {
|
||||
@@ -4872,7 +4872,7 @@ async fn paginated_compaction_cold_resume_from_bounded_suffix() -> Result<()> {
|
||||
// The resumed turn retains its frozen settings, even after an in-flight update.
|
||||
let expected_settings = test.codex.thread_settings_snapshot().await;
|
||||
let akode_core::TurnInputSubmission::Started { turn_id, .. } = test
|
||||
.akode
|
||||
.codex
|
||||
.start_or_steer_turn(TurnInputRequest::user_input(vec![UserInput::Text {
|
||||
text: FUNCTION_CALL_LIMIT_MSG.into(),
|
||||
text_elements: Vec::new(),
|
||||
@@ -5629,7 +5629,7 @@ async fn snapshot_request_shape_pre_turn_compaction_including_incoming_user_mess
|
||||
.build(&server)
|
||||
.await
|
||||
.expect("build codex")
|
||||
.akode;
|
||||
.codex;
|
||||
|
||||
for user in ["USER_ONE", "USER_TWO"] {
|
||||
codex
|
||||
@@ -5848,7 +5848,7 @@ async fn snapshot_request_shape_pre_turn_compaction_context_window_exceeded() {
|
||||
.build(&server)
|
||||
.await
|
||||
.expect("build codex")
|
||||
.akode;
|
||||
.codex;
|
||||
|
||||
codex
|
||||
.start_or_steer_turn(TurnInputRequest::user_input(vec![UserInput::Text {
|
||||
@@ -5922,7 +5922,7 @@ async fn snapshot_request_shape_manual_compact_without_previous_user_messages()
|
||||
.build(&server)
|
||||
.await
|
||||
.expect("build codex")
|
||||
.akode;
|
||||
.codex;
|
||||
|
||||
codex.submit(Op::Compact).await.expect("run /compact");
|
||||
wait_for_event(&codex, |ev| matches!(ev, EventMsg::TurnComplete(_))).await;
|
||||
|
||||
Reference in New Issue
Block a user