From 4344537742f321aca82889625f55b2271f5e1e97 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 6 Aug 2025 11:58:57 -0700 Subject: [PATCH] chore: rename INIT.md to prompt_for_init_command.md and move closer to usage (#1886) Addressing my post-commit review feedback on https://github.com/openai/codex/pull/1822. --- INIT.md => codex-rs/tui/prompt_for_init_command.md | 0 codex-rs/tui/src/app.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename INIT.md => codex-rs/tui/prompt_for_init_command.md (100%) diff --git a/INIT.md b/codex-rs/tui/prompt_for_init_command.md similarity index 100% rename from INIT.md rename to codex-rs/tui/prompt_for_init_command.md diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index f1807da1..47e20287 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -303,7 +303,7 @@ impl App<'_> { SlashCommand::Init => { // Guard: do not run if a task is active. if let AppState::Chat { widget } = &mut self.app_state { - const INIT_PROMPT: &str = include_str!("../../../INIT.md"); + const INIT_PROMPT: &str = include_str!("../prompt_for_init_command.md"); widget.submit_text_message(INIT_PROMPT.to_string()); } }